@nation-a/ui 0.16.20 → 0.16.22
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +254 -210
- package/dist/index.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/styled-system/styles.css +44 -10
- package/dist/styled-system/types/prop-type.d.ts +1 -1
- package/dist/types/components/Button/Button.stories.d.ts +1 -0
- package/dist/types/components/Button/button.recipe.d.ts +4 -4
- package/dist/types/components/Button/index.d.ts +5 -1
- package/dist/types/components/IconButton/IconButton.stories.d.ts +1 -0
- package/dist/types/components/IconButton/icon-button.recipe.d.ts +3 -3
- package/dist/types/components/IconButton/index.d.ts +3 -1
- package/dist/types/components/Text/index.d.ts +1 -1
- package/dist/types/components/Text/text.recipe.d.ts +2 -0
- package/package.json +3 -3
|
@@ -1056,6 +1056,14 @@ html:not(#\#),body:not(#\#) {
|
|
|
1056
1056
|
font-size: 16px;
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
|
+
.textStyle_en\.label\.caption\.10\.regular:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1060
|
+
letter-spacing: var(--letter-spacings-3xl);
|
|
1061
|
+
font-family: var(--fonts-dm-sans);
|
|
1062
|
+
font-weight: var(--font-weights-regular);
|
|
1063
|
+
line-height: 120%;
|
|
1064
|
+
font-size: 10px;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1059
1067
|
.textStyle_en\.label\.caption\.10\.semibold:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1060
1068
|
letter-spacing: var(--letter-spacings-3xl);
|
|
1061
1069
|
font-family: var(--fonts-dm-sans);
|
|
@@ -1064,6 +1072,14 @@ html:not(#\#),body:not(#\#) {
|
|
|
1064
1072
|
font-size: 10px;
|
|
1065
1073
|
}
|
|
1066
1074
|
|
|
1075
|
+
.textStyle_en\.label\.caption\.12\.regular:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1076
|
+
letter-spacing: var(--letter-spacings-3xl);
|
|
1077
|
+
font-family: var(--fonts-dm-sans);
|
|
1078
|
+
font-weight: var(--font-weights-regular);
|
|
1079
|
+
line-height: 120%;
|
|
1080
|
+
font-size: 12px;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1067
1083
|
.textStyle_en\.label\.caption\.12\.semibold:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1068
1084
|
letter-spacing: var(--letter-spacings-3xl);
|
|
1069
1085
|
font-family: var(--fonts-dm-sans);
|
|
@@ -1199,6 +1215,14 @@ html:not(#\#),body:not(#\#) {
|
|
|
1199
1215
|
font-size: 16px;
|
|
1200
1216
|
}
|
|
1201
1217
|
|
|
1218
|
+
.textStyle_kr\.label\.caption\.10\.regular:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1219
|
+
letter-spacing: var(--letter-spacings-3xl);
|
|
1220
|
+
font-family: var(--fonts-pretendard);
|
|
1221
|
+
font-weight: var(--font-weights-regular);
|
|
1222
|
+
line-height: 120%;
|
|
1223
|
+
font-size: 10px;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1202
1226
|
.textStyle_kr\.label\.caption\.10\.semibold:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1203
1227
|
letter-spacing: var(--letter-spacings-3xl);
|
|
1204
1228
|
font-family: var(--fonts-pretendard);
|
|
@@ -1207,6 +1231,14 @@ html:not(#\#),body:not(#\#) {
|
|
|
1207
1231
|
font-size: 10px;
|
|
1208
1232
|
}
|
|
1209
1233
|
|
|
1234
|
+
.textStyle_kr\.label\.caption\.12\.regular:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1235
|
+
letter-spacing: var(--letter-spacings-3xl);
|
|
1236
|
+
font-family: var(--fonts-pretendard);
|
|
1237
|
+
font-weight: var(--font-weights-regular);
|
|
1238
|
+
line-height: 120%;
|
|
1239
|
+
font-size: 12px;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1210
1242
|
.textStyle_kr\.label\.caption\.12\.semibold:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1211
1243
|
letter-spacing: var(--letter-spacings-3xl);
|
|
1212
1244
|
font-family: var(--fonts-pretendard);
|
|
@@ -2642,19 +2674,19 @@ html:not(#\#),body:not(#\#) {
|
|
|
2642
2674
|
background: transparent;
|
|
2643
2675
|
}
|
|
2644
2676
|
|
|
2645
|
-
.\[
|
|
2677
|
+
.\[\&\:not\(\[data-preserve-icon-size\=\"true\"\]\)_svg\]\:w_20px:not([data-preserve-icon-size="true"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) svg {
|
|
2646
2678
|
width: 20px;
|
|
2647
2679
|
}
|
|
2648
2680
|
|
|
2649
|
-
.\[
|
|
2681
|
+
.\[\&\:not\(\[data-preserve-icon-size\=\"true\"\]\)_svg\]\:h_20px:not([data-preserve-icon-size="true"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) svg {
|
|
2650
2682
|
height: 20px;
|
|
2651
2683
|
}
|
|
2652
2684
|
|
|
2653
|
-
.\[
|
|
2685
|
+
.\[\&\:not\(\[data-preserve-icon-size\=\"true\"\]\)_svg\]\:w_24px:not([data-preserve-icon-size="true"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) svg {
|
|
2654
2686
|
width: 24px;
|
|
2655
2687
|
}
|
|
2656
2688
|
|
|
2657
|
-
.\[
|
|
2689
|
+
.\[\&\:not\(\[data-preserve-icon-size\=\"true\"\]\)_svg\]\:h_24px:not([data-preserve-icon-size="true"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) svg {
|
|
2658
2690
|
height: 24px;
|
|
2659
2691
|
}
|
|
2660
2692
|
|
|
@@ -2694,6 +2726,14 @@ html:not(#\#),body:not(#\#) {
|
|
|
2694
2726
|
animation: var(--animations-dialog-out);
|
|
2695
2727
|
}
|
|
2696
2728
|
|
|
2729
|
+
.\[\&_\:where\(svg\)\]\:w_24px:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) :where(svg) {
|
|
2730
|
+
width: 24px;
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
.\[\&_\:where\(svg\)\]\:h_24px:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) :where(svg) {
|
|
2734
|
+
height: 24px;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2697
2737
|
.\[\&_input\,_\&_textarea\]\:ring_none:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) input,.\[\&_input\,_\&_textarea\]\:ring_none:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) textarea {
|
|
2698
2738
|
outline: var(--borders-none);
|
|
2699
2739
|
}
|
|
@@ -3354,12 +3394,6 @@ html:not(#\#),body:not(#\#) {
|
|
|
3354
3394
|
}
|
|
3355
3395
|
}
|
|
3356
3396
|
|
|
3357
|
-
@media (hover: hover) and (pointer: fine) {
|
|
3358
|
-
.hover\:c_content\.neutral\.hovered:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3359
|
-
color: content.neutral.hovered;
|
|
3360
|
-
}
|
|
3361
|
-
}
|
|
3362
|
-
|
|
3363
3397
|
@media (hover: hover) and (pointer: fine) {
|
|
3364
3398
|
.hover\:bd-c_content\.neutral\.subtle:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3365
3399
|
border-color: var(--colors-content-neutral-subtle);
|
|
@@ -208,7 +208,7 @@ export interface UtilityValues {
|
|
|
208
208
|
debug: boolean;
|
|
209
209
|
containerName: CssProperties["containerName"];
|
|
210
210
|
colorPalette: "neutral" | "black" | "white" | "red" | "orange" | "blue" | "green" | "purple" | "ohre" | "cyan" | "yellow" | "v3" | "content" | "content.neutral" | "content.neuroidPrimary" | "content.danger" | "content.warning" | "content.success" | "content.informative" | "content.zoltarinaPrimary" | "content.heydPrimary" | "content.static" | "content.static.white" | "content.static.black" | "content.heybeePrimary" | "content.neutralInverse" | "background" | "background.neutral" | "background.neuroidPrimary" | "background.neuroidSecondary" | "background.danger" | "background.warning" | "background.success" | "background.informative" | "background.zoltarinaPrimary" | "background.zoltarinaSecondary" | "background.heydPrimary" | "background.heydSecondary" | "background.static" | "background.static.whiteAlpha" | "background.static.blackAlpha" | "background.heybeePrimary" | "background.neutralInverse" | "background.v3" | "surface" | "shadow" | "scrim" | "skeleton" | "border" | "border.neutral" | "border.neuroidPrimary" | "border.danger" | "border.warning" | "border.success" | "border.informative" | "border.zoltarinaPrimary" | "border.heydPrimary" | "border.heybeePrimary";
|
|
211
|
-
textStyle: "body.md" | "body.lg" | "body.sm" | "label.sm" | "label.md" | "title.sm" | "title.md" | "title.lg" | "headline.sm" | "headline.md" | "display.md" | "display.lg" | "en.title.main.22.bold" | "en.title.main.24.bold" | "en.title.main.30.bold" | "en.title.main.56.bold" | "en.title.sub.16.bold" | "en.title.sub.18.bold" | "en.title.sub.20.bold" | "en.text.chat.14.bold" | "en.text.chat.14.regular" | "en.text.chat.16.bold" | "en.text.chat.16.regular" | "en.text.body.14.bold" | "en.text.body.14.regular" | "en.text.body.16.bold" | "en.text.body.16.regular" | "en.label.caption.10.semibold" | "en.label.caption.12.semibold" | "en.label.caption.14.semibold" | "kr.title.main.22.bold" | "kr.title.main.24.bold" | "kr.title.main.30.bold" | "kr.title.main.56.bold" | "kr.title.sub.16.bold" | "kr.title.sub.18.bold" | "kr.title.sub.20.bold" | "kr.text.chat.14.bold" | "kr.text.chat.14.regular" | "kr.text.chat.16.bold" | "kr.text.chat.16.regular" | "kr.text.body.14.bold" | "kr.text.body.14.regular" | "kr.text.body.16.bold" | "kr.text.body.16.regular" | "kr.label.caption.10.semibold" | "kr.label.caption.12.semibold" | "kr.label.caption.14.semibold";
|
|
211
|
+
textStyle: "body.md" | "body.lg" | "body.sm" | "label.sm" | "label.md" | "title.sm" | "title.md" | "title.lg" | "headline.sm" | "headline.md" | "display.md" | "display.lg" | "en.title.main.22.bold" | "en.title.main.24.bold" | "en.title.main.30.bold" | "en.title.main.56.bold" | "en.title.sub.16.bold" | "en.title.sub.18.bold" | "en.title.sub.20.bold" | "en.text.chat.14.bold" | "en.text.chat.14.regular" | "en.text.chat.16.bold" | "en.text.chat.16.regular" | "en.text.body.14.bold" | "en.text.body.14.regular" | "en.text.body.16.bold" | "en.text.body.16.regular" | "en.label.caption.10.regular" | "en.label.caption.10.semibold" | "en.label.caption.12.regular" | "en.label.caption.12.semibold" | "en.label.caption.14.semibold" | "kr.title.main.22.bold" | "kr.title.main.24.bold" | "kr.title.main.30.bold" | "kr.title.main.56.bold" | "kr.title.sub.16.bold" | "kr.title.sub.18.bold" | "kr.title.sub.20.bold" | "kr.text.chat.14.bold" | "kr.text.chat.14.regular" | "kr.text.chat.16.bold" | "kr.text.chat.16.regular" | "kr.text.body.14.bold" | "kr.text.body.14.regular" | "kr.text.body.16.bold" | "kr.text.body.16.regular" | "kr.label.caption.10.regular" | "kr.label.caption.10.semibold" | "kr.label.caption.12.regular" | "kr.label.caption.12.semibold" | "kr.label.caption.14.semibold";
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
|
|
@@ -61,7 +61,7 @@ export declare const buttonRecipe: import('../../../styled-system/types').Recipe
|
|
|
61
61
|
textStyle: "label.sm";
|
|
62
62
|
px: "8px";
|
|
63
63
|
gap: number;
|
|
64
|
-
'
|
|
64
|
+
'&:not([data-preserve-icon-size="true"]) svg': {
|
|
65
65
|
width: "20px";
|
|
66
66
|
height: "20px";
|
|
67
67
|
};
|
|
@@ -71,7 +71,7 @@ export declare const buttonRecipe: import('../../../styled-system/types').Recipe
|
|
|
71
71
|
textStyle: "label.sm";
|
|
72
72
|
px: "16px";
|
|
73
73
|
gap: number;
|
|
74
|
-
'
|
|
74
|
+
'&:not([data-preserve-icon-size="true"]) svg': {
|
|
75
75
|
width: "20px";
|
|
76
76
|
height: "20px";
|
|
77
77
|
};
|
|
@@ -81,7 +81,7 @@ export declare const buttonRecipe: import('../../../styled-system/types').Recipe
|
|
|
81
81
|
textStyle: "label.md";
|
|
82
82
|
px: "20px";
|
|
83
83
|
gap: number;
|
|
84
|
-
'
|
|
84
|
+
'&:not([data-preserve-icon-size="true"]) svg': {
|
|
85
85
|
width: "24px";
|
|
86
86
|
height: "24px";
|
|
87
87
|
};
|
|
@@ -91,7 +91,7 @@ export declare const buttonRecipe: import('../../../styled-system/types').Recipe
|
|
|
91
91
|
textStyle: "body.lg";
|
|
92
92
|
px: "28px";
|
|
93
93
|
gap: number;
|
|
94
|
-
'
|
|
94
|
+
'&:not([data-preserve-icon-size="true"]) svg': {
|
|
95
95
|
width: "24px";
|
|
96
96
|
height: "24px";
|
|
97
97
|
};
|
|
@@ -3,6 +3,8 @@ import { ButtonVariantProps } from './button.recipe';
|
|
|
3
3
|
export type ButtonProps = HTMLStyledProps<'button'> & ButtonVariantProps & {
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
loadingText?: React.ReactNode;
|
|
6
|
+
/** 아이콘 컴포넌트의 size prop을 우선시할지 여부 (기본값: false) */
|
|
7
|
+
preserveIconSize?: boolean;
|
|
6
8
|
};
|
|
7
9
|
declare const _default: import('react').MemoExoticComponent<(<C extends "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import('react').ComponentType<any> = "button">(props: {
|
|
8
10
|
as?: C | undefined;
|
|
@@ -296,7 +298,9 @@ declare const _default: import('react').MemoExoticComponent<(<C extends "symbol"
|
|
|
296
298
|
} & {
|
|
297
299
|
loading?: boolean;
|
|
298
300
|
loadingText?: React.ReactNode;
|
|
299
|
-
|
|
301
|
+
/** 아이콘 컴포넌트의 size prop을 우선시할지 여부 (기본값: false) */
|
|
302
|
+
preserveIconSize?: boolean;
|
|
303
|
+
}, "ref"> & Omit<import('react').PropsWithoutRef<import('react').ComponentProps<C>>, "as" | "key" | "radius" | keyof import('react').ButtonHTMLAttributes<HTMLButtonElement> | "loading" | "size" | "css" | "variant" | "fullWidth" | "loadingText" | "preserveIconSize"> & {
|
|
300
304
|
ref?: import('react').Ref<import('react').ElementRef<C>> | undefined;
|
|
301
305
|
}) => React.ReactElement)>;
|
|
302
306
|
export default _default;
|
|
@@ -61,7 +61,7 @@ export declare const iconButtonRecipe: import('../../../styled-system/types').Re
|
|
|
61
61
|
h: number;
|
|
62
62
|
w: number;
|
|
63
63
|
p: "4px";
|
|
64
|
-
'
|
|
64
|
+
'&:not([data-preserve-icon-size="true"]) svg': {
|
|
65
65
|
width: "20px";
|
|
66
66
|
height: "20px";
|
|
67
67
|
};
|
|
@@ -70,7 +70,7 @@ export declare const iconButtonRecipe: import('../../../styled-system/types').Re
|
|
|
70
70
|
h: number;
|
|
71
71
|
w: number;
|
|
72
72
|
p: "4px";
|
|
73
|
-
'
|
|
73
|
+
'&:not([data-preserve-icon-size="true"]) svg': {
|
|
74
74
|
width: "24px";
|
|
75
75
|
height: "24px";
|
|
76
76
|
};
|
|
@@ -79,7 +79,7 @@ export declare const iconButtonRecipe: import('../../../styled-system/types').Re
|
|
|
79
79
|
h: number;
|
|
80
80
|
w: number;
|
|
81
81
|
p: "8px";
|
|
82
|
-
'
|
|
82
|
+
'&:not([data-preserve-icon-size="true"]) svg': {
|
|
83
83
|
width: "24px";
|
|
84
84
|
height: "24px";
|
|
85
85
|
};
|
|
@@ -2,10 +2,12 @@ import { HTMLStyledProps } from '../../../styled-system/jsx';
|
|
|
2
2
|
import { IconButtonVariantProps } from './icon-button.recipe';
|
|
3
3
|
export type IconButtonProps = HTMLStyledProps<'button'> & IconButtonVariantProps & {
|
|
4
4
|
loading?: boolean;
|
|
5
|
+
/** 아이콘 컴포넌트의 size prop을 우선시할지 여부 (기본값: false) */
|
|
6
|
+
preserveIconSize?: boolean;
|
|
5
7
|
};
|
|
6
8
|
declare const _default: import('react').MemoExoticComponent<(<C extends "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import('react').ComponentType<any> = "button">(props: {
|
|
7
9
|
as?: C | undefined;
|
|
8
|
-
} & Omit<Omit<IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "ref"> & Omit<import('react').PropsWithoutRef<import('react').ComponentProps<C>>, "as" | "key" | keyof import('react').ButtonHTMLAttributes<HTMLButtonElement> | "loading" | "size" | "css" | "variant"> & {
|
|
10
|
+
} & Omit<Omit<IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "ref"> & Omit<import('react').PropsWithoutRef<import('react').ComponentProps<C>>, "as" | "key" | keyof import('react').ButtonHTMLAttributes<HTMLButtonElement> | "loading" | "size" | "css" | "variant" | "preserveIconSize"> & {
|
|
9
11
|
ref?: import('react').Ref<import('react').ElementRef<C>> | undefined;
|
|
10
12
|
}) => React.ReactElement)>;
|
|
11
13
|
export default _default;
|
|
@@ -273,7 +273,7 @@ declare const Text: import('react').ForwardRefExoticComponent<Omit<{
|
|
|
273
273
|
part?: string | undefined | undefined;
|
|
274
274
|
ref?: import('react').Ref<HTMLParagraphElement> | undefined;
|
|
275
275
|
} & import('../../../styled-system/types').WithCss & {
|
|
276
|
-
variant?: "label.sm" | "body.md" | "body.lg" | "body.sm" | "label.md" | "title.sm" | "title.md" | "title.lg" | "headline.sm" | "headline.md" | "display.md" | "display.lg" | "title.main.22.bold" | "title.main.24.bold" | "title.main.30.bold" | "title.main.56.bold" | "title.sub.16.bold" | "title.sub.18.bold" | "title.sub.20.bold" | "text.chat.14.bold" | "text.chat.14.regular" | "text.chat.16.bold" | "text.chat.16.regular" | "text.body.14.bold" | "text.body.14.regular" | "text.body.16.bold" | "text.body.16.regular" | "label.caption.10.semibold" | "label.caption.12.semibold" | "label.caption.14.semibold" | undefined;
|
|
276
|
+
variant?: "label.sm" | "body.md" | "body.lg" | "body.sm" | "label.md" | "title.sm" | "title.md" | "title.lg" | "headline.sm" | "headline.md" | "display.md" | "display.lg" | "title.main.22.bold" | "title.main.24.bold" | "title.main.30.bold" | "title.main.56.bold" | "title.sub.16.bold" | "title.sub.18.bold" | "title.sub.20.bold" | "text.chat.14.bold" | "text.chat.14.regular" | "text.chat.16.bold" | "text.chat.16.regular" | "text.body.14.bold" | "text.body.14.regular" | "text.body.16.bold" | "text.body.16.regular" | "label.caption.10.semibold" | "label.caption.10.regular" | "label.caption.12.semibold" | "label.caption.12.regular" | "label.caption.14.semibold" | undefined;
|
|
277
277
|
language?: "en" | "ko" | undefined;
|
|
278
278
|
font?: "freeman" | "dmSans" | "pretendard" | "notoSans" | "inter" | undefined;
|
|
279
279
|
}, "ref"> & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
@@ -66,7 +66,9 @@ export declare const textRecipe: import('../../../styled-system/types').RecipeRu
|
|
|
66
66
|
'text.body.16.bold': {};
|
|
67
67
|
'text.body.16.regular': {};
|
|
68
68
|
'label.caption.10.semibold': {};
|
|
69
|
+
'label.caption.10.regular': {};
|
|
69
70
|
'label.caption.12.semibold': {};
|
|
71
|
+
'label.caption.12.regular': {};
|
|
70
72
|
'label.caption.14.semibold': {};
|
|
71
73
|
};
|
|
72
74
|
language: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nation-a/ui",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/types/index.d.ts",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"react-dom": "^18.3.1",
|
|
23
23
|
"react-hot-toast": "^2.5.2",
|
|
24
24
|
"react-lottie": "^1.2.10",
|
|
25
|
-
"@nation-a/icons": "0.4.
|
|
26
|
-
"@nation-a/tokens": "0.4.
|
|
25
|
+
"@nation-a/icons": "0.4.1",
|
|
26
|
+
"@nation-a/tokens": "0.4.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@chromatic-com/storybook": "^3",
|