@enact/limestone 1.10.0 → 1.10.1
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/ActionGuide/ActionGuide.module.css +4 -0
- package/BodyText/BodyText.module.css +21 -0
- package/Button/Button.module.css +72 -40
- package/CHANGELOG.md +40 -0
- package/Card/Card.js +3 -0
- package/Card/Card.module.css +31 -7
- package/Checkbox/Checkbox.module.css +4 -0
- package/Chips/Chip.module.css +3 -0
- package/Heading/Heading.module.css +16 -0
- package/Icon/Icon.module.css +12 -0
- package/IconItem/IconItem.module.css +16 -0
- package/ImageItem/ImageItem.module.css +17 -0
- package/Input/Input.module.css +25 -9
- package/Input/InputField.module.css +18 -0
- package/Item/Item.module.css +2 -1
- package/KeyGuide/KeyGuide.module.css +10 -0
- package/MediaOverlay/MediaOverlay.module.css +16 -4
- package/MediaPlayer/MediaControls.module.css +3 -0
- package/MediaPlayer/Times.module.css +4 -0
- package/PageViews/PageViews.module.css +4 -0
- package/Panels/Header.module.css +37 -31
- package/PopupTabLayout/PopupTabLayout.module.css +18 -0
- package/RadioItem/RadioItem.module.css +5 -0
- package/Scroller/EditableWrapper.js +2 -1
- package/Scroller/Scroller.module.css +10 -0
- package/Scroller/tests/Scroller-specs.js +91 -2
- package/Scroller/useThemeScroller.js +3 -0
- package/Slider/Slider.module.css +0 -3
- package/Steps/Steps.module.css +3 -0
- package/Switch/Switch.module.css +15 -1
- package/TabLayout/TabGroup.module.css +1 -1
- package/TimePicker/TimePicker.module.css +3 -0
- package/TooltipDecorator/Tooltip.module.css +4 -0
- package/VideoPlayer/Feedback.module.css +3 -0
- package/VideoPlayer/FeedbackTooltip.module.css +7 -0
- package/VideoPlayer/MediaTitle.module.css +8 -0
- package/internal/DateTime/DateTime.module.css +3 -0
- package/internal/Picker/Picker.module.css +22 -0
- package/package.json +9 -9
- package/styles/variables.less +117 -25
- package/useScroll/ScrollbarPlaceholder.js +8 -3
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
font-family: "Limestone";
|
|
23
23
|
font-size: var(--primitive-font-size-48);
|
|
24
24
|
}
|
|
25
|
+
.actionGuide:global(.largeText) .label {
|
|
26
|
+
font-size: var(--primitive-font-size-60);
|
|
27
|
+
line-height: 1.45833rem;
|
|
28
|
+
}
|
|
25
29
|
.actionGuide:global(.neutral) .icon .icon {
|
|
26
30
|
color: var(--semantic-color-on-background-actionguide);
|
|
27
31
|
}
|
|
@@ -93,3 +93,24 @@
|
|
|
93
93
|
:global(.enact-locale-ja) .bodyText {
|
|
94
94
|
line-break: strict;
|
|
95
95
|
}
|
|
96
|
+
.bodyText:global(.largeText) {
|
|
97
|
+
font-size: var(--primitive-font-size-72);
|
|
98
|
+
}
|
|
99
|
+
.bodyText:global(.largeText).small {
|
|
100
|
+
font-size: var(--primitive-font-size-66);
|
|
101
|
+
}
|
|
102
|
+
:global(.enact-locale-km) .bodyText:global(.largeText).small {
|
|
103
|
+
font-size: var(--primitive-font-size-60);
|
|
104
|
+
}
|
|
105
|
+
:global(.enact-locale-si) .bodyText:global(.largeText).small {
|
|
106
|
+
font-size: var(--primitive-font-size-60);
|
|
107
|
+
}
|
|
108
|
+
:global(.enact-locale-th) .bodyText:global(.largeText).small {
|
|
109
|
+
font-size: var(--primitive-font-size-60);
|
|
110
|
+
}
|
|
111
|
+
:global(.enact-locale-vi) .bodyText:global(.largeText).small {
|
|
112
|
+
font-size: var(--primitive-font-size-60);
|
|
113
|
+
}
|
|
114
|
+
:global(.enact-locale-non-latin) .bodyText:global(.largeText).small {
|
|
115
|
+
font-size: var(--primitive-font-size-60);
|
|
116
|
+
}
|
package/Button/Button.module.css
CHANGED
|
@@ -107,11 +107,26 @@ Motion Mixins
|
|
|
107
107
|
font-weight: var(--primitive-font-weight-bold);
|
|
108
108
|
}
|
|
109
109
|
.button:global(.largeText) {
|
|
110
|
-
font-size: var(--primitive-font-size-
|
|
111
|
-
height:
|
|
112
|
-
min-width:
|
|
113
|
-
line-height:
|
|
114
|
-
--button-height:
|
|
110
|
+
font-size: var(--primitive-font-size-72);
|
|
111
|
+
height: 2.75rem;
|
|
112
|
+
min-width: 2.75rem;
|
|
113
|
+
line-height: 2.5rem;
|
|
114
|
+
--button-height: 2.75rem;
|
|
115
|
+
}
|
|
116
|
+
.button:global(.largeText).red .client::before,
|
|
117
|
+
.button:global(.largeText).green .client::before,
|
|
118
|
+
.button:global(.largeText).yellow .client::before,
|
|
119
|
+
.button:global(.largeText).blue .client::before {
|
|
120
|
+
bottom: var(--primitive-spacing-12);
|
|
121
|
+
width: 1.5rem;
|
|
122
|
+
height: 0.625rem;
|
|
123
|
+
}
|
|
124
|
+
.button:global(.largeText).red:not(.minWidth) .client::before,
|
|
125
|
+
.button:global(.largeText).green:not(.minWidth) .client::before,
|
|
126
|
+
.button:global(.largeText).yellow:not(.minWidth) .client::before,
|
|
127
|
+
.button:global(.largeText).blue:not(.minWidth) .client::before {
|
|
128
|
+
width: 0.625rem;
|
|
129
|
+
height: 0.25rem;
|
|
115
130
|
}
|
|
116
131
|
.button.focusStatic {
|
|
117
132
|
/* Defined to prevent global export */
|
|
@@ -169,10 +184,24 @@ Motion Mixins
|
|
|
169
184
|
bottom: var(--primitive-spacing-12);
|
|
170
185
|
left: 50%;
|
|
171
186
|
width: 1.25rem;
|
|
172
|
-
height: 0.
|
|
187
|
+
height: 0.5rem;
|
|
173
188
|
border-radius: var(--semantic-radius-full);
|
|
174
189
|
transform: translate(-50%, 50%);
|
|
175
190
|
}
|
|
191
|
+
.button.red:not(.minWidth) .client::before,
|
|
192
|
+
.button.green:not(.minWidth) .client::before,
|
|
193
|
+
.button.yellow:not(.minWidth) .client::before,
|
|
194
|
+
.button.blue:not(.minWidth) .client::before {
|
|
195
|
+
width: 0.625rem;
|
|
196
|
+
height: 0.25rem;
|
|
197
|
+
}
|
|
198
|
+
.button.red:not(.minWidth):global(.largeText) .client::before,
|
|
199
|
+
.button.green:not(.minWidth):global(.largeText) .client::before,
|
|
200
|
+
.button.yellow:not(.minWidth):global(.largeText) .client::before,
|
|
201
|
+
.button.blue:not(.minWidth):global(.largeText) .client::before {
|
|
202
|
+
width: 0.625rem;
|
|
203
|
+
height: 0.25rem;
|
|
204
|
+
}
|
|
176
205
|
.button.red.minWidth .icon,
|
|
177
206
|
.button.green.minWidth .icon,
|
|
178
207
|
.button.yellow.minWidth .icon,
|
|
@@ -280,7 +309,21 @@ Motion Mixins
|
|
|
280
309
|
.button.small.blue .client::before {
|
|
281
310
|
bottom: var(--primitive-spacing-12);
|
|
282
311
|
width: 1.0625rem;
|
|
283
|
-
height: 0.
|
|
312
|
+
height: 0.4375rem;
|
|
313
|
+
}
|
|
314
|
+
.button.small.red:not(.minWidth) .client::before,
|
|
315
|
+
.button.small.green:not(.minWidth) .client::before,
|
|
316
|
+
.button.small.yellow:not(.minWidth) .client::before,
|
|
317
|
+
.button.small.blue:not(.minWidth) .client::before {
|
|
318
|
+
width: 0.625rem;
|
|
319
|
+
height: 0.25rem;
|
|
320
|
+
}
|
|
321
|
+
.button.small.red:not(.minWidth):global(.largeText) .client::before,
|
|
322
|
+
.button.small.green:not(.minWidth):global(.largeText) .client::before,
|
|
323
|
+
.button.small.yellow:not(.minWidth):global(.largeText) .client::before,
|
|
324
|
+
.button.small.blue:not(.minWidth):global(.largeText) .client::before {
|
|
325
|
+
width: 0.625rem;
|
|
326
|
+
height: 0.25rem;
|
|
284
327
|
}
|
|
285
328
|
.button.small.red.minWidth .client,
|
|
286
329
|
.button.small.green.minWidth .client,
|
|
@@ -316,20 +359,34 @@ Motion Mixins
|
|
|
316
359
|
margin-inline-start: var(--primitive-spacing-24);
|
|
317
360
|
}
|
|
318
361
|
.button.small:global(.largeText) {
|
|
319
|
-
font-size: var(--primitive-font-size-
|
|
320
|
-
height:
|
|
321
|
-
min-width:
|
|
322
|
-
line-height:
|
|
323
|
-
--button-height:
|
|
362
|
+
font-size: var(--primitive-font-size-66);
|
|
363
|
+
height: 2.25rem;
|
|
364
|
+
min-width: 2.25rem;
|
|
365
|
+
line-height: 2rem;
|
|
366
|
+
--button-height: 2.25rem;
|
|
324
367
|
}
|
|
325
368
|
.button.small:global(.largeText).minWidth {
|
|
326
369
|
min-width: 15rem;
|
|
327
370
|
}
|
|
371
|
+
.button.small:global(.largeText).red .client::before,
|
|
372
|
+
.button.small:global(.largeText).green .client::before,
|
|
373
|
+
.button.small:global(.largeText).yellow .client::before,
|
|
374
|
+
.button.small:global(.largeText).blue .client::before {
|
|
375
|
+
width: 1.25rem;
|
|
376
|
+
height: 0.5rem;
|
|
377
|
+
}
|
|
378
|
+
.button.small:global(.largeText).red:not(.minWidth) .client::before,
|
|
379
|
+
.button.small:global(.largeText).green:not(.minWidth) .client::before,
|
|
380
|
+
.button.small:global(.largeText).yellow:not(.minWidth) .client::before,
|
|
381
|
+
.button.small:global(.largeText).blue:not(.minWidth) .client::before {
|
|
382
|
+
width: 0.625rem;
|
|
383
|
+
height: 0.25rem;
|
|
384
|
+
}
|
|
328
385
|
.button.iconOnly {
|
|
329
386
|
min-width: 2.75rem;
|
|
330
387
|
}
|
|
331
388
|
.button.iconOnly:global(.largeText) {
|
|
332
|
-
min-width:
|
|
389
|
+
min-width: 2.75rem;
|
|
333
390
|
}
|
|
334
391
|
.button.iconOnly .client {
|
|
335
392
|
padding: 0;
|
|
@@ -357,7 +414,7 @@ Motion Mixins
|
|
|
357
414
|
padding-right: 0.375rem;
|
|
358
415
|
}
|
|
359
416
|
.button.iconOnly.small:global(.largeText) {
|
|
360
|
-
min-width:
|
|
417
|
+
min-width: 2.25rem;
|
|
361
418
|
}
|
|
362
419
|
.button.iconOnly.iconAfter .icon,
|
|
363
420
|
.button.iconOnly.iconBefore .icon,
|
|
@@ -369,34 +426,9 @@ Motion Mixins
|
|
|
369
426
|
.button.iconOnly.iconBefore .icon:global(.largeText),
|
|
370
427
|
.button.iconOnly.large .icon:global(.largeText),
|
|
371
428
|
.button.iconOnly.small .icon:global(.largeText) {
|
|
429
|
+
overflow: visible;
|
|
372
430
|
width: 100%;
|
|
373
431
|
}
|
|
374
|
-
.button.iconOnly.iconAfter.red .client::before,
|
|
375
|
-
.button.iconOnly.iconBefore.red .client::before,
|
|
376
|
-
.button.iconOnly.large.red .client::before,
|
|
377
|
-
.button.iconOnly.small.red .client::before,
|
|
378
|
-
.button.iconOnly.iconAfter.green .client::before,
|
|
379
|
-
.button.iconOnly.iconBefore.green .client::before,
|
|
380
|
-
.button.iconOnly.large.green .client::before,
|
|
381
|
-
.button.iconOnly.small.green .client::before,
|
|
382
|
-
.button.iconOnly.iconAfter.yellow .client::before,
|
|
383
|
-
.button.iconOnly.iconBefore.yellow .client::before,
|
|
384
|
-
.button.iconOnly.large.yellow .client::before,
|
|
385
|
-
.button.iconOnly.small.yellow .client::before,
|
|
386
|
-
.button.iconOnly.iconAfter.blue .client::before,
|
|
387
|
-
.button.iconOnly.iconBefore.blue .client::before,
|
|
388
|
-
.button.iconOnly.large.blue .client::before,
|
|
389
|
-
.button.iconOnly.small.blue .client::before {
|
|
390
|
-
width: 1.375rem;
|
|
391
|
-
height: 0.1875rem;
|
|
392
|
-
}
|
|
393
|
-
.button.iconOnly.red .client::before,
|
|
394
|
-
.button.iconOnly.green .client::before,
|
|
395
|
-
.button.iconOnly.yellow .client::before,
|
|
396
|
-
.button.iconOnly.blue .client::before {
|
|
397
|
-
width: 1.375rem;
|
|
398
|
-
height: 0.1875rem;
|
|
399
|
-
}
|
|
400
432
|
.button.collapsable.hasIcon:not(.iconOnly) {
|
|
401
433
|
padding-left: 0;
|
|
402
434
|
padding-right: 0;
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,45 @@
|
|
|
2
2
|
|
|
3
3
|
The following is a curated list of changes in the Enact limestone module, newest changes on the top.
|
|
4
4
|
|
|
5
|
+
## [1.10.1] - 2026-06-01
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- `limestone/ActionGuide` styling to match the latest GUI
|
|
10
|
+
- `limestone/BodyText` styling to match the latest GUI
|
|
11
|
+
- `limestone/Button` styling to match the latest GUI
|
|
12
|
+
- `limestone/Card` styling to match the latest GUI
|
|
13
|
+
- `limestone/Checkbox` styling to match the latest GUI
|
|
14
|
+
- `limestone/Chips.Chip` styling to match the latest GUI
|
|
15
|
+
- `limestone/DatePicker` styling to match the latest GUI
|
|
16
|
+
- `limestone/Heading` styling to match the latest GUI
|
|
17
|
+
- `limestone/Icon` styling to match the latest GUI
|
|
18
|
+
- `limestone/IconItem` styling to match the latest GUI
|
|
19
|
+
- `limestone/ImageItem` styling to match the latest GUI
|
|
20
|
+
- `limestone/Input` styling to match the latest GUI
|
|
21
|
+
- `limestone/InputField` styling to match the latest GUI
|
|
22
|
+
- `limestone/Item` styling to match the latest GUI
|
|
23
|
+
- `limestone/KeyGuide` styling to match the latest GUI
|
|
24
|
+
- `limestone/MediaOverlay` styling to match the latest GUI
|
|
25
|
+
- `limestone/PageViews` styling to match the latest GUI
|
|
26
|
+
- `limestone/Panels.Header` styling to match the latest GUI
|
|
27
|
+
- `limestone/Picker` styling to match the latest GUI
|
|
28
|
+
- `limestone/PopupTabLayout` styling to match the latest GUI
|
|
29
|
+
- `limestone/RadioItem` styling to match the latest GUI
|
|
30
|
+
- `limestone/Scroller` focus area to be separated from the vertical and horizontal scrollbars when `focusableScrollbar` is `"byEnter"`
|
|
31
|
+
- `limestone/Slider` styling to match the latest GUI
|
|
32
|
+
- `limestone/Steps` styling to match the latest GUI
|
|
33
|
+
- `limestone/Switch` styling to match the latest GUI
|
|
34
|
+
- `limestone/TabLayout` styling to match the latest GUI
|
|
35
|
+
- `limestone/TimePicker` styling to match the latest GUI
|
|
36
|
+
- `limestone/TooltipDecorator` styling to match the latest GUI
|
|
37
|
+
- `limestone/VideoPlayer` styling to match the latest GUI
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
- `limestone/Scroller` to set initial focus on the scrollbar thumb when navigating between panels with `focusableScrollbar`
|
|
42
|
+
|
|
43
|
+
|
|
5
44
|
## [1.10.0] - 2026-05-08
|
|
6
45
|
|
|
7
46
|
### Added
|
|
@@ -33,6 +72,7 @@ The following is a curated list of changes in the Enact limestone module, newest
|
|
|
33
72
|
- `limestone/MediaOverlay` press motion to work with key press
|
|
34
73
|
- `limestone/Popup` to not flicker on transition
|
|
35
74
|
- `limestone/Popup` to not delay when closed with pointer
|
|
75
|
+
- `limestone/Scroller.EditableWrapper` to not stop the `Marquee` when editing is complete
|
|
36
76
|
- `limestone/Slider` press motion to work with key press
|
|
37
77
|
- `limestone/useScroll` to not scroll on hover right after scroll by wheel
|
|
38
78
|
|
package/Card/Card.js
CHANGED
|
@@ -418,10 +418,12 @@ var CardBase = exports.CardBase = (0, _kind["default"])({
|
|
|
418
418
|
var captionOverlay = _ref4.captionOverlay,
|
|
419
419
|
captionOverlayOnFocus = _ref4.captionOverlayOnFocus,
|
|
420
420
|
icon = _ref4.icon,
|
|
421
|
+
label = _ref4.label,
|
|
421
422
|
pressed = _ref4.pressed,
|
|
422
423
|
roundedImage = _ref4.roundedImage,
|
|
423
424
|
hasContainer = _ref4.hasContainer,
|
|
424
425
|
orientation = _ref4.orientation,
|
|
426
|
+
secondaryLabel = _ref4.secondaryLabel,
|
|
425
427
|
styler = _ref4.styler;
|
|
426
428
|
return styler.append({
|
|
427
429
|
captionOverlay: captionOverlay && orientation === 'vertical',
|
|
@@ -429,6 +431,7 @@ var CardBase = exports.CardBase = (0, _kind["default"])({
|
|
|
429
431
|
pressed: pressed,
|
|
430
432
|
roundedImage: roundedImage,
|
|
431
433
|
hasContainer: orientation === 'horizontal' || hasContainer && !captionOverlay,
|
|
434
|
+
hasLabel: orientation === 'vertical' && label && secondaryLabel,
|
|
432
435
|
isCheckIcon: icon === 'check'
|
|
433
436
|
});
|
|
434
437
|
},
|
package/Card/Card.module.css
CHANGED
|
@@ -103,18 +103,19 @@ Motion Mixins
|
|
|
103
103
|
border-style: solid;
|
|
104
104
|
}
|
|
105
105
|
.card .selectionContainer .selectionIcon {
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
--icon-size: 1rem;
|
|
107
|
+
width: 1.25rem;
|
|
108
|
+
height: 1.25rem;
|
|
108
109
|
border-radius: 50%;
|
|
109
110
|
margin: 0;
|
|
110
|
-
line-height: 1.
|
|
111
|
+
line-height: 1.25rem;
|
|
111
112
|
z-index: 3;
|
|
112
113
|
}
|
|
113
114
|
.card:not(.isCheckIcon) .selectionContainer .selectionIcon {
|
|
114
|
-
--icon-size:
|
|
115
|
-
width:
|
|
116
|
-
height:
|
|
117
|
-
line-height:
|
|
115
|
+
--icon-size: 3rem;
|
|
116
|
+
width: 3.75rem;
|
|
117
|
+
height: 3.75rem;
|
|
118
|
+
line-height: 3.75rem;
|
|
118
119
|
}
|
|
119
120
|
.card .primaryBadge,
|
|
120
121
|
.card .secondaryBadge {
|
|
@@ -342,6 +343,29 @@ Motion Mixins
|
|
|
342
343
|
transform: scale(1.1);
|
|
343
344
|
transition: transform var(--lime-release-motion-duration) var(--lime-release-motion-easing-function);
|
|
344
345
|
}
|
|
346
|
+
.card:global(.largeText) .caption {
|
|
347
|
+
font-size: var(--primitive-font-size-72);
|
|
348
|
+
line-height: 2.08333rem;
|
|
349
|
+
}
|
|
350
|
+
.card:global(.largeText) .label {
|
|
351
|
+
font-size: var(--primitive-font-size-58);
|
|
352
|
+
line-height: 1.45833rem;
|
|
353
|
+
}
|
|
354
|
+
.card:global(.largeText).captionOverlay.splitCaption .label {
|
|
355
|
+
font-size: var(--primitive-font-size-72);
|
|
356
|
+
}
|
|
357
|
+
.card:global(.largeText) .selectionContainer .selectionIcon {
|
|
358
|
+
--icon-size: 3.6rem;
|
|
359
|
+
}
|
|
360
|
+
.card:global(.largeText):is(.isCheckIcon) .selectionContainer .selectionIcon {
|
|
361
|
+
--icon-size: 1.20833rem;
|
|
362
|
+
width: 1.5rem;
|
|
363
|
+
height: 1.5rem;
|
|
364
|
+
line-height: 1.45833rem;
|
|
365
|
+
}
|
|
366
|
+
.card:global(.largeText).vertical:not(.captionOverlay):not(.captionOverlayOnFocus):is(.hasLabel) .image {
|
|
367
|
+
height: calc(var(--card-image-height) - 36px);
|
|
368
|
+
}
|
|
345
369
|
.card:global(.neutral) .selectionContainer {
|
|
346
370
|
border-color: transparent;
|
|
347
371
|
}
|
|
@@ -91,6 +91,10 @@ Motion Mixins
|
|
|
91
91
|
border-radius: var(--semantic-radius-full);
|
|
92
92
|
position: relative;
|
|
93
93
|
text-align: center;
|
|
94
|
+
--icon-size: 1.25rem;
|
|
95
|
+
}
|
|
96
|
+
.checkbox .icon:global(.largeText) {
|
|
97
|
+
--icon-size: 1.5rem;
|
|
94
98
|
}
|
|
95
99
|
.checkbox.selected.checkmark .icon::after {
|
|
96
100
|
content: '';
|
package/Chips/Chip.module.css
CHANGED
|
@@ -93,6 +93,10 @@
|
|
|
93
93
|
:global(.enact-locale-vi) .heading.subtitle {
|
|
94
94
|
font-size: 1rem;
|
|
95
95
|
}
|
|
96
|
+
.heading.subtitle:global(.largeText) {
|
|
97
|
+
font-size: 1.375rem;
|
|
98
|
+
line-height: 1.75rem;
|
|
99
|
+
}
|
|
96
100
|
.heading.large {
|
|
97
101
|
font-family: "Limestone";
|
|
98
102
|
font-weight: var(--primitive-font-weight-semibold);
|
|
@@ -136,6 +140,18 @@
|
|
|
136
140
|
margin-bottom: 0;
|
|
137
141
|
min-height: 0;
|
|
138
142
|
}
|
|
143
|
+
.heading:global(.largeText).large {
|
|
144
|
+
font-size: var(--primitive-font-size-86);
|
|
145
|
+
}
|
|
146
|
+
.heading:global(.largeText).medium {
|
|
147
|
+
font-size: var(--primitive-font-size-80);
|
|
148
|
+
}
|
|
149
|
+
.heading:global(.largeText).small {
|
|
150
|
+
font-size: var(--primitive-font-size-66);
|
|
151
|
+
}
|
|
152
|
+
.heading:global(.largeText).tiny {
|
|
153
|
+
font-size: var(--primitive-font-size-58);
|
|
154
|
+
}
|
|
139
155
|
.heading:global(.neutral) {
|
|
140
156
|
color: var(--semantic-color-on-background-main);
|
|
141
157
|
}
|
package/Icon/Icon.module.css
CHANGED
|
@@ -24,6 +24,18 @@
|
|
|
24
24
|
.icon.tiny {
|
|
25
25
|
--icon-size: 1.25rem;
|
|
26
26
|
}
|
|
27
|
+
.icon:global(.largeText).large {
|
|
28
|
+
--icon-size: 2.1rem;
|
|
29
|
+
}
|
|
30
|
+
.icon:global(.largeText).medium {
|
|
31
|
+
--icon-size: 1.95rem;
|
|
32
|
+
}
|
|
33
|
+
.icon:global(.largeText).small {
|
|
34
|
+
--icon-size: 1.8rem;
|
|
35
|
+
}
|
|
36
|
+
.icon:global(.largeText).tiny {
|
|
37
|
+
--icon-size: 1.5rem;
|
|
38
|
+
}
|
|
27
39
|
.icon.dingbat {
|
|
28
40
|
font-family: "LG Icons";
|
|
29
41
|
}
|
|
@@ -187,6 +187,22 @@ Motion Mixins
|
|
|
187
187
|
:global(.noAnimation) .iconItem {
|
|
188
188
|
transition: none;
|
|
189
189
|
}
|
|
190
|
+
.iconItem:global(.largeText).hasTitle {
|
|
191
|
+
height: calc( 5.33333rem + 1.45833rem + 24px);
|
|
192
|
+
}
|
|
193
|
+
.iconItem:global(.largeText) .icon {
|
|
194
|
+
height: 3.04167rem;
|
|
195
|
+
width: 3.04167rem;
|
|
196
|
+
line-height: 3.04167rem;
|
|
197
|
+
}
|
|
198
|
+
.iconItem:global(.largeText) .label {
|
|
199
|
+
font-size: var(--primitive-font-size-50);
|
|
200
|
+
line-height: 1.33333rem;
|
|
201
|
+
}
|
|
202
|
+
.iconItem:global(.largeText) .title {
|
|
203
|
+
font-size: var(--primitive-font-size-58);
|
|
204
|
+
line-height: 1.45833rem;
|
|
205
|
+
}
|
|
190
206
|
.iconItem:global(.neutral).bordered .content {
|
|
191
207
|
border-color: var(--semantic-color-stroke-white);
|
|
192
208
|
}
|
|
@@ -48,6 +48,23 @@
|
|
|
48
48
|
:global(.enact-locale-vi) .imageItem .label {
|
|
49
49
|
font-size: var(--primitive-font-size-36);
|
|
50
50
|
}
|
|
51
|
+
.imageItem:global(.largeText) .caption {
|
|
52
|
+
font-size: var(--primitive-font-size-72);
|
|
53
|
+
line-height: 2.08333rem;
|
|
54
|
+
}
|
|
55
|
+
.imageItem:global(.largeText) .label {
|
|
56
|
+
font-size: var(--primitive-font-size-58);
|
|
57
|
+
line-height: 1.45833rem;
|
|
58
|
+
}
|
|
59
|
+
.imageItem:global(.largeText).vertical .selectionContainer .selectionIcon {
|
|
60
|
+
width: 3rem;
|
|
61
|
+
height: 3rem;
|
|
62
|
+
line-height: 3rem;
|
|
63
|
+
}
|
|
64
|
+
.imageItem:global(.largeText).vertical .imageIcon {
|
|
65
|
+
width: 3.3rem;
|
|
66
|
+
height: 3.3rem;
|
|
67
|
+
}
|
|
51
68
|
.imageItem.vertical.fullImage {
|
|
52
69
|
border-radius: 0;
|
|
53
70
|
padding: var(--primitive-spacing-60);
|
package/Input/Input.module.css
CHANGED
|
@@ -80,6 +80,10 @@
|
|
|
80
80
|
.inputPopup .inputArea .contentArea {
|
|
81
81
|
/* Available for customization */
|
|
82
82
|
}
|
|
83
|
+
.inputPopup:global(.largeText) .tooltip .tooltipLabel {
|
|
84
|
+
font-size: var(--primitive-font-size-58);
|
|
85
|
+
line-height: 1.45833rem;
|
|
86
|
+
}
|
|
83
87
|
:global(.enact-locale-right-to-left) .inputPopup .keypad {
|
|
84
88
|
direction: ltr;
|
|
85
89
|
}
|
|
@@ -92,6 +96,9 @@
|
|
|
92
96
|
.inputPopup .keypad .key .icon {
|
|
93
97
|
font-size: var(--primitive-font-size-90);
|
|
94
98
|
}
|
|
99
|
+
.inputPopup .keypad .key .icon:global(.largeText) {
|
|
100
|
+
font-size: var(--primitive-font-size-108);
|
|
101
|
+
}
|
|
95
102
|
.inputPopup.fullscreen .back {
|
|
96
103
|
top: var(--primitive-spacing-108);
|
|
97
104
|
left: var(--primitive-spacing-132);
|
|
@@ -152,9 +159,6 @@
|
|
|
152
159
|
:global(.enact-orientation-portrait) .inputPopup.fullscreen .keypad {
|
|
153
160
|
margin: var(--primitive-spacing-132) auto 0 auto;
|
|
154
161
|
}
|
|
155
|
-
:global(.enact-text-large) .inputPopup.fullscreen .keypad .key {
|
|
156
|
-
height: 4rem;
|
|
157
|
-
}
|
|
158
162
|
.inputPopup.fullscreen .buttonArea {
|
|
159
163
|
margin: 0;
|
|
160
164
|
display: flex;
|
|
@@ -241,12 +245,6 @@
|
|
|
241
245
|
justify-content: flex-end;
|
|
242
246
|
column-gap: var(--primitive-spacing-60);
|
|
243
247
|
}
|
|
244
|
-
:global(.enact-text-large) .inputPopup.overlay .keypad {
|
|
245
|
-
width: 14.5rem;
|
|
246
|
-
}
|
|
247
|
-
:global(.enact-text-large) .inputPopup.overlay .keypad .key {
|
|
248
|
-
height: 4rem;
|
|
249
|
-
}
|
|
250
248
|
.inputPopup.overlay .buttonArea {
|
|
251
249
|
align-items: center;
|
|
252
250
|
display: flex;
|
|
@@ -257,6 +255,24 @@
|
|
|
257
255
|
.inputPopup.overlay .tooltip .tooltipLabel {
|
|
258
256
|
max-width: 15.375rem;
|
|
259
257
|
}
|
|
258
|
+
.inputPopup:global(.largeText).fullscreen .numberCell.password {
|
|
259
|
+
font-size: var(--primitive-font-size-56);
|
|
260
|
+
}
|
|
261
|
+
.inputPopup:global(.largeText).fullscreen .joined {
|
|
262
|
+
font-size: var(--primitive-font-size-94);
|
|
263
|
+
}
|
|
264
|
+
.inputPopup:global(.largeText).fullscreen .joined.password {
|
|
265
|
+
font-size: var(--primitive-font-size-56);
|
|
266
|
+
}
|
|
267
|
+
.inputPopup:global(.largeText).overlay .numberCell.password {
|
|
268
|
+
font-size: var(--primitive-font-size-48);
|
|
269
|
+
}
|
|
270
|
+
.inputPopup:global(.largeText).overlay .joined {
|
|
271
|
+
font-size: var(--primitive-font-size-94);
|
|
272
|
+
}
|
|
273
|
+
.inputPopup:global(.largeText).overlay .joined.password {
|
|
274
|
+
font-size: var(--primitive-font-size-48);
|
|
275
|
+
}
|
|
260
276
|
.inputPopup:global(.neutral) {
|
|
261
277
|
background-color: var(--semantic-color-background-full-default);
|
|
262
278
|
}
|
|
@@ -232,6 +232,24 @@
|
|
|
232
232
|
.inputField .tooltip .tooltipLabel {
|
|
233
233
|
font-size: var(--primitive-font-size-48);
|
|
234
234
|
font-weight: var(--primitive-font-weight-semibold);
|
|
235
|
+
line-height: 1.25rem;
|
|
236
|
+
}
|
|
237
|
+
.inputField:global(.largeText) .input,
|
|
238
|
+
.inputField:global(.largeText) .inputHighlight,
|
|
239
|
+
.inputField:global(.largeText) .marqueeText {
|
|
240
|
+
font-size: var(--primitive-font-size-94);
|
|
241
|
+
}
|
|
242
|
+
.inputField:global(.largeText).small .input,
|
|
243
|
+
.inputField:global(.largeText).small .marqueeText {
|
|
244
|
+
font-size: var(--primitive-font-size-72);
|
|
245
|
+
line-height: 3.25rem;
|
|
246
|
+
}
|
|
247
|
+
.inputField:global(.largeText).small .inputHighlight {
|
|
248
|
+
line-height: 3.25rem;
|
|
249
|
+
}
|
|
250
|
+
.inputField:global(.largeText) .tooltip .tooltipLabel {
|
|
251
|
+
font-size: var(--primitive-font-size-58);
|
|
252
|
+
line-height: 1.45833rem;
|
|
235
253
|
}
|
|
236
254
|
.inputField:global(.neutral) {
|
|
237
255
|
caret-color: var(--semantic-color-on-surface-accent);
|
package/Item/Item.module.css
CHANGED
|
@@ -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-
|
|
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 */
|
|
@@ -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;
|
|
@@ -157,13 +157,13 @@ Motion Mixins
|
|
|
157
157
|
.mediaOverlay .text {
|
|
158
158
|
font-family: "Limestone";
|
|
159
159
|
font-size: var(--primitive-font-size-48);
|
|
160
|
-
line-height: 1.
|
|
160
|
+
line-height: 1.25rem;
|
|
161
161
|
margin-bottom: var(--primitive-spacing-36);
|
|
162
162
|
}
|
|
163
163
|
:global(.enact-locale-non-latin) .mediaOverlay .text {
|
|
164
164
|
font-family: "Limestone";
|
|
165
165
|
font-size: var(--primitive-font-size-48);
|
|
166
|
-
line-height: 1.
|
|
166
|
+
line-height: 1.25rem;
|
|
167
167
|
}
|
|
168
168
|
.mediaOverlay .progressBar {
|
|
169
169
|
position: absolute;
|
|
@@ -195,12 +195,24 @@ Motion Mixins
|
|
|
195
195
|
.mediaOverlay .subtitle {
|
|
196
196
|
font-family: "Limestone";
|
|
197
197
|
font-size: var(--primitive-font-size-48);
|
|
198
|
-
line-height: 1.
|
|
198
|
+
line-height: 1.25rem;
|
|
199
199
|
}
|
|
200
200
|
:global(.enact-locale-non-latin) .mediaOverlay .subtitle {
|
|
201
201
|
font-family: "Limestone";
|
|
202
202
|
font-size: var(--primitive-font-size-48);
|
|
203
|
-
line-height: 1.
|
|
203
|
+
line-height: 1.25rem;
|
|
204
|
+
}
|
|
205
|
+
.mediaOverlay:global(.largeText) .text {
|
|
206
|
+
font-size: var(--primitive-font-size-60);
|
|
207
|
+
line-height: 1.45833rem;
|
|
208
|
+
}
|
|
209
|
+
.mediaOverlay:global(.largeText) .caption,
|
|
210
|
+
.mediaOverlay:global(.largeText) .title {
|
|
211
|
+
font-size: var(--primitive-font-size-72);
|
|
212
|
+
}
|
|
213
|
+
.mediaOverlay:global(.largeText) .subtitle {
|
|
214
|
+
font-size: var(--primitive-font-size-58);
|
|
215
|
+
line-height: 1.45833rem;
|
|
204
216
|
}
|
|
205
217
|
.mediaOverlay:global(.neutral) .bg {
|
|
206
218
|
opacity: 0;
|
|
@@ -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;
|