@ncds/ui-admin 0.0.7 → 0.0.8

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.
Files changed (85) hide show
  1. package/dist/const/Icon/FinanceECommerce.js +15 -7
  2. package/dist/const/Icon/alertAndFeedback.js +1 -7
  3. package/dist/const/Icon/arrow.js +11 -7
  4. package/dist/const/Icon/chart.js +1 -7
  5. package/dist/const/Icon/chevron.js +1 -7
  6. package/dist/const/Icon/circle.js +1 -7
  7. package/dist/const/Icon/communication.js +1 -7
  8. package/dist/const/Icon/development.js +12 -7
  9. package/dist/const/Icon/editor.js +1 -7
  10. package/dist/const/Icon/education.js +1 -7
  11. package/dist/const/Icon/files.js +1 -7
  12. package/dist/const/Icon/general.js +57 -31
  13. package/dist/const/Icon/index.js +31 -37
  14. package/dist/const/Icon/layout.js +13 -9
  15. package/dist/const/Icon/mapsTravel.js +1 -7
  16. package/dist/const/Icon/mediaDevices.js +11 -7
  17. package/dist/const/Icon/message.js +1 -7
  18. package/dist/const/Icon/sales.js +1 -7
  19. package/dist/const/Icon/security.js +1 -7
  20. package/dist/const/Icon/shapes.js +4 -9
  21. package/dist/const/Icon/tag.js +1 -7
  22. package/dist/const/Icon/time.js +1 -7
  23. package/dist/const/Icon/users.js +11 -7
  24. package/dist/const/Icon/weather.js +1 -7
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/dist/ui-admin/assets/scripts/index.js +1 -16
  27. package/dist/ui-admin/assets/scripts/test.js +2 -9
  28. package/dist/ui-admin/constant/color.js +32 -38
  29. package/dist/ui-admin/constant/size.js +1 -5
  30. package/dist/ui-admin/index.d.ts +10 -0
  31. package/dist/ui-admin/index.d.ts.map +1 -1
  32. package/dist/ui-admin/index.js +13 -38
  33. package/dist/ui-admin/src/components/button/Button.js +68 -103
  34. package/dist/ui-admin/src/components/button/ButtonGroup.d.ts +1 -1
  35. package/dist/ui-admin/src/components/button/ButtonGroup.js +54 -93
  36. package/dist/ui-admin/src/components/button/index.d.ts +1 -0
  37. package/dist/ui-admin/src/components/button/index.d.ts.map +1 -1
  38. package/dist/ui-admin/src/components/button/index.js +2 -16
  39. package/dist/ui-admin/src/components/checkbox/Checkbox.js +26 -67
  40. package/dist/ui-admin/src/components/checkbox/CheckboxInput.js +30 -65
  41. package/dist/ui-admin/src/components/checkbox/index.js +2 -27
  42. package/dist/ui-admin/src/components/index.d.ts +4 -0
  43. package/dist/ui-admin/src/components/index.d.ts.map +1 -1
  44. package/dist/ui-admin/src/components/index.js +10 -71
  45. package/dist/ui-admin/src/components/input/FileInput.js +1 -1
  46. package/dist/ui-admin/src/components/input/InputBase.js +77 -162
  47. package/dist/ui-admin/src/components/input/PasswordInput.js +66 -84
  48. package/dist/ui-admin/src/components/input/index.d.ts +4 -0
  49. package/dist/ui-admin/src/components/input/index.d.ts.map +1 -0
  50. package/dist/ui-admin/src/components/input/index.js +3 -0
  51. package/dist/ui-admin/src/components/pagination/NavButton.js +60 -87
  52. package/dist/ui-admin/src/components/pagination/Pagination.js +104 -170
  53. package/dist/ui-admin/src/components/pagination/index.d.ts +1 -0
  54. package/dist/ui-admin/src/components/pagination/index.d.ts.map +1 -1
  55. package/dist/ui-admin/src/components/pagination/index.js +2 -16
  56. package/dist/ui-admin/src/components/radio/Radio.js +26 -62
  57. package/dist/ui-admin/src/components/radio/RadioInput.js +27 -48
  58. package/dist/ui-admin/src/components/radio/index.js +2 -27
  59. package/dist/ui-admin/src/components/select/Select.js +33 -96
  60. package/dist/ui-admin/src/components/select/index.js +1 -16
  61. package/dist/ui-admin/src/components/shared/hintText/HintText.js +25 -40
  62. package/dist/ui-admin/src/components/shared/hintText/index.d.ts +2 -0
  63. package/dist/ui-admin/src/components/shared/hintText/index.d.ts.map +1 -0
  64. package/dist/ui-admin/src/components/shared/hintText/index.js +1 -0
  65. package/dist/ui-admin/src/components/shared/index.d.ts +3 -0
  66. package/dist/ui-admin/src/components/shared/index.d.ts.map +1 -0
  67. package/dist/ui-admin/src/components/shared/index.js +2 -0
  68. package/dist/ui-admin/src/components/shared/label/Label.js +25 -40
  69. package/dist/ui-admin/src/components/shared/label/index.d.ts +2 -0
  70. package/dist/ui-admin/src/components/shared/label/index.d.ts.map +1 -0
  71. package/dist/ui-admin/src/components/shared/label/index.js +1 -0
  72. package/dist/ui-admin/src/components/spinner/Spinner.js +17 -49
  73. package/dist/ui-admin/src/components/spinner/index.d.ts +2 -0
  74. package/dist/ui-admin/src/components/spinner/index.d.ts.map +1 -0
  75. package/dist/ui-admin/src/components/spinner/index.js +1 -0
  76. package/dist/ui-admin/src/components/svg/SvgIcon.js +27 -62
  77. package/dist/ui-admin/src/components/svg/const.js +786 -792
  78. package/dist/ui-admin/src/components/svg/index.js +2 -27
  79. package/dist/ui-admin/src/components/tooltip/Tooltip.js +18 -67
  80. package/dist/ui-admin/src/components/tooltip/index.js +1 -16
  81. package/dist/ui-admin/src/constant/index.js +1 -16
  82. package/dist/ui-admin/src/constant/size.js +1 -7
  83. package/package.json +1 -1
  84. package/dist/ui-admin/assets/images/sprite.png +0 -0
  85. package/dist/ui-admin/assets/styles/style.css +0 -1438
