@ncds/ui-admin 0.0.23 → 0.0.25

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 (54) hide show
  1. package/dist/cjs/index.js +132 -0
  2. package/dist/cjs/src/components/button/ButtonGroup.js +12 -5
  3. package/dist/cjs/src/components/checkbox/Checkbox.js +2 -2
  4. package/dist/cjs/src/components/checkbox/CheckboxInput.js +41 -12
  5. package/dist/cjs/src/components/date-picker/RangeDatePickerWithButtons.js +90 -0
  6. package/dist/cjs/src/components/date-picker/index.js +22 -0
  7. package/dist/cjs/src/components/featured-icon/FeaturedIcon.js +1 -18
  8. package/dist/cjs/src/components/index.js +30 -8
  9. package/dist/cjs/src/components/input/InputBase.js +29 -15
  10. package/dist/cjs/src/components/input/PasswordInput.js +1 -0
  11. package/dist/cjs/src/components/input/Textarea.js +12 -6
  12. package/dist/cjs/src/components/modal/index.js +11 -7
  13. package/dist/cjs/src/components/notification/index.js +11 -11
  14. package/dist/cjs/src/components/select/Select.js +3 -0
  15. package/dist/cjs/src/components/tab/TabButton.js +1 -1
  16. package/dist/cjs/src/components/tag/Tag.js +5 -5
  17. package/dist/cjs/src/constant/date-picker.js +63 -0
  18. package/dist/cjs/src/constant/index.js +11 -0
  19. package/dist/cjs/src/utils/date-picker.js +26 -0
  20. package/dist/esm/index.js +12 -0
  21. package/dist/esm/src/components/button/ButtonGroup.js +12 -5
  22. package/dist/esm/src/components/checkbox/Checkbox.js +2 -2
  23. package/dist/esm/src/components/checkbox/CheckboxInput.js +42 -13
  24. package/dist/esm/src/components/date-picker/RangeDatePickerWithButtons.js +83 -0
  25. package/dist/esm/src/components/date-picker/index.js +3 -1
  26. package/dist/esm/src/components/featured-icon/FeaturedIcon.js +1 -18
  27. package/dist/esm/src/components/index.js +3 -1
  28. package/dist/esm/src/components/input/InputBase.js +29 -15
  29. package/dist/esm/src/components/input/PasswordInput.js +1 -0
  30. package/dist/esm/src/components/input/Textarea.js +12 -6
  31. package/dist/esm/src/components/modal/index.js +1 -1
  32. package/dist/esm/src/components/notification/index.js +2 -2
  33. package/dist/esm/src/components/select/Select.js +3 -0
  34. package/dist/esm/src/components/tab/TabButton.js +1 -1
  35. package/dist/esm/src/components/tag/Tag.js +5 -5
  36. package/dist/esm/src/constant/date-picker.js +57 -0
  37. package/dist/esm/src/constant/index.js +2 -1
  38. package/dist/esm/src/utils/date-picker.js +17 -0
  39. package/dist/types/index.d.ts +12 -0
  40. package/dist/types/src/components/button/ButtonGroup.d.ts +4 -2
  41. package/dist/types/src/components/checkbox/CheckboxInput.d.ts +3 -0
  42. package/dist/types/src/components/date-picker/RangeDatePickerWithButtons.d.ts +12 -0
  43. package/dist/types/src/components/date-picker/index.d.ts +2 -0
  44. package/dist/types/src/components/index.d.ts +3 -1
  45. package/dist/types/src/components/input/InputBase.d.ts +4 -1
  46. package/dist/types/src/components/input/Textarea.d.ts +2 -0
  47. package/dist/types/src/components/modal/index.d.ts +1 -2
  48. package/dist/types/src/components/notification/index.d.ts +1 -1
  49. package/dist/types/src/components/select/Select.d.ts +4 -1
  50. package/dist/types/src/constant/date-picker.d.ts +58 -0
  51. package/dist/types/src/constant/index.d.ts +1 -0
  52. package/dist/types/src/utils/date-picker.d.ts +9 -0
  53. package/dist/ui-admin/assets/styles/style.css +259 -120
  54. package/package.json +1 -1
@@ -55,7 +55,8 @@
55
55
  --focus-ring-4px-gray-100: 0px 0px 0px 3px #f2f4f7;
56
56
  --focus-ring-4px-error-100: 0px 0px 0px 3px #fee4e2;
57
57
  --shadow-xs: 0px 1px 2px 0px #1018280d;
58
- --shadow-xs-focused-3px-gray-100: 0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 3px #f2f4f7;
58
+ --shadow-xs-focused-3px-gray-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 3px #f2f4f7;
59
+ --shadow-xs-focused-3px-error-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 3px #fee4e2;
59
60
  --shadow-xs-focused-4px-primary-color-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #ffeaee;
60
61
  --shadow-xs-focused-4px-gray-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f2f4f7;
61
62
  --shadow-xs-focused-4px-error-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #fee4e2;
@@ -79,11 +80,13 @@
79
80
  --line-heights-md: 24px;
80
81
  --line-heights-sm: 22px;
81
82
  --line-heights-xs: 18px;
82
- --line-heights-xxs: 14px;
83
+ --line-heights-xxs: 16px;
84
+ --line-heights-xxxs: 14px;
83
85
  --font-weights-commerce-sans-0: 400;
84
86
  --font-weights-commerce-sans-1: 500;
85
87
  --font-weights-commerce-sans-2: 700;
86
- --font-size-xxs: 11px;
88
+ --font-size-xxxs: 11px;
89
+ --font-size-xxs: 12px;
87
90
  --font-size-xs: 13px;
88
91
  --font-size-sm: 14px;
89
92
  --font-size-md: 16px;
@@ -324,28 +327,22 @@ button {
324
327
  cursor: default;
325
328
  }
326
329
  .ncua-btn--tertiary {
327
- background-color: var(--base-white);
328
330
  color: var(--blue-500);
329
331
  }
