@avento-space/ts-ui 1.2.2 → 1.2.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.
@@ -1,4 +1,4 @@
1
- export { a2 as AccordionItemProps, A as AccordionProps, a3 as AnimatePreset, a as AnimateProps, B as BadgeProps, a4 as BadgeSize, a5 as BadgeVariant, a6 as BoxAs, b as BoxProps, a7 as BreadcrumbItem, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, a8 as CardPadding, e as CardProps, a9 as CardVariant, f as CheckboxProps, g as CollectionProps, aa as CollectionSelection, ab as ComboboxOption, h as ComboboxProps, ac as CommandItem, i as CommandPaletteProps, j as ContainerProps, ad as ContextMenuItem, k as ContextMenuProps, ae as DataTableColumn, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, af as DrawerSide, ag as DropdownItem, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, ah as LiveRegionPoliteness, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, ai as PopperPlacement, w as PopperProps, x as PortalProps, aj as PresenceAnimation, y as PresenceProps, z as PressableProps, R as RadioGroupProps, ak as RadioProps, E as RouterViewProps, al as SelectOption, J as SelectProps, N as SortableProps, Q as SpacerProps, S as StackProps, T as SwitchProps, am as TableColumn, U as TableProps, V as TabsProps, an as TextColor, W as TextProps, ao as TextSize, ap as TextWeight, X as TextareaProps, aq as ToastOptions, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, ar as TransitionType, as as TreeNodeData, $ as TreeProps, at as UAccordion, au as UAccordionItem, av as UAnimate, aw as UBadge, ax as UBox, ay as UBreadcrumb, az as UButton, aA as UCalendar, aB as UCard, aC as UCheckbox, aD as UCollection, aE as UCombobox, aF as UCommandPalette, aG as UContainer, aH as UContextMenu, aI as UDataTable, aJ as UDialogRoot, aK as UDismissableLayer, aL as UDrawer, aM as UDropdown, aN as UField, aO as UFocusManager, aP as UFocusScope, aQ as UFocusTrap, aR as UForm, aS as UGrid, aT as UHStack, aU as UHoverable, aV as UInput, aW as UKeyboardNavigation, aX as ULabel, aY as ULink, aZ as UList, a_ as ULiveRegion, a$ as UModal, b0 as UOverlay, b1 as UPopover, b2 as UPopper, b3 as UPortal, b4 as UPresence, b5 as UPressable, b6 as URadio, b7 as URadioGroup, b8 as URouterView, b9 as USelect, ba as USortable, bb as USpacer, bc as UStack, bd as USwitch, be as UTable, bf as UTabs, bg as UText, bh as UTextarea, bi as UToast, bj as UTooltipRoot, bk as UTransition, bl as UTree, bm as UVirtualList, bn as UVisuallyHidden, a0 as VirtualListProps, a1 as VisuallyHiddenProps, bo as createControlledInput, bp as setPortalRoot } from '../card.wc-pFLgjfwm.js';
1
+ export { a2 as AccordionItemProps, A as AccordionProps, a3 as AnimatePreset, a as AnimateProps, B as BadgeProps, a4 as BadgeSize, a5 as BadgeVariant, a6 as BoxAs, b as BoxProps, a7 as BreadcrumbItem, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, a8 as CardPadding, e as CardProps, a9 as CardVariant, f as CheckboxProps, g as CollectionProps, aa as CollectionSelection, ab as ComboboxOption, h as ComboboxProps, ac as CommandItem, i as CommandPaletteProps, j as ContainerProps, ad as ContextMenuItem, k as ContextMenuProps, ae as DataTableColumn, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, af as DrawerSide, ag as DropdownItem, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, ah as LiveRegionPoliteness, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, ai as PopperPlacement, w as PopperProps, x as PortalProps, aj as PresenceAnimation, y as PresenceProps, z as PressableProps, R as RadioGroupProps, ak as RadioProps, E as RouterViewProps, al as SelectOption, J as SelectProps, N as SortableProps, Q as SpacerProps, S as StackProps, T as SwitchProps, am as TableColumn, U as TableProps, V as TabsProps, an as TextColor, W as TextProps, ao as TextSize, ap as TextWeight, X as TextareaProps, aq as ToastOptions, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, ar as TransitionType, as as TreeNodeData, $ as TreeProps, at as UAccordion, au as UAccordionItem, av as UAnimate, aw as UBadge, ax as UBox, ay as UBreadcrumb, az as UButton, aA as UCalendar, aB as UCard, aC as UCheckbox, aD as UCollection, aE as UCombobox, aF as UCommandPalette, aG as UContainer, aH as UContextMenu, aI as UDataTable, aJ as UDialogRoot, aK as UDismissableLayer, aL as UDrawer, aM as UDropdown, aN as UField, aO as UFocusManager, aP as UFocusScope, aQ as UFocusTrap, aR as UForm, aS as UGrid, aT as UHStack, aU as UHoverable, aV as UInput, aW as UKeyboardNavigation, aX as ULabel, aY as ULink, aZ as UList, a_ as ULiveRegion, a$ as UModal, b0 as UOverlay, b1 as UPopover, b2 as UPopper, b3 as UPortal, b4 as UPresence, b5 as UPressable, b6 as URadio, b7 as URadioGroup, b8 as URouterView, b9 as USelect, ba as USortable, bb as USpacer, bc as UStack, bd as USwitch, be as UTable, bf as UTabs, bg as UText, bh as UTextarea, bi as UToast, bj as UTooltipRoot, bk as UTransition, bl as UTree, bm as UVirtualList, bn as UVisuallyHidden, a0 as VirtualListProps, a1 as VisuallyHiddenProps, bo as createControlledInput, bp as setPortalRoot } from '../card.wc-CLzyZAbJ.js';
2
2
  import { U as UElement } from '../element-DHtonJNX.js';