@@ -1,1438 +0,0 @@
1
- :root {
2
- --primary-red-50: #fffafd;
3
- --primary-red-100: #ffeaee;
4
- --primary-red-200: #fecbd2;
5
- --primary-red-300: #ff9fa5;
6
- --primary-red-400: #f86f76;
7
- --primary-red-450: #f7444e;
8
- --primary-red-500: #ec1d31;
9
- --primary-red-600: #dc0a2b;
10
- --primary-red-700: #a60013;
11
- --base-white: #ffffff;
12
- --base-black: #000000;
13
- --gray-50: #f6f7f9;
14
- --gray-100: #eaecf0;
15
- --gray-200: #d3d4d8;
16
- --gray-300: #a4a5a8;
17
- --gray-400: #757678;
18
- --gray-450: #5e5e60;
19
- --gray-500: #464748;
20
- --gray-600: #2f2f30;
21
- --gray-700: #171818;
22
- --green-50: #f6fef9;
23
- --green-100: #d3f8df;
24
- --green-200: #aaf0c4;
25
- --green-300: #73e2a3;
26
- --green-400: #3ccb7f;
27
- --green-500: #099250;
28
- --green-600: #087443;
29
- --green-700: #095c37;
30
- --blue-50: #f5faff;
31
- --blue-100: #e0efff;
32
- --blue-200: #b2ddff;
33
- --blue-300: #84caff;
34
- --blue-400: #53b1fd;
35
- --blue-500: #1570ef;
36
- --blue-600: #1849a9;
37
- --blue-700: #194185;
38
- --pink-50: #fef6fb;
39
- --pink-100: #fce7f6;
40
- --pink-200: #fcceee;
41
- --pink-300: #faa7e0;
42
- --pink-400: #f670c7;
43
- --pink-500: #dd2590;
44
- --pink-600: #c11574;
45
- --pink-700: #851651;
46
- --orange-50: #fefaf5;
47
- --orange-100: #fdead7;
48
- --orange-200: #f9dbaf;
49
- --orange-300: #f7b27a;
50
- --orange-400: #f38744;
51
- --orange-500: #e4501e;
52
- --orange-600: #b93815;
53
- --orange-700: #772917;
54
- --focus-ring-4px-primary-100: 0px 0px 0px 3px #ffeaee;
55
- --focus-ring-4px-gray-100: 0px 0px 0px 3px #f2f4f7;
56
- --focus-ring-4px-error-100: 0px 0px 0px 3px #fee4e2;
57
- --shadow-xs: 0px 1px 2px 0px #1018280d;
58
- --shadow-xs-focused-3px-gray-100: 0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 3px #f2f4f7;
59
- --shadow-xs-focused-4px-primary-color-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #ffeaee;
60
- --shadow-xs-focused-4px-gray-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f2f4f7;
61
- --shadow-xs-focused-4px-error-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #fee4e2;
62
- --shadow-sm: 0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f;
63
- --shadow-sm-focused-4px-primary-color-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #ffeaee;
64
- --shadow-sm-focused-4px-gray-100: 0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #f2f4f7;
65
- --shadow-sm-focused-4px-error-100: 0px 0px 0px 4px #fee4e2, 0px 1px 2px 0px #1018280d;
66
- --shadow-md: 0px 4px 8px -2px #1018281a, 0px 2px 4px -2px #1018280f;
67
- --shadow-lg: 0px 12px 16px -4px #10182814, 0px 4px 6px -2px #10182808;
68
- --shadow-xl: 0px 20px 24px -4px #10182814, 0px 8px 8px -4px #10182808;
69
- --shadow-2xl: 0px 24px 48px -12px #1018282e;
70
- --shadow-3xl: 0px 32px 64px -12px #10182824;
71
- --font-families-commerce-sans: Commerce Sans;
72
- --line-heights-display-xl: 76;
73
- --line-heights-display-lg: 60;
74
- --line-heights-display-md: 46;
75
- --line-heights-display-sm: 38;
76
- --line-heights-display-xs: 32;
77
- --line-heights-xl: 30;
78
- --line-heights-lg: 28;
79
- --line-heights-md: 24;
80
- --line-heights-sm: 22;
81
- --line-heights-xs: 18;
82
- --line-heights-xxs: 14;
83
- --font-weights-commerce-sans-0: regular;
84
- --font-weights-commerce-sans-1: medium;
85
- --font-weights-commerce-sans-2: bold;
86
- --font-size-xxs: 11px;
87
- --font-size-xs: 13px;
88
- --font-size-sm: 14px;
89
- --font-size-md: 16px;
90
- --font-size-lg: 18px;
91
- --font-size-xl: 20px;
92
- --font-size-display-xs: 24px;
93
- --font-size-display-sm: 30px;
94
- --font-size-display-md: 36px;
95
- --font-size-display-lg: 48px;
96
- --font-size-display-xl: 60px;
97
- }
98
-
99
- @font-face {
100
- font-family: "CommerceSans";
101
- font-weight: 400;
102
- font-style: normal;
103
- src: url("https://rlyiz0wtg.toastcdn.net/CommerceSans-Regular.woff") format("woff"), url("https://rlyiz0wtg.toastcdn.net/CommerceSans-Regular.woff2") format("woff2");
104
- font-display: swap;
105
- }
106
- @font-face {
107
- font-family: "CommerceSans";
108
- font-weight: 500;
109
- font-style: normal;
110
- src: url("https://rlyiz0wtg.toastcdn.net/CommerceSans-Medium.woff") format("woff"), url("https://rlyiz0wtg.toastcdn.net/CommerceSans-Medium.woff2") format("woff2");
111
- font-display: swap;
112
- }
113
- @font-face {
114
- font-family: "CommerceSans";
115
- font-weight: 700;
116
- font-style: normal;
117
- src: url("https://rlyiz0wtg.toastcdn.net/CommerceSans-Bold.woff") format("woff"), url("https://rlyiz0wtg.toastcdn.net/CommerceSans-Bold.woff2") format("woff2");
118
- font-display: swap;
119
- }
120
- * {
121
- margin: 0;
122
- }
123
- *, *::before, *::after {
124
- box-sizing: border-box;
125
- }
126
-
127
- body {
128
- font-family: "CommerceSans", sans-serif;
129
- font-size: 16px;
130
- line-height: 1.5;
131
- }
132
-
133
- ol,
134
- ul {
135
- list-style: none;
136
- }
137
-
138
- blockquote,
139
- q {
140
- quotes: none;
141
- }
142
-
143
- blockquote:before,
144
- blockquote:after,
145
- q:before,
146
- q:after {
147
- content: "";
148
- content: none;
149
- }
150
-
151
- table {
152
- border-collapse: collapse;
153
- border-spacing: 0;
154
- }
155
-
156
- .a11y {
157
- position: absolute;
158
- overflow: hidden;
159
- margin: -1px;
160
- width: 1px;
161
- height: 1px;
162
- clip: rect(0, 0, 0, 0);
163
- }
164
-
165
- .bold {
166
- font-weight: bold;
167
- }
168
-
169
- .ncua-link {
170
- display: inline-flex;
171
- align-items: center;
172
- justify-content: center;
173
- gap: 8px;
174
- }
175
- .ncua-link--link-gray {
176
- color: var(--gray-500);
177
- }
178
- .ncua-link--link-gray:hover, .ncua-link--link-gray:hover:not(.is-disable) {
179
- color: var(--gray-700);
180
- }
181
- .ncua-link--link-gray.is-disable {
182
- color: var(--gray-200);
183
- pointer-events: none;
184
- cursor: default;
185
- }
186
- .ncua-link--link-color {
187
- color: var(--blue-500);
188
- }
189
- .ncua-link--link-color:hover, .ncua-link--link-color:hover:not(.is-disable) {
190
- color: var(--blue-600);
191
- }
192
- .ncua-link--link-color.is-disable {
193
- color: var(--gray-200);
194
- pointer-events: none;
195
- cursor: default;
196
- }
197
- .ncua-link--sm {
198
- font-size: var(--font-size-xs);
199
- }
200
- .ncua-link--md {
201
- font-size: var(--font-size-sm);
202
- }
203
- .ncua-link--lg {
204
- font-size: var(--font-size-md);
205
- }
206
- .ncua-link__icon {
207
- width: 20px;
208
- height: 20px;
209
- }
210
- :where(.ncua-link--lg) .ncua-link__icon {
211
- width: 24px;
212
- height: 24px;
213
- }
214
-
215
- :root {
216
- --button-height-xxs: 28px;
217
- --button-height-xs: 32px;
218
- --button-height-sm: 36px;
219
- --button-height-md: 40px;
220
- }
221
-
222
- .ncua-btn {
223
- border: 0;
224
- padding: 0;
225
- background-color: transparent;
226
- cursor: pointer;
227
- display: inline-flex;
228
- justify-content: center;
229
- align-items: center;
230
- text-align: center;
231
- gap: 8px;
232
- line-height: normal;
233
- color: inherit;
234
- }
235
- .ncua-btn__label {
236
- pointer-events: none;
237
- }
238
- .ncua-btn svg {
239
- pointer-events: none;
240
- }
241
- .ncua-btn--primary {
242
- box-shadow: var(--shadow-xs);
243
- background-color: var(--primary-red-450);
244
- border: 1px solid var(--primary-red-500);
245
- color: var(--base-white);
246
- }
247
- .ncua-btn--primary:hover:not([disabled], .is-disable) {
248
- background-color: var(--primary-red-600);
249
- border: 1px solid var(--primary-red-700);
250
- color: var(--base-white);
251
- }
252
- .ncua-btn--primary:focus:not([disabled], .is-disabled) {
253
- background-color: var(--primary-red-450);
254
- border: 1px solid var(--primary-red-500);
255
- color: var(--base-white);
256
- box-shadow: var(--shadow-xs-focused-4px-primary-color-100);
257
- }
258
- .ncua-btn--primary:disabled, .ncua-btn--primary.is-disable {
259
- background-color: var(--primary-red-100);
260
- border: 1px solid var(--primary-red-200);
261
- color: var(--base-white);
262
- cursor: default;
263
- }
264
- .ncua-btn--secondary {
265
- box-shadow: var(--shadow-xs);
266
- background-color: var(--primary-red-50);
267
- border: 1px solid var(--primary-red-200);
268
- color: var(--primary-red-600);
269
- }
270
- .ncua-btn--secondary:hover:not([disabled], .is-disable) {
271
- background-color: var(--primary-red-100);
272
- border: 1px solid var(--primary-red-300);
273
- color: var(--primary-red-700);
274
- }
275
- .ncua-btn--secondary:focus:not([disabled], .is-disabled) {
276
- background-color: var(--primary-red-50);
277
- border: 1px solid var(--primary-red-200);
278
- color: var(--primary-red-600);
279
- box-shadow: var(--shadow-xs-focused-4px-primary-color-100);
280
- }
281
- .ncua-btn--secondary:disabled, .ncua-btn--secondary.is-disable {
282
- background-color: var(--primary-red-50);
283
- border: 1px solid var(--primary-red-100);
284
- color: var(--primary-red-300);
285
- cursor: default;
286
- }
287
- .ncua-btn--secondary-gray {
288
- box-shadow: var(--shadow-xs);
289
- background-color: var(--base-white);
290
- border: 1px solid var(--gray-200);
291
- color: var(--gray-700);
292
- }
293
- .ncua-btn--secondary-gray:hover:not([disabled], .is-disable) {
294
- background-color: var(--gray-50);
295
- border: 1px solid var(--gray-200);
296
- color: var(--gray-700);
297
- }
298
- .ncua-btn--secondary-gray:focus:not([disabled], .is-disabled) {
299
- background-color: var(--base-white);
300
- border: 1px solid var(--gray-200);
301
- color: var(--gray-700);
302
- box-shadow: var(--shadow-xs-focused-4px-gray-100);
303
- }
304
- .ncua-btn--secondary-gray:disabled, .ncua-btn--secondary-gray.is-disable {
305
- background-color: var(--base-white);
306
- border: 1px solid var(--gray-200);
307
- color: var(--gray-200);
308
- cursor: default;
309
- }
310
- .ncua-btn--tertiary {
311
- background-color: var(--base-white);
312
- color: var(--blue-500);
313
- }
314
- .ncua-btn--tertiary:hover:not([disabled], .is-disable) {
315
- background-color: var(--blue-50);
316
- color: var(--blue-600);
317
- }
318
- .ncua-btn--tertiary:disabled, .ncua-btn--tertiary.is-disable {
319
- background-color: var(--base-white);
320
- color: var(--gray-200);
321
- cursor: default;
322
- }
323
- .ncua-btn--tertiary-gray {
324
- background-color: var(--base-white);
325
- color: var(--gray-700);
326
- }
327
- .ncua-btn--tertiary-gray:hover:not([disabled], .is-disable) {
328
- background-color: var(--gray-50);
329
- color: var(--gray-700);
330
- }
331
- .ncua-btn--tertiary-gray:disabled, .ncua-btn--tertiary-gray.is-disable {
332
- background-color: var(--base-white);
333
- color: var(--base-white);
334
- cursor: default;
335
- }
336
- .ncua-btn--link {
337
- color: var(--blue-500);
338
- }
339
- .ncua-btn--link:hover:not([disabled], .is-disable) {
340
- color: var(--blue-600);
341
- }
342
- .ncua-btn--link:disabled, .ncua-btn--link.is-disable {
343
- color: var(--gray-200);
344
- cursor: default;
345
- }
346
- .ncua-btn--link-gray {
347
- color: var(--gray-500);
348
- }
349
- .ncua-btn--link-gray:hover:not([disabled], .is-disable) {
350
- color: var(--gray-700);
351
- }
352
- .ncua-btn--link-gray:disabled, .ncua-btn--link-gray.is-disable {
353
- color: var(--gray-200);
354
- cursor: default;
355
- }
356
- .ncua-btn--destructive {
357
- box-shadow: var(--shadow-xs);
358
- background-color: var(--primary-red-500);
359
- border: 1px solid var(--primary-red-200);
360
- color: var(--base-white);
361
- }
362
- .ncua-btn--destructive:hover:not([disabled], .is-disable) {
363
- background-color: var(--primary-red-700);
364
- border: 1px solid var(--primary-red-300);
365
- color: var(--base-white);
366
- }
367
- .ncua-btn--destructive:focus:not([disabled], .is-disabled) {
368
- background-color: var(--primary-red-500);
369
- border: 1px solid var(--primary-red-600);
370
- color: var(--base-white);
371
- }
372
- .ncua-btn--destructive:disabled, .ncua-btn--destructive.is-disable {
373
- background-color: var(--primary-red-50);
374
- border: 1px solid var(--primary-red-300);
375
- color: var(--primary-red-300);
376
- cursor: default;
377
- }
378
- .ncua-btn--xxs {
379
- padding: 5px 8px;
380
- height: var(--button-height-xxs);
381
- font-size: var(--font-size-xxs);
382
- border-radius: 6px;
383
- font-weight: var(--font-weights-commerce-sans-1);
384
- }
385
- .ncua-btn--xs {
386
- padding: 5px 12px;
387
- height: var(--button-height-xs);
388
- font-size: var(--font-size-xs);
389
- border-radius: 6px;
390
- font-weight: var(--font-weights-commerce-sans-1);
391
- }
392
- .ncua-btn--sm {
393
- padding: 8px 14px;
394
- height: var(--button-height-sm);
395
- font-size: var(--font-size-sm);
396
- border-radius: 8px;
397
- font-weight: var(--font-weights-commerce-sans-2);
398
- }
399
- .ncua-btn--md {
400
- padding: 10px 16px;
401
- height: var(--button-height-md);
402
- font-size: var(--font-size-sm);
403
- border-radius: 8px;
404
- font-weight: var(--font-weights-commerce-sans-2);
405
- }
406
- .ncua-btn.is-full {
407
- width: 100%;
408
- }
409
- .ncua-btn.is-link {
410
- padding: 0;
411
- border: 0;
412
- box-shadow: none;
413
- }
414
- .ncua-btn--link-gray {
415
- color: var(--gray-500);
416
- }
417
- .ncua-btn--link-gray:hover, .ncua-btn--link-gray:hover:not(.is-disable) {
418
- color: var(--gray-700);
419
- }
420
- .ncua-btn--link-gray.is-disable {
421
- color: var(--gray-200);
422
- pointer-events: none;
423
- cursor: default;
424
- }
425
- .ncua-btn--link-color {
426
- color: var(--blue-500);
427
- }
428
- .ncua-btn--link-color:hover, .ncua-btn--link-color:hover:not(.is-disable) {
429
- color: var(--blue-600);
430
- }
431
- .ncua-btn--link-color.is-disable {
432
- color: var(--gray-200);
433
- pointer-events: none;
434
- cursor: default;
435
- }
436
- .ncua-btn svg {
437
- flex: none;
438
- }
439
- .ncua-btn span {
440
- z-index: 0;
441
- }
442
-
443
- [class*=btn--link] {
444
- padding: 0;
445
- height: auto !important;
446
- background-color: transparent !important;
447
- vertical-align: top;
448
- font-weight: var(--font-weights-commerce-sans-1);
449
- }
450
-
451
- .ncua-btn--xxs.only-icon {
452
- padding: 0;
453
- width: var(--button-height-xxs);
454
- }
455
-
456
- .ncua-btn--xs.only-icon {
457
- padding: 0;
458
- width: var(--button-height-xs);
459
- }
460
-
461
- .ncua-btn--sm.only-icon {
462
- padding: 0;
463
- width: var(--button-height-sm);
464
- }
465
-
466
- .ncua-btn--md.only-icon {
467
- padding: 0;
468
- width: var(--button-height-md);
469
- }
470
-
471
- .has-underline {
472
- text-decoration: underline;
473
- text-underline-offset: 2px;
474
- }
475
-
476
- .ncua-button-group {
477
- display: inline-flex;
478
- overflow: hidden;
479
- color: var(--gray-400);
480
- }
481
- .ncua-button-group__item {
482
- color: inherit;
483
- border: none;
484
- outline: none;
485
- display: inline-flex;
486
- justify-content: center;
487
- align-items: center;
488
- box-sizing: border-box;
489
- cursor: pointer;
490
- gap: 8px;
491
- background-color: var(--base-white);
492
- }
493
- .ncua-button-group__item[href] {
494
- text-decoration: none;
495
- }
496
- .ncua-button-group__item[href]:hover {
497
- color: inherit;
498
- text-decoration: none;
499
- }
500
- .ncua-button-group__item:first-child {
501
- padding-left: 0;
502
- }
503
- .ncua-button-group__item:last-child {
504
- padding-right: 0;
505
- }
506
- .ncua-button-group__item.is-active {
507
- color: var(--gray-600);
508
- }
509
- .ncua-button-group.has-border {
510
- border: 1px solid var(--gray-200);
511
- border-radius: 8px;
512
- box-shadow: var(--shadow-xs);
513
- }
514
- .ncua-button-group.has-border .ncua-button-group__item:hover {
515
- background-color: var(--gray-50);
516
- }
517
- .ncua-button-group.has-border .ncua-button-group__item:focus {
518
- color: var(--gray-600);
519
- }
520
- .ncua-button-group.has-border .ncua-button-group__item.is-disabled {
521
- background-color: var(--base-white);
522
- color: var(--gray-200);
523
- }
524
- .ncua-button-group.has-border .ncua-button-group__item:nth-child(n+2) {
525
- border-left: 1px solid var(--gray-200);
526
- }
527
- .ncua-button-group.has-border .ncua-button-group__item svg {
528
- display: block;
529
- }
530
- .ncua-button-group:not(.has-border) .ncua-button-group__item {
531
- position: relative;
532
- }
533
- .ncua-button-group:not(.has-border) .ncua-button-group__item:not(:last-child):after {
534
- content: "";
535
- position: absolute;
536
- right: 0;
537
- top: 50%;
538
- transform: translateY(-50%);
539
- width: 1px;
540
- height: 12px;
541
- background-color: var(--gray-200);
542
- }
543
- .ncua-button-group--xs .ncua-button-group__item {
544
- padding: 5px 12px;
545
- }
546
- .ncua-button-group--sm .ncua-button-group__item {
547
- padding: 5px 16px;
548
- }
549
- .ncua-button-group--md .ncua-button-group__item {
550
- padding: 7px 16px;
551
- }
552
- .ncua-button-group--lg .ncua-button-group__item {
553
- padding: 9px 16px;
554
- }
555
- .ncua-button-group--xs .ncua-button-group__item {
556
- font-size: var(--font-size-xxs);
557
- font-weight: var(--font-weights-commerce-sans-1);
558
- }
559
- .ncua-button-group--sm .ncua-button-group__item {
560
- font-size: var(--font-size-xs);
561
- font-weight: var(--font-weights-commerce-sans-1);
562
- }
563
- .ncua-button-group--md .ncua-button-group__item {
564
- font-size: var(--font-size-sm);
565
- font-weight: var(--font-weights-commerce-sans-1);
566
- }
567
- .ncua-button-group--lg .ncua-button-group__item {
568
- font-size: var(--font-size-sm);
569
- font-weight: var(--font-weights-commerce-sans-2);
570
- }
571
-
572
- .ncua-btn-close {
573
- display: inline-flex;
574
- align-items: center;
575
- justify-content: center;
576
- color: var(--gray-400);
577
- border-radius: 8px;
578
- cursor: pointer;
579
- }
580
- .ncua-btn-close:hover {
581
- background-color: var(--gray-50);
582
- color: var(--gray-500);
583
- }
584
- .ncua-btn-close:focus {
585
- background-color: var(--gray-50);
586
- }
587
- .ncua-btn-close--sm {
588
- width: 36px;
589
- height: 36px;
590
- }
591
- .ncua-btn-close--md {
592
- width: 40px;
593
- height: 40px;
594
- }
595
- .ncua-btn-close--lg {
596
- width: 44px;
597
- height: 44px;
598
- }
599
- .ncua-btn-close--dark {
600
- color: var(--gray-100);
601
- }
602
- .ncua-btn-close--dark:hover {
603
- color: var(--base-white);
604
- background-color: rgba(255, 255, 255, 0.2);
605
- }
606
- .ncua-btn-close--dark:focus {
607
- color: var(--gray-100);
608
- background-color: rgba(255, 255, 255, 0.2);
609
- }
610
-
611
- .ncua-checkbox-input {
612
- position: relative;
613
- flex: none;
614
- display: inline-block;
615
- width: 16px;
616
- height: 16px;
617
- line-height: 1;
618
- background-color: var(--base-white);
619
- }
620
- .ncua-checkbox-input :where(input) {
621
- position: absolute;
622
- top: 0;
623
- left: 0;
624
- z-index: 1;
625
- -webkit-appearance: none;
626
- -moz-appearance: none;
627
- appearance: none;
628
- margin: 0;
629
- width: 100%;
630
- height: 100%;
631
- border: 1px solid var(--gray-200);
632
- font: inherit;
633
- border-radius: 4px;
634
- }
635
- .ncua-checkbox-input :where(input):focus {
636
- border-color: var(--gray-400);
637
- box-shadow: var(--focus-ring-4px-gray-100);
638
- }
639
- .ncua-checkbox-input :where(input):checked {
640
- border-color: var(--gray-700);
641
- outline: none;
642
- }
643
- .ncua-checkbox-input :where(input):disabled {
644
- border-color: var(--gray-200);
645
- }
646
- .ncua-checkbox-input.destructive :where(input) {
647
- border-color: var(--primary-red-600);
648
- }
649
- .ncua-checkbox-input.destructive :where(input):focus {
650
- border-color: var(--primary-red-600);
651
- box-shadow: var(--shadow-xs-focused-4px-error-100);
652
- }
653
- .ncua-checkbox-input:hover {
654
- border-color: var(--gray-600);
655
- background-color: var(--gray-100);
656
- border-radius: 4px;
657
- }
658
- .ncua-checkbox-input__ico {
659
- position: absolute;
660
- top: 0;
661
- left: 0;
662
- display: inline-flex;
663
- justify-content: center;
664
- align-items: center;
665
- width: 100%;
666
- height: 100%;
667
- }
668
- .ncua-checkbox-input :not(input:checked + .ncua-checkbox-input__ico) > svg {
669
- display: none;
670
- }
671
- .ncua-checkbox-input :disabled + .ncua-checkbox-input__ico {
672
- background-color: var(--gray-100);
673
- border-radius: 4px;
674
- }
675
-
676
- .ncua-checkbox-field {
677
- position: relative;
678
- line-height: 18px;
679
- font-weight: var(--font-weights-commerce-sans-0);
680
- font-size: var(--font-size-xs);
681
- cursor: pointer;
682
- }
683
- .ncua-checkbox-field__text {
684
- display: block;
685
- color: var(--gray-500);
686
- font-weight: var(--font-weights-commerce-sans-1);
687
- }
688
- .ncua-checkbox-field__support-text {
689
- color: var(--gray-400);
690
- }
691
- .ncua-checkbox-field:hover .ncua-checkbox-field__input {
692
- border-color: var(--gray-700);
693
- background-color: var(--gray-50);
694
- border-radius: 4px;
695
- }
696
- .ncua-checkbox-field--md {
697
- font-size: var(--font-size-sm);
698
- line-height: 22px;
699
- }
700
- .ncua-checkbox-field.has-text {
701
- display: inline-flex;
702
- gap: 6px;
703
- }
704
- .ncua-checkbox-field.has-text .ncua-checkbox-field__input {
705
- transform: translateY(1px);
706
- }
707
- .ncua-checkbox-field.has-text.ncua-checkbox-field--md .ncua-checkbox-field__input {
708
- transform: translateY(3px);
709
- }
710
-
711
- .ncua-hint-text {
712
- color: var(--gray-400);
713
- }
714
- .ncua-hint-text.destructive {
715
- color: var(--primary-red-600);
716
- }
717
-
718
- .ncua-input {
719
- display: inline-flex;
720
- flex-direction: column;
721
- line-height: normal;
722
- vertical-align: top;
723
- }
724
- .ncua-input > *:last-child {
725
- margin-bottom: 0;
726
- }
727
- .ncua-input__label {
728
- margin-bottom: 4px;
729
- }
730
- .ncua-input__content {
731
- box-shadow: var(--shadow-xs);
732
- border-radius: 8px;
733
- }
734
- .ncua-input:where(:not([class*=textarea])) .ncua-input__content {
735
- display: flex;
736
- }
737
- .ncua-input__field {
738
- display: flex;
739
- align-items: center;
740
- background-color: var(--base-white);
741
- border: 1px solid var(--gray-200);
742
- position: relative;
743
- flex: 1;
744
- display: flex;
745
- align-items: center;
746
- justify-content: space-between;
747
- line-height: 1;
748
- }
749
- .ncua-input:focus-within :where(.ncua-input__field) {
750
- border-color: var(--gray-400);
751
- box-shadow: var(--shadow-xs-focused-3px-gray-100);
752
- z-index: 1;
753
- }
754
- .ncua-input input {
755
- width: 100%;
756
- padding: 0;
757
- border: 0;
758
- color: var(--gray-700);
759
- font-size: var(--font-size-sm);
760
- line-height: 1rem;
761
- background-color: var(--base-white);
762
- }
763
- .ncua-input input::-webkit-input-placeholder {
764
- color: var(--gray-300);
765
- }
766
- .ncua-input input::-moz-placeholder {
767
- color: var(--gray-300);
768
- }
769
- .ncua-input input:-ms-input-placeholder {
770
- color: var(--gray-300);
771
- }
772
- .ncua-input input::-ms-input-placeholder {
773
- color: var(--gray-300);
774
- }
775
- .ncua-input input::placeholder {
776
- transform: translateY(1px);
777
- color: var(--gray-300);
778
- }
779
- .ncua-input input:focus {
780
- outline: none;
781
- }
782
- .ncua-input--xs {
783
- gap: 4px;
784
- padding: 5px 10px;
785
- font-size: var(--font-size-xxs);
786
- border-radius: 6px;
787
- }
788
- .ncua-input--xs input {
789
- font-size: var(--font-size-xs);
790
- }
791
- .ncua-input--md {
792
- gap: 6px;
793
- padding: 7px 12px;
794
- font-size: var(--font-size-sm);
795
- border-radius: 6px;
796
- }
797
- .ncua-input--md input {
798
- font-size: var(--font-size-sm);
799
- }
800
- .ncua-input input:-webkit-autofill, .ncua-input input:-webkit-autofill:hover, .ncua-input input:-webkit-autofill:focus, .ncua-input input:-webkit-autofill:active {
801
- -webkit-box-shadow: 0 0 0 30px var(--base-white) inset !important;
802
- }
803
- .ncua-input__icon-wrap {
804
- padding: 0;
805
- display: flex;
806
- align-items: center;
807
- justify-content: center;
808
- background: transparent;
809
- border: none;
810
- }
811
- .ncua-input__clear {
812
- border-radius: 10px;
813
- background: var(--gray-100);
814
- }
815
- .ncua-input__clear-icon {
816
- padding: 2px;
817
- border-radius: 10px;
818
- }
819
- .ncua-input__validation-icon {
820
- color: var(--green-500);
821
- }
822
- .ncua-input__destructive-icon {
823
- color: var(--primary-red-600);
824
- }
825
- .ncua-input__password-icon {
826
- color: var(--gray-300);
827
- }
828
- .ncua-input__left-icon {
829
- margin-right: 8px;
830
- }
831
- .ncua-input__right-icon {
832
- margin-left: 8px;
833
- }
834
- .ncua-input.destructive .ncua-input__field {
835
- border-color: var(--primary-red-600);
836
- }
837
- .ncua-input.destructive:where(:focus-within) .ncua-input__field {
838
- box-shadow: var(--shadow-xs-focused-4px-error-100);
839
- }
840
- .ncua-input.is-disabled .ncua-input__content > :not(button) {
841
- background-color: var(--gray-50);
842
- border-color: var(--gray-200);
843
- }
844
- .ncua-input.is-disabled .ncua-input__field {
845
- overflow: hidden;
846
- }
847
- .ncua-input.is-disabled .ncua-input__field::after {
848
- position: absolute;
849
- top: 0;
850
- left: 0;
851
- content: "";
852
- width: 100%;
853
- height: 100%;
854
- background: inherit;
855
- opacity: 0.5;
856
- }
857
- .ncua-input.is-disabled input {
858
- color: var(--gray-300);
859
- background-color: inherit;
860
- }
861
- .ncua-input.is-disabled .ncua-input__destructive-ico {
862
- display: none;
863
- }
864
- .ncua-input.is-disabled .ncua-input__button {
865
- color: var(--gray-200);
866
- }
867
- .ncua-input.full-width {
868
- width: 100%;
869
- }
870
-
871
- .ncua-input__leading-text {
872
- display: flex;
873
- align-items: center;
874
- background-color: var(--base-white);
875
- border: 1px solid var(--gray-200);
876
- border-radius: 6px 0 0 6px;
877
- color: var(--gray-400);
878
- font-size: var(--font-size-sm);
879
- border-width: 1px 0 1px 1px;
880
- }
881
- .ncua-input__leading-text--xs {
882
- padding: 5px 10px;
883
- }
884
- .ncua-input__leading-text--md {
885
- padding: 7px 12px;
886
- }
887
- .ncua-input__leading-text + .ncua-input__field {
888
- border-radius: 0 6px 6px 0;
889
- }
890
-
891
- .ncua-input__trailing-button .ncua-input__button {
892
- display: flex;
893
- align-items: center;
894
- background-color: var(--base-white);
895
- border: 1px solid var(--gray-200);
896
- border-radius: 0 6px 6px 0;
897
- border-left-width: 0;
898
- color: var(--gray-700);
899
- font-weight: var(--font-weight-commerce-sans-2);
900
- }
901
- .ncua-input__trailing-button .ncua-input__button--xs {
902
- padding: 5px 10px;
903
- }
904
- .ncua-input__trailing-button .ncua-input__button--md {
905
- padding: 7px 12px;
906
- }
907
- .ncua-input__trailing-button .ncua-input__button:not(:disabled) {
908
- cursor: pointer;
909
- }
910
- .ncua-input__trailing-button .ncua-input__field {
911
- border-top-right-radius: 0;
912
- border-bottom-right-radius: 0;
913
- }
914
-
915
- .ncua-label {
916
- display: flex;
917
- gap: 4px;
918
- color: var(--gray-600);
919
- font-weight: var(--font-weight-commerce-sans-1);
920
- }
921
- :where(.ncua-label.is-required)::before {
922
- content: "*";
923
- color: var(--primary-red-500);
924
- }
925
-
926
- .ncua-radio-input {
927
- position: relative;
928
- flex: none;
929
- display: inline-block;
930
- width: 16px;
931
- height: 16px;
932
- line-height: 1;
933
- background-color: var(--base-white);
934
- }
935
- .ncua-radio-input :where(input) {
936
- position: absolute;
937
- top: 0;
938
- left: 0;
939
- z-index: 1;
940
- -webkit-appearance: none;
941
- -moz-appearance: none;
942
- appearance: none;
943
- margin: 0;
944
- width: 100%;
945
- height: 100%;
946
- border: 1px solid var(--gray-200);
947
- font: inherit;
948
- border-radius: 50%;
949
- }
950
- .ncua-radio-input :where(input):focus {
951
- border-color: var(--gray-400);
952
- box-shadow: var(--focus-ring-4px-gray-100);
953
- }
954
- .ncua-radio-input :where(input):checked {
955
- border-color: var(--gray-700);
956
- outline: none;
957
- }
958
- .ncua-radio-input :where(input):disabled {
959
- border-color: var(--gray-200);
960
- }
961
- .ncua-radio-input :where(input)::before {
962
- position: absolute;
963
- top: 50%;
964
- left: 50%;
965
- content: "";
966
- transform: translate(-50%, -50%);
967
- width: 6px;
968
- height: 6px;
969
- border-radius: 50%;
970
- }
971
- .ncua-radio-input :where(input):disabled::before {
972
- background-color: var(--gray-100);
973
- }
974
- .ncua-radio-input :where(input):checked::before {
975
- background-color: var(--gray-700);
976
- }
977
- .ncua-radio-input :where(input):checked:disabled::before {
978
- background-color: var(--gray-200);
979
- }
980
- .ncua-radio-input.destructive :where(input) {
981
- border-color: var(--primary-red-600);
982
- }
983
- .ncua-radio-input.destructive :where(input):focus {
984
- border-color: var(--primary-red-600);
985
- box-shadow: var(--shadow-xs-focused-4px-error-100);
986
- }
987
- .ncua-radio-input:hover {
988
- border-color: var(--gray-600);
989
- background-color: var(--gray-100);
990
- }
991
-
992
- .ncua-radio-field {
993
- position: relative;
994
- line-height: 18px;
995
- font-weight: var(--font-weights-commerce-sans-0);
996
- font-size: var(--font-size-1);
997
- cursor: pointer;
998
- }
999
- .ncua-radio-field__text {
1000
- display: block;
1001
- color: var(--gray-500);
1002
- font-weight: var(--font-weights-commerce-sans-1);
1003
- }
1004
- .ncua-radio-field__support-text {
1005
- color: var(--gray-400);
1006
- }
1007
- .ncua-radio-field:hover .ncua-radio-field__input {
1008
- border-color: var(--gray-700);
1009
- background-color: var(--gray-50);
1010
- border-radius: 4px;
1011
- }
1012
- .ncua-radio-field--md {
1013
- font-size: var(--font-size-2);
1014
- line-height: 22px;
1015
- }
1016
- .ncua-radio-field.has-text {
1017
- display: inline-flex;
1018
- gap: 6px;
1019
- }
1020
- .ncua-radio-field.has-text .ncua-radio-field__input {
1021
- transform: translateY(1px);
1022
- }
1023
- .ncua-radio-field.has-text.ncua-radio-field--md .ncua-radio-field__input {
1024
- transform: translateY(3px);
1025
- }
1026
-
1027
- .ncua-tooltip {
1028
- position: relative;
1029
- font-size: 11px;
1030
- }
1031
- .ncua-tooltip svg {
1032
- cursor: pointer;
1033
- }
1034
- .ncua-tooltip__bg {
1035
- position: absolute;
1036
- padding: 12px;
1037
- border-radius: 4px;
1038
- display: flex;
1039
- flex-direction: column;
1040
- gap: 4px;
1041
- box-shadow: var(--shadow-lg);
1042
- }
1043
- .ncua-tooltip__bg::after {
1044
- position: absolute;
1045
- border: 6px solid transparent;
1046
- content: "";
1047
- }
1048
- .ncua-tooltip__content {
1049
- line-height: 14px;
1050
- width: max-content;
1051
- }
1052
- .ncua-tooltip__bg--black {
1053
- background-color: var(--gray-700);
1054
- }
1055
- .ncua-tooltip__bg--black::after {
1056
- border-color: var(--gray-700);
1057
- }
1058
- .ncua-tooltip__bg--black .ncua-tooltip__title {
1059
- font-weight: 500;
1060
- color: var(--base-white);
1061
- }
1062
- .ncua-tooltip__bg--black .ncua-tooltip__content {
1063
- color: var(--gray-200);
1064
- }
1065
- .ncua-tooltip__bg--white {
1066
- background-color: var(--base-white);
1067
- }
1068
- .ncua-tooltip__bg--white::after {
1069
- border-color: var(--base-white);
1070
- }
1071
- .ncua-tooltip__bg--white .ncua-tooltip__title {
1072
- font-weight: 500;
1073
- color: var(--gray-500);
1074
- }
1075
- .ncua-tooltip__bg--white .ncua-tooltip__content {
1076
- color: var(--gray-400);
1077
- }
1078
- .ncua-tooltip__bg--top {
1079
- top: auto;
1080
- bottom: calc(100% + 16px);
1081
- right: 50%;
1082
- transform: translateX(50%);
1083
- }
1084
- .ncua-tooltip__bg--top::after {
1085
- top: 100%;
1086
- border-block-end: 0;
1087
- border-inline: 6px solid transparent;
1088
- }
1089
- .ncua-tooltip__bg--top::after {
1090
- left: 50%;
1091
- transform: translateX(-50%);
1092
- }
1093
- .ncua-tooltip__bg--top-left {
1094
- top: auto;
1095
- bottom: calc(100% + 16px);
1096
- left: -12px;
1097
- }
1098
- .ncua-tooltip__bg--top-left::after {
1099
- top: 100%;
1100
- border-block-end: 0;
1101
- border-inline: 6px solid transparent;
1102
- }
1103
- .ncua-tooltip__bg--top-left::after {
1104
- left: 12px;
1105
- }
1106
- .ncua-tooltip__bg--top-right {
1107
- top: auto;
1108
- bottom: calc(100% + 16px);
1109
- right: -12px;
1110
- }
1111
- .ncua-tooltip__bg--top-right::after {
1112
- top: 100%;
1113
- border-block-end: 0;
1114
- border-inline: 6px solid transparent;
1115
- }
1116
- .ncua-tooltip__bg--top-right::after {
1117
- right: 15px;
1118
- }
1119
- .ncua-tooltip__bg--bottom {
1120
- top: calc(100% + 6px);
1121
- right: 50%;
1122
- transform: translateX(50%);
1123
- }
1124
- .ncua-tooltip__bg--bottom::after {
1125
- bottom: 100%;
1126
- border-block-start: 0;
1127
- border-inline: 6px solid transparent;
1128
- }
1129
- .ncua-tooltip__bg--bottom::after {
1130
- left: 50%;
1131
- transform: translateX(-50%);
1132
- }
1133
- .ncua-tooltip__bg--bottom-left {
1134
- top: calc(100% + 6px);
1135
- left: -12px;
1136
- }
1137
- .ncua-tooltip__bg--bottom-left::after {
1138
- bottom: 100%;
1139
- border-block-start: 0;
1140
- border-inline: 6px solid transparent;
1141
- }
1142
- .ncua-tooltip__bg--bottom-left::after {
1143
- left: 12px;
1144
- }
1145
- .ncua-tooltip__bg--bottom-right {
1146
- top: calc(100% + 6px);
1147
- right: -12px;
1148
- }
1149
- .ncua-tooltip__bg--bottom-right::after {
1150
- bottom: 100%;
1151
- border-block-start: 0;
1152
- border-inline: 6px solid transparent;
1153
- }
1154
- .ncua-tooltip__bg--bottom-right::after {
1155
- right: 15px;
1156
- }
1157
- .ncua-tooltip--hidden-arrow .ncua-tooltip__bg::after {
1158
- content: none;
1159
- }
1160
- .ncua-tooltip--stroke svg:hover {
1161
- color: var(--gray-400);
1162
- }
1163
- .ncua-tooltip:not(:hover) .ncua-tooltip__bg {
1164
- display: none;
1165
- }
1166
-
1167
- :root {
1168
- --select-height-xs: 28px;
1169
- --select-height-sm: 36px;
1170
- --select-height-md: 40px;
1171
- --select-simple-height-xs: 18px;
1172
- --select-simple-height-sm: 22px;
1173
- --select-simple-height-md: 22px;
1174
- }
1175
-
1176
- .ncua-select__content {
1177
- position: relative;
1178
- display: flex;
1179
- align-items: center;
1180
- padding-inline-start: 14px;
1181
- border: 1px solid var(--gray-200);
1182
- background-color: var(--base-white);
1183
- overflow: hidden;
1184
- }
1185
- .ncua-select__content::after {
1186
- position: absolute;
1187
- top: 50%;
1188
- right: 10px;
1189
- width: 14px;
1190
- height: 14px;
1191
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23171818' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
1192
- content: "";
1193
- z-index: -1;
1194
- transform: translateY(-50%);
1195
- }
1196
- .ncua-select__icon {
1197
- margin-right: 8px;
1198
- }
1199
- .ncua-select__icon svg {
1200
- display: block;
1201
- }
1202
- .ncua-select select {
1203
- -webkit-appearance: none;
1204
- appearance: none;
1205
- border: 0;
1206
- height: 100%;
1207
- flex: 1;
1208
- padding-right: 42px;
1209
- background-color: transparent;
1210
- outline: none;
1211
- color: var(--gray-700);
1212
- }
1213
- .ncua-select__content:focus-within {
1214
- border-color: var(--gray-400);
1215
- box-shadow: var(--shadow-xs-focused-4px-primary-gray-100);
1216
- }
1217
- .ncua-select.destructive .ncua-select__content {
1218
- border-color: var(--primary-red-600);
1219
- }
1220
- .ncua-select.destructive .ncua-select__content:focus-within {
1221
- box-shadow: var(--shadow-xs-focused-4px-error-100);
1222
- }
1223
- .ncua-select__destructive-icon {
1224
- position: absolute;
1225
- top: 50%;
1226
- right: 25px;
1227
- width: 14px;
1228
- height: 14px;
1229
- font-size: 0;
1230
- color: var(--primary-red-600);
1231
- transform: translateY(-50%);
1232
- }
1233
- .ncua-select--xs {
1234
- height: var(--select-height-xs);
1235
- border-radius: 6px;
1236
- }
1237
- .ncua-select--xs > .ncua-select__tag {
1238
- font-size: var(--font-size-xs);
1239
- font-weight: var(--font-weights-commerce-sans-0);
1240
- }
1241
- .ncua-select--sm {
1242
- height: var(--select-height-sm);
1243
- border-radius: 8px;
1244
- }
1245
- .ncua-select--sm > .ncua-select__tag {
1246
- font-size: var(--font-size-sm);
1247
- font-weight: var(--font-weights-commerce-sans-0);
1248
- }
1249
- .ncua-select--md {
1250
- min-width: 132px;
1251
- height: var(--select-height-md);
1252
- border-radius: 8px;
1253
- }
1254
- .ncua-select--md > .ncua-select__tag {
1255
- font-size: var(--font-size-sm);
1256
- font-weight: var(--font-weights-commerce-sans-1);
1257
- }
1258
- .ncua-select--simple .ncua-select__content {
1259
- padding-inline-start: 0;
1260
- border: 0;
1261
- }
1262
- .ncua-select--simple .ncua-select__content::after {
1263
- right: 0;
1264
- }
1265
- .ncua-select--simple .ncua-select--xs {
1266
- min-width: auto;
1267
- height: var(--select-simple-height-xs);
1268
- border-radius: 0;
1269
- }
1270
- .ncua-select--simple .ncua-select--sm {
1271
- min-width: auto;
1272
- height: var(--select-simple-height-sm);
1273
- border-radius: 0;
1274
- }
1275
- .ncua-select--simple .ncua-select--md {
1276
- min-width: auto;
1277
- height: var(--select-simple-height-md);
1278
- border-radius: 0;
1279
- }
1280
- .ncua-select--simple select {
1281
- padding-right: 18px;
1282
- }
1283
- .ncua-select .ncua-hint-text {
1284
- margin-block-start: 6px;
1285
- font-size: var(--font-size-xxs);
1286
- }
1287
-
1288
- .ncua-pagination {
1289
- display: flex;
1290
- align-items: center;
1291
- }
1292
- .ncua-pagination__list {
1293
- display: flex;
1294
- align-items: center;
1295
- margin: 0;
1296
- padding: 0;
1297
- }
1298
- .ncua-pagination__before {
1299
- margin-inline: 4px 8px;
1300
- }
1301
- .ncua-pagination__item + .ncua-pagination__item {
1302
- margin-inline-start: 4px;
1303
- }
1304
- .ncua-pagination__page-num {
1305
- font-size: 14px;
1306
- font-weight: 500;
1307
- display: inline-flex;
1308
- justify-content: center;
1309
- align-items: center;
1310
- padding-inline: 10px;
1311
- min-width: 32px;
1312
- height: 32px;
1313
- border-radius: 8px;
1314
- border: 0;
1315
- cursor: pointer;
1316
- }
1317
- .ncua-pagination__page-num:hover, .ncua-pagination__page-num:focus, .ncua-pagination__page-num.is-current {
1318
- background-color: var(--gray-50);
1319
- }
1320
- .ncua-pagination__page-num:hover, .ncua-pagination__page-num.is-current {
1321
- font-weight: 700;
1322
- }
1323
- .ncua-pagination__page-num:focus {
1324
- outline: none;
1325
- box-shadow: var(--focus-ring-4px-gray-100);
1326
- }
1327
- .ncua-pagination__page-info {
1328
- display: none;
1329
- }
1330
- .ncua-pagination__next {
1331
- margin-inline: 8px 4px;
1332
- }
1333
- @media (max-width: 768px) {
1334
- .ncua-pagination {
1335
- justify-content: space-between;
1336
- }
1337
- .ncua-pagination__list {
1338
- display: none;
1339
- }
1340
- .ncua-pagination__first, .ncua-pagination__last {
1341
- display: none;
1342
- }
1343
- .ncua-pagination__page-info {
1344
- display: flex;
1345
- align-items: center;
1346
- margin: 0;
1347
- font-size: 14px;
1348
- color: var(--gray-400);
1349
- }
1350
- .ncua-pagination__current-num {
1351
- font-style: normal;
1352
- color: var(--gray-700);
1353
- }
1354
- }
1355
-
1356
- @keyframes ncua-spinner-rotate {
1357
- from {
1358
- transform: rotate(0deg);
1359
- }
1360
- to {
1361
- transform: rotate(360deg);
1362
- }
1363
- }
1364
- .ncua-spinner {
1365
- display: grid;
1366
- place-items: center;
1367
- }
1368
- .ncua-spinner__content {
1369
- text-align: center;
1370
- }
1371
- .ncua-spinner__content::before {
1372
- content: "";
1373
- display: inline-block;
1374
- border-radius: 50%;
1375
- border-style: solid;
1376
- border-color: var(--gray-100);
1377
- border-top-color: var(--gray-500);
1378
- animation: ncua-spinner-rotate 1s linear infinite;
1379
- }
1380
- .ncua-spinner__text {
1381
- margin: 0;
1382
- color: var(--gray-500);
1383
- }
1384
- .ncua-spinner--xs {
1385
- font-size: 11px;
1386
- }
1387
- .ncua-spinner--xs .ncua-spinner__content::before {
1388
- margin-block-end: 12px;
1389
- width: 16px;
1390
- height: 16px;
1391
- border-width: 2px;
1392
- }
1393
- .ncua-spinner--sm {
1394
- font-size: 14px;
1395
- }
1396
- .ncua-spinner--sm .ncua-spinner__content::before {
1397
- margin-block-end: 16px;
1398
- width: 32px;
1399
- height: 32px;
1400
- border-width: 4px;
1401
- }
1402
- .ncua-spinner--md {
1403
- font-size: 14px;
1404
- }
1405
- .ncua-spinner--md .ncua-spinner__content::before {
1406
- margin-block-end: 16px;
1407
- width: 48px;
1408
- height: 48px;
1409
- border-width: 6px;
1410
- }
1411
- .ncua-spinner--lg {
1412
- font-size: 18px;
1413
- }
1414
- .ncua-spinner--lg .ncua-spinner__content::before {
1415
- margin-block-end: 16px;
1416
- width: 56px;
1417
- height: 56px;
1418
- border-width: 6px;
1419
- }
1420
- .ncua-spinner--xl {
1421
- font-size: 18px;
1422
- }
1423
- .ncua-spinner--xl .ncua-spinner__content::before {
1424
- margin-block-end: 20px;
1425
- width: 64px;
1426
- height: 64px;
1427
- border-width: 8px;
1428
- }
1429
- .ncua-spinner--backdrop {
1430
- content: "";
1431
- position: fixed;
1432
- top: 0;
1433
- left: 0;
1434
- width: 100vw;
1435
- height: 100vh;
1436
- background-color: rgba(0, 0, 0, 0.5);
1437
- z-index: 200;
1438
- }