Skip to content

Latest commit

 

History

History
1190 lines (862 loc) · 28 KB

CHANGELOG.md

File metadata and controls

1190 lines (862 loc) · 28 KB

@leafygreen-ui/side-nav

16.0.2

Patch Changes

16.0.1

Patch Changes

16.0.0

Major Changes

  • 274d7e1a7: Removes prop-types from LeafyGreen UI

Patch Changes

15.0.0

Major Changes

  • 04bb887c0: LG-4121: The tooltip for the expand/collapse toggle button renders in the top layer using popover API

Patch Changes

14.1.3

Patch Changes

14.1.2

Patch Changes

14.1.1

Patch Changes

  • f1a57ed8: SideNavItem previously relied on parent context for list-style. Now, it is reset on each individual SideNavItem LG-3301

    SideNavGroupCollapsed had a bug on initial render due to shallow dependency check. Now, when initialCollapsed=false, content will properly display on initial render LG-3357

  • Updated dependencies [74057388]

14.1.0

Minor Changes

  • 1e0cea9d: SideNav now forwards refs

Patch Changes

14.0.5

Patch Changes

14.0.4

Patch Changes

  • 324d9730: Updates SideNav component to conform to updated dark mode palette
  • Updated dependencies [324d9730]

14.0.3

Patch Changes

14.0.2

Patch Changes

14.0.1

Patch Changes

14.0.0

Major Changes

  • 4fcf2e94: Refactors the CollapseToggle tooltip so that it no longer uses a portal, as React 18 displays the tooltip in the wrong position when the side nav is toggled.

    Refactor the internal function, renderedChildren.

Patch Changes

13.0.13

Patch Changes

13.0.12

Patch Changes

13.0.11

Patch Changes

13.0.10

Patch Changes

13.0.9

Patch Changes

13.0.8

Patch Changes

13.0.7

Patch Changes

  • 32b3d3146: Bumps to use new useIdAllocator hook
  • 73cbbd02c: Uses fontWeight token from @leafygreen-ui/tokens
  • Updated dependencies [73cbbd02c]
  • Updated dependencies [32b3d3146]
  • Updated dependencies [83fc5b31b]
  • Updated dependencies [9bcf8b925]
  • Updated dependencies [8ece56980]
  • Updated dependencies [8ece56980]
  • Updated dependencies [32b3d3146]
  • Updated dependencies [73cbbd02c]

13.0.6

Patch Changes

13.0.5

Patch Changes

13.0.4

Patch Changes

13.0.3

Patch Changes

13.0.2

Patch Changes

13.0.1

Patch Changes

  • 86e2924c8: Updates Story file with better default props
  • Updated dependencies [d8c589d35]
  • Updated dependencies [703db871f]

13.0.0

Major Changes

  • 351fbd350: Updates SideNav for dark mode brand refresh. Also applies new file structure internally.

12.0.2

Patch Changes

12.0.1

Patch Changes

  • 1a335d0b2: Migrate component internals to check for glyphs explicity, rather than for Icon components as well
  • ed0e425e5: Adds polished as an explicit dependency
  • ae5421cf6: Updates components to use internal transition tokens
  • Updated dependencies [ae5421cf6]
  • Updated dependencies [ed0e425e5]
  • Updated dependencies [4b4c2d27d]
  • Updated dependencies [6a266b813]
  • Updated dependencies [1a335d0b2]
  • Updated dependencies [ba97d1ef7]
  • Updated dependencies [ae5421cf6]

12.0.0

Patch Changes

11.0.1

Patch Changes

11.0.0

Patch Changes

10.1.2

Patch Changes

  • 24921fd2: Fix dependency range in package.json

10.1.1

Patch Changes

10.1.0

Minor Changes

  • 3690df49: Updates TypeScript annotations, type structures and export format of some components

Patch Changes

10.0.2

Patch Changes

10.0.1

Patch Changes

10.0.0

Patch Changes

9.0.3

Patch Changes

9.0.2

Patch Changes

9.0.1

Patch Changes

  • 07efe081: Updates '@leafygreen-ui/palette' dependency for SideNav and ConfirmationModal. Updates collapsed nav items for visual brand refresh
  • Updated dependencies [2670e4db]

9.0.0

Major Changes

  • 909209c4: Updates sidenav for Visual Brand Refresh

