@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.
Files changed (41) hide show
  1. package/ActionGuide/ActionGuide.module.css +4 -0
  2. package/BodyText/BodyText.module.css +21 -0
  3. package/Button/Button.module.css +72 -40
  4. package/CHANGELOG.md +40 -0
  5. package/Card/Card.js +3 -0
  6. package/Card/Card.module.css +31 -7
  7. package/Checkbox/Checkbox.module.css +4 -0
  8. package/Chips/Chip.module.css +3 -0
  9. package/Heading/Heading.module.css +16 -0
  10. package/Icon/Icon.module.css +12 -0
  11. package/IconItem/IconItem.module.css +16 -0
  12. package/ImageItem/ImageItem.module.css +17 -0
  13. package/Input/Input.module.css +25 -9
  14. package/Input/InputField.module.css +18 -0
  15. package/Item/Item.module.css +2 -1
  16. package/KeyGuide/KeyGuide.module.css +10 -0
  17. package/MediaOverlay/MediaOverlay.module.css +16 -4
  18. package/MediaPlayer/MediaControls.module.css +3 -0
  19. package/MediaPlayer/Times.module.css +4 -0
  20. package/PageViews/PageViews.module.css +4 -0
  21. package/Panels/Header.module.css +37 -31
  22. package/PopupTabLayout/PopupTabLayout.module.css +18 -0
  23. package/RadioItem/RadioItem.module.css +5 -0
  24. package/Scroller/EditableWrapper.js +2 -1
  25. package/Scroller/Scroller.module.css +10 -0
  26. package/Scroller/tests/Scroller-specs.js +91 -2
  27. package/Scroller/useThemeScroller.js +3 -0
  28. package/Slider/Slider.module.css +0 -3
  29. package/Steps/Steps.module.css +3 -0
  30. package/Switch/Switch.module.css +15 -1
  31. package/TabLayout/TabGroup.module.css +1 -1
  32. package/TimePicker/TimePicker.module.css +3 -0
  33. package/TooltipDecorator/Tooltip.module.css +4 -0
  34. package/VideoPlayer/Feedback.module.css +3 -0
  35. package/VideoPlayer/FeedbackTooltip.module.css +7 -0
  36. package/VideoPlayer/MediaTitle.module.css +8 -0
  37. package/internal/DateTime/DateTime.module.css +3 -0
  38. package/internal/Picker/Picker.module.css +22 -0
  39. package/package.json +9 -9
  40. package/styles/variables.less +117 -25
  41. package/useScroll/ScrollbarPlaceholder.js +8 -3
@@ -69,7 +69,9 @@
69
69
  standard-title-line-height: 144px;
70
70
  standard-titles-gap: 18px;
71
71
  standard-subtitle-font-size: 54px;
72
+ standard-subtitle-font-size-large: 66px;
72
73
  standard-subtitle-line-height: 72px;
74
+ standard-subtitle-line-height-large: 84px;
73
75
 
74
76
  wizard-padding: 156px 132px 6px 132px;
75
77
  wizard-title-font-size: 108px;
@@ -115,71 +117,110 @@
115
117
  // Font Sizes
116
118
  // ---------------------------------------
117
119
  @lime-actionguide-label-font-size: var(--primitive-font-size-48);
120
+ @lime-actionguide-label-font-size-large: var(--primitive-font-size-60);
118
121
  @lime-actionguide-label-font-weight: var(--primitive-font-weight-regular);
119
122
  @lime-alert-overlay-font-size: var(--primitive-font-size-60);
120
123
  @lime-alert-subtitle-font-size: @lime-heading-subtitle-font-size;
121
124
  @lime-alert-title-font-size: var(--primitive-font-size-108);
122
125
  @lime-base-font-size: var(--primitive-font-size-60);
126
+ @lime-base-font-size-large: var(--primitive-font-size-72);
123
127
  @lime-body-font-size: @lime-base-font-size;
128
+ @lime-body-font-size-large: @lime-base-font-size-large;
124
129
  @lime-body-small-font-size: var(--primitive-font-size-54);
125
- @lime-button-font-size-large: var(--primitive-font-size-96);
130
+ @lime-body-small-font-size-large: var(--primitive-font-size-66);
131
+ @lime-button-font-size-large: var(--primitive-font-size-72);
126
132
  @lime-button-font-size: var(--primitive-font-size-60);
127
- @lime-button-small-font-size-large: var(--primitive-font-size-72);
133
+ @lime-button-small-font-size-large: var(--primitive-font-size-66);
128
134
  @lime-button-small-font-size: var(--primitive-font-size-54);
129
135
  @lime-card-caption-font-size: var(--primitive-font-size-60);
136
+ @lime-card-caption-font-size-large: var(--primitive-font-size-72);
130
137
  @lime-card-label-font-size: var(--primitive-font-size-48);
138
+ @lime-card-label-font-size-large: var(--primitive-font-size-58);
131
139
  @lime-card-split-caption-label-font-size: var(--primitive-font-size-60);
