@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.
Files changed (133) hide show
  1. package/.github/PULL_REQUEST_TEMPLATE.md +1 -0
  2. package/ActionGuide/ActionGuide.d.ts +1 -1
  3. package/ActionGuide/ActionGuide.module.css +7 -0
  4. package/Alert/Alert.d.ts +9 -0
  5. package/Alert/Alert.js +63 -21
  6. package/Alert/Alert.module.css +41 -9
  7. package/Alert/AlertImage.module.css +5 -1
  8. package/Alert/tests/Alert-specs.js +6 -2
  9. package/BodyText/BodyText.d.ts +1 -1
  10. package/BodyText/BodyText.js +14 -9
  11. package/BodyText/BodyText.module.css +22 -1
  12. package/Button/Button.d.ts +3 -3
  13. package/Button/Button.module.css +81 -63
  14. package/CHANGELOG.md +87 -0
  15. package/Card/Card.d.ts +81 -9
  16. package/Card/Card.js +324 -84
  17. package/Card/Card.module.css +200 -25
  18. package/Card/tests/Card-specs.js +100 -0
  19. package/Checkbox/Checkbox.d.ts +2 -2
  20. package/Checkbox/Checkbox.module.css +2 -5
  21. package/CheckboxItem/CheckboxItem.d.ts +8 -1
  22. package/CheckboxItem/CheckboxItem.js +39 -12
  23. package/CheckboxItem/CheckboxItem.module.css +228 -4
  24. package/Chips/Chip.module.css +5 -2
  25. package/ContextualMenuDecorator/ContextualMenuDecorator.d.ts +2 -2
  26. package/ContextualPopupDecorator/ContextualPopup.module.css +1 -1
  27. package/ContextualPopupDecorator/ContextualPopupDecorator.js +2 -4
  28. package/ContextualPopupDecorator/tests/ContextualPopupDecorator-specs.js +39 -2
  29. package/Dropdown/Dropdown.d.ts +2 -2
  30. package/Dropdown/Dropdown.module.css +7 -7
  31. package/FixedPopupPanels/FixedPopupPanels.d.ts +2 -2
  32. package/FlexiblePopupPanels/FlexiblePopupPanels.module.css +15 -3
  33. package/FlexiblePopupPanels/index.d.ts +2 -2
  34. package/FormCheckboxItem/FormCheckboxItem.d.ts +1 -1
  35. package/FormCheckboxItem/FormCheckboxItem.js +1 -0
  36. package/FormCheckboxItem/FormCheckboxItem.module.css +1 -1
  37. package/Heading/Heading.d.ts +2 -2
  38. package/Heading/Heading.module.css +16 -0
  39. package/Icon/Icon.d.ts +22 -1
  40. package/Icon/Icon.js +21 -0
  41. package/Icon/Icon.module.css +12 -0
  42. package/Icon/IconList.js +43 -1
  43. package/IconItem/IconItem.d.ts +2 -2
  44. package/IconItem/IconItem.module.css +27 -14
  45. package/Image/Image.d.ts +1 -1
  46. package/Image/Image.module.css +1 -1
  47. package/ImageItem/ImageItem.d.ts +2 -2
  48. package/ImageItem/ImageItem.js +3 -16
  49. package/ImageItem/ImageItem.module.css +122 -97
  50. package/ImageItem/tests/ImageItem-specs.js +6 -5
  51. package/Input/Input.module.css +33 -16
  52. package/Input/InputField.module.css +22 -4
  53. package/Input/index.d.ts +1 -1
  54. package/Input/tests/Input-specs.js +2 -2
  55. package/Input/tests/InputField-specs.js +1 -1
  56. package/Item/Item.d.ts +2 -2
  57. package/Item/Item.module.css +29 -16
  58. package/KeyGuide/KeyGuide.d.ts +2 -2
  59. package/KeyGuide/KeyGuide.module.css +10 -0
  60. package/MediaOverlay/MediaOverlay.d.ts +2 -2
  61. package/MediaOverlay/MediaOverlay.module.css +18 -9
  62. package/MediaPlayer/MediaControls.module.css +3 -0
  63. package/MediaPlayer/MediaSlider.module.css +1 -0
  64. package/MediaPlayer/Times.module.css +5 -1
  65. package/MediaPlayer/index.d.ts +2 -2
  66. package/PageViews/PageViews.module.css +6 -1
  67. package/Panels/Header.module.css +74 -56
  68. package/Panels/Panel.module.css +1 -1
  69. package/Panels/index.d.ts +1 -1
  70. package/Picker/Picker.d.ts +1 -1
  71. package/Popup/Popup.module.css +4 -1
  72. package/PopupTabLayout/PopupTabLayout.d.ts +6 -6
  73. package/PopupTabLayout/PopupTabLayout.module.css +24 -6
  74. package/ProgressBar/ProgressBar.d.ts +1 -1
  75. package/ProgressBar/ProgressBar.module.css +12 -12
  76. package/ProgressBar/ProgressBarTooltip.module.css +7 -7
  77. package/ProgressButton/ProgressButton.d.ts +2 -2
  78. package/QuickGuidePanels/QuickGuidePanels.module.css +1 -1
  79. package/RadioItem/RadioItem.d.ts +1 -1
  80. package/RadioItem/RadioItem.module.css +21 -18
  81. package/Scroller/EditableWrapper.js +2 -1
  82. package/Scroller/Scroller.d.ts +12 -0
  83. package/Scroller/Scroller.js +15 -0
  84. package/Scroller/Scroller.module.css +10 -0
  85. package/Scroller/tests/Scroller-specs.js +120 -2
  86. package/Scroller/useThemeScroller.js +25 -2
  87. package/Slider/Slider.d.ts +1 -1
  88. package/Slider/Slider.module.css +539 -303
  89. package/Spinner/Spinner.d.ts +1 -1
  90. package/Spinner/Spinner.module.css +2 -2
  91. package/Steps/Steps.d.ts +1 -1
  92. package/Steps/Steps.js +12 -6
  93. package/Steps/Steps.module.css +19 -2
  94. package/Switch/Switch.module.css +17 -6
  95. package/SwitchItem/SwitchItem.d.ts +1 -1
  96. package/TabLayout/RefocusDecorator.js +1 -1
  97. package/TabLayout/TabGroup.module.css +13 -7
  98. package/TabLayout/TabLayout.js +4 -0
  99. package/ThemeDecorator/ThemeDecorator.d.ts +1 -1
  100. package/ThemeDecorator/ThemeDecorator.module.css +22 -1
  101. package/TimePicker/TimePicker.module.css +3 -0
  102. package/TooltipDecorator/Tooltip.js +68 -7
  103. package/TooltipDecorator/Tooltip.module.css +44 -23
  104. package/TooltipDecorator/TooltipDecorator.d.ts +52 -0
  105. package/TooltipDecorator/TooltipDecorator.js +42 -0
  106. package/TooltipDecorator/TooltipLabel.js +67 -14
  107. package/TooltipDecorator/tests/TooltipDecorator-specs.js +46 -0
  108. package/TooltipDecorator/useTooltip.js +14 -2
  109. package/VideoPlayer/Feedback.module.css +3 -0
  110. package/VideoPlayer/FeedbackTooltip.module.css +7 -0
  111. package/VideoPlayer/MediaTitle.module.css +9 -1
  112. package/VirtualList/VirtualList.d.ts +24 -0
  113. package/VirtualList/VirtualList.js +30 -0
  114. package/VirtualList/tests/stickTo-specs.js +115 -0
  115. package/VirtualList/tests/useEvent-specs.js +39 -0
  116. package/VirtualList/useEvent.js +45 -10
  117. package/VirtualList/useThemeVirtualList.js +20 -2
  118. package/WizardPanels/WizardPanels.module.css +1 -1
  119. package/fonts/Limestone_Icons.ttf +0 -0
  120. package/internal/DateComponentPicker/DateComponentPicker.module.css +3 -3
  121. package/internal/DateTime/DateTime.module.css +3 -0
  122. package/internal/Picker/Picker.js +8 -10
  123. package/internal/Picker/Picker.module.css +92 -137
  124. package/package.json +14 -17
  125. package/styles/color-mixins.less +4 -60
  126. package/styles/colors-game.less +5 -5
  127. package/styles/colors.less +9 -10
  128. package/styles/mixins.less +0 -46
  129. package/styles/motion-mixins.less +16 -7
  130. package/styles/motions.less +2 -2
  131. package/styles/variables.less +186 -69
  132. package/useScroll/ScrollbarPlaceholder.js +8 -3
  133. package/useScroll/useScroll.js +3 -1
