@noxickon/onyx 1.0.5 → 1.2.0

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/index.d.ts CHANGED
@@ -1,34 +1,25 @@
1
- import { AnchorHTMLAttributes } from 'react';
2
1
  import { AnimationEventHandler } from 'react';
3
- import { ButtonHTMLAttributes } from 'react';
4
2
  import { ClipboardEventHandler } from 'react';
3
+ import { ComponentPropsWithoutRef } from 'react';
4
+ import { ComponentPropsWithRef } from 'react';
5
5
  import { CompositionEventHandler } from 'react';
6
+ import { Context } from 'react';
6
7
  import { CSSProperties } from 'react';
7
8
  import { DetailedReactHTMLElement } from 'react';
8
- import { DialogHTMLAttributes } from 'react';
9
9
  import { DragEventHandler } from 'react';
10
10
  import { FocusEventHandler } from 'react';
11
11
  import { FormEventHandler } from 'react';
12
- import { FormHTMLAttributes } from 'react';
13
12
  import { HTMLAttributes } from 'react';
14
13
  import { IconProps } from '@mdi/react/dist/IconProps';
15
14
  import { InputEventHandler } from 'react';
16
- import { InputHTMLAttributes } from 'react';
17
15
  import { JSX } from 'react/jsx-runtime';
18
16
  import { KeyboardEventHandler } from 'react';
19
- import { LabelHTMLAttributes } from 'react';
20
- import { LiHTMLAttributes } from 'react';
21
17
  import { MouseEventHandler } from 'react';
22
- import { OlHTMLAttributes } from 'react';
23
18
  import { PointerEventHandler } from 'react';
24
19
  import { ReactEventHandler } from 'react';
25
20
  import { ReactNode } from 'react';
26
21
  import { ReactPortal } from 'react';
27
- import { Ref } from 'react';
28
- import { TableHTMLAttributes } from 'react';
29
- import { TdHTMLAttributes } from 'react';
30
- import { TextareaHTMLAttributes } from 'react';
31
- import { ThHTMLAttributes } from 'react';
22
+ import { RefObject } from 'react';
32
23
  import { ToggleEventHandler } from 'react';
33
24
  import { TouchEventHandler } from 'react';
34
25
  import { TransitionEventHandler } from 'react';
@@ -37,20 +28,18 @@ import { WheelEventHandler } from 'react';
37
28
 
38
29
  export declare type AccordionType = 'single' | 'multiple';
39
30
 
40
- declare interface BaseInputButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'children'> {
41
- children?: React.ReactNode;
31
+ declare interface BaseInputButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'type'> {
42
32
  path?: string;
43
33
  }
44
34
 
45
- declare interface BaseInputCounterProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
35
+ declare interface BaseInputCounterProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
46
36
  currentLength?: number;
47
37
  disabled?: boolean;
48
38
  maxLength: number;
49
39
  size?: 'sm' | 'md';
50
40
  }
51
41
 
52
- declare interface BaseInputIconProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'type' | 'children'> {
53
- children?: React.ReactNode;
42
+ declare interface BaseInputIconProps extends ComponentPropsWithRef<'span'> {
54
43
  path?: string;
55
44
  }
56
45
 
@@ -198,24 +187,28 @@ declare type ColorStyleName = keyof typeof COLOR_STYLES;
198
187
 
199
188
  export declare type DrawerSide = 'left' | 'right' | 'top' | 'bottom';
200
189
 
201
- declare const FormField: ({ children, className, ...domProps }: FormFieldProps) => JSX.Element;
190
+ declare const FormDescription: (props: OxDescriptionProps) => JSX.Element;
202
191
 
203
- export declare interface FormFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
204
- children: ReactNode;
205
- }
192
+ declare const FormError: (props: OxErrorProps) => JSX.Element;
206
193
 
207
- declare const FormFields: ({ children, className, ...domProps }: FormFieldsProps) => JSX.Element;
194
+ declare const FormField: ({ children, className, orientation, ...domProps }: FormFieldProps) => JSX.Element;
208
195
 
209
- export declare interface FormFieldsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
196
+ export declare interface FormFieldProps extends ComponentPropsWithRef<'div'> {
210
197
  children: ReactNode;
198
+ orientation?: 'vertical' | 'horizontal';
211
199
  }
212
200
 
213
- declare const FormGroup: ({ children, className, ...domProps }: FormGroupProps) => JSX.Element;
201
+ declare const FormGroup: ({ children, className, layout, ...domProps }: FormGroupProps) => JSX.Element;
214
202
 
215
- export declare interface FormGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
203
+ export declare interface FormGroupProps extends ComponentPropsWithRef<'div'> {
216
204
  children: ReactNode;
205
+ layout?: 'grid';
217
206
  }
218
207
 
208
+ declare const FormGroupTitle: (props: OxHeadingProps) => JSX.Element;
209
+
210
+ declare const FormLabel: (props: OxLabelProps) => JSX.Element;
211
+
219
212
  declare type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
220
213
 
221
214
  declare type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6 | 7;
