@corensystem/coren-ui 1.0.0 → 1.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/avatar-status-dot.d.mts +1 -1
- package/dist/avatar.d.mts +2 -2
- package/dist/citation.d.mts +1 -1
- package/dist/command.d.mts +2 -2
- package/dist/form-layout.d.mts +1 -1
- package/dist/grid.d.mts +1 -1
- package/dist/icon-button.d.mts +1 -1
- package/dist/icon.d.mts +1 -1
- package/dist/minimap.d.mts +1 -1
- package/dist/segmented-control.d.mts +1 -1
- package/dist/stack.d.mts +2 -2
- package/dist/status-dot.d.mts +1 -1
- package/dist/tab-list.d.mts +2 -2
- package/dist/tabs.d.mts +2 -2
- package/dist/text.d.mts +1 -1
- package/dist/thumbnail.d.mts +2 -2
- package/package.json +3 -3
|
@@ -7,7 +7,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
7
7
|
*/
|
|
8
8
|
declare const avatarStatusDotVariants: (props?: ({
|
|
9
9
|
variant?: "online" | "offline" | "busy" | "away" | "dnd" | null | undefined;
|
|
10
|
-
avatarSize?: "
|
|
10
|
+
avatarSize?: "sm" | "lg" | "xs" | "md" | "xl" | null | undefined;
|
|
11
11
|
position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | null | undefined;
|
|
12
12
|
pulse?: boolean | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
package/dist/avatar.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
//#region src/avatar.d.ts
|
|
5
5
|
declare const avatarVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
7
7
|
shape?: "circle" | "square" | "rounded" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
export type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
@@ -12,7 +12,7 @@ export interface AvatarProps extends React.ComponentPropsWithoutRef<typeof Avata
|
|
|
12
12
|
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
|
|
13
13
|
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
14
14
|
declare const avatarFallbackVariants: (props?: ({
|
|
15
|
-
size?: "
|
|
15
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
16
16
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
17
|
export interface AvatarFallbackProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>, VariantProps<typeof avatarFallbackVariants> {}
|
|
18
18
|
declare const AvatarFallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
|
package/dist/citation.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/citation.d.ts
|
|
4
4
|
declare const citationVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "
|
|
5
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
6
6
|
variant?: "default" | "plain" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface CitationProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof citationVariants> {
|
package/dist/command.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
31
31
|
ref?: React.Ref<HTMLInputElement>;
|
|
32
32
|
} & {
|
|
33
33
|
asChild?: boolean;
|
|
34
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "
|
|
34
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
35
35
|
value?: string;
|
|
36
36
|
onValueChange?: (search: string) => void;
|
|
37
37
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -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" | "value" | "disabled"> & {
|
|
79
79
|
disabled?: boolean;
|
|
80
80
|
onSelect?: (value: string) => void;
|
|
81
81
|
value?: string;
|
package/dist/form-layout.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/form-layout.d.ts
|
|
4
4
|
declare const formLayoutVariants: (props?: ({
|
|
5
5
|
layout?: "horizontal" | "vertical" | "inline" | null | undefined;
|
|
6
|
-
size?: "sm" | "
|
|
6
|
+
size?: "sm" | "lg" | "md" | "xl" | "full" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface FormLayoutProps extends React.FormHTMLAttributes<HTMLFormElement>, VariantProps<typeof formLayoutVariants> {}
|
|
9
9
|
/** Layout container for forms with consistent spacing and sizing. */
|
package/dist/grid.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/grid.d.ts
|
|
4
4
|
declare const gridVariants: (props?: ({
|
|
5
5
|
columns?: 1 | 2 | 3 | 4 | 6 | 5 | 12 | null | undefined;
|
|
6
|
-
gap?: "
|
|
6
|
+
gap?: "sm" | "lg" | "xs" | "md" | "xl" | "none" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
|
|
9
9
|
/** Render as a different HTML element */
|
package/dist/icon-button.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/icon-button.d.ts
|
|
4
4
|
declare const iconButtonVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
6
|
-
size?: "sm" | "
|
|
6
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
|
|
9
9
|
asChild?: boolean;
|
package/dist/icon.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from "react";
|
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
//#region src/icon.d.ts
|
|
5
5
|
declare const iconVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface IconProps extends Omit<LucideProps, "size">, VariantProps<typeof iconVariants> {
|
|
9
9
|
/** The Lucide icon component to render */
|
package/dist/minimap.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/minimap.d.ts
|
|
4
4
|
declare const minimapVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "
|
|
5
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface MinimapProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof minimapVariants> {
|
|
8
8
|
/** Longitude of the site the minimap is centred on. */
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/segmented-control.d.ts
|
|
4
4
|
declare const segmentedControlVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "
|
|
5
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface SegmentedControlOption {
|
|
8
8
|
value: string;
|
package/dist/stack.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/stack.d.ts
|
|
4
4
|
declare const stackVariants: (props?: ({
|
|
5
5
|
direction?: "row" | "column" | null | undefined;
|
|
6
|
-
gap?: "
|
|
7
|
-
align?: "center" | "end" | "start" | "
|
|
6
|
+
gap?: "sm" | "lg" | "xs" | "md" | "xl" | "none" | null | undefined;
|
|
7
|
+
align?: "center" | "end" | "start" | "stretch" | "baseline" | null | undefined;
|
|
8
8
|
justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
export interface StackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
|
package/dist/status-dot.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/status-dot.d.ts
|
|
4
4
|
declare const statusDotVariants: (props?: ({
|
|
5
5
|
variant?: "warning" | "info" | "offline" | "success" | "neutral" | "error" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "lg" | "xs" | "md" | null | undefined;
|
|
7
7
|
shape?: "filled" | "ring" | "minus" | null | undefined;
|
|
8
8
|
pulse?: boolean | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
package/dist/tab-list.d.mts
CHANGED
|
@@ -3,11 +3,11 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region src/tab-list.d.ts
|
|
4
4
|
declare const tabListVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "underline" | "pills" | null | undefined;
|
|
6
|
-
size?: "sm" | "
|
|
6
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const tabItemVariants: (props?: ({
|
|
9
9
|
variant?: "default" | "underline" | "pills" | null | undefined;
|
|
10
|
-
size?: "sm" | "
|
|
10
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
12
|
export interface TabItem {
|
|
13
13
|
value: string;
|
package/dist/tabs.d.mts
CHANGED
|
@@ -12,8 +12,8 @@ declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps
|
|
|
12
12
|
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
declare const tabsTriggerVariants: (props?: ({
|
|
14
14
|
variant?: "default" | "underline" | null | undefined;
|
|
15
|
-
display?: "
|
|
16
|
-
size?: "sm" | "
|
|
15
|
+
display?: "icon" | "text" | "icon-text" | null | undefined;
|
|
16
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
17
17
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
18
|
interface TabsTriggerProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, Omit<VariantProps<typeof tabsTriggerVariants>, "variant" | "size"> {}
|
|
19
19
|
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
package/dist/text.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/text.d.ts
|
|
4
4
|
declare const textVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "sm" | "lg" | "xs" | "md" | "xl" | null | undefined;
|
|
6
6
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
7
7
|
variant?: "default" | "muted" | "success" | "accent" | "error" | null | undefined;
|
|
8
8
|
align?: "center" | "left" | "right" | "justify" | null | undefined;
|
package/dist/thumbnail.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/thumbnail.d.ts
|
|
4
4
|
declare const thumbnailVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "
|
|
6
|
-
rounded?: "sm" | "
|
|
5
|
+
size?: "sm" | "lg" | "md" | "xl" | null | undefined;
|
|
6
|
+
rounded?: "sm" | "lg" | "md" | "full" | "none" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface ThumbnailProps extends Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src">, VariantProps<typeof thumbnailVariants> {
|
|
9
9
|
/** Image source URL */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corensystem/coren-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
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-tokens": "1.0.2",
|
|
1713
|
+
"@corensystem/coren-utils": "1.0.2"
|
|
1714
1714
|
},
|
|
1715
1715
|
"devDependencies": {
|
|
1716
1716
|
"@tailwindcss/cli": "^4.2.2",
|