@commercetools-frontend/ui-kit 17.1.0 → 18.0.0

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.
@@ -244,6 +244,7 @@ choiceGroupsByTheme:
244
244
  spacing-30: 16px
245
245
  spacing-40: 24px
246
246
  spacing-50: 32px
247
+ spacing-55: 40px
247
248
  spacing-60: 48px
248
249
  spacing-70: 64px
249
250
  transitions:
@@ -263,8 +264,41 @@ choiceGroupsByTheme:
263
264
  break-point-giantdesktop: 1680px
264
265
  break-point-jumbodesktop: 1920px
265
266
 
267
+ recolouring:
268
+ colors:
269
+ label: Colors
270
+ prefix: color
271
+ description: All colors in the system
272
+ choices:
273
+ color-primary: 'hsl(240, 64%, 58%)'
274
+ color-primary-10: 'hsl(240, 66%, 19%)'
275
+ color-primary-20: 'hsl(240, 45%, 33%)'
276
+ color-primary-25: 'hsl(240, 46%, 48%)'
277
+ color-primary-30: 'hsl(240, 46%, 53%)'
278
+ color-primary-40: 'hsl(240, 100%, 67%)'
279
+ color-primary-85: 'hsl(244, 100%, 84%)'
280
+ color-primary-90: 'hsl(243, 100%, 93%)'
281
+ color-primary-95: 'hsl(244, 100%, 97%)'
282
+ color-success: 'hsl(152, 77%, 39%)'
283
+ color-success-25: 'hsl(155, 84%, 20%)'
284
+ color-success-40: 'hsl(155, 90%, 24%)'
285
+ color-success-85: 'hsl(144, 69%, 80%)'
286
+ color-success-95: 'hsl(141, 76%, 92%)'
287
+ color-warning: 'hsl(35, 90%, 45%)'
288
+ color-warning-25: 'hsl(33, 83%, 25%)'
289
+ color-warning-40: 'hsl(33, 80%, 34%)'
290
+ color-warning-60: 'hsl(35, 90%, 55%)'
291
+ color-warning-85: 'hsl(33, 90%, 80%)'
292
+ color-warning-95: 'hsl(45, 100%, 92%)'
293
+ color-error: 'hsl(3, 65%, 58%)'
294
+ color-error-25: 'hsl(4, 69%, 37%)'
295
+ color-error-40: 'hsl(3, 60%, 46%)'
296
+ color-error-85: 'hsl(1, 55%, 74%)'
297
+ color-error-95: 'hsl(349, 66%, 92%)'
298
+
266
299
  states:
267
- active: 'Trigged while the user is currently interacting with the element'
300
+ active:
301
+ description: 'Trigged while the user is currently interacting with the element'
268
302
  hovered:
269
303
  description: 'When the mouse is over the element'
270
304
  disabled:
@@ -283,70 +317,14 @@ states:
283
317
  description: 'When the element has invalid input'
284
318
  selected:
285
319
  description: 'When the element is selected'
286
- inverted:
287
- description: 'When the element has inverted colors'
288
- raised:
289
- description: 'When the element is raised'
290
- highlighted:
291
- description: 'When the element is highlighted'
292
- condensed:
293
- description: 'When the element is condensed'
294
- checked:
295
- description: 'When the element is checked'
296
- checked-and-disabled:
297
- description: 'When the element is checked and disabled'
298
- info-and-hovered:
299
- description: "When the element's tone is info and hovered"
300
- info-and-active:
301
- description: "When the element's tone is info and active"
302
320
 
303
321
  variants:
304
- h1:
305
- description: 'H1 text element'
306
- h2:
307
- description: 'H2 text element'
308
- h3:
309
- description: 'H3 text element'
310
- h4:
311
- description: 'H4 text element'
312
- h5:
313
- description: 'H5 text element'
314
- body:
315
- description: 'Body text element'
316
- caption:
317
- description: 'Caption text element'
318
- detail:
319
- description: 'Detail text element'
320
- icon:
321
- description: 'Icon'
322
322
  small:
323
323
  description: 'To differentiate component small size'
324
324
  medium:
325
325
  description: 'To differentiate component medium size'
326
326
  big:
327
327
  description: 'To differentiate component big size'
328
- primary:
329
- description: 'To differentiate component primary type'
330
- secondary:
331
- description: 'To differentiate component secondary type'
332
- inverted:
333
- description: 'To differentiate component inverted type'
334
- urgent:
335
- description: 'To differentiate component urgent type'
336
- info:
337
- description: 'To differentiate component info type'
338
- condensed:
339
- description: 'Elements with a compact style'
340
- bottom:
341
- description: 'To differentiate component bottom style'
342
- positive:
343
- description: 'To differentiate component positive style'
344
- information:
345
- description: 'To differentiate component information style'
346
- critical:
347
- description: 'To differentiate component critical style'
348
- bold:
349
- description: 'When the element is bold'
350
328
  quiet:
351
329
  description: 'When the element is quiet style'
352
330
 
@@ -355,160 +333,11 @@ componentGroups:
355
333
  description: 'Button elements'
356
334
  input:
357
335
  description: 'Input elements'