@@ -259,7 +259,7 @@ describe('InputField Specs', function () {
259
259
  invalid: true,
260
260
  invalidMessage: "invalid message"
261
261
  }));
262
- var invalidText = _react.screen.getByText('invalid message').parentElement.parentElement;
262
+ var invalidText = _react.screen.getByText('invalid message').parentElement.parentElement.parentElement;
263
263
  var expected = 'tooltipLabel';
264
264
  expect(invalidText).toBeInTheDocument();
265
265
  expect(invalidText).toHaveClass(expected);
package/Item/Item.d.ts CHANGED
@@ -3,8 +3,8 @@
3
3
  import { ItemDecoratorProps as ui_Item_ItemDecoratorProps } from "@enact/ui/Item";
4
4
  import { SlottableProps as ui_Slottable_SlottableProps } from "@enact/ui/Slottable";
5
5
  import { SpottableProps as spotlight_Spottable_SpottableProps } from "@enact/spotlight/Spottable";
6
- import { MarqueeControllerProps as limestone_Marquee_MarqueeControllerProps } from "limestone/Marquee";
7
- import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "limestone/Skinnable";
6
+ import { MarqueeControllerProps as limestone_Marquee_MarqueeControllerProps } from "@enact/limestone/Marquee";
7
+ import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "@enact/limestone/Skinnable";
8
8
  import { ItemBaseProps as ui_Item_ItemBaseProps } from "@enact/ui/Item";
