@ai-matrx/design-system 0.86.353 → 0.86.354
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 +5 -0
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +5 -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;
|
|
@@ -1043,11 +1043,11 @@ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsibleC
|
|
|
1043
1043
|
|
|
1044
1044
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
1045
1045
|
children?: React$1.ReactNode;
|
|
1046
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1046
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1047
1047
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1048
1048
|
} & {
|
|
1049
1049
|
asChild?: boolean;
|
|
1050
|
-
},
|
|
1050
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1051
1051
|
label?: string;
|
|
1052
1052
|
shouldFilter?: boolean;
|
|
1053
1053
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -1082,45 +1082,45 @@ declare function CommandRowClose({ className }: {
|
|
|
1082
1082
|
}): React$1.ReactElement | null;
|
|
1083
1083
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
1084
1084
|
children?: React$1.ReactNode;
|
|
1085
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1085
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1086
1086
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1087
1087
|
} & {
|
|
1088
1088
|
asChild?: boolean;
|
|
1089
|
-
},
|
|
1089
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1090
1090
|
label?: string;
|
|
1091
1091
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1092
1092
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
1093
1093
|
children?: React$1.ReactNode;
|
|
1094
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1094
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1095
1095
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1096
1096
|
} & {
|
|
1097
1097
|
asChild?: boolean;
|
|
1098
|
-
},
|
|
1098
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1099
1099
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
1100
1100
|
children?: React$1.ReactNode;
|
|
1101
|
-
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1101
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1102
1102
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1103
1103
|
} & {
|
|
1104
1104
|
asChild?: boolean;
|
|
1105
|
-
},
|
|
1105
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "heading" | "value"> & {
|
|
1106
1106
|
heading?: React$1.ReactNode;
|
|
1107
1107
|
value?: string;
|
|
1108
1108
|
forceMount?: boolean;
|
|
1109
1109
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1110
|
-
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1110
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1111
1111
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1112
1112
|
} & {
|
|
1113
1113
|
asChild?: boolean;
|
|
1114
|
-
},
|
|
1114
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1115
1115
|
alwaysRender?: boolean;
|
|
1116
1116
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1117
1117
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
1118
1118
|
children?: React$1.ReactNode;
|
|
1119
|
-
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1119
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1120
1120
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1121
1121
|
} & {
|
|
1122
1122
|
asChild?: boolean;
|
|
1123
|
-
},
|
|
1123
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "onSelect" | "value" | "disabled"> & {
|
|
1124
1124
|
disabled?: boolean;
|
|
1125
1125
|
onSelect?: (value: string) => void;
|
|
1126
1126
|
value?: string;
|
|
@@ -2344,7 +2344,7 @@ declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
|
2344
2344
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2345
2345
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2346
2346
|
declare const selectTriggerVariants: (props?: ({
|
|
2347
|
-
size?: "
|
|
2347
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2348
2348
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2349
2349
|
/**
|
|
2350
2350
|
* THE ONE DROPDOWN CHEVRON (page-pass 2026-09-27, /crm/<id>). Pickers drew three
|
|
@@ -2740,7 +2740,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul
|
|
|
2740
2740
|
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
2741
2741
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2742
2742
|
variant?: "default" | "outline" | null | undefined;
|
|
2743
|
-
size?: "
|
|
2743
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2744
2744
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2745
2745
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
2746
2746
|
asChild?: boolean;
|
|
@@ -4629,8 +4629,8 @@ declare const ResizableHandle: {
|
|
|
4629
4629
|
};
|
|
4630
4630
|
|
|
4631
4631
|
declare const toggleVariants: (props?: ({
|
|
4632
|
-
variant?: "
|
|
4633
|
-
size?: "
|
|
4632
|
+
variant?: "default" | "outline" | "switch" | null | undefined;
|
|
4633
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
4634
4634
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4635
4635
|
interface ToggleProps extends React$1.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
4636
4636
|
}
|
|
@@ -5399,8 +5399,8 @@ type AdvancedTooltipProps = {
|
|
|
5399
5399
|
disabled?: boolean;
|
|
5400
5400
|
variant?: "default" | "error" | "warning" | "success";
|
|
5401
5401
|
};
|
|
5402
|
-
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> |
|
|
5403
|
-
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> |
|
|
5402
|
+
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;
|
|
5403
|
+
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;
|
|
5404
5404
|
|
|
5405
5405
|
type LoadingVariant = 'dots' | 'bars' | 'brain' | 'minimal' | 'workflow';
|
|
5406
5406
|
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;
|
|
@@ -1043,11 +1043,11 @@ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsibleC
|
|
|
1043
1043
|
|
|
1044
1044
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
1045
1045
|
children?: React$1.ReactNode;
|
|
1046
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1046
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1047
1047
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1048
1048
|
} & {
|
|
1049
1049
|
asChild?: boolean;
|
|
1050
|
-
},
|
|
1050
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1051
1051
|
label?: string;
|
|
1052
1052
|
shouldFilter?: boolean;
|
|
1053
1053
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -1082,45 +1082,45 @@ declare function CommandRowClose({ className }: {
|
|
|
1082
1082
|
}): React$1.ReactElement | null;
|
|
1083
1083
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
1084
1084
|
children?: React$1.ReactNode;
|
|
1085
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1085
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1086
1086
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1087
1087
|
} & {
|
|
1088
1088
|
asChild?: boolean;
|
|
1089
|
-
},
|
|
1089
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1090
1090
|
label?: string;
|
|
1091
1091
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1092
1092
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
1093
1093
|
children?: React$1.ReactNode;
|
|
1094
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1094
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1095
1095
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1096
1096
|
} & {
|
|
1097
1097
|
asChild?: boolean;
|
|
1098
|
-
},
|
|
1098
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1099
1099
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
1100
1100
|
children?: React$1.ReactNode;
|
|
1101
|
-
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1101
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1102
1102
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1103
1103
|
} & {
|
|
1104
1104
|
asChild?: boolean;
|
|
1105
|
-
},
|
|
1105
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "heading" | "value"> & {
|
|
1106
1106
|
heading?: React$1.ReactNode;
|
|
1107
1107
|
value?: string;
|
|
1108
1108
|
forceMount?: boolean;
|
|
1109
1109
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1110
|
-
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1110
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1111
1111
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1112
1112
|
} & {
|
|
1113
1113
|
asChild?: boolean;
|
|
1114
|
-
},
|
|
1114
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
1115
1115
|
alwaysRender?: boolean;
|
|
1116
1116
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1117
1117
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
1118
1118
|
children?: React$1.ReactNode;
|
|
1119
|
-
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
1119
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
1120
1120
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1121
1121
|
} & {
|
|
1122
1122
|
asChild?: boolean;
|
|
1123
|
-
},
|
|
1123
|
+
}, keyof React$1.HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "onSelect" | "value" | "disabled"> & {
|
|
1124
1124
|
disabled?: boolean;
|
|
1125
1125
|
onSelect?: (value: string) => void;
|
|
1126
1126
|
value?: string;
|
|
@@ -2344,7 +2344,7 @@ declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
|
2344
2344
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2345
2345
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2346
2346
|
declare const selectTriggerVariants: (props?: ({
|
|
2347
|
-
size?: "
|
|
2347
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2348
2348
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2349
2349
|
/**
|
|
2350
2350
|
* THE ONE DROPDOWN CHEVRON (page-pass 2026-09-27, /crm/<id>). Pickers drew three
|
|
@@ -2740,7 +2740,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul
|
|
|
2740
2740
|
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
2741
2741
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2742
2742
|
variant?: "default" | "outline" | null | undefined;
|
|
2743
|
-
size?: "
|
|
2743
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2744
2744
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2745
2745
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
2746
2746
|
asChild?: boolean;
|
|
@@ -4629,8 +4629,8 @@ declare const ResizableHandle: {
|
|
|
4629
4629
|
};
|
|
4630
4630
|
|
|
4631
4631
|
declare const toggleVariants: (props?: ({
|
|
4632
|
-
variant?: "
|
|
4633
|
-
size?: "
|
|
4632
|
+
variant?: "default" | "outline" | "switch" | null | undefined;
|
|
4633
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
4634
4634
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4635
4635
|
interface ToggleProps extends React$1.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
4636
4636
|
}
|
|
@@ -5399,8 +5399,8 @@ type AdvancedTooltipProps = {
|
|
|
5399
5399
|
disabled?: boolean;
|
|
5400
5400
|
variant?: "default" | "error" | "warning" | "success";
|
|
5401
5401
|
};
|
|
5402
|
-
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> |
|
|
5403
|
-
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> |
|
|
5402
|
+
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;
|
|
5403
|
+
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;
|
|
5404
5404
|
|
|
5405
5405
|
type LoadingVariant = 'dots' | 'bars' | 'brain' | 'minimal' | 'workflow';
|
|
5406
5406
|
type LoadingSize = 'sm' | 'md' | 'lg';
|
package/dist/index.js
CHANGED
|
@@ -4385,7 +4385,7 @@ function EmailValue({ email, owner, state = "ok", peek = true, about }) {
|
|
|
4385
4385
|
...ok ? { primary: { label: "Send email", onSelect: () => window.location.assign(mailtoHref(parsed.address)) } } : {},
|
|
4386
4386
|
copyData: { email: parsed.address, ...owner ? { owner } : {} }
|
|
4387
4387
|
};
|
|
4388
|
-
return /* @__PURE__ */ jsx22(ValueShell, { kind: "email", glyph: MailGlyph, text: parsed.address, copy: parsed.address, state, record, peek, about });
|
|
4388
|
+
return /* @__PURE__ */ jsx22(ValueShell, { kind: "email", glyph: MailGlyph, text: parsed.address, copy: parsed.address, state, record, peek, ...about !== void 0 ? { about } : {} });
|
|
4389
4389
|
}
|
|
4390
4390
|
function PhoneValue({ phone, owner, state = "ok", peek = true, defaultCallingCode = "1", about }) {
|
|
4391
4391
|
const parsed = parsePhone(phone, defaultCallingCode);
|
|
@@ -4410,7 +4410,7 @@ function PhoneValue({ phone, owner, state = "ok", peek = true, defaultCallingCod
|
|
|
4410
4410
|
...ok ? { primary: { label: "Call", onSelect: () => window.location.assign(telHref(parsed)) } } : {},
|
|
4411
4411
|
copyData: { phone: parsed.e164 ?? parsed.raw, display: parsed.display, ...parsed.region ? { region: parsed.region } : {}, ...owner ? { owner } : {} }
|
|
4412
4412
|
};
|
|
4413
|
-
return /* @__PURE__ */ jsx22(ValueShell, { kind: "phone number", glyph: PhoneGlyph, text: parsed.display, copy: parsed.e164 ?? parsed.raw, state, record, peek, about });
|
|
4413
|
+
return /* @__PURE__ */ jsx22(ValueShell, { kind: "phone number", glyph: PhoneGlyph, text: parsed.display, copy: parsed.e164 ?? parsed.raw, state, record, peek, ...about !== void 0 ? { about } : {} });
|
|
4414
4414
|
}
|
|
4415
4415
|
var VALIDATION_TONE = { verified: "success", partial: "warning", unknown: "danger" };
|
|
4416
4416
|
var VALIDATION_TEXT = { verified: "Verified address", partial: "Partly matched", unknown: "No match found" };
|
|
@@ -4469,7 +4469,7 @@ function AddressValue({ address, owner, state = "ok", peek = true, multiline = f
|
|
|
4469
4469
|
state,
|
|
4470
4470
|
record,
|
|
4471
4471
|
peek,
|
|
4472
|
-
about,
|
|
4472
|
+
...about !== void 0 ? { about } : {},
|
|
4473
4473
|
...multiline ? { wrap: true } : {}
|
|
4474
4474
|
}
|
|
4475
4475
|
);
|
|
@@ -4511,7 +4511,7 @@ function SocialHandleValue(props) {
|
|
|
4511
4511
|
state,
|
|
4512
4512
|
record: socialRecord(parsed, props, glyph),
|
|
4513
4513
|
peek,
|
|
4514
|
-
about: props.about
|
|
4514
|
+
...props.about !== void 0 ? { about: props.about } : {}
|
|
4515
4515
|
}
|
|
4516
4516
|
);
|
|
4517
4517
|
}
|
|
@@ -4535,7 +4535,7 @@ function UrlValue({ url, title, owner, state = "ok", peek = true, icon = true, a
|
|
|
4535
4535
|
...ok ? { primary: { label: "Open", onSelect: () => openOutbound2(parsed.href) } } : {},
|
|
4536
4536
|
copyData: { url: parsed.href ?? url, domain: parsed.domain, ...title ? { title } : {} }
|
|
4537
4537
|
};
|
|
4538
|
-
return /* @__PURE__ */ jsx22(ValueShell, { kind: "link", ...icon ? { glyph: GlobeIcon } : {}, text: parsed.display, copy: parsed.href ?? url, state, record, peek, about });
|
|
4538
|
+
return /* @__PURE__ */ jsx22(ValueShell, { kind: "link", ...icon ? { glyph: GlobeIcon } : {}, text: parsed.display, copy: parsed.href ?? url, state, record, peek, ...about !== void 0 ? { about } : {} });
|
|
4539
4539
|
}
|
|
4540
4540
|
function ContactValue({ type, value, platform, followers, title, icon, ...common }) {
|
|
4541
4541
|
switch (type) {
|