@commercetools-uikit/design-system 15.13.1 → 15.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commercetools-uikit-design-system.cjs.dev.js +100 -25
- package/dist/commercetools-uikit-design-system.cjs.prod.js +100 -25
- package/dist/commercetools-uikit-design-system.esm.js +100 -25
- package/dist/declarations/src/design-tokens.d.ts +96 -21
- package/dist/declarations/src/index.d.ts +1 -1
- package/dist/declarations/src/theme-provider.d.ts +1 -1
- package/materials/custom-properties.css +55 -9
- package/materials/custom-properties.json +34 -9
- package/materials/internals/definition.yaml +129 -19
- package/package.json +2 -2
|
@@ -64,6 +64,7 @@ var themes = {
|
|
|
64
64
|
colorAccent20: 'hsl(195, 35.2941176471%, 20%)',
|
|
65
65
|
colorAccent30: 'hsl(195, 35.2941176471%, 30%)',
|
|
66
66
|
colorAccent40: 'hsl(195, 35.2941176471%, 40%)',
|
|
67
|
+
colorAccent60: 'hsl(195, 35.2941176471%, 60%)',
|
|
67
68
|
colorAccent90: 'hsl(195, 35.2941176471%, 90%)',
|
|
68
69
|
colorAccent95: 'hsl(195, 35.2941176471%, 95%)',
|
|
69
70
|
colorAccent98: 'hsl(195, 35.2941176471%, 98%)',
|
|
@@ -210,8 +211,9 @@ var themes = {
|
|
|
210
211
|
backgroundColorForAvatar: 'hsl(0, 0%, 60%)',
|
|
211
212
|
backgroundColorForAvatarWhenHighlighted: '#ccc',
|
|
212
213
|
backgroundColorForStampAsPositive: 'hsl(172.9608938547486, 100%, 85%)',
|
|
213
|
-
|
|
214
|
-
|
|
214
|
+
backgroundColorForLocalizedInputLabel: 'hsl(195, 35.2941176471%, 98%)',
|
|
215
|
+
backgroundColorForLocalizedInputLabelWhenReadonly: 'hsl(195, 35.2941176471%, 95%)',
|
|
216
|
+
backgroundColorForLocalizedInputLabelWhenDisabled: 'hsl(195, 35.2941176471%, 98%)',
|
|
215
217
|
backgroundColorForTooltip: '#213c45',
|
|
216
218
|
backgroundColorForViewSwitcher: '#fff',
|
|
217
219
|
backgroundColorForViewSwitcherWhenDisabled: 'hsl(195, 35.2941176471%, 98%)',
|
|
@@ -230,6 +232,15 @@ var themes = {
|
|
|
230
232
|
backgroundColorForCheckboxInputIconWhenReadonly: '#fff',
|
|
231
233
|
backgroundColorForCheckboxInputIconWhenError: '#fff',
|
|
232
234
|
backgroundColorForCheckboxInputIconWhenHovered: '#fff',
|
|
235
|
+
backgroundColorForPrimaryActionDropdownWhenActive: 'hsl(0, 0%, 95%)',
|
|
236
|
+
backgroundColorForPrimaryActionDropdownWhenDisabled: 'hsl(195, 35.2941176471%, 98%)',
|
|
237
|
+
backgroundColorForToggleInputTrack: 'hsl(0, 0%, 60%)',
|
|
238
|
+
backgroundColorForToggleInputTrackWhenDisabled: '#ccc',
|
|
239
|
+
backgroundColorForToggleInputThumbWhenDisabled: 'hsl(195, 35.2941176471%, 95%)',
|
|
240
|
+
backgroundColorForToggleInputTrackWhenChecked: '#00b39e',
|
|
241
|
+
backgroundColorForToggleInputThumbWhenChecked: '#fff',
|
|
242
|
+
backgroundColorForToggleInputTrackWhenCheckedAndDisabled: 'hsl(172.9608938547486, 100%, 25%)',
|
|
243
|
+
backgroundColorForToggleInputThumbWhenCheckedAndDisabled: '#ccc',
|
|
233
244
|
borderForButtonAsSecondary: 'none',
|
|
234
245
|
borderForButtonAsSecondaryWhenHovered: 'none',
|
|
235
246
|
borderForButtonAsSecondaryWhenActive: 'none',
|
|
@@ -263,8 +274,8 @@ var themes = {
|
|
|
263
274
|
borderColorForStampAsInformation: '#078cdf',
|
|
264
275
|
borderColorForStampAsPrimary: 'hsl(172.9608938547486, 100%, 25%)',
|
|
265
276
|
borderColorForStampAsSecondary: 'hsl(0, 0%, 60%)',
|
|
266
|
-
|
|
267
|
-
|
|
277
|
+
borderColorForLocalizedInputLabel: '#ccc',
|
|
278
|
+
borderColorForLocalizedInputLabelWhenReadonly: '#ccc',
|
|
268
279
|
borderColorForContentNotificationWhenError: '#e60050',
|
|
269
280
|
borderColorForContentNotificationWhenInfo: '#078cdf',
|
|
270
281
|
borderColorForContentNotificationWhenWarning: '#f16d0e',
|
|
@@ -283,6 +294,7 @@ var themes = {
|
|
|
283
294
|
borderColorForRadioInputWhenReadonly: '#ccc',
|
|
284
295
|
borderColorForRadioInputWhenChecked: '#ccc',
|
|
285
296
|
borderColorForRadioInputWhenFocused: '#00b39e',
|
|
297
|
+
borderColorForPrimaryActionDropdownMenu: '#ccc',
|
|
286
298
|
borderRadiusForButtonAsBig: '6px',
|
|
287
299
|
borderRadiusForButtonAsSmall: '4px',
|
|
288
300
|
borderRadiusForButtonAsIconAsBig: '6px',
|
|
@@ -296,6 +308,9 @@ var themes = {
|
|
|
296
308
|
borderRadiusForViewSwitcher: '6px',
|
|
297
309
|
borderRadiusForContentNotification: '0 var(--border-radius-6) var(--border-radius-6) 0',
|
|
298
310
|
borderRadiusForContentNotificationIcon: 'var(--border-radius-6) 0 0 var(--border-radius-6)',
|
|
311
|
+
borderRadiusForPrimaryActionDropdown: 'var(--border-radius-6) 0 0 var(--border-radius-6)',
|
|
312
|
+
borderRadiusForPrimaryActionDropdownIcon: '0 var(--border-radius-6) var(--border-radius-6) 0',
|
|
313
|
+
borderRadiusForPrimaryActionDropdownMenu: '6px',
|
|
299
314
|
borderWidthForInput: '1px',
|
|
300
315
|
borderWidthForInputWhenWarning: '1px',
|
|
301
316
|
borderWidthForInputWhenError: '1px',
|
|
@@ -305,6 +320,7 @@ var themes = {
|
|
|
305
320
|
borderWidthForContentNotificationIcon: '0px',
|
|
306
321
|
borderLeftWidthForContentNotification: '1px',
|
|
307
322
|
borderWidthForCheckboxInputIcon: '1px',
|
|
323
|
+
borderForPrimaryActionDropdownIcon: '0px 0px 0px 1px',
|
|
308
324
|
boxShadowForDatetimeInputWhenHovered: 'inset 0 0 0 2px',
|
|
309
325
|
boxShadowForViewSwitcher: '0 1px 1px 0 rgba(0, 0, 0, 0.24), 0 -1px 1px 0 rgba(0, 0, 0, 0.12)',
|
|
310
326
|
boxShadowForViewSwitcherWhenSelected: 'inset 0 -1px 3px 0 rgba(0, 0, 0, 0.1), inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.2), inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.25)',
|
|
@@ -322,7 +338,7 @@ var themes = {
|
|
|
322
338
|
fontColorForTagWhenDisabled: 'hsl(0, 0%, 60%)',
|
|
323
339
|
fontColorForTextWhenInverted: '#fff',
|
|
324
340
|
fontColorForTableHeader: '#fff',
|
|
325
|
-
|
|
341
|
+
fontColorForLocalizedInputLabel: 'hsl(0, 0%, 60%)',
|
|
326
342
|
fontColorForViewSwitcher: '#1a1a1a',
|
|
327
343
|
fontColorForViewSwitcherWhenDisabled: 'hsl(0, 0%, 60%)',
|
|
328
344
|
fontColorForViewSwitcherWhenSelected: '#1a1a1a',
|
|
@@ -361,6 +377,7 @@ var themes = {
|
|
|
361
377
|
heightForSelectInputTag: '26px',
|
|
362
378
|
heightForRadioInputOption: '16px',
|
|
363
379
|
heightForRadioInputOptionWhenChecked: '8px',
|
|
380
|
+
heightForPrimaryActionDropdown: '32px',
|
|
364
381
|
widthForAvatarAsMedium: '48px',
|
|
365
382
|
minWidthForMoneyInputCurrencyDropdown: '72px',
|
|
366
383
|
placeholderFontColorForInput: 'hsl(0, 0%, 60%)',
|
|
@@ -381,7 +398,7 @@ var themes = {
|
|
|
381
398
|
fontSizeForAvatarAsSmall: '1rem',
|
|
382
399
|
fontSizeForAvatarAsMedium: '1.5rem',
|
|
383
400
|
fontSizeForAvatarAsBig: '3rem',
|
|
384
|
-
|
|
401
|
+
fontSizeForLocalizedInputLabel: '1rem',
|
|
385
402
|
fontSizeForContentNotification: '1rem',
|
|
386
403
|
fontSizeForSelectInputTag: '0.9231rem',
|
|
387
404
|
iconColorForDatetimeInputIcon: '#1a1a1a',
|
|
@@ -412,6 +429,8 @@ var themes = {
|
|
|
412
429
|
marginRightForSearchInputIcon: '8px',
|
|
413
430
|
marginRightForClearInputIcon: '4px',
|
|
414
431
|
marginLeftForRadioInputLabel: '8px',
|
|
432
|
+
marginRightForPrimaryActionDropdown: '4px',
|
|
433
|
+
marginTopForPrimaryActionDropdown: 'none',
|
|
415
434
|
paddingForStamp: 'var(--spacing-10) var(--spacing-20)',
|
|
416
435
|
paddingForStampAsCondensed: '1px var(--spacing-10)',
|
|
417
436
|
paddingForTag: '5px var(--spacing-20)',
|
|
@@ -431,7 +450,7 @@ var themes = {
|
|
|
431
450
|
paddingForInput: '8px',
|
|
432
451
|
paddingForMultilineInput: 'var(--spacing-10) var(--spacing-20)',
|
|
433
452
|
paddingForLocalizedRichTextInputLabel: '0 var(--spacing-20)',
|
|
434
|
-
|
|
453
|
+
paddingForLocalizedInputLabel: '0 var(--spacing-20)',
|
|
435
454
|
paddingForTagRemoveIcon: '0 var(--spacing-10)',
|
|
436
455
|
paddingForTooltip: 'var(--spacing-10) var(--spacing-20)',
|
|
437
456
|
paddingForViewSwitcher: '0 var(--spacing-30) 0 var(--spacing-30)',
|
|
@@ -446,6 +465,8 @@ var themes = {
|
|
|
446
465
|
paddingForSelectInputMenu: 'inherit',
|
|
447
466
|
paddingForMoneyInputCurrencyDropdown: '0 var(--spacing-20)',
|
|
448
467
|
paddingForSelectableSearchInputDropdown: '0 var(--spacing-20)',
|
|
468
|
+
paddingForPrimaryActionDropdown: '0 var(--spacing-20)',
|
|
469
|
+
paddingForPrimaryActionDropdownIcon: '0 var(--spacing-10)',
|
|
449
470
|
shadowForButton: '0 -1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24)',
|
|
450
471
|
shadowForButtonWhenFocused: '0 1px 9.5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24)',
|
|
451
472
|
shadowForButtonWhenHovered: '0 1px 9.5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24)',
|
|
@@ -459,6 +480,11 @@ var themes = {
|
|
|
459
480
|
shadowForInputWhenWarning: 'none',
|
|
460
481
|
shadowForTooltip: '0 2px 2px rgba(0, 0, 0, 0.24), 0 1px 4.75px rgba(0, 0, 0, 0.12)',
|
|
461
482
|
shadowForSelectInputMenu: '0 -1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24)',
|
|
483
|
+
shadowForPrimaryActionDropdown: '0 -1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24)',
|
|
484
|
+
shadowForPrimaryActionDropdownWhenHovered: '0 1px 9.5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24)',
|
|
485
|
+
shadowForPrimaryActionDropdownWhenActive: 'inset 0 -1px 3px 0 rgba(0, 0, 0, 0.1), inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.2), inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.25)',
|
|
486
|
+
shadowForPrimaryActionDropdownMenu: '0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)',
|
|
487
|
+
shadowForToggleInputThumb: '0 -1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24)',
|
|
462
488
|
fontSizeM: '1rem',
|
|
463
489
|
bigButtonHeight: '32px',
|
|
464
490
|
smallButtonHeight: '24px',
|
|
@@ -467,8 +493,7 @@ var themes = {
|
|
|
467
493
|
fontSizeDefault: '1rem',
|
|
468
494
|
fontSizeSmall: '0.9231rem',
|
|
469
495
|
shadowBoxTagHover: '0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)',
|
|
470
|
-
sizeHeightTag: '26px'
|
|
471
|
-
standardInputHeight: '32px'
|
|
496
|
+
sizeHeightTag: '26px'
|
|
472
497
|
},
|
|
473
498
|
test: {
|
|
474
499
|
colorPrimary: '#00b39e',
|
|
@@ -495,8 +520,9 @@ var themes = {
|
|
|
495
520
|
backgroundColorForAvatar: '#213c45',
|
|
496
521
|
backgroundColorForAvatarWhenHighlighted: 'hsl(195, 35.2941176471%, 30%)',
|
|
497
522
|
backgroundColorForStampAsPositive: 'hsl(172.9608938547486, 100%, 95%)',
|
|
498
|
-
|
|
499
|
-
|
|
523
|
+
backgroundColorForLocalizedInputLabel: '#fff',
|
|
524
|
+
backgroundColorForLocalizedInputLabelWhenReadonly: 'hsl(0, 0%, 95%)',
|
|
525
|
+
backgroundColorForLocalizedInputLabelWhenDisabled: 'hsl(0, 0%, 95%)',
|
|
500
526
|
backgroundColorForTooltip: 'hsl(195, 35.2941176471%, 10%)',
|
|
501
527
|
backgroundColorForViewSwitcherWhenDisabled: '#fff',
|
|
502
528
|
backgroundColorForViewSwitcherWhenSelected: 'hsl(0, 0%, 95%)',
|
|
@@ -515,6 +541,15 @@ var themes = {
|
|
|
515
541
|
backgroundColorForCheckboxInputIconWhenReadonly: 'hsl(0, 0%, 60%)',
|
|
516
542
|
backgroundColorForCheckboxInputIconWhenError: '#e60050',
|
|
517
543
|
backgroundColorForCheckboxInputIconWhenHovered: 'hsl(0, 0%, 90%)',
|
|
544
|
+
backgroundColorForPrimaryActionDropdownWhenActive: 'hsl(0, 0%, 90%)',
|
|
545
|
+
backgroundColorForPrimaryActionDropdownWhenDisabled: 'hsl(0, 0%, 95%)',
|
|
546
|
+
backgroundColorForToggleInputTrack: '#ccc',
|
|
547
|
+
backgroundColorForToggleInputTrackWhenDisabled: 'hsl(0, 0%, 90%)',
|
|
548
|
+
backgroundColorForToggleInputThumbWhenDisabled: 'hsl(0, 0%, 60%)',
|
|
549
|
+
backgroundColorForToggleInputTrackWhenChecked: 'hsl(172.9608938547486, 100%, 40%)',
|
|
550
|
+
backgroundColorForToggleInputThumbWhenChecked: 'hsl(172.9608938547486, 100%, 25%)',
|
|
551
|
+
backgroundColorForToggleInputTrackWhenCheckedAndDisabled: 'hsl(195, 35.2941176471%, 90%)',
|
|
552
|
+
backgroundColorForToggleInputThumbWhenCheckedAndDisabled: 'hsl(195, 35.2941176471%, 60%)',
|
|
518
553
|
borderForButtonAsSecondary: '1px solid var(--color-neutral)',
|
|
519
554
|
borderForButtonAsSecondaryWhenHovered: '1px solid var(--color-neutral)',
|
|
520
555
|
borderForButtonAsSecondaryWhenActive: '1px solid var(--color-neutral)',
|
|
@@ -543,7 +578,7 @@ var themes = {
|
|
|
543
578
|
borderColorForStampAsInformation: 'hsl(203.05555555555554, 93.9130434783%, 85%)',
|
|
544
579
|
borderColorForStampAsPrimary: 'hsl(172.9608938547486, 100%, 85%)',
|
|
545
580
|
borderColorForStampAsSecondary: 'hsl(0, 0%, 85%)',
|
|
546
|
-
|
|
581
|
+
borderColorForLocalizedInputLabelWhenReadonly: '#fff',
|
|
547
582
|
borderColorForTag: '#ccc',
|
|
548
583
|
borderColorForTagWhenHovered: '#ccc',
|
|
549
584
|
borderColorForContentNotificationWhenError: 'hsl(339.1304347826087, 100%, 85%)',
|
|
@@ -564,6 +599,7 @@ var themes = {
|
|
|
564
599
|
borderColorForRadioInputWhenReadonly: 'hsl(0, 0%, 60%)',
|
|
565
600
|
borderColorForRadioInputWhenChecked: '#00b39e',
|
|
566
601
|
borderColorForRadioInputWhenFocused: 'hsl(0, 0%, 60%)',
|
|
602
|
+
borderColorForPrimaryActionDropdownMenu: '#fff',
|
|
567
603
|
borderRadiusForButtonAsBig: '4px',
|
|
568
604
|
borderRadiusForButtonAsSmall: '4px',
|
|
569
605
|
borderRadiusForButtonAsIconAsBig: '4px',
|
|
@@ -576,11 +612,15 @@ var themes = {
|
|
|
576
612
|
borderRadiusForViewSwitcher: '4px',
|
|
577
613
|
borderRadiusForContentNotification: '0 var(--border-radius-4) var(--border-radius-4) 0',
|
|
578
614
|
borderRadiusForContentNotificationIcon: 'var(--border-radius-4) 0 0 var(--border-radius-4)',
|
|
615
|
+
borderRadiusForPrimaryActionDropdown: 'var(--border-radius-4) 0 0 var(--border-radius-4)',
|
|
616
|
+
borderRadiusForPrimaryActionDropdownIcon: '0 var(--border-radius-4) var(--border-radius-4) 0',
|
|
617
|
+
borderRadiusForPrimaryActionDropdownMenu: '4px',
|
|
579
618
|
borderWidthForTag: '1px 1px 1px 0',
|
|
580
619
|
borderWidthForContentNotificationIcon: '1px',
|
|
581
620
|
borderLeftWidthForContentNotification: '0px',
|
|
582
621
|
borderWidthForSelectInput: '2px',
|
|
583
622
|
borderWidthForCheckboxInputIcon: '2px',
|
|
623
|
+
borderForPrimaryActionDropdownIcon: '1px 1px 1px 0px',
|
|
584
624
|
boxShadowForDatetimeInputWhenHovered: 'inset 0 0 0 1px',
|
|
585
625
|
boxShadowForViewSwitcher: 'none',
|
|
586
626
|
boxShadowForViewSwitcherWhenSelected: 'none',
|
|
@@ -624,7 +664,7 @@ var themes = {
|
|
|
624
664
|
fontSizeForAvatarAsSmall: '0.875rem',
|
|
625
665
|
fontSizeForAvatarAsMedium: '1rem',
|
|
626
666
|
fontSizeForAvatarAsBig: '2.5rem',
|
|
627
|
-
|
|
667
|
+
fontSizeForLocalizedInputLabel: '1rem',
|
|
628
668
|
fontSizeForSelectInputTag: '1rem',
|
|
629
669
|
lineHeightForTextAsH1: '2.125rem',
|
|
630
670
|
lineHeightForTextAsH2: '1.75rem',
|
|
@@ -653,6 +693,7 @@ var themes = {
|
|
|
653
693
|
heightForSelectInputTag: '32px',
|
|
654
694
|
heightForRadioInputOption: '18px',
|
|
655
695
|
heightForRadioInputOptionWhenChecked: '10px',
|
|
696
|
+
heightForPrimaryActionDropdown: '40px',
|
|
656
697
|
iconColorForDatetimeInputIcon: 'hsl(0, 0%, 40%)',
|
|
657
698
|
iconColorForDatetimeInputIconWhenHovered: '#e60050',
|
|
658
699
|
widthForAvatarAsMedium: '40px',
|
|
@@ -667,6 +708,8 @@ var themes = {
|
|
|
667
708
|
marginRightForSearchInputIcon: '12px',
|
|
668
709
|
marginRightForClearInputIcon: '8px',
|
|
669
710
|
marginLeftForRadioInputLabel: '4px',
|
|
711
|
+
marginRightForPrimaryActionDropdown: '8px',
|
|
712
|
+
marginTopForPrimaryActionDropdown: '8px',
|
|
670
713
|
paddingForStamp: '4px 12px',
|
|
671
714
|
paddingForStampAsCondensed: '0 var(--spacing-20)',
|
|
672
715
|
paddingForTag: '2px 12px',
|
|
@@ -686,7 +729,7 @@ var themes = {
|
|
|
686
729
|
paddingForInput: '16px',
|
|
687
730
|
paddingForMultilineInput: '8px',
|
|
688
731
|
paddingForLocalizedRichTextInputLabel: '8px',
|
|
689
|
-
|
|
732
|
+
paddingForLocalizedInputLabel: '0 12px',
|
|
690
733
|
paddingForTagRemoveIcon: '0 12px',
|
|
691
734
|
paddingForTooltip: 'var(--spacing-20) 12px',
|
|
692
735
|
paddingForViewSwitcher: '0 var(--spacing-30) 0 var(--spacing-30)',
|
|
@@ -701,6 +744,8 @@ var themes = {
|
|
|
701
744
|
paddingForSelectInputMenu: 'var(--spacing-10) 0',
|
|
702
745
|
paddingForMoneyInputCurrencyDropdown: '0 12px',
|
|
703
746
|
paddingForSelectableSearchInputDropdown: '0 12px',
|
|
747
|
+
paddingForPrimaryActionDropdown: '0 var(--spacing-30)',
|
|
748
|
+
paddingForPrimaryActionDropdownIcon: '0 var(--spacing-20)',
|
|
704
749
|
shadowForButton: 'none',
|
|
705
750
|
shadowForButtonWhenFocused: 'none',
|
|
706
751
|
shadowForButtonWhenHovered: 'none',
|
|
@@ -712,7 +757,12 @@ var themes = {
|
|
|
712
757
|
shadowForInputWhenError: 'inset 0 0 0 1px var(--color-error)',
|
|
713
758
|
shadowForInputWhenWarning: 'inset 0 0 0 1px var(--color-warning)',
|
|
714
759
|
shadowForTooltip: '0px 1px 2px 0px rgba(0, 0, 0, 0.25)',
|
|
715
|
-
shadowForSelectInputMenu: '0 2px 5px 0px rgba(0, 0, 0, 0.15)'
|
|
760
|
+
shadowForSelectInputMenu: '0 2px 5px 0px rgba(0, 0, 0, 0.15)',
|
|
761
|
+
shadowForPrimaryActionDropdown: 'none',
|
|
762
|
+
shadowForPrimaryActionDropdownWhenHovered: 'none',
|
|
763
|
+
shadowForPrimaryActionDropdownWhenActive: 'none',
|
|
764
|
+
shadowForPrimaryActionDropdownMenu: '0 2px 5px 0px rgba(0, 0, 0, 0.15)',
|
|
765
|
+
shadowForToggleInputThumb: '0px 1px 5px rgba(0, 0, 0, 0.2)'
|
|
716
766
|
}
|
|
717
767
|
};
|
|
718
768
|
var designTokens = {
|
|
@@ -726,6 +776,7 @@ var designTokens = {
|
|
|
726
776
|
colorAccent20: 'var(--color-accent-20, hsl(195, 35.2941176471%, 20%))',
|
|
727
777
|
colorAccent30: 'var(--color-accent-30, hsl(195, 35.2941176471%, 30%))',
|
|
728
778
|
colorAccent40: 'var(--color-accent-40, hsl(195, 35.2941176471%, 40%))',
|
|
779
|
+
colorAccent60: 'var(--color-accent-60, hsl(195, 35.2941176471%, 60%))',
|
|
729
780
|
colorAccent90: 'var(--color-accent-90, hsl(195, 35.2941176471%, 90%))',
|
|
730
781
|
colorAccent95: 'var(--color-accent-95, hsl(195, 35.2941176471%, 95%))',
|
|
731
782
|
colorAccent98: 'var(--color-accent-98, hsl(195, 35.2941176471%, 98%))',
|
|
@@ -872,8 +923,9 @@ var designTokens = {
|
|
|
872
923
|
backgroundColorForAvatar: 'var(--background-color-for-avatar, hsl(0, 0%, 60%))',
|
|
873
924
|
backgroundColorForAvatarWhenHighlighted: 'var(--background-color-for-avatar-when-highlighted, #ccc)',
|
|
874
925
|
backgroundColorForStampAsPositive: 'var(--background-color-for-stamp-as-positive, hsl(172.9608938547486, 100%, 85%))',
|
|
875
|
-
|
|
876
|
-
|
|
926
|
+
backgroundColorForLocalizedInputLabel: 'var(--background-color-for-localized-input-label, hsl(195, 35.2941176471%, 98%))',
|
|
927
|
+
backgroundColorForLocalizedInputLabelWhenReadonly: 'var(--background-color-for-localized-input-label-when-readonly, hsl(195, 35.2941176471%, 95%))',
|
|
928
|
+
backgroundColorForLocalizedInputLabelWhenDisabled: 'var(--background-color-for-localized-input-label-when-disabled, hsl(195, 35.2941176471%, 98%))',
|
|
877
929
|
backgroundColorForTooltip: 'var(--background-color-for-tooltip, #213c45)',
|
|
878
930
|
backgroundColorForViewSwitcher: 'var(--background-color-for-view-switcher, #fff)',
|
|
879
931
|
backgroundColorForViewSwitcherWhenDisabled: 'var(--background-color-for-view-switcher-when-disabled, hsl(195, 35.2941176471%, 98%))',
|
|
@@ -892,6 +944,15 @@ var designTokens = {
|
|
|
892
944
|
backgroundColorForCheckboxInputIconWhenReadonly: 'var(--background-color-for-checkbox-input-icon-when-readonly, #fff)',
|
|
893
945
|
backgroundColorForCheckboxInputIconWhenError: 'var(--background-color-for-checkbox-input-icon-when-error, #fff)',
|
|
894
946
|
backgroundColorForCheckboxInputIconWhenHovered: 'var(--background-color-for-checkbox-input-icon-when-hovered, #fff)',
|
|
947
|
+
backgroundColorForPrimaryActionDropdownWhenActive: 'var(--background-color-for-primary-action-dropdown-when-active, hsl(0, 0%, 95%))',
|
|
948
|
+
backgroundColorForPrimaryActionDropdownWhenDisabled: 'var(--background-color-for-primary-action-dropdown-when-disabled, hsl(195, 35.2941176471%, 98%))',
|
|
949
|
+
backgroundColorForToggleInputTrack: 'var(--background-color-for-toggle-input-track, hsl(0, 0%, 60%))',
|
|
950
|
+
backgroundColorForToggleInputTrackWhenDisabled: 'var(--background-color-for-toggle-input-track-when-disabled, #ccc)',
|
|
951
|
+
backgroundColorForToggleInputThumbWhenDisabled: 'var(--background-color-for-toggle-input-thumb-when-disabled, hsl(195, 35.2941176471%, 95%))',
|
|
952
|
+
backgroundColorForToggleInputTrackWhenChecked: 'var(--background-color-for-toggle-input-track-when-checked, #00b39e)',
|
|
953
|
+
backgroundColorForToggleInputThumbWhenChecked: 'var(--background-color-for-toggle-input-thumb-when-checked, #fff)',
|
|
954
|
+
backgroundColorForToggleInputTrackWhenCheckedAndDisabled: 'var(--background-color-for-toggle-input-track-when-checked-and-disabled, hsl(172.9608938547486, 100%, 25%))',
|
|
955
|
+
backgroundColorForToggleInputThumbWhenCheckedAndDisabled: 'var(--background-color-for-toggle-input-thumb-when-checked-and-disabled, #ccc)',
|
|
895
956
|
borderForButtonAsSecondary: 'var(--border-for-button-as-secondary, none)',
|
|
896
957
|
borderForButtonAsSecondaryWhenHovered: 'var(--border-for-button-as-secondary-when-hovered, none)',
|
|
897
958
|
borderForButtonAsSecondaryWhenActive: 'var(--border-for-button-as-secondary-when-active, none)',
|
|
@@ -925,8 +986,8 @@ var designTokens = {
|
|
|
925
986
|
borderColorForStampAsInformation: 'var(--border-color-for-stamp-as-information, #078cdf)',
|
|
926
987
|
borderColorForStampAsPrimary: 'var(--border-color-for-stamp-as-primary, hsl(172.9608938547486, 100%, 25%))',
|
|
927
988
|
borderColorForStampAsSecondary: 'var(--border-color-for-stamp-as-secondary, hsl(0, 0%, 60%))',
|
|
928
|
-
|
|
929
|
-
|
|
989
|
+
borderColorForLocalizedInputLabel: 'var(--border-color-for-localized-input-label, #ccc)',
|
|
990
|
+
borderColorForLocalizedInputLabelWhenReadonly: 'var(--border-color-for-localized-input-label-when-readonly, #ccc)',
|
|
930
991
|
borderColorForContentNotificationWhenError: 'var(--border-color-for-content-notification-when-error, #e60050)',
|
|
931
992
|
borderColorForContentNotificationWhenInfo: 'var(--border-color-for-content-notification-when-info, #078cdf)',
|
|
932
993
|
borderColorForContentNotificationWhenWarning: 'var(--border-color-for-content-notification-when-warning, #f16d0e)',
|
|
@@ -945,6 +1006,7 @@ var designTokens = {
|
|
|
945
1006
|
borderColorForRadioInputWhenReadonly: 'var(--border-color-for-radio-input-when-readonly, #ccc)',
|
|
946
1007
|
borderColorForRadioInputWhenChecked: 'var(--border-color-for-radio-input-when-checked, #ccc)',
|
|
947
1008
|
borderColorForRadioInputWhenFocused: 'var(--border-color-for-radio-input-when-focused, #00b39e)',
|
|
1009
|
+
borderColorForPrimaryActionDropdownMenu: 'var(--border-color-for-primary-action-dropdown-menu, #ccc)',
|
|
948
1010
|
borderRadiusForButtonAsBig: 'var(--border-radius-for-button-as-big, 6px)',
|
|
949
1011
|
borderRadiusForButtonAsSmall: 'var(--border-radius-for-button-as-small, 4px)',
|
|
950
1012
|
borderRadiusForButtonAsIconAsBig: 'var(--border-radius-for-button-as-icon-as-big, 6px)',
|
|
@@ -958,6 +1020,9 @@ var designTokens = {
|
|
|
958
1020
|
borderRadiusForViewSwitcher: 'var(--border-radius-for-view-switcher, 6px)',
|
|
959
1021
|
borderRadiusForContentNotification: 'var(--border-radius-for-content-notification, 0 var(--border-radius-6) var(--border-radius-6) 0)',
|
|
960
1022
|
borderRadiusForContentNotificationIcon: 'var(--border-radius-for-content-notification-icon, var(--border-radius-6) 0 0 var(--border-radius-6))',
|
|
1023
|
+
borderRadiusForPrimaryActionDropdown: 'var(--border-radius-for-primary-action-dropdown, var(--border-radius-6) 0 0 var(--border-radius-6))',
|
|
1024
|
+
borderRadiusForPrimaryActionDropdownIcon: 'var(--border-radius-for-primary-action-dropdown-icon, 0 var(--border-radius-6) var(--border-radius-6) 0)',
|
|
1025
|
+
borderRadiusForPrimaryActionDropdownMenu: 'var(--border-radius-for-primary-action-dropdown-menu, 6px)',
|
|
961
1026
|
borderWidthForInput: 'var(--border-width-for-input, 1px)',
|
|
962
1027
|
borderWidthForInputWhenWarning: 'var(--border-width-for-input-when-warning, 1px)',
|
|
963
1028
|
borderWidthForInputWhenError: 'var(--border-width-for-input-when-error, 1px)',
|
|
@@ -967,6 +1032,7 @@ var designTokens = {
|
|
|
967
1032
|
borderWidthForContentNotificationIcon: 'var(--border-width-for-content-notification-icon, 0px)',
|
|
968
1033
|
borderLeftWidthForContentNotification: 'var(--border-left-width-for-content-notification, 1px)',
|
|
969
1034
|
borderWidthForCheckboxInputIcon: 'var(--border-width-for-checkbox-input-icon, 1px)',
|
|
1035
|
+
borderForPrimaryActionDropdownIcon: 'var(--border-for-primary-action-dropdown-icon, 0px 0px 0px 1px)',
|
|
970
1036
|
boxShadowForDatetimeInputWhenHovered: 'var(--box-shadow-for-datetime-input-when-hovered, inset 0 0 0 2px)',
|
|
971
1037
|
boxShadowForViewSwitcher: 'var(--box-shadow-for-view-switcher, 0 1px 1px 0 rgba(0, 0, 0, 0.24), 0 -1px 1px 0 rgba(0, 0, 0, 0.12))',
|
|
972
1038
|
boxShadowForViewSwitcherWhenSelected: 'var(--box-shadow-for-view-switcher-when-selected, inset 0 -1px 3px 0 rgba(0, 0, 0, 0.1), inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.2), inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.25))',
|
|
@@ -984,7 +1050,7 @@ var designTokens = {
|
|
|
984
1050
|
fontColorForTagWhenDisabled: 'var(--font-color-for-tag-when-disabled, hsl(0, 0%, 60%))',
|
|
985
1051
|
fontColorForTextWhenInverted: 'var(--font-color-for-text-when-inverted, #fff)',
|
|
986
1052
|
fontColorForTableHeader: 'var(--font-color-for-table-header, #fff)',
|
|
987
|
-
|
|
1053
|
+
fontColorForLocalizedInputLabel: 'var(--font-color-for-localized-input-label, hsl(0, 0%, 60%))',
|
|
988
1054
|
fontColorForViewSwitcher: 'var(--font-color-for-view-switcher, #1a1a1a)',
|
|
989
1055
|
fontColorForViewSwitcherWhenDisabled: 'var(--font-color-for-view-switcher-when-disabled, hsl(0, 0%, 60%))',
|
|
990
1056
|
fontColorForViewSwitcherWhenSelected: 'var(--font-color-for-view-switcher-when-selected, #1a1a1a)',
|
|
@@ -1023,6 +1089,7 @@ var designTokens = {
|
|
|
1023
1089
|
heightForSelectInputTag: 'var(--height-for-select-input-tag, 26px)',
|
|
1024
1090
|
heightForRadioInputOption: 'var(--height-for-radio-input-option, 16px)',
|
|
1025
1091
|
heightForRadioInputOptionWhenChecked: 'var(--height-for-radio-input-option-when-checked, 8px)',
|
|
1092
|
+
heightForPrimaryActionDropdown: 'var(--height-for-primary-action-dropdown, 32px)',
|
|
1026
1093
|
widthForAvatarAsMedium: 'var(--width-for-avatar-as-medium, 48px)',
|
|
1027
1094
|
minWidthForMoneyInputCurrencyDropdown: 'var(--min-width-for-money-input-currency-dropdown, 72px)',
|
|
1028
1095
|
placeholderFontColorForInput: 'var(--placeholder-font-color-for-input, hsl(0, 0%, 60%))',
|
|
@@ -1043,7 +1110,7 @@ var designTokens = {
|
|
|
1043
1110
|
fontSizeForAvatarAsSmall: 'var(--font-size-for-avatar-as-small, 1rem)',
|
|
1044
1111
|
fontSizeForAvatarAsMedium: 'var(--font-size-for-avatar-as-medium, 1.5rem)',
|
|
1045
1112
|
fontSizeForAvatarAsBig: 'var(--font-size-for-avatar-as-big, 3rem)',
|
|
1046
|
-
|
|
1113
|
+
fontSizeForLocalizedInputLabel: 'var(--font-size-for-localized-input-label, 1rem)',
|
|
1047
1114
|
fontSizeForContentNotification: 'var(--font-size-for-content-notification, 1rem)',
|
|
1048
1115
|
fontSizeForSelectInputTag: 'var(--font-size-for-select-input-tag, 0.9231rem)',
|
|
1049
1116
|
iconColorForDatetimeInputIcon: 'var(--icon-color-for-datetime-input-icon, #1a1a1a)',
|
|
@@ -1074,6 +1141,8 @@ var designTokens = {
|
|
|
1074
1141
|
marginRightForSearchInputIcon: 'var(--margin-right-for-search-input-icon, 8px)',
|
|
1075
1142
|
marginRightForClearInputIcon: 'var(--margin-right-for-clear-input-icon, 4px)',
|
|
1076
1143
|
marginLeftForRadioInputLabel: 'var(--margin-left-for-radio-input-label, 8px)',
|
|
1144
|
+
marginRightForPrimaryActionDropdown: 'var(--margin-right-for-primary-action-dropdown, 4px)',
|
|
1145
|
+
marginTopForPrimaryActionDropdown: 'var(--margin-top-for-primary-action-dropdown, none)',
|
|
1077
1146
|
paddingForStamp: 'var(--padding-for-stamp, var(--spacing-10) var(--spacing-20))',
|
|
1078
1147
|
paddingForStampAsCondensed: 'var(--padding-for-stamp-as-condensed, 1px var(--spacing-10))',
|
|
1079
1148
|
paddingForTag: 'var(--padding-for-tag, 5px var(--spacing-20))',
|
|
@@ -1093,7 +1162,7 @@ var designTokens = {
|
|
|
1093
1162
|
paddingForInput: 'var(--padding-for-input, 8px)',
|
|
1094
1163
|
paddingForMultilineInput: 'var(--padding-for-multiline-input, var(--spacing-10) var(--spacing-20))',
|
|
1095
1164
|
paddingForLocalizedRichTextInputLabel: 'var(--padding-for-localized-rich-text-input-label, 0 var(--spacing-20))',
|
|
1096
|
-
|
|
1165
|
+
paddingForLocalizedInputLabel: 'var(--padding-for-localized-input-label, 0 var(--spacing-20))',
|
|
1097
1166
|
paddingForTagRemoveIcon: 'var(--padding-for-tag-remove-icon, 0 var(--spacing-10))',
|
|
1098
1167
|
paddingForTooltip: 'var(--padding-for-tooltip, var(--spacing-10) var(--spacing-20))',
|
|
1099
1168
|
paddingForViewSwitcher: 'var(--padding-for-view-switcher, 0 var(--spacing-30) 0 var(--spacing-30))',
|
|
@@ -1108,6 +1177,8 @@ var designTokens = {
|
|
|
1108
1177
|
paddingForSelectInputMenu: 'var(--padding-for-select-input-menu, inherit)',
|
|
1109
1178
|
paddingForMoneyInputCurrencyDropdown: 'var(--padding-for-money-input-currency-dropdown, 0 var(--spacing-20))',
|
|
1110
1179
|
paddingForSelectableSearchInputDropdown: 'var(--padding-for-selectable-search-input-dropdown, 0 var(--spacing-20))',
|
|
1180
|
+
paddingForPrimaryActionDropdown: 'var(--padding-for-primary-action-dropdown, 0 var(--spacing-20))',
|
|
1181
|
+
paddingForPrimaryActionDropdownIcon: 'var(--padding-for-primary-action-dropdown-icon, 0 var(--spacing-10))',
|
|
1111
1182
|
shadowForButton: 'var(--shadow-for-button, 0 -1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24))',
|
|
1112
1183
|
shadowForButtonWhenFocused: 'var(--shadow-for-button-when-focused, 0 1px 9.5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24))',
|
|
1113
1184
|
shadowForButtonWhenHovered: 'var(--shadow-for-button-when-hovered, 0 1px 9.5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24))',
|
|
@@ -1121,6 +1192,11 @@ var designTokens = {
|
|
|
1121
1192
|
shadowForInputWhenWarning: 'var(--shadow-for-input-when-warning, none)',
|
|
1122
1193
|
shadowForTooltip: 'var(--shadow-for-tooltip, 0 2px 2px rgba(0, 0, 0, 0.24), 0 1px 4.75px rgba(0, 0, 0, 0.12))',
|
|
1123
1194
|
shadowForSelectInputMenu: 'var(--shadow-for-select-input-menu, 0 -1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24))',
|
|
1195
|
+
shadowForPrimaryActionDropdown: 'var(--shadow-for-primary-action-dropdown, 0 -1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24))',
|
|
1196
|
+
shadowForPrimaryActionDropdownWhenHovered: 'var(--shadow-for-primary-action-dropdown-when-hovered, 0 1px 9.5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.24))',
|
|
1197
|
+
shadowForPrimaryActionDropdownWhenActive: 'var(--shadow-for-primary-action-dropdown-when-active, inset 0 -1px 3px 0 rgba(0, 0, 0, 0.1), inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.2), inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.25))',
|
|
1198
|
+
shadowForPrimaryActionDropdownMenu: 'var(--shadow-for-primary-action-dropdown-menu, 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24))',
|
|
1199
|
+
shadowForToggleInputThumb: 'var(--shadow-for-toggle-input-thumb, 0 -1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24))',
|
|
1124
1200
|
fontSizeM: 'var(--font-size-m, 1rem)',
|
|
1125
1201
|
bigButtonHeight: 'var(--big-button-height, 32px)',
|
|
1126
1202
|
smallButtonHeight: 'var(--small-button-height, 24px)',
|
|
@@ -1129,8 +1205,7 @@ var designTokens = {
|
|
|
1129
1205
|
fontSizeDefault: 'var(--font-size-default, 1rem)',
|
|
1130
1206
|
fontSizeSmall: 'var(--font-size-small, 0.9231rem)',
|
|
1131
1207
|
shadowBoxTagHover: 'var(--shadow-box-tag-hover, 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24))',
|
|
1132
|
-
sizeHeightTag: 'var(--size-height-tag, 26px)'
|
|
1133
|
-
standardInputHeight: 'var(--standard-input-height, 32px)'
|
|
1208
|
+
sizeHeightTag: 'var(--size-height-tag, 26px)'
|
|
1134
1209
|
};
|
|
1135
1210
|
var designTokens$1 = designTokens;
|
|
1136
1211
|
|
|
@@ -1323,7 +1398,7 @@ var withThemeContext = function withThemeContext(WrappedComponent) {
|
|
|
1323
1398
|
};
|
|
1324
1399
|
|
|
1325
1400
|
// NOTE: This string will be replaced on build time with the package version.
|
|
1326
|
-
var version = "15.13.
|
|
1401
|
+
var version = "15.13.2";
|
|
1327
1402
|
|
|
1328
1403
|
exports.ThemeProvider = ThemeProvider;
|
|
1329
1404
|
exports.customProperties = designTokens$1;
|