9
9
  import * as React from "react";
10
10
 
@@ -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.4em;
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-container);
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.4em;
108
+ line-height: 1.34em;
109
109
  }
110
110
  :global(.enact-locale-km) .item:global(.largeText) {
111
111
  line-height: 1.5em;
@@ -120,7 +120,8 @@
120
120
  line-height: 1.5em;
121
121
  }
122
122
  .item:global(.largeText) .label {
123
- font-size: var(--primitive-font-size-54);
123
+ font-size: var(--primitive-font-size-58);
124
+ line-height: 1.2em;
124
125
  }
125
126
  .item.large {
126
127
  /* Needed to prevent global class being added in the DOM */
@@ -129,7 +130,7 @@
129
130
  font-size: var(--primitive-font-size-60);
130
131
  font-weight: var(--primitive-font-weight-semibold);
131
132
  height: 2.625rem;
132
- line-height: 1.4em;
133
+ line-height: 1.34em;
133
134
  }
134
135
  :global(.enact-locale-km) .item.small {
135
136
  line-height: 1.5em;
@@ -149,7 +150,7 @@
149
150
  .item.small .label {
150
151
  font-size: var(--primitive-font-size-48);
151
152
  font-weight: var(--primitive-font-weight-regular);
152
- line-height: 1.4em;
153
+ line-height: 1.34em;
153
154
  }
154
155
  :global(.enact-locale-km) .item.small {
155
156
  font-size: var(--primitive-font-size-60);
@@ -165,7 +166,7 @@
165
166
  }
166
167
  .item.small:global(.largeText) {
167
168
  font-size: var(--primitive-font-size-72);
168
- line-height: 1.4em;
169
+ line-height: 1.34em;
169
170
  }
170
171
  :global(.enact-locale-km) .item.small:global(.largeText) {
171
172
  line-height: 1.5em;
@@ -209,6 +210,7 @@
209
210
  opacity: 1;
210
211
  background-color: var(--semantic-color-surface-default-focused);
211
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';
212
214
  }
213
215
  :global(.spotlight-input-key) .item:global(.neutral):global(.spottable):focus .label,
214
216
  :global(.spotlight-input-mouse) .item:global(.neutral):global(.spottable):focus .label {
@@ -221,6 +223,7 @@
221
223
  opacity: 1;
222
224
  background-color: var(--semantic-color-surface-default-focused);
223
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';
224
227
  }
225
228
  :global(.spotlight-input-touch) .item:global(.neutral):global(.spottable):active .label {
226
229
  color: var(--semantic-color-on-surface-sub-focused);
@@ -287,6 +290,7 @@
287
290
  opacity: 1;
288
291
  background-color: var(--semantic-color-surface-default-focused);
289
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';
290
294
  }
291
295
  :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .item:global(.neutral):global(.highContrast):global(.spottable):focus .label,
292
296
  :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .item:global(.neutral):global(.highContrast):global(.spottable):focus .label {
@@ -299,6 +303,7 @@
299
303
  opacity: 1;
300
304
  background-color: var(--semantic-color-surface-default-focused);
301
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';
302
307
  }
303
308
  :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .item:global(.neutral):global(.highContrast):global(.spottable):active .label {
304
309
  color: var(--semantic-color-on-surface-sub-focused);
@@ -365,6 +370,7 @@
365
370
  opacity: 1;
366
371
  background-color: var(--semantic-color-surface-default-focused);
367
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';
368
374
  }
369
375
  :global(.spotlight-input-key) .item:global(.light):global(.spottable):focus .label,
370
376
  :global(.spotlight-input-mouse) .item:global(.light):global(.spottable):focus .label {
@@ -377,6 +383,7 @@
377
383
  opacity: 1;
378
384
  background-color: var(--semantic-color-surface-default-focused);
379
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';
380
387
  }
381
388
  :global(.spotlight-input-touch) .item:global(.light):global(.spottable):active .label {
382
389
  color: var(--semantic-color-on-surface-sub-focused);
@@ -448,10 +455,11 @@
448
455
  opacity: 1;
449
456
  background-color: var(--semantic-color-surface-default-focused);
450
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);
451
459
  }