3
3
  import '../types-DWglFa91.js';
4
4
 
@@ -1,6 +1,6 @@
1
1
  import '../chunk-T7QLIHHU.js';
2
- export { UAccordion, UAccordionItem, UAnimate, UBadge, UBox, UBreadcrumb, UButton, UCalendar, UCard, UCheckbox, UCollection, UCombobox, UCommandPalette, UContainer, UContextMenu, UDataTable, UDialogRoot, UDismissableLayer, UDrawer, UDropdown, UField, UFocusManager, UFocusScope, UFocusTrap, UForm, UGrid, UHStack, UHoverable, UInput, UKeyboardNavigation, ULabel, ULink, UList, ULiveRegion, UModal, UOverlay, UPopover, UPopper, UPortal, UPresence, UPressable, URadio, URadioGroup, URouterView, USelect, USlot, USortable, USpacer, UStack, USwitch, UTable, UTabs, UText, UTextarea, UToast, UTooltipRoot, UTransition, UTree, UVirtualList, UVisuallyHidden, createControlledInput, setPortalRoot } from '../chunk-RQZ7KDYP.js';
3
- import '../chunk-ICB6OBEZ.js';
2
+ export { UAccordion, UAccordionItem, UAnimate, UBadge, UBox, UBreadcrumb, UButton, UCalendar, UCard, UCheckbox, UCollection, UCombobox, UCommandPalette, UContainer, UContextMenu, UDataTable, UDialogRoot, UDismissableLayer, UDrawer, UDropdown, UField, UFocusManager, UFocusScope, UFocusTrap, UForm, UGrid, UHStack, UHoverable, UInput, UKeyboardNavigation, ULabel, ULink, UList, ULiveRegion, UModal, UOverlay, UPopover, UPopper, UPortal, UPresence, UPressable, URadio, URadioGroup, URouterView, USelect, USlot, USortable, USpacer, UStack, USwitch, UTable, UTabs, UText, UTextarea, UToast, UTooltipRoot, UTransition, UTree, UVirtualList, UVisuallyHidden, createControlledInput, setPortalRoot } from '../chunk-PIXJHFME.js';
3
+ import '../chunk-2UKGVIH2.js';
4
4
  import '../chunk-Q5RCPPCF.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
package/dist/define.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponents } from './chunk-QTANS5ZS.js';
2
- import './chunk-RQZ7KDYP.js';
3
- import './chunk-RATTHYIP.js';
4
- import './chunk-ICB6OBEZ.js';
1
+ import { defineComponents } from './chunk-NUMML2ZR.js';
2
+ import './chunk-PIXJHFME.js';
3
+ import './chunk-NJHLJNRI.js';
4
+ import './chunk-2UKGVIH2.js';
5
5
  import './chunk-Q5RCPPCF.js';
6
6
 
7
7
  // src/define.ts
@@ -1,6 +1,6 @@
1
1
  import '../chunk-RAWESWNC.js';
