Skip to content

Latest commit

 

History

History
659 lines (488 loc) · 16.3 KB

CHANGELOG.md

File metadata and controls

659 lines (488 loc) · 16.3 KB

@leafygreen-ui/segmented-control

10.0.7

Patch Changes

10.0.6

Patch Changes

10.0.5

Patch Changes

  • 7995d44d8: LG-2725: Replace @leafygreen-ui/box with @leafygreen-ui/polymorphic and refactor SegmentedControlOption internals.
    • Exports Size enum

10.0.4

Patch Changes

10.0.3

Patch Changes

10.0.2

Patch Changes

10.0.1

Patch Changes

10.0.0

Major Changes

  • 274d7e1a7: Removes prop-types from LeafyGreen UI

Patch Changes

9.0.0

Major Changes

  • 1cfe7d0ce: LG-4045: Adds 'small' size styles. Previously, 'small' size would fall back on the 'xsmall' size styles

Patch Changes

8.2.13

Patch Changes

  • e31fb71a: Update Size control in storybook
  • Updated dependencies [ae44834e]

8.2.12

Patch Changes

8.2.11

Patch Changes

8.2.10

Patch Changes

8.2.9

Patch Changes

8.2.8

Patch Changes

8.2.7

Patch Changes

8.2.6

Patch Changes

  • Updated dependencies [a5770c15]
  • Updated dependencies [c89d17a4]

8.2.5

Patch Changes

8.2.4

Patch Changes

8.2.3

Patch Changes

8.2.2

Patch Changes

8.2.1

Patch Changes

8.2.0

Minor Changes

  • b0b70b7a: Label prop now accepts type React.ReactNode instead of string

Patch Changes

8.1.3

Patch Changes

8.1.2

Patch Changes

  • 63b2deb0b: Upgrade button to v20.1.1

8.1.1

Patch Changes

8.1.0

Minor Changes

  • 71b9f59ae: Allows null to be passed as children to SegmentedControl component, per React standard

8.0.3

Patch Changes

  • a3a52e131: Bumps to use new useIdAllocator hook
  • Updated dependencies [614f7617d]
  • Updated dependencies [a3a52e131]
  • Updated dependencies [614f7617d]

8.0.2

Patch Changes

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

8.0.1

Patch Changes

  • 55d33e435: Update to BaseFontSize prop control for .design live example
  • 111b680c5: Fixes incorrect prop types in Storybook
  • Updated dependencies [55d33e435]
  • Updated dependencies [07db42330]
  • Updated dependencies [111b680c5]
  • Updated dependencies [55d33e435]
  • Updated dependencies [cf00160ec]
  • Updated dependencies [111b680c5]
  • Updated dependencies [77320a6b8]

8.0.0

Major Changes

  • 34e8086b8: Renames "small" size variant to "xsmall"

Patch Changes

7.0.5

Patch Changes

7.0.4

Patch Changes

7.0.3

Patch Changes

7.0.2

Patch Changes

7.0.1

Patch Changes

7.0.0

Major Changes

  • 8d520f6d2: Adds slot for glyph and adds an ellipsis to prevent wrapping of long text. Passing in an <Icon> as a child will not produce an error but is discouraged because styles will be broken. A slot was introduced to separate icon from text which makes it easier to apply icon only and text only styles.

6.0.1

Patch Changes

  • ed0e425e5: Adds polished as an explicit dependency
  • ae5421cf6: Updates components to use internal transition tokens
  • Updated dependencies [ae5421cf6]
  • Updated dependencies [4b4c2d27d]
  • Updated dependencies [6a266b813]
  • Updated dependencies [1a335d0b2]
  • Updated dependencies [ba97d1ef7]
  • Updated dependencies [ae5421cf6]

6.0.0

Major Changes

  • 30207122: Updates Segmented Control for dark mode brand refresh.

Patch Changes

5.0.0

Major Changes

  • f2d63a60: Removes leafygreen data attributes (prefixed with data-leafygreen-ui-), and replaces them with deterministic classNames (prefixed with lg-ui-)

Patch Changes

4.0.0

Patch Changes

3.1.1

Patch Changes

3.1.0

Minor Changes

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

Patch Changes

3.0.1

Patch Changes

3.0.0

Patch Changes

2.0.1

Patch Changes

2.0.0

Major Changes

  • e13d2487: Moving leafygreen-provider to peerDependencies.
  • Updated dependencies [c48e943e]

Patch Changes

1.0.2

Patch Changes

  • Updated dependencies [233ac580]
  • Updated dependencies [ba4aab15]
  • Updated dependencies [ba4aab15]
  • Updated dependencies [2cf1bc4a]
  • Updated dependencies [679b6239]
  • Updated dependencies [f3aad7e2]

1.0.1

Patch Changes

  • acd6919: Prevent segmented control from hijacking focus
  • Updated dependencies [acd6919]
  • Updated dependencies [acd6919]

1.0.0

Major Changes

  • 614be76: - Updates Segmented Control in line with Visual Brand refresh

Patch Changes

0.9.1

Patch Changes

  • d661688: Bumps version of lib & typography package deps
  • Updated dependencies [d661688]
  • Updated dependencies [d661688]