452
460
  :global(.spotlight-input-key) .item:global(.game):global(.spottable):focus .label,
453
461
  :global(.spotlight-input-mouse) .item:global(.game):global(.spottable):focus .label {
454
- color: var(--semantic-color-on-surface-sub-focused);
462
+ color: #abaeb3;
455
463
  }
456
464
  :global(.spotlight-input-touch) .item:global(.game):global(.spottable):active {
457
465
  color: var(--semantic-color-on-surface-main-focused);
@@ -460,9 +468,10 @@
460
468
  opacity: 1;
461
469
  background-color: var(--semantic-color-surface-default-focused);
462
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);
463
472
  }
464
473
  :global(.spotlight-input-touch) .item:global(.game):global(.spottable):active .label {
465
- color: var(--semantic-color-on-surface-sub-focused);
474
+ color: #abaeb3;
466
475
  }
467
476
  :global(.spotlight-input-key) :global(.noAnimation) .item:global(.game):global(.spottable):focus .bg,
468
477
  :global(.spotlight-input-mouse) :global(.noAnimation) .item:global(.game):global(.spottable):focus .bg {
@@ -530,10 +539,11 @@
530
539
  opacity: 1;
531
540
  background-color: var(--semantic-color-surface-default-focused);
532
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));
533
543
  }
534
544
  :global(.spotlight-input-key) :global(.green) .item:global(.game):global(.spottable):focus .label,
535
545
  :global(.spotlight-input-mouse) :global(.green) .item:global(.game):global(.spottable):focus .label {
536
- color: var(--semantic-color-on-surface-sub-focused);
546
+ color: #abaeb3;
537
547
  }
538
548
  :global(.spotlight-input-touch) :global(.green) .item:global(.game):global(.spottable):active {
539
549
  color: var(--semantic-color-on-surface-main-focused);
@@ -542,9 +552,10 @@
542
552
  opacity: 1;
543
553
  background-color: var(--semantic-color-surface-default-focused);
544
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));
545
556
  }
546
557
  :global(.spotlight-input-touch) :global(.green) .item:global(.game):global(.spottable):active .label {
547
- color: var(--semantic-color-on-surface-sub-focused);
558
+ color: #abaeb3;
548
559
  }
549
560
  :global(.spotlight-input-key) :global(.noAnimation) :global(.green) .item:global(.game):global(.spottable):focus .bg,
550
561
  :global(.spotlight-input-mouse) :global(.noAnimation) :global(.green) .item:global(.game):global(.spottable):focus .bg {
@@ -612,10 +623,11 @@
612
623
  opacity: 1;
613
624
  background-color: var(--semantic-color-surface-default-focused);
614
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);
615
627
  }
616
628
  :global(.spotlight-input-key) :global(.orange) .item:global(.game):global(.spottable):focus .label,
617
629
  :global(.spotlight-input-mouse) :global(.orange) .item:global(.game):global(.spottable):focus .label {
618
- color: var(--semantic-color-on-surface-sub-focused);
630
+ color: #abaeb3;
619
631
  }
