@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
|
@@ -2397,27 +2397,25 @@
|
|
|
2397
2397
|
},
|
|
2398
2398
|
"density": {
|
|
2399
2399
|
"$type": "spacing",
|
|
2400
|
-
"
|
|
2401
|
-
"
|
|
2400
|
+
"default": {
|
|
2401
|
+
"compact": {
|
|
2402
2402
|
"$value": "{br.spacing.layout.1}"
|
|
2403
2403
|
},
|
|
2404
|
-
"
|
|
2405
|
-
"$value": "{br.spacing.adjust.1}"
|
|
2406
|
-
}
|
|
2407
|
-
},
|
|
2408
|
-
"regular": {
|
|
2409
|
-
"default": {
|
|
2404
|
+
"regular": {
|
|
2410
2405
|
"$value": "{br.spacing.layout.3}"
|
|
2411
2406
|
},
|
|
2412
|
-
"
|
|
2413
|
-
"$value": "{br.spacing.layout.
|
|
2407
|
+
"spacious": {
|
|
2408
|
+
"$value": "{br.spacing.layout.4}"
|
|
2414
2409
|
}
|
|
2415
2410
|
},
|
|
2416
|
-
"
|
|
2417
|
-
"
|
|
2418
|
-
"$value": "{br.spacing.
|
|
2411
|
+
"support": {
|
|
2412
|
+
"compact": {
|
|
2413
|
+
"$value": "{br.spacing.adjust.1}"
|
|
2414
|
+
},
|
|
2415
|
+
"regular": {
|
|
2416
|
+
"$value": "{br.spacing.layout.2}"
|
|
2419
2417
|
},
|
|
2420
|
-
"
|
|
2418
|
+
"spacious": {
|
|
2421
2419
|
"$value": "{br.spacing.layout.3}"
|
|
2422
2420
|
}
|
|
2423
2421
|
}
|
|
@@ -2531,14 +2529,14 @@
|
|
|
2531
2529
|
}
|
|
2532
2530
|
},
|
|
2533
2531
|
"gap": {
|
|
2532
|
+
"$type": "spacing",
|
|
2534
2533
|
"default": {
|
|
2535
|
-
"$type": "spacing",
|
|
2536
2534
|
"$value": "{br.spacing.adjust.1}"
|
|
2537
2535
|
}
|
|
2538
2536
|
},
|
|
2539
2537
|
"padding": {
|
|
2538
|
+
"$type": "spacing",
|
|
2540
2539
|
"default": {
|
|
2541
|
-
"$type": "spacing",
|
|
2542
2540
|
"$value": "{br.spacing.adjust.1}"
|
|
2543
2541
|
}
|
|
2544
2542
|
},
|
|
@@ -2554,6 +2552,21 @@
|
|
|
2554
2552
|
"$value": "{br.spacing.adjust.2}"
|
|
2555
2553
|
}
|
|
2556
2554
|
},
|
|
2555
|
+
"rounder": {
|
|
2556
|
+
"$type": "borderRadius",
|
|
2557
|
+
"default": {
|
|
2558
|
+
"$value": "{br.surface.rounder.sm}"
|
|
2559
|
+
}
|
|
2560
|
+
},
|
|
2561
|
+
"iconName": {
|
|
2562
|
+
"$type": "text",
|
|
2563
|
+
"home": {
|
|
2564
|
+
"$value": "{br.iconography.iconName.navigation.home}"
|
|
2565
|
+
},
|
|
2566
|
+
"more": {
|
|
2567
|
+
"$value": "{br.iconography.iconName.navigation.more}"
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2557
2570
|
"fontStyle": {
|
|
2558
2571
|
"$type": "typography",
|
|
2559
2572
|
"default": {
|
|
@@ -2566,21 +2579,19 @@
|
|
|
2566
2579
|
}
|
|
2567
2580
|
},
|
|
2568
2581
|
"shadowStyle": {
|
|
2582
|
+
"$type": "boxShadow",
|
|
2569
2583
|
"default": {
|
|
2570
|
-
"$type": "boxShadow",
|
|
2571
2584
|
"$value": "{br.elevation.shadowStyle.level2}"
|
|
2572
2585
|
}
|
|
2573
2586
|
},
|
|
2574
2587
|
"hover": {
|
|
2575
2588
|
"color": {
|
|
2576
2589
|
"$type": "color",
|
|
2577
|
-
"
|
|
2578
|
-
"
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
"
|
|
2582
|
-
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
2583
|
-
}
|
|
2590
|
+
"main": {
|
|
2591
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
2592
|
+
},
|
|
2593
|
+
"contrast": {
|
|
2594
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
2584
2595
|
}
|
|
2585
2596
|
},
|
|
2586
2597
|
"easing": {
|
|
@@ -2659,6 +2670,309 @@
|
|
|
2659
2670
|
}
|
|
2660
2671
|
}
|
|
2661
2672
|
}
|
|
2673
|
+
},
|
|
2674
|
+
"chatInput": {
|
|
2675
|
+
"color": {
|
|
2676
|
+
"$type": "color",
|
|
2677
|
+
"background": {
|
|
2678
|
+
"main": {
|
|
2679
|
+
"primary": {
|
|
2680
|
+
"$value": "{br.color.background.main.primary}"
|
|
2681
|
+
},
|
|
2682
|
+
"secondary": {
|
|
2683
|
+
"$value": "{br.color.background.main.secondary}"
|
|
2684
|
+
}
|
|
2685
|
+
},
|
|
2686
|
+
"contrast": {
|
|
2687
|
+
"primary": {
|
|
2688
|
+
"$value": "{br.color.background.contrast.primary}"
|
|
2689
|
+
},
|
|
2690
|
+
"secondary": {
|
|
2691
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
},
|
|
2695
|
+
"foreground": {
|
|
2696
|
+
"main": {
|
|
2697
|
+
"primary": {
|
|
2698
|
+
"$value": "{br.color.foreground.main.primary}"
|
|
2699
|
+
},
|
|
2700
|
+
"secondary": {
|
|
2701
|
+
"$value": "{br.color.foreground.main.secondary}"
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
"contrast": {
|
|
2705
|
+
"primary": {
|
|
2706
|
+
"$value": "{br.color.foreground.contrast.primary}"
|
|
2707
|
+
},
|
|
2708
|
+
"secondary": {
|
|
2709
|
+
"$value": "{br.color.foreground.contrast.secondary}"
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2713
|
+
},
|
|
2714
|
+
"gap": {
|
|
2715
|
+
"default": {
|
|
2716
|
+
"$type": "spacing",
|
|
2717
|
+
"$value": "{br.form.gap.default}"
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
"padding": {
|
|
2721
|
+
"default": {
|
|
2722
|
+
"$type": "spacing",
|
|
2723
|
+
"$value": "{br.spacing.layout.1}"
|
|
2724
|
+
}
|
|
2725
|
+
},
|
|
2726
|
+
"rounder": {
|
|
2727
|
+
"default": {
|
|
2728
|
+
"$type": "borderRadius",
|
|
2729
|
+
"$value": "{br.form.rounder.primary}"
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
"width": {
|
|
2733
|
+
"$type": "dimension",
|
|
2734
|
+
"box": {
|
|
2735
|
+
"default": {
|
|
2736
|
+
"$value": "88"
|
|
2737
|
+
},
|
|
2738
|
+
"maximum": {
|
|
2739
|
+
"$value": "200"
|
|
2740
|
+
}
|
|
2741
|
+
}
|
|
2742
|
+
},
|
|
2743
|
+
"height": {
|
|
2744
|
+
"$type": "dimension",
|
|
2745
|
+
"input": {
|
|
2746
|
+
"maximum": {
|
|
2747
|
+
"$value": "288"
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
"box": {
|
|
2751
|
+
"default": {
|
|
2752
|
+
"$value": "66"
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
},
|
|
2756
|
+
"iconName": {
|
|
2757
|
+
"$type": "text",
|
|
2758
|
+
"close": {
|
|
2759
|
+
"$value": "{br.iconography.iconName.action.close}"
|
|
2760
|
+
},
|
|
2761
|
+
"send": {
|
|
2762
|
+
"$value": "{br.iconography.iconName.action.send}"
|
|
2763
|
+
},
|
|
2764
|
+
"confirm": {
|
|
2765
|
+
"$value": "{br.iconography.iconName.action.confirm}"
|
|
2766
|
+
},
|
|
2767
|
+
"delete": {
|
|
2768
|
+
"$value": "{br.iconography.iconName.action.delete}"
|
|
2769
|
+
},
|
|
2770
|
+
"add": {
|
|
2771
|
+
"$value": "{br.iconography.iconName.action.add}"
|
|
2772
|
+
},
|
|
2773
|
+
"voice": {
|
|
2774
|
+
"$value": "{br.iconography.iconName.action.voice}"
|
|
2775
|
+
},
|
|
2776
|
+
"play": {
|
|
2777
|
+
"$value": "{br.iconography.iconName.action.play}"
|
|
2778
|
+
},
|
|
2779
|
+
"stop": {
|
|
2780
|
+
"$value": "{br.iconography.iconName.action.stop}"
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
"borderStyle": {
|
|
2784
|
+
"default": {
|
|
2785
|
+
"$type": "border",
|
|
2786
|
+
"$value": "{br.form.borderStyle.default}"
|
|
2787
|
+
}
|
|
2788
|
+
},
|
|
2789
|
+
"shadowStyle": {
|
|
2790
|
+
"dropdown": {
|
|
2791
|
+
"$type": "boxShadow",
|
|
2792
|
+
"$value": "{br.elevation.shadowStyle.level2}"
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2795
|
+
"fontStyle": {
|
|
2796
|
+
"placeholder": {
|
|
2797
|
+
"$type": "typography",
|
|
2798
|
+
"$value": "{br.typography.fontStyle.placeholder}"
|
|
2799
|
+
},
|
|
2800
|
+
"textField": {
|
|
2801
|
+
"$type": "typography",
|
|
2802
|
+
"$value": "{br.typography.fontStyle.input}"
|
|
2803
|
+
},
|
|
2804
|
+
"helperText": {
|
|
2805
|
+
"$type": "typography",
|
|
2806
|
+
"$value": {
|
|
2807
|
+
"fontFamily": "{br.typography.fontFamily.primary}",
|
|
2808
|
+
"fontWeight": "{br.typography.fontWeight.regular}",
|
|
2809
|
+
"fontSize": "{br.typography.fontSize.down.2}",
|
|
2810
|
+
"lineHeight": "{br.text.density.regular}"
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2814
|
+
"density": {
|
|
2815
|
+
"$type": "spacing",
|
|
2816
|
+
"compact": {
|
|
2817
|
+
"$value": "{br.spacing.layout.1}"
|
|
2818
|
+
},
|
|
2819
|
+
"regular": {
|
|
2820
|
+
"$value": "{br.spacing.adjust.2}"
|
|
2821
|
+
},
|
|
2822
|
+
"spacious": {
|
|
2823
|
+
"$value": "{br.spacing.layout.2}"
|
|
2824
|
+
}
|
|
2825
|
+
},
|
|
2826
|
+
"disabled": {
|
|
2827
|
+
"color": {
|
|
2828
|
+
"$type": "color",
|
|
2829
|
+
"main": {
|
|
2830
|
+
"$value": "{br.state.disabled.color.main}"
|
|
2831
|
+
},
|
|
2832
|
+
"contrast": {
|
|
2833
|
+
"$value": "{br.state.disabled.color.contrast}"
|
|
2834
|
+
}
|
|
2835
|
+
},
|
|
2836
|
+
"opacity": {
|
|
2837
|
+
"$type": "opacity",
|
|
2838
|
+
"$value": "{br.state.disabled.opacity}"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
"hover": {
|
|
2842
|
+
"color": {
|
|
2843
|
+
"$type": "color",
|
|
2844
|
+
"main": {
|
|
2845
|
+
"$value": "{br.state.hover.color.interactiveFg.main}"
|
|
2846
|
+
},
|
|
2847
|
+
"contrast": {
|
|
2848
|
+
"$value": "{br.state.hover.color.interactiveFg.contrast}"
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
"easing": {
|
|
2852
|
+
"$type": "easing",
|
|
2853
|
+
"in": {
|
|
2854
|
+
"$value": "{br.state.hover.easing.in.default}"
|
|
2855
|
+
},
|
|
2856
|
+
"out": {
|
|
2857
|
+
"$value": "{br.state.hover.easing.out}"
|
|
2858
|
+
}
|
|
2859
|
+
},
|
|
2860
|
+
"duration": {
|
|
2861
|
+
"$type": "duration",
|
|
2862
|
+
"in": {
|
|
2863
|
+
"$value": "{br.state.hover.duration.in.default}"
|
|
2864
|
+
},
|
|
2865
|
+
"out": {
|
|
2866
|
+
"$value": "{br.state.hover.duration.out}"
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
},
|
|
2870
|
+
"pressed": {
|
|
2871
|
+
"shadowStyle": {
|
|
2872
|
+
"$type": "boxShadow",
|
|
2873
|
+
"$value": "{br.state.pressed.shadowStyle}"
|
|
2874
|
+
},
|
|
2875
|
+
"easing": {
|
|
2876
|
+
"$type": "easing",
|
|
2877
|
+
"in": {
|
|
2878
|
+
"$value": "{br.state.pressed.easing.in}"
|
|
2879
|
+
},
|
|
2880
|
+
"out": {
|
|
2881
|
+
"$value": "{br.state.pressed.easing.out}"
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
"duration": {
|
|
2885
|
+
"$type": "duration",
|
|
2886
|
+
"in": {
|
|
2887
|
+
"$value": "{br.state.pressed.duration.in}"
|
|
2888
|
+
},
|
|
2889
|
+
"out": {
|
|
2890
|
+
"$value": "{br.state.pressed.duration.out}"
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
},
|
|
2894
|
+
"focus": {
|
|
2895
|
+
"borderStyle": {
|
|
2896
|
+
"$type": "border",
|
|
2897
|
+
"main": {
|
|
2898
|
+
"$value": "{br.state.focus.borderStyle.main.low}"
|
|
2899
|
+
},
|
|
2900
|
+
"contrast": {
|
|
2901
|
+
"$value": "{br.state.focus.borderStyle.contrast.low}"
|
|
2902
|
+
}
|
|
2903
|
+
},
|
|
2904
|
+
"easing": {
|
|
2905
|
+
"$type": "easing",
|
|
2906
|
+
"in": {
|
|
2907
|
+
"$value": "{br.state.focus.easing.in}"
|
|
2908
|
+
},
|
|
2909
|
+
"out": {
|
|
2910
|
+
"$value": "{br.state.focus.easing.out}"
|
|
2911
|
+
}
|
|
2912
|
+
},
|
|
2913
|
+
"duration": {
|
|
2914
|
+
"$type": "duration",
|
|
2915
|
+
"in": {
|
|
2916
|
+
"$value": "{br.state.focus.duration.in}"
|
|
2917
|
+
},
|
|
2918
|
+
"out": {
|
|
2919
|
+
"$value": "{br.state.focus.duration.out}"
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2923
|
+
"dropzone": {
|
|
2924
|
+
"borderStyle": {
|
|
2925
|
+
"$type": "border",
|
|
2926
|
+
"main": {
|
|
2927
|
+
"$value": "{br.state.dropzone.borderStyle.main}"
|
|
2928
|
+
},
|
|
2929
|
+
"contrast": {
|
|
2930
|
+
"$value": "{br.state.dropzone.borderStyle.contrast}"
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
},
|
|
2934
|
+
"dropzoneActive": {
|
|
2935
|
+
"color": {
|
|
2936
|
+
"$type": "color",
|
|
2937
|
+
"main": {
|
|
2938
|
+
"$value": "{br.state.dropzoneActive.color.main}"
|
|
2939
|
+
},
|
|
2940
|
+
"contrast": {
|
|
2941
|
+
"$value": "{br.state.dropzoneActive.color.contrast}"
|
|
2942
|
+
}
|
|
2943
|
+
},
|
|
2944
|
+
"opacity": {
|
|
2945
|
+
"$type": "opacity",
|
|
2946
|
+
"$value": "{br.state.dropzoneActive.opacity}"
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
},
|
|
2950
|
+
"loading": {
|
|
2951
|
+
"color": {
|
|
2952
|
+
"$type": "color",
|
|
2953
|
+
"foreground": {
|
|
2954
|
+
"main": {
|
|
2955
|
+
"$value": "{br.color.foreground.main.secondary}"
|
|
2956
|
+
},
|
|
2957
|
+
"contrast": {
|
|
2958
|
+
"$value": "{br.color.foreground.contrast.secondary}"
|
|
2959
|
+
}
|
|
2960
|
+
},
|
|
2961
|
+
"background": {
|
|
2962
|
+
"main": {
|
|
2963
|
+
"$value": "{br.color.background.main.secondary}"
|
|
2964
|
+
},
|
|
2965
|
+
"contrast": {
|
|
2966
|
+
"$value": "{br.color.background.contrast.secondary}"
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
},
|
|
2970
|
+
"gap": {
|
|
2971
|
+
"$type": "spacing",
|
|
2972
|
+
"default": {
|
|
2973
|
+
"$value": "{br.spacing.layout.1}"
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2662
2976
|
}
|
|
2663
2977
|
}
|
|
2664
2978
|
}
|
|
@@ -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
|
},
|