358
- tag:
359
- description: 'Tag elements'
360
- tag-remove-icon:
361
- description: 'Tag remove icon elements'
362
- tag-drag-icon:
363
- description: 'Tag drag icon elements'
364
- tag-warning:
365
- description: 'Tag elements with type warning'
366
- tag-list:
367
- description: 'Wrapper for Tag elements'
368
- text:
369
- description: 'Text elements'
370
- body:
371
- description: 'Document body element'
372
- card:
373
- description: 'Card element'
374
- link:
375
- description: 'Link elements'
376
- stamp:
377
- description: 'Stamp elements'
378
- table:
379
- description: 'Table elements'
380
- table-header:
381
- description: 'Table header elements'
382
- table-cell:
383
- description: 'Table cell elements'
384
- table-manager-droppable-list:
385
- description: 'Table manager droppable list elements'
386
- table-manager-settings-panel:
387
- description: 'Table manager settings panel elements'
388
- table-manager-draggable-tag:
389
- description: 'Table manager settings draggable tag elements'
390
- collapsible-panel-header:
391
- description: 'collapsible panel header elements'
392
- collapsible-panel-section-wrapper:
393
- description: 'collapsible panel section wrapper elements'
394
- collapsible-panel-section-description:
395
- description: 'collapsible panel section description elements'
396
- collapsible-panel-header-icon:
397
- description: 'collapsible panel header icon elements'
398
- select-input:
399
- description: 'Select input elements'
400
- select-input-option:
401
- description: 'Select input option elements'
402
- datetime-input:
403
- description: 'Date time input elements'
404
- datetime-input-icon:
405
- description: 'Date time input icon elements'
406
- avatar:
407
- description: 'Avatar elements'
408
- multiline-input:
409
- description: 'Multiline input elements'
410
336
  localized-input-label:
411
337
  description: 'Localized multiline text input label elements'
412
- localized-rich-text-input-label:
413
- description: 'Localized rich text input label elements'
414
- localized-multiline-text-input-label:
415
- description: 'Localized multiline text input label elements'
416
- localized-rich-text-body-button:
417
- description: 'Localized rich text input button elements'
418
- localized-rich-text-dropdown-button:
419
- description: 'Localized rich text input dropdown elements'
420
- localized-rich-text-dropdown-item:
421
- description: 'Localized rich text input dropdown item elements'
422
- rich-text-input:
423
- description: 'rich text input elements'
424
- rich-text-editor-container:
425
- description: 'Rich text editor container elements'
426
- rich-text-divider:
427
- description: 'Rich text divider elements'
428
- rich-text-dropdown:
429
- description: 'Rich text dropdown elements'
430
- rich-text-dropdown-item-label:
431
- description: 'Rich text dropdown item label elements'
432
- rich-text-more-styles-dropdown:
433
- description: 'Rich text more styles dropdown elements'
434
- tooltip:
435
- description: 'Tooltip elements'
436
- view-switcher:
437
- description: 'View switcher elements'
438
- view-switcher-icon:
439
- description: 'View switcher icon elements'
440
- content-notification:
441
- description: 'Content notification elements'
442
- content-notification-message:
443
- description: 'Content notification message element'
444
- content-notification-icon:
445
- description: 'Content notification icon element'
446
- checkbox-input-icon:
447
- description: 'Checkbox icon elements'
448
- checkbox-input-label:
449
- description: 'Checkbox icon elements'
450
- select-input-icon:
451
- description: 'Select input icon elements'
452
- select-input-tag:
453
- description: 'Select input inner tag elements'
454
- clear-input-icon:
455
- description: 'clear input icon elements'
456
- search-input-icon:
457
- description: 'search input icon elements'
458
- select-input-menu:
459
- description: 'select input menu elements'
460
- select-input-options:
461
- description: 'select input options element'
462
- group-heading-select-input-options:
463
- description: 'group heading select input options element'
464
- money-input-currency-dropdown:
465
- description: 'Money input currency dropdown elements'
466
- money-input-currency-dropdown-indicator:
467
- description: 'Money Input Dropdown indicator elements'
468
- money-input-precision-badge:
469
- description: 'Money input precision badge elements'
470
- radio-input:
471
- description: 'Radio input elements'
472
- radio-input-label:
473
- description: 'Radio input label elements'
474
- radio-input-option:
475
- description: 'Radio input option elements'
476
- selectable-select-input-dropdown:
477
- description: 'Selectable select input dropdown elements'
478
- selectable-search-input-dropdown:
479
- description: 'Selectable search input dropdown elements'
480
- primary-action-dropdown:
481
- description: 'Primary action dropdown elements'
482
- primary-action-dropdown-icon:
483
- description: 'Primary action dropdown icon elements'
484
- primary-action-dropdown-menu:
485
- description: 'Primary action dropdown menu elements'
486
- toggle-input-track:
487
- description: 'Toggle input track pseudo-elements'
488
- toggle-input-thumb:
489
- description: 'Toggle input thumb pseudo-elements'
490
- rich-text-toolbar:
491
- description: 'Rich text tool bar element'
492
- rich-text-button:
493
- description: 'Rich text button element'
494
- calendar-menu:
495
- description: 'Calendar menu element'
496
- flat-button:
497
- description: 'Flat button elements'
498
- flat-button-icon:
499
- description: 'Flat button icon elements'
500
- secondary-icon-button:
501
- description: 'Secondary icon button elements'
502
338
 
503
339
  decisionGroupsByTheme:
504
340
  default:
505
- alignItems:
506
- label: Flex align items
507
- prefix: align-items
508
- decisions:
509
- align-items-for-select-input-tag:
510
- choice: 'center'
511
-
512
341
  backgroundColors:
