Skip to content

Latest commit

 

History

History
932 lines (627 loc) · 20.2 KB

CHANGELOG.md

File metadata and controls

932 lines (627 loc) · 20.2 KB

@leafygreen-ui/icon-button

16.0.10

Patch Changes

16.0.9

Patch Changes

16.0.8

Patch Changes

16.0.7

Patch Changes

  • b75c9b896: Reorganizes files internally. No externally-facing changes
  • Updated dependencies [16dda633f]

16.0.6

Patch Changes

16.0.5

Patch Changes

16.0.4

Patch Changes

16.0.3

Patch Changes

  • 859e5b45f: LG-2723: Replace @leafygreen-ui/box with @leafygreen-ui/polymorphic and refactor IconButton internals.
    • Exports IconButtonProps type

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.23

Patch Changes

  • e7bc12814: Adds more thorough test coverage for disabled inputs

15.0.22

Patch Changes

  • a94306ab3: Changes hover state of IconButton components

15.0.21

Patch Changes

15.0.20

Patch Changes

15.0.19

Patch Changes

15.0.18

Patch Changes

15.0.17

Patch Changes

15.0.16

Patch Changes

15.0.15

Patch Changes

15.0.14

Patch Changes

15.0.13

Patch Changes

  • 547d828e: Change darkMode fill color from gray dark1 to gray dark2

15.0.12

Patch Changes

  • 76161cf0: Updates stories for Chromatic testing
  • Updated dependencies [76161cf0]
  • Updated dependencies [76161cf0]
  • Updated dependencies [95f5107a]
  • Updated dependencies [76161cf0]
  • Updated dependencies [76161cf0]

15.0.11

Patch Changes

15.0.10

Patch Changes

  • ce0fcb3f6: Excludes children from story controls
  • Updated dependencies [55d33e435]
  • Updated dependencies [111b680c5]
  • Updated dependencies [55d33e435]
  • Updated dependencies [cf00160ec]
  • Updated dependencies [111b680c5]
  • Updated dependencies [77320a6b8]

15.0.9

Patch Changes

15.0.8

Patch Changes

15.0.7

Patch Changes

15.0.6

Patch Changes

15.0.5

Patch Changes

  • c1c259036: Exporting types

15.0.4

Patch Changes

  • c82ed35d5: Removes useUsingKeyboardContext from component, in favor of &:focus-visible
  • Updated dependencies [050f1f8a9]
  • Updated dependencies [741cdd408]
  • Updated dependencies [b24b21462]

15.0.3

Patch Changes

  • 75f26afbc: Allows users to override default tabIndex value being set on component
  • Updated dependencies [95bd93ef9]
  • Updated dependencies [3bb4b7506]

15.0.2

Patch Changes

  • b7f7a4c95: Updates package dependencies & devDependencies, and ensures each package is appropriately listed. Ensures tsconfig has no circular dependencies
  • Updated dependencies [b7f7a4c95]

15.0.1

Patch Changes

  • ae5421cf6: Updates components to use internal transition tokens
  • Updated dependencies [ae5421cf6]

15.0.0

Patch Changes

14.0.1

Patch Changes

14.0.0

Patch Changes

  • Updated dependencies [e399f1b9]
  • Updated dependencies [e399f1b9]

13.2.1

Patch Changes

13.2.0

Minor Changes

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

Patch Changes

13.1.1

Patch Changes

13.1.0

Minor Changes

  • 65c86281: Consuming darkMode from the LeafyGreenProvider if the darkMode prop is not set

Patch Changes

13.0.0

Patch Changes

12.0.0

Major Changes

  • f0a357e2: Updates IconButton for dark mode brand refresh

11.0.2

Patch Changes

  • 96d1ff9c: Updates to propTypes, TSDocs, and Storybook controls
  • Updated dependencies [6a89bc29]
  • Updated dependencies [fd2f6de0]
  • Updated dependencies [96d1ff9c]
  • Updated dependencies [422dbfcd]
  • Updated dependencies [9ff90d4b]

