{/* ATTENTION */}

{/* When updating this file, please add the newest comments at the top of the file so they are displayed first */}

{/* Changes should include any functional changes made to the component and how that affects the component/function usage */}

{/* or changes made to the Types (and what effect that will have for the component/function) */}

import { Meta } from '@storybook/addon-docs/blocks'

<Meta
  title='ChangeLog/v4/4.18'
  parameters={{
    viewMode: 'docs',
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

{/* Include date, version & the change and it's functional effects */}

**01-AUGUST-2025**

### 4.18.8

- Update `LeftNavLink` and `ListLoading` components to properly handle animation delays by inlcuding `pat-` prefixes
- Update `Spinner` to improve layout consistency
- Fix TypeScript linting issues by refining styles and ESLint configuration
- Fix border radius on the active button in the `TimeframeFilter` component
- Cleaned up formatting and improved consistency across `ExposedFilter` components and styles, updated translation keys for clarity
- Removed obsolete `.prettierrc` files to streamline configuration
- Add `maxWidth` prop to `UnsortedColumn` tooltips

---

**28-JULY-2025**

### 4.18.7

- Re-enabled middleware in Storybook to restore toggle functionality in components.
- Add script to automate changelog generation
- Revert changes to `TranslationHelpers` to resolve CDN URL environment variable issues; no breaking changes.
- Fixed lint issues across multiple components including `BackgroundOverlay`, `DatePicker`, `TagInput`, `TextInput`, `InformationPane`, `EditCellBoolean`, and `Tab` to improve code quality and maintainability without affecting functionality.
- Improve `TranslationHelpers` performance and reduce Docker image size for faster builds and smaller deployments without affecting functionality
- Removed the deprecated `DatepickerOld` component and cleaned up date filter props by eliminating `hideCustomDateSearch`, `specifiedDay`, and `placement` from `Filter` configurations, simplifying date selection and removing unused dependencies; note this may affect custom date search behavior in filters.
- Refactor QA test IDs for consistency by replacing `dataTestId` with `qaTestId` across `DatePicker`, `Select`, `FilterMenu`, and other components, and add new QA test IDs to improve testability without affecting functionality.
- Fix `MultiSelect` to trigger API calls correctly on large screens, improving data loading consistency.
- Removed the `AppLoader` component and its exports from the library, resulting in a breaking change for any consumers using this component.
- Add `linkSegmentIndexToMatch` prop to `LeftNav` components for more precise active link matching by URL segment; update breadcrumb links to prevent empty query strings, enhancing navigation accuracy and flexibility.
- Improved `DatePicker` and `TextInput` components with keyboard interactions
- Removed unused files from `DatePickerOld`, `Form`, and `TableComponents` to streamline the bundle and improve build performance without affecting functionality.
- Remove unused `focus-visible` dependency from `react-ui`, reducing bundle size without affecting focus styles or accessibility.
- Removed the `WrapMatchingText` component from the library, which may require updates to any code relying on it.
- Removed `ConditionalWrapper` component; its functionality is now integrated directly into `TextInput`, simplifying usage without affecting existing behavior.

---

**23-JULY-2025**

### 4.18.6

- removed some unused packages from package.json.
  As a consumer, you shouldn't notice any changes other than a smaller node_modules
  directory but if you do please let us know

---

**16-JULY-2025**

### 4.18.5

- Changed prop name in the `Accordion` component from `noCheckbox` to `showRadioButton`.

---

**16-JULY-2025**

### 4.18.4

- publish react-ui from pattern-exp

---

**15-JULY-2025**

### 4.18.3

- We decided to remove the `Zod` schemas from the project.
- We may end up picking this back up for newly created components, but for now this was considered unnecessary overhead.

### 4.18.2

- Added date input support to `TextInput` component with new `date-single` and `date-range` types.
- Implemented automatic date formatting with visual overlay showing MM/DD/YYYY placeholder.
- Added keyboard navigation with arrow keys to increment/decrement date parts (month/day/year).

[TextInput](/story/components-formcomponents-textinput--date-input)

### 4.18.1

- Added `footerContent` prop to comparisonTooltip in the `HeaderMetric` component to support displaying custom footer content as part of partial periods display.

[HeaderMetric](/docs/components-headermetrics-headermetric--comparison-tooltip-with-partial-period)

---

**11-JULY-2025**

### 4.18.0

- Introduced the `Zod` library to the project.
- Added the `Zod` schemas for the `SortColumn`, `Banner`, `Badge`, and `Pill` components.
