@govbr-ds/tokens 4.0.0-next.39 → 4.0.0-next.40
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/README.md +42 -3
- package/dist/css/components/breadcrumbs/tokens.css +2 -1
- package/dist/css/components/chatBubble/tokens.css +2 -1
- package/dist/css/components/chatInput/tokens.css +2 -1
- package/dist/css/components/checkbox/tokens.css +2 -1
- package/dist/css/components/divider/tokens.css +8 -6
- package/dist/css/components/footer/tokens.css +2 -1
- package/dist/css/components/input/tokens.css +2 -1
- package/dist/css/components/radioGroup/tokens.css +2 -1
- package/dist/css/components/tag/tokens.css +29 -33
- package/dist/css/components/tagCount/tokens.css +7 -11
- package/dist/css/components/tagStatus/tokens.css +22 -22
- package/dist/css/theme/{light/contrast-mode.css → color-mode.css} +40 -36
- package/dist/css/theme/dark/prefers-color-scheme.css +7 -5
- package/dist/css/theme/dark/tokens.css +5 -3
- package/dist/css/theme/light/prefers-color-scheme.css +7 -5
- package/dist/css/theme/light/tokens.css +5 -3
- package/dist/css/tokens.css +10 -6
- package/dist/js/components/breadcrumbs/tokens.js +2 -1
- package/dist/js/components/chatBubble/tokens.js +2 -1
- package/dist/js/components/chatInput/tokens.js +2 -1
- package/dist/js/components/checkbox/tokens.js +2 -1
- package/dist/js/components/divider/tokens.js +2 -0
- package/dist/js/components/footer/tokens.js +2 -1
- package/dist/js/components/input/tokens.js +2 -1
- package/dist/js/components/radioGroup/tokens.js +2 -1
- package/dist/js/components/tag/tokens.js +33 -33
- package/dist/js/components/tagCount/tokens.js +9 -11
- package/dist/js/components/tagStatus/tokens.js +24 -22
- package/dist/js/theme/dark/tokens.js +4 -2
- package/dist/js/theme/light/tokens.js +4 -2
- package/dist/js/tokens.js +9 -5
- package/dist/json/components/breadcrumbs/tokens.json +34 -7
- package/dist/json/components/chatBubble/tokens.json +36 -7
- package/dist/json/components/chatInput/tokens.json +33 -8
- package/dist/json/components/checkbox/tokens.json +48 -19
- package/dist/json/components/divider/tokens.json +58 -6
- package/dist/json/components/footer/tokens.json +36 -7
- package/dist/json/components/input/tokens.json +48 -19
- package/dist/json/components/radioGroup/tokens.json +48 -19
- package/dist/json/components/tag/tokens.json +671 -739
- package/dist/json/components/tagCount/tokens.json +148 -252
- package/dist/json/components/tagStatus/tokens.json +530 -494
- package/dist/json/theme/dark/tokens.json +106 -44
- package/dist/json/theme/light/tokens.json +106 -44
- package/dist/json/tokens.json +195 -73
- package/dist/penpot/tokens.json +294 -192
- package/dist/scss/components/breadcrumbs/tokens.scss +2 -1
- package/dist/scss/components/chatBubble/tokens.scss +2 -1
- package/dist/scss/components/chatInput/tokens.scss +2 -1
- package/dist/scss/components/checkbox/tokens.scss +2 -1
- package/dist/scss/components/divider/tokens.scss +8 -6
- package/dist/scss/components/footer/tokens.scss +2 -1
- package/dist/scss/components/input/tokens.scss +2 -1
- package/dist/scss/components/radioGroup/tokens.scss +2 -1
- package/dist/scss/components/tag/tokens.scss +29 -33
- package/dist/scss/components/tagCount/tokens.scss +7 -11
- package/dist/scss/components/tagStatus/tokens.scss +22 -22
- package/dist/scss/theme/dark/tokens.scss +4 -2
- package/dist/scss/theme/light/tokens.scss +4 -2
- package/dist/scss/tokens.scss +23 -9
- package/dist/tokens-studio/tokens.json +258 -160
- package/package.json +7 -9
- package/src/config/config.json +43 -18
- package/src/figma/pattern/form.json +21 -8
- package/src/tokens.json +239 -141
- package/dist/css/theme/dark/contrast-mode.css +0 -76
|
@@ -4130,7 +4130,12 @@
|
|
|
4130
4130
|
"color": {
|
|
4131
4131
|
"$type": "color",
|
|
4132
4132
|
"border": {
|
|
4133
|
-
"
|
|
4133
|
+
"main": {
|
|
4134
|
+
"$value": "{br.color.border.main.primary}"
|
|
4135
|
+
},
|
|
4136
|
+
"contrast": {
|
|
4137
|
+
"$value": "{br.color.border.contrast.primary}"
|
|
4138
|
+
}
|
|
4134
4139
|
}
|
|
4135
4140
|
},
|
|
4136
4141
|
"borderWidth": {
|
|
@@ -4203,9 +4208,16 @@
|
|
|
4203
4208
|
},
|
|
4204
4209
|
"borderStyle": {
|
|
4205
4210
|
"$type": "border",
|
|
4206
|
-
"
|
|
4211
|
+
"main": {
|
|
4207
4212
|
"$value": {
|
|
4208
|
-
"color": "{br.form.color.border}",
|
|
4213
|
+
"color": "{br.form.color.border.main}",
|
|
4214
|
+
"width": "{br.form.borderWidth.default}",
|
|
4215
|
+
"style": "solid"
|
|
4216
|
+
}
|
|
4217
|
+
},
|
|
4218
|
+
"contrast": {
|
|
4219
|
+
"$value": {
|
|
4220
|
+
"color": "{br.form.color.border.contrast}",
|
|
4209
4221
|
"width": "{br.form.borderWidth.default}",
|
|
4210
4222
|
"style": "solid"
|
|
4211
4223
|
}
|
|
@@ -5135,6 +5147,15 @@
|
|
|
5135
5147
|
}
|
|
5136
5148
|
},
|
|
5137
5149
|
"divider": {
|
|
5150
|
+
"color": {
|
|
5151
|
+
"$type": "color",
|
|
5152
|
+
"main": {
|
|
5153
|
+
"$value": "{br.color.border.main.primary}"
|
|
5154
|
+
},
|
|
5155
|
+
"contrast": {
|
|
5156
|
+
"$value": "{br.color.border.contrast.primary}"
|
|
5157
|
+
}
|
|
5158
|
+
},
|
|
5138
5159
|
"gap": {
|
|
5139
5160
|
"$type": "dimension",
|
|
5140
5161
|
"$extensions": {
|
|
@@ -5176,21 +5197,21 @@
|
|
|
5176
5197
|
"solid": {
|
|
5177
5198
|
"sm": {
|
|
5178
5199
|
"$value": {
|
|
5179
|
-
"color": "{br.color.
|
|
5200
|
+
"color": "{br.divider.color.main}",
|
|
5180
5201
|
"width": "{br.surface.borderWidth.sm}",
|
|
5181
5202
|
"style": "solid"
|
|
5182
5203
|
}
|
|
5183
5204
|
},
|
|
5184
5205
|
"md": {
|
|
5185
5206
|
"$value": {
|
|
5186
|
-
"color": "{br.color.
|
|
5207
|
+
"color": "{br.divider.color.main}",
|
|
5187
5208
|
"width": "{br.surface.borderWidth.md}",
|
|
5188
5209
|
"style": "solid"
|
|
5189
5210
|
}
|
|
5190
5211
|
},
|
|
5191
5212
|
"lg": {
|
|
5192
5213
|
"$value": {
|
|
5193
|
-
"color": "{br.color.
|
|
5214
|
+
"color": "{br.divider.color.main}",
|
|
5194
5215
|
"width": "{br.surface.borderWidth.lg}",
|
|
5195
5216
|
"style": "solid"
|
|
5196
5217
|
}
|
|
@@ -5199,21 +5220,21 @@
|
|
|
5199
5220
|
"dashed": {
|
|
5200
5221
|
"sm": {
|
|
5201
5222
|
"$value": {
|
|
5202
|
-
"color": "{br.color.
|
|
5223
|
+
"color": "{br.divider.color.main}",
|
|
5203
5224
|
"width": "{br.surface.borderWidth.sm}",
|
|
5204
5225
|
"style": "dashed"
|
|
5205
5226
|
}
|
|
5206
5227
|
},
|
|
5207
5228
|
"md": {
|
|
5208
5229
|
"$value": {
|
|
5209
|
-
"color": "{br.color.
|
|
5230
|
+
"color": "{br.divider.color.main}",
|
|
5210
5231
|
"width": "{br.surface.borderWidth.md}",
|
|
5211
5232
|
"style": "dashed"
|
|
5212
5233
|
}
|
|
5213
5234
|
},
|
|
5214
5235
|
"lg": {
|
|
5215
5236
|
"$value": {
|
|
5216
|
-
"color": "{br.color.
|
|
5237
|
+
"color": "{br.divider.color.main}",
|
|
5217
5238
|
"width": "{br.surface.borderWidth.lg}",
|
|
5218
5239
|
"style": "dashed"
|
|
5219
5240
|
}
|
|
@@ -5393,7 +5414,12 @@
|
|
|
5393
5414
|
},
|
|
5394
5415
|
"borderStyle": {
|
|
5395
5416
|
"$type": "border",
|
|
5396
|
-
"
|
|
5417
|
+
"main": {
|
|
5418
|
+
"$value": "{br.form.borderStyle.main}"
|
|
5419
|
+
},
|
|
5420
|
+
"contrast": {
|
|
5421
|
+
"$value": "{br.form.borderStyle.contrast}"
|
|
5422
|
+
}
|
|
5397
5423
|
},
|
|
5398
5424
|
"fontStyle": {
|
|
5399
5425
|
"$type": "typography",
|
|
@@ -6245,7 +6271,12 @@
|
|
|
6245
6271
|
},
|
|
6246
6272
|
"borderStyle": {
|
|
6247
6273
|
"$type": "border",
|
|
6248
|
-
"
|
|
6274
|
+
"main": {
|
|
6275
|
+
"$value": "{br.form.borderStyle.main}"
|
|
6276
|
+
},
|
|
6277
|
+
"contrast": {
|
|
6278
|
+
"$value": "{br.form.borderStyle.contrast}"
|
|
6279
|
+
}
|
|
6249
6280
|
},
|
|
6250
6281
|
"density": {
|
|
6251
6282
|
"$type": "dimension",
|
|
@@ -6622,7 +6653,12 @@
|
|
|
6622
6653
|
},
|
|
6623
6654
|
"borderStyle": {
|
|
6624
6655
|
"$type": "border",
|
|
6625
|
-
"
|
|
6656
|
+
"main": {
|
|
6657
|
+
"$value": "{br.form.borderStyle.main}"
|
|
6658
|
+
},
|
|
6659
|
+
"contrast": {
|
|
6660
|
+
"$value": "{br.form.borderStyle.contrast}"
|
|
6661
|
+
}
|
|
6626
6662
|
},
|
|
6627
6663
|
"density": {
|
|
6628
6664
|
"$type": "dimension",
|
|
@@ -7632,9 +7668,16 @@
|
|
|
7632
7668
|
},
|
|
7633
7669
|
"borderStyle": {
|
|
7634
7670
|
"$type": "border",
|
|
7635
|
-
"
|
|
7671
|
+
"main": {
|
|
7672
|
+
"$value": {
|
|
7673
|
+
"color": "{br.color.border.main.primary}",
|
|
7674
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
7675
|
+
"style": "solid"
|
|
7676
|
+
}
|
|
7677
|
+
},
|
|
7678
|
+
"contrast": {
|
|
7636
7679
|
"$value": {
|
|
7637
|
-
"color": "{br.color.border.primary}",
|
|
7680
|
+
"color": "{br.color.border.contrast.primary}",
|
|
7638
7681
|
"width": "{br.surface.borderWidth.sm}",
|
|
7639
7682
|
"style": "solid"
|
|
7640
7683
|
}
|
|
@@ -7819,8 +7862,11 @@
|
|
|
7819
7862
|
}
|
|
7820
7863
|
},
|
|
7821
7864
|
"border": {
|
|
7822
|
-
"
|
|
7823
|
-
"$value": "{br.color.border.primary}"
|
|
7865
|
+
"main": {
|
|
7866
|
+
"$value": "{br.color.border.main.primary}"
|
|
7867
|
+
},
|
|
7868
|
+
"contrast": {
|
|
7869
|
+
"$value": "{br.color.border.contrast.primary}"
|
|
7824
7870
|
}
|
|
7825
7871
|
}
|
|
7826
7872
|
},
|
|
@@ -8188,8 +8234,11 @@
|
|
|
8188
8234
|
},
|
|
8189
8235
|
"borderStyle": {
|
|
8190
8236
|
"$type": "border",
|
|
8191
|
-
"
|
|
8192
|
-
"$value": "{br.form.borderStyle.
|
|
8237
|
+
"main": {
|
|
8238
|
+
"$value": "{br.form.borderStyle.main}"
|
|
8239
|
+
},
|
|
8240
|
+
"contrast": {
|
|
8241
|
+
"$value": "{br.form.borderStyle.contrast}"
|
|
8193
8242
|
}
|
|
8194
8243
|
},
|
|
8195
8244
|
"shadowStyle": {
|
|
@@ -8705,9 +8754,16 @@
|
|
|
8705
8754
|
},
|
|
8706
8755
|
"borderStyle": {
|
|
8707
8756
|
"$type": "border",
|
|
8708
|
-
"
|
|
8757
|
+
"main": {
|
|
8758
|
+
"$value": {
|
|
8759
|
+
"color": "{br.color.border.main.primary}",
|
|
8760
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
8761
|
+
"style": "solid"
|
|
8762
|
+
}
|
|
8763
|
+
},
|
|
8764
|
+
"contrast": {
|
|
8709
8765
|
"$value": {
|
|
8710
|
-
"color": "{br.color.border.primary}",
|
|
8766
|
+
"color": "{br.color.border.contrast.primary}",
|
|
8711
8767
|
"width": "{br.surface.borderWidth.sm}",
|
|
8712
8768
|
"style": "solid"
|
|
8713
8769
|
}
|
|
@@ -9474,22 +9530,6 @@
|
|
|
9474
9530
|
"foreground": {
|
|
9475
9531
|
"default": {
|
|
9476
9532
|
"$value": "{br.color.pure.100}"
|
|
9477
|
-
},
|
|
9478
|
-
"main": {
|
|
9479
|
-
"primary": {
|
|
9480
|
-
"$value": "{br.color.foreground.main.primary}"
|
|
9481
|
-
},
|
|
9482
|
-
"secondary": {
|
|
9483
|
-
"$value": "{br.color.foreground.main.secondary}"
|
|
9484
|
-
}
|
|
9485
|
-
},
|
|
9486
|
-
"contrast": {
|
|
9487
|
-
"primary": {
|
|
9488
|
-
"$value": "{br.color.foreground.contrast.primary}"
|
|
9489
|
-
},
|
|
9490
|
-
"secondary": {
|
|
9491
|
-
"$value": "{br.color.foreground.contrast.secondary}"
|
|
9492
|
-
}
|
|
9493
9533
|
}
|
|
9494
9534
|
}
|
|
9495
9535
|
},
|
|
@@ -9515,86 +9555,63 @@
|
|
|
9515
9555
|
"$value": "{br.surface.rounder.full}"
|
|
9516
9556
|
}
|
|
9517
9557
|
},
|
|
9518
|
-
"density": {
|
|
9519
|
-
"$type": "dimension",
|
|
9520
|
-
"compact": {
|
|
9521
|
-
"$value": "{br.spacing.layout.2}"
|
|
9522
|
-
},
|
|
9523
|
-
"regular": {
|
|
9524
|
-
"$value": "{br.spacing.adjust.3}"
|
|
9525
|
-
},
|
|
9526
|
-
"spacious": {
|
|
9527
|
-
"$value": "{br.spacing.layout.3}"
|
|
9528
|
-
}
|
|
9529
|
-
},
|
|
9530
9558
|
"borderStyle": {
|
|
9531
9559
|
"$type": "border",
|
|
9532
9560
|
"main": {
|
|
9533
9561
|
"primary": {
|
|
9534
|
-
"
|
|
9535
|
-
"
|
|
9536
|
-
|
|
9537
|
-
|
|
9562
|
+
"highlight": {
|
|
9563
|
+
"$value": {
|
|
9564
|
+
"color": "{br.color.background.main.primary}",
|
|
9565
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
9566
|
+
"style": "solid"
|
|
9567
|
+
}
|
|
9538
9568
|
}
|
|
9539
9569
|
},
|
|
9540
9570
|
"secondary": {
|
|
9541
|
-
"
|
|
9542
|
-
"
|
|
9543
|
-
|
|
9544
|
-
|
|
9571
|
+
"highlight": {
|
|
9572
|
+
"$value": {
|
|
9573
|
+
"color": "{br.color.background.main.secondary}",
|
|
9574
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
9575
|
+
"style": "solid"
|
|
9576
|
+
}
|
|
9545
9577
|
}
|
|
9546
9578
|
}
|
|
9547
9579
|
},
|
|
9548
9580
|
"contrast": {
|
|
9549
9581
|
"primary": {
|
|
9550
|
-
"
|
|
9551
|
-
"
|
|
9552
|
-
|
|
9553
|
-
|
|
9582
|
+
"highlight": {
|
|
9583
|
+
"$value": {
|
|
9584
|
+
"color": "{br.color.background.contrast.primary}",
|
|
9585
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
9586
|
+
"style": "solid"
|
|
9587
|
+
}
|
|
9554
9588
|
}
|
|
9555
9589
|
},
|
|
9556
9590
|
"secondary": {
|
|
9557
|
-
"
|
|
9558
|
-
"
|
|
9559
|
-
|
|
9560
|
-
|
|
9591
|
+
"highlight": {
|
|
9592
|
+
"$value": {
|
|
9593
|
+
"color": "{br.color.background.contrast.secondary}",
|
|
9594
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
9595
|
+
"style": "solid"
|
|
9596
|
+
}
|
|
9561
9597
|
}
|
|
9562
9598
|
}
|
|
9563
9599
|
}
|
|
9600
|
+
},
|
|
9601
|
+
"density": {
|
|
9602
|
+
"$type": "dimension",
|
|
9603
|
+
"compact": {
|
|
9604
|
+
"$value": "{br.typography.fontSize.default}"
|
|
9605
|
+
},
|
|
9606
|
+
"regular": {
|
|
9607
|
+
"$value": "{br.typography.fontSize.up.2}"
|
|
9608
|
+
},
|
|
9609
|
+
"spacious": {
|
|
9610
|
+
"$value": "{br.typography.fontSize.up.3}"
|
|
9611
|
+
}
|
|
9564
9612
|
}
|
|
9565
9613
|
},
|
|
9566
9614
|
"tagStatus": {
|
|
9567
|
-
"color": {
|
|
9568
|
-
"$type": "color",
|
|
9569
|
-
"background": {
|
|
9570
|
-
"online": {
|
|
9571
|
-
"$value": "{br.color.greenVivid.60}"
|
|
9572
|
-
},
|
|
9573
|
-
"offline": {
|
|
9574
|
-
"$value": "{br.color.grayCool.60}"
|
|
9575
|
-
},
|
|
9576
|
-
"away": {
|
|
9577
|
-
"$value": "{br.color.goldVivid.20}"
|
|
9578
|
-
},
|
|
9579
|
-
"busy": {
|
|
9580
|
-
"$value": "{br.color.redVivid.60}"
|
|
9581
|
-
}
|
|
9582
|
-
},
|
|
9583
|
-
"foreground": {
|
|
9584
|
-
"online": {
|
|
9585
|
-
"$value": "{br.color.greenVivid.10}"
|
|
9586
|
-
},
|
|
9587
|
-
"offline": {
|
|
9588
|
-
"$value": "{br.color.grayCool.10}"
|
|
9589
|
-
},
|
|
9590
|
-
"away": {
|
|
9591
|
-
"$value": "{br.color.goldVivid.70}"
|
|
9592
|
-
},
|
|
9593
|
-
"busy": {
|
|
9594
|
-
"$value": "{br.color.redVivid.10}"
|
|
9595
|
-
}
|
|
9596
|
-
}
|
|
9597
|
-
},
|
|
9598
9615
|
"gap": {
|
|
9599
9616
|
"$type": "dimension",
|
|
9600
9617
|
"default": {
|
|
@@ -9621,83 +9638,56 @@
|
|
|
9621
9638
|
"$type": "border",
|
|
9622
9639
|
"main": {
|
|
9623
9640
|
"primary": {
|
|
9624
|
-
"
|
|
9625
|
-
"
|
|
9626
|
-
|
|
9627
|
-
|
|
9641
|
+
"highlight": {
|
|
9642
|
+
"$value": {
|
|
9643
|
+
"color": "{br.color.background.main.primary}",
|
|
9644
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
9645
|
+
"style": "solid"
|
|
9646
|
+
}
|
|
9628
9647
|
}
|
|
9629
9648
|
},
|
|
9630
9649
|
"secondary": {
|
|
9631
|
-
"
|
|
9632
|
-
"
|
|
9633
|
-
|
|
9634
|
-
|
|
9650
|
+
"highlight": {
|
|
9651
|
+
"$value": {
|
|
9652
|
+
"color": "{br.color.background.main.secondary}",
|
|
9653
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
9654
|
+
"style": "solid"
|
|
9655
|
+
}
|
|
9635
9656
|
}
|
|
9636
9657
|
}
|
|
9637
9658
|
},
|
|
9638
9659
|
"contrast": {
|
|
9639
9660
|
"primary": {
|
|
9640
|
-
"
|
|
9641
|
-
"
|
|
9642
|
-
|
|
9643
|
-
|
|
9661
|
+
"highlight": {
|
|
9662
|
+
"$value": {
|
|
9663
|
+
"color": "{br.color.background.contrast.primary}",
|
|
9664
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
9665
|
+
"style": "solid"
|
|
9666
|
+
}
|
|
9644
9667
|
}
|
|
9645
9668
|
},
|
|
9646
9669
|
"secondary": {
|
|
9647
|
-
"
|
|
9648
|
-
"
|
|
9649
|
-
|
|
9650
|
-
|
|
9670
|
+
"highlight": {
|
|
9671
|
+
"$value": {
|
|
9672
|
+
"color": "{br.color.background.contrast.secondary}",
|
|
9673
|
+
"width": "{br.surface.borderWidth.sm}",
|
|
9674
|
+
"style": "solid"
|
|
9675
|
+
}
|
|
9651
9676
|
}
|
|
9652
9677
|
}
|
|
9653
9678
|
}
|
|
9654
9679
|
},
|
|
9655
|
-
"iconName": {
|
|
9656
|
-
"$type": "content",
|
|
9657
|
-
"online": {
|
|
9658
|
-
"$extensions": {
|
|
9659
|
-
"studio.tokens": {
|
|
9660
|
-
"originalType": "text"
|
|
9661
|
-
}
|
|
9662
|
-
},
|
|
9663
|
-
"$value": "{br.iconography.iconName.feedback.online}"
|
|
9664
|
-
},
|
|
9665
|
-
"offline": {
|
|
9666
|
-
"$extensions": {
|
|
9667
|
-
"studio.tokens": {
|
|
9668
|
-
"originalType": "text"
|
|
9669
|
-
}
|
|
9670
|
-
},
|
|
9671
|
-
"$value": "{br.iconography.iconName.feedback.offline}"
|
|
9672
|
-
},
|
|
9673
|
-
"away": {
|
|
9674
|
-
"$extensions": {
|
|
9675
|
-
"studio.tokens": {
|
|
9676
|
-
"originalType": "text"
|
|
9677
|
-
}
|
|
9678
|
-
},
|
|
9679
|
-
"$value": "{br.iconography.iconName.feedback.time}"
|
|
9680
|
-
},
|
|
9681
|
-
"busy": {
|
|
9682
|
-
"$extensions": {
|
|
9683
|
-
"studio.tokens": {
|
|
9684
|
-
"originalType": "text"
|
|
9685
|
-
}
|
|
9686
|
-
},
|
|
9687
|
-
"$value": "{br.iconography.iconName.feedback.busy}"
|
|
9688
|
-
}
|
|
9689
|
-
},
|
|
9690
9680
|
"simple": {
|
|
9691
9681
|
"$type": "dimension",
|
|
9692
9682
|
"density": {
|
|
9693
9683
|
"compact": {
|
|
9694
|
-
"$value": "{br.
|
|
9684
|
+
"$value": "{br.typography.fontSize.down.4}"
|
|
9695
9685
|
},
|
|
9696
9686
|
"regular": {
|
|
9697
|
-
"$value": "{br.
|
|
9687
|
+
"$value": "{br.typography.fontSize.down.2}"
|
|
9698
9688
|
},
|
|
9699
9689
|
"spacious": {
|
|
9700
|
-
"$value": "{br.
|
|
9690
|
+
"$value": "{br.typography.fontSize.default}"
|
|
9701
9691
|
}
|
|
9702
9692
|
}
|
|
9703
9693
|
},
|
|
@@ -9705,13 +9695,101 @@
|
|
|
9705
9695
|
"$type": "dimension",
|
|
9706
9696
|
"density": {
|
|
9707
9697
|
"compact": {
|
|
9708
|
-
"$value": "{br.
|
|
9698
|
+
"$value": "{br.typography.fontSize.up.2}"
|
|
9709
9699
|
},
|
|
9710
9700
|
"regular": {
|
|
9711
|
-
"$value": "{br.
|
|
9701
|
+
"$value": "{br.typography.fontSize.up.4}"
|
|
9712
9702
|
},
|
|
9713
9703
|
"spacious": {
|
|
9714
|
-
"$value": "{br.
|
|
9704
|
+
"$value": "{br.typography.fontSize.up.5}"
|
|
9705
|
+
}
|
|
9706
|
+
}
|
|
9707
|
+
},
|
|
9708
|
+
"online": {
|
|
9709
|
+
"color": {
|
|
9710
|
+
"$type": "color",
|
|
9711
|
+
"background": {
|
|
9712
|
+
"$value": "{br.color.greenVivid.60}"
|
|
9713
|
+
},
|
|
9714
|
+
"foreground": {
|
|
9715
|
+
"$value": "{br.color.greenVivid.10}"
|
|
9716
|
+
}
|
|
9717
|
+
},
|
|
9718
|
+
"iconName": {
|
|
9719
|
+
"$type": "content",
|
|
9720
|
+
"default": {
|
|
9721
|
+
"$extensions": {
|
|
9722
|
+
"studio.tokens": {
|
|
9723
|
+
"originalType": "text"
|
|
9724
|
+
}
|
|
9725
|
+
},
|
|
9726
|
+
"$value": "{br.iconography.iconName.feedback.online}"
|
|
9727
|
+
}
|
|
9728
|
+
}
|
|
9729
|
+
},
|
|
9730
|
+
"offline": {
|
|
9731
|
+
"color": {
|
|
9732
|
+
"$type": "color",
|
|
9733
|
+
"background": {
|
|
9734
|
+
"$value": "{br.color.grayCool.60}"
|
|
9735
|
+
},
|
|
9736
|
+
"foreground": {
|
|
9737
|
+
"$value": "{br.color.grayCool.10}"
|
|
9738
|
+
}
|
|
9739
|
+
},
|
|
9740
|
+
"iconName": {
|
|
9741
|
+
"$type": "content",
|
|
9742
|
+
"default": {
|
|
9743
|
+
"$extensions": {
|
|
9744
|
+
"studio.tokens": {
|
|
9745
|
+
"originalType": "text"
|
|
9746
|
+
}
|
|
9747
|
+
},
|
|
9748
|
+
"$value": "{br.iconography.iconName.feedback.offline}"
|
|
9749
|
+
}
|
|
9750
|
+
}
|
|
9751
|
+
},
|
|
9752
|
+
"away": {
|
|
9753
|
+
"color": {
|
|
9754
|
+
"$type": "color",
|
|
9755
|
+
"background": {
|
|
9756
|
+
"$value": "{br.color.goldVivid.20}"
|
|
9757
|
+
},
|
|
9758
|
+
"foreground": {
|
|
9759
|
+
"$value": "{br.color.goldVivid.70}"
|
|
9760
|
+
}
|
|
9761
|
+
},
|
|
9762
|
+
"iconName": {
|
|
9763
|
+
"$type": "content",
|
|
9764
|
+
"default": {
|
|
9765
|
+
"$extensions": {
|
|
9766
|
+
"studio.tokens": {
|
|
9767
|
+
"originalType": "text"
|
|
9768
|
+
}
|
|
9769
|
+
},
|
|
9770
|
+
"$value": "{br.iconography.iconName.feedback.time}"
|
|
9771
|
+
}
|
|
9772
|
+
}
|
|
9773
|
+
},
|
|
9774
|
+
"busy": {
|
|
9775
|
+
"color": {
|
|
9776
|
+
"$type": "color",
|
|
9777
|
+
"background": {
|
|
9778
|
+
"$value": "{br.color.redVivid.60}"
|
|
9779
|
+
},
|
|
9780
|
+
"foreground": {
|
|
9781
|
+
"$value": "{br.color.redVivid.10}"
|
|
9782
|
+
}
|
|
9783
|
+
},
|
|
9784
|
+
"iconName": {
|
|
9785
|
+
"$type": "content",
|
|
9786
|
+
"default": {
|
|
9787
|
+
"$extensions": {
|
|
9788
|
+
"studio.tokens": {
|
|
9789
|
+
"originalType": "text"
|
|
9790
|
+
}
|
|
9791
|
+
},
|
|
9792
|
+
"$value": "{br.iconography.iconName.feedback.busy}"
|
|
9715
9793
|
}
|
|
9716
9794
|
}
|
|
9717
9795
|
}
|
|
@@ -9759,11 +9837,21 @@
|
|
|
9759
9837
|
}
|
|
9760
9838
|
},
|
|
9761
9839
|
"border": {
|
|
9762
|
-
"
|
|
9763
|
-
"
|
|
9840
|
+
"main": {
|
|
9841
|
+
"primary": {
|
|
9842
|
+
"$value": "{br.color.gray.70}"
|
|
9843
|
+
},
|
|
9844
|
+
"secondary": {
|
|
9845
|
+
"$value": "{br.color.gray.50}"
|
|
9846
|
+
}
|
|
9764
9847
|
},
|
|
9765
|
-
"
|
|
9766
|
-
"
|
|
9848
|
+
"contrast": {
|
|
9849
|
+
"primary": {
|
|
9850
|
+
"$value": "{br.color.border.main.primary}"
|
|
9851
|
+
},
|
|
9852
|
+
"secondary": {
|
|
9853
|
+
"$value": "{br.color.border.main.secondary}"
|
|
9854
|
+
}
|
|
9767
9855
|
}
|
|
9768
9856
|
}
|
|
9769
9857
|
},
|
|
@@ -10049,11 +10137,21 @@
|
|
|
10049
10137
|
}
|
|
10050
10138
|
},
|
|
10051
10139
|
"border": {
|
|
10052
|
-
"
|
|
10053
|
-
"
|
|
10140
|
+
"main": {
|
|
10141
|
+
"primary": {
|
|
10142
|
+
"$value": "{br.color.gray.20}"
|
|
10143
|
+
},
|
|
10144
|
+
"secondary": {
|
|
10145
|
+
"$value": "{br.color.gray.40}"
|
|
10146
|
+
}
|
|
10054
10147
|
},
|
|
10055
|
-
"
|
|
10056
|
-
"
|
|
10148
|
+
"contrast": {
|
|
10149
|
+
"primary": {
|
|
10150
|
+
"$value": "{br.color.grayCool.60}"
|
|
10151
|
+
},
|
|
10152
|
+
"secondary": {
|
|
10153
|
+
"$value": "{br.color.grayCool.30}"
|
|
10154
|
+
}
|
|
10057
10155
|
}
|
|
10058
10156
|
}
|
|
10059
10157
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govbr-ds/tokens",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.40",
|
|
4
4
|
"description": "Tokens do Padrão Digital de Governo",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
@@ -25,22 +25,20 @@
|
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@tokens-studio/sd-transforms": "^2.0.3",
|
|
28
|
-
"npm-run-all2": "9.0
|
|
29
|
-
"rimraf": "6.1.
|
|
30
|
-
"style-dictionary": "^5.
|
|
28
|
+
"npm-run-all2": "9.1.0",
|
|
29
|
+
"rimraf": "6.1.4",
|
|
30
|
+
"style-dictionary": "^5.8.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "run-s clear split-tokens compile",
|
|
37
|
-
"clear": "
|
|
38
|
-
"clear:dist": "rimraf ./dist",
|
|
39
|
-
"clear:temp": "rimraf ./temp",
|
|
37
|
+
"clear": "rimraf dist temp",
|
|
40
38
|
"compile": "node style-dictionary/build.mjs",
|
|
41
39
|
"split-tokens": "node scripts/split-tokens.mjs",
|
|
42
40
|
"test": "node --test test/*.test.mjs test/**/*.test.mjs",
|
|
43
|
-
"test:contracts": "
|
|
44
|
-
"test:
|
|
41
|
+
"test:contracts": "node --test test/contracts/**/*.test.mjs",
|
|
42
|
+
"test:unit": "node --test test/generate-penpot.test.mjs test/contracts/math-transform.test.mjs"
|
|
45
43
|
}
|
|
46
44
|
}
|