513
342
  label: Background Colors
514
343
  prefix: background-color
@@ -517,26 +346,6 @@ decisionGroupsByTheme:
517
346
  choice: color-neutral-95
518
347
  background-color-for-button-when-hovered:
519
348
  choice: color-neutral-98
520
- background-color-for-button-as-primary-when-active:
521
- choice: '#15A390' # color-primary with 10% black opacity
522
- background-color-for-button-as-primary-when-hovered:
523
- choice: '#17AB97' # color-primary with 5% black opacity
524
- background-color-for-button-as-icon-as-primary-when-active:
525
- choice: '#15A390'
526
- background-color-for-button-as-icon-as-primary-when-hovered:
527
- choice: color-primary
528
- background-color-for-button-as-icon-as-info-when-active:
529
- choice: '#057FCC' # color-info with 10% black opacity
530
- background-color-for-button-as-icon-as-info-when-hovered:
531
- choice: color-info
532
- background-color-for-button-as-urgent-when-active:
533
- choice: '#DC630A' # color-warning with 10% black opacity
534
- background-color-for-button-as-urgent-when-hovered:
535
- choice: '#E7680D' # color-warning with 5% black opacity
536
- background-color-for-button-as-critical-when-active:
537
- choice: '#B3003E' # color-error with 10% black opacity
538
- background-color-for-button-as-critical-when-hovered:
539
- choice: '#CC0047' # color-error with 5% black opacity
540
349
  background-color-for-button-when-disabled:
541
350
  choice: color-accent-95
542
351
  background-color-for-input:
@@ -557,115 +366,12 @@ decisionGroupsByTheme:
557
366
  choice: color-transparent
558
367
  background-color-for-input-as-quiet-when-hovered:
559
368
  choice: color-solid-02
560
- background-color-for-table-cell-when-hovered:
561
- choice: color-neutral-98
562
- background-color-for-table-header:
563
- choice: color-neutral-98
564
- background-color-for-tag:
565
- choice: color-neutral-95
566
- background-color-for-tag-warning:
567
- choice: color-warning-95
568
- background-color-for-tag-when-hovered:
569
- choice: color-neutral-90
570
- background-color-for-collapsible-panel-header-icon-when-disabled:
571
- choice: color-surface
572
- background-color-for-select-input-option-when-hovered:
573
- choice: color-neutral-98
574
- background-color-for-stamp-as-positive:
575
- choice: color-primary-90
576
- background-color-for-stamp-as-primary:
577
- choice: color-primary-90
578
369
  background-color-for-localized-input-label:
579
370
  choice: color-surface
580
371
  background-color-for-localized-input-label-when-readonly:
581
372
  choice: color-neutral-95
582
373
  background-color-for-localized-input-label-when-disabled:
583
374
  choice: color-neutral-95
584
- background-color-for-localized-rich-text-body-button-when-active:
585
- choice: color-accent-20
586
- background-color-for-localized-rich-text-body-button:
587
- choice: color-neutral-95
588
- background-color-for-rich-text-dropdown-when-hovered:
589
- choice: color-neutral-95
590
- background-color-for-rich-text-more-styles-dropdown-when-hovered:
591
- choice: color-info-95
592
- background-color-for-rich-text-button:
593
- choice: color-accent-20
594
- background-color-for-tooltip:
595
- choice: color-accent-10
596
- background-color-for-view-switcher:
597
- choice: color-surface
598
- background-color-for-view-switcher-when-disabled:
599
- choice: color-surface
600
- background-color-for-view-switcher-when-selected:
601
- choice: color-neutral-95
602
- background-color-for-view-switcher-when-hovered:
603
- choice: color-neutral-95
604
- background-color-for-content-notification-when-error:
605
- choice: color-error-95
606
- background-color-for-content-notification-when-info:
607
- choice: color-info-95
608
- background-color-for-content-notification-when-warning:
609
- choice: color-warning-95
610
- background-color-for-content-notification-when-success:
611
- choice: color-primary-95
612
- background-color-for-checkbox-input-icon:
613
- choice: color-primary
614
- background-color-for-checkbox-input-icon-when-disabled:
615
- choice: color-neutral
616
- background-color-for-checkbox-input-icon-when-readonly:
617
- choice: color-neutral-60
618
- background-color-for-checkbox-input-icon-when-error:
619
- choice: color-error
620
- background-color-for-checkbox-input-icon-when-hovered:
621
- choice: color-neutral-90
622
- background-color-for-primary-action-dropdown-when-active:
623
- choice: color-neutral-90
624
- background-color-for-primary-action-dropdown-when-disabled:
625
- choice: color-neutral-95
626
- background-color-for-toggle-input-track:
627
- choice: color-neutral
628
- background-color-for-toggle-input-track-when-disabled:
629
- choice: color-neutral-90
630
- background-color-for-toggle-input-thumb-when-disabled:
631
- choice: color-neutral-60
632
- background-color-for-toggle-input-track-when-checked:
633
- choice: color-primary-40
634
- background-color-for-toggle-input-thumb-when-checked:
635
- choice: color-primary-25
636
- background-color-for-toggle-input-track-when-checked-and-disabled:
637
- choice: color-accent-90
638
- background-color-for-toggle-input-thumb-when-checked-and-disabled:
639
- choice: color-accent-60
640
- background-color-for-button-as-secondary-when-info:
641
- choice: color-info-95
642
- background-color-for-button-as-secondary-when-info-and-hovered:
643
- choice: color-info-90
644
- background-color-for-button-as-secondary-when-info-and-active:
645
- choice: color-info-85
646
-
647
- borders:
648
- label: Borders
649
- prefix: border
650
- decisions:
651
- border-for-button-as-secondary:
652
- choice: '1px solid var(--color-neutral)'
653
- border-for-button-as-secondary-when-hovered:
654
- choice: '1px solid var(--color-neutral)'
655
- border-for-button-as-secondary-when-active:
656
- choice: '1px solid var(--color-neutral)'
657
- border-for-card-when-raised:
658
- choice: '1px solid var(--color-neutral-90)'
659
- border-for-collapsible-panel-header-icon-when-disabled:
660
- choice: 'none'
661
- border-for-view-switcher:
662
- choice: '1px solid var(--color-neutral)'
663
- border-for-select-input-tag:
664
- choice: '1px solid var(--color-neutral-85)'
665
- border-for-radio-input-option:
666
- choice: border-width-2
667
- border-for-calendar-menu-when-focused:
668
- choice: 'none'
669
375
 