140
+ @lime-card-split-caption-label-font-size-large: var(--primitive-font-size-72);
132
141
  @lime-header-compact-title-font-size: #guide.header[compact-title-font-size];
133
142
  @lime-header-mini-title-font-size: #guide.header[mini-title-font-size];
134
143
  @lime-header-wizard-title-font-size: #guide.header[wizard-title-font-size];
135
144
  @lime-heading-large-font-size: var(--primitive-font-size-72);
145
+ @lime-heading-large-font-size-large: var(--primitive-font-size-86);
136
146
  @lime-heading-medium-font-size: var(--primitive-font-size-66);
147
+ @lime-heading-medium-font-size-large: var(--primitive-font-size-80);
137
148
  @lime-heading-small-font-size: var(--primitive-font-size-54);
149
+ @lime-heading-small-font-size-large: var(--primitive-font-size-66);
138
150
  @lime-heading-tiny-font-size: var(--primitive-font-size-48);
151
+ @lime-heading-tiny-font-size-large: var(--primitive-font-size-58);
139
152
  @lime-heading-subtitle-font-size: #guide.header[standard-subtitle-font-size];
153
+ @lime-heading-subtitle-font-size-large: #guide.header[standard-subtitle-font-size-large];
140
154
  @lime-heading-title-font-size: #guide.header[standard-title-font-size];
141
155
  @lime-iconitem-label-font-size: var(--primitive-font-size-42);
156
+ @lime-iconitem-label-font-size-large: var(--primitive-font-size-50);
142
157
  @lime-iconitem-title-font-size: var(--primitive-font-size-48);
158
+ @lime-iconitem-title-font-size-large: var(--primitive-font-size-58);
143
159
  @lime-imageitem-caption-font-size: var(--primitive-font-size-60);
160
+ @lime-imageitem-caption-font-size-large: var(--primitive-font-size-72);
144
161
  @lime-imageitem-label-font-size: var(--primitive-font-size-48);
162
+ @lime-imageitem-label-font-size-large: var(--primitive-font-size-58);
145
163
  @lime-input-font-size: var(--primitive-font-size-78);
164
+ @lime-input-font-size-large: var(--primitive-font-size-94);
146
165
  @lime-input-keypad-key-font-size: var(--primitive-font-size-90);
166
+ @lime-input-keypad-key-font-size-large: var(--primitive-font-size-108);
147
167
  @lime-input-fullscreen-title-font-size: var(--primitive-font-size-108);
148
168
  @lime-input-fullscreen-numbercell-font-size: 126px;
149
169
  @lime-input-fullscreen-numbercell-password-font-size: var(--primitive-font-size-48);
170
+ @lime-input-fullscreen-numbercell-password-font-size-large: var(--primitive-font-size-56);
150
171
  @lime-input-fullscreen-numberfield-font-size: @lime-input-font-size;
172
+ @lime-input-fullscreen-numberfield-font-size-large: @lime-input-font-size-large;
151
173
  @lime-input-overlay-title-font-size: var(--primitive-font-size-90);
152
174
  @lime-input-overlay-numbercell-font-size: var(--primitive-font-size-108);
153
175
  @lime-input-overlay-numbercell-password-font-size: var(--primitive-font-size-40);
176
+ @lime-input-overlay-numbercell-password-font-size-large: var(--primitive-font-size-48);
154
177
  @lime-input-overlay-numberfield-font-size: @lime-input-font-size;
178
+ @lime-input-overlay-numberfield-font-size-large: @lime-input-font-size-large;
155
179
  @lime-input-invalid-tooltip-font-size: @lime-inputfield-invalid-tooltip-font-size;
156
180
  @lime-inputfield-invalid-tooltip-font-size: var(--primitive-font-size-48);
181
+ @lime-input-invalid-tooltip-font-size-large: @lime-inputfield-invalid-tooltip-font-size-large;
182
+ @lime-inputfield-invalid-tooltip-font-size-large: var(--primitive-font-size-58);
157
183
  @lime-inputfield-small-font-size: var(--primitive-font-size-60);
184
+ @lime-inputfield-small-font-size-large: var(--primitive-font-size-72);
158
185
  @lime-item-font-size: var(--primitive-font-size-60);
159
186
  @lime-item-font-size-large: var(--primitive-font-size-72);
160
187
  @lime-item-label-font-size: var(--primitive-font-size-48);
161
- @lime-item-label-font-size-large: var(--primitive-font-size-54);
188
+ @lime-item-label-font-size-large: var(--primitive-font-size-58);
162
189
  @lime-item-small-font-size: var(--primitive-font-size-60);
163
190
  @lime-item-small-font-size-large: var(--primitive-font-size-72);
164
191
  @lime-item-small-label-font-size: var(--primitive-font-size-48);
165
192
  @lime-keyguide-font-size: var(--primitive-font-size-60);
193
+ @lime-keyguide-font-size-large: var(--primitive-font-size-72);
166
194
  @lime-mediaoverlay-caption-font-size: var(--primitive-font-size-60);
195
+ @lime-mediaoverlay-caption-font-size-large: var(--primitive-font-size-72);
167
196
  @lime-mediaoverlay-text-font-size: var(--primitive-font-size-48);
