LeafyGreen UI – LeafyGreen's React UI Kit
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] 10 months ago
ChildrenFunctionParameters
typePublished by github-actions[bot] 10 months ago
title
prop is now typed as ReactNode to allow customizationsPublished by github-actions[bot] 10 months ago
createSyntheticEvent
rollover
truncateStart
cloneReverse
isDefined
isZeroLike
& isNotZeroLike
target
type in createSyntheticEvent
to extend EventTarget
Published by github-actions[bot] 10 months ago
aria-disabled
attribute when disabled
is providedPublished by github-actions[bot] 10 months ago
renderHook
from @leafygreen-ui/testing-lib
Published by github-actions[bot] 10 months ago
useControlledValue
to accept any type.
updateValue
function in return value. This method triggers a synthetic event to update the value of a controlled or uncontrolled component.initialValue
argument. Used for setting the initial value for uncontrolled components. Without this we may encounter a React error for switching between controlled/uncontrolled inputsisControlled
is now immutable after the first renderrenderHook
from @leafygreen-ui/testing-lib
Published by github-actions[bot] 10 months ago
date-utils
. DateUtils contains utility functions for managing and manipulating JS Date objectsPublished by github-actions[bot] 10 months ago
data-testid
to Label, Description & Error elementsPublished by github-actions[bot] 10 months ago
date-picker
. Use DatePicker to allow users to input a datePublished by github-actions[bot] 10 months ago
renderHook
from @leafygreen-ui/testing-lib
AriaLabelProps
label
type from string
to ReactNode
Published by github-actions[bot] 10 months ago
'Hash'
to glyph set and updates the 'Home'
glyphPublished by github-actions[bot] 10 months ago
Published by github-actions[bot] 10 months ago
'Cap'
icon to glyph set'Camera'
to glyph setPublished by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
stopPropagation
and preventDefault
to prevent menus from reopening when using usePortal = false
and selecting an option with space
/enter
.Published by github-actions[bot] 11 months ago
dismissible
in propTypes to reflect correct spellingPublished by github-actions[bot] 11 months ago
Published by github-actions[bot] 12 months ago
onEnter*
and onExit*
callbacks to Popover. These callbacks are provided to the internal React Transition element. See ReactTransitionGroup docs for more details.isPopoverOpen
in PopoverContext
in the onEntered
and onExited
lifecycle callbacks, to better reflect the true state of the popover statePublished by github-actions[bot] 12 months ago
pickAndOnit
helper functionPublished by github-actions[bot] 12 months ago
'Key'
icon to match design specs