@corensystem/coren-ui 1.0.0-next.20260924.75108.887a9c2 → 1.0.0
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/button.d.mts +1 -1
- package/dist/chart.d.mts +5 -5
- package/dist/command.d.mts +1 -1
- package/dist/heading.d.mts +1 -1
- package/dist/link.d.mts +1 -1
- package/dist/text.d.mts +1 -1
- package/package.json +3 -3
package/dist/button.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/button.d.ts
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "default" | "link" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
6
6
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
7
|
icon?: boolean | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
package/dist/chart.d.mts
CHANGED
|
@@ -50,11 +50,11 @@ export declare function useThemeVersion(): number;
|
|
|
50
50
|
* Recomputes on every theme change, so an option built from these values is never stale.
|
|
51
51
|
*/
|
|
52
52
|
export declare function useChartTheme(): {
|
|
53
|
-
colors:
|
|
54
|
-
textColor:
|
|
55
|
-
mutedColor:
|
|
56
|
-
borderColor:
|
|
57
|
-
backgroundColor:
|
|
53
|
+
colors: string[];
|
|
54
|
+
textColor: string;
|
|
55
|
+
mutedColor: string;
|
|
56
|
+
borderColor: string;
|
|
57
|
+
backgroundColor: string;
|
|
58
58
|
};
|
|
59
59
|
interface ChartContainerProps {
|
|
60
60
|
config?: ChartConfig;
|
package/dist/command.d.mts
CHANGED
|
@@ -75,7 +75,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
75
75
|
ref?: React.Ref<HTMLDivElement>;
|
|
76
76
|
} & {
|
|
77
77
|
asChild?: boolean;
|
|
78
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "
|
|
78
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
79
79
|
disabled?: boolean;
|
|
80
80
|
onSelect?: (value: string) => void;
|
|
81
81
|
value?: string;
|
package/dist/heading.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/heading.d.ts
|
|
4
4
|
declare const headingVariants: (props?: ({
|
|
5
5
|
level?: "h2" | "h3" | "h1" | "h4" | "h5" | "h6" | null | undefined;
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "default" | "muted" | "accent" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
|
|
9
9
|
/** Override the semantic HTML tag while keeping the visual style */
|
package/dist/link.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/link.d.ts
|
|
4
4
|
declare const linkVariants: (props?: ({
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "default" | "muted" | "subtle" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
|
|
8
8
|
asChild?: boolean;
|
package/dist/text.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
4
4
|
declare const textVariants: (props?: ({
|
|
5
5
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
6
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "muted" | "success" | "accent" | "error" | null | undefined;
|
|
8
8
|
align?: "center" | "left" | "right" | "justify" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
export interface TextProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof textVariants> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corensystem/coren-ui",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"bin": {
|
|
5
5
|
"intent": "./bin/intent.js"
|
|
6
6
|
},
|
|
@@ -1709,8 +1709,8 @@
|
|
|
1709
1709
|
"tailwind-merge": "^3.4.0",
|
|
1710
1710
|
"vaul": "^1.1.2",
|
|
1711
1711
|
"zod": "^4.3.5",
|
|
1712
|
-
"@corensystem/coren-
|
|
1713
|
-
"@corensystem/coren-
|
|
1712
|
+
"@corensystem/coren-utils": "1.0.0",
|
|
1713
|
+
"@corensystem/coren-tokens": "1.0.0"
|
|
1714
1714
|
},
|
|
1715
1715
|
"devDependencies": {
|
|
1716
1716
|
"@tailwindcss/cli": "^4.2.2",
|