@corensystem/coren-ui 1.0.2 → 1.1.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/avatar-status-dot.d.mts +1 -1
- package/dist/avatar.d.mts +2 -2
- package/dist/badge.d.mts +1 -1
- package/dist/button.d.mts +1 -1
- package/dist/citation.d.mts +1 -1
- package/dist/command.d.mts +1 -1
- package/dist/form-layout.d.mts +1 -1
- package/dist/grid.d.mts +2 -2
- package/dist/house-shape.d.mts +1 -1
- package/dist/icon-button.d.mts +2 -2
- 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 +1 -1
- package/dist/status-dot.d.mts +2 -2
- package/dist/styles.css +1 -1
- package/dist/styles.tw4.css +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?: "xs" | "sm" | "md" | "lg" | "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?: "xs" | "sm" | "md" | "lg" | "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?: "xs" | "sm" | "md" | "lg" | "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/badge.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/badge.d.ts
|
|
4
4
|
declare const badgeVariants: (props?: ({
|
|
5
|
-
variant?: "default" | "
|
|
5
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "info" | "successSoft" | "warningSoft" | "dangerSoft" | "infoSoft" | "neutralSoft" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
|
|
8
8
|
/**
|
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?: "default" | "link" | "
|
|
5
|
+
variant?: "default" | "link" | "secondary" | "destructive" | "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/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" | "md" | "lg" | 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" | "type" | "value"> & {
|
|
35
35
|
value?: string;
|
|
36
36
|
onValueChange?: (search: string) => void;
|
|
37
37
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
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" | "md" | "lg" | "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
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/grid.d.ts
|
|
4
4
|
declare const gridVariants: (props?: ({
|
|
5
|
-
columns?: 1 | 2 | 3 | 4 |
|
|
6
|
-
gap?: "
|
|
5
|
+
columns?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | null | undefined;
|
|
6
|
+
gap?: "xs" | "sm" | "md" | "lg" | "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/house-shape.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/house-shape.d.ts
|
|
4
4
|
declare const houseShapeVariants: (props?: ({
|
|
5
|
-
variant?: "muted" | "
|
|
5
|
+
variant?: "muted" | "secondary" | "destructive" | "primary" | "accent" | null | undefined;
|
|
6
6
|
state?: "selected" | "idle" | "hovered" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface HouseShapeProps extends Omit<React.SVGProps<SVGSVGElement>, "state">, VariantProps<typeof houseShapeVariants> {
|
package/dist/icon-button.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/icon-button.d.ts
|
|
4
4
|
declare const iconButtonVariants: (props?: ({
|
|
5
|
-
variant?: "default" | "
|
|
6
|
-
size?: "sm" | "
|
|
5
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
6
|
+
size?: "sm" | "md" | "lg" | 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?: "xs" | "sm" | "md" | "lg" | "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" | "md" | "lg" | 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" | "md" | "lg" | 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,7 +3,7 @@ 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?: "
|
|
6
|
+
gap?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
7
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;
|
package/dist/status-dot.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/status-dot.d.ts
|
|
4
4
|
declare const statusDotVariants: (props?: ({
|
|
5
|
-
variant?: "
|
|
6
|
-
size?: "
|
|
5
|
+
variant?: "success" | "warning" | "info" | "offline" | "neutral" | "error" | null | undefined;
|
|
6
|
+
size?: "xs" | "sm" | "md" | "lg" | 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;
|