2
- export { UIcon, iconRegistry } from '../chunk-RATTHYIP.js';
3
- import '../chunk-ICB6OBEZ.js';
2
+ export { UIcon, iconRegistry } from '../chunk-NJHLJNRI.js';
3
+ import '../chunk-2UKGVIH2.js';
4
4
  import '../chunk-Q5RCPPCF.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { R as ReadonlySignal, S as Signal, W as WritableSignal, a as Store, P as Plugin } from './types-DWglFa91.js';
2
2
  export { b as PluginAPI } from './types-DWglFa91.js';
3
- export { a2 as AccordionItemProps, A as AccordionProps, a3 as AnimatePreset, a as AnimateProps, B as BadgeProps, a4 as BadgeSize, a5 as BadgeVariant, a6 as BoxAs, b as BoxProps, a7 as BreadcrumbItem, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, a8 as CardPadding, e as CardProps, a9 as CardVariant, f as CheckboxProps, g as CollectionProps, aa as CollectionSelection, ab as ComboboxOption, h as ComboboxProps, ac as CommandItem, i as CommandPaletteProps, j as ContainerProps, ad as ContextMenuItem, k as ContextMenuProps, ae as DataTableColumn, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, af as DrawerSide, ag as DropdownItem, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, ah as LiveRegionPoliteness, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, ai as PopperPlacement, w as PopperProps, x as PortalProps, aj as PresenceAnimation, y as PresenceProps, z as PressableProps, R as RadioGroupProps, ak as RadioProps, E as RouterViewProps, al as SelectOption, J as SelectProps, N as SortableProps, Q as SpacerProps, S as StackProps, T as SwitchProps, am as TableColumn, U as TableProps, V as TabsProps, an as TextColor, W as TextProps, ao as TextSize, ap as TextWeight, X as TextareaProps, aq as ToastOptions, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, ar as TransitionType, as as TreeNodeData, $ as TreeProps, at as UAccordion, au as UAccordionItem, av as UAnimate, aw as UBadge, ax as UBox, ay as UBreadcrumb, az as UButton, aA as UCalendar, aB as UCard, aC as UCheckbox, aD as UCollection, aE as UCombobox, aF as UCommandPalette, aG as UContainer, aH as UContextMenu, aI as UDataTable, aJ as UDialogRoot, aK as UDismissableLayer, aL as UDrawer, aM as UDropdown, aN as UField, aO as UFocusManager, aP as UFocusScope, aQ as UFocusTrap, aR as UForm, aS as UGrid, aT as UHStack, aU as UHoverable, aV as UInput, aW as UKeyboardNavigation, aX as ULabel, aY as ULink, aZ as UList, a_ as ULiveRegion, a$ as UModal, b0 as UOverlay, b1 as UPopover, b2 as UPopper, b3 as UPortal, b4 as UPresence, b5 as UPressable, b6 as URadio, b7 as URadioGroup, b8 as URouterView, b9 as USelect, ba as USortable, bb as USpacer, bc as UStack, bd as USwitch, be as UTable, bf as UTabs, bg as UText, bh as UTextarea, bi as UToast, bj as UTooltipRoot, bk as UTransition, bl as UTree, bm as UVirtualList, bn as UVisuallyHidden, a0 as VirtualListProps, a1 as VisuallyHiddenProps, bo as createControlledInput, bp as setPortalRoot } from './card.wc-pFLgjfwm.js';
3
+ export { a2 as AccordionItemProps, A as AccordionProps, a3 as AnimatePreset, a as AnimateProps, B as BadgeProps, a4 as BadgeSize, a5 as BadgeVariant, a6 as BoxAs, b as BoxProps, a7 as BreadcrumbItem, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, a8 as CardPadding, e as CardProps, a9 as CardVariant, f as CheckboxProps, g as CollectionProps, aa as CollectionSelection, ab as ComboboxOption, h as ComboboxProps, ac as CommandItem, i as CommandPaletteProps, j as ContainerProps, ad as ContextMenuItem, k as ContextMenuProps, ae as DataTableColumn, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, af as DrawerSide, ag as DropdownItem, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, ah as LiveRegionPoliteness, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, ai as PopperPlacement, w as PopperProps, x as PortalProps, aj as PresenceAnimation, y as PresenceProps, z as PressableProps, R as RadioGroupProps, ak as RadioProps, E as RouterViewProps, al as SelectOption, J as SelectProps, N as SortableProps, Q as SpacerProps, S as StackProps, T as SwitchProps, am as TableColumn, U as TableProps, V as TabsProps, an as TextColor, W as TextProps, ao as TextSize, ap as TextWeight, X as TextareaProps, aq as ToastOptions, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, ar as TransitionType, as as TreeNodeData, $ as TreeProps, at as UAccordion, au as UAccordionItem, av as UAnimate, aw as UBadge, ax as UBox, ay as UBreadcrumb, az as UButton, aA as UCalendar, aB as UCard, aC as UCheckbox, aD as UCollection, aE as UCombobox, aF as UCommandPalette, aG as UContainer, aH as UContextMenu, aI as UDataTable, aJ as UDialogRoot, aK as UDismissableLayer, aL as UDrawer, aM as UDropdown, aN as UField, aO as UFocusManager, aP as UFocusScope, aQ as UFocusTrap, aR as UForm, aS as UGrid, aT as UHStack, aU as UHoverable, aV as UInput, aW as UKeyboardNavigation, aX as ULabel, aY as ULink, aZ as UList, a_ as ULiveRegion, a$ as UModal, b0 as UOverlay, b1 as UPopover, b2 as UPopper, b3 as UPortal, b4 as UPresence, b5 as UPressable, b6 as URadio, b7 as URadioGroup, b8 as URouterView, b9 as USelect, ba as USortable, bb as USpacer, bc as UStack, bd as USwitch, be as UTable, bf as UTabs, bg as UText, bh as UTextarea, bi as UToast, bj as UTooltipRoot, bk as UTransition, bl as UTree, bm as UVirtualList, bn as UVisuallyHidden, a0 as VirtualListProps, a1 as VisuallyHiddenProps, bo as createControlledInput, bp as setPortalRoot } from './card.wc-CLzyZAbJ.js';
4
4
  export { SlotProps, USlot } from './components/index.js';
