- 78efdc99a: The
trigger
associated with theInfoSprinkle
component was previously a<button>
element using the defaulttype="submit"
. When anInfoSprinkle
instance was used in a<form>
element, clicking would unexpectedly submit form data to the server. The<button>
element now usestype="button"
to prevent this behavior.
- e1955dd36: Fixes broken patch build
- Updated dependencies [e1955dd36]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 53c67fba6: LG-4650: migrates from
yarn
topnpm
- Updated dependencies [53c67fba6]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 274d7e1a7: Removes prop-types from LeafyGreen UI
- Updated dependencies [274d7e1a7]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
-
04bb887c0: LG-4121:
InfoSprinkle
renders tooltip in the top layer using popover API. As a result, the following props are removed:popoverZIndex
portalClassName
portalContainer
portalRef
scrollContainer
usePortal
Additional changes include:
- Deprecates and removes
justify="fit"
. Instead, usejustify="middle"
- Opens tooltip immediately on hover instead of default 500ms delay
Use popover-v12 codemod for migration assistance.
<InfoSprinkle popoverZIndex={9999} usePortal={false} /> <InfoSprinkle portalClassName="portal-class" usePortal />
<InfoSprinkle /> <InfoSprinkle />
- Updated dependencies [04bb887c0]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [117a463f8]
- @leafygreen-ui/[email protected]
- 6b8ad3d42: Updates
children
type to acceptReact.ReactNode
rather than juststring
- bbd56ee88: - Adds
triggerProps
prop. These props are passed to the trigger element.triggerProps={{ onMouseDown: () => {}, onMouseOver: () => {}, 'aria-label': 'aria-label', }}>
- Removes
triggerAriaLabel
prop. Instead you can passaria-label
totriggerProps
. - Internally changes the trigger from a
span
withrole="button
to abutton
.
- Removes
- Updated dependencies [2f05b61ab]
- Updated dependencies [eb80fd3cb]
- @leafygreen-ui/[email protected]
- c86227a6: Updates storybook for .design
- 15185af0: Imports Storybook utilities from
@lg-tools/storybook-utils
(previously imported from@leafygreen-ui/lib
) - 356a53fd: Update TS builds to use
[email protected]
- Updated dependencies [15185af0]
- Updated dependencies [356a53fd]
- Updated dependencies [66df9ab8]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [74057388]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [c41752d2]
- Updated dependencies [783add80]
- Updated dependencies [89332190]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [dd4f3da8]
- Updated dependencies [7c3e6d39]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 954645a5: First major release of
InfoSprinkle