@govbr-ds/tokens 4.0.0-next.30 → 4.0.0-next.31
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 +67 -0
- package/dist/css/components/footer/tokens.css +6 -6
- package/dist/css/tokens.css +7 -0
- package/dist/js/components/breadcrumbs/tokens.js +5 -4
- package/dist/js/components/chatInput/tokens.js +68 -0
- package/dist/js/components/footer/tokens.js +6 -6
- package/dist/js/tokens.js +11 -4
- package/dist/json/components/breadcrumbs/tokens.json +165 -60
- package/dist/json/components/chatInput/tokens.json +1892 -0
- package/dist/json/components/footer/tokens.json +62 -64
- package/dist/json/tokens.json +263 -4
- package/dist/scss/components/breadcrumbs/tokens.scss +5 -2
- package/dist/scss/components/chatInput/tokens.scss +64 -0
- package/dist/scss/components/footer/tokens.scss +6 -6
- package/dist/scss/tokens.scss +15 -1
- package/dist/tokens-studio/tokens.json +351 -24
- package/package.json +11 -9
- package/src/temp/style-dictionary/core/component.json +330 -24
- package/src/temp/style-dictionary/core/foundation.json +21 -0
- package/src/temp/tokens-studio/core/component.json +330 -24
- package/src/temp/tokens-studio/core/global.json +21 -0
- package/src/tokens.json +352 -25
|
@@ -2295,6 +2295,301 @@
|
|
|
2295
2295
|
}
|
|
2296
2296
|
}
|
|
2297
2297
|
},
|
|
2298
|
+
"chatInput": {
|
|
2299
|
+
"color": {
|
|
2300
|
+
"$type": "color",
|
|
2301
|
+
"background": {
|
|
2302
|
+
"main": {
|
|
2303
|
+
"primary": {
|
|
2304
|
+
"$value": "{br.color.background.main.primary}"
|
|
2305
|
+
},
|
|
2306
|
+
"secondary": {
|
|
2307
|
+
"$value": "{br.color.background.main.secondary}"
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
"contrast": {
|
|
2311
|
+
"primary": {
|
|
2312
|
+
"$value": "{br.color.background.contrast.primary}"
|
|
2313
|
+
},
|
|
2314
|
+
"secondary": {
|
|
2315
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
"foreground": {
|
|
2320
|
+
"main": {
|
|
2321
|
+
"primary": {
|
|
2322
|
+
"$value": "{br.color.foreground.main.primary}"
|
|
2323
|
+
},
|
|
2324
|
+
"secondary": {
|
|
2325
|
+
"$value": "{br.color.foreground.main.secondary}"
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
"contrast": {
|
|
2329
|
+
"primary": {
|
|
2330
|
+
"$value": "{br.color.foreground.contrast.primary}"
|
|
2331
|
+
},
|
|
2332
|
+
"secondary": {
|
|
2333
|
+
"$value": "{br.color.foreground.contrast.secondary}"
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
},
|
|
2338
|
+
"rounder": {
|
|
2339
|
+
"default": {
|
|
2340
|
+
"$type": "borderRadius",
|
|
2341
|
+
"$value": "{br.form.rounder.primary}"
|
|
2342
|
+
}
|
|
2343
|
+
},
|
|
2344
|
+
"borderStyle": {
|
|
2345
|
+
"default": {
|
|
2346
|
+
"$type": "border",
|
|
2347
|
+
"$value": "{br.form.borderStyle.default}"
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
"gap": {
|
|
2351
|
+
"default": {
|
|
2352
|
+
"$type": "spacing",
|
|
2353
|
+
"$value": "{br.form.gap.default}"
|
|
2354
|
+
}
|
|
2355
|
+
},
|
|
2356
|
+
"density": {
|
|
2357
|
+
"$type": "spacing",
|
|
2358
|
+
"compact": {
|
|
2359
|
+
"$value": "{br.spacing.layout.1}"
|
|
2360
|
+
},
|
|
2361
|
+
"regular": {
|
|
2362
|
+
"$value": "{br.spacing.adjust.2}"
|
|
2363
|
+
},
|
|
2364
|
+
"spacious": {
|
|
2365
|
+
"$value": "{br.spacing.layout.2}"
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
"iconName": {
|
|
2369
|
+
"$type": "text",
|
|
2370
|
+
"send": {
|
|
2371
|
+
"$value": "{br.iconography.iconName.action.send}"
|
|
2372
|
+
},
|
|
2373
|
+
"confirm": {
|
|
2374
|
+
"$value": "{br.iconography.iconName.action.confirm}"
|
|
2375
|
+
},
|
|
2376
|
+
"delete": {
|
|
2377
|
+
"$value": "{br.iconography.iconName.action.delete}"
|
|
2378
|
+
},
|
|
2379
|
+
"add": {
|
|
2380
|
+
"$value": "{br.iconography.iconName.action.add}"
|
|
2381
|
+
},
|
|
2382
|
+
"voice": {
|
|
2383
|
+
"$value": "{br.iconography.iconName.action.voice}"
|
|
2384
|
+
},
|
|
2385
|
+
"play": {
|
|
2386
|
+
"$value": "{br.iconography.iconName.action.play}"
|
|
2387
|
+
},
|
|
2388
|
+
"stop": {
|
|
2389
|
+
"$value": "{br.iconography.iconName.action.stop}"
|
|
2390
|
+
},
|
|
2391
|
+
"pause": {
|
|
2392
|
+
"$value": "{br.iconography.iconName.action.pause}"
|
|
2393
|
+
},
|
|
2394
|
+
"forward": {
|
|
2395
|
+
"$value": "{br.iconography.iconName.action.forward}"
|
|
2396
|
+
},
|
|
2397
|
+
"backward": {
|
|
2398
|
+
"$value": "{br.iconography.iconName.action.backward}"
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
"height": {
|
|
2402
|
+
"$type": "dimension",
|
|
2403
|
+
"default": {
|
|
2404
|
+
"$value": "66"
|
|
2405
|
+
},
|
|
2406
|
+
"maximun": {
|
|
2407
|
+
"maxHeight": {
|
|
2408
|
+
"$value": "288"
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
},
|
|
2412
|
+
"width": {
|
|
2413
|
+
"$type": "dimension",
|
|
2414
|
+
"default": {
|
|
2415
|
+
"$value": "88"
|
|
2416
|
+
}
|
|
2417
|
+
},
|
|
2418
|
+
"padding": {
|
|
2419
|
+
"sm": {
|
|
2420
|
+
"$type": "spacing",
|
|
2421
|
+
"$value": "{br.spacing.layout.1}"
|
|
2422
|
+
},
|
|
2423
|
+
"lg": {
|
|
2424
|
+
"$type": "spacing",
|
|
2425
|
+
"$value": "{br.spacing.layout.2}"
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
"fontStyle": {
|
|
2429
|
+
"helpText": {
|
|
2430
|
+
"$type": "typography",
|
|
2431
|
+
"$value": {
|
|
2432
|
+
"fontFamily": "{br.typography.fontFamily.primary}",
|
|
2433
|
+
"fontWeight": "{br.typography.fontWeight.regular}",
|
|
2434
|
+
"fontSize": "{br.typography.fontSize.down.2}",
|
|
2435
|
+
"lineHeight": "{br.text.density.regular}"
|
|
2436
|
+
}
|
|
2437
|
+
},
|
|
2438
|
+
"placeholder": {
|
|
2439
|
+
"$type": "typography",
|
|
2440
|
+
"$value": "{br.typography.fontStyle.placeholder}"
|
|
2441
|
+
},
|
|
2442
|
+
"entry": {
|
|
2443
|
+
"$type": "typography",
|
|
2444
|
+
"$value": "{br.typography.fontStyle.input}"
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
"shadowStyle": {
|
|
2448
|
+
"default": {
|
|
2449
|
+
"$type": "boxShadow",
|
|
2450
|
+
"$value": "{br.elevation.shadowStyle.level2}"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"hover": {
|
|
2454
|
+
"color": {
|
|
2455
|
+
"$type": "color",
|
|
2456
|
+
"main": {
|
|
2457
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
2458
|
+
},
|
|
2459
|
+
"contrast": {
|
|
2460
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
2461
|
+
}
|
|
2462
|
+
},
|
|
2463
|
+
"easing": {
|
|
2464
|
+
"$type": "easing",
|
|
2465
|
+
"in": {
|
|
2466
|
+
"$value": "{br.state.hover.easing.in.default}"
|
|
2467
|
+
},
|
|
2468
|
+
"out": {
|
|
2469
|
+
"$value": "{br.state.hover.easing.out}"
|
|
2470
|
+
}
|
|
2471
|
+
},
|
|
2472
|
+
"duration": {
|
|
2473
|
+
"$type": "duration",
|
|
2474
|
+
"in": {
|
|
2475
|
+
"$value": "{br.state.hover.duration.in.default}"
|
|
2476
|
+
},
|
|
2477
|
+
"out": {
|
|
2478
|
+
"$value": "{br.state.hover.duration.out}"
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
},
|
|
2482
|
+
"pressed": {
|
|
2483
|
+
"shadowStyle": {
|
|
2484
|
+
"$type": "boxShadow",
|
|
2485
|
+
"$value": "{br.state.pressed.shadowStyle}"
|
|
2486
|
+
},
|
|
2487
|
+
"easing": {
|
|
2488
|
+
"$type": "easing",
|
|
2489
|
+
"in": {
|
|
2490
|
+
"$value": "{br.state.pressed.easing.in}"
|
|
2491
|
+
},
|
|
2492
|
+
"out": {
|
|
2493
|
+
"$value": "{br.state.pressed.easing.out}"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
"duration": {
|
|
2497
|
+
"$type": "duration",
|
|
2498
|
+
"in": {
|
|
2499
|
+
"$value": "{br.state.pressed.duration.in}"
|
|
2500
|
+
},
|
|
2501
|
+
"out": {
|
|
2502
|
+
"$value": "{br.state.pressed.duration.out}"
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
"dropzone": {
|
|
2507
|
+
"borderStyle": {
|
|
2508
|
+
"$type": "border",
|
|
2509
|
+
"main": {
|
|
2510
|
+
"$value": "{br.state.dropzone.borderStyle.main}"
|
|
2511
|
+
},
|
|
2512
|
+
"contrast": {
|
|
2513
|
+
"$value": "{br.state.dropzone.borderStyle.contrast}"
|
|
2514
|
+
}
|
|
2515
|
+
}
|
|
2516
|
+
},
|
|
2517
|
+
"dropzoneActive": {
|
|
2518
|
+
"color": {
|
|
2519
|
+
"$type": "color",
|
|
2520
|
+
"main": {
|
|
2521
|
+
"$value": "{br.state.dropzoneActive.color.main}"
|
|
2522
|
+
},
|
|
2523
|
+
"contrast": {
|
|
2524
|
+
"$value": "{br.state.dropzoneActive.color.contrast}"
|
|
2525
|
+
}
|
|
2526
|
+
},
|
|
2527
|
+
"opacity": {
|
|
2528
|
+
"$type": "opacity",
|
|
2529
|
+
"main": {
|
|
2530
|
+
"$value": "{br.state.dropzoneActive.opacity}"
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
},
|
|
2534
|
+
"focus": {
|
|
2535
|
+
"borderStyle": {
|
|
2536
|
+
"$type": "border",
|
|
2537
|
+
"low": {
|
|
2538
|
+
"main": {
|
|
2539
|
+
"$value": "{br.state.focus.borderStyle.main.low}"
|
|
2540
|
+
},
|
|
2541
|
+
"contrast": {
|
|
2542
|
+
"$value": "{br.state.focus.borderStyle.contrast.low}"
|
|
2543
|
+
}
|
|
2544
|
+
},
|
|
2545
|
+
"high": {
|
|
2546
|
+
"main": {
|
|
2547
|
+
"$value": "{br.state.focus.borderStyle.main.high}"
|
|
2548
|
+
},
|
|
2549
|
+
"contrast": {
|
|
2550
|
+
"$value": "{br.state.focus.borderStyle.contrast.high}"
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
},
|
|
2554
|
+
"padding": {
|
|
2555
|
+
"$type": "spacing",
|
|
2556
|
+
"$value": "{br.state.focus.padding}"
|
|
2557
|
+
},
|
|
2558
|
+
"easing": {
|
|
2559
|
+
"$type": "easing",
|
|
2560
|
+
"in": {
|
|
2561
|
+
"$value": "{br.state.focus.easing.in}"
|
|
2562
|
+
},
|
|
2563
|
+
"out": {
|
|
2564
|
+
"$value": "{br.state.focus.easing.out}"
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2567
|
+
"duration": {
|
|
2568
|
+
"$type": "duration",
|
|
2569
|
+
"in": {
|
|
2570
|
+
"$value": "{br.state.focus.duration.in}"
|
|
2571
|
+
},
|
|
2572
|
+
"out": {
|
|
2573
|
+
"$value": "{br.state.focus.duration.out}"
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
},
|
|
2577
|
+
"disabled": {
|
|
2578
|
+
"color": {
|
|
2579
|
+
"$type": "color",
|
|
2580
|
+
"main": {
|
|
2581
|
+
"$value": "{br.state.disabled.color.main}"
|
|
2582
|
+
},
|
|
2583
|
+
"contrast": {
|
|
2584
|
+
"$value": "{br.state.disabled.color.contrast}"
|
|
2585
|
+
}
|
|
2586
|
+
},
|
|
2587
|
+
"opacity": {
|
|
2588
|
+
"$type": "opacity",
|
|
2589
|
+
"$value": "{br.state.disabled.opacity}"
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
},
|
|
2298
2593
|
"footer": {
|
|
2299
2594
|
"color": {
|
|
2300
2595
|
"$type": "color",
|
|
@@ -2397,27 +2692,25 @@
|
|
|
2397
2692
|
},
|
|
2398
2693
|
"density": {
|
|
2399
2694
|
"$type": "spacing",
|
|
2400
|
-
"
|
|
2401
|
-
"
|
|
2695
|
+
"default": {
|
|
2696
|
+
"compact": {
|
|
2402
2697
|
"$value": "{br.spacing.layout.1}"
|
|
2403
2698
|
},
|
|
2404
|
-
"
|
|
2405
|
-
"$value": "{br.spacing.adjust.1}"
|
|
2406
|
-
}
|
|
2407
|
-
},
|
|
2408
|
-
"regular": {
|
|
2409
|
-
"default": {
|
|
2699
|
+
"regular": {
|
|
2410
2700
|
"$value": "{br.spacing.layout.3}"
|
|
2411
2701
|
},
|
|
2412
|
-
"
|
|
2413
|
-
"$value": "{br.spacing.layout.
|
|
2702
|
+
"spacious": {
|
|
2703
|
+
"$value": "{br.spacing.layout.4}"
|
|
2414
2704
|
}
|
|
2415
2705
|
},
|
|
2416
|
-
"
|
|
2417
|
-
"
|
|
2418
|
-
"$value": "{br.spacing.
|
|
2706
|
+
"support": {
|
|
2707
|
+
"compact": {
|
|
2708
|
+
"$value": "{br.spacing.adjust.1}"
|
|
2709
|
+
},
|
|
2710
|
+
"regular": {
|
|
2711
|
+
"$value": "{br.spacing.layout.2}"
|
|
2419
2712
|
},
|
|
2420
|
-
"
|
|
2713
|
+
"spacious": {
|
|
2421
2714
|
"$value": "{br.spacing.layout.3}"
|
|
2422
2715
|
}
|
|
2423
2716
|
}
|
|
@@ -2531,14 +2824,14 @@
|
|
|
2531
2824
|
}
|
|
2532
2825
|
},
|
|
2533
2826
|
"gap": {
|
|
2827
|
+
"$type": "spacing",
|
|
2534
2828
|
"default": {
|
|
2535
|
-
"$type": "spacing",
|
|
2536
2829
|
"$value": "{br.spacing.adjust.1}"
|
|
2537
2830
|
}
|
|
2538
2831
|
},
|
|
2539
2832
|
"padding": {
|
|
2833
|
+
"$type": "spacing",
|
|
2540
2834
|
"default": {
|
|
2541
|
-
"$type": "spacing",
|
|
2542
2835
|
"$value": "{br.spacing.adjust.1}"
|
|
2543
2836
|
}
|
|
2544
2837
|
},
|
|
@@ -2554,6 +2847,21 @@
|
|
|
2554
2847
|
"$value": "{br.spacing.adjust.2}"
|
|
2555
2848
|
}
|
|
2556
2849
|
},
|
|
2850
|
+
"rounder": {
|
|
2851
|
+
"$type": "borderRadius",
|
|
2852
|
+
"default": {
|
|
2853
|
+
"$value": "{br.surface.rounder.sm}"
|
|
2854
|
+
}
|
|
2855
|
+
},
|
|
2856
|
+
"iconName": {
|
|
2857
|
+
"$type": "text",
|
|
2858
|
+
"home": {
|
|
2859
|
+
"$value": "{br.iconography.iconName.navigation.home}"
|
|
2860
|
+
},
|
|
2861
|
+
"more": {
|
|
2862
|
+
"$value": "{br.iconography.iconName.navigation.more}"
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2557
2865
|
"fontStyle": {
|
|
2558
2866
|
"$type": "typography",
|
|
2559
2867
|
"default": {
|
|
@@ -2566,21 +2874,19 @@
|
|
|
2566
2874
|
}
|
|
2567
2875
|
},
|
|
2568
2876
|
"shadowStyle": {
|
|
2877
|
+
"$type": "boxShadow",
|
|
2569
2878
|
"default": {
|
|
2570
|
-
"$type": "boxShadow",
|
|
2571
2879
|
"$value": "{br.elevation.shadowStyle.level2}"
|
|
2572
2880
|
}
|
|
2573
2881
|
},
|
|
2574
2882
|
"hover": {
|
|
2575
2883
|
"color": {
|
|
2576
2884
|
"$type": "color",
|
|
2577
|
-
"
|
|
2578
|
-
"
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
"
|
|
2582
|
-
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
2583
|
-
}
|
|
2885
|
+
"main": {
|
|
2886
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
2887
|
+
},
|
|
2888
|
+
"contrast": {
|
|
2889
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
2584
2890
|
}
|
|
2585
2891
|
},
|
|
2586
2892
|
"easing": {
|
|
@@ -1825,6 +1825,24 @@
|
|
|
1825
1825
|
},
|
|
1826
1826
|
"view": {
|
|
1827
1827
|
"$value": "eye"
|
|
1828
|
+
},
|
|
1829
|
+
"voice": {
|
|
1830
|
+
"$value": "microphone"
|
|
1831
|
+
},
|
|
1832
|
+
"play": {
|
|
1833
|
+
"$value": "play"
|
|
1834
|
+
},
|
|
1835
|
+
"pause": {
|
|
1836
|
+
"$value": "pause"
|
|
1837
|
+
},
|
|
1838
|
+
"stop": {
|
|
1839
|
+
"$value": "stop"
|
|
1840
|
+
},
|
|
1841
|
+
"forward": {
|
|
1842
|
+
"$value": "forward"
|
|
1843
|
+
},
|
|
1844
|
+
"backward": {
|
|
1845
|
+
"$value": "backward"
|
|
1828
1846
|
}
|
|
1829
1847
|
},
|
|
1830
1848
|
"navigation": {
|
|
@@ -1876,6 +1894,9 @@
|
|
|
1876
1894
|
"options": {
|
|
1877
1895
|
"$value": "ellipsis-v"
|
|
1878
1896
|
},
|
|
1897
|
+
"more": {
|
|
1898
|
+
"$value": "ellipsis-h"
|
|
1899
|
+
},
|
|
1879
1900
|
"user": {
|
|
1880
1901
|
"$value": "user"
|
|
1881
1902
|
},
|