brd-ui-kit 0.1.75 → 0.1.76

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.
Files changed (230) hide show
  1. package/dist/brd-ui-kit.css +1 -1
  2. package/dist/calendar-B5QCV34E.cjs +2 -0
  3. package/dist/{calendar-DReGV_22.cjs.map → calendar-B5QCV34E.cjs.map} +1 -1
  4. package/dist/{calendar-C0DXP3T-.js → calendar-Ba3kHG6w.js} +264 -270
  5. package/dist/{calendar-C0DXP3T-.js.map → calendar-Ba3kHG6w.js.map} +1 -1
  6. package/dist/{calendar-locale-CP2pxhFK.cjs → calendar-locale-BHyNJPb2.cjs} +2 -2
  7. package/dist/{calendar-locale-CP2pxhFK.cjs.map → calendar-locale-BHyNJPb2.cjs.map} +1 -1
  8. package/dist/{calendar-locale-DJf03PI9.js → calendar-locale-DQ9wj0zF.js} +2 -2
  9. package/dist/{calendar-locale-DJf03PI9.js.map → calendar-locale-DQ9wj0zF.js.map} +1 -1
  10. package/dist/chart-9H_9wEfR.cjs +63 -0
  11. package/dist/{chart-C69jBlXa.cjs.map → chart-9H_9wEfR.cjs.map} +1 -1
  12. package/dist/{chart-CAPCe8o5.js → chart-DFbmMKiQ.js} +2956 -2951
  13. package/dist/{chart-CAPCe8o5.js.map → chart-DFbmMKiQ.js.map} +1 -1
  14. package/dist/components/basic-chart/basic-chart.d.ts +1 -1
  15. package/dist/components/basic-table/basic-table.d.ts +5 -5
  16. package/dist/components/data-table/data-table-actions-column.d.ts +3 -3
  17. package/dist/components/data-table/data-table-bulk-actions.d.ts +3 -3
  18. package/dist/components/data-table/data-table-column-visibility.d.ts +2 -2
  19. package/dist/components/data-table/data-table-filter.d.ts +2 -2
  20. package/dist/components/data-table/data-table-row-actions-column.d.ts +3 -3
  21. package/dist/components/data-table/use-data-table-editable-rows.d.ts +5 -5
  22. package/dist/components/input-field/input-field.d.ts +3 -3
  23. package/dist/components/input-phone/input-phone.d.ts +4 -4
  24. package/dist/components/popover-modal/popover-modal.d.ts +4 -4
  25. package/dist/components/select-field/select-field.d.ts +2 -2
  26. package/dist/components/ui/avatar/avatar.d.ts +7 -7
  27. package/dist/components/ui/badge/badge.d.ts +2 -2
  28. package/dist/components/ui/button/button.d.ts +3 -3
  29. package/dist/components/ui/calendar/calendar.d.ts +6 -6
  30. package/dist/components/ui/calendar/calendar.styles.d.ts +1 -1
  31. package/dist/components/ui/card/card.d.ts +13 -13
  32. package/dist/components/ui/chart/chart.d.ts +23 -21
  33. package/dist/components/ui/checkbox/checkbox.d.ts +4 -4
  34. package/dist/components/ui/combobox/combobox.d.ts +6 -6
  35. package/dist/components/ui/dialog/dialog.d.ts +11 -11
  36. package/dist/components/ui/drawer/drawer.d.ts +11 -11
  37. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +40 -40
  38. package/dist/components/ui/icon/icon.d.ts +3 -3
  39. package/dist/components/ui/input/input.d.ts +2 -2
  40. package/dist/components/ui/input-group/input-group.d.ts +7 -7
  41. package/dist/components/ui/label/label.d.ts +4 -4
  42. package/dist/components/ui/pagination/pagination.d.ts +8 -8
  43. package/dist/components/ui/popover/popover.d.ts +8 -8
  44. package/dist/components/ui/progress/progress.d.ts +4 -4
  45. package/dist/components/ui/radio-group/radio-group.d.ts +7 -7
  46. package/dist/components/ui/select/select.d.ts +11 -11
  47. package/dist/components/ui/select-calendar-menu/select-calendar-menu.d.ts +4 -4
  48. package/dist/components/ui/separator/separator.d.ts +4 -4
  49. package/dist/components/ui/switch/switch.d.ts +4 -4
  50. package/dist/components/ui/table/table.d.ts +17 -17
  51. package/dist/components/ui/tabs/tabs.d.ts +8 -8
  52. package/dist/components/ui/tooltip/tooltip.d.ts +8 -8
  53. package/dist/components/ui/typography/typography.d.ts +174 -174
  54. package/dist/components-avatar-uploader-avatar-uploader.cjs +2 -2
  55. package/dist/components-avatar-uploader-avatar-uploader.cjs.map +1 -1
  56. package/dist/components-avatar-uploader-avatar-uploader.js +35 -36
  57. package/dist/components-avatar-uploader-avatar-uploader.js.map +1 -1
  58. package/dist/components-basic-avatar-basic-avatar.cjs +1 -1
  59. package/dist/components-basic-avatar-basic-avatar.js +3 -3
  60. package/dist/components-basic-chart-basic-chart.cjs +2 -2
  61. package/dist/components-basic-chart-basic-chart.cjs.map +1 -1
  62. package/dist/components-basic-chart-basic-chart.js +106 -108
  63. package/dist/components-basic-chart-basic-chart.js.map +1 -1
  64. package/dist/components-basic-table-basic-table.cjs +2 -2
  65. package/dist/components-basic-table-basic-table.cjs.map +1 -1
  66. package/dist/components-basic-table-basic-table.js +232 -231
  67. package/dist/components-basic-table-basic-table.js.map +1 -1
  68. package/dist/components-data-table-data-table-actions-column.cjs +1 -1
  69. package/dist/components-data-table-data-table-actions-column.cjs.map +1 -1
  70. package/dist/components-data-table-data-table-actions-column.js +5 -6
  71. package/dist/components-data-table-data-table-actions-column.js.map +1 -1
  72. package/dist/components-data-table-data-table-bulk-actions.cjs +1 -1
  73. package/dist/components-data-table-data-table-bulk-actions.cjs.map +1 -1
  74. package/dist/components-data-table-data-table-bulk-actions.js +9 -9
  75. package/dist/components-data-table-data-table-bulk-actions.js.map +1 -1
  76. package/dist/components-data-table-data-table-column-visibility.cjs +1 -1
  77. package/dist/components-data-table-data-table-column-visibility.cjs.map +1 -1
  78. package/dist/components-data-table-data-table-column-visibility.js +1 -1
  79. package/dist/components-data-table-data-table-column-visibility.js.map +1 -1
  80. package/dist/components-data-table-data-table-filter.cjs +1 -1
  81. package/dist/components-data-table-data-table-filter.cjs.map +1 -1
  82. package/dist/components-data-table-data-table-filter.js +15 -15
  83. package/dist/components-data-table-data-table-filter.js.map +1 -1
  84. package/dist/components-data-table-data-table-row-actions-column.cjs +1 -1
  85. package/dist/components-data-table-data-table-row-actions-column.cjs.map +1 -1
  86. package/dist/components-data-table-data-table-row-actions-column.js +19 -20
  87. package/dist/components-data-table-data-table-row-actions-column.js.map +1 -1
  88. package/dist/components-data-table-use-data-table-editable-rows.cjs +1 -1
  89. package/dist/components-data-table-use-data-table-editable-rows.cjs.map +1 -1
  90. package/dist/components-data-table-use-data-table-editable-rows.js +88 -90
  91. package/dist/components-data-table-use-data-table-editable-rows.js.map +1 -1
  92. package/dist/components-input-contact-input-contact.cjs +1 -1
  93. package/dist/components-input-contact-input-contact.cjs.map +1 -1
  94. package/dist/components-input-contact-input-contact.js +8 -8
  95. package/dist/components-input-field-input-field.cjs +1 -1
  96. package/dist/components-input-field-input-field.cjs.map +1 -1
  97. package/dist/components-input-field-input-field.js +18 -19
  98. package/dist/components-input-field-input-field.js.map +1 -1
  99. package/dist/components-input-password-input-password.cjs +1 -1
  100. package/dist/components-input-password-input-password.cjs.map +1 -1
  101. package/dist/components-input-password-input-password.js +4 -4
  102. package/dist/components-input-phone-input-phone.cjs.map +1 -1
  103. package/dist/components-input-phone-input-phone.js.map +1 -1
  104. package/dist/components-popover-modal-popover-modal.cjs +1 -1
  105. package/dist/components-popover-modal-popover-modal.cjs.map +1 -1
  106. package/dist/components-popover-modal-popover-modal.js +40 -29
  107. package/dist/components-popover-modal-popover-modal.js.map +1 -1
  108. package/dist/components-select-field-select-field.cjs.map +1 -1
  109. package/dist/components-select-field-select-field.js.map +1 -1
  110. package/dist/components-ui-avatar-avatar.cjs +1 -1
  111. package/dist/components-ui-avatar-avatar.cjs.map +1 -1
  112. package/dist/components-ui-avatar-avatar.js +12 -13
  113. package/dist/components-ui-avatar-avatar.js.map +1 -1
  114. package/dist/components-ui-badge-badge.cjs +1 -1
  115. package/dist/components-ui-badge-badge.cjs.map +1 -1
  116. package/dist/components-ui-badge-badge.js +10 -11
  117. package/dist/components-ui-badge-badge.js.map +1 -1
  118. package/dist/components-ui-button-button.cjs +1 -1
  119. package/dist/components-ui-button-button.cjs.map +1 -1
  120. package/dist/components-ui-button-button.js +10 -11
  121. package/dist/components-ui-button-button.js.map +1 -1
  122. package/dist/components-ui-button-button.styles.cjs +4 -4
  123. package/dist/components-ui-button-button.styles.cjs.map +1 -1
  124. package/dist/components-ui-button-button.styles.js +4 -4
  125. package/dist/components-ui-button-button.styles.js.map +1 -1
  126. package/dist/components-ui-calendar-calendar.cjs +1 -1
  127. package/dist/components-ui-calendar-calendar.js +1 -1
  128. package/dist/components-ui-calendar-calendar.styles.cjs +1 -1
  129. package/dist/components-ui-calendar-calendar.styles.cjs.map +1 -1
  130. package/dist/components-ui-calendar-calendar.styles.js +1 -1
  131. package/dist/components-ui-calendar-calendar.styles.js.map +1 -1
  132. package/dist/components-ui-calendar.cjs +1 -1
  133. package/dist/components-ui-calendar.js +2 -2
  134. package/dist/components-ui-card-card.cjs +1 -1
  135. package/dist/components-ui-card-card.cjs.map +1 -1
  136. package/dist/components-ui-card-card.js +10 -11
  137. package/dist/components-ui-card-card.js.map +1 -1
  138. package/dist/components-ui-chart-chart.cjs +1 -1
  139. package/dist/components-ui-chart-chart.js +1 -1
  140. package/dist/components-ui-chart.cjs +1 -1
  141. package/dist/components-ui-chart.js +1 -1
  142. package/dist/components-ui-checkbox-checkbox.cjs +1 -1
  143. package/dist/components-ui-checkbox-checkbox.cjs.map +1 -1
  144. package/dist/components-ui-checkbox-checkbox.js +11 -12
  145. package/dist/components-ui-checkbox-checkbox.js.map +1 -1
  146. package/dist/components-ui-combobox-combobox.cjs +5 -5
  147. package/dist/components-ui-combobox-combobox.cjs.map +1 -1
  148. package/dist/components-ui-combobox-combobox.js +1477 -1479
  149. package/dist/components-ui-combobox-combobox.js.map +1 -1
  150. package/dist/components-ui-dialog-dialog.cjs +1 -1
  151. package/dist/components-ui-dialog-dialog.cjs.map +1 -1
  152. package/dist/components-ui-dialog-dialog.js +4 -5
  153. package/dist/components-ui-dialog-dialog.js.map +1 -1
  154. package/dist/components-ui-drawer-drawer.cjs +2 -2
  155. package/dist/components-ui-drawer-drawer.cjs.map +1 -1
  156. package/dist/components-ui-drawer-drawer.js +16 -19
  157. package/dist/components-ui-drawer-drawer.js.map +1 -1
  158. package/dist/components-ui-dropdown-menu-dropdown-menu.cjs +2 -2
  159. package/dist/components-ui-dropdown-menu-dropdown-menu.cjs.map +1 -1
  160. package/dist/components-ui-dropdown-menu-dropdown-menu.js +45 -46
  161. package/dist/components-ui-dropdown-menu-dropdown-menu.js.map +1 -1
  162. package/dist/components-ui-icon-icon.cjs +1 -1
  163. package/dist/components-ui-icon-icon.cjs.map +1 -1
  164. package/dist/components-ui-icon-icon.js +54 -61733
  165. package/dist/components-ui-icon-icon.js.map +1 -1
  166. package/dist/components-ui-input-group-input-group.cjs +1 -1
  167. package/dist/components-ui-input-group-input-group.cjs.map +1 -1
  168. package/dist/components-ui-input-group-input-group.js +12 -13
  169. package/dist/components-ui-input-group-input-group.js.map +1 -1
  170. package/dist/components-ui-input-input.cjs +1 -1
  171. package/dist/components-ui-input-input.cjs.map +1 -1
  172. package/dist/components-ui-input-input.js +2 -3
  173. package/dist/components-ui-input-input.js.map +1 -1
  174. package/dist/components-ui-label-label.cjs +1 -1
  175. package/dist/components-ui-label-label.cjs.map +1 -1
  176. package/dist/components-ui-label-label.js +1 -1
  177. package/dist/components-ui-label-label.js.map +1 -1
  178. package/dist/components-ui-pagination-pagination.cjs +1 -1
  179. package/dist/components-ui-pagination-pagination.cjs.map +1 -1
  180. package/dist/components-ui-pagination-pagination.js +0 -1
  181. package/dist/components-ui-pagination-pagination.js.map +1 -1
  182. package/dist/components-ui-popover-popover.cjs +1 -1
  183. package/dist/components-ui-popover-popover.cjs.map +1 -1
  184. package/dist/components-ui-popover-popover.js +14 -19
  185. package/dist/components-ui-popover-popover.js.map +1 -1
  186. package/dist/components-ui-progress-progress.cjs +1 -1
  187. package/dist/components-ui-progress-progress.cjs.map +1 -1
  188. package/dist/components-ui-progress-progress.js +1 -1
  189. package/dist/components-ui-progress-progress.js.map +1 -1
  190. package/dist/components-ui-radio-group-radio-group.cjs +1 -1
  191. package/dist/components-ui-radio-group-radio-group.cjs.map +1 -1
  192. package/dist/components-ui-radio-group-radio-group.js +0 -1
  193. package/dist/components-ui-radio-group-radio-group.js.map +1 -1
  194. package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs +1 -1
  195. package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs.map +1 -1
  196. package/dist/components-ui-select-calendar-menu-select-calendar-menu.js +53 -47
  197. package/dist/components-ui-select-calendar-menu-select-calendar-menu.js.map +1 -1
  198. package/dist/components-ui-select-select.cjs +1 -1
  199. package/dist/components-ui-select-select.cjs.map +1 -1
  200. package/dist/components-ui-select-select.js +21 -22
  201. package/dist/components-ui-select-select.js.map +1 -1
  202. package/dist/components-ui-separator-separator.cjs +1 -1
  203. package/dist/components-ui-separator-separator.cjs.map +1 -1
  204. package/dist/components-ui-separator-separator.js +11 -12
  205. package/dist/components-ui-separator-separator.js.map +1 -1
  206. package/dist/components-ui-switch-switch.cjs +1 -1
  207. package/dist/components-ui-switch-switch.cjs.map +1 -1
  208. package/dist/components-ui-switch-switch.js +6 -7
  209. package/dist/components-ui-switch-switch.js.map +1 -1
  210. package/dist/components-ui-table-table.cjs +1 -1
  211. package/dist/components-ui-table-table.cjs.map +1 -1
  212. package/dist/components-ui-table-table.js +0 -1
  213. package/dist/components-ui-table-table.js.map +1 -1
  214. package/dist/components-ui-tabs-tabs.cjs +2 -2
  215. package/dist/components-ui-tabs-tabs.cjs.map +1 -1
  216. package/dist/components-ui-tabs-tabs.js +16 -16
  217. package/dist/components-ui-tabs-tabs.js.map +1 -1
  218. package/dist/components-ui-tooltip-tooltip.cjs +1 -1
  219. package/dist/components-ui-tooltip-tooltip.cjs.map +1 -1
  220. package/dist/components-ui-tooltip-tooltip.js +9 -10
  221. package/dist/components-ui-tooltip-tooltip.js.map +1 -1
  222. package/dist/components-ui-typography-typography.cjs +1 -1
  223. package/dist/components-ui-typography-typography.cjs.map +1 -1
  224. package/dist/components-ui-typography-typography.js +7 -7
  225. package/dist/components-ui-typography-typography.js.map +1 -1
  226. package/dist/index.cjs +1 -1
  227. package/dist/index.js +2 -2
  228. package/package.json +1 -1
  229. package/dist/calendar-DReGV_22.cjs +0 -2
  230. package/dist/chart-C69jBlXa.cjs +0 -63
