@ztwoint/z-ui 0.1.46 → 0.1.49
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/components/alert/alert.const.d.ts +0 -3
- package/dist/components/alert/alert.const.js +16 -31
- package/dist/components/alert/alert.js +32 -44
- package/dist/components/assets/icons/check.d.ts +8 -0
- package/dist/components/assets/icons/check.js +17 -0
- package/dist/components/assets/icons/x-mark.d.ts +8 -0
- package/dist/components/assets/icons/x-mark.js +17 -0
- package/dist/components/button/button.d.ts +3 -3
- package/dist/components/button/button.js +58 -58
- package/dist/components/collapsible-side-nav-bar/side-nav-bar-header.js +17 -17
- package/dist/components/nav-header/nav-item/nav-item.d.ts +4 -2
- package/dist/components/nav-header/nav-item/nav-item.js +29 -28
- package/dist/components/select/z2-select.js +131 -78
- package/dist/components/table/components/cell/avatar-cell.d.ts +15 -0
- package/dist/components/table/components/cell/avatar-cell.js +74 -0
- package/dist/components/table/components/cell/boolean-cell.d.ts +1 -2
- package/dist/components/table/components/cell/boolean-cell.js +5 -5
- package/dist/components/table/components/cell/description-cell.d.ts +7 -0
- package/dist/components/table/components/cell/description-cell.js +16 -0
- package/dist/components/table/components/cell/index.d.ts +10 -1
- package/dist/components/table/components/cell/label-cell.d.ts +10 -0
- package/dist/components/table/components/cell/label-cell.js +47 -0
- package/dist/components/table/components/cell/link-cell.d.ts +10 -0
- package/dist/components/table/components/cell/link-cell.js +35 -0
- package/dist/components/table/components/cell/number-cell.d.ts +5 -3
- package/dist/components/table/components/cell/number-cell.js +40 -3
- package/dist/components/table/components/index.d.ts +1 -1
- package/dist/components/table/components/table-cell.d.ts +1 -1
- package/dist/components/table/components/table-cell.js +41 -32
- package/dist/components/table/components/table-filter/close-filter-confirm/filter-confirmation-dialog.d.ts +10 -0
- package/dist/components/table/components/table-filter/close-filter-confirm/filter-confirmation-dialog.js +33 -0
- package/dist/components/table/components/table-filter/close-filter-confirm/filter-confirmation-dialog.utils.d.ts +13 -0
- package/dist/components/table/components/table-filter/close-filter-confirm/filter-confirmation-dialog.utils.js +20 -0
- package/dist/components/table/components/table-filter/filters/boolean.js +52 -44
- package/dist/components/table/components/table-filter/selected-filters-display/selected-filters-display.utils.js +16 -16
- package/dist/components/table/components/table-filter/table-filter-button.js +88 -57
- package/dist/components/table/components/table-filter/table-filter-column-button.js +81 -51
- package/dist/components/table/components/table-filter/table-filter.context.d.ts +1 -0
- package/dist/components/table/components/table-filter/table-filter.hook.d.ts +1 -0
- package/dist/components/table/components/table-filter/table-filter.hook.js +17 -14
- package/dist/components/table/components/table-footer.js +6 -6
- package/dist/components/table/components/table-header/stories/basic-header.d.ts +1 -1
- package/dist/components/table/components/table-header/table-header.js +27 -33
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/table-provider.js +37 -8
- package/dist/components/table/table.const.d.ts +15 -9
- package/dist/components/table/table.const.js +15 -9
- package/dist/components/table/table.js +39 -34
- package/dist/components/table/table.type.d.ts +36 -5
- package/dist/components/table/table.utils.d.ts +1 -1
- package/dist/components/table/table.utils.js +5 -3
- package/dist/components/table-card/table-card.js +116 -89
- package/dist/components/tooltip/tooltip.js +24 -22
- package/dist/css/config/colors/backgrounds.css +8 -8
- package/dist/css/config/colors/components/avatar.css +12 -12
- package/dist/css/config/colors/components/badge.css +42 -42
- package/dist/css/config/colors/components/checkbox.css +2 -2
- package/dist/css/config/colors/components/featured-icon.css +18 -18
- package/dist/css/config/colors/components/progress-bar.css +2 -2
- package/dist/css/config/colors/components/radio-button.css +2 -2
- package/dist/css/config/colors/components/scroll-overlay.css +4 -4
- package/dist/css/config/colors/components/tab.css +7 -7
- package/dist/css/config/colors/components/toggle-switch.css +1 -1
- package/dist/css/config/colors/components/toggle.css +6 -6
- package/dist/css/config/colors/icons.css +20 -20
- package/dist/css/config/colors/overlay.css +1 -1
- package/dist/css/config/colors/semantic/alert.css +44 -0
- package/dist/css/config/colors/semantic/background.css +51 -0
- package/dist/css/config/colors/semantic/base.css +395 -0
- package/dist/css/config/colors/semantic/button.css +131 -0
- package/dist/css/config/colors/semantic/drop-shadow.css +30 -0
- package/dist/css/config/colors/semantic/dropdown.css +12 -0
- package/dist/css/config/colors/semantic/index.css +16 -0
- package/dist/css/config/colors/semantic/input.css +56 -0
- package/dist/css/config/colors/semantic/overlay.css +13 -0
- package/dist/css/config/colors/semantic/stroke.css +90 -0
- package/dist/css/config/colors/semantic/surface.css +135 -0
- package/dist/css/config/colors/semantic/text.css +113 -0
- package/dist/css/config/colors/semantic/tooltip.css +12 -0
- package/dist/css/config/colors/shape.css +40 -40
- package/dist/css/config/colors/stroke.css +19 -19
- package/dist/css/config/colors/surfaces.css +47 -47
- package/dist/css/config/colors/text.css +37 -37
- package/dist/css/config/components/index.css +0 -2
- package/dist/css/config/config-deprecated.css +3 -5
- package/dist/css/config/config.css +5 -3
- package/dist/css/config/other-variables.css +9 -0
- package/dist/css/config/shadows.css +15 -0
- package/dist/css/config/typography/2xl.css +7 -14
- package/dist/css/config/typography/3xl.css +7 -14
- package/dist/css/config/typography/4xl.css +7 -14
- package/dist/css/config/typography/base.css +7 -14
- package/dist/css/config/typography/lg.css +7 -14
- package/dist/css/config/typography/sm.css +7 -14
- package/dist/css/config/typography/xl.css +7 -14
- package/dist/css/config/typography/xs.css +7 -14
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/index.js +62 -64
- package/dist/types/components/alert/alert.const.d.ts +0 -3
- package/dist/types/components/assets/icons/check.d.ts +8 -0
- package/dist/types/components/assets/icons/x-mark.d.ts +8 -0
- package/dist/types/components/button/button.d.ts +3 -3
- package/dist/types/components/nav-header/nav-item/nav-item.d.ts +4 -2
- package/dist/types/components/table/components/cell/avatar-cell.d.ts +15 -0
- package/dist/types/components/table/components/cell/boolean-cell.d.ts +1 -2
- package/dist/types/components/table/components/cell/description-cell.d.ts +7 -0
- package/dist/types/components/table/components/cell/index.d.ts +10 -1
- package/dist/types/components/table/components/cell/label-cell.d.ts +10 -0
- package/dist/types/components/table/components/cell/link-cell.d.ts +10 -0
- package/dist/types/components/table/components/cell/number-cell.d.ts +5 -3
- package/dist/types/components/table/components/index.d.ts +1 -1
- package/dist/types/components/table/components/table-cell.d.ts +1 -1
- package/dist/types/components/table/components/table-filter/close-filter-confirm/filter-confirmation-dialog.d.ts +10 -0
- package/dist/types/components/table/components/table-filter/close-filter-confirm/filter-confirmation-dialog.utils.d.ts +13 -0
- package/dist/types/components/table/components/table-filter/table-filter.context.d.ts +1 -0
- package/dist/types/components/table/components/table-filter/table-filter.hook.d.ts +1 -0
- package/dist/types/components/table/components/table-header/stories/basic-header.d.ts +1 -1
- package/dist/types/components/table/index.d.ts +1 -1
- package/dist/types/components/table/table.const.d.ts +15 -9
- package/dist/types/components/table/table.type.d.ts +36 -5
- package/dist/types/components/table/table.utils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/table/components/cell/text-cell.d.ts +0 -7
- package/dist/components/table/components/cell/text-cell.js +0 -5
- package/dist/css/config/colors/components/alert.css +0 -84
- package/dist/css/config/colors/components/button.css +0 -93
- package/dist/css/config/colors/components/select.css +0 -128
- package/dist/css/config/colors/components/text-button.css +0 -67
- package/dist/css/config/colors/defaults.css +0 -393
- package/dist/css/config/colors/semantic-colors.css +0 -353
- package/dist/css/config/components/button.css +0 -160
- package/dist/css/config/components/input.css +0 -56
- package/dist/node_modules/@heroicons/react/24/solid/esm/CheckCircleIcon.js +0 -26
- package/dist/node_modules/@heroicons/react/24/solid/esm/XCircleIcon.js +0 -26
- package/dist/types/components/table/components/cell/text-cell.d.ts +0 -7
- /package/dist/css/config/typography/{typography.css → index.css} +0 -0
|
@@ -2,198 +2,198 @@
|
|
|
2
2
|
|
|
3
3
|
/* Neutral surfaces */
|
|
4
4
|
@utility surface-neutral-default {
|
|
5
|
-
background-color: var(--color-neutral-
|
|
5
|
+
background-color: var(--color-surface-neutral-default);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
@utility surface-neutral-primary {
|
|
9
|
-
background-color: var(--color-neutral-
|
|
9
|
+
background-color: var(--color-surface-neutral-pressed);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@utility surface-neutral-hover {
|
|
13
|
-
background-color: var(--color-neutral-
|
|
13
|
+
background-color: var(--color-surface-neutral-hover);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@utility surface-neutral-pressed {
|
|
17
|
-
background-color: var(--color-neutral-
|
|
17
|
+
background-color: var(--color-surface-neutral-pressed);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@utility surface-neutral-disabled {
|
|
21
|
-
background-color: var(--color-neutral-
|
|
21
|
+
background-color: var(--color-surface-neutral-disabled);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
@utility surface-neutral-elevated {
|
|
25
|
-
background-color: var(--color-
|
|
25
|
+
background-color: var(--color-surface-inverted-default);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@utility surface-neutral-focused {
|
|
29
|
-
background-color: var(--color-neutral-
|
|
29
|
+
background-color: var(--color-surface-neutral-focused);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/* Brand surfaces */
|
|
33
33
|
@utility surface-brand-default {
|
|
34
|
-
background-color:
|
|
34
|
+
background-color: var(--color-surface-accent-default);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
@utility surface-brand-hover {
|
|
38
|
-
background-color:
|
|
38
|
+
background-color: var(--color-surface-accent-hover);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
@utility surface-brand-pressed {
|
|
42
|
-
background-color:
|
|
42
|
+
background-color: var(--color-surface-accent-pressed);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
@utility surface-brand-disabled {
|
|
46
|
-
background-color: var(--color-
|
|
46
|
+
background-color: var(--color-surface-accent-disabled);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* Accent surfaces */
|
|
50
50
|
@utility surface-accent-default {
|
|
51
|
-
background-color: var(--color-accent-
|
|
51
|
+
background-color: var(--color-surface-accent-default);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
@utility surface-accent-hover {
|
|
55
|
-
background-color: var(--color-accent-
|
|
55
|
+
background-color: var(--color-surface-accent-hover);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
@utility surface-accent-pressed {
|
|
59
|
-
background-color: var(--color-accent-
|
|
59
|
+
background-color: var(--color-surface-accent-pressed);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@utility surface-accent-disabled {
|
|
63
|
-
background-color: var(--color-
|
|
63
|
+
background-color: var(--color-surface-accent-disabled);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/* Danger surfaces */
|
|
67
67
|
@utility surface-danger-default {
|
|
68
|
-
background-color: var(--color-
|
|
68
|
+
background-color: var(--color-surface-danger-default);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
@utility surface-danger-hover {
|
|
72
|
-
background-color: var(--color-
|
|
72
|
+
background-color: var(--color-surface-danger-hover);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
@utility surface-danger-pressed {
|
|
76
|
-
background-color: var(--color-
|
|
76
|
+
background-color: var(--color-surface-danger-pressed);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
@utility surface-danger-disabled {
|
|
80
|
-
background-color: var(--color-
|
|
80
|
+
background-color: var(--color-surface-danger-disabled);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
@utility surface-danger-light {
|
|
84
|
-
background-color: var(--color-
|
|
84
|
+
background-color: var(--color-surface-inverted-default);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@utility surface-danger-light-hover {
|
|
88
|
-
background-color: var(--color-
|
|
88
|
+
background-color: var(--color-surface-inverted-hover);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/* Success surfaces */
|
|
92
92
|
@utility surface-success-default {
|
|
93
|
-
background-color: var(--color-
|
|
93
|
+
background-color: var(--color-surface-success-default);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
@utility surface-success-hover {
|
|
97
|
-
background-color: var(--color-
|
|
97
|
+
background-color: var(--color-surface-success-hover);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
@utility surface-success-pressed {
|
|
101
|
-
background-color: var(--color-
|
|
101
|
+
background-color: var(--color-surface-success-pressed);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
@utility surface-success-disabled {
|
|
105
|
-
background-color: var(--color-
|
|
105
|
+
background-color: var(--color-surface-success-disabled);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@utility surface-success-light {
|
|
109
|
-
background-color: var(--color-
|
|
109
|
+
background-color: var(--color-surface-inverted-default);
|
|
110
110
|
}
|
|
111
111
|
@utility surface-success-light-hover {
|
|
112
|
-
background-color: var(--color-
|
|
112
|
+
background-color: var(--color-surface-inverted-hover);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
/* Warning surfaces */
|
|
116
116
|
@utility surface-warning-default {
|
|
117
|
-
background-color: var(--color-
|
|
117
|
+
background-color: var(--color-surface-warning-default);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
@utility surface-warning-hover {
|
|
121
|
-
background-color: var(--color-
|
|
121
|
+
background-color: var(--color-surface-warning-hover);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
@utility surface-warning-pressed {
|
|
125
|
-
background-color: var(--color-
|
|
125
|
+
background-color: var(--color-surface-warning-pressed);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
@utility surface-warning-disabled {
|
|
129
|
-
background-color: var(--color-
|
|
129
|
+
background-color: var(--color-surface-warning-disabled);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
@utility surface-warning-light {
|
|
133
|
-
background-color: var(--color-
|
|
133
|
+
background-color: var(--color-surface-inverted-default);
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
@utility surface-warning-light-hover {
|
|
137
|
-
background-color: var(--color-
|
|
137
|
+
background-color: var(--color-surface-inverted-hover);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* Primary surfaces */
|
|
141
141
|
|
|
142
142
|
/* Warning surfaces */
|
|
143
143
|
@utility surface-primary-default {
|
|
144
|
-
background-color: var(--color-
|
|
144
|
+
background-color: var(--color-surface-accent-default);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
@utility surface-primary-hover {
|
|
148
|
-
background-color: var(--color-
|
|
148
|
+
background-color: var(--color-surface-accent-hover);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
@utility surface-primary-pressed {
|
|
152
|
-
background-color: var(--color-
|
|
152
|
+
background-color: var(--color-surface-accent-pressed);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
@utility surface-primary-disabled {
|
|
156
|
-
background-color: var(--color-
|
|
156
|
+
background-color: var(--color-surface-accent-disabled);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
@utility surface-primary-light-hover {
|
|
160
|
-
background-color: var(--color-
|
|
160
|
+
background-color: var(--color-surface-inverted-hover);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
@utility surface-primary-light {
|
|
164
|
-
background-color: var(--color-
|
|
164
|
+
background-color: var(--color-surface-inverted-default);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
/* Purple surfaces */
|
|
168
168
|
@utility surface-purple-default {
|
|
169
|
-
background-color: var(--color-
|
|
169
|
+
background-color: var(--color-surface-purple-default);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
@utility surface-purple-hover {
|
|
173
|
-
background-color: var(--color-
|
|
173
|
+
background-color: var(--color-surface-purple-hover);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
@utility surface-purple-pressed {
|
|
177
|
-
background-color: var(--color-
|
|
177
|
+
background-color: var(--color-surface-purple-pressed);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
@utility surface-purple-disabled {
|
|
181
|
-
background-color: var(--color-
|
|
181
|
+
background-color: var(--color-surface-purple-disabled);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/* Inverted surfaces */
|
|
185
185
|
@utility surface-inverted-default {
|
|
186
|
-
background-color: var(--color-
|
|
186
|
+
background-color: var(--color-surface-inverted-default);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
@utility surface-inverted-hover {
|
|
190
|
-
background-color: var(--color-
|
|
190
|
+
background-color: var(--color-surface-inverted-hover);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
@utility surface-inverted-pressed {
|
|
194
|
-
background-color: var(--color-
|
|
194
|
+
background-color: var(--color-surface-inverted-pressed);
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
@utility surface-inverted-disabled {
|
|
198
|
-
background-color: var(--color-
|
|
198
|
+
background-color: var(--color-surface-inverted-disabled);
|
|
199
199
|
}
|
|
@@ -1,160 +1,160 @@
|
|
|
1
1
|
/*neutral*/
|
|
2
2
|
|
|
3
3
|
@utility text-neutral-primary {
|
|
4
|
-
color: var(--color-neutral-
|
|
4
|
+
color: var(--color-text-neutral-primary);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
@utility text-neutral-secondary {
|
|
8
|
-
color: var(--color-neutral-
|
|
8
|
+
color: var(--color-text-neutral-secondary);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@utility text-neutral-muted {
|
|
12
|
-
color: var(--color-neutral-
|
|
12
|
+
color: var(--color-text-neutral-muted);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* Inverted */
|
|
16
16
|
@utility text-inverted-primary {
|
|
17
|
-
color: var(--color-
|
|
17
|
+
color: var(--color-text-inverted-primary);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@utility text-inverted-secondary {
|
|
21
|
-
color: var(--color-
|
|
21
|
+
color: var(--color-text-inverted-secondary);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
@utility text-inverted-static {
|
|
25
|
-
color: var(--color-
|
|
25
|
+
color: var(--color-text-inverted-static);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/*brand*/
|
|
29
29
|
@utility text-brand-primary {
|
|
30
|
-
color: var(--color-
|
|
30
|
+
color: var(--color-text-brand-primary);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
@utility text-brand-secondary {
|
|
34
|
-
color: var(--color-
|
|
34
|
+
color: var(--color-text-brand-secondary);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/*success*/
|
|
38
38
|
@utility text-success-primary {
|
|
39
|
-
color: var(--color-
|
|
39
|
+
color: var(--color-text-success-primary);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
@utility text-success-secondary {
|
|
43
|
-
color: var(--color-
|
|
43
|
+
color: var(--color-text-success-secondary);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/*danger*/
|
|
47
47
|
@utility text-danger-primary {
|
|
48
|
-
color: var(--color-
|
|
48
|
+
color: var(--color-text-danger-primary);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@utility text-danger-secondary {
|
|
52
|
-
color: var(--color-
|
|
52
|
+
color: var(--color-text-danger-secondary);
|
|
53
53
|
}
|
|
54
54
|
/*warning*/
|
|
55
55
|
@utility text-warning-primary {
|
|
56
|
-
color: var(--color-
|
|
56
|
+
color: var(--color-text-warning-primary);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
@utility text-warning-secondary {
|
|
60
|
-
color: var(--color-
|
|
60
|
+
color: var(--color-text-warning-secondary);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/*purple*/
|
|
64
64
|
@utility text-purple-primary {
|
|
65
|
-
color: var(--color-purple-
|
|
65
|
+
color: var(--color-text-purple-primary);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
@utility text-purple-secondary {
|
|
69
|
-
color: var(--color-purple-
|
|
69
|
+
color: var(--color-text-purple-secondary);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/*body*/
|
|
73
73
|
@utility text-body-primary {
|
|
74
|
-
color: var(--color-
|
|
74
|
+
color: var(--color-text-body-primary);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@utility text-body-long {
|
|
78
|
-
color: var(--color-
|
|
78
|
+
color: var(--color-text-body-long);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@utility text-body-short {
|
|
82
|
-
color: var(--color-
|
|
82
|
+
color: var(--color-text-body-short);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/*pre-exisitng-colors*/
|
|
86
86
|
/* title */
|
|
87
87
|
@utility text-title {
|
|
88
|
-
color: var(--color-neutral-
|
|
88
|
+
color: var(--color-text-neutral-primary);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
@utility text-title-secondary {
|
|
92
|
-
color: var(--color-neutral-
|
|
92
|
+
color: var(--color-text-neutral-muted);
|
|
93
93
|
}
|
|
94
94
|
/* link */
|
|
95
95
|
@utility text-link {
|
|
96
|
-
color: var(--color-
|
|
96
|
+
color: var(--color-text-brand-secondary);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@utility text-link-secondary {
|
|
100
|
-
color: var(--color-neutral-
|
|
100
|
+
color: var(--color-text-neutral-secondary);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/* subtitle */
|
|
104
104
|
@utility text-subtitle {
|
|
105
|
-
color: var(--color-neutral-
|
|
105
|
+
color: var(--color-text-neutral-primary);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@utility text-subtitle-success {
|
|
109
|
-
color: var(--color-
|
|
109
|
+
color: var(--color-text-success-secondary);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
@utility text-subtitle-danger {
|
|
113
|
-
color: var(--color-
|
|
113
|
+
color: var(--color-text-danger-secondary);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
@utility text-subtitle-secondary {
|
|
117
|
-
color: var(--color-neutral-
|
|
117
|
+
color: var(--color-text-neutral-secondary);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
@utility text-subtitle-disabled {
|
|
121
|
-
color: var(--color-neutral-
|
|
121
|
+
color: var(--color-text-neutral-muted);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/* body */
|
|
125
125
|
@utility text-body {
|
|
126
|
-
color: var(--color-
|
|
126
|
+
color: var(--color-text-body-primary);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
/* underline */
|
|
130
130
|
@utility text-underline-highlight {
|
|
131
|
-
color: var(--color-
|
|
131
|
+
color: var(--color-text-warning-secondary);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
@utility text-underline-subtle {
|
|
135
|
-
color: var(--color-neutral-
|
|
135
|
+
color: var(--color-text-neutral-muted);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@utility text-default-muted {
|
|
139
|
-
color: var(--color-neutral-
|
|
139
|
+
color: var(--color-text-neutral-muted);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
@utility text-default-primary {
|
|
143
|
-
color: var(--color-neutral-
|
|
143
|
+
color: var(--color-text-neutral-primary);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
@utility text-default-secondary {
|
|
147
|
-
color: var(--color-neutral-
|
|
147
|
+
color: var(--color-text-neutral-secondary);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
@utility text-default-warning {
|
|
151
|
-
color: var(--color-
|
|
151
|
+
color: var(--color-text-warning-secondary);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
@utility text-default-brand {
|
|
155
|
-
color: var(--color-
|
|
155
|
+
color: var(--color-text-brand-secondary);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
@utility text-default-success {
|
|
159
|
-
color: var(--color-
|
|
159
|
+
color: var(--color-text-success-secondary);
|
|
160
160
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
/* Colors */
|
|
2
|
-
@import './colors/defaults.css';
|
|
2
|
+
/* @import './colors/defaults.css'; */
|
|
3
3
|
@import './colors/backgrounds.css';
|
|
4
4
|
@import './colors/surfaces.css';
|
|
5
5
|
@import './colors/stroke.css';
|
|
6
6
|
@import './colors/overlay.css';
|
|
7
7
|
@import './colors/icons.css';
|
|
8
8
|
@import './colors/text.css';
|
|
9
|
-
@import './typography/
|
|
9
|
+
@import './typography/index.css';
|
|
10
10
|
|
|
11
11
|
/* TODO Drop Shadow */
|
|
12
12
|
|
|
13
13
|
/* Components Colors */
|
|
14
|
-
@import './colors/components/button.css';
|
|
14
|
+
/* @import './colors/components/button.css'; */
|
|
15
15
|
@import './colors/components/tab.css';
|
|
16
|
-
@import './colors/components/alert.css';
|
|
17
|
-
@import './colors/components/select.css';
|
|
18
16
|
|
|
19
17
|
@theme {
|
|
20
18
|
--font-family-sans: 'Inter Variable', sans-serif;
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
@import './config-deprecated.css';
|
|
25
|
-
@import './colors/defaults.css';
|
|
26
|
-
@import './colors/semantic
|
|
27
|
-
@import './typography/
|
|
25
|
+
/* @import './colors/defaults.css'; */
|
|
26
|
+
@import './colors/semantic/index.css';
|
|
27
|
+
@import './typography/index.css';
|
|
28
|
+
@import './shadows.css';
|
|
29
|
+
@import './other-variables.css';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@utility box-shadow-button-default {
|
|
2
|
+
box-shadow: 0 1px 2px 0 var(--drop-shadow-5), 0 0 0 var(--stroke-default) var(--btn-secondary-stroke-default);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@utility box-shadow-button-default-hover {
|
|
6
|
+
box-shadow: 0 0 0 var(--stroke-default) var(--btn-secondary-stroke-hover);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@utility box-shadow-button-default-pressed {
|
|
10
|
+
box-shadow: 0 1px 2px 0 var(--transparent), 0 0 0 var(--stroke-default) var(--btn-secondary-stroke-pressed);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@utility box-shadow-medium-10 {
|
|
14
|
+
box-shadow: 0 16px 32px 0 var(--drop-shadow-10), 0 0 0 var(--stroke-default) var(--stroke-solid-light);
|
|
15
|
+
}
|
|
@@ -52,56 +52,49 @@
|
|
|
52
52
|
/* ========== LINE HEIGHT: NONE ========== */
|
|
53
53
|
.leading-none-regular-2xl {
|
|
54
54
|
font-size: 1.5rem;
|
|
55
|
-
line-height: 1.
|
|
55
|
+
line-height: 1.1;
|
|
56
56
|
letter-spacing: -0.05rem;
|
|
57
57
|
font-weight: 400;
|
|
58
|
-
overflow-y: visible;
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
.leading-none-medium-2xl {
|
|
62
61
|
font-size: 1.5rem;
|
|
63
|
-
line-height: 1.
|
|
62
|
+
line-height: 1.1;
|
|
64
63
|
letter-spacing: -0.05rem;
|
|
65
64
|
font-weight: 450;
|
|
66
|
-
overflow-y: visible;
|
|
67
65
|
}
|
|
68
66
|
|
|
69
67
|
.leading-none-semibold-2xl {
|
|
70
68
|
font-size: 1.5rem;
|
|
71
|
-
line-height: 1.
|
|
69
|
+
line-height: 1.1;
|
|
72
70
|
letter-spacing: -0.05rem;
|
|
73
71
|
font-weight: 600;
|
|
74
|
-
overflow-y: visible;
|
|
75
72
|
}
|
|
76
73
|
|
|
77
74
|
.leading-none-bold-2xl {
|
|
78
75
|
font-size: 1.5rem;
|
|
79
|
-
line-height: 1.
|
|
76
|
+
line-height: 1.1;
|
|
80
77
|
letter-spacing: -0.05rem;
|
|
81
78
|
font-weight: 700;
|
|
82
|
-
overflow-y: visible;
|
|
83
79
|
}
|
|
84
80
|
|
|
85
81
|
.leading-none-italic-2xl {
|
|
86
82
|
font-size: 1.5rem;
|
|
87
|
-
line-height: 1.
|
|
83
|
+
line-height: 1.1;
|
|
88
84
|
letter-spacing: -0.05rem;
|
|
89
85
|
font-style: italic;
|
|
90
|
-
overflow-y: visible;
|
|
91
86
|
}
|
|
92
87
|
|
|
93
88
|
.leading-none-underlined-2xl {
|
|
94
89
|
font-size: 1.5rem;
|
|
95
|
-
line-height: 1.
|
|
90
|
+
line-height: 1.1;
|
|
96
91
|
letter-spacing: -0.05rem;
|
|
97
92
|
text-decoration: underline;
|
|
98
|
-
overflow-y: visible;
|
|
99
93
|
}
|
|
100
94
|
|
|
101
95
|
.leading-none-strikethrough-2xl {
|
|
102
96
|
font-size: 1.5rem;
|
|
103
|
-
line-height: 1.
|
|
97
|
+
line-height: 1.1;
|
|
104
98
|
letter-spacing: -0.05rem;
|
|
105
99
|
text-decoration: line-through;
|
|
106
|
-
overflow-y: visible;
|
|
107
100
|
}
|
|
@@ -52,56 +52,49 @@
|
|
|
52
52
|
/* ========== LINE HEIGHT: NONE ========== */
|
|
53
53
|
.leading-none-regular-3xl {
|
|
54
54
|
font-size: 2rem;
|
|
55
|
-
line-height:
|
|
55
|
+
line-height: 1.1;
|
|
56
56
|
letter-spacing: -0.1rem;
|
|
57
57
|
font-weight: 400;
|
|
58
|
-
overflow-y: visible;
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
.leading-none-medium-3xl {
|
|
62
61
|
font-size: 2rem;
|
|
63
|
-
line-height:
|
|
62
|
+
line-height: 1.1;
|
|
64
63
|
letter-spacing: -0.1rem;
|
|
65
64
|
font-weight: 450;
|
|
66
|
-
overflow-y: visible;
|
|
67
65
|
}
|
|
68
66
|
|
|
69
67
|
.leading-none-semibold-3xl {
|
|
70
68
|
font-size: 2rem;
|
|
71
|
-
line-height:
|
|
69
|
+
line-height: 1.1;
|
|
72
70
|
letter-spacing: -0.1rem;
|
|
73
71
|
font-weight: 600;
|
|
74
|
-
overflow-y: visible;
|
|
75
72
|
}
|
|
76
73
|
|
|
77
74
|
.leading-none-bold-3xl {
|
|
78
75
|
font-size: 2rem;
|
|
79
|
-
line-height:
|
|
76
|
+
line-height: 1.1;
|
|
80
77
|
letter-spacing: -0.1rem;
|
|
81
78
|
font-weight: 700;
|
|
82
|
-
overflow-y: visible;
|
|
83
79
|
}
|
|
84
80
|
|
|
85
81
|
.leading-none-italic-3xl {
|
|
86
82
|
font-size: 2rem;
|
|
87
|
-
line-height:
|
|
83
|
+
line-height: 1.1;
|
|
88
84
|
letter-spacing: -0.1rem;
|
|
89
85
|
font-style: italic;
|
|
90
|
-
overflow-y: visible;
|
|
91
86
|
}
|
|
92
87
|
|
|
93
88
|
.leading-none-underlined-3xl {
|
|
94
89
|
font-size: 2rem;
|
|
95
|
-
line-height:
|
|
90
|
+
line-height: 1.1;
|
|
96
91
|
letter-spacing: -0.1rem;
|
|
97
92
|
text-decoration: underline;
|
|
98
|
-
overflow-y: visible;
|
|
99
93
|
}
|
|
100
94
|
|
|
101
95
|
.leading-none-strikethrough-3xl {
|
|
102
96
|
font-size: 2rem;
|
|
103
|
-
line-height:
|
|
97
|
+
line-height: 1.1;
|
|
104
98
|
letter-spacing: -0.1rem;
|
|
105
99
|
text-decoration: line-through;
|
|
106
|
-
overflow-y: visible;
|
|
107
100
|
}
|