@algodomain/smart-forms 0.1.0 → 0.1.1

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/fields.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkY6NGPMDH_cjs = require('./chunk-Y6NGPMDH.cjs');
4
- var chunkYV7RVYMD_cjs = require('./chunk-YV7RVYMD.cjs');
3
+ var chunkY3H6MI5D_cjs = require('./chunk-Y3H6MI5D.cjs');
4
+ var chunkLRMJP5OJ_cjs = require('./chunk-LRMJP5OJ.cjs');
5
5
  var React = require('react');
6
6
  var lucideReact = require('lucide-react');
7
7
  var cmdk = require('cmdk');
@@ -39,7 +39,7 @@ function Command({
39
39
  cmdk.Command,
40
40
  {
41
41
  "data-slot": "command",
42
- className: chunkYV7RVYMD_cjs.cn(
42
+ className: chunkLRMJP5OJ_cjs.cn(
43
43
  "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
44
44
  className
45
45
  ),
@@ -62,7 +62,7 @@ function CommandInput({
62
62
  cmdk.Command.Input,
63
63
  {
64
64
  "data-slot": "command-input",
65
- className: chunkYV7RVYMD_cjs.cn(
65
+ className: chunkLRMJP5OJ_cjs.cn(
66
66
  "placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
67
67
  className
68
68
  ),
@@ -81,7 +81,7 @@ function CommandList({
81
81
  cmdk.Command.List,
82
82
  {
83
83
  "data-slot": "command-list",
84
- className: chunkYV7RVYMD_cjs.cn(
84
+ className: chunkLRMJP5OJ_cjs.cn(
85
85
  "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
86
86
  className
87
87
  ),
@@ -109,7 +109,7 @@ function CommandGroup({
109
109
  cmdk.Command.Group,
110
110
  {
111
111
  "data-slot": "command-group",
112
- className: chunkYV7RVYMD_cjs.cn(
112
+ className: chunkLRMJP5OJ_cjs.cn(
113
113
  "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
114
114
  className
115
115
  ),
@@ -125,7 +125,7 @@ function CommandItem({
125
125
  cmdk.Command.Item,
126
126
  {
127
127
  "data-slot": "command-item",
128
- className: chunkYV7RVYMD_cjs.cn(
128
+ className: chunkLRMJP5OJ_cjs.cn(
129
129
  "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
130
130
  className
131
131
  ),
@@ -160,7 +160,7 @@ function Badge({
160
160
  Comp,
161
161
  {
162
162
  "data-slot": "badge",
163
- className: chunkYV7RVYMD_cjs.cn(badgeVariants({ variant }), className),
163
+ className: chunkLRMJP5OJ_cjs.cn(badgeVariants({ variant }), className),
164
164
  ...props
165
165
  }
166
166
  );
@@ -195,9 +195,9 @@ function Combobox({
195
195
  const filteredOptions = combinedOptions.filter(
196
196
  (option) => option.label.toLowerCase().includes(searchValue.toLowerCase())
197
197
  );
198
- return /* @__PURE__ */ jsxRuntime.jsx("div", { style: containerStyles, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkY6NGPMDH_cjs.Popover, { open, onOpenChange: setOpen, children: [
199
- /* @__PURE__ */ jsxRuntime.jsx(chunkY6NGPMDH_cjs.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
200
- chunkY6NGPMDH_cjs.Button,
198
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { style: containerStyles, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkY3H6MI5D_cjs.Popover, { open, onOpenChange: setOpen, children: [
199
+ /* @__PURE__ */ jsxRuntime.jsx(chunkY3H6MI5D_cjs.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
200
+ chunkY3H6MI5D_cjs.Button,
201
201
  {
202
202
  variant: "outline",
203
203
  role: "combobox",
@@ -211,7 +211,7 @@ function Combobox({
211
211
  ]
212
212
  }
213
213
  ) }),
214
- /* @__PURE__ */ jsxRuntime.jsx(chunkY6NGPMDH_cjs.PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] p-0", children: /* @__PURE__ */ jsxRuntime.jsxs(Command, { className: "w-full", children: [
214
+ /* @__PURE__ */ jsxRuntime.jsx(chunkY3H6MI5D_cjs.PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] p-0", children: /* @__PURE__ */ jsxRuntime.jsxs(Command, { className: "w-full", children: [
215
215
  /* @__PURE__ */ jsxRuntime.jsx(
216
216
  CommandInput,
217
217
  {
@@ -255,7 +255,7 @@ function Combobox({
255
255
  option.value
256
256
  )) }) : /* @__PURE__ */ jsxRuntime.jsxs(CommandEmpty, { children: [
257
257
  allowCustom && searchValue && /* @__PURE__ */ jsxRuntime.jsxs(
258
- chunkY6NGPMDH_cjs.Button,
258
+ chunkY3H6MI5D_cjs.Button,
259
259
  {
260
260
  variant: "ghost",
261
261
  className: "w-full justify-start",
@@ -292,8 +292,8 @@ var SmartCombobox = ({
292
292
  info,
293
293
  subLabel
294
294
  }) => {
295
- const { value, error, onChange, fieldRef, registerValidation } = chunkYV7RVYMD_cjs.useFormField(field);
296
- const fieldDetection = chunkYV7RVYMD_cjs.useFieldDetection();
295
+ const { value, error, onChange, fieldRef, registerValidation } = chunkLRMJP5OJ_cjs.useFormField(field);
296
+ const fieldDetection = chunkLRMJP5OJ_cjs.useFieldDetection();
297
297
  const hasRegistered = React.useRef(false);
298
298
  const hasSetDefault = React.useRef(false);
299
299
  React.useEffect(() => {
@@ -316,14 +316,14 @@ var SmartCombobox = ({
316
316
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex-1 min-w-0 ${className}`, children: [
317
317
  label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
318
318
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
319
- /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
319
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
320
320
  label,
321
321
  " ",
322
322
  required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" })
323
323
  ] }),
324
- info && /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
325
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
326
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
324
+ info && /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
325
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
326
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
327
327
  ] }) })
328
328
  ] }),
329
329
  subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
@@ -359,9 +359,9 @@ var SmartFileUpload = ({
359
359
  info,
360
360
  subLabel
361
361
  }) => {
362
- const { value, error, onChange, fieldRef, registerValidation } = chunkYV7RVYMD_cjs.useFormField(field);
363
- const { registerSubmitHook, unregisterSubmitHook } = chunkYV7RVYMD_cjs.useSmartForm();
364
- const fieldDetection = chunkYV7RVYMD_cjs.useFieldDetection();
362
+ const { value, error, onChange, fieldRef, registerValidation } = chunkLRMJP5OJ_cjs.useFormField(field);
363
+ const { registerSubmitHook, unregisterSubmitHook } = chunkLRMJP5OJ_cjs.useSmartForm();
364
+ const fieldDetection = chunkLRMJP5OJ_cjs.useFieldDetection();
365
365
  const hasRegistered = React.useRef(false);
366
366
  const hasSetDefault = React.useRef(false);
367
367
  const inputRef = React.useRef(null);
@@ -494,24 +494,24 @@ var SmartFileUpload = ({
494
494
  }
495
495
  return () => unregisterSubmitHook(key);
496
496
  }, [field, uploadApi, uploadOnSelect, registerSubmitHook, unregisterSubmitHook, value, multiple]);
497
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkYV7RVYMD_cjs.cn("flex-1 min-w-0", className), children: [
497
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkLRMJP5OJ_cjs.cn("flex-1 min-w-0", className), children: [
498
498
  label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
499
499
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
500
- /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
500
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
501
501
  label,
502
502
  " ",
503
503
  required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" })
504
504
  ] }),
505
- info && /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
506
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
507
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
505
+ info && /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
506
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
507
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
508
508
  ] }) })
509
509
  ] }),
510
510
  subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
511
511
  ] }),
512
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkYV7RVYMD_cjs.cn("flex items-center gap-2", error && "text-destructive"), children: [
512
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkLRMJP5OJ_cjs.cn("flex items-center gap-2", error && "text-destructive"), children: [
513
513
  /* @__PURE__ */ jsxRuntime.jsx(
514
- chunkYV7RVYMD_cjs.Input,
514
+ chunkLRMJP5OJ_cjs.Input,
515
515
  {
516
516
  ref: (el) => {
517
517
  inputRef.current = el;
@@ -521,11 +521,11 @@ var SmartFileUpload = ({
521
521
  accept,
522
522
  multiple,
523
523
  onChange: onInputChange,
524
- className: chunkYV7RVYMD_cjs.cn(error && "border-destructive"),
524
+ className: chunkLRMJP5OJ_cjs.cn(error && "border-destructive"),
525
525
  "data-field": field
526
526
  }
527
527
  ),
528
- (Array.isArray(value) ? value.length > 0 : !!value) && /* @__PURE__ */ jsxRuntime.jsx(chunkY6NGPMDH_cjs.Button, { type: "button", variant: "secondary", onClick: clearSelection, children: "Clear" })
528
+ (Array.isArray(value) ? value.length > 0 : !!value) && /* @__PURE__ */ jsxRuntime.jsx(chunkY3H6MI5D_cjs.Button, { type: "button", variant: "secondary", onClick: clearSelection, children: "Clear" })
529
529
  ] }),
530
530
  normalizedFiles.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 text-sm text-muted-foreground", children: "No file selected" }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "mt-2 space-y-1", children: normalizedFiles.map((f, idx) => {
531
531
  const isImage = f.type.startsWith("image/");
@@ -550,7 +550,7 @@ var SmartFileUpload = ({
550
550
  ] })
551
551
  ] }),
552
552
  /* @__PURE__ */ jsxRuntime.jsx(
553
- chunkY6NGPMDH_cjs.Button,
553
+ chunkY3H6MI5D_cjs.Button,
554
554
  {
555
555
  type: "button",
556
556
  variant: "ghost",
@@ -585,7 +585,7 @@ function Slider({
585
585
  value,
586
586
  min,
587
587
  max,
588
- className: chunkYV7RVYMD_cjs.cn(
588
+ className: chunkLRMJP5OJ_cjs.cn(
589
589
  "relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
590
590
  className
591
591
  ),
@@ -595,14 +595,14 @@ function Slider({
595
595
  SliderPrimitive__namespace.Track,
596
596
  {
597
597
  "data-slot": "slider-track",
598
- className: chunkYV7RVYMD_cjs.cn(
598
+ className: chunkLRMJP5OJ_cjs.cn(
599
599
  "bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
600
600
  ),
601
601
  children: /* @__PURE__ */ jsxRuntime.jsx(
602
602
  SliderPrimitive__namespace.Range,
603
603
  {
604
604
  "data-slot": "slider-range",
605
- className: chunkYV7RVYMD_cjs.cn(
605
+ className: chunkLRMJP5OJ_cjs.cn(
606
606
  "bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
607
607
  )
608
608
  }
@@ -636,8 +636,8 @@ var SmartSlider = ({
636
636
  info,
637
637
  subLabel
638
638
  }) => {
639
- const { value, error, onChange, fieldRef, registerValidation } = chunkYV7RVYMD_cjs.useFormField(field);
640
- const fieldDetection = chunkYV7RVYMD_cjs.useFieldDetection();
639
+ const { value, error, onChange, fieldRef, registerValidation } = chunkLRMJP5OJ_cjs.useFormField(field);
640
+ const fieldDetection = chunkLRMJP5OJ_cjs.useFieldDetection();
641
641
  const hasRegistered = React.useRef(false);
642
642
  const hasSetDefault = React.useRef(false);
643
643
  React.useEffect(() => {
@@ -665,7 +665,7 @@ var SmartSlider = ({
665
665
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex-1 min-w-0 ${className}`, children: [
666
666
  label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
667
667
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
668
- /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
668
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
669
669
  label,
670
670
  " ",
671
671
  required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" }),
@@ -675,9 +675,9 @@ var SmartSlider = ({
675
675
  ")"
676
676
  ] })
677
677
  ] }),
678
- info && /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
679
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
680
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
678
+ info && /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
679
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
680
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
681
681
  ] }) })
682
682
  ] }),
683
683
  subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
@@ -724,9 +724,9 @@ var SmartDualRangeSlider = ({
724
724
  info,
725
725
  subLabel
726
726
  }) => {
727
- const minFormField = chunkYV7RVYMD_cjs.useFormField(minField);
728
- const maxFormField = chunkYV7RVYMD_cjs.useFormField(maxField);
729
- const fieldDetection = chunkYV7RVYMD_cjs.useFieldDetection();
727
+ const minFormField = chunkLRMJP5OJ_cjs.useFormField(minField);
728
+ const maxFormField = chunkLRMJP5OJ_cjs.useFormField(maxField);
729
+ const fieldDetection = chunkLRMJP5OJ_cjs.useFieldDetection();
730
730
  const hasRegisteredMin = React.useRef(false);
731
731
  const hasRegisteredMax = React.useRef(false);
732
732
  const hasSetDefaultMin = React.useRef(false);
@@ -772,14 +772,14 @@ var SmartDualRangeSlider = ({
772
772
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex-1 min-w-0 ${className}`, children: [
773
773
  label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
774
774
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
775
- /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
775
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
776
776
  label,
777
777
  " ",
778
778
  required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" })
779
779
  ] }),
780
- info && /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
781
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
782
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
780
+ info && /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
781
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
782
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
783
783
  ] }) })
784
784
  ] }),
785
785
  subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
@@ -860,7 +860,7 @@ var Tags = ({
860
860
  TagsContext.Provider,
861
861
  {
862
862
  value: { value, setValue, open, onOpenChange, width, setWidth },
863
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkY6NGPMDH_cjs.Popover, { onOpenChange, open, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYV7RVYMD_cjs.cn("relative w-full", className), ref, children }) })
863
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkY3H6MI5D_cjs.Popover, { onOpenChange, open, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkLRMJP5OJ_cjs.cn("relative w-full", className), ref, children }) })
864
864
  }
865
865
  );
866
866
  };
@@ -868,10 +868,10 @@ var TagsTrigger = ({
868
868
  className,
869
869
  children,
870
870
  ...props
871
- }) => /* @__PURE__ */ jsxRuntime.jsx(chunkY6NGPMDH_cjs.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
872
- chunkY6NGPMDH_cjs.Button,
871
+ }) => /* @__PURE__ */ jsxRuntime.jsx(chunkY3H6MI5D_cjs.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
872
+ chunkY3H6MI5D_cjs.Button,
873
873
  {
874
- className: chunkYV7RVYMD_cjs.cn("h-auto w-full justify-between p-2", className),
874
+ className: chunkLRMJP5OJ_cjs.cn("h-auto w-full justify-between p-2", className),
875
875
  role: "combobox",
876
876
  variant: "outline",
877
877
  ...props,
@@ -892,7 +892,7 @@ var TagsValue = ({
892
892
  event.stopPropagation();
893
893
  onRemove?.();
894
894
  };
895
- return /* @__PURE__ */ jsxRuntime.jsxs(Badge, { className: chunkYV7RVYMD_cjs.cn("flex items-center gap-2", className), ...props, children: [
895
+ return /* @__PURE__ */ jsxRuntime.jsxs(Badge, { className: chunkLRMJP5OJ_cjs.cn("flex items-center gap-2", className), ...props, children: [
896
896
  children,
897
897
  onRemove && // biome-ignore lint/a11y/noStaticElementInteractions: "This is a clickable badge"
898
898
  // biome-ignore lint/a11y/useKeyWithClickEvents: "This is a clickable badge"
@@ -913,17 +913,17 @@ var TagsContent = ({
913
913
  }) => {
914
914
  const { width } = useTagsContext();
915
915
  return /* @__PURE__ */ jsxRuntime.jsx(
916
- chunkY6NGPMDH_cjs.PopoverContent,
916
+ chunkY3H6MI5D_cjs.PopoverContent,
917
917
  {
918
- className: chunkYV7RVYMD_cjs.cn("p-0", className),
918
+ className: chunkLRMJP5OJ_cjs.cn("p-0", className),
919
919
  style: { width },
920
920
  ...props,
921
921
  children: /* @__PURE__ */ jsxRuntime.jsx(Command, { children })
922
922
  }
923
923
  );
924
924
  };
925
- var TagsInput = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(CommandInput, { className: chunkYV7RVYMD_cjs.cn("h-9", className), ...props });
926
- var TagsList = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(CommandList, { className: chunkYV7RVYMD_cjs.cn("max-h-[200px]", className), ...props });
925
+ var TagsInput = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(CommandInput, { className: chunkLRMJP5OJ_cjs.cn("h-9", className), ...props });
926
+ var TagsList = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(CommandList, { className: chunkLRMJP5OJ_cjs.cn("max-h-[200px]", className), ...props });
927
927
  var TagsEmpty = ({
928
928
  children,
929
929
  className,
@@ -933,7 +933,7 @@ var TagsGroup = CommandGroup;
933
933
  var TagsItem = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
934
934
  CommandItem,
935
935
  {
936
- className: chunkYV7RVYMD_cjs.cn("cursor-pointer items-center justify-between", className),
936
+ className: chunkLRMJP5OJ_cjs.cn("cursor-pointer items-center justify-between", className),
937
937
  ...props
938
938
  }
939
939
  );
@@ -952,8 +952,8 @@ var SmartAutoSuggestTags = ({
952
952
  info,
953
953
  subLabel
954
954
  }) => {
955
- const { value, error, onChange, fieldRef, registerValidation } = chunkYV7RVYMD_cjs.useFormField(field);
956
- const fieldDetection = chunkYV7RVYMD_cjs.useFieldDetection();
955
+ const { value, error, onChange, fieldRef, registerValidation } = chunkLRMJP5OJ_cjs.useFormField(field);
956
+ const fieldDetection = chunkLRMJP5OJ_cjs.useFieldDetection();
957
957
  const hasRegistered = React.useRef(false);
958
958
  const hasSetDefault = React.useRef(false);
959
959
  const [tags, setTags] = React.useState(initialOptions);
@@ -1019,7 +1019,7 @@ var SmartAutoSuggestTags = ({
1019
1019
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex-1 min-w-0 ${className}`, children: [
1020
1020
  label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
1021
1021
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
1022
- /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
1022
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
1023
1023
  label,
1024
1024
  " ",
1025
1025
  required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" }),
@@ -1031,14 +1031,14 @@ var SmartAutoSuggestTags = ({
1031
1031
  ")"
1032
1032
  ] })
1033
1033
  ] }),
1034
- info && /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
1035
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
1036
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
1034
+ info && /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
1035
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
1036
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
1037
1037
  ] }) })
1038
1038
  ] }),
1039
1039
  subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
1040
1040
  ] }),
1041
- /* @__PURE__ */ jsxRuntime.jsx("div", { ref: fieldRef, "data-field": field, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYV7RVYMD_cjs.cn(
1041
+ /* @__PURE__ */ jsxRuntime.jsx("div", { ref: fieldRef, "data-field": field, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkLRMJP5OJ_cjs.cn(
1042
1042
  "w-full rounded-md border border-input bg-background text-sm ring-offset-background",
1043
1043
  "focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
1044
1044
  error && "border-destructive focus-within:ring-destructive"
@@ -1157,8 +1157,8 @@ var SmartBasicRichTextbox = ({
1157
1157
  info,
1158
1158
  subLabel
1159
1159
  }) => {
1160
- const { value, error, onChange, fieldRef, registerValidation } = chunkYV7RVYMD_cjs.useFormField(field);
1161
- const fieldDetection = chunkYV7RVYMD_cjs.useFieldDetection();
1160
+ const { value, error, onChange, fieldRef, registerValidation } = chunkLRMJP5OJ_cjs.useFormField(field);
1161
+ const fieldDetection = chunkLRMJP5OJ_cjs.useFieldDetection();
1162
1162
  const hasRegistered = React.useRef(false);
1163
1163
  const hasSetDefault = React.useRef(false);
1164
1164
  const editorRef = React.useRef(null);
@@ -1246,17 +1246,17 @@ var SmartBasicRichTextbox = ({
1246
1246
  const handleBlur = () => {
1247
1247
  setIsFocused(false);
1248
1248
  };
1249
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkYV7RVYMD_cjs.cn("flex-1 min-w-0", className), children: [
1249
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkLRMJP5OJ_cjs.cn("flex-1 min-w-0", className), children: [
1250
1250
  label && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2", children: [
1251
1251
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
1252
- /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
1252
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Label, { className: "text-sm font-medium text-foreground", children: [
1253
1253
  label,
1254
1254
  " ",
1255
1255
  required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: "*" })
1256
1256
  ] }),
1257
- info && /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
1258
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
1259
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
1257
+ info && /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
1258
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "h-4 w-4 text-muted-foreground cursor-pointer mr-2" }) }),
1259
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-xs", children: info }) })
1260
1260
  ] }) })
1261
1261
  ] }),
1262
1262
  subLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground mt-1", children: subLabel })
@@ -1266,21 +1266,21 @@ var SmartBasicRichTextbox = ({
1266
1266
  {
1267
1267
  ref: fieldRef,
1268
1268
  "data-field": field,
1269
- className: chunkYV7RVYMD_cjs.cn(
1269
+ className: chunkLRMJP5OJ_cjs.cn(
1270
1270
  "w-full rounded-md border border-input bg-background",
1271
1271
  "focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
1272
1272
  error && "border-destructive focus-within:ring-destructive"
1273
1273
  ),
1274
1274
  children: [
1275
1275
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-0.5 p-1.5 border-b border-border bg-muted/30", children: [
1276
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
1277
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1278
- chunkY6NGPMDH_cjs.Button,
1276
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
1277
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1278
+ chunkY3H6MI5D_cjs.Button,
1279
1279
  {
1280
1280
  type: "button",
1281
1281
  variant: "ghost",
1282
1282
  size: "sm",
1283
- className: chunkYV7RVYMD_cjs.cn(
1283
+ className: chunkLRMJP5OJ_cjs.cn(
1284
1284
  "h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
1285
1285
  activeFormats.bold && "bg-primary text-primary-foreground hover:bg-primary/90"
1286
1286
  ),
@@ -1288,16 +1288,16 @@ var SmartBasicRichTextbox = ({
1288
1288
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Bold, { className: "h-4 w-4" })
1289
1289
  }
1290
1290
  ) }),
1291
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Bold (Ctrl+B)" }) })
1291
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Bold (Ctrl+B)" }) })
1292
1292
  ] }) }),
1293
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
1294
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1295
- chunkY6NGPMDH_cjs.Button,
1293
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
1294
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1295
+ chunkY3H6MI5D_cjs.Button,
1296
1296
  {
1297
1297
  type: "button",
1298
1298
  variant: "ghost",
1299
1299
  size: "sm",
1300
- className: chunkYV7RVYMD_cjs.cn(
1300
+ className: chunkLRMJP5OJ_cjs.cn(
1301
1301
  "h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
1302
1302
  activeFormats.italic && "bg-primary text-primary-foreground hover:bg-primary/90"
1303
1303
  ),
@@ -1305,16 +1305,16 @@ var SmartBasicRichTextbox = ({
1305
1305
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Italic, { className: "h-4 w-4" })
1306
1306
  }
1307
1307
  ) }),
1308
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Italic (Ctrl+I)" }) })
1308
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Italic (Ctrl+I)" }) })
1309
1309
  ] }) }),
1310
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
1311
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1312
- chunkY6NGPMDH_cjs.Button,
1310
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
1311
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1312
+ chunkY3H6MI5D_cjs.Button,
1313
1313
  {
1314
1314
  type: "button",
1315
1315
  variant: "ghost",
1316
1316
  size: "sm",
1317
- className: chunkYV7RVYMD_cjs.cn(
1317
+ className: chunkLRMJP5OJ_cjs.cn(
1318
1318
  "h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
1319
1319
  activeFormats.underline && "bg-primary text-primary-foreground hover:bg-primary/90"
1320
1320
  ),
@@ -1322,17 +1322,17 @@ var SmartBasicRichTextbox = ({
1322
1322
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Underline, { className: "h-4 w-4" })
1323
1323
  }
1324
1324
  ) }),
1325
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Underline (Ctrl+U)" }) })
1325
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Underline (Ctrl+U)" }) })
1326
1326
  ] }) }),
1327
1327
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-px h-5 bg-border mx-1" }),
1328
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
1329
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1330
- chunkY6NGPMDH_cjs.Button,
1328
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
1329
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1330
+ chunkY3H6MI5D_cjs.Button,
1331
1331
  {
1332
1332
  type: "button",
1333
1333
  variant: "ghost",
1334
1334
  size: "sm",
1335
- className: chunkYV7RVYMD_cjs.cn(
1335
+ className: chunkLRMJP5OJ_cjs.cn(
1336
1336
  "h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
1337
1337
  activeFormats.bulletList && "bg-primary text-primary-foreground hover:bg-primary/90"
1338
1338
  ),
@@ -1340,16 +1340,16 @@ var SmartBasicRichTextbox = ({
1340
1340
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.List, { className: "h-4 w-4" })
1341
1341
  }
1342
1342
  ) }),
