@ncds/ui-admin 0.0.31 → 0.0.33
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/constant/color.js +1 -0
- package/dist/cjs/src/components/badge/Badge.js +13 -24
- package/dist/cjs/src/components/badge/BadgeGroup.js +62 -0
- package/dist/cjs/src/components/badge/index.js +11 -0
- package/dist/cjs/src/components/badge/utils.js +33 -0
- package/dist/cjs/src/components/button/ButtonCloseX.js +44 -0
- package/dist/cjs/src/components/date-picker/DatePicker.js +4 -5
- package/dist/cjs/src/components/date-picker/RangeDatePicker.js +13 -7
- package/dist/cjs/src/components/dropdown/Dropdown.js +20 -10
- package/dist/cjs/src/components/modal/Modal.js +5 -7
- package/dist/cjs/src/components/notification/FloatingNotification.js +30 -26
- package/dist/cjs/src/components/notification/FullWidthNotification.js +15 -8
- package/dist/cjs/src/components/notification/Notification.js +9 -30
- package/dist/cjs/src/components/notification/index.js +11 -11
- package/dist/cjs/src/constant/breakpoint.js +12 -0
- package/dist/cjs/src/hooks/useMediaQuery.js +29 -0
- package/dist/esm/constant/color.js +1 -0
- package/dist/esm/src/components/badge/Badge.js +13 -24
- package/dist/esm/src/components/badge/BadgeGroup.js +54 -0
- package/dist/esm/src/components/badge/index.js +2 -1
- package/dist/esm/src/components/badge/utils.js +25 -0
- package/dist/esm/src/components/button/ButtonCloseX.js +36 -0
- package/dist/esm/src/components/date-picker/DatePicker.js +5 -5
- package/dist/esm/src/components/date-picker/RangeDatePicker.js +14 -7
- package/dist/esm/src/components/dropdown/Dropdown.js +20 -10
- package/dist/esm/src/components/modal/Modal.js +5 -7
- package/dist/esm/src/components/notification/FloatingNotification.js +31 -27
- package/dist/esm/src/components/notification/FullWidthNotification.js +15 -8
- package/dist/esm/src/components/notification/Notification.js +10 -30
- package/dist/esm/src/components/notification/index.js +2 -2
- package/dist/esm/src/constant/breakpoint.js +6 -0
- package/dist/esm/src/hooks/useMediaQuery.js +22 -0
- package/dist/types/constant/color.d.ts +1 -0
- package/dist/types/src/components/badge/BadgeGroup.d.ts +17 -0
- package/dist/types/src/components/badge/index.d.ts +1 -0
- package/dist/types/src/components/badge/utils.d.ts +7 -0
- package/dist/types/src/components/button/Button.d.ts +1 -1
- package/dist/types/src/components/button/ButtonCloseX.d.ts +9 -0
- package/dist/types/src/components/button/ButtonGroup.d.ts +2 -2
- package/dist/types/src/components/date-picker/DatePicker.d.ts +2 -2
- package/dist/types/src/components/date-picker/RangeDatePicker.d.ts +1 -1
- package/dist/types/src/components/dropdown/Dropdown.d.ts +4 -1
- package/dist/types/src/components/modal/Modal.d.ts +1 -1
- package/dist/types/src/components/notification/FloatingNotification.d.ts +3 -4
- package/dist/types/src/components/notification/FullWidthNotification.d.ts +3 -4
- package/dist/types/src/components/notification/Notification.d.ts +5 -4
- package/dist/types/src/components/notification/index.d.ts +1 -1
- package/dist/types/src/constant/breakpoint.d.ts +7 -0
- package/dist/types/src/hooks/useMediaQuery.d.ts +6 -0
- package/dist/ui-admin/assets/styles/style.css +171 -136
- package/package.json +2 -2
|
@@ -501,6 +501,7 @@ button {
|
|
|
501
501
|
color: var(--gray-400);
|
|
502
502
|
}
|
|
503
503
|
.ncua-button-group__item {
|
|
504
|
+
position: relative;
|
|
504
505
|
cursor: pointer;
|
|
505
506
|
color: inherit;
|
|
506
507
|
border: none;
|
|
@@ -516,7 +517,6 @@ button {
|
|
|
516
517
|
text-decoration: none;
|
|
517
518
|
}
|
|
518
519
|
.ncua-button-group__item[href]:hover {
|
|
519
|
-
color: inherit;
|
|
520
520
|
text-decoration: none;
|
|
521
521
|
}
|
|
522
522
|
.ncua-button-group__item:first-child {
|
|
@@ -525,41 +525,16 @@ button {
|
|
|
525
525
|
.ncua-button-group__item:last-child {
|
|
526
526
|
padding-right: 0;
|
|
527
527
|
}
|
|
528
|
-
.ncua-button-group__item.is-
|
|
529
|
-
color: var(--gray-200);
|
|
530
|
-
}
|
|
531
|
-
.ncua-button-group__item.is-current {
|
|
532
|
-
color: var(--gray-600);
|
|
533
|
-
}
|
|
534
|
-
:where(.ncua-button-group.has-border) {
|
|
535
|
-
box-shadow: var(--shadow-xs);
|
|
536
|
-
border: 1px solid var(--gray-200);
|
|
537
|
-
}
|
|
538
|
-
:where(.ncua-button-group.has-border) .ncua-button-group__item:hover {
|
|
539
|
-
background-color: var(--gray-50);
|
|
540
|
-
}
|
|
541
|
-
:where(.ncua-button-group.has-border) .ncua-button-group__item:focus {
|
|
542
|
-
color: var(--gray-600);
|
|
543
|
-
}
|
|
544
|
-
:where(.ncua-button-group.has-border) .ncua-button-group__item.is-current {
|
|
528
|
+
.ncua-button-group__item.is-current, .ncua-button-group__item:hover, .ncua-button-group__item:focus {
|
|
545
529
|
color: var(--gray-600);
|
|
546
|
-
background-color: var(--gray-50);
|
|
547
|
-
}
|
|
548
|
-
:where(.ncua-button-group.has-border) .ncua-button-group__item:nth-child(n+2) {
|
|
549
|
-
border-left: 1px solid var(--gray-200);
|
|
550
|
-
}
|
|
551
|
-
:where(.ncua-button-group.has-border) .ncua-button-group__item svg {
|
|
552
|
-
display: block;
|
|
553
530
|
}
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
position: relative;
|
|
557
|
-
background-color: transparent;
|
|
531
|
+
.ncua-button-group__item:disabled, .ncua-button-group__item:disabled:hover, .ncua-button-group__item:disabled:focus, .ncua-button-group__item.is-disabled, .ncua-button-group__item.is-disabled:hover, .ncua-button-group__item.is-disabled:focus {
|
|
532
|
+
color: var(--gray-200);
|
|
558
533
|
}
|
|
559
|
-
.ncua-button-
|
|
534
|
+
.ncua-button-group__item + .ncua-button-group__item::after {
|
|
560
535
|
content: "";
|
|
561
536
|
position: absolute;
|
|
562
|
-
|
|
537
|
+
left: 0;
|
|
563
538
|
top: 50%;
|
|
564
539
|
transform: translateY(-50%);
|
|
565
540
|
width: 1px;
|
|
@@ -572,7 +547,10 @@ button {
|
|
|
572
547
|
line-height: var(--line-heights-xxxs);
|
|
573
548
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
574
549
|
}
|
|
575
|
-
.ncua-button-group--xs .ncua-button-group__item.is-
|
|
550
|
+
:where(.ncua-button-group--xs .ncua-button-group__item.is-current, .ncua-button-group--xs .ncua-button-group__item:hover, .ncua-button-group--xs .ncua-button-group__item:focus) {
|
|
551
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
552
|
+
}
|
|
553
|
+
.ncua-button-group--xs .ncua-button-group__item:where(.is-only-icon) {
|
|
576
554
|
padding: 6px;
|
|
577
555
|
}
|
|
578
556
|
:where(.ncua-button-group--xs.has-border) {
|
|
@@ -585,7 +563,10 @@ button {
|
|
|
585
563
|
line-height: var(--line-heights-xs);
|
|
586
564
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
587
565
|
}
|
|
588
|
-
.ncua-button-group--sm .ncua-button-group__item.is-
|
|
566
|
+
:where(.ncua-button-group--sm .ncua-button-group__item.is-current, .ncua-button-group--sm .ncua-button-group__item:hover, .ncua-button-group--sm .ncua-button-group__item:focus) {
|
|
567
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
568
|
+
}
|
|
569
|
+
.ncua-button-group--sm .ncua-button-group__item:where(.is-only-icon) {
|
|
589
570
|
padding: 6px;
|
|
590
571
|
}
|
|
591
572
|
:where(.ncua-button-group--sm.has-border) {
|
|
@@ -598,7 +579,10 @@ button {
|
|
|
598
579
|
line-height: var(--line-heights-sm);
|
|
599
580
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
600
581
|
}
|
|
601
|
-
.ncua-button-group--md .ncua-button-group__item.is-
|
|
582
|
+
:where(.ncua-button-group--md .ncua-button-group__item.is-current, .ncua-button-group--md .ncua-button-group__item:hover, .ncua-button-group--md .ncua-button-group__item:focus) {
|
|
583
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
584
|
+
}
|
|
585
|
+
.ncua-button-group--md .ncua-button-group__item:where(.is-only-icon) {
|
|
602
586
|
padding: 10px;
|
|
603
587
|
}
|
|
604
588
|
:where(.ncua-button-group--md.has-border) {
|
|
@@ -611,48 +595,73 @@ button {
|
|
|
611
595
|
line-height: var(--line-heights-sm);
|
|
612
596
|
font-weight: var(--font-weights-commerce-sans-2);
|
|
613
597
|
}
|
|
614
|
-
.ncua-button-group--lg .ncua-button-group__item.is-
|
|
598
|
+
:where(.ncua-button-group--lg .ncua-button-group__item.is-current, .ncua-button-group--lg .ncua-button-group__item:hover, .ncua-button-group--lg .ncua-button-group__item:focus) {
|
|
599
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
600
|
+
}
|
|
601
|
+
.ncua-button-group--lg .ncua-button-group__item:where(.is-only-icon) {
|
|
615
602
|
padding: 10px;
|
|
616
603
|
}
|
|
617
604
|
:where(.ncua-button-group--lg.has-border) {
|
|
618
605
|
border-radius: 8px;
|
|
619
606
|
}
|
|
620
607
|
|
|
621
|
-
.ncua-
|
|
608
|
+
:where(.ncua-button-group.has-border) {
|
|
609
|
+
box-shadow: var(--shadow-xs);
|
|
610
|
+
border: 1px solid var(--gray-200);
|
|
611
|
+
}
|
|
612
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item + .ncua-button-group__item::after {
|
|
613
|
+
content: none;
|
|
614
|
+
}
|
|
615
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item.is-current, :where(.ncua-button-group.has-border) .ncua-button-group__item:focus, :where(.ncua-button-group.has-border) .ncua-button-group__item:hover {
|
|
616
|
+
background-color: var(--gray-50);
|
|
617
|
+
}
|
|
618
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item:nth-child(n+2) {
|
|
619
|
+
border-left: 1px solid var(--gray-200);
|
|
620
|
+
}
|
|
621
|
+
:where(.ncua-button-group.has-border) .ncua-button-group__item svg {
|
|
622
|
+
display: block;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.ncua-button-close-x {
|
|
622
626
|
display: inline-flex;
|
|
623
627
|
align-items: center;
|
|
624
628
|
justify-content: center;
|
|
625
629
|
color: var(--gray-400);
|
|
626
630
|
border-radius: 8px;
|
|
627
631
|
cursor: pointer;
|
|
632
|
+
background-color: transparent;
|
|
628
633
|
}
|
|
629
|
-
.ncua-
|
|
634
|
+
.ncua-button-close-x:hover {
|
|
630
635
|
background-color: var(--gray-50);
|
|
631
636
|
color: var(--gray-500);
|
|
632
637
|
}
|
|
633
|
-
.ncua-
|
|
638
|
+
.ncua-button-close-x:focus {
|
|
634
639
|
background-color: var(--gray-50);
|
|
635
640
|
}
|
|
636
|
-
.ncua-
|
|
641
|
+
.ncua-button-close-x--xs {
|
|
642
|
+
width: 28px;
|
|
643
|
+
height: 28px;
|
|
644
|
+
}
|
|
645
|
+
.ncua-button-close-x--sm {
|
|
637
646
|
width: 36px;
|
|
638
647
|
height: 36px;
|
|
639
648
|
}
|
|
640
|
-
.ncua-
|
|
649
|
+
.ncua-button-close-x--md {
|
|
641
650
|
width: 40px;
|
|
642
651
|
height: 40px;
|
|
643
652
|
}
|
|
644
|
-
.ncua-
|
|
653
|
+
.ncua-button-close-x--lg {
|
|
645
654
|
width: 44px;
|
|
646
655
|
height: 44px;
|
|
647
656
|
}
|
|
648
|
-
.ncua-
|
|
657
|
+
.ncua-button-close-x--dark {
|
|
649
658
|
color: var(--gray-100);
|
|
650
659
|
}
|
|
651
|
-
.ncua-
|
|
660
|
+
.ncua-button-close-x--dark:hover {
|
|
652
661
|
color: var(--base-white);
|
|
653
662
|
background-color: rgba(255, 255, 255, 0.2);
|
|
654
663
|
}
|
|
655
|
-
.ncua-
|
|
664
|
+
.ncua-button-close-x--dark:focus {
|
|
656
665
|
color: var(--gray-100);
|
|
657
666
|
background-color: rgba(255, 255, 255, 0.2);
|
|
658
667
|
}
|
|
@@ -665,6 +674,7 @@ button {
|
|
|
665
674
|
height: 16px;
|
|
666
675
|
line-height: 1;
|
|
667
676
|
background-color: var(--base-white);
|
|
677
|
+
border-radius: 4px;
|
|
668
678
|
}
|
|
669
679
|
.ncua-checkbox-input :where(input) {
|
|
670
680
|
position: absolute;
|
|
@@ -976,8 +986,9 @@ button {
|
|
|
976
986
|
cursor: pointer;
|
|
977
987
|
padding: 0;
|
|
978
988
|
background: none;
|
|
979
|
-
display:
|
|
980
|
-
|
|
989
|
+
display: flex;
|
|
990
|
+
align-items: center;
|
|
991
|
+
justify-content: center;
|
|
981
992
|
}
|
|
982
993
|
.ncua-dropdown__trigger--icon {
|
|
983
994
|
width: 20px;
|
|
@@ -1196,12 +1207,6 @@ button {
|
|
|
1196
1207
|
align-items: center;
|
|
1197
1208
|
background-color: var(--base-white);
|
|
1198
1209
|
border: 1px solid var(--gray-200);
|
|
1199
|
-
position: relative;
|
|
1200
|
-
flex: 1;
|
|
1201
|
-
display: flex;
|
|
1202
|
-
align-items: center;
|
|
1203
|
-
justify-content: space-between;
|
|
1204
|
-
line-height: 1;
|
|
1205
1210
|
}
|
|
1206
1211
|
.ncua-input__field--xs {
|
|
1207
1212
|
padding: 5px 10px;
|
|
@@ -1209,6 +1214,14 @@ button {
|
|
|
1209
1214
|
.ncua-input__field--md {
|
|
1210
1215
|
padding: 6px 12px;
|
|
1211
1216
|
}
|
|
1217
|
+
.ncua-input__field {
|
|
1218
|
+
position: relative;
|
|
1219
|
+
flex: 1;
|
|
1220
|
+
display: flex;
|
|
1221
|
+
align-items: center;
|
|
1222
|
+
justify-content: space-between;
|
|
1223
|
+
line-height: 1;
|
|
1224
|
+
}
|
|
1212
1225
|
.ncua-input:focus-within :where(.ncua-input__field) {
|
|
1213
1226
|
border-color: var(--gray-400);
|
|
1214
1227
|
box-shadow: var(--shadow-xs-focused-3px-gray-100);
|
|
@@ -1348,10 +1361,6 @@ button {
|
|
|
1348
1361
|
align-items: center;
|
|
1349
1362
|
background-color: var(--base-white);
|
|
1350
1363
|
border: 1px solid var(--gray-200);
|
|
1351
|
-
border-radius: 6px 0 0 6px;
|
|
1352
|
-
border-right-width: 0;
|
|
1353
|
-
color: var(--gray-400);
|
|
1354
|
-
font-size: var(--font-size-sm);
|
|
1355
1364
|
}
|
|
1356
1365
|
.ncua-input__leading-text-wrap .ncua-input__leading-text--xs {
|
|
1357
1366
|
padding: 5px 10px;
|
|
@@ -1359,9 +1368,16 @@ button {
|
|
|
1359
1368
|
.ncua-input__leading-text-wrap .ncua-input__leading-text--md {
|
|
1360
1369
|
padding: 6px 12px;
|
|
1361
1370
|
}
|
|
1371
|
+
.ncua-input__leading-text-wrap .ncua-input__leading-text {
|
|
1372
|
+
border-radius: 6px 0 0 6px;
|
|
1373
|
+
border-right-width: 0;
|
|
1374
|
+
color: var(--gray-400);
|
|
1375
|
+
font-size: var(--font-size-sm);
|
|
1376
|
+
}
|
|
1362
1377
|
.ncua-input__leading-text-wrap .ncua-input__leading-text + .ncua-input__field {
|
|
1363
1378
|
border-top-left-radius: 0;
|
|
1364
1379
|
border-bottom-left-radius: 0;
|
|
1380
|
+
margin-left: -1px;
|
|
1365
1381
|
}
|
|
1366
1382
|
|
|
1367
1383
|
.ncua-input__trailing-button .ncua-input__button {
|
|
@@ -1369,10 +1385,6 @@ button {
|
|
|
1369
1385
|
align-items: center;
|
|
1370
1386
|
background-color: var(--base-white);
|
|
1371
1387
|
border: 1px solid var(--gray-200);
|
|
1372
|
-
border-radius: 0 6px 6px 0;
|
|
1373
|
-
border-left-width: 0;
|
|
1374
|
-
color: var(--gray-700);
|
|
1375
|
-
font-weight: var(--font-weights-commerce-sans-2);
|
|
1376
1388
|
}
|
|
1377
1389
|
.ncua-input__trailing-button .ncua-input__button--xs {
|
|
1378
1390
|
padding: 5px 10px;
|
|
@@ -1380,11 +1392,17 @@ button {
|
|
|
1380
1392
|
.ncua-input__trailing-button .ncua-input__button--md {
|
|
1381
1393
|
padding: 6px 12px;
|
|
1382
1394
|
}
|
|
1395
|
+
.ncua-input__trailing-button .ncua-input__button {
|
|
1396
|
+
border-radius: 0 6px 6px 0;
|
|
1397
|
+
border-left-width: 0;
|
|
1398
|
+
color: var(--gray-700);
|
|
1399
|
+
font-weight: var(--font-weights-commerce-sans-2);
|
|
1400
|
+
}
|
|
1383
1401
|
.ncua-input__trailing-button .ncua-input__button:not(:disabled) {
|
|
1384
1402
|
cursor: pointer;
|
|
1385
1403
|
}
|
|
1386
1404
|
.ncua-input__trailing-button .ncua-input__button--xs {
|
|
1387
|
-
padding:
|
|
1405
|
+
padding: 4px 10px;
|
|
1388
1406
|
font-size: var(--font-size-xs);
|
|
1389
1407
|
line-height: var(--line-heights-xs);
|
|
1390
1408
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
@@ -1398,6 +1416,7 @@ button {
|
|
|
1398
1416
|
.ncua-input__trailing-button .ncua-input__field {
|
|
1399
1417
|
border-top-right-radius: 0;
|
|
1400
1418
|
border-bottom-right-radius: 0;
|
|
1419
|
+
margin-right: -1px;
|
|
1401
1420
|
}
|
|
1402
1421
|
|
|
1403
1422
|
.ncua-input--textarea {
|
|
@@ -1552,7 +1571,7 @@ button {
|
|
|
1552
1571
|
flex: 1;
|
|
1553
1572
|
}
|
|
1554
1573
|
.ncua-modal__header--close-button.ncua-modal__header--left {
|
|
1555
|
-
padding: 20px 56px 20px
|
|
1574
|
+
padding: 20px 56px 20px 20px;
|
|
1556
1575
|
}
|
|
1557
1576
|
|
|
1558
1577
|
.ncua-modal__title {
|
|
@@ -1578,19 +1597,6 @@ button {
|
|
|
1578
1597
|
position: absolute;
|
|
1579
1598
|
top: 10px;
|
|
1580
1599
|
right: 16px;
|
|
1581
|
-
display: flex;
|
|
1582
|
-
align-items: center;
|
|
1583
|
-
justify-content: center;
|
|
1584
|
-
background: transparent;
|
|
1585
|
-
border: none;
|
|
1586
|
-
cursor: pointer;
|
|
1587
|
-
padding: 8px;
|
|
1588
|
-
color: var(--gray-400);
|
|
1589
|
-
border-radius: 8px;
|
|
1590
|
-
}
|
|
1591
|
-
.ncua-modal__close-button svg {
|
|
1592
|
-
width: 20px;
|
|
1593
|
-
height: 20px;
|
|
1594
1600
|
}
|
|
1595
1601
|
|
|
1596
1602
|
.ncua-modal__content {
|
|
@@ -1760,24 +1766,8 @@ button {
|
|
|
1760
1766
|
}
|
|
1761
1767
|
.ncua-floating-notification__close-button {
|
|
1762
1768
|
position: absolute;
|
|
1763
|
-
top:
|
|
1764
|
-
right:
|
|
1765
|
-
display: grid;
|
|
1766
|
-
place-items: center;
|
|
1767
|
-
background: transparent;
|
|
1768
|
-
border: none;
|
|
1769
|
-
padding: 8px;
|
|
1770
|
-
color: var(--gray-400);
|
|
1771
|
-
}
|
|
1772
|
-
.ncua-floating-notification__close-button svg {
|
|
1773
|
-
width: 20px;
|
|
1774
|
-
height: 20px;
|
|
1775
|
-
}
|
|
1776
|
-
@media (max-width: 768px) {
|
|
1777
|
-
.ncua-floating-notification__close-button svg {
|
|
1778
|
-
width: 24px;
|
|
1779
|
-
height: 24px;
|
|
1780
|
-
}
|
|
1769
|
+
top: 12px;
|
|
1770
|
+
right: 12px;
|
|
1781
1771
|
}
|
|
1782
1772
|
.ncua-floating-notification .ncua-notification__action-button {
|
|
1783
1773
|
min-height: 20px;
|
|
@@ -1802,22 +1792,6 @@ button {
|
|
|
1802
1792
|
color: var(--blue-500);
|
|
1803
1793
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
1804
1794
|
}
|
|
1805
|
-
.ncua-floating-notification__pc-icon {
|
|
1806
|
-
display: flex;
|
|
1807
|
-
}
|
|
1808
|
-
@media (max-width: 768px) {
|
|
1809
|
-
.ncua-floating-notification__pc-icon {
|
|
1810
|
-
display: none;
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
.ncua-floating-notification__mobile-icon {
|
|
1814
|
-
display: none;
|
|
1815
|
-
}
|
|
1816
|
-
@media (max-width: 768px) {
|
|
1817
|
-
.ncua-floating-notification__mobile-icon {
|
|
1818
|
-
display: flex;
|
|
1819
|
-
}
|
|
1820
|
-
}
|
|
1821
1795
|
|
|
1822
1796
|
.ncua-full-width-notification {
|
|
1823
1797
|
width: 100%;
|
|
@@ -2015,6 +1989,7 @@ button {
|
|
|
2015
1989
|
height: 16px;
|
|
2016
1990
|
line-height: 1;
|
|
2017
1991
|
background-color: var(--base-white);
|
|
1992
|
+
border-radius: 50%;
|
|
2018
1993
|
}
|
|
2019
1994
|
.ncua-radio-input :where(input) {
|
|
2020
1995
|
position: absolute;
|
|
@@ -2168,6 +2143,8 @@ button {
|
|
|
2168
2143
|
|
|
2169
2144
|
.ncua-tooltip {
|
|
2170
2145
|
position: relative;
|
|
2146
|
+
}
|
|
2147
|
+
.ncua-tooltip {
|
|
2171
2148
|
font-size: var(--font-size-xxs);
|
|
2172
2149
|
}
|
|
2173
2150
|
.ncua-tooltip svg {
|
|
@@ -2319,23 +2296,23 @@ button {
|
|
|
2319
2296
|
}
|
|
2320
2297
|
|
|
2321
2298
|
.ncua-select__content {
|
|
2322
|
-
position: relative;
|
|
2323
2299
|
display: flex;
|
|
2324
2300
|
align-items: center;
|
|
2325
2301
|
padding-inline-start: 14px;
|
|
2326
2302
|
border: 1px solid var(--gray-200);
|
|
2327
2303
|
background-color: var(--base-white);
|
|
2328
2304
|
overflow: hidden;
|
|
2305
|
+
position: relative;
|
|
2329
2306
|
}
|
|
2330
2307
|
.ncua-select__content::after {
|
|
2331
|
-
position: absolute;
|
|
2332
|
-
top: 50%;
|
|
2333
|
-
right: 10px;
|
|
2334
2308
|
width: 14px;
|
|
2335
2309
|
height: 14px;
|
|
2336
2310
|
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");
|
|
2337
2311
|
content: "";
|
|
2338
2312
|
transform: translateY(-50%);
|
|
2313
|
+
position: absolute;
|
|
2314
|
+
top: 50%;
|
|
2315
|
+
right: 10px;
|
|
2339
2316
|
}
|
|
2340
2317
|
.ncua-select__icon {
|
|
2341
2318
|
margin-right: 8px;
|
|
@@ -2371,9 +2348,12 @@ button {
|
|
|
2371
2348
|
.ncua-select--xs > .ncua-select__tag {
|
|
2372
2349
|
font-size: var(--font-size-xs);
|
|
2373
2350
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2351
|
+
line-height: var(--line-heights-xs);
|
|
2374
2352
|
}
|
|
2375
2353
|
.ncua-select--xs + .ncua-hint-text {
|
|
2376
2354
|
margin-block-start: 4px;
|
|
2355
|
+
font-size: var(--font-size-xxs);
|
|
2356
|
+
line-height: var(--line-heights-xxs);
|
|
2377
2357
|
}
|
|
2378
2358
|
.ncua-select--sm {
|
|
2379
2359
|
height: var(--select-height-sm);
|
|
@@ -2383,9 +2363,12 @@ button {
|
|
|
2383
2363
|
.ncua-select--sm > .ncua-select__tag {
|
|
2384
2364
|
font-size: var(--font-size-sm);
|
|
2385
2365
|
font-weight: var(--font-weights-commerce-sans-0);
|
|
2366
|
+
line-height: var(--line-heights-sm);
|
|
2386
2367
|
}
|
|
2387
2368
|
.ncua-select--sm + .ncua-hint-text {
|
|
2388
2369
|
margin-block-start: 6px;
|
|
2370
|
+
font-size: var(--font-size-xs);
|
|
2371
|
+
line-height: var(--line-heights-xs);
|
|
2389
2372
|
}
|
|
2390
2373
|
.ncua-select--sm.ncua-select__content::after {
|
|
2391
2374
|
width: 16px;
|
|
@@ -2401,9 +2384,12 @@ button {
|
|
|
2401
2384
|
.ncua-select--md > .ncua-select__tag {
|
|
2402
2385
|
font-size: var(--font-size-sm);
|
|
2403
2386
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
2387
|
+
line-height: var(--line-heights-sm);
|
|
2404
2388
|
}
|
|
2405
2389
|
.ncua-select--md + .ncua-hint-text {
|
|
2406
2390
|
margin-block-start: 6px;
|
|
2391
|
+
font-size: var(--font-size-xs);
|
|
2392
|
+
line-height: var(--line-heights-xs);
|
|
2407
2393
|
}
|
|
2408
2394
|
.ncua-select--md.ncua-select__content::after {
|
|
2409
2395
|
width: 16px;
|
|
@@ -2413,9 +2399,7 @@ button {
|
|
|
2413
2399
|
.ncua-select--simple .ncua-select__content {
|
|
2414
2400
|
padding-inline-start: 0;
|
|
2415
2401
|
border: 0;
|
|
2416
|
-
|
|
2417
|
-
.ncua-select--simple .ncua-select__content::after {
|
|
2418
|
-
right: 0;
|
|
2402
|
+
background-color: transparent;
|
|
2419
2403
|
}
|
|
2420
2404
|
.ncua-select--simple .ncua-select--xs {
|
|
2421
2405
|
min-width: auto;
|
|
@@ -2432,14 +2416,6 @@ button {
|
|
|
2432
2416
|
height: var(--select-simple-height-md);
|
|
2433
2417
|
border-radius: 0;
|
|
2434
2418
|
}
|
|
2435
|
-
.ncua-select--simple select {
|
|
2436
|
-
padding-right: 18px;
|
|
2437
|
-
}
|
|
2438
|
-
.ncua-select .ncua-hint-text {
|
|
2439
|
-
font-size: var(--font-size-xxs);
|
|
2440
|
-
line-height: var(--line-heights-xxs);
|
|
2441
|
-
color: var(--gray-400);
|
|
2442
|
-
}
|
|
2443
2419
|
|
|
2444
2420
|
.ncua-pagination {
|
|
2445
2421
|
display: flex;
|
|
@@ -3208,6 +3184,65 @@ button {
|
|
|
3208
3184
|
background-color: var(--gray-100);
|
|
3209
3185
|
}
|
|
3210
3186
|
|
|
3187
|
+
.ncua-badge-group {
|
|
3188
|
+
display: inline-flex;
|
|
3189
|
+
align-items: center;
|
|
3190
|
+
padding: 3px 10px 3px 4px;
|
|
3191
|
+
border-radius: 16px;
|
|
3192
|
+
cursor: pointer;
|
|
3193
|
+
}
|
|
3194
|
+
.ncua-badge-group__label {
|
|
3195
|
+
margin-left: 8px;
|
|
3196
|
+
font-weight: var(--font-weights-commerce-sans-1);
|
|
3197
|
+
}
|
|
3198
|
+
.ncua-badge-group svg {
|
|
3199
|
+
margin-left: 4px;
|
|
3200
|
+
}
|
|
3201
|
+
.ncua-badge-group.ncua-badge-group--neutral {
|
|
3202
|
+
color: var(--gray-600);
|
|
3203
|
+
background-color: var(--gray-50);
|
|
3204
|
+
border: 1px solid var(--gray-100);
|
|
3205
|
+
}
|
|
3206
|
+
.ncua-badge-group.ncua-badge-group--neutral:hover {
|
|
3207
|
+
background-color: var(--gray-100);
|
|
3208
|
+
border-color: var(--gray-200);
|
|
3209
|
+
}
|
|
3210
|
+
.ncua-badge-group.ncua-badge-group--error {
|
|
3211
|
+
color: var(--primary-red-600);
|
|
3212
|
+
background-color: var(--primary-red-50);
|
|
3213
|
+
border: 1px solid var(--primary-red-100);
|
|
3214
|
+
}
|
|
3215
|
+
.ncua-badge-group.ncua-badge-group--error:hover {
|
|
3216
|
+
background-color: var(--primary-red-100);
|
|
3217
|
+
border-color: var(--primary-red-200);
|
|
3218
|
+
}
|
|
3219
|
+
.ncua-badge-group.ncua-badge-group--warning {
|
|
3220
|
+
color: var(--orange-600);
|
|
3221
|
+
background-color: var(--orange-50);
|
|
3222
|
+
border: 1px solid var(--orange-100);
|
|
3223
|
+
}
|
|
3224
|
+
.ncua-badge-group.ncua-badge-group--warning:hover {
|
|
3225
|
+
background-color: var(--orange-100);
|
|
3226
|
+
border-color: var(--orange-200);
|
|
3227
|
+
}
|
|
3228
|
+
.ncua-badge-group.ncua-badge-group--success {
|
|
3229
|
+
color: var(--green-600);
|
|
3230
|
+
background-color: var(--green-50);
|
|
3231
|
+
border: 1px solid var(--green-100);
|
|
3232
|
+
}
|
|
3233
|
+
.ncua-badge-group.ncua-badge-group--success:hover {
|
|
3234
|
+
background-color: var(--green-100);
|
|
3235
|
+
border-color: var(--green-200);
|
|
3236
|
+
}
|
|
3237
|
+
.ncua-badge-group.ncua-badge-group--xs {
|
|
3238
|
+
font-size: var(--font-size-xs);
|
|
3239
|
+
line-height: var(--line-heights-xs);
|
|
3240
|
+
}
|
|
3241
|
+
.ncua-badge-group.ncua-badge-group--sm {
|
|
3242
|
+
font-size: var(--font-size-sm);
|
|
3243
|
+
line-height: var(--line-heights-sm);
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3211
3246
|
.ncua-progress-bar {
|
|
3212
3247
|
position: relative;
|
|
3213
3248
|
display: flex;
|
|
@@ -3352,9 +3387,6 @@ button {
|
|
|
3352
3387
|
color: var(--gray-500);
|
|
3353
3388
|
box-shadow: var(--shadow-sm);
|
|
3354
3389
|
}
|
|
3355
|
-
.ncua-tab-button--button-white:focus {
|
|
3356
|
-
box-shadow: var(--shadow-sm-focused-4px-gray-100);
|
|
3357
|
-
}
|
|
3358
3390
|
.ncua-tab-button--underline-fill {
|
|
3359
3391
|
position: relative;
|
|
3360
3392
|
border-radius: 0;
|
|
@@ -3363,13 +3395,13 @@ button {
|
|
|
3363
3395
|
background-color: var(--gray-100);
|
|
3364
3396
|
}
|
|
3365
3397
|
.ncua-tab-button--underline-fill:hover::before, .ncua-tab-button--underline-fill.is-active::before, .ncua-tab-button--underline-fill.is-active:focus::before {
|
|
3366
|
-
position: absolute;
|
|
3367
|
-
bottom: 0;
|
|
3368
|
-
left: 0;
|
|
3369
3398
|
width: 100%;
|
|
3370
3399
|
height: 2px;
|
|
3371
3400
|
content: "";
|
|
3372
3401
|
background-color: var(--gray-500);
|
|
3402
|
+
position: absolute;
|
|
3403
|
+
bottom: 0;
|
|
3404
|
+
left: 0;
|
|
3373
3405
|
}
|
|
3374
3406
|
.ncua-tab-button--underline {
|
|
3375
3407
|
border-radius: 0;
|
|
@@ -3378,13 +3410,13 @@ button {
|
|
|
3378
3410
|
position: relative;
|
|
3379
3411
|
}
|
|
3380
3412
|
.ncua-tab-button--underline:hover::before, .ncua-tab-button--underline.is-active::before {
|
|
3381
|
-
position: absolute;
|
|
3382
|
-
bottom: 0;
|
|
3383
|
-
left: 0;
|
|
3384
3413
|
width: 100%;
|
|
3385
3414
|
height: 2px;
|
|
3386
3415
|
content: "";
|
|
3387
3416
|
background-color: var(--gray-500);
|
|
3417
|
+
position: absolute;
|
|
3418
|
+
bottom: 0;
|
|
3419
|
+
left: 0;
|
|
3388
3420
|
}
|
|
3389
3421
|
.ncua-tab-button--line-vertical {
|
|
3390
3422
|
border-radius: 0;
|
|
@@ -3409,9 +3441,6 @@ button {
|
|
|
3409
3441
|
content: "";
|
|
3410
3442
|
background-color: var(--gray-100);
|
|
3411
3443
|
}
|
|
3412
|
-
.ncua-horizontal-tab--button-primary .swiper-slide, .ncua-horizontal-tab--button-white .swiper-slide {
|
|
3413
|
-
padding: 4px 0;
|
|
3414
|
-
}
|
|
3415
3444
|
.ncua-horizontal-tab--button-primary .swiper-slide:first-child, .ncua-horizontal-tab--button-white .swiper-slide:first-child {
|
|
3416
3445
|
padding-left: 4px;
|
|
3417
3446
|
}
|
|
@@ -3419,12 +3448,18 @@ button {
|
|
|
3419
3448
|
padding-right: 4px;
|
|
3420
3449
|
margin-right: 0;
|
|
3421
3450
|
}
|
|
3451
|
+
.ncua-horizontal-tab--button-primary .swiper-slide {
|
|
3452
|
+
padding: 4px 0;
|
|
3453
|
+
}
|
|
3422
3454
|
.ncua-horizontal-tab--button-white {
|
|
3423
3455
|
display: inline-block;
|
|
3424
3456
|
background: var(--gray-50);
|
|
3425
3457
|
border: 1px solid var(--gray-100);
|
|
3426
3458
|
border-radius: 8px;
|
|
3427
3459
|
}
|
|
3460
|
+
.ncua-horizontal-tab--button-white .swiper-slide {
|
|
3461
|
+
padding: 3px 0;
|
|
3462
|
+
}
|
|
3428
3463
|
.ncua-horizontal-tab--button-white .ncua-tab-button {
|
|
3429
3464
|
background-color: var(--gray-50);
|
|
3430
3465
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncds/ui-admin",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"description": "nhn-commerce의 어드민 디자인 시스템입니다.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"barrel": "node barrel.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"publish:npm": "npm publish --access=public",
|
|
17
17
|
"start": "webpack --node-env development",
|
|
18
18
|
"test": "react-scripts test",
|
|
19
|
-
"tsc": "tsc"
|
|
19
|
+
"tsc": "tsc --pretty --listFiles"
|
|
20
20
|
},
|
|
21
21
|
"author": {
|
|
22
22
|
"name": "nhn-commerce-fe",
|