LeafyGreen UI – LeafyGreen's React UI Kit
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] 5 months ago
02e1d77e: Expose portalRef
in components that use Popover
:
Combobox
DatePicker
GuideCue
Menu
NumberInput
Select
SplitButton
Tooltip
Published by github-actions[bot] 5 months ago
02e1d77e: Expose portalRef
in components that use Popover
:
Combobox
DatePicker
GuideCue
Menu
NumberInput
Select
SplitButton
Tooltip
Published by github-actions[bot] 5 months ago
isRequired
from the buttonText
prop type. As of version 5.1.0, buttonText
is a deprecated prop that is now optional.
requiredInputText
prop value.requiredInputText
is provided.requiredInputText
is provided.Published by github-actions[bot] 5 months ago
02e1d77e: Expose portalRef
in components that use Popover
:
Combobox
DatePicker
GuideCue
Menu
NumberInput
Select
SplitButton
Tooltip
Published by github-actions[bot] 5 months ago
text
prop can now be null
even when format === 'text'
, allowing for a more seamless integration with the getInitials
function. If text === null
, the Avatar will fall back to Icon
format.Published by github-actions[bot] 5 months ago
Published by github-actions[bot] 5 months ago
ReactNode
for errorMessage
and successMessage
props in NumberInput
, TextArea
, and TextInput
readOnly
prop to <FormField>
so that it correctly sets the readOnly
prop.Published by github-actions[bot] 5 months ago
ReactNode
for errorMessage
and successMessage
props in NumberInput
, TextArea
, and TextInput
Published by github-actions[bot] 5 months ago
Size
control in storybookPublished by github-actions[bot] 5 months ago
ReactNode
for errorMessage
and successMessage
props in NumberInput
, TextArea
, and TextInput
Published by github-actions[bot] 5 months ago
GlyphName
, a union of all default LeafyGreen icon namesPublished by github-actions[bot] 5 months ago
data-testid
on <footer>
from lg-form_footer-footer
to lg-form_footer
.
primaryButtonProps
. This prop is an object that accepts all Button
props but variant
is limited to primary
and danger
.primaryButton
is marked as deprecated
. Please transition to primaryButtonProps
.cancelButtonText
. Use cancelButtonProps
and pass the children
property.
cancelButtonProps: {
{
children: 'hi';
}
}
onCancel
. Use cancelButtonProps
and pass the onClick
property.
cancelButtonProps: {
{
onClick: () => {};
}
}
backButtonText
. Use backButtonProps
and pass the children
property.
backButtonProps: {
{
children: 'hi';
}
}
onBackClick
. Use backButtonProps
and pass the onClick
property.
backButtonProps: {
{
onClick: () => {};
}
}
Published by github-actions[bot] 5 months ago
readOnly
prop in the useFormFieldProps
hook. Previously, readOnly
was only added to an input if disabled
was true. Now, passing the readOnly
prop adds it to the resulting input.Published by github-actions[bot] 5 months ago
confirmButtonProps
. This prop is an object that accepts all Button
props except for the variant
prop. The variant is controlled by the variant
prop.
cancelButtonProps
. This prop is an object that accepts all Button
props. The onClick
property will also fire when the X
button, or backdrop is clicked.onConfirm
is now marked as deprecated
. Please transition to confirmButtonProps
and pass the onClick
property.
confirmButtonProps: {
{
onClick: () => {};
}
}
buttonText
is now marked as deprecated
. Please transition to confirmButtonProps
and pass the children
property.
confirmButtonProps: {
{
children: 'hi';
}
}
submitDisabled
is now marked as deprecated
. Please transition to confirmButtonProps
and pass the disabled
property.
confirmButtonProps: {
{
disabled: true;
}
}
onCancel
is now marked as deprecated
. Please transition to cancelButtonProps
and pass the onClick
property.
cancelButtonProps: {
{
onClick: () => {};
}
}
Published by github-actions[bot] 5 months ago
ae44834e: Moves base Avatar component to @leafygreen-ui
from @lg-chat
.
Updates supported sizes, and renames variant
prop to format
.
Avatar no longer calls getInitials
internally, and will render the first two characters of the text
prop. getInitials
must now be called external to Avatar, and one of its results (initials
, givenInitial
or surnameInitial
) passed into the text
prop.
Published by github-actions[bot] 5 months ago
color
prop from AvatarPublished by github-actions[bot] 5 months ago
Published by github-actions[bot] 5 months ago
Published by github-actions[bot] 5 months ago
Published by github-actions[bot] 5 months ago
args
for mongodb.design