5
5
  export { IconData, UIcon, UIconProps, iconRegistry } from './icons/index.js';
6
6
  import './element-DHtonJNX.js';
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- export { defineComponents } from './chunk-QTANS5ZS.js';
1
+ export { defineComponents } from './chunk-NUMML2ZR.js';
2
2
  import './chunk-T7QLIHHU.js';
3
- export { UAccordion, UAccordionItem, UAnimate, UBadge, UBox, UBreadcrumb, UButton, UCalendar, UCard, UCheckbox, UCollection, UCombobox, UCommandPalette, UContainer, UContextMenu, UDataTable, UDialogRoot, UDismissableLayer, UDrawer, UDropdown, UField, UFocusManager, UFocusScope, UFocusTrap, UForm, UGrid, UHStack, UHoverable, UInput, UKeyboardNavigation, ULabel, ULink, UList, ULiveRegion, UModal, UOverlay, UPopover, UPopper, UPortal, UPresence, UPressable, URadio, URadioGroup, URouterView, USelect, USlot, USortable, USpacer, UStack, USwitch, UTable, UTabs, UText, UTextarea, UToast, UTooltipRoot, UTransition, UTree, UVirtualList, UVisuallyHidden, createControlledInput, setPortalRoot } from './chunk-RQZ7KDYP.js';
3
+ export { UAccordion, UAccordionItem, UAnimate, UBadge, UBox, UBreadcrumb, UButton, UCalendar, UCard, UCheckbox, UCollection, UCombobox, UCommandPalette, UContainer, UContextMenu, UDataTable, UDialogRoot, UDismissableLayer, UDrawer, UDropdown, UField, UFocusManager, UFocusScope, UFocusTrap, UForm, UGrid, UHStack, UHoverable, UInput, UKeyboardNavigation, ULabel, ULink, UList, ULiveRegion, UModal, UOverlay, UPopover, UPopper, UPortal, UPresence, UPressable, URadio, URadioGroup, URouterView, USelect, USlot, USortable, USpacer, UStack, USwitch, UTable, UTabs, UText, UTextarea, UToast, UTooltipRoot, UTransition, UTree, UVirtualList, UVisuallyHidden, createControlledInput, setPortalRoot } from './chunk-PIXJHFME.js';
4
4
  import './chunk-RAWESWNC.js';