670
376
  borderColors:
671
377
  label: Border Colors
@@ -687,86 +393,6 @@ decisionGroupsByTheme:
687
393
  choice: color-neutral
688
394
  border-color-for-input-as-quiet:
689
395
  choice: color-transparent
690
- border-color-for-tag:
691
- choice: color-neutral
692
- border-color-for-tag-warning:
693
- choice: color-warning
694
- border-color-for-tag-when-focused:
695
- choice: color-neutral
696
- border-color-for-tag-when-hovered:
697
- choice: color-neutral
698
- border-color-for-button-as-icon:
699
- choice: color-neutral
700
- border-color-for-button-as-icon-as-info:
701
- choice: color-neutral
702
- border-color-for-button-as-icon-as-primary:
703
- choice: color-neutral
704
- border-color-for-button-as-icon-when-disabled:
705
- choice: color-surface
706
- border-color-for-table-header:
707
- choice: color-surface
708
- border-color-for-table-header-as-bottom:
709
- choice: color-neutral-95
710
- border-color-for-table-manager-droppable-list:
711
- choice: color-neutral
712
- border-color-for-collapsible-panel-header:
713
- choice: color-neutral-90
714
- border-color-for-stamp-when-error:
715
- choice: color-error-85
716
- border-color-for-stamp-when-warning:
717
- choice: color-warning-85
718
- border-color-for-stamp-as-positive:
719
- choice: color-primary-85
720
- border-color-for-stamp-as-information:
721
- choice: color-info-85
722
- border-color-for-stamp-as-primary:
723
- choice: color-primary-85
724
- border-color-for-stamp-as-secondary:
725
- choice: color-neutral-85
726
- border-color-for-localized-input-label:
727
- choice: color-neutral
728
- border-color-for-localized-input-label-when-readonly:
729
- choice: color-surface
730
- border-color-for-content-notification-when-error:
731
- choice: color-error-85
732
- border-color-for-content-notification-when-info:
733
- choice: color-info-85
734
- border-color-for-content-notification-when-warning:
735
- choice: color-warning-85
736
- border-color-for-content-notification-when-success:
737
- choice: color-primary-85
738
- border-color-for-group-heading-select-input-options:
739
- choice: color-neutral-90
740
- border-color-for-select-input-menu:
741
- choice: color-surface
742
- border-color-for-select-input-when-readonly:
743
- choice: color-neutral-95
744
- border-color-for-select-input-menu-when-warning:
745
- choice: color-surface
746
- border-color-for-select-input-menu-when-error:
747
- choice: color-surface
748
- border-color-for-checkbox-input-icon:
749
- choice: color-primary
750
- border-color-for-checkbox-input-icon-when-disabled:
751
- choice: color-neutral
752
- border-color-for-checkbox-input-icon-when-readonly:
753
- choice: color-neutral-60
754
- border-color-for-checkbox-input-icon-when-error:
755
- choice: color-error
756
- border-color-for-radio-input:
757
- choice: color-neutral-60
758
- border-color-for-radio-input-when-disabled:
759
- choice: color-neutral
760
- border-color-for-radio-input-when-readonly:
761
- choice: color-neutral-60
762
- border-color-for-radio-input-when-checked:
763
- choice: color-primary
764
- border-color-for-radio-input-when-focused:
765
- choice: color-neutral-60
766
- border-color-for-primary-action-dropdown-menu:
767
- choice: color-surface
768
- border-color-for-button-as-secondary-when-info:
769
- choice: color-info-85
770
396
 
771
397
  borderRadiuses:
772
398
  label: Border Radius
@@ -776,34 +402,8 @@ decisionGroupsByTheme:
776
402
  choice: border-radius-4
777
403
  border-radius-for-button-as-medium:
778
404
  choice: border-radius-4
779
- border-radius-for-button-as-icon-as-big:
780
- choice: border-radius-4
781
- border-radius-for-button-as-icon-as-medium:
782
- choice: border-radius-4
783
- border-radius-for-button-as-icon-as-small:
784
- choice: border-radius-2
785
405
  border-radius-for-input:
786
406
  choice: border-radius-4
