@nova-design-system/nova-base 3.25.0 → 3.27.0
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/assets/icons/icon-sprite.svg +1 -1
- package/dist/cjs/generated/nova-tailwind-components.js +36 -0
- package/dist/cjs/plugin/nova-plugin.js +32 -8
- package/dist/css/nova-utils.css +12 -0
- package/dist/generated/nova-tailwind-components.d.ts +36 -0
- package/dist/generated/nova-tailwind-components.js +36 -0
- package/dist/plugin/nova-plugin.js +32 -8
- package/generated/figma-to-tailwind-mapping.json +2344 -0
- package/generated/nova-tailwind-components.ts +698 -0
- package/generated/nova-tailwind-tokens.ts +590 -0
- package/package.json +5 -2
|
@@ -0,0 +1,698 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Do not edit directly, this file was auto-generated
|
|
5
|
+
* @ref generate-tailwind-components.ts
|
|
6
|
+
*/
|
|
7
|
+
export const NOVA_TAILWIND_COMPONENTS = {
|
|
8
|
+
'nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range': {
|
|
9
|
+
'background': 'var(--components-slider-track-filled-hover)'
|
|
10
|
+
},
|
|
11
|
+
'nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb': {
|
|
12
|
+
'borderColor': 'var(--components-slider-track-filled-hover)'
|
|
13
|
+
},
|
|
14
|
+
'nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range': {
|
|
15
|
+
'background': 'var(--components-slider-track-filled-focus)'
|
|
16
|
+
},
|
|
17
|
+
'nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb': {
|
|
18
|
+
'borderColor': 'var(--components-slider-track-filled-focus)'
|
|
19
|
+
},
|
|
20
|
+
'nv-fieldslider[error] .slider-container .track-container .track .track-range': {
|
|
21
|
+
'background': 'var(--components-slider-track-filled-error)'
|
|
22
|
+
},
|
|
23
|
+
'nv-fieldslider[error] .slider-container .track-container .track .thumb': {
|
|
24
|
+
'borderColor': 'var(--components-slider-track-filled-error)'
|
|
25
|
+
},
|
|
26
|
+
'nv-fieldslider[error] .slider-container .track-container .track .thumb:hover': {
|
|
27
|
+
'borderColor': 'var(--components-slider-track-filled-error)',
|
|
28
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error)',
|
|
29
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)',
|
|
30
|
+
'backgroundColor': 'var(--components-slider-handler-background-error)'
|
|
31
|
+
},
|
|
32
|
+
'nv-fieldslider[error] .slider-container .track-container .track .thumb:focus': {
|
|
33
|
+
'borderColor': 'var(--components-slider-track-filled-error)',
|
|
34
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error)',
|
|
35
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)',
|
|
36
|
+
'backgroundColor': 'var(--components-slider-track-filled-error)'
|
|
37
|
+
},
|
|
38
|
+
'nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range': {
|
|
39
|
+
'background': 'var(--components-slider-track-filled-error)'
|
|
40
|
+
},
|
|
41
|
+
'nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb': {
|
|
42
|
+
'borderColor': 'var(--components-slider-track-filled-error)'
|
|
43
|
+
},
|
|
44
|
+
'.nv-fieldtext': {
|
|
45
|
+
'--nv-field-border-default': 'var(--components-form-field-border-default)',
|
|
46
|
+
'--nv-field-border-hover': 'var(--components-form-field-border-hover)',
|
|
47
|
+
'--nv-field-border-focus': 'var(--components-form-field-border-focus)',
|
|
48
|
+
'--nv-field-border-disabled': 'var(--components-form-field-border-default)',
|
|
49
|
+
'--nv-field-border-readonly': 'var(--components-form-field-border-default)',
|
|
50
|
+
'--nv-field-focus-box-shadow': 'var(--color-focus-brand)',
|
|
51
|
+
'--nv-field-background': 'var(--components-form-field-background-default)',
|
|
52
|
+
'display': 'flex',
|
|
53
|
+
'flexDirection': 'column',
|
|
54
|
+
'alignItems': 'flex-start',
|
|
55
|
+
'gap': 'var(--form-gap-y)',
|
|
56
|
+
'boxSizing': 'border-box',
|
|
57
|
+
'maxWidth': '480px'
|
|
58
|
+
},
|
|
59
|
+
'.nv-fieldtext.fluid': {
|
|
60
|
+
'maxWidth': 'unset'
|
|
61
|
+
},
|
|
62
|
+
'.nv-fieldtext.readonly': {
|
|
63
|
+
'--nv-field-border-default': 'var(--components-form-field-border-readonly)',
|
|
64
|
+
'--nv-field-border-hover': 'var(--nv-field-border-default)',
|
|
65
|
+
'--nv-field-border-focus': 'var(--components-form-field-border-focus)',
|
|
66
|
+
'--nv-field-border-disabled': 'var(--nv-field-border-default)',
|
|
67
|
+
'--nv-field-border-readonly': 'var(--nv-field-border-default)',
|
|
68
|
+
'--nv-field-background': 'var(--components-form-field-background-readonly)'
|
|
69
|
+
},
|
|
70
|
+
'.nv-fieldtext.error': {
|
|
71
|
+
'--nv-field-border-default': 'var(--components-form-field-border-error)',
|
|
72
|
+
'--nv-field-border-hover': 'var(--nv-field-border-default)',
|
|
73
|
+
'--nv-field-border-focus': 'var(--nv-field-border-default)',
|
|
74
|
+
'--nv-field-border-disabled': 'var(--nv-field-border-default)',
|
|
75
|
+
'--nv-field-border-readonly': 'var(--nv-field-border-default)',
|
|
76
|
+
'--nv-field-focus-box-shadow': 'var(--color-focus-destructive-in-field)'
|
|
77
|
+
},
|
|
78
|
+
'.nv-fieldtext.success': {
|
|
79
|
+
'--nv-field-border-default': 'var(--components-form-field-border-success)',
|
|
80
|
+
'--nv-field-border-hover': 'var(--nv-field-border-default)',
|
|
81
|
+
'--nv-field-border-focus': 'var(--nv-field-border-default)',
|
|
82
|
+
'--nv-field-border-disabled': 'var(--nv-field-border-default)',
|
|
83
|
+
'--nv-field-border-readonly': 'var(--nv-field-border-default)',
|
|
84
|
+
'--nv-field-focus-box-shadow': 'var(--color-focus-success)'
|
|
85
|
+
},
|
|
86
|
+
'.nv-fieldtext.required label::after': {
|
|
87
|
+
'content': '\'*\'',
|
|
88
|
+
'color': 'var(--components-form-text-required)',
|
|
89
|
+
'fontWeight': 'var(--font-weight-high-emphasis)'
|
|
90
|
+
},
|
|
91
|
+
'.nv-fieldtext > label': {
|
|
92
|
+
'display': 'flex',
|
|
93
|
+
'alignItems': 'center',
|
|
94
|
+
'gap': 'var(--form-label-gap)',
|
|
95
|
+
'alignSelf': 'stretch',
|
|
96
|
+
'color': 'var(--components-form-text-label-default)',
|
|
97
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
98
|
+
'fontSize': 'var(--form-label-font-size)',
|
|
99
|
+
'fontStyle': 'normal',
|
|
100
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
101
|
+
'lineHeight': 'var(--form-label-line-height)'
|
|
102
|
+
},
|
|
103
|
+
'.nv-fieldtext > .input-wrapper': {
|
|
104
|
+
'display': 'flex',
|
|
105
|
+
'flexWrap': 'wrap',
|
|
106
|
+
'gap': 'var(--form-gap-x)',
|
|
107
|
+
'alignItems': 'stretch',
|
|
108
|
+
'alignSelf': 'stretch'
|
|
109
|
+
},
|
|
110
|
+
'.nv-fieldtext > .input-wrapper .input-container': {
|
|
111
|
+
'display': 'flex',
|
|
112
|
+
'flexGrow': '1',
|
|
113
|
+
'justifyContent': 'center',
|
|
114
|
+
'alignItems': 'center',
|
|
115
|
+
'alignSelf': 'stretch',
|
|
116
|
+
'borderRadius': 'var(--form-field-radius)',
|
|
117
|
+
'borderWidth': '1px',
|
|
118
|
+
'borderStyle': 'solid',
|
|
119
|
+
'borderColor': 'var(--nv-field-border-default)',
|
|
120
|
+
'opacity': 'var(--components-form-opacity-default, 1)',
|
|
121
|
+
'background': 'var(--nv-field-background)',
|
|
122
|
+
'transition': 'all 150ms ease-out'
|
|
123
|
+
},
|
|
124
|
+
'.nv-fieldtext > .input-wrapper .input-container:hover': {
|
|
125
|
+
'borderColor': 'var(--nv-field-border-hover)'
|
|
126
|
+
},
|
|
127
|
+
'.nv-fieldtext > .input-wrapper .input-container:focus-within, .nv-fieldtext > .input-wrapper .input-container:focus-within:hover, .nv-fieldtext > .input-wrapper .input-container:focus, .nv-fieldtext > .input-wrapper .input-container:focus:hover': {
|
|
128
|
+
'borderColor': 'var(--nv-field-border-focus)',
|
|
129
|
+
'boxShadow': '0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)'
|
|
130
|
+
},
|
|
131
|
+
'.nv-fieldtext > .input-wrapper .input-container:has(input:read-only)': {
|
|
132
|
+
'backgroundColor': 'var(--components-form-field-background-readonly)',
|
|
133
|
+
'borderColor': 'var(--nv-field-border-readonly)'
|
|
134
|
+
},
|
|
135
|
+
'.nv-fieldtext > .input-wrapper .input-container:has(input:disabled)': {
|
|
136
|
+
'opacity': '0.5',
|
|
137
|
+
'backgroundColor': 'var(--components-form-field-background-disabled)',
|
|
138
|
+
'borderColor': 'var(--nv-field-border-disabled)'
|
|
139
|
+
},
|
|
140
|
+
'.nv-fieldtext > .input-wrapper .input-container > .leading-input': {
|
|
141
|
+
'display': 'block',
|
|
142
|
+
'marginLeft': 'var(--form-field-padding-x)'
|
|
143
|
+
},
|
|
144
|
+
'.nv-fieldtext > .input-wrapper .input-container input': {
|
|
145
|
+
'display': 'flex',
|
|
146
|
+
'alignItems': 'center',
|
|
147
|
+
'flex': '1 0 0',
|
|
148
|
+
'overflow': 'hidden',
|
|
149
|
+
'backgroundColor': 'transparent',
|
|
150
|
+
'color': 'var(--components-form-field-content-text)',
|
|
151
|
+
'padding': 'calc(var(--form-field-padding-y) - 1px) var(--form-field-padding-x)',
|
|
152
|
+
'fontSize': 'var(--form-field-font-size)',
|
|
153
|
+
'fontStyle': 'normal',
|
|
154
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
155
|
+
'lineHeight': 'var(--form-field-line-height)',
|
|
156
|
+
'width': '100%'
|
|
157
|
+
},
|
|
158
|
+
'.nv-fieldtext > .input-wrapper .input-container input:focus': {
|
|
159
|
+
'outline': 'none'
|
|
160
|
+
},
|
|
161
|
+
'.nv-fieldtext > .input-wrapper .input-container input::placeholder': {
|
|
162
|
+
'overflow': 'hidden',
|
|
163
|
+
'color': 'var(--components-form-field-content-placeholder)',
|
|
164
|
+
'textOverflow': 'ellipsis',
|
|
165
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
166
|
+
'fontSize': 'var(--form-field-font-size)',
|
|
167
|
+
'fontStyle': 'normal',
|
|
168
|
+
'fontWeight': 'var(--font-weight-low-emphasis)',
|
|
169
|
+
'lineHeight': 'var(--form-field-line-height)'
|
|
170
|
+
},
|
|
171
|
+
'.nv-fieldtext > .input-wrapper .input-container input[type=password]::-ms-clear, .nv-fieldtext > .input-wrapper .input-container input[type=password]::-ms-reveal': {
|
|
172
|
+
'display': 'none',
|
|
173
|
+
'width': '0',
|
|
174
|
+
'height': '0'
|
|
175
|
+
},
|
|
176
|
+
'.nv-fieldtext > .input-wrapper .input-container nv-icon.validation': {
|
|
177
|
+
'color': 'var(--nv-field-border-default)',
|
|
178
|
+
'marginRight': 'var(--form-gap-x)'
|
|
179
|
+
},
|
|
180
|
+
'.nv-fieldtext > .input-wrapper .input-container > .trailing-input': {
|
|
181
|
+
'display': 'block',
|
|
182
|
+
'marginRight': 'var(--form-field-padding-x)'
|
|
183
|
+
},
|
|
184
|
+
'.nv-fieldtext > .description': {
|
|
185
|
+
'display': 'flex',
|
|
186
|
+
'alignItems': 'center',
|
|
187
|
+
'alignSelf': 'stretch',
|
|
188
|
+
'gap': 'var(--spacing-1)',
|
|
189
|
+
'color': 'var(--components-form-text-description-default)',
|
|
190
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
191
|
+
'fontSize': 'var(--form-description-font-size)',
|
|
192
|
+
'fontStyle': 'normal',
|
|
193
|
+
'lineHeight': 'var(--form-description-line-height)'
|
|
194
|
+
},
|
|
195
|
+
'.nv-fieldtext > .error-description': {
|
|
196
|
+
'display': 'flex',
|
|
197
|
+
'alignItems': 'center',
|
|
198
|
+
'alignSelf': 'stretch',
|
|
199
|
+
'gap': 'var(--spacing-1)',
|
|
200
|
+
'color': [
|
|
201
|
+
'var(--components-form-text-description-default)',
|
|
202
|
+
'var(--components-form-text-description-error)'
|
|
203
|
+
],
|
|
204
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
205
|
+
'fontSize': 'var(--form-description-font-size)',
|
|
206
|
+
'fontStyle': 'normal',
|
|
207
|
+
'lineHeight': 'var(--form-description-line-height)'
|
|
208
|
+
},
|
|
209
|
+
'.nv-button': {
|
|
210
|
+
'textDecoration': 'none',
|
|
211
|
+
'display': 'inline-flex',
|
|
212
|
+
'justifyContent': 'center',
|
|
213
|
+
'alignItems': 'center',
|
|
214
|
+
'fontStyle': 'normal',
|
|
215
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
216
|
+
'fontFamily': 'var(--font-family-default), var(--font-family-fallback), sans-serif',
|
|
217
|
+
'transition': 'background-color 150ms ease-out',
|
|
218
|
+
'userSelect': 'none',
|
|
219
|
+
'cursor': 'pointer',
|
|
220
|
+
'height': [
|
|
221
|
+
'fit-content',
|
|
222
|
+
'var(--button-md-height)'
|
|
223
|
+
],
|
|
224
|
+
'width': 'fit-content',
|
|
225
|
+
'padding': 'var(--button-md-padding-y) var(--button-md-padding-x)',
|
|
226
|
+
'gap': 'var(--button-md-gap)',
|
|
227
|
+
'borderRadius': 'var(--button-md-border-radius)',
|
|
228
|
+
'lineHeight': 'var(--button-md-line-height)',
|
|
229
|
+
'fontSize': 'var(--button-md-font-size)',
|
|
230
|
+
'background': 'var(--components-button-medium-background)',
|
|
231
|
+
'border': '1px solid var(--components-button-medium-border)',
|
|
232
|
+
'color': 'var(--components-button-medium-text)'
|
|
233
|
+
},
|
|
234
|
+
'.nv-button nv-icon > svg': {
|
|
235
|
+
'width': 'var(--spacing-5)',
|
|
236
|
+
'height': 'var(--spacing-5)',
|
|
237
|
+
'strokeWidth': '1.6px'
|
|
238
|
+
},
|
|
239
|
+
'.nv-button:hover': {
|
|
240
|
+
'background': 'var(--components-button-medium-background-hover)',
|
|
241
|
+
'border': '1px solid var(--components-button-medium-border)',
|
|
242
|
+
'color': 'var(--components-button-medium-text-hover)'
|
|
243
|
+
},
|
|
244
|
+
'.nv-button:active': {
|
|
245
|
+
'background': 'var(--components-button-medium-background-active)',
|
|
246
|
+
'border': '1px solid var(--components-button-medium-border-active)',
|
|
247
|
+
'color': 'var(--components-button-medium-text-active)'
|
|
248
|
+
},
|
|
249
|
+
'.nv-button:focus, .nv-button:focus-within': {
|
|
250
|
+
'outline': 'none'
|
|
251
|
+
},
|
|
252
|
+
'.nv-button:focus-visible, .nv-button:has(:focus-visible)': {
|
|
253
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand)',
|
|
254
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
255
|
+
},
|
|
256
|
+
'.nv-button:disabled:not([disabled=false])': {
|
|
257
|
+
'opacity': '0.5',
|
|
258
|
+
'cursor': 'not-allowed',
|
|
259
|
+
'boxShadow': 'none'
|
|
260
|
+
},
|
|
261
|
+
'.nv-button.active': {
|
|
262
|
+
'background': 'var(--components-button-medium-background-active)',
|
|
263
|
+
'border': '1px solid var(--components-button-medium-border-active)',
|
|
264
|
+
'color': 'var(--components-button-medium-text-active)'
|
|
265
|
+
},
|
|
266
|
+
'.nv-button.danger': {
|
|
267
|
+
'background': 'var(--components-button-destructive-high-background)',
|
|
268
|
+
'border': '1px solid transparent',
|
|
269
|
+
'color': 'var(--components-button-destructive-high-text)'
|
|
270
|
+
},
|
|
271
|
+
'.nv-button.danger:hover': {
|
|
272
|
+
'background': 'var(--components-button-destructive-high-background-hover)',
|
|
273
|
+
'border': '1px solid transparent',
|
|
274
|
+
'color': 'var(--components-button-destructive-high-text-hover)'
|
|
275
|
+
},
|
|
276
|
+
'.nv-button.danger:focus, .nv-button.danger:focus-within': {
|
|
277
|
+
'outline': 'none'
|
|
278
|
+
},
|
|
279
|
+
'.nv-button.danger:focus-visible, .nv-button.danger:has(:focus-visible)': {
|
|
280
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive)',
|
|
281
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
282
|
+
},
|
|
283
|
+
'.nv-button.size-xs': {
|
|
284
|
+
'padding': 'var(--button-xs-padding-y) var(--button-xs-padding-x)',
|
|
285
|
+
'gap': 'var(--button-xs-gap)',
|
|
286
|
+
'borderRadius': 'var(--button-xs-border-radius)',
|
|
287
|
+
'lineHeight': 'var(--button-xs-line-height)',
|
|
288
|
+
'height': 'var(--button-xs-height)',
|
|
289
|
+
'fontSize': 'var(--button-xs-font-size)'
|
|
290
|
+
},
|
|
291
|
+
'.nv-button.size-xs nv-icon > svg': {
|
|
292
|
+
'width': 'var(--spacing-3)',
|
|
293
|
+
'height': 'var(--spacing-3)',
|
|
294
|
+
'strokeWidth': '1.2px'
|
|
295
|
+
},
|
|
296
|
+
'.nv-button.size-sm': {
|
|
297
|
+
'padding': 'var(--button-sm-padding-y) var(--button-sm-padding-x)',
|
|
298
|
+
'gap': 'var(--button-sm-gap)',
|
|
299
|
+
'borderRadius': 'var(--button-sm-border-radius)',
|
|
300
|
+
'lineHeight': 'var(--button-sm-line-height)',
|
|
301
|
+
'height': 'var(--button-sm-height)',
|
|
302
|
+
'fontSize': 'var(--button-sm-font-size)'
|
|
303
|
+
},
|
|
304
|
+
'.nv-button.size-sm nv-icon > svg': {
|
|
305
|
+
'width': 'var(--spacing-4)',
|
|
306
|
+
'height': 'var(--spacing-4)',
|
|
307
|
+
'strokeWidth': '1.5px'
|
|
308
|
+
},
|
|
309
|
+
'.nv-button.size-md': {
|
|
310
|
+
'padding': 'var(--button-md-padding-y) var(--button-md-padding-x)',
|
|
311
|
+
'gap': 'var(--button-md-gap)',
|
|
312
|
+
'borderRadius': 'var(--button-md-border-radius)',
|
|
313
|
+
'lineHeight': 'var(--button-md-line-height)',
|
|
314
|
+
'height': 'var(--button-md-height)',
|
|
315
|
+
'fontSize': 'var(--button-md-font-size)'
|
|
316
|
+
},
|
|
317
|
+
'.nv-button.size-md nv-icon > svg': {
|
|
318
|
+
'width': 'var(--spacing-5)',
|
|
319
|
+
'height': 'var(--spacing-5)',
|
|
320
|
+
'strokeWidth': '1.6px'
|
|
321
|
+
},
|
|
322
|
+
'.nv-button.size-lg': {
|
|
323
|
+
'padding': 'var(--button-lg-padding-y) var(--button-lg-padding-x)',
|
|
324
|
+
'gap': 'var(--button-lg-gap)',
|
|
325
|
+
'borderRadius': 'var(--button-lg-border-radius)',
|
|
326
|
+
'lineHeight': 'var(--button-lg-line-height)',
|
|
327
|
+
'height': 'var(--button-lg-height)',
|
|
328
|
+
'fontSize': 'var(--button-lg-font-size)'
|
|
329
|
+
},
|
|
330
|
+
'.nv-button.size-lg nv-icon > svg': {
|
|
331
|
+
'width': 'var(--spacing-6)',
|
|
332
|
+
'height': 'var(--spacing-6)',
|
|
333
|
+
'strokeWidth': '1.8px'
|
|
334
|
+
},
|
|
335
|
+
'.nv-button.emphasis-high': {
|
|
336
|
+
'background': 'var(--components-button-high-background)',
|
|
337
|
+
'border': '1px solid var(--components-button-high-border)',
|
|
338
|
+
'color': 'var(--components-button-high-text)'
|
|
339
|
+
},
|
|
340
|
+
'.nv-button.emphasis-high:hover': {
|
|
341
|
+
'background': 'var(--components-button-high-background-hover)',
|
|
342
|
+
'border': '1px solid var(--components-button-high-border)',
|
|
343
|
+
'color': 'var(--components-button-high-text-hover)'
|
|
344
|
+
},
|
|
345
|
+
'.nv-button.emphasis-high:active': {
|
|
346
|
+
'background': 'var(--components-button-high-background-active)',
|
|
347
|
+
'border': '1px solid var(--components-button-high-border-active)',
|
|
348
|
+
'color': 'var(--components-button-high-text-active)'
|
|
349
|
+
},
|
|
350
|
+
'.nv-button.emphasis-high:focus, .nv-button.emphasis-high:focus-within': {
|
|
351
|
+
'outline': 'none'
|
|
352
|
+
},
|
|
353
|
+
'.nv-button.emphasis-high:focus-visible, .nv-button.emphasis-high:has(:focus-visible)': {
|
|
354
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand)',
|
|
355
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
356
|
+
},
|
|
357
|
+
'.nv-button.emphasis-high:disabled:not([disabled=false])': {
|
|
358
|
+
'opacity': '0.5',
|
|
359
|
+
'cursor': 'not-allowed',
|
|
360
|
+
'boxShadow': 'none'
|
|
361
|
+
},
|
|
362
|
+
'.nv-button.emphasis-high.active': {
|
|
363
|
+
'background': 'var(--components-button-high-background-active)',
|
|
364
|
+
'border': '1px solid var(--components-button-high-border-active)',
|
|
365
|
+
'color': 'var(--components-button-high-text-active)'
|
|
366
|
+
},
|
|
367
|
+
'.nv-button.emphasis-high.danger': {
|
|
368
|
+
'background': 'var(--components-button-destructive-high-background)',
|
|
369
|
+
'border': '1px solid transparent',
|
|
370
|
+
'color': 'var(--components-button-destructive-high-text)'
|
|
371
|
+
},
|
|
372
|
+
'.nv-button.emphasis-high.danger:hover': {
|
|
373
|
+
'background': 'var(--components-button-destructive-high-background-hover)',
|
|
374
|
+
'border': '1px solid transparent',
|
|
375
|
+
'color': 'var(--components-button-destructive-high-text-hover)'
|
|
376
|
+
},
|
|
377
|
+
'.nv-button.emphasis-high.danger:focus, .nv-button.emphasis-high.danger:focus-within': {
|
|
378
|
+
'outline': 'none'
|
|
379
|
+
},
|
|
380
|
+
'.nv-button.emphasis-high.danger:focus-visible, .nv-button.emphasis-high.danger:has(:focus-visible)': {
|
|
381
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive)',
|
|
382
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
383
|
+
},
|
|
384
|
+
'.nv-button.emphasis-medium': {
|
|
385
|
+
'background': 'var(--components-button-medium-background)',
|
|
386
|
+
'border': '1px solid var(--components-button-medium-border)',
|
|
387
|
+
'color': 'var(--components-button-medium-text)'
|
|
388
|
+
},
|
|
389
|
+
'.nv-button.emphasis-medium:hover': {
|
|
390
|
+
'background': 'var(--components-button-medium-background-hover)',
|
|
391
|
+
'border': '1px solid var(--components-button-medium-border)',
|
|
392
|
+
'color': 'var(--components-button-medium-text-hover)'
|
|
393
|
+
},
|
|
394
|
+
'.nv-button.emphasis-medium:active': {
|
|
395
|
+
'background': 'var(--components-button-medium-background-active)',
|
|
396
|
+
'border': '1px solid var(--components-button-medium-border-active)',
|
|
397
|
+
'color': 'var(--components-button-medium-text-active)'
|
|
398
|
+
},
|
|
399
|
+
'.nv-button.emphasis-medium:focus, .nv-button.emphasis-medium:focus-within': {
|
|
400
|
+
'outline': 'none'
|
|
401
|
+
},
|
|
402
|
+
'.nv-button.emphasis-medium:focus-visible, .nv-button.emphasis-medium:has(:focus-visible)': {
|
|
403
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand)',
|
|
404
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
405
|
+
},
|
|
406
|
+
'.nv-button.emphasis-medium:disabled:not([disabled=false])': {
|
|
407
|
+
'opacity': '0.5',
|
|
408
|
+
'cursor': 'not-allowed',
|
|
409
|
+
'boxShadow': 'none'
|
|
410
|
+
},
|
|
411
|
+
'.nv-button.emphasis-medium.active': {
|
|
412
|
+
'background': 'var(--components-button-medium-background-active)',
|
|
413
|
+
'border': '1px solid var(--components-button-medium-border-active)',
|
|
414
|
+
'color': 'var(--components-button-medium-text-active)'
|
|
415
|
+
},
|
|
416
|
+
'.nv-button.emphasis-medium.danger': {
|
|
417
|
+
'background': 'var(--components-button-destructive-medium-background)',
|
|
418
|
+
'border': '1px solid var(--components-button-destructive-medium-border)',
|
|
419
|
+
'color': 'var(--components-button-destructive-medium-text)'
|
|
420
|
+
},
|
|
421
|
+
'.nv-button.emphasis-medium.danger:hover': {
|
|
422
|
+
'background': 'var(--components-button-destructive-medium-background-hover)',
|
|
423
|
+
'border': '1px solid var(--components-button-destructive-medium-border)',
|
|
424
|
+
'color': 'var(--components-button-destructive-medium-text-hover)'
|
|
425
|
+
},
|
|
426
|
+
'.nv-button.emphasis-medium.danger:focus, .nv-button.emphasis-medium.danger:focus-within': {
|
|
427
|
+
'outline': 'none'
|
|
428
|
+
},
|
|
429
|
+
'.nv-button.emphasis-medium.danger:focus-visible, .nv-button.emphasis-medium.danger:has(:focus-visible)': {
|
|
430
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive)',
|
|
431
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
432
|
+
},
|
|
433
|
+
'.nv-button.emphasis-low': {
|
|
434
|
+
'background': 'var(--components-button-low-background)',
|
|
435
|
+
'border': '1px solid var(--components-button-low-border)',
|
|
436
|
+
'color': 'var(--components-button-low-text)'
|
|
437
|
+
},
|
|
438
|
+
'.nv-button.emphasis-low:hover': {
|
|
439
|
+
'background': 'var(--components-button-low-background-hover)',
|
|
440
|
+
'border': '1px solid var(--components-button-low-border)',
|
|
441
|
+
'color': 'var(--components-button-low-text-hover)'
|
|
442
|
+
},
|
|
443
|
+
'.nv-button.emphasis-low:active': {
|
|
444
|
+
'background': 'var(--components-button-low-background-active)',
|
|
445
|
+
'border': '1px solid var(--components-button-low-border-active)',
|
|
446
|
+
'color': 'var(--components-button-low-text-active)'
|
|
447
|
+
},
|
|
448
|
+
'.nv-button.emphasis-low:focus, .nv-button.emphasis-low:focus-within': {
|
|
449
|
+
'outline': 'none'
|
|
450
|
+
},
|
|
451
|
+
'.nv-button.emphasis-low:focus-visible, .nv-button.emphasis-low:has(:focus-visible)': {
|
|
452
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand)',
|
|
453
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
454
|
+
},
|
|
455
|
+
'.nv-button.emphasis-low:disabled:not([disabled=false])': {
|
|
456
|
+
'opacity': '0.5',
|
|
457
|
+
'cursor': 'not-allowed',
|
|
458
|
+
'boxShadow': 'none'
|
|
459
|
+
},
|
|
460
|
+
'.nv-button.emphasis-low.active': {
|
|
461
|
+
'background': 'var(--components-button-low-background-active)',
|
|
462
|
+
'border': '1px solid var(--components-button-low-border-active)',
|
|
463
|
+
'color': 'var(--components-button-low-text-active)'
|
|
464
|
+
},
|
|
465
|
+
'.nv-button.emphasis-low.danger': {
|
|
466
|
+
'background': 'var(--components-button-destructive-low-background)',
|
|
467
|
+
'border': '1px solid var(--components-button-destructive-low-border)',
|
|
468
|
+
'color': 'var(--components-button-destructive-low-text)'
|
|
469
|
+
},
|
|
470
|
+
'.nv-button.emphasis-low.danger:hover': {
|
|
471
|
+
'background': 'var(--components-button-destructive-low-background-hover)',
|
|
472
|
+
'border': '1px solid var(--components-button-destructive-low-border)',
|
|
473
|
+
'color': 'var(--components-button-destructive-low-text-hover)'
|
|
474
|
+
},
|
|
475
|
+
'.nv-button.emphasis-low.danger:focus, .nv-button.emphasis-low.danger:focus-within': {
|
|
476
|
+
'outline': 'none'
|
|
477
|
+
},
|
|
478
|
+
'.nv-button.emphasis-low.danger:focus-visible, .nv-button.emphasis-low.danger:has(:focus-visible)': {
|
|
479
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive)',
|
|
480
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
481
|
+
},
|
|
482
|
+
'.nv-button.emphasis-lower': {
|
|
483
|
+
'background': 'var(--components-button-lower-background)',
|
|
484
|
+
'border': '1px solid var(--components-button-lower-border)',
|
|
485
|
+
'color': 'var(--components-button-lower-text)'
|
|
486
|
+
},
|
|
487
|
+
'.nv-button.emphasis-lower:hover': {
|
|
488
|
+
'background': 'var(--components-button-lower-background-hover)',
|
|
489
|
+
'border': '1px solid var(--components-button-lower-border)',
|
|
490
|
+
'color': 'var(--components-button-lower-text-hover)'
|
|
491
|
+
},
|
|
492
|
+
'.nv-button.emphasis-lower:active': {
|
|
493
|
+
'background': 'var(--components-button-lower-background-active)',
|
|
494
|
+
'border': '1px solid var(--components-button-lower-border-active)',
|
|
495
|
+
'color': 'var(--components-button-lower-text-active)'
|
|
496
|
+
},
|
|
497
|
+
'.nv-button.emphasis-lower:focus, .nv-button.emphasis-lower:focus-within': {
|
|
498
|
+
'outline': 'none'
|
|
499
|
+
},
|
|
500
|
+
'.nv-button.emphasis-lower:focus-visible, .nv-button.emphasis-lower:has(:focus-visible)': {
|
|
501
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand)',
|
|
502
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
503
|
+
},
|
|
504
|
+
'.nv-button.emphasis-lower:disabled:not([disabled=false])': {
|
|
505
|
+
'opacity': '0.5',
|
|
506
|
+
'cursor': 'not-allowed',
|
|
507
|
+
'boxShadow': 'none'
|
|
508
|
+
},
|
|
509
|
+
'.nv-button.emphasis-lower.active': {
|
|
510
|
+
'background': 'var(--components-button-lower-background-active)',
|
|
511
|
+
'border': '1px solid var(--components-button-lower-border-active)',
|
|
512
|
+
'color': 'var(--components-button-lower-text-active)'
|
|
513
|
+
},
|
|
514
|
+
'.nv-button.emphasis-lower.danger': {
|
|
515
|
+
'background': 'var(--components-button-destructive-lower-background)',
|
|
516
|
+
'border': '1px solid var(--components-button-destructive-lower-border)',
|
|
517
|
+
'color': 'var(--components-button-destructive-lower-text)'
|
|
518
|
+
},
|
|
519
|
+
'.nv-button.emphasis-lower.danger:hover': {
|
|
520
|
+
'background': 'var(--components-button-destructive-lower-background-hover)',
|
|
521
|
+
'border': '1px solid var(--components-button-destructive-lower-border)',
|
|
522
|
+
'color': 'var(--components-button-destructive-lower-text-hover)'
|
|
523
|
+
},
|
|
524
|
+
'.nv-button.emphasis-lower.danger:focus, .nv-button.emphasis-lower.danger:focus-within': {
|
|
525
|
+
'outline': 'none'
|
|
526
|
+
},
|
|
527
|
+
'.nv-button.emphasis-lower.danger:focus-visible, .nv-button.emphasis-lower.danger:has(:focus-visible)': {
|
|
528
|
+
'outline': 'calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive)',
|
|
529
|
+
'outlineOffset': 'calc(var(--focus-outline-offset) * 1)'
|
|
530
|
+
},
|
|
531
|
+
'.nv-button.fluid': {
|
|
532
|
+
'width': '100%'
|
|
533
|
+
},
|
|
534
|
+
'.nv-link, .nv-link-low, .nv-link-high': {
|
|
535
|
+
'color': 'var(--color-interaction-link-high-text)',
|
|
536
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
537
|
+
'textDecoration': 'none'
|
|
538
|
+
},
|
|
539
|
+
'.nv-link:hover, .nv-link-low:hover, .nv-link-high:hover': {
|
|
540
|
+
'color': 'var(--color-interaction-link-high-text-hover)'
|
|
541
|
+
},
|
|
542
|
+
'.nv-link-low': {
|
|
543
|
+
'color': 'var(--color-interaction-link-low-text)',
|
|
544
|
+
'textDecoration': 'underline'
|
|
545
|
+
},
|
|
546
|
+
'.nv-link-low:hover': {
|
|
547
|
+
'color': 'var(--color-interaction-link-low-text-hover)'
|
|
548
|
+
},
|
|
549
|
+
'.nv-link-low:visited': {
|
|
550
|
+
'color': 'var(--color-interaction-link-low-text-visited)'
|
|
551
|
+
},
|
|
552
|
+
'.nv-link-low.disabled': {
|
|
553
|
+
'color': 'var(--color-interaction-link-high-text-disabled)',
|
|
554
|
+
'textDecoration': 'none'
|
|
555
|
+
},
|
|
556
|
+
'.nv-link-high': {
|
|
557
|
+
'color': 'var(--color-interaction-link-high-text)',
|
|
558
|
+
'textDecoration': 'underline'
|
|
559
|
+
},
|
|
560
|
+
'.nv-link-high:hover': {
|
|
561
|
+
'color': 'var(--color-interaction-link-high-text-hover)'
|
|
562
|
+
},
|
|
563
|
+
'.nv-link-high:visited': {
|
|
564
|
+
'color': 'var(--color-interaction-link-high-text-visited)'
|
|
565
|
+
},
|
|
566
|
+
'.nv-link-high.disabled': {
|
|
567
|
+
'color': 'var(--color-interaction-link-high-text-disabled)',
|
|
568
|
+
'textDecoration': 'none'
|
|
569
|
+
},
|
|
570
|
+
'.nv-sidenav .nv-link, .nv-navbar .nv-link, .nv-tabs .nv-link, .nv-buttongroup .nv-link': {
|
|
571
|
+
'display': 'flex',
|
|
572
|
+
'alignItems': 'center',
|
|
573
|
+
'color': 'var(--color-interaction-container-neutral-text)',
|
|
574
|
+
'backgroundColor': 'var(--color-interaction-container-neutral-background)',
|
|
575
|
+
'textDecoration': 'none',
|
|
576
|
+
'fontWeight': 'var(--font-weight-medium-emphasis)',
|
|
577
|
+
'padding': 'var(--spacing-2) var(--spacing-3)',
|
|
578
|
+
'columnGap': 'var(--spacing-2)'
|
|
579
|
+
},
|
|
580
|
+
'.nv-tabs': {
|
|
581
|
+
'display': 'flex',
|
|
582
|
+
'flex': '1 1 0%',
|
|
583
|
+
'alignItems': 'center',
|
|
584
|
+
'borderBottom': '1px solid var(--color-content-low-border)',
|
|
585
|
+
'columnGap': 'var(--spacing-0-5)'
|
|
586
|
+
},
|
|
587
|
+
'.nv-tabs .nv-link': {
|
|
588
|
+
'borderStyle': 'solid',
|
|
589
|
+
'borderColor': 'transparent',
|
|
590
|
+
'borderWidth': '0 0 2px 0'
|
|
591
|
+
},
|
|
592
|
+
'.nv-tabs .nv-link:hover': {
|
|
593
|
+
'color': 'var(--color-interaction-container-branded-low-text-hover)',
|
|
594
|
+
'borderColor': 'transparent',
|
|
595
|
+
'backgroundColor': 'transparent'
|
|
596
|
+
},
|
|
597
|
+
'.nv-tabs .nv-link.active': {
|
|
598
|
+
'color': 'var(--color-interaction-container-branded-low-text-active)',
|
|
599
|
+
'borderColor': 'var(--color-interaction-container-branded-low-border-active)',
|
|
600
|
+
'backgroundColor': 'transparent'
|
|
601
|
+
},
|
|
602
|
+
'.nv-navbar .nv-link, .nv-sidenav .nv-link, .nv-buttongroup .nv-link': {
|
|
603
|
+
'border': 'solid 0 transparent',
|
|
604
|
+
'borderRadius': 'var(--radius-rounded-md)'
|
|
605
|
+
},
|
|
606
|
+
'.nv-navbar .nv-link:hover, .nv-sidenav .nv-link:hover, .nv-buttongroup .nv-link:hover': {
|
|
607
|
+
'color': 'var(--color-interaction-container-neutral-text-hover)',
|
|
608
|
+
'borderColor': 'var(--color-interaction-container-neutral-border-hover)',
|
|
609
|
+
'backgroundColor': 'var(--color-interaction-container-neutral-background-hover)'
|
|
610
|
+
},
|
|
611
|
+
'.nv-navbar .nv-link.active, .nv-navbar .nv-link.router-link-active, .nv-sidenav .nv-link.active, .nv-sidenav .nv-link.router-link-active, .nv-buttongroup .nv-link.active, .nv-buttongroup .nv-link.router-link-active': {
|
|
612
|
+
'color': 'var(--color-interaction-container-neutral-text-active)',
|
|
613
|
+
'borderColor': 'var(--color-interaction-container-neutral-text-active)',
|
|
614
|
+
'backgroundColor': 'var(--color-interaction-container-neutral-background-active)'
|
|
615
|
+
},
|
|
616
|
+
'.nv-sidenav .collapsible .nv-link': {
|
|
617
|
+
'justifyContent': 'space-between'
|
|
618
|
+
},
|
|
619
|
+
'.nv-sidenav .collapsible .nv-link .nv-iconbutton': {
|
|
620
|
+
'width': '20px !important',
|
|
621
|
+
'height': '20px !important'
|
|
622
|
+
},
|
|
623
|
+
'.nv-buttongroup': {
|
|
624
|
+
'display': 'inline-flex',
|
|
625
|
+
'borderRadius': 'var(--radius-rounded-md)',
|
|
626
|
+
'border': '1px solid var(--color-content-medium-border)',
|
|
627
|
+
'overflow': 'hidden'
|
|
628
|
+
},
|
|
629
|
+
'.nv-buttongroup .nv-link': {
|
|
630
|
+
'borderColor': 'var(--color-content-medium-border)',
|
|
631
|
+
'borderWidth': '0 1px 0 0',
|
|
632
|
+
'borderStyle': 'solid',
|
|
633
|
+
'borderRadius': '0'
|
|
634
|
+
},
|
|
635
|
+
'.nv-buttongroup .nv-link:hover': {
|
|
636
|
+
'borderColor': 'var(--color-content-medium-border)'
|
|
637
|
+
},
|
|
638
|
+
'.nv-buttongroup .nv-link.active, .nv-buttongroup .nv-link.router-link-active': {
|
|
639
|
+
'borderColor': 'var(--color-content-medium-border)'
|
|
640
|
+
},
|
|
641
|
+
'.nv-buttongroup li:last-child .nv-link': {
|
|
642
|
+
'borderRightWidth': '0'
|
|
643
|
+
},
|
|
644
|
+
'.nv-link .nv-badge': {
|
|
645
|
+
'borderRadius': 'var(--radius-rounded-full)',
|
|
646
|
+
'width': 'var(--spacing-5)',
|
|
647
|
+
'display': 'flex',
|
|
648
|
+
'alignItems': 'center',
|
|
649
|
+
'justifyContent': 'center',
|
|
650
|
+
'fontSize': 'var(--font-size-xs)',
|
|
651
|
+
'color': 'var(--color-feedback-neutral-high-icon)',
|
|
652
|
+
'backgroundColor': 'var(--color-feedback-neutral-high-background)'
|
|
653
|
+
},
|
|
654
|
+
'.nv-link.disabled': {
|
|
655
|
+
'opacity': '0.5',
|
|
656
|
+
'cursor': 'not-allowed'
|
|
657
|
+
},
|
|
658
|
+
'.nv-link.disabled:hover': {
|
|
659
|
+
'color': 'var(--color-interaction-container-neutral-text)',
|
|
660
|
+
'backgroundColor': 'transparent'
|
|
661
|
+
},
|
|
662
|
+
'.nv-pagination-nav': {
|
|
663
|
+
'display': 'flex',
|
|
664
|
+
'alignItems': 'center',
|
|
665
|
+
'justifyContent': 'center',
|
|
666
|
+
'gap': 'var(--spacing-2)',
|
|
667
|
+
'flexWrap': 'wrap'
|
|
668
|
+
},
|
|
669
|
+
'.nv-pagination-nav__list': {
|
|
670
|
+
'display': 'flex',
|
|
671
|
+
'alignItems': 'center',
|
|
672
|
+
'gap': 'var(--spacing-2)',
|
|
673
|
+
'listStyle': 'none',
|
|
674
|
+
'margin': '0',
|
|
675
|
+
'padding': '0'
|
|
676
|
+
},
|
|
677
|
+
'.nv-pagination-nav__item': {
|
|
678
|
+
'display': 'flex',
|
|
679
|
+
'alignItems': 'center'
|
|
680
|
+
},
|
|
681
|
+
'.nv-pagination-nav__item nv-button,\n.nv-pagination-nav__item nv-iconbutton': {
|
|
682
|
+
'minWidth': 'var(--spacing-8)',
|
|
683
|
+
'justifyContent': 'center'
|
|
684
|
+
},
|
|
685
|
+
'.nv-pagination-nav__item--ellipsis': {
|
|
686
|
+
'display': 'flex',
|
|
687
|
+
'alignItems': 'center',
|
|
688
|
+
'justifyContent': 'center',
|
|
689
|
+
'minWidth': 'var(--spacing-8)',
|
|
690
|
+
'height': 'var(--spacing-8)',
|
|
691
|
+
'color': 'var(--color-content-lower-text)',
|
|
692
|
+
'fontSize': 'var(--font-size-sm)',
|
|
693
|
+
'userSelect': 'none'
|
|
694
|
+
},
|
|
695
|
+
'.nv-pagination-nav-link': {
|
|
696
|
+
'minWidth': 'var(--spacing-8)'
|
|
697
|
+
}
|
|
698
|
+
};
|