@ai-matrx/design-system 0.86.346 → 0.86.348
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/CHANGELOG.md +20 -1
- package/dist/data-table/index.cjs +2 -2
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +2 -2
- package/dist/data-table/index.js.map +1 -1
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -418,7 +418,7 @@ declare function ReadGate({ read, status: statusProp, error: errorProp, what: wh
|
|
|
418
418
|
loading?: ReactNode;
|
|
419
419
|
onRetry?: (() => void) | undefined;
|
|
420
420
|
children: ReactNode;
|
|
421
|
-
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined
|
|
421
|
+
}): string | number | bigint | boolean | React$1.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined>;
|
|
422
422
|
/**
|
|
423
423
|
* A list primitive's EMPTY branch (RC-B12 round 13): the failure while its read
|
|
424
424
|
* failed, the wait while it loads, and the primitive's own empty view only
|
|
@@ -639,8 +639,8 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDia
|
|
|
639
639
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
640
640
|
|
|
641
641
|
declare const buttonVariants: (props?: ({
|
|
642
|
-
variant?: "
|
|
643
|
-
size?: "
|
|
642
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "link" | "primary" | "ghost" | "subtle" | null | undefined;
|
|
643
|
+
size?: "default" | "sm" | "md" | "xs" | "lg" | "xl" | "2xl" | "3xl" | "icon" | "icon-sm" | "roundIcon" | null | undefined;
|
|
644
644
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
645
645
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
646
646
|
asChild?: boolean;
|
|
@@ -2335,7 +2335,7 @@ declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
|
2335
2335
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2336
2336
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2337
2337
|
declare const selectTriggerVariants: (props?: ({
|
|
2338
|
-
size?: "
|
|
2338
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2339
2339
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2340
2340
|
/**
|
|
2341
2341
|
* THE ONE DROPDOWN CHEVRON (page-pass 2026-09-27, /crm/<id>). Pickers drew three
|
|
@@ -2731,7 +2731,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul
|
|
|
2731
2731
|
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
2732
2732
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2733
2733
|
variant?: "default" | "outline" | null | undefined;
|
|
2734
|
-
size?: "
|
|
2734
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2735
2735
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2736
2736
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
2737
2737
|
asChild?: boolean;
|
|
@@ -4617,8 +4617,8 @@ declare const ResizableHandle: {
|
|
|
4617
4617
|
};
|
|
4618
4618
|
|
|
4619
4619
|
declare const toggleVariants: (props?: ({
|
|
4620
|
-
variant?: "
|
|
4621
|
-
size?: "
|
|
4620
|
+
variant?: "default" | "outline" | "switch" | null | undefined;
|
|
4621
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
4622
4622
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4623
4623
|
interface ToggleProps extends React$1.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
4624
4624
|
}
|
|
@@ -5387,8 +5387,8 @@ type AdvancedTooltipProps = {
|
|
|
5387
5387
|
disabled?: boolean;
|
|
5388
5388
|
variant?: "default" | "error" | "warning" | "success";
|
|
5389
5389
|
};
|
|
5390
|
-
declare const SimpleTooltip: ({ children, text }: SimpleTooltipProps) => string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> |
|
|
5391
|
-
declare const AdvancedTooltip: ({ children, text, side, align, delayDuration, className, sideOffset, contentClassName, disabled, variant, }: AdvancedTooltipProps) => string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> |
|
|
5390
|
+
declare const SimpleTooltip: ({ children, text }: SimpleTooltipProps) => string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
|
|
5391
|
+
declare const AdvancedTooltip: ({ children, text, side, align, delayDuration, className, sideOffset, contentClassName, disabled, variant, }: AdvancedTooltipProps) => string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
|
|
5392
5392
|
|
|
5393
5393
|
type LoadingVariant = 'dots' | 'bars' | 'brain' | 'minimal' | 'workflow';
|
|
5394
5394
|
type LoadingSize = 'sm' | 'md' | 'lg';
|
package/dist/index.d.ts
CHANGED
|
@@ -418,7 +418,7 @@ declare function ReadGate({ read, status: statusProp, error: errorProp, what: wh
|
|
|
418
418
|
loading?: ReactNode;
|
|
419
419
|
onRetry?: (() => void) | undefined;
|
|
420
420
|
children: ReactNode;
|
|
421
|
-
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined
|
|
421
|
+
}): string | number | bigint | boolean | React$1.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined>;
|
|
422
422
|
/**
|
|
423
423
|
* A list primitive's EMPTY branch (RC-B12 round 13): the failure while its read
|
|
424
424
|
* failed, the wait while it loads, and the primitive's own empty view only
|
|
@@ -639,8 +639,8 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDia
|
|
|
639
639
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
640
640
|
|
|
641
641
|
declare const buttonVariants: (props?: ({
|
|
642
|
-
variant?: "
|
|
643
|
-
size?: "
|
|
642
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "link" | "primary" | "ghost" | "subtle" | null | undefined;
|
|
643
|
+
size?: "default" | "sm" | "md" | "xs" | "lg" | "xl" | "2xl" | "3xl" | "icon" | "icon-sm" | "roundIcon" | null | undefined;
|
|
644
644
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
645
645
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
646
646
|
asChild?: boolean;
|
|
@@ -2335,7 +2335,7 @@ declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
|
2335
2335
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2336
2336
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2337
2337
|
declare const selectTriggerVariants: (props?: ({
|
|
2338
|
-
size?: "
|
|
2338
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2339
2339
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2340
2340
|
/**
|
|
2341
2341
|
* THE ONE DROPDOWN CHEVRON (page-pass 2026-09-27, /crm/<id>). Pickers drew three
|
|
@@ -2731,7 +2731,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul
|
|
|
2731
2731
|
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
2732
2732
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2733
2733
|
variant?: "default" | "outline" | null | undefined;
|
|
2734
|
-
size?: "
|
|
2734
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2735
2735
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2736
2736
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
2737
2737
|
asChild?: boolean;
|
|
@@ -4617,8 +4617,8 @@ declare const ResizableHandle: {
|
|
|
4617
4617
|
};
|
|
4618
4618
|
|
|
4619
4619
|
declare const toggleVariants: (props?: ({
|
|
4620
|
-
variant?: "
|
|
4621
|
-
size?: "
|
|
4620
|
+
variant?: "default" | "outline" | "switch" | null | undefined;
|
|
4621
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
4622
4622
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4623
4623
|
interface ToggleProps extends React$1.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
4624
4624
|
}
|
|
@@ -5387,8 +5387,8 @@ type AdvancedTooltipProps = {
|
|
|
5387
5387
|
disabled?: boolean;
|
|
5388
5388
|
variant?: "default" | "error" | "warning" | "success";
|
|
5389
5389
|
};
|
|
5390
|
-
declare const SimpleTooltip: ({ children, text }: SimpleTooltipProps) => string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> |
|
|
5391
|
-
declare const AdvancedTooltip: ({ children, text, side, align, delayDuration, className, sideOffset, contentClassName, disabled, variant, }: AdvancedTooltipProps) => string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> |
|
|
5390
|
+
declare const SimpleTooltip: ({ children, text }: SimpleTooltipProps) => string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
|
|
5391
|
+
declare const AdvancedTooltip: ({ children, text, side, align, delayDuration, className, sideOffset, contentClassName, disabled, variant, }: AdvancedTooltipProps) => string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
|
|
5392
5392
|
|
|
5393
5393
|
type LoadingVariant = 'dots' | 'bars' | 'brain' | 'minimal' | 'workflow';
|
|
5394
5394
|
type LoadingSize = 'sm' | 'md' | 'lg';
|
package/dist/index.js
CHANGED
|
@@ -6004,7 +6004,7 @@ var LoadingSpinner = ({
|
|
|
6004
6004
|
"flex items-center justify-center bg-background",
|
|
6005
6005
|
fullscreen && "h-dvh w-full",
|
|
6006
6006
|
className
|
|
6007
|
-
), children: [
|
|
6007
|
+
), "aria-busy": "true", children: [
|
|
6008
6008
|
overlay && /* @__PURE__ */ jsx33("div", { className: "absolute inset-0 bg-background/80 backdrop-blur-sm z-50" }),
|
|
6009
6009
|
/* @__PURE__ */ jsx33("div", { className: cn(
|
|
6010
6010
|
"flex flex-col items-center justify-center",
|
|
@@ -6012,10 +6012,13 @@ var LoadingSpinner = ({
|
|
|
6012
6012
|
), children: renderWorkflow() })
|
|
6013
6013
|
] });
|
|
6014
6014
|
}
|
|
6015
|
-
return
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6015
|
+
return (
|
|
6016
|
+
// aria-busy: a spinner is a stand-in, and whatever measures a settled layout waits for it.
|
|
6017
|
+
/* @__PURE__ */ jsx33("div", { className: cn("flex items-center", className), "aria-busy": "true", children: variant === "workflow" ? renderWorkflow() : /* @__PURE__ */ jsxs19(Fragment8, { children: [
|
|
6018
|
+
renderSpinner(),
|
|
6019
|
+
showMessage && /* @__PURE__ */ jsx33("span", { className: cn("ml-3 text-muted-foreground", sizeClasses2.text), children: message || getDefaultMessage() })
|
|
6020
|
+
] }) })
|
|
6021
|
+
);
|
|
6019
6022
|
};
|
|
6020
6023
|
|
|
6021
6024
|
// src/mini-loader.tsx
|