hazo_ui 2.7.1 → 2.7.3
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/README.md +135 -2
- package/dist/index.cjs +106 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +106 -3
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/tailwind.preset.js +5 -4
package/dist/index.d.cts
CHANGED
|
@@ -164,6 +164,24 @@ interface HazoUiFlexRadioProps {
|
|
|
164
164
|
*/
|
|
165
165
|
declare function HazoUiFlexRadio({ layout, style, display_label, icon_set, data, selection, value, onChange, className, compressed, }: HazoUiFlexRadioProps): react_jsx_runtime.JSX.Element;
|
|
166
166
|
|
|
167
|
+
interface HazoUiPillRadioItem {
|
|
168
|
+
label: string;
|
|
169
|
+
value: string;
|
|
170
|
+
icon?: string;
|
|
171
|
+
color?: string;
|
|
172
|
+
}
|
|
173
|
+
interface HazoUiPillRadioProps {
|
|
174
|
+
layout?: "horizontal" | "vertical";
|
|
175
|
+
icon_set?: string;
|
|
176
|
+
data: HazoUiPillRadioItem[];
|
|
177
|
+
value: string;
|
|
178
|
+
onChange: (value: string) => void;
|
|
179
|
+
className?: string;
|
|
180
|
+
pill_size?: "sm" | "md" | "lg";
|
|
181
|
+
equal_width?: boolean;
|
|
182
|
+
}
|
|
183
|
+
declare function HazoUiPillRadio({ layout, icon_set, data, value, onChange, className, pill_size, equal_width, }: HazoUiPillRadioProps): react_jsx_runtime.JSX.Element;
|
|
184
|
+
|
|
167
185
|
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
168
186
|
}
|
|
169
187
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -877,4 +895,4 @@ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
|
877
895
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
878
896
|
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
879
897
|
|
|
880
|
-
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, type AnimationPreset, type BaseCommandInputProps, Button, Calendar, Checkbox, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DialogVariant, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FilterConfig, type FilterField, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiRte, type HazoUiRteProps, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, type InsertedCommand, Label, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, type SortConfig, type SortField, type SuggestionState, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
|
|
898
|
+
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, type AnimationPreset, type BaseCommandInputProps, Button, Calendar, Checkbox, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DialogVariant, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FilterConfig, type FilterField, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiRte, type HazoUiRteProps, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, type InsertedCommand, Label, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, type SortConfig, type SortField, type SuggestionState, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
|
package/dist/index.d.ts
CHANGED
|
@@ -164,6 +164,24 @@ interface HazoUiFlexRadioProps {
|
|
|
164
164
|
*/
|
|
165
165
|
declare function HazoUiFlexRadio({ layout, style, display_label, icon_set, data, selection, value, onChange, className, compressed, }: HazoUiFlexRadioProps): react_jsx_runtime.JSX.Element;
|
|
166
166
|
|
|
167
|
+
interface HazoUiPillRadioItem {
|
|
168
|
+
label: string;
|
|
169
|
+
value: string;
|
|
170
|
+
icon?: string;
|
|
171
|
+
color?: string;
|
|
172
|
+
}
|
|
173
|
+
interface HazoUiPillRadioProps {
|
|
174
|
+
layout?: "horizontal" | "vertical";
|
|
175
|
+
icon_set?: string;
|
|
176
|
+
data: HazoUiPillRadioItem[];
|
|
177
|
+
value: string;
|
|
178
|
+
onChange: (value: string) => void;
|
|
179
|
+
className?: string;
|
|
180
|
+
pill_size?: "sm" | "md" | "lg";
|
|
181
|
+
equal_width?: boolean;
|
|
182
|
+
}
|
|
183
|
+
declare function HazoUiPillRadio({ layout, icon_set, data, value, onChange, className, pill_size, equal_width, }: HazoUiPillRadioProps): react_jsx_runtime.JSX.Element;
|
|
184
|
+
|
|
167
185
|
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
168
186
|
}
|
|
169
187
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -877,4 +895,4 @@ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
|
877
895
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
878
896
|
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
879
897
|
|
|
880
|
-
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, type AnimationPreset, type BaseCommandInputProps, Button, Calendar, Checkbox, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DialogVariant, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FilterConfig, type FilterField, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiRte, type HazoUiRteProps, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, type InsertedCommand, Label, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, type SortConfig, type SortField, type SuggestionState, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
|
|
898
|
+
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, type AnimationPreset, type BaseCommandInputProps, Button, Calendar, Checkbox, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DialogVariant, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FilterConfig, type FilterField, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiRte, type HazoUiRteProps, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, type InsertedCommand, Label, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, type SortConfig, type SortField, type SuggestionState, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
|
package/dist/index.js
CHANGED
|
@@ -89,7 +89,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
89
89
|
|
|
90
90
|
// ../node_modules/@babel/runtime/helpers/extends.js
|
|
91
91
|
var require_extends = __commonJS({
|
|
92
|
-
"../node_modules/@babel/runtime/helpers/extends.js"(exports
|
|
92
|
+
"../node_modules/@babel/runtime/helpers/extends.js"(exports, module) {
|
|
93
93
|
function _extends11() {
|
|
94
94
|
return module.exports = _extends11 = Object.assign ? Object.assign.bind() : function(n) {
|
|
95
95
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -105,7 +105,7 @@ var require_extends = __commonJS({
|
|
|
105
105
|
|
|
106
106
|
// ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
107
107
|
var require_objectWithoutPropertiesLoose = __commonJS({
|
|
108
|
-
"../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(exports
|
|
108
|
+
"../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(exports, module) {
|
|
109
109
|
function _objectWithoutPropertiesLoose10(r, e) {
|
|
110
110
|
if (null == r) return {};
|
|
111
111
|
var t = {};
|
|
@@ -1676,6 +1676,109 @@ function HazoUiFlexRadio({
|
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
+
var icon_set_map = {
|
|
1680
|
+
fa: FaIcons,
|
|
1681
|
+
md: MdIcons,
|
|
1682
|
+
hi: HiIcons,
|
|
1683
|
+
bi: BiIcons,
|
|
1684
|
+
ai: AiIcons,
|
|
1685
|
+
bs: BsIcons,
|
|
1686
|
+
fi: FiIcons,
|
|
1687
|
+
io: IoIcons,
|
|
1688
|
+
io5: IoIcons,
|
|
1689
|
+
ri: RiIcons,
|
|
1690
|
+
tb: TbIcons,
|
|
1691
|
+
ci: CiIcons
|
|
1692
|
+
};
|
|
1693
|
+
function get_icon_component(icon_set, icon_name) {
|
|
1694
|
+
if (!icon_set || !icon_name) return null;
|
|
1695
|
+
const library = icon_set_map[icon_set.toLowerCase()];
|
|
1696
|
+
if (!library) return null;
|
|
1697
|
+
return library[icon_name] || null;
|
|
1698
|
+
}
|
|
1699
|
+
var DEFAULT_COLOR = "#3b82f6";
|
|
1700
|
+
function color_with_opacity(color2, opacity) {
|
|
1701
|
+
if (color2.startsWith("#")) {
|
|
1702
|
+
const hex = color2.replace("#", "");
|
|
1703
|
+
const r = parseInt(hex.substring(0, 2), 16);
|
|
1704
|
+
const g = parseInt(hex.substring(2, 4), 16);
|
|
1705
|
+
const b = parseInt(hex.substring(4, 6), 16);
|
|
1706
|
+
return `rgba(${r}, ${g}, ${b}, ${opacity})`;
|
|
1707
|
+
}
|
|
1708
|
+
return color2;
|
|
1709
|
+
}
|
|
1710
|
+
var size_classes = {
|
|
1711
|
+
sm: "px-3 py-1.5 text-xs gap-1.5",
|
|
1712
|
+
md: "px-4 py-2 text-sm gap-2",
|
|
1713
|
+
lg: "px-5 py-2.5 text-base gap-2.5"
|
|
1714
|
+
};
|
|
1715
|
+
var icon_size_classes = {
|
|
1716
|
+
sm: "h-3.5 w-3.5",
|
|
1717
|
+
md: "h-4 w-4",
|
|
1718
|
+
lg: "h-5 w-5"
|
|
1719
|
+
};
|
|
1720
|
+
function HazoUiPillRadio({
|
|
1721
|
+
layout = "horizontal",
|
|
1722
|
+
icon_set = "fa",
|
|
1723
|
+
data,
|
|
1724
|
+
value,
|
|
1725
|
+
onChange,
|
|
1726
|
+
className,
|
|
1727
|
+
pill_size = "md",
|
|
1728
|
+
equal_width = false
|
|
1729
|
+
}) {
|
|
1730
|
+
return /* @__PURE__ */ jsx(TooltipProvider, { delayDuration: 1e3, children: /* @__PURE__ */ jsx(
|
|
1731
|
+
"div",
|
|
1732
|
+
{
|
|
1733
|
+
className: cn(
|
|
1734
|
+
"cls_hazo_ui_pill_radio",
|
|
1735
|
+
layout === "horizontal" ? "flex flex-row flex-wrap gap-3" : "inline-flex flex-col gap-3",
|
|
1736
|
+
className
|
|
1737
|
+
),
|
|
1738
|
+
role: "radiogroup",
|
|
1739
|
+
children: data.map((item) => {
|
|
1740
|
+
const is_selected = value === item.value;
|
|
1741
|
+
const accent = item.color || DEFAULT_COLOR;
|
|
1742
|
+
const IconComponent = get_icon_component(icon_set, item.icon);
|
|
1743
|
+
return /* @__PURE__ */ jsxs(Tooltip, { delayDuration: 1e3, children: [
|
|
1744
|
+
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
1745
|
+
"button",
|
|
1746
|
+
{
|
|
1747
|
+
type: "button",
|
|
1748
|
+
role: "radio",
|
|
1749
|
+
"aria-checked": is_selected,
|
|
1750
|
+
onClick: () => onChange(item.value),
|
|
1751
|
+
className: cn(
|
|
1752
|
+
"cls_pill_radio_item",
|
|
1753
|
+
"inline-flex items-center rounded-full border cursor-pointer",
|
|
1754
|
+
"transition-all duration-200 font-medium whitespace-nowrap",
|
|
1755
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
1756
|
+
size_classes[pill_size],
|
|
1757
|
+
equal_width && "justify-center flex-1",
|
|
1758
|
+
!is_selected && "border-border bg-card text-muted-foreground hover:bg-accent/50"
|
|
1759
|
+
),
|
|
1760
|
+
style: is_selected ? {
|
|
1761
|
+
borderColor: accent,
|
|
1762
|
+
backgroundColor: color_with_opacity(accent, 0.08),
|
|
1763
|
+
color: accent
|
|
1764
|
+
} : void 0,
|
|
1765
|
+
children: [
|
|
1766
|
+
IconComponent && /* @__PURE__ */ jsx(
|
|
1767
|
+
IconComponent,
|
|
1768
|
+
{
|
|
1769
|
+
className: cn("cls_pill_radio_icon shrink-0", icon_size_classes[pill_size])
|
|
1770
|
+
}
|
|
1771
|
+
),
|
|
1772
|
+
/* @__PURE__ */ jsx("span", { className: "cls_pill_radio_label", children: item.label })
|
|
1773
|
+
]
|
|
1774
|
+
}
|
|
1775
|
+
) }),
|
|
1776
|
+
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { className: "cls_tooltip_text", children: item.label }) })
|
|
1777
|
+
] }, item.value);
|
|
1778
|
+
})
|
|
1779
|
+
}
|
|
1780
|
+
) });
|
|
1781
|
+
}
|
|
1679
1782
|
function validateInput(value, input_type, text_len_min, text_len_max, num_min, num_max, regex, num_decimals) {
|
|
1680
1783
|
if (value === "") {
|
|
1681
1784
|
return { isValid: true };
|
|
@@ -6832,6 +6935,6 @@ var Textarea = React27.forwardRef(
|
|
|
6832
6935
|
);
|
|
6833
6936
|
Textarea.displayName = "Textarea";
|
|
6834
6937
|
|
|
6835
|
-
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Calendar, Checkbox, CommandNodeExtension, CommandPill, CommandPopover, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HazoUiConfirmDialog, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, HazoUiFlexRadio, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiRte, HazoUiTextarea, HazoUiTextbox, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label2 as Label, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
|
|
6938
|
+
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Calendar, Checkbox, CommandNodeExtension, CommandPill, CommandPopover, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HazoUiConfirmDialog, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, HazoUiFlexRadio, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, HazoUiRte, HazoUiTextarea, HazoUiTextbox, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label2 as Label, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
|
|
6836
6939
|
//# sourceMappingURL=index.js.map
|
|
6837
6940
|
//# sourceMappingURL=index.js.map
|