Skip to content

Latest commit

 

History

History
247 lines (159 loc) · 5.1 KB

CHANGELOG.md

File metadata and controls

247 lines (159 loc) · 5.1 KB

@leafygreen-ui/a11y

2.0.0

Major Changes

  • 274d7e1a7: Removes prop-types from LeafyGreen UI

Patch Changes

1.5.0

Minor Changes

  • cfa830701: Adds AriaLabelPropsWithChildren type that requires either children, or other aria-label attributes to be defined. Allows a component to accept any of aria-label, aria-labelledby or children as sufficient text for screen-reader accessibility

Patch Changes

1.4.13

Patch Changes

1.4.12

Patch Changes

  • 7f38e78a: Updates test to import renderHook from @leafygreen-ui/testing-lib
  • ffd11f24: Update AriaLabelProps label type from string to ReactNode
  • Updated dependencies [7f38e78a]
  • Updated dependencies [ffd11f24]
  • Updated dependencies [ffd11f24]
  • Updated dependencies [ffd11f24]
  • Updated dependencies [ffd11f24]

1.4.11

Patch Changes

1.4.10

Patch Changes

1.4.9

Patch Changes

1.4.8

Patch Changes

  • Updated dependencies [4fcf2e94]
  • Updated dependencies [4fcf2e94]
  • Updated dependencies [4fcf2e94]

1.4.7

Patch Changes

1.4.6

Patch Changes

1.4.5

Patch Changes

1.4.4

Patch Changes

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

1.4.3

Patch Changes

  • 32b3d3146: Bumps to use new useIdAllocator hook
  • Updated dependencies [32b3d3146]

1.4.2

Patch Changes

1.4.1

Patch Changes

  • 4ccc353e7: Add ts docs to AriaLabelProps
  • Updated dependencies [2e8a572db]
  • Updated dependencies [4ccc353e7]
  • Updated dependencies [4ccc353e7]

1.4.0

Minor Changes

  • 51c544e2e: Exports AriaLabelProps, A union interface requiring either aria-label or aria-labelledby

Patch Changes

  • bf2fedf6d: Version bumps lib
  • Updated dependencies [ffb99f417]

1.3.4

Patch Changes

1.3.3

Patch Changes

1.3.2

Patch Changes

1.3.1

Patch Changes

1.3.0

Minor Changes

  • bac1e809: Adds new usePrefersReducedMotion hook to return whether the user has this preference set

1.2.2

Patch Changes

1.2.1

Patch Changes

1.2.0

Minor Changes

  • 90321b36: Adds validateAriaLabelProps functions to package.

Patch Changes

1.1.0

Minor Changes

  • 2f0775ec: Introduces prefersReducedMotion(), a utility for interpolating styles with Emotion built to support users with a preference set for reduced motion.

Patch Changes

1.0.0

Major Changes

  • 2419a8e2: Initial release of a11y package