@skeletonlabs/skeleton-react 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/anatomy/item-content.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/modules/provider.js +2 -3
- package/dist/components/app-bar/anatomy/headline.d.ts +2 -2
- package/dist/components/app-bar/anatomy/lead.d.ts +2 -2
- package/dist/components/app-bar/anatomy/root.d.ts +2 -2
- package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -2
- package/dist/components/app-bar/anatomy/trail.d.ts +2 -2
- package/dist/components/avatar/anatomy/fallback.d.ts +2 -2
- package/dist/components/avatar/anatomy/image.d.ts +2 -2
- package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/avatar/modules/provider.js +2 -3
- package/dist/components/collapsible/anatomy/content.d.ts +2 -2
- package/dist/components/collapsible/anatomy/indicator.d.ts +2 -2
- package/dist/components/collapsible/anatomy/root-provider.d.ts +2 -2
- package/dist/components/collapsible/anatomy/root.d.ts +2 -2
- package/dist/components/collapsible/anatomy/trigger.d.ts +2 -2
- package/dist/components/collapsible/modules/provider.js +2 -3
- package/dist/components/combobox/anatomy/content.d.ts +2 -2
- package/dist/components/combobox/anatomy/control.d.ts +2 -2
- package/dist/components/combobox/anatomy/input.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-group-label.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-group-label.js +1 -2
- package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-text.d.ts +2 -2
- package/dist/components/combobox/anatomy/item.d.ts +2 -2
- package/dist/components/combobox/anatomy/label.d.ts +2 -2
- package/dist/components/combobox/anatomy/positioner.d.ts +2 -2
- package/dist/components/combobox/anatomy/root-provider.d.ts +2 -2
- package/dist/components/combobox/anatomy/root.d.ts +2 -2
- package/dist/components/combobox/anatomy/trigger.d.ts +2 -2
- package/dist/components/combobox/modules/provider.js +2 -3
- package/dist/components/date-picker/anatomy/content.d.ts +2 -2
- package/dist/components/date-picker/anatomy/control.d.ts +2 -2
- package/dist/components/date-picker/anatomy/input.d.ts +2 -2
- package/dist/components/date-picker/anatomy/label.d.ts +2 -2
- package/dist/components/date-picker/anatomy/month-select.d.ts +2 -2
- package/dist/components/date-picker/anatomy/next-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/positioner.d.ts +2 -2
- package/dist/components/date-picker/anatomy/preset-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/prev-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/range-text.d.ts +2 -2
- package/dist/components/date-picker/anatomy/root-provider.d.ts +2 -2
- package/dist/components/date-picker/anatomy/root.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-body.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-cell-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-cell.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-head.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-header.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-row.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table.d.ts +2 -2
- package/dist/components/date-picker/anatomy/trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/view-control.d.ts +2 -2
- package/dist/components/date-picker/anatomy/view-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/view.d.ts +2 -2
- package/dist/components/date-picker/anatomy/year-select.d.ts +2 -2
- package/dist/components/date-picker/modules/provider.js +2 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts +2 -2
- package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/dialog/anatomy/content.d.ts +2 -2
- package/dist/components/dialog/anatomy/description.d.ts +2 -2
- package/dist/components/dialog/anatomy/positioner.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/root.d.ts +2 -2
- package/dist/components/dialog/anatomy/title.d.ts +2 -2
- package/dist/components/dialog/anatomy/trigger.d.ts +2 -2
- package/dist/components/dialog/modules/provider.js +2 -3
- package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -2
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-group.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-name.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item.d.ts +2 -2
- package/dist/components/file-upload/anatomy/label.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/trigger.d.ts +2 -2
- package/dist/components/file-upload/modules/provider.js +2 -3
- package/dist/components/listbox/anatomy/content.d.ts +2 -2
- package/dist/components/listbox/anatomy/input.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-group-label.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-group-label.js +1 -2
- package/dist/components/listbox/anatomy/item-group.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-text.d.ts +2 -2
- package/dist/components/listbox/anatomy/item.d.ts +2 -2
- package/dist/components/listbox/anatomy/label.d.ts +2 -2
- package/dist/components/listbox/anatomy/root-provider.d.ts +2 -2
- package/dist/components/listbox/anatomy/root.d.ts +2 -2
- package/dist/components/listbox/modules/provider.js +2 -3
- package/dist/components/navigation/anatomy/content.d.ts +2 -2
- package/dist/components/navigation/anatomy/footer.d.ts +2 -2
- package/dist/components/navigation/anatomy/group.d.ts +2 -2
- package/dist/components/navigation/anatomy/header.d.ts +2 -2
- package/dist/components/navigation/anatomy/label.d.ts +2 -2
- package/dist/components/navigation/anatomy/menu.d.ts +2 -2
- package/dist/components/navigation/anatomy/root.d.ts +2 -2
- package/dist/components/pagination/anatomy/ellipsis.d.ts +2 -2
- package/dist/components/pagination/anatomy/item.d.ts +2 -2
- package/dist/components/pagination/anatomy/next-trigger.d.ts +2 -2
- package/dist/components/pagination/anatomy/prev-trigger.d.ts +2 -2
- package/dist/components/pagination/anatomy/root-provider.d.ts +2 -2
- package/dist/components/pagination/anatomy/root.d.ts +2 -2
- package/dist/components/pagination/modules/provider.js +2 -3
- package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/popover/anatomy/arrow.d.ts +2 -2
- package/dist/components/popover/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/popover/anatomy/content.d.ts +2 -2
- package/dist/components/popover/anatomy/description.d.ts +2 -2
- package/dist/components/popover/anatomy/positioner.d.ts +2 -2
- package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
- package/dist/components/popover/anatomy/root.d.ts +2 -2
- package/dist/components/popover/anatomy/title.d.ts +2 -2
- package/dist/components/popover/anatomy/trigger.d.ts +2 -2
- package/dist/components/popover/modules/provider.js +2 -3
- package/dist/components/portal/anatomy/root.d.ts +2 -2
- package/dist/components/progress/anatomy/circle-range.d.ts +2 -2
- package/dist/components/progress/anatomy/circle-track.d.ts +2 -2
- package/dist/components/progress/anatomy/circle.d.ts +2 -2
- package/dist/components/progress/anatomy/label.d.ts +2 -2
- package/dist/components/progress/anatomy/range.d.ts +2 -2
- package/dist/components/progress/anatomy/root-provider.d.ts +2 -2
- package/dist/components/progress/anatomy/root.d.ts +2 -2
- package/dist/components/progress/anatomy/track.d.ts +2 -2
- package/dist/components/progress/anatomy/value-text.d.ts +2 -2
- package/dist/components/progress/modules/provider.js +2 -3
- package/dist/components/rating-group/anatomy/control.d.ts +2 -2
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/rating-group/anatomy/item.d.ts +2 -2
- package/dist/components/rating-group/anatomy/label.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root.d.ts +2 -2
- package/dist/components/rating-group/modules/provider.js +2 -3
- package/dist/components/segmented-control/anatomy/control.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/label.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
- package/dist/components/segmented-control/modules/provider.js +2 -3
- package/dist/components/slider/anatomy/control.d.ts +2 -2
- package/dist/components/slider/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/slider/anatomy/label.d.ts +2 -2
- package/dist/components/slider/anatomy/marker-group.d.ts +2 -2
- package/dist/components/slider/anatomy/marker.d.ts +2 -2
- package/dist/components/slider/anatomy/range.d.ts +2 -2
- package/dist/components/slider/anatomy/root-provider.d.ts +2 -2
- package/dist/components/slider/anatomy/root.d.ts +2 -2
- package/dist/components/slider/anatomy/thumb.d.ts +2 -2
- package/dist/components/slider/anatomy/track.d.ts +2 -2
- package/dist/components/slider/anatomy/value-text.d.ts +2 -2
- package/dist/components/slider/modules/provider.js +2 -3
- package/dist/components/switch/anatomy/control.d.ts +2 -2
- package/dist/components/switch/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/switch/anatomy/label.d.ts +2 -2
- package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
- package/dist/components/switch/anatomy/root.d.ts +2 -2
- package/dist/components/switch/anatomy/thumb.d.ts +2 -2
- package/dist/components/switch/modules/provider.js +2 -3
- package/dist/components/tabs/anatomy/content.d.ts +2 -2
- package/dist/components/tabs/anatomy/indicator.d.ts +2 -2
- package/dist/components/tabs/anatomy/list.d.ts +2 -2
- package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tabs/anatomy/root.d.ts +2 -2
- package/dist/components/tabs/anatomy/trigger.d.ts +2 -2
- package/dist/components/tabs/modules/provider.js +2 -3
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -2
- package/dist/components/tags-input/anatomy/control.d.ts +2 -2
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-preview.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-text.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item.d.ts +2 -2
- package/dist/components/tags-input/anatomy/label.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root.d.ts +2 -2
- package/dist/components/tags-input/modules/provider.js +2 -3
- package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/description.d.ts +2 -2
- package/dist/components/toast/anatomy/group.d.ts +2 -2
- package/dist/components/toast/anatomy/message.d.ts +2 -2
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/root.js +2 -3
- package/dist/components/toast/anatomy/title.d.ts +2 -2
- package/dist/components/toggle-group/anatomy/item.d.ts +11 -0
- package/dist/components/toggle-group/anatomy/item.js +22 -0
- package/dist/components/toggle-group/anatomy/root-context.d.ts +11 -0
- package/dist/components/toggle-group/anatomy/root-context.js +13 -0
- package/dist/components/toggle-group/anatomy/root-provider.d.ts +13 -0
- package/dist/components/toggle-group/anatomy/root-provider.js +21 -0
- package/dist/components/toggle-group/anatomy/root.d.ts +11 -0
- package/dist/components/toggle-group/anatomy/root.js +25 -0
- package/dist/components/toggle-group/modules/anatomy.d.ts +14 -0
- package/dist/components/toggle-group/modules/anatomy.js +15 -0
- package/dist/components/toggle-group/modules/provider.d.ts +8 -0
- package/dist/components/toggle-group/modules/provider.js +15 -0
- package/dist/components/toggle-group/modules/root-context.js +8 -0
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow.d.ts +2 -2
- package/dist/components/tooltip/anatomy/content.d.ts +2 -2
- package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root.d.ts +2 -2
- package/dist/components/tooltip/anatomy/trigger.d.ts +2 -2
- package/dist/components/tooltip/modules/provider.js +2 -3
- package/dist/components/tree-view/anatomy/branch-content.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch-control.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch-indicator.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch-text.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch.d.ts +2 -2
- package/dist/components/tree-view/anatomy/item.d.ts +2 -2
- package/dist/components/tree-view/anatomy/label.d.ts +2 -2
- package/dist/components/tree-view/anatomy/node-provider.d.ts +2 -2
- package/dist/components/tree-view/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tree-view/anatomy/root.d.ts +2 -2
- package/dist/components/tree-view/anatomy/tree.d.ts +2 -2
- package/dist/components/tree-view/modules/provider.js +2 -3
- package/dist/index.d.ts +7 -1
- package/dist/index.js +3 -1
- package/dist/internal/components/calendar.js +11 -12
- package/dist/internal/components/check.js +11 -12
- package/dist/internal/components/chevron-down.js +11 -12
- package/dist/internal/components/chevron-left.js +11 -12
- package/dist/internal/components/chevron-right.js +11 -12
- package/dist/internal/components/star-empty.js +9 -10
- package/dist/internal/components/star-full.js +7 -8
- package/dist/internal/components/star-half.js +9 -10
- package/dist/internal/components/x.js +11 -12
- package/package.json +4 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/file-upload";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/root.d.ts
|
|
7
7
|
interface FileUploadRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id' | 'dir'> {}
|
|
8
|
-
declare function Root(props: FileUploadRootProps):
|
|
8
|
+
declare function Root(props: FileUploadRootProps): react_jsx_runtime17.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadRootProps, Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react55 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/trigger.d.ts
|
|
6
6
|
interface FileUploadTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function Trigger(props: FileUploadTriggerProps):
|
|
7
|
+
declare function Trigger(props: FileUploadTriggerProps): react55.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadTriggerProps, Trigger };
|
|
10
10
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/file-upload";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/modules/provider.ts
|
|
6
6
|
function useFileUpload(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react61 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/listbox/anatomy/content.d.ts
|
|
6
6
|
interface ListboxContentProps extends PropsWithElement<'ul'>, HTMLAttributes<'ul'> {}
|
|
7
|
-
declare function Content(props: ListboxContentProps):
|
|
7
|
+
declare function Content(props: ListboxContentProps): react61.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Content, ListboxContentProps };
|
|
10
10
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react57 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/listbox/anatomy/input.d.ts
|
|
6
6
|
interface ListboxInputProps extends PropsWithElement<'input'>, Omit<HTMLAttributes<'input'>, 'children'> {}
|
|
7
|
-
declare function Input(props: ListboxInputProps):
|
|
7
|
+
declare function Input(props: ListboxInputProps): react57.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Input, ListboxInputProps };
|
|
10
10
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react56 from "react";
|
|
4
4
|
import { ItemGroupLabelProps } from "@zag-js/listbox";
|
|
5
5
|
|
|
6
6
|
//#region src/components/listbox/anatomy/item-group-label.d.ts
|
|
7
7
|
interface ListboxItemGroupLabelProps extends Omit<ItemGroupLabelProps, 'htmlFor'>, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemGroupLabel(props: ListboxItemGroupLabelProps):
|
|
8
|
+
declare function ItemGroupLabel(props: ListboxItemGroupLabelProps): react56.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemGroupLabel, ListboxItemGroupLabelProps };
|
|
11
11
|
//# sourceMappingURL=item-group-label.d.ts.map
|
|
@@ -9,9 +9,8 @@ import { splitItemGroupLabelProps } from "@zag-js/listbox";
|
|
|
9
9
|
//#region src/components/listbox/anatomy/item-group-label.tsx
|
|
10
10
|
function ItemGroupLabel(props) {
|
|
11
11
|
const listbox = use(RootContext);
|
|
12
|
-
const itemGroupProps = use(ItemGroupContext);
|
|
13
12
|
const [itemGroupLabelProps, componentProps] = splitItemGroupLabelProps({
|
|
14
|
-
htmlFor:
|
|
13
|
+
htmlFor: use(ItemGroupContext).id,
|
|
15
14
|
...props
|
|
16
15
|
});
|
|
17
16
|
const { element, children,...rest } = componentProps;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
4
4
|
import { ItemGroupProps } from "@zag-js/listbox";
|
|
5
5
|
|
|
6
6
|
//#region src/components/listbox/anatomy/item-group.d.ts
|
|
7
7
|
interface ListboxItemGroupProps extends Omit<ItemGroupProps, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id'> {}
|
|
8
|
-
declare function ItemGroup(props: ListboxItemGroupProps):
|
|
8
|
+
declare function ItemGroup(props: ListboxItemGroupProps): react_jsx_runtime20.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemGroup, ListboxItemGroupProps };
|
|
11
11
|
//# sourceMappingURL=item-group.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react58 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/listbox/anatomy/item-indicator.d.ts
|
|
6
6
|
interface ListboxItemIndicatorProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function ItemIndicator(props: ListboxItemIndicatorProps):
|
|
7
|
+
declare function ItemIndicator(props: ListboxItemIndicatorProps): react58.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ItemIndicator, ListboxItemIndicatorProps };
|
|
10
10
|
//# sourceMappingURL=item-indicator.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react59 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/listbox/anatomy/item-text.d.ts
|
|
6
6
|
interface ListboxItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function ItemText(props: ListboxItemTextProps):
|
|
7
|
+
declare function ItemText(props: ListboxItemTextProps): react59.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ItemText, ListboxItemTextProps };
|
|
10
10
|
//# sourceMappingURL=item-text.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/listbox";
|
|
5
5
|
|
|
6
6
|
//#region src/components/listbox/anatomy/item.d.ts
|
|
7
7
|
interface ListboxItemProps extends ItemProps, PropsWithElement<'li'>, HTMLAttributes<'li'> {}
|
|
8
|
-
declare function Item(props: ListboxItemProps):
|
|
8
|
+
declare function Item(props: ListboxItemProps): react_jsx_runtime21.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, ListboxItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react60 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/listbox/anatomy/label.d.ts
|
|
6
6
|
interface ListboxLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
7
|
-
declare function Label(props: ListboxLabelProps):
|
|
7
|
+
declare function Label(props: ListboxLabelProps): react60.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Label, ListboxLabelProps };
|
|
10
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useListbox } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/listbox/anatomy/root-provider.d.ts
|
|
7
7
|
interface ListboxRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {
|
|
8
8
|
value: ReturnType<typeof useListbox>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: ListboxRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: ListboxRootProviderProps): react_jsx_runtime22.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ListboxRootProviderProps, RootProvider };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/listbox";
|
|
5
5
|
|
|
6
6
|
//#region src/components/listbox/anatomy/root.d.ts
|
|
7
7
|
interface ListboxRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {}
|
|
8
|
-
declare function Root(props: ListboxRootProps):
|
|
8
|
+
declare function Root(props: ListboxRootProps): react_jsx_runtime19.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ListboxRootProps, Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/listbox";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/listbox/modules/provider.ts
|
|
6
6
|
function useListbox(props) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react64 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/content.d.ts
|
|
6
6
|
interface NavigationContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function NavigationContent(props: NavigationContentProps):
|
|
7
|
+
declare function NavigationContent(props: NavigationContentProps): react64.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationContent, NavigationContentProps };
|
|
10
10
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react65 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/footer.d.ts
|
|
6
6
|
interface NavigationFooterProps extends PropsWithElement<'footer'>, HTMLAttributes<'footer'> {}
|
|
7
|
-
declare function NavigationFooter(props: NavigationFooterProps):
|
|
7
|
+
declare function NavigationFooter(props: NavigationFooterProps): react65.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationFooter, NavigationFooterProps };
|
|
10
10
|
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react66 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/group.d.ts
|
|
6
6
|
interface NavigationGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function NavigationGroup(props: NavigationGroupProps):
|
|
7
|
+
declare function NavigationGroup(props: NavigationGroupProps): react66.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationGroup, NavigationGroupProps };
|
|
10
10
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react63 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/header.d.ts
|
|
6
6
|
interface NavigationHeaderProps extends PropsWithElement<'header'>, HTMLAttributes<'header'> {}
|
|
7
|
-
declare function NavigationHeader(props: NavigationHeaderProps):
|
|
7
|
+
declare function NavigationHeader(props: NavigationHeaderProps): react63.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationHeader, NavigationHeaderProps };
|
|
10
10
|
//# sourceMappingURL=header.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react67 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/label.d.ts
|
|
6
6
|
interface NavigationLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function NavigationLabel(props: NavigationLabelProps):
|
|
7
|
+
declare function NavigationLabel(props: NavigationLabelProps): react67.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationLabel, NavigationLabelProps };
|
|
10
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react62 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/menu.d.ts
|
|
6
6
|
interface NavigationMenuProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function NavigationMenu(props: NavigationMenuProps):
|
|
7
|
+
declare function NavigationMenu(props: NavigationMenuProps): react62.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationMenu, NavigationMenuProps };
|
|
10
10
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/root.d.ts
|
|
6
6
|
interface NavigationRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {
|
|
@@ -11,7 +11,7 @@ interface NavigationRootProps extends PropsWithElement<'div'>, HTMLAttributes<'d
|
|
|
11
11
|
* */
|
|
12
12
|
layout?: 'bar' | 'rail' | 'sidebar';
|
|
13
13
|
}
|
|
14
|
-
declare function NavigationRoot(props: NavigationRootProps):
|
|
14
|
+
declare function NavigationRoot(props: NavigationRootProps): react_jsx_runtime23.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { NavigationRoot, NavigationRootProps };
|
|
17
17
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react68 from "react";
|
|
4
4
|
import { EllipsisProps } from "@zag-js/pagination";
|
|
5
5
|
|
|
6
6
|
//#region src/components/pagination/anatomy/ellipsis.d.ts
|
|
7
7
|
interface PaginationEllipsisProps extends EllipsisProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Ellipsis(props: PaginationEllipsisProps):
|
|
8
|
+
declare function Ellipsis(props: PaginationEllipsisProps): react68.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Ellipsis, PaginationEllipsisProps };
|
|
11
11
|
//# sourceMappingURL=ellipsis.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react71 from "react";
|
|
4
4
|
import { ItemProps } from "@zag-js/pagination";
|
|
5
5
|
|
|
6
6
|
//#region src/components/pagination/anatomy/item.d.ts
|
|
7
7
|
interface PaginationItemProps extends ItemProps, PropsWithElement<'a'>, HTMLAttributes<'a', 'type'> {}
|
|
8
|
-
declare function Item(props: PaginationItemProps):
|
|
8
|
+
declare function Item(props: PaginationItemProps): react71.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, PaginationItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react70 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination/anatomy/next-trigger.d.ts
|
|
6
6
|
interface PaginationNextTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function NextTrigger(props: PaginationNextTriggerProps):
|
|
7
|
+
declare function NextTrigger(props: PaginationNextTriggerProps): react70.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NextTrigger, PaginationNextTriggerProps };
|
|
10
10
|
//# sourceMappingURL=next-trigger.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react69 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination/anatomy/prev-trigger.d.ts
|
|
6
6
|
interface PaginationPrevTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function PrevTrigger(props: PaginationPrevTriggerProps):
|
|
7
|
+
declare function PrevTrigger(props: PaginationPrevTriggerProps): react69.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PaginationPrevTriggerProps, PrevTrigger };
|
|
10
10
|
//# sourceMappingURL=prev-trigger.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { usePagination } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/pagination/anatomy/root-provider.d.ts
|
|
7
7
|
interface PaginationRootProviderProps extends PropsWithElement<'nav'>, HTMLAttributes<'nav', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof usePagination>;
|
|
9
9
|
}
|
|
10
|
-
declare function PaginationRootProvider(props: PaginationRootProviderProps):
|
|
10
|
+
declare function PaginationRootProvider(props: PaginationRootProviderProps): react_jsx_runtime24.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { PaginationRootProvider, PaginationRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/pagination";
|
|
5
5
|
|
|
6
6
|
//#region src/components/pagination/anatomy/root.d.ts
|
|
7
7
|
interface PaginationRootProps extends Omit<Props, 'id'>, PropsWithElement<'nav'>, HTMLAttributes<'nav', 'id' | 'dir'> {}
|
|
8
|
-
declare function PaginationRoot(props: PaginationRootProps):
|
|
8
|
+
declare function PaginationRoot(props: PaginationRootProps): react_jsx_runtime25.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { PaginationRoot, PaginationRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/pagination";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination/modules/provider.ts
|
|
6
6
|
function usePagination(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react78 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/arrow-tip.d.ts
|
|
6
6
|
interface PopoverArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function ArrowTip(props: PopoverArrowTipProps):
|
|
7
|
+
declare function ArrowTip(props: PopoverArrowTipProps): react78.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ArrowTip, PopoverArrowTipProps };
|
|
10
10
|
//# sourceMappingURL=arrow-tip.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react77 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/arrow.d.ts
|
|
6
6
|
interface PopoverArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Arrow(props: PopoverArrowProps):
|
|
7
|
+
declare function Arrow(props: PopoverArrowProps): react77.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Arrow, PopoverArrowProps };
|
|
10
10
|
//# sourceMappingURL=arrow.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react72 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/close-trigger.d.ts
|
|
6
6
|
interface PopoverCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function CloseTrigger(props: PopoverCloseTriggerProps):
|
|
7
|
+
declare function CloseTrigger(props: PopoverCloseTriggerProps): react72.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CloseTrigger, PopoverCloseTriggerProps };
|
|
10
10
|
//# sourceMappingURL=close-trigger.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react73 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/content.d.ts
|
|
6
6
|
interface PopoverContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Content(props: PopoverContentProps):
|
|
7
|
+
declare function Content(props: PopoverContentProps): react73.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Content, PopoverContentProps };
|
|
10
10
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react74 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/description.d.ts
|
|
6
6
|
interface PopoverDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Description(props: PopoverDescriptionProps):
|
|
7
|
+
declare function Description(props: PopoverDescriptionProps): react74.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Description, PopoverDescriptionProps };
|
|
10
10
|
//# sourceMappingURL=description.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react75 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/positioner.d.ts
|
|
6
6
|
interface PopoverPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: PopoverPositionerProps):
|
|
7
|
+
declare function Positioner(props: PopoverPositionerProps): react75.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PopoverPositionerProps, Positioner };
|
|
10
10
|
//# sourceMappingURL=positioner.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { usePopover } from "../modules/provider.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/root-provider.d.ts
|
|
6
6
|
interface PopoverRootProviderProps extends PropsWithChildren {
|
|
7
7
|
value: ReturnType<typeof usePopover>;
|
|
8
8
|
}
|
|
9
|
-
declare function RootProvider(props: PopoverRootProviderProps):
|
|
9
|
+
declare function RootProvider(props: PopoverRootProviderProps): react_jsx_runtime27.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { PopoverRootProviderProps, RootProvider };
|
|
12
12
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
3
3
|
import { Props } from "@zag-js/popover";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/root.d.ts
|
|
6
6
|
interface PopoverRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
|
|
7
|
-
declare function Root(props: PopoverRootProps):
|
|
7
|
+
declare function Root(props: PopoverRootProps): react_jsx_runtime26.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PopoverRootProps, Root };
|
|
10
10
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react76 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/title.d.ts
|
|
6
6
|
interface PopoverTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Title(props: PopoverTitleProps):
|
|
7
|
+
declare function Title(props: PopoverTitleProps): react76.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PopoverTitleProps, Title };
|
|
10
10
|
//# sourceMappingURL=title.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react79 from "react";
|
|
3
4
|
import { PropsWithChildren } from "react";
|
|
4
|
-
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/anatomy/trigger.d.ts
|
|
7
7
|
interface PopoverTriggerProps extends PropsWithChildren, PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function Trigger(props: PopoverTriggerProps):
|
|
8
|
+
declare function Trigger(props: PopoverTriggerProps): react79.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { PopoverTriggerProps, Trigger };
|
|
11
11
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/popover";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/modules/provider.ts
|
|
6
6
|
function usePopover(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/portal/anatomy/root.d.ts
|
|
5
5
|
interface PortalRootProps extends Required<PropsWithChildren> {
|
|
@@ -16,7 +16,7 @@ interface PortalRootProps extends Required<PropsWithChildren> {
|
|
|
16
16
|
*/
|
|
17
17
|
target?: HTMLElement;
|
|
18
18
|
}
|
|
19
|
-
declare function Root(props: PortalRootProps):
|
|
19
|
+
declare function Root(props: PortalRootProps): react_jsx_runtime28.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { PortalRootProps, Root };
|
|
22
22
|
//# sourceMappingURL=root.d.ts.map
|