787
- border-radius-for-tag:
788
- choice: border-radius-2
789
- border-radius-for-card:
790
- choice: border-radius-4
791
- border-radius-for-table-manager-droppable-list:
792
- choice: border-radius-4
793
- border-radius-for-stamp:
794
- choice: border-radius-4
795
- border-radius-for-stamp-as-condensed:
796
- choice: border-radius-2
797
- border-radius-for-view-switcher:
798
- choice: border-radius-4
799
- border-radius-for-content-notification:
800
- choice: border-radius-4
801
- border-radius-for-primary-action-dropdown:
802
- choice: 'var(--border-radius-4) 0 0 var(--border-radius-4)'
803
- border-radius-for-primary-action-dropdown-icon:
804
- choice: '0 var(--border-radius-4) var(--border-radius-4) 0'
805
- border-radius-for-primary-action-dropdown-menu:
806
- choice: border-radius-4
807
407
 
808
408
  borderWidths:
809
409
  label: Border width
@@ -817,42 +417,11 @@ decisionGroupsByTheme:
817
417
  choice: border-width-1
818
418
  border-width-for-input-when-focused:
819
419
  choice: border-width-1
820
- border-width-for-tag:
821
- choice: '1px 1px 1px 0'
822
- border-width-for-select-input:
823
- choice: border-width-2
824
- border-left-width-for-content-notification:
825
- choice: '0px'
826
- border-width-for-checkbox-input-icon:
827
- choice: border-width-2
828
- border-for-primary-action-dropdown-icon:
829
- choice: '1px 1px 1px 0px'
830
-
831
- boxShadows:
832
- label: Box shadows
833
- prefix: box-shadow
834
- decisions:
835
- box-shadow-for-datetime-input-when-hovered:
836
- choice: 'inset 0 0 0 1px'
837
- box-shadow-for-view-switcher:
838
- choice: shadow-0
839
- box-shadow-for-view-switcher-when-selected:
840
- choice: shadow-0
841
- box-shadow-for-select-input-when-focused:
842
- choice: 'inset 0 0 0 1px'
843
- box-shadow-for-calendar-menu-when-focused:
844
- choice: '0 2px 5px 0px rgba(0, 0, 0, 0.15)'
845
- box-shadow-for-table:
846
- choice: shadow-17
847
420
 
848
421
  fontColors:
849
422
  label: Font Colors
850
423
  prefix: font-color
851
424
  decisions:
852
- font-color-for-text:
853
- choice: color-solid
854
- font-color-for-text-when-disabled:
855
- choice: color-neutral-60
856
425
  font-color-for-input:
857
426
  choice: color-solid
858
427
  font-color-for-input-when-disabled:
@@ -863,104 +432,6 @@ decisionGroupsByTheme:
863
432
  choice: color-neutral-40
864
433
  font-color-for-input-when-warning:
865
434
  choice: color-warning
866
- font-color-for-tag:
867
- choice: color-solid
868
- font-color-for-tag-remove-icon:
869
- choice: color-neutral-40
870
- font-color-for-tag-drag-icon:
871
- choice: color-neutral-40
872
- font-color-for-tag-remove-icon-when-hovered:
873
- choice: color-error
874
- font-color-for-tag-when-disabled:
875
- choice: color-neutral-60
876
- font-color-for-text-when-inverted:
877
- choice: color-surface
878
- font-color-for-link-as-inverted:
879
- choice: color-surface
880
- font-color-for-link-as-primary:
881
- choice: color-primary-30
882
- font-color-for-link-as-secondary:
883
- choice: color-solid
884
- font-color-for-link-as-primary-when-active:
885
- choice: color-primary
886
- font-color-for-link-as-secondary-when-active:
887
- choice: color-primary
888
- font-color-for-table-header:
889
- choice: color-neutral-40
890
- font-color-for-localized-input-label:
891
- choice: color-neutral-60
892
- font-color-for-view-switcher:
893
- choice: color-neutral-40
894
- font-color-for-view-switcher-when-disabled:
895
- choice: color-neutral-60
896
- font-color-for-view-switcher-when-selected:
897
- choice: color-solid
898
- font-color-for-clear-input-icon:
899
- choice: color-neutral-40
900
- font-color-for-clear-input-icon-when-hovered:
901
- choice: color-error
902
- font-color-for-content-notification:
903
- choice: color-solid
904
- font-color-for-content-notification-icon-when-error:
905
- choice: color-error
906
- font-color-for-content-notification-icon-when-warning:
907
- choice: color-warning
908
- font-color-for-content-notification-icon-when-success:
909
- choice: color-primary
910
- font-color-for-content-notification-icon-when-info:
911
- choice: color-info
912
- font-color-for-search-input-icon:
913
- choice: color-neutral-60
914
- font-color-for-search-input-icon-when-hovered:
915
- choice: color-primary
916
- font-color-for-select-input-icon:
917
- choice: color-neutral-60
918
- font-color-for-select-input-when-error:
919
- choice: color-error
920
- font-color-for-select-input-when-warning:
921
- choice: color-warning
922
- font-color-for-select-input-icon-when-error:
923
- choice: color-error
924
- font-color-for-select-input-icon-when-warning:
925
- choice: color-warning
926
- font-color-for-money-input-currency-dropdown-indicator:
927
- choice: color-neutral-40
928
- font-color-for-search-input-icon-when-readonly:
929
- choice: color-neutral-60
930
- font-color-for-checkbox-input-label:
931
- choice: color-solid
932
- font-color-for-checkbox-input-label-when-error:
933
- choice: color-error
934
- font-color-for-checkbox-input-label-when-disabled:
935
- choice: color-neutral-60
936
- font-color-for-checkbox-input-label-when-readonly:
937
- choice: color-neutral-40
938
- font-color-for-radio-input-when-disabled:
939
- choice: color-neutral-60
940
- font-color-for-radio-input-when-error:
941
- choice: color-error
942
- font-color-for-radio-input-when-readonly:
943
- choice: color-neutral-60
944
- font-color-for-radio-input-when-warning:
945
- choice: color-warning
946
- font-color-for-flat-button-as-primary:
947
- choice: color-primary-30
948
- font-color-for-flat-button-as-primary-when-hovered:
949
- choice: color-primary
950
- font-color-for-flat-button-as-critical:
951
- choice: color-error
952
- font-color-for-flat-button-as-critical-when-hovered:
953
- choice: color-error-25
954
- font-color-for-flat-button-as-secondary:
955
- choice: color-solid
956
- font-color-for-flat-button-as-inverted:
957
- choice: color-surface
958
- font-color-for-flat-button-icon-when-disabled:
959
- choice: color-neutral-60
960
- font-color-for-secondary-icon-button-as-primary:
961
- choice: color-primary-25
962
- font-color-for-secondary-icon-button-as-primary-when-hovered:
963
- choice: color-primary
964
435
 
