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.
- package/dist/brd-ui-kit.css +1 -1
- package/dist/calendar-B5QCV34E.cjs +2 -0
- package/dist/{calendar-DReGV_22.cjs.map → calendar-B5QCV34E.cjs.map} +1 -1
- package/dist/{calendar-C0DXP3T-.js → calendar-Ba3kHG6w.js} +264 -270
- package/dist/{calendar-C0DXP3T-.js.map → calendar-Ba3kHG6w.js.map} +1 -1
- package/dist/{calendar-locale-CP2pxhFK.cjs → calendar-locale-BHyNJPb2.cjs} +2 -2
- package/dist/{calendar-locale-CP2pxhFK.cjs.map → calendar-locale-BHyNJPb2.cjs.map} +1 -1
- package/dist/{calendar-locale-DJf03PI9.js → calendar-locale-DQ9wj0zF.js} +2 -2
- package/dist/{calendar-locale-DJf03PI9.js.map → calendar-locale-DQ9wj0zF.js.map} +1 -1
- package/dist/chart-9H_9wEfR.cjs +63 -0
- package/dist/{chart-C69jBlXa.cjs.map → chart-9H_9wEfR.cjs.map} +1 -1
- package/dist/{chart-CAPCe8o5.js → chart-DFbmMKiQ.js} +2956 -2951
- package/dist/{chart-CAPCe8o5.js.map → chart-DFbmMKiQ.js.map} +1 -1
- package/dist/components/basic-chart/basic-chart.d.ts +1 -1
- package/dist/components/basic-table/basic-table.d.ts +5 -5
- package/dist/components/data-table/data-table-actions-column.d.ts +3 -3
- package/dist/components/data-table/data-table-bulk-actions.d.ts +3 -3
- package/dist/components/data-table/data-table-column-visibility.d.ts +2 -2
- package/dist/components/data-table/data-table-filter.d.ts +2 -2
- package/dist/components/data-table/data-table-row-actions-column.d.ts +3 -3
- package/dist/components/data-table/use-data-table-editable-rows.d.ts +5 -5
- package/dist/components/input-field/input-field.d.ts +3 -3
- package/dist/components/input-phone/input-phone.d.ts +4 -4
- package/dist/components/popover-modal/popover-modal.d.ts +4 -4
- package/dist/components/select-field/select-field.d.ts +2 -2
- package/dist/components/ui/avatar/avatar.d.ts +7 -7
- package/dist/components/ui/badge/badge.d.ts +2 -2
- package/dist/components/ui/button/button.d.ts +3 -3
- package/dist/components/ui/calendar/calendar.d.ts +6 -6
- package/dist/components/ui/calendar/calendar.styles.d.ts +1 -1
- package/dist/components/ui/card/card.d.ts +13 -13
- package/dist/components/ui/chart/chart.d.ts +23 -21
- package/dist/components/ui/checkbox/checkbox.d.ts +4 -4
- package/dist/components/ui/combobox/combobox.d.ts +6 -6
- package/dist/components/ui/dialog/dialog.d.ts +11 -11
- package/dist/components/ui/drawer/drawer.d.ts +11 -11
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +40 -40
- package/dist/components/ui/icon/icon.d.ts +3 -3
- package/dist/components/ui/input/input.d.ts +2 -2
- package/dist/components/ui/input-group/input-group.d.ts +7 -7
- package/dist/components/ui/label/label.d.ts +4 -4
- package/dist/components/ui/pagination/pagination.d.ts +8 -8
- package/dist/components/ui/popover/popover.d.ts +8 -8
- package/dist/components/ui/progress/progress.d.ts +4 -4
- package/dist/components/ui/radio-group/radio-group.d.ts +7 -7
- package/dist/components/ui/select/select.d.ts +11 -11
- package/dist/components/ui/select-calendar-menu/select-calendar-menu.d.ts +4 -4
- package/dist/components/ui/separator/separator.d.ts +4 -4
- package/dist/components/ui/switch/switch.d.ts +4 -4
- package/dist/components/ui/table/table.d.ts +17 -17
- package/dist/components/ui/tabs/tabs.d.ts +8 -8
- package/dist/components/ui/tooltip/tooltip.d.ts +8 -8
- package/dist/components/ui/typography/typography.d.ts +174 -174
- package/dist/components-avatar-uploader-avatar-uploader.cjs +2 -2
- package/dist/components-avatar-uploader-avatar-uploader.cjs.map +1 -1
- package/dist/components-avatar-uploader-avatar-uploader.js +35 -36
- package/dist/components-avatar-uploader-avatar-uploader.js.map +1 -1
- package/dist/components-basic-avatar-basic-avatar.cjs +1 -1
- package/dist/components-basic-avatar-basic-avatar.js +3 -3
- package/dist/components-basic-chart-basic-chart.cjs +2 -2
- package/dist/components-basic-chart-basic-chart.cjs.map +1 -1
- package/dist/components-basic-chart-basic-chart.js +106 -108
- package/dist/components-basic-chart-basic-chart.js.map +1 -1
- package/dist/components-basic-table-basic-table.cjs +2 -2
- package/dist/components-basic-table-basic-table.cjs.map +1 -1
- package/dist/components-basic-table-basic-table.js +232 -231
- package/dist/components-basic-table-basic-table.js.map +1 -1
- package/dist/components-data-table-data-table-actions-column.cjs +1 -1
- package/dist/components-data-table-data-table-actions-column.cjs.map +1 -1
- package/dist/components-data-table-data-table-actions-column.js +5 -6
- package/dist/components-data-table-data-table-actions-column.js.map +1 -1
- package/dist/components-data-table-data-table-bulk-actions.cjs +1 -1
- package/dist/components-data-table-data-table-bulk-actions.cjs.map +1 -1
- package/dist/components-data-table-data-table-bulk-actions.js +9 -9
- package/dist/components-data-table-data-table-bulk-actions.js.map +1 -1
- package/dist/components-data-table-data-table-column-visibility.cjs +1 -1
- package/dist/components-data-table-data-table-column-visibility.cjs.map +1 -1
- package/dist/components-data-table-data-table-column-visibility.js +1 -1
- package/dist/components-data-table-data-table-column-visibility.js.map +1 -1
- package/dist/components-data-table-data-table-filter.cjs +1 -1
- package/dist/components-data-table-data-table-filter.cjs.map +1 -1
- package/dist/components-data-table-data-table-filter.js +15 -15
- package/dist/components-data-table-data-table-filter.js.map +1 -1
- package/dist/components-data-table-data-table-row-actions-column.cjs +1 -1
- package/dist/components-data-table-data-table-row-actions-column.cjs.map +1 -1
- package/dist/components-data-table-data-table-row-actions-column.js +19 -20
- package/dist/components-data-table-data-table-row-actions-column.js.map +1 -1
- package/dist/components-data-table-use-data-table-editable-rows.cjs +1 -1
- package/dist/components-data-table-use-data-table-editable-rows.cjs.map +1 -1
- package/dist/components-data-table-use-data-table-editable-rows.js +88 -90
- package/dist/components-data-table-use-data-table-editable-rows.js.map +1 -1
- package/dist/components-input-contact-input-contact.cjs +1 -1
- package/dist/components-input-contact-input-contact.cjs.map +1 -1
- package/dist/components-input-contact-input-contact.js +8 -8
- package/dist/components-input-field-input-field.cjs +1 -1
- package/dist/components-input-field-input-field.cjs.map +1 -1
- package/dist/components-input-field-input-field.js +18 -19
- package/dist/components-input-field-input-field.js.map +1 -1
- package/dist/components-input-password-input-password.cjs +1 -1
- package/dist/components-input-password-input-password.cjs.map +1 -1
- package/dist/components-input-password-input-password.js +4 -4
- package/dist/components-input-phone-input-phone.cjs.map +1 -1
- package/dist/components-input-phone-input-phone.js.map +1 -1
- package/dist/components-popover-modal-popover-modal.cjs +1 -1
- package/dist/components-popover-modal-popover-modal.cjs.map +1 -1
- package/dist/components-popover-modal-popover-modal.js +40 -29
- package/dist/components-popover-modal-popover-modal.js.map +1 -1
- package/dist/components-select-field-select-field.cjs.map +1 -1
- package/dist/components-select-field-select-field.js.map +1 -1
- package/dist/components-ui-avatar-avatar.cjs +1 -1
- package/dist/components-ui-avatar-avatar.cjs.map +1 -1
- package/dist/components-ui-avatar-avatar.js +12 -13
- package/dist/components-ui-avatar-avatar.js.map +1 -1
- package/dist/components-ui-badge-badge.cjs +1 -1
- package/dist/components-ui-badge-badge.cjs.map +1 -1
- package/dist/components-ui-badge-badge.js +10 -11
- package/dist/components-ui-badge-badge.js.map +1 -1
- package/dist/components-ui-button-button.cjs +1 -1
- package/dist/components-ui-button-button.cjs.map +1 -1
- package/dist/components-ui-button-button.js +10 -11
- package/dist/components-ui-button-button.js.map +1 -1
- package/dist/components-ui-button-button.styles.cjs +4 -4
- package/dist/components-ui-button-button.styles.cjs.map +1 -1
- package/dist/components-ui-button-button.styles.js +4 -4
- package/dist/components-ui-button-button.styles.js.map +1 -1
- package/dist/components-ui-calendar-calendar.cjs +1 -1
- package/dist/components-ui-calendar-calendar.js +1 -1
- package/dist/components-ui-calendar-calendar.styles.cjs +1 -1
- package/dist/components-ui-calendar-calendar.styles.cjs.map +1 -1
- package/dist/components-ui-calendar-calendar.styles.js +1 -1
- package/dist/components-ui-calendar-calendar.styles.js.map +1 -1
- package/dist/components-ui-calendar.cjs +1 -1
- package/dist/components-ui-calendar.js +2 -2
- package/dist/components-ui-card-card.cjs +1 -1
- package/dist/components-ui-card-card.cjs.map +1 -1
- package/dist/components-ui-card-card.js +10 -11
- package/dist/components-ui-card-card.js.map +1 -1
- package/dist/components-ui-chart-chart.cjs +1 -1
- package/dist/components-ui-chart-chart.js +1 -1
- package/dist/components-ui-chart.cjs +1 -1
- package/dist/components-ui-chart.js +1 -1
- package/dist/components-ui-checkbox-checkbox.cjs +1 -1
- package/dist/components-ui-checkbox-checkbox.cjs.map +1 -1
- package/dist/components-ui-checkbox-checkbox.js +11 -12
- package/dist/components-ui-checkbox-checkbox.js.map +1 -1
- package/dist/components-ui-combobox-combobox.cjs +5 -5
- package/dist/components-ui-combobox-combobox.cjs.map +1 -1
- package/dist/components-ui-combobox-combobox.js +1477 -1479
- package/dist/components-ui-combobox-combobox.js.map +1 -1
- package/dist/components-ui-dialog-dialog.cjs +1 -1
- package/dist/components-ui-dialog-dialog.cjs.map +1 -1
- package/dist/components-ui-dialog-dialog.js +4 -5
- package/dist/components-ui-dialog-dialog.js.map +1 -1
- package/dist/components-ui-drawer-drawer.cjs +2 -2
- package/dist/components-ui-drawer-drawer.cjs.map +1 -1
- package/dist/components-ui-drawer-drawer.js +16 -19
- package/dist/components-ui-drawer-drawer.js.map +1 -1
- package/dist/components-ui-dropdown-menu-dropdown-menu.cjs +2 -2
- package/dist/components-ui-dropdown-menu-dropdown-menu.cjs.map +1 -1
- package/dist/components-ui-dropdown-menu-dropdown-menu.js +45 -46
- package/dist/components-ui-dropdown-menu-dropdown-menu.js.map +1 -1
- package/dist/components-ui-icon-icon.cjs +1 -1
- package/dist/components-ui-icon-icon.cjs.map +1 -1
- package/dist/components-ui-icon-icon.js +54 -61733
- package/dist/components-ui-icon-icon.js.map +1 -1
- package/dist/components-ui-input-group-input-group.cjs +1 -1
- package/dist/components-ui-input-group-input-group.cjs.map +1 -1
- package/dist/components-ui-input-group-input-group.js +12 -13
- package/dist/components-ui-input-group-input-group.js.map +1 -1
- package/dist/components-ui-input-input.cjs +1 -1
- package/dist/components-ui-input-input.cjs.map +1 -1
- package/dist/components-ui-input-input.js +2 -3
- package/dist/components-ui-input-input.js.map +1 -1
- package/dist/components-ui-label-label.cjs +1 -1
- package/dist/components-ui-label-label.cjs.map +1 -1
- package/dist/components-ui-label-label.js +1 -1
- package/dist/components-ui-label-label.js.map +1 -1
- package/dist/components-ui-pagination-pagination.cjs +1 -1
- package/dist/components-ui-pagination-pagination.cjs.map +1 -1
- package/dist/components-ui-pagination-pagination.js +0 -1
- package/dist/components-ui-pagination-pagination.js.map +1 -1
- package/dist/components-ui-popover-popover.cjs +1 -1
- package/dist/components-ui-popover-popover.cjs.map +1 -1
- package/dist/components-ui-popover-popover.js +14 -19
- package/dist/components-ui-popover-popover.js.map +1 -1
- package/dist/components-ui-progress-progress.cjs +1 -1
- package/dist/components-ui-progress-progress.cjs.map +1 -1
- package/dist/components-ui-progress-progress.js +1 -1
- package/dist/components-ui-progress-progress.js.map +1 -1
- package/dist/components-ui-radio-group-radio-group.cjs +1 -1
- package/dist/components-ui-radio-group-radio-group.cjs.map +1 -1
- package/dist/components-ui-radio-group-radio-group.js +0 -1
- package/dist/components-ui-radio-group-radio-group.js.map +1 -1
- package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs +1 -1
- package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs.map +1 -1
- package/dist/components-ui-select-calendar-menu-select-calendar-menu.js +53 -47
- package/dist/components-ui-select-calendar-menu-select-calendar-menu.js.map +1 -1
- package/dist/components-ui-select-select.cjs +1 -1
- package/dist/components-ui-select-select.cjs.map +1 -1
- package/dist/components-ui-select-select.js +21 -22
- package/dist/components-ui-select-select.js.map +1 -1
- package/dist/components-ui-separator-separator.cjs +1 -1
- package/dist/components-ui-separator-separator.cjs.map +1 -1
- package/dist/components-ui-separator-separator.js +11 -12
- package/dist/components-ui-separator-separator.js.map +1 -1
- package/dist/components-ui-switch-switch.cjs +1 -1
- package/dist/components-ui-switch-switch.cjs.map +1 -1
- package/dist/components-ui-switch-switch.js +6 -7
- package/dist/components-ui-switch-switch.js.map +1 -1
- package/dist/components-ui-table-table.cjs +1 -1
- package/dist/components-ui-table-table.cjs.map +1 -1
- package/dist/components-ui-table-table.js +0 -1
- package/dist/components-ui-table-table.js.map +1 -1
- package/dist/components-ui-tabs-tabs.cjs +2 -2
- package/dist/components-ui-tabs-tabs.cjs.map +1 -1
- package/dist/components-ui-tabs-tabs.js +16 -16
- package/dist/components-ui-tabs-tabs.js.map +1 -1
- package/dist/components-ui-tooltip-tooltip.cjs +1 -1
- package/dist/components-ui-tooltip-tooltip.cjs.map +1 -1
- package/dist/components-ui-tooltip-tooltip.js +9 -10
- package/dist/components-ui-tooltip-tooltip.js.map +1 -1
- package/dist/components-ui-typography-typography.cjs +1 -1
- package/dist/components-ui-typography-typography.cjs.map +1 -1
- package/dist/components-ui-typography-typography.js +7 -7
- package/dist/components-ui-typography-typography.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/calendar-DReGV_22.cjs +0 -2
- 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
|
-
|
|
4
|
-
type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
type
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
type
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
type
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
type
|
|
21
|
-
|
|
22
|
-
|
|
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 =
|
|
27
|
-
type DropdownMenuLabelProps =
|
|
28
|
-
ref?:
|
|
26
|
+
type DropdownMenuLabelRef = ComponentRef<typeof DropdownMenuPrimitive.Label>;
|
|
27
|
+
type DropdownMenuLabelProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {
|
|
28
|
+
ref?: Ref<DropdownMenuLabelRef>;
|
|
29
29
|
};
|
|
30
|
-
type DropdownMenuSeparatorRef =
|
|
31
|
-
type DropdownMenuSeparatorProps =
|
|
32
|
-
ref?:
|
|
30
|
+
type DropdownMenuSeparatorRef = ComponentRef<typeof DropdownMenuPrimitive.Separator>;
|
|
31
|
+
type DropdownMenuSeparatorProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator> & {
|
|
32
|
+
ref?: Ref<DropdownMenuSeparatorRef>;
|
|
33
33
|
};
|
|
34
|
-
type DropdownMenuSubTriggerRef =
|
|
35
|
-
type DropdownMenuSubTriggerProps =
|
|
36
|
-
ref?:
|
|
34
|
+
type DropdownMenuSubTriggerRef = ComponentRef<typeof DropdownMenuPrimitive.SubTrigger>;
|
|
35
|
+
type DropdownMenuSubTriggerProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
36
|
+
ref?: Ref<DropdownMenuSubTriggerRef>;
|
|
37
37
|
};
|
|
38
|
-
type DropdownMenuSubContentRef =
|
|
39
|
-
type DropdownMenuSubContentProps =
|
|
40
|
-
ref?:
|
|
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:
|
|
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?:
|
|
51
|
-
endAdornment?:
|
|
52
|
-
checkedEndAdornment?:
|
|
50
|
+
itemIndicator?: ReactNode;
|
|
51
|
+
endAdornment?: ReactNode;
|
|
52
|
+
checkedEndAdornment?: ReactNode;
|
|
53
53
|
};
|
|
54
54
|
type CheckboxDropdownMenuProps = {
|
|
55
|
-
trigger:
|
|
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?:
|
|
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:
|
|
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 {
|
|
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:
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
5
|
-
declare function
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
declare function
|
|
9
|
-
declare function
|
|
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 =
|
|
7
|
-
type LabelProps =
|
|
8
|
-
ref?:
|
|
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
|
|
1
|
+
import { ComponentProps, ComponentPropsWithRef } from 'react';
|
|
2
2
|
declare const Pagination: {
|
|
3
|
-
({ className, ...props }:
|
|
3
|
+
({ className, ...props }: ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
|
-
type PaginationContentProps =
|
|
7
|
-
type PaginationItemProps =
|
|
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
|
-
} &
|
|
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 }:
|
|
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 }:
|
|
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 }:
|
|
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
|
-
|
|
3
|
-
declare function
|
|
4
|
-
declare function
|
|
5
|
-
declare function
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
declare function
|
|
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
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
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
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
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 =
|
|
8
|
-
type RadioGroupItemProps =
|
|
9
|
-
ref?:
|
|
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
|
-
|
|
3
|
-
type
|
|
4
|
-
type
|
|
5
|
-
type
|
|
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 =
|
|
10
|
-
type SelectLabelProps =
|
|
11
|
-
type SelectItemProps =
|
|
12
|
-
type SelectSeparatorProps =
|
|
13
|
-
type SelectScrollUpButtonProps =
|
|
14
|
-
type SelectScrollDownButtonProps =
|
|
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?:
|
|
12
|
+
iconType?: ComponentProps<typeof Icon>["type"];
|
|
13
13
|
closeOnSelect?: boolean;
|
|
14
14
|
collisionPadding?: number;
|
|
15
|
-
calendarProps?: Omit<
|
|
16
|
-
popoverContentProps?: Omit<
|
|
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
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
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
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
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
|
|
1
|
+
import { HTMLAttributes, RefObject, TdHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
2
2
|
declare const Table: {
|
|
3
|
-
({ ref, className, ...props }:
|
|
4
|
-
ref?:
|
|
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 }:
|
|
10
|
-
ref?:
|
|
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 }:
|
|
16
|
-
ref?:
|
|
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 }:
|
|
22
|
-
ref?:
|
|
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 }:
|
|
28
|
-
ref?:
|
|
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 }:
|
|
35
|
-
ref?:
|
|
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 }:
|
|
41
|
-
ref?:
|
|
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 }:
|
|
47
|
-
ref?:
|
|
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
|
-
|
|
5
|
-
|
|
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?:
|
|
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 =
|
|
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?:
|
|
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 }:
|
|
22
|
-
ref?:
|
|
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
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
type
|
|
8
|
-
|
|
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;
|