@ncds/ui-admin 0.0.29 → 0.0.31

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.
@@ -22,7 +22,6 @@ var COLOR = exports.COLOR = {
22
22
  pink100: '#fce7f6',
23
23
  pink600: '#c11574',
24
24
  yellow600: '#c27004',
25
- violet600: '#5720b7',
26
25
  white: '#fff',
27
26
  currentColor: 'currentColor',
28
27
  black: '',
@@ -16,7 +16,6 @@ export var COLOR = {
16
16
  pink100: '#fce7f6',
17
17
  pink600: '#c11574',
18
18
  yellow600: '#c27004',
19
- violet600: '#5720b7',
20
19
  white: '#fff',
21
20
  currentColor: 'currentColor',
22
21
  black: '',
@@ -16,7 +16,6 @@ export declare const COLOR: {
16
16
  pink100: string;
17
17
  pink600: string;
18
18
  yellow600: string;
19
- violet600: string;
20
19
  white: string;
21
20
  currentColor: string;
22
21
  black: string;
@@ -31,5 +30,5 @@ export declare const COLOR: {
31
30
  'secondary-gray-blue-700': string;
32
31
  };
33
32
  export type ColorKeyType = keyof typeof COLOR;
34
- export type ColorTone = 'neutral' | 'error' | 'warning' | 'success' | 'blue' | 'pink' | 'violet' | 'disabled';
33
+ export type ColorTone = 'neutral' | 'error' | 'warning' | 'success' | 'blue' | 'pink' | 'disabled';
35
34
  //# sourceMappingURL=color.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import 'swiper/css';
2
2
  import { TabButtonProps, TabType } from './TabButton';
3
3
  export type HorizontalTabProps = {
4
- type?: TabType;
4
+ type?: Exclude<TabType, 'line-vertical'>;
5
5
  size?: 'xs' | 'sm' | 'md';
6
6
  activeTab?: string;
7
7
  fullWidth?: boolean;
@@ -51,14 +51,6 @@
51
51
  --orange-500: #e4501e;
52
52
  --orange-600: #b93815;
53
53
  --orange-700: #772917;
54
- --violet-50: #fbfaff;
55
- --violet-100: #ece9fe;
56
- --violet-200: #ddd6fe;
57
- --violet-300: #c3b5fd;
58
- --violet-400: #a48afb;
59
- --violet-500: #6927da;
60
- --violet-600: #5720b7;
61
- --violet-700: #3e1486;
62
54
  --focus-ring-4px-primary-100: 0px 0px 0px 3px #ffeaee;
63
55
  --focus-ring-4px-gray-100: 0px 0px 0px 3px #f2f4f7;
64
56
  --focus-ring-4px-error-100: 0px 0px 0px 3px #fee4e2;
@@ -541,8 +533,6 @@ button {
541
533
  }
542
534
  :where(.ncua-button-group.has-border) {
543
535
  box-shadow: var(--shadow-xs);
544
- }
545
- :where(.ncua-button-group.has-border) .ncua-button-group__item {
546
536
  border: 1px solid var(--gray-200);
547
537
  }
548
538
  :where(.ncua-button-group.has-border) .ncua-button-group__item:hover {
@@ -556,7 +546,7 @@ button {
556
546
  background-color: var(--gray-50);
557
547
  }
558
548
  :where(.ncua-button-group.has-border) .ncua-button-group__item:nth-child(n+2) {
559
- border-inline-start-width: 0;
549
+ border-left: 1px solid var(--gray-200);
560
550
  }
561
551
  :where(.ncua-button-group.has-border) .ncua-button-group__item svg {
562
552
  display: block;
@@ -585,13 +575,8 @@ button {
585
575
  .ncua-button-group--xs .ncua-button-group__item.is-only-icon {
586
576
  padding: 6px;
587
577
  }
588
- :where(.ncua-button-group--xs.has-border) .ncua-button-group__item:first-child {
589
- border-top-left-radius: 4px;
590
- border-bottom-left-radius: 4px;
591
- }
592
- :where(.ncua-button-group--xs.has-border) .ncua-button-group__item:last-child {
593
- border-top-right-radius: 4px;
594
- border-bottom-right-radius: 4px;
578
+ :where(.ncua-button-group--xs.has-border) {
579
+ border-radius: 4px;
595
580
  }
596
581
 
597
582
  .ncua-button-group--sm .ncua-button-group__item {
@@ -603,17 +588,12 @@ button {
603
588
  .ncua-button-group--sm .ncua-button-group__item.is-only-icon {
604
589
  padding: 6px;
605
590
  }
606
- :where(.ncua-button-group--sm.has-border) .ncua-button-group__item:first-child {
607
- border-top-left-radius: 6px;
608
- border-bottom-left-radius: 6px;
609
- }
610
- :where(.ncua-button-group--sm.has-border) .ncua-button-group__item:last-child {
611
- border-top-right-radius: 6px;
612
- border-bottom-right-radius: 6px;
591
+ :where(.ncua-button-group--sm.has-border) {
592
+ border-radius: 6px;
613
593
  }
614
594
 
615
595
  .ncua-button-group--md .ncua-button-group__item {
616
- padding: 7px 16px;
596
+ padding: 6px 16px;
617
597
  font-size: var(--font-size-sm);
618
598
  line-height: var(--line-heights-sm);
619
599
  font-weight: var(--font-weights-commerce-sans-1);
@@ -621,13 +601,8 @@ button {
621
601
  .ncua-button-group--md .ncua-button-group__item.is-only-icon {
622
602
  padding: 10px;
623
603
  }
624
- :where(.ncua-button-group--md.has-border) .ncua-button-group__item:first-child {
625
- border-top-left-radius: 6px;
626
- border-bottom-left-radius: 6px;
627
- }
628
- :where(.ncua-button-group--md.has-border) .ncua-button-group__item:last-child {
629
- border-top-right-radius: 6px;
630
- border-bottom-right-radius: 6px;
604
+ :where(.ncua-button-group--md.has-border) {
605
+ border-radius: 6px;
631
606
  }
632
607
 
633
608
  .ncua-button-group--lg .ncua-button-group__item {
@@ -639,13 +614,8 @@ button {
639
614
  .ncua-button-group--lg .ncua-button-group__item.is-only-icon {
640
615
  padding: 10px;
641
616
  }
642
- :where(.ncua-button-group--lg.has-border) .ncua-button-group__item:first-child {
643
- border-top-left-radius: 8px;
644
- border-bottom-left-radius: 8px;
645
- }
646
- :where(.ncua-button-group--lg.has-border) .ncua-button-group__item:last-child {
647
- border-top-right-radius: 8px;
648
- border-bottom-right-radius: 8px;
617
+ :where(.ncua-button-group--lg.has-border) {
618
+ border-radius: 8px;
649
619
  }
650
620
 
651
621
  .ncua-btn-close {
@@ -994,9 +964,6 @@ button {
994
964
  .ncua-dot--pink {
995
965
  background-color: var(--pink-500);
996
966
  }
997
- .ncua-dot--violet {
998
- background-color: var(--violet-500);
999
- }
1000
967
  .ncua-dot--disabled {
1001
968
  background-color: var(--gray-300);
1002
969
  }
@@ -3340,7 +3307,7 @@ button {
3340
3307
  color: var(--gray-400);
3341
3308
  border-radius: 6px;
3342
3309
  cursor: pointer;
3343
- background-color: var(--base-white);
3310
+ background-color: transparent;
3344
3311
  }
3345
3312
  .ncua-tab-button:hover, .ncua-tab-button.is-active {
3346
3313
  color: var(--gray-700);
@@ -3366,6 +3333,18 @@ button {
3366
3333
  .ncua-tab-button--button-primary:focus {
3367
3334
  box-shadow: var(--focus-ring-4px-gray-100);
3368
3335
  }
3336
+ .ncua-tab-button--button-white.ncua-tab-button--xs {
3337
+ padding: 5px 12px;
3338
+ height: 28px;
3339
+ }
3340
+ .ncua-tab-button--button-white.ncua-tab-button--sm {
3341
+ padding: 7px 12px;
3342
+ height: 32px;
3343
+ }
3344
+ .ncua-tab-button--button-white.ncua-tab-button--md {
3345
+ padding: 9px 14px;
3346
+ height: 40px;
3347
+ }
3369
3348
  .ncua-tab-button--button-white:hover {
3370
3349
  box-shadow: var(--shadow-sm);
3371
3350
  }
@@ -3430,9 +3409,6 @@ button {
3430
3409
  content: "";
3431
3410
  background-color: var(--gray-100);
3432
3411
  }
3433
- :where(.ncua-horizontal-tab--underline, .ncua-horizontal-tab--underline-fill) .ncua-tab-button {
3434
- background-color: transparent;
3435
- }
3436
3412
  .ncua-horizontal-tab--button-primary .swiper-slide, .ncua-horizontal-tab--button-white .swiper-slide {
3437
3413
  padding: 4px 0;
3438
3414
  }
@@ -3453,7 +3429,7 @@ button {
3453
3429
  background-color: var(--gray-50);
3454
3430
  }
3455
3431
  .ncua-horizontal-tab--button-white .ncua-tab-button:hover, .ncua-horizontal-tab--button-white .ncua-tab-button.is-active {
3456
- background-color: #fff;
3432
+ background-color: var(--base-white);
3457
3433
  border-radius: 6px;
3458
3434
  box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.1), 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
3459
3435
  color: var(--gray-500);
@@ -3461,6 +3437,9 @@ button {
3461
3437
  .ncua-horizontal-tab--fullWidth {
3462
3438
  width: 100%;
3463
3439
  }
3440
+ .ncua-horizontal-tab--fullWidth .ncua-horizontal-tab__item {
3441
+ width: 100% !important;
3442
+ }
3464
3443
  .ncua-horizontal-tab--fullWidth .swiper-slide {
3465
3444
  flex-shrink: 1;
3466
3445
  }
@@ -3489,6 +3468,9 @@ button {
3489
3468
  box-shadow: var(--shadow-sm);
3490
3469
  color: var(--gray-500);
3491
3470
  }
3471
+ .ncua-vertical-tab .ncua-tab-button {
3472
+ justify-content: flex-start;
3473
+ }
3492
3474
 
3493
3475
  .ncua-progress-circle {
3494
3476
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ncds/ui-admin",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "description": "nhn-commerce의 어드민 디자인 시스템입니다.",
5
5
  "scripts": {
6
6
  "barrel": "node barrel.js",