330
332
  .ncua-btn--tertiary:hover:not([disabled], .is-disable) {
331
- background-color: var(--blue-50);
332
333
  color: var(--blue-600);
333
334
  }
334
335
  .ncua-btn--tertiary:disabled, .ncua-btn--tertiary.is-disable {
335
- background-color: var(--base-white);
336
336
  color: var(--gray-200);
337
337
  cursor: default;
338
338
  }
339
339
  .ncua-btn--tertiary-gray {
340
- background-color: var(--base-white);
341
340
  color: var(--gray-700);
342
341
  }
343
342
  .ncua-btn--tertiary-gray:hover:not([disabled], .is-disable) {
344
- background-color: var(--gray-50);
345
343
  color: var(--gray-700);
346
344
  }
347
345
  .ncua-btn--tertiary-gray:disabled, .ncua-btn--tertiary-gray.is-disable {
348
- background-color: var(--base-white);
349
346
  color: var(--gray-200);
350
347
  cursor: default;
351
348
  }
@@ -372,7 +369,7 @@ button {
372
369
  .ncua-btn--destructive {
373
370
  box-shadow: var(--shadow-xs);
374
371
  background-color: var(--primary-red-500);
375
- border: 1px solid var(--primary-red-500);
372
+ border: 1px solid var(--primary-red-600);
376
373
  color: var(--base-white);
377
374
  }
378
375
  .ncua-btn--destructive:hover:not([disabled], .is-disable) {
@@ -384,6 +381,7 @@ button {
384
381
  background-color: var(--primary-red-500);
385
382
  border: 1px solid var(--primary-red-600);
386
383
  color: var(--base-white);
384
+ box-shadow: var(--shadow-xs-focused-4px-primary-color-100);
387
385
  }
388
386
  .ncua-btn--destructive:disabled, .ncua-btn--destructive.is-disable {
389
387
  background-color: var(--primary-red-200);
@@ -395,10 +393,10 @@ button {
395
393
  padding: 5px 8px;
396
394
  gap: 4px;
397
395
  height: var(--button-height-xxs);
398
- font-size: var(--font-size-xxs);
396
+ font-size: var(--font-size-xxxs);
399
397
  border-radius: 4px;
400
398
  font-weight: var(--font-weights-commerce-sans-1);
401
- line-height: var(--line-heights-xxs);
399
+ line-height: var(--line-heights-xxxs);
402
400
  }
403
401
  .ncua-btn--xs {
404
402
  padding: 5px 10px;
@@ -503,6 +501,7 @@ button {
503
501
  color: var(--gray-400);
504
502
  }
505
503
  .ncua-button-group__item {
504
+ cursor: pointer;
506
505
  color: inherit;
507
506
  border: none;
508
507
  outline: none;
@@ -510,9 +509,8 @@ button {
510
509
  justify-content: center;
511
510
  align-items: center;
512
511
  box-sizing: border-box;
513
- cursor: pointer;
514
- gap: 8px;
515
512
  background-color: var(--base-white);
513
+ gap: 8px;
516
514
  }
517
515
  .ncua-button-group__item[href] {
518
516
  text-decoration: none;
@@ -527,32 +525,36 @@ button {
527
525
  .ncua-button-group__item:last-child {
528
526
  padding-right: 0;
529
527
  }
530
- .ncua-button-group__item.is-active {
528
+ .ncua-button-group__item.is-disabled {
529
+ color: var(--gray-200);
530
+ }
531
+ .ncua-button-group__item.is-current {
531
532
  color: var(--gray-600);
532
533
  }
533
- .ncua-button-group.has-border {
534
+ :where(.ncua-button-group.has-border) {
534
535
  border: 1px solid var(--gray-200);
535
- border-radius: 8px;
536
536
  box-shadow: var(--shadow-xs);
537
537
  }
538
- .ncua-button-group.has-border .ncua-button-group__item:hover {
538
+ :where(.ncua-button-group.has-border) .ncua-button-group__item:hover {
539
539
  background-color: var(--gray-50);
540
540
  }
541
- .ncua-button-group.has-border .ncua-button-group__item:focus {
541
+ :where(.ncua-button-group.has-border) .ncua-button-group__item:focus {
542
542
  color: var(--gray-600);
543
543
  }
544
- .ncua-button-group.has-border .ncua-button-group__item.is-disabled {
545
- background-color: var(--base-white);
546
- color: var(--gray-200);
544
+ :where(.ncua-button-group.has-border) .ncua-button-group__item.is-current {
545
+ color: var(--gray-600);
546
+ background-color: var(--gray-50);
547
547
  }
548
- .ncua-button-group.has-border .ncua-button-group__item:nth-child(n+2) {
548
+ :where(.ncua-button-group.has-border) .ncua-button-group__item:nth-child(n+2) {
549
549
  border-left: 1px solid var(--gray-200);
550
550
  }
551
- .ncua-button-group.has-border .ncua-button-group__item svg {
551
+ :where(.ncua-button-group.has-border) .ncua-button-group__item svg {
552
552
  display: block;
553
553
  }
554
+
554
555
  .ncua-button-group:not(.has-border) .ncua-button-group__item {
555
556
  position: relative;
557
+ background-color: transparent;
556
558
  }
557
559
  .ncua-button-group:not(.has-border) .ncua-button-group__item:not(:last-child):after {
558
560
  content: "";
@@ -566,32 +568,55 @@ button {
566
568
  }
567
569
  .ncua-button-group--xs .ncua-button-group__item {
568
570
  padding: 5px 12px;
571
+ font-size: var(--font-size-xxxs);
572
+ line-height: var(--line-heights-xxxs);
573
+ font-weight: var(--font-weights-commerce-sans-1);
569
574
  }
570
- .ncua-button-group--sm .ncua-button-group__item {
571
- padding: 5px 16px;
572
- }
573
- .ncua-button-group--md .ncua-button-group__item {
574
- padding: 7px 16px;
575
- }
576
- .ncua-button-group--lg .ncua-button-group__item {
577
- padding: 9px 16px;
575
+ .ncua-button-group--xs .ncua-button-group__item.is-only-icon {
576
+ padding: 6px;
578
577
  }
579
- .ncua-button-group--xs .ncua-button-group__item {
580
- font-size: var(--font-size-xxs);
581
- font-weight: var(--font-weights-commerce-sans-1);
578
+ :where(.ncua-button-group--xs.has-border) {
579
+ border-radius: 4px;
582
580
  }
581
+
583
582
  .ncua-button-group--sm .ncua-button-group__item {
583
+ padding: 5px 16px;
584
584
  font-size: var(--font-size-xs);
585
+ line-height: var(--line-heights-xs);
585
586
  font-weight: var(--font-weights-commerce-sans-1);
586
587
  }
588
+ .ncua-button-group--sm .ncua-button-group__item.is-only-icon {
589
+ padding: 6px;
590
+ }
591
+ :where(.ncua-button-group--sm.has-border) {
592
+ border-radius: 6px;
593
+ }
594
+
587
595
  .ncua-button-group--md .ncua-button-group__item {
596
+ padding: 7px 16px;
588
597
  font-size: var(--font-size-sm);
598
+ line-height: var(--line-heights-sm);
589
599
  font-weight: var(--font-weights-commerce-sans-1);
590
600
  }
601
+ .ncua-button-group--md .ncua-button-group__item.is-only-icon {
602
+ padding: 10px;
603
+ }
604
+ :where(.ncua-button-group--md.has-border) {
605
+ border-radius: 6px;
606
+ }
607
+
591
608
  .ncua-button-group--lg .ncua-button-group__item {
609
+ padding: 9px 16px;
592
610
  font-size: var(--font-size-sm);
611
+ line-height: var(--line-heights-sm);
593
612
  font-weight: var(--font-weights-commerce-sans-2);
594
613
  }
614
+ .ncua-button-group--lg .ncua-button-group__item.is-only-icon {
615
+ padding: 10px;
616
+ }
617
+ :where(.ncua-button-group--lg.has-border) {
618
+ border-radius: 8px;
619
+ }
595
620
 
596
621
  .ncua-btn-close {
597
622
  display: inline-flex;
@@ -662,10 +687,12 @@ button {
662
687
  }
663
688
  .ncua-checkbox-input :where(input):checked {
664
689
  border-color: var(--gray-700);
690
+ background-color: var(--gray-50);
665
691
  outline: none;
666
692
  }
667
693
  .ncua-checkbox-input :where(input):disabled {
668
694
  border-color: var(--gray-200);
695
+ background-color: var(--gray-100);
669
696
  }
670
697
  .ncua-checkbox-input.destructive :where(input) {
671
698
  border-color: var(--primary-red-600);
@@ -688,6 +715,7 @@ button {
688
715
  align-items: center;
689
716
  width: 100%;
690
717
  height: 100%;
718
+ z-index: 2;
691
719
  }
692
720
  .ncua-checkbox-input :not(input:checked + .ncua-checkbox-input__ico) > svg {
693
721
  display: none;
@@ -711,13 +739,15 @@ button {
711
739
  }
712
740
  .ncua-checkbox-field__support-text {
713
741
  color: var(--gray-400);
742
+ font-size: var(--font-size-xs);
743
+ line-height: var(--line-heights-xs);
714
744
  }
715
745
  .ncua-checkbox-field:hover .ncua-checkbox-field__input {
716
746
  border-color: var(--gray-700);
717
747
  background-color: var(--gray-50);
718
748
  border-radius: 4px;
719
749
  }
720
- .ncua-checkbox-field--md {
750
+ .ncua-checkbox-field--md .ncua-checkbox-field__text {
721
751
  font-size: var(--font-size-sm);
722
752
  line-height: 22px;
723
753
  }
@@ -755,69 +785,93 @@ button {
755
785
  height: 56px;
756
786
  }
757
787
  .ncua-featured-icon--light-circle.ncua-featured-icon--neutral {
788
+ color: var(--gray-500);
758
789
  background-color: var(--gray-100);
759
790
  border-radius: 50%;
760
791
  }
761
792
  .ncua-featured-icon--light-circle.ncua-featured-icon--error {
793
+ color: var(--primary-red-500);
762
794
  background-color: var(--primary-red-100);
763
795
  border-radius: 50%;
764
796
  }
765
797
  .ncua-featured-icon--light-circle.ncua-featured-icon--warning {
798
+ color: var(--orange-500);
766
799
  background-color: var(--orange-100);
767
800
  border-radius: 50%;
768
801
  }
769
802
  .ncua-featured-icon--light-circle.ncua-featured-icon--success {
803
+ color: var(--green-500);
770
804
  background-color: var(--green-100);
771
805
  border-radius: 50%;
772
806
  }
773
807
  .ncua-featured-icon--dark-circle.ncua-featured-icon--neutral {
808
+ color: var(--base-white);
774
809
  background-color: var(--gray-400);
775
810
  border-radius: 50%;
776
811
  }
777
812
  .ncua-featured-icon--dark-circle.ncua-featured-icon--error {
813
+ color: var(--base-white);
778
814
  background-color: var(--primary-red-400);
779
815
  border-radius: 50%;
780
816
  }
781
817
  .ncua-featured-icon--dark-circle.ncua-featured-icon--warning {
818
+ color: var(--base-white);
782
819
  background-color: var(--orange-400);
783
820
  border-radius: 50%;
784
821
  }
785
822
  .ncua-featured-icon--dark-circle.ncua-featured-icon--success {
823
+ color: var(--base-white);
786
824
  background-color: var(--green-400);
787
825
  border-radius: 50%;
788
826
  }
789
827
  .ncua-featured-icon--outline-circle {
790
828
  border-radius: 50%;
791
829
  }
830
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--neutral {
831
+ color: var(--gray-500);
832
+ }
792
833
  .ncua-featured-icon--outline-circle.ncua-featured-icon--neutral .ncua-featured-icon__outline {
793
834
  border-color: var(--gray-500);
794
835
  }
836
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--error {
837
+ color: var(--primary-red-500);
838
+ }
795
839
  .ncua-featured-icon--outline-circle.ncua-featured-icon--error .ncua-featured-icon__outline {
796
840
  border-color: var(--primary-red-500);
797
841
  }
842
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--warning {
843
+ color: var(--orange-500);
844
+ }
798
845
  .ncua-featured-icon--outline-circle.ncua-featured-icon--warning .ncua-featured-icon__outline {
799
846
  border-color: var(--orange-500);
800
847
  }
848
+ .ncua-featured-icon--outline-circle.ncua-featured-icon--success {
849
+ color: var(--green-500);
850
+ }
801
851
  .ncua-featured-icon--outline-circle.ncua-featured-icon--success .ncua-featured-icon__outline {
802
852
  border-color: var(--green-500);
803
853
  }
804
854
  .ncua-featured-icon--square-outline.ncua-featured-icon--sm {
805
855
  border-radius: 6px;
856
+ background-color: var(--base-white);
806
857
  border: 1px solid var(--gray-200);
807
858
  box-shadow: var(--shadow-xs);
808
859
  }
809
860
  .ncua-featured-icon--square-outline.ncua-featured-icon--md {
810
861
  border-radius: 8px;
862
+ background-color: var(--base-white);
811
863
  border: 1px solid var(--gray-200);
812
864
  box-shadow: var(--shadow-xs);
813
865
  }
814
866
  .ncua-featured-icon--square-outline.ncua-featured-icon--lg {
815
867
  border-radius: 10px;
868
+ background-color: var(--base-white);
816
869
  border: 1px solid var(--gray-200);
817
870
  box-shadow: var(--shadow-xs);
818
871
  }
819
872
  .ncua-featured-icon--square-outline.ncua-featured-icon--xl {
820
873
  border-radius: 12px;
874
+ background-color: var(--base-white);
821
875
  border: 1px solid var(--gray-200);
822
876
  box-shadow: var(--shadow-xs);
823
877
  }
@@ -928,6 +982,7 @@ button {
928
982
  border-radius: 6px;
929
983
  cursor: pointer;
930
984
  font-size: var(--font-size-xs);
985
+ line-height: var(--line-heights-xs);
931
986
  font-weight: var(--font-weights-commerce-sans-1);
932
987
  color: var(--gray-700);
933
988
  box-shadow: var(--shadow-xs);
@@ -981,10 +1036,10 @@ button {
981
1036
  line-height: var(--line-heights-xs);
982
1037
  }
983
1038
  .ncua-dropdown__header-subtitle {
984
- font-size: var(--font-size-xxs);
1039
+ font-size: var(--font-size-xxxs);
985
1040
  font-weight: var(--font-weights-commerce-sans-0);
986
- color: var(--gray-500);
987
- line-height: var(--line-heights-xxs);
1041
+ color: var(--gray-400);
1042
+ line-height: var(--line-heights-xxxs);
988
1043
  }
989
1044
  .ncua-dropdown__menu-items {
990
1045
  display: flex;
@@ -1026,19 +1081,19 @@ button {
1026
1081
  background-color: var(--gray-50);
1027
1082
  }
1028
1083
  .ncua-dropdown__item-text-group {
1084
+ flex: 1;
1029
1085
  display: flex;
1030
1086
  align-items: center;
1031
1087
  gap: 8px;
1032
- flex: 1;
1088
+ color: var(--gray-500);
1033
1089
  }
1034
1090
  .ncua-dropdown__item-icon {
1035
- width: 20px;
1036
- height: 20px;
1091
+ width: 14px;
1092
+ height: 14px;
1037
1093
  }
1038
1094
  .ncua-dropdown__item-text {
1039
1095
  font-size: var(--font-size-xs);
1040
1096
  font-weight: var(--font-weights-commerce-sans-1);
1041
- color: var(--gray-600);
1042
1097
  line-height: var(--line-heights-xs);
1043
1098
  }
1044
1099
  .ncua-dropdown__item-shortcut {
@@ -1067,6 +1122,7 @@ button {
1067
1122
 
1068
1123
  .ncua-hint-text {
1069
1124
  color: var(--gray-400);
1125
+ margin-top: 0;
1070
1126
  }
1071
1127
  .ncua-hint-text.destructive {
1072
1128
  color: var(--primary-red-600);
@@ -1082,26 +1138,39 @@ button {
1082
1138
  margin-bottom: 0;
1083
1139
  }
1084
1140
  .ncua-input__label {
1085
- margin-bottom: 4px;
1141
+ display: flex;
1142
+ align-items: center;
1143
+ }
1144
+ .ncua-input__help-icon {
1145
+ margin-left: 2px;
1146
+ color: var(--gray-300);
1147
+ width: 14px;
1148
+ height: 14px;
1086
1149
  }
1087
1150
  .ncua-input__content {
1088
1151
  box-shadow: var(--shadow-xs);
1089
- border-radius: 8px;
1152
+ border-radius: 6px;
1090
1153
  }
1091
1154
  .ncua-input:where(:not([class*=textarea])) .ncua-input__content {
1092
1155
  display: flex;
1093
1156
  }
1094
1157
  .ncua-input__field {
1095
- flex: 1;
1096
- display: flex;
1097
- align-items: center;
1098
- justify-content: space-between;
1099
- line-height: 1;
1100
1158
  display: flex;
1101
1159
  align-items: center;
1102
1160
  background-color: var(--base-white);
1103
1161
  border: 1px solid var(--gray-200);
1104
1162
  position: relative;
1163
+ flex: 1;
1164
+ display: flex;
1165
+ align-items: center;
1166
+ justify-content: space-between;
1167
+ line-height: 1;
1168
+ }
1169
+ .ncua-input__field--xs {
1170
+ padding: 5px 10px;
1171
+ }
1172
+ .ncua-input__field--md {
1173
+ padding: 6px 12px;
1105
1174
  }
1106
1175
  .ncua-input:focus-within :where(.ncua-input__field) {
1107
1176
  border-color: var(--gray-400);
@@ -1115,7 +1184,7 @@ button {
1115
1184
  border: 0;
1116
1185
  color: var(--gray-700);
1117
1186
  font-size: var(--font-size-sm);
1118
- line-height: 1rem;
1187
+ line-height: var(--line-heights-sm);
1119
1188
  background-color: var(--base-white);
1120
1189
  }
1121
1190
  .ncua-input input::-webkit-input-placeholder,
@@ -1136,30 +1205,34 @@ button {
1136
1205
  }
1137
1206
  .ncua-input input::placeholder,
1138
1207
  .ncua-input textarea::placeholder {
1139
- transform: translateY(1px);
1140
1208
  color: var(--gray-300);
1141
1209
  }
1142
1210
  .ncua-input input:focus,
1143
1211
  .ncua-input textarea:focus {
1144
1212
  outline: none;
1145
1213
  }
1214
+ .ncua-input .ncua-input__field {
1215
+ border-radius: 6px;
1216
+ }
1146
1217
  .ncua-input--xs {
1147
1218
  gap: 4px;
1148
- padding: 5px 10px;
1149
- font-size: var(--font-size-xxs);
1150
- border-radius: 6px;
1151
1219
  }
1152
1220
  .ncua-input--xs input {
1153
1221
  font-size: var(--font-size-xs);
1222
+ line-height: var(--line-heights-xs);
1154
1223
  }
1155
1224
  .ncua-input--md {
1156
1225
  gap: 6px;
1157
- padding: 7px 12px;
1158
- font-size: var(--font-size-sm);
1159
- border-radius: 6px;
1160
1226
  }
1161
1227
  .ncua-input--md input {
1162
1228
  font-size: var(--font-size-sm);
1229
+ line-height: var(--line-heights-sm);
1230
+ }
1231
+ .ncua-input--xs {
1232
+ font-size: var(--font-size-xxs);
1233
+ }
1234
+ .ncua-input--md {
1235
+ font-size: var(--font-size-xs);
1163
1236
  }
1164
1237
  .ncua-input input:-webkit-autofill, .ncua-input input:-webkit-autofill:hover, .ncua-input input:-webkit-autofill:focus, .ncua-input input:-webkit-autofill:active {
1165
1238
  -webkit-box-shadow: 0 0 0 30px var(--base-white) inset !important;
@@ -1233,53 +1306,80 @@ button {
1233
1306
  width: 100%;
1234
1307
  }
1235
1308
 
1236
- .ncua-input__leading-text {
1237
- border-radius: 6px 0 0 6px;
1238
- color: var(--gray-400);
1239
- font-size: var(--font-size-sm);
1240
- border-width: 1px 0 1px 1px;
1309
+ .ncua-input__leading-text-wrap .ncua-input__leading-text {
1241
1310
  display: flex;
1242
1311
  align-items: center;
1243
1312
  background-color: var(--base-white);
1244
1313
  border: 1px solid var(--gray-200);
1314
+ border-radius: 6px 0 0 6px;
1315
+ border-right-width: 0;
1316
+ color: var(--gray-400);
1317
+ font-size: var(--font-size-sm);
1245
1318
  }
1246
- .ncua-input__leading-text--xs {
1319
+ .ncua-input__leading-text-wrap .ncua-input__leading-text--xs {
1247
1320
  padding: 5px 10px;
1248
1321
  }
1249
- .ncua-input__leading-text--md {
1250
- padding: 7px 12px;
1322
+ .ncua-input__leading-text-wrap .ncua-input__leading-text--md {
1323
+ padding: 6px 12px;
1251
1324
  }
1252
- .ncua-input__leading-text + .ncua-input__field {
1253
- border-radius: 0 6px 6px 0;
1325
+ .ncua-input__leading-text-wrap .ncua-input__leading-text + .ncua-input__field {
1326
+ border-top-left-radius: 0;
1327
+ border-bottom-left-radius: 0;
1254
1328
  }
1255
1329
 
1256
1330
  .ncua-input__trailing-button .ncua-input__button {
1257
- border-radius: 0 6px 6px 0;
1258
- border-left-width: 0;
1259
- color: var(--gray-700);
1260
- font-weight: var(--font-weight-commerce-sans-2);
1261
1331
  display: flex;
1262
1332
  align-items: center;
1263
1333
  background-color: var(--base-white);
1264
1334
  border: 1px solid var(--gray-200);
1335
+ border-radius: 0 6px 6px 0;
1336
+ border-left-width: 0;
1337
+ color: var(--gray-700);
1338
+ font-weight: var(--font-weights-commerce-sans-2);
1265
1339
  }
1266
1340
  .ncua-input__trailing-button .ncua-input__button--xs {
1267
1341
  padding: 5px 10px;
1268
1342
  }
1269
1343
  .ncua-input__trailing-button .ncua-input__button--md {
1270
- padding: 7px 12px;
1344
+ padding: 6px 12px;
1271
1345
  }
1272
1346
  .ncua-input__trailing-button .ncua-input__button:not(:disabled) {
1273
1347
  cursor: pointer;
1274
1348
  }
1349
+ .ncua-input__trailing-button .ncua-input__button--xs {
1350
+ padding: 5px 10px;
1351
+ font-size: var(--font-size-xs);
1352
+ line-height: var(--line-heights-xs);
1353
+ font-weight: var(--font-weights-commerce-sans-1);
1354
+ }
1355
+ .ncua-input__trailing-button .ncua-input__button--md {
1356
+ padding: 7px 14px;
1357
+ font-size: var(--font-size-sm);
1358
+ line-height: var(--line-heights-sm);
1359
+ font-weight: var(--font-weights-commerce-sans-2);
1360
+ }
1275
1361
  .ncua-input__trailing-button .ncua-input__field {
1276
1362
  border-top-right-radius: 0;
1277
1363
  border-bottom-right-radius: 0;
1278
1364
  }
1279
1365
 
1280
1366
  .ncua-input--textarea {
1281
- font-size: var(--font-size-xxs);
1282
1367
  gap: 4px;
1368
+ width: 100%;
1369
+ }
1370
+ .ncua-input--textarea--sm textarea {
1371
+ font-size: var(--font-size-xs);
1372
+ line-height: var(--line-heights-xs);
1373
+ }
1374
+ .ncua-input--textarea--md textarea {
1375
+ font-size: var(--font-size-sm);
1376
+ line-height: var(--line-heights-sm);
1377
+ }
1378
+ .ncua-input--textarea--sm {
1379
+ font-size: var(--font-size-xxs);
1380
+ }
1381
+ .ncua-input--textarea--md {
1382
+ font-size: var(--font-size-xs);
1283
1383
  }
1284
1384
  .ncua-input--textarea .ncua-input__content {
1285
1385
  flex-direction: column;
@@ -1314,11 +1414,18 @@ button {
1314
1414
  color: var(--primary-red-600);
1315
1415
  }
1316
1416
 
1417
+ .ncua-input__text-count-text-count {
1418
+ color: var(--gray-500);
1419
+ }
1420
+ .ncua-input.destructive .ncua-input__text-count-text-count {
1421
+ color: var(--primary-red-600);
1422
+ }
1423
+
1317
1424
  .ncua-label {
1318
1425
  display: flex;
1319
1426
  gap: 4px;
1320
1427
  color: var(--gray-600);
1321
- font-weight: var(--font-weight-commerce-sans-1);
1428
+ font-weight: var(--font-weights-commerce-sans-1);
1322
1429
  }
1323
1430
  :where(.ncua-label.is-required)::before {
1324
1431
  content: "*";
@@ -1885,6 +1992,10 @@ button {
1885
1992
  font: inherit;
1886
1993
  border-radius: 50%;
1887
1994
  }
1995
+ .ncua-radio-input :where(input):not(:disabled):hover {
1996
+ border-color: var(--gray-600);
1997
+ background-color: var(--gray-100);
1998
+ }
1888
1999
  .ncua-radio-input :where(input):focus {
1889
2000
  border-color: var(--gray-400);
1890
2001
  box-shadow: var(--focus-ring-4px-gray-100);
@@ -1895,6 +2006,7 @@ button {
1895
2006
  }
1896
2007
  .ncua-radio-input :where(input):disabled {
1897
2008
  border-color: var(--gray-200);
2009
+ background-color: var(--gray-100);
1898
2010
  }
1899
2011
  .ncua-radio-input :where(input)::before {
1900
2012
  position: absolute;
@@ -1922,16 +2034,12 @@ button {
1922
2034
  border-color: var(--primary-red-600);
1923
2035
  box-shadow: var(--shadow-xs-focused-4px-error-100);
1924
2036
  }
1925
- .ncua-radio-input:hover {
1926
- border-color: var(--gray-600);
1927
- background-color: var(--gray-100);
1928
- }
1929
2037
 
1930
2038
  .ncua-radio-field {
1931
2039
  position: relative;
1932
- line-height: 18px;
2040
+ line-height: var(--line-heights-xs);
1933
2041
  font-weight: var(--font-weights-commerce-sans-0);
1934
- font-size: var(--font-size-1);
2042
+ font-size: var(--font-size-xs);
1935
2043
  cursor: pointer;
1936
2044
  }
1937
2045
  .ncua-radio-field__text {
@@ -1942,14 +2050,9 @@ button {
1942
2050
  .ncua-radio-field__support-text {
1943
2051
  color: var(--gray-400);
1944
2052
  }
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;
2053
+ .ncua-radio-field--md .ncua-radio-field__text {
2054
+ font-size: var(--font-size-sm);
2055
+ line-height: var(--line-heights-sm);
1953
2056
  }
1954
2057
  .ncua-radio-field.has-text {
1955
2058
  display: inline-flex;
@@ -1965,7 +2068,6 @@ button {
1965
2068
  .ncua-tag {
1966
2069
  display: inline-flex;
1967
2070
  align-items: center;
1968
- border-radius: 6px;
1969
2071
  border: 1px solid var(--gray-200);
1970
2072
  color: var(--gray-500);
1971
2073
  line-height: 1.5;
@@ -1975,14 +2077,16 @@ button {
1975
2077
  overflow: hidden;
1976
2078
  }
1977
2079
  .ncua-tag--sm {
1978
- font-size: var(--font-size-xxs);
2080
+ font-size: var(--font-size-xxxs);
1979
2081
  padding: 2px 8px;
1980
2082
  line-height: 14px;
2083
+ border-radius: 4px;
1981
2084
  }
1982
2085
  .ncua-tag--md {
1983
2086
  font-size: var(--font-size-sm);
1984
2087
  padding: 1px 9px;
1985
2088
  line-height: 22px;
2089
+ border-radius: 6px;
1986
2090
  }
1987
2091
  .ncua-tag__text {
1988
2092
  overflow: hidden;
@@ -2013,7 +2117,7 @@ button {
2013
2117
  display: inline-flex;
2014
2118
  align-items: center;
2015
2119
  min-width: 16px;
2016
- height: 16px;
2120
+ height: 14px;
2017
2121
  margin-left: 6px;
2018
2122
  margin-right: -5px;
2019
2123
  padding: 0 5px;
@@ -2024,6 +2128,9 @@ button {
2024
2128
  .ncua-tag__count + .ncua-tag__close {
2025
2129
  margin-left: 6px;
2026
2130
  }
2131
+ .ncua-tag--md .ncua-tag__count {
2132
+ height: 16px;
2133
+ }
2027
2134
  .ncua-tag__close {
2028
2135
  margin-left: 3px;
2029
2136
  margin-right: -5px;
@@ -2037,7 +2144,7 @@ button {
2037
2144
 
2038
2145
  .ncua-tooltip {
2039
2146
  position: relative;
2040
- font-size: 12px;
2147
+ font-size: var(--font-size-xxs);
2041
2148
  }
2042
2149
  .ncua-tooltip svg {
2043
2150
  cursor: pointer;
@@ -2202,7 +2309,7 @@ button {
2202
2309
  right: 10px;
2203
2310
  width: 14px;
2204
2311
  height: 14px;
2205
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23171818' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2312
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23757678' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2206
2313
  content: "";
2207
2314
  transform: translateY(-50%);
2208
2315
  }
@@ -2218,14 +2325,13 @@ button {
2218
2325
  border: 0;
2219
2326
  height: 100%;
2220
2327
  flex: 1;
2221
- padding-right: 42px;
2222
2328
  background-color: transparent;
2223
2329
  outline: none;
2224
2330
  color: var(--gray-700);
2225
2331
  }
2226
2332
  .ncua-select__content:focus-within {
2227
2333
  border-color: var(--gray-400);
2228
- box-shadow: var(--shadow-xs-focused-4px-primary-gray-100);
2334
+ box-shadow: var(--shadow-xs-focused-3px-gray-100);
2229
2335
  }
2230
2336
  .ncua-select.destructive .ncua-select__content {
2231
2337
  border-color: var(--primary-red-600);
@@ -2246,6 +2352,7 @@ button {
2246
2352
  .ncua-select--xs {
2247
2353
  height: var(--select-height-xs);
2248
2354
  border-radius: 6px;
2355
+ padding-right: 28px;
2249
2356
  }
2250
2357
  .ncua-select--xs > .ncua-select__tag {
2251
2358
  font-size: var(--font-size-xs);
@@ -2253,21 +2360,33 @@ button {
2253
2360
  }
2254
2361
  .ncua-select--sm {
2255
2362
  height: var(--select-height-sm);
2256
- border-radius: 8px;
2363
+ border-radius: 6px;
2364
+ padding-right: 30px;
2257
2365
  }
2258
2366
  .ncua-select--sm > .ncua-select__tag {
2259
2367
  font-size: var(--font-size-sm);
2260
2368
  font-weight: var(--font-weights-commerce-sans-0);
2261
2369
  }
2370
+ .ncua-select--sm.ncua-select__content::after {
2371
+ width: 16px;
2372
+ height: 16px;
2373
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23757678' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2374
+ }
2262
2375
  .ncua-select--md {
2263
2376
  min-width: 132px;
2264
2377
  height: var(--select-height-md);
2265
2378
  border-radius: 8px;
2379
+ padding-right: 30px;
2266
2380
  }
2267
2381
  .ncua-select--md > .ncua-select__tag {
2268
2382
  font-size: var(--font-size-sm);
2269
2383
  font-weight: var(--font-weights-commerce-sans-1);
2270
2384
  }
2385
+ .ncua-select--md.ncua-select__content::after {
2386
+ width: 16px;
2387
+ height: 16px;
2388
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23757678' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2389
+ }
2271
2390
  .ncua-select--simple .ncua-select__content {
2272
2391
  padding-inline-start: 0;
2273
2392
  border: 0;
@@ -2295,7 +2414,7 @@ button {
2295
2414
  }
2296
2415
  .ncua-select .ncua-hint-text {
2297
2416
  margin-block-start: 6px;
2298
- font-size: var(--font-size-xxs);
2417
+ font-size: var(--font-size-xxxs);
2299
2418
  }
2300
2419
 
2301
2420
  .ncua-pagination {
@@ -2411,7 +2530,7 @@ button {
2411
2530
  top: calc(50% + 18px);
2412
2531
  left: 50%;
2413
2532
  transform: translate(-50%, 0);
2414
- font-size: var(--font-size-xxs);
2533
+ font-size: var(--font-size-xxxs);
2415
2534
  font-weight: var(--font-weights-commerce-sans-1);
2416
2535
  color: var(--gray-500);
2417
2536
  white-space: nowrap;
@@ -2423,7 +2542,9 @@ button {
2423
2542
  transform: translate(-50%, -100%);
2424
2543
  padding: 8px 12px;
2425
2544
  border-radius: 6px;
2426
- font-size: 12px;
2545
+ font-size: var(--font-size-xxs);
2546
+ line-height: var(--line-heights-xxs);
2547
+ font-weight: var(--font-weights-commerce-sans-1);
2427
2548
  border: 1px solid var(--gray-200);
2428
2549
  box-shadow: var(--shadow-lg);
2429
2550
  }
@@ -2609,9 +2730,6 @@ button {
2609
2730
  .ncua-toggle--md.ncua-toggle--checked .ncua-toggle__slider {
2610
2731
  transform: translateX(var(--toggle-md-translate));
2611
2732
  }
2612
- .ncua-toggle--disabled {
2613
- cursor: not-allowed;
2614
- }
2615
2733
  .ncua-toggle:not(.ncua-toggle--disabled):hover .ncua-toggle__switch {
2616
2734
  background-color: var(--gray-300);
2617
2735
  }
@@ -2627,6 +2745,15 @@ button {
2627
2745
  .ncua-toggle__input:focus + .ncua-toggle__switch {
2628
2746
  box-shadow: var(--toggle-focus-shadow);
2629
2747
  }
2748
+ .ncua-toggle--disabled {
2749
+ cursor: not-allowed;
2750
+ }
2751
+ .ncua-toggle--disabled .ncua-toggle__switch {
2752
+ background-color: var(--gray-100);
2753
+ }
2754
+ .ncua-toggle--disabled .ncua-toggle__slider {
2755
+ background-color: var(--gray-50);
2756
+ }
2630
2757
 
2631
2758
  .ncua-date-picker {
2632
2759
  position: relative;
@@ -2840,6 +2967,15 @@ button {
2840
2967
  gap: 8px;
2841
2968
  }
2842
2969
 
2970
+ .ncua-range-date-picker-with-buttons {
2971
+ display: inline-flex;
2972
+ align-items: center;
2973
+ gap: 16px;
2974
+ }
2975
+ .ncua-range-date-picker-with-buttons .ncua-range-date-picker {
2976
+ transform: translateY(1px);
2977
+ }
2978
+
2843
2979
  .ncua-carousel-number-group {
2844
2980
  display: inline-flex;
2845
2981
  align-items: center;
@@ -2898,13 +3034,13 @@ button {
2898
3034
  .ncua-breadcrumb {
2899
3035
  display: flex;
2900
3036
  align-items: center;
2901
- font-size: var(--font-size-sm);
3037
+ font-size: var(--font-size-xs);
2902
3038
  }
2903
3039
  .ncua-breadcrumb__list {
2904
3040
  display: flex;
2905
3041
  flex-wrap: wrap;
2906
3042
  align-items: center;
2907
- gap: 20px;
3043
+ gap: 32px;
2908
3044
  padding: 0;
2909
3045
  margin: 0;
2910
3046
  list-style: none;
@@ -2914,23 +3050,26 @@ button {
2914
3050
  display: flex;
2915
3051
  align-items: center;
2916
3052
  height: 28px;
2917
- padding: 4px 8px;
3053
+ padding: 4px 6px;
2918
3054
  color: var(--gray-400);
2919
3055
  font-weight: var(--font-weights-commerce-sans-1);
2920
3056
  cursor: pointer;
2921
3057
  }
3058
+ .ncua-breadcrumb__list-item:first-child {
3059
+ height: 24px;
3060
+ padding: 4px;
3061
+ }
2922
3062
  .ncua-breadcrumb__list-item--active {
2923
3063
  color: var(--gray-600);
2924
3064
  }
2925
- .ncua-breadcrumb__list-item:hover:not(:first-child):not(:last-child) {
2926
- color: var(--gray-600);
3065
+ .ncua-breadcrumb__list-item:hover {
2927
3066
  background-color: var(--gray-100);
2928
3067
  border-radius: 4px;
2929
3068
  }
2930
3069
  .ncua-breadcrumb__list-item:not(:last-child)::after {
2931
3070
  content: "";
2932
3071
  position: absolute;
2933
- right: -18px;
3072
+ right: -24px;
2934
3073
  top: 50%;
2935
3074
  transform: translateY(-50%);
2936
3075
  display: inline-block;
@@ -2961,10 +3100,10 @@ button {
2961
3100
  font-weight: 500;
2962
3101
  }
2963
3102
  .ncua-badge--xs {
2964
- font-size: var(--font-size-xxs);
3103
+ font-size: var(--font-size-xxxs);
2965
3104
  padding: 2px 8px;
2966
3105
  height: 18px;
2967
- line-height: var(--line-heights-xxs);
3106
+ line-height: var(--line-heights-xxxs);
2968
3107
  }
2969
3108
  .ncua-badge--sm {
2970
3109
  font-size: var(--font-size-xs);
@@ -3091,10 +3230,12 @@ button {
3091
3230
  transform: translateX(-50%);
3092
3231
  transition: left 0.3s ease;
3093
3232
  height: 32px;
3094
- padding: 7px 12px;
3233
+ padding: 0 12px;
3234
+ line-height: 32px;
3095
3235
  background-color: var(--base-white);
3096
3236
  border-radius: 6px;
3097
3237
  border: 1px solid var(--gray-100);
3238
+ font-size: var(--font-size-xxs);
3098
3239
  box-shadow: var(--shadow-lg);
3099
3240
  }
3100
3241
  .ncua-progress-bar__label-top-float {
@@ -3132,6 +3273,7 @@ button {
3132
3273
  .ncua-tab-button {
3133
3274
  display: inline-flex;
3134
3275
  gap: 8px;
3276
+ align-items: center;
3135
3277
  justify-content: center;
3136
3278
  width: 100%;
3137
3279
  font-weight: var(--font-weights-commerce-sans-2);
@@ -3144,17 +3286,17 @@ button {
3144
3286
  color: var(--gray-700);
3145
3287
  }
3146
3288
  .ncua-tab-button--xs {
3147
- padding: 9px 12px;
3289
+ padding: 5px 12px;
3148
3290
  height: 34px;
3149
3291
  font-size: var(--font-size-xs);
3150
3292
  }
3151
3293
  .ncua-tab-button--sm {
3152
- padding: 11px 12px;
3294
+ padding: 7px 12px;
3153
3295
  height: 38px;
3154
3296
  font-size: var(--font-size-sm);
3155
3297
  }
3156
3298
  .ncua-tab-button--md {
3157
- padding: 14px;
3299
+ padding: 9px 14px;
3158
3300
  height: 44px;
3159
3301
  font-size: var(--font-size-md);
3160
3302
  }
@@ -3211,9 +3353,6 @@ button {
3211
3353
  .ncua-tab-button--line-vertical:hover, .ncua-tab-button--line-vertical.is-active, .ncua-tab-button--line-vertical.is-active:focus {
3212
3354
  box-shadow: -2px 0 var(--gray-700);
3213
3355
  }
3214
- .ncua-tab-button .ncua-badge {
3215
- transform: translateY(-1px);
3216
- }
3217
3356
 
3218
3357
  .ncua-horizontal-tab {
3219
3358
  position: relative;
@@ -3375,10 +3514,10 @@ button {
3375
3514
  line-height: 1.3;
3376
3515
  }
3377
3516
  .ncua-progress-circle-xs .ncua-progress-circle__label-text {
3378
- font-size: 12px;
3517
+ font-size: var(--font-size-xxs);
3379
3518
  }
3380
3519
  .ncua-progress-circle-xs .ncua-progress-circle__outside-label {
3381
- font-size: 12px;
3520
+ font-size: var(--font-size-xxs);
3382
3521
  }
3383
3522
  .ncua-progress-circle-sm {
3384
3523
  --size: 200px;