Patch Changes

8.0.0

Major Changes

Patch Changes

7.2.1

Patch Changes

7.2.0

Minor Changes

  • 19369b05: Adds support for nested SideNavGroups

7.1.2

Patch Changes

7.1.1

Patch Changes

7.1.0

Minor Changes

  • 1fe3e1a3: - Adds support for 16px base font size to SideNav.
    • Exposes a widthOverride prop that accepts a number (pixel-value), allowing consuming applications to control the width.
    • SideNavItems can be nested inside of one and other, and will appear when any ancestor is active.

Patch Changes

7.0.1

Patch Changes

7.0.0

Minor Changes

  • 842fc55b: Adds hasActiveItem prop for manual control over active item in collapsed side navigation.
  • 857a680a: Improves accessibility of focus state for vision-impaired users.

Patch Changes

6.0.1

Patch Changes

6.0.0

Major Changes

  • 2f0775ec: Redesigns the side navigation, adding the ability for a user to collapse it, and improving accessibility.

Patch Changes

5.0.4

Patch Changes

5.0.3

Patch Changes

5.0.2

Patch Changes

  • ee766843: Updates Chevron title in SideNavGroup based on its open state. When open, the title is appropriately Chevron Down Icon and when closed, Chevron Right Icon.

5.0.1

Patch Changes

5.0.0

Major Changes

  • ee7923d3: Performs some internal code refactoring with improved typing.

Patch Changes

  • ee7923d3: Changes how we extend the types of HTMLElements, and standardizes how we document this across readmes
  • Updated dependencies [ee7923d3]
  • Updated dependencies [ee7923d3]

4.0.3

Patch Changes

4.0.2

Patch Changes

4.0.1

Patch Changes

4.0.0

Major Changes

  • 0267bfd2: The underlying structure of distributed module definition files have changed and now have official support for ES modules. Module definition files are now generated using Rollup instead of Webpack. This should not affect functionality, but some thorough testing and caution should be exercised when upgrading.

Patch Changes

3.2.0

Minor Changes

  • f8b285a7: Adds initialCollapsed prop

Patch Changes

3.1.0

Minor Changes

  • dd0b6d5f: Adds collapsible prop to SideNavGroup

Patch Changes

3.0.10

Patch Changes

3.0.9

Patch Changes

  • e599707: Require lodash dependencies instead of inlining them.

3.0.8

Patch Changes

3.0.7

Patch Changes

3.0.6

Patch Changes

3.0.5

Patch Changes

3.0.4

Patch Changes

3.0.3

Patch Changes

3.0.2

Patch Changes

3.0.1

Patch Changes

3.0.0

Major Changes

  • 1d24966: Makes @leafygreen-ui/leafygreen-provider a peer dependency to ensure that components use hooks from the same version of the provider as what's installed.

Patch Changes

2.0.14

Patch Changes

2.0.13

Patch Changes

2.0.12

Patch Changes

2.0.11

Patch Changes

2.0.10

Patch Changes

2.0.9

Patch Changes

2.0.8

Patch Changes

2.0.7

Patch Changes

2.0.6

Patch Changes

2.0.5

Patch Changes

2.0.4

Patch Changes

2.0.3

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

  • 0c26f35: Fixes inconsistencies in active/hover highlight sizes

2.0.0

Major Changes

  • ed2e2f8:
    • Wrap SideNavItem components in React.useRef
    • Update z-index rules on hover styles for SideNavItem components

1.1.1

Patch Changes

1.1.0

Minor Changes

  • 6eb9d26:
    • Exports width and side padding so that users can reference both in integrating the component without hardcoding these values and to future-proof design changes
    • Design updates to match standards

Patch Changes

1.0.4

Patch Changes

  • 3a7bd19: Modifies styles to avoid conflicts with pre-existing focus states of anchors

1.0.3

Patch Changes

  • d766d73: Adjusts spacing in SideNav
  • Updated dependencies [786ccf1]
  • Updated dependencies [690888a]

1.0.2

Patch Changes

1.0.1

Patch Changes

  • 0eb010c: Improves handling of Aria roles in MenuItems, and increases label contrast for accessibility

1.0.0

Major Changes

  • 11b2217: Initial release of SideNav component

Patch Changes