@tale-ui/react 0.1.1 → 0.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/README.md +7 -5
- package/_cx.d.ts +4 -0
- package/_cx.js +15 -0
- package/accordion/Accordion.styled.d.ts +14 -0
- package/accordion/Accordion.styled.js +79 -0
- package/accordion/index.d.ts +1 -1
- package/accordion/index.js +1 -1
- package/alert-dialog/AlertDialog.styled.d.ts +13 -0
- package/alert-dialog/AlertDialog.styled.js +58 -0
- package/alert-dialog/index.d.ts +1 -1
- package/alert-dialog/index.js +1 -1
- package/autocomplete/Autocomplete.styled.d.ts +11 -0
- package/autocomplete/Autocomplete.styled.js +134 -0
- package/autocomplete/index.d.ts +1 -1
- package/autocomplete/index.js +1 -1
- package/avatar/Avatar.styled.d.ts +10 -0
- package/avatar/Avatar.styled.js +42 -0
- package/avatar/index.d.ts +1 -1
- package/avatar/index.js +1 -1
- package/button/Button.styled.d.ts +10 -0
- package/button/Button.styled.js +23 -0
- package/button/index.d.ts +2 -2
- package/button/index.js +1 -1
- package/checkbox/Checkbox.styled.d.ts +3 -0
- package/checkbox/Checkbox.styled.js +31 -0
- package/checkbox/index.d.ts +1 -1
- package/checkbox/index.js +1 -1
- package/collapsible/Collapsible.styled.d.ts +4 -0
- package/collapsible/Collapsible.styled.js +41 -0
- package/collapsible/index.d.ts +1 -1
- package/collapsible/index.js +1 -1
- package/combobox/Combobox.styled.d.ts +38 -0
- package/combobox/Combobox.styled.js +115 -0
- package/combobox/index.d.ts +1 -1
- package/combobox/index.js +1 -1
- package/context-menu/ContextMenu.styled.d.ts +21 -0
- package/context-menu/ContextMenu.styled.js +111 -0
- package/context-menu/index.d.ts +1 -1
- package/context-menu/index.js +1 -1
- package/context-menu/root/ContextMenuRoot.d.ts +1 -2
- package/dialog/Dialog.styled.d.ts +34 -0
- package/dialog/Dialog.styled.js +58 -0
- package/dialog/index.d.ts +1 -1
- package/dialog/index.js +1 -1
- package/drawer/Drawer.styled.d.ts +28 -0
- package/drawer/Drawer.styled.js +71 -0
- package/drawer/index.d.ts +1 -1
- package/drawer/index.js +1 -1
- package/esm/_cx.d.ts +4 -0
- package/esm/_cx.js +9 -0
- package/esm/accordion/Accordion.styled.d.ts +14 -0
- package/esm/accordion/Accordion.styled.js +72 -0
- package/esm/accordion/index.d.ts +1 -1
- package/esm/accordion/index.js +1 -1
- package/esm/alert-dialog/AlertDialog.styled.d.ts +13 -0
- package/esm/alert-dialog/AlertDialog.styled.js +51 -0
- package/esm/alert-dialog/index.d.ts +1 -1
- package/esm/alert-dialog/index.js +1 -1
- package/esm/autocomplete/Autocomplete.styled.d.ts +11 -0
- package/esm/autocomplete/Autocomplete.styled.js +49 -0
- package/esm/autocomplete/index.d.ts +1 -1
- package/esm/autocomplete/index.js +1 -1
- package/esm/avatar/Avatar.styled.d.ts +10 -0
- package/esm/avatar/Avatar.styled.js +35 -0
- package/esm/avatar/index.d.ts +1 -1
- package/esm/avatar/index.js +1 -1
- package/esm/button/Button.styled.d.ts +10 -0
- package/esm/button/Button.styled.js +16 -0
- package/esm/button/index.d.ts +2 -2
- package/esm/button/index.js +1 -1
- package/esm/checkbox/Checkbox.styled.d.ts +3 -0
- package/esm/checkbox/Checkbox.styled.js +24 -0
- package/esm/checkbox/index.d.ts +1 -1
- package/esm/checkbox/index.js +1 -1
- package/esm/collapsible/Collapsible.styled.d.ts +4 -0
- package/esm/collapsible/Collapsible.styled.js +34 -0
- package/esm/collapsible/index.d.ts +1 -1
- package/esm/collapsible/index.js +1 -1
- package/esm/combobox/Combobox.styled.d.ts +38 -0
- package/esm/combobox/Combobox.styled.js +102 -0
- package/esm/combobox/index.d.ts +1 -1
- package/esm/combobox/index.js +1 -1
- package/esm/context-menu/ContextMenu.styled.d.ts +21 -0
- package/esm/context-menu/ContextMenu.styled.js +104 -0
- package/esm/context-menu/index.d.ts +1 -1
- package/esm/context-menu/index.js +1 -1
- package/esm/context-menu/root/ContextMenuRoot.d.ts +1 -2
- package/esm/dialog/Dialog.styled.d.ts +34 -0
- package/esm/dialog/Dialog.styled.js +51 -0
- package/esm/dialog/index.d.ts +1 -1
- package/esm/dialog/index.js +1 -1
- package/esm/drawer/Drawer.styled.d.ts +28 -0
- package/esm/drawer/Drawer.styled.js +64 -0
- package/esm/drawer/index.d.ts +1 -1
- package/esm/drawer/index.js +1 -1
- package/esm/field/Field.styled.d.ts +14 -0
- package/esm/field/Field.styled.js +45 -0
- package/esm/field/index.d.ts +1 -1
- package/esm/field/index.js +1 -1
- package/esm/fieldset/Fieldset.styled.d.ts +3 -0
- package/esm/fieldset/Fieldset.styled.js +24 -0
- package/esm/fieldset/index.d.ts +1 -1
- package/esm/fieldset/index.js +1 -1
- package/esm/form/Form.styled.d.ts +12 -0
- package/esm/form/Form.styled.js +14 -0
- package/esm/form/index.d.ts +2 -2
- package/esm/form/index.js +1 -1
- package/esm/index.d.ts +0 -1
- package/esm/index.js +1 -2
- package/esm/input/Input.styled.d.ts +8 -0
- package/esm/input/Input.styled.js +15 -0
- package/esm/input/index.d.ts +2 -2
- package/esm/input/index.js +1 -1
- package/esm/menu/Menu.styled.d.ts +57 -0
- package/esm/menu/Menu.styled.js +106 -0
- package/esm/menu/index.d.ts +1 -1
- package/esm/menu/index.js +1 -1
- package/esm/menubar/Menubar.styled.d.ts +7 -0
- package/esm/menubar/Menubar.styled.js +14 -0
- package/esm/menubar/index.d.ts +1 -1
- package/esm/menubar/index.js +1 -1
- package/esm/meter/Meter.styled.d.ts +6 -0
- package/esm/meter/Meter.styled.js +45 -0
- package/esm/meter/index.d.ts +1 -1
- package/esm/meter/index.js +1 -1
- package/esm/navigation-menu/NavigationMenu.styled.d.ts +23 -0
- package/esm/navigation-menu/NavigationMenu.styled.js +89 -0
- package/esm/navigation-menu/index.d.ts +1 -1
- package/esm/navigation-menu/index.js +1 -1
- package/esm/number-field/NumberField.styled.d.ts +16 -0
- package/esm/number-field/NumberField.styled.js +59 -0
- package/esm/number-field/index.d.ts +1 -1
- package/esm/number-field/index.js +1 -1
- package/esm/popover/Popover.styled.d.ts +42 -0
- package/esm/popover/Popover.styled.js +62 -0
- package/esm/popover/index.d.ts +1 -1
- package/esm/popover/index.js +1 -1
- package/esm/preview-card/PreviewCard.styled.d.ts +39 -0
- package/esm/preview-card/PreviewCard.styled.js +32 -0
- package/esm/preview-card/index.d.ts +1 -1
- package/esm/preview-card/index.js +1 -1
- package/esm/progress/Progress.styled.d.ts +8 -0
- package/esm/progress/Progress.styled.js +36 -0
- package/esm/progress/index.d.ts +1 -1
- package/esm/progress/index.js +1 -1
- package/esm/radio/Radio.styled.d.ts +11 -0
- package/esm/radio/Radio.styled.js +27 -0
- package/esm/radio/index.d.ts +1 -1
- package/esm/radio/index.js +1 -1
- package/esm/scroll-area/ScrollArea.styled.d.ts +7 -0
- package/esm/scroll-area/ScrollArea.styled.js +55 -0
- package/esm/scroll-area/index.d.ts +1 -1
- package/esm/scroll-area/index.js +1 -1
- package/esm/select/Select.styled.d.ts +33 -0
- package/esm/select/Select.styled.js +118 -0
- package/esm/select/index.d.ts +1 -1
- package/esm/select/index.js +1 -1
- package/esm/separator/Separator.styled.d.ts +7 -0
- package/esm/separator/Separator.styled.js +16 -0
- package/esm/separator/index.d.ts +2 -2
- package/esm/separator/index.js +1 -1
- package/esm/slider/Slider.styled.d.ts +16 -0
- package/esm/slider/Slider.styled.js +55 -0
- package/esm/slider/index.d.ts +1 -1
- package/esm/slider/index.js +1 -1
- package/esm/switch/Switch.styled.d.ts +3 -0
- package/esm/switch/Switch.styled.js +24 -0
- package/esm/switch/index.d.ts +1 -1
- package/esm/switch/index.js +1 -1
- package/esm/tabs/Tabs.styled.d.ts +14 -0
- package/esm/tabs/Tabs.styled.js +54 -0
- package/esm/tabs/index.d.ts +1 -1
- package/esm/tabs/index.js +1 -1
- package/esm/toast/Toast.styled.d.ts +21 -0
- package/esm/toast/Toast.styled.js +80 -0
- package/esm/toast/index.d.ts +1 -1
- package/esm/toast/index.js +1 -1
- package/esm/toggle/Toggle.styled.d.ts +10 -0
- package/esm/toggle/Toggle.styled.js +26 -0
- package/esm/toggle/index.d.ts +2 -2
- package/esm/toggle/index.js +1 -1
- package/esm/toolbar/Toolbar.styled.d.ts +7 -0
- package/esm/toolbar/Toolbar.styled.js +64 -0
- package/esm/toolbar/index.d.ts +1 -1
- package/esm/toolbar/index.js +1 -1
- package/esm/tooltip/Tooltip.styled.d.ts +39 -0
- package/esm/tooltip/Tooltip.styled.js +32 -0
- package/esm/tooltip/index.d.ts +1 -1
- package/esm/tooltip/index.js +1 -1
- package/field/Field.styled.d.ts +14 -0
- package/field/Field.styled.js +70 -0
- package/field/index.d.ts +1 -1
- package/field/index.js +1 -1
- package/fieldset/Fieldset.styled.d.ts +3 -0
- package/fieldset/Fieldset.styled.js +31 -0
- package/fieldset/index.d.ts +1 -1
- package/fieldset/index.js +1 -1
- package/form/Form.styled.d.ts +12 -0
- package/form/Form.styled.js +21 -0
- package/form/index.d.ts +2 -2
- package/form/index.js +1 -1
- package/index.d.ts +0 -1
- package/index.js +1 -12
- package/input/Input.styled.d.ts +8 -0
- package/input/Input.styled.js +22 -0
- package/input/index.d.ts +2 -2
- package/input/index.js +1 -1
- package/menu/Menu.styled.d.ts +57 -0
- package/menu/Menu.styled.js +120 -0
- package/menu/index.d.ts +1 -1
- package/menu/index.js +1 -1
- package/menubar/Menubar.styled.d.ts +7 -0
- package/menubar/Menubar.styled.js +21 -0
- package/menubar/index.d.ts +1 -1
- package/menubar/index.js +1 -1
- package/meter/Meter.styled.d.ts +6 -0
- package/meter/Meter.styled.js +52 -0
- package/meter/index.d.ts +1 -1
- package/meter/index.js +1 -1
- package/navigation-menu/NavigationMenu.styled.d.ts +23 -0
- package/navigation-menu/NavigationMenu.styled.js +96 -0
- package/navigation-menu/index.d.ts +1 -1
- package/navigation-menu/index.js +1 -1
- package/number-field/NumberField.styled.d.ts +16 -0
- package/number-field/NumberField.styled.js +77 -0
- package/number-field/index.d.ts +1 -1
- package/number-field/index.js +1 -1
- package/package.json +115 -112
- package/popover/Popover.styled.d.ts +42 -0
- package/popover/Popover.styled.js +69 -0
- package/popover/index.d.ts +1 -1
- package/popover/index.js +1 -1
- package/preview-card/PreviewCard.styled.d.ts +39 -0
- package/preview-card/PreviewCard.styled.js +39 -0
- package/preview-card/index.d.ts +1 -1
- package/preview-card/index.js +1 -1
- package/progress/Progress.styled.d.ts +8 -0
- package/progress/Progress.styled.js +49 -0
- package/progress/index.d.ts +1 -1
- package/progress/index.js +1 -1
- package/radio/Radio.styled.d.ts +11 -0
- package/radio/Radio.styled.js +34 -0
- package/radio/index.d.ts +1 -1
- package/radio/index.js +1 -1
- package/scroll-area/ScrollArea.styled.d.ts +7 -0
- package/scroll-area/ScrollArea.styled.js +67 -0
- package/scroll-area/index.d.ts +1 -1
- package/scroll-area/index.js +1 -1
- package/select/Select.styled.d.ts +33 -0
- package/select/Select.styled.js +125 -0
- package/select/index.d.ts +1 -1
- package/select/index.js +1 -1
- package/separator/Separator.styled.d.ts +7 -0
- package/separator/Separator.styled.js +23 -0
- package/separator/index.d.ts +2 -2
- package/separator/index.js +1 -1
- package/slider/Slider.styled.d.ts +16 -0
- package/slider/Slider.styled.js +67 -0
- package/slider/index.d.ts +1 -1
- package/slider/index.js +1 -1
- package/switch/Switch.styled.d.ts +3 -0
- package/switch/Switch.styled.js +31 -0
- package/switch/index.d.ts +1 -1
- package/switch/index.js +1 -1
- package/tabs/Tabs.styled.d.ts +14 -0
- package/tabs/Tabs.styled.js +61 -0
- package/tabs/index.d.ts +1 -1
- package/tabs/index.js +1 -1
- package/toast/Toast.styled.d.ts +21 -0
- package/toast/Toast.styled.js +87 -0
- package/toast/index.d.ts +1 -1
- package/toast/index.js +1 -1
- package/toggle/Toggle.styled.d.ts +10 -0
- package/toggle/Toggle.styled.js +33 -0
- package/toggle/index.d.ts +2 -2
- package/toggle/index.js +7 -1
- package/toolbar/Toolbar.styled.d.ts +7 -0
- package/toolbar/Toolbar.styled.js +71 -0
- package/toolbar/index.d.ts +1 -1
- package/toolbar/index.js +1 -1
- package/tooltip/Tooltip.styled.d.ts +39 -0
- package/tooltip/Tooltip.styled.js +39 -0
- package/tooltip/index.d.ts +1 -1
- package/tooltip/index.js +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import { cx } from "../_cx.js";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
const StyledRoot = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}, ref) => /*#__PURE__*/_jsx(H.Root, {
|
|
9
|
+
className: cx('tale-progress', className),
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props
|
|
12
|
+
}));
|
|
13
|
+
StyledRoot.displayName = 'Progress.Root';
|
|
14
|
+
export const Root = StyledRoot;
|
|
15
|
+
export const Value = H.Value;
|
|
16
|
+
const StyledTrack = /*#__PURE__*/React.forwardRef(({
|
|
17
|
+
className,
|
|
18
|
+
...props
|
|
19
|
+
}, ref) => /*#__PURE__*/_jsx(H.Track, {
|
|
20
|
+
className: cx('tale-progress__track', className),
|
|
21
|
+
ref: ref,
|
|
22
|
+
...props
|
|
23
|
+
}));
|
|
24
|
+
StyledTrack.displayName = 'Progress.Track';
|
|
25
|
+
export const Track = StyledTrack;
|
|
26
|
+
const StyledIndicator = /*#__PURE__*/React.forwardRef(({
|
|
27
|
+
className,
|
|
28
|
+
...props
|
|
29
|
+
}, ref) => /*#__PURE__*/_jsx(H.Indicator, {
|
|
30
|
+
className: cx('tale-progress__indicator', className),
|
|
31
|
+
ref: ref,
|
|
32
|
+
...props
|
|
33
|
+
}));
|
|
34
|
+
StyledIndicator.displayName = 'Progress.Indicator';
|
|
35
|
+
export const Indicator = StyledIndicator;
|
|
36
|
+
export { Label } from "./index.parts.js";
|
package/esm/progress/index.d.ts
CHANGED
package/esm/progress/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as Progress from "./
|
|
1
|
+
export * as Progress from "./Progress.styled.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import { RadioGroup as HGroup } from "../radio-group/RadioGroup.js";
|
|
4
|
+
type Size = 'sm' | 'md' | 'lg';
|
|
5
|
+
export interface RootProps extends React.ComponentPropsWithoutRef<typeof H.Root> {
|
|
6
|
+
size?: Size | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare const Root: React.ForwardRefExoticComponent<RootProps & React.RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
export declare const Indicator: React.ForwardRefExoticComponent<Omit<Omit<import("./index.js").RadioIndicatorProps, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
export declare const Group: <Value>(props: HGroup.Props<Value>) => React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import { RadioGroup as HGroup } from "../radio-group/RadioGroup.js";
|
|
4
|
+
import { cx } from "../_cx.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
const StyledRoot = /*#__PURE__*/React.forwardRef(({
|
|
7
|
+
size = 'md',
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}, ref) => /*#__PURE__*/_jsx(H.Root, {
|
|
11
|
+
className: cx(size !== 'md' ? `tale-radio tale-radio--${size}` : 'tale-radio', className),
|
|
12
|
+
ref: ref,
|
|
13
|
+
...props
|
|
14
|
+
}));
|
|
15
|
+
StyledRoot.displayName = 'Radio.Root';
|
|
16
|
+
export const Root = StyledRoot;
|
|
17
|
+
export const Indicator = /*#__PURE__*/React.forwardRef(({
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}, ref) => /*#__PURE__*/_jsx(H.Indicator, {
|
|
21
|
+
className: cx('tale-radio__indicator', className),
|
|
22
|
+
ref: ref,
|
|
23
|
+
...props
|
|
24
|
+
}));
|
|
25
|
+
if (process.env.NODE_ENV !== "production") Indicator.displayName = "Indicator";
|
|
26
|
+
Indicator.displayName = 'Radio.Indicator';
|
|
27
|
+
export const Group = HGroup;
|
package/esm/radio/index.d.ts
CHANGED
package/esm/radio/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as Radio from "./
|
|
1
|
+
export * as Radio from "./Radio.styled.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as H from "./index.parts.js";
|
|
2
|
+
export declare const Root: typeof H.Root;
|
|
3
|
+
export declare const Viewport: typeof H.Viewport;
|
|
4
|
+
export declare const Scrollbar: typeof H.Scrollbar;
|
|
5
|
+
export declare const Thumb: typeof H.Thumb;
|
|
6
|
+
export declare const Corner: typeof H.Corner;
|
|
7
|
+
export { Content } from "./index.parts.js";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import { cx } from "../_cx.js";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
const StyledRoot = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}, ref) => /*#__PURE__*/_jsx(H.Root, {
|
|
9
|
+
className: cx('tale-scroll-area', className),
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props
|
|
12
|
+
}));
|
|
13
|
+
StyledRoot.displayName = 'ScrollArea.Root';
|
|
14
|
+
export const Root = StyledRoot;
|
|
15
|
+
const StyledViewport = /*#__PURE__*/React.forwardRef(({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}, ref) => /*#__PURE__*/_jsx(H.Viewport, {
|
|
19
|
+
className: cx('tale-scroll-area__viewport', className),
|
|
20
|
+
ref: ref,
|
|
21
|
+
...props
|
|
22
|
+
}));
|
|
23
|
+
StyledViewport.displayName = 'ScrollArea.Viewport';
|
|
24
|
+
export const Viewport = StyledViewport;
|
|
25
|
+
const StyledScrollbar = /*#__PURE__*/React.forwardRef(({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}, ref) => /*#__PURE__*/_jsx(H.Scrollbar, {
|
|
29
|
+
className: cx('tale-scroll-area__scrollbar', className),
|
|
30
|
+
ref: ref,
|
|
31
|
+
...props
|
|
32
|
+
}));
|
|
33
|
+
StyledScrollbar.displayName = 'ScrollArea.Scrollbar';
|
|
34
|
+
export const Scrollbar = StyledScrollbar;
|
|
35
|
+
const StyledThumb = /*#__PURE__*/React.forwardRef(({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}, ref) => /*#__PURE__*/_jsx(H.Thumb, {
|
|
39
|
+
className: cx('tale-scroll-area__thumb', className),
|
|
40
|
+
ref: ref,
|
|
41
|
+
...props
|
|
42
|
+
}));
|
|
43
|
+
StyledThumb.displayName = 'ScrollArea.Thumb';
|
|
44
|
+
export const Thumb = StyledThumb;
|
|
45
|
+
const StyledCorner = /*#__PURE__*/React.forwardRef(({
|
|
46
|
+
className,
|
|
47
|
+
...props
|
|
48
|
+
}, ref) => /*#__PURE__*/_jsx(H.Corner, {
|
|
49
|
+
className: cx('tale-scroll-area__corner', className),
|
|
50
|
+
ref: ref,
|
|
51
|
+
...props
|
|
52
|
+
}));
|
|
53
|
+
StyledCorner.displayName = 'ScrollArea.Corner';
|
|
54
|
+
export const Corner = StyledCorner;
|
|
55
|
+
export { Content } from "./index.parts.js";
|
package/esm/scroll-area/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as ScrollArea from "./
|
|
1
|
+
export * as ScrollArea from "./ScrollArea.styled.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import type { SelectRootProps, SelectRootState, SelectRootActions, SelectRootChangeEventReason, SelectRootChangeEventDetails } from "./root/SelectRoot.js";
|
|
4
|
+
import type { SelectTriggerState, SelectTriggerProps } from "./trigger/SelectTrigger.js";
|
|
5
|
+
export declare const Root: typeof H.Root;
|
|
6
|
+
export declare namespace Root {
|
|
7
|
+
type State = SelectRootState;
|
|
8
|
+
type Props<Value = any, Multiple extends boolean | undefined = false> = SelectRootProps<Value, Multiple>;
|
|
9
|
+
type Actions = SelectRootActions;
|
|
10
|
+
type ChangeEventReason = SelectRootChangeEventReason;
|
|
11
|
+
type ChangeEventDetails = SelectRootChangeEventDetails;
|
|
12
|
+
}
|
|
13
|
+
export declare const Portal: React.ForwardRefExoticComponent<Omit<import("./index.js").SelectPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export declare const Backdrop: React.ForwardRefExoticComponent<Omit<import("./index.js").SelectBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export declare const Positioner: React.ForwardRefExoticComponent<Omit<import("./index.js").SelectPositionerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export declare const Arrow: React.ForwardRefExoticComponent<Omit<import("./index.js").SelectArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export declare const ScrollDownArrow: React.ForwardRefExoticComponent<Omit<import("./index.js").SelectScrollDownArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export declare const ScrollUpArrow: React.ForwardRefExoticComponent<Omit<import("./index.js").SelectScrollUpArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export declare const Group: React.ForwardRefExoticComponent<Omit<import("./index.js").SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export declare const ItemText: React.NamedExoticComponent<Omit<import("./index.js").SelectItemTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export declare const Trigger: typeof H.Trigger;
|
|
22
|
+
export declare namespace Trigger {
|
|
23
|
+
type State = SelectTriggerState;
|
|
24
|
+
type Props = SelectTriggerProps;
|
|
25
|
+
}
|
|
26
|
+
export declare const Value: typeof H.Value;
|
|
27
|
+
export declare const Icon: typeof H.Icon;
|
|
28
|
+
export declare const Popup: typeof H.Popup;
|
|
29
|
+
export declare const List: typeof H.List;
|
|
30
|
+
export declare const Item: typeof H.Item;
|
|
31
|
+
export declare const ItemIndicator: typeof H.ItemIndicator;
|
|
32
|
+
export declare const GroupLabel: typeof H.GroupLabel;
|
|
33
|
+
export declare const Separator: React.ForwardRefExoticComponent<Omit<import("../index.js").SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
var _svg, _React$Fragment, _ChevronIcon;
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as H from "./index.parts.js";
|
|
4
|
+
import { cx } from "../_cx.js";
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
function ChevronIcon() {
|
|
7
|
+
return _svg || (_svg = /*#__PURE__*/_jsx("svg", {
|
|
8
|
+
className: "tale-select__icon",
|
|
9
|
+
viewBox: "0 0 16 16",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: "1.5",
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
"aria-hidden": true,
|
|
16
|
+
children: /*#__PURE__*/_jsx("polyline", {
|
|
17
|
+
points: "4,6 8,10 12,6"
|
|
18
|
+
})
|
|
19
|
+
}));
|
|
20
|
+
}
|
|
21
|
+
export const Root = H.Root;
|
|
22
|
+
export const Portal = H.Portal;
|
|
23
|
+
export const Backdrop = H.Backdrop;
|
|
24
|
+
export const Positioner = H.Positioner;
|
|
25
|
+
export const Arrow = H.Arrow;
|
|
26
|
+
export const ScrollDownArrow = H.ScrollDownArrow;
|
|
27
|
+
export const ScrollUpArrow = H.ScrollUpArrow;
|
|
28
|
+
export const Group = H.Group;
|
|
29
|
+
export const ItemText = H.ItemText;
|
|
30
|
+
const StyledTrigger = /*#__PURE__*/React.forwardRef(({
|
|
31
|
+
className,
|
|
32
|
+
children,
|
|
33
|
+
...props
|
|
34
|
+
}, ref) => /*#__PURE__*/_jsx(H.Trigger, {
|
|
35
|
+
className: cx('tale-select__trigger', className),
|
|
36
|
+
ref: ref,
|
|
37
|
+
...props,
|
|
38
|
+
children: children ?? (_React$Fragment || (_React$Fragment = /*#__PURE__*/_jsxs(React.Fragment, {
|
|
39
|
+
children: [/*#__PURE__*/_jsx(H.Value, {
|
|
40
|
+
className: "tale-select__value"
|
|
41
|
+
}), /*#__PURE__*/_jsx(ChevronIcon, {})]
|
|
42
|
+
})))
|
|
43
|
+
}));
|
|
44
|
+
StyledTrigger.displayName = 'Select.Trigger';
|
|
45
|
+
export const Trigger = StyledTrigger;
|
|
46
|
+
const StyledValue = /*#__PURE__*/React.forwardRef(({
|
|
47
|
+
className,
|
|
48
|
+
...props
|
|
49
|
+
}, ref) => /*#__PURE__*/_jsx(H.Value, {
|
|
50
|
+
className: cx('tale-select__value', className),
|
|
51
|
+
ref: ref,
|
|
52
|
+
...props
|
|
53
|
+
}));
|
|
54
|
+
StyledValue.displayName = 'Select.Value';
|
|
55
|
+
export const Value = StyledValue;
|
|
56
|
+
const StyledIcon = /*#__PURE__*/React.forwardRef(({
|
|
57
|
+
className,
|
|
58
|
+
children = _ChevronIcon || (_ChevronIcon = /*#__PURE__*/_jsx(ChevronIcon, {})),
|
|
59
|
+
...props
|
|
60
|
+
}, ref) => /*#__PURE__*/_jsx(H.Icon, {
|
|
61
|
+
className: cx('tale-select__icon', className),
|
|
62
|
+
ref: ref,
|
|
63
|
+
...props,
|
|
64
|
+
children: children
|
|
65
|
+
}));
|
|
66
|
+
StyledIcon.displayName = 'Select.Icon';
|
|
67
|
+
export const Icon = StyledIcon;
|
|
68
|
+
const StyledPopup = /*#__PURE__*/React.forwardRef(({
|
|
69
|
+
className,
|
|
70
|
+
...props
|
|
71
|
+
}, ref) => /*#__PURE__*/_jsx(H.Popup, {
|
|
72
|
+
className: cx('tale-select__popup', className),
|
|
73
|
+
ref: ref,
|
|
74
|
+
...props
|
|
75
|
+
}));
|
|
76
|
+
StyledPopup.displayName = 'Select.Popup';
|
|
77
|
+
export const Popup = StyledPopup;
|
|
78
|
+
const StyledList = /*#__PURE__*/React.forwardRef(({
|
|
79
|
+
className,
|
|
80
|
+
...props
|
|
81
|
+
}, ref) => /*#__PURE__*/_jsx(H.List, {
|
|
82
|
+
className: cx('tale-select__list', className),
|
|
83
|
+
ref: ref,
|
|
84
|
+
...props
|
|
85
|
+
}));
|
|
86
|
+
StyledList.displayName = 'Select.List';
|
|
87
|
+
export const List = StyledList;
|
|
88
|
+
const StyledItem = /*#__PURE__*/React.forwardRef(({
|
|
89
|
+
className,
|
|
90
|
+
...props
|
|
91
|
+
}, ref) => /*#__PURE__*/_jsx(H.Item, {
|
|
92
|
+
className: cx('tale-select__item', className),
|
|
93
|
+
ref: ref,
|
|
94
|
+
...props
|
|
95
|
+
}));
|
|
96
|
+
StyledItem.displayName = 'Select.Item';
|
|
97
|
+
export const Item = StyledItem;
|
|
98
|
+
const StyledItemIndicator = /*#__PURE__*/React.forwardRef(({
|
|
99
|
+
className,
|
|
100
|
+
...props
|
|
101
|
+
}, ref) => /*#__PURE__*/_jsx(H.ItemIndicator, {
|
|
102
|
+
className: cx('tale-select__item-indicator', className),
|
|
103
|
+
ref: ref,
|
|
104
|
+
...props
|
|
105
|
+
}));
|
|
106
|
+
StyledItemIndicator.displayName = 'Select.ItemIndicator';
|
|
107
|
+
export const ItemIndicator = StyledItemIndicator;
|
|
108
|
+
const StyledGroupLabel = /*#__PURE__*/React.forwardRef(({
|
|
109
|
+
className,
|
|
110
|
+
...props
|
|
111
|
+
}, ref) => /*#__PURE__*/_jsx(H.GroupLabel, {
|
|
112
|
+
className: cx('tale-select__group-label', className),
|
|
113
|
+
ref: ref,
|
|
114
|
+
...props
|
|
115
|
+
}));
|
|
116
|
+
StyledGroupLabel.displayName = 'Select.GroupLabel';
|
|
117
|
+
export const GroupLabel = StyledGroupLabel;
|
|
118
|
+
export const Separator = H.Separator;
|
package/esm/select/index.d.ts
CHANGED
package/esm/select/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as Select from "./
|
|
1
|
+
export * as Select from "./Select.styled.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { SeparatorProps, SeparatorState } from "./Separator.js";
|
|
3
|
+
export declare const Separator: React.ForwardRefExoticComponent<Omit<Omit<SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export declare namespace Separator {
|
|
5
|
+
type Props = SeparatorProps;
|
|
6
|
+
type State = SeparatorState;
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Separator as H } from "./Separator.js";
|
|
3
|
+
import { cx } from "../_cx.js";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
export const Separator = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
orientation = 'horizontal',
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}, ref) => /*#__PURE__*/_jsx(H, {
|
|
10
|
+
orientation: orientation,
|
|
11
|
+
className: cx(orientation === 'vertical' ? 'tale-separator tale-separator--vertical' : 'tale-separator', className),
|
|
12
|
+
ref: ref,
|
|
13
|
+
...props
|
|
14
|
+
}));
|
|
15
|
+
if (process.env.NODE_ENV !== "production") Separator.displayName = "Separator";
|
|
16
|
+
Separator.displayName = 'Separator';
|
package/esm/separator/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Separator } from "./Separator.js";
|
|
2
|
-
export type
|
|
1
|
+
export { Separator } from "./Separator.styled.js";
|
|
2
|
+
export type { SeparatorProps, SeparatorState } from "./Separator.js";
|
package/esm/separator/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Separator } from "./Separator.js";
|
|
1
|
+
export { Separator } from "./Separator.styled.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as H from "./index.parts.js";
|
|
2
|
+
import type { SliderRootState, SliderRootProps, SliderRootChangeEventReason, SliderRootChangeEventDetails, SliderRootCommitEventReason, SliderRootCommitEventDetails } from "./root/SliderRoot.js";
|
|
3
|
+
export declare const Root: typeof H.Root;
|
|
4
|
+
export declare namespace Root {
|
|
5
|
+
type State = SliderRootState;
|
|
6
|
+
type Props<Value extends number | readonly number[] = number | readonly number[]> = SliderRootProps<Value>;
|
|
7
|
+
type ChangeEventReason = SliderRootChangeEventReason;
|
|
8
|
+
type ChangeEventDetails = SliderRootChangeEventDetails;
|
|
9
|
+
type CommitEventReason = SliderRootCommitEventReason;
|
|
10
|
+
type CommitEventDetails = SliderRootCommitEventDetails;
|
|
11
|
+
}
|
|
12
|
+
export declare const Control: typeof H.Control;
|
|
13
|
+
export declare const Track: typeof H.Track;
|
|
14
|
+
export declare const Indicator: typeof H.Indicator;
|
|
15
|
+
export declare const Thumb: typeof H.Thumb;
|
|
16
|
+
export { Value } from "./index.parts.js";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import { cx } from "../_cx.js";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
const StyledRoot = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}, ref) => /*#__PURE__*/_jsx(H.Root, {
|
|
9
|
+
className: cx('tale-slider', className),
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props
|
|
12
|
+
}));
|
|
13
|
+
StyledRoot.displayName = 'Slider.Root';
|
|
14
|
+
export const Root = StyledRoot;
|
|
15
|
+
const StyledControl = /*#__PURE__*/React.forwardRef(({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}, ref) => /*#__PURE__*/_jsx(H.Control, {
|
|
19
|
+
className: cx('tale-slider__control', className),
|
|
20
|
+
ref: ref,
|
|
21
|
+
...props
|
|
22
|
+
}));
|
|
23
|
+
StyledControl.displayName = 'Slider.Control';
|
|
24
|
+
export const Control = StyledControl;
|
|
25
|
+
const StyledTrack = /*#__PURE__*/React.forwardRef(({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}, ref) => /*#__PURE__*/_jsx(H.Track, {
|
|
29
|
+
className: cx('tale-slider__track', className),
|
|
30
|
+
ref: ref,
|
|
31
|
+
...props
|
|
32
|
+
}));
|
|
33
|
+
StyledTrack.displayName = 'Slider.Track';
|
|
34
|
+
export const Track = StyledTrack;
|
|
35
|
+
const StyledIndicator = /*#__PURE__*/React.forwardRef(({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}, ref) => /*#__PURE__*/_jsx(H.Indicator, {
|
|
39
|
+
className: cx('tale-slider__indicator', className),
|
|
40
|
+
ref: ref,
|
|
41
|
+
...props
|
|
42
|
+
}));
|
|
43
|
+
StyledIndicator.displayName = 'Slider.Indicator';
|
|
44
|
+
export const Indicator = StyledIndicator;
|
|
45
|
+
const StyledThumb = /*#__PURE__*/React.forwardRef(({
|
|
46
|
+
className,
|
|
47
|
+
...props
|
|
48
|
+
}, ref) => /*#__PURE__*/_jsx(H.Thumb, {
|
|
49
|
+
className: cx('tale-slider__thumb', className),
|
|
50
|
+
ref: ref,
|
|
51
|
+
...props
|
|
52
|
+
}));
|
|
53
|
+
StyledThumb.displayName = 'Slider.Thumb';
|
|
54
|
+
export const Thumb = StyledThumb;
|
|
55
|
+
export { Value } from "./index.parts.js";
|
package/esm/slider/index.d.ts
CHANGED
package/esm/slider/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as Slider from "./
|
|
1
|
+
export * as Slider from "./Slider.styled.js";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<import("./index.js").SwitchRootProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
3
|
+
export declare const Thumb: React.ForwardRefExoticComponent<Omit<Omit<import("./index.js").SwitchThumbProps, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import { cx } from "../_cx.js";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
export const Root = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}, ref) => /*#__PURE__*/_jsx(H.Root, {
|
|
9
|
+
className: cx('tale-switch', className),
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props
|
|
12
|
+
}));
|
|
13
|
+
if (process.env.NODE_ENV !== "production") Root.displayName = "Root";
|
|
14
|
+
Root.displayName = 'Switch.Root';
|
|
15
|
+
export const Thumb = /*#__PURE__*/React.forwardRef(({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}, ref) => /*#__PURE__*/_jsx(H.Thumb, {
|
|
19
|
+
className: cx('tale-switch__thumb', className),
|
|
20
|
+
ref: ref,
|
|
21
|
+
...props
|
|
22
|
+
}));
|
|
23
|
+
if (process.env.NODE_ENV !== "production") Thumb.displayName = "Thumb";
|
|
24
|
+
Thumb.displayName = 'Switch.Thumb';
|
package/esm/switch/index.d.ts
CHANGED
package/esm/switch/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as Switch from "./
|
|
1
|
+
export * as Switch from "./Switch.styled.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as H from "./index.parts.js";
|
|
2
|
+
import type { TabsRootState, TabsRootProps, TabsRootOrientation, TabsRootChangeEventReason, TabsRootChangeEventDetails } from "./root/TabsRoot.js";
|
|
3
|
+
export declare const Root: typeof H.Root;
|
|
4
|
+
export declare namespace Root {
|
|
5
|
+
type State = TabsRootState;
|
|
6
|
+
type Props = TabsRootProps;
|
|
7
|
+
type Orientation = TabsRootOrientation;
|
|
8
|
+
type ChangeEventReason = TabsRootChangeEventReason;
|
|
9
|
+
type ChangeEventDetails = TabsRootChangeEventDetails;
|
|
10
|
+
}
|
|
11
|
+
export declare const List: typeof H.List;
|
|
12
|
+
export declare const Tab: typeof H.Tab;
|
|
13
|
+
export declare const Indicator: typeof H.Indicator;
|
|
14
|
+
export declare const Panel: typeof H.Panel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import { cx } from "../_cx.js";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
const StyledRoot = /*#__PURE__*/React.forwardRef(({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}, ref) => /*#__PURE__*/_jsx(H.Root, {
|
|
9
|
+
className: cx('tale-tabs', className),
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props
|
|
12
|
+
}));
|
|
13
|
+
StyledRoot.displayName = 'Tabs.Root';
|
|
14
|
+
export const Root = StyledRoot;
|
|
15
|
+
const StyledList = /*#__PURE__*/React.forwardRef(({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}, ref) => /*#__PURE__*/_jsx(H.List, {
|
|
19
|
+
className: cx('tale-tabs__list', className),
|
|
20
|
+
ref: ref,
|
|
21
|
+
...props
|
|
22
|
+
}));
|
|
23
|
+
StyledList.displayName = 'Tabs.List';
|
|
24
|
+
export const List = StyledList;
|
|
25
|
+
const StyledTab = /*#__PURE__*/React.forwardRef(({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}, ref) => /*#__PURE__*/_jsx(H.Tab, {
|
|
29
|
+
className: cx('tale-tabs__tab', className),
|
|
30
|
+
ref: ref,
|
|
31
|
+
...props
|
|
32
|
+
}));
|
|
33
|
+
StyledTab.displayName = 'Tabs.Tab';
|
|
34
|
+
export const Tab = StyledTab;
|
|
35
|
+
const StyledIndicator = /*#__PURE__*/React.forwardRef(({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}, ref) => /*#__PURE__*/_jsx(H.Indicator, {
|
|
39
|
+
className: cx('tale-tabs__indicator', className),
|
|
40
|
+
ref: ref,
|
|
41
|
+
...props
|
|
42
|
+
}));
|
|
43
|
+
StyledIndicator.displayName = 'Tabs.Indicator';
|
|
44
|
+
export const Indicator = StyledIndicator;
|
|
45
|
+
const StyledPanel = /*#__PURE__*/React.forwardRef(({
|
|
46
|
+
className,
|
|
47
|
+
...props
|
|
48
|
+
}, ref) => /*#__PURE__*/_jsx(H.Panel, {
|
|
49
|
+
className: cx('tale-tabs__panel', className),
|
|
50
|
+
ref: ref,
|
|
51
|
+
...props
|
|
52
|
+
}));
|
|
53
|
+
StyledPanel.displayName = 'Tabs.Panel';
|
|
54
|
+
export const Panel = StyledPanel;
|
package/esm/tabs/index.d.ts
CHANGED
package/esm/tabs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as Tabs from "./
|
|
1
|
+
export * as Tabs from "./Tabs.styled.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as H from "./index.parts.js";
|
|
3
|
+
import type { ToastRootToastObject, ToastRootState, ToastRootProps } from "./root/ToastRoot.js";
|
|
4
|
+
export declare const Provider: React.FC<import("./index.js").ToastProviderProps>;
|
|
5
|
+
export declare const Viewport: React.ForwardRefExoticComponent<Omit<import("./index.js").ToastViewportProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export declare const Portal: React.ForwardRefExoticComponent<Omit<import("../utils/FloatingPortalLite.js").FloatingPortalLite.Props<any>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export declare const Arrow: React.ForwardRefExoticComponent<Omit<import("./index.js").ToastArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export declare const useToastManager: typeof H.useToastManager;
|
|
9
|
+
export declare const createToastManager: typeof H.createToastManager;
|
|
10
|
+
export declare const Positioner: typeof H.Positioner;
|
|
11
|
+
export declare const Root: typeof H.Root;
|
|
12
|
+
export declare namespace Root {
|
|
13
|
+
type ToastObject<Data extends object = any> = ToastRootToastObject<Data>;
|
|
14
|
+
type State = ToastRootState;
|
|
15
|
+
type Props = ToastRootProps;
|
|
16
|
+
}
|
|
17
|
+
export declare const Content: typeof H.Content;
|
|
18
|
+
export declare const Title: typeof H.Title;
|
|
19
|
+
export declare const Description: typeof H.Description;
|
|
20
|
+
export declare const Close: typeof H.Close;
|
|
21
|
+
export declare const Action: typeof H.Action;
|