@ncds/ui-admin 0.0.21 → 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 (97) 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/src/components/breadcrumb/BreadCrumb.js +67 -0
  4. package/dist/cjs/src/components/breadcrumb/index.js +16 -0
  5. package/dist/cjs/src/components/button/Button.js +15 -7
  6. package/dist/cjs/src/components/button/ButtonGroup.js +1 -1
  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 +99 -0
  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/src/components/breadcrumb/BreadCrumb.js +59 -0
  35. package/dist/esm/src/components/breadcrumb/index.js +1 -0
  36. package/dist/esm/src/components/button/Button.js +14 -6
  37. package/dist/esm/src/components/button/ButtonGroup.js +1 -1
  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 +9 -0
  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/src/components/breadcrumb/BreadCrumb.d.ts +10 -0
  66. package/dist/types/src/components/breadcrumb/index.d.ts +2 -0
  67. package/dist/types/src/components/button/Button.d.ts +2 -1
  68. package/dist/types/src/components/button/ButtonGroup.d.ts +6 -5
  69. package/dist/types/src/components/checkbox/Checkbox.d.ts +2 -2
  70. package/dist/types/src/components/divider/Divider.d.ts +11 -0
  71. package/dist/types/src/components/divider/index.d.ts +2 -0
  72. package/dist/types/src/components/empty-state/EmptyState.d.ts +14 -0
  73. package/dist/types/src/components/empty-state/index.d.ts +2 -0
  74. package/dist/types/src/components/featured-icon/FeaturedIcon.d.ts +14 -0
  75. package/dist/types/src/components/featured-icon/index.d.ts +2 -0
  76. package/dist/types/src/components/index.d.ts +9 -0
  77. package/dist/types/src/components/modal/Modal.d.ts +75 -0
  78. package/dist/types/src/components/modal/index.d.ts +3 -0
  79. package/dist/types/src/components/notification/FloatingNotification.d.ts +32 -0
  80. package/dist/types/src/components/notification/FullWidthNotification.d.ts +32 -0
  81. package/dist/types/src/components/notification/Notification.d.ts +59 -0
  82. package/dist/types/src/components/notification/index.d.ts +4 -0
  83. package/dist/types/src/components/pagination/NavButton.d.ts +2 -2
  84. package/dist/types/src/components/progress-bar/ProgressBar.d.ts +7 -0
  85. package/dist/types/src/components/progress-bar/index.d.ts +2 -0
  86. package/dist/types/src/components/progress-circle/ProgressCircle.d.ts +8 -0
  87. package/dist/types/src/components/progress-circle/index.d.ts +2 -0
  88. package/dist/types/src/components/radio/Radio.d.ts +2 -2
  89. package/dist/types/src/components/slider/Slider.d.ts +15 -0
  90. package/dist/types/src/components/slider/index.d.ts +2 -0
  91. package/dist/types/src/components/tab/HorizontalTab.d.ts +12 -0
  92. package/dist/types/src/components/tab/TabButton.d.ts +26 -0
  93. package/dist/types/src/components/tab/VerticalTab.d.ts +10 -0
  94. package/dist/types/src/components/tab/index.d.ts +4 -0
  95. package/dist/types/src/components/toggle/Toggle.d.ts +2 -2
  96. package/dist/ui-admin/assets/styles/style.css +1336 -117
  97. package/package.json +1 -1
@@ -68,8 +68,6 @@
68
68
  --shadow-xl: 0px 20px 24px -4px #10182814, 0px 8px 8px -4px #10182808;
69
69
  --shadow-2xl: 0px 24px 48px -12px #1018282e;
70
70
  --shadow-3xl: 0px 32px 64px -12px #10182824;
71
- --box-shadow-xs: 0px 1px 2px 0px #1018280d;
72
- --box-shadow-lg: 0px 4px 6px -2px #10182808, 0px 12px 16px -4px #10182814;
73
71
  --font-families-commerce-sans: Commerce Sans;
74
72
  --line-heights-display-xl: 76px;
75
73
  --line-heights-display-lg: 60px;
