- e1955dd36: Fixes broken patch build
- Updated dependencies [e1955dd36]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 53c67fba6: LG-4650: migrates from
yarn
topnpm
- Updated dependencies [53c67fba6]
- @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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 274d7e1a7: Removes prop-types from LeafyGreen UI
- Updated dependencies [274d7e1a7]
- @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]
- @leafygreen-ui/[email protected]
-
04bb887c0: LG-4121:
DatePicker
renders menu, month selector, and year selector in top layer using popover API. As a result, the following props are deprecated and removed:popoverZIndex
portalClassName
portalContainer
portalRef
scrollContainer
Additional changes include:
- Deprecates and removes
justify="fit"
. Instead, usejustify="middle"
- Removes unused
contentClassName
prop
Use popover-v12 codemod for migration assistance.
<DatePicker portalContainer={containerRef} scrollContainer={containerRef} /> <DatePicker portalClassName="portal-class" />
<DatePicker /> <DatePicker />
- Updated dependencies [04bb887c0]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [117a463f8]
- @leafygreen-ui/[email protected]
- 65c6f321d: LG-4507: bumps to v1.2.5 of
@leafygreen-ui/form-field
- Updated dependencies [65c6f321d]
- @leafygreen-ui/[email protected]
- c95b81376: LG-4409: bumps to v1.2.4 of
@leafygreen-ui/form-field
- Updated dependencies [c95b81376]
- Updated dependencies [c95b81376]
- @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 [02e1d77e]
- Updated dependencies [7bc4fcde]
- Updated dependencies [961be3f9]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- c86227a6: Updates Storybook file for mongodb.design
- Updated dependencies [c86227a6]
- @leafygreen-ui/[email protected]
-
c406ab85: LG-2930
- Update error message test id in
DatePicker
test specs
- Update error message test id in
-
Updated dependencies [c406ab85]
-
Updated dependencies [c406ab85]
-
Updated dependencies [c406ab85]
-
Updated dependencies [c406ab85]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [dfd6972c]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
-
27ad3121: LG-2930
- Added stories for error state
FormField
styling changes apply toDatePicker
. See style changes here
- Updated dependencies [9402ba0e]
- Updated dependencies [c3906f78]
- Updated dependencies [9b71e34d]
- Updated dependencies [c3906f78]
- Updated dependencies [8aec541d]
- Updated dependencies [c3906f78]
- Updated dependencies [27ad3121]
- Updated dependencies [c3906f78]
- Updated dependencies [070736c4]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- Updated dependencies [223666eb]
- Updated dependencies [74057388]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- fbc2b7c8: Removes unused storybook dev dependencies (
@storybook/types
andstorybook-mock-date-decorator
) - Updated dependencies [8142d306]
- Updated dependencies [3208b813]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
-
69527524: Changes the behavior of segments.
- Pressing
backspace
will always clear the segment and keep the focus on that segment - Pressing
backspace
twice will clear the segment and move the focus to the previous segment
- Pressing
backspace
deletes characters before the cursor one by one - After all characters are deleted, the focus moves to the previous segment
- Pressing
space
will always clear the segment and keep the focus on that segment
- Pressing
space
does not change the current value
- Typing a digit will clear the segment and populate the segment with that new value.
- Pressing the
backspace
key will clear the segment - Pressing the
backspace
key twice will clear the segment and move the focus to the previous segment - Pressing the
space
key will clear the segment
- Typing a digit will start to populate the segment
- Pressing the
backspace
key will move the focus to the previous segment - Pressing the
space
key will keep the focus on that segment
When a segment is already selected, clicking on the segment a second time will deselect the segment, and a cursor will appear:
- Typing a digit will clear the segment and populate the segment with that new value.
- Pressing the
backspace
key will clear the segment - Pressing the
backspace
key twice will clear the segment and move the focus to the previous segment - Pressing the
space
key will clear the segment
- Clicking on a segment will make the cursor appear in the clicked spot.
- If the segment is full, typing will not change the value
- If the segment is not full, typing will not add a new character after the cursor
When when using the arrow keys or tabbing into a segment with a value, the segment will select the value:
- Typing a digit will reset the segment and populate the segment with that new value.
- Pressing the
backspace
key will clear the segment - Pressing the
backspace
key twice will clear the segment and move the focus to the previous segment - Pressing the
space
key will clear the segment
When using the arrow keys or tabbing into a segment without a value, the segment will show a cursor:
- Typing a digit will start to populate the segment
- Pressing the
backspace
key will move the focus to the previous segment - Pressing the
space
key will keep the focus on that segment
- Tabbing into a segment will select the value, but pressing
space
does not reset the value
- When in a segment,
left
orright
arrow keys navigates through each character instead of selecting the value. - If the segment is full, typing does not update the value
- If the segment is not full, typing will add a new character in that spot
- Pressing
- Updated dependencies [c2854e9b]
- Updated dependencies [11d12cc4]
- Updated dependencies [36a8ded2]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- 5249bd3d: Reduces the width and height of the calendar icon so that the focus/hover states do not excessively overflow the input container.
When the
size
isxsmall
the width and hight of the calendar icon will be20px
. When thesize
issmall
the width and hight of the calendar icon will be 22px. The icon itself will remain the the same size. - 253ef4e4: Rearranges the placement of the year select to come before the month select when the
locale
isiso8601
. LG-3839 - Updated dependencies [5249bd3d]
- @leafygreen-ui/[email protected]
- 2bceccb1: Fixes
lodash
imports to use default exports of specific functions to reduce component's bundle size. - 49a550b3: - Changing menu month back to the month of the current value now shows the correct focus state. LG-3857
- Rename internal function --
isMonthInValid
toisMonthInvalid
- Rename internal function --
- ae0e3629: Dynamically update the
aria-label
for the year/month select to include the current selection, enabling screen readers to announce the current selection. - Updated dependencies [2bceccb1]
- Updated dependencies [54eb3ce8]
- Updated dependencies [2645cd50]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- e0b4080c: Extends Popover props but omits the following props:
usePortal
,refEl
,children
,className
,onClick
, andactive
. LG-3930
- a8b717c7: Modify
DatePickerMenu.stories.tsx
to exclude the current date, as it caused daily chromatic changes. - ba76002f: Applies a CSS transition duration of 100ms to enhance the hover and focus styles on calendar cells.
- ffd11f24: Initial pre-release of
date-picker
. Use DatePicker to allow users to input a date
- Updated dependencies [9b7a8236]
- Updated dependencies [ffd11f24]
- Updated dependencies [7f38e78a]
- Updated dependencies [ffd11f24]
- Updated dependencies [ffd11f24]
- Updated dependencies [ffd11f24]
- 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]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]
- @leafygreen-ui/[email protected]