965
436
  heights:
966
437
  label: Height
@@ -970,40 +441,14 @@ decisionGroupsByTheme:
970
441
  choice: '40px'
971
442
  height-for-button-as-medium:
972
443
  choice: '32px'
973
- height-for-button-as-icon-as-big:
974
- choice: '40px'
975
- height-for-button-as-icon-as-medium:
976
- choice: '32px'
977
- height-for-button-as-icon-as-small:
444
+ height-for-button-as-small:
978
445
  choice: '16px'
979
446
  height-for-input:
980
447
  choice: '40px'
981
- height-for-view-switcher:
982
- choice: '40px'
983
- height-for-view-switcher-when-condensed:
984
- choice: '32px'
985
- height-for-select-input-tag:
448
+ # This is a temporary one to be able to remove the legay 'size-height-for-input'
449
+ height-for-input-as-small:
986
450
  choice: '32px'
987
- height-for-radio-input-option:
988
- choice: '18px'
989
- height-for-radio-input-option-when-checked:
990
- choice: '10px'
991
- height-for-primary-action-dropdown:
992
- choice: '40px'
993
-
994
- widths:
995
- label: Width
996
- prefix: width
997
- decisions:
998
- width-for-avatar-as-medium:
999
- choice: '40px'
1000
-
1001
- minWidths:
1002
- label: Min width
1003
- prefix: min-width
1004
- decisions:
1005
- min-width-for-money-input-currency-dropdown:
1006
- choice: '80px'
451
+ description: 'Legacy token to be removed'
1007
452
 
1008
453
  placeholderFontColors:
1009
454
  label: Placeholder font colors
@@ -1021,254 +466,22 @@ decisionGroupsByTheme:
1021
466
  choice: font-size-20
1022
467
  font-size-for-input:
1023
468
  choice: font-size-30
