@govbr-ds/tokens 4.0.0-next.30 → 4.0.0-next.32
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/LICENSE +21 -0
- package/README.md +35 -44
- package/dist/css/components/breadcrumbs/tokens.css +5 -2
- package/dist/css/components/chatInput/tokens.css +62 -0
- package/dist/css/components/footer/tokens.css +6 -6
- package/dist/css/components/loading/tokens.css +11 -0
- package/dist/css/tokens.css +7 -0
- package/dist/js/components/breadcrumbs/tokens.js +5 -4
- package/dist/js/components/chatInput/tokens.js +63 -0
- package/dist/js/components/footer/tokens.js +6 -6
- package/dist/js/components/loading/tokens.js +9 -0
- package/dist/js/tokens.js +11 -4
- package/dist/json/components/breadcrumbs/tokens.json +165 -60
- package/dist/json/components/chatInput/tokens.json +1721 -0
- package/dist/json/components/footer/tokens.json +62 -64
- package/dist/json/components/loading/tokens.json +157 -0
- package/dist/json/tokens.json +263 -4
- package/dist/scss/components/breadcrumbs/tokens.scss +5 -2
- package/dist/scss/components/chatInput/tokens.scss +59 -0
- package/dist/scss/components/footer/tokens.scss +6 -6
- package/dist/scss/components/loading/tokens.scss +8 -0
- package/dist/scss/tokens.scss +15 -1
- package/dist/tokens-studio/tokens.json +359 -24
- package/package.json +14 -9
- package/src/temp/style-dictionary/core/component.json +338 -24
- package/src/temp/style-dictionary/core/foundation.json +21 -0
- package/src/temp/tokens-studio/core/component.json +338 -24
- package/src/temp/tokens-studio/core/global.json +21 -0
- package/src/tokens.json +359 -24
package/src/tokens.json
CHANGED
|
@@ -2283,6 +2283,24 @@
|
|
|
2283
2283
|
},
|
|
2284
2284
|
"view": {
|
|
2285
2285
|
"$value": "eye"
|
|
2286
|
+
},
|
|
2287
|
+
"voice": {
|
|
2288
|
+
"$value": "microphone"
|
|
2289
|
+
},
|
|
2290
|
+
"play": {
|
|
2291
|
+
"$value": "play"
|
|
2292
|
+
},
|
|
2293
|
+
"pause": {
|
|
2294
|
+
"$value": "pause"
|
|
2295
|
+
},
|
|
2296
|
+
"stop": {
|
|
2297
|
+
"$value": "stop"
|
|
2298
|
+
},
|
|
2299
|
+
"forward": {
|
|
2300
|
+
"$value": "forward"
|
|
2301
|
+
},
|
|
2302
|
+
"backward": {
|
|
2303
|
+
"$value": "backward"
|
|
2286
2304
|
}
|
|
2287
2305
|
},
|
|
2288
2306
|
"navigation": {
|
|
@@ -2334,6 +2352,9 @@
|
|
|
2334
2352
|
"options": {
|
|
2335
2353
|
"$value": "ellipsis-v"
|
|
2336
2354
|
},
|
|
2355
|
+
"more": {
|
|
2356
|
+
"$value": "ellipsis-h"
|
|
2357
|
+
},
|
|
2337
2358
|
"user": {
|
|
2338
2359
|
"$value": "user"
|
|
2339
2360
|
},
|
|
@@ -6173,27 +6194,25 @@
|
|
|
6173
6194
|
},
|
|
6174
6195
|
"density": {
|
|
6175
6196
|
"$type": "spacing",
|
|
6176
|
-
"
|
|
6177
|
-
"
|
|
6197
|
+
"default": {
|
|
6198
|
+
"compact": {
|
|
6178
6199
|
"$value": "{br.spacing.layout.1}"
|
|
6179
6200
|
},
|
|
6180
|
-
"
|
|
6181
|
-
"$value": "{br.spacing.adjust.1}"
|
|
6182
|
-
}
|
|
6183
|
-
},
|
|
6184
|
-
"regular": {
|
|
6185
|
-
"default": {
|
|
6201
|
+
"regular": {
|
|
6186
6202
|
"$value": "{br.spacing.layout.3}"
|
|
6187
6203
|
},
|
|
6188
|
-
"
|
|
6189
|
-
"$value": "{br.spacing.layout.
|
|
6204
|
+
"spacious": {
|
|
6205
|
+
"$value": "{br.spacing.layout.4}"
|
|
6190
6206
|
}
|
|
6191
6207
|
},
|
|
6192
|
-
"
|
|
6193
|
-
"
|
|
6194
|
-
"$value": "{br.spacing.
|
|
6208
|
+
"support": {
|
|
6209
|
+
"compact": {
|
|
6210
|
+
"$value": "{br.spacing.adjust.1}"
|
|
6195
6211
|
},
|
|
6196
|
-
"
|
|
6212
|
+
"regular": {
|
|
6213
|
+
"$value": "{br.spacing.layout.2}"
|
|
6214
|
+
},
|
|
6215
|
+
"spacious": {
|
|
6197
6216
|
"$value": "{br.spacing.layout.3}"
|
|
6198
6217
|
}
|
|
6199
6218
|
}
|
|
@@ -6307,14 +6326,14 @@
|
|
|
6307
6326
|
}
|
|
6308
6327
|
},
|
|
6309
6328
|
"gap": {
|
|
6329
|
+
"$type": "spacing",
|
|
6310
6330
|
"default": {
|
|
6311
|
-
"$type": "spacing",
|
|
6312
6331
|
"$value": "{br.spacing.adjust.1}"
|
|
6313
6332
|
}
|
|
6314
6333
|
},
|
|
6315
6334
|
"padding": {
|
|
6335
|
+
"$type": "spacing",
|
|
6316
6336
|
"default": {
|
|
6317
|
-
"$type": "spacing",
|
|
6318
6337
|
"$value": "{br.spacing.adjust.1}"
|
|
6319
6338
|
}
|
|
6320
6339
|
},
|
|
@@ -6330,6 +6349,21 @@
|
|
|
6330
6349
|
"$value": "{br.spacing.adjust.2}"
|
|
6331
6350
|
}
|
|
6332
6351
|
},
|
|
6352
|
+
"rounder": {
|
|
6353
|
+
"$type": "borderRadius",
|
|
6354
|
+
"default": {
|
|
6355
|
+
"$value": "{br.surface.rounder.sm}"
|
|
6356
|
+
}
|
|
6357
|
+
},
|
|
6358
|
+
"iconName": {
|
|
6359
|
+
"$type": "text",
|
|
6360
|
+
"home": {
|
|
6361
|
+
"$value": "{br.iconography.iconName.navigation.home}"
|
|
6362
|
+
},
|
|
6363
|
+
"more": {
|
|
6364
|
+
"$value": "{br.iconography.iconName.navigation.more}"
|
|
6365
|
+
}
|
|
6366
|
+
},
|
|
6333
6367
|
"fontStyle": {
|
|
6334
6368
|
"$type": "typography",
|
|
6335
6369
|
"default": {
|
|
@@ -6342,21 +6376,19 @@
|
|
|
6342
6376
|
}
|
|
6343
6377
|
},
|
|
6344
6378
|
"shadowStyle": {
|
|
6379
|
+
"$type": "boxShadow",
|
|
6345
6380
|
"default": {
|
|
6346
|
-
"$type": "boxShadow",
|
|
6347
6381
|
"$value": "{br.elevation.shadowStyle.level2}"
|
|
6348
6382
|
}
|
|
6349
6383
|
},
|
|
6350
6384
|
"hover": {
|
|
6351
6385
|
"color": {
|
|
6352
6386
|
"$type": "color",
|
|
6353
|
-
"
|
|
6354
|
-
"
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
"
|
|
6358
|
-
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
6359
|
-
}
|
|
6387
|
+
"main": {
|
|
6388
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
6389
|
+
},
|
|
6390
|
+
"contrast": {
|
|
6391
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
6360
6392
|
}
|
|
6361
6393
|
},
|
|
6362
6394
|
"easing": {
|
|
@@ -6435,6 +6467,309 @@
|
|
|
6435
6467
|
}
|
|
6436
6468
|
}
|
|
6437
6469
|
}
|
|
6470
|
+
},
|
|
6471
|
+
"chatInput": {
|
|
6472
|
+
"color": {
|
|
6473
|
+
"$type": "color",
|
|
6474
|
+
"background": {
|
|
6475
|
+
"main": {
|
|
6476
|
+
"primary": {
|
|
6477
|
+
"$value": "{br.color.background.main.primary}"
|
|
6478
|
+
},
|
|
6479
|
+
"secondary": {
|
|
6480
|
+
"$value": "{br.color.background.main.secondary}"
|
|
6481
|
+
}
|
|
6482
|
+
},
|
|
6483
|
+
"contrast": {
|
|
6484
|
+
"primary": {
|
|
6485
|
+
"$value": "{br.color.background.contrast.primary}"
|
|
6486
|
+
},
|
|
6487
|
+
"secondary": {
|
|
6488
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
6489
|
+
}
|
|
6490
|
+
}
|
|
6491
|
+
},
|
|
6492
|
+
"foreground": {
|
|
6493
|
+
"main": {
|
|
6494
|
+
"primary": {
|
|
6495
|
+
"$value": "{br.color.foreground.main.primary}"
|
|
6496
|
+
},
|
|
6497
|
+
"secondary": {
|
|
6498
|
+
"$value": "{br.color.foreground.main.secondary}"
|
|
6499
|
+
}
|
|
6500
|
+
},
|
|
6501
|
+
"contrast": {
|
|
6502
|
+
"primary": {
|
|
6503
|
+
"$value": "{br.color.foreground.contrast.primary}"
|
|
6504
|
+
},
|
|
6505
|
+
"secondary": {
|
|
6506
|
+
"$value": "{br.color.foreground.contrast.secondary}"
|
|
6507
|
+
}
|
|
6508
|
+
}
|
|
6509
|
+
}
|
|
6510
|
+
},
|
|
6511
|
+
"gap": {
|
|
6512
|
+
"default": {
|
|
6513
|
+
"$type": "spacing",
|
|
6514
|
+
"$value": "{br.form.gap.default}"
|
|
6515
|
+
}
|
|
6516
|
+
},
|
|
6517
|
+
"padding": {
|
|
6518
|
+
"default": {
|
|
6519
|
+
"$type": "spacing",
|
|
6520
|
+
"$value": "{br.spacing.layout.1}"
|
|
6521
|
+
}
|
|
6522
|
+
},
|
|
6523
|
+
"rounder": {
|
|
6524
|
+
"default": {
|
|
6525
|
+
"$type": "borderRadius",
|
|
6526
|
+
"$value": "{br.form.rounder.primary}"
|
|
6527
|
+
}
|
|
6528
|
+
},
|
|
6529
|
+
"width": {
|
|
6530
|
+
"$type": "dimension",
|
|
6531
|
+
"box": {
|
|
6532
|
+
"default": {
|
|
6533
|
+
"$value": "88"
|
|
6534
|
+
},
|
|
6535
|
+
"maximum": {
|
|
6536
|
+
"$value": "200"
|
|
6537
|
+
}
|
|
6538
|
+
}
|
|
6539
|
+
},
|
|
6540
|
+
"height": {
|
|
6541
|
+
"$type": "dimension",
|
|
6542
|
+
"input": {
|
|
6543
|
+
"maximum": {
|
|
6544
|
+
"$value": "288"
|
|
6545
|
+
}
|
|
6546
|
+
},
|
|
6547
|
+
"box": {
|
|
6548
|
+
"default": {
|
|
6549
|
+
"$value": "66"
|
|
6550
|
+
}
|
|
6551
|
+
}
|
|
6552
|
+
},
|
|
6553
|
+
"iconName": {
|
|
6554
|
+
"$type": "text",
|
|
6555
|
+
"close": {
|
|
6556
|
+
"$value": "{br.iconography.iconName.action.close}"
|
|
6557
|
+
},
|
|
6558
|
+
"send": {
|
|
6559
|
+
"$value": "{br.iconography.iconName.action.send}"
|
|
6560
|
+
},
|
|
6561
|
+
"confirm": {
|
|
6562
|
+
"$value": "{br.iconography.iconName.action.confirm}"
|
|
6563
|
+
},
|
|
6564
|
+
"delete": {
|
|
6565
|
+
"$value": "{br.iconography.iconName.action.delete}"
|
|
6566
|
+
},
|
|
6567
|
+
"add": {
|
|
6568
|
+
"$value": "{br.iconography.iconName.action.add}"
|
|
6569
|
+
},
|
|
6570
|
+
"voice": {
|
|
6571
|
+
"$value": "{br.iconography.iconName.action.voice}"
|
|
6572
|
+
},
|
|
6573
|
+
"play": {
|
|
6574
|
+
"$value": "{br.iconography.iconName.action.play}"
|
|
6575
|
+
},
|
|
6576
|
+
"stop": {
|
|
6577
|
+
"$value": "{br.iconography.iconName.action.stop}"
|
|
6578
|
+
}
|
|
6579
|
+
},
|
|
6580
|
+
"borderStyle": {
|
|
6581
|
+
"default": {
|
|
6582
|
+
"$type": "border",
|
|
6583
|
+
"$value": "{br.form.borderStyle.default}"
|
|
6584
|
+
}
|
|
6585
|
+
},
|
|
6586
|
+
"shadowStyle": {
|
|
6587
|
+
"dropdown": {
|
|
6588
|
+
"$type": "boxShadow",
|
|
6589
|
+
"$value": "{br.elevation.shadowStyle.level2}"
|
|
6590
|
+
}
|
|
6591
|
+
},
|
|
6592
|
+
"fontStyle": {
|
|
6593
|
+
"placeholder": {
|
|
6594
|
+
"$type": "typography",
|
|
6595
|
+
"$value": "{br.typography.fontStyle.placeholder}"
|
|
6596
|
+
},
|
|
6597
|
+
"textField": {
|
|
6598
|
+
"$type": "typography",
|
|
6599
|
+
"$value": "{br.typography.fontStyle.input}"
|
|
6600
|
+
},
|
|
6601
|
+
"helperText": {
|
|
6602
|
+
"$type": "typography",
|
|
6603
|
+
"$value": {
|
|
6604
|
+
"fontFamily": "{br.typography.fontFamily.primary}",
|
|
6605
|
+
"fontWeight": "{br.typography.fontWeight.regular}",
|
|
6606
|
+
"fontSize": "{br.typography.fontSize.down.2}",
|
|
6607
|
+
"lineHeight": "{br.text.density.regular}"
|
|
6608
|
+
}
|
|
6609
|
+
}
|
|
6610
|
+
},
|
|
6611
|
+
"density": {
|
|
6612
|
+
"$type": "spacing",
|
|
6613
|
+
"compact": {
|
|
6614
|
+
"$value": "{br.spacing.layout.1}"
|
|
6615
|
+
},
|
|
6616
|
+
"regular": {
|
|
6617
|
+
"$value": "{br.spacing.adjust.2}"
|
|
6618
|
+
},
|
|
6619
|
+
"spacious": {
|
|
6620
|
+
"$value": "{br.spacing.layout.2}"
|
|
6621
|
+
}
|
|
6622
|
+
},
|
|
6623
|
+
"disabled": {
|
|
6624
|
+
"color": {
|
|
6625
|
+
"$type": "color",
|
|
6626
|
+
"main": {
|
|
6627
|
+
"$value": "{br.state.disabled.color.main}"
|
|
6628
|
+
},
|
|
6629
|
+
"contrast": {
|
|
6630
|
+
"$value": "{br.state.disabled.color.contrast}"
|
|
6631
|
+
}
|
|
6632
|
+
},
|
|
6633
|
+
"opacity": {
|
|
6634
|
+
"$type": "opacity",
|
|
6635
|
+
"$value": "{br.state.disabled.opacity}"
|
|
6636
|
+
}
|
|
6637
|
+
},
|
|
6638
|
+
"hover": {
|
|
6639
|
+
"color": {
|
|
6640
|
+
"$type": "color",
|
|
6641
|
+
"main": {
|
|
6642
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
6643
|
+
},
|
|
6644
|
+
"contrast": {
|
|
6645
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
6646
|
+
}
|
|
6647
|
+
},
|
|
6648
|
+
"easing": {
|
|
6649
|
+
"$type": "easing",
|
|
6650
|
+
"in": {
|
|
6651
|
+
"$value": "{br.state.hover.easing.in.default}"
|
|
6652
|
+
},
|
|
6653
|
+
"out": {
|
|
6654
|
+
"$value": "{br.state.hover.easing.out}"
|
|
6655
|
+
}
|
|
6656
|
+
},
|
|
6657
|
+
"duration": {
|
|
6658
|
+
"$type": "duration",
|
|
6659
|
+
"in": {
|
|
6660
|
+
"$value": "{br.state.hover.duration.in.default}"
|
|
6661
|
+
},
|
|
6662
|
+
"out": {
|
|
6663
|
+
"$value": "{br.state.hover.duration.out}"
|
|
6664
|
+
}
|
|
6665
|
+
}
|
|
6666
|
+
},
|
|
6667
|
+
"pressed": {
|
|
6668
|
+
"shadowStyle": {
|
|
6669
|
+
"$type": "boxShadow",
|
|
6670
|
+
"$value": "{br.state.pressed.shadowStyle}"
|
|
6671
|
+
},
|
|
6672
|
+
"easing": {
|
|
6673
|
+
"$type": "easing",
|
|
6674
|
+
"in": {
|
|
6675
|
+
"$value": "{br.state.pressed.easing.in}"
|
|
6676
|
+
},
|
|
6677
|
+
"out": {
|
|
6678
|
+
"$value": "{br.state.pressed.easing.out}"
|
|
6679
|
+
}
|
|
6680
|
+
},
|
|
6681
|
+
"duration": {
|
|
6682
|
+
"$type": "duration",
|
|
6683
|
+
"in": {
|
|
6684
|
+
"$value": "{br.state.pressed.duration.in}"
|
|
6685
|
+
},
|
|
6686
|
+
"out": {
|
|
6687
|
+
"$value": "{br.state.pressed.duration.out}"
|
|
6688
|
+
}
|
|
6689
|
+
}
|
|
6690
|
+
},
|
|
6691
|
+
"focus": {
|
|
6692
|
+
"borderStyle": {
|
|
6693
|
+
"$type": "border",
|
|
6694
|
+
"main": {
|
|
6695
|
+
"$value": "{br.state.focus.borderStyle.main.low}"
|
|
6696
|
+
},
|
|
6697
|
+
"contrast": {
|
|
6698
|
+
"$value": "{br.state.focus.borderStyle.contrast.low}"
|
|
6699
|
+
}
|
|
6700
|
+
},
|
|
6701
|
+
"easing": {
|
|
6702
|
+
"$type": "easing",
|
|
6703
|
+
"in": {
|
|
6704
|
+
"$value": "{br.state.focus.easing.in}"
|
|
6705
|
+
},
|
|
6706
|
+
"out": {
|
|
6707
|
+
"$value": "{br.state.focus.easing.out}"
|
|
6708
|
+
}
|
|
6709
|
+
},
|
|
6710
|
+
"duration": {
|
|
6711
|
+
"$type": "duration",
|
|
6712
|
+
"in": {
|
|
6713
|
+
"$value": "{br.state.focus.duration.in}"
|
|
6714
|
+
},
|
|
6715
|
+
"out": {
|
|
6716
|
+
"$value": "{br.state.focus.duration.out}"
|
|
6717
|
+
}
|
|
6718
|
+
}
|
|
6719
|
+
},
|
|
6720
|
+
"dropzone": {
|
|
6721
|
+
"borderStyle": {
|
|
6722
|
+
"$type": "border",
|
|
6723
|
+
"main": {
|
|
6724
|
+
"$value": "{br.state.dropzone.borderStyle.main}"
|
|
6725
|
+
},
|
|
6726
|
+
"contrast": {
|
|
6727
|
+
"$value": "{br.state.dropzone.borderStyle.contrast}"
|
|
6728
|
+
}
|
|
6729
|
+
}
|
|
6730
|
+
},
|
|
6731
|
+
"dropzoneActive": {
|
|
6732
|
+
"color": {
|
|
6733
|
+
"$type": "color",
|
|
6734
|
+
"main": {
|
|
6735
|
+
"$value": "{br.state.dropzoneActive.color.main}"
|
|
6736
|
+
},
|
|
6737
|
+
"contrast": {
|
|
6738
|
+
"$value": "{br.state.dropzoneActive.color.contrast}"
|
|
6739
|
+
}
|
|
6740
|
+
},
|
|
6741
|
+
"opacity": {
|
|
6742
|
+
"$type": "opacity",
|
|
6743
|
+
"$value": "{br.state.dropzoneActive.opacity}"
|
|
6744
|
+
}
|
|
6745
|
+
}
|
|
6746
|
+
},
|
|
6747
|
+
"loading": {
|
|
6748
|
+
"color": {
|
|
6749
|
+
"$type": "color",
|
|
6750
|
+
"foreground": {
|
|
6751
|
+
"main": {
|
|
6752
|
+
"$value": "{br.color.foreground.main.secondary}"
|
|
6753
|
+
},
|
|
6754
|
+
"contrast": {
|
|
6755
|
+
"$value": "{br.color.foreground.contrast.secondary}"
|
|
6756
|
+
}
|
|
6757
|
+
},
|
|
6758
|
+
"background": {
|
|
6759
|
+
"main": {
|
|
6760
|
+
"$value": "{br.color.background.main.secondary}"
|
|
6761
|
+
},
|
|
6762
|
+
"contrast": {
|
|
6763
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
6764
|
+
}
|
|
6765
|
+
}
|
|
6766
|
+
},
|
|
6767
|
+
"gap": {
|
|
6768
|
+
"$type": "spacing",
|
|
6769
|
+
"default": {
|
|
6770
|
+
"$value": "{br.spacing.layout.1}"
|
|
6771
|
+
}
|
|
6772
|
+
}
|
|
6438
6773
|
}
|
|
6439
6774
|
}
|
|
6440
6775
|
},
|