197
+ @lime-mediaoverlay-text-font-size-large: var(--primitive-font-size-60);
168
198
  @lime-mediaoverlay-subtitle-font-size: var(--primitive-font-size-48);
199
+ @lime-mediaoverlay-subtitle-font-size-large: var(--primitive-font-size-58);
169
200
  @lime-mediaplayer-times-text-size: var(--primitive-font-size-48);
201
+ @lime-mediaplayer-times-text-size-large: var(--primitive-font-size-58);
202
+ @lime-pageviews-number-steps-number-font-size: @lime-base-font-size;
203
+ @lime-pageviews-number-steps-number-font-size-large: @lime-base-font-size-large;
170
204
  @lime-picker-font-size: var(--primitive-font-size-54);
205
+ @lime-picker-font-size-large: var(--primitive-font-size-66);
171
206
  @lime-picker-joined-font-size: var(--primitive-font-size-66);
207
+ @lime-picker-joined-font-size-large: var(--primitive-font-size-80);
172
208
  @lime-radioitem-icon-font-size: var(--primitive-font-size-48);
209
+ @lime-radioitem-icon-font-size-large: var(--primitive-font-size-56);
173
210
  @lime-steps-step-number-font-size: var(--primitive-font-size-48);
211
+ @lime-steps-step-number-font-size-large: var(--primitive-font-size-58);
174
212
  @lime-switch-icon-font-size: var(--primitive-font-size-84);
175
- @lime-switch-icon-font-size-large: 138px;
176
213
  @lime-tablayout-tab-small-font-size: var(--primitive-font-size-48);
177
214
  @lime-tablayout-tab-font-size: var(--primitive-font-size-60);
215
+ @lime-tablayout-tab-font-size-large: var(--primitive-font-size-72);
178
216
  @lime-tooltip-label-font-size: var(--primitive-font-size-54);
217
+ @lime-tooltip-label-font-size-large: var(--primitive-font-size-66);
179
218
  @lime-tallglyph-alert-title-font-size: @lime-alert-title-font-size;
180
219
  @lime-non-latin-body-font-size: var(--primitive-font-size-54);
181
220
  @lime-non-latin-body-small-font-size: var(--primitive-font-size-48);
221
+ @lime-non-latin-body-small-font-size-large: var(--primitive-font-size-60);
182
222
  @lime-tallglyph-body-small-font-size: var(--primitive-font-size-48);
223
+ @lime-tallglyph-body-small-font-size-large: var(--primitive-font-size-60);
183
224
  @lime-non-latin-button-large-font-size: var(--primitive-font-size-54);
184
225
  @lime-non-latin-button-small-font-size: var(--primitive-font-size-48);
185
226
  @lime-non-latin-header-compact-title-font-size: @lime-header-compact-title-font-size;
@@ -251,6 +292,7 @@
251
292
  @lime-heading-subtitle-font-family: @lime-font-family;
252
293
  @lime-heading-subtitle-font-weight: var(--primitive-font-weight-regular);
253
294
  @lime-heading-subtitle-line-height: @lime-heading-title-line-height;
295
+ @lime-heading-subtitle-line-height-large: #guide.header[standard-subtitle-line-height-large];
254
296
  @lime-heading-large-font-family: @lime-font-family;
255
297
  @lime-heading-large-font-weight: @lime-spottable-font-weight;
256
298
  @lime-heading-medium-font-family: @lime-heading-large-font-family;
@@ -293,6 +335,7 @@
293
335
  @lime-item-line-height: @lime-common-line-height;
294
336
  @lime-item-line-height-large: @lime-item-line-height;
295
337
  @lime-item-label-line-height: 1.25em;
338
+ @lime-item-label-line-height-large: 1.2em;
296
339
  @lime-item-small-font-weight: @lime-item-font-weight;
297
340
  @lime-item-small-label-font-weight: @lime-item-label-font-weight;
298
341
  @lime-item-small-line-height: @lime-common-line-height;
@@ -317,6 +360,7 @@
317
360
  // ---------------------------------------
318
361
  @lime-actionguide-max-width: 1500px;
319
362
  @lime-actionguide-label-height: 60px;
363
+ @lime-actionguide-label-height-large: 70px;
320
364
  @lime-actionguide-icon-height: 84px;
321
365
  @lime-actionguide-icon-margin: 0 0 ~"calc("var(--primitive-spacing-12) ~"* -1)" 0;
322
366
  @lime-actionguide-padding: var(--primitive-spacing-12) 0 var(--primitive-spacing-36) 0;
@@ -359,8 +403,8 @@
359
403
  @lime-button-margin: var(--primitive-spacing-36);
360
404
  @lime-button-focusexpand-margin: 9px .extract(@lime-button-margin, right)[]; // 9px provides enough space for the expanded focus state
361
405
  @lime-button-h-padding: var(--primitive-spacing-60);
362
- @lime-button-height-large: 192px;
363
406
  @lime-button-height: 132px;
