@ncds/ui-admin 0.0.22 → 0.0.23

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 (94) hide show
  1. package/dist/cjs/assets/scripts/index.js +11 -0
  2. package/dist/cjs/assets/scripts/slider.js +341 -0
  3. package/dist/cjs/index.js +0 -33
  4. package/dist/cjs/src/components/button/Button.js +15 -7
  5. package/dist/cjs/src/components/button/ButtonGroup.js +1 -1
  6. package/dist/cjs/src/components/date-picker/index.js +0 -11
  7. package/dist/cjs/src/components/divider/Divider.js +43 -0
  8. package/dist/cjs/src/components/divider/index.js +16 -0
  9. package/dist/cjs/src/components/empty-state/EmptyState.js +58 -0
  10. package/dist/cjs/src/components/empty-state/index.js +16 -0
  11. package/dist/cjs/src/components/featured-icon/FeaturedIcon.js +79 -0
  12. package/dist/cjs/src/components/featured-icon/index.js +16 -0
  13. package/dist/cjs/src/components/index.js +81 -4
  14. package/dist/cjs/src/components/modal/Modal.js +193 -0
  15. package/dist/cjs/src/components/modal/index.js +12 -0
  16. package/dist/cjs/src/components/notification/FloatingNotification.js +104 -0
  17. package/dist/cjs/src/components/notification/FullWidthNotification.js +112 -0
  18. package/dist/cjs/src/components/notification/Notification.js +66 -0
  19. package/dist/cjs/src/components/notification/index.js +38 -0
  20. package/dist/cjs/src/components/pagination/NavButton.js +6 -4
  21. package/dist/cjs/src/components/pagination/Pagination.js +4 -19
  22. package/dist/cjs/src/components/progress-bar/ProgressBar.js +57 -0
  23. package/dist/cjs/src/components/progress-bar/index.js +16 -0
  24. package/dist/cjs/src/components/progress-circle/ProgressCircle.js +121 -0
  25. package/dist/cjs/src/components/progress-circle/index.js +16 -0
  26. package/dist/cjs/src/components/slider/Slider.js +64 -0
  27. package/dist/cjs/src/components/slider/index.js +16 -0
  28. package/dist/cjs/src/components/tab/HorizontalTab.js +77 -0
  29. package/dist/cjs/src/components/tab/TabButton.js +76 -0
  30. package/dist/cjs/src/components/tab/VerticalTab.js +75 -0
  31. package/dist/cjs/src/components/tab/index.js +38 -0
  32. package/dist/esm/assets/scripts/index.js +2 -1
  33. package/dist/esm/assets/scripts/slider.js +336 -0
  34. package/dist/esm/index.js +0 -3
  35. package/dist/esm/src/components/button/Button.js +14 -6
  36. package/dist/esm/src/components/button/ButtonGroup.js +1 -1
  37. package/dist/esm/src/components/date-picker/index.js +1 -2
  38. package/dist/esm/src/components/divider/Divider.js +36 -0
  39. package/dist/esm/src/components/divider/index.js +1 -0
  40. package/dist/esm/src/components/empty-state/EmptyState.js +51 -0
  41. package/dist/esm/src/components/empty-state/index.js +1 -0
  42. package/dist/esm/src/components/featured-icon/FeaturedIcon.js +72 -0
  43. package/dist/esm/src/components/featured-icon/index.js +1 -0
  44. package/dist/esm/src/components/index.js +8 -1
  45. package/dist/esm/src/components/modal/Modal.js +185 -0
  46. package/dist/esm/src/components/modal/index.js +1 -0
  47. package/dist/esm/src/components/notification/FloatingNotification.js +97 -0
  48. package/dist/esm/src/components/notification/FullWidthNotification.js +105 -0
  49. package/dist/esm/src/components/notification/Notification.js +59 -0
  50. package/dist/esm/src/components/notification/index.js +3 -0
  51. package/dist/esm/src/components/pagination/NavButton.js +6 -4
  52. package/dist/esm/src/components/pagination/Pagination.js +4 -19
  53. package/dist/esm/src/components/progress-bar/ProgressBar.js +50 -0
  54. package/dist/esm/src/components/progress-bar/index.js +1 -0
  55. package/dist/esm/src/components/progress-circle/ProgressCircle.js +114 -0
  56. package/dist/esm/src/components/progress-circle/index.js +1 -0
  57. package/dist/esm/src/components/slider/Slider.js +57 -0
  58. package/dist/esm/src/components/slider/index.js +1 -0
  59. package/dist/esm/src/components/tab/HorizontalTab.js +69 -0
  60. package/dist/esm/src/components/tab/TabButton.js +68 -0
  61. package/dist/esm/src/components/tab/VerticalTab.js +67 -0
  62. package/dist/esm/src/components/tab/index.js +3 -0
  63. package/dist/types/assets/scripts/index.d.ts +1 -0
  64. package/dist/types/assets/scripts/slider.d.ts +42 -0
  65. package/dist/types/index.d.ts +0 -3
  66. package/dist/types/src/components/button/Button.d.ts +2 -1
  67. package/dist/types/src/components/button/ButtonGroup.d.ts +6 -5
  68. package/dist/types/src/components/date-picker/index.d.ts +0 -1
  69. package/dist/types/src/components/divider/Divider.d.ts +11 -0
  70. package/dist/types/src/components/divider/index.d.ts +2 -0
  71. package/dist/types/src/components/empty-state/EmptyState.d.ts +14 -0
  72. package/dist/types/src/components/empty-state/index.d.ts +2 -0
  73. package/dist/types/src/components/featured-icon/FeaturedIcon.d.ts +14 -0
  74. package/dist/types/src/components/featured-icon/index.d.ts +2 -0
  75. package/dist/types/src/components/index.d.ts +8 -1
  76. package/dist/types/src/components/modal/Modal.d.ts +75 -0
  77. package/dist/types/src/components/modal/index.d.ts +3 -0
  78. package/dist/types/src/components/notification/FloatingNotification.d.ts +32 -0
  79. package/dist/types/src/components/notification/FullWidthNotification.d.ts +32 -0
  80. package/dist/types/src/components/notification/Notification.d.ts +59 -0
  81. package/dist/types/src/components/notification/index.d.ts +4 -0
  82. package/dist/types/src/components/pagination/NavButton.d.ts +2 -2
  83. package/dist/types/src/components/progress-bar/ProgressBar.d.ts +7 -0
  84. package/dist/types/src/components/progress-bar/index.d.ts +2 -0
  85. package/dist/types/src/components/progress-circle/ProgressCircle.d.ts +8 -0
  86. package/dist/types/src/components/progress-circle/index.d.ts +2 -0
  87. package/dist/types/src/components/slider/Slider.d.ts +15 -0
  88. package/dist/types/src/components/slider/index.d.ts +2 -0
  89. package/dist/types/src/components/tab/HorizontalTab.d.ts +12 -0
  90. package/dist/types/src/components/tab/TabButton.d.ts +26 -0
  91. package/dist/types/src/components/tab/VerticalTab.d.ts +10 -0
  92. package/dist/types/src/components/tab/index.d.ts +4 -0
  93. package/dist/ui-admin/assets/styles/style.css +1249 -97
  94. package/package.json +1 -1
