@ncds/ui-admin 1.8.22 → 1.8.23-alpha.1
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/src/components/feedback-and-status/badge/Badge.js +1 -1
- package/dist/cjs/src/components/navigation/bread-crumb/BreadCrumb.js +14 -6
- package/dist/cjs/src/components/navigation/bread-crumb/__tests__/BreadCrumb.test.js +207 -0
- package/dist/cjs/src/generated/scoped-css.js +1 -1
- package/dist/esm/src/components/feedback-and-status/badge/Badge.js +1 -1
- package/dist/esm/src/components/navigation/bread-crumb/BreadCrumb.js +14 -6
- package/dist/esm/src/components/navigation/bread-crumb/__tests__/BreadCrumb.test.js +204 -0
- package/dist/esm/src/generated/scoped-css.js +1 -1
- package/dist/temp/src/components/feedback-and-status/badge/Badge.d.ts +1 -1
- package/dist/temp/src/components/feedback-and-status/badge/Badge.js +1 -1
- package/dist/temp/src/components/navigation/bread-crumb/BreadCrumb.d.ts +3 -1
- package/dist/temp/src/components/navigation/bread-crumb/BreadCrumb.js +9 -5
- package/dist/temp/src/components/navigation/bread-crumb/__tests__/BreadCrumb.test.d.ts +1 -0
- package/dist/temp/src/components/navigation/bread-crumb/__tests__/BreadCrumb.test.js +161 -0
- package/dist/temp/src/generated/scoped-css.js +1 -1
- package/dist/types/src/components/feedback-and-status/badge/Badge.d.ts +1 -1
- package/dist/types/src/components/navigation/bread-crumb/BreadCrumb.d.ts +3 -1
- package/dist/types/src/components/navigation/bread-crumb/__tests__/BreadCrumb.test.d.ts +1 -0
- package/dist/ui-admin/assets/styles/style.css +25 -19
- package/package.json +1 -1
|
@@ -16,4 +16,4 @@ type BadgeProps = {
|
|
|
16
16
|
};
|
|
17
17
|
declare const Badge: ({ label, type, color, className, leadingIcon, trailingIcon, size, }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export { Badge };
|
|
19
|
-
export type {
|
|
19
|
+
export type { BadgeColor, BadgeProps, BadgeSize, BadgeType };
|
|
@@ -4,8 +4,10 @@ interface BreadcrumbItemProps {
|
|
|
4
4
|
}
|
|
5
5
|
interface BreadcrumbProps {
|
|
6
6
|
items: BreadcrumbItemProps[];
|
|
7
|
+
/** 첫 항목을 홈 아이콘으로 렌더링할지 여부. false 이면 label 텍스트로 렌더링한다. */
|
|
8
|
+
showHomeIcon?: boolean;
|
|
7
9
|
className?: string;
|
|
8
10
|
}
|
|
9
|
-
declare const BreadCrumb: ({ items, className }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
declare const BreadCrumb: ({ items, showHomeIcon, className }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
12
|
export { BreadCrumb };
|
|
11
13
|
export type { BreadcrumbItemProps, BreadcrumbProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -67,9 +67,6 @@
|
|
|
67
67
|
--shadow-xs-focused-3px-primary-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 3px #ffeaee;
|
|
68
68
|
--shadow-xs-focused-3px-gray-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 3px #f2f4f7;
|
|
69
69
|
--shadow-xs-focused-3px-error-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 3px #fee4e2;
|
|
70
|
-
--shadow-xs-focused-4px-primary-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #ffeaee;
|
|
71
|
-
--shadow-xs-focused-4px-gray-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f2f4f7;
|
|
72
|
-
--shadow-xs-focused-4px-error-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #fee4e2;
|
|
73
70
|
--shadow-sm: 0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f;
|
|
74
71
|
--shadow-sm-focused-4px-primary-100: 0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #ffeaee;
|
|
75
72
|
--shadow-sm-focused-4px-gray-100: 0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #f2f4f7;
|
|
@@ -327,7 +324,7 @@ button {
|
|
|
327
324
|
background-color: var(--primary-red-450);
|
|
328
325
|
border: 1px solid var(--primary-red-500);
|
|
329
326
|
color: var(--base-white);
|
|
330
|
-
box-shadow: var(--shadow-
|
|
327
|
+
box-shadow: var(--shadow-sm-focused-4px-primary-100);
|
|
331
328
|
}
|
|
332
329
|
.ncua-btn--primary:disabled, .ncua-btn--primary.is-disable {
|
|
333
330
|
background-color: var(--primary-red-100);
|
|
@@ -373,7 +370,7 @@ button {
|
|
|
373
370
|
background-color: var(--base-white);
|
|
374
371
|
border: 1px solid var(--gray-200);
|
|
375
372
|
color: var(--gray-700);
|
|
376
|
-
box-shadow: var(--shadow-
|
|
373
|
+
box-shadow: var(--shadow-sm-focused-4px-gray-100);
|
|
377
374
|
}
|
|
378
375
|
.ncua-btn--secondary-gray:disabled, .ncua-btn--secondary-gray.is-disable {
|
|
379
376
|
background-color: var(--base-white);
|
|
@@ -959,7 +956,7 @@ button {
|
|
|
959
956
|
}
|
|
960
957
|
.ncua-checkbox-input.destructive :where(input):focus {
|
|
961
958
|
border-color: var(--primary-red-600);
|
|
962
|
-
box-shadow: var(--shadow-
|
|
959
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
963
960
|
}
|
|
964
961
|
.ncua-checkbox-input:hover {
|
|
965
962
|
border-color: var(--gray-600);
|
|
@@ -1740,7 +1737,7 @@ button {
|
|
|
1740
1737
|
border-color: var(--primary-red-600);
|
|
1741
1738
|
}
|
|
1742
1739
|
.ncua-input.destructive:where(:focus-within) .ncua-input__field {
|
|
1743
|
-
box-shadow: var(--shadow-
|
|
1740
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
1744
1741
|
}
|
|
1745
1742
|
.ncua-input.is-disabled .ncua-input__content > :not(button) {
|
|
1746
1743
|
background-color: var(--gray-50);
|
|
@@ -1930,7 +1927,7 @@ button {
|
|
|
1930
1927
|
border-color: var(--primary-red-600);
|
|
1931
1928
|
}
|
|
1932
1929
|
.ncua-input--textarea.destructive textarea:focus {
|
|
1933
|
-
box-shadow: var(--shadow-
|
|
1930
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
1934
1931
|
}
|
|
1935
1932
|
|
|
1936
1933
|
.ncua-input--textarea--xs textarea {
|
|
@@ -2090,7 +2087,7 @@ button {
|
|
|
2090
2087
|
width: 100%;
|
|
2091
2088
|
height: 1px;
|
|
2092
2089
|
background-color: var(--gray-100);
|
|
2093
|
-
margin: 0
|
|
2090
|
+
margin: 0;
|
|
2094
2091
|
}
|
|
2095
2092
|
.ncua-modal__header:has(.ncua-modal__close-button) {
|
|
2096
2093
|
padding-right: 48px;
|
|
@@ -2164,6 +2161,14 @@ button {
|
|
|
2164
2161
|
}
|
|
2165
2162
|
}
|
|
2166
2163
|
|
|
2164
|
+
.ncua-modal:has(.ncua-modal__header-divider) .ncua-modal__content {
|
|
2165
|
+
padding-block-start: 16px;
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
.ncua-modal:has(.ncua-modal__actions-divider) .ncua-modal__content {
|
|
2169
|
+
padding-block-end: 16px;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2167
2172
|
.ncua-modal__actions-wrapper {
|
|
2168
2173
|
padding: 16px 20px 0px;
|
|
2169
2174
|
}
|
|
@@ -2188,7 +2193,7 @@ button {
|
|
|
2188
2193
|
width: 100%;
|
|
2189
2194
|
height: 1px;
|
|
2190
2195
|
background-color: var(--gray-100);
|
|
2191
|
-
margin:
|
|
2196
|
+
margin: 0;
|
|
2192
2197
|
}
|
|
2193
2198
|
.ncua-modal__actions--vertical {
|
|
2194
2199
|
flex-direction: column;
|
|
@@ -2266,8 +2271,8 @@ button {
|
|
|
2266
2271
|
}
|
|
2267
2272
|
}
|
|
2268
2273
|
|
|
2269
|
-
.ncua-modal:has(.ncua-postcode-search-modal) .ncua-
|
|
2270
|
-
|
|
2274
|
+
.ncua-modal:has(.ncua-modal__header-divider):has(.ncua-postcode-search-modal) .ncua-modal__content {
|
|
2275
|
+
padding-block-start: 0;
|
|
2271
2276
|
}
|
|
2272
2277
|
|
|
2273
2278
|
.ncua-modal__content:has(.ncua-postcode-search-modal) {
|
|
@@ -3184,7 +3189,7 @@ button {
|
|
|
3184
3189
|
}
|
|
3185
3190
|
.ncua-radio-input.destructive :where(input):focus {
|
|
3186
3191
|
border-color: var(--primary-red-600);
|
|
3187
|
-
box-shadow: var(--shadow-
|
|
3192
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
3188
3193
|
}
|
|
3189
3194
|
|
|
3190
3195
|
.ncua-radio-field {
|
|
@@ -3686,7 +3691,7 @@ button {
|
|
|
3686
3691
|
border-color: var(--primary-red-600);
|
|
3687
3692
|
}
|
|
3688
3693
|
.ncua-select.destructive .ncua-select__content:focus-within {
|
|
3689
|
-
box-shadow: var(--shadow-
|
|
3694
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
3690
3695
|
}
|
|
3691
3696
|
.ncua-select--xs .ncua-select__content {
|
|
3692
3697
|
height: var(--select-height-xs);
|
|
@@ -4027,7 +4032,7 @@ button {
|
|
|
4027
4032
|
border-color: var(--primary-red-600);
|
|
4028
4033
|
}
|
|
4029
4034
|
.ncua-selectbox.destructive .ncua-selectbox__content:focus {
|
|
4030
|
-
box-shadow: var(--shadow-
|
|
4035
|
+
box-shadow: var(--shadow-sm-focused-4px-error-100);
|
|
4031
4036
|
}
|
|
4032
4037
|
.ncua-selectbox--xs .ncua-selectbox__content {
|
|
4033
4038
|
height: var(--select-height-xs);
|
|
@@ -5189,7 +5194,7 @@ button {
|
|
|
5189
5194
|
font-weight: var(--font-weights-commerce-sans-1);
|
|
5190
5195
|
cursor: pointer;
|
|
5191
5196
|
}
|
|
5192
|
-
.ncua-breadcrumb__list-item
|
|
5197
|
+
.ncua-breadcrumb__list-item--home {
|
|
5193
5198
|
height: 24px;
|
|
5194
5199
|
padding: 4px;
|
|
5195
5200
|
}
|
|
@@ -5320,15 +5325,16 @@ button {
|
|
|
5320
5325
|
justify-content: center;
|
|
5321
5326
|
color: var(--pink-600);
|
|
5322
5327
|
background-color: var(--pink-200);
|
|
5323
|
-
border-radius: 5px;
|
|
5324
5328
|
}
|
|
5325
5329
|
.ncua-badge--new-badge-sm {
|
|
5326
5330
|
width: 16px;
|
|
5327
5331
|
height: 16px;
|
|
5332
|
+
border-radius: 3px;
|
|
5328
5333
|
}
|
|
5329
5334
|
.ncua-badge--new-badge-md {
|
|
5330
5335
|
width: 20px;
|
|
5331
5336
|
height: 20px;
|
|
5337
|
+
border-radius: 4px;
|
|
5332
5338
|
}
|
|
5333
5339
|
|
|
5334
5340
|
.ncua-badge-group {
|
|
@@ -6590,7 +6596,7 @@ button {
|
|
|
6590
6596
|
bottom: 0;
|
|
6591
6597
|
width: 3px;
|
|
6592
6598
|
background: var(--base-black);
|
|
6593
|
-
z-index: 1;
|
|
6599
|
+
z-index: var(--z-index-1);
|
|
6594
6600
|
}
|
|
6595
6601
|
.ncua-table__row--warning.ncua-table__row--selected:nth-child(n) {
|
|
6596
6602
|
background: var(--orange-50);
|
|
@@ -6735,7 +6741,7 @@ button {
|
|
|
6735
6741
|
.ncua-table--fixed-header .ncua-table__header-cell {
|
|
6736
6742
|
position: sticky;
|
|
6737
6743
|
top: 0;
|
|
6738
|
-
z-index:
|
|
6744
|
+
z-index: var(--z-index-sticky);
|
|
6739
6745
|
padding: 0 var(--spacing-m);
|
|
6740
6746
|
height: var(--ncua-table-header-height);
|
|
6741
6747
|
}
|