407
+ @lime-button-height-large: @lime-button-height;
364
408
  @lime-button-icon-h-margin: var(--primitive-spacing-24);
365
409
  @lime-button-icon-margin-end: @lime-button-icon-h-margin;
366
410
  @lime-button-icon-margin-start: 0;
@@ -380,25 +424,29 @@
380
424
  @lime-button-small-margin: var(--primitive-spacing-24);
381
425
  @lime-button-small-focusexpand-margin: @lime-button-focusexpand-margin;
382
426
  @lime-button-small-h-padding: var(--primitive-spacing-60);
383
- @lime-button-small-height-large: 144px;
384
427
  @lime-button-small-height: 108px;
428
+ @lime-button-small-height-large: @lime-button-small-height;
385
429
  @lime-button-small-max-width: 1020px;
386
430
  @lime-button-small-min-width: 264px;
387
431
  @lime-button-small-min-width-default: 720px;
388
432
  @lime-button-colordot-bottom: var(--primitive-spacing-12);
389
433
  @lime-button-colordot-border-radius: var(--semantic-radius-full);
390
434
  @lime-button-colordot-width: 60px;
435
+ @lime-button-colordot-width-font-size-large: 72px;
391
436
  @lime-button-colordot-h-margin: var(--primitive-spacing-84);
392
- @lime-button-colordot-height: 12px;
437
+ @lime-button-colordot-height: 24px;
438
+ @lime-button-colordot-height-font-size-large: 30px;
393
439
  @lime-button-colordot-h-padding: var(--primitive-spacing-24);
394
440
  @lime-button-colordot-padding-start: var(--primitive-spacing-36);
395
441
  @lime-button-small-colordot-bottom: var(--primitive-spacing-12);
396
442
  @lime-button-small-colordot-width: 51px;
443
+ @lime-button-small-colordot-width-font-size-large: 60px;
397
444
  @lime-button-small-colordot-h-margin: var(--primitive-spacing-72);
398
- @lime-button-small-colordot-height: 9px;
445
+ @lime-button-small-colordot-height: 21px;
446
+ @lime-button-small-colordot-height-font-size-large: 24px;
399
447
  @lime-button-small-colordot-padding-start: var(--primitive-spacing-30);
400
- @lime-button-icon-only-colordot-width: 66px;
401
- @lime-button-icon-only-colordot-height: 9px;
448
+ @lime-button-icon-only-colordot-width: 30px;
449
+ @lime-button-icon-only-colordot-height: 12px;
402
450
  @lime-button-collapse-duration: 300ms;
403
451
  @lime-button-collapsable-icon-margin: 0 var(--primitive-spacing-24);
404
452
 
@@ -408,20 +456,25 @@
408
456
  @lime-card-border-radius: var(--semantic-radius-container);
409
457
  @lime-card-image-border-width: 6px;
410
458
  @lime-card-resting-border-width: 3px;
411
- @lime-card-selection-check-icon-size: 90px;
412
- @lime-card-selection-icon-size: 120px;
459
+ @lime-card-selection-check-icon-size: 48px;
460
+ @lime-card-selection-check-icon-size-large: 58px;
461
+ @lime-card-selection-icon-size: 144px;
462
+ @lime-card-selection-icon-size-large: (@lime-card-selection-icon-size * 1.2);
413
463
  @lime-card-selection-icon-border-radius: 50%;
414
464
  @lime-card-selection-icon-margin: 0;
415
- @lime-card-selection-check-icon-line-height: 90px;
416
- @lime-card-selection-icon-line-height: 144px;
465
+ @lime-card-selection-check-icon-container-large: 72px;
466
+ @lime-card-selection-check-icon-line-height: 60px;
467
+ @lime-card-selection-check-icon-line-height-large: 70px;
468
+ @lime-card-selection-icon-line-height: 180px;
417
469
  @lime-card-badge-size: 108px;
418
470
  @lime-card-badge-margin: 0;
419
471
  @lime-card-badge-top: var(--primitive-spacing-24);
420
472
  @lime-card-badge-left: var(--primitive-spacing-24);
421
473
  @lime-card-badge-right: var(--primitive-spacing-24);
422
474
  @lime-card-caption-line-height: 84px;
475
+ @lime-card-caption-line-height-large: 100px;
423
476
  @lime-card-label-line-height: 60px;
424
- @lime-card-split-caption-label-line-height: 84px;
477
+ @lime-card-label-line-height-large: 70px;
425
478
  @lime-card-split-caption-label-padding: 0 var(--primitive-spacing-48);
426
479
  @lime-card-split-caption-lower-label-padding: var(--primitive-spacing-18);
427
480
  @lime-card-vertical-captions-padding: var(--primitive-spacing-36) 0;
@@ -478,7 +531,9 @@
478
531
  // Date and Time Picker
479
532
  @lime-datecomponentpicker-margin: 0 var(--primitive-spacing-24);
480
533
  @lime-datetime-fontsize: var(--primitive-font-size-66);
534
+ @lime-datetime-fontsize-large: var(--primitive-font-size-80);
481
535
  @lime-datetime-heading-margin: 0 0 var(--primitive-spacing-132);
