{/* 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.15'
  parameters={{
    viewMode: 'docs',
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

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

**28-MARCH-2025**

### 4.15.36

- Removed deprecated helper functions that are no longer used - `createPageName`, `gridPropertyToSort`, `gridSortFilter`.
- Removed `propertyToSort` from export in module.ts.

---

**28-MARCH-2025**

### 4.15.36

- Removed deprecated helper functions that are no longer used - `createPageName`, `gridPropertyToSort`, `gridSortFilter`.
- Removed `propertyToSort` from export in module.ts.

---

**28-MARCH-2025**

### 4.15.36

- Added tooltip support over action button in `ButtonGroup`.

[ButtonGroup](/story/components-buttons-buttongroup--action-button-with-tooltip)

---

**27-MARCH-2025**

### 4.15.35

- Updated `DatePicker` instances in react-ui.

[Spreadsheet](/story/components-spreadsheet-spreadsheet--editable-and-non-editable-cells)
[SpreadsheetNew](/story/wip-spreadsheet-spreadsheetnew--custom-columns)
[SpreadsheetContainerNew](/story/wip-spreadsheet-spreadsheetcontainernew--custom-columns)
[Filter](/story/components-filter--basic)

### 4.15.34

- Improved the condition to determine when the date is displayed in the `DatePicker`

[DatePicker](/story/components-datepicker--basic)

### 4.15.33

- Updated `FilterMenu` component to support `onReturnCallout` function for `TextInput`

---

**26-MARCH-2025**

### 4.15.32

- Enhanced the `FileUploader` component to support folder uploads via drag-and-drop. This allows users to drag folders directly onto the uploader, with each file processed individually.
- Improved drag-and-drop implementation to handle multiple folders efficiently in parallel.

[FileUploader](/docs/components-fileuploader--docs)

### 4.15.31

- Removed the `isOffset` prop for `InformationPane` as we no longer want that functionality.
- Allowing the `InformationPane` to be scrollable and fill the height of the page.
- When both edit and tag features are used, then move the Tag below the header

[InformationPane](/docs/components-informationpane--docs)

### 4.15.30

- Fixed a bug where wrong year was getting selected when trying to select year from grid.

[DatePicker](/story/components-datepicker--basic)

---

**25-MARCH-2025**

### 4.15.29

- Apply CSS overrides to packageExport that have been given to other requiring icons.

---

### 4.15.28

- Added a handleCsvAction prop to the `Menu` component's action. This callback function provides the status of the CSV action, triggered on both click and completion.

[Menu](/story/components-popover-menu--with-handle-csv-action)

---

### 4.15.27

- Apply a global CSS override for the fileSearch icon for old icon.

---

### 4.15.26

- Added a `TextInput` to the `DatePicker` component.
- Extracted `selctedDate` and `selectedDateRange` states out of component.

[DatePicker](/story/components-datepicker--basic)

---

**24-MARCH-2025**

### 4.15.25

- Added a new icon: `packageExport`

[Icons](/docs/general-style-guide-iconography--docs)

---

**21-MARCH-2025**

### 4.15.24

- Added the `disableCloseOnScroll` prop to `PopoverNew` to prevent the Popover from closing on scroll

[PopoverNew](/story/components-popover-popovernew--close-when-scrolling-disabled)

### 4.15.23

- Fixed a bug where the `ButtonGroup` action button's onClick was causing the `StandardTable` row to collapse on mobile.

---

**20-MARCH-2025**

### 4.15.22

- Added a black color variation for `Icon`.
- Added a black color variation for `Badge`.

[Icon](/docs/components-icon--docs)

[Badge](/docs/components-badge--docs)

### 4.15.21

- Allowing a custom icon in place of the `options` icon that is standard in our `ButtonGroup` component when using `actions`.

[ButtonGroup - Custom Action Icon](/story/components-buttons-buttongroup--custom-action-icon)

**19-MARCH-2025**

### 4.15.20

- Improving the UI for `secondaryContent` in the `Menu` component.

[Menu - Secondary Content](/story/components-popover-menu--secondary-content)

### 4.15.19

- Replace `DatepickerNew` with `DatePicker`.

[Spreadsheet](/story/components-spreadsheet-spreadsheet--editable-and-non-editable-cells)
[SpreadsheetNew](/story/wip-spreadsheet-spreadsheetnew--custom-columns)
[SpreadsheetContainerNew](/story/wip-spreadsheet-spreadsheetcontainernew--custom-columns)

- Replace `DateRange` with `DatePicker`

[Filter](/story/components-filter--basic)

### 4.15.18

- Fixing the `secondaryContent` type in `Menu`. There was an issue in one of the variations which caused every variation to not allow `secondaryContent` to be passed in.
- Also improving the UI for `secondaryContent` in the `Menu` component.

[Menu - Secondary Content](/story/components-popover-menu--secondary-content)

---

**18-MARCH-2025**

### 4.15.17

- Adding a `secondaryContent` prop to the `Menu` component, allowing for the display of an additional content section to the right of the primary content.

[Menu - Secondary Content](/story/components-popover-menu--secondary-content)

### 4.15.16

- Fixing the "No Options" experience in `Select`.

[Select - No Options](/story/components-formcomponents-select--no-options)

### 4.15.15

- Clean up `NewDesktopTable` and related codebase.
- Added expandable rows related logic into `DesktopTable` from `NewDesktopTable`

[StandardTable - Expandable Rows](/story/components-tables-standardtable--expandable-rows)

### 4.15.14

- `auto_trimtext` Toggle clean up

---

**17-MARCH-2025**

### 4.15.13

- Added Shift + Click support for `Checkboxes` to select all `Cards` between two clicks.

[Cards](/story/components-card--in-card-container)

### 4.15.12

- Fixing the extra padding in a `Popover` with a confirmation.

[Button - With Confirmation](/story/components-buttons-button--with-confirmation)

### 4.15.11

- Added borderless prop to exposed Multiselect, so that exposed Multiselect can be used inside Popover and not have double border of both, Popover and MultiSelect.

[MultiSelect](/docs/components-formcomponents-multiselect--docs)

### 4.15.10

- Updated `Sparkline` chart stroke colors in Tooltip and Preview to use new dark shade tones.

[Sparkline](/story/components-charts-sparkline--basic)

### 4.15.9

- Added selector classes to NewDesktopTable which were used by other apps to target and apply styles. `Tr` is given `sticky-table-row`and `td` is given `sticky-table-cell`.

---

**14-MARCH-2025**

### 4.15.8

- Added a `stopPropagation` call to the `Menu` component, allowing for the prevention of event propagation when a menu item is clicked.

[Menu](/docs/components-popover-menu--docs)

---

**13-MARCH-2025**

### 4.15.7

- Added `infoDocument` icon.
- Updated Datepicker footer section to set selected duration

[Icons](/docs/general-style-guide-iconography--docs)

### 4.15.6

[DatePicker](/story/components-datepicker-datepicker--range-with-placeholder)

- Deprecated old datepicker component and its variants : ComparisonDatePicker, ComparisonDatePickerPopup, Datepicker DatepickerNew, DateRange, MultiRangeDatePicker.

### 4.15.5

- Added 2 new icons: `fileSearch` and `voice`

[Icons](/docs/general-style-guide-iconography--docs)

---

**12-MARCH-2025**

### 4.15.4

- Added the `secondaryHeaderMetricProps` prop to the `Sparkline` with Tooltip component, enabling the display of an additional `HeaderMetric` alongside the primary `HeaderMetric`.

[Sparkline](/story/components-charts-sparkline-with-tooltip--with-secondary-header-metric)

### 4.15.3

- Created placeholder prop for DatePicker component
- Also invoked onDateChange callback for date reset.

[DatePicker](/story/components-datepicker-datepicker--range-with-placeholder)

---

**11-MARCH-2025**

### 4.15.2

- Created three new props for datePicker component : defaultDate and defaultDateRange, onDateChange

[DatePicker](/story/components-datepicker-datepicker--basic)

---

**10-MARCH-2025**

### 4.15.1

- Created new logos for Chat (formerly Compass).

---

**7-MARCH-2025**

### 4.15.0

- Created the `DatePicker` component. Features include both a single date selection and a range date selection.

[DatePicker](/story/components-datepicker-datepicker--basic)

---
