LeafyGreen UI – LeafyGreen's React UI Kit
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] 3 months ago
Published by github-actions[bot] 4 months ago
getTestUtils
and LGIDS_SELECT
. These were mistakenly excluded in its initial release
Published by github-actions[bot] 4 months ago
display:block
property, which was removed in style updates.Published by github-actions[bot] 4 months ago
gray.dark4
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
waitForTransition
accepts null
argPublished by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
cfa830701: Updates SearchResults
.
InputOptionContent
Updates SearchResultsMenu
background-color
to match the background from InputOptionContent
.Updated dependencies [cfa830701]
Updated dependencies [cfa830701]
Updated dependencies [cfa830701]
Updated dependencies [cfa830701]
Updated dependencies [db2d1d12c]
Updated dependencies [cfa830701]
Published by github-actions[bot] 4 months ago
@leafygreen-ui/descendants
. This improvement will enable faster feature development and bug fixes in the future.InputOption
within MenuItem
.
MenuItem
generated storiesFocusableMenuItem
component for new menu descendants pattern. By wrapping an input component in FocusableMenuItem
, it will be registered as a menu item descendant, and will be focusable using standard menu arrow key interactions.
FocusableMenuItem
must itself be focusable. Wrapping a focusable element (e.g. input
in a div
) will not enable the menu descendant functionality.cfa830701: Adds title
and glyph
props to MenuGroup
. Providing a title to MenuGroup
will visually indent the child MenuItem
components, appearing nested within the group.
cfa830701: ## Features
href
will toggle the submenuInputOption
InputOption
button
elementsSubMenu
does not toggle open/closed when disabledPublished by github-actions[bot] 4 months ago
cfa830701: Updates ComboboxOption
.
min-height
, padding
, and line-height
. Instead these styles will come from InputOptionContent
.Updates ComboboxMenu
.
background-color
to match the background from InputOptionContent
.Updated dependencies [cfa830701]
Updated dependencies [cfa830701]
Updated dependencies [cfa830701]
Updated dependencies [db2d1d12c]
Updated dependencies [cfa830701]
Published by github-actions[bot] 4 months ago
RecursiveRecord
typePublished by github-actions[bot] 4 months ago
cfa830701: ### API changes
selected
prop to checked
(this is done to avoid confusion with the aria-selected
attribute, which is conditionally applied via the highlighted
prop)checked
applies the aria-checked
attributechecked
does not apply any styles. Any "checked" styles must be applied by the consuming component (this is consistent with previous behavior)preserveIconSpace
prop to InputOptionContent
to determine whether menu items should preserve space for a left glyph, or left align all text content. Use this prop in menus where some items may or may not have icons/glyphs, in order to keep text across menu items aligned.AriaLabelPropsWithChildren
in InputOptionProps
AriaLabelPropsWithChildren
allows a component to accept any of aria-label
, aria-labelledby
or children
as sufficient text for screen-reader accessibilityInputOption
and InputOptionContent
styles to use updated color
and spacing
tokensinputOptionClassName
, and inputOptionContentClassName
.color.[theme].icon.primary
tokensLabel
& Description
colors from typography
color[theme].background.primary
tokens (including hover & focus states)palette.blue.base
for all modeshighlight
prop uses the .focus
state color for Icon, Text & Background colorsInputOptionContext
to track disabled
, highlighted
, & checked
attributes.Published by github-actions[bot] 4 months ago
getDescendantById
& getDescendantByIndex
utilitiesPublished by github-actions[bot] 4 months ago
SuggestedPrompt
.
InputOptionContent
Published by github-actions[bot] 4 months ago
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 accessibilityPublished by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
transparent
key to palette
. Ensures a consistent transparent
color across browsers