@umituz/atomic-next 2.0.0 → 2.0.2
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -799,7 +799,7 @@ interface AtomicButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonEleme
|
|
|
799
799
|
declare const AtomicButton: React$1.ForwardRefExoticComponent<AtomicButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
800
800
|
|
|
801
801
|
declare const textVariants: (props?: ({
|
|
802
|
-
variant?: "xs" | "small" | "large" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "lead" | "muted" | "label" | null | undefined;
|
|
802
|
+
variant?: "xs" | "sm" | "lg" | "xl" | "small" | "large" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "base" | "2xl" | "3xl" | "lead" | "muted" | "label" | null | undefined;
|
|
803
803
|
color?: "primary" | "secondary" | "success" | "warning" | "error" | "info" | "default" | "muted" | null | undefined;
|
|
804
804
|
align?: "left" | "right" | "center" | "justify" | null | undefined;
|
|
805
805
|
weight?: "thin" | "medium" | "normal" | "light" | "bold" | "black" | "semibold" | "extrabold" | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -799,7 +799,7 @@ interface AtomicButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonEleme
|
|
|
799
799
|
declare const AtomicButton: React$1.ForwardRefExoticComponent<AtomicButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
800
800
|
|
|
801
801
|
declare const textVariants: (props?: ({
|
|
802
|
-
variant?: "xs" | "small" | "large" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "lead" | "muted" | "label" | null | undefined;
|
|
802
|
+
variant?: "xs" | "sm" | "lg" | "xl" | "small" | "large" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "base" | "2xl" | "3xl" | "lead" | "muted" | "label" | null | undefined;
|
|
803
803
|
color?: "primary" | "secondary" | "success" | "warning" | "error" | "info" | "default" | "muted" | null | undefined;
|
|
804
804
|
align?: "left" | "right" | "center" | "justify" | null | undefined;
|
|
805
805
|
weight?: "thin" | "medium" | "normal" | "light" | "bold" | "black" | "semibold" | "extrabold" | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ var Image2__default = /*#__PURE__*/_interopDefault(Image2);
|
|
|
37
37
|
var Link__default = /*#__PURE__*/_interopDefault(Link);
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* @umituz/atomic-next
|
|
40
|
+
* @umituz/atomic-next
|
|
41
41
|
* Atomic design system for Next.js
|
|
42
42
|
* https://umituz.com/opensource/atomic-next
|
|
43
43
|
*/
|
|
@@ -912,9 +912,15 @@ var textVariants = classVarianceAuthority.cva("", {
|
|
|
912
912
|
h5: "scroll-m-20 text-lg font-semibold tracking-tight",
|
|
913
913
|
h6: "scroll-m-20 text-base font-semibold tracking-tight",
|
|
914
914
|
body: "text-base leading-7",
|
|
915
|
+
base: "text-base leading-7",
|
|
915
916
|
large: "text-lg leading-7",
|
|
917
|
+
lg: "text-lg leading-7",
|
|
916
918
|
small: "text-sm leading-6",
|
|
919
|
+
sm: "text-sm leading-6",
|
|
917
920
|
xs: "text-xs leading-5",
|
|
921
|
+
xl: "text-xl leading-7",
|
|
922
|
+
"2xl": "text-2xl leading-8",
|
|
923
|
+
"3xl": "text-3xl leading-9",
|
|
918
924
|
lead: "text-xl leading-7 text-muted-foreground",
|
|
919
925
|
muted: "text-sm text-muted-foreground",
|
|
920
926
|
caption: "text-xs text-muted-foreground",
|