@govbr-ds/tokens 4.0.0-next.27 → 4.0.0-next.29

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.
@@ -2,9 +2,9 @@
2
2
  "br": {
3
3
  "input": {
4
4
  "color": {
5
- "foreground": {
5
+ "main": {
6
6
  "placeholder": {
7
- "key": "{br.input.color.foreground.placeholder}",
7
+ "key": "{br.input.color.main.placeholder}",
8
8
  "$value": "#636363",
9
9
  "filePath": "src/temp/style-dictionary/core/component.json",
10
10
  "isSource": true,
@@ -12,26 +12,26 @@
12
12
  "original": {
13
13
  "$value": "{br.color.foreground.main.secondary}",
14
14
  "$type": "color",
15
- "key": "{br.input.color.foreground.placeholder}"
15
+ "key": "{br.input.color.main.placeholder}"
16
16
  },
17
- "name": "brInputColorForegroundPlaceholder",
17
+ "name": "brInputColorMainPlaceholder",
18
18
  "attributes": {
19
19
  "category": "br",
20
20
  "type": "input",
21
21
  "item": "color",
22
- "subitem": "foreground",
22
+ "subitem": "main",
23
23
  "state": "placeholder"
24
24
  },
25
25
  "path": [
26
26
  "br",
27
27
  "input",
28
28
  "color",
29
- "foreground",
29
+ "main",
30
30
  "placeholder"
31
31
  ]
32
32
  },
33
33
  "textField": {
34
- "key": "{br.input.color.foreground.textField}",
34
+ "key": "{br.input.color.main.textField}",
35
35
  "$value": "#1b1b1b",
36
36
  "filePath": "src/temp/style-dictionary/core/component.json",
37
37
  "isSource": true,
@@ -39,80 +39,198 @@
39
39
  "original": {
40
40
  "$value": "{br.color.foreground.main.primary}",
41
41
  "$type": "color",
42
- "key": "{br.input.color.foreground.textField}"
42
+ "key": "{br.input.color.main.textField}"
43
43
  },
44
- "name": "brInputColorForegroundTextField",
44
+ "name": "brInputColorMainTextField",
45
45
  "attributes": {
46
46
  "category": "br",
47
47
  "type": "input",
48
48
  "item": "color",
49
- "subitem": "foreground",
49
+ "subitem": "main",
50
50
  "state": "textField"
51
51
  },
52
52
  "path": [
53
53
  "br",
54
54
  "input",
55
55
  "color",
56
- "foreground",
56
+ "main",
57
57
  "textField"
58
58
  ]
59
59
  }
60
60
  },
61
- "background": {
62
- "primary": {
63
- "key": "{br.input.color.background.primary}",
64
- "$value": "#fcfcfc",
61
+ "contrast": {
62
+ "placeholder": {
63
+ "key": "{br.input.color.contrast.placeholder}",
64
+ "$value": "#cccccc",
65
65
  "filePath": "src/temp/style-dictionary/core/component.json",
66
66
  "isSource": true,
67
67
  "$type": "color",
68
68
  "original": {
69
- "$value": "{br.color.background.main.primary}",
69
+ "$value": "{br.color.foreground.contrast.secondary}",
70
70
  "$type": "color",
71
- "key": "{br.input.color.background.primary}"
71
+ "key": "{br.input.color.contrast.placeholder}"
72
72
  },
73
- "name": "brInputColorBackgroundPrimary",
73
+ "name": "brInputColorContrastPlaceholder",
74
74
  "attributes": {
75
75
  "category": "br",
76
76
  "type": "input",
77
77
  "item": "color",
78
- "subitem": "background",
79
- "state": "primary"
78
+ "subitem": "contrast",
79
+ "state": "placeholder"
80
80
  },
81
81
  "path": [
82
82
  "br",
83
83
  "input",
84
84
  "color",
85
- "background",
86
- "primary"
85
+ "contrast",
86
+ "placeholder"
87
87
  ]
88
88
  },
89
- "secondary": {
90
- "key": "{br.input.color.background.secondary}",
91
- "$value": "#f0f0f0",
89
+ "textField": {
90
+ "key": "{br.input.color.contrast.textField}",
91
+ "$value": "#fcfcfc",
92
92
  "filePath": "src/temp/style-dictionary/core/component.json",
93
93
  "isSource": true,
94
94
  "$type": "color",
95
95
  "original": {
96
- "$value": "{br.color.background.main.secondary}",
96
+ "$value": "{br.color.foreground.contrast.primary}",
97
97
  "$type": "color",
98
- "key": "{br.input.color.background.secondary}"
98
+ "key": "{br.input.color.contrast.textField}"
99
99
  },
100
- "name": "brInputColorBackgroundSecondary",
100
+ "name": "brInputColorContrastTextField",
101
101
  "attributes": {
102
102
  "category": "br",
103
103
  "type": "input",
104
104
  "item": "color",
105
- "subitem": "background",
106
- "state": "secondary"
105
+ "subitem": "contrast",
106
+ "state": "textField"
107
107
  },
108
108
  "path": [
109
109
  "br",
110
110
  "input",
111
111
  "color",
112
- "background",
113
- "secondary"
112
+ "contrast",
113
+ "textField"
114
114
  ]
115
115
  }
116
+ },
117
+ "background": {
118
+ "main": {
119
+ "primary": {
120
+ "key": "{br.input.color.background.main.primary}",
121
+ "$value": "#fcfcfc",
122
+ "filePath": "src/temp/style-dictionary/core/component.json",
123
+ "isSource": true,
124
+ "$type": "color",
125
+ "original": {
126
+ "$value": "{br.color.background.main.primary}",
127
+ "$type": "color",
128
+ "key": "{br.input.color.background.main.primary}"
129
+ },
130
+ "name": "brInputColorBackgroundMainPrimary",
131
+ "attributes": {
132
+ "category": "br",
133
+ "type": "input",
134
+ "item": "color",
135
+ "subitem": "background",
136
+ "state": "main"
137
+ },
138
+ "path": [
139
+ "br",
140
+ "input",
141
+ "color",
142
+ "background",
143
+ "main",
144
+ "primary"
145
+ ]
146
+ },
147
+ "secondary": {
148
+ "key": "{br.input.color.background.main.secondary}",
149
+ "$value": "#f0f0f0",
150
+ "filePath": "src/temp/style-dictionary/core/component.json",
151
+ "isSource": true,
152
+ "$type": "color",
153
+ "original": {
154
+ "$value": "{br.color.background.main.secondary}",
155
+ "$type": "color",
156
+ "key": "{br.input.color.background.main.secondary}"
157
+ },
158
+ "name": "brInputColorBackgroundMainSecondary",
159
+ "attributes": {
160
+ "category": "br",
161
+ "type": "input",
162
+ "item": "color",
163
+ "subitem": "background",
164
+ "state": "main"
165
+ },
166
+ "path": [
167
+ "br",
168
+ "input",
169
+ "color",
170
+ "background",
171
+ "main",
172
+ "secondary"
173
+ ]
174
+ }
175
+ },
176
+ "contrast": {
177
+ "primary": {
178
+ "key": "{br.input.color.background.contrast.primary}",
179
+ "$value": "#252f3e",
180
+ "filePath": "src/temp/style-dictionary/core/component.json",
181
+ "isSource": true,
182
+ "$type": "color",
183
+ "original": {
184
+ "$value": "{br.color.background.contrast.primary}",
185
+ "$type": "color",
186
+ "key": "{br.input.color.background.contrast.primary}"
187
+ },
188
+ "name": "brInputColorBackgroundContrastPrimary",
189
+ "attributes": {
190
+ "category": "br",
191
+ "type": "input",
192
+ "item": "color",
193
+ "subitem": "background",
194
+ "state": "contrast"
195
+ },
196
+ "path": [
197
+ "br",
198
+ "input",
199
+ "color",
200
+ "background",
201
+ "contrast",
202
+ "primary"
203
+ ]
204
+ },
205
+ "secondary": {
206
+ "key": "{br.input.color.background.contrast.secondary}",
207
+ "$value": "#2f4668",
208
+ "filePath": "src/temp/style-dictionary/core/component.json",
209
+ "isSource": true,
210
+ "$type": "color",
211
+ "original": {
212
+ "$value": "{br.color.background.contrast.secondary}",
213
+ "$type": "color",
214
+ "key": "{br.input.color.background.contrast.secondary}"
215
+ },
216
+ "name": "brInputColorBackgroundContrastSecondary",
217
+ "attributes": {
218
+ "category": "br",
219
+ "type": "input",
220
+ "item": "color",
221
+ "subitem": "background",
222
+ "state": "contrast"
223
+ },
224
+ "path": [
225
+ "br",
226
+ "input",
227
+ "color",
228
+ "background",
229
+ "contrast",
230
+ "secondary"
231
+ ]
232
+ }
233
+ }
116
234
  }
117
235
  },
118
236
  "rounder": {
@@ -555,29 +673,60 @@
555
673
  },
556
674
  "hover": {
557
675
  "color": {
558
- "key": "{br.input.hover.color}",
559
- "$type": "color",
560
- "$value": "rgba(212, 229, 255, 0.5)",
561
- "filePath": "src/temp/style-dictionary/core/component.json",
562
- "isSource": true,
563
- "original": {
676
+ "main": {
677
+ "key": "{br.input.hover.color.main}",
678
+ "$value": "rgba(212, 229, 255, 0.5)",
679
+ "filePath": "src/temp/style-dictionary/core/component.json",
680
+ "isSource": true,
564
681
  "$type": "color",
565
- "$value": "{br.state.hover.color.interactiveFg.main}",
566
- "key": "{br.input.hover.color}"
567
- },
568
- "name": "brInputHoverColor",
569
- "attributes": {
570
- "category": "br",
571
- "type": "input",
572
- "item": "hover",
573
- "subitem": "color"
682
+ "original": {
683
+ "$value": "{br.state.hover.color.interactiveFg.main}",
684
+ "$type": "color",
685
+ "key": "{br.input.hover.color.main}"
686
+ },
687
+ "name": "brInputHoverColorMain",
688
+ "attributes": {
689
+ "category": "br",
690
+ "type": "input",
691
+ "item": "hover",
692
+ "subitem": "color",
693
+ "state": "main"
694
+ },
695
+ "path": [
696
+ "br",
697
+ "input",
698
+ "hover",
699
+ "color",
700
+ "main"
701
+ ]
574
702
  },
575
- "path": [
576
- "br",
577
- "input",
578
- "hover",
579
- "color"
580
- ]
703
+ "contrast": {
704
+ "key": "{br.input.hover.color.contrast}",
705
+ "$value": "rgba(12, 50, 111, 0.6)",
706
+ "filePath": "src/temp/style-dictionary/core/component.json",
707
+ "isSource": true,
708
+ "$type": "color",
709
+ "original": {
710
+ "$value": "{br.state.hover.color.interactiveFg.contrast}",
711
+ "$type": "color",
712
+ "key": "{br.input.hover.color.contrast}"
713
+ },
714
+ "name": "brInputHoverColorContrast",
715
+ "attributes": {
716
+ "category": "br",
717
+ "type": "input",
718
+ "item": "hover",
719
+ "subitem": "color",
720
+ "state": "contrast"
721
+ },
722
+ "path": [
723
+ "br",
724
+ "input",
725
+ "hover",
726
+ "color",
727
+ "contrast"
728
+ ]
729
+ }
581
730
  },
582
731
  "easing": {
583
732
  "in": {
@@ -843,29 +992,60 @@
843
992
  },
844
993
  "focus": {
845
994
  "borderStyle": {
846
- "key": "{br.input.focus.borderStyle}",
847
- "$type": "border",
848
- "$value": "2px solid #da680b",
849
- "filePath": "src/temp/style-dictionary/core/component.json",
850
- "isSource": true,
851
- "original": {
995
+ "main": {
996
+ "key": "{br.input.focus.borderStyle.main}",
997
+ "$value": "2px solid #da680b",
998
+ "filePath": "src/temp/style-dictionary/core/component.json",
999
+ "isSource": true,
852
1000
  "$type": "border",
853
- "$value": "{br.state.focus.borderStyle.main.low}",
854
- "key": "{br.input.focus.borderStyle}"
855
- },
856
- "name": "brInputFocusBorderStyle",
857
- "attributes": {
858
- "category": "br",
859
- "type": "input",
860
- "item": "focus",
861
- "subitem": "borderStyle"
1001
+ "original": {
1002
+ "$value": "{br.state.focus.borderStyle.main.low}",
1003
+ "$type": "border",
1004
+ "key": "{br.input.focus.borderStyle.main}"
1005
+ },
1006
+ "name": "brInputFocusBorderStyleMain",
1007
+ "attributes": {
1008
+ "category": "br",
1009
+ "type": "input",
1010
+ "item": "focus",
1011
+ "subitem": "borderStyle",
1012
+ "state": "main"
1013
+ },
1014
+ "path": [
1015
+ "br",
1016
+ "input",
1017
+ "focus",
1018
+ "borderStyle",
1019
+ "main"
1020
+ ]
862
1021
  },
863
- "path": [
864
- "br",
865
- "input",
866
- "focus",
867
- "borderStyle"
868
- ]
1022
+ "contrast": {
1023
+ "key": "{br.input.focus.borderStyle.contrast}",
1024
+ "$value": "2px solid #ff8c00",
1025
+ "filePath": "src/temp/style-dictionary/core/component.json",
1026
+ "isSource": true,
1027
+ "$type": "border",
1028
+ "original": {
1029
+ "$value": "{br.state.focus.borderStyle.contrast.low}",
1030
+ "$type": "border",
1031
+ "key": "{br.input.focus.borderStyle.contrast}"
1032
+ },
1033
+ "name": "brInputFocusBorderStyleContrast",
1034
+ "attributes": {
1035
+ "category": "br",
1036
+ "type": "input",
1037
+ "item": "focus",
1038
+ "subitem": "borderStyle",
1039
+ "state": "contrast"
1040
+ },
1041
+ "path": [
1042
+ "br",
1043
+ "input",
1044
+ "focus",
1045
+ "borderStyle",
1046
+ "contrast"
1047
+ ]
1048
+ }
869
1049
  },
870
1050
  "easing": {
871
1051
  "in": {
@@ -982,29 +1162,60 @@
982
1162
  },
983
1163
  "disabled": {
984
1164
  "color": {
985
- "key": "{br.input.disabled.color}",
986
- "$type": "color",
987
- "$value": "#4a4a4a",
988
- "filePath": "src/temp/style-dictionary/core/component.json",
989
- "isSource": true,
990
- "original": {
1165
+ "main": {
1166
+ "key": "{br.input.disabled.color.main}",
1167
+ "$value": "#4a4a4a",
1168
+ "filePath": "src/temp/style-dictionary/core/component.json",
1169
+ "isSource": true,
991
1170
  "$type": "color",
992
- "$value": "{br.state.disabled.color.main}",
993
- "key": "{br.input.disabled.color}"
994
- },
995
- "name": "brInputDisabledColor",
996
- "attributes": {
997
- "category": "br",
998
- "type": "input",
999
- "item": "disabled",
1000
- "subitem": "color"
1171
+ "original": {
1172
+ "$value": "{br.state.disabled.color.main}",
1173
+ "$type": "color",
1174
+ "key": "{br.input.disabled.color.main}"
1175
+ },
1176
+ "name": "brInputDisabledColorMain",
1177
+ "attributes": {
1178
+ "category": "br",
1179
+ "type": "input",
1180
+ "item": "disabled",
1181
+ "subitem": "color",
1182
+ "state": "main"
1183
+ },
1184
+ "path": [
1185
+ "br",
1186
+ "input",
1187
+ "disabled",
1188
+ "color",
1189
+ "main"
1190
+ ]
1001
1191
  },
1002
- "path": [
1003
- "br",
1004
- "input",
1005
- "disabled",
1006
- "color"
1007
- ]
1192
+ "contrast": {
1193
+ "key": "{br.input.disabled.color.contrast}",
1194
+ "$value": "#cccccc",
1195
+ "filePath": "src/temp/style-dictionary/core/component.json",
1196
+ "isSource": true,
1197
+ "$type": "color",
1198
+ "original": {
1199
+ "$value": "{br.state.disabled.color.contrast}",
1200
+ "$type": "color",
1201
+ "key": "{br.input.disabled.color.contrast}"
1202
+ },
1203
+ "name": "brInputDisabledColorContrast",
1204
+ "attributes": {
1205
+ "category": "br",
1206
+ "type": "input",
1207
+ "item": "disabled",
1208
+ "subitem": "color",
1209
+ "state": "contrast"
1210
+ },
1211
+ "path": [
1212
+ "br",
1213
+ "input",
1214
+ "disabled",
1215
+ "color",
1216
+ "contrast"
1217
+ ]
1218
+ }
1008
1219
  },
1009
1220
  "opacity": {
1010
1221
  "key": "{br.input.disabled.opacity}",