@ncds/ui-admin 0.0.22 → 0.0.24

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/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/input/InputBase.js +27 -14
  15. package/dist/cjs/src/components/modal/Modal.js +193 -0
  16. package/dist/cjs/src/components/modal/index.js +12 -0
  17. package/dist/cjs/src/components/notification/FloatingNotification.js +104 -0
  18. package/dist/cjs/src/components/notification/FullWidthNotification.js +112 -0
  19. package/dist/cjs/src/components/notification/Notification.js +66 -0
  20. package/dist/cjs/src/components/notification/index.js +38 -0
  21. package/dist/cjs/src/components/pagination/NavButton.js +6 -4
  22. package/dist/cjs/src/components/pagination/Pagination.js +4 -19
  23. package/dist/cjs/src/components/progress-bar/ProgressBar.js +57 -0
  24. package/dist/cjs/src/components/progress-bar/index.js +16 -0
  25. package/dist/cjs/src/components/progress-circle/ProgressCircle.js +121 -0
  26. package/dist/cjs/src/components/progress-circle/index.js +16 -0
  27. package/dist/cjs/src/components/slider/Slider.js +64 -0
  28. package/dist/cjs/src/components/slider/index.js +16 -0
  29. package/dist/cjs/src/components/tab/HorizontalTab.js +77 -0
  30. package/dist/cjs/src/components/tab/TabButton.js +76 -0
  31. package/dist/cjs/src/components/tab/VerticalTab.js +75 -0
  32. package/dist/cjs/src/components/tab/index.js +38 -0
  33. package/dist/esm/assets/scripts/index.js +2 -1
  34. package/dist/esm/assets/scripts/slider.js +336 -0
  35. package/dist/esm/index.js +0 -3
  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/date-picker/index.js +1 -2
  39. package/dist/esm/src/components/divider/Divider.js +36 -0
  40. package/dist/esm/src/components/divider/index.js +1 -0
  41. package/dist/esm/src/components/empty-state/EmptyState.js +51 -0
  42. package/dist/esm/src/components/empty-state/index.js +1 -0
  43. package/dist/esm/src/components/featured-icon/FeaturedIcon.js +72 -0
  44. package/dist/esm/src/components/featured-icon/index.js +1 -0
  45. package/dist/esm/src/components/index.js +8 -1
  46. package/dist/esm/src/components/input/InputBase.js +27 -14
  47. package/dist/esm/src/components/modal/Modal.js +185 -0
  48. package/dist/esm/src/components/modal/index.js +1 -0
  49. package/dist/esm/src/components/notification/FloatingNotification.js +97 -0
  50. package/dist/esm/src/components/notification/FullWidthNotification.js +105 -0
  51. package/dist/esm/src/components/notification/Notification.js +59 -0
  52. package/dist/esm/src/components/notification/index.js +3 -0
  53. package/dist/esm/src/components/pagination/NavButton.js +6 -4
  54. package/dist/esm/src/components/pagination/Pagination.js +4 -19
  55. package/dist/esm/src/components/progress-bar/ProgressBar.js +50 -0
  56. package/dist/esm/src/components/progress-bar/index.js +1 -0
  57. package/dist/esm/src/components/progress-circle/ProgressCircle.js +114 -0
  58. package/dist/esm/src/components/progress-circle/index.js +1 -0
  59. package/dist/esm/src/components/slider/Slider.js +57 -0
  60. package/dist/esm/src/components/slider/index.js +1 -0
  61. package/dist/esm/src/components/tab/HorizontalTab.js +69 -0
  62. package/dist/esm/src/components/tab/TabButton.js +68 -0
  63. package/dist/esm/src/components/tab/VerticalTab.js +67 -0
  64. package/dist/esm/src/components/tab/index.js +3 -0
  65. package/dist/types/assets/scripts/index.d.ts +1 -0
  66. package/dist/types/assets/scripts/slider.d.ts +42 -0
  67. package/dist/types/index.d.ts +0 -3
  68. package/dist/types/src/components/button/Button.d.ts +2 -1
  69. package/dist/types/src/components/button/ButtonGroup.d.ts +6 -5
  70. package/dist/types/src/components/date-picker/index.d.ts +0 -1
  71. package/dist/types/src/components/divider/Divider.d.ts +11 -0
  72. package/dist/types/src/components/divider/index.d.ts +2 -0
  73. package/dist/types/src/components/empty-state/EmptyState.d.ts +14 -0
  74. package/dist/types/src/components/empty-state/index.d.ts +2 -0
  75. package/dist/types/src/components/featured-icon/FeaturedIcon.d.ts +14 -0
  76. package/dist/types/src/components/featured-icon/index.d.ts +2 -0
  77. package/dist/types/src/components/index.d.ts +8 -1
  78. package/dist/types/src/components/input/InputBase.d.ts +2 -0
  79. package/dist/types/src/components/modal/Modal.d.ts +75 -0
  80. package/dist/types/src/components/modal/index.d.ts +3 -0
  81. package/dist/types/src/components/notification/FloatingNotification.d.ts +32 -0
  82. package/dist/types/src/components/notification/FullWidthNotification.d.ts +32 -0
  83. package/dist/types/src/components/notification/Notification.d.ts +59 -0
  84. package/dist/types/src/components/notification/index.d.ts +4 -0
  85. package/dist/types/src/components/pagination/NavButton.d.ts +2 -2
  86. package/dist/types/src/components/progress-bar/ProgressBar.d.ts +7 -0
  87. package/dist/types/src/components/progress-bar/index.d.ts +2 -0
  88. package/dist/types/src/components/progress-circle/ProgressCircle.d.ts +8 -0
  89. package/dist/types/src/components/progress-circle/index.d.ts +2 -0
  90. package/dist/types/src/components/slider/Slider.d.ts +15 -0
  91. package/dist/types/src/components/slider/index.d.ts +2 -0
  92. package/dist/types/src/components/tab/HorizontalTab.d.ts +12 -0
  93. package/dist/types/src/components/tab/TabButton.d.ts +26 -0
  94. package/dist/types/src/components/tab/VerticalTab.d.ts +10 -0
  95. package/dist/types/src/components/tab/index.d.ts +4 -0
  96. package/dist/ui-admin/assets/styles/style.css +1290 -105
  97. package/package.json +1 -1
@@ -79,11 +79,13 @@
79
79
  --line-heights-md: 24px;
80
80
  --line-heights-sm: 22px;
81
81
  --line-heights-xs: 18px;
82
- --line-heights-xxs: 14px;
82
+ --line-heights-xxs: 16px;
83
+ --line-heights-xxxs: 14px;
83
84
  --font-weights-commerce-sans-0: 400;
84
85
  --font-weights-commerce-sans-1: 500;
85
86
  --font-weights-commerce-sans-2: 700;
86
- --font-size-xxs: 11px;
87
+ --font-size-xxxs: 11px;
88
+ --font-size-xxs: 12px;
87
89
  --font-size-xs: 13px;
88
90
  --font-size-sm: 14px;
89
91
  --font-size-md: 16px;