536
+ @lime-timepicker-colon-fontsize-large: var(--primitive-font-size-72);
482
537
  @lime-timepicker-colon-margin: 0 var(--primitive-spacing-6);
483
538
 
484
539
  // Dropdown
@@ -601,8 +656,8 @@
601
656
  @lime-header-compact-titles-row-padding: 0 0 #guide.header[compact-subtitle-height];
602
657
  @lime-header-compact-subtitle-padding: 0;
603
658
  @lime-header-compact-subtitle-margin-top: (#guide.header[compact-subtitle-height] - #guide.header[compact-subtitle-line-height]);
604
- @lime-header-compact-slotbefore-margin-end: var(--primitive-spacing-24);
605
- @lime-header-compact-slotafter-margin-start: var(--primitive-spacing-30);
659
+ @lime-header-compact-slotbefore-margin-end: var(--primitive-spacing-12);
660
+ @lime-header-compact-slotafter-margin-start: var(--primitive-spacing-12);
606
661
  @lime-header-mini-margin:
607
662
  var(--primitive-spacing-6)
608
663
  @lime-component-spacing
@@ -628,6 +683,8 @@
628
683
  )[@result]
629
684
  )
630
685
  .extract(#guide.header[mini-padding], left)[];
686
+ @lime-header-mini-slotbefore-margin-end: var(--primitive-spacing-12);
687
+ @lime-header-mini-slotafter-margin-start: var(--primitive-spacing-12);
631
688
  @lime-header-wizard-nosubtitle-padding-bottom: ~"calc(@{lime-header-subtitle-height} + var(--primitive-spacing-6))";
632
689
  @lime-header-wizard-margin: 0;
633
690
  @lime-header-wizard-padding:
@@ -665,30 +722,37 @@
665
722
  // Icon
666
723
  // ---------------------------------------
667
724
  @lime-icon-large-size: 84px;
725
+ @lime-icon-large-size-large: (@lime-icon-large-size * 1.2);
668
726
  @lime-icon-medium-size: 78px;
727
+ @lime-icon-medium-size-large: (@lime-icon-medium-size * 1.2);
669
728
  @lime-icon-small-size: 72px;
729
+ @lime-icon-small-size-large: (@lime-icon-small-size * 1.2);
670
730
  @lime-icon-tiny-size: 60px;
731
+ @lime-icon-tiny-size-large: (@lime-icon-tiny-size * 1.2);
671
732
  @lime-icon-margin: var(--primitive-spacing-24);
672
- @lime-icon-large-size-large: (@lime-icon-large-size * 1.2);
673
- @lime-icon-small-size-large: (@lime-icon-small-size * 1.2);
674
733
 
675
734
  // IconItem
676
735
  // ---------------------------------------
677
736
  @lime-iconitem-height: 256px;
678
737
  @lime-iconitem-width: 334px;
679
738
  @lime-iconitem-title-height: ~"calc("@lime-iconitem-height ~"+ "@lime-iconitem-title-line-height ~"+ 24px)";
739
+ @lime-iconitem-title-height-large: ~"calc("@lime-iconitem-height ~"+ "@lime-iconitem-title-line-height-large ~"+ 24px)";
680
740
  @lime-iconitem-border-radius: var(--semantic-radius-container);
681
741
  @lime-iconitem-border-style: solid;
682
742
  @lime-iconitem-border-width: 4px;
683
743
  @lime-iconitem-icon-margin: 0;
684
744
  @lime-iconitem-icon-height: 120px;
745
+ @lime-iconitem-icon-height-large: 146px;
685
746
  @lime-iconitem-icon-width: @lime-iconitem-icon-height;
747
+ @lime-iconitem-icon-width-large: @lime-iconitem-icon-height-large;
686
748
  @lime-iconitem-image-height: 230px;
687
749
  @lime-iconitem-image-width: @lime-iconitem-image-height;
688
750
  @lime-iconitem-label-image-height: ~"calc("@lime-iconitem-height ~"- "@lime-iconitem-label-line-height ~"- 24px)";
689
751
  @lime-iconitem-label-line-height: 54px;
752
+ @lime-iconitem-label-line-height-large: 64px;
690
753
  @lime-iconitem-label-padding: 0 var(--primitive-spacing-12);
691
754
  @lime-iconitem-title-line-height: 60px;
755
+ @lime-iconitem-title-line-height-large: 70px;
692
756
  @lime-iconitem-title-margin: var(--primitive-spacing-24) 0 0 0;
693
757
 
694
758
  // ImageItem
@@ -697,7 +761,9 @@
697
761
  @lime-imageitem-border-radius: var(--semantic-radius-button);
698
762
  @lime-imageitem-image-border-width: 6px;
699
763
  @lime-imageitem-caption-line-height: 84px;
764
+ @lime-imageitem-caption-line-height-large: 100px;
700
765
  @lime-imageitem-label-line-height: 60px;
766
+ @lime-imageitem-label-line-height-large: 70px;
701
767
  @lime-imageitem-placeholder-caption-height: 102px;
702
768
  @lime-imageitem-placeholder-label-height: 66px;
703
769
  @lime-imageitem-horizontal-padding: var(--primitive-spacing-30);
@@ -718,7 +784,9 @@
718
784
  @lime-imageitem-vertical-focus-image-transform: scale(1.1);
719
785
  @lime-imageitem-vertical-image-icon-margin: 0 var(--primitive-spacing-24) 0 0;
720
786
  @lime-imageitem-vertical-image-icon-size: 132px;
787
+ @lime-imageitem-vertical-image-icon-size-large: (@lime-imageitem-vertical-image-icon-size * 1.2);
721
788
  @lime-imageitem-vertical-selection-icon-size: 120px;
789
+ @lime-imageitem-vertical-selection-icon-size-large: (@lime-imageitem-vertical-selection-icon-size * 1.2);
722
790
 
723
791
  // Input
724
792
  // ---------------------------------------
@@ -781,6 +849,7 @@
781
849
  @lime-input-overlay-title-margin: 0 var(--primitive-spacing-144) 0 var(--primitive-spacing-144);
782
850
  @lime-input-invalid-tooltip-margin-top: var(--primitive-spacing-24);
783
851
  @lime-input-invalid-tooltip-line-height: 60px;
852
+ @lime-input-invalid-tooltip-line-height-large: 70px;
784
853
 
785
854
  // InputField
786
855
  // ---------------------------------------
@@ -792,11 +861,14 @@
792
861
  @lime-inputfield-text-indent: 0.2em;
793
862
  @lime-inputfield-border-radius: var(--semantic-radius-button);
794
863
  @lime-inputfield-invalid-tooltip-margin-top: var(--primitive-spacing-30);
864
+ @lime-inputfield-invalid-tooltip-line-height: @lime-input-invalid-tooltip-line-height;
865
+ @lime-inputfield-invalid-tooltip-line-height-large: @lime-input-invalid-tooltip-line-height-large;
795
866
  @lime-inputfield-height: 168px;
796
867
  @lime-inputfield-width: 1560px;
797
868
  @lime-inputfield-withoneicon-width: 1386px;
798
869
  @lime-inputfield-withtwoicons-width: 1272px;
799
870
  @lime-inputfield-small-height: 132px;
871
+ @lime-inputfield-small-height-large: 156px;
800
872
  @lime-inputfield-highlight-height: 100%;
801
873
  @lime-inputfield-small-width: 1200px;
802
874
  @lime-inputfield-small-withoneicon-width: 990px;
@@ -822,8 +894,10 @@
822
894
  // Keyguide
823
895
  // ---------------------------------------
824
896
  @lime-keyguide-colordot-height: 12px;
897
+ @lime-keyguide-colordot-height-large: calc(@lime-keyguide-colordot-height * 1.2);
825
898
  @lime-keyguide-colordot-margin: 0 ((@lime-icon-large-size - @lime-keyguide-colordot-width) / 2); // Keep this centered by adapting its margins
826
899
  @lime-keyguide-colordot-width: 60px;
900
+ @lime-keyguide-colordot-width-large: calc(@lime-keyguide-colordot-width * 1.2);
827
901
  @lime-keyguide-colordot-border-radius: var(--semantic-radius-full);
828
902
  @lime-keyguide-font-weight: var(--primitive-font-weight-regular);
829
903
  @lime-keyguide-icon-border-radius: var(--semantic-radius-container);
@@ -850,7 +924,8 @@
850
924
  @lime-mediaoverlay-caption-margin-bottom: var(--primitive-spacing-36);
851
925
  @lime-mediaoverlay-caption-font-weight: var(--primitive-font-weight-semibold);
852
926
  @lime-mediaoverlay-font-weight: var(--primitive-font-weight-regular);
853
- @lime-mediaoverlay-line-height: 1.3em;
927
+ @lime-mediaoverlay-line-height: 60px;
928
+ @lime-mediaoverlay-line-height-large: 70px;
854
929
  @lime-mediaoverlay-caption-line-height: 1.4em;
855
930
  @lime-mediaoverlay-padding: var(--primitive-spacing-24);
856
931
  @lime-mediaoverlay-progressbar-margin: var(--primitive-spacing-24);
@@ -865,6 +940,7 @@
865
940
  @lime-mediaplayer-button-border-radius: 96px;
866
941
  @lime-mediaplayer-button-height: 180px;
867
942
  @lime-mediaplayer-button-icon-size: 108px;
943
+ @lime-mediaplayer-button-icon-size-large: 130px;
868
944
  @lime-mediaplayer-button-padding: var(--primitive-spacing-36);
869
945
  @lime-mediaplayer-controls-actionguide-height: 168px;
870
946
  @lime-mediaplayer-controls-actionguide-padding-bottom: 0;
@@ -881,6 +957,7 @@
881
957
  @lime-mediaplayer-slider-knob-size: 36px;
882
958
  @lime-mediaplayer-slider-tap-area: 60px;
883
959
  @lime-mediaplayer-times-line-height: 60px;
960
+ @lime-mediaplayer-times-line-height-large: 70px;
884
961
  @lime-mediaplayer-times-min-width: 192px;
885
962
 
886
963
  // PageViews
@@ -918,6 +995,7 @@
918
995
  @lime-picker-item-padding: 0 @lime-spotlight-outset;
919
996
  @lime-picker-focus-duration: @lime-spotlight-focus-animation-duration;
920
997
  @lime-picker-value-height: 72px;
998
+ @lime-picker-value-height-large: 84px;
921
999
  @lime-picker-vertical-height: 362px;
922
1000
  @lime-picker-vertical-large-value-width: 696px;
923
1001
  @lime-picker-joined-horizontal-border-radius: var(--semantic-radius-full);
@@ -927,13 +1005,16 @@
927
1005
  @lime-picker-joined-horizontal-value-margin: 0 0 var(--primitive-spacing-48) 0;
928
1006
  @lime-picker-joined-vertical-border-radius: var(--semantic-radius-button);
929
1007
  @lime-picker-joined-value-height: 90px;
1008
+ @lime-picker-joined-value-height-large: 110px;
930
1009
  @lime-picker-small-value-width: (@lime-icon-large-size + (@lime-spotlight-outset * 3));
931
1010
  @lime-picker-medium-value-width: 360px;
932
1011
  @lime-picker-large-value-width: 468px;
933
1012
  @lime-picker-incrementer-margin: var(--primitive-spacing-36);
934
1013
  @lime-picker-incrementer-width: 120px;
935
1014
  @lime-picker-indicator-width: 24px;
1015
+ @lime-picker-indicator-width-large: calc(@lime-picker-indicator-width * 1.2);
936
1016
  @lime-picker-indicator-height: 24px;
1017
+ @lime-picker-indicator-height-large: calc(@lime-picker-indicator-height * 1.2);
937
1018
  @lime-picker-indicator-border-radius: @lime-picker-indicator-width;
938
1019
  @lime-picker-indicator-inactive-scale: 0.75;
939
1020
  @lime-picker-indicator-active-scale: 1;
@@ -954,6 +1035,7 @@
954
1035
  // ---------------------------------------
955
1036
  @lime-popuptablayout-margin: var(--primitive-spacing-60) auto var(--primitive-spacing-132) var(--primitive-spacing-60);
956
1037
  @lime-popuptablayout-tab-icon-size: 96px;
1038
+ @lime-popuptablayout-tab-icon-size-large: (@lime-popuptablayout-tab-icon-size * 1.2);
957
1039
  @lime-popuptablayout-tabs-border-radius: var(--semantic-radius-container);
958
1040
  @lime-popuptablayout-tabs-content-spacing: var(--primitive-spacing-36);
959
1041
  @lime-popuptablayout-content-border-radius: var(--semantic-radius-popup);
@@ -1094,16 +1176,17 @@
1094
1176
 
1095
1177
  // Switch
1096
1178
  // ---------------------------------------
1097
- @lime-switch-border-radius: var(--primitive-radius-30);
1179
+ @lime-switch-border-radius: var(--primitive-radius-999);
1098
1180
  @lime-switch-height: 60px;
1099
1181
  @lime-switch-width: 120px;
1100
1182
  @lime-switch-icon-height: 48px;
1183
+ @lime-switch-icon-height-large: 57px;
1101
1184
  @lime-switch-icon-line-height: @lime-switch-height;
1102
- @lime-switch-height-large: @lime-icon-small-size-large;
1103
- @lime-switch-width-large: 162px;
1104
- @lime-switch-icon-height-large: @lime-icon-small-size-large;
1105
- @lime-switch-icon-line-height-large: @lime-switch-icon-height-large;
1185
+ @lime-switch-icon-line-height-large: @lime-switch-height-large;
1186
+ @lime-switch-height-large: 72px;
1187
+ @lime-switch-width-large: 144px;
1106
1188
  @lime-switch-icon-top: ((@lime-switch-height - @lime-switch-icon-height) / 2);
1189
+ @lime-switch-icon-top-large: ((@lime-switch-height-large - @lime-switch-icon-height-large) / 2);
1107
1190
  @lime-switch-spottable-margin: @lime-component-spacing;
1108
1191
  @lime-switch-spottable-border-radius: var(--primitive-radius-24);
1109
1192
  @lime-switch-spottable-position: ~"calc(@{lime-component-spacing} * -1)"; // These correlate with the numbers from 'margin" above
@@ -1144,6 +1227,7 @@
1144
1227
  @lime-tooltip-point-height: 37px; // actual value is 36px. +1px to ensure no gaps
1145
1228
  @lime-tooltip-border-radius: var(--semantic-radius-button);
1146
1229
  @lime-tooltip-label-line-height: 72px;
1230
+ @lime-tooltip-label-line-height-large: 84px;
1147
1231
  @lime-tooltip-padding: var(--primitive-spacing-12) var(--primitive-spacing-48);
1148
1232
  @lime-tooltip-margin-offset: var(--primitive-spacing-18); // GUI for the length of the arrow
1149
1233
  @lime-tooltip-marquee-width: 600px;
@@ -1160,10 +1244,13 @@
1160
1244
  @lime-video-slider-tooltip-shift-position-bottom: ~"calc(@{lime-video-slider-tooltip-position-bottom} + @{lime-video-slider-tooltip-arrow-border-top})";
1161
1245
  @lime-video-slider-tooltip-margin-bottom: var(--primitive-spacing-6);
1162
1246
  @lime-video-slider-tooltip-font-size: var(--primitive-font-size-48);
1247
+ @lime-video-slider-tooltip-font-size-large: var(--primitive-font-size-58);
1163
1248
  @lime-video-slider-tooltip-font-weight: var(--primitive-font-weight-regular);
1164
1249
  @lime-video-slider-tooltip-line-height: 72px;
1250
+ @lime-video-slider-tooltip-line-height-large: 84px;
1165
1251
  @lime-video-slider-tooltip-gutter-width: var(--primitive-spacing-42);
1166
1252
  @lime-video-slider-tooltip-thumbnail-content-font-size: var(--primitive-font-size-54);
1253
+ @lime-video-slider-tooltip-thumbnail-content-font-size-large: var(--primitive-font-size-56);
1167
1254
  @lime-video-slider-tooltip-thumbnail-content-margin-bottom: var(--primitive-spacing-30);
1168
1255
  @lime-video-slider-tooltip-thumbnail-border-radius: var(--primitive-radius-12);
1169
1256
  @lime-video-slider-tooltip-thumbnail-border-width: 12px;
@@ -1171,6 +1258,7 @@
1171
1258
  @lime-video-slider-tooltip-thumbnail-height: 240px;
1172
1259
  @lime-video-slider-tooltip-deactivated-thumbnail-opacity: 0.5;
1173
1260
  @lime-video-feedback-icon-font-size: 1.25em;
1261
+ @lime-video-feedback-icon-font-size-large: 1.5em;
1174
1262
  @lime-video-feedback-mini-font-size: var(--primitive-font-size-66);
1175
1263
  @lime-video-feedback-mini-font-weight: var(--primitive-font-weight-regular);
1176
1264
  @lime-video-feedback-mini-padding: var(--primitive-spacing-18) var(--primitive-spacing-60);
@@ -1181,9 +1269,11 @@
1181
1269
  @lime-video-feedback-message-font-weight: var(--primitive-font-weight-semibold);
1182
1270
  @lime-video-player-badge-text-size: var(--primitive-font-size-48);
1183
1271
  @lime-video-player-info-font-size: var(--primitive-font-size-54);
1272
+ @lime-video-player-info-font-size-large: var(--primitive-font-size-66);
1184
1273
  @lime-video-player-info-font-weight: var(--primitive-font-weight-regular);
1185
1274
  @lime-video-player-info-height: 84px;
1186
1275
  @lime-video-player-info-line-height: 72px;
1276
+ @lime-video-player-info-line-height-large: 84px;
1187
1277
  @lime-video-player-info-padding: var(--primitive-spacing-72) var(--primitive-spacing-48) 0;
1188
1278
  @lime-video-player-info-margin-bottom: var(--primitive-spacing-60);
1189
1279
  @lime-video-player-slider-container-height: 132px;
@@ -1191,8 +1281,10 @@
1191
1281
  @lime-video-player-padding-bottom: 0;
1192
1282
  @lime-video-player-padding-side: var(--primitive-spacing-132);
1193
1283
  @lime-video-player-label-font-size: var(--primitive-font-size-90);
1284
+ @lime-video-player-label-font-size-large: var(--primitive-font-size-108);
1194
1285
  @lime-video-player-label-font-weight: var(--primitive-font-weight-semibold);
1195
1286
  @lime-video-player-label-line-height: 120px;
1287
+ @lime-video-player-label-line-height-large: 146px;
1196
1288
 
1197
1289
  // VirtualList
1198
1290
  // ---------------------------------------
@@ -30,9 +30,14 @@ var ScrollbarPlaceholder = exports.ScrollbarPlaceholder = function ScrollbarPlac
30
30
  _useState2 = _slicedToArray(_useState, 2),
31
31
  showPlaceholder = _useState2[0],
32
32
  setShowPlaceholder = _useState2[1];
33
- if (showPlaceholder) {
34
- setShowPlaceholder(false);
35
- }
33
+
34
+ // The placeholder needs to mount and then unmount so its `onSpotlightDisappear` fires and
35
+ // hands focus over to the real scrollbar once it is ready.
36
+ (0, _react.useEffect)(function () {
37
+ if (showPlaceholder) {
38
+ setShowPlaceholder(false); // eslint-disable-line react-hooks/set-state-in-effect
39
+ }
40
+ }, [showPlaceholder]);
36
41
  var resetFocus = (0, _react.useCallback)(function () {
37
42
  setTimeout(function () {
38
43
  if (!_spotlight["default"].getPointerMode() && !_spotlight["default"].getCurrent()) {