@ncds/ui-admin 0.0.24 → 0.0.26
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.
- package/dist/cjs/index.js +132 -0
- package/dist/cjs/src/components/button/ButtonGroup.js +12 -5
- package/dist/cjs/src/components/checkbox/Checkbox.js +2 -2
- package/dist/cjs/src/components/checkbox/CheckboxInput.js +41 -12
- package/dist/cjs/src/components/date-picker/RangeDatePickerWithButtons.js +90 -0
- package/dist/cjs/src/components/date-picker/index.js +22 -0
- package/dist/cjs/src/components/featured-icon/FeaturedIcon.js +1 -18
- package/dist/cjs/src/components/index.js +30 -8
- package/dist/cjs/src/components/input/InputBase.js +2 -1
- package/dist/cjs/src/components/input/PasswordInput.js +1 -0
- package/dist/cjs/src/components/input/Textarea.js +12 -6
- package/dist/cjs/src/components/modal/index.js +11 -7
- package/dist/cjs/src/components/notification/index.js +11 -11
- package/dist/cjs/src/components/select/Select.js +3 -0
- package/dist/cjs/src/components/tab/TabButton.js +1 -1
- package/dist/cjs/src/components/tag/Tag.js +5 -5
- package/dist/cjs/src/constant/date-picker.js +63 -0
- package/dist/cjs/src/constant/index.js +11 -0
- package/dist/cjs/src/utils/date-picker.js +26 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/src/components/button/ButtonGroup.js +12 -5
- package/dist/esm/src/components/checkbox/Checkbox.js +2 -2
- package/dist/esm/src/components/checkbox/CheckboxInput.js +42 -13
- package/dist/esm/src/components/date-picker/RangeDatePickerWithButtons.js +83 -0
- package/dist/esm/src/components/date-picker/index.js +3 -1
- package/dist/esm/src/components/featured-icon/FeaturedIcon.js +1 -18
- package/dist/esm/src/components/index.js +3 -1
- package/dist/esm/src/components/input/InputBase.js +2 -1
- package/dist/esm/src/components/input/PasswordInput.js +1 -0
- package/dist/esm/src/components/input/Textarea.js +12 -6
- package/dist/esm/src/components/modal/index.js +1 -1
- package/dist/esm/src/components/notification/index.js +2 -2
- package/dist/esm/src/components/select/Select.js +3 -0
- package/dist/esm/src/components/tab/TabButton.js +1 -1
- package/dist/esm/src/components/tag/Tag.js +5 -5
- package/dist/esm/src/constant/date-picker.js +57 -0
- package/dist/esm/src/constant/index.js +2 -1
- package/dist/esm/src/utils/date-picker.js +17 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/src/components/button/ButtonGroup.d.ts +4 -2
- package/dist/types/src/components/checkbox/CheckboxInput.d.ts +3 -0
- package/dist/types/src/components/date-picker/RangeDatePickerWithButtons.d.ts +12 -0
- package/dist/types/src/components/date-picker/index.d.ts +2 -0
- package/dist/types/src/components/index.d.ts +3 -1
- package/dist/types/src/components/input/InputBase.d.ts +2 -1
- package/dist/types/src/components/input/Textarea.d.ts +2 -0
- package/dist/types/src/components/modal/index.d.ts +1 -2
- package/dist/types/src/components/notification/index.d.ts +1 -1
- package/dist/types/src/components/select/Select.d.ts +4 -1
- package/dist/types/src/constant/date-picker.d.ts +58 -0
- package/dist/types/src/constant/index.d.ts +1 -0
- package/dist/types/src/utils/date-picker.d.ts +9 -0
- package/dist/ui-admin/assets/styles/style.css +187 -84
- 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
|
|
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;
|
|
@@ -326,28 +327,22 @@ button {
|
|
|
326
327
|
cursor: default;
|
|
327
328
|
}
|
|
328
329
|
.ncua-btn--tertiary {
|
|
329
|
-
background-color: var(--base-white);
|
|
330
330
|
color: var(--blue-500);
|
|
331
331
|
}
|
|
332
332
|
.ncua-btn--tertiary:hover:not([disabled], .is-disable) {
|
|
333
|
-
background-color: var(--blue-50);
|
|
334
333
|
color: var(--blue-600);
|
|
335
334
|
}
|
|
336
335
|
.ncua-btn--tertiary:disabled, .ncua-btn--tertiary.is-disable {
|
|
337
|
-
background-color: var(--base-white);
|
|
338
336
|
color: var(--gray-200);
|
|
339
337
|
cursor: default;
|
|
340
338
|
}
|
|
341
339
|
.ncua-btn--tertiary-gray {
|
|
342
|
-
background-color: var(--base-white);
|
|
343
340
|
color: var(--gray-700);
|
|
344
341
|
}
|
|
345
342
|
.ncua-btn--tertiary-gray:hover:not([disabled], .is-disable) {
|
|
346
|
-
background-color: var(--gray-50);
|
|
347
343
|
color: var(--gray-700);
|
|
348
344
|
}
|
|
349
345
|
.ncua-btn--tertiary-gray:disabled, .ncua-btn--tertiary-gray.is-disable {
|
|
350
|
-
background-color: var(--base-white);
|
|
351
346
|
color: var(--gray-200);
|
|
352
347
|
cursor: default;
|
|
353
348
|
}
|
|
@@ -374,7 +369,7 @@ button {
|
|
|
374
369
|
.ncua-btn--destructive {
|
|
375
370
|
box-shadow: var(--shadow-xs);
|
|
376
371
|
background-color: var(--primary-red-500);
|
|
377
|
-
border: 1px solid var(--primary-red-
|
|
372
|
+
border: 1px solid var(--primary-red-600);
|
|
378
373
|
color: var(--base-white);
|
|
379
374
|
}
|
|
380
375
|
.ncua-btn--destructive:hover:not([disabled], .is-disable) {
|
|
@@ -386,6 +381,7 @@ button {
|
|
|
386
381
|
background-color: var(--primary-red-500);
|
|
387
382
|
border: 1px solid var(--primary-red-600);
|
|
388
383
|
color: var(--base-white);
|
|
384
|
+
box-shadow: var(--shadow-xs-focused-4px-primary-color-100);
|
|
389
385
|
}
|
|
390
386
|
.ncua-btn--destructive:disabled, .ncua-btn--destructive.is-disable {
|
|
391
387
|
background-color: var(--primary-red-200);
|
|
@@ -505,6 +501,7 @@ button {
|
|
|
505
501
|
color: var(--gray-400);
|
|
506
502
|
}
|
|
507
503
|
.ncua-button-group__item {
|
|
504
|
+
cursor: pointer;
|
|
508
505
|
color: inherit;
|
|
509
506
|
border: none;
|
|
510
507
|
outline: none;
|
|
@@ -512,9 +509,8 @@ button {
|
|
|
512
509
|
justify-content: center;
|
|
513
510
|
align-items: center;
|
|
514
511
|
box-sizing: border-box;
|
|
515
|
-
cursor: pointer;
|
|
516
|
-
gap: 8px;
|
|
517
512
|
background-color: var(--base-white);
|
|
513
|
+
gap: 8px;
|
|
518
514
|
}
|
|
519
515
|
.ncua-button-group__item[href] {
|
|
520
516
|
text-decoration: none;
|
|
@@ -529,32 +525,36 @@ button {
|
|
|
529
525
|
.ncua-button-group__item:last-child {
|
|
530
526
|
padding-right: 0;
|
|
531
527
|
}
|
|
532
|
-
.ncua-button-group__item.is-
|
|
528
|
+
.ncua-button-group__item.is-disabled {
|
|
529
|
+
color: var(--gray-200);
|
|
530
|
+
}
|
|
531
|
+
.ncua-button-group__item.is-current {
|
|
533
532
|
color: var(--gray-600);
|
|
534
533
|
}
|
|
535
|
-
.ncua-button-group.has-border {
|
|
534
|
+
:where(.ncua-button-group.has-border) {
|
|
536
535
|
border: 1px solid var(--gray-200);
|
|
537
|
-
border-radius: 8px;
|
|
538
536
|
box-shadow: var(--shadow-xs);
|
|
539
537
|
}
|
|
540
|
-
.ncua-button-group.has-border .ncua-button-group__item:hover {
|
|
538
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item:hover {
|
|
541
539
|
background-color: var(--gray-50);
|
|
542
540
|
}
|
|
543
|
-
.ncua-button-group.has-border .ncua-button-group__item:focus {
|
|
541
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item:focus {
|
|
544
542
|
color: var(--gray-600);
|
|
545
543
|
}
|
|
546
|
-
.ncua-button-group.has-border .ncua-button-group__item.is-
|
|
547
|
-
|
|
548
|
-
color: var(--gray-
|
|
544
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item.is-current {
|
|
545
|
+
color: var(--gray-600);
|
|
546
|
+
background-color: var(--gray-50);
|
|
549
547
|
}
|
|
550
|
-
.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) {
|
|
551
549
|
border-left: 1px solid var(--gray-200);
|
|
552
550
|
}
|
|
553
|
-
.ncua-button-group.has-border .ncua-button-group__item svg {
|
|
551
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item svg {
|
|
554
552
|
display: block;
|
|
555
553
|
}
|
|
554
|
+
|
|
556
555
|
.ncua-button-group:not(.has-border) .ncua-button-group__item {
|
|
557
556
|
position: relative;
|
|
557
|
+
background-color: transparent;
|
|
558
558
|
}
|
|
559
559
|
.ncua-button-group:not(.has-border) .ncua-button-group__item:not(:last-child):after {
|
|
560
560
|
content: "";
|
|
@@ -568,32 +568,55 @@ button {
|
|
|
568
568
|
}
|
|
569
569
|
.ncua-button-group--xs .ncua-button-group__item {
|
|
570
570
|
padding: 5px 12px;
|
|
571
|
-
}
|
|
572
|
-
.ncua-button-group--sm .ncua-button-group__item {
|
|
573
|
-
padding: 5px 16px;
|
|
574
|
-
}
|
|
575
|
-
.ncua-button-group--md .ncua-button-group__item {
|
|
576
|
-
padding: 7px 16px;
|
|
577
|
-
}
|
|
578
|
-
.ncua-button-group--lg .ncua-button-group__item {
|
|
579
|
-
padding: 9px 16px;
|
|
580
|
-
}
|
|
581
|
-
.ncua-button-group--xs .ncua-button-group__item {
|
|
582
571
|
font-size: var(--font-size-xxxs);
|
|
572
|
+
line-height: var(--line-heights-xxxs);
|
|
583
573
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
584
574
|
}
|
|
575
|
+
.ncua-button-group--xs .ncua-button-group__item.is-only-icon {
|
|
576
|
+
padding: 6px;
|
|
577
|
+
}
|
|
578
|
+
:where(.ncua-button-group--xs.has-border) {
|
|
579
|
+
border-radius: 4px;
|
|
580
|
+
}
|
|
581
|
+
|
|
585
582
|
.ncua-button-group--sm .ncua-button-group__item {
|
|
583
|
+
padding: 5px 16px;
|
|
586
584
|
font-size: var(--font-size-xs);
|
|
585
|
+
line-height: var(--line-heights-xs);
|
|
587
586
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
588
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
|
+
|
|
589
595
|
.ncua-button-group--md .ncua-button-group__item {
|
|
596
|
+
padding: 7px 16px;
|
|
590
597
|
font-size: var(--font-size-sm);
|
|
598
|
+
line-height: var(--line-heights-sm);
|
|
591
599
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
592
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
|
+
|
|
593
608
|
.ncua-button-group--lg .ncua-button-group__item {
|
|
609
|
+
padding: 9px 16px;
|
|
594
610
|
font-size: var(--font-size-sm);
|
|
611
|
+
line-height: var(--line-heights-sm);
|
|
595
612
|
font-weight: var(--font-weights-commerce-sans-2);
|
|
596
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
|
+
}
|
|
597
620
|
|
|
598
621
|
.ncua-btn-close {
|
|
599
622
|
display: inline-flex;
|
|
@@ -664,10 +687,12 @@ button {
|
|
|
664
687
|
}
|
|
665
688
|
.ncua-checkbox-input :where(input):checked {
|
|
666
689
|
border-color: var(--gray-700);
|
|
690
|
+
background-color: var(--gray-50);
|
|
667
691
|
outline: none;
|
|
668
692
|
}
|
|
669
693
|
.ncua-checkbox-input :where(input):disabled {
|
|
670
694
|
border-color: var(--gray-200);
|
|
695
|
+
background-color: var(--gray-100);
|
|
671
696
|
}
|
|
672
697
|
.ncua-checkbox-input.destructive :where(input) {
|
|
673
698
|
border-color: var(--primary-red-600);
|
|
@@ -690,6 +715,7 @@ button {
|
|
|
690
715
|
align-items: center;
|
|
691
716
|
width: 100%;
|
|
692
717
|
height: 100%;
|
|
718
|
+
z-index: 2;
|
|
693
719
|
}
|
|
694
720
|
.ncua-checkbox-input :not(input:checked + .ncua-checkbox-input__ico) > svg {
|
|
695
721
|
display: none;
|
|
@@ -713,13 +739,15 @@ button {
|
|
|
713
739
|
}
|
|
714
740
|
.ncua-checkbox-field__support-text {
|
|
715
741
|
color: var(--gray-400);
|
|
742
|
+
font-size: var(--font-size-xs);
|
|
743
|
+
line-height: var(--line-heights-xs);
|
|
716
744
|
}
|
|
717
745
|
.ncua-checkbox-field:hover .ncua-checkbox-field__input {
|
|
718
746
|
border-color: var(--gray-700);
|
|
719
747
|
background-color: var(--gray-50);
|
|
720
748
|
border-radius: 4px;
|
|
721
749
|
}
|
|
722
|
-
.ncua-checkbox-field--md {
|
|
750
|
+
.ncua-checkbox-field--md .ncua-checkbox-field__text {
|
|
723
751
|
font-size: var(--font-size-sm);
|
|
724
752
|
line-height: 22px;
|
|
725
753
|
}
|
|
@@ -757,69 +785,93 @@ button {
|
|
|
757
785
|
height: 56px;
|
|
758
786
|
}
|
|
759
787
|
.ncua-featured-icon--light-circle.ncua-featured-icon--neutral {
|
|
788
|
+
color: var(--gray-500);
|
|
760
789
|
background-color: var(--gray-100);
|
|
761
790
|
border-radius: 50%;
|
|
762
791
|
}
|
|
763
792
|
.ncua-featured-icon--light-circle.ncua-featured-icon--error {
|
|
793
|
+
color: var(--primary-red-500);
|
|
764
794
|
background-color: var(--primary-red-100);
|
|
765
795
|
border-radius: 50%;
|
|
766
796
|
}
|
|
767
797
|
.ncua-featured-icon--light-circle.ncua-featured-icon--warning {
|
|
798
|
+
color: var(--orange-500);
|
|
768
799
|
background-color: var(--orange-100);
|
|
769
800
|
border-radius: 50%;
|
|
770
801
|
}
|
|
771
802
|
.ncua-featured-icon--light-circle.ncua-featured-icon--success {
|
|
803
|
+
color: var(--green-500);
|
|
772
804
|
background-color: var(--green-100);
|
|
773
805
|
border-radius: 50%;
|
|
774
806
|
}
|
|
775
807
|
.ncua-featured-icon--dark-circle.ncua-featured-icon--neutral {
|
|
808
|
+
color: var(--base-white);
|
|
776
809
|
background-color: var(--gray-400);
|
|
777
810
|
border-radius: 50%;
|
|
778
811
|
}
|
|
779
812
|
.ncua-featured-icon--dark-circle.ncua-featured-icon--error {
|
|
813
|
+
color: var(--base-white);
|
|
780
814
|
background-color: var(--primary-red-400);
|
|
781
815
|
border-radius: 50%;
|
|
782
816
|
}
|
|
783
817
|
.ncua-featured-icon--dark-circle.ncua-featured-icon--warning {
|
|
818
|
+
color: var(--base-white);
|
|
784
819
|
background-color: var(--orange-400);
|
|
785
820
|
border-radius: 50%;
|
|
786
821
|
}
|
|
787
822
|
.ncua-featured-icon--dark-circle.ncua-featured-icon--success {
|
|
823
|
+
color: var(--base-white);
|
|
788
824
|
background-color: var(--green-400);
|
|
789
825
|
border-radius: 50%;
|
|
790
826
|
}
|
|
791
827
|
.ncua-featured-icon--outline-circle {
|
|
792
828
|
border-radius: 50%;
|
|
793
829
|
}
|
|
830
|
+
.ncua-featured-icon--outline-circle.ncua-featured-icon--neutral {
|
|
831
|
+
color: var(--gray-500);
|
|
832
|
+
}
|
|
794
833
|
.ncua-featured-icon--outline-circle.ncua-featured-icon--neutral .ncua-featured-icon__outline {
|
|
795
834
|
border-color: var(--gray-500);
|
|
796
835
|
}
|
|
836
|
+
.ncua-featured-icon--outline-circle.ncua-featured-icon--error {
|
|
837
|
+
color: var(--primary-red-500);
|
|
838
|
+
}
|
|
797
839
|
.ncua-featured-icon--outline-circle.ncua-featured-icon--error .ncua-featured-icon__outline {
|
|
798
840
|
border-color: var(--primary-red-500);
|
|
799
841
|
}
|
|
842
|
+
.ncua-featured-icon--outline-circle.ncua-featured-icon--warning {
|
|
843
|
+
color: var(--orange-500);
|
|
844
|
+
}
|
|
800
845
|
.ncua-featured-icon--outline-circle.ncua-featured-icon--warning .ncua-featured-icon__outline {
|
|
801
846
|
border-color: var(--orange-500);
|
|
802
847
|
}
|
|
848
|
+
.ncua-featured-icon--outline-circle.ncua-featured-icon--success {
|
|
849
|
+
color: var(--green-500);
|
|
850
|
+
}
|
|
803
851
|
.ncua-featured-icon--outline-circle.ncua-featured-icon--success .ncua-featured-icon__outline {
|
|
804
852
|
border-color: var(--green-500);
|
|
805
853
|
}
|
|
806
854
|
.ncua-featured-icon--square-outline.ncua-featured-icon--sm {
|
|
807
855
|
border-radius: 6px;
|
|
856
|
+
background-color: var(--base-white);
|
|
808
857
|
border: 1px solid var(--gray-200);
|
|
809
858
|
box-shadow: var(--shadow-xs);
|
|
810
859
|
}
|
|
811
860
|
.ncua-featured-icon--square-outline.ncua-featured-icon--md {
|
|
812
861
|
border-radius: 8px;
|
|
862
|
+
background-color: var(--base-white);
|
|
813
863
|
border: 1px solid var(--gray-200);
|
|
814
864
|
box-shadow: var(--shadow-xs);
|
|
815
865
|
}
|
|
816
866
|
.ncua-featured-icon--square-outline.ncua-featured-icon--lg {
|
|
817
867
|
border-radius: 10px;
|
|
868
|
+
background-color: var(--base-white);
|
|
818
869
|
border: 1px solid var(--gray-200);
|
|
819
870
|
box-shadow: var(--shadow-xs);
|
|
820
871
|
}
|
|
821
872
|
.ncua-featured-icon--square-outline.ncua-featured-icon--xl {
|
|
822
873
|
border-radius: 12px;
|
|
874
|
+
background-color: var(--base-white);
|
|
823
875
|
border: 1px solid var(--gray-200);
|
|
824
876
|
box-shadow: var(--shadow-xs);
|
|
825
877
|
}
|
|
@@ -930,6 +982,7 @@ button {
|
|
|
930
982
|
border-radius: 6px;
|
|
931
983
|
cursor: pointer;
|
|
932
984
|
font-size: var(--font-size-xs);
|
|
985
|
+
line-height: var(--line-heights-xs);
|
|
933
986
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
934
987
|
color: var(--gray-700);
|
|
935
988
|
box-shadow: var(--shadow-xs);
|
|
@@ -985,7 +1038,7 @@ button {
|
|
|
985
1038
|
.ncua-dropdown__header-subtitle {
|
|
986
1039
|
font-size: var(--font-size-xxxs);
|
|
987
1040
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
988
|
-
color: var(--gray-
|
|
1041
|
+
color: var(--gray-400);
|
|
989
1042
|
line-height: var(--line-heights-xxxs);
|
|
990
1043
|
}
|
|
991
1044
|
.ncua-dropdown__menu-items {
|
|
@@ -1028,19 +1081,19 @@ button {
|
|
|
1028
1081
|
background-color: var(--gray-50);
|
|
1029
1082
|
}
|
|
1030
1083
|
.ncua-dropdown__item-text-group {
|
|
1084
|
+
flex: 1;
|
|
1031
1085
|
display: flex;
|
|
1032
1086
|
align-items: center;
|
|
1033
1087
|
gap: 8px;
|
|
1034
|
-
|
|
1088
|
+
color: var(--gray-500);
|
|
1035
1089
|
}
|
|
1036
1090
|
.ncua-dropdown__item-icon {
|
|
1037
|
-
width:
|
|
1038
|
-
height:
|
|
1091
|
+
width: 14px;
|
|
1092
|
+
height: 14px;
|
|
1039
1093
|
}
|
|
1040
1094
|
.ncua-dropdown__item-text {
|
|
1041
1095
|
font-size: var(--font-size-xs);
|
|
1042
1096
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
1043
|
-
color: var(--gray-600);
|
|
1044
1097
|
line-height: var(--line-heights-xs);
|
|
1045
1098
|
}
|
|
1046
1099
|
.ncua-dropdown__item-shortcut {
|
|
@@ -1152,7 +1205,6 @@ button {
|
|
|
1152
1205
|
}
|
|
1153
1206
|
.ncua-input input::placeholder,
|
|
1154
1207
|
.ncua-input textarea::placeholder {
|
|
1155
|
-
transform: translateY(1px);
|
|
1156
1208
|
color: var(--gray-300);
|
|
1157
1209
|
}
|
|
1158
1210
|
.ncua-input input:focus,
|
|
@@ -1254,24 +1306,25 @@ button {
|
|
|
1254
1306
|
width: 100%;
|
|
1255
1307
|
}
|
|
1256
1308
|
|
|
1257
|
-
.ncua-input__leading-text {
|
|
1309
|
+
.ncua-input__leading-text-wrap .ncua-input__leading-text {
|
|
1258
1310
|
display: flex;
|
|
1259
1311
|
align-items: center;
|
|
1260
1312
|
background-color: var(--base-white);
|
|
1261
1313
|
border: 1px solid var(--gray-200);
|
|
1262
1314
|
border-radius: 6px 0 0 6px;
|
|
1315
|
+
border-right-width: 0;
|
|
1263
1316
|
color: var(--gray-400);
|
|
1264
1317
|
font-size: var(--font-size-sm);
|
|
1265
|
-
border-width: 1px 0 1px 1px;
|
|
1266
1318
|
}
|
|
1267
|
-
.ncua-input__leading-text--xs {
|
|
1319
|
+
.ncua-input__leading-text-wrap .ncua-input__leading-text--xs {
|
|
1268
1320
|
padding: 5px 10px;
|
|
1269
1321
|
}
|
|
1270
|
-
.ncua-input__leading-text--md {
|
|
1322
|
+
.ncua-input__leading-text-wrap .ncua-input__leading-text--md {
|
|
1271
1323
|
padding: 6px 12px;
|
|
1272
1324
|
}
|
|
1273
|
-
.ncua-input__leading-text + .ncua-input__field {
|
|
1274
|
-
border-radius: 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;
|
|
1275
1328
|
}
|
|
1276
1329
|
|
|
1277
1330
|
.ncua-input__trailing-button .ncua-input__button {
|
|
@@ -1282,7 +1335,7 @@ button {
|
|
|
1282
1335
|
border-radius: 0 6px 6px 0;
|
|
1283
1336
|
border-left-width: 0;
|
|
1284
1337
|
color: var(--gray-700);
|
|
1285
|
-
font-weight: var(--font-
|
|
1338
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
1286
1339
|
}
|
|
1287
1340
|
.ncua-input__trailing-button .ncua-input__button--xs {
|
|
1288
1341
|
padding: 5px 10px;
|
|
@@ -1311,8 +1364,22 @@ button {
|
|
|
1311
1364
|
}
|
|
1312
1365
|
|
|
1313
1366
|
.ncua-input--textarea {
|
|
1314
|
-
font-size: var(--font-size-xxxs);
|
|
1315
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);
|
|
1316
1383
|
}
|
|
1317
1384
|
.ncua-input--textarea .ncua-input__content {
|
|
1318
1385
|
flex-direction: column;
|
|
@@ -1347,11 +1414,18 @@ button {
|
|
|
1347
1414
|
color: var(--primary-red-600);
|
|
1348
1415
|
}
|
|
1349
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
|
+
|
|
1350
1424
|
.ncua-label {
|
|
1351
1425
|
display: flex;
|
|
1352
1426
|
gap: 4px;
|
|
1353
1427
|
color: var(--gray-600);
|
|
1354
|
-
font-weight: var(--font-
|
|
1428
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
1355
1429
|
}
|
|
1356
1430
|
:where(.ncua-label.is-required)::before {
|
|
1357
1431
|
content: "*";
|
|
@@ -1918,6 +1992,10 @@ button {
|
|
|
1918
1992
|
font: inherit;
|
|
1919
1993
|
border-radius: 50%;
|
|
1920
1994
|
}
|
|
1995
|
+
.ncua-radio-input :where(input):not(:disabled):hover {
|
|
1996
|
+
border-color: var(--gray-600);
|
|
1997
|
+
background-color: var(--gray-100);
|
|
1998
|
+
}
|
|
1921
1999
|
.ncua-radio-input :where(input):focus {
|
|
1922
2000
|
border-color: var(--gray-400);
|
|
1923
2001
|
box-shadow: var(--focus-ring-4px-gray-100);
|
|
@@ -1928,6 +2006,7 @@ button {
|
|
|
1928
2006
|
}
|
|
1929
2007
|
.ncua-radio-input :where(input):disabled {
|
|
1930
2008
|
border-color: var(--gray-200);
|
|
2009
|
+
background-color: var(--gray-100);
|
|
1931
2010
|
}
|
|
1932
2011
|
.ncua-radio-input :where(input)::before {
|
|
1933
2012
|
position: absolute;
|
|
@@ -1955,16 +2034,12 @@ button {
|
|
|
1955
2034
|
border-color: var(--primary-red-600);
|
|
1956
2035
|
box-shadow: var(--shadow-xs-focused-4px-error-100);
|
|
1957
2036
|
}
|
|
1958
|
-
.ncua-radio-input:hover {
|
|
1959
|
-
border-color: var(--gray-600);
|
|
1960
|
-
background-color: var(--gray-100);
|
|
1961
|
-
}
|
|
1962
2037
|
|
|
1963
2038
|
.ncua-radio-field {
|
|
1964
2039
|
position: relative;
|
|
1965
|
-
line-height:
|
|
2040
|
+
line-height: var(--line-heights-xs);
|
|
1966
2041
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
1967
|
-
font-size: var(--font-size-
|
|
2042
|
+
font-size: var(--font-size-xs);
|
|
1968
2043
|
cursor: pointer;
|
|
1969
2044
|
}
|
|
1970
2045
|
.ncua-radio-field__text {
|
|
@@ -1975,14 +2050,9 @@ button {
|
|
|
1975
2050
|
.ncua-radio-field__support-text {
|
|
1976
2051
|
color: var(--gray-400);
|
|
1977
2052
|
}
|
|
1978
|
-
.ncua-radio-field
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
border-radius: 4px;
|
|
1982
|
-
}
|
|
1983
|
-
.ncua-radio-field--md {
|
|
1984
|
-
font-size: var(--font-size-2);
|
|
1985
|
-
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);
|
|
1986
2056
|
}
|
|
1987
2057
|
.ncua-radio-field.has-text {
|
|
1988
2058
|
display: inline-flex;
|
|
@@ -1998,7 +2068,6 @@ button {
|
|
|
1998
2068
|
.ncua-tag {
|
|
1999
2069
|
display: inline-flex;
|
|
2000
2070
|
align-items: center;
|
|
2001
|
-
border-radius: 6px;
|
|
2002
2071
|
border: 1px solid var(--gray-200);
|
|
2003
2072
|
color: var(--gray-500);
|
|
2004
2073
|
line-height: 1.5;
|
|
@@ -2011,11 +2080,13 @@ button {
|
|
|
2011
2080
|
font-size: var(--font-size-xxxs);
|
|
2012
2081
|
padding: 2px 8px;
|
|
2013
2082
|
line-height: 14px;
|
|
2083
|
+
border-radius: 4px;
|
|
2014
2084
|
}
|
|
2015
2085
|
.ncua-tag--md {
|
|
2016
2086
|
font-size: var(--font-size-sm);
|
|
2017
2087
|
padding: 1px 9px;
|
|
2018
2088
|
line-height: 22px;
|
|
2089
|
+
border-radius: 6px;
|
|
2019
2090
|
}
|
|
2020
2091
|
.ncua-tag__text {
|
|
2021
2092
|
overflow: hidden;
|
|
@@ -2046,7 +2117,7 @@ button {
|
|
|
2046
2117
|
display: inline-flex;
|
|
2047
2118
|
align-items: center;
|
|
2048
2119
|
min-width: 16px;
|
|
2049
|
-
height:
|
|
2120
|
+
height: 14px;
|
|
2050
2121
|
margin-left: 6px;
|
|
2051
2122
|
margin-right: -5px;
|
|
2052
2123
|
padding: 0 5px;
|
|
@@ -2057,6 +2128,9 @@ button {
|
|
|
2057
2128
|
.ncua-tag__count + .ncua-tag__close {
|
|
2058
2129
|
margin-left: 6px;
|
|
2059
2130
|
}
|
|
2131
|
+
.ncua-tag--md .ncua-tag__count {
|
|
2132
|
+
height: 16px;
|
|
2133
|
+
}
|
|
2060
2134
|
.ncua-tag__close {
|
|
2061
2135
|
margin-left: 3px;
|
|
2062
2136
|
margin-right: -5px;
|
|
@@ -2235,7 +2309,7 @@ button {
|
|
|
2235
2309
|
right: 10px;
|
|
2236
2310
|
width: 14px;
|
|
2237
2311
|
height: 14px;
|
|
2238
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='
|
|
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");
|
|
2239
2313
|
content: "";
|
|
2240
2314
|
transform: translateY(-50%);
|
|
2241
2315
|
}
|
|
@@ -2251,14 +2325,13 @@ button {
|
|
|
2251
2325
|
border: 0;
|
|
2252
2326
|
height: 100%;
|
|
2253
2327
|
flex: 1;
|
|
2254
|
-
padding-right: 42px;
|
|
2255
2328
|
background-color: transparent;
|
|
2256
2329
|
outline: none;
|
|
2257
2330
|
color: var(--gray-700);
|
|
2258
2331
|
}
|
|
2259
2332
|
.ncua-select__content:focus-within {
|
|
2260
2333
|
border-color: var(--gray-400);
|
|
2261
|
-
box-shadow: var(--shadow-xs-focused-
|
|
2334
|
+
box-shadow: var(--shadow-xs-focused-3px-gray-100);
|
|
2262
2335
|
}
|
|
2263
2336
|
.ncua-select.destructive .ncua-select__content {
|
|
2264
2337
|
border-color: var(--primary-red-600);
|
|
@@ -2279,6 +2352,7 @@ button {
|
|
|
2279
2352
|
.ncua-select--xs {
|
|
2280
2353
|
height: var(--select-height-xs);
|
|
2281
2354
|
border-radius: 6px;
|
|
2355
|
+
padding-right: 28px;
|
|
2282
2356
|
}
|
|
2283
2357
|
.ncua-select--xs > .ncua-select__tag {
|
|
2284
2358
|
font-size: var(--font-size-xs);
|
|
@@ -2286,21 +2360,33 @@ button {
|
|
|
2286
2360
|
}
|
|
2287
2361
|
.ncua-select--sm {
|
|
2288
2362
|
height: var(--select-height-sm);
|
|
2289
|
-
border-radius:
|
|
2363
|
+
border-radius: 6px;
|
|
2364
|
+
padding-right: 30px;
|
|
2290
2365
|
}
|
|
2291
2366
|
.ncua-select--sm > .ncua-select__tag {
|
|
2292
2367
|
font-size: var(--font-size-sm);
|
|
2293
2368
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2294
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
|
+
}
|
|
2295
2375
|
.ncua-select--md {
|
|
2296
2376
|
min-width: 132px;
|
|
2297
2377
|
height: var(--select-height-md);
|
|
2298
2378
|
border-radius: 8px;
|
|
2379
|
+
padding-right: 30px;
|
|
2299
2380
|
}
|
|
2300
2381
|
.ncua-select--md > .ncua-select__tag {
|
|
2301
2382
|
font-size: var(--font-size-sm);
|
|
2302
2383
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
2303
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
|
+
}
|
|
2304
2390
|
.ncua-select--simple .ncua-select__content {
|
|
2305
2391
|
padding-inline-start: 0;
|
|
2306
2392
|
border: 0;
|
|
@@ -2457,6 +2543,8 @@ button {
|
|
|
2457
2543
|
padding: 8px 12px;
|
|
2458
2544
|
border-radius: 6px;
|
|
2459
2545
|
font-size: var(--font-size-xxs);
|
|
2546
|
+
line-height: var(--line-heights-xxs);
|
|
2547
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
2460
2548
|
border: 1px solid var(--gray-200);
|
|
2461
2549
|
box-shadow: var(--shadow-lg);
|
|
2462
2550
|
}
|
|
@@ -2642,9 +2730,6 @@ button {
|
|
|
2642
2730
|
.ncua-toggle--md.ncua-toggle--checked .ncua-toggle__slider {
|
|
2643
2731
|
transform: translateX(var(--toggle-md-translate));
|
|
2644
2732
|
}
|
|
2645
|
-
.ncua-toggle--disabled {
|
|
2646
|
-
cursor: not-allowed;
|
|
2647
|
-
}
|
|
2648
2733
|
.ncua-toggle:not(.ncua-toggle--disabled):hover .ncua-toggle__switch {
|
|
2649
2734
|
background-color: var(--gray-300);
|
|
2650
2735
|
}
|
|
@@ -2660,10 +2745,19 @@ button {
|
|
|
2660
2745
|
.ncua-toggle__input:focus + .ncua-toggle__switch {
|
|
2661
2746
|
box-shadow: var(--toggle-focus-shadow);
|
|
2662
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
|
+
}
|
|
2663
2757
|
|
|
2664
2758
|
.ncua-date-picker {
|
|
2665
2759
|
position: relative;
|
|
2666
|
-
display: inline-
|
|
2760
|
+
display: inline-flex;
|
|
2667
2761
|
}
|
|
2668
2762
|
.ncua-date-picker .flatpickr-wrapper {
|
|
2669
2763
|
border: 1px solid var(--gray-200);
|
|
@@ -2873,6 +2967,12 @@ button {
|
|
|
2873
2967
|
gap: 8px;
|
|
2874
2968
|
}
|
|
2875
2969
|
|
|
2970
|
+
.ncua-range-date-picker-with-buttons {
|
|
2971
|
+
display: inline-flex;
|
|
2972
|
+
align-items: center;
|
|
2973
|
+
gap: 16px;
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2876
2976
|
.ncua-carousel-number-group {
|
|
2877
2977
|
display: inline-flex;
|
|
2878
2978
|
align-items: center;
|
|
@@ -2931,13 +3031,13 @@ button {
|
|
|
2931
3031
|
.ncua-breadcrumb {
|
|
2932
3032
|
display: flex;
|
|
2933
3033
|
align-items: center;
|
|
2934
|
-
font-size: var(--font-size-
|
|
3034
|
+
font-size: var(--font-size-xs);
|
|
2935
3035
|
}
|
|
2936
3036
|
.ncua-breadcrumb__list {
|
|
2937
3037
|
display: flex;
|
|
2938
3038
|
flex-wrap: wrap;
|
|
2939
3039
|
align-items: center;
|
|
2940
|
-
gap:
|
|
3040
|
+
gap: 32px;
|
|
2941
3041
|
padding: 0;
|
|
2942
3042
|
margin: 0;
|
|
2943
3043
|
list-style: none;
|
|
@@ -2947,23 +3047,26 @@ button {
|
|
|
2947
3047
|
display: flex;
|
|
2948
3048
|
align-items: center;
|
|
2949
3049
|
height: 28px;
|
|
2950
|
-
padding: 4px
|
|
3050
|
+
padding: 4px 6px;
|
|
2951
3051
|
color: var(--gray-400);
|
|
2952
3052
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
2953
3053
|
cursor: pointer;
|
|
2954
3054
|
}
|
|
3055
|
+
.ncua-breadcrumb__list-item:first-child {
|
|
3056
|
+
height: 24px;
|
|
3057
|
+
padding: 4px;
|
|
3058
|
+
}
|
|
2955
3059
|
.ncua-breadcrumb__list-item--active {
|
|
2956
3060
|
color: var(--gray-600);
|
|
2957
3061
|
}
|
|
2958
|
-
.ncua-breadcrumb__list-item:hover
|
|
2959
|
-
color: var(--gray-600);
|
|
3062
|
+
.ncua-breadcrumb__list-item:hover {
|
|
2960
3063
|
background-color: var(--gray-100);
|
|
2961
3064
|
border-radius: 4px;
|
|
2962
3065
|
}
|
|
2963
3066
|
.ncua-breadcrumb__list-item:not(:last-child)::after {
|
|
2964
3067
|
content: "";
|
|
2965
3068
|
position: absolute;
|
|
2966
|
-
right: -
|
|
3069
|
+
right: -24px;
|
|
2967
3070
|
top: 50%;
|
|
2968
3071
|
transform: translateY(-50%);
|
|
2969
3072
|
display: inline-block;
|
|
@@ -3124,10 +3227,12 @@ button {
|
|
|
3124
3227
|
transform: translateX(-50%);
|
|
3125
3228
|
transition: left 0.3s ease;
|
|
3126
3229
|
height: 32px;
|
|
3127
|
-
padding:
|
|
3230
|
+
padding: 0 12px;
|
|
3231
|
+
line-height: 32px;
|
|
3128
3232
|
background-color: var(--base-white);
|
|
3129
3233
|
border-radius: 6px;
|
|
3130
3234
|
border: 1px solid var(--gray-100);
|
|
3235
|
+
font-size: var(--font-size-xxs);
|
|
3131
3236
|
box-shadow: var(--shadow-lg);
|
|
3132
3237
|
}
|
|
3133
3238
|
.ncua-progress-bar__label-top-float {
|
|
@@ -3165,6 +3270,7 @@ button {
|
|
|
3165
3270
|
.ncua-tab-button {
|
|
3166
3271
|
display: inline-flex;
|
|
3167
3272
|
gap: 8px;
|
|
3273
|
+
align-items: center;
|
|
3168
3274
|
justify-content: center;
|
|
3169
3275
|
width: 100%;
|
|
3170
3276
|
font-weight: var(--font-weights-commerce-sans-2);
|
|
@@ -3177,17 +3283,17 @@ button {
|
|
|
3177
3283
|
color: var(--gray-700);
|
|
3178
3284
|
}
|
|
3179
3285
|
.ncua-tab-button--xs {
|
|
3180
|
-
padding:
|
|
3286
|
+
padding: 5px 12px;
|
|
3181
3287
|
height: 34px;
|
|
3182
3288
|
font-size: var(--font-size-xs);
|
|
3183
3289
|
}
|
|
3184
3290
|
.ncua-tab-button--sm {
|
|
3185
|
-
padding:
|
|
3291
|
+
padding: 7px 12px;
|
|
3186
3292
|
height: 38px;
|
|
3187
3293
|
font-size: var(--font-size-sm);
|
|
3188
3294
|
}
|
|
3189
3295
|
.ncua-tab-button--md {
|
|
3190
|
-
padding: 14px;
|
|
3296
|
+
padding: 9px 14px;
|
|
3191
3297
|
height: 44px;
|
|
3192
3298
|
font-size: var(--font-size-md);
|
|
3193
3299
|
}
|
|
@@ -3244,9 +3350,6 @@ button {
|
|
|
3244
3350
|
.ncua-tab-button--line-vertical:hover, .ncua-tab-button--line-vertical.is-active, .ncua-tab-button--line-vertical.is-active:focus {
|
|
3245
3351
|
box-shadow: -2px 0 var(--gray-700);
|
|
3246
3352
|
}
|
|
3247
|
-
.ncua-tab-button .ncua-badge {
|
|
3248
|
-
transform: translateY(-1px);
|
|
3249
|
-
}
|
|
3250
3353
|
|
|
3251
3354
|
.ncua-horizontal-tab {
|
|
3252
3355
|
position: relative;
|