leafygreen-ui

LeafyGreen UI – LeafyGreen's React UI Kit

APACHE-2.0 License

Downloads
8.8M
Stars
217
Committers
47

Bot releases are visible (Hide)

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 4 months ago

Patch Changes

  • df0d6faee: Adds args to Icon meta for .design
leafygreen-ui - @lg-tools/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

leafygreen-ui - @lg-tools/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • ed9bead67: Creates a waitForTransition test utility. Fires the transitionend event on a given element to ensure event handlers are called after CSS transitions complete.

    This is useful for testing onEntered or onExited callbacks on Transition or Popover elements.

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • 95093066c: Rename AllIcons to LiveExample for .design
leafygreen-ui - @lg-chat/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • e5a13a22b: Fixes an import issue with the links prop implementation
leafygreen-ui - @lg-tools/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • af208260: Pre-release of codemods.
leafygreen-ui - @lg-tools/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • af208260: Adds pre-release of codemods command
  • Updated dependencies [af208260]
leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 02e1d77e: Expose portalRef in components that use Popover:

    • Combobox
    • DatePicker
    • GuideCue
    • Menu
    • NumberInput
    • Select
    • SplitButton
    • Tooltip

    LG-3988

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 7bc4fcde: - Improves semantics of color token segment type names (e.g. Type -> Property, State -> InteractionState).
    • Adds TSDoc to color types
    • Deprecates Mode enum in favor if Theme (exported from lib)

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Major Changes

  • a29ec7d4: LG-4087

    • Removes @leafygreen-ui/portal dependency
      • In previous versions, tabs and their corresponding panels do not render on the server and instead portal content in the respective containers after hydration
      • Moving forward, tabs and their corresponding panels render normally on the server and render content in the respective containers during initial render cycle
    • Adds @leafygreen-ui/descendants dependency
      • Handles relationships between Tabs component and TabTitle descendants
      • Handles relationships between Tabs component and TabPanel descendants
    • Replaces @leafygreen-ui/box with `@leafygreen-ui/polymorphic
      • Allows tab elements to render as any element or component
      • Note: it is recommended to continue to use a button or link for accessibility purposes
    • Adds forceRenderAllTabPanels to Tabs component. By default, tab panels conditionally render in the DOM. Setting this prop to true will:
      • Render all non-disabled tab panels in the DOM
      • Hide the non-selected tab panels with CSS using display: none;. This will also remove the non-selected tab panels from the accessibility tree
    • Adds fixed height to tabs
    • Exports class names to customize styling on containers
      • tabListElementClassName can be used to select tab list container
      • tabPanelsElementClassName can be used to select tab panels container
    • Adds getAllTabPanelsInDOM test util
    • Updates getSelectedPanel test util. It now checks CSS display property to get the selected panel

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 02e1d77e: Expose portalRef in components that use Popover:

    • Combobox
    • DatePicker
    • GuideCue
    • Menu
    • NumberInput
    • Select
    • SplitButton
    • Tooltip

    LG-3988

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 02e1d77e: Expose portalRef in components that use Popover:

    • Combobox
    • DatePicker
    • GuideCue
    • Menu
    • NumberInput
    • Select
    • SplitButton
    • Tooltip

    LG-3988

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 02e1d77e: Exposes the following props in SearchInput component:

    • usePortal
    • portalClassName
    • portalContainer
    • portalRef
    • scrollContainer

    LG-3988

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 02e1d77e: Reclassify portalRef prop as part of PortalControlProps in Popover component
    LG-3988

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 02e1d77e: Expose portalRef in components that use Popover:

    • Combobox
    • DatePicker
    • GuideCue
    • Menu
    • NumberInput
    • Select
    • SplitButton
    • Tooltip

    LG-3988

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 7bc4fcde: Adds RecursiveRecord type
leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 02e1d77e: Expose portalRef in components that use Popover:

    • Combobox
    • DatePicker
    • GuideCue
    • Menu
    • NumberInput
    • Select
    • SplitButton
    • Tooltip

    LG-3988

Patch Changes

leafygreen-ui - @leafygreen-ui/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • 961be3f9: Adds Stop to glyph set and updates Pause glyph
Package Rankings
Top 1.98% on Npmjs.org
Badges
Extracted from project README
version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version version