@enact/limestone 1.10.0 → 1.10.2
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/PULL_REQUEST_TEMPLATE.md +1 -0
- package/ActionGuide/ActionGuide.d.ts +1 -1
- package/ActionGuide/ActionGuide.module.css +7 -0
- package/Alert/Alert.d.ts +9 -0
- package/Alert/Alert.js +63 -21
- package/Alert/Alert.module.css +41 -9
- package/Alert/AlertImage.module.css +5 -1
- package/Alert/tests/Alert-specs.js +6 -2
- package/BodyText/BodyText.d.ts +1 -1
- package/BodyText/BodyText.js +14 -9
- package/BodyText/BodyText.module.css +22 -1
- package/Button/Button.d.ts +3 -3
- package/Button/Button.module.css +81 -63
- package/CHANGELOG.md +87 -0
- package/Card/Card.d.ts +81 -9
- package/Card/Card.js +324 -84
- package/Card/Card.module.css +200 -25
- package/Card/tests/Card-specs.js +100 -0
- package/Checkbox/Checkbox.d.ts +2 -2
- package/Checkbox/Checkbox.module.css +2 -5
- package/CheckboxItem/CheckboxItem.d.ts +8 -1
- package/CheckboxItem/CheckboxItem.js +39 -12
- package/CheckboxItem/CheckboxItem.module.css +228 -4
- package/Chips/Chip.module.css +5 -2
- package/ContextualMenuDecorator/ContextualMenuDecorator.d.ts +2 -2
- package/ContextualPopupDecorator/ContextualPopup.module.css +1 -1
- package/ContextualPopupDecorator/ContextualPopupDecorator.js +2 -4
- package/ContextualPopupDecorator/tests/ContextualPopupDecorator-specs.js +39 -2
- package/Dropdown/Dropdown.d.ts +2 -2
- package/Dropdown/Dropdown.module.css +7 -7
- package/FixedPopupPanels/FixedPopupPanels.d.ts +2 -2
- package/FlexiblePopupPanels/FlexiblePopupPanels.module.css +15 -3
- package/FlexiblePopupPanels/index.d.ts +2 -2
- package/FormCheckboxItem/FormCheckboxItem.d.ts +1 -1
- package/FormCheckboxItem/FormCheckboxItem.js +1 -0
- package/FormCheckboxItem/FormCheckboxItem.module.css +1 -1
- package/Heading/Heading.d.ts +2 -2
- package/Heading/Heading.module.css +16 -0
- package/Icon/Icon.d.ts +22 -1
- package/Icon/Icon.js +21 -0
- package/Icon/Icon.module.css +12 -0
- package/Icon/IconList.js +43 -1
- package/IconItem/IconItem.d.ts +2 -2
- package/IconItem/IconItem.module.css +27 -14
- package/Image/Image.d.ts +1 -1
- package/Image/Image.module.css +1 -1
- package/ImageItem/ImageItem.d.ts +2 -2
- package/ImageItem/ImageItem.js +3 -16
- package/ImageItem/ImageItem.module.css +122 -97
- package/ImageItem/tests/ImageItem-specs.js +6 -5
- package/Input/Input.module.css +33 -16
- package/Input/InputField.module.css +22 -4
- package/Input/index.d.ts +1 -1
- package/Input/tests/Input-specs.js +2 -2
- package/Input/tests/InputField-specs.js +1 -1
- package/Item/Item.d.ts +2 -2
- package/Item/Item.module.css +29 -16
- package/KeyGuide/KeyGuide.d.ts +2 -2
- package/KeyGuide/KeyGuide.module.css +10 -0
- package/MediaOverlay/MediaOverlay.d.ts +2 -2
- package/MediaOverlay/MediaOverlay.module.css +18 -9
- package/MediaPlayer/MediaControls.module.css +3 -0
- package/MediaPlayer/MediaSlider.module.css +1 -0
- package/MediaPlayer/Times.module.css +5 -1
- package/MediaPlayer/index.d.ts +2 -2
- package/PageViews/PageViews.module.css +6 -1
- package/Panels/Header.module.css +74 -56
- package/Panels/Panel.module.css +1 -1
- package/Panels/index.d.ts +1 -1
- package/Picker/Picker.d.ts +1 -1
- package/Popup/Popup.module.css +4 -1
- package/PopupTabLayout/PopupTabLayout.d.ts +6 -6
- package/PopupTabLayout/PopupTabLayout.module.css +24 -6
- package/ProgressBar/ProgressBar.d.ts +1 -1
- package/ProgressBar/ProgressBar.module.css +12 -12
- package/ProgressBar/ProgressBarTooltip.module.css +7 -7
- package/ProgressButton/ProgressButton.d.ts +2 -2
- package/QuickGuidePanels/QuickGuidePanels.module.css +1 -1
- package/RadioItem/RadioItem.d.ts +1 -1
- package/RadioItem/RadioItem.module.css +21 -18
- package/Scroller/EditableWrapper.js +2 -1
- package/Scroller/Scroller.d.ts +12 -0
- package/Scroller/Scroller.js +15 -0
- package/Scroller/Scroller.module.css +10 -0
- package/Scroller/tests/Scroller-specs.js +120 -2
- package/Scroller/useThemeScroller.js +25 -2
- package/Slider/Slider.d.ts +1 -1
- package/Slider/Slider.module.css +539 -303
- package/Spinner/Spinner.d.ts +1 -1
- package/Spinner/Spinner.module.css +2 -2
- package/Steps/Steps.d.ts +1 -1
- package/Steps/Steps.js +12 -6
- package/Steps/Steps.module.css +19 -2
- package/Switch/Switch.module.css +17 -6
- package/SwitchItem/SwitchItem.d.ts +1 -1
- package/TabLayout/RefocusDecorator.js +1 -1
- package/TabLayout/TabGroup.module.css +13 -7
- package/TabLayout/TabLayout.js +4 -0
- package/ThemeDecorator/ThemeDecorator.d.ts +1 -1
- package/ThemeDecorator/ThemeDecorator.module.css +22 -1
- package/TimePicker/TimePicker.module.css +3 -0
- package/TooltipDecorator/Tooltip.js +68 -7
- package/TooltipDecorator/Tooltip.module.css +44 -23
- package/TooltipDecorator/TooltipDecorator.d.ts +52 -0
- package/TooltipDecorator/TooltipDecorator.js +42 -0
- package/TooltipDecorator/TooltipLabel.js +67 -14
- package/TooltipDecorator/tests/TooltipDecorator-specs.js +46 -0
- package/TooltipDecorator/useTooltip.js +14 -2
- package/VideoPlayer/Feedback.module.css +3 -0
- package/VideoPlayer/FeedbackTooltip.module.css +7 -0
- package/VideoPlayer/MediaTitle.module.css +9 -1
- package/VirtualList/VirtualList.d.ts +24 -0
- package/VirtualList/VirtualList.js +30 -0
- package/VirtualList/tests/stickTo-specs.js +115 -0
- package/VirtualList/tests/useEvent-specs.js +39 -0
- package/VirtualList/useEvent.js +45 -10
- package/VirtualList/useThemeVirtualList.js +20 -2
- package/WizardPanels/WizardPanels.module.css +1 -1
- package/fonts/Limestone_Icons.ttf +0 -0
- package/internal/DateComponentPicker/DateComponentPicker.module.css +3 -3
- package/internal/DateTime/DateTime.module.css +3 -0
- package/internal/Picker/Picker.js +8 -10
- package/internal/Picker/Picker.module.css +92 -137
- package/package.json +14 -17
- package/styles/color-mixins.less +4 -60
- package/styles/colors-game.less +5 -5
- package/styles/colors.less +9 -10
- package/styles/mixins.less +0 -46
- package/styles/motion-mixins.less +16 -7
- package/styles/motions.less +2 -2
- package/styles/variables.less +186 -69
- package/useScroll/ScrollbarPlaceholder.js +8 -3
- package/useScroll/useScroll.js +3 -1
package/Picker/Picker.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { ChangeableProps as ui_Changeable_ChangeableProps } from "@enact/ui/Changeable";
|
|
5
|
-
import { MarqueeControllerProps as limestone_Marquee_MarqueeControllerProps } from "limestone/Marquee";
|
|
5
|
+
import { MarqueeControllerProps as limestone_Marquee_MarqueeControllerProps } from "@enact/limestone/Marquee";
|
|
6
6
|
|
|
7
7
|
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
8
8
|
type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
|
package/Popup/Popup.module.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
font-family: "Limestone";
|
|
9
9
|
font-weight: normal;
|
|
10
10
|
font-size: var(--primitive-font-size-60);
|
|
11
|
-
line-height: 1.
|
|
11
|
+
line-height: 1.34em;
|
|
12
12
|
padding: var(--primitive-spacing-48) var(--primitive-spacing-72);
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
pointer-events: auto;
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
:global(.enact-locale-ja) .popup .body {
|
|
36
36
|
line-break: strict;
|
|
37
37
|
}
|
|
38
|
+
.popup:global(.largeText) .body {
|
|
39
|
+
font-size: var(--primitive-font-size-72);
|
|
40
|
+
}
|
|
38
41
|
.popup.bottom .body,
|
|
39
42
|
.popup.top .body {
|
|
40
43
|
max-width: 100%;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// Type definitions for limestone/PopupTabLayout
|
|
2
2
|
|
|
3
|
-
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "limestone/Skinnable";
|
|
4
|
-
import { TabProps as limestone_TabLayout_TabProps } from "limestone/TabLayout";
|
|
3
|
+
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "@enact/limestone/Skinnable";
|
|
4
|
+
import { TabProps as limestone_TabLayout_TabProps } from "@enact/limestone/TabLayout";
|
|
5
5
|
import * as React from "react";
|
|
6
|
-
import { PanelsProps as limestone_Panels_PanelsProps } from "limestone/Panels";
|
|
7
|
-
import { PanelProps as limestone_Panels_PanelProps } from "limestone/Panels";
|
|
8
|
-
import { PopupProps as limestone_Popup_PopupProps } from "limestone/Popup";
|
|
9
|
-
import { TabLayoutProps as limestone_TabLayout_TabLayoutProps } from "limestone/TabLayout";
|
|
6
|
+
import { PanelsProps as limestone_Panels_PanelsProps } from "@enact/limestone/Panels";
|
|
7
|
+
import { PanelProps as limestone_Panels_PanelProps } from "@enact/limestone/Panels";
|
|
8
|
+
import { PopupProps as limestone_Popup_PopupProps } from "@enact/limestone/Popup";
|
|
9
|
+
import { TabLayoutProps as limestone_TabLayout_TabLayoutProps } from "@enact/limestone/TabLayout";
|
|
10
10
|
|
|
11
11
|
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
12
12
|
type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
border-radius: var(--semantic-radius-container);
|
|
48
48
|
}
|
|
49
49
|
.popupTabLayout:global(.neutral) .content .panels::before {
|
|
50
|
-
border-radius: var(--semantic-radius-
|
|
50
|
+
border-radius: var(--semantic-radius-overlay);
|
|
51
51
|
}
|
|
52
52
|
.popupTabLayout:global(.neutral) .tabs,
|
|
53
53
|
.popupTabLayout:global(.neutral) .content .panels::before {
|
|
@@ -64,6 +64,9 @@
|
|
|
64
64
|
.popupTabLayout:global(.neutral) .tabGroup .tab .icon {
|
|
65
65
|
--icon-size: 2rem;
|
|
66
66
|
}
|
|
67
|
+
.popupTabLayout:global(.neutral) .tabGroup .tab:global(.largeText) .icon {
|
|
68
|
+
--icon-size: 2.4rem;
|
|
69
|
+
}
|
|
67
70
|
:global(.noAnimation) .popupTabLayout:global(.neutral) .tabs,
|
|
68
71
|
:global(.noAnimation) .popupTabLayout:global(.neutral) .content .panels::before {
|
|
69
72
|
box-shadow: none;
|
|
@@ -75,7 +78,7 @@
|
|
|
75
78
|
border-radius: var(--semantic-radius-container);
|
|
76
79
|
}
|
|
77
80
|
:global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .content .panels::before {
|
|
78
|
-
border-radius: var(--semantic-radius-
|
|
81
|
+
border-radius: var(--semantic-radius-overlay);
|
|
79
82
|
}
|
|
80
83
|
:global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .tabs,
|
|
81
84
|
:global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .content .panels::before {
|
|
@@ -92,6 +95,9 @@
|
|
|
92
95
|
:global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .tabGroup .tab .icon {
|
|
93
96
|
--icon-size: 2rem;
|
|
94
97
|
}
|
|
98
|
+
:global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .tabGroup .tab:global(.largeText) .icon {
|
|
99
|
+
--icon-size: 2.4rem;
|
|
100
|
+
}
|
|
95
101
|
:global(.noAnimation) :global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .tabs,
|
|
96
102
|
:global(.noAnimation) :global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .content .panels::before {
|
|
97
103
|
box-shadow: none;
|
|
@@ -103,7 +109,7 @@
|
|
|
103
109
|
border-radius: var(--semantic-radius-container);
|
|
104
110
|
}
|
|
105
111
|
.popupTabLayout:global(.light) .content .panels::before {
|
|
106
|
-
border-radius: var(--semantic-radius-
|
|
112
|
+
border-radius: var(--semantic-radius-overlay);
|
|
107
113
|
}
|
|
108
114
|
.popupTabLayout:global(.light) .tabs,
|
|
109
115
|
.popupTabLayout:global(.light) .content .panels::before {
|
|
@@ -120,6 +126,9 @@
|
|
|
120
126
|
.popupTabLayout:global(.light) .tabGroup .tab .icon {
|
|
121
127
|
--icon-size: 2rem;
|
|
122
128
|
}
|
|
129
|
+
.popupTabLayout:global(.light) .tabGroup .tab:global(.largeText) .icon {
|
|
130
|
+
--icon-size: 2.4rem;
|
|
131
|
+
}
|
|
123
132
|
:global(.noAnimation) .popupTabLayout:global(.light) .tabs,
|
|
124
133
|
:global(.noAnimation) .popupTabLayout:global(.light) .content .panels::before {
|
|
125
134
|
box-shadow: none;
|
|
@@ -134,7 +143,7 @@
|
|
|
134
143
|
border-radius: var(--semantic-radius-container);
|
|
135
144
|
}
|
|
136
145
|
.popupTabLayout:global(.game) .content .panels::before {
|
|
137
|
-
border-radius: var(--semantic-radius-
|
|
146
|
+
border-radius: var(--semantic-radius-overlay);
|
|
138
147
|
}
|
|
139
148
|
.popupTabLayout:global(.game) .tabs,
|
|
140
149
|
.popupTabLayout:global(.game) .content .panels::before {
|
|
@@ -151,6 +160,9 @@
|
|
|
151
160
|
.popupTabLayout:global(.game) .tabGroup .tab .icon {
|
|
152
161
|
--icon-size: 2rem;
|
|
153
162
|
}
|
|
163
|
+
.popupTabLayout:global(.game) .tabGroup .tab:global(.largeText) .icon {
|
|
164
|
+
--icon-size: 2.4rem;
|
|
165
|
+
}
|
|
154
166
|
:global(.noAnimation) .popupTabLayout:global(.game) .tabs,
|
|
155
167
|
:global(.noAnimation) .popupTabLayout:global(.game) .content .panels::before {
|
|
156
168
|
box-shadow: none;
|
|
@@ -164,7 +176,7 @@
|
|
|
164
176
|
border-radius: var(--semantic-radius-container);
|
|
165
177
|
}
|
|
166
178
|
:global(.green) .popupTabLayout:global(.game) .content .panels::before {
|
|
167
|
-
border-radius: var(--semantic-radius-
|
|
179
|
+
border-radius: var(--semantic-radius-overlay);
|
|
168
180
|
}
|
|
169
181
|
:global(.green) .popupTabLayout:global(.game) .tabs,
|
|
170
182
|
:global(.green) .popupTabLayout:global(.game) .content .panels::before {
|
|
@@ -181,6 +193,9 @@
|
|
|
181
193
|
:global(.green) .popupTabLayout:global(.game) .tabGroup .tab .icon {
|
|
182
194
|
--icon-size: 2rem;
|
|
183
195
|
}
|
|
196
|
+
:global(.green) .popupTabLayout:global(.game) .tabGroup .tab:global(.largeText) .icon {
|
|
197
|
+
--icon-size: 2.4rem;
|
|
198
|
+
}
|
|
184
199
|
:global(.noAnimation) :global(.green) .popupTabLayout:global(.game) .tabs,
|
|
185
200
|
:global(.noAnimation) :global(.green) .popupTabLayout:global(.game) .content .panels::before {
|
|
186
201
|
box-shadow: none;
|
|
@@ -194,7 +209,7 @@
|
|
|
194
209
|
border-radius: var(--semantic-radius-container);
|
|
195
210
|
}
|
|
196
211
|
:global(.orange) .popupTabLayout:global(.game) .content .panels::before {
|
|
197
|
-
border-radius: var(--semantic-radius-
|
|
212
|
+
border-radius: var(--semantic-radius-overlay);
|
|
198
213
|
}
|
|
199
214
|
:global(.orange) .popupTabLayout:global(.game) .tabs,
|
|
200
215
|
:global(.orange) .popupTabLayout:global(.game) .content .panels::before {
|
|
@@ -211,6 +226,9 @@
|
|
|
211
226
|
:global(.orange) .popupTabLayout:global(.game) .tabGroup .tab .icon {
|
|
212
227
|
--icon-size: 2rem;
|
|
213
228
|
}
|
|
229
|
+
:global(.orange) .popupTabLayout:global(.game) .tabGroup .tab:global(.largeText) .icon {
|
|
230
|
+
--icon-size: 2.4rem;
|
|
231
|
+
}
|
|
214
232
|
:global(.noAnimation) :global(.orange) .popupTabLayout:global(.game) .tabs,
|
|
215
233
|
:global(.noAnimation) :global(.orange) .popupTabLayout:global(.game) .content .panels::before {
|
|
216
234
|
box-shadow: none;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Type definitions for limestone/ProgressBar
|
|
2
2
|
|
|
3
|
-
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "limestone/Skinnable";
|
|
3
|
+
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "@enact/limestone/Skinnable";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
background-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
56
56
|
}
|
|
57
57
|
.progressBar:global(.neutral) .fill {
|
|
58
|
-
background-color: var(--semantic-color-surface-
|
|
58
|
+
background-color: var(--semantic-color-surface-white);
|
|
59
59
|
}
|
|
60
60
|
.progressBar:global(.neutral) .load {
|
|
61
61
|
background-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
border-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
70
70
|
}
|
|
71
71
|
.progressBar:global(.neutral).radial .fill {
|
|
72
|
-
border-color: var(--semantic-color-surface-
|
|
72
|
+
border-color: var(--semantic-color-surface-white);
|
|
73
73
|
}
|
|
74
74
|
.progressBar:global(.neutral).radial .load {
|
|
75
75
|
border-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
background-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
89
89
|
}
|
|
90
90
|
:global(.enact-a11y-high-contrast) .progressBar:global(.neutral):global(.highContrast) .fill {
|
|
91
|
-
background-color: var(--semantic-color-surface-
|
|
91
|
+
background-color: var(--semantic-color-surface-white);
|
|
92
92
|
}
|
|
93
93
|
:global(.enact-a11y-high-contrast) .progressBar:global(.neutral):global(.highContrast) .load {
|
|
94
94
|
background-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
border-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
103
103
|
}
|
|
104
104
|
:global(.enact-a11y-high-contrast) .progressBar:global(.neutral):global(.highContrast).radial .fill {
|
|
105
|
-
border-color: var(--semantic-color-surface-
|
|
105
|
+
border-color: var(--semantic-color-surface-white);
|
|
106
106
|
}
|
|
107
107
|
:global(.enact-a11y-high-contrast) .progressBar:global(.neutral):global(.highContrast).radial .load {
|
|
108
108
|
border-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
background-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
122
122
|
}
|
|
123
123
|
.progressBar:global(.light) .fill {
|
|
124
|
-
background-color: var(--semantic-color-surface-
|
|
124
|
+
background-color: var(--semantic-color-surface-white);
|
|
125
125
|
}
|
|
126
126
|
.progressBar:global(.light) .load {
|
|
127
127
|
background-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
border-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
136
136
|
}
|
|
137
137
|
.progressBar:global(.light).radial .fill {
|
|
138
|
-
border-color: var(--semantic-color-surface-
|
|
138
|
+
border-color: var(--semantic-color-surface-white);
|
|
139
139
|
}
|
|
140
140
|
.progressBar:global(.light).radial .load {
|
|
141
141
|
border-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
background-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
160
160
|
}
|
|
161
161
|
.progressBar:global(.game) .fill {
|
|
162
|
-
background-color: var(--semantic-color-surface-
|
|
162
|
+
background-color: var(--semantic-color-surface-white);
|
|
163
163
|
}
|
|
164
164
|
.progressBar:global(.game) .load {
|
|
165
165
|
background-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
border-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
174
174
|
}
|
|
175
175
|
.progressBar:global(.game).radial .fill {
|
|
176
|
-
border-color: var(--semantic-color-surface-
|
|
176
|
+
border-color: var(--semantic-color-surface-white);
|
|
177
177
|
}
|
|
178
178
|
.progressBar:global(.game).radial .load {
|
|
179
179
|
border-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
background-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
197
197
|
}
|
|
198
198
|
:global(.green) .progressBar:global(.game) .fill {
|
|
199
|
-
background-color: var(--semantic-color-surface-
|
|
199
|
+
background-color: var(--semantic-color-surface-white);
|
|
200
200
|
}
|
|
201
201
|
:global(.green) .progressBar:global(.game) .load {
|
|
202
202
|
background-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
border-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
211
211
|
}
|
|
212
212
|
:global(.green) .progressBar:global(.game).radial .fill {
|
|
213
|
-
border-color: var(--semantic-color-surface-
|
|
213
|
+
border-color: var(--semantic-color-surface-white);
|
|
214
214
|
}
|
|
215
215
|
:global(.green) .progressBar:global(.game).radial .load {
|
|
216
216
|
border-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
background-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
234
234
|
}
|
|
235
235
|
:global(.orange) .progressBar:global(.game) .fill {
|
|
236
|
-
background-color: var(--semantic-color-surface-
|
|
236
|
+
background-color: var(--semantic-color-surface-white);
|
|
237
237
|
}
|
|
238
238
|
:global(.orange) .progressBar:global(.game) .load {
|
|
239
239
|
background-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
border-color: color(from var(--semantic-color-surface-default-track) srgb r g b / 0.7);
|
|
248
248
|
}
|
|
249
249
|
:global(.orange) .progressBar:global(.game).radial .fill {
|
|
250
|
-
border-color: var(--semantic-color-surface-
|
|
250
|
+
border-color: var(--semantic-color-surface-white);
|
|
251
251
|
}
|
|
252
252
|
:global(.orange) .progressBar:global(.game).radial .load {
|
|
253
253
|
border-color: color(from var(--semantic-color-surface-white) srgb r g b / 0.5);
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
left: 50%;
|
|
50
50
|
}
|
|
51
51
|
.tooltip.radial.center.above {
|
|
52
|
-
bottom: calc(100% +
|
|
52
|
+
bottom: calc(100% + calc(var(--primitive-spacing-12) + 12px) );
|
|
53
53
|
}
|
|
54
54
|
.tooltip.radial.center.below {
|
|
55
|
-
top: calc(100% +
|
|
55
|
+
top: calc(100% + calc(var(--primitive-spacing-12) + 12px) );
|
|
56
56
|
}
|
|
57
57
|
.tooltip.radial.left,
|
|
58
58
|
.tooltip.radial.before,
|
|
@@ -62,25 +62,25 @@
|
|
|
62
62
|
.tooltip.radial.left.above,
|
|
63
63
|
.tooltip.radial.before.above,
|
|
64
64
|
:global(.enact-locale-right-to-left) .tooltip.radial.after.above {
|
|
65
|
-
bottom: calc(100% +
|
|
65
|
+
bottom: calc(100% + calc(var(--primitive-spacing-12) + 12px) );
|
|
66
66
|
}
|
|
67
67
|
.tooltip.radial.left.below,
|
|
68
68
|
.tooltip.radial.before.below,
|
|
69
69
|
:global(.enact-locale-right-to-left) .tooltip.radial.after.below {
|
|
70
|
-
top: calc(100% +
|
|
70
|
+
top: calc(100% + calc(var(--primitive-spacing-12) + 12px) );
|
|
71
71
|
}
|
|
72
72
|
.tooltip.radial.right,
|
|
73
73
|
.tooltip.radial.after,
|
|
74
74
|
:global(.enact-locale-right-to-left) .tooltip.radial.before {
|
|
75
|
-
left: calc(100% +
|
|
75
|
+
left: calc(100% + calc(var(--primitive-spacing-12) + 12px) );
|
|
76
76
|
}
|
|
77
77
|
.tooltip.radial.right.above,
|
|
78
78
|
.tooltip.radial.after.above,
|
|
79
79
|
:global(.enact-locale-right-to-left) .tooltip.radial.before.above {
|
|
80
|
-
bottom: calc(100% +
|
|
80
|
+
bottom: calc(100% + calc(var(--primitive-spacing-12) + 12px) );
|
|
81
81
|
}
|
|
82
82
|
.tooltip.radial.right.below,
|
|
83
83
|
.tooltip.radial.after.below,
|
|
84
84
|
:global(.enact-locale-right-to-left) .tooltip.radial.before.below {
|
|
85
|
-
top: calc(100% +
|
|
85
|
+
top: calc(100% + calc(var(--primitive-spacing-12) + 12px) );
|
|
86
86
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Type definitions for limestone/ProgressButton
|
|
2
2
|
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import { ButtonBaseProps as limestone_Button_ButtonBaseProps } from "limestone/Button";
|
|
5
|
-
import { ProgressBarProps as limestone_ProgressBar_ProgressBarProps } from "limestone/ProgressBar";
|
|
4
|
+
import { ButtonBaseProps as limestone_Button_ButtonBaseProps } from "@enact/limestone/Button";
|
|
5
|
+
import { ProgressBarProps as limestone_ProgressBar_ProgressBarProps } from "@enact/limestone/ProgressBar";
|
|
6
6
|
|
|
7
7
|
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
8
8
|
type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
.quickGuidePanels .navigationButtonContainer {
|
|
19
19
|
align-items: center;
|
|
20
20
|
height: 2.75rem;
|
|
21
|
-
margin-top: calc(100vh / 2 -
|
|
21
|
+
margin-top: calc(100vh / 2 - 1.375rem );
|
|
22
22
|
z-index: 10;
|
|
23
23
|
}
|
|
24
24
|
.quickGuidePanels .navigationButtonContainer .navigationButton {
|
package/RadioItem/RadioItem.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { ToggleableProps as ui_Toggleable_ToggleableProps } from "@enact/ui/Toggleable";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { ItemProps as limestone_Item_ItemProps } from "limestone/Item";
|
|
5
|
+
import { ItemProps as limestone_Item_ItemProps } from "@enact/limestone/Item";
|
|
6
6
|
|
|
7
7
|
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
8
8
|
type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
border-radius: var(--semantic-radius-full);
|
|
9
9
|
font-size: var(--primitive-font-size-48);
|
|
10
10
|
}
|
|
11
|
+
.radioItem .icon:global(.largeText) {
|
|
12
|
+
font-size: var(--primitive-font-size-56);
|
|
13
|
+
}
|
|
11
14
|
.radioItem:global(.neutral) .icon {
|
|
12
15
|
color: transparent;
|
|
13
16
|
background-color: transparent;
|
|
@@ -125,8 +128,8 @@
|
|
|
125
128
|
}
|
|
126
129
|
.radioItem:global(.game).selected .icon {
|
|
127
130
|
color: var(--semantic-color-on-surface-main-selected);
|
|
128
|
-
background-color:
|
|
129
|
-
box-shadow: 0 0 0 0.08333rem
|
|
131
|
+
background-color: #8b31d7;
|
|
132
|
+
box-shadow: 0 0 0 0.08333rem #8b31d7;
|
|
130
133
|
}
|
|
131
134
|
.radioItem:global(.game).selected .bg {
|
|
132
135
|
background-color: transparent;
|
|
@@ -140,8 +143,8 @@
|
|
|
140
143
|
:global(.spotlight-input-key) .radioItem:global(.game):global(.spottable):focus.selected .icon,
|
|
141
144
|
:global(.spotlight-input-mouse) .radioItem:global(.game):global(.spottable):focus.selected .icon {
|
|
142
145
|
color: var(--semantic-color-on-surface-main-selected);
|
|
143
|
-
background-color:
|
|
144
|
-
box-shadow: 0 0 0 0.08333rem
|
|
146
|
+
background-color: #8b31d7;
|
|
147
|
+
box-shadow: 0 0 0 0.08333rem #8b31d7;
|
|
145
148
|
}
|
|
146
149
|
:global(.spotlight-input-touch) .radioItem:global(.game):global(.spottable):active .icon {
|
|
147
150
|
color: transparent;
|
|
@@ -150,8 +153,8 @@
|
|
|
150
153
|
}
|
|
151
154
|
:global(.spotlight-input-touch) .radioItem:global(.game):global(.spottable):active.selected .icon {
|
|
152
155
|
color: var(--semantic-color-on-surface-main-selected);
|
|
153
|
-
background-color:
|
|
154
|
-
box-shadow: 0 0 0 0.08333rem
|
|
156
|
+
background-color: #8b31d7;
|
|
157
|
+
box-shadow: 0 0 0 0.08333rem #8b31d7;
|
|
155
158
|
}
|
|
156
159
|
:global(.green) .radioItem:global(.game) {
|
|
157
160
|
--semantic-color-surface-default: #1F2C24;
|
|
@@ -164,8 +167,8 @@
|
|
|
164
167
|
}
|
|
165
168
|
:global(.green) .radioItem:global(.game).selected .icon {
|
|
166
169
|
color: var(--semantic-color-on-surface-main-selected);
|
|
167
|
-
background-color:
|
|
168
|
-
box-shadow: 0 0 0 0.08333rem
|
|
170
|
+
background-color: #45c194;
|
|
171
|
+
box-shadow: 0 0 0 0.08333rem #45c194;
|
|
169
172
|
}
|
|
170
173
|
:global(.green) .radioItem:global(.game).selected .bg {
|
|
171
174
|
background-color: transparent;
|
|
@@ -179,8 +182,8 @@
|
|
|
179
182
|
:global(.spotlight-input-key) :global(.green) .radioItem:global(.game):global(.spottable):focus.selected .icon,
|
|
180
183
|
:global(.spotlight-input-mouse) :global(.green) .radioItem:global(.game):global(.spottable):focus.selected .icon {
|
|
181
184
|
color: var(--semantic-color-on-surface-main-selected);
|
|
182
|
-
background-color:
|
|
183
|
-
box-shadow: 0 0 0 0.08333rem
|
|
185
|
+
background-color: #45c194;
|
|
186
|
+
box-shadow: 0 0 0 0.08333rem #45c194;
|
|
184
187
|
}
|
|
185
188
|
:global(.spotlight-input-touch) :global(.green) .radioItem:global(.game):global(.spottable):active .icon {
|
|
186
189
|
color: transparent;
|
|
@@ -189,8 +192,8 @@
|
|
|
189
192
|
}
|
|
190
193
|
:global(.spotlight-input-touch) :global(.green) .radioItem:global(.game):global(.spottable):active.selected .icon {
|
|
191
194
|
color: var(--semantic-color-on-surface-main-selected);
|
|
192
|
-
background-color:
|
|
193
|
-
box-shadow: 0 0 0 0.08333rem
|
|
195
|
+
background-color: #45c194;
|
|
196
|
+
box-shadow: 0 0 0 0.08333rem #45c194;
|
|
194
197
|
}
|
|
195
198
|
:global(.orange) .radioItem:global(.game) {
|
|
196
199
|
--semantic-color-surface-default: #422923;
|
|
@@ -203,8 +206,8 @@
|
|
|
203
206
|
}
|
|
204
207
|
:global(.orange) .radioItem:global(.game).selected .icon {
|
|
205
208
|
color: var(--semantic-color-on-surface-main-selected);
|
|
206
|
-
background-color:
|
|
207
|
-
box-shadow: 0 0 0 0.08333rem
|
|
209
|
+
background-color: #d75431;
|
|
210
|
+
box-shadow: 0 0 0 0.08333rem #d75431;
|
|
208
211
|
}
|
|
209
212
|
:global(.orange) .radioItem:global(.game).selected .bg {
|
|
210
213
|
background-color: transparent;
|
|
@@ -218,8 +221,8 @@
|
|
|
218
221
|
:global(.spotlight-input-key) :global(.orange) .radioItem:global(.game):global(.spottable):focus.selected .icon,
|
|
219
222
|
:global(.spotlight-input-mouse) :global(.orange) .radioItem:global(.game):global(.spottable):focus.selected .icon {
|
|
220
223
|
color: var(--semantic-color-on-surface-main-selected);
|
|
221
|
-
background-color:
|
|
222
|
-
box-shadow: 0 0 0 0.08333rem
|
|
224
|
+
background-color: #d75431;
|
|
225
|
+
box-shadow: 0 0 0 0.08333rem #d75431;
|
|
223
226
|
}
|
|
224
227
|
:global(.spotlight-input-touch) :global(.orange) .radioItem:global(.game):global(.spottable):active .icon {
|
|
225
228
|
color: transparent;
|
|
@@ -228,6 +231,6 @@
|
|
|
228
231
|
}
|
|
229
232
|
:global(.spotlight-input-touch) :global(.orange) .radioItem:global(.game):global(.spottable):active.selected .icon {
|
|
230
233
|
color: var(--semantic-color-on-surface-main-selected);
|
|
231
|
-
background-color:
|
|
232
|
-
box-shadow: 0 0 0 0.08333rem
|
|
234
|
+
background-color: #d75431;
|
|
235
|
+
box-shadow: 0 0 0 0.08333rem #d75431;
|
|
233
236
|
}
|
|
@@ -613,8 +613,9 @@ var _EditableWrapper = exports.EditableWrapper = function EditableWrapper(props)
|
|
|
613
613
|
if (selectItemBy === 'press') {
|
|
614
614
|
if ((0, _pointer.getPointerMode)()) {
|
|
615
615
|
_spotlight["default"].setPointerMode(false);
|
|
616
|
+
_spotlight["default"].focus(focusTarget);
|
|
616
617
|
}
|
|
617
|
-
_spotlight["default"].focus(focusTarget);
|
|
618
|
+
if (focusTarget !== _spotlight["default"].getCurrent()) _spotlight["default"].focus(focusTarget);
|
|
618
619
|
focusItem(focusTarget);
|
|
619
620
|
}
|
|
620
621
|
setTimeout(function () {
|
package/Scroller/Scroller.d.ts
CHANGED
|
@@ -221,6 +221,18 @@ corresponding internal elements and states of this component.
|
|
|
221
221
|
* Scrolls to the container created by when descendants get focused.
|
|
222
222
|
*/
|
|
223
223
|
scrollToContentContainerOnFocus?: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* Anchors the focused item to a fixed "focus position" while the content scrolls beneath it.
|
|
226
|
+
*
|
|
227
|
+
* When set to `'start'` and `direction` is `'horizontal'` , moving focus with 5-way keys keeps
|
|
228
|
+
the focus indicator at a fixed slot near the start (left in LTR, right in RTL) edge of the
|
|
229
|
+
scroller and scrolls the list so the newly focused item lands in that slot. At the end of the
|
|
230
|
+
list, when the item can no longer reach the fixed slot, the list scrolls only to its last
|
|
231
|
+
position so the focused item (including its full width) stays visible.
|
|
232
|
+
*
|
|
233
|
+
* By default ( `undefined` ), the scroller scrolls just enough to bring the focused item into view.
|
|
234
|
+
*/
|
|
235
|
+
stickTo?: "start";
|
|
224
236
|
/**
|
|
225
237
|
* Specifies how to show vertical scrollbar.
|
|
226
238
|
*/
|
package/Scroller/Scroller.js
CHANGED
|
@@ -448,6 +448,21 @@ _Scroller.propTypes = /** @lends limestone/Scroller.Scroller.prototype */{
|
|
|
448
448
|
* @public
|
|
449
449
|
*/
|
|
450
450
|
scrollToContentContainerOnFocus: _propTypes["default"].bool,
|
|
451
|
+
/**
|
|
452
|
+
* Anchors the focused item to a fixed "focus position" while the content scrolls beneath it.
|
|
453
|
+
*
|
|
454
|
+
* When set to `'start'` and `direction` is `'horizontal'`, moving focus with 5-way keys keeps
|
|
455
|
+
* the focus indicator at a fixed slot near the start (left in LTR, right in RTL) edge of the
|
|
456
|
+
* scroller and scrolls the list so the newly focused item lands in that slot. At the end of the
|
|
457
|
+
* list, when the item can no longer reach the fixed slot, the list scrolls only to its last
|
|
458
|
+
* position so the focused item (including its full width) stays visible.
|
|
459
|
+
*
|
|
460
|
+
* By default (`undefined`), the scroller scrolls just enough to bring the focused item into view.
|
|
461
|
+
*
|
|
462
|
+
* @type {('start')}
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
stickTo: _propTypes["default"].oneOf(['start']),
|
|
451
466
|
/**
|
|
452
467
|
* Specifies how to show vertical scrollbar.
|
|
453
468
|
*
|
|
@@ -15,6 +15,16 @@
|
|
|
15
15
|
border-radius: var(--primitive-radius-12);
|
|
16
16
|
opacity: 0;
|
|
17
17
|
}
|
|
18
|
+
.focusableBody.hasVerticalScrollbar::before {
|
|
19
|
+
right: var(--scroll-scrollbar-size);
|
|
20
|
+
}
|
|
21
|
+
.focusableBody.hasHorizontalScrollbar::before {
|
|
22
|
+
bottom: var(--scroll-scrollbar-size);
|
|
23
|
+
}
|
|
24
|
+
:global(.enact-locale-right-to-left) .focusableBody.hasVerticalScrollbar::before {
|
|
25
|
+
right: 0;
|
|
26
|
+
left: var(--scroll-scrollbar-size);
|
|
27
|
+
}
|
|
18
28
|
:global(.spotlight-input-key):global(.spotlight-input-key) .focusableBody:global(.spottable):focus::before,
|
|
19
29
|
:global(.spotlight-input-key):global(.spotlight-input-mouse) .focusableBody:global(.spottable):focus::before {
|
|
20
30
|
background-color: color(from var(--semantic-color-surface-default-focused) srgb r g b / 0.1);
|