@nova-design-system/nova-base 3.0.0-beta.31 → 3.0.0-beta.33
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/mccs.css +0 -178809
- package/dist/css/nova-utils.css +313 -243
- package/dist/css/ocean.css +450 -208721
- package/dist/css/spark.css +431 -208702
- package/dist/lib/cjs/generated/nova-tailwind-components.js +292 -0
- package/dist/lib/cjs/{nova-tailwind-tokens.js → generated/nova-tailwind-tokens.js} +0 -123
- package/dist/lib/cjs/{nova-plugin.js → lib/nova-plugin.js} +3 -11
- package/dist/lib/cjs/{nova-safelist.js → lib/nova-safelist.js} +6 -3
- package/dist/lib/generated/nova-tailwind-components.d.ts +288 -0
- package/dist/lib/generated/nova-tailwind-components.js +289 -0
- package/dist/lib/{nova-tailwind-tokens.d.ts → generated/nova-tailwind-tokens.d.ts} +0 -123
- package/dist/lib/{nova-tailwind-tokens.js → generated/nova-tailwind-tokens.js} +0 -123
- package/dist/lib/{nova-plugin.js → lib/nova-plugin.js} +3 -9
- package/dist/lib/{nova-safelist.js → lib/nova-safelist.js} +6 -3
- package/package.json +7 -2
- /package/dist/lib/cjs/{index.js → lib/index.js} +0 -0
- /package/dist/lib/cjs/{nova-theme.js → lib/nova-theme.js} +0 -0
- /package/dist/lib/{index.d.ts → lib/index.d.ts} +0 -0
- /package/dist/lib/{index.js → lib/index.js} +0 -0
- /package/dist/lib/{nova-plugin.d.ts → lib/nova-plugin.d.ts} +0 -0
- /package/dist/lib/{nova-safelist.d.ts → lib/nova-safelist.d.ts} +0 -0
- /package/dist/lib/{nova-theme.d.ts → lib/nova-theme.d.ts} +0 -0
- /package/dist/lib/{nova-theme.js → lib/nova-theme.js} +0 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated
|
|
3
|
+
* @ref generate-tailwind-components.ts
|
|
4
|
+
*/
|
|
5
|
+
export declare const NOVA_TAILWIND_COMPONENTS: {
|
|
6
|
+
'.nv-button': {
|
|
7
|
+
textDecoration: string;
|
|
8
|
+
display: string;
|
|
9
|
+
justifyContent: string;
|
|
10
|
+
alignItems: string;
|
|
11
|
+
fontStyle: string;
|
|
12
|
+
fontWeight: string;
|
|
13
|
+
fontFamily: string;
|
|
14
|
+
transition: string;
|
|
15
|
+
userSelect: string;
|
|
16
|
+
cursor: string;
|
|
17
|
+
height: string;
|
|
18
|
+
width: string;
|
|
19
|
+
padding: string;
|
|
20
|
+
gap: string;
|
|
21
|
+
borderRadius: string;
|
|
22
|
+
lineHeight: string;
|
|
23
|
+
fontSize: string;
|
|
24
|
+
background: string;
|
|
25
|
+
border: string;
|
|
26
|
+
color: string;
|
|
27
|
+
};
|
|
28
|
+
'.nv-button nv-icon > svg': {
|
|
29
|
+
width: string;
|
|
30
|
+
height: string;
|
|
31
|
+
strokeWidth: string;
|
|
32
|
+
};
|
|
33
|
+
'.nv-button:hover': {
|
|
34
|
+
background: string;
|
|
35
|
+
border: string;
|
|
36
|
+
color: string;
|
|
37
|
+
};
|
|
38
|
+
'.nv-button:focus, .nv-button:focus-within': {
|
|
39
|
+
outline: string;
|
|
40
|
+
};
|
|
41
|
+
'.nv-button:focus-visible, .nv-button:has(:focus-visible)': {
|
|
42
|
+
outline: string;
|
|
43
|
+
outlineOffset: string;
|
|
44
|
+
};
|
|
45
|
+
'.nv-button:disabled:not([disabled=false])': {
|
|
46
|
+
opacity: string;
|
|
47
|
+
cursor: string;
|
|
48
|
+
boxShadow: string;
|
|
49
|
+
};
|
|
50
|
+
'.nv-button.danger': {
|
|
51
|
+
background: string;
|
|
52
|
+
border: string;
|
|
53
|
+
color: string;
|
|
54
|
+
};
|
|
55
|
+
'.nv-button.danger:hover': {
|
|
56
|
+
background: string;
|
|
57
|
+
border: string;
|
|
58
|
+
color: string;
|
|
59
|
+
};
|
|
60
|
+
'.nv-button.danger:focus, .nv-button.danger:focus-within': {
|
|
61
|
+
outline: string;
|
|
62
|
+
};
|
|
63
|
+
'.nv-button.danger:focus-visible, .nv-button.danger:has(:focus-visible)': {
|
|
64
|
+
outline: string;
|
|
65
|
+
outlineOffset: string;
|
|
66
|
+
};
|
|
67
|
+
'.nv-button.size-xs': {
|
|
68
|
+
padding: string;
|
|
69
|
+
gap: string;
|
|
70
|
+
borderRadius: string;
|
|
71
|
+
lineHeight: string;
|
|
72
|
+
fontSize: string;
|
|
73
|
+
};
|
|
74
|
+
'.nv-button.size-xs nv-icon > svg': {
|
|
75
|
+
width: string;
|
|
76
|
+
height: string;
|
|
77
|
+
strokeWidth: string;
|
|
78
|
+
};
|
|
79
|
+
'.nv-button.size-sm': {
|
|
80
|
+
padding: string;
|
|
81
|
+
gap: string;
|
|
82
|
+
borderRadius: string;
|
|
83
|
+
lineHeight: string;
|
|
84
|
+
fontSize: string;
|
|
85
|
+
};
|
|
86
|
+
'.nv-button.size-sm nv-icon > svg': {
|
|
87
|
+
width: string;
|
|
88
|
+
height: string;
|
|
89
|
+
strokeWidth: string;
|
|
90
|
+
};
|
|
91
|
+
'.nv-button.size-md': {
|
|
92
|
+
padding: string;
|
|
93
|
+
gap: string;
|
|
94
|
+
borderRadius: string;
|
|
95
|
+
lineHeight: string;
|
|
96
|
+
fontSize: string;
|
|
97
|
+
};
|
|
98
|
+
'.nv-button.size-md nv-icon > svg': {
|
|
99
|
+
width: string;
|
|
100
|
+
height: string;
|
|
101
|
+
strokeWidth: string;
|
|
102
|
+
};
|
|
103
|
+
'.nv-button.size-lg': {
|
|
104
|
+
padding: string;
|
|
105
|
+
gap: string;
|
|
106
|
+
borderRadius: string;
|
|
107
|
+
lineHeight: string;
|
|
108
|
+
fontSize: string;
|
|
109
|
+
};
|
|
110
|
+
'.nv-button.size-lg nv-icon > svg': {
|
|
111
|
+
width: string;
|
|
112
|
+
height: string;
|
|
113
|
+
strokeWidth: string;
|
|
114
|
+
};
|
|
115
|
+
'.nv-button.emphasis-high': {
|
|
116
|
+
background: string;
|
|
117
|
+
border: string;
|
|
118
|
+
color: string;
|
|
119
|
+
};
|
|
120
|
+
'.nv-button.emphasis-high:hover': {
|
|
121
|
+
background: string;
|
|
122
|
+
border: string;
|
|
123
|
+
color: string;
|
|
124
|
+
};
|
|
125
|
+
'.nv-button.emphasis-high:focus, .nv-button.emphasis-high:focus-within': {
|
|
126
|
+
outline: string;
|
|
127
|
+
};
|
|
128
|
+
'.nv-button.emphasis-high:focus-visible, .nv-button.emphasis-high:has(:focus-visible)': {
|
|
129
|
+
outline: string;
|
|
130
|
+
outlineOffset: string;
|
|
131
|
+
};
|
|
132
|
+
'.nv-button.emphasis-high:disabled:not([disabled=false])': {
|
|
133
|
+
opacity: string;
|
|
134
|
+
cursor: string;
|
|
135
|
+
boxShadow: string;
|
|
136
|
+
};
|
|
137
|
+
'.nv-button.emphasis-high.danger': {
|
|
138
|
+
background: string;
|
|
139
|
+
border: string;
|
|
140
|
+
color: string;
|
|
141
|
+
};
|
|
142
|
+
'.nv-button.emphasis-high.danger:hover': {
|
|
143
|
+
background: string;
|
|
144
|
+
border: string;
|
|
145
|
+
color: string;
|
|
146
|
+
};
|
|
147
|
+
'.nv-button.emphasis-high.danger:focus, .nv-button.emphasis-high.danger:focus-within': {
|
|
148
|
+
outline: string;
|
|
149
|
+
};
|
|
150
|
+
'.nv-button.emphasis-high.danger:focus-visible, .nv-button.emphasis-high.danger:has(:focus-visible)': {
|
|
151
|
+
outline: string;
|
|
152
|
+
outlineOffset: string;
|
|
153
|
+
};
|
|
154
|
+
'.nv-button.emphasis-medium': {
|
|
155
|
+
background: string;
|
|
156
|
+
border: string;
|
|
157
|
+
color: string;
|
|
158
|
+
};
|
|
159
|
+
'.nv-button.emphasis-medium:hover': {
|
|
160
|
+
background: string;
|
|
161
|
+
border: string;
|
|
162
|
+
color: string;
|
|
163
|
+
};
|
|
164
|
+
'.nv-button.emphasis-medium:focus, .nv-button.emphasis-medium:focus-within': {
|
|
165
|
+
outline: string;
|
|
166
|
+
};
|
|
167
|
+
'.nv-button.emphasis-medium:focus-visible, .nv-button.emphasis-medium:has(:focus-visible)': {
|
|
168
|
+
outline: string;
|
|
169
|
+
outlineOffset: string;
|
|
170
|
+
};
|
|
171
|
+
'.nv-button.emphasis-medium:disabled:not([disabled=false])': {
|
|
172
|
+
opacity: string;
|
|
173
|
+
cursor: string;
|
|
174
|
+
boxShadow: string;
|
|
175
|
+
};
|
|
176
|
+
'.nv-button.emphasis-medium.danger': {
|
|
177
|
+
background: string;
|
|
178
|
+
border: string;
|
|
179
|
+
color: string;
|
|
180
|
+
};
|
|
181
|
+
'.nv-button.emphasis-medium.danger:hover': {
|
|
182
|
+
background: string;
|
|
183
|
+
border: string;
|
|
184
|
+
color: string;
|
|
185
|
+
};
|
|
186
|
+
'.nv-button.emphasis-medium.danger:focus, .nv-button.emphasis-medium.danger:focus-within': {
|
|
187
|
+
outline: string;
|
|
188
|
+
};
|
|
189
|
+
'.nv-button.emphasis-medium.danger:focus-visible, .nv-button.emphasis-medium.danger:has(:focus-visible)': {
|
|
190
|
+
outline: string;
|
|
191
|
+
outlineOffset: string;
|
|
192
|
+
};
|
|
193
|
+
'.nv-button.emphasis-low': {
|
|
194
|
+
background: string;
|
|
195
|
+
border: string;
|
|
196
|
+
color: string;
|
|
197
|
+
};
|
|
198
|
+
'.nv-button.emphasis-low:hover': {
|
|
199
|
+
background: string;
|
|
200
|
+
border: string;
|
|
201
|
+
color: string;
|
|
202
|
+
};
|
|
203
|
+
'.nv-button.emphasis-low:focus, .nv-button.emphasis-low:focus-within': {
|
|
204
|
+
outline: string;
|
|
205
|
+
};
|
|
206
|
+
'.nv-button.emphasis-low:focus-visible, .nv-button.emphasis-low:has(:focus-visible)': {
|
|
207
|
+
outline: string;
|
|
208
|
+
outlineOffset: string;
|
|
209
|
+
};
|
|
210
|
+
'.nv-button.emphasis-low:disabled:not([disabled=false])': {
|
|
211
|
+
opacity: string;
|
|
212
|
+
cursor: string;
|
|
213
|
+
boxShadow: string;
|
|
214
|
+
};
|
|
215
|
+
'.nv-button.emphasis-low.danger': {
|
|
216
|
+
background: string;
|
|
217
|
+
border: string;
|
|
218
|
+
color: string;
|
|
219
|
+
};
|
|
220
|
+
'.nv-button.emphasis-low.danger:hover': {
|
|
221
|
+
background: string;
|
|
222
|
+
border: string;
|
|
223
|
+
color: string;
|
|
224
|
+
};
|
|
225
|
+
'.nv-button.emphasis-low.danger:focus, .nv-button.emphasis-low.danger:focus-within': {
|
|
226
|
+
outline: string;
|
|
227
|
+
};
|
|
228
|
+
'.nv-button.emphasis-low.danger:focus-visible, .nv-button.emphasis-low.danger:has(:focus-visible)': {
|
|
229
|
+
outline: string;
|
|
230
|
+
outlineOffset: string;
|
|
231
|
+
};
|
|
232
|
+
'.nv-button.emphasis-lower': {
|
|
233
|
+
background: string;
|
|
234
|
+
border: string;
|
|
235
|
+
color: string;
|
|
236
|
+
};
|
|
237
|
+
'.nv-button.emphasis-lower:hover': {
|
|
238
|
+
background: string;
|
|
239
|
+
border: string;
|
|
240
|
+
color: string;
|
|
241
|
+
};
|
|
242
|
+
'.nv-button.emphasis-lower:focus, .nv-button.emphasis-lower:focus-within': {
|
|
243
|
+
outline: string;
|
|
244
|
+
};
|
|
245
|
+
'.nv-button.emphasis-lower:focus-visible, .nv-button.emphasis-lower:has(:focus-visible)': {
|
|
246
|
+
outline: string;
|
|
247
|
+
outlineOffset: string;
|
|
248
|
+
};
|
|
249
|
+
'.nv-button.emphasis-lower:disabled:not([disabled=false])': {
|
|
250
|
+
opacity: string;
|
|
251
|
+
cursor: string;
|
|
252
|
+
boxShadow: string;
|
|
253
|
+
};
|
|
254
|
+
'.nv-button.emphasis-lower.danger': {
|
|
255
|
+
background: string;
|
|
256
|
+
border: string;
|
|
257
|
+
color: string;
|
|
258
|
+
};
|
|
259
|
+
'.nv-button.emphasis-lower.danger:hover': {
|
|
260
|
+
background: string;
|
|
261
|
+
border: string;
|
|
262
|
+
color: string;
|
|
263
|
+
};
|
|
264
|
+
'.nv-button.emphasis-lower.danger:focus, .nv-button.emphasis-lower.danger:focus-within': {
|
|
265
|
+
outline: string;
|
|
266
|
+
};
|
|
267
|
+
'.nv-button.emphasis-lower.danger:focus-visible, .nv-button.emphasis-lower.danger:has(:focus-visible)': {
|
|
268
|
+
outline: string;
|
|
269
|
+
outlineOffset: string;
|
|
270
|
+
};
|
|
271
|
+
'.nv-button.fluid': {
|
|
272
|
+
width: string;
|
|
273
|
+
};
|
|
274
|
+
'.nv-link': {
|
|
275
|
+
color: string;
|
|
276
|
+
fontWeight: string;
|
|
277
|
+
textDecoration: string;
|
|
278
|
+
};
|
|
279
|
+
'.nv-link:hover': {
|
|
280
|
+
color: string;
|
|
281
|
+
};
|
|
282
|
+
'.nv-tabs .nv-link': {
|
|
283
|
+
borderColor: string;
|
|
284
|
+
};
|
|
285
|
+
'.nv-tabs .nv-link:hover,\n.nv-tabs .selected': {
|
|
286
|
+
borderColor: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated
|
|
4
|
+
* @ref generate-tailwind-components.ts
|
|
5
|
+
*/
|
|
6
|
+
export const NOVA_TAILWIND_COMPONENTS = {
|
|
7
|
+
'.nv-button': {
|
|
8
|
+
'textDecoration': 'none',
|
|
9
|
+
'display': 'inline-flex',
|
|
10
|
+
'justifyContent': 'center',
|
|
11
|
+
'alignItems': 'center',
|
|
12
|
+
'fontStyle': 'normal',
|
|
13
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
14
|
+
'fontFamily': '\'TT Norms Pro\', sans-serif',
|
|
15
|
+
'transition': 'background-color 150ms ease-out',
|
|
16
|
+
'userSelect': 'none',
|
|
17
|
+
'cursor': 'pointer',
|
|
18
|
+
'height': 'fit-content',
|
|
19
|
+
'width': 'fit-content',
|
|
20
|
+
'padding': 'var(--button-md-padding-y) var(--button-md-padding-x)',
|
|
21
|
+
'gap': 'var(--button-md-gap)',
|
|
22
|
+
'borderRadius': 'var(--button-md-border-radius)',
|
|
23
|
+
'lineHeight': 'var(--button-md-line-height)',
|
|
24
|
+
'fontSize': 'var(--button-md-font-size)',
|
|
25
|
+
'background': 'var(--components-button-medium-background)',
|
|
26
|
+
'border': '1px solid var(--components-button-medium-border)',
|
|
27
|
+
'color': 'var(--components-button-medium-text)'
|
|
28
|
+
},
|
|
29
|
+
'.nv-button nv-icon > svg': {
|
|
30
|
+
'width': 'var(--spacing-5)',
|
|
31
|
+
'height': 'var(--spacing-5)',
|
|
32
|
+
'strokeWidth': '1.6px'
|
|
33
|
+
},
|
|
34
|
+
'.nv-button:hover': {
|
|
35
|
+
'background': 'var(--components-button-medium-background-hover)',
|
|
36
|
+
'border': '1px solid var(--components-button-medium-border)',
|
|
37
|
+
'color': 'var(--components-button-medium-text-hover)'
|
|
38
|
+
},
|
|
39
|
+
'.nv-button:focus, .nv-button:focus-within': {
|
|
40
|
+
'outline': 'none'
|
|
41
|
+
},
|
|
42
|
+
'.nv-button:focus-visible, .nv-button:has(:focus-visible)': {
|
|
43
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-brand)',
|
|
44
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
45
|
+
},
|
|
46
|
+
'.nv-button:disabled:not([disabled=false])': {
|
|
47
|
+
'opacity': '0.5',
|
|
48
|
+
'cursor': 'not-allowed',
|
|
49
|
+
'boxShadow': 'none'
|
|
50
|
+
},
|
|
51
|
+
'.nv-button.danger': {
|
|
52
|
+
'background': 'var(--components-button-destructive-high-background)',
|
|
53
|
+
'border': '1px solid unset',
|
|
54
|
+
'color': 'var(--components-button-destructive-high-text)'
|
|
55
|
+
},
|
|
56
|
+
'.nv-button.danger:hover': {
|
|
57
|
+
'background': 'var(--components-button-destructive-high-background-hover)',
|
|
58
|
+
'border': '1px solid unset',
|
|
59
|
+
'color': 'var(--components-button-destructive-high-text-hover)'
|
|
60
|
+
},
|
|
61
|
+
'.nv-button.danger:focus, .nv-button.danger:focus-within': {
|
|
62
|
+
'outline': 'none'
|
|
63
|
+
},
|
|
64
|
+
'.nv-button.danger:focus-visible, .nv-button.danger:has(:focus-visible)': {
|
|
65
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-destructive)',
|
|
66
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
67
|
+
},
|
|
68
|
+
'.nv-button.size-xs': {
|
|
69
|
+
'padding': 'var(--button-xs-padding-y) var(--button-xs-padding-x)',
|
|
70
|
+
'gap': 'var(--button-xs-gap)',
|
|
71
|
+
'borderRadius': 'var(--button-xs-border-radius)',
|
|
72
|
+
'lineHeight': 'var(--button-xs-line-height)',
|
|
73
|
+
'fontSize': 'var(--button-xs-font-size)'
|
|
74
|
+
},
|
|
75
|
+
'.nv-button.size-xs nv-icon > svg': {
|
|
76
|
+
'width': 'var(--spacing-3)',
|
|
77
|
+
'height': 'var(--spacing-3)',
|
|
78
|
+
'strokeWidth': '1.2px'
|
|
79
|
+
},
|
|
80
|
+
'.nv-button.size-sm': {
|
|
81
|
+
'padding': 'var(--button-sm-padding-y) var(--button-sm-padding-x)',
|
|
82
|
+
'gap': 'var(--button-sm-gap)',
|
|
83
|
+
'borderRadius': 'var(--button-sm-border-radius)',
|
|
84
|
+
'lineHeight': 'var(--button-sm-line-height)',
|
|
85
|
+
'fontSize': 'var(--button-sm-font-size)'
|
|
86
|
+
},
|
|
87
|
+
'.nv-button.size-sm nv-icon > svg': {
|
|
88
|
+
'width': 'var(--spacing-4)',
|
|
89
|
+
'height': 'var(--spacing-4)',
|
|
90
|
+
'strokeWidth': '1.5px'
|
|
91
|
+
},
|
|
92
|
+
'.nv-button.size-md': {
|
|
93
|
+
'padding': 'var(--button-md-padding-y) var(--button-md-padding-x)',
|
|
94
|
+
'gap': 'var(--button-md-gap)',
|
|
95
|
+
'borderRadius': 'var(--button-md-border-radius)',
|
|
96
|
+
'lineHeight': 'var(--button-md-line-height)',
|
|
97
|
+
'fontSize': 'var(--button-md-font-size)'
|
|
98
|
+
},
|
|
99
|
+
'.nv-button.size-md nv-icon > svg': {
|
|
100
|
+
'width': 'var(--spacing-5)',
|
|
101
|
+
'height': 'var(--spacing-5)',
|
|
102
|
+
'strokeWidth': '1.6px'
|
|
103
|
+
},
|
|
104
|
+
'.nv-button.size-lg': {
|
|
105
|
+
'padding': 'var(--button-lg-padding-y) var(--button-lg-padding-x)',
|
|
106
|
+
'gap': 'var(--button-lg-gap)',
|
|
107
|
+
'borderRadius': 'var(--button-lg-border-radius)',
|
|
108
|
+
'lineHeight': 'var(--button-lg-line-height)',
|
|
109
|
+
'fontSize': 'var(--button-lg-font-size)'
|
|
110
|
+
},
|
|
111
|
+
'.nv-button.size-lg nv-icon > svg': {
|
|
112
|
+
'width': 'var(--spacing-6)',
|
|
113
|
+
'height': 'var(--spacing-6)',
|
|
114
|
+
'strokeWidth': '1.8px'
|
|
115
|
+
},
|
|
116
|
+
'.nv-button.emphasis-high': {
|
|
117
|
+
'background': 'var(--components-button-high-background)',
|
|
118
|
+
'border': '1px solid var(--components-button-high-border)',
|
|
119
|
+
'color': 'var(--components-button-high-text)'
|
|
120
|
+
},
|
|
121
|
+
'.nv-button.emphasis-high:hover': {
|
|
122
|
+
'background': 'var(--components-button-high-background-hover)',
|
|
123
|
+
'border': '1px solid var(--components-button-high-border)',
|
|
124
|
+
'color': 'var(--components-button-high-text-hover)'
|
|
125
|
+
},
|
|
126
|
+
'.nv-button.emphasis-high:focus, .nv-button.emphasis-high:focus-within': {
|
|
127
|
+
'outline': 'none'
|
|
128
|
+
},
|
|
129
|
+
'.nv-button.emphasis-high:focus-visible, .nv-button.emphasis-high:has(:focus-visible)': {
|
|
130
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-brand)',
|
|
131
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
132
|
+
},
|
|
133
|
+
'.nv-button.emphasis-high:disabled:not([disabled=false])': {
|
|
134
|
+
'opacity': '0.5',
|
|
135
|
+
'cursor': 'not-allowed',
|
|
136
|
+
'boxShadow': 'none'
|
|
137
|
+
},
|
|
138
|
+
'.nv-button.emphasis-high.danger': {
|
|
139
|
+
'background': 'var(--components-button-destructive-high-background)',
|
|
140
|
+
'border': '1px solid unset',
|
|
141
|
+
'color': 'var(--components-button-destructive-high-text)'
|
|
142
|
+
},
|
|
143
|
+
'.nv-button.emphasis-high.danger:hover': {
|
|
144
|
+
'background': 'var(--components-button-destructive-high-background-hover)',
|
|
145
|
+
'border': '1px solid unset',
|
|
146
|
+
'color': 'var(--components-button-destructive-high-text-hover)'
|
|
147
|
+
},
|
|
148
|
+
'.nv-button.emphasis-high.danger:focus, .nv-button.emphasis-high.danger:focus-within': {
|
|
149
|
+
'outline': 'none'
|
|
150
|
+
},
|
|
151
|
+
'.nv-button.emphasis-high.danger:focus-visible, .nv-button.emphasis-high.danger:has(:focus-visible)': {
|
|
152
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-destructive)',
|
|
153
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
154
|
+
},
|
|
155
|
+
'.nv-button.emphasis-medium': {
|
|
156
|
+
'background': 'var(--components-button-medium-background)',
|
|
157
|
+
'border': '1px solid var(--components-button-medium-border)',
|
|
158
|
+
'color': 'var(--components-button-medium-text)'
|
|
159
|
+
},
|
|
160
|
+
'.nv-button.emphasis-medium:hover': {
|
|
161
|
+
'background': 'var(--components-button-medium-background-hover)',
|
|
162
|
+
'border': '1px solid var(--components-button-medium-border)',
|
|
163
|
+
'color': 'var(--components-button-medium-text-hover)'
|
|
164
|
+
},
|
|
165
|
+
'.nv-button.emphasis-medium:focus, .nv-button.emphasis-medium:focus-within': {
|
|
166
|
+
'outline': 'none'
|
|
167
|
+
},
|
|
168
|
+
'.nv-button.emphasis-medium:focus-visible, .nv-button.emphasis-medium:has(:focus-visible)': {
|
|
169
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-brand)',
|
|
170
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
171
|
+
},
|
|
172
|
+
'.nv-button.emphasis-medium:disabled:not([disabled=false])': {
|
|
173
|
+
'opacity': '0.5',
|
|
174
|
+
'cursor': 'not-allowed',
|
|
175
|
+
'boxShadow': 'none'
|
|
176
|
+
},
|
|
177
|
+
'.nv-button.emphasis-medium.danger': {
|
|
178
|
+
'background': 'var(--components-button-destructive-medium-background)',
|
|
179
|
+
'border': '1px solid var(--components-button-destructive-medium-border)',
|
|
180
|
+
'color': 'var(--components-button-destructive-medium-text)'
|
|
181
|
+
},
|
|
182
|
+
'.nv-button.emphasis-medium.danger:hover': {
|
|
183
|
+
'background': 'var(--components-button-destructive-medium-background-hover)',
|
|
184
|
+
'border': '1px solid var(--components-button-destructive-medium-border)',
|
|
185
|
+
'color': 'var(--components-button-destructive-medium-text-hover)'
|
|
186
|
+
},
|
|
187
|
+
'.nv-button.emphasis-medium.danger:focus, .nv-button.emphasis-medium.danger:focus-within': {
|
|
188
|
+
'outline': 'none'
|
|
189
|
+
},
|
|
190
|
+
'.nv-button.emphasis-medium.danger:focus-visible, .nv-button.emphasis-medium.danger:has(:focus-visible)': {
|
|
191
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-destructive)',
|
|
192
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
193
|
+
},
|
|
194
|
+
'.nv-button.emphasis-low': {
|
|
195
|
+
'background': 'var(--components-button-low-background)',
|
|
196
|
+
'border': '1px solid var(--components-button-low-border)',
|
|
197
|
+
'color': 'var(--components-button-low-text)'
|
|
198
|
+
},
|
|
199
|
+
'.nv-button.emphasis-low:hover': {
|
|
200
|
+
'background': 'var(--components-button-low-background-hover)',
|
|
201
|
+
'border': '1px solid var(--components-button-low-border)',
|
|
202
|
+
'color': 'var(--components-button-low-text-hover)'
|
|
203
|
+
},
|
|
204
|
+
'.nv-button.emphasis-low:focus, .nv-button.emphasis-low:focus-within': {
|
|
205
|
+
'outline': 'none'
|
|
206
|
+
},
|
|
207
|
+
'.nv-button.emphasis-low:focus-visible, .nv-button.emphasis-low:has(:focus-visible)': {
|
|
208
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-brand)',
|
|
209
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
210
|
+
},
|
|
211
|
+
'.nv-button.emphasis-low:disabled:not([disabled=false])': {
|
|
212
|
+
'opacity': '0.5',
|
|
213
|
+
'cursor': 'not-allowed',
|
|
214
|
+
'boxShadow': 'none'
|
|
215
|
+
},
|
|
216
|
+
'.nv-button.emphasis-low.danger': {
|
|
217
|
+
'background': 'var(--components-button-destructive-low-background)',
|
|
218
|
+
'border': '1px solid var(--components-button-destructive-low-border)',
|
|
219
|
+
'color': 'var(--components-button-destructive-low-text)'
|
|
220
|
+
},
|
|
221
|
+
'.nv-button.emphasis-low.danger:hover': {
|
|
222
|
+
'background': 'var(--components-button-destructive-low-background-hover)',
|
|
223
|
+
'border': '1px solid var(--components-button-destructive-low-border)',
|
|
224
|
+
'color': 'var(--components-button-destructive-low-text-hover)'
|
|
225
|
+
},
|
|
226
|
+
'.nv-button.emphasis-low.danger:focus, .nv-button.emphasis-low.danger:focus-within': {
|
|
227
|
+
'outline': 'none'
|
|
228
|
+
},
|
|
229
|
+
'.nv-button.emphasis-low.danger:focus-visible, .nv-button.emphasis-low.danger:has(:focus-visible)': {
|
|
230
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-destructive)',
|
|
231
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
232
|
+
},
|
|
233
|
+
'.nv-button.emphasis-lower': {
|
|
234
|
+
'background': 'var(--components-button-lower-background)',
|
|
235
|
+
'border': '1px solid var(--components-button-lower-border)',
|
|
236
|
+
'color': 'var(--components-button-lower-text)'
|
|
237
|
+
},
|
|
238
|
+
'.nv-button.emphasis-lower:hover': {
|
|
239
|
+
'background': 'var(--components-button-lower-background-hover)',
|
|
240
|
+
'border': '1px solid var(--components-button-lower-border)',
|
|
241
|
+
'color': 'var(--components-button-lower-text-hover)'
|
|
242
|
+
},
|
|
243
|
+
'.nv-button.emphasis-lower:focus, .nv-button.emphasis-lower:focus-within': {
|
|
244
|
+
'outline': 'none'
|
|
245
|
+
},
|
|
246
|
+
'.nv-button.emphasis-lower:focus-visible, .nv-button.emphasis-lower:has(:focus-visible)': {
|
|
247
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-brand)',
|
|
248
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
249
|
+
},
|
|
250
|
+
'.nv-button.emphasis-lower:disabled:not([disabled=false])': {
|
|
251
|
+
'opacity': '0.5',
|
|
252
|
+
'cursor': 'not-allowed',
|
|
253
|
+
'boxShadow': 'none'
|
|
254
|
+
},
|
|
255
|
+
'.nv-button.emphasis-lower.danger': {
|
|
256
|
+
'background': 'var(--components-button-destructive-lower-background)',
|
|
257
|
+
'border': '1px solid var(--components-button-destructive-lower-border)',
|
|
258
|
+
'color': 'var(--components-button-destructive-lower-text)'
|
|
259
|
+
},
|
|
260
|
+
'.nv-button.emphasis-lower.danger:hover': {
|
|
261
|
+
'background': 'var(--components-button-destructive-lower-background-hover)',
|
|
262
|
+
'border': '1px solid var(--components-button-destructive-lower-border)',
|
|
263
|
+
'color': 'var(--components-button-destructive-lower-text-hover)'
|
|
264
|
+
},
|
|
265
|
+
'.nv-button.emphasis-lower.danger:focus, .nv-button.emphasis-lower.danger:focus-within': {
|
|
266
|
+
'outline': 'none'
|
|
267
|
+
},
|
|
268
|
+
'.nv-button.emphasis-lower.danger:focus-visible, .nv-button.emphasis-lower.danger:has(:focus-visible)': {
|
|
269
|
+
'outline': 'var(--focus-outline-stroke) solid var(--color-focus-destructive)',
|
|
270
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
271
|
+
},
|
|
272
|
+
'.nv-button.fluid': {
|
|
273
|
+
'width': '100%'
|
|
274
|
+
},
|
|
275
|
+
'.nv-link': {
|
|
276
|
+
'color': 'var(--color-interaction-link-high-text)',
|
|
277
|
+
'fontWeight': '500',
|
|
278
|
+
'textDecoration': 'none'
|
|
279
|
+
},
|
|
280
|
+
'.nv-link:hover': {
|
|
281
|
+
'color': 'var(--color-interaction-link-high-text-hover)'
|
|
282
|
+
},
|
|
283
|
+
'.nv-tabs .nv-link': {
|
|
284
|
+
'borderColor': 'transparent'
|
|
285
|
+
},
|
|
286
|
+
'.nv-tabs .nv-link:hover,\n.nv-tabs .selected': {
|
|
287
|
+
'borderColor': 'var(--color-interaction-container-branded-high-border)'
|
|
288
|
+
}
|
|
289
|
+
};
|