@@ -230,25 +223,25 @@ declare const OxAccordion_2: ({ children, className, defaultValue, onValueChange
230
223
 
231
224
  declare const OxAccordionContent: ({ children, className, ...domProps }: OxAccordionContentProps) => JSX.Element;
232
225
 
233
- export declare interface OxAccordionContentProps extends React.HTMLAttributes<HTMLDivElement> {
226
+ export declare interface OxAccordionContentProps extends ComponentPropsWithRef<'div'> {
234
227
  children: ReactNode;
235
228
  }
236
229
 
237
230
  declare const OxAccordionHeader: ({ children, className, ...domProps }: OxAccordionHeaderProps) => JSX.Element;
238
231
 
239
- export declare interface OxAccordionHeaderProps extends React.HTMLAttributes<HTMLButtonElement> {
232
+ export declare interface OxAccordionHeaderProps extends ComponentPropsWithRef<'button'> {
240
233
  children: ReactNode;
241
234
  }
242
235
 
243
236
  declare const OxAccordionItem: ({ children, className, disabled, value, ...domProps }: OxAccordionItemProps) => JSX.Element;
244
237
 
245
- export declare interface OxAccordionItemProps extends React.HTMLAttributes<HTMLDivElement> {
238
+ export declare interface OxAccordionItemProps extends ComponentPropsWithRef<'div'> {
246
239
  children: ReactNode;
247
240
  disabled?: boolean;
248
241
  value: string;
249
242
  }
250
243
 
251
- export declare interface OxAccordionProps extends React.HTMLAttributes<HTMLDivElement> {
244
+ export declare interface OxAccordionProps extends ComponentPropsWithRef<'div'> {
252
245
  children: ReactNode;
253
246
  defaultValue?: string | string[];
254
247
  onValueChange?: (value: string | string[]) => void;
@@ -270,7 +263,7 @@ export declare interface OxAlertIconProps extends Omit<OxIconProps, 'path'> {
270
263
  path?: string;
271
264
  }
272
265
 
273
- export declare interface OxAlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
266
+ export declare interface OxAlertProps extends ComponentPropsWithRef<'div'> {
274
267
  children: ReactNode;
275
268
  icon?: string;
276
269
  iconClass?: string;
@@ -288,11 +281,11 @@ declare const OxAvatar_2: ({ alt, className, fallback, isLoading: externalIsLoad
288
281
 
289
282
  declare const OxAvatarField: ({ children, className, ...domProps }: OxAvatarFieldProps) => JSX.Element;
290
283
 
291
- export declare interface OxAvatarFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
284
+ export declare interface OxAvatarFieldProps extends ComponentPropsWithRef<'div'> {
292
285
  children: ReactNode;
293
286
  }
294
287
 
295
- export declare interface OxAvatarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
288
+ export declare interface OxAvatarProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
296
289
  alt: string;
297
290
  fallback?: string | ReactNode;
298
291
  isLoading?: boolean;
@@ -308,7 +301,7 @@ export declare type OxAvatarSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
308
301
 
309
302
  export declare const OxBadge: ({ bgColor, children, className, color, size, style: styleProp, textColor, ...domProps }: OxBadgeProps) => JSX.Element;
310
303
 
311
- export declare interface OxBadgeProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
304
+ export declare interface OxBadgeProps extends ComponentPropsWithRef<'span'> {
312
305
  bgColor?: string;
313
306
  children: ReactNode;
314
307
  color?: ColorStyleName;
@@ -326,25 +319,25 @@ declare const OxBreadcrumb_2: ({ children, className, ...domProps }: OxBreadcrum
326
319
 
327
320
  declare const OxBreadcrumbItem: ({ children, className, current, ...domProps }: OxBreadcrumbItemProps) => JSX.Element;
328
321
 
329
- export declare interface OxBreadcrumbItemProps extends Omit<HTMLAttributes<HTMLLIElement>, 'children'> {
322
+ export declare interface OxBreadcrumbItemProps extends ComponentPropsWithRef<'li'> {
330
323
  children: ReactNode;
331
324
  current?: boolean;
332
325
  }
333
326
 
334
327
  declare const OxBreadcrumbLink: ({ children, className, href, ...domProps }: OxBreadcrumbLinkProps) => JSX.Element;
335
328
 
336
- export declare interface OxBreadcrumbLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children'> {
329
+ export declare interface OxBreadcrumbLinkProps extends ComponentPropsWithRef<'a'> {
337
330
  children: ReactNode;
338
331
  href: string;
339
332
  }
340
333
 
341
- export declare interface OxBreadcrumbProps extends Omit<HTMLAttributes<HTMLOListElement>, 'children'> {
334
+ export declare interface OxBreadcrumbProps extends ComponentPropsWithRef<'ol'> {
342
335
  children: ReactNode;
343
336
  }
344
337
 
345
338
  declare const OxBreadcrumbSeparator: ({ children, className, ...domProps }: OxBreadcrumbSeparatorProps) => JSX.Element;
346
339
 
347
- export declare type OxBreadcrumbSeparatorProps = HTMLAttributes<HTMLLIElement>;
340
+ export declare type OxBreadcrumbSeparatorProps = ComponentPropsWithRef<'li'>;
348
341
 
349
342
  export declare const OxButton: typeof OxButton_2 & {
350
343
  Icon: typeof OxButtonIcon;
@@ -356,18 +349,16 @@ declare const OxButtonIcon: ({ path, size: propSize, ...props }: OxButtonIconPro
356
349
 
357
350
  export declare type OxButtonIconProps = OxIconProps;
358
351
 
359
- export declare interface OxButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> {
352
+ export declare interface OxButtonProps extends ComponentPropsWithRef<'button'> {
360
353
  fullWidth?: boolean;
361
354
  isLoading?: boolean;
362
- ref?: Ref<HTMLButtonElement>;
363
355
  size?: 'sm' | 'md';
364
- type?: 'button' | 'submit' | 'reset';
365
356
  variant?: 'primary' | 'secondary' | 'ghost' | 'link' | 'danger';
366
357
  }
367
358
 
368
359
  export declare const OxCalendar: ({ className, onChange, value, ...domProps }: OxCalendarProps) => JSX.Element;
369
360
 
370
- export declare interface OxCalendarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
361
+ export declare interface OxCalendarProps extends Omit<ComponentPropsWithRef<'div'>, 'onChange'> {
371
362
  onChange?: (value: string) => void;
372
363
  value?: string;
373
364
  }
@@ -378,24 +369,24 @@ export declare const OxCard: typeof OxCard_2 & {
378
369
  Header: typeof OxCardHeader;
379
370
  };
380
371
 
381
- declare const OxCard_2: ({ children, className, color, equalHeight, hoverVariant, hoverable, padding, ...domProps }: OxCardProps) => JSX.Element;
372
+ declare const OxCard_2: ({ children, className, color, equalHeight, hoverVariant, hoverable, isLoading, padding, ...domProps }: OxCardProps) => JSX.Element;
382
373
 
383
374
  declare const OxCardBody: ({ children, className, flexGrow, ...domProps }: OxCardBodyProps) => JSX.Element;
384
375
 
385
- export declare interface OxCardBodyProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
376
+ export declare interface OxCardBodyProps extends ComponentPropsWithRef<'div'> {
386
377
  children: ReactNode;
387
378
  flexGrow?: boolean;
388
379
  }
389
380
 
390
381
  declare const OxCardFooter: ({ children, className, ...domProps }: OxCardFooterProps) => JSX.Element;
391
382
 
392
- export declare interface OxCardFooterProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
383
+ export declare interface OxCardFooterProps extends ComponentPropsWithRef<'div'> {
393
384
  children: ReactNode;
394
385
  }
395
386
 
396
387
  declare const OxCardHeader: ({ action, children, className, icon, iconColor, subtitle, title, ...domProps }: OxCardHeaderProps) => JSX.Element;
397
388
 
398
- export declare interface OxCardHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
389
+ export declare interface OxCardHeaderProps extends Omit<ComponentPropsWithRef<'div'>, 'title'> {
399
390
  action?: ReactNode;
400
391
  icon?: string;
401
392
  iconColor?: ColorStyleName;
@@ -403,31 +394,25 @@ export declare interface OxCardHeaderProps extends Omit<HTMLAttributes<HTMLDivEl
403
394
  title?: ReactNode;
404
395
  }
405
396
 
406
- export declare interface OxCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
397
+ export declare interface OxCardProps extends ComponentPropsWithRef<'div'> {
407
398
  children: ReactNode;
408
399
  color?: ColorStyleName;
409
400
  equalHeight?: boolean;
410
401
  hoverable?: boolean;
411
402
  hoverVariant?: 'none' | 'lift' | 'glow' | 'border';
403
+ isLoading?: boolean;
412
404
  padding?: 'none' | 'sm' | 'md';
413
405
  }
414
406
 
415
407
  export declare const OxCheckbox: typeof OxCheckbox_2 & {
416
- Field: typeof OxCheckboxField;
417
408
  Group: typeof OxCheckboxGroup;
418
409
  };
419
410
 
420
411
  declare const OxCheckbox_2: ({ checked, className, defaultChecked, disabled, error, id: propId, indeterminate, name, onChange, onCheckedChange, required, size, value, ...domProps }: OxCheckboxProps) => JSX.Element;
421
412
 
422
- declare const OxCheckboxField: ({ children, className, ...domProps }: OxCheckboxFieldProps) => JSX.Element;
423
-
424
- export declare interface OxCheckboxFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
425
- children: ReactNode;
426
- }
427
-
428
413
  declare const OxCheckboxGroup: ({ children, className, disabled, name, onChange, size, value, ...domProps }: OxCheckboxGroupProps) => JSX.Element;
429
414
 
430
- export declare interface OxCheckboxGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
415
+ export declare interface OxCheckboxGroupProps extends Omit<ComponentPropsWithRef<'div'>, 'onChange' | 'children'> {
431
416
  children: ReactNode;
432
417
  disabled?: boolean;
433
418
  name: string;
@@ -436,7 +421,8 @@ export declare interface OxCheckboxGroupProps extends Omit<HTMLAttributes<HTMLDi
436
421
  value?: (string | number)[];
437
422
  }
438
423
 
439
- export declare interface OxCheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size' | 'value' | 'children'> {
424
+ export declare interface OxCheckboxProps extends Omit<ComponentPropsWithoutRef<'input'>, 'type' | 'size' | 'value' | 'children' | 'checked'> {
425
+ checked?: boolean | null;
440
426
  error?: boolean;
441
427
  indeterminate?: boolean;
442
428
  onCheckedChange?: (checked: boolean) => void;
@@ -446,7 +432,7 @@ export declare interface OxCheckboxProps extends Omit<InputHTMLAttributes<HTMLIn
446
432
 
447
433
  declare const OxDateButton: (props: BaseInputButtonProps) => JSX.Element;
448
434
 
449
- declare const OxDateContainer: ({ children, className, customValidationMessage, defaultValue, disabled, error, onChange, pickOnly, readOnly, required, showValidation, showValidationTooltip, size, value, ...domProps }: OxDateInputContainerProps) => JSX.Element;
435
+ declare const OxDateContainer: ({ children, className, customValidationMessage, defaultOpen, defaultValue, disabled, error, onChange, onOpenChange, open, pickOnly, readOnly, required, showValidation, showValidationTooltip, size, value, ...domProps }: OxDateInputContainerProps) => JSX.Element;
450
436
 
451
437
  declare const OxDateIcon: (props: BaseInputIconProps) => JSX.Element;
452
438
 
@@ -461,12 +447,15 @@ declare const OxDateInput_2: () => JSX.Element;
461
447
 
462
448
  declare type OxDateInputButton = BaseInputButtonProps;
463
449
 
464
- declare interface OxDateInputContainerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
450
+ declare interface OxDateInputContainerProps extends Omit<ComponentPropsWithRef<'div'>, 'onChange'> {
465
451
  customValidationMessage?: string;
452
+ defaultOpen?: boolean;
466
453
  defaultValue?: string;
467
454
  disabled?: boolean;
468
455
  error?: boolean;
469
456
  onChange?: (value: string) => void;
457
+ onOpenChange?: (open: boolean) => void;
458
+ open?: boolean;
470
459
  pickOnly?: boolean;
471
460
  readOnly?: boolean;
472
461
  required?: boolean;
@@ -487,23 +476,23 @@ export declare const OxDescriptionList: typeof OxDescriptionList_2 & {
487
476
 
488
477
  declare const OxDescriptionList_2: ({ children, className, ...domProps }: OxDescriptionListProps) => JSX.Element;
489
478
 
490
- declare interface OxDescriptionListProps extends Omit<HTMLAttributes<HTMLDListElement>, 'children'> {
479
+ declare interface OxDescriptionListProps extends ComponentPropsWithRef<'dl'> {
491
480
  children: ReactNode;
492
481
  }
493
482
 
494
483
  declare const OxDescriptionListTerm: ({ children, className, ...domProps }: OxDescriptionListTermProps) => JSX.Element;
495
484
 
496
- declare interface OxDescriptionListTermProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
485
+ declare interface OxDescriptionListTermProps extends ComponentPropsWithRef<'dt'> {
497
486
  children: ReactNode;
498
487
  }
499
488
 
500
489
  declare const OxDescriptionListValue: ({ children, className, ...domProps }: OxDescriptionListValueProps) => JSX.Element;
501
490
 
502
- declare interface OxDescriptionListValueProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
491
+ declare interface OxDescriptionListValueProps extends ComponentPropsWithRef<'dd'> {
503
492
  children?: ReactNode;
504
493
  }
505
494
 
506
- declare interface OxDescriptionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
495
+ declare interface OxDescriptionProps extends ComponentPropsWithRef<'div'> {
507
496
  children: ReactNode;
508
497
  disabled?: boolean;
509
498
  }
@@ -518,23 +507,23 @@ declare const OxDialog_2: ({ children, className, closeOnOutsideClick, isOpen, o
518
507
 
519
508
  declare const OxDialogBody: ({ children, className, ...domProps }: OxDialogBodyProps) => JSX.Element;
520
509
 
521
- export declare interface OxDialogBodyProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
510
+ export declare interface OxDialogBodyProps extends ComponentPropsWithRef<'div'> {
522
511
  children: ReactNode;
523
512
  }
524
513
 
525
514
  declare const OxDialogFooter: ({ children, className, ...domProps }: OxDialogFooterProps) => JSX.Element;
526
515
 
527
- export declare interface OxDialogFooterProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
516
+ export declare interface OxDialogFooterProps extends ComponentPropsWithRef<'div'> {
528
517
  children: ReactNode;
529
518
  }
530
519
 
531
520
  declare const OxDialogHeader: ({ children, className, ...domProps }: OxDialogHeaderProps) => JSX.Element;
532
521
 
533
- export declare interface OxDialogHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
522
+ export declare interface OxDialogHeaderProps extends ComponentPropsWithRef<'div'> {
534
523
  children: ReactNode;
535
524
  }
536
525
 
537
- export declare interface OxDialogProps extends Omit<DialogHTMLAttributes<HTMLDialogElement>, 'children' | 'onClose'> {
526
+ export declare interface OxDialogProps extends ComponentPropsWithoutRef<'dialog'> {
538
527
  children: ReactNode;
539
528
  closeOnOutsideClick?: boolean;
540
529
  isOpen: boolean;
@@ -558,13 +547,13 @@ declare const OxDrawer_2: ({ children, defaultOpen, onOpenChange, open: controll
558
547
 
559
548
  declare const OxDrawerBody: ({ children, className, ...domProps }: OxDrawerBodyProps) => JSX.Element;
560
549
 
561
- export declare interface OxDrawerBodyProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
550
+ export declare interface OxDrawerBodyProps extends ComponentPropsWithRef<'div'> {
562
551
  children: ReactNode;
563
552
  }
564
553
 
565
554
  declare const OxDrawerContent: ({ children, className, closeOnOutsideClick, side, ...domProps }: OxDrawerContentProps) => ReactPortal | null;
566
555
 
567
- export declare interface OxDrawerContentProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
556
+ export declare interface OxDrawerContentProps extends ComponentPropsWithRef<'div'> {
568
557
  children: ReactNode;
569
558
  closeOnOutsideClick?: boolean;
570
559
  side?: DrawerSide;
@@ -572,13 +561,13 @@ export declare interface OxDrawerContentProps extends Omit<HTMLAttributes<HTMLDi
572
561
 
573
562
  declare const OxDrawerFooter: ({ children, className, ...domProps }: OxDrawerFooterProps) => JSX.Element;
574
563
 
575
- export declare interface OxDrawerFooterProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
564
+ export declare interface OxDrawerFooterProps extends ComponentPropsWithRef<'div'> {
576
565
  children: ReactNode;
577
566
  }
578
567
 
579
568
  declare const OxDrawerHeader: ({ children, className, ...domProps }: OxDrawerHeaderProps) => JSX.Element;
580
569
 
581
- export declare interface OxDrawerHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
570
+ export declare interface OxDrawerHeaderProps extends ComponentPropsWithRef<'div'> {
582
571
  children: ReactNode;
583
572
  }
584
573
 
@@ -591,47 +580,48 @@ export declare interface OxDrawerProps {
591
580
 
592
581
  declare const OxDrawerTrigger: ({ children, className, disabled, onClick, ...domProps }: OxDrawerTriggerProps) => JSX.Element;
593
582
 
594
- export declare interface OxDrawerTriggerProps extends Omit<HTMLAttributes<HTMLButtonElement>, 'children'> {
583
+ export declare interface OxDrawerTriggerProps extends ComponentPropsWithRef<'button'> {
595
584
  children: ReactNode;
596
585
  disabled?: boolean;
597
586
  }
598
587
 
599
588
  export declare const OxDropdown: typeof OxDropdown_2 & {
600
589
  Body: typeof OxDropdownBody;
601
- Button: typeof OxDropdownButton;
590
+ Content: typeof OxDropdownContent;
602
591
  Footer: typeof OxDropdownFooter;
603
592
  Header: typeof OxDropdownHeader;
604
593
  Icon: typeof OxDropdownIcon;
594
+ Item: typeof OxDropdownItem;
605
595
  Label: typeof OxDropdownLabel;
606
- Link: typeof OxDropdownLink;
607
596
  Separator: typeof OxDropdownSeparator;
608
597
  Shortcut: typeof OxDropdownShortcut;
609
598
  Trigger: typeof OxDropdownTrigger;
610
599
  };
611
600
 
612
- declare const OxDropdown_2: ({ align, children, className, defaultOpen, disabled, onOpenChange, open: controlledOpen, side, size, ...domProps }: OxDropdownProps) => JSX.Element;
601
+ declare const OxDropdown_2: ({ align, children, defaultOpen, disabled, onOpenChange, open, side, size, }: OxDropdownProps) => JSX.Element;
613
602
 
614
- export declare interface OxDropdownActionProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
603
+ declare const OxDropdownBody: ({ children, className, ...domProps }: OxDropdownBodyProps) => JSX.Element;
604
+
605
+ export declare interface OxDropdownBodyProps extends ComponentPropsWithRef<'ul'> {
615
606
  children: ReactNode;
616
607
  }
617
608
 
618
- declare const OxDropdownBody: ({ children, className, ...domProps }: OxDropdownBodyProps) => JSX.Element;
609
+ declare const OxDropdownContent: ({ children, className, ...domProps }: OxDropdownContentProps) => JSX.Element;
619
610
 
620
- export declare interface OxDropdownBodyProps extends Omit<HTMLAttributes<HTMLUListElement>, 'children'> {
611
+ export declare interface OxDropdownContentProps extends ComponentPropsWithRef<'div'> {
621
612
  children: ReactNode;
613
+ className?: string;
622
614
  }
623
615
 
624
- declare const OxDropdownButton: ({ children, className, disabled, onClick, ...domProps }: OxDropdownActionProps) => JSX.Element;
625
-
626
616
  declare const OxDropdownFooter: ({ children, className, ...domProps }: OxDropdownFooterProps) => JSX.Element;
627
617
 
628
- export declare interface OxDropdownFooterProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
618
+ export declare interface OxDropdownFooterProps extends ComponentPropsWithRef<'div'> {
629
619
  children: ReactNode;
630
620
  }
631
621
 
632
622
  declare const OxDropdownHeader: ({ children, className, ...domProps }: OxDropdownHeaderProps) => JSX.Element;
633
623
 
634
- export declare interface OxDropdownHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
624
+ export declare interface OxDropdownHeaderProps extends ComponentPropsWithRef<'div'> {
635
625
  children: ReactNode;
636
626
  }
637
627
 
@@ -639,20 +629,26 @@ declare const OxDropdownIcon: ({ path, size: propSize, ...props }: OxDropdownIco
639
629
 
640
630
  export declare type OxDropdownIconProps = OxIconProps;
641
631
 
642
- declare const OxDropdownLabel: ({ children, className, ...domProps }: OxDropdownLabelProps) => JSX.Element;
632
+ declare const OxDropdownItem: (props: OxDropdownItemProps) => JSX.Element;
643
633
 
644
- export declare interface OxDropdownLabelProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
645
- children: ReactNode;
646
- }
634
+ export declare type OxDropdownItemButtonProps = Omit<ComponentPropsWithRef<'button'>, 'type'> & {
635
+ href?: never;
636
+ };
637
+
638
+ export declare type OxDropdownItemLinkProps = ComponentPropsWithRef<'a'> & {
639
+ disabled?: boolean;
640
+ href: string;
641
+ };
647
642
 
648
- declare const OxDropdownLink: ({ children, className, disabled, href, ...domProps }: OxDropdownLinkProps) => JSX.Element;
643
+ export declare type OxDropdownItemProps = OxDropdownItemButtonProps | OxDropdownItemLinkProps;
649
644
 
650
- export declare interface OxDropdownLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children'> {
645
+ declare const OxDropdownLabel: ({ children, className, ...domProps }: OxDropdownLabelProps) => JSX.Element;
646
+
647
+ export declare interface OxDropdownLabelProps extends ComponentPropsWithRef<'div'> {
651
648
  children: ReactNode;
652
- disabled?: boolean;
653
649
  }
654
650
 
655
- export declare interface OxDropdownProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
651
+ export declare interface OxDropdownProps {
656
652
  align?: OxFloatingAlign;
657
653
  children: ReactNode;
658
654
  defaultOpen?: boolean;
@@ -669,13 +665,13 @@ export declare type OxDropdownSeparatorProps = Omit<OxSeparatorProps, 'orientati
669
665
 
670
666
  declare const OxDropdownShortcut: ({ children, className, ...domProps }: OxDropdownShortcutProps) => JSX.Element;
671
667
 
672
- export declare interface OxDropdownShortcutProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
668
+ export declare interface OxDropdownShortcutProps extends ComponentPropsWithRef<'span'> {
673
669
  children: ReactNode;
674
670
  }
675
671
 
676
672
  declare const OxDropdownTrigger: ({ animateIcon, asChild, children, className, disabled: propsDisabled, hideIcon, icon, outline, ...domProps }: OxDropdownTriggerProps) => JSX.Element;
677
673
 
678
- export declare interface OxDropdownTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
674
+ export declare interface OxDropdownTriggerProps extends ComponentPropsWithRef<'button'> {
679
675
  animateIcon?: boolean;
680
676
  asChild?: boolean;
681
677
  children: ReactNode;
@@ -686,7 +682,7 @@ export declare interface OxDropdownTriggerProps extends Omit<ButtonHTMLAttribute
686
682
 
687
683
  export declare const OxError: ({ children, className, icon, ...domProps }: OxErrorProps) => JSX.Element | null;
688
684
 
689
- declare interface OxErrorProps extends HTMLAttributes<HTMLDivElement> {
685
+ declare interface OxErrorProps extends ComponentPropsWithRef<'div'> {
690
686
  icon?: string;
691
687
  }
692
688
 
@@ -700,25 +696,25 @@ declare const OxFileUpload_2: ({ accept, children, className, disabled, maxFiles
700
696
 
701
697
  declare const OxFileUploadArea: ({ children, className, ...domProps }: OxFileUploadAreaProps) => JSX.Element;
702
698
 
703
- export declare interface OxFileUploadAreaProps extends HTMLAttributes<HTMLDivElement> {
704
- children?: ReactNode;
699
+ export declare interface OxFileUploadAreaProps extends ComponentPropsWithRef<'div'> {
700
+ children: ReactNode;
705
701
  }
706
702
 
707
703
  declare const OxFileUploadButton: ({ children, className, size, variant, ...domProps }: OxFileUploadButtonProps) => JSX.Element;
708
704
 
709
- export declare interface OxFileUploadButtonProps extends Omit<HTMLAttributes<HTMLButtonElement>, 'onClick'> {
710
- children?: ReactNode;
705
+ export declare interface OxFileUploadButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'onClick'> {
706
+ children: ReactNode;
711
707
  size?: 'sm' | 'md';
712
708
  variant?: 'primary' | 'secondary' | 'ghost' | 'link' | 'danger';
713
709
  }
714
710
 
715
711
  declare const OxFileUploadOverlay: ({ children, className, ...domProps }: OxFileUploadOverlayProps) => JSX.Element;
716
712
 
717
- export declare interface OxFileUploadOverlayProps extends HTMLAttributes<HTMLDivElement> {
713
+ export declare interface OxFileUploadOverlayProps extends ComponentPropsWithRef<'div'> {
718
714
  children: ReactNode;
719
715
  }
720
716
 
721
- export declare interface OxFileUploadProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onError'> {
717
+ export declare interface OxFileUploadProps extends Omit<ComponentPropsWithRef<'div'>, 'onError'> {
722
718
  accept?: string[];
723
719
  children: ReactNode;
724
720
  disabled?: boolean;
@@ -730,46 +726,82 @@ export declare interface OxFileUploadProps extends Omit<HTMLAttributes<HTMLDivEl
730
726
  onFileSelect?: (files: File[]) => void;
731
727
  }
732
728
 
733
- export declare const OxFloating: ({ align, animationDuration, ariaHaspopup, asChild, children, className, content, contentClassName, contentRole, contentStyle, disabled, hoverDelay, id: propId, offset, onOpenChange, open: controlledOpen, portal, position, trigger, useAriaControls, }: OxFloatingProps) => JSX.Element;
729
+ export declare const OxFloating: typeof OxFloating_2 & {
730
+ Content: typeof OxFloatingContent;
731
+ Trigger: typeof OxFloatingTrigger;
732
+ };
733
+
734
+ declare const OxFloating_2: ({ align, animationDuration, ariaHaspopup, children, defaultOpen, disabled, hoverDelay, id: propId, offset, onOpenChange, open: controlledOpen, position, trigger, useAriaControls, }: OxFloatingProps) => JSX.Element;
734
735
 
735
736
  export declare type OxFloatingAlign = 'start' | 'center' | 'end';
736
737
 
738
+ export declare type OxFloatingAriaHaspopupTypes = 'menu' | 'dialog' | 'listbox' | 'tree' | 'grid' | true;
739
+
740
+ declare const OxFloatingContent: ({ children, className, portal, style, ...domProps }: OxFloatingContentProps) => JSX.Element | null;
741
+
742
+ export declare interface OxFloatingContentProps extends ComponentPropsWithoutRef<'div'> {
743
+ children: ReactNode;
744
+ portal?: boolean;
745
+ }
746
+
747
+ export declare const OxFloatingContext: Context<OxFloatingContextValue | undefined>;
748
+
749
+ export declare interface OxFloatingContextValue {
750
+ ariaHaspopup?: OxFloatingAriaHaspopupTypes;
751
+ closing: boolean;
752
+ contentRef: RefObject<HTMLDivElement | null>;
753
+ disabled: boolean;
754
+ hoverDelay: number;
755
+ hoverTimeoutRef: RefObject<number | null>;
756
+ id: string;
757
+ isPositioned: boolean;
758
+ open: boolean;
759
+ setOpen: (open: boolean) => void;
760
+ trigger: OxFloatingTriggerTypes;
761
+ triggerRef: RefObject<HTMLDivElement | null>;
762
+ useAriaControls: boolean;
763
+ }
764
+
737
765
  export declare type OxFloatingPosition = 'top' | 'bottom' | 'left' | 'right';
738
766
 
739
767
  export declare interface OxFloatingProps {
740
768
  align?: OxFloatingAlign;
741
769
  animationDuration?: number;
742
- ariaHaspopup?: 'menu' | 'dialog' | 'listbox' | 'tree' | 'grid' | true;
743
- asChild?: boolean;
770
+ ariaHaspopup?: OxFloatingAriaHaspopupTypes;
744
771
  children: ReactNode;
745
- className?: string;
746
- content: ReactNode;
747
- contentClassName?: string;
748
- contentRole?: 'tooltip' | 'menu' | 'dialog' | 'listbox' | undefined;
749
- contentStyle?: CSSProperties;
772
+ defaultOpen?: boolean;
750
773
  disabled?: boolean;
751
774
  hoverDelay?: number;
752
775
  id?: string;
753
776
  offset?: number;
754
777
  onOpenChange?: (open: boolean) => void;
755
778
  open?: boolean;
756
- portal?: boolean;
757
779
  position?: OxFloatingPosition;
758
- trigger?: OxFloatingTrigger;
780
+ trigger?: OxFloatingTriggerTypes;
759
781
  useAriaControls?: boolean;
760
782
  }
761
783
 
762
- export declare type OxFloatingTrigger = 'hover' | 'click' | 'manual' | 'focus';
784
+ declare const OxFloatingTrigger: ({ asChild, children, className, ...domProps }: OxFloatingTriggerProps) => JSX.Element;
785
+
786
+ export declare interface OxFloatingTriggerProps extends ComponentPropsWithRef<'div'> {
787
+ asChild?: boolean;
788
+ children: ReactNode;
789
+ }
790
+
791
+ export declare type OxFloatingTriggerTypes = 'hover' | 'click' | 'manual' | 'focus';
763
792
 
764
793
  export declare const OxForm: typeof OxForm_2 & {
794
+ Description: typeof FormDescription;
795
+ Error: typeof FormError;
765
796
  Field: typeof FormField;
766
- Fields: typeof FormFields;
767
797
  Group: typeof FormGroup;
798
+ GroupTitle: typeof FormGroupTitle;
799
+ Label: typeof FormLabel;
768
800
  };
769
801
 
770
802
  declare const OxForm_2: ({ children, className, fullWidth, noValidate, ...domProps }: OxFormProps) => JSX.Element;
771
803
 
772
- export declare interface OxFormProps extends Omit<FormHTMLAttributes<HTMLFormElement>, 'children'> {
804
+ export declare interface OxFormProps extends ComponentPropsWithRef<'form'> {
773
805
  children: ReactNode;
774
806
  fullWidth?: boolean;
775
807
  }
@@ -1076,7 +1108,7 @@ export declare const OxJsonField: typeof OxJsonField_2 & {
1076
1108
 
1077
1109
  declare const OxJsonField_2: ({ className, value, ...domProps }: OxJsonFieldProps) => JSX.Element;
1078
1110
 
1079
- export declare interface OxJsonFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1111
+ export declare interface OxJsonFieldProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
1080
1112
  value: string | OxJsonValue;
1081
1113
  }
1082
1114
 
@@ -1093,7 +1125,7 @@ export declare type OxJsonValue = string | number | boolean | null | undefined |
1093
1125
 
1094
1126
  export declare const OxLabel: ({ children, className, disabled, htmlFor, required, ...domProps }: OxLabelProps) => JSX.Element;
1095
1127
 
1096
- declare interface OxLabelProps extends Omit<LabelHTMLAttributes<HTMLLabelElement>, 'children'> {
1128
+ declare interface OxLabelProps extends ComponentPropsWithRef<'label'> {
1097
1129
  children: ReactNode;
1098
1130
  disabled?: boolean;
1099
1131
  required?: boolean;
@@ -1101,7 +1133,7 @@ declare interface OxLabelProps extends Omit<LabelHTMLAttributes<HTMLLabelElement
1101
1133
 
1102
1134
  export declare const OxLegend: ({ children, className, disabled, required, ...domProps }: OxLegendProps) => JSX.Element;
1103
1135
 
1104
- declare interface OxLegendProps extends Omit<HTMLAttributes<HTMLLegendElement>, 'children'> {
1136
+ declare interface OxLegendProps extends ComponentPropsWithRef<'legend'> {
1105
1137
  children: ReactNode;
1106
1138
  disabled?: boolean;
1107
1139
  required?: boolean;
@@ -1109,7 +1141,7 @@ declare interface OxLegendProps extends Omit<HTMLAttributes<HTMLLegendElement>,
1109
1141
 
1110
1142
  export declare const OxLink: ({ children, className, disabled, href, size, variant, ...domProps }: OxLinkProps) => JSX.Element;
1111
1143
 
1112
- export declare interface OxLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
1144
+ export declare interface OxLinkProps extends ComponentPropsWithRef<'a'> {
1113
1145
  disabled?: boolean;
1114
1146
  size?: 'sm' | 'md';
1115
1147
  variant?: 'primary' | 'secondary' | 'ghost' | 'link' | 'danger';
@@ -1137,24 +1169,24 @@ declare const OxNotifications_2: ({ children, disabled, emptyMessage, items, onI
1137
1169
 
1138
1170
  declare const OxNotificationsBody: ({ children, className, ...domProps }: OxNotificationsBodyProps) => JSX.Element;
1139
1171
 
1140
- export declare interface OxNotificationsBodyProps extends Omit<HTMLAttributes<HTMLUListElement>, 'children'> {
1172
+ export declare interface OxNotificationsBodyProps extends ComponentPropsWithRef<'ul'> {
1141
1173
  children?: ReactNode;
1142
1174
  }
1143
1175
 
1144
1176
  declare const OxNotificationsButton: ({ children, className, icon, img, message, timestamp, title, type, unread, ...domProps }: OxNotificationsButtonProps) => JSX.Element;
1145
1177
 
1146
- export declare interface OxNotificationsButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'type' | 'onClick'>, BaseNotificationItemProps {
1178
+ export declare interface OxNotificationsButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children' | 'type' | 'onClick'>, BaseNotificationItemProps {
1147
1179
  }
1148
1180
 
1149
1181
  export declare type OxNotificationsIconProps = OxIconProps;
1150
1182
 
1151
1183
  declare const OxNotificationsLink: ({ children, className, href, icon, img, message, timestamp, title, type, unread, ...domProps }: OxNotificationsLinkProps) => JSX.Element;
1152
1184
 
1153
- export declare interface OxNotificationsLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'type' | 'onClick'>, BaseNotificationItemProps {
1185
+ export declare interface OxNotificationsLinkProps extends Omit<ComponentPropsWithRef<'a'>, 'children' | 'type' | 'onClick'>, BaseNotificationItemProps {
1154
1186
  href: string;
1155
1187
  }
1156
1188
 
1157
- export declare interface OxNotificationsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1189
+ export declare interface OxNotificationsProps extends ComponentPropsWithRef<'div'> {
1158
1190
  children?: ReactNode;
1159
1191
  disabled?: boolean;
1160
1192
  emptyMessage?: string;
@@ -1166,7 +1198,7 @@ export declare interface OxNotificationsProps extends Omit<HTMLAttributes<HTMLDi
1166
1198
 
1167
1199
  declare const OxNotificationsTrigger: ({ children, className, customIcon, unreadCount: propUnreadCount, ...domProps }: OxNotificationsTriggerProps) => JSX.Element;
1168
1200
 
1169
- export declare interface OxNotificationsTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
1201
+ export declare interface OxNotificationsTriggerProps extends ComponentPropsWithRef<'button'> {
1170
1202
  children?: ReactNode;
1171
1203
  customIcon?: string;
1172
1204
  unreadCount?: number;
@@ -1176,7 +1208,7 @@ declare const OxNumberButton: (props: OxNumberInputButton) => JSX.Element;
1176
1208
 
1177
1209
  declare const OxNumberContainer: ({ children, defaultValue, disabled, error, locale, max, maximumFractionDigits, min, minimumFractionDigits, onChange, required, showValidationTooltip, size, steps, useGrouping, value, ...domProps }: OxNumberContainerProps) => JSX.Element;
1178
1210
 
1179
- export declare interface OxNumberContainerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
1211
+ export declare interface OxNumberContainerProps extends Omit<ComponentPropsWithRef<'div'>, 'onChange'> {
1180
1212
  customValidationMessage?: string;
1181
1213
  defaultValue?: number;
1182
1214
  disabled?: boolean;
@@ -1244,7 +1276,7 @@ export declare type OxOtpInputType = 'numeric' | 'alphanumeric' | 'text';
1244
1276
 
1245
1277
  export declare const OxPagination: typeof OxPagination_2 & {
1246
1278
  Ellipsis: typeof OxPaginationEllipsis;
1247
- Link: typeof OxPaginationLink;
1279
+ Item: typeof OxPaginationItem;
1248
1280
  Next: typeof OxPaginationNext;
1249
1281
  Previous: typeof OxPaginationPrevious;
1250
1282
  };
@@ -1253,26 +1285,28 @@ declare const OxPagination_2: ({ children, className, ...domProps }: OxPaginatio
1253
1285
 
1254
1286
  declare const OxPaginationEllipsis: ({ className, size, ...domProps }: OxPaginationEllipsisProps) => JSX.Element;
1255
1287
 
1256
- export declare interface OxPaginationEllipsisProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
1288
+ export declare interface OxPaginationEllipsisProps extends Omit<ComponentPropsWithRef<'span'>, 'children'> {
1257
1289
  size?: OxPaginationSize;
1258
1290
  }
1259
1291
 
1260
- export declare interface OxPaginationItemProps extends Omit<HTMLAttributes<HTMLLIElement>, 'children'> {
1261
- children: ReactNode;
1262
- }
1292
+ declare const OxPaginationItem: (props: OxPaginationItemProps) => JSX.Element;
1263
1293
 
1264
- declare const OxPaginationLink: ({ className, disabled, isActive, onClick, page, size, ...domProps }: OxPaginationLinkProps) => JSX.Element;
1294
+ export declare type OxPaginationItemButtonProps = PaginationItemBaseProps & Omit<ComponentPropsWithRef<'button'>, keyof PaginationItemBaseProps | 'onClick' | 'type'> & {
1295
+ href?: never;
1296
+ onClick?: (page: number) => void;
1297
+ type?: 'button';
1298
+ };
1265
1299
 
1266
- export declare interface OxPaginationLinkProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'children'> {
1267
- isActive?: boolean;
1268
- onClick: (page: number) => void;
1269
- page: number;
1270
- size?: OxPaginationSize;
1271
- }
1300
+ export declare type OxPaginationItemLinkProps = PaginationItemBaseProps & Omit<ComponentPropsWithRef<'a'>, keyof PaginationItemBaseProps | 'href'> & {
1301
+ disabled?: boolean;
1302
+ href: string;
1303
+ };
1304
+
1305
+ export declare type OxPaginationItemProps = OxPaginationItemLinkProps | OxPaginationItemButtonProps;
1272
1306
 
1273
1307
  declare const OxPaginationNext: ({ className, disabled, onClick, short, size, ...domProps }: OxPaginationNextProps) => JSX.Element;
1274
1308
 
1275
- export declare interface OxPaginationNextProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'children'> {
1309
+ export declare interface OxPaginationNextProps extends Omit<ComponentPropsWithRef<'button'>, 'onClick' | 'children'> {
1276
1310
  onClick: () => void;
1277
1311
  short?: boolean;
1278
1312
  size?: OxPaginationSize;
@@ -1280,13 +1314,13 @@ export declare interface OxPaginationNextProps extends Omit<ButtonHTMLAttributes
1280
1314
 
1281
1315
  declare const OxPaginationPrevious: ({ className, disabled, onClick, short, size, ...domProps }: OxPaginationPreviousProps) => JSX.Element;
1282
1316
 
1283
- export declare interface OxPaginationPreviousProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'children'> {
1317
+ export declare interface OxPaginationPreviousProps extends Omit<ComponentPropsWithRef<'button'>, 'onClick' | 'children'> {
1284
1318
  onClick: () => void;
1285
1319
  short?: boolean;
1286
1320
  size?: OxPaginationSize;
1287
1321
  }
1288
1322
 
1289
- export declare interface OxPaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
1323
+ export declare interface OxPaginationProps extends ComponentPropsWithRef<'nav'> {
1290
1324
  children: ReactNode;
1291
1325
  }
1292
1326
 
@@ -1297,16 +1331,16 @@ export declare const OxPopover: typeof OxPopover_2 & {
1297
1331
  Trigger: typeof OxPopoverTrigger;
1298
1332
  };
1299
1333
 
1300
- declare const OxPopover_2: ({ align, children, defaultOpen, disabled, onOpenChange, open: controlledOpen, side, ...domProps }: OxPopoverProps) => JSX.Element;
1334
+ declare const OxPopover_2: ({ align, children, defaultOpen, disabled, onOpenChange, open, side, ...domProps }: OxPopoverProps) => JSX.Element;
1301
1335
 
1302
1336
  declare const OxPopoverContent: ({ children, className, showCloseButton, ...domProps }: OxPopoverContentProps) => JSX.Element;
1303
1337
 
1304
- export declare interface OxPopoverContentProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1338
+ export declare interface OxPopoverContentProps extends ComponentPropsWithRef<'div'> {
1305
1339
  children: React.ReactNode;
1306
1340
  showCloseButton?: boolean;
1307
1341
  }
1308
1342
 
1309
- export declare interface OxPopoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1343
+ export declare interface OxPopoverProps extends ComponentPropsWithRef<'div'> {
1310
1344
  align?: OxFloatingAlign;
1311
1345
  children: React.ReactNode;
1312
1346
  defaultOpen?: boolean;
@@ -1316,9 +1350,10 @@ export declare interface OxPopoverProps extends Omit<HTMLAttributes<HTMLDivEleme
1316
1350
  side?: OxFloatingPosition;
1317
1351
  }
1318
1352
 
1319
- declare const OxPopoverTrigger: ({ children, ...domProps }: OxPopoverTriggerProps) => JSX.Element;
1353
+ declare const OxPopoverTrigger: ({ asChild, children, className, ...domProps }: OxPopoverTriggerProps) => JSX.Element;
1320
1354
 
1321
- export declare interface OxPopoverTriggerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1355
+ export declare interface OxPopoverTriggerProps extends ComponentPropsWithRef<'button'> {
1356
+ asChild?: boolean;
1322
1357
  children: React.ReactNode;
1323
1358
  }
1324
1359
 
@@ -1330,7 +1365,7 @@ declare const OxProgress_2: ({ buffer, className, max, value, variant, ...domPro
1330
1365
 
1331
1366
  declare const OxProgressCircular: ({ className, max, showPercentage, size, value, variant, ...domProps }: OxProgressCircularProps) => JSX.Element;
1332
1367
 
1333
- export declare interface OxProgressCircularProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1368
+ export declare interface OxProgressCircularProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
1334
1369
  max?: number;
1335
1370
  showPercentage?: boolean;
1336
1371
  size?: 'sm' | 'md';
@@ -1338,7 +1373,7 @@ export declare interface OxProgressCircularProps extends Omit<HTMLAttributes<HTM
1338
1373
  variant?: ColorStyleName;
1339
1374
  }
1340
1375
 
1341
- export declare interface OxProgressProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1376
+ export declare interface OxProgressProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
1342
1377
  buffer?: number;
1343
1378
  max?: number;
1344
1379
  value?: number;
@@ -1346,21 +1381,14 @@ export declare interface OxProgressProps extends Omit<HTMLAttributes<HTMLDivElem
1346
1381
  }
1347
1382
 
1348
1383
  export declare const OxRadio: typeof OxRadio_2 & {
1349
- Field: typeof OxRadioField;
1350
1384
  Group: typeof OxRadioGroup;
1351
1385
  };
1352
1386
 
1353
1387
  declare const OxRadio_2: ({ checked, className, defaultChecked, disabled, error, id: propId, name, onChange, onCheckedChange, required, size, value, ...domProps }: OxRadioProps) => JSX.Element;
1354
1388
 
1355
- declare const OxRadioField: ({ children, className, ...domProps }: OxRadioFieldProps) => JSX.Element;
1356
-
1357
- export declare interface OxRadioFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1358
- children: ReactNode;
1359
- }
1360
-
1361
1389
  declare const OxRadioGroup: ({ children, className, disabled, name, onChange, size, value, ...domProps }: OxRadioGroupProps) => JSX.Element;
1362
1390
 
1363
- export declare interface OxRadioGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
1391
+ export declare interface OxRadioGroupProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> {
1364
1392
  children: ReactNode;
1365
1393
  disabled?: boolean;
1366
1394
  name: string;
@@ -1369,7 +1397,7 @@ export declare interface OxRadioGroupProps extends Omit<HTMLAttributes<HTMLDivEl
1369
1397
  value?: string | number;
1370
1398
  }
1371
1399
 
1372
- export declare interface OxRadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
1400
+ export declare interface OxRadioProps extends Omit<ComponentPropsWithoutRef<'input'>, 'type' | 'size'> {
1373
1401
  error?: boolean;
1374
1402
  onCheckedChange?: (checked: boolean) => void;
1375
1403
  size?: 'sm' | 'md';
@@ -1385,23 +1413,21 @@ export declare const OxSelect: typeof OxSelect_2 & {
1385
1413
  Trigger: typeof OxSelectTrigger;
1386
1414
  };
1387
1415
 
1388
- declare const OxSelect_2: ({ children, className, defaultValue, disabled, error, id: propId, isLoading, multiple, onChange, required, size, value, wrapperClassName, }: OxSelectProps) => JSX.Element;
1416
+ declare const OxSelect_2: ({ children, className, defaultOpen, defaultValue, disabled, error, id: propId, isLoading, multiple, onChange, onOpenChange, open, required, size, value, }: OxSelectProps) => JSX.Element;
1389
1417
 
1390
1418
  declare const OxSelectContent: ({ children, className, ...domProps }: OxSelectContentProps) => JSX.Element;
1391
1419
 
1392
- export declare interface OxSelectContentProps extends Omit<HTMLAttributes<HTMLUListElement>, 'children'> {
1420
+ export declare interface OxSelectContentProps extends ComponentPropsWithRef<'ul'> {
1393
1421
  children: ReactNode;
1394
1422
  }
1395
1423
 
1396
1424
  declare const OxSelectIcon: ({ className, path, ...domProps }: OxSelectIconProps) => JSX.Element;
1397
1425
 
1398
- export declare interface OxSelectIconProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1399
- path: string;
1400
- }
1426
+ export declare type OxSelectIconProps = OxIconProps;
1401
1427
 
1402
1428
  declare const OxSelectLabel: ({ children, className, ...domProps }: OxSelectLabelProps) => JSX.Element;
1403
1429
 
1404
- export declare interface OxSelectLabelProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
1430
+ export declare interface OxSelectLabelProps extends ComponentPropsWithRef<'span'> {
1405
1431
  children: ReactNode;
1406
1432
  }
1407
1433
 
@@ -1409,33 +1435,36 @@ declare const OxSelectOption: ({ children, className, disabled, value, ...domPro
1409
1435
 
1410
1436
  declare const OxSelectOptionGroup: ({ children, className, label, ...domProps }: OxSelectOptionGroupProps) => JSX.Element;
1411
1437
 
1412
- export declare interface OxSelectOptionGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1438
+ export declare interface OxSelectOptionGroupProps extends ComponentPropsWithRef<'div'> {
1413
1439
  children: ReactNode;
1414
1440
  label: string;
1415
1441
  }
1416
1442
 
1417
- export declare interface OxSelectOptionProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'children'> {
1443
+ export declare interface OxSelectOptionProps extends Omit<ComponentPropsWithRef<'button'>, 'value'> {
1418
1444
  children: ReactNode;
1419
1445
  value: string | number | null;
1420
1446
  }
1421
1447
 
1422
- export declare interface OxSelectProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children' | 'defaultValue'> {
1448
+ export declare interface OxSelectProps extends Omit<ComponentPropsWithRef<'div'>, 'onChange' | 'defaultValue'> {
1423
1449
  children: ReactNode;
1450
+ defaultOpen?: boolean;
1424
1451
  defaultValue?: string | string[] | number | number[] | null;
1425
1452
  disabled?: boolean;
1426
1453
  error?: boolean;
1427
1454
  isLoading?: boolean;
1428
1455
  multiple?: boolean;
1429
1456
  onChange?: (value: string | number | null | (string | number | null)[], name?: string) => void;
1457
+ onOpenChange?: (open: boolean) => void;
1458
+ open?: boolean;
1430
1459
  required?: boolean;
1431
1460
  size?: 'sm' | 'md';
1432
1461
  value?: string | string[] | number | number[] | null;
1433
1462
  wrapperClassName?: string;
1434
1463
  }
1435
1464
 
1436
- declare const OxSelectTrigger: ({ badgeColor, className, displayAsBadges, placeholder, size: propSize, ...domProps }: OxSelectTriggerProps) => JSX.Element;
1465
+ declare const OxSelectTrigger: ({ badgeColor, className, disabled: propDisabled, displayAsBadges, placeholder, size: propSize, ...domProps }: OxSelectTriggerProps) => JSX.Element;
1437
1466
 
1438
- export declare interface OxSelectTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'size' | 'disabled' | 'required'> {
1467
+ export declare interface OxSelectTriggerProps extends Omit<ComponentPropsWithRef<'button'>, 'children' | 'size' | 'required'> {
1439
1468
  badgeColor?: ColorStyleName;
1440
1469
  displayAsBadges?: boolean;
1441
1470
  placeholder?: string;
@@ -1444,14 +1473,14 @@ export declare interface OxSelectTriggerProps extends Omit<ButtonHTMLAttributes<
1444
1473
 
1445
1474
  export declare const OxSeparator: ({ className, decorative, orientation, ...domProps }: OxSeparatorProps) => JSX.Element;
1446
1475
 
1447
- export declare interface OxSeparatorProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1476
+ export declare interface OxSeparatorProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
1448
1477
  decorative?: boolean;
1449
1478
  orientation?: 'horizontal' | 'vertical';
1450
1479
  }
1451
1480
 
1452
1481
  export declare const OxSkeleton: ({ animate, className, color, fullWidth, height, shape, width, ...domProps }: OxSkeletonProps) => JSX.Element;
1453
1482
 
1454
- export declare interface OxSkeletonProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1483
+ export declare interface OxSkeletonProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
1455
1484
  animate?: boolean;
1456
1485
  color?: ColorStyleName;
1457
1486
  fullWidth?: boolean;
@@ -1469,7 +1498,7 @@ export declare interface OxSkeletonTextProps extends Omit<OxSkeletonProps, 'shap
1469
1498
 
1470
1499
  export declare const OxSlider: ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, className, defaultValue, disabled, max, min, onChange, onChangeCommitted, orientation, showValue, size, step, value: controlledValue, ...domProps }: OxSliderProps) => JSX.Element;
1471
1500
 
1472
- export declare interface OxSliderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue' | 'children'> {
1501
+ export declare interface OxSliderProps extends Omit<ComponentPropsWithRef<'div'>, 'onChange' | 'defaultValue' | 'children'> {
1473
1502
  defaultValue?: number | [number, number];
1474
1503
  disabled?: boolean;
1475
1504
  marks?: boolean | number[];
@@ -1486,7 +1515,7 @@ export declare interface OxSliderProps extends Omit<React.HTMLAttributes<HTMLDiv
1486
1515
 
1487
1516
  export declare const OxSpinner: ({ className, size, variant, ...domProps }: OxSpinnerProps) => JSX.Element;
1488
1517
 
1489
- export declare interface OxSpinnerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1518
+ export declare interface OxSpinnerProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
1490
1519
  size?: 'sm' | 'md' | number;
1491
1520
  variant?: ColorStyleName;
1492
1521
  }
@@ -1500,7 +1529,7 @@ export declare type OxStatusContent = {
1500
1529
 
1501
1530
  export declare const OxStatusDisplay: ({ action, children, className, inline, message, onBack, size, title, type, ...domProps }: OxStatusDisplayProps) => JSX.Element;
1502
1531
 
1503
- export declare interface OxStatusDisplayProps extends HTMLAttributes<HTMLDivElement> {
1532
+ export declare interface OxStatusDisplayProps extends ComponentPropsWithRef<'div'> {
1504
1533
  action?: ReactNode;
1505
1534
  inline?: boolean;
1506
1535
  message?: string;
@@ -1521,18 +1550,18 @@ declare const OxStepper_2: ({ children, className, color, currentStep, onStepCha
1521
1550
 
1522
1551
  declare const OxStepperActions: ({ children, className, ...domProps }: OxStepperActionsProps) => JSX.Element;
1523
1552
 
1524
- export declare interface OxStepperActionsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1553
+ export declare interface OxStepperActionsProps extends ComponentPropsWithRef<'div'> {
1525
1554
  children: ReactNode;
1526
1555
  }
1527
1556
 
1528
- export declare interface OxStepperConnectorProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1557
+ export declare interface OxStepperConnectorProps extends ComponentPropsWithRef<'div'> {
1529
1558
  state?: StepState;
1530
1559
  stepIndex: number;
1531
1560
  }
1532
1561
 
1533
1562
  declare const OxStepperItem: ({ children, className, description, icon, state: propState, stepIndex, title, ...domProps }: OxStepperItemProps) => JSX.Element;
1534
1563
 
1535
- export declare interface OxStepperItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1564
+ export declare interface OxStepperItemProps extends ComponentPropsWithRef<'div'> {
1536
1565
  children: ReactNode;
1537
1566
  description?: string;
1538
1567
  icon?: string;
@@ -1541,7 +1570,7 @@ export declare interface OxStepperItemProps extends Omit<HTMLAttributes<HTMLDivE
1541
1570
  title: string;
1542
1571
  }
1543
1572
 
1544
- export declare interface OxStepperProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1573
+ export declare interface OxStepperProps extends ComponentPropsWithRef<'div'> {
1545
1574
  children: ReactNode;
1546
1575
  color?: ColorStyleName;
1547
1576
  currentStep?: number;
@@ -1550,19 +1579,9 @@ export declare interface OxStepperProps extends Omit<HTMLAttributes<HTMLDivEleme
1550
1579
  type?: StepperType;
1551
1580
  }
1552
1581
 
1553
- export declare const OxSwitch: typeof OxSwitch_2 & {
1554
- Field: typeof OxSwitchField;
1555
- };
1556
-
1557
- declare const OxSwitch_2: ({ checked, className, disabled, error, id: propId, onChange, required, size, ...domProps }: OxSwitchProps) => JSX.Element;
1558
-
1559
- declare const OxSwitchField: ({ children, className, ...domProps }: OxSwitchFieldProps) => JSX.Element;
1560
-
1561
- export declare interface OxSwitchFieldProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1562
- children: ReactNode;
1563
- }
1582
+ export declare const OxSwitch: ({ checked, className, disabled, error, id: propId, onChange, required, size, ...domProps }: OxSwitchProps) => JSX.Element;
1564
1583
 
1565
- export declare interface OxSwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'size' | 'onChange' | 'children'> {
1584
+ export declare interface OxSwitchProps extends Omit<ComponentPropsWithRef<'button'>, 'type' | 'size' | 'onChange' | 'children'> {
1566
1585
  checked?: boolean;
1567
1586
  error?: boolean;
1568
1587
  onChange?: (checked: boolean) => void;
@@ -1578,31 +1597,32 @@ export declare const OxTable: typeof OxTable_2 & {
1578
1597
  Head: typeof OxTableHead;
1579
1598
  Header: typeof OxTableHeader;
1580
1599
  Row: typeof OxTableRow;
1600
+ SkeletonRow: typeof OxTableSkeletonRow;
1581
1601
  };
1582
1602
 
1583
- declare const OxTable_2: ({ allRowIds, children, className, onSelectionChange, selectable, selectedRows, ...domProps }: OxTableProps) => JSX.Element;
1603
+ declare const OxTable_2: ({ allRowIds, children, className, hoverable, isLoading, onSelectionChange, selectable, selectedRows, skeletonColumns, skeletonRows, striped, ...domProps }: OxTableProps) => JSX.Element;
1584
1604
 
1585
1605
  declare const OxTableBody: ({ children, className, ...domProps }: OxTableBodyProps) => JSX.Element;
1586
1606
 
1587
- export declare interface OxTableBodyProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, 'children'> {
1607
+ export declare interface OxTableBodyProps extends ComponentPropsWithRef<'tbody'> {
1588
1608
  children: ReactNode;
1589
1609
  }
1590
1610
 
1591
1611
  declare const OxTableCell: ({ children, className, ...domProps }: OxTableCellProps) => JSX.Element;
1592
1612
 
1593
- export declare interface OxTableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'children'> {
1613
+ export declare interface OxTableCellProps extends ComponentPropsWithoutRef<'td'> {
1594
1614
  children?: ReactNode;
1595
1615
  }
1596
1616
 
1597
1617
  declare const OxTableControls: ({ children, className, ...domProps }: OxTableControlsProps) => JSX.Element;
1598
1618
 
1599
- export declare interface OxTableControlsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1619
+ export declare interface OxTableControlsProps extends ComponentPropsWithRef<'div'> {
1600
1620
  children: ReactNode;
1601
1621
  }
1602
1622
 
1603
1623
  declare const OxTableFooter: ({ children, className, ...domProps }: OxTableFooterProps) => JSX.Element;
1604
1624
 
1605
- export declare interface OxTableFooterProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, 'children'> {
1625
+ export declare interface OxTableFooterProps extends ComponentPropsWithRef<'tfoot'> {
1606
1626
  children: ReactNode;
1607
1627
  }
1608
1628
 
@@ -1610,29 +1630,36 @@ declare const OxTableHead: ({ children, className, ...domProps }: OxTableHeadPro
1610
1630
 
1611
1631
  declare const OxTableHeader: ({ children, className, ...domProps }: OxTableHeaderProps) => JSX.Element;
1612
1632
 
1613
- export declare interface OxTableHeaderProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, 'children'> {
1633
+ export declare interface OxTableHeaderProps extends ComponentPropsWithRef<'thead'> {
1614
1634
  children: ReactNode;
1615
1635
  }
1616
1636
 
1617
- export declare interface OxTableHeadProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, 'children'> {
1637
+ export declare interface OxTableHeadProps extends ComponentPropsWithRef<'th'> {
1618
1638
  children?: ReactNode;
1619
1639
  }
1620
1640
 
1621
- export declare interface OxTableProps extends Omit<TableHTMLAttributes<HTMLTableElement>, 'children'> {
1641
+ export declare interface OxTableProps extends ComponentPropsWithRef<'table'> {
1622
1642
  allRowIds?: string[];
1623
1643
  children: ReactNode;
1644
+ hoverable?: boolean;
1645
+ isLoading?: boolean;
1624
1646
  onSelectionChange?: (selectedRows: string[]) => void;
1625
1647
  selectable?: boolean;
1626
1648
  selectedRows?: string[];
1649
+ skeletonColumns?: number;
1650
+ skeletonRows?: number;
1651
+ striped?: boolean;
1627
1652
  }
1628
1653
 
1629
1654
  declare const OxTableRow: ({ children, className, rowId, ...domProps }: OxTableRowProps) => JSX.Element;
1630
1655
 
1631
- export declare interface OxTableRowProps extends Omit<HTMLAttributes<HTMLTableRowElement>, 'children'> {
1656
+ export declare interface OxTableRowProps extends ComponentPropsWithRef<'tr'> {
1632
1657
  children: ReactNode;
1633
1658
  rowId?: string;
1634
1659
  }
1635
1660
 
1661
+ declare const OxTableSkeletonRow: ({ columns }: TableSkeletonRowProps) => JSX.Element;
1662
+
1636
1663
  export declare const OxTabs: typeof OxTabs_2 & {
1637
1664
  Content: typeof OxTabsContent;
1638
1665
  List: typeof OxTabsList;
@@ -1643,18 +1670,18 @@ declare const OxTabs_2: ({ children, className, defaultValue, onValueChange, val
1643
1670
 
1644
1671
  declare const OxTabsContent: ({ children, className, value, ...domProps }: OxTabsContentProps) => JSX.Element | null;
1645
1672
 
1646
- export declare interface OxTabsContentProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1673
+ export declare interface OxTabsContentProps extends ComponentPropsWithRef<'div'> {
1647
1674
  children: ReactNode;
1648
1675
  value: string;
1649
1676
  }
1650
1677
 
1651
1678
  declare const OxTabsList: ({ children, className, ...domProps }: OxTabsListProps) => JSX.Element;
1652
1679
 
1653
- export declare interface OxTabsListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1680
+ export declare interface OxTabsListProps extends ComponentPropsWithRef<'div'> {
1654
1681
  children: ReactNode;
1655
1682
  }
1656
1683
 
1657
- export declare interface OxTabsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
1684
+ export declare interface OxTabsProps extends ComponentPropsWithRef<'div'> {
1658
1685
  children: ReactNode;
1659
1686
  defaultValue?: string;
1660
1687
  onValueChange?: (value: string) => void;
@@ -1663,14 +1690,14 @@ export declare interface OxTabsProps extends Omit<HTMLAttributes<HTMLDivElement>
1663
1690
 
1664
1691
  declare const OxTabsTrigger: ({ children, className, disabled, value, ...domProps }: OxTabsTriggerProps) => JSX.Element;
1665
1692
 
1666
- export declare interface OxTabsTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
1693
+ export declare interface OxTabsTriggerProps extends ComponentPropsWithRef<'button'> {
1667
1694
  children: ReactNode;
1668
1695
  value: string;
1669
1696
  }
1670
1697
 
1671
1698
  export declare const OxTextarea: ({ className, disabled, error, id: propId, name, onChange, placeholder, required, rows, showMaxLength, size, value, ...domProps }: OxTextareaProps) => JSX.Element;
1672
1699
 
1673
- export declare interface OxTextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'children'> {
1700
+ export declare interface OxTextareaProps extends Omit<ComponentPropsWithRef<'textarea'>, 'children'> {
1674
1701
  error?: boolean;
1675
1702
  showMaxLength?: boolean;
1676
1703
  size?: 'sm' | 'md';
@@ -1699,7 +1726,7 @@ declare const OxTextInput_2: ({ autoComplete, className, id, maxLength, placehol
1699
1726
 
1700
1727
  declare type OxTextInputButton = BaseInputButtonProps;
1701
1728
 
1702
- declare interface OxTextInputContainerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
1729
+ declare interface OxTextInputContainerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> {
1703
1730
  customValidationMessage?: string;
1704
1731
  defaultValue?: string;
1705
1732
  disabled?: boolean;
@@ -1752,7 +1779,7 @@ export declare const OxTimeInput: typeof OxTimeInput_2 & {
1752
1779
 
1753
1780
  declare const OxTimeInput_2: () => JSX.Element;
1754
1781
 
1755
- declare interface OxTimeInputContainerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
1782
+ declare interface OxTimeInputContainerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> {
1756
1783
  customValidationMessage?: string;
1757
1784
  defaultValue?: string;
1758
1785
  disabled?: boolean;
@@ -1775,7 +1802,7 @@ export declare type OxTimelineAlign = 'left' | 'right';
1775
1802
 
1776
1803
  declare const OxTimelineItem: ({ align, children, className, color, description, icon, label, showSeparator, timestamp, ...domProps }: OxTimelineItemProps) => JSX.Element;
1777
1804
 
1778
- export declare interface OxTimelineItemProps extends LiHTMLAttributes<HTMLLIElement> {
1805
+ export declare interface OxTimelineItemProps extends ComponentPropsWithRef<'li'> {
1779
1806
  align?: OxTimelineAlign;
1780
1807
  color?: ColorStyleName;
1781
1808
  description?: string;
@@ -1785,7 +1812,7 @@ export declare interface OxTimelineItemProps extends LiHTMLAttributes<HTMLLIElem
1785
1812
  timestamp?: string;
1786
1813
  }
1787
1814
 
1788
- export declare interface OxTimelineProps extends Omit<OlHTMLAttributes<HTMLOListElement>, 'children'> {
1815
+ export declare interface OxTimelineProps extends ComponentPropsWithRef<'ol'> {
1789
1816
  children: ReactNode;
1790
1817
  }
1791
1818
 
@@ -1859,8 +1886,8 @@ declare const OxToggle_2: ({ children, className, disabled, id: propId, onPresse
1859
1886
 
1860
1887
  declare const OxToggleGroup: ({ children, className, disabled, name, onValueChange, size, type, value, ...domProps }: OxToggleGroupProps) => JSX.Element;
1861
1888
 
1862
- export declare interface OxToggleGroupMultipleProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
1863
- children: React.ReactNode;
1889
+ export declare interface OxToggleGroupMultipleProps extends Omit<ComponentPropsWithRef<'div'>, 'onChange'> {
1890
+ children: ReactNode;
1864
1891
  disabled?: boolean;
1865
1892
  name?: string;
1866
1893
  onValueChange?: (value: string[]) => void;
@@ -1871,8 +1898,8 @@ export declare interface OxToggleGroupMultipleProps extends Omit<HTMLAttributes<
1871
1898
 
1872
1899
  export declare type OxToggleGroupProps = OxToggleGroupSingleProps | OxToggleGroupMultipleProps;
1873
1900
 
1874
- export declare interface OxToggleGroupSingleProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
1875
- children: React.ReactNode;
1901
+ export declare interface OxToggleGroupSingleProps extends Omit<ComponentPropsWithRef<'div'>, 'onChange'> {
1902
+ children: ReactNode;
1876
1903
  disabled?: boolean;
1877
1904
  name?: string;
1878
1905
  onValueChange?: (value: string) => void;
@@ -1881,8 +1908,8 @@ export declare interface OxToggleGroupSingleProps extends Omit<HTMLAttributes<HT
1881
1908
  value?: string;
1882
1909
  }
1883
1910
 
1884
- export declare interface OxToggleProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'children'> {
1885
- children?: React.ReactNode;
1911
+ export declare interface OxToggleProps extends Omit<ComponentPropsWithRef<'button'>, 'onChange'> {
1912
+ children?: ReactNode;
1886
1913
  onPressedChange?: (pressed: boolean) => void;
1887
1914
  pressed?: boolean;
1888
1915
  size?: 'sm' | 'md';
@@ -1897,17 +1924,23 @@ export declare interface OxTooltipProps {
1897
1924
  align?: OxFloatingAlign;
1898
1925
  children: ReactNode;
1899
1926
  className?: string;
1900
- content: string;
1927
+ content: ReactNode;
1901
1928
  disabled?: boolean;
1902
1929
  hoverDelay?: number;
1903
1930
  id?: string;
1904
1931
  onOpenChange?: (open: boolean) => void;
1905
1932
  open?: boolean;
1906
1933
  position?: OxFloatingPosition;
1907
- trigger?: OxFloatingTrigger;
1934
+ trigger?: OxFloatingTriggerTypes;
1908
1935
  variant?: 'default' | 'error' | 'warning' | 'success' | 'info';
1909
1936
  }
1910
1937
 
1938
+ declare type PaginationItemBaseProps = {
1939
+ isActive?: boolean;
1940
+ page: number;
1941
+ size?: OxPaginationSize;
1942
+ };
1943
+
1911
1944
  export declare type SliderValue = number | [number, number];
1912
1945
 
1913
1946
  export declare type StepperOrientation = 'horizontal' | 'vertical';
@@ -1916,6 +1949,12 @@ export declare type StepperType = 'linear' | 'non-linear';
1916
1949
 
1917
1950
  export declare type StepState = 'completed' | 'current' | 'upcoming' | 'error' | 'warning';
1918
1951
 
1952
+ declare interface TableSkeletonRowProps {
1953
+ columns: number;
1954
+ }
1955
+
1956
+ export declare function useOxFloatingContext(): OxFloatingContextValue;
1957
+
1919
1958
  export declare const useOxToast: () => OxToastContextApi;
1920
1959
 
1921
1960
  export { }