@govbr-ds/tokens 4.0.0-next.17 → 4.0.0-next.19
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/component/checkbox.css +46 -0
- package/dist/css/component/checkboxGroup.css +6 -0
- package/dist/css/component/radioGroup.css +41 -0
- package/dist/css/component/select.css +9 -0
- package/dist/css/tokens.css +1 -0
- package/dist/js/component/checkbox.js +45 -0
- package/dist/js/component/checkboxGroup.js +4 -0
- package/dist/js/component/radioGroup.js +40 -0
- package/dist/js/component/select.js +8 -0
- package/dist/js/tokens.js +1 -0
- package/dist/json/component/checkbox.json +1168 -0
- package/dist/json/component/checkboxGroup.json +138 -0
- package/dist/json/component/radioGroup.json +1047 -0
- package/dist/json/component/select.json +207 -0
- package/dist/json/tokens.json +33 -0
- package/dist/scss/component/checkbox.scss +44 -0
- package/dist/scss/component/checkboxGroup.scss +4 -0
- package/dist/scss/component/radioGroup.scss +39 -0
- package/dist/scss/component/select.scss +7 -0
- package/dist/scss/tokens.scss +1 -0
- package/dist/tokens-studio/tokens.json +555 -1
- package/package.json +1 -1
- package/src/figma/iconography.json +5 -1
- package/src/temp/component.json +550 -0
- package/src/temp/core.json +4 -0
- package/src/tokens.json +555 -1
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"select": {
|
|
3
|
+
"color": {
|
|
4
|
+
"selectAll": {
|
|
5
|
+
"read": {
|
|
6
|
+
"$value": "#ffffff",
|
|
7
|
+
"$type": "color",
|
|
8
|
+
"filePath": "src/temp/component.json",
|
|
9
|
+
"isSource": true,
|
|
10
|
+
"original": {
|
|
11
|
+
"$value": "{state.interactive.color.read.main}",
|
|
12
|
+
"$type": "color"
|
|
13
|
+
},
|
|
14
|
+
"name": "selectColorSelectAllRead",
|
|
15
|
+
"attributes": {
|
|
16
|
+
"category": "select",
|
|
17
|
+
"type": "color",
|
|
18
|
+
"item": "selectAll",
|
|
19
|
+
"subitem": "read"
|
|
20
|
+
},
|
|
21
|
+
"path": [
|
|
22
|
+
"select",
|
|
23
|
+
"color",
|
|
24
|
+
"selectAll",
|
|
25
|
+
"read"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"surface": {
|
|
29
|
+
"$value": "#0040b4",
|
|
30
|
+
"$type": "color",
|
|
31
|
+
"filePath": "src/temp/component.json",
|
|
32
|
+
"isSource": true,
|
|
33
|
+
"original": {
|
|
34
|
+
"$value": "{state.interactive.color.main}",
|
|
35
|
+
"$type": "color"
|
|
36
|
+
},
|
|
37
|
+
"name": "selectColorSelectAllSurface",
|
|
38
|
+
"attributes": {
|
|
39
|
+
"category": "select",
|
|
40
|
+
"type": "color",
|
|
41
|
+
"item": "selectAll",
|
|
42
|
+
"subitem": "surface"
|
|
43
|
+
},
|
|
44
|
+
"path": [
|
|
45
|
+
"select",
|
|
46
|
+
"color",
|
|
47
|
+
"selectAll",
|
|
48
|
+
"surface"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"group": {
|
|
53
|
+
"surface": {
|
|
54
|
+
"$value": "#f0f0f0",
|
|
55
|
+
"$type": "color",
|
|
56
|
+
"filePath": "src/temp/component.json",
|
|
57
|
+
"isSource": true,
|
|
58
|
+
"original": {
|
|
59
|
+
"$value": "{color.surface.main.alternative}",
|
|
60
|
+
"$type": "color"
|
|
61
|
+
},
|
|
62
|
+
"name": "selectColorGroupSurface",
|
|
63
|
+
"attributes": {
|
|
64
|
+
"category": "select",
|
|
65
|
+
"type": "color",
|
|
66
|
+
"item": "group",
|
|
67
|
+
"subitem": "surface"
|
|
68
|
+
},
|
|
69
|
+
"path": [
|
|
70
|
+
"select",
|
|
71
|
+
"color",
|
|
72
|
+
"group",
|
|
73
|
+
"surface"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"iconName": {
|
|
79
|
+
"selected": {
|
|
80
|
+
"$value": "square-check",
|
|
81
|
+
"$type": "content",
|
|
82
|
+
"filePath": "src/temp/component.json",
|
|
83
|
+
"isSource": true,
|
|
84
|
+
"$extensions": {
|
|
85
|
+
"studio.tokens": {
|
|
86
|
+
"originalType": "text"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"original": {
|
|
90
|
+
"$value": "square-check",
|
|
91
|
+
"$type": "content",
|
|
92
|
+
"$extensions": {
|
|
93
|
+
"studio.tokens": {
|
|
94
|
+
"originalType": "text"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"name": "selectIconNameSelected",
|
|
99
|
+
"attributes": {
|
|
100
|
+
"category": "select",
|
|
101
|
+
"type": "iconName",
|
|
102
|
+
"item": "selected"
|
|
103
|
+
},
|
|
104
|
+
"path": [
|
|
105
|
+
"select",
|
|
106
|
+
"iconName",
|
|
107
|
+
"selected"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"deselected": {
|
|
111
|
+
"$value": "square",
|
|
112
|
+
"$type": "content",
|
|
113
|
+
"filePath": "src/temp/component.json",
|
|
114
|
+
"isSource": true,
|
|
115
|
+
"$extensions": {
|
|
116
|
+
"studio.tokens": {
|
|
117
|
+
"originalType": "text"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"original": {
|
|
121
|
+
"$value": "square",
|
|
122
|
+
"$type": "content",
|
|
123
|
+
"$extensions": {
|
|
124
|
+
"studio.tokens": {
|
|
125
|
+
"originalType": "text"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"name": "selectIconNameDeselected",
|
|
130
|
+
"attributes": {
|
|
131
|
+
"category": "select",
|
|
132
|
+
"type": "iconName",
|
|
133
|
+
"item": "deselected"
|
|
134
|
+
},
|
|
135
|
+
"path": [
|
|
136
|
+
"select",
|
|
137
|
+
"iconName",
|
|
138
|
+
"deselected"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"intermediary": {
|
|
142
|
+
"$value": "square-minus",
|
|
143
|
+
"$type": "content",
|
|
144
|
+
"filePath": "src/temp/component.json",
|
|
145
|
+
"isSource": true,
|
|
146
|
+
"$extensions": {
|
|
147
|
+
"studio.tokens": {
|
|
148
|
+
"originalType": "text"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"original": {
|
|
152
|
+
"$value": "square-minus",
|
|
153
|
+
"$type": "content",
|
|
154
|
+
"$extensions": {
|
|
155
|
+
"studio.tokens": {
|
|
156
|
+
"originalType": "text"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"name": "selectIconNameIntermediary",
|
|
161
|
+
"attributes": {
|
|
162
|
+
"category": "select",
|
|
163
|
+
"type": "iconName",
|
|
164
|
+
"item": "intermediary"
|
|
165
|
+
},
|
|
166
|
+
"path": [
|
|
167
|
+
"select",
|
|
168
|
+
"iconName",
|
|
169
|
+
"intermediary"
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"shadowStyle": {
|
|
174
|
+
"list": {
|
|
175
|
+
"$value": "0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2)",
|
|
176
|
+
"$type": "shadow",
|
|
177
|
+
"filePath": "src/temp/component.json",
|
|
178
|
+
"isSource": true,
|
|
179
|
+
"$extensions": {
|
|
180
|
+
"studio.tokens": {
|
|
181
|
+
"originalType": "boxShadow"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"original": {
|
|
185
|
+
"$value": "{elevation.shadowStyle.level.2}",
|
|
186
|
+
"$type": "shadow",
|
|
187
|
+
"$extensions": {
|
|
188
|
+
"studio.tokens": {
|
|
189
|
+
"originalType": "boxShadow"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"name": "selectShadowStyleList",
|
|
194
|
+
"attributes": {
|
|
195
|
+
"category": "select",
|
|
196
|
+
"type": "shadowStyle",
|
|
197
|
+
"item": "list"
|
|
198
|
+
},
|
|
199
|
+
"path": [
|
|
200
|
+
"select",
|
|
201
|
+
"shadowStyle",
|
|
202
|
+
"list"
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
package/dist/json/tokens.json
CHANGED
|
@@ -13008,6 +13008,39 @@
|
|
|
13008
13008
|
"user"
|
|
13009
13009
|
]
|
|
13010
13010
|
},
|
|
13011
|
+
"signin": {
|
|
13012
|
+
"$type": "content",
|
|
13013
|
+
"$value": "sign-in-alt",
|
|
13014
|
+
"filePath": "src/temp/core.json",
|
|
13015
|
+
"isSource": true,
|
|
13016
|
+
"$extensions": {
|
|
13017
|
+
"studio.tokens": {
|
|
13018
|
+
"originalType": "text"
|
|
13019
|
+
}
|
|
13020
|
+
},
|
|
13021
|
+
"original": {
|
|
13022
|
+
"$type": "content",
|
|
13023
|
+
"$value": "sign-in-alt",
|
|
13024
|
+
"$extensions": {
|
|
13025
|
+
"studio.tokens": {
|
|
13026
|
+
"originalType": "text"
|
|
13027
|
+
}
|
|
13028
|
+
}
|
|
13029
|
+
},
|
|
13030
|
+
"name": "iconographyIconNameNavigationSignin",
|
|
13031
|
+
"attributes": {
|
|
13032
|
+
"category": "iconography",
|
|
13033
|
+
"type": "iconName",
|
|
13034
|
+
"item": "navigation",
|
|
13035
|
+
"subitem": "signin"
|
|
13036
|
+
},
|
|
13037
|
+
"path": [
|
|
13038
|
+
"iconography",
|
|
13039
|
+
"iconName",
|
|
13040
|
+
"navigation",
|
|
13041
|
+
"signin"
|
|
13042
|
+
]
|
|
13043
|
+
},
|
|
13011
13044
|
"back": {
|
|
13012
13045
|
"$type": "content",
|
|
13013
13046
|
"$value": "arrow-alt-circle-left",
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
$checkbox-color-surface-main-base: #fcfcfc !default;
|
|
2
|
+
$checkbox-color-surface-main-alternative: #f0f0f0 !default;
|
|
3
|
+
$checkbox-gap: 8px !default;
|
|
4
|
+
$checkbox-icon-name-selected: check !default;
|
|
5
|
+
$checkbox-icon-name-intermediary: minus !default;
|
|
6
|
+
$checkbox-rounder: 4px !default;
|
|
7
|
+
$checkbox-density-compact: 0 !default;
|
|
8
|
+
$checkbox-density-regular: 4px !default;
|
|
9
|
+
$checkbox-density-spacious: 8px !default;
|
|
10
|
+
$checkbox-border-style-main-base: 1px solid #cccccc !default;
|
|
11
|
+
$checkbox-hover-color-main-read: rgba(212, 229, 255, 0.5) !default;
|
|
12
|
+
$checkbox-hover-color-main-surface: rgba(12, 50, 111, 0.6) !default;
|
|
13
|
+
$checkbox-hover-easing-in: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
14
|
+
$checkbox-hover-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
15
|
+
$checkbox-hover-duration-in: 200ms !default;
|
|
16
|
+
$checkbox-hover-duration-out: 100ms !default;
|
|
17
|
+
$checkbox-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
|
|
18
|
+
$checkbox-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1) !default;
|
|
19
|
+
$checkbox-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
20
|
+
$checkbox-pressed-duration-in: 100ms !default;
|
|
21
|
+
$checkbox-pressed-duration-out: 50ms !default;
|
|
22
|
+
$checkbox-selected-color-main-read: #ffffff !default;
|
|
23
|
+
$checkbox-selected-color-main-surface: #2670e8 !default;
|
|
24
|
+
$checkbox-selected-border-style-main: 1px solid #2670e8 !default;
|
|
25
|
+
$checkbox-selected-easing-in: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
26
|
+
$checkbox-selected-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
27
|
+
$checkbox-selected-duration-in: 150ms !default;
|
|
28
|
+
$checkbox-selected-duration-out: 100ms !default;
|
|
29
|
+
$checkbox-intermediary-color-main-read: #2670e8 !default;
|
|
30
|
+
$checkbox-intermediary-border-style-main: 1px solid #2670e8 !default;
|
|
31
|
+
$checkbox-intermediary-easing-in: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
32
|
+
$checkbox-intermediary-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
33
|
+
$checkbox-intermediary-duration-in: 150ms !default;
|
|
34
|
+
$checkbox-intermediary-duration-out: 100ms !default;
|
|
35
|
+
$checkbox-focus-border-style-main: 2px solid #da680b !default;
|
|
36
|
+
$checkbox-focus-border-style-contrast: 2px solid #ff8c00 !default;
|
|
37
|
+
$checkbox-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0) !default;
|
|
38
|
+
$checkbox-focus-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
39
|
+
$checkbox-focus-duration-in: 200ms !default;
|
|
40
|
+
$checkbox-focus-duration-out: 100ms !default;
|
|
41
|
+
$checkbox-disabled-opacity: 0.3 !default;
|
|
42
|
+
$checkbox-disabled-color-main: #4a4a4a !default;
|
|
43
|
+
$checkbox-read-only-color-read: #636363 !default;
|
|
44
|
+
$checkbox-read-only-border-width: 0 !default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
$radio-group-color-surface-main-base: #fcfcfc !default;
|
|
2
|
+
$radio-group-color-surface-main-alternative: #f0f0f0 !default;
|
|
3
|
+
$radio-group-gap-item: 8px !default;
|
|
4
|
+
$radio-group-gap-vertical: 8px !default;
|
|
5
|
+
$radio-group-gap-horizontal: 24px !default;
|
|
6
|
+
$radio-group-icon-name-selected: circle !default;
|
|
7
|
+
$radio-group-rounder: 999999px !default;
|
|
8
|
+
$radio-group-density-compact: 4px !default;
|
|
9
|
+
$radio-group-density-regular: 8px !default;
|
|
10
|
+
$radio-group-density-spacious: 12px !default;
|
|
11
|
+
$radio-group-border-style-main-base: 1px solid #cccccc !default;
|
|
12
|
+
$radio-group-hover-color-main-read: rgba(212, 229, 255, 0.5) !default;
|
|
13
|
+
$radio-group-hover-color-main-surface: rgba(12, 50, 111, 0.6) !default;
|
|
14
|
+
$radio-group-hover-easing-in: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
15
|
+
$radio-group-hover-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
16
|
+
$radio-group-hover-duration-in: 200ms !default;
|
|
17
|
+
$radio-group-hover-duration-out: 100ms !default;
|
|
18
|
+
$radio-group-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
|
|
19
|
+
$radio-group-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1) !default;
|
|
20
|
+
$radio-group-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
21
|
+
$radio-group-pressed-duration-in: 100ms !default;
|
|
22
|
+
$radio-group-pressed-duration-out: 50ms !default;
|
|
23
|
+
$radio-group-selected-color-main-read: #ffffff !default;
|
|
24
|
+
$radio-group-selected-color-main-surface: #2670e8 !default;
|
|
25
|
+
$radio-group-selected-border-style-main: 1px solid #2670e8 !default;
|
|
26
|
+
$radio-group-selected-easing-in: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
27
|
+
$radio-group-selected-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
28
|
+
$radio-group-selected-duration-in: 150ms !default;
|
|
29
|
+
$radio-group-selected-duration-out: 100ms !default;
|
|
30
|
+
$radio-group-focus-border-style-main: 2px solid #da680b !default;
|
|
31
|
+
$radio-group-focus-border-style-contrast: 2px solid #ff8c00 !default;
|
|
32
|
+
$radio-group-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0) !default;
|
|
33
|
+
$radio-group-focus-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
34
|
+
$radio-group-focus-duration-in: 200ms !default;
|
|
35
|
+
$radio-group-focus-duration-out: 100ms !default;
|
|
36
|
+
$radio-group-disabled-opacity: 0.3 !default;
|
|
37
|
+
$radio-group-disabled-color-main: #4a4a4a !default;
|
|
38
|
+
$radio-group-read-only-color-read: #636363 !default;
|
|
39
|
+
$radio-group-read-only-border-width: 0 !default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
$select-color-select-all-read: #ffffff !default;
|
|
2
|
+
$select-color-select-all-surface: #0040b4 !default;
|
|
3
|
+
$select-color-group-surface: #f0f0f0 !default;
|
|
4
|
+
$select-icon-name-selected: square-check !default;
|
|
5
|
+
$select-icon-name-deselected: square !default;
|
|
6
|
+
$select-icon-name-intermediary: square-minus !default;
|
|
7
|
+
$select-shadow-style-list: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 0 8px 0 rgba(0, 0, 0, 0.2) !default;
|
package/dist/scss/tokens.scss
CHANGED
|
@@ -565,6 +565,7 @@ $iconography-icon-name-navigation-home: home !default;
|
|
|
565
565
|
$iconography-icon-name-navigation-menu: bars !default;
|
|
566
566
|
$iconography-icon-name-navigation-options: ellipsis-v !default;
|
|
567
567
|
$iconography-icon-name-navigation-user: user !default;
|
|
568
|
+
$iconography-icon-name-navigation-signin: sign-in-alt !default;
|
|
568
569
|
$iconography-icon-name-navigation-back: arrow-alt-circle-left !default;
|
|
569
570
|
$iconography-icon-name-feedback-help: question-circle !default;
|
|
570
571
|
$iconography-icon-name-feedback-alert: exclamation-triangle !default;
|