11.0.1

Patch Changes

  • bc2558c5: Adding named exports for select components and types

11.0.0

Major Changes

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

10.0.0

Major Changes

  • ab1fd9e: Updates Icon Button in line with the visual brand refresh

9.1.7

Patch Changes

  • 9d0bcd4: - Ensures IconButton is focusable when disabled
    • Fixes styling priority of a disabled and active IconButton

9.1.6

Patch Changes

9.1.5

Patch Changes

9.1.4

Patch Changes

  • 1503e83a: Transitions color in IconButton component

9.1.3

Patch Changes

9.1.2

Patch Changes

  • 99ea9436: Adds styles to the IconButton components's active state.

9.1.1

Patch Changes

  • 2daf1808: Reads isGlyph function from icon package, rather than defining it locally

9.1.0

Minor Changes

  • 627333c2: Size is now a named export from the package

Patch Changes

9.0.1

Patch Changes

9.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

8.0.2

Patch Changes

8.0.1

Patch Changes

8.0.0

Major Changes

  • a84219f1: Deprecates variant in favor of new darkMode prop, which determines if the component should be rendered in darkMode

7.0.6

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

  • 463a338: Adds flex-shrink property to IconButton

7.0.0

Major Changes

  • ab4c074: Removed redundant aria-label from the icon that is already on the button

6.1.4

Patch Changes

6.1.3

Patch Changes

6.1.2

Patch Changes

  • Updated dependencies [2eba736]
  • Updated dependencies [1aa26ee]
  • Updated dependencies [d2136a0]
  • Updated dependencies [a571361]

6.1.1

Patch Changes

6.1.0

Minor Changes

  • 27f8ea1: Adds aria-label to LeafyGreen icons and glyphs

Patch Changes

6.0.1

Patch Changes

6.0.0

Major Changes

  • 1d86d56: Uses new isGlyph property from Glyph component to determine if IconButton child is a Glyph

Patch Changes

5.0.5

Patch Changes

5.0.4

Patch Changes

5.0.3

Patch Changes

  • Updated dependencies [2fc4ef9]
  • Updated dependencies [e857861]
  • Updated dependencies [cf6167e]

5.0.2

Patch Changes

  • 2a03117: Upgrades @testing-library/react to v10 and revises test suites to conform with new standards
  • Updated dependencies [c812eb3]

5.0.1

Patch Changes

5.0.0

Major Changes

  • 5aafd72: IconButton now accepts aria-label instead of ariaLabel When an Icon is a child of IconButton, the Icon's title will be unset unless explicitly set on Icon, and its size will be inherited from IconButton unless its explicitly set. Previously, IconButton required that ariaLabel exists as a prop to IconButton. Now IconButton is more flexible, and requires that one of aria-label or aria-labelledby are set.

Patch Changes

4.1.6

Patch Changes

4.1.5

Patch Changes

4.1.4

Patch Changes

4.1.3

Patch Changes

4.1.2

Patch Changes

4.1.1

Patch Changes

  • 347bcf6:

    • Adds default background-color for cross-browser compatability
    • Removes ability of IconButton components to be focusbale when disabled
  • Updated dependencies [704e25c]

4.1.0

Minor Changes

  • 0bfe2ad: Adds active prop to IconButton component

4.0.0

Major Changes

  • fabc1c9: Wraps component with React.forwardRef to provide direct access to the underlying element

Minor Changes

  • 0a75bd6: Adds optional size prop to IconButton component to be compatible with default, large and xlarge size variants of Icon component

Patch Changes

3.0.1

Patch Changes

3.0.0

Major Changes

  • 464c09d: Introduces SSR compatibility though a change to our build process and files

Patch Changes

2.0.1

Patch Changes

  • e19a757: Fix Typescript bugs with onClick handling

2.0.0

Major Changes

  • 337cab4: Enforce use of ariaLabel prop, which is passed to aria-label attribute and ensures accessibility

1.0.0

Major Changes

  • 6b42e6d: Initial implementation of IconButton component

Patch Changes