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

{/* INSERT NEW UPDATE HERE */}

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

**04-JUNE-2024**

### 4.0.18

Added rowClassName props to highlight row in `Spreadsheet` and `SpreadsheetNew` component.

[Spreadsheet](/story/components-spreadsheet-spreadsheet--highlight-row)
[SpreadsheetNew](/story/wip-spreadsheet-spreadsheetnew--highlight-row)

---

**3-June-2024**

### 4.0.17

Added the `routerComponent` prop to `PrimaryTableCell`. This is in preparation for removing `react-router-dom` from the Library. Each application will pass in `routerComponent` to the `PrimaryTableCell` component, when `productLink` is used, in order to handle routing.

### 4.0.16

Restructured entry and exit animations for `SideDrawer` and `Modal` since we now removed those components from the DOM when closing them.

[SideDrawer](/story/components-sidedrawer--basic)

[Modal](/story/components-modal--basic)

---

**31-MAY-2024**

### 4.0.15

Removed `react-router-dom` from `MainBoxData`.

### 4.0.14

Added the `isOpen` check to the `SideDrawer` component to fix the flickering issue in the spreadsheet and other components. Since this change doesn't involve any prop modifications, so opted to update the minor version to ensure a new build is generated.

---

**30-MAY-2024**

### 4.0.13

Added the `routerComponent` prop to `HeaderMetric`. This is in preparation for removing `react-router-dom` from the Library. Each application will pass in `routerComponent` to the `HeaderMetric` component, when `linkTo` is used, in order to handle routing.

### 4.0.12

Removed `MenuButton` and `PrimaryActionButton` from the Library.

Also, added the `routerComponent` prop to `Button`s. This is in preparation for removing `react-router-dom` from the Library. Each application will pass in `routerComponent` to the `Button` component, when `as='link'` is used, in order to handle routing.

---

**29-MAY-2024**

### 4.0.11

Adding a `disabled (TooltipProps)` as an optional prop which can be used to disable a particular tab and show the reason for disabling the tab in a tooltip.

[Tabs](/story/components-tabs-tabs--disabled-tab)

---

**28-MAY-2024**

### 4.0.10

Created the `APP_LOGOS` object to store all the logos, and their variations, for the applications that are using the library. This can be used to display the logos of the applications. It is meant to be a centralized location to easily find an app logo.

### 4.0.9

Adding a new optional prop `hasNoCurrentMonthData` to the comparisonTooltip object in order to show comparison tooltip title ignoring the current month date. This only applies to quartely/yearly comparison dates.

[GetComparisonDates](/docs/helper-functions-getcomparisondates--docs)
[HeaderMetric](/story/components-headermetrics-headermetric--comparison-tooltip)

---

**22-MAY-2024**

### 4.0.8

Adding a new prop called `routerProp` to `LeftNav`. This will go hand in hand with the `routerComponent` prop to allow applications to pass in their own routing component and not have the Library dictate this.

[LeftNav](/docs/components-leftnav--docs)

### 4.0.7

StandardTable tableHeaderProps filter type updates, to be declared by the filter itself rather than by table data.

[StandardTable - Table Header](/story/components-tables-standardtable--table-header)

### 4.0.6

Reverted changes that were not ready to be pushed yet.

---

**21-MAY-2024**

### 4.0.5

Spreadsheet cell update bug fix.

[spreadsheet](/story/wip-spreadsheet-spreadsheetnew--custom-columns)

---

**21-MAY-2024**

### 4.0.4

Created a "Color Lookup" to help devs convert a hex color value into one of our color variables.

[Color Lookup](/docs/style-guide-colors-search--docs)

### 4.0.3

Adding a new optional prop called `defaultFilter` to `SortColumn`. This will allow applications to display default selected filter values in the column filter box.

---

**20-MAY-2024**

### 4.0.2

Adding a new prop called `routerComponent` to `LeftNav`. This will allow applications to pass in their own routing component and not have the Library dictate this.

[LeftNav](/docs/components-leftnav--docs)

---

**15-MAY-2024**

### 4.0.1

Added PXM (Amplifi) to our DevTools toggle table.

---

**14-MAY-2024**

### 4.0.0

Major version bumped to v4. This features a new library build that is compatible with other applications. It is a step forward in integrating PXM, and other applications, with our library.
