@govbr-ds/tokens 4.0.0-next.14 → 4.0.0-next.15

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.
@@ -39,15 +39,15 @@
39
39
  },
40
40
  "title": {
41
41
  "small": {
42
- "$value": "{typography.fontSize.default}",
42
+ "$value": "{typography.fontSize.up.01}",
43
43
  "$type": "number"
44
44
  },
45
45
  "medium": {
46
- "$value": "{typography.fontSize.up.01}",
46
+ "$value": "{typography.fontSize.up.02}",
47
47
  "$type": "number"
48
48
  },
49
49
  "large": {
50
- "$value": "{typography.fontSize.up.02}",
50
+ "$value": "{typography.fontSize.up.03}",
51
51
  "$type": "number"
52
52
  }
53
53
  }
@@ -60,15 +60,15 @@
60
60
  "title": {
61
61
  "small": {
62
62
  "$type": "fontSizes",
63
- "$value": "{typography.fontSize.default}"
63
+ "$value": "{typography.fontSize.up.01}"
64
64
  },
65
65
  "medium": {
66
66
  "$type": "fontSizes",
67
- "$value": "{typography.fontSize.up.01}"
67
+ "$value": "{typography.fontSize.up.02}"
68
68
  },
69
69
  "large": {
70
70
  "$type": "fontSizes",
71
- "$value": "{typography.fontSize.up.02}"
71
+ "$value": "{typography.fontSize.up.03}"
72
72
  }
73
73
  }
74
74
  },
@@ -663,140 +663,271 @@
663
663
  }
664
664
  },