@@ -1,58 +1,58 @@
1
+ import { ComponentPropsWithoutRef, ComponentRef, ReactNode, Ref } from 'react';
1
2
  import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
2
3
  import { IconName } from 'phosphor-strokes-icons/by-name';
3
- import * as React from "react";
4
- type DropdownMenuRef = React.ComponentRef<typeof DropdownMenuPrimitive.Root>;
5
- type DropdownMenuProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & {
6
- ref?: React.Ref<DropdownMenuRef>;
7
- };
8
- type DropdownMenuTriggerRef = React.ComponentRef<typeof DropdownMenuPrimitive.Trigger>;
9
- type DropdownMenuTriggerProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger> & {
10
- ref?: React.Ref<DropdownMenuTriggerRef>;
11
- };
12
- type DropdownMenuContentRef = React.ComponentRef<typeof DropdownMenuPrimitive.Content>;
13
- type DropdownMenuContentProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
14
- ref?: React.Ref<DropdownMenuContentRef>;
15
- };
16
- type DropdownMenuItemRef = React.ComponentRef<typeof DropdownMenuPrimitive.Item>;
17
- type DropdownMenuItemProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {
18
- ref?: React.Ref<DropdownMenuItemRef>;
19
- };
20
- type DropdownMenuCheckboxItemRef = React.ComponentRef<typeof DropdownMenuPrimitive.CheckboxItem>;
21
- type DropdownMenuCheckboxItemProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem> & {
22
- ref?: React.Ref<DropdownMenuCheckboxItemRef>;
23
- itemIndicator?: React.ReactNode;
4
+ type DropdownMenuRef = ComponentRef<typeof DropdownMenuPrimitive.Root>;
5
+ type DropdownMenuProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & {
6
+ ref?: Ref<DropdownMenuRef>;
7
+ };
8
+ type DropdownMenuTriggerRef = ComponentRef<typeof DropdownMenuPrimitive.Trigger>;
9
+ type DropdownMenuTriggerProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger> & {
10
+ ref?: Ref<DropdownMenuTriggerRef>;
11
+ };
12
+ type DropdownMenuContentRef = ComponentRef<typeof DropdownMenuPrimitive.Content>;
13
+ type DropdownMenuContentProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
14
+ ref?: Ref<DropdownMenuContentRef>;
15
+ };
16
+ type DropdownMenuItemRef = ComponentRef<typeof DropdownMenuPrimitive.Item>;
17
+ type DropdownMenuItemProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {
18
+ ref?: Ref<DropdownMenuItemRef>;
19
+ };
20
+ type DropdownMenuCheckboxItemRef = ComponentRef<typeof DropdownMenuPrimitive.CheckboxItem>;
21
+ type DropdownMenuCheckboxItemProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem> & {
22
+ ref?: Ref<DropdownMenuCheckboxItemRef>;
23
+ itemIndicator?: ReactNode;
24
24
  closeOnSelect?: boolean;
25
25
  };