5
- export { UIcon, iconRegistry } from './chunk-RATTHYIP.js';
6
- import './chunk-ICB6OBEZ.js';
5
+ export { UIcon, iconRegistry } from './chunk-NJHLJNRI.js';
6
+ import './chunk-2UKGVIH2.js';
7
7
  export { getPlugin, hasPlugin, registerPlugin, runPluginHook, unregisterPlugin } from './chunk-U4WYCYL6.js';
8
8
  import { signal, batch, destroySignal } from './chunk-Q5RCPPCF.js';
9
9
  export { batch, computed, effect, hydrateSignals, isBatching, isSignal, scheduleMicrotask, signal, untrack } from './chunk-Q5RCPPCF.js';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { A as AccordionProps, a as AnimateProps, B as BadgeProps, b as BoxProps, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, e as CardProps, f as CheckboxProps, g as CollectionProps, h as ComboboxProps, i as CommandPaletteProps, j as ContainerProps, k as ContextMenuProps, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, S as StackProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, w as PopperProps, x as PortalProps, y as PresenceProps, z as PressableProps, R as RadioGroupProps, E as RouterViewProps, J as SelectProps, N as SortableProps, Q as SpacerProps, T as SwitchProps, U as TableProps, V as TabsProps, W as TextProps, X as TextareaProps, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, $ as TreeProps, a0 as VirtualListProps, a1 as VisuallyHiddenProps } from '../card.wc-pFLgjfwm.js';
2
+ import { A as AccordionProps, a as AnimateProps, B as BadgeProps, b as BoxProps, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, e as CardProps, f as CheckboxProps, g as CollectionProps, h as ComboboxProps, i as CommandPaletteProps, j as ContainerProps, k as ContextMenuProps, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, S as StackProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, w as PopperProps, x as PortalProps, y as PresenceProps, z as PressableProps, R as RadioGroupProps, E as RouterViewProps, J as SelectProps, N as SortableProps, Q as SpacerProps, T as SwitchProps, U as TableProps, V as TabsProps, W as TextProps, X as TextareaProps, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, $ as TreeProps, a0 as VirtualListProps, a1 as VisuallyHiddenProps } from '../card.wc-CLzyZAbJ.js';
3
3
  import '../element-DHtonJNX.js';
4
4
  import '../types-DWglFa91.js';
5
5
 
@@ -1234,7 +1234,9 @@ declare const TooltipRoot: react.ForwardRefExoticComponent<Omit<TooltipRootProps
1234
1234
  declare const Textarea: react.ForwardRefExoticComponent<Omit<TextareaProps & ReactProps, "ref"> & react.RefAttributes<HTMLElement>>;
1235
1235
  declare const RadioGroup: react.ForwardRefExoticComponent<Omit<RadioGroupProps & ReactProps, "ref"> & react.RefAttributes<HTMLElement>>;
1236
1236
  declare const Switch: react.ForwardRefExoticComponent<Omit<SwitchProps & ReactProps, "ref"> & react.RefAttributes<HTMLElement>>;
1237
- declare const Label: react.ForwardRefExoticComponent<Omit<LabelProps & ReactProps, "ref"> & react.RefAttributes<HTMLElement>>;
1237
+ declare const Label: react.ForwardRefExoticComponent<Omit<LabelProps & ReactProps & {
1238
+ htmlFor?: string;
1239
+ }, "ref"> & react.RefAttributes<HTMLElement>>;
1238
1240
  declare const Collection: react.ForwardRefExoticComponent<Omit<CollectionProps & ReactProps, "ref"> & react.RefAttributes<HTMLElement>>;
1239
1241
  declare const Tree: react.ForwardRefExoticComponent<Omit<TreeProps & ReactProps, "ref"> & react.RefAttributes<HTMLElement>>;
1240
1242
  declare const Table: react.ForwardRefExoticComponent<Omit<TableProps & ReactProps, "ref"> & react.RefAttributes<HTMLElement>>;
@@ -1202,8 +1202,40 @@ var Button = forwardRef((props, ref) => {
1202
1202
  const { children, ...rest } = props;
1203
1203
  return createElement("u-button", { ...rest, ref }, children);
1204
1204
  });
