@enact/limestone 1.10.1 → 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 +3 -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 +1 -1
- package/Button/Button.d.ts +3 -3
- package/Button/Button.module.css +14 -28
- package/CHANGELOG.md +48 -1
- package/Card/Card.d.ts +81 -9
- package/Card/Card.js +321 -84
- package/Card/Card.module.css +171 -20
- package/Card/tests/Card-specs.js +100 -0
- package/Checkbox/Checkbox.d.ts +2 -2
- package/Checkbox/Checkbox.module.css +2 -9
- 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 +2 -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/Icon/Icon.d.ts +22 -1
- package/Icon/Icon.js +21 -0
- package/Icon/IconList.js +43 -1
- package/IconItem/IconItem.d.ts +2 -2
- package/IconItem/IconItem.module.css +11 -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 +105 -97
- package/ImageItem/tests/ImageItem-specs.js +6 -5
- package/Input/Input.module.css +8 -7
- package/Input/InputField.module.css +4 -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 +27 -15
- package/KeyGuide/KeyGuide.d.ts +2 -2
- package/MediaOverlay/MediaOverlay.d.ts +2 -2
- package/MediaOverlay/MediaOverlay.module.css +2 -5
- package/MediaPlayer/MediaSlider.module.css +1 -0
- package/MediaPlayer/Times.module.css +1 -1
- package/MediaPlayer/index.d.ts +2 -2
- package/PageViews/PageViews.module.css +2 -1
- package/Panels/Header.module.css +40 -28
- 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 +6 -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 +18 -20
- package/Scroller/Scroller.d.ts +12 -0
- package/Scroller/Scroller.js +15 -0
- package/Scroller/tests/Scroller-specs.js +29 -0
- package/Scroller/useThemeScroller.js +22 -2
- package/Slider/Slider.d.ts +1 -1
- package/Slider/Slider.module.css +539 -300
- 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 +16 -2
- package/Switch/Switch.module.css +2 -5
- package/SwitchItem/SwitchItem.d.ts +1 -1
- package/TabLayout/RefocusDecorator.js +1 -1
- package/TabLayout/TabGroup.module.css +12 -6
- package/TabLayout/TabLayout.js +4 -0
- package/ThemeDecorator/ThemeDecorator.d.ts +1 -1
- package/ThemeDecorator/ThemeDecorator.module.css +22 -1
- package/TooltipDecorator/Tooltip.js +68 -7
- package/TooltipDecorator/Tooltip.module.css +40 -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/MediaTitle.module.css +1 -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/Picker/Picker.js +8 -10
- package/internal/Picker/Picker.module.css +74 -141
- package/package.json +11 -14
- 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 +71 -46
- package/useScroll/useScroll.js +3 -1
package/Item/Item.module.css
CHANGED
|
@@ -2,16 +2,13 @@
|
|
|
2
2
|
font-size: var(--primitive-font-size-60);
|
|
3
3
|
padding: var(--primitive-spacing-36) var(--primitive-spacing-48);
|
|
4
4
|
font-weight: var(--primitive-font-weight-semibold);
|
|
5
|
-
line-height: 1.
|
|
5
|
+
line-height: 1.34em;
|
|
6
6
|
height: 3.25rem;
|
|
7
7
|
display: flex;
|
|
8
8
|
position: relative;
|
|
9
9
|
color: inherit;
|
|
10
10
|
margin: 0 var(--primitive-spacing-36) var(--primitive-spacing-30) var(--primitive-spacing-36);
|
|
11
11
|
}
|
|
12
|
-
.item.selected {
|
|
13
|
-
/* Available for customization */
|
|
14
|
-
}
|
|
15
12
|
:global(.enact-locale-km) .item {
|
|
16
13
|
line-height: 1.5em;
|
|
17
14
|
}
|
|
@@ -24,13 +21,16 @@
|
|
|
24
21
|
:global(.enact-locale-vi) .item {
|
|
25
22
|
line-height: 1.5em;
|
|
26
23
|
}
|
|
24
|
+
.item.selected {
|
|
25
|
+
/* Available for customization */
|
|
26
|
+
}
|
|
27
27
|
.item .bg {
|
|
28
28
|
position: absolute;
|
|
29
29
|
top: 0;
|
|
30
30
|
right: 0;
|
|
31
31
|
bottom: 0;
|
|
32
32
|
left: 0;
|
|
33
|
-
border-radius: var(--semantic-radius-
|
|
33
|
+
border-radius: var(--semantic-radius-button);
|
|
34
34
|
}
|
|
35
35
|
.item .slotAfter,
|
|
36
36
|
.item .slotBefore {
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
.item:global(.largeText) {
|
|
107
107
|
font-size: var(--primitive-font-size-72);
|
|
108
|
-
line-height: 1.
|
|
108
|
+
line-height: 1.34em;
|
|
109
109
|
}
|
|
110
110
|
:global(.enact-locale-km) .item:global(.largeText) {
|
|
111
111
|
line-height: 1.5em;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
font-size: var(--primitive-font-size-60);
|
|
131
131
|
font-weight: var(--primitive-font-weight-semibold);
|
|
132
132
|
height: 2.625rem;
|
|
133
|
-
line-height: 1.
|
|
133
|
+
line-height: 1.34em;
|
|
134
134
|
}
|
|
135
135
|
:global(.enact-locale-km) .item.small {
|
|
136
136
|
line-height: 1.5em;
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
.item.small .label {
|
|
151
151
|
font-size: var(--primitive-font-size-48);
|
|
152
152
|
font-weight: var(--primitive-font-weight-regular);
|
|
153
|
-
line-height: 1.
|
|
153
|
+
line-height: 1.34em;
|
|
154
154
|
}
|
|
155
155
|
:global(.enact-locale-km) .item.small {
|
|
156
156
|
font-size: var(--primitive-font-size-60);
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
}
|
|
167
167
|
.item.small:global(.largeText) {
|
|
168
168
|
font-size: var(--primitive-font-size-72);
|
|
169
|
-
line-height: 1.
|
|
169
|
+
line-height: 1.34em;
|
|
170
170
|
}
|
|
171
171
|
:global(.enact-locale-km) .item.small:global(.largeText) {
|
|
172
172
|
line-height: 1.5em;
|
|
@@ -210,6 +210,7 @@
|
|
|
210
210
|
opacity: 1;
|
|
211
211
|
background-color: var(--semantic-color-surface-default-focused);
|
|
212
212
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
213
|
+
background: 'undefined';
|
|
213
214
|
}
|
|
214
215
|
:global(.spotlight-input-key) .item:global(.neutral):global(.spottable):focus .label,
|
|
215
216
|
:global(.spotlight-input-mouse) .item:global(.neutral):global(.spottable):focus .label {
|
|
@@ -222,6 +223,7 @@
|
|
|
222
223
|
opacity: 1;
|
|
223
224
|
background-color: var(--semantic-color-surface-default-focused);
|
|
224
225
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
226
|
+
background: 'undefined';
|
|
225
227
|
}
|
|
226
228
|
:global(.spotlight-input-touch) .item:global(.neutral):global(.spottable):active .label {
|
|
227
229
|
color: var(--semantic-color-on-surface-sub-focused);
|
|
@@ -288,6 +290,7 @@
|
|
|
288
290
|
opacity: 1;
|
|
289
291
|
background-color: var(--semantic-color-surface-default-focused);
|
|
290
292
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
293
|
+
background: 'undefined';
|
|
291
294
|
}
|
|
292
295
|
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .item:global(.neutral):global(.highContrast):global(.spottable):focus .label,
|
|
293
296
|
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .item:global(.neutral):global(.highContrast):global(.spottable):focus .label {
|
|
@@ -300,6 +303,7 @@
|
|
|
300
303
|
opacity: 1;
|
|
301
304
|
background-color: var(--semantic-color-surface-default-focused);
|
|
302
305
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
306
|
+
background: 'undefined';
|
|
303
307
|
}
|
|
304
308
|
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .item:global(.neutral):global(.highContrast):global(.spottable):active .label {
|
|
305
309
|
color: var(--semantic-color-on-surface-sub-focused);
|
|
@@ -366,6 +370,7 @@
|
|
|
366
370
|
opacity: 1;
|
|
367
371
|
background-color: var(--semantic-color-surface-default-focused);
|
|
368
372
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
373
|
+
background: 'undefined';
|
|
369
374
|
}
|
|
370
375
|
:global(.spotlight-input-key) .item:global(.light):global(.spottable):focus .label,
|
|
371
376
|
:global(.spotlight-input-mouse) .item:global(.light):global(.spottable):focus .label {
|
|
@@ -378,6 +383,7 @@
|
|
|
378
383
|
opacity: 1;
|
|
379
384
|
background-color: var(--semantic-color-surface-default-focused);
|
|
380
385
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
386
|
+
background: 'undefined';
|
|
381
387
|
}
|
|
382
388
|
:global(.spotlight-input-touch) .item:global(.light):global(.spottable):active .label {
|
|
383
389
|
color: var(--semantic-color-on-surface-sub-focused);
|
|
@@ -449,10 +455,11 @@
|
|
|
449
455
|
opacity: 1;
|
|
450
456
|
background-color: var(--semantic-color-surface-default-focused);
|
|
451
457
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
458
|
+
background: linear-gradient(270deg, rgba(96, 48, 145, 0), #6d2fa1);
|
|
452
459
|
}
|
|
453
460
|
:global(.spotlight-input-key) .item:global(.game):global(.spottable):focus .label,
|
|
454
461
|
:global(.spotlight-input-mouse) .item:global(.game):global(.spottable):focus .label {
|
|
455
|
-
color:
|
|
462
|
+
color: #abaeb3;
|
|
456
463
|
}
|
|
457
464
|
:global(.spotlight-input-touch) .item:global(.game):global(.spottable):active {
|
|
458
465
|
color: var(--semantic-color-on-surface-main-focused);
|
|
@@ -461,9 +468,10 @@
|
|
|
461
468
|
opacity: 1;
|
|
462
469
|
background-color: var(--semantic-color-surface-default-focused);
|
|
463
470
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
471
|
+
background: linear-gradient(270deg, rgba(96, 48, 145, 0), #6d2fa1);
|
|
464
472
|
}
|
|
465
473
|
:global(.spotlight-input-touch) .item:global(.game):global(.spottable):active .label {
|
|
466
|
-
color:
|
|
474
|
+
color: #abaeb3;
|
|
467
475
|
}
|
|
468
476
|
:global(.spotlight-input-key) :global(.noAnimation) .item:global(.game):global(.spottable):focus .bg,
|
|
469
477
|
:global(.spotlight-input-mouse) :global(.noAnimation) .item:global(.game):global(.spottable):focus .bg {
|
|
@@ -531,10 +539,11 @@
|
|
|
531
539
|
opacity: 1;
|
|
532
540
|
background-color: var(--semantic-color-surface-default-focused);
|
|
533
541
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
542
|
+
background: linear-gradient(270deg, rgba(0, 255, 188, 0), rgba(0, 255, 194, 0.47));
|
|
534
543
|
}
|
|
535
544
|
:global(.spotlight-input-key) :global(.green) .item:global(.game):global(.spottable):focus .label,
|
|
536
545
|
:global(.spotlight-input-mouse) :global(.green) .item:global(.game):global(.spottable):focus .label {
|
|
537
|
-
color:
|
|
546
|
+
color: #abaeb3;
|
|
538
547
|
}
|
|
539
548
|
:global(.spotlight-input-touch) :global(.green) .item:global(.game):global(.spottable):active {
|
|
540
549
|
color: var(--semantic-color-on-surface-main-focused);
|
|
@@ -543,9 +552,10 @@
|
|
|
543
552
|
opacity: 1;
|
|
544
553
|
background-color: var(--semantic-color-surface-default-focused);
|
|
545
554
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
555
|
+
background: linear-gradient(270deg, rgba(0, 255, 188, 0), rgba(0, 255, 194, 0.47));
|
|
546
556
|
}
|
|
547
557
|
:global(.spotlight-input-touch) :global(.green) .item:global(.game):global(.spottable):active .label {
|
|
548
|
-
color:
|
|
558
|
+
color: #abaeb3;
|
|
549
559
|
}
|
|
550
560
|
:global(.spotlight-input-key) :global(.noAnimation) :global(.green) .item:global(.game):global(.spottable):focus .bg,
|
|
551
561
|
:global(.spotlight-input-mouse) :global(.noAnimation) :global(.green) .item:global(.game):global(.spottable):focus .bg {
|
|
@@ -613,10 +623,11 @@
|
|
|
613
623
|
opacity: 1;
|
|
614
624
|
background-color: var(--semantic-color-surface-default-focused);
|
|
615
625
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
626
|
+
background: linear-gradient(270deg, rgba(86, 41, 7, 0), #a85c37);
|
|
616
627
|
}
|
|
617
628
|
:global(.spotlight-input-key) :global(.orange) .item:global(.game):global(.spottable):focus .label,
|
|
618
629
|
:global(.spotlight-input-mouse) :global(.orange) .item:global(.game):global(.spottable):focus .label {
|
|
619
|
-
color:
|
|
630
|
+
color: #abaeb3;
|
|
620
631
|
}
|
|
621
632
|
:global(.spotlight-input-touch) :global(.orange) .item:global(.game):global(.spottable):active {
|
|
622
633
|
color: var(--semantic-color-on-surface-main-focused);
|
|
@@ -625,9 +636,10 @@
|
|
|
625
636
|
opacity: 1;
|
|
626
637
|
background-color: var(--semantic-color-surface-default-focused);
|
|
627
638
|
box-shadow: 0 0.5rem 0.75rem color(from var(--semantic-color-on-background-black) srgb r g b / 0.35);
|
|
639
|
+
background: linear-gradient(270deg, rgba(86, 41, 7, 0), #a85c37);
|
|
628
640
|
}
|
|
629
641
|
:global(.spotlight-input-touch) :global(.orange) .item:global(.game):global(.spottable):active .label {
|
|
630
|
-
color:
|
|
642
|
+
color: #abaeb3;
|
|
631
643
|
}
|
|
632
644
|
:global(.spotlight-input-key) :global(.noAnimation) :global(.orange) .item:global(.game):global(.spottable):focus .bg,
|
|
633
645
|
:global(.spotlight-input-mouse) :global(.noAnimation) :global(.orange) .item:global(.game):global(.spottable):focus .bg {
|
package/KeyGuide/KeyGuide.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Type definitions for limestone/KeyGuide
|
|
2
2
|
|
|
3
|
-
import { MarqueeControllerProps as limestone_Marquee_MarqueeControllerProps } from "limestone/Marquee";
|
|
4
|
-
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "limestone/Skinnable";
|
|
3
|
+
import { MarqueeControllerProps as limestone_Marquee_MarqueeControllerProps } from "@enact/limestone/Marquee";
|
|
4
|
+
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "@enact/limestone/Skinnable";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
|
|
7
7
|
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Type definitions for limestone/MediaOverlay
|
|
2
2
|
|
|
3
|
-
import { MarqueeControllerProps as limestone_Marquee_MarqueeControllerProps } from "limestone/Marquee";
|
|
3
|
+
import { MarqueeControllerProps as limestone_Marquee_MarqueeControllerProps } from "@enact/limestone/Marquee";
|
|
4
4
|
import { SpottableProps as spotlight_Spottable_SpottableProps } from "@enact/spotlight/Spottable";
|
|
5
5
|
import { SlottableProps as ui_Slottable_SlottableProps } from "@enact/ui/Slottable";
|
|
6
|
-
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "limestone/Skinnable";
|
|
6
|
+
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "@enact/limestone/Skinnable";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
|
|
9
9
|
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
@@ -34,8 +34,8 @@ Animations properties
|
|
|
34
34
|
--lime-bounce-motion-easing-function: var(--lime-default-motion-easing-function);
|
|
35
35
|
--lime-focus-in-motion-easing-function: var(--lime-EIO-motion-easing-function);
|
|
36
36
|
--lime-focus-out-motion-easing-function: var(--lime-EO-motion-easing-function);
|
|
37
|
-
--lime-press-motion-easing-function: var(--lime-
|
|
38
|
-
--lime-release-motion-easing-function: var(--lime-
|
|
37
|
+
--lime-press-motion-easing-function: var(--lime-EO-motion-easing-function);
|
|
38
|
+
--lime-release-motion-easing-function: var(--lime-EIO-motion-easing-function);
|
|
39
39
|
/* ---------------------------------------
|
|
40
40
|
Keyframes names
|
|
41
41
|
------------------------------------------ */
|
|
@@ -76,9 +76,6 @@ Keyframes
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
/* ---------------------------------------
|
|
79
|
-
Motion Variables
|
|
80
|
-
------------------------------------------ */
|
|
81
|
-
/* ---------------------------------------
|
|
82
79
|
Motion Mixins
|
|
83
80
|
------------------------------------------ */
|
|
84
81
|
.mediaOverlay {
|
package/MediaPlayer/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Type definitions for limestone/MediaPlayer
|
|
2
2
|
|
|
3
|
-
import { SliderProps as limestone_Slider_SliderProps } from "limestone/Slider";
|
|
3
|
+
import { SliderProps as limestone_Slider_SliderProps } from "@enact/limestone/Slider";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { CancelableProps as ui_Cancelable_CancelableProps } from "@enact/ui/Cancelable";
|
|
6
|
-
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "limestone/Skinnable";
|
|
6
|
+
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "@enact/limestone/Skinnable";
|
|
7
7
|
|
|
8
8
|
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
9
9
|
type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
position: absolute;
|
|
19
19
|
width: 100%;
|
|
20
20
|
height: 2.75rem;
|
|
21
|
-
top: calc(50% -
|
|
21
|
+
top: calc(50% - 2.75rem / 2 );
|
|
22
22
|
z-index: 10;
|
|
23
23
|
pointer-events: none;
|
|
24
24
|
}
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
.pageViews.dot .steps {
|
|
62
62
|
display: flex;
|
|
63
63
|
align-items: center;
|
|
64
|
+
margin-top: 0;
|
|
64
65
|
min-height: 2.75rem;
|
|
65
66
|
gap: var(--primitive-spacing-24);
|
|
66
67
|
}
|
package/Panels/Header.module.css
CHANGED
|
@@ -39,9 +39,6 @@
|
|
|
39
39
|
align-items: center;
|
|
40
40
|
height: 4.25rem;
|
|
41
41
|
}
|
|
42
|
-
.header.wizard .titlesRow {
|
|
43
|
-
padding-bottom: 70.2px;
|
|
44
|
-
}
|
|
45
42
|
.header .slotBefore,
|
|
46
43
|
.header .slotAfter,
|
|
47
44
|
.header .slotSizer {
|
|
@@ -53,15 +50,27 @@
|
|
|
53
50
|
.header .slotSizer > * {
|
|
54
51
|
margin: 0;
|
|
55
52
|
}
|
|
53
|
+
.header .slotAfter {
|
|
54
|
+
text-align: right;
|
|
55
|
+
}
|
|
56
56
|
.header .slotAfter .slotSizer > *:not(:first-child) {
|
|
57
57
|
margin-inline-start: var(--primitive-spacing-36);
|
|
58
58
|
}
|
|
59
|
+
:global(.enact-locale-right-to-left) .header .slotAfter {
|
|
60
|
+
text-align: left;
|
|
61
|
+
}
|
|
59
62
|
.header .slotBefore .slotSizer {
|
|
60
63
|
/* Select the children that have visible siblings right after them */
|
|
61
64
|
}
|
|
62
65
|
.header .slotBefore .slotSizer > *:not([style*="display: none"]):has( ~ *:not([style*="display: none"])) {
|
|
63
66
|
margin-inline-end: var(--primitive-spacing-36);
|
|
64
67
|
}
|
|
68
|
+
.header .slotAbove {
|
|
69
|
+
margin: 0 calc(var(--primitive-spacing-36) * -1) var(--primitive-spacing-24) calc(var(--primitive-spacing-36) * -1);
|
|
70
|
+
}
|
|
71
|
+
.header .slotBelow {
|
|
72
|
+
margin: var(--primitive-spacing-18) calc(var(--primitive-spacing-36) * -1) 0 calc(var(--primitive-spacing-36) * -1);
|
|
73
|
+
}
|
|
65
74
|
.header.centered:not(.isPopupHeader):not(.wizard) .titlesRow {
|
|
66
75
|
height: 5.875rem;
|
|
67
76
|
}
|
|
@@ -85,12 +94,13 @@
|
|
|
85
94
|
text-align: center;
|
|
86
95
|
}
|
|
87
96
|
.header.centered:not(.isPopupHeader).mini .title {
|
|
88
|
-
margin-top: calc(
|
|
97
|
+
margin-top: calc(18px / 2);
|
|
89
98
|
}
|
|
90
99
|
:global(.enact-orientation-portrait) .header.centered:not(.isPopupHeader).standard .title {
|
|
91
|
-
margin-top: calc(
|
|
100
|
+
margin-top: calc(18px / -2);
|
|
92
101
|
}
|
|
93
102
|
.header .title {
|
|
103
|
+
font-family: "Limestone Title", "Limestone";
|
|
94
104
|
margin: 0;
|
|
95
105
|
}
|
|
96
106
|
.header .subtitle {
|
|
@@ -101,18 +111,6 @@
|
|
|
101
111
|
margin-left: 0;
|
|
102
112
|
margin-right: var(--primitive-spacing-6);
|
|
103
113
|
}
|
|
104
|
-
.header .slotAbove {
|
|
105
|
-
margin: 0 calc(var(--primitive-spacing-36) * -1) var(--primitive-spacing-24) calc(var(--primitive-spacing-36) * -1);
|
|
106
|
-
}
|
|
107
|
-
.header .slotAfter {
|
|
108
|
-
text-align: right;
|
|
109
|
-
}
|
|
110
|
-
:global(.enact-locale-right-to-left) .header .slotAfter {
|
|
111
|
-
text-align: left;
|
|
112
|
-
}
|
|
113
|
-
.header .slotBelow {
|
|
114
|
-
margin: var(--primitive-spacing-18) calc(var(--primitive-spacing-36) * -1) 0 calc(var(--primitive-spacing-36) * -1);
|
|
115
|
-
}
|
|
116
114
|
.header.standard.slotBefore:not(.centered) .slotBefore,
|
|
117
115
|
.header.wizard.slotBefore:not(.centered) .slotBefore {
|
|
118
116
|
margin-left: 0;
|
|
@@ -154,6 +152,10 @@
|
|
|
154
152
|
}
|
|
155
153
|
.header.compact .title {
|
|
156
154
|
padding: 0;
|
|
155
|
+
font-size: 1.875rem;
|
|
156
|
+
}
|
|
157
|
+
:global(.enact-locale-non-latin) .header.compact .title {
|
|
158
|
+
font-size: 1.875rem;
|
|
157
159
|
}
|
|
158
160
|
.header.compact .titlesRow {
|
|
159
161
|
padding: 0 0 1.75rem;
|
|
@@ -162,12 +164,6 @@
|
|
|
162
164
|
padding: 0;
|
|
163
165
|
margin-top: 0.25rem;
|
|
164
166
|
}
|
|
165
|
-
.header.compact .title {
|
|
166
|
-
font-size: 1.875rem;
|
|
167
|
-
}
|
|
168
|
-
:global(.enact-locale-non-latin) .header.compact .title {
|
|
169
|
-
font-size: 1.875rem;
|
|
170
|
-
}
|
|
171
167
|
.header.compact.slotBefore .slotBefore {
|
|
172
168
|
margin-left: 0;
|
|
173
169
|
margin-right: var(--primitive-spacing-12);
|
|
@@ -186,10 +182,10 @@
|
|
|
186
182
|
}
|
|
187
183
|
.header.compact.isPopupHeader.slotAfter {
|
|
188
184
|
padding-left: 1.25rem;
|
|
189
|
-
padding-right:
|
|
185
|
+
padding-right: calc(60px - var(--primitive-spacing-24));
|
|
190
186
|
}
|
|
191
187
|
:global(.enact-locale-right-to-left) .header.compact.isPopupHeader.slotAfter {
|
|
192
|
-
padding-left:
|
|
188
|
+
padding-left: calc(60px - var(--primitive-spacing-24));
|
|
193
189
|
padding-right: 1.25rem;
|
|
194
190
|
}
|
|
195
191
|
.header.wizard {
|
|
@@ -197,20 +193,36 @@
|
|
|
197
193
|
padding: 3.2875rem 2.75rem 0.125rem 2.75rem;
|
|
198
194
|
}
|
|
199
195
|
.header.wizard.noSubtitle {
|
|
200
|
-
padding-bottom:
|
|
196
|
+
padding-bottom: calc(70.2px + var(--primitive-spacing-6));
|
|
201
197
|
}
|
|
202
198
|
.header.wizard .titleContainer:nth-child(2) {
|
|
203
199
|
top: 0;
|
|
204
200
|
position: absolute;
|
|
205
201
|
width: 100%;
|
|
206
202
|
}
|
|
203
|
+
.header.wizard .titlesRow {
|
|
204
|
+
padding-bottom: 70.2px;
|
|
205
|
+
}
|
|
207
206
|
.header.wizard .title {
|
|
208
|
-
font-size: 2.25rem;
|
|
209
207
|
padding: 0;
|
|
208
|
+
min-height: 3rem;
|
|
209
|
+
font-size: 2.25rem;
|
|
210
210
|
}
|
|
211
211
|
:global(.enact-locale-non-latin) .header.wizard .title {
|
|
212
212
|
font-size: 2.25rem;
|
|
213
213
|
}
|
|
214
|
+
:global(.enact-locale-km) .header.wizard .title {
|
|
215
|
+
min-height: 1.5em;
|
|
216
|
+
}
|
|
217
|
+
:global(.enact-locale-si) .header.wizard .title {
|
|
218
|
+
min-height: 1.5em;
|
|
219
|
+
}
|
|
220
|
+
:global(.enact-locale-th) .header.wizard .title {
|
|
221
|
+
min-height: 1.5em;
|
|
222
|
+
}
|
|
223
|
+
:global(.enact-locale-vi) .header.wizard .title {
|
|
224
|
+
min-height: 1.5em;
|
|
225
|
+
}
|
|
214
226
|
.header.wizard .subtitle {
|
|
215
227
|
padding: 0;
|
|
216
228
|
}
|
|
@@ -219,7 +231,7 @@
|
|
|
219
231
|
}
|
|
220
232
|
:global(.enact-orientation-portrait) .header.wizard.slotBefore .slotBefore,
|
|
221
233
|
:global(.enact-orientation-portrait) .header.wizard.slotAfter .slotAfter {
|
|
222
|
-
margin-top:
|
|
234
|
+
margin-top: calc((132px + -18px) * -1);
|
|
223
235
|
}
|
|
224
236
|
.header.mini {
|
|
225
237
|
margin: 0 0 0.75rem 0;
|
package/Panels/Panel.module.css
CHANGED
package/Panels/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { RoutableProps as ui_Routable_RoutableProps } from "@enact/ui/Routable";
|
|
4
4
|
import { SpotlightContainerDecoratorProps as spotlight_SpotlightContainerDecorator_SpotlightContainerDecoratorProps } from "@enact/spotlight/SpotlightContainerDecorator";
|
|
5
5
|
import { SlottableProps as ui_Slottable_SlottableProps } from "@enact/ui/Slottable";
|
|
6
|
-
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "limestone/Skinnable";
|
|
6
|
+
import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "@enact/limestone/Skinnable";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { RouteProps as ui_Routable_RouteProps } from "@enact/ui/Routable";
|
|
9
9
|
import { Arranger as ui_ViewManager_Arranger } from "@enact/ui/ViewManager";
|
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 {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
border-radius: var(--semantic-radius-container);
|
|
79
79
|
}
|
|
80
80
|
:global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .content .panels::before {
|
|
81
|
-
border-radius: var(--semantic-radius-
|
|
81
|
+
border-radius: var(--semantic-radius-overlay);
|
|
82
82
|
}
|
|
83
83
|
:global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .tabs,
|
|
84
84
|
:global(.enact-a11y-high-contrast) .popupTabLayout:global(.neutral):global(.highContrast) .content .panels::before {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
border-radius: var(--semantic-radius-container);
|
|
110
110
|
}
|
|
111
111
|
.popupTabLayout:global(.light) .content .panels::before {
|
|
112
|
-
border-radius: var(--semantic-radius-
|
|
112
|
+
border-radius: var(--semantic-radius-overlay);
|
|
113
113
|
}
|
|
114
114
|
.popupTabLayout:global(.light) .tabs,
|
|
115
115
|
.popupTabLayout:global(.light) .content .panels::before {
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
border-radius: var(--semantic-radius-container);
|
|
144
144
|
}
|
|
145
145
|
.popupTabLayout:global(.game) .content .panels::before {
|
|
146
|
-
border-radius: var(--semantic-radius-
|
|
146
|
+
border-radius: var(--semantic-radius-overlay);
|
|
147
147
|
}
|
|
148
148
|
.popupTabLayout:global(.game) .tabs,
|
|
149
149
|
.popupTabLayout:global(.game) .content .panels::before {
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
border-radius: var(--semantic-radius-container);
|
|
177
177
|
}
|
|
178
178
|
:global(.green) .popupTabLayout:global(.game) .content .panels::before {
|
|
179
|
-
border-radius: var(--semantic-radius-
|
|
179
|
+
border-radius: var(--semantic-radius-overlay);
|
|
180
180
|
}
|
|
181
181
|
:global(.green) .popupTabLayout:global(.game) .tabs,
|
|
182
182
|
:global(.green) .popupTabLayout:global(.game) .content .panels::before {
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
border-radius: var(--semantic-radius-container);
|
|
210
210
|
}
|
|
211
211
|
:global(.orange) .popupTabLayout:global(.game) .content .panels::before {
|
|
212
|
-
border-radius: var(--semantic-radius-
|
|
212
|
+
border-radius: var(--semantic-radius-overlay);
|
|
213
213
|
}
|
|
214
214
|
:global(.orange) .popupTabLayout:global(.game) .tabs,
|
|
215
215
|
:global(.orange) .popupTabLayout:global(.game) .content .panels::before {
|
|
@@ -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>>;
|