@skeletonlabs/skeleton-react 2.0.0-next.7 → 2.0.0-next.8
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 +3 -3
- package/dist/components/accordion/anatomy/item-heading.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.d.ts +3 -3
- 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/avatar/anatomy/fallback.d.ts +3 -3
- package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/image.d.ts +3 -3
- package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/backdrop.d.ts +3 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/content.d.ts +3 -3
- package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/description.d.ts +3 -3
- package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/positioner.d.ts +3 -3
- package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
- 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 +3 -3
- package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/trigger.d.ts +3 -3
- package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.d.ts +3 -3
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-group.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-name.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item.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 +3 -3
- package/dist/components/popover/anatomy/arrow-tip.d.ts +3 -3
- package/dist/components/popover/anatomy/arrow.d.ts +3 -3
- package/dist/components/popover/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/content.d.ts +3 -3
- package/dist/components/popover/anatomy/description.d.ts +3 -3
- 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 +3 -3
- package/dist/components/popover/anatomy/trigger.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/label.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/range.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/root.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/track.d.ts +3 -3
- package/dist/components/rating-group/anatomy/control.d.ts +3 -3
- package/dist/components/rating-group/anatomy/control.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/rating-group/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/item.d.ts +3 -3
- package/dist/components/rating-group/anatomy/item.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/label.d.ts +3 -3
- package/dist/components/rating-group/anatomy/label.d.ts.map +1 -1
- 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/segmented-control/anatomy/indicator.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/indicator.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/indicator.js +17 -0
- package/dist/components/segmented-control/anatomy/indicator.js.map +1 -0
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/item-hidden-input.js +19 -0
- package/dist/components/segmented-control/anatomy/item-hidden-input.js.map +1 -0
- package/dist/components/segmented-control/anatomy/item-text.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/item-text.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/item-text.js +22 -0
- package/dist/components/segmented-control/anatomy/item-text.js.map +1 -0
- package/dist/components/segmented-control/anatomy/item.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/item.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/item.js +26 -0
- package/dist/components/segmented-control/anatomy/item.js.map +1 -0
- package/dist/components/segmented-control/anatomy/root-context.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/root-context.js +13 -0
- package/dist/components/segmented-control/anatomy/root-context.js.map +1 -0
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +13 -0
- package/dist/components/segmented-control/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/root-provider.js +21 -0
- package/dist/components/segmented-control/anatomy/root-provider.js.map +1 -0
- package/dist/components/segmented-control/anatomy/root.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/root.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/root.js +25 -0
- package/dist/components/segmented-control/anatomy/root.js.map +1 -0
- package/dist/components/segmented-control/index.js +4 -0
- package/dist/components/segmented-control/modules/anatomy.d.ts +20 -0
- package/dist/components/segmented-control/modules/anatomy.d.ts.map +1 -0
- package/dist/components/segmented-control/modules/anatomy.js +21 -0
- package/dist/components/segmented-control/modules/anatomy.js.map +1 -0
- package/dist/components/segmented-control/modules/item-context.js +8 -0
- package/dist/components/segmented-control/modules/item-context.js.map +1 -0
- package/dist/components/segmented-control/modules/root-context.js +8 -0
- package/dist/components/segmented-control/modules/root-context.js.map +1 -0
- package/dist/components/segmented-control/modules/use-segmented-control.d.ts +8 -0
- package/dist/components/segmented-control/modules/use-segmented-control.d.ts.map +1 -0
- package/dist/components/segmented-control/modules/use-segmented-control.js +17 -0
- package/dist/components/segmented-control/modules/use-segmented-control.js.map +1 -0
- package/dist/components/switch/anatomy/control.d.ts +3 -3
- package/dist/components/switch/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/switch/anatomy/label.d.ts +3 -3
- 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 +3 -3
- package/dist/components/tabs/anatomy/content.d.ts +3 -3
- package/dist/components/tabs/anatomy/indicator.d.ts +3 -3
- package/dist/components/tabs/anatomy/list.d.ts +3 -3
- 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 +3 -3
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/control.d.ts +3 -3
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-preview.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-text.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item.d.ts +2 -2
- package/dist/components/tags-input/anatomy/label.d.ts +3 -3
- 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 +3 -3
- package/dist/components/toast/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/toast/anatomy/description.d.ts +3 -3
- package/dist/components/toast/anatomy/group.d.ts +2 -2
- package/dist/components/toast/anatomy/message.d.ts +3 -3
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/title.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/content.d.ts +3 -3
- package/dist/components/tooltip/anatomy/content.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
- package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -1
- 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 +3 -3
- package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +4 -1
- package/dist/node_modules/.pnpm/@zag-js_anatomy@1.24.1/node_modules/@zag-js/anatomy/dist/index.js +24 -0
- package/dist/node_modules/.pnpm/@zag-js_anatomy@1.24.1/node_modules/@zag-js/anatomy/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@zag-js_core@1.24.1/node_modules/@zag-js/core/dist/index.js +27 -0
- package/dist/node_modules/.pnpm/@zag-js_core@1.24.1/node_modules/@zag-js/core/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@zag-js_dom-query@1.24.1/node_modules/@zag-js/dom-query/dist/index.js +143 -0
- package/dist/node_modules/.pnpm/@zag-js_dom-query@1.24.1/node_modules/@zag-js/dom-query/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@zag-js_focus-visible@1.24.1/node_modules/@zag-js/focus-visible/dist/index.js +150 -0
- package/dist/node_modules/.pnpm/@zag-js_focus-visible@1.24.1/node_modules/@zag-js/focus-visible/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@zag-js_radio-group@1.24.1/node_modules/@zag-js/radio-group/dist/index.js +421 -0
- package/dist/node_modules/.pnpm/@zag-js_radio-group@1.24.1/node_modules/@zag-js/radio-group/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@zag-js_types@1.24.1/node_modules/@zag-js/types/dist/index.js +6 -0
- package/dist/node_modules/.pnpm/@zag-js_types@1.24.1/node_modules/@zag-js/types/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@zag-js_utils@1.24.1/node_modules/@zag-js/utils/dist/index.js +22 -0
- package/dist/node_modules/.pnpm/@zag-js_utils@1.24.1/node_modules/@zag-js/utils/dist/index.js.map +1 -0
- package/package.json +3 -2
|
@@ -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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react142 from "react";
|
|
4
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/item-text.d.ts
|
|
7
7
|
interface TagsInputItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function ItemText(props: TagsInputItemTextProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemText(props: TagsInputItemTextProps): string | number | bigint | boolean | Iterable<react142.ReactNode> | Promise<string | number | bigint | boolean | react142.ReactPortal | react142.ReactElement<unknown, string | react142.JSXElementConstructor<any>> | Iterable<react142.ReactNode> | null | undefined> | react_jsx_runtime43.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemText, TagsInputItemTextProps };
|
|
11
11
|
//# 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_runtime39 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/tags-input";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/item.d.ts
|
|
7
7
|
interface TagsInputItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Item(props: TagsInputItemProps):
|
|
8
|
+
declare function Item(props: TagsInputItemProps): react_jsx_runtime39.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, TagsInputItemProps };
|
|
11
11
|
//# sourceMappingURL=item.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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react147 from "react";
|
|
4
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/label.d.ts
|
|
7
7
|
interface TagsInputLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
-
declare function Label(props: TagsInputLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: TagsInputLabelProps): string | number | bigint | boolean | Iterable<react147.ReactNode> | Promise<string | number | bigint | boolean | react147.ReactPortal | react147.ReactElement<unknown, string | react147.JSXElementConstructor<any>> | Iterable<react147.ReactNode> | null | undefined> | react_jsx_runtime44.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, TagsInputLabelProps };
|
|
11
11
|
//# 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 { useTagsInput } from "../modules/use-tags-input.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/root-provider.d.ts
|
|
7
7
|
interface TagsInputRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useTagsInput>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: TagsInputRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: TagsInputRootProviderProps): react_jsx_runtime46.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TagsInputRootProviderProps };
|
|
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_runtime45 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/tags-input";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/root.d.ts
|
|
7
7
|
interface TagsInputRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: TagsInputRootProps):
|
|
8
|
+
declare function Root(props: TagsInputRootProps): react_jsx_runtime45.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TagsInputRootProps };
|
|
11
11
|
//# 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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react297 from "react";
|
|
4
|
+
import * as react_jsx_runtime91 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/action-trigger.d.ts
|
|
7
7
|
interface ToastActionTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ActionTrigger(props: ToastActionTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ActionTrigger(props: ToastActionTriggerProps): string | number | bigint | boolean | Iterable<react297.ReactNode> | Promise<string | number | bigint | boolean | react297.ReactPortal | react297.ReactElement<unknown, string | react297.JSXElementConstructor<any>> | Iterable<react297.ReactNode> | null | undefined> | react_jsx_runtime91.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ActionTrigger };
|
|
11
11
|
//# sourceMappingURL=action-trigger.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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react172 from "react";
|
|
4
|
+
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/close-trigger.d.ts
|
|
7
7
|
interface ToastCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function CloseTrigger(props: ToastCloseTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function CloseTrigger(props: ToastCloseTriggerProps): string | number | bigint | boolean | Iterable<react172.ReactNode> | Promise<string | number | bigint | boolean | react172.ReactPortal | react172.ReactElement<unknown, string | react172.JSXElementConstructor<any>> | Iterable<react172.ReactNode> | null | undefined> | react_jsx_runtime52.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CloseTrigger, ToastCloseTriggerProps };
|
|
11
11
|
//# sourceMappingURL=close-trigger.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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react177 from "react";
|
|
4
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/description.d.ts
|
|
7
7
|
interface ToastDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Description(props: ToastDescriptionProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Description(props: ToastDescriptionProps): string | number | bigint | boolean | Iterable<react177.ReactNode> | Promise<string | number | bigint | boolean | react177.ReactPortal | react177.ReactElement<unknown, string | react177.JSXElementConstructor<any>> | Iterable<react177.ReactNode> | null | undefined> | react_jsx_runtime53.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Description, ToastDescriptionProps };
|
|
11
11
|
//# sourceMappingURL=description.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { JSX } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
5
5
|
import { Props, Store } from "@zag-js/toast";
|
|
6
6
|
|
|
7
7
|
//#region src/components/toast/anatomy/group.d.ts
|
|
@@ -9,7 +9,7 @@ interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div',
|
|
|
9
9
|
toaster: Store;
|
|
10
10
|
children?: (toast: Props) => JSX.Element | null;
|
|
11
11
|
}
|
|
12
|
-
declare function Group(props: ToastGroupProps):
|
|
12
|
+
declare function Group(props: ToastGroupProps): react_jsx_runtime54.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Group, ToastGroupProps };
|
|
15
15
|
//# sourceMappingURL=group.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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react182 from "react";
|
|
4
|
+
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/message.d.ts
|
|
7
7
|
interface ToastMessageProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Message(props: ToastMessageProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Message(props: ToastMessageProps): string | number | bigint | boolean | Iterable<react182.ReactNode> | Promise<string | number | bigint | boolean | react182.ReactPortal | react182.ReactElement<unknown, string | react182.JSXElementConstructor<any>> | Iterable<react182.ReactNode> | null | undefined> | react_jsx_runtime55.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Message, ToastMessageProps };
|
|
11
11
|
//# sourceMappingURL=message.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
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime56 from "react/jsx-runtime";
|
|
4
4
|
import { Options } from "@zag-js/toast";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/root.d.ts
|
|
7
7
|
interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
toast: Omit<Options, 'id' | 'parent'>;
|
|
9
9
|
}
|
|
10
|
-
declare function Root(props: ToastRootProps):
|
|
10
|
+
declare function Root(props: ToastRootProps): react_jsx_runtime56.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Root, ToastRootProps };
|
|
13
13
|
//# 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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react187 from "react";
|
|
4
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/title.d.ts
|
|
7
7
|
interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Title(props: ToastTitleProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Title(props: ToastTitleProps): string | number | bigint | boolean | Iterable<react187.ReactNode> | Promise<string | number | bigint | boolean | react187.ReactPortal | react187.ReactElement<unknown, string | react187.JSXElementConstructor<any>> | Iterable<react187.ReactNode> | null | undefined> | react_jsx_runtime57.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Title, ToastTitleProps };
|
|
11
11
|
//# 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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react24 from "react";
|
|
4
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/anatomy/arrow-tip.d.ts
|
|
7
7
|
interface TooltipArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ArrowTip(props: TooltipArrowTipProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ArrowTip(props: TooltipArrowTipProps): string | number | bigint | boolean | Iterable<react24.ReactNode> | Promise<string | number | bigint | boolean | react24.ReactPortal | react24.ReactElement<unknown, string | react24.JSXElementConstructor<any>> | Iterable<react24.ReactNode> | null | undefined> | react_jsx_runtime7.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ArrowTip, TooltipArrowTipProps };
|
|
11
11
|
//# sourceMappingURL=arrow-tip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-tip.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow-tip.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,QAAA,QAAgB,4DAAoB,SAAA,
|
|
1
|
+
{"version":3,"file":"arrow-tip.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow-tip.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,QAAA,QAAgB,4DAAoB,SAAA,OAAA,CAAA,SAAA,IAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA,OAAA,CAAA,SAAA,wBAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react19 from "react";
|
|
4
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/anatomy/arrow.d.ts
|
|
7
7
|
interface TooltipArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Arrow(props: TooltipArrowProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Arrow(props: TooltipArrowProps): string | number | bigint | boolean | Iterable<react19.ReactNode> | Promise<string | number | bigint | boolean | react19.ReactPortal | react19.ReactElement<unknown, string | react19.JSXElementConstructor<any>> | Iterable<react19.ReactNode> | null | undefined> | react_jsx_runtime6.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Arrow, TooltipArrowProps };
|
|
11
11
|
//# sourceMappingURL=arrow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,yDAAiB,SAAA,
|
|
1
|
+
{"version":3,"file":"arrow.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,yDAAiB,SAAA,OAAA,CAAA,SAAA,IAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA,OAAA,CAAA,SAAA,wBAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react29 from "react";
|
|
4
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/anatomy/content.d.ts
|
|
7
7
|
interface TooltipContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Content(props: TooltipContentProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Content(props: TooltipContentProps): string | number | bigint | boolean | Iterable<react29.ReactNode> | Promise<string | number | bigint | boolean | react29.ReactPortal | react29.ReactElement<unknown, string | react29.JSXElementConstructor<any>> | Iterable<react29.ReactNode> | null | undefined> | react_jsx_runtime8.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Content, TooltipContentProps };
|
|
11
11
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/content.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,yBAAyB;iBAE9C,OAAA,QAAe,2DAAmB,SAAA,
|
|
1
|
+
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/content.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,yBAAyB;iBAE9C,OAAA,QAAe,2DAAmB,SAAA,OAAA,CAAA,SAAA,IAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA,OAAA,CAAA,SAAA,wBAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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 react_jsx_runtime9 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/positioner.d.ts
|
|
6
6
|
interface TooltipPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: TooltipPositionerProps):
|
|
7
|
+
declare function Positioner(props: TooltipPositionerProps): react_jsx_runtime9.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Positioner, TooltipPositionerProps };
|
|
10
10
|
//# sourceMappingURL=positioner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positioner.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/positioner.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,yBAAyB;iBAEjD,UAAA,QAAkB,yBAAsB,
|
|
1
|
+
{"version":3,"file":"positioner.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/positioner.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,yBAAyB;iBAEjD,UAAA,QAAkB,yBAAsB,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useTooltip } from "../modules/use-tooltip.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/root-provider.d.ts
|
|
6
6
|
interface TooltipRootProviderProps extends PropsWithChildren {
|
|
7
7
|
value: ReturnType<typeof useTooltip>;
|
|
8
8
|
}
|
|
9
|
-
declare function RootProvider(props: TooltipRootProviderProps):
|
|
9
|
+
declare function RootProvider(props: TooltipRootProviderProps): react_jsx_runtime11.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { RootProvider, TooltipRootProviderProps };
|
|
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_runtime10 from "react/jsx-runtime";
|
|
3
3
|
import { Props } from "@zag-js/tooltip";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/root.d.ts
|
|
6
6
|
interface TooltipRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
|
|
7
|
-
declare function Root(props: TooltipRootProps):
|
|
7
|
+
declare function Root(props: TooltipRootProps): react_jsx_runtime10.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Root, TooltipRootProps };
|
|
10
10
|
//# 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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react34 from "react";
|
|
4
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/anatomy/trigger.d.ts
|
|
7
7
|
interface TooltipTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function Trigger(props: TooltipTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Trigger(props: TooltipTriggerProps): string | number | bigint | boolean | Iterable<react34.ReactNode> | Promise<string | number | bigint | boolean | react34.ReactPortal | react34.ReactElement<unknown, string | react34.JSXElementConstructor<any>> | Iterable<react34.ReactNode> | null | undefined> | react_jsx_runtime12.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { TooltipTriggerProps, Trigger };
|
|
11
11
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,4BAA4B;iBAEjD,OAAA,QAAe,2DAAmB,SAAA,
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,4BAA4B;iBAEjD,OAAA,QAAe,2DAAmB,SAAA,OAAA,CAAA,SAAA,IAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA,OAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -68,6 +68,15 @@ import { useRatingGroup } from "./components/rating-group/modules/use-rating-gro
|
|
|
68
68
|
import { RatingGroupRootContextProps } from "./components/rating-group/anatomy/root-context.js";
|
|
69
69
|
import { RatingGroupRootProviderProps } from "./components/rating-group/anatomy/root-provider.js";
|
|
70
70
|
import { RatingGroup } from "./components/rating-group/modules/anatomy.js";
|
|
71
|
+
import { SegmentedControlIndicatorProps } from "./components/segmented-control/anatomy/indicator.js";
|
|
72
|
+
import { SegmentedControlItemProps } from "./components/segmented-control/anatomy/item.js";
|
|
73
|
+
import { SegmentedControlItemHiddenInputProps } from "./components/segmented-control/anatomy/item-hidden-input.js";
|
|
74
|
+
import { SegmentedControlItemTextProps } from "./components/segmented-control/anatomy/item-text.js";
|
|
75
|
+
import { SegmentedControlRootProps } from "./components/segmented-control/anatomy/root.js";
|
|
76
|
+
import { useSegmentedControl } from "./components/segmented-control/modules/use-segmented-control.js";
|
|
77
|
+
import { SegmentedControlRootContextProps } from "./components/segmented-control/anatomy/root-context.js";
|
|
78
|
+
import { SegmentedControlRootProviderProps } from "./components/segmented-control/anatomy/root-provider.js";
|
|
79
|
+
import { SegmentedControl } from "./components/segmented-control/modules/anatomy.js";
|
|
71
80
|
import { SwitchControlProps } from "./components/switch/anatomy/control.js";
|
|
72
81
|
import { SwitchHiddenInputProps } from "./components/switch/anatomy/hidden-input.js";
|
|
73
82
|
import { SwitchLabelProps } from "./components/switch/anatomy/label.js";
|
|
@@ -119,4 +128,4 @@ import { TooltipRootContextProps } from "./components/tooltip/anatomy/root-conte
|
|
|
119
128
|
import { TooltipRootProviderProps } from "./components/tooltip/anatomy/root-provider.js";
|
|
120
129
|
import { TooltipTriggerProps } from "./components/tooltip/anatomy/trigger.js";
|
|
121
130
|
import { Tooltip } from "./components/tooltip/modules/anatomy.js";
|
|
122
|
-
export { Accordion, AccordionItemContentProps, AccordionItemHeadingProps, AccordionItemIndicatorProps, AccordionItemProps, AccordionItemTriggerProps, AccordionRootContextProps, AccordionRootProps, AccordionRootProviderProps, Avatar, AvatarFallbackProps, AvatarImageProps, AvatarRootContextProps, AvatarRootProps, AvatarRootProviderProps, Dialog, DialogBackdropProps, DialogCloseTriggerProps, DialogContentProps, DialogDescriptionProps, DialogPositionerProps, DialogRootContextProps, DialogRootProps, DialogRootProviderProps, DialogTitleProps, DialogTriggerProps, FileUpload, FileUploadDropzoneProps, FileUploadHiddenInputProps, FileUploadItemDeleteTriggerProps, FileUploadItemGroupProps, FileUploadItemNameProps, FileUploadItemProps, FileUploadItemSizeTextProps, FileUploadRootContextProps, FileUploadRootProps, FileUploadRootProviderProps, FileUploadTriggerProps, Popover, PopoverCloseTriggerProps, PopoverContentProps, PopoverDescriptionProps, PopoverPositionerProps, PopoverRootContextProps, PopoverRootProps, PopoverRootProviderProps, PopoverTitleProps, PopoverTriggerProps, ProgressLinear, ProgressLinearLabelProps, ProgressLinearRangeProps, ProgressLinearRootContextProps, ProgressLinearRootProps, ProgressLinearRootProviderProps, ProgressLinearTrackProps, RatingGroup, RatingGroupControlProps, RatingGroupHiddenInputProps, RatingGroupItemProps, RatingGroupLabelProps, RatingGroupRootContextProps, RatingGroupRootProps, RatingGroupRootProviderProps, Switch, SwitchControlProps, SwitchHiddenInputProps, SwitchLabelProps, SwitchRootContextProps, SwitchRootProviderProps, SwitchThumbProps, Tabs, TabsContentProps, TabsIndicatorProps, TabsListProps, TabsRootContextProps, TabsRootProps, TabsRootProviderProps, TabsTriggerProps, TagsInput, TagsInputClearTriggerProps, TagsInputControlProps, TagsInputHiddenInputProps, TagsInputInputProps, TagsInputItemDeleteTriggerProps, TagsInputItemInputProps, TagsInputItemPreviewProps, TagsInputItemProps, TagsInputItemTextProps, TagsInputLabelProps, TagsInputRootContextProps, TagsInputRootProps, TagsInputRootProviderProps, Toast, ToastCloseTriggerProps, ToastDescriptionProps, ToastGroupProps, ToastMessageProps, ToastRootContextProps, ToastRootProps, ToastTitleProps, Tooltip, TooltipArrowProps, TooltipArrowTipProps, TooltipContentProps, TooltipPositionerProps, TooltipRootContextProps, TooltipRootProps, TooltipRootProviderProps, TooltipTriggerProps, createToaster, useAccordion, useAvatar, useDialog, useFileUpload, usePopover, useProgressLinear, useRatingGroup, useSwitch, useTabs, useTagsInput, useTooltip };
|
|
131
|
+
export { Accordion, AccordionItemContentProps, AccordionItemHeadingProps, AccordionItemIndicatorProps, AccordionItemProps, AccordionItemTriggerProps, AccordionRootContextProps, AccordionRootProps, AccordionRootProviderProps, Avatar, AvatarFallbackProps, AvatarImageProps, AvatarRootContextProps, AvatarRootProps, AvatarRootProviderProps, Dialog, DialogBackdropProps, DialogCloseTriggerProps, DialogContentProps, DialogDescriptionProps, DialogPositionerProps, DialogRootContextProps, DialogRootProps, DialogRootProviderProps, DialogTitleProps, DialogTriggerProps, FileUpload, FileUploadDropzoneProps, FileUploadHiddenInputProps, FileUploadItemDeleteTriggerProps, FileUploadItemGroupProps, FileUploadItemNameProps, FileUploadItemProps, FileUploadItemSizeTextProps, FileUploadRootContextProps, FileUploadRootProps, FileUploadRootProviderProps, FileUploadTriggerProps, Popover, PopoverCloseTriggerProps, PopoverContentProps, PopoverDescriptionProps, PopoverPositionerProps, PopoverRootContextProps, PopoverRootProps, PopoverRootProviderProps, PopoverTitleProps, PopoverTriggerProps, ProgressLinear, ProgressLinearLabelProps, ProgressLinearRangeProps, ProgressLinearRootContextProps, ProgressLinearRootProps, ProgressLinearRootProviderProps, ProgressLinearTrackProps, RatingGroup, RatingGroupControlProps, RatingGroupHiddenInputProps, RatingGroupItemProps, RatingGroupLabelProps, RatingGroupRootContextProps, RatingGroupRootProps, RatingGroupRootProviderProps, SegmentedControl, SegmentedControlIndicatorProps, SegmentedControlItemHiddenInputProps, SegmentedControlItemProps, SegmentedControlItemTextProps, SegmentedControlRootContextProps, SegmentedControlRootProps, SegmentedControlRootProviderProps, Switch, SwitchControlProps, SwitchHiddenInputProps, SwitchLabelProps, SwitchRootContextProps, SwitchRootProviderProps, SwitchThumbProps, Tabs, TabsContentProps, TabsIndicatorProps, TabsListProps, TabsRootContextProps, TabsRootProps, TabsRootProviderProps, TabsTriggerProps, TagsInput, TagsInputClearTriggerProps, TagsInputControlProps, TagsInputHiddenInputProps, TagsInputInputProps, TagsInputItemDeleteTriggerProps, TagsInputItemInputProps, TagsInputItemPreviewProps, TagsInputItemProps, TagsInputItemTextProps, TagsInputLabelProps, TagsInputRootContextProps, TagsInputRootProps, TagsInputRootProviderProps, Toast, ToastCloseTriggerProps, ToastDescriptionProps, ToastGroupProps, ToastMessageProps, ToastRootContextProps, ToastRootProps, ToastTitleProps, Tooltip, TooltipArrowProps, TooltipArrowTipProps, TooltipContentProps, TooltipPositionerProps, TooltipRootContextProps, TooltipRootProps, TooltipRootProviderProps, TooltipTriggerProps, createToaster, useAccordion, useAvatar, useDialog, useFileUpload, usePopover, useProgressLinear, useRatingGroup, useSegmentedControl, useSwitch, useTabs, useTagsInput, useTooltip };
|
package/dist/index.js
CHANGED
|
@@ -19,6 +19,9 @@ import "./components/progress-linear/index.js";
|
|
|
19
19
|
import { useRatingGroup } from "./components/rating-group/modules/use-rating-group.js";
|
|
20
20
|
import { RatingGroup } from "./components/rating-group/modules/anatomy.js";
|
|
21
21
|
import "./components/rating-group/index.js";
|
|
22
|
+
import { useSegmentedControl } from "./components/segmented-control/modules/use-segmented-control.js";
|
|
23
|
+
import { SegmentedControl } from "./components/segmented-control/modules/anatomy.js";
|
|
24
|
+
import "./components/segmented-control/index.js";
|
|
22
25
|
import { useSwitch } from "./components/switch/modules/use-switch.js";
|
|
23
26
|
import { Switch } from "./components/switch/modules/anatomy.js";
|
|
24
27
|
import "./components/switch/index.js";
|
|
@@ -34,4 +37,4 @@ import { useTooltip } from "./components/tooltip/modules/use-tooltip.js";
|
|
|
34
37
|
import { Tooltip } from "./components/tooltip/modules/anatomy.js";
|
|
35
38
|
import "./components/tooltip/index.js";
|
|
36
39
|
|
|
37
|
-
export { Accordion, Avatar, Dialog, FileUpload, Popover, ProgressLinear, RatingGroup, Switch, Tabs, TagsInput, Toast, Tooltip, createToaster, useAccordion, useAvatar, useDialog, useFileUpload, usePopover, useProgressLinear, useRatingGroup, useSwitch, useTabs, useTagsInput, useTooltip };
|
|
40
|
+
export { Accordion, Avatar, Dialog, FileUpload, Popover, ProgressLinear, RatingGroup, SegmentedControl, Switch, Tabs, TagsInput, Toast, Tooltip, createToaster, useAccordion, useAvatar, useDialog, useFileUpload, usePopover, useProgressLinear, useRatingGroup, useSegmentedControl, useSwitch, useTabs, useTagsInput, useTooltip };
|
package/dist/node_modules/.pnpm/@zag-js_anatomy@1.24.1/node_modules/@zag-js/anatomy/dist/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@zag-js+anatomy@1.24.1/node_modules/@zag-js/anatomy/dist/index.mjs
|
|
2
|
+
var createAnatomy = (name, parts = []) => ({
|
|
3
|
+
parts: (...values) => {
|
|
4
|
+
if (isEmpty(parts)) return createAnatomy(name, values);
|
|
5
|
+
throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?");
|
|
6
|
+
},
|
|
7
|
+
extendWith: (...values) => createAnatomy(name, [...parts, ...values]),
|
|
8
|
+
omit: (...values) => createAnatomy(name, parts.filter((part) => !values.includes(part))),
|
|
9
|
+
rename: (newName) => createAnatomy(newName, parts),
|
|
10
|
+
keys: () => parts,
|
|
11
|
+
build: () => [...new Set(parts)].reduce((prev, part) => Object.assign(prev, { [part]: {
|
|
12
|
+
selector: [`&[data-scope="${toKebabCase(name)}"][data-part="${toKebabCase(part)}"]`, `& [data-scope="${toKebabCase(name)}"][data-part="${toKebabCase(part)}"]`].join(", "),
|
|
13
|
+
attrs: {
|
|
14
|
+
"data-scope": toKebabCase(name),
|
|
15
|
+
"data-part": toKebabCase(part)
|
|
16
|
+
}
|
|
17
|
+
} }), {})
|
|
18
|
+
});
|
|
19
|
+
var toKebabCase = (value) => value.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
|
|
20
|
+
var isEmpty = (v) => v.length === 0;
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { createAnatomy };
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@zag-js+anatomy@1.24.1/node_modules/@zag-js/anatomy/dist/index.mjs"],"sourcesContent":["// src/create-anatomy.ts\nvar createAnatomy = (name, parts = []) => ({\n parts: (...values) => {\n if (isEmpty(parts)) {\n return createAnatomy(name, values);\n }\n throw new Error(\"createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?\");\n },\n extendWith: (...values) => createAnatomy(name, [...parts, ...values]),\n omit: (...values) => createAnatomy(name, parts.filter((part) => !values.includes(part))),\n rename: (newName) => createAnatomy(newName, parts),\n keys: () => parts,\n build: () => [...new Set(parts)].reduce(\n (prev, part) => Object.assign(prev, {\n [part]: {\n selector: [\n `&[data-scope=\"${toKebabCase(name)}\"][data-part=\"${toKebabCase(part)}\"]`,\n `& [data-scope=\"${toKebabCase(name)}\"][data-part=\"${toKebabCase(part)}\"]`\n ].join(\", \"),\n attrs: { \"data-scope\": toKebabCase(name), \"data-part\": toKebabCase(part) }\n }\n }),\n {}\n )\n});\nvar toKebabCase = (value) => value.replace(/([A-Z])([A-Z])/g, \"$1-$2\").replace(/([a-z])([A-Z])/g, \"$1-$2\").replace(/[\\s_]+/g, \"-\").toLowerCase();\nvar isEmpty = (v) => v.length === 0;\n\nexport { createAnatomy };\n"],"x_google_ignoreList":[0],"mappings":";AACA,IAAI,iBAAiB,MAAM,QAAQ,EAAE,MAAM;CACzC,QAAQ,GAAG,WAAW;AACpB,MAAI,QAAQ,MAAM,CAChB,QAAO,cAAc,MAAM,OAAO;AAEpC,QAAM,IAAI,MAAM,gGAAgG;;CAElH,aAAa,GAAG,WAAW,cAAc,MAAM,CAAC,GAAG,OAAO,GAAG,OAAO,CAAC;CACrE,OAAO,GAAG,WAAW,cAAc,MAAM,MAAM,QAAQ,SAAS,CAAC,OAAO,SAAS,KAAK,CAAC,CAAC;CACxF,SAAS,YAAY,cAAc,SAAS,MAAM;CAClD,YAAY;CACZ,aAAa,CAAC,GAAG,IAAI,IAAI,MAAM,CAAC,CAAC,QAC9B,MAAM,SAAS,OAAO,OAAO,MAAM,GACjC,OAAO;EACN,UAAU,CACR,iBAAiB,YAAY,KAAK,CAAC,gBAAgB,YAAY,KAAK,CAAC,KACrE,kBAAkB,YAAY,KAAK,CAAC,gBAAgB,YAAY,KAAK,CAAC,IACvE,CAAC,KAAK,KAAK;EACZ,OAAO;GAAE,cAAc,YAAY,KAAK;GAAE,aAAa,YAAY,KAAK;GAAE;EAC3E,EACF,CAAC,EACF,EAAE,CACH;CACF;AACD,IAAI,eAAe,UAAU,MAAM,QAAQ,mBAAmB,QAAQ,CAAC,QAAQ,mBAAmB,QAAQ,CAAC,QAAQ,WAAW,IAAI,CAAC,aAAa;AAChJ,IAAI,WAAW,MAAM,EAAE,WAAW"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@zag-js+core@1.24.1/node_modules/@zag-js/core/dist/index.mjs
|
|
2
|
+
function createGuards() {
|
|
3
|
+
return {
|
|
4
|
+
and: (...guards) => {
|
|
5
|
+
return function andGuard(params) {
|
|
6
|
+
return guards.every((str) => params.guard(str));
|
|
7
|
+
};
|
|
8
|
+
},
|
|
9
|
+
or: (...guards) => {
|
|
10
|
+
return function orGuard(params) {
|
|
11
|
+
return guards.some((str) => params.guard(str));
|
|
12
|
+
};
|
|
13
|
+
},
|
|
14
|
+
not: (guard) => {
|
|
15
|
+
return function notGuard(params) {
|
|
16
|
+
return !params.guard(guard);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function createMachine(config) {
|
|
22
|
+
return config;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { createGuards, createMachine };
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
package/dist/node_modules/.pnpm/@zag-js_core@1.24.1/node_modules/@zag-js/core/dist/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@zag-js+core@1.24.1/node_modules/@zag-js/core/dist/index.mjs"],"sourcesContent":["import { callAll, isEqual, isString } from '@zag-js/utils';\nimport { isActiveElement, getActiveElement, getDocument } from '@zag-js/dom-query';\n\n// src/merge-props.ts\nvar clsx = (...args) => args.map((str) => str?.trim?.()).filter(Boolean).join(\" \");\nvar CSS_REGEX = /((?:--)?(?:\\w+-?)+)\\s*:\\s*([^;]*)/g;\nvar serialize = (style) => {\n const res = {};\n let match;\n while (match = CSS_REGEX.exec(style)) {\n res[match[1]] = match[2];\n }\n return res;\n};\nvar css = (a, b) => {\n if (isString(a)) {\n if (isString(b)) return `${a};${b}`;\n a = serialize(a);\n } else if (isString(b)) {\n b = serialize(b);\n }\n return Object.assign({}, a ?? {}, b ?? {});\n};\nfunction mergeProps(...args) {\n let result = {};\n for (let props of args) {\n if (!props) continue;\n for (let key in result) {\n if (key.startsWith(\"on\") && typeof result[key] === \"function\" && typeof props[key] === \"function\") {\n result[key] = callAll(props[key], result[key]);\n continue;\n }\n if (key === \"className\" || key === \"class\") {\n result[key] = clsx(result[key], props[key]);\n continue;\n }\n if (key === \"style\") {\n result[key] = css(result[key], props[key]);\n continue;\n }\n result[key] = props[key] !== void 0 ? props[key] : result[key];\n }\n for (let key in props) {\n if (result[key] === void 0) {\n result[key] = props[key];\n }\n }\n const symbols = Object.getOwnPropertySymbols(props);\n for (let symbol of symbols) {\n result[symbol] = props[symbol];\n }\n }\n return result;\n}\nfunction memo(getDeps, fn, opts) {\n let deps = [];\n let result;\n return (depArgs) => {\n const newDeps = getDeps(depArgs);\n const depsChanged = newDeps.length !== deps.length || newDeps.some((dep, index) => !isEqual(deps[index], dep));\n if (!depsChanged) return result;\n deps = newDeps;\n result = fn(newDeps, depArgs);\n opts?.onChange?.(result);\n return result;\n };\n}\n\n// src/create-machine.ts\nfunction createGuards() {\n return {\n and: (...guards) => {\n return function andGuard(params) {\n return guards.every((str) => params.guard(str));\n };\n },\n or: (...guards) => {\n return function orGuard(params) {\n return guards.some((str) => params.guard(str));\n };\n },\n not: (guard) => {\n return function notGuard(params) {\n return !params.guard(guard);\n };\n }\n };\n}\nfunction createMachine(config) {\n return config;\n}\nfunction setup() {\n return {\n guards: createGuards(),\n createMachine: (config) => {\n return createMachine(config);\n },\n choose: (transitions) => {\n return function chooseFn({ choose }) {\n return choose(transitions)?.actions;\n };\n }\n };\n}\n\n// src/types.ts\nvar MachineStatus = /* @__PURE__ */ ((MachineStatus2) => {\n MachineStatus2[\"NotStarted\"] = \"Not Started\";\n MachineStatus2[\"Started\"] = \"Started\";\n MachineStatus2[\"Stopped\"] = \"Stopped\";\n return MachineStatus2;\n})(MachineStatus || {});\nvar INIT_STATE = \"__init__\";\nfunction createScope(props) {\n const getRootNode = () => props.getRootNode?.() ?? document;\n const getDoc = () => getDocument(getRootNode());\n const getWin = () => getDoc().defaultView ?? window;\n const getActiveElementFn = () => getActiveElement(getRootNode());\n const getById = (id) => getRootNode().getElementById(id);\n return {\n ...props,\n getRootNode,\n getDoc,\n getWin,\n getActiveElement: getActiveElementFn,\n isActiveElement,\n getById\n };\n}\n\nexport { INIT_STATE, MachineStatus, createGuards, createMachine, createScope, memo, mergeProps, setup };\n"],"x_google_ignoreList":[0],"mappings":";AAqEA,SAAS,eAAe;AACtB,QAAO;EACL,MAAM,GAAG,WAAW;AAClB,UAAO,SAAS,SAAS,QAAQ;AAC/B,WAAO,OAAO,OAAO,QAAQ,OAAO,MAAM,IAAI,CAAC;;;EAGnD,KAAK,GAAG,WAAW;AACjB,UAAO,SAAS,QAAQ,QAAQ;AAC9B,WAAO,OAAO,MAAM,QAAQ,OAAO,MAAM,IAAI,CAAC;;;EAGlD,MAAM,UAAU;AACd,UAAO,SAAS,SAAS,QAAQ;AAC/B,WAAO,CAAC,OAAO,MAAM,MAAM;;;EAGhC;;AAEH,SAAS,cAAc,QAAQ;AAC7B,QAAO"}
|