@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.
@@ -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/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" | "destructive" | "warning" | "info" | "secondary" | "outline" | "success" | "successSoft" | "warningSoft" | "dangerSoft" | "infoSoft" | "neutralSoft" | null | undefined;
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" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
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;
@@ -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> {
@@ -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" | "value" | "type"> & {
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>>;
@@ -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?: "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> {
@@ -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" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
6
- size?: "sm" | "lg" | "md" | null | undefined;
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?: "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;
@@ -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?: "warning" | "info" | "offline" | "success" | "neutral" | "error" | null | undefined;
6
- size?: "sm" | "lg" | "xs" | "md" | null | undefined;
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;