@@ -244,7 +246,6 @@ button {
244
246
  justify-content: center;
245
247
  align-items: center;
246
248
  text-align: center;
247
- gap: 8px;
248
249
  line-height: normal;
249
250
  color: inherit;
250
251
  transition: background-color 0.2s ease-in-out;
@@ -275,7 +276,7 @@ button {
275
276
  .ncua-btn--primary:disabled, .ncua-btn--primary.is-disable {
276
277
  background-color: var(--primary-red-100);
277
278
  border: 1px solid var(--primary-red-200);
278
- color: var(--base-white);
279
+ color: var(--primary-red-300);
279
280
  cursor: default;
280
281
  }
281
282
  .ncua-btn--secondary {
@@ -347,7 +348,7 @@ button {
347
348
  }
348
349
  .ncua-btn--tertiary-gray:disabled, .ncua-btn--tertiary-gray.is-disable {
349
350
  background-color: var(--base-white);
350
- color: var(--base-white);
351
+ color: var(--gray-200);
351
352
  cursor: default;
352
353
  }
353
354
  .ncua-btn--link {
@@ -373,12 +374,12 @@ button {
373
374
  .ncua-btn--destructive {
374
375
  box-shadow: var(--shadow-xs);
375
376
  background-color: var(--primary-red-500);
376
- border: 1px solid var(--primary-red-200);
377
+ border: 1px solid var(--primary-red-500);
377
378
  color: var(--base-white);
378
379
  }
379
380
  .ncua-btn--destructive:hover:not([disabled], .is-disable) {
380
381
  background-color: var(--primary-red-700);
381
- border: 1px solid var(--primary-red-300);
382
+ border: 1px solid var(--primary-red-700);
382
383
  color: var(--base-white);
383
384
  }
384
385
  .ncua-btn--destructive:focus:not([disabled], .is-disabled) {
@@ -387,21 +388,23 @@ button {
387
388
  color: var(--base-white);
388
389
  }
389
390
  .ncua-btn--destructive:disabled, .ncua-btn--destructive.is-disable {
390
- background-color: var(--primary-red-50);
391
+ background-color: var(--primary-red-200);
391
392
  border: 1px solid var(--primary-red-300);
392
393
  color: var(--primary-red-300);
393
394
  cursor: default;
394
395
  }
395
396
  .ncua-btn--xxs {
396
397
  padding: 5px 8px;
398
+ gap: 4px;
397
399
  height: var(--button-height-xxs);
398
- font-size: var(--font-size-xxs);
399
- border-radius: 6px;
400
+ font-size: var(--font-size-xxxs);
401
+ border-radius: 4px;
400
402
  font-weight: var(--font-weights-commerce-sans-1);
401
- line-height: var(--line-heights-xxs);
403
+ line-height: var(--line-heights-xxxs);
402
404
  }
403
405
  .ncua-btn--xs {
404
- padding: 5px 12px;
406
+ padding: 5px 10px;
407
+ gap: 4px;
405
408
  height: var(--button-height-xs);
406
409
  font-size: var(--font-size-xs);
407
410
  border-radius: 6px;
@@ -409,15 +412,17 @@ button {
409
412
  line-height: var(--line-heights-xs);
410
413
  }
411
414
  .ncua-btn--sm {
412
- padding: 8px 14px;
415
+ padding: 7px 14px;
416
+ gap: 8px;
413
417
  height: var(--button-height-sm);
414
418
  font-size: var(--font-size-sm);
415
- border-radius: 8px;
419
+ border-radius: 6px;
416
420
  font-weight: var(--font-weights-commerce-sans-2);
417
421
  line-height: var(--line-heights-sm);
418
422
  }
419
423
  .ncua-btn--md {
420
424
  padding: 10px 16px;
425
+ gap: 8px;
421
426
  height: var(--button-height-md);
422
427
  font-size: var(--font-size-sm);
423
428
  border-radius: 8px;
@@ -574,7 +579,7 @@ button {
574
579
  padding: 9px 16px;
575
580
  }
576
581
  .ncua-button-group--xs .ncua-button-group__item {
577
- font-size: var(--font-size-xxs);
582
+ font-size: var(--font-size-xxxs);
578
583
  font-weight: var(--font-weights-commerce-sans-1);
579
584
  }
580
585
  .ncua-button-group--sm .ncua-button-group__item {
@@ -729,6 +734,151 @@ button {
729
734
  transform: translateY(3px);
730
735
  }
731
736
 
737
+ .ncua-featured-icon {
738
+ display: flex;
739
+ align-items: center;
740
+ justify-content: center;
741
+ position: relative;
742
+ }
743
+ .ncua-featured-icon--sm {
744
+ width: 32px;
745
+ height: 32px;
746
+ }
747
+ .ncua-featured-icon--md {
748
+ width: 40px;
749
+ height: 40px;
750
+ }
751
+ .ncua-featured-icon--lg {
752
+ width: 48px;
753
+ height: 48px;
754
+ }
755
+ .ncua-featured-icon--xl {
756
+ width: 56px;
757
+ height: 56px;
758
+ }
759
+ .ncua-featured-icon--light-circle.ncua-featured-icon--neutral {
760
+ background-color: var(--gray-100);
761
+ border-radius: 50%;
762
+ }
763
+ .ncua-featured-icon--light-circle.ncua-featured-icon--error {
764
+ background-color: var(--primary-red-100);
765
+ border-radius: 50%;
766
+ }
767
+ .ncua-featured-icon--light-circle.ncua-featured-icon--warning {
768
+ background-color: var(--orange-100);
769
+ border-radius: 50%;
770
+ }
771
+ .ncua-featured-icon--light-circle.ncua-featured-icon--success {
772
+ background-color: var(--green-100);
773
+ border-radius: 50%;
774
+ }
775
+ .ncua-featured-icon--dark-circle.ncua-featured-icon--neutral {
776
+ background-color: var(--gray-400);
777
+ border-radius: 50%;
778
+ }
779
+ .ncua-featured-icon--dark-circle.ncua-featured-icon--error {
780
+ background-color: var(--primary-red-400);
781
+ border-radius: 50%;
782
+ }
783
+ .ncua-featured-icon--dark-circle.ncua-featured-icon--warning {
784
+ background-color: var(--orange-400);
785
+ border-radius: 50%;
786
+ }
787
+ .ncua-featured-icon--dark-circle.ncua-featured-icon--success {
788
+ background-color: var(--green-400);
789
+ border-radius: 50%;
790
+ }
791
+ .ncua-featured-icon--outline-circle {
792
+ border-radius: 50%;
793
+ }
794
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--neutral .ncua-featured-icon__outline {
795
+ border-color: var(--gray-500);
796
+ }
797
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--error .ncua-featured-icon__outline {
798
+ border-color: var(--primary-red-500);
799
+ }
800
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--warning .ncua-featured-icon__outline {
801
+ border-color: var(--orange-500);
802
+ }
803
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--success .ncua-featured-icon__outline {
804
+ border-color: var(--green-500);
805
+ }
806
+ .ncua-featured-icon--square-outline.ncua-featured-icon--sm {
807
+ border-radius: 6px;
808
+ border: 1px solid var(--gray-200);
809
+ box-shadow: var(--shadow-xs);
810
+ }
811
+ .ncua-featured-icon--square-outline.ncua-featured-icon--md {
812
+ border-radius: 8px;
813
+ border: 1px solid var(--gray-200);
814
+ box-shadow: var(--shadow-xs);
815
+ }
816
+ .ncua-featured-icon--square-outline.ncua-featured-icon--lg {
817
+ border-radius: 10px;
818
+ border: 1px solid var(--gray-200);
819
+ box-shadow: var(--shadow-xs);
820
+ }
821
+ .ncua-featured-icon--square-outline.ncua-featured-icon--xl {
822
+ border-radius: 12px;
823
+ border: 1px solid var(--gray-200);
824
+ box-shadow: var(--shadow-xs);
825
+ }
826
+ .ncua-featured-icon__outline {
827
+ position: absolute;
828
+ border-style: solid;
829
+ border-radius: 50%;
830
+ width: 100%;
831
+ height: 100%;
832
+ box-sizing: border-box;
833
+ }
834
+ .ncua-featured-icon__outline--inner {
835
+ width: 75%;
836
+ height: 75%;
837
+ border-width: 2px;
838
+ opacity: 0.3;
839
+ }
840
+ .ncua-featured-icon__outline--outer {
841
+ width: 100%;
842
+ height: 100%;
843
+ border-width: 2px;
844
+ opacity: 0.1;
845
+ }
846
+
847
+ .ncua-divider {
848
+ width: 100%;
849
+ display: flex;
850
+ align-items: center;
851
+ justify-content: center;
852
+ gap: 8px;
853
+ }
854
+ .ncua-divider__line {
855
+ flex: 1;
856
+ height: 1px;
857
+ background-color: var(--gray-100);
858
+ }
859
+ .ncua-divider__content {
860
+ display: flex;
861
+ align-items: center;
862
+ justify-content: center;
863
+ }
864
+ .ncua-divider--background-fill {
865
+ padding: 8px 0;
866
+ background-color: var(--gray-50);
867
+ border-radius: 8px;
868
+ }
869
+ .ncua-divider--text {
870
+ font-size: var(--font-size-sm);
871
+ font-weight: var(--font-weights-commerce-sans-1);
872
+ line-height: var(--line-heights-sm);
873
+ color: var(--gray-500);
874
+ }
875
+ .ncua-divider--heading {
876
+ font-size: var(--font-size-md);
877
+ font-weight: var(--font-weights-commerce-sans-1);
878
+ line-height: var(--line-heights-md);
879
+ color: var(--gray-700);
880
+ }
881
+
732
882
  .ncua-dropdown {
733
883
  position: relative;
734
884
  display: inline-block;
@@ -833,10 +983,10 @@ button {
833
983
  line-height: var(--line-heights-xs);
834
984
  }
835
985
  .ncua-dropdown__header-subtitle {
836
- font-size: var(--font-size-xxs);
986
+ font-size: var(--font-size-xxxs);
837
987
  font-weight: var(--font-weights-commerce-sans-0);
838
988
  color: var(--gray-500);
839
- line-height: var(--line-heights-xxs);
989
+ line-height: var(--line-heights-xxxs);
840
990
  }
841
991
  .ncua-dropdown__menu-items {
842
992
  display: flex;
@@ -919,6 +1069,7 @@ button {
919
1069
 
920
1070
  .ncua-hint-text {
921
1071
  color: var(--gray-400);
1072
+ margin-top: 0;
922
1073
  }
923
1074
  .ncua-hint-text.destructive {
924
1075
  color: var(--primary-red-600);
@@ -934,11 +1085,18 @@ button {
934
1085
  margin-bottom: 0;
935
1086
  }
936
1087
  .ncua-input__label {
937
- margin-bottom: 4px;
1088
+ display: flex;
1089
+ align-items: center;
1090
+ }
1091
+ .ncua-input__help-icon {
1092
+ margin-left: 2px;
1093
+ color: var(--gray-300);
1094
+ width: 14px;
1095
+ height: 14px;
938
1096
  }
939
1097
  .ncua-input__content {
940
1098
  box-shadow: var(--shadow-xs);
941
- border-radius: 8px;
1099
+ border-radius: 6px;
942
1100
  }
943
1101
  .ncua-input:where(:not([class*=textarea])) .ncua-input__content {
944
1102
  display: flex;
@@ -955,6 +1113,12 @@ button {
955
1113
  justify-content: space-between;
956
1114
  line-height: 1;
957
1115
  }
1116
+ .ncua-input__field--xs {
1117
+ padding: 5px 10px;
1118
+ }
1119
+ .ncua-input__field--md {
1120
+ padding: 6px 12px;
1121
+ }
958
1122
  .ncua-input:focus-within :where(.ncua-input__field) {
959
1123
  border-color: var(--gray-400);
960
1124
  box-shadow: var(--shadow-xs-focused-3px-gray-100);
@@ -967,7 +1131,7 @@ button {
967
1131
  border: 0;
968
1132
  color: var(--gray-700);
969
1133
  font-size: var(--font-size-sm);
970
- line-height: 1rem;
1134
+ line-height: var(--line-heights-sm);
971
1135
  background-color: var(--base-white);
972
1136
  }
973
1137
  .ncua-input input::-webkit-input-placeholder,
@@ -995,23 +1159,28 @@ button {
995
1159
  .ncua-input textarea:focus {
996
1160
  outline: none;
997
1161
  }
1162
+ .ncua-input .ncua-input__field {
1163
+ border-radius: 6px;
1164
+ }
998
1165
  .ncua-input--xs {
999
1166
  gap: 4px;
1000
- padding: 5px 10px;
1001
- font-size: var(--font-size-xxs);
1002
- border-radius: 6px;
1003
1167
  }
1004
1168
  .ncua-input--xs input {
1005
1169
  font-size: var(--font-size-xs);
1170
+ line-height: var(--line-heights-xs);
1006
1171
  }
1007
1172
  .ncua-input--md {
1008
1173
  gap: 6px;
1009
- padding: 7px 12px;
1010
- font-size: var(--font-size-sm);
1011
- border-radius: 6px;
1012
1174
  }
1013
1175
  .ncua-input--md input {
1014
1176
  font-size: var(--font-size-sm);
1177
+ line-height: var(--line-heights-sm);
1178
+ }
1179
+ .ncua-input--xs {
1180
+ font-size: var(--font-size-xxs);
1181
+ }
1182
+ .ncua-input--md {
1183
+ font-size: var(--font-size-xs);
1015
1184
  }
1016
1185
  .ncua-input input:-webkit-autofill, .ncua-input input:-webkit-autofill:hover, .ncua-input input:-webkit-autofill:focus, .ncua-input input:-webkit-autofill:active {
1017
1186
  -webkit-box-shadow: 0 0 0 30px var(--base-white) inset !important;
@@ -1099,7 +1268,7 @@ button {
1099
1268
  padding: 5px 10px;
1100
1269
  }
1101
1270
  .ncua-input__leading-text--md {
1102
- padding: 7px 12px;
1271
+ padding: 6px 12px;
1103
1272
  }
1104
1273
  .ncua-input__leading-text + .ncua-input__field {
1105
1274
  border-radius: 0 6px 6px 0;
@@ -1119,18 +1288,30 @@ button {
1119
1288
  padding: 5px 10px;
1120
1289
  }
1121
1290
  .ncua-input__trailing-button .ncua-input__button--md {
1122
- padding: 7px 12px;
1291
+ padding: 6px 12px;
1123
1292
  }
1124
1293
  .ncua-input__trailing-button .ncua-input__button:not(:disabled) {
1125
1294
  cursor: pointer;
1126
1295
  }
1296
+ .ncua-input__trailing-button .ncua-input__button--xs {
1297
+ padding: 5px 10px;
1298
+ font-size: var(--font-size-xs);
1299
+ line-height: var(--line-heights-xs);
1300
+ font-weight: var(--font-weights-commerce-sans-1);
1301
+ }
1302
+ .ncua-input__trailing-button .ncua-input__button--md {
1303
+ padding: 7px 14px;
1304
+ font-size: var(--font-size-sm);
1305
+ line-height: var(--line-heights-sm);
1306
+ font-weight: var(--font-weights-commerce-sans-2);
1307
+ }
1127
1308
  .ncua-input__trailing-button .ncua-input__field {
1128
1309
  border-top-right-radius: 0;
1129
1310
  border-bottom-right-radius: 0;
1130
1311
  }
1131
1312
 
1132
1313
  .ncua-input--textarea {
1133
- font-size: var(--font-size-xxs);
1314
+ font-size: var(--font-size-xxxs);
1134
1315
  gap: 4px;
1135
1316
  }
1136
1317
  .ncua-input--textarea .ncua-input__content {
@@ -1177,83 +1358,619 @@ button {
1177
1358
  color: var(--primary-red-500);
1178
1359
  }
1179
1360
 
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;
1361
+ .ncua-modal-backdrop {
1362
+ position: fixed;
1191
1363
  top: 0;
1192
1364
  left: 0;
1193
- z-index: 1;
1194
- -webkit-appearance: none;
1195
- -moz-appearance: none;
1196
- appearance: none;
1197
- margin: 0;
1365
+ right: 0;
1366
+ bottom: 0;
1367
+ padding: 0 16px;
1368
+ background-color: rgba(0, 0, 0, 0.7);
1369
+ display: flex;
1370
+ align-items: center;
1371
+ justify-content: center;
1372
+ z-index: 1000;
1373
+ }
1374
+
1375
+ .ncua-modal {
1376
+ background-color: var(--base-white);
1377
+ border-radius: 12px;
1198
1378
  width: 100%;
1199
- height: 100%;
1200
- border: 1px solid var(--gray-200);
1201
- font: inherit;
1202
- border-radius: 50%;
1379
+ max-height: calc(100vh - 40px);
1380
+ overflow: hidden;
1381
+ display: flex;
1382
+ flex-direction: column;
1383
+ box-shadow: var(--shadow-xl);
1203
1384
  }
1204
- .ncua-radio-input :where(input):focus {
1205
- border-color: var(--gray-400);
1206
- box-shadow: var(--focus-ring-4px-gray-100);
1385
+ .ncua-modal--sm {
1386
+ max-width: 400px;
1207
1387
  }
1208
- .ncua-radio-input :where(input):checked {
1209
- border-color: var(--gray-700);
1210
- outline: none;
1388
+ .ncua-modal--md {
1389
+ max-width: 560px;
1211
1390
  }
1212
- .ncua-radio-input :where(input):disabled {
1213
- border-color: var(--gray-200);
1391
+ .ncua-modal--lg {
1392
+ max-width: 640px;
1214
1393
  }
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%;
1394
+ .ncua-modal--xl {
1395
+ max-width: 760px;
1224
1396
  }
1225
- .ncua-radio-input :where(input):disabled::before {
1226
- background-color: var(--gray-100);
1397
+ @media (max-width: 768px) {
1398
+ .ncua-modal {
1399
+ max-height: calc(100vh - 160px);
1400
+ }
1227
1401
  }
1228
- .ncua-radio-input :where(input):checked::before {
1229
- background-color: var(--gray-700);
1402
+
1403
+ .ncua-modal__header {
1404
+ padding: 16px 20px 16px;
1405
+ border-bottom: none;
1406
+ position: relative;
1407
+ display: flex;
1408
+ flex-direction: column;
1409
+ gap: 8px;
1230
1410
  }
1231
- .ncua-radio-input :where(input):checked:disabled::before {
1232
- background-color: var(--gray-200);
1411
+ .ncua-modal__header-divider {
1412
+ width: 100%;
1413
+ height: 1px;
1414
+ background-color: var(--gray-100);
1415
+ margin: 0 0 16px;
1233
1416
  }
1234
- .ncua-radio-input.destructive :where(input) {
1235
- border-color: var(--primary-red-600);
1417
+ .ncua-modal__header--left {
1418
+ align-items: flex-start;
1236
1419
  }
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);
1420
+ .ncua-modal__header--left .ncua-modal__title {
1421
+ align-items: flex-start;
1422
+ text-align: left;
1240
1423
  }
1241
- .ncua-radio-input:hover {
1242
- border-color: var(--gray-600);
1243
- background-color: var(--gray-100);
1424
+ .ncua-modal__header--center {
1425
+ align-items: center;
1244
1426
  }
1245
-
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;
1427
+ .ncua-modal__header--center .ncua-modal__title {
1428
+ align-items: center;
1429
+ text-align: center;
1252
1430
  }
1253
- .ncua-radio-field__text {
1254
- display: block;
1255
- color: var(--gray-500);
1256
- font-weight: var(--font-weights-commerce-sans-1);
1431
+ .ncua-modal__header--center .ncua-modal__title .ncua-modal__title-text,
1432
+ .ncua-modal__header--center .ncua-modal__title .ncua-modal__title-subtitle {
1433
+ text-align: center;
1434
+ }
1435
+ .ncua-modal__header--horizontal {
1436
+ flex-direction: row;
1437
+ align-items: flex-start;
1438
+ gap: 16px;
1439
+ }
1440
+ .ncua-modal__header--horizontal .ncua-modal__title {
1441
+ flex: 1;
1442
+ }
1443
+
1444
+ .ncua-modal__title {
1445
+ display: flex;
1446
+ flex-direction: column;
1447
+ align-items: flex-start;
1448
+ gap: 4px;
1449
+ }
1450
+ .ncua-modal__title .ncua-modal__title-text {
1451
+ font-weight: var(--font-weights-commerce-sans-2);
1452
+ font-size: var(--font-size-sm);
1453
+ line-height: var(--line-heights-sm);
1454
+ color: var(--gray-700);
1455
+ }
1456
+ .ncua-modal__title .ncua-modal__title-subtitle {
1457
+ font-weight: var(--font-weights-commerce-sans-0);
1458
+ font-size: var(--font-size-xs);
1459
+ line-height: var(--line-heights-xs);
1460
+ color: var(--gray-400);
1461
+ }
1462
+
1463
+ .ncua-modal__close-button {
1464
+ position: absolute;
1465
+ top: 16px;
1466
+ right: 20px;
1467
+ width: 24px;
1468
+ height: 24px;
1469
+ display: flex;
1470
+ align-items: center;
1471
+ justify-content: center;
1472
+ background: transparent;
1473
+ border: none;
1474
+ cursor: pointer;
1475
+ padding: 0;
1476
+ color: var(--gray-400);
1477
+ border-radius: 8px;
1478
+ }
1479
+ .ncua-modal__close-button:hover {
1480
+ background-color: var(--gray-50);
1481
+ }
1482
+
1483
+ .ncua-modal__content {
1484
+ padding: 0 20px 0;
1485
+ overflow-y: auto;
1486
+ flex: 1;
1487
+ }
1488
+ @media (max-width: 768px) {
1489
+ .ncua-modal__content {
1490
+ padding: 0 16px 0;
1491
+ }
1492
+ }
1493
+
1494
+ .ncua-modal__actions-wrapper {
1495
+ padding: 16px 20px 16px;
1496
+ }
1497
+ .ncua-modal__actions-wrapper--checkbox {
1498
+ display: flex;
1499
+ align-items: center;
1500
+ flex-direction: row;
1501
+ justify-content: space-between;
1502
+ gap: 8px;
1503
+ }
1504
+ @media (max-width: 768px) {
1505
+ .ncua-modal__actions-wrapper--checkbox {
1506
+ flex-direction: column-reverse;
1507
+ }
1508
+ }
1509
+
1510
+ .ncua-modal__actions {
1511
+ display: flex;
1512
+ gap: 8px;
1513
+ }
1514
+ .ncua-modal__actions-divider {
1515
+ width: 100%;
1516
+ height: 1px;
1517
+ background-color: var(--gray-100);
1518
+ margin: 16px 0 0;
1519
+ }
1520
+ .ncua-modal__actions--vertical {
1521
+ flex-direction: column;
1522
+ }
1523
+ @media (max-width: 768px) {
1524
+ .ncua-modal__actions--vertical {
1525
+ flex-direction: column-reverse;
1526
+ }
1527
+ }
1528
+ .ncua-modal__actions--horizontal {
1529
+ flex-direction: row;
1530
+ }
1531
+ @media (max-width: 768px) {
1532
+ .ncua-modal__actions--horizontal {
1533
+ flex-direction: column-reverse;
1534
+ }
1535
+ }
1536
+ .ncua-modal__actions--checkbox {
1537
+ flex-direction: row;
1538
+ }
1539
+ @media (max-width: 768px) {
1540
+ .ncua-modal__actions--checkbox {
1541
+ width: 100%;
1542
+ justify-content: stretch;
1543
+ flex-direction: column-reverse;
1544
+ }
1545
+ }
1546
+ .ncua-modal__actions--center {
1547
+ justify-content: center;
1548
+ }
1549
+ .ncua-modal__actions--right {
1550
+ justify-content: flex-end;
1551
+ }
1552
+ .ncua-modal__actions--stretch {
1553
+ justify-content: stretch;
1554
+ }
1555
+ .ncua-modal__actions--stretch button {
1556
+ flex: 1;
1557
+ }
1558
+
1559
+ @media (max-width: 768px) {
1560
+ .ncua-modal__actions-checkbox {
1561
+ width: 100%;
1562
+ }
1563
+ }
1564
+ .ncua-modal__actions-checkbox-content {
1565
+ display: flex;
1566
+ align-items: center;
1567
+ justify-content: space-between;
1568
+ gap: 8px;
1569
+ }
1570
+ @media (max-width: 768px) {
1571
+ .ncua-modal__actions-checkbox-content {
1572
+ width: 100%;
1573
+ justify-content: space-between;
1574
+ }
1575
+ }
1576
+
1577
+ .ncua-floating-notification {
1578
+ position: relative;
1579
+ width: 100%;
1580
+ padding: 16px;
1581
+ max-width: 398px;
1582
+ border: 1px solid var(--gray-200);
1583
+ background-color: var(--base-white);
1584
+ border-radius: 12px;
1585
+ box-shadow: var(--shadow-sm);
1586
+ }
1587
+ @media (max-width: 768px) {
1588
+ .ncua-floating-notification {
1589
+ max-width: 100%;
1590
+ padding: 22px 18px;
1591
+ }
1592
+ }
1593
+ .ncua-floating-notification__content {
1594
+ width: 100%;
1595
+ display: flex;
1596
+ flex-direction: column;
1597
+ }
1598
+ .ncua-floating-notification__container {
1599
+ display: flex;
1600
+ align-items: flex-start;
1601
+ gap: 16px;
1602
+ }
1603
+ @media (max-width: 768px) {
1604
+ .ncua-floating-notification__container {
1605
+ flex-direction: column;
1606
+ }
1607
+ }
1608
+ .ncua-floating-notification__text-container {
1609
+ flex: 1;
1610
+ display: flex;
1611
+ flex-direction: column;
1612
+ gap: 4px;
1613
+ padding-right: 32px;
1614
+ }
1615
+ @media (max-width: 768px) {
1616
+ .ncua-floating-notification__text-container {
1617
+ padding-right: 0;
1618
+ }
1619
+ }
1620
+ .ncua-floating-notification__title-wrapper {
1621
+ width: 100%;
1622
+ display: flex;
1623
+ padding-right: 32px;
1624
+ }
1625
+ .ncua-floating-notification__title, .ncua-floating-notification__supporting-text {
1626
+ font-size: var(--font-size-xs);
1627
+ line-height: var(--line-heights-xs);
1628
+ }
1629
+ @media (max-width: 768px) {
1630
+ .ncua-floating-notification__title, .ncua-floating-notification__supporting-text {
1631
+ font-size: var(--font-size-md);
1632
+ line-height: var(--line-heights-md);
1633
+ }
1634
+ }
1635
+ .ncua-floating-notification__title {
1636
+ color: var(--gray-600);
1637
+ font-weight: var(--font-weights-commerce-sans-2);
1638
+ }
1639
+ .ncua-floating-notification__supporting-text {
1640
+ color: var(--gray-400);
1641
+ font-weight: var(--font-weights-commerce-sans-0);
1642
+ }
1643
+ .ncua-floating-notification__actions {
1644
+ display: flex;
1645
+ gap: 12px;
1646
+ margin-top: 8px;
1647
+ }
1648
+ .ncua-floating-notification__close-button {
1649
+ position: absolute;
1650
+ top: 8px;
1651
+ right: 8px;
1652
+ display: grid;
1653
+ place-items: center;
1654
+ background: transparent;
1655
+ border: none;
1656
+ padding: 8px;
1657
+ color: var(--gray-400);
1658
+ }
1659
+ .ncua-floating-notification__close-button svg {
1660
+ width: 20px;
1661
+ height: 20px;
1662
+ }
1663
+ @media (max-width: 768px) {
1664
+ .ncua-floating-notification__close-button svg {
1665
+ width: 24px;
1666
+ height: 24px;
1667
+ }
1668
+ }
1669
+ .ncua-floating-notification .ncua-notification__action-button {
1670
+ min-height: 20px;
1671
+ background: transparent;
1672
+ border: none;
1673
+ padding: 0;
1674
+ font-size: var(--font-size-xs);
1675
+ font-weight: var(--font-weights-commerce-sans-0);
1676
+ }
1677
+ .ncua-floating-notification .ncua-notification__action-button--secondary-gray {
1678
+ color: var(--gray-700);
1679
+ border: 1px solid var(--gray-200);
1680
+ font-weight: var(--font-weights-commerce-sans-1);
1681
+ box-shadow: var(--box-shadow-xs);
1682
+ border-radius: 6px;
1683
+ padding: 5px 10px;
1684
+ }
1685
+ .ncua-floating-notification .ncua-notification__action-button--link-gray {
1686
+ color: var(--gray-700);
1687
+ }
1688
+ .ncua-floating-notification .ncua-notification__action-button--link {
1689
+ color: var(--blue-500);
1690
+ font-weight: var(--font-weights-commerce-sans-1);
1691
+ }
1692
+ .ncua-floating-notification__pc-icon {
1693
+ display: flex;
1694
+ }
1695
+ @media (max-width: 768px) {
1696
+ .ncua-floating-notification__pc-icon {
1697
+ display: none;
1698
+ }
1699
+ }
1700
+ .ncua-floating-notification__mobile-icon {
1701
+ display: none;
1702
+ }
1703
+ @media (max-width: 768px) {
1704
+ .ncua-floating-notification__mobile-icon {
1705
+ display: flex;
1706
+ }
1707
+ }
1708
+
1709
+ .ncua-full-width-notification {
1710
+ width: 100%;
1711
+ }
1712
+ .ncua-full-width-notification__container {
1713
+ display: flex;
1714
+ align-items: center;
1715
+ flex-direction: column;
1716
+ width: 100%;
1717
+ max-width: 1280px;
1718
+ margin: 0 auto;
1719
+ padding: 8px 32px;
1720
+ }
1721
+ @media (max-width: 768px) {
1722
+ .ncua-full-width-notification__container {
1723
+ max-width: 100%;
1724
+ margin: 0;
1725
+ padding: 0;
1726
+ }
1727
+ }
1728
+ .ncua-full-width-notification__content {
1729
+ width: 100%;
1730
+ display: flex;
1731
+ align-items: center;
1732
+ justify-content: space-between;
1733
+ gap: 16px;
1734
+ }
1735
+ @media (max-width: 768px) {
1736
+ .ncua-full-width-notification__content {
1737
+ position: relative;
1738
+ gap: 0;
1739
+ padding: 16px;
1740
+ flex-direction: column;
1741
+ align-items: flex-start;
1742
+ }
1743
+ }
1744
+ .ncua-full-width-notification__content-wrapper {
1745
+ flex: 1;
1746
+ display: flex;
1747
+ align-items: center;
1748
+ gap: 16px;
1749
+ }
1750
+ .ncua-full-width-notification__text-container {
1751
+ flex: 1;
1752
+ display: flex;
1753
+ flex-wrap: wrap;
1754
+ gap: 6px;
1755
+ }
1756
+ @media (max-width: 768px) {
1757
+ .ncua-full-width-notification__text-container {
1758
+ flex-direction: column;
1759
+ gap: 4px;
1760
+ }
1761
+ }
1762
+ .ncua-full-width-notification__title, .ncua-full-width-notification__supporting-text {
1763
+ font-size: var(--font-size-sm);
1764
+ line-height: var(--line-heights-sm);
1765
+ }
1766
+ .ncua-full-width-notification__title {
1767
+ font-weight: var(--font-weights-commerce-sans-2);
1768
+ }
1769
+ .ncua-full-width-notification__supporting-text {
1770
+ font-weight: var(--font-weights-commerce-sans-0);
1771
+ }
1772
+ .ncua-full-width-notification__actions-container {
1773
+ display: flex;
1774
+ align-items: center;
1775
+ gap: 8px;
1776
+ }
1777
+ .ncua-full-width-notification__actions {
1778
+ display: flex;
1779
+ gap: 12px;
1780
+ }
1781
+ @media (max-width: 768px) {
1782
+ .ncua-full-width-notification__actions {
1783
+ margin-top: 16px;
1784
+ }
1785
+ }
1786
+ .ncua-full-width-notification__close-button {
1787
+ display: flex;
1788
+ align-items: center;
1789
+ justify-content: center;
1790
+ background: transparent;
1791
+ border: none;
1792
+ cursor: pointer;
1793
+ border-radius: 8px;
1794
+ padding: 8px;
1795
+ }
1796
+ @media (max-width: 768px) {
1797
+ .ncua-full-width-notification__close-button {
1798
+ position: absolute;
1799
+ top: 8px;
1800
+ right: 8px;
1801
+ }
1802
+ }
1803
+ .ncua-full-width-notification--neutral {
1804
+ color: var(--gray-600);
1805
+ background-color: var(--gray-50);
1806
+ border-style: solid;
1807
+ border-width: 0 0 1px 0;
1808
+ border-color: var(--gray-200);
1809
+ }
1810
+ .ncua-full-width-notification--neutral .ncua-notification__action-button {
1811
+ color: var(--gray-500);
1812
+ }
1813
+ .ncua-full-width-notification--neutral .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--neutral .ncua-notification__action-button--link {
1814
+ color: var(--gray-600);
1815
+ }
1816
+ @media (max-width: 768px) {
1817
+ .ncua-full-width-notification--neutral {
1818
+ border-width: 1px 0 0 0;
1819
+ border-style: solid;
1820
+ }
1821
+ }
1822
+ .ncua-full-width-notification--error {
1823
+ color: var(--primary-red-600);
1824
+ background-color: var(--primary-red-50);
1825
+ border-style: solid;
1826
+ border-width: 0 0 1px 0;
1827
+ border-color: var(--primary-red-200);
1828
+ }
1829
+ .ncua-full-width-notification--error .ncua-notification__action-button {
1830
+ color: var(--primary-red-500);
1831
+ }
1832
+ .ncua-full-width-notification--error .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--error .ncua-notification__action-button--link {
1833
+ color: var(--primary-red-600);
1834
+ }
1835
+ @media (max-width: 768px) {
1836
+ .ncua-full-width-notification--error {
1837
+ border-width: 1px 0 0 0;
1838
+ border-style: solid;
1839
+ }
1840
+ }
1841
+ .ncua-full-width-notification--warning {
1842
+ color: var(--orange-600);
1843
+ background-color: var(--orange-50);
1844
+ border-style: solid;
1845
+ border-width: 0 0 1px 0;
1846
+ border-color: var(--orange-200);
1847
+ }
1848
+ .ncua-full-width-notification--warning .ncua-notification__action-button {
1849
+ color: var(--orange-500);
1850
+ }
1851
+ .ncua-full-width-notification--warning .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--warning .ncua-notification__action-button--link {
1852
+ color: var(--orange-600);
1853
+ }
1854
+ @media (max-width: 768px) {
1855
+ .ncua-full-width-notification--warning {
1856
+ border-width: 1px 0 0 0;
1857
+ border-style: solid;
1858
+ }
1859
+ }
1860
+ .ncua-full-width-notification--success {
1861
+ color: var(--green-600);
1862
+ background-color: var(--green-50);
1863
+ border-style: solid;
1864
+ border-width: 0 0 1px 0;
1865
+ border-color: var(--green-200);
1866
+ }
1867
+ .ncua-full-width-notification--success .ncua-notification__action-button {
1868
+ color: var(--green-500);
1869
+ }
1870
+ .ncua-full-width-notification--success .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification--success .ncua-notification__action-button--link {
1871
+ color: var(--green-600);
1872
+ }
1873
+ @media (max-width: 768px) {
1874
+ .ncua-full-width-notification--success {
1875
+ border-width: 1px 0 0 0;
1876
+ border-style: solid;
1877
+ }
1878
+ }
1879
+ .ncua-full-width-notification .ncua-notification__action-button {
1880
+ background: transparent;
1881
+ border: none;
1882
+ padding: 0;
1883
+ vertical-align: middle;
1884
+ font-size: var(--font-size-xs);
1885
+ line-height: var(--line-heights-xs);
1886
+ font-weight: var(--font-weights-commerce-sans-0);
1887
+ }
1888
+ .ncua-full-width-notification .ncua-notification__action-button--secondary-gray, .ncua-full-width-notification .ncua-notification__action-button--link {
1889
+ font-weight: var(--font-weights-commerce-sans-1);
1890
+ }
1891
+ @media (max-width: 768px) {
1892
+ .ncua-full-width-notification__icon {
1893
+ display: none;
1894
+ }
1895
+ }
1896
+
1897
+ .ncua-radio-input {
1898
+ position: relative;
1899
+ flex: none;
1900
+ display: inline-block;
1901
+ width: 16px;
1902
+ height: 16px;
1903
+ line-height: 1;
1904
+ background-color: var(--base-white);
1905
+ }
1906
+ .ncua-radio-input :where(input) {
1907
+ position: absolute;
1908
+ top: 0;
1909
+ left: 0;
1910
+ z-index: 1;
1911
+ -webkit-appearance: none;
1912
+ -moz-appearance: none;
1913
+ appearance: none;
1914
+ margin: 0;
1915
+ width: 100%;
1916
+ height: 100%;
1917
+ border: 1px solid var(--gray-200);
1918
+ font: inherit;
1919
+ border-radius: 50%;
1920
+ }
1921
+ .ncua-radio-input :where(input):focus {
1922
+ border-color: var(--gray-400);
1923
+ box-shadow: var(--focus-ring-4px-gray-100);
1924
+ }
1925
+ .ncua-radio-input :where(input):checked {
1926
+ border-color: var(--gray-700);
1927
+ outline: none;
1928
+ }
1929
+ .ncua-radio-input :where(input):disabled {
1930
+ border-color: var(--gray-200);
1931
+ }
1932
+ .ncua-radio-input :where(input)::before {
1933
+ position: absolute;
1934
+ top: 50%;
1935
+ left: 50%;
1936
+ content: "";
1937
+ transform: translate(-50%, -50%);
1938
+ width: 6px;
1939
+ height: 6px;
1940
+ border-radius: 50%;
1941
+ }
1942
+ .ncua-radio-input :where(input):disabled::before {
1943
+ background-color: var(--gray-100);
1944
+ }
1945
+ .ncua-radio-input :where(input):checked::before {
1946
+ background-color: var(--gray-700);
1947
+ }
1948
+ .ncua-radio-input :where(input):checked:disabled::before {
1949
+ background-color: var(--gray-200);
1950
+ }
1951
+ .ncua-radio-input.destructive :where(input) {
1952
+ border-color: var(--primary-red-600);
1953
+ }
1954
+ .ncua-radio-input.destructive :where(input):focus {
1955
+ border-color: var(--primary-red-600);
1956
+ box-shadow: var(--shadow-xs-focused-4px-error-100);
1957
+ }
1958
+ .ncua-radio-input:hover {
1959
+ border-color: var(--gray-600);
1960
+ background-color: var(--gray-100);
1961
+ }
1962
+
1963
+ .ncua-radio-field {
1964
+ position: relative;
1965
+ line-height: 18px;
1966
+ font-weight: var(--font-weights-commerce-sans-0);
1967
+ font-size: var(--font-size-1);
1968
+ cursor: pointer;
1969
+ }
1970
+ .ncua-radio-field__text {
1971
+ display: block;
1972
+ color: var(--gray-500);
1973
+ font-weight: var(--font-weights-commerce-sans-1);
1257
1974
  }
1258
1975
  .ncua-radio-field__support-text {
1259
1976
  color: var(--gray-400);
@@ -1291,7 +2008,7 @@ button {
1291
2008
  overflow: hidden;
1292
2009
  }
1293
2010
  .ncua-tag--sm {
1294
- font-size: var(--font-size-xxs);
2011
+ font-size: var(--font-size-xxxs);
1295
2012
  padding: 2px 8px;
1296
2013
  line-height: 14px;
1297
2014
  }
@@ -1353,7 +2070,7 @@ button {
1353
2070
 
1354
2071
  .ncua-tooltip {
1355
2072
  position: relative;
1356
- font-size: 12px;
2073
+ font-size: var(--font-size-xxs);
1357
2074
  }
1358
2075
  .ncua-tooltip svg {
1359
2076
  cursor: pointer;
@@ -1611,7 +2328,7 @@ button {
1611
2328
  }
1612
2329
  .ncua-select .ncua-hint-text {
1613
2330
  margin-block-start: 6px;
1614
- font-size: var(--font-size-xxs);
2331
+ font-size: var(--font-size-xxxs);
1615
2332
  }
1616
2333
 
1617
2334
  .ncua-pagination {
@@ -1682,6 +2399,68 @@ button {
1682
2399
  color: var(--gray-700);
1683
2400
  }
1684
2401
 
2402
+ .ncua-slider {
2403
+ position: relative;
2404
+ width: 100%;
2405
+ height: 40px;
2406
+ user-select: none;
2407
+ touch-action: none;
2408
+ }
2409
+ .ncua-slider__track {
2410
+ position: absolute;
2411
+ left: 0;
2412
+ right: 0;
2413
+ top: 50%;
2414
+ transform: translateY(-50%);
2415
+ height: 8px;
2416
+ background-color: var(--gray-100);
2417
+ border-radius: 4px;
2418
+ }
2419
+ .ncua-slider__progress {
2420
+ position: absolute;
2421
+ height: 8px;
2422
+ background-color: var(--gray-500);
2423
+ border-radius: 4px;
2424
+ top: 50%;
2425
+ transform: translateY(-50%);
2426
+ }
2427
+ .ncua-slider__handle {
2428
+ position: absolute;
2429
+ top: 50%;
2430
+ transform: translate(-50%, -50%);
2431
+ width: 20px;
2432
+ height: 20px;
2433
+ background-color: var(--base-white);
2434
+ border: 1.5px solid var(--gray-400);
2435
+ border-radius: 12px;
2436
+ cursor: pointer;
2437
+ box-shadow: var(--shadow-md);
2438
+ }
2439
+ .ncua-slider__handle.is-active {
2440
+ border-color: var(--gray-500);
2441
+ }
2442
+ .ncua-slider__label {
2443
+ position: absolute;
2444
+ top: calc(50% + 18px);
2445
+ left: 50%;
2446
+ transform: translate(-50%, 0);
2447
+ font-size: var(--font-size-xxxs);
2448
+ font-weight: var(--font-weights-commerce-sans-1);
2449
+ color: var(--gray-500);
2450
+ white-space: nowrap;
2451
+ }
2452
+ .ncua-slider__label--tooltip {
2453
+ top: calc(50% - 8px);
2454
+ color: var(--gray-500);
2455
+ background-color: var(--base-white);
2456
+ transform: translate(-50%, -100%);
2457
+ padding: 8px 12px;
2458
+ border-radius: 6px;
2459
+ font-size: var(--font-size-xxs);
2460
+ border: 1px solid var(--gray-200);
2461
+ box-shadow: var(--shadow-lg);
2462
+ }
2463
+
1685
2464
  @keyframes ncua-spinner-rotate {
1686
2465
  from {
1687
2466
  transform: rotate(0deg);
@@ -1933,17 +2712,12 @@ button {
1933
2712
  max-height: none;
1934
2713
  padding-block-start: 12px;
1935
2714
  border-radius: 8px;
2715
+ left: 0;
1936
2716
  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
2717
  }
1938
2718
  .ncua-date-picker .flatpickr-calendar::before, .ncua-date-picker .flatpickr-calendar::after {
1939
2719
  content: none;
1940
2720
  }
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
2721
  .ncua-date-picker .numInputWrapper .cur-year {
1948
2722
  margin-inline-start: 4px;
1949
2723
  transform: translateY(2px);
@@ -1962,6 +2736,11 @@ button {
1962
2736
  width: 36px;
1963
2737
  height: 36px;
1964
2738
  }
2739
+ .ncua-date-picker .flatpickr-months .flatpickr-prev-month svg,
2740
+ .ncua-date-picker .flatpickr-months .flatpickr-next-month svg {
2741
+ vertical-align: top;
2742
+ transform: translateY(1px);
2743
+ }
1965
2744
  .ncua-date-picker .flatpickr-months .flatpickr-prev-month:hover,
1966
2745
  .ncua-date-picker .flatpickr-months .flatpickr-next-month:hover {
1967
2746
  border-radius: 6px;
@@ -1979,11 +2758,18 @@ button {
1979
2758
  position: initial;
1980
2759
  width: auto;
1981
2760
  display: flex;
2761
+ padding-block-start: 6px;
1982
2762
  gap: 4px;
1983
2763
  }
1984
2764
  .ncua-date-picker .flatpickr-monthDropdown-months {
1985
2765
  margin: 0;
1986
2766
  padding: 0;
2767
+ transform: translateY(-1px);
2768
+ }
2769
+ .ncua-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months,
2770
+ .ncua-date-picker .flatpickr-current-month .cur-year {
2771
+ font-weight: 700;
2772
+ line-height: 22px;
1987
2773
  }
1988
2774
  .ncua-date-picker .flatpickr-innerContainer {
1989
2775
  justify-content: center;
@@ -2006,6 +2792,10 @@ button {
2006
2792
  background-color: var(--gray-500);
2007
2793
  border-color: var(--gray-500);
2008
2794
  }
2795
+ .ncua-date-picker .flatpickr-day.selected:hover {
2796
+ border-color: var(--gray-700);
2797
+ background-color: var(--gray-700);
2798
+ }
2009
2799
  .ncua-date-picker .flatpickr-day.today {
2010
2800
  border-color: var(--gray-600);
2011
2801
  }
@@ -2041,6 +2831,10 @@ button {
2041
2831
  height: 32px;
2042
2832
  line-height: 32px;
2043
2833
  }
2834
+ .ncua-date-picker--sm .flatpickr-current-month .flatpickr-monthDropdown-months,
2835
+ .ncua-date-picker--sm .flatpickr-current-month .cur-year {
2836
+ font-size: var(--font-size-sm);
2837
+ }
2044
2838
  .ncua-date-picker--md .flatpickr-calendar {
2045
2839
  width: 343px;
2046
2840
  }
@@ -2061,6 +2855,10 @@ button {
2061
2855
  height: 36px;
2062
2856
  line-height: 36px;
2063
2857
  }
2858
+ .ncua-date-picker--md .flatpickr-current-month .flatpickr-monthDropdown-months,
2859
+ .ncua-date-picker--md .flatpickr-current-month .cur-year {
2860
+ font-size: var(--font-size-lg);
2861
+ }
2064
2862
  .ncua-date-picker--disabled .flatpickr-wrapper,
2065
2863
  .ncua-date-picker--disabled .ncua-date-picker__input {
2066
2864
  background-color: var(--gray-50);
@@ -2068,9 +2866,6 @@ button {
2068
2866
  .ncua-date-picker--disabled .ncua-date-picker__input {
2069
2867
  color: var(--gray-300);
2070
2868
  }
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
2869
 
2075
2870
  .ncua-range-date-picker {
2076
2871
  display: inline-flex;
@@ -2199,10 +2994,10 @@ button {
2199
2994
  font-weight: 500;
2200
2995
  }
2201
2996
  .ncua-badge--xs {
2202
- font-size: var(--font-size-xxs);
2997
+ font-size: var(--font-size-xxxs);
2203
2998
  padding: 2px 8px;
2204
2999
  height: 18px;
2205
- line-height: var(--line-heights-xxs);
3000
+ line-height: var(--line-heights-xxxs);
2206
3001
  }
2207
3002
  .ncua-badge--sm {
2208
3003
  font-size: var(--font-size-xs);
@@ -2278,4 +3073,394 @@ button {
2278
3073
  .ncua-badge--pill-dark-color.ncua-badge--disabled {
2279
3074
  color: var(--gray-300);
2280
3075
  background-color: var(--gray-100);
3076
+ }
3077
+
3078
+ .ncua-progress-bar {
3079
+ position: relative;
3080
+ display: flex;
3081
+ flex-direction: column;
3082
+ width: 100%;
3083
+ }
3084
+ .ncua-progress-bar-top-float {
3085
+ padding-top: 42px;
3086
+ }
3087
+ .ncua-progress-bar-bottom-float {
3088
+ padding-bottom: 42px;
3089
+ }
3090
+ .ncua-progress-bar__content {
3091
+ display: flex;
3092
+ align-items: center;
3093
+ width: 100%;
3094
+ gap: 8px;
3095
+ }
3096
+ .ncua-progress-bar__bar {
3097
+ flex-grow: 1;
3098
+ height: 4px;
3099
+ background-color: var(--gray-100);
3100
+ border-radius: 5px;
3101
+ overflow: hidden;
3102
+ }
3103
+ .ncua-progress-bar__fill {
3104
+ height: 100%;
3105
+ background-color: var(--gray-600);
3106
+ border-radius: 5px;
3107
+ transition: width 0.3s ease;
3108
+ }
3109
+ .ncua-progress-bar__label {
3110
+ font-size: var(--font-size-sm);
3111
+ color: var(--gray-700);
3112
+ font-weight: var(--font-weights-commerce-sans-1);
3113
+ }
3114
+ .ncua-progress-bar__label-right {
3115
+ min-width: 45px;
3116
+ }
3117
+ .ncua-progress-bar__label-bottom {
3118
+ margin-top: 8px;
3119
+ align-self: flex-end;
3120
+ }
3121
+ .ncua-progress-bar__label-top-float, .ncua-progress-bar__label-bottom-float {
3122
+ position: absolute;
3123
+ left: var(--progress-value, 0%);
3124
+ transform: translateX(-50%);
3125
+ transition: left 0.3s ease;
3126
+ height: 32px;
3127
+ padding: 7px 12px;
3128
+ background-color: var(--base-white);
3129
+ border-radius: 6px;
3130
+ border: 1px solid var(--gray-100);
3131
+ box-shadow: var(--shadow-lg);
3132
+ }
3133
+ .ncua-progress-bar__label-top-float {
3134
+ top: 0;
3135
+ }
3136
+ .ncua-progress-bar__label-bottom-float {
3137
+ bottom: 0;
3138
+ }
3139
+
3140
+ .ncua-empty-state {
3141
+ display: flex;
3142
+ flex-direction: column;
3143
+ justify-content: center;
3144
+ align-items: center;
3145
+ }
3146
+ .ncua-empty-state__title {
3147
+ color: var(--gray-700);
3148
+ font-size: var(--font-size-sm);
3149
+ font-weight: var(--font-weights-commerce-sans-2);
3150
+ line-height: var(--line-heights-sm);
3151
+ }
3152
+ .ncua-empty-state__description {
3153
+ display: inline-block;
3154
+ margin-top: 4px;
3155
+ color: var(--gray-400);
3156
+ font-size: var(--font-size-xs);
3157
+ line-height: var(--line-heights-xs);
3158
+ }
3159
+ .ncua-empty-state__button-group {
3160
+ display: flex;
3161
+ gap: 6px;
3162
+ margin-top: 16px;
3163
+ }
3164
+
3165
+ .ncua-tab-button {
3166
+ display: inline-flex;
3167
+ gap: 8px;
3168
+ justify-content: center;
3169
+ width: 100%;
3170
+ font-weight: var(--font-weights-commerce-sans-2);
3171
+ color: var(--gray-400);
3172
+ border-radius: 6px;
3173
+ cursor: pointer;
3174
+ background-color: var(--base-white);
3175
+ }
3176
+ .ncua-tab-button:hover, .ncua-tab-button.is-active {
3177
+ color: var(--gray-700);
3178
+ }
3179
+ .ncua-tab-button--xs {
3180
+ padding: 9px 12px;
3181
+ height: 34px;
3182
+ font-size: var(--font-size-xs);
3183
+ }
3184
+ .ncua-tab-button--sm {
3185
+ padding: 11px 12px;
3186
+ height: 38px;
3187
+ font-size: var(--font-size-sm);
3188
+ }
3189
+ .ncua-tab-button--md {
3190
+ padding: 14px;
3191
+ height: 44px;
3192
+ font-size: var(--font-size-md);
3193
+ }
3194
+ .ncua-tab-button--button-primary:hover, .ncua-tab-button--button-primary.is-active {
3195
+ background-color: var(--gray-50);
3196
+ }
3197
+ .ncua-tab-button--button-primary:focus {
3198
+ box-shadow: var(--focus-ring-4px-gray-100);
3199
+ }
3200
+ .ncua-tab-button--button-white:hover {
3201
+ box-shadow: var(--shadow-sm);
3202
+ }
3203
+ .ncua-tab-button--button-white.is-active {
3204
+ color: var(--gray-500);
3205
+ box-shadow: var(--shadow-sm);
3206
+ }
3207
+ .ncua-tab-button--button-white:focus {
3208
+ box-shadow: var(--shadow-sm-focused-4px-gray-100);
3209
+ }
3210
+ .ncua-tab-button--underline-fill {
3211
+ position: relative;
3212
+ border-radius: 0;
3213
+ }
3214
+ .ncua-tab-button--underline-fill:hover, .ncua-tab-button--underline-fill.is-active, .ncua-tab-button--underline-fill.is-active:focus {
3215
+ background-color: var(--gray-100);
3216
+ }
3217
+ .ncua-tab-button--underline-fill:hover::before, .ncua-tab-button--underline-fill.is-active::before, .ncua-tab-button--underline-fill.is-active:focus::before {
3218
+ position: absolute;
3219
+ bottom: 0;
3220
+ left: 0;
3221
+ width: 100%;
3222
+ height: 2px;
3223
+ content: "";
3224
+ background-color: var(--gray-500);
3225
+ }
3226
+ .ncua-tab-button--underline {
3227
+ border-radius: 0;
3228
+ }
3229
+ .ncua-tab-button--underline:hover, .ncua-tab-button--underline.is-active {
3230
+ position: relative;
3231
+ }
3232
+ .ncua-tab-button--underline:hover::before, .ncua-tab-button--underline.is-active::before {
3233
+ position: absolute;
3234
+ bottom: 0;
3235
+ left: 0;
3236
+ width: 100%;
3237
+ height: 2px;
3238
+ content: "";
3239
+ background-color: var(--gray-500);
3240
+ }
3241
+ .ncua-tab-button--line-vertical {
3242
+ border-radius: 0;
3243
+ }
3244
+ .ncua-tab-button--line-vertical:hover, .ncua-tab-button--line-vertical.is-active, .ncua-tab-button--line-vertical.is-active:focus {
3245
+ box-shadow: -2px 0 var(--gray-700);
3246
+ }
3247
+ .ncua-tab-button .ncua-badge {
3248
+ transform: translateY(-1px);
3249
+ }
3250
+
3251
+ .ncua-horizontal-tab {
3252
+ position: relative;
3253
+ overflow-x: auto;
3254
+ }
3255
+ .ncua-horizontal-tab__item {
3256
+ width: auto !important;
3257
+ }
3258
+ .ncua-horizontal-tab--underline::after, .ncua-horizontal-tab--underline-fill::after {
3259
+ position: absolute;
3260
+ bottom: 0;
3261
+ left: 0;
3262
+ width: 100%;
3263
+ height: 1px;
3264
+ content: "";
3265
+ background-color: var(--gray-100);
3266
+ }
3267
+ :where(.ncua-horizontal-tab--underline, .ncua-horizontal-tab--underline-fill) .ncua-tab-button {
3268
+ background-color: transparent;
3269
+ }
3270
+ .ncua-horizontal-tab--button-primary .swiper-slide, .ncua-horizontal-tab--button-white .swiper-slide {
3271
+ padding: 4px 0;
3272
+ }
3273
+ .ncua-horizontal-tab--button-primary .swiper-slide:first-child, .ncua-horizontal-tab--button-white .swiper-slide:first-child {
3274
+ padding-left: 4px;
3275
+ }
3276
+ .ncua-horizontal-tab--button-primary .swiper-slide:last-child, .ncua-horizontal-tab--button-white .swiper-slide:last-child {
3277
+ padding-right: 4px;
3278
+ margin-right: 0;
3279
+ }
3280
+ .ncua-horizontal-tab--button-white {
3281
+ display: inline-block;
3282
+ background: var(--gray-50);
3283
+ border: 1px solid var(--gray-100);
3284
+ border-radius: 8px;
3285
+ }
3286
+ .ncua-horizontal-tab--button-white .ncua-tab-button {
3287
+ background-color: var(--gray-50);
3288
+ }
3289
+ .ncua-horizontal-tab--button-white .ncua-tab-button:hover, .ncua-horizontal-tab--button-white .ncua-tab-button.is-active {
3290
+ background-color: #fff;
3291
+ border-radius: 6px;
3292
+ box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.1), 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
3293
+ color: var(--gray-500);
3294
+ }
3295
+ .ncua-horizontal-tab--fullWidth {
3296
+ width: 100%;
3297
+ }
3298
+ .ncua-horizontal-tab--fullWidth .swiper-slide {
3299
+ flex-shrink: 1;
3300
+ }
3301
+ .ncua-horizontal-tab__item:last-child {
3302
+ margin-right: 0 !important;
3303
+ }
3304
+
3305
+ .ncua-vertical-tab {
3306
+ position: relative;
3307
+ display: flex;
3308
+ flex-direction: column;
3309
+ gap: 4px;
3310
+ }
3311
+ .ncua-vertical-tab--button-white {
3312
+ padding: 4px;
3313
+ background-color: var(--gray-50);
3314
+ border: 1px solid var(--gray-100);
3315
+ border-radius: 8px;
3316
+ }
3317
+ .ncua-vertical-tab--button-white .ncua-tab-button {
3318
+ background-color: var(--gray-50);
3319
+ }
3320
+ .ncua-vertical-tab--button-white .ncua-tab-button:hover, .ncua-vertical-tab--button-white .ncua-tab-button.is-active {
3321
+ background-color: var(--base-white);
3322
+ border-radius: 6px;
3323
+ box-shadow: var(--shadow-sm);
3324
+ color: var(--gray-500);
3325
+ }
3326
+
3327
+ .ncua-progress-circle {
3328
+ position: relative;
3329
+ display: inline-flex;
3330
+ flex-direction: column;
3331
+ align-items: center;
3332
+ --circle-radius: 45;
3333
+ --circle-circumference: 282.7431;
3334
+ --half-circle-circumference: 141.37155;
3335
+ }
3336
+ .ncua-progress-circle__content {
3337
+ position: relative;
3338
+ display: flex;
3339
+ align-items: center;
3340
+ justify-content: center;
3341
+ }
3342
+ .ncua-progress-circle__svg {
3343
+ width: var(--size);
3344
+ height: var(--size);
3345
+ }
3346
+ .ncua-progress-circle-half-circle .ncua-progress-circle__svg {
3347
+ height: calc(var(--size) / 2);
3348
+ overflow: visible;
3349
+ }
3350
+
3351
+ .ncua-progress-circle__background {
3352
+ stroke: var(--gray-100);
3353
+ stroke-linecap: round;
3354
+ }
3355
+ .ncua-progress-circle__progress {
3356
+ stroke: var(--primary-red-450);
3357
+ transition: stroke-dashoffset 0.3s ease;
3358
+ stroke-linecap: round;
3359
+ }
3360
+ .ncua-progress-circle__label-container {
3361
+ position: absolute;
3362
+ top: 50%;
3363
+ left: 50%;
3364
+ transform: translate(-50%, -50%);
3365
+ text-align: center;
3366
+ display: flex;
3367
+ flex-direction: column;
3368
+ align-items: center;
3369
+ gap: 2px;
3370
+ }
3371
+ .ncua-progress-circle__label {
3372
+ color: var(--gray-700);
3373
+ font-weight: var(--font-weights-commerce-sans-1);
3374
+ }
3375
+ .ncua-progress-circle__label-text {
3376
+ color: var(--gray-500);
3377
+ font-weight: var(--font-weights-commerce-sans-1);
3378
+ }
3379
+ .ncua-progress-circle__outside-label {
3380
+ margin-top: 10px;
3381
+ font-weight: var(--font-weights-commerce-sans-1);
3382
+ text-align: center;
3383
+ }
3384
+ .ncua-progress-circle-xxs {
3385
+ --size: 64px;
3386
+ --stroke-width: 6px;
3387
+ --radius: calc((64px - 6px) / 2);
3388
+ --circumference: calc(2 * 3.14159 * var(--radius));
3389
+ }
3390
+ .ncua-progress-circle-xxs .ncua-progress-circle__label {
3391
+ font-size: var(--font-size-sm);
3392
+ line-height: 1.5;
3393
+ }
3394
+ .ncua-progress-circle-xxs .ncua-progress-circle__label-text {
3395
+ font-size: var(--font-size-xs);
3396
+ }
3397
+ .ncua-progress-circle-xxs .ncua-progress-circle__outside-label {
3398
+ font-size: var(--font-size-xs);
3399
+ }
3400
+ .ncua-progress-circle-xs {
3401
+ --size: 160px;
3402
+ --stroke-width: 16px;
3403
+ --radius: calc((160px - 16px) / 2);
3404
+ --circumference: calc(2 * 3.14159 * var(--radius));
3405
+ }
3406
+ .ncua-progress-circle-xs .ncua-progress-circle__label {
3407
+ font-size: var(--font-size-display-xs);
3408
+ line-height: 1.3;
3409
+ }
3410
+ .ncua-progress-circle-xs .ncua-progress-circle__label-text {
3411
+ font-size: var(--font-size-xxs);
3412
+ }
3413
+ .ncua-progress-circle-xs .ncua-progress-circle__outside-label {
3414
+ font-size: var(--font-size-xxs);
3415
+ }
3416
+ .ncua-progress-circle-sm {
3417
+ --size: 200px;
3418
+ --stroke-width: 20px;
3419
+ --radius: calc((200px - 20px) / 2);
3420
+ --circumference: calc(2 * 3.14159 * var(--radius));
3421
+ }
3422
+ .ncua-progress-circle-sm .ncua-progress-circle__label {
3423
+ font-size: var(--font-size-display-sm);
3424
+ line-height: 1.3;
3425
+ }
3426
+ .ncua-progress-circle-sm .ncua-progress-circle__label-text {
3427
+ font-size: var(--font-size-xs);
3428
+ }
3429
+ .ncua-progress-circle-sm .ncua-progress-circle__outside-label {
3430
+ font-size: var(--font-size-xs);
3431
+ }
3432
+ .ncua-progress-circle-md {
3433
+ --size: 240px;
3434
+ --stroke-width: 24px;
3435
+ --radius: calc((240px - 24px) / 2);
3436
+ --circumference: calc(2 * 3.14159 * var(--radius));
3437
+ }
3438
+ .ncua-progress-circle-md .ncua-progress-circle__label {
3439
+ font-size: var(--font-size-display-md);
3440
+ line-height: 1.3;
3441
+ }
3442
+ .ncua-progress-circle-md .ncua-progress-circle__label-text {
3443
+ font-size: var(--font-size-sm);
3444
+ }
3445
+ .ncua-progress-circle-md .ncua-progress-circle__outside-label {
3446
+ font-size: var(--font-size-sm);
3447
+ }
3448
+ .ncua-progress-circle-lg {
3449
+ --size: 280px;
3450
+ --stroke-width: 28px;
3451
+ --radius: calc((280px - 28px) / 2);
3452
+ --circumference: calc(2 * 3.14159 * var(--radius));
3453
+ }
3454
+ .ncua-progress-circle-lg .ncua-progress-circle__label {
3455
+ font-size: var(--font-size-display-lg);
3456
+ line-height: 1.3;
3457
+ }
3458
+ .ncua-progress-circle-lg .ncua-progress-circle__label-text {
3459
+ font-size: var(--font-size-sm);
3460
+ }
3461
+ .ncua-progress-circle-lg .ncua-progress-circle__outside-label {
3462
+ font-size: var(--font-size-sm);
3463
+ }
3464
+ .ncua-progress-circle-half-circle .ncua-progress-circle__label-container {
3465
+ top: 80%;
2281
3466
  }