26
- type DropdownMenuLabelRef = React.ComponentRef<typeof DropdownMenuPrimitive.Label>;
27
- type DropdownMenuLabelProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {
28
- ref?: React.Ref<DropdownMenuLabelRef>;
26
+ type DropdownMenuLabelRef = ComponentRef<typeof DropdownMenuPrimitive.Label>;
27
+ type DropdownMenuLabelProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {
28
+ ref?: Ref<DropdownMenuLabelRef>;
29
29
  };
30
- type DropdownMenuSeparatorRef = React.ComponentRef<typeof DropdownMenuPrimitive.Separator>;
31
- type DropdownMenuSeparatorProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator> & {
32
- ref?: React.Ref<DropdownMenuSeparatorRef>;
30
+ type DropdownMenuSeparatorRef = ComponentRef<typeof DropdownMenuPrimitive.Separator>;
31
+ type DropdownMenuSeparatorProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator> & {
32
+ ref?: Ref<DropdownMenuSeparatorRef>;
33
33
  };
34
- type DropdownMenuSubTriggerRef = React.ComponentRef<typeof DropdownMenuPrimitive.SubTrigger>;
35
- type DropdownMenuSubTriggerProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {
36
- ref?: React.Ref<DropdownMenuSubTriggerRef>;
34
+ type DropdownMenuSubTriggerRef = ComponentRef<typeof DropdownMenuPrimitive.SubTrigger>;
35
+ type DropdownMenuSubTriggerProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {
36
+ ref?: Ref<DropdownMenuSubTriggerRef>;
37
37
  };
38
- type DropdownMenuSubContentRef = React.ComponentRef<typeof DropdownMenuPrimitive.SubContent>;
39
- type DropdownMenuSubContentProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> & {
40
- ref?: React.Ref<DropdownMenuSubContentRef>;
38
+ type DropdownMenuSubContentRef = ComponentRef<typeof DropdownMenuPrimitive.SubContent>;
39
+ type DropdownMenuSubContentProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> & {
40
+ ref?: Ref<DropdownMenuSubContentRef>;
41
41
  };
42
42
  type DropdownMenuCheckboxOption = {
43
43
  key: string;
44
- label: React.ReactNode;
44
+ label: ReactNode;
45
45
  checked: boolean;
46
46
  disabled?: boolean;
47
47
  className?: string;
48
48
  checkedClassName?: string;
49
49
  textValue?: string;
50
- itemIndicator?: React.ReactNode;
51
- endAdornment?: React.ReactNode;
52
- checkedEndAdornment?: React.ReactNode;
50
+ itemIndicator?: ReactNode;
51
+ endAdornment?: ReactNode;
52
+ checkedEndAdornment?: ReactNode;
53
53
  };
54
54
  type CheckboxDropdownMenuProps = {
55
- trigger: React.ReactNode;
55
+ trigger: ReactNode;
56
56
  items: DropdownMenuCheckboxOption[];
57
57
  onItemCheckedChange: (key: string, checked: boolean) => void;
58
58
  contentProps?: Omit<DropdownMenuContentProps, "children">;
@@ -83,7 +83,7 @@ type DropdownMenuConfigSeparator = DropdownMenuConfigBase & {
83
83
  type DropdownMenuConfigItem = DropdownMenuConfigBase & {
84
84
  type?: "item";
85
85
  label: string;
86
- icon?: React.ReactNode;
86
+ icon?: ReactNode;
87
87
  iconType?: IconName;
88
88
  shortcut?: string;
89
89
  alert?: boolean;
@@ -92,7 +92,7 @@ type DropdownMenuConfigItem = DropdownMenuConfigBase & {
92
92
  };
93
93
  type DropdownMenuConfigNode = DropdownMenuConfigLabel | DropdownMenuConfigSeparator | DropdownMenuConfigItem;
94
94
  type ConfigurableDropdownMenuProps = {
95
- trigger: React.ReactNode;
95
+ trigger: ReactNode;
96
96
  items: DropdownMenuConfigNode[];
97
97
  onAction?: (item: DropdownMenuConfigItem) => void;
98
98
  contentProps?: Omit<DropdownMenuContentProps, "children">;
@@ -1,8 +1,8 @@
1
1
  import { StrokeIconProps } from 'phosphor-strokes-icons';
2
- import { IconName } from 'phosphor-strokes-icons/by-name';
2
+ import { DynamicIconName } from 'phosphor-strokes-icons/dynamic';
3
3
  import { IconPreset } from './icon-presets';
4
4
  type Props = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
5
- type: IconName;
5
+ type: DynamicIconName;
6
6
  size?: IconPreset | StrokeIconProps["size"];
7
7
  strokeWidth?: StrokeIconProps["strokeWidth"];
8
8
  color?: StrokeIconProps["color"];
@@ -15,5 +15,5 @@ type Props = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLD
15
15
  svgProps?: Omit<React.SVGProps<SVGSVGElement>, "size" | "strokeWidth" | "color" | "className">;
16
16
  };
17
17
  export declare const Icon: ({ type, size, strokeWidth, color, absoluteStrokeWidth, classes, className, svgProps, disabled, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
18
- export type IconType = IconName;
18
+ export type IconType = DynamicIconName;
19
19
  export type { Props as IconProps };
@@ -1,7 +1,7 @@
1
+ import { ComponentPropsWithRef } from 'react';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { inputVariants } from './input.styles';
3
- import * as React from "react";
4
- type InputProps = React.ComponentPropsWithRef<"input"> & VariantProps<typeof inputVariants> & {
4
+ type InputProps = ComponentPropsWithRef<"input"> & VariantProps<typeof inputVariants> & {
5
5
  className?: string;
6
6
  };
7
7
  declare const Input: ({ className, sizeInput, type, variant, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentProps } from 'react';
2
3
  import { Button } from '../button';
3
4
  import { inputGroupAddonVariants, inputGroupButtonVariants } from './input-group.styles';
4
- import * as React from "react";
5
- declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
- declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
7
- declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
8
- declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
9
- declare function InputGroupInput(props: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
10
- declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
5
+ declare function InputGroup({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function InputGroupAddon({ className, align, ...props }: ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
7
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
8
+ declare function InputGroupText({ className, ...props }: ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
9
+ declare function InputGroupInput(props: ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
10
+ declare function InputGroupTextarea({ className, ...props }: ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
11
11
  export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, };
@@ -1,11 +1,11 @@
1
+ import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { ClassProp } from 'class-variance-authority/types';
3
- import * as React from "react";
4
4
  import * as LabelPrimitive from "@radix-ui/react-label";
5
5
  declare const labelVariants: (props?: ClassProp | undefined) => string;
6
- type LabelRef = React.ComponentRef<typeof LabelPrimitive.Root>;
7
- type LabelProps = React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & {
8
- ref?: React.Ref<LabelRef>;
6
+ type LabelRef = ComponentRef<typeof LabelPrimitive.Root>;
7
+ type LabelProps = ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & {
8
+ ref?: Ref<LabelRef>;
9
9
  };
10
10
  declare const Label: {
11
11
  ({ className, ref, ...props }: LabelProps): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
- import * as React from "react";
1
+ import { ComponentProps, ComponentPropsWithRef } from 'react';
2
2
  declare const Pagination: {
3
- ({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
3
+ ({ className, ...props }: ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
- type PaginationContentProps = React.ComponentPropsWithRef<"ul">;
7
- type PaginationItemProps = React.ComponentPropsWithRef<"li">;
6
+ type PaginationContentProps = ComponentPropsWithRef<"ul">;
7
+ type PaginationItemProps = ComponentPropsWithRef<"li">;
8
8
  declare const PaginationContent: {
9
9
  ({ className, ref, ...props }: PaginationContentProps): import("react/jsx-runtime").JSX.Element;
10
10
  displayName: string;
@@ -17,21 +17,21 @@ type PaginationLinkProps = {
17
17
  isActive?: boolean;
18
18
  variant?: "page" | "arrow-left" | "arrow-right";
19
19
  disabled?: boolean;
20
- } & React.ComponentProps<"a">;
20
+ } & ComponentProps<"a">;
21
21
  declare const PaginationLink: {
22
22
  ({ className, isActive, variant, disabled, children, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
23
23
  displayName: string;
24
24
  };
25
25
  declare const PaginationPrevious: {
26
- ({ className, disabled, children, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
26
+ ({ className, disabled, children, ...props }: ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
27
27
  displayName: string;
28
28
  };
29
29
  declare const PaginationNext: {
30
- ({ className, disabled, children, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
30
+ ({ className, disabled, children, ...props }: ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
31
31
  displayName: string;
32
32
  };
33
33
  declare const PaginationEllipsis: {
34
- ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
34
+ ({ className, ...props }: ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
35
35
  displayName: string;
36
36
  };
37
37
  export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
@@ -1,10 +1,10 @@
1
+ import { ComponentProps } from 'react';
1
2
  import { Popover as PopoverPrimitive } from 'radix-ui';
2
- import * as React from "react";
3
- declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
- declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
7
- declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
- declare function PopoverTitle({ className, ...props }: React.ComponentProps<"h2">): import("react/jsx-runtime").JSX.Element;
9
- declare function PopoverDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
3
+ declare function Popover({ ...props }: ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function PopoverTrigger({ ...props }: ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function PopoverContent({ className, align, sideOffset, ...props }: ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
+ declare function PopoverAnchor({ ...props }: ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
7
+ declare function PopoverHeader({ className, ...props }: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function PopoverTitle({ className, ...props }: ComponentProps<"h2">): import("react/jsx-runtime").JSX.Element;
9
+ declare function PopoverDescription({ className, ...props }: ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
10
10
  export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, };
@@ -1,8 +1,8 @@
1
+ import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
1
2
  import * as ProgressPrimitive from "@radix-ui/react-progress";
2
- import * as React from "react";
3
- type ProgressRef = React.ComponentRef<typeof ProgressPrimitive.Root>;
4
- type ProgressProps = React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & {
5
- ref?: React.Ref<ProgressRef>;
3
+ type ProgressRef = ComponentRef<typeof ProgressPrimitive.Root>;
4
+ type ProgressProps = ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & {
5
+ ref?: Ref<ProgressRef>;
6
6
  };
7
7
  declare const Progress: {
8
8
  ({ className, value, max, ref, ...props }: ProgressProps): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,12 @@
1
+ import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
1
2
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
2
- import * as React from "react";
3
- type RadioGroupRef = React.ComponentRef<typeof RadioGroupPrimitive.Root>;
4
- type RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> & {
5
- ref?: React.Ref<RadioGroupRef>;
3
+ type RadioGroupRef = ComponentRef<typeof RadioGroupPrimitive.Root>;
4
+ type RadioGroupProps = ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> & {
5
+ ref?: Ref<RadioGroupRef>;
6
6
  };
7
- type RadioGroupItemRef = React.ComponentRef<typeof RadioGroupPrimitive.Item>;
8
- type RadioGroupItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> & {
9
- ref?: React.Ref<RadioGroupItemRef>;
7
+ type RadioGroupItemRef = ComponentRef<typeof RadioGroupPrimitive.Item>;
8
+ type RadioGroupItemProps = ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> & {
9
+ ref?: Ref<RadioGroupItemRef>;
10
10
  };
11
11
  declare const RadioGroup: {
12
12
  ({ className, ref, ...props }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +1,17 @@
1
+ import { ComponentProps } from 'react';
1
2
  import { Select as SelectPrimitive } from 'radix-ui';
2
- import * as React from "react";
3
- type SelectProps = React.ComponentProps<typeof SelectPrimitive.Root>;
4
- type SelectGroupProps = React.ComponentProps<typeof SelectPrimitive.Group>;
5
- type SelectValueProps = React.ComponentProps<typeof SelectPrimitive.Value>;
6
- type SelectTriggerProps = React.ComponentProps<typeof SelectPrimitive.Trigger> & {
3
+ type SelectProps = ComponentProps<typeof SelectPrimitive.Root>;
4
+ type SelectGroupProps = ComponentProps<typeof SelectPrimitive.Group>;
5
+ type SelectValueProps = ComponentProps<typeof SelectPrimitive.Value>;
6
+ type SelectTriggerProps = ComponentProps<typeof SelectPrimitive.Trigger> & {
7
7
  size?: "sm" | "default";
8
8
  };
9
- type SelectContentProps = React.ComponentProps<typeof SelectPrimitive.Content>;
10
- type SelectLabelProps = React.ComponentProps<typeof SelectPrimitive.Label>;
11
- type SelectItemProps = React.ComponentProps<typeof SelectPrimitive.Item>;
12
- type SelectSeparatorProps = React.ComponentProps<typeof SelectPrimitive.Separator>;
13
- type SelectScrollUpButtonProps = React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>;
14
- type SelectScrollDownButtonProps = React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>;
9
+ type SelectContentProps = ComponentProps<typeof SelectPrimitive.Content>;
10
+ type SelectLabelProps = ComponentProps<typeof SelectPrimitive.Label>;
11
+ type SelectItemProps = ComponentProps<typeof SelectPrimitive.Item>;
12
+ type SelectSeparatorProps = ComponentProps<typeof SelectPrimitive.Separator>;
13
+ type SelectScrollUpButtonProps = ComponentProps<typeof SelectPrimitive.ScrollUpButton>;
14
+ type SelectScrollDownButtonProps = ComponentProps<typeof SelectPrimitive.ScrollDownButton>;
15
15
  declare function Select({ ...props }: SelectProps): import("react/jsx-runtime").JSX.Element;
16
16
  declare function SelectGroup({ className, ...props }: SelectGroupProps): import("react/jsx-runtime").JSX.Element;
17
17
  declare function SelectValue({ ...props }: SelectValueProps): import("react/jsx-runtime").JSX.Element;
@@ -1,19 +1,19 @@
1
+ import { ComponentProps } from 'react';
1
2
  import { DateRange } from 'react-day-picker';
2
3
  import { Calendar } from '../calendar';
3
4
  import { Icon } from '../icon';
4
5
  import { PopoverContent } from '../popover';
5
- import * as React from "react";
6
6
  type SelectCalendarMenuBaseProps = {
7
7
  placeholder?: string;
8
8
  size?: "sm" | "default";
9
9
  disabled?: boolean;
10
10
  className?: string;
11
11
  iconPosition?: "left" | "right";
12
- iconType?: React.ComponentProps<typeof Icon>["type"];
12
+ iconType?: ComponentProps<typeof Icon>["type"];
13
13
  closeOnSelect?: boolean;
14
14
  collisionPadding?: number;
15
- calendarProps?: Omit<React.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect" | "appendFooter">;
16
- popoverContentProps?: Omit<React.ComponentProps<typeof PopoverContent>, "children">;
15
+ calendarProps?: Omit<ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect" | "appendFooter">;
16
+ popoverContentProps?: Omit<ComponentProps<typeof PopoverContent>, "children">;
17
17
  };
18
18
  type SelectCalendarMenuSingleProps = SelectCalendarMenuBaseProps & {
19
19
  mode?: "single";
@@ -1,8 +1,8 @@
1
+ import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
1
2
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
2
- import * as React from "react";
3
- type SeparatorRef = React.ComponentRef<typeof SeparatorPrimitive.Root>;
4
- type SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> & {
5
- ref?: React.Ref<SeparatorRef>;
3
+ type SeparatorRef = ComponentRef<typeof SeparatorPrimitive.Root>;
4
+ type SeparatorProps = ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> & {
5
+ ref?: Ref<SeparatorRef>;
6
6
  };
7
7
  declare const Separator: {
8
8
  ({ className, orientation, decorative, ref, ...props }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
+ import { ComponentPropsWithoutRef, ComponentRef, Ref } from 'react';
1
2
  import * as SwitchPrimitives from "@radix-ui/react-switch";
2
- import * as React from "react";
3
- type SwitchRef = React.ComponentRef<typeof SwitchPrimitives.Root>;
4
- type SwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> & {
5
- ref?: React.Ref<SwitchRef>;
3
+ type SwitchRef = ComponentRef<typeof SwitchPrimitives.Root>;
4
+ type SwitchProps = ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> & {
5
+ ref?: Ref<SwitchRef>;
6
6
  };
7
7
  declare const Switch: {
8
8
  ({ className, ref, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
@@ -1,50 +1,50 @@
1
- import * as React from "react";
1
+ import { HTMLAttributes, RefObject, TdHTMLAttributes, ThHTMLAttributes } from 'react';
2
2
  declare const Table: {
3
- ({ ref, className, ...props }: React.HTMLAttributes<HTMLTableElement> & {
4
- ref?: React.RefObject<HTMLTableElement | null>;
3
+ ({ ref, className, ...props }: HTMLAttributes<HTMLTableElement> & {
4
+ ref?: RefObject<HTMLTableElement | null>;
5
5
  }): import("react/jsx-runtime").JSX.Element;
6
6
  displayName: string;
7
7
  };
8
8
  declare const TableHeader: {
9
- ({ ref, className, ...props }: React.HTMLAttributes<HTMLTableSectionElement> & {
10
- ref?: React.RefObject<HTMLTableSectionElement | null>;
9
+ ({ ref, className, ...props }: HTMLAttributes<HTMLTableSectionElement> & {
10
+ ref?: RefObject<HTMLTableSectionElement | null>;
11
11
  }): import("react/jsx-runtime").JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  declare const TableBody: {
15
- ({ ref, className, ...props }: React.HTMLAttributes<HTMLTableSectionElement> & {
16
- ref?: React.RefObject<HTMLTableSectionElement | null>;
15
+ ({ ref, className, ...props }: HTMLAttributes<HTMLTableSectionElement> & {
16
+ ref?: RefObject<HTMLTableSectionElement | null>;
17
17
  }): import("react/jsx-runtime").JSX.Element;
18
18
  displayName: string;
19
19
  };
20
20
  declare const TableFooter: {
21
- ({ ref, className, ...props }: React.HTMLAttributes<HTMLTableSectionElement> & {
22
- ref?: React.RefObject<HTMLTableSectionElement | null>;
21
+ ({ ref, className, ...props }: HTMLAttributes<HTMLTableSectionElement> & {
22
+ ref?: RefObject<HTMLTableSectionElement | null>;
23
23
  }): import("react/jsx-runtime").JSX.Element;
24
24
  displayName: string;
25
25
  };
26
26
  declare const TableRow: {
27
- ({ ref, className, clickable, onClick, ...props }: React.HTMLAttributes<HTMLTableRowElement> & {
28
- ref?: React.RefObject<HTMLTableRowElement | null>;
27
+ ({ ref, className, clickable, onClick, ...props }: HTMLAttributes<HTMLTableRowElement> & {
28
+ ref?: RefObject<HTMLTableRowElement | null>;
29
29
  clickable?: boolean;
30
30
  }): import("react/jsx-runtime").JSX.Element;
31
31
  displayName: string;
32
32
  };
33
33
  declare const TableHead: {
34
- ({ ref, className, ...props }: React.ThHTMLAttributes<HTMLTableCellElement> & {
35
- ref?: React.RefObject<HTMLTableCellElement | null>;
34
+ ({ ref, className, ...props }: ThHTMLAttributes<HTMLTableCellElement> & {
35
+ ref?: RefObject<HTMLTableCellElement | null>;
36
36
  }): import("react/jsx-runtime").JSX.Element;
37
37
  displayName: string;
38
38
  };
39
39
  declare const TableCell: {
40
- ({ ref, className, ...props }: React.TdHTMLAttributes<HTMLTableCellElement> & {
41
- ref?: React.RefObject<HTMLTableCellElement | null>;
40
+ ({ ref, className, ...props }: TdHTMLAttributes<HTMLTableCellElement> & {
41
+ ref?: RefObject<HTMLTableCellElement | null>;
42
42
  }): import("react/jsx-runtime").JSX.Element;
43
43
  displayName: string;
44
44
  };
45
45
  declare const TableCaption: {
46
- ({ ref, className, ...props }: React.HTMLAttributes<HTMLTableCaptionElement> & {
47
- ref?: React.RefObject<HTMLTableCaptionElement | null>;
46
+ ({ ref, className, ...props }: HTMLAttributes<HTMLTableCaptionElement> & {
47
+ ref?: RefObject<HTMLTableCaptionElement | null>;
48
48
  }): import("react/jsx-runtime").JSX.Element;
49
49
  displayName: string;
50
50
  };
@@ -1,25 +1,25 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentPropsWithoutRef, ComponentRef, RefObject, ForwardRefExoticComponent, RefAttributes } from 'react';
2
3
  import { tabsListVariants, tabsTriggerVariants } from './tabs.styles';
3
4
  import * as TabsPrimitive from "@radix-ui/react-tabs";
4
- import * as React from "react";
5
- declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
6
- type TabsListProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>;
5
+ declare const Tabs: ForwardRefExoticComponent<TabsPrimitive.TabsProps & RefAttributes<HTMLDivElement>>;
6
+ type TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>;
7
7
  declare const TabsList: {
8
8
  ({ ref, className, variant, ...props }: TabsListProps & {
9
- ref?: React.RefObject<React.ComponentRef<typeof TabsPrimitive.List> | null>;
9
+ ref?: RefObject<ComponentRef<typeof TabsPrimitive.List> | null>;
10
10
  }): import("react/jsx-runtime").JSX.Element;
11
11
  displayName: string | undefined;
12
12
  };
13
- type TabsTriggerProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & VariantProps<typeof tabsTriggerVariants>;
13
+ type TabsTriggerProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & VariantProps<typeof tabsTriggerVariants>;
14
14
  declare const TabsTrigger: {
15
15
  ({ ref, className, variant: variantProp, ...props }: TabsTriggerProps & {
16
- ref?: React.RefObject<React.ComponentRef<typeof TabsPrimitive.Trigger> | null>;
16
+ ref?: RefObject<ComponentRef<typeof TabsPrimitive.Trigger> | null>;
17
17
  }): import("react/jsx-runtime").JSX.Element;
18
18
  displayName: string | undefined;
19
19
  };
20
20
  declare const TabsContent: {
21
- ({ ref, className, ...props }: React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content> & {
22
- ref?: React.RefObject<React.ComponentRef<typeof TabsPrimitive.Content> | null>;
21
+ ({ ref, className, ...props }: ComponentPropsWithoutRef<typeof TabsPrimitive.Content> & {
22
+ ref?: RefObject<ComponentRef<typeof TabsPrimitive.Content> | null>;
23
23
  }): import("react/jsx-runtime").JSX.Element;
24
24
  displayName: string | undefined;
25
25
  };
@@ -1,12 +1,12 @@
1
+ import { ComponentPropsWithoutRef, ComponentRef, Ref, FC, ForwardRefExoticComponent, RefAttributes } from 'react';
1
2
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
2
- import * as React from "react";
3
- declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
- declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
- declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
- declare const TooltipArrow: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React.RefAttributes<SVGSVGElement>>;
7
- type TooltipContentRef = React.ComponentRef<typeof TooltipPrimitive.Content>;
8
- type TooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & {
9
- ref?: React.Ref<TooltipContentRef>;
3
+ declare const TooltipProvider: FC<TooltipPrimitive.TooltipProviderProps>;
4
+ declare const Tooltip: FC<TooltipPrimitive.TooltipProps>;
5
+ declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & RefAttributes<HTMLButtonElement>>;
6
+ declare const TooltipArrow: ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & RefAttributes<SVGSVGElement>>;
7
+ type TooltipContentRef = ComponentRef<typeof TooltipPrimitive.Content>;
8
+ type TooltipContentProps = ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & {
9
+ ref?: Ref<TooltipContentRef>;
10
10
  };
11
11
  declare const TooltipContent: {
12
12
  ({ className, sideOffset, ref, ...props }: TooltipContentProps): import("react/jsx-runtime").JSX.Element;