@corensystem/coren-ui 1.0.2 → 1.1.0-next.20260926.121020.b6e5dc0

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.
@@ -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?: "sm" | "lg" | "xs" | "md" | "xl" | null | undefined;
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?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | null | undefined;
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?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | null | undefined;
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/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" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
5
+ variant?: "default" | "destructive" | "link" | "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;
@@ -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" | "lg" | "md" | null | undefined;
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> {
@@ -4,11 +4,11 @@ import { DialogProps } from "@radix-ui/react-dialog";
4
4
  /** A command palette and search interface built on cmdk. */
5
5
  declare const Command: React.ForwardRefExoticComponent<Omit<{
6
6
  children?: React.ReactNode;
7
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
7
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
8
8
  ref?: React.Ref<HTMLDivElement>;
9
9
  } & {
10
10
  asChild?: boolean;
11
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
11
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
12
12
  label?: string;
13
13
  shouldFilter?: boolean;
14
14
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -37,45 +37,45 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
37
37
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
38
38
  declare const CommandList: React.ForwardRefExoticComponent<Omit<{
39
39
  children?: React.ReactNode;
40
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
40
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
41
41
  ref?: React.Ref<HTMLDivElement>;
42
42
  } & {
43
43
  asChild?: boolean;
44
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
44
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
45
45
  label?: string;
46
46
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
47
47
  declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
48
48
  children?: React.ReactNode;
49
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
49
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
50
50
  ref?: React.Ref<HTMLDivElement>;
51
51
  } & {
52
52
  asChild?: boolean;
53
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
53
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
54
54
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
55
55
  children?: React.ReactNode;
56
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
56
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
57
57
  ref?: React.Ref<HTMLDivElement>;
58
58
  } & {
59
59
  asChild?: boolean;
60
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
60
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "value" | "heading"> & {
61
61
  heading?: React.ReactNode;
62
62
  value?: string;
63
63
  forceMount?: boolean;
64
64
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
65
- declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
65
+ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
66
66
  ref?: React.Ref<HTMLDivElement>;
67
67
  } & {
68
68
  asChild?: boolean;
69
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
69
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
70
70
  alwaysRender?: boolean;
71
71
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
72
72
  declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
73
73
  children?: React.ReactNode;
74
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
74
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | "key"> & {
75
75
  ref?: React.Ref<HTMLDivElement>;
76
76
  } & {
77
77
  asChild?: boolean;
78
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
78
+ }, keyof React.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "onSelect" | "value" | "disabled"> & {
79
79
  disabled?: boolean;
80
80
  onSelect?: (value: string) => void;
81
81
  value?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.mts","names":[],"sources":["../src/command.tsx"],"mappings":";;;;cAUM,SAAO,MAAA,0BAAA;;;;;;;;;;;;;;;;IAYX,MAAA,cAAA,0BAAA,MAAA,cAAA;;;;;;cAQI,kBAAiB,UAAA,qBAAA,SAAwC;EAAe;kCAA0B,IAAA;cAYlG,cAAY,MAAA,0BAAA,KAAA,KAAA,KAAA,KAAA,MAAA,kBAAA,MAAA,oBAAA,mBAAA,iCAAA,MAAA,oBAAA;;;;;;;IAehB,MAAA,cAAA,4BAAA,MAAA,cAAA;cAII,aAAW,MAAA,0BAAA;;;;;;;;IASf,MAAA,cAAA,0BAAA,MAAA,cAAA;cAII,cAAY,MAAA,0BAAA;;;;;;iBAGiG,MAAA,eAAA,+BAAA,MAAA,cAAA,0BAAA,MAAA,cAAA;cAI7G,cAAY,MAAA,0BAAA;;;;;;;;;;IAYhB,MAAA,cAAA,0BAAA,MAAA,cAAA;cAII,kBAAgB,MAAA,0BAAA,KAAA,KAAA,KAAA,MAAA,kBAAA,MAAA,eAAA,iBAAA,+BAAA,MAAA,eAAA;;;;;;IAKpB,MAAA,cAAA,0BAAA,MAAA,cAAA;cAGI,aAAW,MAAA,0BAAA;;;;;;;;;;;;IAYf,MAAA,cAAA,0BAAA,MAAA,cAAA;cAII;KAA0C,cAAA,SAAA,MAAM,eAAe,+CAAgB,IAAA"}
1
+ {"version":3,"file":"command.d.mts","names":[],"sources":["../src/command.tsx"],"mappings":";;;;cAUM,SAAO,MAAA,0BAAA;;;;;;;;;;;;;;;;IAYX,MAAA,cAAA,0BAAA,MAAA,cAAA;;;;;;cAQI,kBAAiB,UAAA,qBAAA,SAAwC;EAAe;kCAA0B,IAAA;cAYlG,cAAY,MAAA,0BAAA,KAAA,KAAA,KAAA,KAAA,MAAA,kBAAA,MAAA,oBAAA,mBAAA,iCAAA,MAAA,oBAAA;;;;;;;IAehB,MAAA,cAAA,4BAAA,MAAA,cAAA;cAII,aAAW,MAAA,0BAAA;;;;;;;;IASf,MAAA,cAAA,0BAAA,MAAA,cAAA;cAII,cAAY,MAAA,0BAAA;;;;;;SAGiG,MAAA,eAAA,uCAAA,MAAA,cAAA,0BAAA,MAAA,cAAA;cAI7G,cAAY,MAAA,0BAAA;;;;;;;;;;IAYhB,MAAA,cAAA,0BAAA,MAAA,cAAA;cAII,kBAAgB,MAAA,0BAAA,KAAA,KAAA,KAAA,MAAA,kBAAA,MAAA,eAAA,iBAAA,uBAAA,MAAA,eAAA;;;;;;IAKpB,MAAA,cAAA,0BAAA,MAAA,cAAA;cAGI,aAAW,MAAA,0BAAA;;;;;;;;;;;;IAYf,MAAA,cAAA,0BAAA,MAAA,cAAA;cAII;KAA0C,cAAA,SAAA,MAAM,eAAe,+CAAgB,IAAA"}
@@ -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" | "lg" | "md" | "xl" | "full" | null | undefined;
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 | 5 | 12 | null | undefined;
6
- gap?: "sm" | "lg" | "xs" | "md" | "xl" | "none" | null | undefined;
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 */
@@ -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" | "destructive" | "secondary" | "primary" | "accent" | null | undefined;
5
+ variant?: "destructive" | "muted" | "secondary" | "accent" | "primary" | 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> {
@@ -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" | "lg" | "md" | 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?: "sm" | "lg" | "xs" | "md" | "xl" | null | undefined;
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 */
@@ -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" | "lg" | "md" | null | undefined;
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" | "lg" | "md" | null | undefined;
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?: "sm" | "lg" | "xs" | "md" | "xl" | "none" | null | undefined;
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;
@@ -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?: "sm" | "lg" | "xs" | "md" | 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;