@@ -246,7 +244,6 @@ button {
246
244
  justify-content: center;
247
245
  align-items: center;
248
246
  text-align: center;
249
- gap: 8px;
250
247
  line-height: normal;
251
248
  color: inherit;
252
249
  transition: background-color 0.2s ease-in-out;
@@ -277,7 +274,7 @@ button {
277
274
  .ncua-btn--primary:disabled, .ncua-btn--primary.is-disable {
278
275
  background-color: var(--primary-red-100);
279
276
  border: 1px solid var(--primary-red-200);
280
- color: var(--base-white);
277
+ color: var(--primary-red-300);
281
278
  cursor: default;
282
279
  }
283
280
  .ncua-btn--secondary {
@@ -349,7 +346,7 @@ button {
349
346
  }
350
347
  .ncua-btn--tertiary-gray:disabled, .ncua-btn--tertiary-gray.is-disable {
351
348
  background-color: var(--base-white);
352
- color: var(--base-white);
349
+ color: var(--gray-200);
353
350
  cursor: default;
354
351
  }
355
352
  .ncua-btn--link {
@@ -375,12 +372,12 @@ button {
375
372
  .ncua-btn--destructive {
376
373
  box-shadow: var(--shadow-xs);
377
374
  background-color: var(--primary-red-500);
378
- border: 1px solid var(--primary-red-200);
375
+ border: 1px solid var(--primary-red-500);
379
376
  color: var(--base-white);
380
377
  }
381
378
  .ncua-btn--destructive:hover:not([disabled], .is-disable) {
382
379
  background-color: var(--primary-red-700);
383
- border: 1px solid var(--primary-red-300);
380
+ border: 1px solid var(--primary-red-700);
384
381
  color: var(--base-white);
385
382
  }
386
383
  .ncua-btn--destructive:focus:not([disabled], .is-disabled) {
@@ -389,21 +386,23 @@ button {
389
386
  color: var(--base-white);
390
387
  }
391
388
  .ncua-btn--destructive:disabled, .ncua-btn--destructive.is-disable {
392
- background-color: var(--primary-red-50);
389
+ background-color: var(--primary-red-200);
393
390
  border: 1px solid var(--primary-red-300);
394
391
  color: var(--primary-red-300);
395
392
  cursor: default;
396
393
  }
397
394
  .ncua-btn--xxs {
398
395
  padding: 5px 8px;
396
+ gap: 4px;
399
397
  height: var(--button-height-xxs);
400
398
  font-size: var(--font-size-xxs);
401
- border-radius: 6px;
399
+ border-radius: 4px;
402
400
  font-weight: var(--font-weights-commerce-sans-1);
403
401
  line-height: var(--line-heights-xxs);
404
402
  }
405
403
  .ncua-btn--xs {
406
- padding: 5px 12px;
404
+ padding: 5px 10px;
405
+ gap: 4px;
407
406
  height: var(--button-height-xs);
408
407
  font-size: var(--font-size-xs);
409
408
  border-radius: 6px;
@@ -411,15 +410,17 @@ button {
411
410
  line-height: var(--line-heights-xs);
412
411
  }
413
412
  .ncua-btn--sm {
414
- padding: 8px 14px;
413
+ padding: 7px 14px;
414
+ gap: 8px;
415
415
  height: var(--button-height-sm);
416
416
  font-size: var(--font-size-sm);
417
- border-radius: 8px;
417
+ border-radius: 6px;
418
418
  font-weight: var(--font-weights-commerce-sans-2);
419
419
  line-height: var(--line-heights-sm);
420
420
  }
421
421
  .ncua-btn--md {
422
422
  padding: 10px 16px;
423
+ gap: 8px;
423
424
  height: var(--button-height-md);
424
425
  font-size: var(--font-size-sm);
425
426
  border-radius: 8px;
@@ -731,6 +732,151 @@ button {
731
732
  transform: translateY(3px);
732
733
  }
733
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
+
734
880
  .ncua-dropdown {
735
881
  position: relative;
736
882
  display: inline-block;
@@ -783,14 +929,13 @@ button {
783
929
  cursor: pointer;
784
930
  font-size: var(--font-size-xs);
785
931
  font-weight: var(--font-weights-commerce-sans-1);
786
- color: var(--gray-900);
787
- box-shadow: var(--box-shadow-xs);
932
+ color: var(--gray-700);
933
+ box-shadow: var(--shadow-xs);
788
934
  }
789
935
  .ncua-dropdown__menu {
790
936
  position: absolute;
791
937
  top: calc(100% + 4px);
792
938
  left: 0;
793
- z-index: 1000;
794
939
  min-width: 240px;
795
940
  background-color: var(--base-white);
796
941
  border-radius: 8px;
@@ -814,12 +959,11 @@ button {
814
959
  .ncua-dropdown__header .ncua-dropdown__avatar {
815
960
  width: 32px;
816
961
  height: 32px;
817
- border-radius: 200px;
962
+ border-radius: 50%;
818
963
  overflow: hidden;
819
964
  display: flex;
820
965
  align-items: center;
821
966
  justify-content: center;
822
- background-color: var(--gray-900);
823
967
  }
824
968
  .ncua-dropdown__header .ncua-dropdown__avatar img {
825
969
  width: 100%;
@@ -948,16 +1092,16 @@ button {
948
1092
  display: flex;
949
1093
  }
950
1094
  .ncua-input__field {
951
- display: flex;
952
- align-items: center;
953
- background-color: var(--base-white);
954
- border: 1px solid var(--gray-200);
955
- position: relative;
956
1095
  flex: 1;
957
1096
  display: flex;
958
1097
  align-items: center;
959
1098
  justify-content: space-between;
960
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;
961
1105
  }
962
1106
  .ncua-input:focus-within :where(.ncua-input__field) {
963
1107
  border-color: var(--gray-400);
@@ -1090,14 +1234,14 @@ button {
1090
1234
  }
1091
1235
 
1092
1236
  .ncua-input__leading-text {
1093
- display: flex;
1094
- align-items: center;
1095
- background-color: var(--base-white);
1096
- border: 1px solid var(--gray-200);
1097
1237
  border-radius: 6px 0 0 6px;
1098
1238
  color: var(--gray-400);
1099
1239
  font-size: var(--font-size-sm);
1100
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);
1101
1245
  }
1102
1246
  .ncua-input__leading-text--xs {
1103
1247
  padding: 5px 10px;
@@ -1110,14 +1254,14 @@ button {
1110
1254
  }
1111
1255
 
1112
1256
  .ncua-input__trailing-button .ncua-input__button {
1113
- display: flex;
1114
- align-items: center;
1115
- background-color: var(--base-white);
1116
- border: 1px solid var(--gray-200);
1117
1257
  border-radius: 0 6px 6px 0;
1118
1258
  border-left-width: 0;
1119
1259
  color: var(--gray-700);
1120
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);
1121
1265
  }
1122
1266
  .ncua-input__trailing-button .ncua-input__button--xs {
1123
1267
  padding: 5px 10px;
@@ -1181,97 +1325,633 @@ button {
1181
1325
  color: var(--primary-red-500);
1182
1326
  }
1183
1327
 
1184
- .ncua-radio-input {
1185
- position: relative;
1186
- flex: none;
1187
- display: inline-block;
1188
- width: 16px;
1189
- height: 16px;
1190
- line-height: 1;
1191
- background-color: var(--base-white);
1192
- }
1193
- .ncua-radio-input :where(input) {
1194
- position: absolute;
1328
+ .ncua-modal-backdrop {
1329
+ position: fixed;
1195
1330
  top: 0;
1196
1331
  left: 0;
1197
- z-index: 1;
1198
- -webkit-appearance: none;
1199
- -moz-appearance: none;
1200
- appearance: none;
1201
- margin: 0;
1202
- width: 100%;
1203
- height: 100%;
1204
- border: 1px solid var(--gray-200);
1205
- font: inherit;
1206
- border-radius: 50%;
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;
1207
1340
  }
1208
- .ncua-radio-input :where(input):focus {
1209
- border-color: var(--gray-400);
1210
- box-shadow: var(--focus-ring-4px-gray-100);
1341
+
1342
+ .ncua-modal {
1343
+ background-color: var(--base-white);
1344
+ border-radius: 12px;
1345
+ width: 100%;
1346
+ max-height: calc(100vh - 40px);
1347
+ overflow: hidden;
1348
+ display: flex;
1349
+ flex-direction: column;
1350
+ box-shadow: var(--shadow-xl);
1211
1351
  }
1212
- .ncua-radio-input :where(input):checked {
1213
- border-color: var(--gray-700);
1214
- outline: none;
1352
+ .ncua-modal--sm {
1353
+ max-width: 400px;
1215
1354
  }
1216
- .ncua-radio-input :where(input):disabled {
1217
- border-color: var(--gray-200);
1355
+ .ncua-modal--md {
1356
+ max-width: 560px;
1218
1357
  }
1219
- .ncua-radio-input :where(input)::before {
1220
- position: absolute;
1221
- top: 50%;
1222
- left: 50%;
1223
- content: "";
1224
- transform: translate(-50%, -50%);
1225
- width: 6px;
1226
- height: 6px;
1227
- border-radius: 50%;
1358
+ .ncua-modal--lg {
1359
+ max-width: 640px;
1228
1360
  }
1229
- .ncua-radio-input :where(input):disabled::before {
1230
- background-color: var(--gray-100);
1361
+ .ncua-modal--xl {
1362
+ max-width: 760px;
1231
1363
  }
1232
- .ncua-radio-input :where(input):checked::before {
1233
- background-color: var(--gray-700);
1364
+ @media (max-width: 768px) {
1365
+ .ncua-modal {
1366
+ max-height: calc(100vh - 160px);
1367
+ }
1234
1368
  }
1235
- .ncua-radio-input :where(input):checked:disabled::before {
1236
- background-color: var(--gray-200);
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;
1237
1377
  }
1238
- .ncua-radio-input.destructive :where(input) {
1239
- border-color: var(--primary-red-600);
1378
+ .ncua-modal__header-divider {
1379
+ width: 100%;
1380
+ height: 1px;
1381
+ background-color: var(--gray-100);
1382
+ margin: 0 0 16px;
1240
1383
  }
1241
- .ncua-radio-input.destructive :where(input):focus {
1242
- border-color: var(--primary-red-600);
1243
- box-shadow: var(--shadow-xs-focused-4px-error-100);
1384
+ .ncua-modal__header--left {
1385
+ align-items: flex-start;
1244
1386
  }
1245
- .ncua-radio-input:hover {
1246
- border-color: var(--gray-600);
1247
- background-color: var(--gray-100);
1387
+ .ncua-modal__header--left .ncua-modal__title {
1388
+ align-items: flex-start;
1389
+ text-align: left;
1248
1390
  }
1249
-
1250
- .ncua-radio-field {
1251
- position: relative;
1252
- line-height: 18px;
1253
- font-weight: var(--font-weights-commerce-sans-0);
1254
- font-size: var(--font-size-1);
1255
- cursor: pointer;
1391
+ .ncua-modal__header--center {
1392
+ align-items: center;
1256
1393
  }
1257
- .ncua-radio-field__text {
1258
- display: block;
1259
- color: var(--gray-500);
1260
- font-weight: var(--font-weights-commerce-sans-1);
1394
+ .ncua-modal__header--center .ncua-modal__title {
1395
+ align-items: center;
1396
+ text-align: center;
1261
1397
  }
1262
- .ncua-radio-field__support-text {
1263
- color: var(--gray-400);
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;
1264
1401
  }
1265
- .ncua-radio-field:hover .ncua-radio-field__input {
1266
- border-color: var(--gray-700);
1267
- background-color: var(--gray-50);
1268
- border-radius: 4px;
1402
+ .ncua-modal__header--horizontal {
1403
+ flex-direction: row;
1404
+ align-items: flex-start;
1405
+ gap: 16px;
1269
1406
  }
1270
- .ncua-radio-field--md {
1271
- font-size: var(--font-size-2);
1272
- line-height: 22px;
1407
+ .ncua-modal__header--horizontal .ncua-modal__title {
1408
+ flex: 1;
1273
1409
  }
1274
- .ncua-radio-field.has-text {
1410
+
1411
+ .ncua-modal__title {
1412
+ display: flex;
1413
+ flex-direction: column;
1414
+ align-items: flex-start;
1415
+ gap: 4px;
1416
+ }
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);
1422
+ }
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);
1427
+ color: var(--gray-400);
1428
+ }
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;
1949
+ }
1950
+ .ncua-radio-field--md {
1951
+ font-size: var(--font-size-2);
1952
+ line-height: 22px;
1953
+ }
1954
+ .ncua-radio-field.has-text {
1275
1955
  display: inline-flex;
1276
1956
  gap: 6px;
1277
1957
  }
@@ -1686,6 +2366,68 @@ button {
1686
2366
  color: var(--gray-700);
1687
2367
  }
1688
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
+
1689
2431
  @keyframes ncua-spinner-rotate {
1690
2432
  from {
1691
2433
  transform: rotate(0deg);
@@ -1936,16 +2678,13 @@ button {
1936
2678
  .ncua-date-picker .flatpickr-calendar {
1937
2679
  max-height: none;
1938
2680
  padding-block-start: 12px;
2681
+ border-radius: 8px;
2682
+ left: 0;
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);
1939
2684
  }
1940
2685
  .ncua-date-picker .flatpickr-calendar::before, .ncua-date-picker .flatpickr-calendar::after {
1941
2686
  content: none;
1942
2687
  }
1943
- .ncua-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months,
1944
- .ncua-date-picker .numInputWrapper .cur-year {
1945
- font-size: var(--font-size-sm);
1946
- font-weight: 700;
1947
- line-height: 22px;
1948
- }
1949
2688
  .ncua-date-picker .numInputWrapper .cur-year {
1950
2689
  margin-inline-start: 4px;
1951
2690
  transform: translateY(2px);
@@ -1964,6 +2703,20 @@ button {
1964
2703
  width: 36px;
1965
2704
  height: 36px;
1966
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
+ }
2711
+ .ncua-date-picker .flatpickr-months .flatpickr-prev-month:hover,
2712
+ .ncua-date-picker .flatpickr-months .flatpickr-next-month:hover {
2713
+ border-radius: 6px;
2714
+ background-color: var(--gray-50);
2715
+ }
2716
+ .ncua-date-picker .flatpickr-months .flatpickr-prev-month:hover svg,
2717
+ .ncua-date-picker .flatpickr-months .flatpickr-next-month:hover svg {
2718
+ fill: initial;
2719
+ }
1967
2720
  .ncua-date-picker .flatpickr-months .flatpickr-month {
1968
2721
  overflow: visible;
1969
2722
  flex: none;
@@ -1972,11 +2725,18 @@ button {
1972
2725
  position: initial;
1973
2726
  width: auto;
1974
2727
  display: flex;
2728
+ padding-block-start: 6px;
1975
2729
  gap: 4px;
1976
2730
  }
1977
2731
  .ncua-date-picker .flatpickr-monthDropdown-months {
1978
2732
  margin: 0;
1979
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;
1980
2740
  }
1981
2741
  .ncua-date-picker .flatpickr-innerContainer {
1982
2742
  justify-content: center;
@@ -1999,6 +2759,10 @@ button {
1999
2759
  background-color: var(--gray-500);
2000
2760
  border-color: var(--gray-500);
2001
2761
  }
2762
+ .ncua-date-picker .flatpickr-day.selected:hover {
2763
+ border-color: var(--gray-700);
2764
+ background-color: var(--gray-700);
2765
+ }
2002
2766
  .ncua-date-picker .flatpickr-day.today {
2003
2767
  border-color: var(--gray-600);
2004
2768
  }
@@ -2034,6 +2798,10 @@ button {
2034
2798
  height: 32px;
2035
2799
  line-height: 32px;
2036
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
+ }
2037
2805
  .ncua-date-picker--md .flatpickr-calendar {
2038
2806
  width: 343px;
2039
2807
  }
@@ -2054,6 +2822,10 @@ button {
2054
2822
  height: 36px;
2055
2823
  line-height: 36px;
2056
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
+ }
2057
2829
  .ncua-date-picker--disabled .flatpickr-wrapper,
2058
2830
  .ncua-date-picker--disabled .ncua-date-picker__input {
2059
2831
  background-color: var(--gray-50);
@@ -2109,18 +2881,75 @@ button {
2109
2881
  background-color: #ffffff;
2110
2882
  cursor: pointer;
2111
2883
  }
2112
- .ncua-carousel-arrow__icon {
2113
- display: block;
2114
- }
2115
- .ncua-carousel-arrow--line {
2116
- outline: 1px solid var(--gray-200);
2884
+ .ncua-carousel-arrow__icon {
2885
+ display: block;
2886
+ }
2887
+ .ncua-carousel-arrow--line {
2888
+ outline: 1px solid var(--gray-200);
2889
+ }
2890
+ .ncua-carousel-arrow--md {
2891
+ padding: 8px;
2892
+ }
2893
+ .ncua-carousel-arrow--md .ncua-carousel-arrow__icon {
2894
+ width: 16px;
2895
+ height: 16px;
2896
+ }
2897
+
2898
+ .ncua-breadcrumb {
2899
+ display: flex;
2900
+ align-items: center;
2901
+ font-size: var(--font-size-sm);
2902
+ }
2903
+ .ncua-breadcrumb__list {
2904
+ display: flex;
2905
+ flex-wrap: wrap;
2906
+ align-items: center;
2907
+ gap: 20px;
2908
+ padding: 0;
2909
+ margin: 0;
2910
+ list-style: none;
2911
+ }
2912
+ .ncua-breadcrumb__list-item {
2913
+ position: relative;
2914
+ display: flex;
2915
+ align-items: center;
2916
+ height: 28px;
2917
+ padding: 4px 8px;
2918
+ color: var(--gray-400);
2919
+ font-weight: var(--font-weights-commerce-sans-1);
2920
+ cursor: pointer;
2921
+ }
2922
+ .ncua-breadcrumb__list-item--active {
2923
+ color: var(--gray-600);
2117
2924
  }
2118
- .ncua-carousel-arrow--md {
2119
- padding: 8px;
2925
+ .ncua-breadcrumb__list-item:hover:not(:first-child):not(:last-child) {
2926
+ color: var(--gray-600);
2927
+ background-color: var(--gray-100);
2928
+ border-radius: 4px;
2120
2929
  }
2121
- .ncua-carousel-arrow--md .ncua-carousel-arrow__icon {
2930
+ .ncua-breadcrumb__list-item:not(:last-child)::after {
2931
+ content: "";
2932
+ position: absolute;
2933
+ right: -18px;
2934
+ top: 50%;
2935
+ transform: translateY(-50%);
2936
+ display: inline-block;
2122
2937
  width: 16px;
2123
2938
  height: 16px;
2939
+ 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="M6 12L10 8L6 4" stroke="%23D3D4D8" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
2940
+ background-repeat: no-repeat;
2941
+ background-position: center;
2942
+ }
2943
+ .ncua-breadcrumb__item {
2944
+ display: flex;
2945
+ align-items: center;
2946
+ color: inherit;
2947
+ text-decoration: none;
2948
+ transition: color 0.2s ease;
2949
+ }
2950
+ .ncua-breadcrumb__item:hover {
2951
+ color: inherit;
2952
+ text-decoration: none;
2124
2953
  }
2125
2954
 
2126
2955
  .ncua-badge {
@@ -2211,4 +3040,394 @@ button {
2211
3040
  .ncua-badge--pill-dark-color.ncua-badge--disabled {
2212
3041
  color: var(--gray-300);
2213
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%;
2214
3433
  }