@skeletonlabs/skeleton-react 4.0.0-next.31 → 4.0.0-next.32
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/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/collapsible/anatomy/content.d.ts +10 -0
- package/dist/components/collapsible/anatomy/content.js +20 -0
- package/dist/components/collapsible/anatomy/indicator.d.ts +10 -0
- package/dist/components/collapsible/anatomy/indicator.js +20 -0
- package/dist/components/collapsible/anatomy/root-context.d.ts +11 -0
- package/dist/components/collapsible/anatomy/root-context.js +13 -0
- package/dist/components/collapsible/anatomy/root-provider.d.ts +13 -0
- package/dist/components/collapsible/anatomy/root-provider.js +21 -0
- package/dist/components/collapsible/anatomy/root.d.ts +11 -0
- package/dist/components/collapsible/anatomy/root.js +25 -0
- package/dist/components/collapsible/anatomy/trigger.d.ts +10 -0
- package/dist/components/collapsible/anatomy/trigger.js +20 -0
- package/dist/components/collapsible/modules/anatomy.d.ts +18 -0
- package/dist/components/collapsible/modules/anatomy.js +19 -0
- package/dist/components/collapsible/modules/provider.d.ts +8 -0
- package/dist/components/collapsible/modules/provider.js +16 -0
- package/dist/components/collapsible/modules/root-context.js +8 -0
- 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.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/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/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/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/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.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/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/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/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/track.d.ts +2 -2
- package/dist/components/progress/anatomy/value-text.d.ts +2 -2
- 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/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/label.d.ts +2 -2
- 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/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/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/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/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/title.d.ts +2 -2
- 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/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/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/index.d.ts +9 -1
- package/dist/index.js +3 -1
- package/package.json +3 -2
|
@@ -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 react5 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/headline.d.ts
|
|
6
6
|
interface AppBarHeadlineProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function AppBarHeadline(props: AppBarHeadlineProps):
|
|
7
|
+
declare function AppBarHeadline(props: AppBarHeadlineProps): react5.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarHeadline, AppBarHeadlineProps };
|
|
10
10
|
//# sourceMappingURL=headline.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 react4 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/lead.d.ts
|
|
6
6
|
interface AppBarLeadProps extends PropsWithElement<'nav'>, HTMLAttributes<'nav'> {}
|
|
7
|
-
declare function AppBarLead(props: AppBarLeadProps):
|
|
7
|
+
declare function AppBarLead(props: AppBarLeadProps): react4.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarLead, AppBarLeadProps };
|
|
10
10
|
//# sourceMappingURL=lead.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 react2 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/root.d.ts
|
|
6
6
|
interface AppBarRootProps extends PropsWithElement<'header'>, HTMLAttributes<'header'> {}
|
|
7
|
-
declare function AppBarRoot(props: AppBarRootProps):
|
|
7
|
+
declare function AppBarRoot(props: AppBarRootProps): react2.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarRoot, AppBarRootProps };
|
|
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 react3 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/toolbar.d.ts
|
|
6
6
|
interface AppBarToolbarProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function AppBarToolbar(props: AppBarToolbarProps):
|
|
7
|
+
declare function AppBarToolbar(props: AppBarToolbarProps): react3.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarToolbar, AppBarToolbarProps };
|
|
10
10
|
//# sourceMappingURL=toolbar.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 react6 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/trail.d.ts
|
|
6
6
|
interface AppBarTrailProps extends PropsWithElement<'nav'>, HTMLAttributes<'nav'> {}
|
|
7
|
-
declare function AppBarTrail(props: AppBarTrailProps):
|
|
7
|
+
declare function AppBarTrail(props: AppBarTrailProps): react6.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarTrail, AppBarTrailProps };
|
|
10
10
|
//# sourceMappingURL=trail.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 react7 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar/anatomy/fallback.d.ts
|
|
6
6
|
interface AvatarFallbackProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function Fallback(props: AvatarFallbackProps):
|
|
7
|
+
declare function Fallback(props: AvatarFallbackProps): react7.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AvatarFallbackProps, Fallback };
|
|
10
10
|
//# sourceMappingURL=fallback.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 react8 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar/anatomy/image.d.ts
|
|
6
6
|
interface AvatarImageProps extends PropsWithElement<'img'>, HTMLAttributes<'img', 'children'> {}
|
|
7
|
-
declare function Image(props: AvatarImageProps):
|
|
7
|
+
declare function Image(props: AvatarImageProps): react8.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AvatarImageProps, Image };
|
|
10
10
|
//# sourceMappingURL=image.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 { useAvatar } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/avatar/anatomy/root-provider.d.ts
|
|
7
7
|
interface AvatarRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useAvatar>;
|
|
9
9
|
}
|
|
10
|
-
declare function AvatarRootProvider(props: AvatarRootProviderProps):
|
|
10
|
+
declare function AvatarRootProvider(props: AvatarRootProviderProps): react_jsx_runtime3.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { AvatarRootProvider, AvatarRootProviderProps };
|
|
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_runtime2 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/avatar";
|
|
5
5
|
|
|
6
6
|
//#region src/components/avatar/anatomy/root.d.ts
|
|
7
7
|
interface AvatarRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
|
-
declare function AvatarRoot(props: AvatarRootProps):
|
|
8
|
+
declare function AvatarRoot(props: AvatarRootProps): react_jsx_runtime2.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AvatarRoot, AvatarRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react9 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/collapsible/anatomy/content.d.ts
|
|
6
|
+
interface CollapsibleContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function Content(props: CollapsibleContentProps): react9.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { CollapsibleContentProps, Content };
|
|
10
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesCollapsible } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/collapsible/anatomy/content.tsx
|
|
8
|
+
function Content(props) {
|
|
9
|
+
const collapsible = use(RootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(collapsible.getContentProps(), { className: classesCollapsible.content }, rest);
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Content as default };
|
|
20
|
+
//# sourceMappingURL=content.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react11 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/collapsible/anatomy/indicator.d.ts
|
|
6
|
+
interface CollapsibleIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function Indicator(props: CollapsibleIndicatorProps): react11.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { CollapsibleIndicatorProps, Indicator };
|
|
10
|
+
//# sourceMappingURL=indicator.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesCollapsible } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/collapsible/anatomy/indicator.tsx
|
|
8
|
+
function Indicator(props) {
|
|
9
|
+
const collapsible = use(RootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(collapsible.getIndicatorProps(), { className: classesCollapsible.indicator }, rest);
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Indicator as default };
|
|
20
|
+
//# sourceMappingURL=indicator.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useCollapsible } from "../modules/provider.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/collapsible/anatomy/root-context.d.ts
|
|
5
|
+
interface CollapsibleRootContextProps {
|
|
6
|
+
children: (collapsible: ReturnType<typeof useCollapsible>) => ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare function RootContext(props: CollapsibleRootContextProps): ReactNode;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { CollapsibleRootContextProps, RootContext };
|
|
11
|
+
//# sourceMappingURL=root-context.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/collapsible/anatomy/root-context.tsx
|
|
5
|
+
function RootContext$1(props) {
|
|
6
|
+
const collapsible = use(RootContext);
|
|
7
|
+
const { children } = props;
|
|
8
|
+
return children(collapsible);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { RootContext$1 as default };
|
|
13
|
+
//# sourceMappingURL=root-context.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import { useCollapsible } from "../modules/provider.js";
|
|
4
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/collapsible/anatomy/root-provider.d.ts
|
|
7
|
+
interface CollapsibleRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
|
+
value: ReturnType<typeof useCollapsible>;
|
|
9
|
+
}
|
|
10
|
+
declare function CollapsibleRootProvider(props: CollapsibleRootProviderProps): react_jsx_runtime5.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { CollapsibleRootProvider, CollapsibleRootProviderProps };
|
|
13
|
+
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { mergeProps } from "@zag-js/react";
|
|
3
|
+
import { classesCollapsible } from "@skeletonlabs/skeleton-common";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/collapsible/anatomy/root-provider.tsx
|
|
7
|
+
function CollapsibleRootProvider(props) {
|
|
8
|
+
const { element, children, value: collapsible,...rest } = props;
|
|
9
|
+
const attributes = mergeProps(collapsible.getRootProps(), { className: classesCollapsible.root }, rest);
|
|
10
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
11
|
+
value: collapsible,
|
|
12
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { CollapsibleRootProvider as default };
|
|
21
|
+
//# sourceMappingURL=root-provider.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
4
|
+
import { Props } from "@zag-js/collapsible";
|
|
5
|
+
|
|
6
|
+
//#region src/components/collapsible/anatomy/root.d.ts
|
|
7
|
+
interface CollapsibleRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
|
+
declare function CollapsibleRoot(props: CollapsibleRootProps): react_jsx_runtime4.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { CollapsibleRoot, CollapsibleRootProps };
|
|
11
|
+
//# sourceMappingURL=root.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { useCollapsible } from "../modules/provider.js";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesCollapsible } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { splitProps } from "@zag-js/collapsible";
|
|
7
|
+
|
|
8
|
+
//#region src/components/collapsible/anatomy/root.tsx
|
|
9
|
+
function CollapsibleRoot(props) {
|
|
10
|
+
const [collapsibleProps, componentProps] = splitProps(props);
|
|
11
|
+
const { element, children,...rest } = componentProps;
|
|
12
|
+
const collapsible = useCollapsible(collapsibleProps);
|
|
13
|
+
const attributes = mergeProps(collapsible.getRootProps(), { className: classesCollapsible.root }, rest);
|
|
14
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
15
|
+
value: collapsible,
|
|
16
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
|
+
...attributes,
|
|
18
|
+
children
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { CollapsibleRoot as default };
|
|
25
|
+
//# sourceMappingURL=root.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react10 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/collapsible/anatomy/trigger.d.ts
|
|
6
|
+
interface CollapsibleTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
+
declare function Trigger(props: CollapsibleTriggerProps): react10.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { CollapsibleTriggerProps, Trigger };
|
|
10
|
+
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesCollapsible } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/collapsible/anatomy/trigger.tsx
|
|
8
|
+
function Trigger(props) {
|
|
9
|
+
const collapsible = use(RootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(collapsible.getTriggerProps(), { className: classesCollapsible.trigger }, rest);
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Trigger as default };
|
|
20
|
+
//# sourceMappingURL=trigger.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Content } from "../anatomy/content.js";
|
|
2
|
+
import { CollapsibleRoot } from "../anatomy/root.js";
|
|
3
|
+
import { RootContext } from "../anatomy/root-context.js";
|
|
4
|
+
import { CollapsibleRootProvider } from "../anatomy/root-provider.js";
|
|
5
|
+
import { Trigger } from "../anatomy/trigger.js";
|
|
6
|
+
import { Indicator } from "../anatomy/indicator.js";
|
|
7
|
+
|
|
8
|
+
//#region src/components/collapsible/modules/anatomy.d.ts
|
|
9
|
+
declare const Collapsible: typeof CollapsibleRoot & {
|
|
10
|
+
Provider: typeof CollapsibleRootProvider;
|
|
11
|
+
Context: typeof RootContext;
|
|
12
|
+
Trigger: typeof Trigger;
|
|
13
|
+
Indicator: typeof Indicator;
|
|
14
|
+
Content: typeof Content;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { Collapsible };
|
|
18
|
+
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Content from "../anatomy/content.js";
|
|
2
|
+
import Indicator from "../anatomy/indicator.js";
|
|
3
|
+
import CollapsibleRoot from "../anatomy/root.js";
|
|
4
|
+
import RootContext from "../anatomy/root-context.js";
|
|
5
|
+
import CollapsibleRootProvider from "../anatomy/root-provider.js";
|
|
6
|
+
import Trigger from "../anatomy/trigger.js";
|
|
7
|
+
|
|
8
|
+
//#region src/components/collapsible/modules/anatomy.ts
|
|
9
|
+
const Collapsible = Object.assign(CollapsibleRoot, {
|
|
10
|
+
Provider: CollapsibleRootProvider,
|
|
11
|
+
Context: RootContext,
|
|
12
|
+
Trigger,
|
|
13
|
+
Indicator,
|
|
14
|
+
Content
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { Collapsible };
|
|
19
|
+
//# sourceMappingURL=anatomy.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropTypes } from "@zag-js/react";
|
|
2
|
+
import { Api, Props } from "@zag-js/collapsible";
|
|
3
|
+
|
|
4
|
+
//#region src/components/collapsible/modules/provider.d.ts
|
|
5
|
+
declare function useCollapsible(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { useCollapsible };
|
|
8
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useId } from "react";
|
|
2
|
+
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
3
|
+
import { connect, machine } from "@zag-js/collapsible";
|
|
4
|
+
|
|
5
|
+
//#region src/components/collapsible/modules/provider.ts
|
|
6
|
+
function useCollapsible(props = {}) {
|
|
7
|
+
const service = useMachine(machine, {
|
|
8
|
+
id: useId(),
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
return connect(service, normalizeProps);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { useCollapsible };
|
|
16
|
+
//# sourceMappingURL=provider.js.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 react12 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/anatomy/content.d.ts
|
|
6
6
|
interface ComboboxContentProps extends PropsWithElement<'ul'>, HTMLAttributes<'ul'> {}
|
|
7
|
-
declare function Content(props: ComboboxContentProps):
|
|
7
|
+
declare function Content(props: ComboboxContentProps): react12.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ComboboxContentProps, Content };
|
|
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 react13 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/anatomy/control.d.ts
|
|
6
6
|
interface ComboboxControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Control(props: ComboboxControlProps):
|
|
7
|
+
declare function Control(props: ComboboxControlProps): react13.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ComboboxControlProps, Control };
|
|
10
10
|
//# sourceMappingURL=control.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 react14 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/anatomy/input.d.ts
|
|
6
6
|
interface ComboboxInputProps extends PropsWithElement<'input'>, Omit<HTMLAttributes<'input'>, 'children'> {}
|
|
7
|
-
declare function Input(props: ComboboxInputProps):
|
|
7
|
+
declare function Input(props: ComboboxInputProps): react14.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ComboboxInputProps, Input };
|
|
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 react15 from "react";
|
|
4
4
|
import { ItemGroupLabelProps } from "@zag-js/combobox";
|
|
5
5
|
|
|
6
6
|
//#region src/components/combobox/anatomy/item-group-label.d.ts
|
|
7
7
|
interface ComboboxItemGroupLabelProps extends Omit<ItemGroupLabelProps, 'htmlFor'>, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemGroupLabel(props: ComboboxItemGroupLabelProps):
|
|
8
|
+
declare function ItemGroupLabel(props: ComboboxItemGroupLabelProps): react15.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComboboxItemGroupLabelProps, ItemGroupLabel };
|
|
11
11
|
//# sourceMappingURL=item-group-label.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_runtime7 from "react/jsx-runtime";
|
|
4
4
|
import { ItemGroupProps } from "@zag-js/combobox";
|
|
5
5
|
|
|
6
6
|
//#region src/components/combobox/anatomy/item-group.d.ts
|
|
7
7
|
interface ComboboxItemGroupProps extends Omit<ItemGroupProps, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id'> {}
|
|
8
|
-
declare function ItemGroup(props: ComboboxItemGroupProps):
|
|
8
|
+
declare function ItemGroup(props: ComboboxItemGroupProps): react_jsx_runtime7.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComboboxItemGroupProps, ItemGroup };
|
|
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 react16 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/anatomy/item-indicator.d.ts
|
|
6
6
|
interface ComboboxItemIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function ItemIndicator(props: ComboboxItemIndicatorProps):
|
|
7
|
+
declare function ItemIndicator(props: ComboboxItemIndicatorProps): react16.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ComboboxItemIndicatorProps, ItemIndicator };
|
|
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 react17 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/anatomy/item-text.d.ts
|
|
6
6
|
interface ComboboxItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function ItemText(props: ComboboxItemTextProps):
|
|
7
|
+
declare function ItemText(props: ComboboxItemTextProps): react17.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ComboboxItemTextProps, ItemText };
|
|
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_runtime6 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/combobox";
|
|
5
5
|
|
|
6
6
|
//#region src/components/combobox/anatomy/item.d.ts
|
|
7
7
|
interface ComboboxItemProps extends ItemProps, PropsWithElement<'li'>, HTMLAttributes<'li'> {}
|
|
8
|
-
declare function Item(props: ComboboxItemProps):
|
|
8
|
+
declare function Item(props: ComboboxItemProps): react_jsx_runtime6.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComboboxItemProps, Item };
|
|
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 react18 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/anatomy/label.d.ts
|
|
6
6
|
interface ComboboxLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
7
|
-
declare function Label(props: ComboboxLabelProps):
|
|
7
|
+
declare function Label(props: ComboboxLabelProps): react18.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ComboboxLabelProps, Label };
|
|
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 react19 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/anatomy/positioner.d.ts
|
|
6
6
|
interface ComboboxPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: ComboboxPositionerProps):
|
|
7
|
+
declare function Positioner(props: ComboboxPositionerProps): react19.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ComboboxPositionerProps, Positioner };
|
|
10
10
|
//# sourceMappingURL=positioner.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 { useCombobox } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/combobox/anatomy/root-provider.d.ts
|
|
7
7
|
interface ComboboxRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {
|
|
8
8
|
value: ReturnType<typeof useCombobox>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: ComboboxRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: ComboboxRootProviderProps): react_jsx_runtime9.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ComboboxRootProviderProps, 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_runtime8 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/combobox";
|
|
5
5
|
|
|
6
6
|
//#region src/components/combobox/anatomy/root.d.ts
|
|
7
7
|
interface ComboboxRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {}
|
|
8
|
-
declare function Root(props: ComboboxRootProps):
|
|
8
|
+
declare function Root(props: ComboboxRootProps): react_jsx_runtime8.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComboboxRootProps, 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 react20 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/anatomy/trigger.d.ts
|
|
6
6
|
interface ComboboxTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function Trigger(props: ComboboxTriggerProps):
|
|
7
|
+
declare function Trigger(props: ComboboxTriggerProps): react20.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ComboboxTriggerProps, Trigger };
|
|
10
10
|
//# sourceMappingURL=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 react21 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/date-picker/anatomy/content.d.ts
|
|
6
6
|
interface DatePickerContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Content(props: DatePickerContentProps):
|
|
7
|
+
declare function Content(props: DatePickerContentProps): react21.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Content, DatePickerContentProps };
|
|
10
10
|
//# sourceMappingURL=content.d.ts.map
|