{/* 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 { Canvas, Meta, Story } from '@storybook/addon-docs/blocks'

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

{/* INSERT NEW UPDATE HERE */}

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

**9-Aug-2023**

### 3.33.12

Added `resetSearch` prop to `MultipleSelection` component in `Exposed` version.

Search box in `MultipleSelection` component will reset based on `resetSearch` prop.

---

**8-Aug-2023**

### 3.33.11

Added the ability to remove the app header from the calculations in the `useWindowSize` hook.

[useWindowSize](/docs/hooks-usewindowsize--docs)

---

**7-Aug-2023**

### 3.33.10

Moving `TippyProps` export to module.ts. Small refactoring to point to module.ts instead of `@tippyjs/react`.

### 3.33.9

Updated types of type prop of `HistoricalTimeframeTypeBase` in `HeaderMetricHelpers` to support `trailing` timeframe type.

Renamed `Historical` timeframe to `Trailing`. Also, renamed below historical options:

`1D` to `24Hrs`, `1W` to `7D`, and `1Y` to `12M`.

---

**3-July-2023**

### 3.33.8

Added the `heightOffset` prop to the `SidebarNew` desktop component. This is used in instances where there is an element that is above or below the sidebar. An example of this is when a Banner is present at the top of an application.

[Sidebar](/story/components-sidebar-sidebarnew--height-offset)

---

**2-July-2023**

### 3.33.7

Added the `keepOpen` prop to the `AccountPopover` options. This is used to keep the drawer open when the user clicks on the account popover option. Also add the the `closeMobileDrawer` prop to allow the user to close the drawer when the user clicks on the account popover option.

### 3.33.6

Restructuring module.ts exports.

### 3.33.5

Refactoring the `SidebarMobile` props. Removed `mobileHeaderChildren` and added `mobileProps` which is an object that includes `mobileHeaderChildren` and a new prop called `rightHamburgerMenu`. The new prop will move the hamburger menu to the right side of the header.

[Sidebar](/story/components-sidebar-sidebarnew--mobile-hamburger-at-right)

---

**1-July-2023**

### 3.33.4

Adding a new prop to `PopoverHeader` called `hasBackButton`. This is an optional back button to be added to the header that will be used in `SideDrawer` layers.

Removed the `updateHover` prop from `SidebarLink` because we no longer want to trigger the hover state after a link selection. Added the ability to have a divider in the Sidebar to separate pages like "Settings" from the main application pages.

[PopoverHeader](/story/components-popover-popoverheader--has-back-button)

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

[Sidebar](/story/components-sidebar-sidebarnew--link-divider)

---

**31-July-2023**

### 3.33.3

Allowing the `footer` prop in `SidebarNew` to have access to the expanded state of the sidebar. This is needed in some cases where an element needs to render differently based on the expanded state.

[Sidebar](/story/components-sidebar-sidebarnew--footer)

---

**30-July-2023**

### 3.33.2

Allowing the `footer` prop in `SidebarNew` to be optional.

[Sidebar](/story/components-sidebar-sidebarnew--basic)

---

**28-July-2023**

### 3.33.1

Added two new props to `SideDrawer`. The `noFooterPadding` and `layerPosition` props. The `noFooterPadding` prop will remove the padding from the footer of the `SideDrawer` component. The `layerPosition` prop will allow the user to set the layer position of the `SideDrawer` component in the case that we have stacked `SideDrawer` components.

[SideDrawer](/story/components-sidebar-sidebarnew--footer)

---

**28-July-2023**

### 3.33.0

Added new `AccountPopover` component for use in `SidebarNew`. This component
will only be used there, not exported for general use.

Also changed `SidebarNew` to handle the new `AccountPopover` component,
as well as adding a permissions prop for handling conditional display of sidebar links,
and a navigate prop to fix a bug.

[SidebarNew](/story/components-sidebar-sidebarnew--basic)