1343
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Bullet List" }) })
1343
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Bullet List" }) })
1344
1344
  ] }) }),
1345
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkYV7RVYMD_cjs.Tooltip, { children: [
1346
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1347
- chunkY6NGPMDH_cjs.Button,
1345
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLRMJP5OJ_cjs.Tooltip, { children: [
1346
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
1347
+ chunkY3H6MI5D_cjs.Button,
1348
1348
  {
1349
1349
  type: "button",
1350
1350
  variant: "ghost",
1351
1351
  size: "sm",
1352
- className: chunkYV7RVYMD_cjs.cn(
1352
+ className: chunkLRMJP5OJ_cjs.cn(
1353
1353
  "h-8 w-8 p-0 hover:bg-accent hover:text-accent-foreground",
1354
1354
  activeFormats.numberedList && "bg-primary text-primary-foreground hover:bg-primary/90"
1355
1355
  ),
@@ -1357,7 +1357,7 @@ var SmartBasicRichTextbox = ({
1357
1357
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ListOrdered, { className: "h-4 w-4" })
1358
1358
  }
1359
1359
  ) }),
1360
- /* @__PURE__ */ jsxRuntime.jsx(chunkYV7RVYMD_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Numbered List" }) })
1360
+ /* @__PURE__ */ jsxRuntime.jsx(chunkLRMJP5OJ_cjs.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Numbered List" }) })
1361
1361
  ] }) })