620
632
  :global(.spotlight-input-touch) :global(.orange) .item:global(.game):global(.spottable):active {
621
633
  color: var(--semantic-color-on-surface-main-focused);
@@ -624,9 +636,10 @@
624
636
  opacity: 1;
625
637
  background-color: var(--semantic-color-surface-default-focused);
626
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);
627
640
  }
628
641
  :global(.spotlight-input-touch) :global(.orange) .item:global(.game):global(.spottable):active .label {
629
- color: var(--semantic-color-on-surface-sub-focused);
642
+ color: #abaeb3;
630
643
  }
631
644
  :global(.spotlight-input-key) :global(.noAnimation) :global(.orange) .item:global(.game):global(.spottable):focus .bg,
632
645
  :global(.spotlight-input-mouse) :global(.noAnimation) :global(.orange) .item:global(.game):global(.spottable):focus .bg {
@@ -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>>;
@@ -62,6 +62,16 @@
62
62
  .keyGuide .imageItem .text .bodyText {
63
63
  margin: 0;
64
64
  }
65
+ .keyGuide:global(.largeText) .item {
66
+ font-size: var(--primitive-font-size-72);
67
+ }
68
+ .keyGuide:global(.largeText) .item .slotBefore .red,
69
+ .keyGuide:global(.largeText) .item .slotBefore .green,
70
+ .keyGuide:global(.largeText) .item .slotBefore .yellow,
71
+ .keyGuide:global(.largeText) .item .slotBefore .blue {
72
+ width: calc(1.25rem * 1.2);
73
+ height: calc(0.25rem * 1.2);
74
+ }
65
75
  .keyGuide:global(.neutral) {
66
76
  background: var(--semantic-color-surface-overlay-default);
67
77
  outline-color: transparent;
@@ -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-EIO-motion-easing-function);
38
- --lime-release-motion-easing-function: var(--lime-EO-motion-easing-function);
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 {
@@ -157,13 +154,13 @@ Motion Mixins
157
154
  .mediaOverlay .text {
158
155
  font-family: "Limestone";
159
156
  font-size: var(--primitive-font-size-48);
160
- line-height: 1.3em;
157
+ line-height: 1.25rem;
161
158
  margin-bottom: var(--primitive-spacing-36);
162
159
  }
163
160
  :global(.enact-locale-non-latin) .mediaOverlay .text {
164
161
  font-family: "Limestone";
165
162
  font-size: var(--primitive-font-size-48);
166
- line-height: 1.3em;
163
+ line-height: 1.25rem;
167
164
  }
168
165
  .mediaOverlay .progressBar {
169
166
  position: absolute;
@@ -195,12 +192,24 @@ Motion Mixins
195
192
  .mediaOverlay .subtitle {
196
193
  font-family: "Limestone";
197
194
  font-size: var(--primitive-font-size-48);
198
- line-height: 1.3em;
195
+ line-height: 1.25rem;
199
196
  }
200
197
  :global(.enact-locale-non-latin) .mediaOverlay .subtitle {
201
198
  font-family: "Limestone";
202
199
  font-size: var(--primitive-font-size-48);
203
- line-height: 1.3em;
200
+ line-height: 1.25rem;
201
+ }
202
+ .mediaOverlay:global(.largeText) .text {
203
+ font-size: var(--primitive-font-size-60);
204
+ line-height: 1.45833rem;
205
+ }
206
+ .mediaOverlay:global(.largeText) .caption,
207
+ .mediaOverlay:global(.largeText) .title {
208
+ font-size: var(--primitive-font-size-72);
209
+ }
210
+ .mediaOverlay:global(.largeText) .subtitle {
211
+ font-size: var(--primitive-font-size-58);
212
+ line-height: 1.45833rem;
204
213
  }
205
214
  .mediaOverlay:global(.neutral) .bg {
206
215
  opacity: 0;
@@ -24,6 +24,9 @@
24
24
  .controlsFrame .mediaControls .button .icon {
25
25
  --icon-size: 2.25rem;
26
26
  }
27
+ .controlsFrame .mediaControls .button:global(.largeText) .icon {
28
+ --icon-size: 2.70833rem;
29
+ }
27
30
  .controlsFrame .actionGuide {
28
31
  height: 3.5rem;
29
32
  padding-bottom: 0;
@@ -7,6 +7,7 @@
7
7
  }
8
8
  .sliderFrame .mediaSlider {
9
9
  margin: 0 0.75rem;
10
+ min-height: auto;
10
11
  padding: 0.5rem 0;
11
12
  height: 0.25rem;
12
13
  }
@@ -2,7 +2,7 @@
2
2
  font-family: "Limestone";
3
3
  font-weight: normal;
4
4
  font-size: var(--primitive-font-size-48);
5
- line-height: 1.4em;
5
+ line-height: 1.34em;
6
6
  line-height: 1.25rem;
7
7
  white-space: nowrap;
8
8
  min-width: 4rem;
@@ -23,6 +23,10 @@
23
23
  :global(.enact-locale-vi) .times {
24
24
  line-height: 1.7em;
25
25
  }
26
+ :global(.largeText) .times {
27
+ font-size: var(--primitive-font-size-58);
28
+ line-height: 1.45833rem;
29
+ }
26
30
  .times > * {
27
31
  display: inline-block;
28
32
  }
@@ -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% - 2.75rem / 2 );
21
+ top: calc(50% - 2.75rem / 2 );
22
22
  z-index: 10;
23
23
  pointer-events: none;
24
24
  }
@@ -50,6 +50,10 @@
50
50
  justify-content: space-evenly;
51
51
  padding: 0 var(--primitive-spacing-36);
52
52
  width: 3.5rem;
53
+ font-size: var(--primitive-font-size-60);
54
+ }
55
+ :global(.largeText) .pageViews.number .stepsRow .pageNumber {
56
+ font-size: var(--primitive-font-size-72);
53
57
  }
54
58
  .pageViews.number .stepsRow .pageNumber .separator {
55
59
  width: 0.6875rem;
@@ -57,6 +61,7 @@
57
61
  .pageViews.dot .steps {
58
62
  display: flex;
59
63
  align-items: center;
64
+ margin-top: 0;
60
65
  min-height: 2.75rem;
61
66
  gap: var(--primitive-spacing-24);
62
67
  }
@@ -17,25 +17,6 @@
17
17
  .header .titlesRow .back {
18
18
  margin-inline-start: 0;
19
19
  }
20
- .header .titlesRow .back:global(.largeText) {
21
- font-family: "Limestone";
22
- font-size: var(--primitive-font-size-60);
23
- font-style: normal;
24
- font-weight: var(--primitive-font-weight-semibold);
25
- font-kerning: normal;
26
- height: 2.75rem;
27
- line-height: 2.5rem;
28
- min-width: 2.75rem;
29
- }
30
- :global(.enact-locale-non-latin) .header .titlesRow .back:global(.largeText) {
31
- font-family: "Limestone";
32
- }
33
- :global(.enact-locale-non-latin) .header .titlesRow .back:global(.largeText) {
34
- font-family: "Limestone";
35
- font-size: var(--primitive-font-size-54);
36
- font-style: normal;
37
- font-weight: var(--primitive-font-weight-bold);
38
- }
39
20
  .header .titlesRow .close {
40
21
  margin-inline-end: 0;
41
22
  }
@@ -58,9 +39,6 @@
58
39
  align-items: center;
59
40
  height: 4.25rem;
60
41
  }
61
- .header.wizard .titlesRow {
62
- padding-bottom: 70.2px;
63
- }
64
42
  .header .slotBefore,
65
43
  .header .slotAfter,
66
44
  .header .slotSizer {
@@ -72,15 +50,27 @@
72
50
  .header .slotSizer > * {
73
51
  margin: 0;
74
52
  }
53
+ .header .slotAfter {
54
+ text-align: right;
55
+ }
75
56
  .header .slotAfter .slotSizer > *:not(:first-child) {
76
57
  margin-inline-start: var(--primitive-spacing-36);
77
58
  }
59
+ :global(.enact-locale-right-to-left) .header .slotAfter {
60
+ text-align: left;
61
+ }
78
62
  .header .slotBefore .slotSizer {
79
63
  /* Select the children that have visible siblings right after them */
80
64
  }
81
65
  .header .slotBefore .slotSizer > *:not([style*="display: none"]):has( ~ *:not([style*="display: none"])) {
82
66
  margin-inline-end: var(--primitive-spacing-36);
83
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
+ }
84
74
  .header.centered:not(.isPopupHeader):not(.wizard) .titlesRow {
85
75
  height: 5.875rem;
86
76
  }
@@ -103,7 +93,14 @@
103
93
  .header.centered:not(.isPopupHeader) .slotBelow {
104
94
  text-align: center;
105
95
  }
96
+ .header.centered:not(.isPopupHeader).mini .title {
97
+ margin-top: calc(18px / 2);
98
+ }
99
+ :global(.enact-orientation-portrait) .header.centered:not(.isPopupHeader).standard .title {
100
+ margin-top: calc(18px / -2);
101
+ }
106
102
  .header .title {
103
+ font-family: "Limestone Title", "Limestone";
107
104
  margin: 0;
108
105
  }
109
106
  .header .subtitle {
@@ -114,38 +111,22 @@
114
111
  margin-left: 0;
115
112
  margin-right: var(--primitive-spacing-6);
116
113
  }
117
- .header .slotAbove {
118
- margin: 0 calc(var(--primitive-spacing-36) * -1) var(--primitive-spacing-24) calc(var(--primitive-spacing-36) * -1);
119
- }
120
- .header .slotAfter {
121
- text-align: right;
122
- }
123
- :global(.enact-locale-right-to-left) .header .slotAfter {
124
- text-align: left;
125
- }
126
- .header .slotBelow {
127
- margin: var(--primitive-spacing-18) calc(var(--primitive-spacing-36) * -1) 0 calc(var(--primitive-spacing-36) * -1);
128
- }
129
114
  .header.standard.slotBefore:not(.centered) .slotBefore,
130
- .header.mini.slotBefore:not(.centered) .slotBefore,
131
115
  .header.wizard.slotBefore:not(.centered) .slotBefore {
132
116
  margin-left: 0;
133
117
  margin-right: var(--primitive-spacing-36);
134
118
  }
135
119
  :global(.enact-locale-right-to-left) .header.standard.slotBefore:not(.centered) .slotBefore,
136
- :global(.enact-locale-right-to-left) .header.mini.slotBefore:not(.centered) .slotBefore,
137
120
  :global(.enact-locale-right-to-left) .header.wizard.slotBefore:not(.centered) .slotBefore {
138
121
  margin-left: var(--primitive-spacing-36);
139
122
  margin-right: 0;
140
123
  }
141
124
  .header.standard.slotAfter:not(.centered) .slotAfter,
142
- .header.mini.slotAfter:not(.centered) .slotAfter,
143
125
  .header.wizard.slotAfter:not(.centered) .slotAfter {
144
126
  margin-left: var(--primitive-spacing-36);
145
127
  margin-right: 0;
146
128
  }
147
129
  :global(.enact-locale-right-to-left) .header.standard.slotAfter:not(.centered) .slotAfter,
148
- :global(.enact-locale-right-to-left) .header.mini.slotAfter:not(.centered) .slotAfter,
149
130
  :global(.enact-locale-right-to-left) .header.wizard.slotAfter:not(.centered) .slotAfter {
150
131
  margin-left: 0;
151
132
  margin-right: var(--primitive-spacing-36);
@@ -171,6 +152,10 @@
171
152
  }
172
153
  .header.compact .title {
173
154
  padding: 0;
155
+ font-size: 1.875rem;
156
+ }
157
+ :global(.enact-locale-non-latin) .header.compact .title {
158
+ font-size: 1.875rem;
174
159
  }
175
160
  .header.compact .titlesRow {
176
161
  padding: 0 0 1.75rem;
@@ -179,34 +164,28 @@
179
164
  padding: 0;
180
165
  margin-top: 0.25rem;
181
166
  }
182
- .header.compact .title {
183
- font-size: 1.875rem;
184
- }
185
- :global(.enact-locale-non-latin) .header.compact .title {
186
- font-size: 1.875rem;
187
- }
188
- .header.compact.slotBefore:not(.centered) .slotBefore {
167
+ .header.compact.slotBefore .slotBefore {
189
168
  margin-left: 0;
190
- margin-right: var(--primitive-spacing-24);
169
+ margin-right: var(--primitive-spacing-12);
191
170
  }
192
- :global(.enact-locale-right-to-left) .header.compact.slotBefore:not(.centered) .slotBefore {
193
- margin-left: var(--primitive-spacing-24);
171
+ :global(.enact-locale-right-to-left) .header.compact.slotBefore .slotBefore {
172
+ margin-left: var(--primitive-spacing-12);
194
173
  margin-right: 0;
195
174
  }
196
- .header.compact.slotAfter:not(.centered) .slotAfter {
197
- margin-left: var(--primitive-spacing-30);
175
+ .header.compact.slotAfter .slotAfter {
176
+ margin-left: var(--primitive-spacing-12);
198
177
  margin-right: 0;
199
178
  }
200
- :global(.enact-locale-right-to-left) .header.compact.slotAfter:not(.centered) .slotAfter {
179
+ :global(.enact-locale-right-to-left) .header.compact.slotAfter .slotAfter {
201
180
  margin-left: 0;
202
- margin-right: var(--primitive-spacing-30);
181
+ margin-right: var(--primitive-spacing-12);
203
182
  }
204
183
  .header.compact.isPopupHeader.slotAfter {
205
184
  padding-left: 1.25rem;
206
- padding-right: NaNrem - var(--primitive-spacing-24));
185
+ padding-right: calc(60px - var(--primitive-spacing-24));
207
186
  }
208
187
  :global(.enact-locale-right-to-left) .header.compact.isPopupHeader.slotAfter {
209
- padding-left: NaNrem - var(--primitive-spacing-24));
188
+ padding-left: calc(60px - var(--primitive-spacing-24));
210
189
  padding-right: 1.25rem;
211
190
  }
212
191
  .header.wizard {
@@ -214,26 +193,46 @@
214
193
  padding: 3.2875rem 2.75rem 0.125rem 2.75rem;
215
194
  }
216
195
  .header.wizard.noSubtitle {
217
- padding-bottom: NaNrem + var(--primitive-spacing-6));
196
+ padding-bottom: calc(70.2px + var(--primitive-spacing-6));
218
197
  }
219
198
  .header.wizard .titleContainer:nth-child(2) {
220
199
  top: 0;
221
200
  position: absolute;
222
201
  width: 100%;
223
202
  }
203
+ .header.wizard .titlesRow {
204
+ padding-bottom: 70.2px;
205
+ }
224
206
  .header.wizard .title {
225
- font-size: 2.25rem;
226
207
  padding: 0;
208
+ min-height: 3rem;
209
+ font-size: 2.25rem;
227
210
  }
228
211
  :global(.enact-locale-non-latin) .header.wizard .title {
229
212
  font-size: 2.25rem;
230
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
+ }
231
226
  .header.wizard .subtitle {
232
227
  padding: 0;
233
228
  }
234
229
  .header.wizard.centered .subtitle {
235
230
  text-align: center;
236
231
  }
232
+ :global(.enact-orientation-portrait) .header.wizard.slotBefore .slotBefore,
233
+ :global(.enact-orientation-portrait) .header.wizard.slotAfter .slotAfter {
234
+ margin-top: calc((132px + -18px) * -1);
235
+ }
237
236
  .header.mini {
238
237
  margin: 0 0 0.75rem 0;
239
238
  padding: 0.86458rem 1.25rem 0.55208rem 1.25rem;
@@ -250,6 +249,25 @@
250
249
  :global(.enact-locale-non-latin) .header.mini .title {
251
250
  font-size: 1.875rem;
252
251
  }
252
+ .header.mini .title:not(.isPopupHeader) {
253
+ margin-top: calc(abs(-18px) / 2);
254
+ }
255
+ .header.mini.slotBefore .slotBefore {
256
+ margin-left: 0;
257
+ margin-right: var(--primitive-spacing-12);
258
+ }
259
+ :global(.enact-locale-right-to-left) .header.mini.slotBefore .slotBefore {
260
+ margin-left: var(--primitive-spacing-12);
261
+ margin-right: 0;
262
+ }
263
+ .header.mini.slotAfter .slotAfter {
264
+ margin-left: var(--primitive-spacing-12);
265
+ margin-right: 0;
266
+ }
267
+ :global(.enact-locale-right-to-left) .header.mini.slotAfter .slotAfter {
268
+ margin-left: 0;
269
+ margin-right: var(--primitive-spacing-12);
270
+ }
253
271
  .header.mini.withSubtitle:not(.noSubtitle) .titlesRow {
254
272
  padding-bottom: 70.2px;
255
273
  }
@@ -12,7 +12,7 @@
12
12
  }
13
13
  .panel .body {
14
14
  position: relative;
15
- padding: 0 NaNrem - var(--primitive-spacing-36));
15
+ padding: 0 calc(132px - var(--primitive-spacing-36));
16
16
  flex: 1;
17
17
  min-height: 0;
18
18
  opacity: 0;
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";