organify-ui 0.2.10 → 0.2.11

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/index.d.ts CHANGED
@@ -39,7 +39,7 @@ declare function cn(...inputs: ClassValue[]): string;
39
39
  * Theme-aware: uses CSS variables for theme switching.
40
40
  */
41
41
  declare const buttonVariants: (props?: ({
42
- variant?: "link" | "default" | "secondary" | "ghost" | "destructive" | "outline" | "cream" | "cream-secondary" | null | undefined;
42
+ variant?: "default" | "link" | "secondary" | "ghost" | "destructive" | "outline" | "cream" | "cream-secondary" | null | undefined;
43
43
  size?: "sm" | "default" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
44
44
  } & class_variance_authority_types.ClassProp) | undefined) => string;
45
45
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -55,7 +55,7 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
55
55
  * Squircle radius, organic easing, focus glow.
56
56
  */
57
57
  declare const inputVariants: (props?: ({
58
- variant?: "error" | "flat" | "default" | "cream" | "rounded" | null | undefined;
58
+ variant?: "default" | "flat" | "cream" | "rounded" | "error" | null | undefined;
59
59
  } & class_variance_authority_types.ClassProp) | undefined) => string;
60
60
  interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
61
61
  label?: string;
@@ -102,7 +102,7 @@ declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAtt
102
102
  * Theme-aware: uses CSS variables for theme switching.
103
103
  */
104
104
  declare const badgeVariants: (props?: ({
105
- variant?: "success" | "error" | "warning" | "info" | "default" | "primary" | "in-flow" | "deep-work" | "high-energy" | "cream-default" | "cream-primary" | null | undefined;
105
+ variant?: "default" | "error" | "primary" | "success" | "warning" | "info" | "in-flow" | "deep-work" | "high-energy" | "cream-default" | "cream-primary" | null | undefined;
106
106
  } & class_variance_authority_types.ClassProp) | undefined) => string;
107
107
  interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
108
108
  /** Animated pulse dot */
@@ -236,7 +236,7 @@ declare function OrgLoaderInline({ className, ...props }: React.SVGProps<SVGSVGE
236
236
  * - Theme-aware borders using CSS variables
237
237
  */
238
238
  declare const alertVariants: (props?: ({
239
- variant?: "success" | "error" | "warning" | "info" | null | undefined;
239
+ variant?: "error" | "success" | "warning" | "info" | null | undefined;
240
240
  } & class_variance_authority_types.ClassProp) | undefined) => string;
241
241
  interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
242
242
  /** Alert title */
@@ -266,7 +266,7 @@ declare function Alert({ className, variant, title, description, icon, onClose,
266
266
  * - Auto-dismiss with optional progress bar
267
267
  */
268
268
  declare const toastVariants: (props?: ({
269
- variant?: "success" | "error" | "warning" | "info" | "default" | null | undefined;
269
+ variant?: "default" | "error" | "success" | "warning" | "info" | null | undefined;
270
270
  } & class_variance_authority_types.ClassProp) | undefined) => string;
271
271
  interface ToastProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof toastVariants> {
272
272
  /** Close handler */
@@ -388,9 +388,9 @@ declare function SettingsSkeleton({ className }: {
388
388
  * - `flat`: no clip-path, rounded corners
389
389
  */
390
390
  declare const glassPanelVariants: (props?: ({
391
- variant?: "flat" | "default" | "cream" | "alt" | "highlight" | null | undefined;
391
+ variant?: "default" | "flat" | "cream" | "alt" | "highlight" | null | undefined;
392
392
  corners?: "none" | "both" | "br" | "tl" | null | undefined;
393
- padding?: "none" | "sm" | "default" | "lg" | "xl" | null | undefined;
393
+ padding?: "sm" | "default" | "lg" | "xl" | "none" | null | undefined;
394
394
  } & class_variance_authority_types.ClassProp) | undefined) => string;
395
395
  interface GlassPanelProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof glassPanelVariants> {
396
396
  /** Add the in-flow indicator dot */
@@ -475,7 +475,7 @@ declare function SidebarButton({ item, expanded, renderLink, }: {
475
475
  item: SidebarNavItem;
476
476
  expanded: boolean;
477
477
  renderLink?: DockSidebarProps['renderLink'];
478
- }): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
478
+ }): string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
479
479
 
480
480
  interface WorkspaceSwitcherProps {
481
481
  /** Whether the sidebar is collapsed (icon-only mode) */
@@ -513,7 +513,7 @@ declare function Logo({ size, variant, animated, className, ...props }: LogoProp
513
513
  * From Brand Assets & Icons HTML.
514
514
  */
515
515
  declare const geometricIconVariants: (props?: ({
516
- variant?: "success" | "error" | "warning" | "default" | "outline" | "cream" | "filled" | null | undefined;
516
+ variant?: "default" | "outline" | "cream" | "error" | "success" | "warning" | "filled" | null | undefined;
517
517
  size?: "sm" | "default" | "lg" | "xl" | null | undefined;
518
518
  } & class_variance_authority_types.ClassProp) | undefined) => string;
519
519
  interface GeometricIconProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof geometricIconVariants> {
@@ -604,7 +604,7 @@ declare function StepConnector({ status, variant, }: {
604
604
  * From Brand Assets & Icons HTML.
605
605
  */
606
606
  declare const statusPillVariants: (props?: ({
607
- variant?: "success" | "error" | "warning" | "info" | "default" | "cream" | "primary" | "in-flow" | "deep-work" | "high-energy" | "resting" | "disconnected" | null | undefined;
607
+ variant?: "default" | "cream" | "error" | "primary" | "success" | "warning" | "info" | "in-flow" | "deep-work" | "high-energy" | "resting" | "disconnected" | null | undefined;
608
608
  size?: "sm" | "default" | "lg" | null | undefined;
609
609
  glow?: boolean | null | undefined;
610
610
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -1079,7 +1079,7 @@ declare function Label({ className, ...props }: React.ComponentProps<'label'>):
1079
1079
  * Squircle radius, organic easing, focus glow.
1080
1080
  */
1081
1081
  declare const textareaVariants: (props?: ({
1082
- variant?: "error" | "flat" | "default" | "cream" | "rounded" | null | undefined;
1082
+ variant?: "default" | "flat" | "cream" | "rounded" | "error" | null | undefined;
1083
1083
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1084
1084
  interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textareaVariants> {
1085
1085
  label?: string;
package/dist/index.js CHANGED
@@ -762,6 +762,7 @@ function DockSidebar({
762
762
  hoverExpand = false,
763
763
  renderLink,
764
764
  className,
765
+ // Destructure hoverExpand out so it doesn't leak to DOM via ...props
765
766
  ...props
766
767
  }) {
767
768
  const handleToggle = () => onExpandedChange?.(!expanded);