@ncds/ui-admin 0.0.30 → 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.
@@ -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;
@@ -593,7 +593,7 @@ button {
593
593
  }
594
594
 
595
595
  .ncua-button-group--md .ncua-button-group__item {
596
- padding: 7px 16px;
596
+ padding: 6px 16px;
597
597
  font-size: var(--font-size-sm);
598
598
  line-height: var(--line-heights-sm);
599
599
  font-weight: var(--font-weights-commerce-sans-1);
@@ -3307,7 +3307,7 @@ button {
3307
3307
  color: var(--gray-400);
3308
3308
  border-radius: 6px;
3309
3309
  cursor: pointer;
3310
- background-color: var(--base-white);
3310
+ background-color: transparent;
3311
3311
  }
3312
3312
  .ncua-tab-button:hover, .ncua-tab-button.is-active {
3313
3313
  color: var(--gray-700);
@@ -3333,6 +3333,18 @@ button {
3333
3333
  .ncua-tab-button--button-primary:focus {
3334
3334
  box-shadow: var(--focus-ring-4px-gray-100);
3335
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
+ }
3336
3348
  .ncua-tab-button--button-white:hover {
3337
3349
  box-shadow: var(--shadow-sm);
3338
3350
  }
@@ -3397,9 +3409,6 @@ button {
3397
3409
  content: "";
3398
3410
  background-color: var(--gray-100);
3399
3411
  }
3400
- :where(.ncua-horizontal-tab--underline, .ncua-horizontal-tab--underline-fill) .ncua-tab-button {
3401
- background-color: transparent;
3402
- }
3403
3412
  .ncua-horizontal-tab--button-primary .swiper-slide, .ncua-horizontal-tab--button-white .swiper-slide {
3404
3413
  padding: 4px 0;
3405
3414
  }
@@ -3420,7 +3429,7 @@ button {
3420
3429
  background-color: var(--gray-50);
3421
3430
  }
3422
3431
  .ncua-horizontal-tab--button-white .ncua-tab-button:hover, .ncua-horizontal-tab--button-white .ncua-tab-button.is-active {
3423
- background-color: #fff;
3432
+ background-color: var(--base-white);
3424
3433
  border-radius: 6px;
3425
3434
  box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.1), 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
3426
3435
  color: var(--gray-500);
@@ -3428,6 +3437,9 @@ button {
3428
3437
  .ncua-horizontal-tab--fullWidth {
3429
3438
  width: 100%;
3430
3439
  }
3440
+ .ncua-horizontal-tab--fullWidth .ncua-horizontal-tab__item {
3441
+ width: 100% !important;
3442
+ }
3431
3443
  .ncua-horizontal-tab--fullWidth .swiper-slide {
3432
3444
  flex-shrink: 1;
3433
3445
  }
@@ -3456,6 +3468,9 @@ button {
3456
3468
  box-shadow: var(--shadow-sm);
3457
3469
  color: var(--gray-500);
3458
3470
  }
3471
+ .ncua-vertical-tab .ncua-tab-button {
3472
+ justify-content: flex-start;
3473
+ }
3459
3474
 
3460
3475
  .ncua-progress-circle {
3461
3476
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ncds/ui-admin",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "nhn-commerce의 어드민 디자인 시스템입니다.",
5
5
  "scripts": {
6
6
  "barrel": "node barrel.js",