@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.
- package/dist/css/components/checkbox/tokens.css +20 -10
- package/dist/css/components/input/tokens.css +14 -7
- package/dist/css/components/radioGroup/tokens.css +16 -8
- package/dist/css/components/select/tokens.css +6 -3
- package/dist/css/components/sideMenu/tokens.css +1 -0
- package/dist/js/components/checkbox/tokens.js +22 -10
- package/dist/js/components/input/tokens.js +14 -7
- package/dist/js/components/radioGroup/tokens.js +19 -8
- package/dist/js/components/select/tokens.js +6 -3
- package/dist/js/components/sideMenu/tokens.js +1 -0
- package/dist/json/components/checkbox/tokens.json +541 -227
- package/dist/json/components/input/tokens.json +306 -95
- package/dist/json/components/radioGroup/tokens.json +430 -182
- package/dist/json/components/select/tokens.json +168 -73
- package/dist/json/components/sideMenu/tokens.json +35 -0
- package/dist/scss/components/checkbox/tokens.scss +20 -10
- package/dist/scss/components/input/tokens.scss +14 -7
- package/dist/scss/components/radioGroup/tokens.scss +16 -8
- package/dist/scss/components/select/tokens.scss +6 -3
- package/dist/scss/components/sideMenu/tokens.scss +1 -0
- package/dist/tokens-studio/tokens.json +186 -39
- package/package.json +1 -1
- package/src/temp/style-dictionary/core/component.json +186 -39
- package/src/temp/tokens-studio/core/component.json +186 -39
- package/src/tokens.json +186 -39
package/src/tokens.json
CHANGED
|
@@ -4412,7 +4412,7 @@
|
|
|
4412
4412
|
"input": {
|
|
4413
4413
|
"color": {
|
|
4414
4414
|
"$type": "color",
|
|
4415
|
-
"
|
|
4415
|
+
"main": {
|
|
4416
4416
|
"placeholder": {
|
|
4417
4417
|
"$value": "{br.color.foreground.main.secondary}"
|
|
4418
4418
|
},
|
|
@@ -4420,12 +4420,30 @@
|
|
|
4420
4420
|
"$value": "{br.color.foreground.main.primary}"
|
|
4421
4421
|
}
|
|
4422
4422
|
},
|
|
4423
|
+
"contrast": {
|
|
4424
|
+
"placeholder": {
|
|
4425
|
+
"$value": "{br.color.foreground.contrast.secondary}"
|
|
4426
|
+
},
|
|
4427
|
+
"textField": {
|
|
4428
|
+
"$value": "{br.color.foreground.contrast.primary}"
|
|
4429
|
+
}
|
|
4430
|
+
},
|
|
4423
4431
|
"background": {
|
|
4424
|
-
"
|
|
4425
|
-
"
|
|
4432
|
+
"main": {
|
|
4433
|
+
"primary": {
|
|
4434
|
+
"$value": "{br.color.background.main.primary}"
|
|
4435
|
+
},
|
|
4436
|
+
"secondary": {
|
|
4437
|
+
"$value": "{br.color.background.main.secondary}"
|
|
4438
|
+
}
|
|
4426
4439
|
},
|
|
4427
|
-
"
|
|
4428
|
-
"
|
|
4440
|
+
"contrast": {
|
|
4441
|
+
"primary": {
|
|
4442
|
+
"$value": "{br.color.background.contrast.primary}"
|
|
4443
|
+
},
|
|
4444
|
+
"secondary": {
|
|
4445
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
4446
|
+
}
|
|
4429
4447
|
}
|
|
4430
4448
|
}
|
|
4431
4449
|
},
|
|
@@ -4493,7 +4511,12 @@
|
|
|
4493
4511
|
"hover": {
|
|
4494
4512
|
"color": {
|
|
4495
4513
|
"$type": "color",
|
|
4496
|
-
"
|
|
4514
|
+
"main": {
|
|
4515
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
4516
|
+
},
|
|
4517
|
+
"contrast": {
|
|
4518
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
4519
|
+
}
|
|
4497
4520
|
},
|
|
4498
4521
|
"easing": {
|
|
4499
4522
|
"$type": "easing",
|
|
@@ -4541,7 +4564,12 @@
|
|
|
4541
4564
|
"focus": {
|
|
4542
4565
|
"borderStyle": {
|
|
4543
4566
|
"$type": "border",
|
|
4544
|
-
"
|
|
4567
|
+
"main": {
|
|
4568
|
+
"$value": "{br.state.focus.borderStyle.main.low}"
|
|
4569
|
+
},
|
|
4570
|
+
"contrast": {
|
|
4571
|
+
"$value": "{br.state.focus.borderStyle.contrast.low}"
|
|
4572
|
+
}
|
|
4545
4573
|
},
|
|
4546
4574
|
"easing": {
|
|
4547
4575
|
"$type": "easing",
|
|
@@ -4565,7 +4593,12 @@
|
|
|
4565
4593
|
"disabled": {
|
|
4566
4594
|
"color": {
|
|
4567
4595
|
"$type": "color",
|
|
4568
|
-
"
|
|
4596
|
+
"main": {
|
|
4597
|
+
"$value": "{br.state.disabled.color.main}"
|
|
4598
|
+
},
|
|
4599
|
+
"contrast": {
|
|
4600
|
+
"$value": "{br.state.disabled.color.contrast}"
|
|
4601
|
+
}
|
|
4569
4602
|
},
|
|
4570
4603
|
"opacity": {
|
|
4571
4604
|
"$type": "opacity",
|
|
@@ -4981,16 +5014,33 @@
|
|
|
4981
5014
|
"color": {
|
|
4982
5015
|
"$type": "color",
|
|
4983
5016
|
"foreground": {
|
|
4984
|
-
"
|
|
4985
|
-
"
|
|
5017
|
+
"main": {
|
|
5018
|
+
"selectAll": {
|
|
5019
|
+
"$value": "{br.state.interactive.color.foreground.main}"
|
|
5020
|
+
}
|
|
5021
|
+
},
|
|
5022
|
+
"contrast": {
|
|
5023
|
+
"selectAll": {
|
|
5024
|
+
"$value": "{br.state.interactive.color.foreground.contrast}"
|
|
5025
|
+
}
|
|
4986
5026
|
}
|
|
4987
5027
|
},
|
|
4988
5028
|
"background": {
|
|
4989
|
-
"
|
|
4990
|
-
"
|
|
5029
|
+
"main": {
|
|
5030
|
+
"selectAll": {
|
|
5031
|
+
"$value": "{br.state.interactive.color.main}"
|
|
5032
|
+
},
|
|
5033
|
+
"group": {
|
|
5034
|
+
"$value": "{br.color.background.main.secondary}"
|
|
5035
|
+
}
|
|
4991
5036
|
},
|
|
4992
|
-
"
|
|
4993
|
-
"
|
|
5037
|
+
"contrast": {
|
|
5038
|
+
"selectAll": {
|
|
5039
|
+
"$value": "{br.state.interactive.color.contrast}"
|
|
5040
|
+
},
|
|
5041
|
+
"group": {
|
|
5042
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
5043
|
+
}
|
|
4994
5044
|
}
|
|
4995
5045
|
}
|
|
4996
5046
|
},
|
|
@@ -5017,11 +5067,21 @@
|
|
|
5017
5067
|
"color": {
|
|
5018
5068
|
"$type": "color",
|
|
5019
5069
|
"background": {
|
|
5020
|
-
"
|
|
5021
|
-
"
|
|
5070
|
+
"main": {
|
|
5071
|
+
"primary": {
|
|
5072
|
+
"$value": "{br.color.background.main.primary}"
|
|
5073
|
+
},
|
|
5074
|
+
"secondary": {
|
|
5075
|
+
"$value": "{br.color.background.main.secondary}"
|
|
5076
|
+
}
|
|
5022
5077
|
},
|
|
5023
|
-
"
|
|
5024
|
-
"
|
|
5078
|
+
"contrast": {
|
|
5079
|
+
"primary": {
|
|
5080
|
+
"$value": "{br.color.background.contrast.primary}"
|
|
5081
|
+
},
|
|
5082
|
+
"secondary": {
|
|
5083
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
5084
|
+
}
|
|
5025
5085
|
}
|
|
5026
5086
|
}
|
|
5027
5087
|
},
|
|
@@ -5061,7 +5121,12 @@
|
|
|
5061
5121
|
"disabled": {
|
|
5062
5122
|
"color": {
|
|
5063
5123
|
"$type": "color",
|
|
5064
|
-
"
|
|
5124
|
+
"main": {
|
|
5125
|
+
"$value": "{br.state.disabled.color.main}"
|
|
5126
|
+
},
|
|
5127
|
+
"contrast": {
|
|
5128
|
+
"$value": "{br.state.disabled.color.contrast}"
|
|
5129
|
+
}
|
|
5065
5130
|
},
|
|
5066
5131
|
"opacity": {
|
|
5067
5132
|
"$type": "opacity",
|
|
@@ -5072,10 +5137,20 @@
|
|
|
5072
5137
|
"color": {
|
|
5073
5138
|
"$type": "color",
|
|
5074
5139
|
"interactiveFg": {
|
|
5075
|
-
"
|
|
5140
|
+
"main": {
|
|
5141
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
5142
|
+
},
|
|
5143
|
+
"contrast": {
|
|
5144
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
5145
|
+
}
|
|
5076
5146
|
},
|
|
5077
5147
|
"interactiveBg": {
|
|
5078
|
-
"
|
|
5148
|
+
"main": {
|
|
5149
|
+
"$value": "{br.state.hover.color.interactiveBg.main}"
|
|
5150
|
+
},
|
|
5151
|
+
"contrast": {
|
|
5152
|
+
"$value": "{br.state.hover.color.interactiveBg.contrast}"
|
|
5153
|
+
}
|
|
5079
5154
|
}
|
|
5080
5155
|
},
|
|
5081
5156
|
"easing": {
|
|
@@ -5124,7 +5199,12 @@
|
|
|
5124
5199
|
"focus": {
|
|
5125
5200
|
"borderStyle": {
|
|
5126
5201
|
"$type": "border",
|
|
5127
|
-
"
|
|
5202
|
+
"main": {
|
|
5203
|
+
"$value": "{br.state.focus.borderStyle.main.low}"
|
|
5204
|
+
},
|
|
5205
|
+
"contrast": {
|
|
5206
|
+
"$value": "{br.state.focus.borderStyle.contrast.low}"
|
|
5207
|
+
}
|
|
5128
5208
|
},
|
|
5129
5209
|
"easing": {
|
|
5130
5210
|
"$type": "easing",
|
|
@@ -5149,10 +5229,20 @@
|
|
|
5149
5229
|
"color": {
|
|
5150
5230
|
"$type": "color",
|
|
5151
5231
|
"foreground": {
|
|
5152
|
-
"
|
|
5232
|
+
"main": {
|
|
5233
|
+
"$value": "{br.state.selected.color.foreground.main}"
|
|
5234
|
+
},
|
|
5235
|
+
"contrast": {
|
|
5236
|
+
"$value": "{br.state.selected.color.foreground.contrast}"
|
|
5237
|
+
}
|
|
5153
5238
|
},
|
|
5154
5239
|
"background": {
|
|
5155
|
-
"
|
|
5240
|
+
"main": {
|
|
5241
|
+
"$value": "{br.state.selected.color.main}"
|
|
5242
|
+
},
|
|
5243
|
+
"contrast": {
|
|
5244
|
+
"$value": "{br.state.selected.color.contrast}"
|
|
5245
|
+
}
|
|
5156
5246
|
}
|
|
5157
5247
|
},
|
|
5158
5248
|
"easing": {
|
|
@@ -5177,14 +5267,28 @@
|
|
|
5177
5267
|
"intermediary": {
|
|
5178
5268
|
"color": {
|
|
5179
5269
|
"$type": "color",
|
|
5180
|
-
"
|
|
5270
|
+
"main": {
|
|
5271
|
+
"$value": "{br.state.selected.color.main}"
|
|
5272
|
+
},
|
|
5273
|
+
"contrast": {
|
|
5274
|
+
"$value": "{br.state.selected.color.contrast}"
|
|
5275
|
+
}
|
|
5181
5276
|
},
|
|
5182
5277
|
"borderStyle": {
|
|
5183
5278
|
"$type": "border",
|
|
5184
|
-
"
|
|
5185
|
-
"
|
|
5186
|
-
|
|
5187
|
-
|
|
5279
|
+
"main": {
|
|
5280
|
+
"$value": {
|
|
5281
|
+
"color": "{br.checkbox.intermediary.color.main}",
|
|
5282
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
5283
|
+
"style": "solid"
|
|
5284
|
+
}
|
|
5285
|
+
},
|
|
5286
|
+
"contrast": {
|
|
5287
|
+
"$value": {
|
|
5288
|
+
"color": "{br.checkbox.intermediary.color.contrast}",
|
|
5289
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
5290
|
+
"style": "solid"
|
|
5291
|
+
}
|
|
5188
5292
|
}
|
|
5189
5293
|
},
|
|
5190
5294
|
"easing": {
|
|
@@ -5256,11 +5360,21 @@
|
|
|
5256
5360
|
"color": {
|
|
5257
5361
|
"$type": "color",
|
|
5258
5362
|
"background": {
|
|
5259
|
-
"
|
|
5260
|
-
"
|
|
5363
|
+
"main": {
|
|
5364
|
+
"primary": {
|
|
5365
|
+
"$value": "{br.color.background.main.primary}"
|
|
5366
|
+
},
|
|
5367
|
+
"secondary": {
|
|
5368
|
+
"$value": "{br.color.background.main.secondary}"
|
|
5369
|
+
}
|
|
5261
5370
|
},
|
|
5262
|
-
"
|
|
5263
|
-
"
|
|
5371
|
+
"contrast": {
|
|
5372
|
+
"primary": {
|
|
5373
|
+
"$value": "{br.color.background.contrast.primary}"
|
|
5374
|
+
},
|
|
5375
|
+
"secondary": {
|
|
5376
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
5377
|
+
}
|
|
5264
5378
|
}
|
|
5265
5379
|
}
|
|
5266
5380
|
},
|
|
@@ -5305,7 +5419,12 @@
|
|
|
5305
5419
|
"disabled": {
|
|
5306
5420
|
"color": {
|
|
5307
5421
|
"$type": "color",
|
|
5308
|
-
"
|
|
5422
|
+
"main": {
|
|
5423
|
+
"$value": "{br.state.disabled.color.main}"
|
|
5424
|
+
},
|
|
5425
|
+
"contrast": {
|
|
5426
|
+
"$value": "{br.state.disabled.color.contrast}"
|
|
5427
|
+
}
|
|
5309
5428
|
},
|
|
5310
5429
|
"opacity": {
|
|
5311
5430
|
"$type": "opacity",
|
|
@@ -5316,10 +5435,20 @@
|
|
|
5316
5435
|
"color": {
|
|
5317
5436
|
"$type": "color",
|
|
5318
5437
|
"interactiveFg": {
|
|
5319
|
-
"
|
|
5438
|
+
"main": {
|
|
5439
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
5440
|
+
},
|
|
5441
|
+
"contrast": {
|
|
5442
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
5443
|
+
}
|
|
5320
5444
|
},
|
|
5321
5445
|
"interactiveBg": {
|
|
5322
|
-
"
|
|
5446
|
+
"main": {
|
|
5447
|
+
"$value": "{br.state.hover.color.interactiveBg.main}"
|
|
5448
|
+
},
|
|
5449
|
+
"contrast": {
|
|
5450
|
+
"$value": "{br.state.hover.color.interactiveBg.contrast}"
|
|
5451
|
+
}
|
|
5323
5452
|
}
|
|
5324
5453
|
},
|
|
5325
5454
|
"easing": {
|
|
@@ -5368,7 +5497,12 @@
|
|
|
5368
5497
|
"focus": {
|
|
5369
5498
|
"borderStyle": {
|
|
5370
5499
|
"$type": "border",
|
|
5371
|
-
"
|
|
5500
|
+
"main": {
|
|
5501
|
+
"$value": "{br.state.focus.borderStyle.main.low}"
|
|
5502
|
+
},
|
|
5503
|
+
"contrast": {
|
|
5504
|
+
"$value": "{br.state.focus.borderStyle.contrast.low}"
|
|
5505
|
+
}
|
|
5372
5506
|
},
|
|
5373
5507
|
"easing": {
|
|
5374
5508
|
"$type": "easing",
|
|
@@ -5393,10 +5527,20 @@
|
|
|
5393
5527
|
"color": {
|
|
5394
5528
|
"$type": "color",
|
|
5395
5529
|
"foreground": {
|
|
5396
|
-
"
|
|
5530
|
+
"main": {
|
|
5531
|
+
"$value": "{br.state.selected.color.foreground.main}"
|
|
5532
|
+
},
|
|
5533
|
+
"contrast": {
|
|
5534
|
+
"$value": "{br.state.selected.color.foreground.contrast}"
|
|
5535
|
+
}
|
|
5397
5536
|
},
|
|
5398
5537
|
"background": {
|
|
5399
|
-
"
|
|
5538
|
+
"main": {
|
|
5539
|
+
"$value": "{br.state.selected.color.main}"
|
|
5540
|
+
},
|
|
5541
|
+
"contrast": {
|
|
5542
|
+
"$value": "{br.state.selected.color.contrast}"
|
|
5543
|
+
}
|
|
5400
5544
|
}
|
|
5401
5545
|
},
|
|
5402
5546
|
"easing": {
|
|
@@ -5562,6 +5706,9 @@
|
|
|
5562
5706
|
},
|
|
5563
5707
|
"iconName": {
|
|
5564
5708
|
"$type": "text",
|
|
5709
|
+
"close": {
|
|
5710
|
+
"$value": "{br.iconography.iconName.action.close}"
|
|
5711
|
+
},
|
|
5565
5712
|
"fallback": {
|
|
5566
5713
|
"$value": "{br.iconography.iconName.navigation.folder}"
|
|
5567
5714
|
},
|