1362
1362
  ] }),
1363
1363
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1369,7 +1369,7 @@ var SmartBasicRichTextbox = ({
1369
1369
  onKeyDown: handleKeyDown,
1370
1370
  onFocus: handleFocus,
1371
1371
  onBlur: handleBlur,
1372
- className: chunkYV7RVYMD_cjs.cn(
1372
+ className: chunkLRMJP5OJ_cjs.cn(
1373
1373
  "w-full px-3 py-2 text-sm text-foreground",
1374
1374
  "bg-background",
1375
1375
  "focus:outline-none",
@@ -1401,39 +1401,39 @@ var SmartBasicRichTextbox = ({
1401
1401
 
1402
1402
  Object.defineProperty(exports, "SmartCheckbox", {
1403
1403
  enumerable: true,
1404
- get: function () { return chunkY6NGPMDH_cjs.SmartCheckbox; }
1404
+ get: function () { return chunkY3H6MI5D_cjs.SmartCheckbox; }
1405
1405
  });
1406
1406
  Object.defineProperty(exports, "SmartDatePicker", {
1407
1407
  enumerable: true,
1408
- get: function () { return chunkY6NGPMDH_cjs.SmartDatePicker; }
1408
+ get: function () { return chunkY3H6MI5D_cjs.SmartDatePicker; }
1409
1409
  });
1410
1410
  Object.defineProperty(exports, "SmartRadioGroup", {
1411
1411
  enumerable: true,
1412
- get: function () { return chunkY6NGPMDH_cjs.SmartRadioGroup; }
1412
+ get: function () { return chunkY3H6MI5D_cjs.SmartRadioGroup; }
1413
1413
  });
1414
1414
  Object.defineProperty(exports, "SmartSelect", {
1415
1415
  enumerable: true,
1416
- get: function () { return chunkY6NGPMDH_cjs.SmartSelect; }
1416
+ get: function () { return chunkY3H6MI5D_cjs.SmartSelect; }
1417
1417
  });
1418
1418
  Object.defineProperty(exports, "SmartTags", {
1419
1419
  enumerable: true,
1420
- get: function () { return chunkY6NGPMDH_cjs.SmartTags; }
1420
+ get: function () { return chunkY3H6MI5D_cjs.SmartTags; }
1421
1421
  });
1422
1422
  Object.defineProperty(exports, "SmartFormProvider", {
1423
1423
  enumerable: true,
1424
- get: function () { return chunkYV7RVYMD_cjs.SmartFormProvider; }
1424
+ get: function () { return chunkLRMJP5OJ_cjs.SmartFormProvider; }
1425
1425
  });
1426
1426
  Object.defineProperty(exports, "SmartInput", {
1427
1427
  enumerable: true,
1428
- get: function () { return chunkYV7RVYMD_cjs.SmartInput; }
1428
+ get: function () { return chunkLRMJP5OJ_cjs.SmartInput; }
1429
1429
  });
1430
1430
  Object.defineProperty(exports, "useFormField", {
1431
1431
  enumerable: true,
1432
- get: function () { return chunkYV7RVYMD_cjs.useFormField; }
1432
+ get: function () { return chunkLRMJP5OJ_cjs.useFormField; }
1433
1433
  });
1434
1434
  Object.defineProperty(exports, "useSmartForm", {
1435
1435
  enumerable: true,
1436
- get: function () { return chunkYV7RVYMD_cjs.useSmartForm; }
1436
+ get: function () { return chunkLRMJP5OJ_cjs.useSmartForm; }
1437
1437
  });
1438
1438
  exports.SmartAutoSuggestTags = SmartAutoSuggestTags;
1439
1439
  exports.SmartBasicRichTextbox = SmartBasicRichTextbox;
package/dist/fields.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { S as SmartFormProvider, a as useFormField, u as useSmartForm } from './SmartFormProvider-B-BTl4wO.cjs';
1
+ export { S as SmartFormProvider, a as useFormField, u as useSmartForm } from './SmartFormProvider-DyJoDBjQ.cjs';
2
2
  export { a as SmartCheckbox, d as SmartDatePicker, S as SmartInput, f as SmartInputProps, b as SmartRadioGroup, c as SmartSelect, e as SmartTags, g as SmartTagsProps } from './SmartTags-HmvmCJPT.cjs';
3
3
  import React__default from 'react';
4
4
 
package/dist/fields.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { S as SmartFormProvider, a as useFormField, u as useSmartForm } from './SmartFormProvider-B-BTl4wO.js';
1
+ export { S as SmartFormProvider, a as useFormField, u as useSmartForm } from './SmartFormProvider-DyJoDBjQ.js';
2
2
  export { a as SmartCheckbox, d as SmartDatePicker, S as SmartInput, f as SmartInputProps, b as SmartRadioGroup, c as SmartSelect, e as SmartTags, g as SmartTagsProps } from './SmartTags-HmvmCJPT.js';
3
3
  import React__default from 'react';
4
4
 
package/dist/fields.js CHANGED
@@ -1,7 +1,7 @@
1
- import { Button, Popover, PopoverTrigger, PopoverContent } from './chunk-6WAEAWTD.js';
2
- export { SmartCheckbox, SmartDatePicker, SmartRadioGroup, SmartSelect, SmartTags } from './chunk-6WAEAWTD.js';
3
- import { useFormField, useFieldDetection, Label, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, useSmartForm, cn, Input } from './chunk-IG4XDQMV.js';
4
- export { SmartFormProvider, SmartInput, useFormField, useSmartForm } from './chunk-IG4XDQMV.js';
1
+ import { Button, Popover, PopoverTrigger, PopoverContent } from './chunk-5A5WAAED.js';
2
+ export { SmartCheckbox, SmartDatePicker, SmartRadioGroup, SmartSelect, SmartTags } from './chunk-5A5WAAED.js';
3
+ import { useFormField, useFieldDetection, Label, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, useSmartForm, cn, Input } from './chunk-EE6VZXWC.js';
4
+ export { SmartFormProvider, SmartInput, useFormField, useSmartForm } from './chunk-EE6VZXWC.js';
5
5
  import * as React from 'react';
6
6
  import React__default, { createContext, useRef, useEffect, useMemo, useState, useCallback, useContext } from 'react';
7
7
  import { InfoIcon, PlusIcon, CheckIcon, Bold, Italic, Underline, List, ListOrdered, ChevronsUpDown, Check, Plus, XIcon, SearchIcon } from 'lucide-react';