@@ -244,7 +244,6 @@ button {
244
244
  justify-content: center;
245
245
  align-items: center;
246
246
  text-align: center;
247
- gap: 8px;
248
247
  line-height: normal;
249
248
  color: inherit;
250
249
  transition: background-color 0.2s ease-in-out;
@@ -275,7 +274,7 @@ button {
275
274
  .ncua-btn--primary:disabled, .ncua-btn--primary.is-disable {
276
275
  background-color: var(--primary-red-100);
277
276
  border: 1px solid var(--primary-red-200);
278
- color: var(--base-white);
277
+ color: var(--primary-red-300);
279
278
  cursor: default;
280
279
  }
281
280
  .ncua-btn--secondary {
@@ -347,7 +346,7 @@ button {
347
346
  }
348
347
  .ncua-btn--tertiary-gray:disabled, .ncua-btn--tertiary-gray.is-disable {
349
348
  background-color: var(--base-white);
350
- color: var(--base-white);
349
+ color: var(--gray-200);
351
350
  cursor: default;
352
351
  }
353
352
  .ncua-btn--link {
@@ -373,12 +372,12 @@ button {
373
372
  .ncua-btn--destructive {
374
373
  box-shadow: var(--shadow-xs);
375
374
  background-color: var(--primary-red-500);
376
- border: 1px solid var(--primary-red-200);
375
+ border: 1px solid var(--primary-red-500);
377
376
  color: var(--base-white);
378
377
  }
379
378
  .ncua-btn--destructive:hover:not([disabled], .is-disable) {
380
379
  background-color: var(--primary-red-700);
381
- border: 1px solid var(--primary-red-300);
380
+ border: 1px solid var(--primary-red-700);
382
381
  color: var(--base-white);
383
382
  }
384
383
  .ncua-btn--destructive:focus:not([disabled], .is-disabled) {
@@ -387,21 +386,23 @@ button {
387
386
  color: var(--base-white);
388
387
  }
389
388
  .ncua-btn--destructive:disabled, .ncua-btn--destructive.is-disable {
390
- background-color: var(--primary-red-50);
389
+ background-color: var(--primary-red-200);
391
390
  border: 1px solid var(--primary-red-300);
392
391
  color: var(--primary-red-300);
393
392
  cursor: default;
394
393
  }
395
394
  .ncua-btn--xxs {
396
395
  padding: 5px 8px;
396
+ gap: 4px;
397
397
  height: var(--button-height-xxs);
398
398
  font-size: var(--font-size-xxs);
399
- border-radius: 6px;
399
+ border-radius: 4px;
400
400
  font-weight: var(--font-weights-commerce-sans-1);
401
401
  line-height: var(--line-heights-xxs);
402
402
  }
403
403
  .ncua-btn--xs {
404
- padding: 5px 12px;
404
+ padding: 5px 10px;
405
+ gap: 4px;
405
406
  height: var(--button-height-xs);
406
407
  font-size: var(--font-size-xs);
407
408
  border-radius: 6px;
@@ -409,15 +410,17 @@ button {
409
410
  line-height: var(--line-heights-xs);
410
411
  }
411
412
  .ncua-btn--sm {
412
- padding: 8px 14px;
413
+ padding: 7px 14px;
414
+ gap: 8px;
413
415
  height: var(--button-height-sm);
414
416
  font-size: var(--font-size-sm);
415
- border-radius: 8px;
417
+ border-radius: 6px;
416
418
  font-weight: var(--font-weights-commerce-sans-2);
417
419
  line-height: var(--line-heights-sm);
418
420
  }
419
421
  .ncua-btn--md {
420
422
  padding: 10px 16px;
423
+ gap: 8px;
421
424
  height: var(--button-height-md);
422
425
  font-size: var(--font-size-sm);
423
426
  border-radius: 8px;
@@ -729,6 +732,151 @@ button {
729
732
  transform: translateY(3px);
730
733
  }
731
734
 
735
+ .ncua-featured-icon {
736
+ display: flex;
737
+ align-items: center;
738
+ justify-content: center;
739
+ position: relative;
740
+ }
741
+ .ncua-featured-icon--sm {
742
+ width: 32px;
743
+ height: 32px;
744
+ }
745
+ .ncua-featured-icon--md {
746
+ width: 40px;
747
+ height: 40px;
748
+ }
749
+ .ncua-featured-icon--lg {
750
+ width: 48px;
751
+ height: 48px;
752
+ }
753
+ .ncua-featured-icon--xl {
754
+ width: 56px;
755
+ height: 56px;
756
+ }
757
+ .ncua-featured-icon--light-circle.ncua-featured-icon--neutral {
758
+ background-color: var(--gray-100);
759
+ border-radius: 50%;
760
+ }
761
+ .ncua-featured-icon--light-circle.ncua-featured-icon--error {
762
+ background-color: var(--primary-red-100);
763
+ border-radius: 50%;
764
+ }
765
+ .ncua-featured-icon--light-circle.ncua-featured-icon--warning {
766
+ background-color: var(--orange-100);
767
+ border-radius: 50%;
768
+ }
769
+ .ncua-featured-icon--light-circle.ncua-featured-icon--success {
770
+ background-color: var(--green-100);
771
+ border-radius: 50%;
772
+ }
773
+ .ncua-featured-icon--dark-circle.ncua-featured-icon--neutral {
774
+ background-color: var(--gray-400);
775
+ border-radius: 50%;
776
+ }
777
+ .ncua-featured-icon--dark-circle.ncua-featured-icon--error {
778
+ background-color: var(--primary-red-400);
779
+ border-radius: 50%;
780
+ }
781
+ .ncua-featured-icon--dark-circle.ncua-featured-icon--warning {
782
+ background-color: var(--orange-400);
783
+ border-radius: 50%;
784
+ }
785
+ .ncua-featured-icon--dark-circle.ncua-featured-icon--success {
786
+ background-color: var(--green-400);
787
+ border-radius: 50%;
788
+ }
789
+ .ncua-featured-icon--outline-circle {
790
+ border-radius: 50%;
791
+ }
792
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--neutral .ncua-featured-icon__outline {
793
+ border-color: var(--gray-500);
794
+ }
795
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--error .ncua-featured-icon__outline {
796
+ border-color: var(--primary-red-500);
797
+ }
798
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--warning .ncua-featured-icon__outline {
799
+ border-color: var(--orange-500);
800
+ }
801
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--success .ncua-featured-icon__outline {
802
+ border-color: var(--green-500);
803
+ }
804
+ .ncua-featured-icon--square-outline.ncua-featured-icon--sm {
805
+ border-radius: 6px;
806
+ border: 1px solid var(--gray-200);
807
+ box-shadow: var(--shadow-xs);
808
+ }
809
+ .ncua-featured-icon--square-outline.ncua-featured-icon--md {
810
+ border-radius: 8px;
811
+ border: 1px solid var(--gray-200);
812
+ box-shadow: var(--shadow-xs);
813
+ }
814
+ .ncua-featured-icon--square-outline.ncua-featured-icon--lg {
815
+ border-radius: 10px;
816
+ border: 1px solid var(--gray-200);
817
+ box-shadow: var(--shadow-xs);
818
+ }
819
+ .ncua-featured-icon--square-outline.ncua-featured-icon--xl {
820
+ border-radius: 12px;
821
+ border: 1px solid var(--gray-200);
822
+ box-shadow: var(--shadow-xs);
823
+ }
824
+ .ncua-featured-icon__outline {
825
+ position: absolute;
826
+ border-style: solid;
827
+ border-radius: 50%;
828
+ width: 100%;
829
+ height: 100%;
830
+ box-sizing: border-box;
831
+ }
832
+ .ncua-featured-icon__outline--inner {
833
+ width: 75%;
834
+ height: 75%;
835
+ border-width: 2px;
836
+ opacity: 0.3;
837
+ }
838
+ .ncua-featured-icon__outline--outer {
839
+ width: 100%;
840
+ height: 100%;
841
+ border-width: 2px;
842
+ opacity: 0.1;
843
+ }
844
+
845
+ .ncua-divider {
846
+ width: 100%;
847
+ display: flex;
848
+ align-items: center;
849
+ justify-content: center;
850
+ gap: 8px;
851
+ }
852
+ .ncua-divider__line {
853
+ flex: 1;
854
+ height: 1px;
855
+ background-color: var(--gray-100);
856
+ }
857
+ .ncua-divider__content {
858
+ display: flex;
859
+ align-items: center;
860
+ justify-content: center;
861
+ }
862
+ .ncua-divider--background-fill {
863
+ padding: 8px 0;
864
+ background-color: var(--gray-50);
865
+ border-radius: 8px;
866
+ }
867
+ .ncua-divider--text {
868
+ font-size: var(--font-size-sm);
869
+ font-weight: var(--font-weights-commerce-sans-1);
870
+ line-height: var(--line-heights-sm);
871
+ color: var(--gray-500);
872
+ }
873
+ .ncua-divider--heading {
874
+ font-size: var(--font-size-md);
875
+ font-weight: var(--font-weights-commerce-sans-1);
876
+ line-height: var(--line-heights-md);
877
+ color: var(--gray-700);
878
+ }
879
+
732
880
  .ncua-dropdown {
733
881
  position: relative;
734
882
  display: inline-block;
@@ -944,16 +1092,16 @@ button {
944
1092
  display: flex;
945
1093
  }
946
1094
  .ncua-input__field {
947
- display: flex;
948
- align-items: center;
949
- background-color: var(--base-white);
950
- border: 1px solid var(--gray-200);
951
- position: relative;
952
1095
  flex: 1;
953
1096
  display: flex;
954
1097
  align-items: center;
955
1098
  justify-content: space-between;
956
1099
  line-height: 1;
1100
+ display: flex;
1101
+ align-items: center;
1102
+ background-color: var(--base-white);
1103
+ border: 1px solid var(--gray-200);
1104
+ position: relative;
957
1105
  }
958
1106
  .ncua-input:focus-within :where(.ncua-input__field) {
959
1107
  border-color: var(--gray-400);
@@ -1086,14 +1234,14 @@ button {
1086
1234
  }
1087
1235
 
1088
1236
  .ncua-input__leading-text {
1089
- display: flex;
1090
- align-items: center;
1091
- background-color: var(--base-white);
1092
- border: 1px solid var(--gray-200);
1093
1237
  border-radius: 6px 0 0 6px;
1094
1238
  color: var(--gray-400);
1095
1239
  font-size: var(--font-size-sm);
1096
1240
  border-width: 1px 0 1px 1px;
1241
+ display: flex;
1242
+ align-items: center;
1243
+ background-color: var(--base-white);
1244
+ border: 1px solid var(--gray-200);
1097
1245
  }
1098
1246
  .ncua-input__leading-text--xs {
1099
1247
  padding: 5px 10px;
@@ -1106,14 +1254,14 @@ button {
1106
1254
  }
1107
1255
 
1108
1256
  .ncua-input__trailing-button .ncua-input__button {
1109
- display: flex;
1110
- align-items: center;
1111
- background-color: var(--base-white);
1112
- border: 1px solid var(--gray-200);
1113
1257
  border-radius: 0 6px 6px 0;
1114
1258
  border-left-width: 0;
1115
1259
  color: var(--gray-700);
1116
1260
  font-weight: var(--font-weight-commerce-sans-2);
1261
+ display: flex;
1262
+ align-items: center;
1263
+ background-color: var(--base-white);
1264
+ border: 1px solid var(--gray-200);
1117
1265
  }
1118
1266
  .ncua-input__trailing-button .ncua-input__button--xs {
1119
1267
  padding: 5px 10px;
@@ -1177,91 +1325,627 @@ button {
1177
1325
  color: var(--primary-red-500);
1178
1326
  }
1179
1327
 
1180
- .ncua-radio-input {
1181
- position: relative;
1182
- flex: none;
1183
- display: inline-block;
1184
- width: 16px;
1185
- height: 16px;
1186
- line-height: 1;
1187
- background-color: var(--base-white);
1188
- }
1189
- .ncua-radio-input :where(input) {
1190
- position: absolute;
1328
+ .ncua-modal-backdrop {
1329
+ position: fixed;
1191
1330
  top: 0;
1192
1331
  left: 0;
1193
- z-index: 1;
1194
- -webkit-appearance: none;
1195
- -moz-appearance: none;
1196
- appearance: none;
1197
- margin: 0;
1332
+ right: 0;
1333
+ bottom: 0;
1334
+ padding: 0 16px;
1335
+ background-color: rgba(0, 0, 0, 0.7);
1336
+ display: flex;
1337
+ align-items: center;
1338
+ justify-content: center;
1339
+ z-index: 1000;
1340
+ }
1341
+
1342
+ .ncua-modal {
1343
+ background-color: var(--base-white);
1344
+ border-radius: 12px;
1198
1345
  width: 100%;
1199
- height: 100%;
1200
- border: 1px solid var(--gray-200);
1201
- font: inherit;
1202
- border-radius: 50%;
1346
+ max-height: calc(100vh - 40px);
1347
+ overflow: hidden;
1348
+ display: flex;
1349
+ flex-direction: column;
1350
+ box-shadow: var(--shadow-xl);
1203
1351
  }
1204
- .ncua-radio-input :where(input):focus {
1205
- border-color: var(--gray-400);
1206
- box-shadow: var(--focus-ring-4px-gray-100);
1352
+ .ncua-modal--sm {
1353
+ max-width: 400px;
1207
1354
  }
1208
- .ncua-radio-input :where(input):checked {
1209
- border-color: var(--gray-700);
1210
- outline: none;
1355
+ .ncua-modal--md {
1356
+ max-width: 560px;
1211
1357
  }
1212
- .ncua-radio-input :where(input):disabled {
1213
- border-color: var(--gray-200);
1358
+ .ncua-modal--lg {
1359
+ max-width: 640px;
1214
1360
  }
1215
- .ncua-radio-input :where(input)::before {
1216
- position: absolute;
1217
- top: 50%;
1218
- left: 50%;
1219
- content: "";
1220
- transform: translate(-50%, -50%);
1221
- width: 6px;
1222
- height: 6px;
1223
- border-radius: 50%;
1361
+ .ncua-modal--xl {
1362
+ max-width: 760px;
1224
1363
  }
1225
- .ncua-radio-input :where(input):disabled::before {
1364
+ @media (max-width: 768px) {
1365
+ .ncua-modal {
1366
+ max-height: calc(100vh - 160px);
1367
+ }
1368
+ }
1369
+
1370
+ .ncua-modal__header {
1371
+ padding: 16px 20px 16px;
1372
+ border-bottom: none;
1373
+ position: relative;
1374
+ display: flex;
1375
+ flex-direction: column;
1376
+ gap: 8px;
1377
+ }
1378
+ .ncua-modal__header-divider {
1379
+ width: 100%;
1380
+ height: 1px;
1226
1381
  background-color: var(--gray-100);
1382
+ margin: 0 0 16px;
1227
1383
  }
1228
- .ncua-radio-input :where(input):checked::before {
1229
- background-color: var(--gray-700);
1384
+ .ncua-modal__header--left {
1385
+ align-items: flex-start;
1230
1386
  }
1231
- .ncua-radio-input :where(input):checked:disabled::before {
1232
- background-color: var(--gray-200);
1387
+ .ncua-modal__header--left .ncua-modal__title {
1388
+ align-items: flex-start;
1389
+ text-align: left;
1233
1390
  }
1234
- .ncua-radio-input.destructive :where(input) {
1235
- border-color: var(--primary-red-600);
1391
+ .ncua-modal__header--center {
1392
+ align-items: center;
1236
1393
  }
1237
- .ncua-radio-input.destructive :where(input):focus {
1238
- border-color: var(--primary-red-600);
1239
- box-shadow: var(--shadow-xs-focused-4px-error-100);
1394
+ .ncua-modal__header--center .ncua-modal__title {
1395
+ align-items: center;
1396
+ text-align: center;
1240
1397
  }
1241
- .ncua-radio-input:hover {
1242
- border-color: var(--gray-600);
1243
- background-color: var(--gray-100);
1398
+ .ncua-modal__header--center .ncua-modal__title .ncua-modal__title-text,
1399
+ .ncua-modal__header--center .ncua-modal__title .ncua-modal__title-subtitle {
1400
+ text-align: center;
1401
+ }
1402
+ .ncua-modal__header--horizontal {
1403
+ flex-direction: row;
1404
+ align-items: flex-start;
1405
+ gap: 16px;
1406
+ }
1407
+ .ncua-modal__header--horizontal .ncua-modal__title {
1408
+ flex: 1;
1244
1409
  }
1245
1410
 
1246
- .ncua-radio-field {
1247
- position: relative;
1248
- line-height: 18px;
1249
- font-weight: var(--font-weights-commerce-sans-0);
1250
- font-size: var(--font-size-1);
1251
- cursor: pointer;
1411
+ .ncua-modal__title {
1412
+ display: flex;
1413
+ flex-direction: column;
1414
+ align-items: flex-start;
1415
+ gap: 4px;
1252
1416
  }
1253
- .ncua-radio-field__text {
1254
- display: block;
1255
- color: var(--gray-500);
1256
- font-weight: var(--font-weights-commerce-sans-1);
1417
+ .ncua-modal__title .ncua-modal__title-text {
1418
+ font-weight: var(--font-weights-commerce-sans-2);
1419
+ font-size: var(--font-size-sm);
1420
+ line-height: var(--line-heights-sm);
1421
+ color: var(--gray-700);
1257
1422
  }
1258
- .ncua-radio-field__support-text {
1423
+ .ncua-modal__title .ncua-modal__title-subtitle {
1424
+ font-weight: var(--font-weights-commerce-sans-0);
1425
+ font-size: var(--font-size-xs);
1426
+ line-height: var(--line-heights-xs);
1259
1427
  color: var(--gray-400);
1260
1428
  }
1261
- .ncua-radio-field:hover .ncua-radio-field__input {
1262
- border-color: var(--gray-700);
1263
- background-color: var(--gray-50);
1264
- border-radius: 4px;
1429
+
1430
+ .ncua-modal__close-button {
1431
+ position: absolute;
1432
+ top: 16px;
1433
+ right: 20px;
1434
+ width: 24px;
1435
+ height: 24px;
1436
+ display: flex;
1437
+ align-items: center;
1438
+ justify-content: center;
1439
+ background: transparent;
1440
+ border: none;
1441
+ cursor: pointer;
1442
+ padding: 0;
1443
+ color: var(--gray-400);
1444
+ border-radius: 8px;
1445
+ }
1446
+ .ncua-modal__close-button:hover {
1447
+ background-color: var(--gray-50);
1448
+ }
1449
+
1450
+ .ncua-modal__content {
1451
+ padding: 0 20px 0;
1452
+ overflow-y: auto;
1453
+ flex: 1;
1454
+ }
1455
+ @media (max-width: 768px) {
1456
+ .ncua-modal__content {
1457
+ padding: 0 16px 0;
1458
+ }
1459
+ }
1460
+
1461
+ .ncua-modal__actions-wrapper {
1462
+ padding: 16px 20px 16px;
1463
+ }
1464
+ .ncua-modal__actions-wrapper--checkbox {
1465
+ display: flex;
1466
+ align-items: center;
1467
+ flex-direction: row;
1468
+ justify-content: space-between;
1469
+ gap: 8px;
1470
+ }
1471
+ @media (max-width: 768px) {
1472
+ .ncua-modal__actions-wrapper--checkbox {
1473
+ flex-direction: column-reverse;
1474
+ }
1475
+ }
1476
+
1477
+ .ncua-modal__actions {
1478
+ display: flex;
1479
+ gap: 8px;
1480
+ }
1481
+ .ncua-modal__actions-divider {
1482
+ width: 100%;
1483
+ height: 1px;
1484
+ background-color: var(--gray-100);
1485
+ margin: 16px 0 0;
1486
+ }
1487
+ .ncua-modal__actions--vertical {
1488
+ flex-direction: column;
1489
+ }
1490
+ @media (max-width: 768px) {
1491
+ .ncua-modal__actions--vertical {
1492
+ flex-direction: column-reverse;
1493
+ }
1494
+ }
1495
+ .ncua-modal__actions--horizontal {
1496
+ flex-direction: row;
1497
+ }
1498
+ @media (max-width: 768px) {
1499
+ .ncua-modal__actions--horizontal {
1500
+ flex-direction: column-reverse;
1501
+ }
1502
+ }
1503
+ .ncua-modal__actions--checkbox {
1504
+ flex-direction: row;
1505
+ }
1506
+ @media (max-width: 768px) {
1507
+ .ncua-modal__actions--checkbox {
1508
+ width: 100%;
1509
+ justify-content: stretch;
1510
+ flex-direction: column-reverse;
1511
+ }
1512
+ }
1513
+ .ncua-modal__actions--center {
1514
+ justify-content: center;
1515
+ }
1516
+ .ncua-modal__actions--right {
1517
+ justify-content: flex-end;
1518
+ }
1519
+ .ncua-modal__actions--stretch {
1520
+ justify-content: stretch;
1521
+ }
1522
+ .ncua-modal__actions--stretch button {
1523
+ flex: 1;
1524
+ }
1525
+
1526
+ @media (max-width: 768px) {
1527
+ .ncua-modal__actions-checkbox {
1528
+ width: 100%;
1529
+ }
1530
+ }
1531
+ .ncua-modal__actions-checkbox-content {
1532
+ display: flex;
1533
+ align-items: center;
1534
+ justify-content: space-between;
1535
+ gap: 8px;
1536
+ }
1537
+ @media (max-width: 768px) {
1538
+ .ncua-modal__actions-checkbox-content {
1539
+ width: 100%;
1540
+ justify-content: space-between;
1541
+ }
1542
+ }
1543
+
1544
+ .ncua-floating-notification {
1545
+ position: relative;
1546
+ width: 100%;
1547
+ padding: 16px;
1548
+ max-width: 398px;
1549
+ border: 1px solid var(--gray-200);
1550
+ background-color: var(--base-white);
1551
+ border-radius: 12px;
1552
+ box-shadow: var(--shadow-sm);
1553
+ }
1554
+ @media (max-width: 768px) {
1555
+ .ncua-floating-notification {
1556
+ max-width: 100%;
1557
+ padding: 22px 18px;
1558
+ }
1559
+ }
1560
+ .ncua-floating-notification__content {
1561
+ width: 100%;
1562
+ display: flex;
1563
+ flex-direction: column;
1564
+ }
1565
+ .ncua-floating-notification__container {
1566
+ display: flex;
1567
+ align-items: flex-start;
1568
+ gap: 16px;
1569
+ }
1570
+ @media (max-width: 768px) {
1571
+ .ncua-floating-notification__container {
1572
+ flex-direction: column;
1573
+ }
1574
+ }
1575
+ .ncua-floating-notification__text-container {
1576
+ flex: 1;
1577
+ display: flex;
1578
+ flex-direction: column;
1579
+ gap: 4px;
1580
+ padding-right: 32px;
1581
+ }
1582
+ @media (max-width: 768px) {
1583
+ .ncua-floating-notification__text-container {
1584
+ padding-right: 0;
1585
+ }
1586
+ }
1587
+ .ncua-floating-notification__title-wrapper {
1588
+ width: 100%;
1589
+ display: flex;
1590
+ padding-right: 32px;
1591
+ }
1592
+ .ncua-floating-notification__title, .ncua-floating-notification__supporting-text {
1593
+ font-size: var(--font-size-xs);
1594
+ line-height: var(--line-heights-xs);
1595
+ }
1596
+ @media (max-width: 768px) {
1597
+ .ncua-floating-notification__title, .ncua-floating-notification__supporting-text {
1598
+ font-size: var(--font-size-md);
1599
+ line-height: var(--line-heights-md);
1600
+ }
1601
+ }
1602
+ .ncua-floating-notification__title {
1603
+ color: var(--gray-600);
1604
+ font-weight: var(--font-weights-commerce-sans-2);
1605
+ }
1606
+ .ncua-floating-notification__supporting-text {
1607
+ color: var(--gray-400);
1608
+ font-weight: var(--font-weights-commerce-sans-0);
1609
+ }
1610
+ .ncua-floating-notification__actions {
1611
+ display: flex;
1612
+ gap: 12px;
1613
+ margin-top: 8px;
1614
+ }
1615
+ .ncua-floating-notification__close-button {
1616
+ position: absolute;
1617
+ top: 8px;
1618
+ right: 8px;
1619
+ display: grid;
1620
+ place-items: center;
1621
+ background: transparent;
1622
+ border: none;
1623
+ padding: 8px;
1624
+ color: var(--gray-400);
1625
+ }
1626
+ .ncua-floating-notification__close-button svg {
1627
+ width: 20px;
1628
+ height: 20px;
1629
+ }
1630
+ @media (max-width: 768px) {
1631
+ .ncua-floating-notification__close-button svg {
1632
+ width: 24px;
1633
+ height: 24px;
1634
+ }
1635
+ }
1636
+ .ncua-floating-notification .ncua-notification__action-button {
1637
+ min-height: 20px;
1638
+ background: transparent;
1639
+ border: none;
1640
+ padding: 0;
1641
+ font-size: var(--font-size-xs);
1642
+ font-weight: var(--font-weights-commerce-sans-0);
1643
+ }
1644
+ .ncua-floating-notification .ncua-notification__action-button--secondary-gray {
1645
+ color: var(--gray-700);
1646
+ border: 1px solid var(--gray-200);
1647
+ font-weight: var(--font-weights-commerce-sans-1);
1648
+ box-shadow: var(--box-shadow-xs);
1649
+ border-radius: 6px;
1650
+ padding: 5px 10px;
1651
+ }
1652
+ .ncua-floating-notification .ncua-notification__action-button--link-gray {
1653
+ color: var(--gray-700);
1654
+ }
1655
+ .ncua-floating-notification .ncua-notification__action-button--link {
1656
+ color: var(--blue-500);
1657
+ font-weight: var(--font-weights-commerce-sans-1);
1658
+ }
1659
+ .ncua-floating-notification__pc-icon {
1660
+ display: flex;
1661
+ }
1662
+ @media (max-width: 768px) {
1663
+ .ncua-floating-notification__pc-icon {
1664
+ display: none;
1665
+ }
1666
+ }
1667
+ .ncua-floating-notification__mobile-icon {
1668
+ display: none;
1669
+ }
1670
+ @media (max-width: 768px) {
1671
+ .ncua-floating-notification__mobile-icon {
1672
+ display: flex;
1673
+ }
1674
+ }
1675
+
1676
+ .ncua-full-width-notification {
1677
+ width: 100%;
1678
+ }
1679
+ .ncua-full-width-notification__container {
1680
+ display: flex;
1681
+ align-items: center;
1682
+ flex-direction: column;
1683
+ width: 100%;
1684
+ max-width: 1280px;
1685
+ margin: 0 auto;
1686
+ padding: 8px 32px;
1687
+ }
1688
+ @media (max-width: 768px) {
1689
+ .ncua-full-width-notification__container {
1690
+ max-width: 100%;
1691
+ margin: 0;
1692
+ padding: 0;
1693
+ }
1694
+ }
1695
+ .ncua-full-width-notification__content {
1696
+ width: 100%;
1697
+ display: flex;
1698
+ align-items: center;
1699
+ justify-content: space-between;
1700
+ gap: 16px;
1701
+ }
1702
+ @media (max-width: 768px) {
1703
+ .ncua-full-width-notification__content {
1704
+ position: relative;
1705
+ gap: 0;
1706
+ padding: 16px;
1707
+ flex-direction: column;
1708
+ align-items: flex-start;
1709
+ }
1710
+ }
1711
+ .ncua-full-width-notification__content-wrapper {
1712
+ flex: 1;
1713
+ display: flex;
1714
+ align-items: center;
1715
+ gap: 16px;
1716
+ }
1717
+ .ncua-full-width-notification__text-container {
1718
+ flex: 1;
1719
+ display: flex;
1720
+ flex-wrap: wrap;
1721
+ gap: 6px;
1722
+ }
1723
+ @media (max-width: 768px) {
1724
+ .ncua-full-width-notification__text-container {
1725
+ flex-direction: column;
1726
+ gap: 4px;
1727
+ }
1728
+ }
1729
+ .ncua-full-width-notification__title, .ncua-full-width-notification__supporting-text {
1730
+ font-size: var(--font-size-sm);
1731
+ line-height: var(--line-heights-sm);
1732
+ }
1733
+ .ncua-full-width-notification__title {
1734
+ font-weight: var(--font-weights-commerce-sans-2);
1735
+ }
1736
+ .ncua-full-width-notification__supporting-text {
1737
+ font-weight: var(--font-weights-commerce-sans-0);
1738
+ }
1739
+ .ncua-full-width-notification__actions-container {
1740
+ display: flex;
1741
+ align-items: center;
1742
+ gap: 8px;
1743
+ }
1744
+ .ncua-full-width-notification__actions {
1745
+ display: flex;
1746
+ gap: 12px;
1747
+ }
1748
+ @media (max-width: 768px) {
1749
+ .ncua-full-width-notification__actions {
1750
+ margin-top: 16px;
1751
+ }
1752
+ }
1753
+ .ncua-full-width-notification__close-button {
1754
+ display: flex;
1755
+ align-items: center;
1756
+ justify-content: center;
1757
+ background: transparent;
1758
+ border: none;
1759
+ cursor: pointer;
1760
+ border-radius: 8px;
1761
+ padding: 8px;
1762
+ }
1763
+ @media (max-width: 768px) {
1764
+ .ncua-full-width-notification__close-button {
1765
+ position: absolute;
1766
+ top: 8px;
1767
+ right: 8px;
1768
+ }
1769
+ }
1770
+ .ncua-full-width-notification--neutral {
1771
+ color: var(--gray-600);
1772
+ background-color: var(--gray-50);
1773
+ border-style: solid;
1774
+ border-width: 0 0 1px 0;
1775
+ border-color: var(--gray-200);
1776
+ }
1777
+ .ncua-full-width-notification--neutral .ncua-notification__action-button {
1778
+ color: var(--gray-500);
1779
+ }
1780
+ .ncua-full-width-notification--neutral .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--neutral .ncua-notification__action-button--link {
1781
+ color: var(--gray-600);
1782
+ }
1783
+ @media (max-width: 768px) {
1784
+ .ncua-full-width-notification--neutral {
1785
+ border-width: 1px 0 0 0;
1786
+ border-style: solid;
1787
+ }
1788
+ }
1789
+ .ncua-full-width-notification--error {
1790
+ color: var(--primary-red-600);
1791
+ background-color: var(--primary-red-50);
1792
+ border-style: solid;
1793
+ border-width: 0 0 1px 0;
1794
+ border-color: var(--primary-red-200);
1795
+ }
1796
+ .ncua-full-width-notification--error .ncua-notification__action-button {
1797
+ color: var(--primary-red-500);
1798
+ }
1799
+ .ncua-full-width-notification--error .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--error .ncua-notification__action-button--link {
1800
+ color: var(--primary-red-600);
1801
+ }
1802
+ @media (max-width: 768px) {
1803
+ .ncua-full-width-notification--error {
1804
+ border-width: 1px 0 0 0;
1805
+ border-style: solid;
1806
+ }
1807
+ }
1808
+ .ncua-full-width-notification--warning {
1809
+ color: var(--orange-600);
1810
+ background-color: var(--orange-50);
1811
+ border-style: solid;
1812
+ border-width: 0 0 1px 0;
1813
+ border-color: var(--orange-200);
1814
+ }
1815
+ .ncua-full-width-notification--warning .ncua-notification__action-button {
1816
+ color: var(--orange-500);
1817
+ }
1818
+ .ncua-full-width-notification--warning .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--warning .ncua-notification__action-button--link {
1819
+ color: var(--orange-600);
1820
+ }
1821
+ @media (max-width: 768px) {
1822
+ .ncua-full-width-notification--warning {
1823
+ border-width: 1px 0 0 0;
1824
+ border-style: solid;
1825
+ }
1826
+ }
1827
+ .ncua-full-width-notification--success {
1828
+ color: var(--green-600);
1829
+ background-color: var(--green-50);
1830
+ border-style: solid;
1831
+ border-width: 0 0 1px 0;
1832
+ border-color: var(--green-200);
1833
+ }
1834
+ .ncua-full-width-notification--success .ncua-notification__action-button {
1835
+ color: var(--green-500);
1836
+ }
1837
+ .ncua-full-width-notification--success .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--success .ncua-notification__action-button--link {
1838
+ color: var(--green-600);
1839
+ }
1840
+ @media (max-width: 768px) {
1841
+ .ncua-full-width-notification--success {
1842
+ border-width: 1px 0 0 0;
1843
+ border-style: solid;
1844
+ }
1845
+ }
1846
+ .ncua-full-width-notification .ncua-notification__action-button {
1847
+ background: transparent;
1848
+ border: none;
1849
+ padding: 0;
1850
+ vertical-align: middle;
1851
+ font-size: var(--font-size-xs);
1852
+ line-height: var(--line-heights-xs);
1853
+ font-weight: var(--font-weights-commerce-sans-0);
1854
+ }
1855
+ .ncua-full-width-notification .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification .ncua-notification__action-button--link {
1856
+ font-weight: var(--font-weights-commerce-sans-1);
1857
+ }
1858
+ @media (max-width: 768px) {
1859
+ .ncua-full-width-notification__icon {
1860
+ display: none;
1861
+ }
1862
+ }
1863
+
1864
+ .ncua-radio-input {
1865
+ position: relative;
1866
+ flex: none;
1867
+ display: inline-block;
1868
+ width: 16px;
1869
+ height: 16px;
1870
+ line-height: 1;
1871
+ background-color: var(--base-white);
1872
+ }
1873
+ .ncua-radio-input :where(input) {
1874
+ position: absolute;
1875
+ top: 0;
1876
+ left: 0;
1877
+ z-index: 1;
1878
+ -webkit-appearance: none;
1879
+ -moz-appearance: none;
1880
+ appearance: none;
1881
+ margin: 0;
1882
+ width: 100%;
1883
+ height: 100%;
1884
+ border: 1px solid var(--gray-200);
1885
+ font: inherit;
1886
+ border-radius: 50%;
1887
+ }
1888
+ .ncua-radio-input :where(input):focus {
1889
+ border-color: var(--gray-400);
1890
+ box-shadow: var(--focus-ring-4px-gray-100);
1891
+ }
1892
+ .ncua-radio-input :where(input):checked {
1893
+ border-color: var(--gray-700);
1894
+ outline: none;
1895
+ }
1896
+ .ncua-radio-input :where(input):disabled {
1897
+ border-color: var(--gray-200);
1898
+ }
1899
+ .ncua-radio-input :where(input)::before {
1900
+ position: absolute;
1901
+ top: 50%;
1902
+ left: 50%;
1903
+ content: "";
1904
+ transform: translate(-50%, -50%);
1905
+ width: 6px;
1906
+ height: 6px;
1907
+ border-radius: 50%;
1908
+ }
1909
+ .ncua-radio-input :where(input):disabled::before {
1910
+ background-color: var(--gray-100);
1911
+ }
1912
+ .ncua-radio-input :where(input):checked::before {
1913
+ background-color: var(--gray-700);
1914
+ }
1915
+ .ncua-radio-input :where(input):checked:disabled::before {
1916
+ background-color: var(--gray-200);
1917
+ }
1918
+ .ncua-radio-input.destructive :where(input) {
1919
+ border-color: var(--primary-red-600);
1920
+ }
1921
+ .ncua-radio-input.destructive :where(input):focus {
1922
+ border-color: var(--primary-red-600);
1923
+ box-shadow: var(--shadow-xs-focused-4px-error-100);
1924
+ }
1925
+ .ncua-radio-input:hover {
1926
+ border-color: var(--gray-600);
1927
+ background-color: var(--gray-100);
1928
+ }
1929
+
1930
+ .ncua-radio-field {
1931
+ position: relative;
1932
+ line-height: 18px;
1933
+ font-weight: var(--font-weights-commerce-sans-0);
1934
+ font-size: var(--font-size-1);
1935
+ cursor: pointer;
1936
+ }
1937
+ .ncua-radio-field__text {
1938
+ display: block;
1939
+ color: var(--gray-500);
1940
+ font-weight: var(--font-weights-commerce-sans-1);
1941
+ }
1942
+ .ncua-radio-field__support-text {
1943
+ color: var(--gray-400);
1944
+ }
1945
+ .ncua-radio-field:hover .ncua-radio-field__input {
1946
+ border-color: var(--gray-700);
1947
+ background-color: var(--gray-50);
1948
+ border-radius: 4px;
1265
1949
  }
1266
1950
  .ncua-radio-field--md {
1267
1951
  font-size: var(--font-size-2);
@@ -1682,6 +2366,68 @@ button {
1682
2366
  color: var(--gray-700);
1683
2367
  }
1684
2368
 
2369
+ .ncua-slider {
2370
+ position: relative;
2371
+ width: 100%;
2372
+ height: 40px;
2373
+ user-select: none;
2374
+ touch-action: none;
2375
+ }
2376
+ .ncua-slider__track {
2377
+ position: absolute;
2378
+ left: 0;
2379
+ right: 0;
2380
+ top: 50%;
2381
+ transform: translateY(-50%);
2382
+ height: 8px;
2383
+ background-color: var(--gray-100);
2384
+ border-radius: 4px;
2385
+ }
2386
+ .ncua-slider__progress {
2387
+ position: absolute;
2388
+ height: 8px;
2389
+ background-color: var(--gray-500);
2390
+ border-radius: 4px;
2391
+ top: 50%;
2392
+ transform: translateY(-50%);
2393
+ }
2394
+ .ncua-slider__handle {
2395
+ position: absolute;
2396
+ top: 50%;
2397
+ transform: translate(-50%, -50%);
2398
+ width: 20px;
2399
+ height: 20px;
2400
+ background-color: var(--base-white);
2401
+ border: 1.5px solid var(--gray-400);
2402
+ border-radius: 12px;
2403
+ cursor: pointer;
2404
+ box-shadow: var(--shadow-md);
2405
+ }
2406
+ .ncua-slider__handle.is-active {
2407
+ border-color: var(--gray-500);
2408
+ }
2409
+ .ncua-slider__label {
2410
+ position: absolute;
2411
+ top: calc(50% + 18px);
2412
+ left: 50%;
2413
+ transform: translate(-50%, 0);
2414
+ font-size: var(--font-size-xxs);
2415
+ font-weight: var(--font-weights-commerce-sans-1);
2416
+ color: var(--gray-500);
2417
+ white-space: nowrap;
2418
+ }
2419
+ .ncua-slider__label--tooltip {
2420
+ top: calc(50% - 8px);
2421
+ color: var(--gray-500);
2422
+ background-color: var(--base-white);
2423
+ transform: translate(-50%, -100%);
2424
+ padding: 8px 12px;
2425
+ border-radius: 6px;
2426
+ font-size: 12px;
2427
+ border: 1px solid var(--gray-200);
2428
+ box-shadow: var(--shadow-lg);
2429
+ }
2430
+
1685
2431
  @keyframes ncua-spinner-rotate {
1686
2432
  from {
1687
2433
  transform: rotate(0deg);
@@ -1933,17 +2679,12 @@ button {
1933
2679
  max-height: none;
1934
2680
  padding-block-start: 12px;
1935
2681
  border-radius: 8px;
2682
+ left: 0;
1936
2683
  box-shadow: 1px 0 0 var(--gray-200), -1px 0 0 var(--gray-200), 0 1px 0 var(--gray-200), 0 -1px 0 var(--gray-200), 0 3px 13px rgba(0, 0, 0, 0.08);
1937
2684
  }
1938
2685
  .ncua-date-picker .flatpickr-calendar::before, .ncua-date-picker .flatpickr-calendar::after {
1939
2686
  content: none;
1940
2687
  }
1941
- .ncua-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months,
1942
- .ncua-date-picker .numInputWrapper .cur-year {
1943
- font-size: var(--font-size-sm);
1944
- font-weight: 700;
1945
- line-height: 22px;
1946
- }
1947
2688
  .ncua-date-picker .numInputWrapper .cur-year {
1948
2689
  margin-inline-start: 4px;
1949
2690
  transform: translateY(2px);
@@ -1962,6 +2703,11 @@ button {
1962
2703
  width: 36px;
1963
2704
  height: 36px;
1964
2705
  }
2706
+ .ncua-date-picker .flatpickr-months .flatpickr-prev-month svg,
2707
+ .ncua-date-picker .flatpickr-months .flatpickr-next-month svg {
2708
+ vertical-align: top;
2709
+ transform: translateY(1px);
2710
+ }
1965
2711
  .ncua-date-picker .flatpickr-months .flatpickr-prev-month:hover,
1966
2712
  .ncua-date-picker .flatpickr-months .flatpickr-next-month:hover {
1967
2713
  border-radius: 6px;
@@ -1979,11 +2725,18 @@ button {
1979
2725
  position: initial;
1980
2726
  width: auto;
1981
2727
  display: flex;
2728
+ padding-block-start: 6px;
1982
2729
  gap: 4px;
1983
2730
  }
1984
2731
  .ncua-date-picker .flatpickr-monthDropdown-months {
1985
2732
  margin: 0;
1986
2733
  padding: 0;
2734
+ transform: translateY(-1px);
2735
+ }
2736
+ .ncua-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months,
2737
+ .ncua-date-picker .flatpickr-current-month .cur-year {
2738
+ font-weight: 700;
2739
+ line-height: 22px;
1987
2740
  }
1988
2741
  .ncua-date-picker .flatpickr-innerContainer {
1989
2742
  justify-content: center;
@@ -2006,6 +2759,10 @@ button {
2006
2759
  background-color: var(--gray-500);
2007
2760
  border-color: var(--gray-500);
2008
2761
  }
2762
+ .ncua-date-picker .flatpickr-day.selected:hover {
2763
+ border-color: var(--gray-700);
2764
+ background-color: var(--gray-700);
2765
+ }
2009
2766
  .ncua-date-picker .flatpickr-day.today {
2010
2767
  border-color: var(--gray-600);
2011
2768
  }
@@ -2041,6 +2798,10 @@ button {
2041
2798
  height: 32px;
2042
2799
  line-height: 32px;
2043
2800
  }
2801
+ .ncua-date-picker--sm .flatpickr-current-month .flatpickr-monthDropdown-months,
2802
+ .ncua-date-picker--sm .flatpickr-current-month .cur-year {
2803
+ font-size: var(--font-size-sm);
2804
+ }
2044
2805
  .ncua-date-picker--md .flatpickr-calendar {
2045
2806
  width: 343px;
2046
2807
  }
@@ -2061,6 +2822,10 @@ button {
2061
2822
  height: 36px;
2062
2823
  line-height: 36px;
2063
2824
  }
2825
+ .ncua-date-picker--md .flatpickr-current-month .flatpickr-monthDropdown-months,
2826
+ .ncua-date-picker--md .flatpickr-current-month .cur-year {
2827
+ font-size: var(--font-size-lg);
2828
+ }
2064
2829
  .ncua-date-picker--disabled .flatpickr-wrapper,
2065
2830
  .ncua-date-picker--disabled .ncua-date-picker__input {
2066
2831
  background-color: var(--gray-50);
@@ -2068,9 +2833,6 @@ button {
2068
2833
  .ncua-date-picker--disabled .ncua-date-picker__input {
2069
2834
  color: var(--gray-300);
2070
2835
  }
2071
- .ncua-date-picker--md .flatpickr-current-month .flatpickr-monthDropdown-months, .ncua-date-picker--md .numInputWrapper .cur-year {
2072
- font-size: var(--font-size-md);
2073
- }
2074
2836
 
2075
2837
  .ncua-range-date-picker {
2076
2838
  display: inline-flex;
@@ -2278,4 +3040,394 @@ button {
2278
3040
  .ncua-badge--pill-dark-color.ncua-badge--disabled {
2279
3041
  color: var(--gray-300);
2280
3042
  background-color: var(--gray-100);
3043
+ }
3044
+
3045
+ .ncua-progress-bar {
3046
+ position: relative;
3047
+ display: flex;
3048
+ flex-direction: column;
3049
+ width: 100%;
3050
+ }
3051
+ .ncua-progress-bar-top-float {
3052
+ padding-top: 42px;
3053
+ }
3054
+ .ncua-progress-bar-bottom-float {
3055
+ padding-bottom: 42px;
3056
+ }
3057
+ .ncua-progress-bar__content {
3058
+ display: flex;
3059
+ align-items: center;
3060
+ width: 100%;
3061
+ gap: 8px;
3062
+ }
3063
+ .ncua-progress-bar__bar {
3064
+ flex-grow: 1;
3065
+ height: 4px;
3066
+ background-color: var(--gray-100);
3067
+ border-radius: 5px;
3068
+ overflow: hidden;
3069
+ }
3070
+ .ncua-progress-bar__fill {
3071
+ height: 100%;
3072
+ background-color: var(--gray-600);
3073
+ border-radius: 5px;
3074
+ transition: width 0.3s ease;
3075
+ }
3076
+ .ncua-progress-bar__label {
3077
+ font-size: var(--font-size-sm);
3078
+ color: var(--gray-700);
3079
+ font-weight: var(--font-weights-commerce-sans-1);
3080
+ }
3081
+ .ncua-progress-bar__label-right {
3082
+ min-width: 45px;
3083
+ }
3084
+ .ncua-progress-bar__label-bottom {
3085
+ margin-top: 8px;
3086
+ align-self: flex-end;
3087
+ }
3088
+ .ncua-progress-bar__label-top-float, .ncua-progress-bar__label-bottom-float {
3089
+ position: absolute;
3090
+ left: var(--progress-value, 0%);
3091
+ transform: translateX(-50%);
3092
+ transition: left 0.3s ease;
3093
+ height: 32px;
3094
+ padding: 7px 12px;
3095
+ background-color: var(--base-white);
3096
+ border-radius: 6px;
3097
+ border: 1px solid var(--gray-100);
3098
+ box-shadow: var(--shadow-lg);
3099
+ }
3100
+ .ncua-progress-bar__label-top-float {
3101
+ top: 0;
3102
+ }
3103
+ .ncua-progress-bar__label-bottom-float {
3104
+ bottom: 0;
3105
+ }
3106
+
3107
+ .ncua-empty-state {
3108
+ display: flex;
3109
+ flex-direction: column;
3110
+ justify-content: center;
3111
+ align-items: center;
3112
+ }
3113
+ .ncua-empty-state__title {
3114
+ color: var(--gray-700);
3115
+ font-size: var(--font-size-sm);
3116
+ font-weight: var(--font-weights-commerce-sans-2);
3117
+ line-height: var(--line-heights-sm);
3118
+ }
3119
+ .ncua-empty-state__description {
3120
+ display: inline-block;
3121
+ margin-top: 4px;
3122
+ color: var(--gray-400);
3123
+ font-size: var(--font-size-xs);
3124
+ line-height: var(--line-heights-xs);
3125
+ }
3126
+ .ncua-empty-state__button-group {
3127
+ display: flex;
3128
+ gap: 6px;
3129
+ margin-top: 16px;
3130
+ }
3131
+
3132
+ .ncua-tab-button {
3133
+ display: inline-flex;
3134
+ gap: 8px;
3135
+ justify-content: center;
3136
+ width: 100%;
3137
+ font-weight: var(--font-weights-commerce-sans-2);
3138
+ color: var(--gray-400);
3139
+ border-radius: 6px;
3140
+ cursor: pointer;
3141
+ background-color: var(--base-white);
3142
+ }
3143
+ .ncua-tab-button:hover, .ncua-tab-button.is-active {
3144
+ color: var(--gray-700);
3145
+ }
3146
+ .ncua-tab-button--xs {
3147
+ padding: 9px 12px;
3148
+ height: 34px;
3149
+ font-size: var(--font-size-xs);
3150
+ }
3151
+ .ncua-tab-button--sm {
3152
+ padding: 11px 12px;
3153
+ height: 38px;
3154
+ font-size: var(--font-size-sm);
3155
+ }
3156
+ .ncua-tab-button--md {
3157
+ padding: 14px;
3158
+ height: 44px;
3159
+ font-size: var(--font-size-md);
3160
+ }
3161
+ .ncua-tab-button--button-primary:hover, .ncua-tab-button--button-primary.is-active {
3162
+ background-color: var(--gray-50);
3163
+ }
3164
+ .ncua-tab-button--button-primary:focus {
3165
+ box-shadow: var(--focus-ring-4px-gray-100);
3166
+ }
3167
+ .ncua-tab-button--button-white:hover {
3168
+ box-shadow: var(--shadow-sm);
3169
+ }
3170
+ .ncua-tab-button--button-white.is-active {
3171
+ color: var(--gray-500);
3172
+ box-shadow: var(--shadow-sm);
3173
+ }
3174
+ .ncua-tab-button--button-white:focus {
3175
+ box-shadow: var(--shadow-sm-focused-4px-gray-100);
3176
+ }
3177
+ .ncua-tab-button--underline-fill {
3178
+ position: relative;
3179
+ border-radius: 0;
3180
+ }
3181
+ .ncua-tab-button--underline-fill:hover, .ncua-tab-button--underline-fill.is-active, .ncua-tab-button--underline-fill.is-active:focus {
3182
+ background-color: var(--gray-100);
3183
+ }
3184
+ .ncua-tab-button--underline-fill:hover::before, .ncua-tab-button--underline-fill.is-active::before, .ncua-tab-button--underline-fill.is-active:focus::before {
3185
+ position: absolute;
3186
+ bottom: 0;
3187
+ left: 0;
3188
+ width: 100%;
3189
+ height: 2px;
3190
+ content: "";
3191
+ background-color: var(--gray-500);
3192
+ }
3193
+ .ncua-tab-button--underline {
3194
+ border-radius: 0;
3195
+ }
3196
+ .ncua-tab-button--underline:hover, .ncua-tab-button--underline.is-active {
3197
+ position: relative;
3198
+ }
3199
+ .ncua-tab-button--underline:hover::before, .ncua-tab-button--underline.is-active::before {
3200
+ position: absolute;
3201
+ bottom: 0;
3202
+ left: 0;
3203
+ width: 100%;
3204
+ height: 2px;
3205
+ content: "";
3206
+ background-color: var(--gray-500);
3207
+ }
3208
+ .ncua-tab-button--line-vertical {
3209
+ border-radius: 0;
3210
+ }
3211
+ .ncua-tab-button--line-vertical:hover, .ncua-tab-button--line-vertical.is-active, .ncua-tab-button--line-vertical.is-active:focus {
3212
+ box-shadow: -2px 0 var(--gray-700);
3213
+ }
3214
+ .ncua-tab-button .ncua-badge {
3215
+ transform: translateY(-1px);
3216
+ }
3217
+
3218
+ .ncua-horizontal-tab {
3219
+ position: relative;
3220
+ overflow-x: auto;
3221
+ }
3222
+ .ncua-horizontal-tab__item {
3223
+ width: auto !important;
3224
+ }
3225
+ .ncua-horizontal-tab--underline::after, .ncua-horizontal-tab--underline-fill::after {
3226
+ position: absolute;
3227
+ bottom: 0;
3228
+ left: 0;
3229
+ width: 100%;
3230
+ height: 1px;
3231
+ content: "";
3232
+ background-color: var(--gray-100);
3233
+ }
3234
+ :where(.ncua-horizontal-tab--underline, .ncua-horizontal-tab--underline-fill) .ncua-tab-button {
3235
+ background-color: transparent;
3236
+ }
3237
+ .ncua-horizontal-tab--button-primary .swiper-slide, .ncua-horizontal-tab--button-white .swiper-slide {
3238
+ padding: 4px 0;
3239
+ }
3240
+ .ncua-horizontal-tab--button-primary .swiper-slide:first-child, .ncua-horizontal-tab--button-white .swiper-slide:first-child {
3241
+ padding-left: 4px;
3242
+ }
3243
+ .ncua-horizontal-tab--button-primary .swiper-slide:last-child, .ncua-horizontal-tab--button-white .swiper-slide:last-child {
3244
+ padding-right: 4px;
3245
+ margin-right: 0;
3246
+ }
3247
+ .ncua-horizontal-tab--button-white {
3248
+ display: inline-block;
3249
+ background: var(--gray-50);
3250
+ border: 1px solid var(--gray-100);
3251
+ border-radius: 8px;
3252
+ }
3253
+ .ncua-horizontal-tab--button-white .ncua-tab-button {
3254
+ background-color: var(--gray-50);
3255
+ }
3256
+ .ncua-horizontal-tab--button-white .ncua-tab-button:hover, .ncua-horizontal-tab--button-white .ncua-tab-button.is-active {
3257
+ background-color: #fff;
3258
+ border-radius: 6px;
3259
+ box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.1), 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
3260
+ color: var(--gray-500);
3261
+ }
3262
+ .ncua-horizontal-tab--fullWidth {
3263
+ width: 100%;
3264
+ }
3265
+ .ncua-horizontal-tab--fullWidth .swiper-slide {
3266
+ flex-shrink: 1;
3267
+ }
3268
+ .ncua-horizontal-tab__item:last-child {
3269
+ margin-right: 0 !important;
3270
+ }
3271
+
3272
+ .ncua-vertical-tab {
3273
+ position: relative;
3274
+ display: flex;
3275
+ flex-direction: column;
3276
+ gap: 4px;
3277
+ }
3278
+ .ncua-vertical-tab--button-white {
3279
+ padding: 4px;
3280
+ background-color: var(--gray-50);
3281
+ border: 1px solid var(--gray-100);
3282
+ border-radius: 8px;
3283
+ }
3284
+ .ncua-vertical-tab--button-white .ncua-tab-button {
3285
+ background-color: var(--gray-50);
3286
+ }
3287
+ .ncua-vertical-tab--button-white .ncua-tab-button:hover, .ncua-vertical-tab--button-white .ncua-tab-button.is-active {
3288
+ background-color: var(--base-white);
3289
+ border-radius: 6px;
3290
+ box-shadow: var(--shadow-sm);
3291
+ color: var(--gray-500);
3292
+ }
3293
+
3294
+ .ncua-progress-circle {
3295
+ position: relative;
3296
+ display: inline-flex;
3297
+ flex-direction: column;
3298
+ align-items: center;
3299
+ --circle-radius: 45;
3300
+ --circle-circumference: 282.7431;
3301
+ --half-circle-circumference: 141.37155;
3302
+ }
3303
+ .ncua-progress-circle__content {
3304
+ position: relative;
3305
+ display: flex;
3306
+ align-items: center;
3307
+ justify-content: center;
3308
+ }
3309
+ .ncua-progress-circle__svg {
3310
+ width: var(--size);
3311
+ height: var(--size);
3312
+ }
3313
+ .ncua-progress-circle-half-circle .ncua-progress-circle__svg {
3314
+ height: calc(var(--size) / 2);
3315
+ overflow: visible;
3316
+ }
3317
+
3318
+ .ncua-progress-circle__background {
3319
+ stroke: var(--gray-100);
3320
+ stroke-linecap: round;
3321
+ }
3322
+ .ncua-progress-circle__progress {
3323
+ stroke: var(--primary-red-450);
3324
+ transition: stroke-dashoffset 0.3s ease;
3325
+ stroke-linecap: round;
3326
+ }
3327
+ .ncua-progress-circle__label-container {
3328
+ position: absolute;
3329
+ top: 50%;
3330
+ left: 50%;
3331
+ transform: translate(-50%, -50%);
3332
+ text-align: center;
3333
+ display: flex;
3334
+ flex-direction: column;
3335
+ align-items: center;
3336
+ gap: 2px;
3337
+ }
3338
+ .ncua-progress-circle__label {
3339
+ color: var(--gray-700);
3340
+ font-weight: var(--font-weights-commerce-sans-1);
3341
+ }
3342
+ .ncua-progress-circle__label-text {
3343
+ color: var(--gray-500);
3344
+ font-weight: var(--font-weights-commerce-sans-1);
3345
+ }
3346
+ .ncua-progress-circle__outside-label {
3347
+ margin-top: 10px;
3348
+ font-weight: var(--font-weights-commerce-sans-1);
3349
+ text-align: center;
3350
+ }
3351
+ .ncua-progress-circle-xxs {
3352
+ --size: 64px;
3353
+ --stroke-width: 6px;
3354
+ --radius: calc((64px - 6px) / 2);
3355
+ --circumference: calc(2 * 3.14159 * var(--radius));
3356
+ }
3357
+ .ncua-progress-circle-xxs .ncua-progress-circle__label {
3358
+ font-size: var(--font-size-sm);
3359
+ line-height: 1.5;
3360
+ }
3361
+ .ncua-progress-circle-xxs .ncua-progress-circle__label-text {
3362
+ font-size: var(--font-size-xs);
3363
+ }
3364
+ .ncua-progress-circle-xxs .ncua-progress-circle__outside-label {
3365
+ font-size: var(--font-size-xs);
3366
+ }
3367
+ .ncua-progress-circle-xs {
3368
+ --size: 160px;
3369
+ --stroke-width: 16px;
3370
+ --radius: calc((160px - 16px) / 2);
3371
+ --circumference: calc(2 * 3.14159 * var(--radius));
3372
+ }
3373
+ .ncua-progress-circle-xs .ncua-progress-circle__label {
3374
+ font-size: var(--font-size-display-xs);
3375
+ line-height: 1.3;
3376
+ }
3377
+ .ncua-progress-circle-xs .ncua-progress-circle__label-text {
3378
+ font-size: 12px;
3379
+ }
3380
+ .ncua-progress-circle-xs .ncua-progress-circle__outside-label {
3381
+ font-size: 12px;
3382
+ }
3383
+ .ncua-progress-circle-sm {
3384
+ --size: 200px;
3385
+ --stroke-width: 20px;
3386
+ --radius: calc((200px - 20px) / 2);
3387
+ --circumference: calc(2 * 3.14159 * var(--radius));
3388
+ }
3389
+ .ncua-progress-circle-sm .ncua-progress-circle__label {
3390
+ font-size: var(--font-size-display-sm);
3391
+ line-height: 1.3;
3392
+ }
3393
+ .ncua-progress-circle-sm .ncua-progress-circle__label-text {
3394
+ font-size: var(--font-size-xs);
3395
+ }
3396
+ .ncua-progress-circle-sm .ncua-progress-circle__outside-label {
3397
+ font-size: var(--font-size-xs);
3398
+ }
3399
+ .ncua-progress-circle-md {
3400
+ --size: 240px;
3401
+ --stroke-width: 24px;
3402
+ --radius: calc((240px - 24px) / 2);
3403
+ --circumference: calc(2 * 3.14159 * var(--radius));
3404
+ }
3405
+ .ncua-progress-circle-md .ncua-progress-circle__label {
3406
+ font-size: var(--font-size-display-md);
3407
+ line-height: 1.3;
3408
+ }
3409
+ .ncua-progress-circle-md .ncua-progress-circle__label-text {
3410
+ font-size: var(--font-size-sm);
3411
+ }
3412
+ .ncua-progress-circle-md .ncua-progress-circle__outside-label {
3413
+ font-size: var(--font-size-sm);
3414
+ }
3415
+ .ncua-progress-circle-lg {
3416
+ --size: 280px;
3417
+ --stroke-width: 28px;
3418
+ --radius: calc((280px - 28px) / 2);
3419
+ --circumference: calc(2 * 3.14159 * var(--radius));
3420
+ }
3421
+ .ncua-progress-circle-lg .ncua-progress-circle__label {
3422
+ font-size: var(--font-size-display-lg);
3423
+ line-height: 1.3;
3424
+ }
3425
+ .ncua-progress-circle-lg .ncua-progress-circle__label-text {
3426
+ font-size: var(--font-size-sm);
3427
+ }
3428
+ .ncua-progress-circle-lg .ncua-progress-circle__outside-label {
3429
+ font-size: var(--font-size-sm);
3430
+ }
3431
+ .ncua-progress-circle-half-circle .ncua-progress-circle__label-container {
3432
+ top: 80%;
2281
3433
  }