1024
- font-size-for-text-as-h1:
1025
- choice: font-size-60
1026
- font-size-for-text-as-h2:
1027
- choice: font-size-50
1028
- font-size-for-text-as-h3:
1029
- choice: font-size-40
1030
- font-size-for-text-as-h4:
1031
- choice: font-size-30
1032
- font-size-for-text-as-h5:
1033
- choice: font-size-30
1034
- font-size-for-text-as-body:
1035
- choice: font-size-30
1036
- font-size-for-text-as-caption:
1037
- choice: font-size-10
1038
- font-size-for-text-as-detail:
1039
- choice: font-size-20
1040
- font-size-for-body:
1041
- choice: '16px'
1042
- font-size-for-link:
1043
- choice: font-size-30
1044
- font-size-for-view-switcher:
1045
- choice: font-size-20
1046
- font-size-for-table:
1047
- choice: font-size-20
1048
- font-size-for-localized-input-label:
1049
- choice: font-size-30
1050
- font-size-for-content-notification:
1051
- choice: font-size-30
1052
- font-size-for-select-input-tag:
1053
- choice: font-size-30
1054
-
1055
- iconColors:
1056
- label: Icon colors
1057
- prefix: icon-color
1058
- decisions:
1059
- icon-color-for-datetime-input-icon:
1060
- choice: color-neutral-40
1061
- icon-color-for-datetime-input-icon-when-hovered:
1062
- choice: color-error
1063
-
1064
- lineHeights:
1065
- label: Line Heights
1066
- prefix: line-height
1067
- decisions:
1068
- line-height-for-text-as-h1:
1069
- choice: line-height-60
1070
- line-height-for-text-as-h2:
1071
- choice: line-height-50
1072
- line-height-for-text-as-h3:
1073
- choice: line-height-30
1074
- line-height-for-text-as-h4:
1075
- choice: line-height-20
1076
- line-height-for-text-as-h5:
1077
- choice: line-height-20
1078
- line-height-for-text-as-body:
1079
- choice: line-height-40
1080
- line-height-for-text-as-caption:
1081
- choice: line-height-05
1082
- line-height-for-text-as-detail:
1083
- choice: line-height-20
1084
- line-height-for-select-input-options:
1085
- choice: line-height-40
1086
- line-height-for-table-header:
1087
- choice: '26px'
1088
-
1089
- fontWeights:
1090
- label: Font Weights
1091
- prefix: font-weight
1092
- decisions:
1093
- font-weight-for-text-as-h1:
1094
- choice: font-weight-600
1095
- font-weight-for-text-as-h2:
1096
- choice: font-weight-500
1097
- font-weight-for-text-as-h3:
1098
- choice: font-weight-500
1099
- font-weight-for-text-as-h4:
1100
- choice: font-weight-500
1101
- font-weight-for-text-as-h5:
1102
- choice: font-weight-500
1103
- font-weight-for-text-as-body:
1104
- choice: font-weight-400
1105
- font-weight-for-text-as-caption:
1106
- choice: font-weight-400
1107
- font-weight-for-text-as-detail:
1108
- choice: font-weight-400
1109
- font-weight-for-button:
1110
- choice: font-weight-500
1111
- font-weight-for-table-header:
1112
- choice: font-weight-500
1113
- font-weight-for-text-as-bold:
1114
- choice: font-weight-600
1115
-
1116
- margins:
1117
- label: Margins
1118
- prefix: margin
1119
- decisions:
1120
- margin-for-table-header:
1121
- choice: spacing-20
1122
- margin-for-table-cell-as-condensed:
1123
- choice: spacing-20
1124
- margin-for-view-switcher-icon:
1125
- choice: '0 var(--spacing-20) 0 0'
1126
- margin-for-group-heading-select-input-options:
1127
- choice: spacing-20
1128
- margin-for-select-input-icon:
1129
- choice: spacing-20
1130
- margin-left-for-select-input-icon:
1131
- choice: spacing-20
1132
- margin-right-for-money-input-precision-badge:
1133
- choice: '12px'
1134
- margin-right-for-search-input-icon:
1135
- choice: '12px'
1136
- margin-right-for-clear-input-icon:
1137
- choice: spacing-20
1138
- margin-left-for-radio-input-label:
1139
- choice: spacing-10
1140
- margin-right-for-primary-action-dropdown:
1141
- choice: spacing-20
1142
- margin-top-for-primary-action-dropdown:
1143
- choice: spacing-20
1144
- margin-for-localized-rich-text-body-button:
1145
- choice: '0 2px var(--spacing-20) 2px'
1146
- margin-for-rich-text-divider:
1147
- choice: 'var(--spacing-10) 2px'
1148
- margin-for-rich-text-dropdown-item-label:
1149
- choice: '0 0 0 var(--spacing-20)'
1150
- margin-for-tag-list:
1151
- choice: '0 var(--spacing-20) var(--spacing-20) 0'
1152
469
 
1153
470
  paddings:
1154
471
  label: Paddings
1155
472
  prefix: padding
1156
473
  decisions:
1157
- padding-for-stamp:
1158
- choice: '4px 12px'
1159
- padding-for-stamp-as-condensed:
1160
- choice: 'var(--spacing-05) var(--spacing-10)'
1161
- padding-for-tag:
1162
- choice: '2px 12px'
1163
- padding-for-table-header:
1164
- choice: spacing-40
1165
- padding-for-table-header-as-condensed:
1166
- choice: spacing-40
1167
- padding-for-table-cell:
1168
- choice: 'var(--spacing-30) var(--spacing-40)'
1169
- padding-for-table-cell-as-condensed:
1170
- choice: 'var(--spacing-20) var(--spacing-40)'
1171
- padding-for-table-manager-droppable-list:
1172
- choice: spacing-30
1173
- padding-for-table-manager-settings-panel:
1174
- choice: 'var(--spacing-40) var(--spacing-50)'
1175
- padding-for-table-manager-draggable-tag:
1176
- choice: 'var(--spacing-10) 0'
1177
- padding-for-collapsible-panel-header:
1178
- choice: 'var(--spacing-30) 0'
1179
- padding-for-collapsible-panel-header-as-condensed:
1180
- choice: 'var(--spacing-20) 0'
1181
- padding-for-collapsible-panel-section-wrapper:
1182
- choice: 'var(--spacing-50) 0 0 calc(var(--spacing-30) + var(--spacing-10))'
1183
- padding-for-collapsible-panel-section-wrapper-as-condensed:
1184
- choice: 'var(--spacing-40) 0 0 calc(var(--spacing-30) + var(--spacing-10))'
1185
- padding-for-collapsible-panel-section-description:
1186
- choice: '0 0 var(--spacing-40)'
1187
- padding-for-collapsible-panel-section-description-as-condensed:
1188
- choice: '0 0 var(--spacing-40)'
1189
474
  padding-for-input:
1190
- choice: spacing-30
1191
- padding-for-input-as-quiet:
1192
- choice: spacing-20
1193
- padding-for-multiline-input:
1194
- choice: spacing-20
1195
- padding-for-localized-rich-text-input-label:
1196
- choice: 'var(--spacing-20) 12px'
1197
- padding-for-localized-rich-text-dropdown-button:
1198
- choice: '5px var(--spacing-20)'
1199
- padding-for-localized-rich-text-dropdown-item:
1200
- choice: 'var(--spacing-20) var(--spacing-30)'
1201
- padding-for-localized-rich-text-body-button:
1202
- choice: 'var(--spacing-20)'
1203
- padding-for-localized-input-label:
1204
- choice: '0 12px'
1205
- padding-for-rich-text-input:
1206
- choice: 'var(--spacing-20) var(--spacing-30)'
1207
- padding-for-rich-text-toolbar:
1208
- choice: 'none'
1209
- padding-left-for-rich-text-toolbar:
1210
- choice: 'none'
1211
- padding-for-rich-text-editor-container:
1212
- choice: 'var(--spacing-20) 0 0'
1213
- padding-for-localized-multiline-text-input-label:
1214
- choice: '0 var(--spacing-20)'
1215
- padding-for-tag-remove-icon:
1216
- choice: '0 12px'
1217
- padding-for-tooltip:
1218
- choice: 'var(--spacing-20) 12px'
1219
- padding-for-view-switcher:
1220
- choice: '0 var(--spacing-30) 0 var(--spacing-30)'
1221
- padding-for-view-switcher-when-condensed:
1222
- choice: '0 12px 0 12px'
1223
- padding-for-content-notification:
1224
- choice: 'var(--spacing-20) var(--spacing-30)'
1225
- padding-for-content-notification-message:
1226
- choice: '0 var(--spacing-30) 0 var(--spacing-20)'
1227
- padding-left-for-select-input-options:
1228
- choice: spacing-30
1229
- padding-right-for-select-input-options:
1230
- choice: spacing-30
1231
- padding-top-for-select-input-options:
1232
- choice: spacing-20
1233
- padding-bottom-for-select-input-options:
1234
- choice: spacing-20
1235
- padding-for-group-heading-select-input-options:
1236
- choice: spacing-30
1237
- padding-for-select-input-menu:
1238
- choice: 'var(--spacing-10) 0'
1239
- padding-for-money-input-currency-dropdown:
1240
- choice: '0 12px'
1241
- padding-for-selectable-search-input-dropdown:
1242
- choice: '0 12px'
1243
- padding-for-primary-action-dropdown:
1244
475
  choice: '0 var(--spacing-30)'
1245
- padding-for-primary-action-dropdown-icon:
476
+ padding-for-input-as-quiet:
1246
477
  choice: '0 var(--spacing-20)'
1247
- padding-for-button-as-medium:
1248
- choice: '0 var(--spacing-30)'
1249
- padding-for-button-as-big:
478
+ padding-for-button:
1250
479
  choice: '0 var(--spacing-30)'
1251
480
 
1252
481
  shadows:
1253
482
  label: Shadows
1254
483
  prefix: shadow
1255
484
  decisions:
1256
- shadow-box-tag-when-hovered:
1257
- description: ''
1258
- deprecated: true
1259
- choice: shadow-1
1260
- shadow-for-button:
1261
- choice: shadow-0
1262
- shadow-for-button-when-focused:
1263
- choice: shadow-0
1264
- shadow-for-button-when-hovered:
1265
- choice: shadow-0
1266
- shadow-for-button-when-active:
1267
- choice: shadow-0
1268
- shadow-for-button-when-disabled:
1269
- choice: shadow-0
1270
- shadow-for-card-when-raised:
1271
- choice: shadow-17
1272
485
  shadow-for-input:
1273
486
  choice: shadow-0
1274
487
  shadow-for-input-when-focused:
@@ -1277,41 +490,3 @@ decisionGroupsByTheme:
1277
490
  choice: 'inset 0 0 0 1px var(--color-error)'
1278
491
  shadow-for-input-when-warning:
1279
492
  choice: 'inset 0 0 0 1px var(--color-warning)'
1280
- shadow-for-tooltip:
1281
- choice: '0px 1px 2px 0px rgba(0, 0, 0, 0.25)'
1282
- shadow-for-select-input-menu:
1283
- choice: '0 2px 5px 0px rgba(0, 0, 0, 0.15)'
1284
- shadow-for-primary-action-dropdown:
1285
- choice: shadow-0
1286
- shadow-for-primary-action-dropdown-when-hovered:
1287
- choice: shadow-0
1288
- shadow-for-primary-action-dropdown-when-active:
1289
- choice: shadow-0
1290
- shadow-for-primary-action-dropdown-menu:
1291
- choice: '0 2px 5px 0px rgba(0, 0, 0, 0.15)'
1292
- shadow-for-toggle-input-thumb:
1293
- choice: '0px 1px 5px rgba(0, 0, 0, 0.2)'
1294
- shadow-for-tag-when-hovered:
1295
- choice: shadow-0
1296
-
1297
- # These tokens are deprecated as they don't follow our naming patterns.
1298
- # Ideally they should be replaced with new tokens and not be used anymore.
1299
- # But since we have not yet introduced alternatives for them it's still okay to
1300
- # use them.
1301
- #
1302
- # We aim to remove each token from here as soon as we introduce an alternative,
1303
- # but sometimes that's not possible because the usage of the tokens is invalid
1304
- # as well (e.g. the shadows are being combined in invalid ways by ui-kit
1305
- # consumers. We already have new shadow tokens, but those invalid useages would
1306
- # break. Upgrading those parts is not something the ui-kit teams can do on their
1307
- # own so we kept the old tokens around even though proper shadow tokens exist).
1308
- plainTokens:
1309
- font-size-m: '1rem'
1310
- big-button-height: 32px
1311
- small-button-height: 24px
1312
- size-height-input: 32px
1313
- font-family-default: "'Open Sans', sans-serif"
1314
- font-size-default: 1rem
1315
- font-size-small: 0.9231rem
1316
- shadow-box-tag-hover: '0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)'
1317
- size-height-tag: 26px