@enact/limestone 1.3.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci-branch.yml +21 -0
- package/.github/workflows/ci-pull-request.yml +16 -0
- package/.github/workflows/ci-reusable.yml +73 -0
- package/ActionGuide/ActionGuide.d.ts +5 -4
- package/ActionGuide/ActionGuide.module.css +1 -1
- package/Alert/Alert.d.ts +13 -2
- package/Alert/Alert.js +39 -5
- package/Alert/Alert.module.css +48 -1
- package/Alert/tests/Alert-specs.js +91 -0
- package/BodyText/BodyText.d.ts +5 -4
- package/BodyText/BodyText.module.css +7 -7
- package/Button/Button.d.ts +17 -12
- package/Button/Button.js +1 -1
- package/Button/Button.module.css +195 -268
- package/Button/tests/Button-specs.js +26 -0
- package/CHANGELOG.md +254 -0
- package/Card/Card.d.ts +40 -12
- package/Card/Card.js +164 -28
- package/Card/Card.module.css +277 -58
- package/Card/tests/Card-specs.js +67 -3
- package/Checkbox/Checkbox.d.ts +8 -7
- package/Checkbox/Checkbox.js +3 -1
- package/Checkbox/Checkbox.module.css +213 -120
- package/Checkbox/tests/Checkbox-specs.js +1 -1
- package/CheckboxItem/CheckboxItem.d.ts +22 -7
- package/CheckboxItem/CheckboxItem.js +71 -4
- package/Chips/Chip.js +72 -13
- package/Chips/Chip.module.css +3 -3
- package/Chips/Chips.js +37 -17
- package/Chips/Chips.module.css +1 -1
- package/Chips/tests/Chip-specs.js +43 -13
- package/Chips/tests/Chips-specs.js +31 -21
- package/ColorPicker/ColorPicker.js +27 -25
- package/ContextualMenuDecorator/ContextualMenuDecorator.d.ts +4 -5
- package/ContextualPopupDecorator/ContextualPopup.module.css +34 -34
- package/ContextualPopupDecorator/ContextualPopupDecorator.js +567 -549
- package/DatePicker/DatePicker.d.ts +4 -5
- package/DayPicker/DayPicker.d.ts +8 -7
- package/DayPicker/DaySelectorDecorator.js +12 -7
- package/Dropdown/Dropdown.d.ts +11 -13
- package/Dropdown/Dropdown.module.css +13 -9
- package/Dropdown/DropdownList.js +80 -54
- package/FixedPopupPanels/FixedPopupPanels.d.ts +4 -2
- package/FixedPopupPanels/FixedPopupPanels.module.css +18 -18
- package/FlexiblePopupPanels/FlexiblePopupPanels.module.css +23 -23
- package/FlexiblePopupPanels/useNavButtonFocus.js +7 -10
- package/FormCheckboxItem/FormCheckboxItem.d.ts +5 -4
- package/Heading/Heading.d.ts +9 -8
- package/Heading/Heading.js +2 -2
- package/Heading/Heading.module.css +5 -5
- package/Icon/Icon.d.ts +15 -4
- package/Icon/Icon.js +49 -2
- package/Icon/Icon.module.css +1 -1
- package/Icon/IconList.js +27 -1
- package/IconItem/IconItem.d.ts +13 -12
- package/IconItem/IconItem.js +15 -0
- package/IconItem/IconItem.module.css +107 -1
- package/IconItem/tests/IconItem-specs.js +30 -1
- package/Image/Image.d.ts +5 -4
- package/Image/Image.js +6 -4
- package/ImageItem/ImageItem.d.ts +11 -10
- package/ImageItem/ImageItem.js +37 -31
- package/ImageItem/ImageItem.module.css +30 -30
- package/ImageItem/tests/ImageItem-specs.js +3 -10
- package/Input/Input.js +21 -3
- package/Input/Input.module.css +37 -8
- package/Input/InputField.js +79 -24
- package/Input/InputField.module.css +273 -41
- package/Input/InputFieldDecoratorIcon.js +1 -0
- package/Input/InputFieldSpotlightDecorator.js +257 -228
- package/Input/index.d.ts +120 -111
- package/Input/tests/Input-specs.js +26 -0
- package/Input/tests/InputField-specs.js +170 -3
- package/Input/tests/InputPopup-specs.js +1 -1
- package/Item/Item.d.ts +16 -9
- package/Item/Item.js +20 -2
- package/Item/Item.module.css +1 -1
- package/KeyGuide/KeyGuide.d.ts +8 -7
- package/KeyGuide/KeyGuide.js +29 -27
- package/KeyGuide/KeyGuide.module.css +25 -1
- package/Marquee/Marquee.d.ts +2 -4
- package/MediaOverlay/MediaOverlay.d.ts +12 -11
- package/MediaOverlay/MediaOverlay.js +43 -21
- package/MediaOverlay/MediaOverlay.module.css +114 -15
- package/MediaOverlay/tests/MediaOverlay-specs.js +29 -0
- package/MediaPlayer/MediaControls.js +195 -13
- package/MediaPlayer/MediaControls.module.css +3 -2
- package/MediaPlayer/MediaSlider.module.css +7 -20
- package/MediaPlayer/index.d.ts +59 -7
- package/MediaPlayer/tests/util-specs.js +4 -1
- package/PageViews/PageViews.js +232 -82
- package/PageViews/PageViews.module.css +3 -0
- package/PageViews/PageViewsRouter.js +100 -42
- package/PageViews/tests/PageViews-specs.js +171 -0
- package/Panels/Header.js +54 -34
- package/Panels/Header.module.css +83 -31
- package/Panels/Panel.module.css +1 -1
- package/Panels/index.d.ts +7 -8
- package/Picker/Picker.d.ts +4 -5
- package/Picker/Picker.module.css +2 -2
- package/Popup/Popup.js +245 -242
- package/Popup/Popup.module.css +24 -24
- package/PopupTabLayout/PopupTabLayout.d.ts +5 -7
- package/PopupTabLayout/PopupTabLayout.js +26 -18
- package/PopupTabLayout/PopupTabLayout.module.css +53 -16
- package/PopupTabLayout/PopupTabLayoutStateContext.js +8 -0
- package/ProgressBar/ProgressBar.d.ts +5 -4
- package/ProgressBar/ProgressBarTooltip.module.css +12 -12
- package/ProgressButton/ProgressButton.d.ts +4 -5
- package/QuickGuidePanels/QuickGuidePanels.module.css +2 -2
- package/RadioItem/RadioItem.d.ts +18 -5
- package/RadioItem/RadioItem.js +69 -2
- package/RadioItem/RadioItem.module.css +36 -36
- package/RangePicker/RangePicker.module.css +2 -2
- package/Scroller/EditableWrapper.js +28 -18
- package/Scroller/Scroller.d.ts +20 -16
- package/Scroller/Scroller.js +20 -13
- package/Scroller/Scroller.module.css +4 -4
- package/Scroller/useThemeScroller.js +3 -3
- package/Slider/Slider.d.ts +20 -14
- package/Slider/Slider.js +71 -14
- package/Slider/Slider.module.css +464 -91
- package/Slider/SliderBehaviorDecorator.js +16 -14
- package/Slider/tests/Slider-specs.js +53 -1
- package/Slider/utils.js +23 -7
- package/Spinner/Spinner.d.ts +5 -4
- package/Spinner/Spinner.js +10 -8
- package/Spinner/Spinner.module.css +9 -9
- package/Steps/Steps.d.ts +5 -4
- package/Steps/Steps.js +9 -5
- package/Switch/Switch.d.ts +8 -7
- package/Switch/Switch.module.css +100 -13
- package/SwitchItem/SwitchItem.d.ts +9 -6
- package/TabLayout/RefocusDecorator.js +26 -18
- package/TabLayout/TabGroup.js +3 -2
- package/TabLayout/TabGroup.module.css +2 -2
- package/TabLayout/TabLayout.d.ts +6 -0
- package/TabLayout/TabLayout.js +11 -1
- package/TabLayout/TabLayout.module.css +18 -0
- package/TabLayout/tests/TabGroup-specs.js +1 -1
- package/TabLayout/tests/TabLayout-specs.js +52 -0
- package/ThemeDecorator/AccessibilityDecorator.js +12 -11
- package/ThemeDecorator/I18nFontDecorator.js +6 -4
- package/ThemeDecorator/ThemeDecorator.d.ts +16 -10
- package/ThemeDecorator/ThemeDecorator.js +24 -9
- package/ThemeDecorator/fontGenerator.js +1 -1
- package/ThemeDecorator/screenTypes.json +1 -0
- package/TimePicker/TimePicker.module.css +1 -1
- package/TimePicker/TimePickerBase.js +5 -3
- package/TooltipDecorator/Tooltip.module.css +1 -2
- package/TooltipDecorator/TooltipDecorator.js +12 -7
- package/TooltipDecorator/tests/useTooltip-specs.js +5 -2
- package/TooltipDecorator/tests/util-specs.js +12 -0
- package/TooltipDecorator/useTooltip.js +1 -1
- package/TooltipDecorator/util.js +18 -11
- package/VideoPlayer/Feedback.js +3 -0
- package/VideoPlayer/Feedback.module.css +5 -9
- package/VideoPlayer/FeedbackIcons.js +1 -1
- package/VideoPlayer/FeedbackTooltip.module.css +55 -11
- package/VideoPlayer/VideoPlayer.d.ts +44 -18
- package/VideoPlayer/VideoPlayer.js +153 -47
- package/VideoPlayer/VideoPlayer.module.css +28 -11
- package/VirtualList/VirtualList.d.ts +9 -2
- package/VirtualList/VirtualList.js +51 -24
- package/VirtualList/tests/VirtualGridList-translate-specs.js +3 -0
- package/VirtualList/tests/VirtualList-specs.js +28 -1
- package/VirtualList/tests/VirtualList-translate-specs.js +4 -1
- package/VirtualList/useSpotlight.js +1 -1
- package/WizardPanels/WizardPanels.module.css +2 -2
- package/WizardPanels/index.d.ts +4 -2
- package/fonts/Limestone_Icons.ttf +0 -0
- package/internal/$L/$L.js +3 -3
- package/internal/AsyncRenderChildren/AsyncRenderChildren.js +9 -5
- package/internal/AsyncRenderChildren/tests/AsyncRenderChildren-specs.js +4 -1
- package/internal/DateComponentPicker/DateComponentPicker.module.css +2 -2
- package/internal/DateTime/DateTime.module.css +1 -0
- package/internal/DateTime/DateTimeDecorator.js +5 -4
- package/internal/Panels/PanelsRouter.js +48 -31
- package/internal/Panels/useAutoFocus.js +10 -6
- package/internal/Panels/useFocusOnTransition.js +4 -3
- package/internal/Picker/Picker.js +7 -5
- package/internal/Picker/Picker.module.css +2 -2
- package/internal/Picker/SpottablePicker.js +15 -13
- package/internal/SharedStateDecorator/SharedStateDecorator.js +78 -99
- package/internal/validators/validators.js +21 -2
- package/package.json +18 -15
- package/styles/colors-highcontrast.less +9 -1
- package/styles/colors.less +12 -7
- package/styles/motion-mixins.less +66 -0
- package/styles/motions.less +78 -0
- package/styles/variables.less +176 -150
- package/useScroll/HoverToScroll.js +23 -17
- package/useScroll/Scrollbar.js +14 -10
- package/useScroll/ScrollbarPlaceholder.js +3 -5
- package/useScroll/ScrollbarTrack.js +7 -5
- package/useScroll/ScrollbarTrack.module.css +8 -8
- package/useScroll/useEvent.js +14 -3
- package/useScroll/useScroll.js +12 -2
- package/useScroll/useScroll.module.css +6 -6
- package/.travis.yml +0 -40
|
@@ -30,6 +30,32 @@ describe('Button', function () {
|
|
|
30
30
|
var expected = 'focusExpand';
|
|
31
31
|
expect(button).toHaveClass(expected);
|
|
32
32
|
});
|
|
33
|
+
test('should be pressed when selected', function () {
|
|
34
|
+
(0, _react.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button["default"], {}));
|
|
35
|
+
var button = _react.screen.getByRole('button');
|
|
36
|
+
|
|
37
|
+
// Select by key
|
|
38
|
+
_react.fireEvent.keyDown(button, {
|
|
39
|
+
key: 'Enter',
|
|
40
|
+
code: 'Enter',
|
|
41
|
+
keyCode: 13,
|
|
42
|
+
which: 13
|
|
43
|
+
});
|
|
44
|
+
expect(button).toHaveClass('pressed');
|
|
45
|
+
_react.fireEvent.keyUp(button, {
|
|
46
|
+
key: 'Enter',
|
|
47
|
+
code: 'Enter',
|
|
48
|
+
keyCode: 13,
|
|
49
|
+
which: 13
|
|
50
|
+
});
|
|
51
|
+
expect(button).not.toHaveClass('pressed');
|
|
52
|
+
|
|
53
|
+
// Select by pointer
|
|
54
|
+
_react.fireEvent.mouseDown(button);
|
|
55
|
+
expect(button).toHaveClass('pressed');
|
|
56
|
+
_react.fireEvent.mouseUp(button);
|
|
57
|
+
expect(button).not.toHaveClass('pressed');
|
|
58
|
+
});
|
|
33
59
|
test('should be able to disable the expand focus effect', function () {
|
|
34
60
|
(0, _react.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.ButtonBase, {
|
|
35
61
|
focusEffect: "static"
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,260 @@
|
|
|
2
2
|
|
|
3
3
|
The following is a curated list of changes in the Enact limestone module, newest changes on the top.
|
|
4
4
|
|
|
5
|
+
## [1.10.0] - 2026-05-08
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `limestone/Alert` `buttonDirection` prop to control button layout direction (`auto`, `horizontal`, `vertical`)
|
|
10
|
+
- `limestone/Icon` supported icon list, adding new icon `f1`
|
|
11
|
+
- `limestone/Input` props `marqueeInputField` to marquee inputField text on focus
|
|
12
|
+
- `limestone/Inputfield` prop `caretToEndOnFocus` to move caret to the end of the input field on input activation via 5-way
|
|
13
|
+
- `limestone/Inputfield` prop `marqueeContent` to marquee text on focus
|
|
14
|
+
- `limestone/PageViews` `showFooterButtons` prop to show optional Close/Next buttons
|
|
15
|
+
- `limestone/PageViews` `footerCloseLabel` prop to custom the Close button label
|
|
16
|
+
- `limestone/PageViews` `onFooterCloseClick` prop to custom the Close button behavior when it is clicked
|
|
17
|
+
- `limestone/Slider` `colorPicker` prop to change slider functionality
|
|
18
|
+
- `limestone/ThemeDecorator` config `focusEffectClass` to support customization for spottable components
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- `limestone/Slider` styling to match the latest GUI
|
|
23
|
+
- `@storybook/addon-docs` version to `^10.3.4`.
|
|
24
|
+
- `@storybook/react-webpack5` version to `^10.3.4`.
|
|
25
|
+
- `storybook` version to `^10.3.4`.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- `limestone/Card` `captionOverlayOnFocus` prop to work in `focusRing` mode
|
|
30
|
+
- `limestone/Card` press motion to work with key press
|
|
31
|
+
- `limestone/Dropdown` button to match `DropdownList` items size when `size` is `small`
|
|
32
|
+
- `limestone/IconItem` press motion to work with key press
|
|
33
|
+
- `limestone/MediaOverlay` press motion to work with key press
|
|
34
|
+
- `limestone/Popup` to not flicker on transition
|
|
35
|
+
- `limestone/Popup` to not delay when closed with pointer
|
|
36
|
+
- `limestone/Slider` press motion to work with key press
|
|
37
|
+
- `limestone/useScroll` to not scroll on hover right after scroll by wheel
|
|
38
|
+
|
|
39
|
+
## [1.9.3] - 2026-04-20
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- `limestone/Popup` to not delay when closed with pointer
|
|
44
|
+
|
|
45
|
+
## [1.9.2] - 2026-03-10
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- `limestone/Card` `captionOverlayOnFocus` prop to work in `focusRing` mode
|
|
50
|
+
|
|
51
|
+
## [1.9.1] - 2026-02-26
|
|
52
|
+
|
|
53
|
+
### Changed
|
|
54
|
+
|
|
55
|
+
- `limestone/Slider` styling to match the latest GUI
|
|
56
|
+
|
|
57
|
+
### Fixed
|
|
58
|
+
|
|
59
|
+
- `limestone/Card` press motion to work with key press
|
|
60
|
+
- `limestone/IconItem` press motion to work with key press
|
|
61
|
+
- `limestone/MediaOverlay` press motion to work with key press
|
|
62
|
+
- `limestone/Popup` to avoid popup content blinking into existence after render
|
|
63
|
+
- `limestone/Slider` press motion to work with key press
|
|
64
|
+
|
|
65
|
+
## [1.9.0] - 2026-01-28
|
|
66
|
+
|
|
67
|
+
### Added
|
|
68
|
+
|
|
69
|
+
- `limestone/Button` `focusEffect` prop to set the visual effect applied to the button when focused.
|
|
70
|
+
- `limestone/Icon` supported icon list, adding new icons `btspeakermute`, `system`, `remotecontrolsetting`, `warning`, `filepdf`, `filedoc`, `filexls`, `subtitleru`, and `mypageru`
|
|
71
|
+
|
|
72
|
+
### Changed
|
|
73
|
+
|
|
74
|
+
- `limestone/Button` styling to match the latest GUI
|
|
75
|
+
- `limestone/Card` styling to match the latest GUI
|
|
76
|
+
- `limestone/Chip` styling to match the latest GUI
|
|
77
|
+
- `limestone/IconItem` styling to match the latest GUI
|
|
78
|
+
- `limestone/MediaOverlay` styling to match the latest GUI
|
|
79
|
+
- `limestone/Slider` styling to match the latest GUI
|
|
80
|
+
- `limestone/Spinner` to match the latest GUI
|
|
81
|
+
|
|
82
|
+
### Fixed
|
|
83
|
+
|
|
84
|
+
- `limestone/Card` to not overflow text when `withoutMarquee` is set
|
|
85
|
+
- `limestone/Input` `overlay` `Back` button to not overflow the `InputField` in case the `Title` or `Subtitle` is not set
|
|
86
|
+
- `limestone/PageViews` to properly navigate between multiple `PageViews`
|
|
87
|
+
- `limestone/PageViews` to resume spotlight on unmount
|
|
88
|
+
|
|
89
|
+
## [1.8.0] - 2025-12-30
|
|
90
|
+
|
|
91
|
+
### Added
|
|
92
|
+
|
|
93
|
+
- `limestone/MediaPlayer.MediaControls` `nextAriaLabel` prop to custom the aria-label of the next button
|
|
94
|
+
- `limestone/MediaPlayer.MediaControls` `nextButtonDisabled` prop to disable the next button
|
|
95
|
+
- `limestone/MediaPlayer.MediaControls` `nextIcon` prop to select the next button icon
|
|
96
|
+
- `limestone/MediaPlayer.MediaControls` `noNextButton` prop to remove the next button
|
|
97
|
+
- `limestone/MediaPlayer.MediaControls` `noPreviousButton` prop to remove the previous button
|
|
98
|
+
- `limestone/MediaPlayer.MediaControls` `onNextButtonClick` prop to custom the next button behavior when it is clicked
|
|
99
|
+
- `limestone/MediaPlayer.MediaControls` `onPreviousButtonClick` prop to custom the previous button behavior when it is clicked
|
|
100
|
+
- `limestone/MediaPlayer.MediaControls` `previousAriaLabel` prop to custom the aria-label of the previous button
|
|
101
|
+
- `limestone/MediaPlayer.MediaControls` `previousButtonDisabled` prop to disable the previous button
|
|
102
|
+
- `limestone/MediaPlayer.MediaControls` `previousIcon` prop to select the previous button icon
|
|
103
|
+
- `limestone/VideoPlayer` `onNext` prop to custom the next button behavior when it is clicked
|
|
104
|
+
- `limestone/VideoPlayer` `onPrevious` prop to custom the previous button behavior when it is clicked
|
|
105
|
+
- `limestone/VideoPlayer` `onWillNext` prop to custom the next button behavior before playing the next video when it is clicked
|
|
106
|
+
- `limestone/VideoPlayer` `onWillPrevious` prop to custom the previous button behavior before playing the previous video when it is clicked
|
|
107
|
+
|
|
108
|
+
### Changed
|
|
109
|
+
|
|
110
|
+
- `limestone/TabLayout` styling to match the latest GUI
|
|
111
|
+
- `limestone/VirtualList` warning condition so the message will be shown only when `itemSizes.minSize` and `cbScrollTo` are set
|
|
112
|
+
|
|
113
|
+
### Fixed
|
|
114
|
+
|
|
115
|
+
- `limestone/InputField` to not overflow the parent container.
|
|
116
|
+
|
|
117
|
+
## [1.6.3] - 2025-12-26
|
|
118
|
+
|
|
119
|
+
### Changed
|
|
120
|
+
|
|
121
|
+
- `limestone/VideoPlayer.FeedbackTooltip` to match the latest GUI
|
|
122
|
+
|
|
123
|
+
## [1.7.0] - 2025-12-08
|
|
124
|
+
|
|
125
|
+
### Added
|
|
126
|
+
|
|
127
|
+
- `limestone/Icon` supported icon list, adding new icons `link2` and `btspeakermute`
|
|
128
|
+
- `limestone/Card` `aria-label` prop to allow user to custom the aria-label
|
|
129
|
+
- `limestone/Card` `icon` prop to allow user to change the icon
|
|
130
|
+
- `limestone/Card` added option for progressBar
|
|
131
|
+
- `limestone/Card` `splitCaption` prop to allow user to split the content for the captions
|
|
132
|
+
- `limestone/Card` `withoutMarquee` prop to allow user to remove the text marquee effect
|
|
133
|
+
- `limestone/Chip` `checked` prop to allow user to mark `Chip` component as `checked`
|
|
134
|
+
- `limestone/Chip` `isImage` and `imageSize` props to allow user to use `Image` instead of `Icon`
|
|
135
|
+
- `limestone/PageViews` `bannerMode` prop to allow 5-way navigation between pages
|
|
136
|
+
- `limestone/ThemeDecorator/screenTypes` value `wuhd` to support WUHD displays
|
|
137
|
+
|
|
138
|
+
### Changed
|
|
139
|
+
|
|
140
|
+
- `limestone/Card` to match the latest GUI
|
|
141
|
+
- `limestone/Checkbox` to match the latest GUI
|
|
142
|
+
- `limestone/ImageItem` to match the latest GUI
|
|
143
|
+
- `limestone/RadioItem` to match the latest GUI
|
|
144
|
+
- `limestone/useScroll.HoverToScroll` scroll animation speed
|
|
145
|
+
- `limestone/VideoPlayer.FeedbackTooltip` to match the latest GUI
|
|
146
|
+
|
|
147
|
+
### Fixed
|
|
148
|
+
|
|
149
|
+
- `limetone/Card` voice control to select the Card
|
|
150
|
+
- `limestone/ContextualPopupDecorator` to be positioned appropriately on dynamic resolution changes
|
|
151
|
+
- `limestone/Panels.Header` to use correct positions for elements inside slotBefore and slotAfter
|
|
152
|
+
- `limestone/VideoPlayer.FeedbackTooltip` to use correct font family
|
|
153
|
+
|
|
154
|
+
## [1.6.2] - 2025-11-05
|
|
155
|
+
|
|
156
|
+
### Fixed
|
|
157
|
+
|
|
158
|
+
- `limestone/Panels.Header` to use same Header height with/without subtitle.
|
|
159
|
+
|
|
160
|
+
## [1.6.1] - 2025-10-29
|
|
161
|
+
|
|
162
|
+
### Added
|
|
163
|
+
|
|
164
|
+
- `limestone/Card` audio guidance for disabled
|
|
165
|
+
- `limestone/Icon` supported icon list, updating existing icons
|
|
166
|
+
|
|
167
|
+
### Fixed
|
|
168
|
+
|
|
169
|
+
- `limestone/ImageItem` to get custom `aria-label`
|
|
170
|
+
- `limestone/Input` `fullscreen` to prevent the title in portrait mode from rendering over the close button
|
|
171
|
+
- `limestone/Input` `overlay` to prevent the invalid tooltip from overflowing
|
|
172
|
+
- `limestone/Panels.Header` to stop layout shifting on render
|
|
173
|
+
- `limestone/Panels.Header` to stop layout shifting when `noCloseButton` is active
|
|
174
|
+
- `limestone/TabLayout` automatic expand/collapse behavior on screen orientation changes
|
|
175
|
+
- `limestone/VideoPlayer` feedback style
|
|
176
|
+
|
|
177
|
+
## [1.6.0] - 2025-10-14
|
|
178
|
+
|
|
179
|
+
### Added
|
|
180
|
+
|
|
181
|
+
- `limestone/Dropdown` aria props for audio guidance
|
|
182
|
+
- `limestone/Scroller` `scrollToContentContainerOnFocus` prop to scrolls to the content container when descendants get focused
|
|
183
|
+
- `limestone/TabLayout` `blockExpandOnLandscape` prop to prevent the tab list from automatically expand when the screen orientation changes to landscape mode
|
|
184
|
+
|
|
185
|
+
### Changed
|
|
186
|
+
|
|
187
|
+
- `limestone/Panels` to match the latest GUI
|
|
188
|
+
- `limestone/PopupTabLayout` to match the latest GUI
|
|
189
|
+
- `limestone/TabLayout` vertical to be expanded in landscape mode
|
|
190
|
+
- `limestone/VideoPlayer` to match the latest GUI
|
|
191
|
+
|
|
192
|
+
### Fixed
|
|
193
|
+
|
|
194
|
+
- `limestone/ContextualPopupDecorator` to focus content with timeout when popup opens
|
|
195
|
+
- `limestone/Dropdown` audio guidance for DropdownList
|
|
196
|
+
- `limestone/Panels.Header` to stop layout shifting when `slotAfter` or `slotBefore` are modified
|
|
197
|
+
- `limestone/Scroller` with `editable` prop to have proper `aria-label` when item is selected
|
|
198
|
+
- `limestone/TabLayout` to correctly scroll on tab change, when it is wrapped in `ContentContainerDecorator`
|
|
199
|
+
|
|
200
|
+
## [1.5.0] - 2025-09-24
|
|
201
|
+
|
|
202
|
+
### Added
|
|
203
|
+
|
|
204
|
+
- `limestone/Card` `fitImage` prop to allow image to fit the container by height and be centered
|
|
205
|
+
|
|
206
|
+
### Fixed
|
|
207
|
+
|
|
208
|
+
- `limestone/FlexiblePopupPanels` to match the latest GUI
|
|
209
|
+
- `limestone/Panels.Header` to match the latest GUI
|
|
210
|
+
- `limestone/VideoPlayer` position of feedback content
|
|
211
|
+
- `limestone/VirtualList.VirtualGridList` not to show overscroll effect when press down key
|
|
212
|
+
|
|
213
|
+
## [1.4.0] - 2025-09-15
|
|
214
|
+
|
|
215
|
+
### Added
|
|
216
|
+
|
|
217
|
+
- `limestone/CheckboxItem` `CheckboxItemGroup` to wrap multiple checkbox items as a list
|
|
218
|
+
- `limestone/Item` props `slotAfterAria` and `slotBeforeAria` for audio guidance of slotAfter and slotBefore
|
|
219
|
+
- `limestone/RadioItem` `RadioItemGroup` to wrap multiple radio items as a list
|
|
220
|
+
- `limestone/VirtualList` prop `continue5WayHold` to scroll continuously from in a VirtualList to the outer scroller.
|
|
221
|
+
|
|
222
|
+
### Changed
|
|
223
|
+
|
|
224
|
+
- `limestone/Chip` audio guidance for chip button and delete button
|
|
225
|
+
- `limestone/ImageItem` audio guidance for selected
|
|
226
|
+
|
|
227
|
+
### Fixed
|
|
228
|
+
|
|
229
|
+
- `limestone/Alert` buttons styles for overlay `type`.
|
|
230
|
+
- `limestone/Card` to block select on `keyDown` instead of `keyUp` when `disabled`
|
|
231
|
+
- `limestone/ContextualPopupDecorator` to focus content with timeout when popup opens
|
|
232
|
+
- `limestone/DatePicker` to match the latest GUI
|
|
233
|
+
- `limestone/Dropdown` by removing unnecessary aria props
|
|
234
|
+
- `limestone/Input` buttons styles for number `popupType`.
|
|
235
|
+
- `limestone/InputField` to not clip icons in webOS system.
|
|
236
|
+
- `limestone/MediaPlayer.MediaControls` enforced direction of buttons as `ltr` to prevent them from swapping in RTL locales
|
|
237
|
+
- `limestone/Panels.Header` to match the latest GUI
|
|
238
|
+
- `limestone/TimePicker` to match the latest GUI
|
|
239
|
+
- `limestone/VideoPlayer` to read out the timestamp properly
|
|
240
|
+
|
|
241
|
+
## [1.3.2] - 2025-09-02
|
|
242
|
+
|
|
243
|
+
### Fixed
|
|
244
|
+
|
|
245
|
+
- `limestone/Alert` to show the outline appropriately in high-contrast mode
|
|
246
|
+
- `limestone/Button` icon color to support style override
|
|
247
|
+
- `limestone/Card` audio guidance to translate
|
|
248
|
+
- `limestone/Card` `background` and `border` for `focusRing` mode
|
|
249
|
+
- `limestone/KeyGuide` to show the outline appropriately in high-contrast mode
|
|
250
|
+
- `limestone/Scroller` with `editable` prop to remain focused on the selected item when completing edit by down or enter key in pointer mode
|
|
251
|
+
- `limestone/PopupTabLayout` to show the background color appropriately in high-contrast mode
|
|
252
|
+
|
|
253
|
+
## [1.3.1] - 2025-08-14
|
|
254
|
+
|
|
255
|
+
### Changed
|
|
256
|
+
|
|
257
|
+
- Global variable from `ILIB_SANDSTONE_PATH` to `ILIB_LIMESTONE_PATH`
|
|
258
|
+
|
|
5
259
|
## [1.3.0] - 2025-08-08
|
|
6
260
|
|
|
7
261
|
### Added
|
package/Card/Card.d.ts
CHANGED
|
@@ -10,16 +10,16 @@ type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
|
10
10
|
type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
|
|
11
11
|
|
|
12
12
|
export interface CardBaseProps extends ui_Card_CardProps {
|
|
13
|
-
/**
|
|
14
|
-
* The primary caption displayed with the image.
|
|
15
|
-
*/
|
|
16
|
-
children: string;
|
|
17
13
|
/**
|
|
18
14
|
* Source for the image.
|
|
19
15
|
String value or Object of values used to determine which image will appear on
|
|
20
16
|
a specific screenSize.
|
|
21
17
|
*/
|
|
22
18
|
src: string | object;
|
|
19
|
+
/**
|
|
20
|
+
* The "aria-label" for the Card.
|
|
21
|
+
*/
|
|
22
|
+
"aria-label"?: string;
|
|
23
23
|
/**
|
|
24
24
|
* Determines whether the caption will be placed over the image or not.
|
|
25
25
|
It only applies when `orientation` is `'vertical'` .
|
|
@@ -34,6 +34,10 @@ It only applies when `orientation` is `'vertical'` .
|
|
|
34
34
|
* Centers the captions when `imageIconSrc` is not provided.
|
|
35
35
|
*/
|
|
36
36
|
centered?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The primary caption displayed with the image.
|
|
39
|
+
*/
|
|
40
|
+
children?: string;
|
|
37
41
|
/**
|
|
38
42
|
* Customizes the component by mapping the supplied collection of CSS class names to the
|
|
39
43
|
corresponding internal elements and states of this component.
|
|
@@ -43,11 +47,19 @@ corresponding internal elements and states of this component.
|
|
|
43
47
|
* Disables Card and becomes non-interactive.
|
|
44
48
|
*/
|
|
45
49
|
disabled?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Fits the image to its height and width and positions it on the center of the Card.
|
|
52
|
+
*/
|
|
53
|
+
fitImage?: boolean;
|
|
46
54
|
/**
|
|
47
55
|
* Set to `true` to display a container with background color.
|
|
48
56
|
When `orientation` is `'horizontal'` , this prop is always `true` and provided value will be ignored.
|
|
49
57
|
*/
|
|
50
58
|
hasContainer?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Icon used when `selected` is `true`
|
|
61
|
+
*/
|
|
62
|
+
icon?: string;
|
|
51
63
|
/**
|
|
52
64
|
* Source for the image icon.
|
|
53
65
|
*
|
|
@@ -79,6 +91,10 @@ a specific screenSize. This prop is only used when `orientation` is `'vertica
|
|
|
79
91
|
* The primary badge image source.
|
|
80
92
|
*/
|
|
81
93
|
primaryBadgeSrc?: string | object;
|
|
94
|
+
/**
|
|
95
|
+
* The progress displayed inside the ProgressBar
|
|
96
|
+
*/
|
|
97
|
+
progress?: number;
|
|
82
98
|
/**
|
|
83
99
|
* Set to `true` to display the image with rounded corners.
|
|
84
100
|
*/
|
|
@@ -95,6 +111,19 @@ a specific screenSize. This prop is only used when `orientation` is `'vertica
|
|
|
95
111
|
* Applies a selected visual effect to the image.
|
|
96
112
|
*/
|
|
97
113
|
selected?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Activates the 'ProgressBar'.
|
|
116
|
+
*/
|
|
117
|
+
showProgressBar?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Splits the captions in two sections. This prop is only used when
|
|
120
|
+
`captionOverlayOnFocus` or `captionOverlay` is `true` and `orientation` is `'vertical'` .
|
|
121
|
+
*/
|
|
122
|
+
splitCaption?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Removes the marquee effect of caption and label text.
|
|
125
|
+
*/
|
|
126
|
+
withoutMarquee?: boolean;
|
|
98
127
|
}
|
|
99
128
|
/**
|
|
100
129
|
* A Limestone styled base component for .
|
|
@@ -104,14 +133,13 @@ export class CardBase extends React.Component<
|
|
|
104
133
|
Merge<React.HTMLProps<HTMLElement>, CardBaseProps>
|
|
105
134
|
> {}
|
|
106
135
|
|
|
107
|
-
export interface CardDecoratorProps
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
> {}
|
|
136
|
+
export interface CardDecoratorProps extends Merge<
|
|
137
|
+
Merge<
|
|
138
|
+
limestone_Marquee_MarqueeControllerProps,
|
|
139
|
+
spotlight_Spottable_SpottableProps
|
|
140
|
+
>,
|
|
141
|
+
limestone_Skinnable_SkinnableProps
|
|
142
|
+
> {}
|
|
115
143
|
export function CardDecorator<P>(
|
|
116
144
|
Component: React.ComponentType<P> | string,
|
|
117
145
|
): React.ComponentType<P & CardDecoratorProps>;
|