665
665
  "message": {
666
- "neutral": {
667
- "color": {
668
- "surface": {
666
+ "color": {
667
+ "surface": {
668
+ "base": {
669
669
  "$type": "color",
670
- "$value": "{color.surface.main.alternative}"
670
+ "$value": "{color.surface.main.base}"
671
671
  },
672
- "read": {
672
+ "alternative": {
673
+ "$type": "color",
674
+ "$value": "{color.surface.main.alternative}"
675
+ }
676
+ },
677
+ "read": {
678
+ "description": {
673
679
  "$type": "color",
674
680
  "$value": "{color.read.main.base}"
675
681
  }
676
682
  }
677
683
  },
684
+ "rounder": {
685
+ "global": {
686
+ "$type": "borderRadius",
687
+ "$value": "{surface.rounder.none}"
688
+ },
689
+ "contextual": {
690
+ "$type": "borderRadius",
691
+ "$value": "{surface.rounder.small}"
692
+ }
693
+ },
678
694
  "shadowStyle": {
679
695
  "global": {
680
696
  "$type": "boxShadow",
681
697
  "$value": "{elevation.shadowStyle.level.1}"
682
698
  },
683
- "toast": {
699
+ "contextual": {
684
700
  "$type": "boxShadow",
685
- "$value": "{elevation.shadowStyle.level.4}"
701
+ "$value": "{elevation.shadowStyle.level.0}"
686
702
  }
687
703
  },
688
704
  "fontStyle": {
689
705
  "description": {
706
+ "$type": "typography",
707
+ "$value": "{typography.fontStyle.paragraph}"
708
+ }
709
+ },
710
+ "spacing": {
711
+ "gap": {
690
712
  "global": {
691
- "$type": "typography",
692
- "$value": {
693
- "fontFamily": "{typography.fontFamily.primary}",
694
- "fontWeight": "{typography.fontWeight.regular}",
695
- "fontSize": "{typography.fontSize.default}",
696
- "lineHeight": "{typography.lineHeight.medium}"
697
- }
713
+ "$type": "spacing",
714
+ "$value": "{spacing.layout.01}"
698
715
  },
699
- "toast": {
700
- "$type": "typography",
701
- "$value": {
702
- "fontFamily": "{typography.fontFamily.primary}",
703
- "fontWeight": "{typography.fontWeight.regular}",
704
- "fontSize": "{typography.fontSize.default}",
705
- "lineHeight": "{typography.lineHeight.medium}"
706
- }
716
+ "contextual": {
717
+ "$type": "spacing",
718
+ "$value": "{spacing.adjust.01}"
719
+ }
720
+ },
721
+ "padding": {
722
+ "global": {
723
+ "$type": "spacing",
724
+ "$value": "{spacing.layout.02}"
707
725
  },
708
726
  "contextual": {
709
- "$type": "typography",
710
- "$value": {
711
- "fontFamily": "{typography.fontFamily.primary}",
712
- "fontWeight": "{typography.fontWeight.regular}",
713
- "fontSize": "{typography.fontSize.down.01}",
714
- "lineHeight": "{typography.lineHeight.medium}"
715
- }
727
+ "$type": "spacing",
728
+ "$value": "{spacing.adjust.01}"
716
729
  }
717
730
  }
718
731
  },
719
- "alert": {
732
+ "hover": {
720
733
  "color": {
721
- "surface": {
734
+ "success": {
722
735
  "$type": "color",
723
- "$value": "{state.alert.color.main}"
736
+ "$value": "rgba({color.greenVivid.80}, {state.hover.opacity.bright})"
724
737
  },
725
- "read": {
738
+ "alert": {
739
+ "$type": "color",
740
+ "$value": "rgba({color.yellowVivid.10}, {state.hover.opacity.dim})"
741
+ },
742
+ "error": {
726
743
  "$type": "color",
727
- "$value": "{state.alert.color.read.main}"
744
+ "$value": "rgba({color.redVivid.80}, {state.hover.opacity.bright})"
728
745
  }
729
746
  }
730
- },
731
- "success": {
732
- "color": {
733
- "surface": {
747
+ }
748
+ },
749
+ "input": {
750
+ "color": {
751
+ "read": {
752
+ "placeholder": {
734
753
  "$type": "color",
735
- "$value": "{state.success.color.main}"
754
+ "$value": "{color.read.main.alternative}"
736
755
  },
737
- "read": {
756
+ "input": {
757
+ "$type": "color",
758
+ "$value": "{color.read.main.base}"
759
+ }
760
+ },
761
+ "surface": {
762
+ "base": {
738
763
  "$type": "color",
739
- "$value": "{state.success.color.read.main}"
764
+ "$value": "{color.surface.main.base}"
765
+ },
766
+ "alternative": {
767
+ "$type": "color",
768
+ "$value": "{color.surface.main.alternative}"
740
769
  }
741
770
  }
742
771
  },
743
- "error": {
772
+ "rounder": {
773
+ "$type": "borderRadius",
774
+ "$value": "{surface.rounder.small}"
775
+ },
776
+ "spacing": {
777
+ "padding": {
778
+ "$type": "spacing",
779
+ "$value": "{spacing.layout.01}"
780
+ },
781
+ "gap": {
782
+ "$type": "spacing",
783
+ "$value": "{spacing.layout.01}"
784
+ }
785
+ },
786
+ "borderStyle": {
787
+ "$type": "border",
788
+ "$value": {
789
+ "color": "{color.border.base}",
790
+ "width": "{surface.borderWidth.small}",
791
+ "style": "solid"
792
+ }
793
+ },
794
+ "fontStyle": {
795
+ "placeholder": {
796
+ "$type": "typography",
797
+ "$value": "{typography.fontStyle.placeholder}"
798
+ },
799
+ "input": {
800
+ "$type": "typography",
801
+ "$value": "{typography.fontStyle.input}"
802
+ }
803
+ },
804
+ "lineHeight": {
805
+ "$type": "lineHeights",
806
+ "$value": "{typography.lineHeight.xlarge}"
807
+ },
808
+ "density": {
809
+ "compact": {
810
+ "$type": "spacing",
811
+ "$value": "{spacing.none}"
812
+ },
813
+ "regular": {
814
+ "$type": "spacing",
815
+ "$value": "{spacing.adjust.01}"
816
+ },
817
+ "spacious": {
818
+ "$type": "spacing",
819
+ "$value": "{spacing.layout.01}"
820
+ }
821
+ },
822
+ "readonly": {
744
823
  "color": {
745
- "surface": {
746
- "$type": "color",
747
- "$value": "{state.error.color.main}"
748
- },
749
824
  "read": {
825
+ "main": {
826
+ "$type": "color",
827
+ "$value": "{color.read.main.alternative}"
828
+ },
829
+ "contrast": {
830
+ "$type": "color",
831
+ "$value": "{color.read.contrast.alternative}"
832
+ }
833
+ },
834
+ "surface": {
750
835
  "$type": "color",
751
- "$value": "{state.error.color.read.main}"
836
+ "$value": "transparent"
752
837
  }
838
+ },
839
+ "borderWidth": {
840
+ "$type": "borderWidth",
841
+ "$value": "{surface.borderWidth.none}"
753
842
  }
754
843
  },
755
- "global": {
756
- "gap": {
757
- "spacing": {
758
- "$type": "spacing",
759
- "$value": "{spacing.layout.01}"
844
+ "hover": {
845
+ "color": {
846
+ "$type": "color",
847
+ "$value": "{state.hover.color.main.read}"
848
+ },
849
+ "easing": {
850
+ "in": {
851
+ "$type": "easing",
852
+ "$value": "{state.hover.easing.in}"
853
+ },
854
+ "out": {
855
+ "$type": "easing",
856
+ "$value": "{state.hover.easing.out}"
760
857
  }
761
858
  },
762
- "padding": {
763
- "spacing": {
764
- "$type": "spacing",
765
- "$value": "{spacing.layout.02}"
859
+ "duration": {
860
+ "in": {
861
+ "$type": "duration",
862
+ "$value": "{state.hover.duration.in}"
863
+ },
864
+ "out": {
865
+ "$type": "duration",
866
+ "$value": "{state.hover.duration.out}"
766
867
  }
767
868
  }
768
869
  },
769
- "rounder": {
770
- "$type": "borderRadius",
771
- "$value": "{surface.rounder.small}"
772
- },
773
- "contextual": {
774
- "gap": {
775
- "spacing": {
776
- "$type": "spacing",
777
- "$value": "{spacing.adjust.01}"
870
+ "pressed": {
871
+ "shadowStyle": {
872
+ "$type": "boxShadow",
873
+ "$value": "{state.pressed.shadowStyle}"
874
+ },
875
+ "easing": {
876
+ "in": {
877
+ "$type": "easing",
878
+ "$value": "{state.pressed.easing.in}"
879
+ },
880
+ "out": {
881
+ "$type": "easing",
882
+ "$value": "{state.pressed.easing.out}"
778
883
  }
779
884
  },
780
- "padding": {
781
- "spacing": {
782
- "$type": "spacing",
783
- "$value": "{spacing.adjust.01}"
885
+ "duration": {
886
+ "in": {
887
+ "$type": "duration",
888
+ "$value": "{state.pressed.duration.in}"
889
+ },
890
+ "out": {
891
+ "$type": "duration",
892
+ "$value": "{state.pressed.duration.out}"
784
893
  }
785
894
  }
786
895
  },
787
- "toast": {
788
- "gap": {
789
- "spacing": {
790
- "$type": "spacing",
791
- "$value": "{spacing.layout.01}"
896
+ "focus": {
897
+ "borderStyle": {
898
+ "$type": "border",
899
+ "$value": "{state.focus.borderStyle.low.main}"
900
+ },
901
+ "easing": {
902
+ "in": {
903
+ "$type": "easing",
904
+ "$value": "{state.focus.easing.in}"
905
+ },
906
+ "out": {
907
+ "$type": "easing",
908
+ "$value": "{state.focus.easing.out}"
792
909
  }
793
910
  },
794
- "padding": {
795
- "spacing": {
796
- "$type": "spacing",
797
- "$value": "{spacing.layout.01}"
911
+ "duration": {
912
+ "in": {
913
+ "$type": "duration",
914
+ "$value": "{state.focus.duration.in}"
915
+ },
916
+ "out": {
917
+ "$type": "duration",
918
+ "$value": "{state.focus.duration.out}"
798
919
  }
799
920
  }
921
+ },
922
+ "disabled": {
923
+ "color": {
924
+ "$type": "color",
925
+ "$value": "{state.disabled.color.main}"
926
+ },
927
+ "opacity": {
928
+ "$type": "opacity",
929
+ "$value": "{state.disabled.opacity}"
930
+ }
800
931
  }
801
932
  }
802
933
  }
@@ -2236,29 +2236,29 @@
2236
2236
  "lineHeight": "{typography.lineHeight.medium}"
2237
2237
  }
2238
2238
  },
2239
- "placeholder": {
2239
+ "paragraph": {
2240
2240
  "$type": "typography",
2241
2241
  "$value": {
2242
2242
  "fontFamily": "{typography.fontFamily.primary}",
2243
- "fontWeight": "Italic",
2244
- "fontSize": "{typography.fontSize.up.01}",
2243
+ "fontWeight": "{typography.fontWeight.regular}",
2244
+ "fontSize": "{typography.fontSize.default}",
2245
2245
  "lineHeight": "{typography.lineHeight.medium}"
2246
2246
  }
2247
2247
  },
2248
- "paragraph": {
2248
+ "input": {
2249
2249
  "$type": "typography",
2250
2250
  "$value": {
2251
2251
  "fontFamily": "{typography.fontFamily.primary}",
2252
- "fontWeight": "{typography.fontWeight.regular}",
2252
+ "fontWeight": "{typography.fontWeight.medium}",
2253
2253
  "fontSize": "{typography.fontSize.default}",
2254
2254
  "lineHeight": "{typography.lineHeight.medium}"
2255
2255
  }
2256
2256
  },
2257
- "input": {
2257
+ "placeholder": {
2258
2258
  "$type": "typography",
2259
2259
  "$value": {
2260
2260
  "fontFamily": "{typography.fontFamily.primary}",
2261
- "fontWeight": "{typography.fontWeight.medium}",
2261
+ "fontWeight": "Italic",
2262
2262
  "fontSize": "{typography.fontSize.default}",
2263
2263
  "lineHeight": "{typography.lineHeight.medium}"
2264
2264
  }