@nation-a/ui 0.10.3 → 0.10.5
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 +13 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/dist/styled-system/styles.css +6 -18
- package/dist/types/components/Button/index.d.ts +2 -2
- package/dist/types/components/IconButton/index.d.ts +2 -2
- package/dist/types/components/Input/index.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/dist/types/components/TextArea/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1023,8 +1023,8 @@ html:not(#\#),body:not(#\#) {
|
|
|
1023
1023
|
height: 100%;
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
|
-
.
|
|
1027
|
-
z-index:
|
|
1026
|
+
.z_modal:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1027
|
+
z-index: var(--z-index-modal);
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
1030
|
.bx-sh_0_-15px_15px_0px_rgba\(0\,_0\,_0\,_0\.05\):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -1035,8 +1035,8 @@ html:not(#\#),body:not(#\#) {
|
|
|
1035
1035
|
will-change: auto;
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
|
-
.
|
|
1039
|
-
z-index:
|
|
1038
|
+
.z_overlay:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1039
|
+
z-index: var(--z-index-overlay);
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
1042
|
.h_100dvh:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -1306,18 +1306,10 @@ html:not(#\#),body:not(#\#) {
|
|
|
1306
1306
|
width: 100vw;
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
1309
|
-
.z_overlay:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1310
|
-
z-index: var(--z-index-overlay);
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
1309
|
.ov_auto:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1314
1310
|
overflow: auto;
|
|
1315
1311
|
}
|
|
1316
1312
|
|
|
1317
|
-
.z_modal:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1318
|
-
z-index: var(--z-index-modal);
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
1313
|
.p_4:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1322
1314
|
padding: var(--spacing-4);
|
|
1323
1315
|
}
|
|
@@ -1976,8 +1968,8 @@ html:not(#\#),body:not(#\#) {
|
|
|
1976
1968
|
row-gap: var(--spacing-10);
|
|
1977
1969
|
}
|
|
1978
1970
|
|
|
1979
|
-
.bg-
|
|
1980
|
-
background-color:
|
|
1971
|
+
.bg-c_surface\.layer_1:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1972
|
+
background-color: var(--colors-surface-layer_1);
|
|
1981
1973
|
}
|
|
1982
1974
|
|
|
1983
1975
|
.top_0:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2059,10 +2051,6 @@ html:not(#\#),body:not(#\#) {
|
|
|
2059
2051
|
left: var(--spacing-0);
|
|
2060
2052
|
}
|
|
2061
2053
|
|
|
2062
|
-
.bg-c_surface\.layer_1:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2063
|
-
background-color: var(--colors-surface-layer_1);
|
|
2064
|
-
}
|
|
2065
|
-
|
|
2066
2054
|
.top_4:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2067
2055
|
top: var(--spacing-4);
|
|
2068
2056
|
}
|
|
@@ -4,7 +4,7 @@ export type ButtonProps = HTMLStyledProps<'button'> & ButtonVariantProps & {
|
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
loadingText?: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: <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
|
+
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
8
|
as?: C | undefined;
|
|
9
9
|
} & Omit<{
|
|
10
10
|
form?: string | undefined | undefined;
|
|
@@ -296,5 +296,5 @@ declare const _default: <C extends "symbol" | "object" | "a" | "abbr" | "address
|
|
|
296
296
|
loadingText?: React.ReactNode;
|
|
297
297
|
}, "ref"> & Omit<import('react').PropsWithoutRef<import('react').ComponentProps<C>>, "as" | "key" | "radius" | keyof import('react').ButtonHTMLAttributes<HTMLButtonElement> | "loading" | "size" | "css" | "variant" | "fullWidth" | "loadingText"> & {
|
|
298
298
|
ref?: import('react').Ref<import('react').ElementRef<C>> | undefined;
|
|
299
|
-
}) => React.ReactElement
|
|
299
|
+
}) => React.ReactElement)>;
|
|
300
300
|
export default _default;
|
|
@@ -3,9 +3,9 @@ import { IconButtonVariantProps } from './icon-button.recipe';
|
|
|
3
3
|
export type IconButtonProps = HTMLStyledProps<'button'> & IconButtonVariantProps & {
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: <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: {
|
|
6
|
+
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
7
|
as?: C | undefined;
|
|
8
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"> & {
|
|
9
9
|
ref?: import('react').Ref<import('react').ElementRef<C>> | undefined;
|
|
10
|
-
}) => React.ReactElement
|
|
10
|
+
}) => React.ReactElement)>;
|
|
11
11
|
export default _default;
|
|
@@ -8,5 +8,5 @@ export type InputProps = Assign<HTMLStyledProps<'input'>, InputVariantProps> & {
|
|
|
8
8
|
description?: string;
|
|
9
9
|
textLimit?: number;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
12
|
-
export default
|
|
11
|
+
declare const _default: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<InputProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>>;
|
|
12
|
+
export default _default;
|
|
@@ -6,5 +6,5 @@ export type TagProps = Assign<HTMLStyledProps<'div'>, TagVariantProps> & {
|
|
|
6
6
|
text: string;
|
|
7
7
|
onDeleteClick?: () => void;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
9
|
+
declare const _default: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<TagProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>>;
|
|
10
|
+
export default _default;
|
|
@@ -10,5 +10,5 @@ export type TextAreaProps = Assign<HTMLStyledProps<'textarea'>, InputVariantProp
|
|
|
10
10
|
textLimit?: number;
|
|
11
11
|
showTextCount?: boolean;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
14
|
-
export default
|
|
13
|
+
declare const _default: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & import('react').RefAttributes<HTMLTextAreaElement>>>;
|
|
14
|
+
export default _default;
|