- 5f10976d5: - Updates
useAvailableSpace
hook which fixes a dropdown height bug. LG-4601.
Note: This version has no updates. Pleas use version 12.1.6
.
- Updates
useAvailableSpace
hook which fixes a dropdown height bug. LG-4601
- c95b81376: LG-4409: bumps to v1.2.4 of
@leafygreen-ui/form-field
- Updated dependencies [c95b81376]
- @leafygreen-ui/[email protected]
- 9c40e5335: Exports
getTestUtils
andLGIDS_SELECT
. These were mistakenly excluded in its initial release - Updated dependencies [157146b5c]
- @leafygreen-ui/[email protected]
- 9c2bcf4e8: Revert changes to disabled options from this PR.
-
cfa830701: Updates
Option
- Removes style overrides in favor of consistent option styles from
InputOptionContent
Updates
ListMenu
- Updates the menu
background-color
andborder-color
to match the background and border fromInputOptionContent
.
- Removes style overrides in favor of consistent option styles from
-
Updated dependencies [cfa830701]
-
Updated dependencies [cfa830701]
-
Updated dependencies [cfa830701]
-
Updated dependencies [db2d1d12c]
-
Updated dependencies [cfa830701]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
-
02e1d77e: Expose
portalRef
in components that usePopover
:Combobox
DatePicker
GuideCue
Menu
NumberInput
Select
SplitButton
Tooltip
- Updated dependencies [02e1d77e]
- Updated dependencies [7bc4fcde]
- Updated dependencies [7bc4fcde]
- Updated dependencies [961be3f9]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
-
c406ab85: LG-4138
- Updated styling:
- updated spacing for
'xsmall'
,'small'
, and'large'
size variants - updated placeholder text color
- removed validation icon from inside the input
-
Added default
errorMessage
of'This input needs your attention'
-
Added
valid
state variant andsuccessMessage
prop
successMessage
will render a default of'Success'
and can be customizedsuccessMessage
will only render whenstate=valid
- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- Updated dependencies [c406ab85]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [dfd6972c]
- Updated dependencies [1ec45a7e]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 8adadc89: Fixes a bug that prevented packages from rendering in a server-side environment
- Updated dependencies [8adadc89]
- @lg-tools/[email protected]
- c3906f78: - Exports
getTestUtils
, a util to reliably interact withLG Select
in a product test suite. For more details, check out the README LG-4129- Exports the constant,
LGIDS_SELECT
which storesdata-lgid
values. - Removes
role="presentation"
fromWarningIcon
- Exports the constant,
- 8aec541d: Correct
description
propType - Updated dependencies [9402ba0e]
- Updated dependencies [9b71e34d]
- Updated dependencies [c3906f78]
- Updated dependencies [c3906f78]
- Updated dependencies [c3906f78]
- Updated dependencies [070736c4]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @lg-tools/[email protected]
- @leafygreen-ui/[email protected]
- 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 [7a0ff1be]
- 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]
- @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]
- e487fb24: Renames story files from
.story.tsx
to.stories.tsx
- Updated dependencies [8ad4fdbc]
- Updated dependencies [58f4a4c5]
- Updated dependencies [5ee54143]
- Updated dependencies [e487fb24]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 36a8ded2:
description
prop can now be aReact.ReactNode
rather than astring
- Updated dependencies [c2854e9b]
- Updated dependencies [11d12cc4]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- ffd11f24: - Passes
onEnter*
andonExit*
props to internalPopover
component- Adds tests to test
onEnter*
andonExit*
callbacks - Adds tests to test
PopoverContext
- Adds tests to test
- Updated dependencies [9b7a8236]
- Updated dependencies [7f38e78a]
- Updated dependencies [ffd11f24]
- Updated dependencies [ffd11f24]
- Updated dependencies [ffd11f24]
- Updated dependencies [ffd11f24]
- Updated dependencies [ffd11f24]
- Updated dependencies [ffd11f24]
- Updated dependencies [ffd11f24]
- @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]
- 969b0d45: Adds
stopPropagation
andpreventDefault
to prevent menus from reopening when usingusePortal = false
and selecting an option withspace
/enter
.
- ace9cc03: Allows Select to accept a ref
- Updated dependencies [e3f4d9ce]
- Updated dependencies [89f439e8]
- Updated dependencies [c41752d2]
- Updated dependencies [f077faf1]
- Updated dependencies [89332190]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 9a471879: - Updates disabled dark mode text color from
gray.dark2
togray.dark1
- Updates disabled dark mode caret from
gray.dark2
togray.dark1
- Updates dark mode dropdown border from
gray.dark3
togray.dark2
- Updates disabled dark mode caret from
- dd4f3da8: Adds tests for pressing space on a select option
- Updated dependencies [dd4f3da8]
- Updated dependencies [90053e16]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- c5d95794: - Adds
description
prop toOption
- Refactor
Option
to use internalInputOption
component - Internally removes
theme
fromSelectContext
by opting to encloseSelect
within theLeafygreenProvider
and consumingtheme
from there. This adjustment enables nested children to access the dark mode context provided byLeafygreenProvider
as well. - Reorganizes internal file structure
- Refactor
- Updated dependencies [a4b3b704]
- Updated dependencies [c5d95794]
- Updated dependencies [324d9730]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- d2c1ec53: Updates Button to remove
pointer-events: none
styles from it's inner container. This allows the Select component to work as intended when usingusePortal = false
. - Updated dependencies [d2c1ec53]
- @leafygreen-ui/[email protected]
- d70768a7: Add a 1px
gray.light2
border to light mode dropdowns and a 1pxgray.dark3
border to dark mode dropdowns to match Figma specs.
- 3a9b274d: Handles keyboard event based on the event's
key
property rather than itskeyCode
property - Updated dependencies [3a9b274d]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [a5770c15]
- Updated dependencies [c89d17a4]
- @leafygreen-ui/[email protected]
- Updated dependencies [3fe03b50]
- Updated dependencies [fd907503]
- Updated dependencies [c9f0055a]
- Updated dependencies [56459cde]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 4fcf2e94: Bumps
@types/react-is
andreact-is
to latest major version - 4fcf2e94: Adds new internal prop,
__INTERNAL__menuButtonSlotProps__
. - Updated dependencies [4fcf2e94]
- Updated dependencies [4fcf2e94]
- Updated dependencies [4fcf2e94]
- Updated dependencies [4fcf2e94]
- Updated dependencies [4fcf2e94]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- c11bbc29: Fixes problem with ts-docs not being available in bundle.
- Updated dependencies [c11bbc29]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- c15ee2ac: Fixes missing documentation file
- Updated dependencies [f73807cf]
- Updated dependencies [31c09354]
- Updated dependencies [c15ee2ac]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- e8ef95e6: Updates disabled styles
- Updated dependencies [e8ef95e6]
- @leafygreen-ui/[email protected]
- Updated dependencies [cfba537d]
- @leafygreen-ui/[email protected]
- 215268ff: Updates build tooling. No functional changes
- Updated dependencies [215268ff]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 76161cf0: Updates stories for Chromatic testing
- Updated dependencies [76161cf0]
- Updated dependencies [76161cf0]
- Updated dependencies [735342e9]
- Updated dependencies [95f5107a]
- Updated dependencies [76161cf0]
- Updated dependencies [76161cf0]
- Updated dependencies [76161cf0]
- Updated dependencies [76161cf0]
- @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]
- 63b2deb0b: Upgrade button to v20.1.1
- Updated dependencies [63b2deb0b]
- @leafygreen-ui/[email protected]
- d2ce54e2f: Updates story files for Storybook 7.x
- Updated dependencies [d2ce54e2f]
- Updated dependencies [75099c60b]
- Updated dependencies [d2ce54e2f]
- Updated dependencies [0cd471676]
- Updated dependencies [0cd471676]
- Updated dependencies [2dfc4d0ea]
- @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]
- a3a52e131: Bumps to use new
useIdAllocator
hook - Updated dependencies [614f7617d]
- Updated dependencies [a3a52e131]
- Updated dependencies [614f7617d]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 32b3d3146: Bumps to use new
useIdAllocator
hook - 73cbbd02c: Uses fontWeight token from
@leafygreen-ui/tokens
- Updated dependencies [73cbbd02c]
- Updated dependencies [8ece56980]
- Updated dependencies [83fc5b31b]
- Updated dependencies [9bcf8b925]
- Updated dependencies [8ece56980]
- Updated dependencies [32b3d3146]
- Updated dependencies [73cbbd02c]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- ce0fcb3f6: Excludes
children
from story controls - 77320a6b8: Fix padding discrepancy between Combobox, Select, Text Input, and Number Input
- Updated dependencies [55d33e435]
- Updated dependencies [07db42330]
- Updated dependencies [55d33e435]
- Updated dependencies [cf00160ec]
- Updated dependencies [ce0fcb3f6]
- Updated dependencies [111b680c5]
- Updated dependencies [77320a6b8]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 8c0c2bdf9: Updates build script to include a transpiled copy of the story file in the bundle
- Updated dependencies [8c0c2bdf9]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- fb47557dd: Adds prop
dropdownWidthBasis
which determines if the dropdown width should be the width of the menu trigger or as wide as the widest option.
- af2e2bb74: Adds padding to the right of caret icon to align with Figma spec
- Updated dependencies [ece595acd]
- Updated dependencies [9858ab8c5]
- Updated dependencies [d351c02bc]
- Updated dependencies [c2c5601f4]
- Updated dependencies [fb47557dd]
- @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 [5b036515e]
- Updated dependencies [26e341a0b]
- Updated dependencies [997121cc3]
- Updated dependencies [eb0cc4498]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- fc85e3f7a: Fix README formatting
- Updated dependencies [82e320ed4]
- Updated dependencies [2e8a572db]
- Updated dependencies [4ccc353e7]
- Updated dependencies [4ccc353e7]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- bf2fedf6d: Version bumps lib
- Updated dependencies [1cff328a3]
- Updated dependencies [ffb99f417]
- Updated dependencies [bf2fedf6d]
- Updated dependencies [b7a29ea38]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- a089bf899: Allows aria-label as acceptable aria label prop in Select
- c1c259036: Exporting types
- c82ed35d5: Removes
useUsingKeyboardContext
from component, in favor of&:focus-visible
- b24b21462: Storybook: Updates story files to be on par with existing mongodb.design examples
- Updated dependencies [050f1f8a9]
- Updated dependencies [741cdd408]
- Updated dependencies [866144167]
- Updated dependencies [c82ed35d5]
- Updated dependencies [b24b21462]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 7ca2da507: Updates mobile styles query. We now trigger mobile styles on
max-width: 768px
,hover: none
and eitherpointer: coarse
orpointer: none
- 696adb1b6: Makes internal check for presence of glpyh within Option more explicit, and inline with how we perform similar checks in other components
- ae5421cf6: Updates components to use internal transition tokens
- Updated dependencies [ae5421cf6]
- Updated dependencies [ed0e425e5]
- Updated dependencies [4b4c2d27d]
- Updated dependencies [6a266b813]
- Updated dependencies [1a335d0b2]
- Updated dependencies [ba97d1ef7]
- Updated dependencies [ae5421cf6]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [07b3c797]
- Updated dependencies [07b3c797]
- Updated dependencies [b9b09a86]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- f2d63a60: Removes leafygreen data attributes (prefixed with
data-leafygreen-ui-
), and replaces them with deterministic classNames (prefixed withlg-ui-
)
- Updated dependencies [209f77ed]
- Updated dependencies [f2d63a60]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- f21e42a0: Updates propTypes to accept
node
as children - Updated dependencies [0b6435fa]
- Updated dependencies [e399f1b9]
- Updated dependencies [e399f1b9]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 24921fd2: Fix dependency range in package.json
- 24683433: - Remove an implicit dependency on
@emotion/react
fixing an issue where LG packages would not build if@leafygreen/[email protected]
or greater was installed. - Updated dependencies [24683433]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 3690df49: Updates TypeScript annotations, type structures and export format of some components
- 3690df49: Updates Storybook configs
- Updated dependencies [3690df49]
- Updated dependencies [3690df49]
- Updated dependencies [3690df49]
- Updated dependencies [3690df49]
- Updated dependencies [3690df49]
- Updated dependencies [58a5a05e]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 8d7534e9: Adds
tsdoc.json
to published package files - Updated dependencies [7caa1c3e]
- Updated dependencies [1e708bd3]
- Updated dependencies [e39d8469]
- Updated dependencies [8d7534e9]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 7409c9db: Remove
isDeselection
fromInternalOption
- Updated dependencies [22128084]
- @leafygreen-ui/[email protected]
- 5aba12f1: - Updates 'Select' for dark mode refresh.
- Adds
baseFontSize
prop which determines the base font size if sizeVariant is set to default. - Consumes darkMode from the
LeafyGreenProvider
if thedarkMode
prop is not set.
- Adds
- Updated dependencies [5aba12f1]
- @leafygreen-ui/[email protected]
- 828c895d: Passes through all valid
button
,li
anddiv
attriutes (includingdata-*
attributes) toSelect
,Option
andOptionGroup
respectively
- b22cc41f: Fixes a bug where long values, when selected, would overflow outside the Select trigger.
- Updated dependencies [13a4adcc]
- @leafygreen-ui/[email protected]
- Updated dependencies [85d46871]
- Updated dependencies [99e20bb9]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- fad2b287: Fixes a bug where occasionally the max menu height would be set to 0 if a ref was left unset
- 96d1ff9c: Updates to propTypes, TSDocs, and Storybook controls
- 6792bc44: Refactors Combobox and Select to use the new
useAvailableSpace
hook to calculate the max menu height - Updated dependencies [6a89bc29]
- Updated dependencies [fd2f6de0]
- Updated dependencies [6792bc44]
- Updated dependencies [96d1ff9c]
- Updated dependencies [422dbfcd]
- Updated dependencies [9ff90d4b]
- Updated dependencies [8d12b918]
- Updated dependencies [86a7f3c3]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- efa9e8f4: Exporting / renaming props for Storybook
- 2670e4db: Expects
glyph
prop to be of typeLGGlyph.Element
- Updated dependencies [646c00f7]
- Updated dependencies [2670e4db]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [500d6c60]
- @leafygreen-ui/[email protected]
- Updated dependencies [e13d2487]
- Updated dependencies [3a14d852]
- Updated dependencies [5f28fce1]
- Updated dependencies [c48e943e]
- Updated dependencies [500d6c60]
- @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 [f3aad7e2]
- Updated dependencies [233ac580]
- Updated dependencies [ba4aab15]
- Updated dependencies [ba4aab15]
- Updated dependencies [2cf1bc4a]
- Updated dependencies [679b6239]
- Updated dependencies [ef84b5fd]
- Updated dependencies [f3aad7e2]
- Updated dependencies [c1f9c4d4]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [614be76]
- Updated dependencies [614be76]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 8457f92: Updates select in line with Visual Brand refresh
- Updated dependencies [8457f92]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [cb54eef]
- @leafygreen-ui/[email protected]
- 70f3c2c: Added error state to select component
- Updated dependencies [70f3c2c]
- @leafygreen-ui/[email protected]
- 9d0bcd4: - Resolves an issue where a Select component would break keyboard navigation with
Tab
in a form- Prevents page from scrolling when using arrow keys to navigate a Select menu
- cec710ad: Upgrades Polished to v4.1
- Updated dependencies [d4a46e27]
- Updated dependencies [cec710ad]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- cd4f9a27: Fixes a bug where the Select menu would not appear in the correct position in the case where there is limited space below the trigger button. Also enforces a max-height of 274px on the Select menu
- Updated dependencies [f6e5655a]
- Updated dependencies [f6e5655a]
- Updated dependencies [03388ff2]
- Updated dependencies [b8f03aa1]
- Updated dependencies [24930836]
- @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]
- @leafygreen-ui/[email protected]
- 60262a25: Removes reference to null element.
- Updated dependencies [b408e8a7]
- @leafygreen-ui/[email protected]
- e1af3278: Updates label color and font-size in Select component.
- Updated dependencies [047c1930]
- Updated dependencies [047c1930]
- @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]
- 1ffbb84c: Fixes bug where a ref's clientHeight was being referenced prior to the ref being set.
- 650f6334: Updates semantic HTML to help define width properties in Button and Select components
- Updated dependencies [faeb0ce0]
- Updated dependencies [54daf9a4]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 857a680a: Adds support for positioning popover elements relative to elements within a scroll container other than the window.
Adds support for setting z-index on popover elements with the
zIndex
prop.
- Updated dependencies [857a680a]
- Updated dependencies [857a680a]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 559ceb15: Support a prop to disable the option to deselect
- 83fbfa53: Updates styles for a focused Option component to improve the contrast ratio.
- 90321b36: Imports validateProps functions from
@leafygreen-ui/a11y
package. - ab581f34: Re-released components that were erroneously released without
.d.ts
files - Updated dependencies [ab581f34]
- Updated dependencies [90321b36]
- @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]
- 65032024: Updates component to Button v11
- Updated dependencies [65032024]
- Updated dependencies [65032024]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 139694ea: Removes
role="combobox"
from Select dropdown
- Updated dependencies [ec27f36e]
- @leafygreen-ui/[email protected]
- cc921a0e: Consuming applications can now set the width of the select dropdown by passing a value to width through the
className
prop.
- d85f65de: Adds accessible name to ARIA input field
- Updated dependencies [f805b772]
- @leafygreen-ui/[email protected]
- bf8b83e1: Sets aria
role="presentation"
on Caret in the component's menu button - Updated dependencies [bf8b83e1]
- Updated dependencies [dca5605b]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [ba56b1cc]
- @leafygreen-ui/[email protected]
- 102ebc1e: - Adds a
usePortal
prop- Explicitly defines
font-family
for text elements within component - Sets label and description display properties to
block
- Explicitly defines
- 9812c9c9: Fixes bug where when a non-centered
Option
is clicked, the component will scroll to center that element instead of being selected. Now, when an element is clicked, it becomes selected. When opening the dropdown later, the selected item should then be centered. - Updated dependencies [2daf1808]
- Updated dependencies [a6360ea1]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 0963164a: Initial release of Select component