1205
- var Input = forwardRef((props, ref) => {
1206
- return createElement("u-input", { ...props, ref });
1205
+ var Input = forwardRef(({ onChange, onInput, onFocus, onBlur, ...props }, ref) => {
1206
+ const onChangeRef = useRef(onChange);
1207
+ onChangeRef.current = onChange;
1208
+ const onInputRef = useRef(onInput);
1209
+ onInputRef.current = onInput;
1210
+ const onFocusRef = useRef(onFocus);
1211
+ onFocusRef.current = onFocus;
1212
+ const onBlurRef = useRef(onBlur);
1213
+ onBlurRef.current = onBlur;
1214
+ const elRef = useRef(null);
1215
+ const setRef = useCallback((el) => {
1216
+ if (typeof ref === "function") ref(el);
1217
+ else if (ref) ref.current = el;
1218
+ elRef.current = el;
1219
+ }, [ref]);
1220
+ useEffect(() => {
1221
+ const el = elRef.current;
1222
+ if (!el) return;
1223
+ const changeHandler = (e) => onChangeRef.current?.(e.detail.value);
1224
+ const inputHandler = (e) => onInputRef.current?.(e.detail.value);
1225
+ const focusHandler = () => onFocusRef.current?.();
1226
+ const blurHandler = () => onBlurRef.current?.();
1227
+ el.addEventListener("u-change", changeHandler);
1228
+ el.addEventListener("u-input", inputHandler);
1229
+ el.addEventListener("u-focus", focusHandler);
1230
+ el.addEventListener("u-blur", blurHandler);
1231
+ return () => {
1232
+ el.removeEventListener("u-change", changeHandler);
1233
+ el.removeEventListener("u-input", inputHandler);
1234
+ el.removeEventListener("u-focus", focusHandler);
1235
+ el.removeEventListener("u-blur", blurHandler);
1236
+ };
1237
+ }, [elRef.current]);
1238
+ return createElement("u-input", { ...props, ref: setRef });
1207
1239
  });
1208
1240
  var Box = forwardRef((props, ref) => {
1209
1241
  const { children, ...rest } = props;
@@ -1312,9 +1344,8 @@ var RadioGroup = forwardRef((props, ref) => {
1312
1344
  var Switch = forwardRef((props, ref) => {
1313
1345
  return createElement("u-switch", { ...props, ref });
1314
1346
  });
1315
- var Label = forwardRef((props, ref) => {
1316
- const { children, ...rest } = props;
1317
- return createElement("u-label", { ...rest, ref }, children);
1347
+ var Label = forwardRef(({ htmlFor, children, ...rest }, ref) => {
1348
+ return createElement("u-label", { ...rest, for: htmlFor, ref }, children);
1318
1349
  });
1319
1350
  var Collection = forwardRef((props, ref) => {
1320
1351
  const { children, ...rest } = props;
@@ -1437,9 +1468,36 @@ var Sortable = forwardRef((props, ref) => {
1437
1468
  const { children, ...rest } = props;
1438
1469
  return createElement("u-sortable", { ...rest, ref }, children);
1439
1470
  });
1440
- var Form = forwardRef((props, ref) => {
1441
- const { children, ...rest } = props;
1442
- return createElement("u-form", { ...rest, ref }, children);
1471
+ var Form = forwardRef(({ onSubmit, onError, children, ...rest }, ref) => {
1472
+ const onSubmitRef = useRef(onSubmit);
1473
+ onSubmitRef.current = onSubmit;
1474
+ const onErrorRef = useRef(onError);
1475
+ onErrorRef.current = onError;
1476
+ const elRef = useRef(null);
1477
+ const setRef = useCallback((el) => {
1478
+ if (typeof ref === "function") ref(el);
1479
+ else if (ref) ref.current = el;
1480
+ elRef.current = el;
1481
+ }, [ref]);
1482
+ useEffect(() => {
1483
+ const el = elRef.current;
1484
+ if (!el) return;
1485
+ const submitHandler = (e) => {
1486
+ const detail = e.detail;
1487
+ onSubmitRef.current?.(detail.data);
1488
+ };
1489
+ const errorHandler = (e) => {
1490
+ const detail = e.detail;
1491
+ onErrorRef.current?.(detail.errors);
1492
+ };
1493
+ el.addEventListener("u-form-submit", submitHandler);
1494
+ el.addEventListener("u-form-error", errorHandler);
1495
+ return () => {
1496
+ el.removeEventListener("u-form-submit", submitHandler);
1497
+ el.removeEventListener("u-form-error", errorHandler);
1498
+ };
1499
+ }, [elRef.current]);
1500
+ return createElement("u-form", { ...rest, ref: setRef }, children);
1443
1501
  });
1444
1502
  var Badge = forwardRef((props, ref) => {
1445
1503
  const { children, ...rest } = props;