@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 react69 from "react";
|
|
4
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/trigger.d.ts
|
|
7
7
|
interface FileUploadTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function Trigger(props: FileUploadTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Trigger(props: FileUploadTriggerProps): string | number | bigint | boolean | Iterable<react69.ReactNode> | Promise<string | number | bigint | boolean | react69.ReactPortal | react69.ReactElement<unknown, string | react69.JSXElementConstructor<any>> | Iterable<react69.ReactNode> | null | undefined> | react_jsx_runtime22.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadTriggerProps, Trigger };
|
|
11
11
|
//# sourceMappingURL=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 react307 from "react";
|
|
4
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/anatomy/arrow-tip.d.ts
|
|
7
7
|
interface PopoverArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ArrowTip(props: PopoverArrowTipProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ArrowTip(props: PopoverArrowTipProps): string | number | bigint | boolean | Iterable<react307.ReactNode> | Promise<string | number | bigint | boolean | react307.ReactPortal | react307.ReactElement<unknown, string | react307.JSXElementConstructor<any>> | Iterable<react307.ReactNode> | null | undefined> | react_jsx_runtime93.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ArrowTip };
|
|
11
11
|
//# sourceMappingURL=arrow-tip.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 react302 from "react";
|
|
4
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/anatomy/arrow.d.ts
|
|
7
7
|
interface PopoverArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Arrow(props: PopoverArrowProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Arrow(props: PopoverArrowProps): string | number | bigint | boolean | Iterable<react302.ReactNode> | Promise<string | number | bigint | boolean | react302.ReactPortal | react302.ReactElement<unknown, string | react302.JSXElementConstructor<any>> | Iterable<react302.ReactNode> | null | undefined> | react_jsx_runtime92.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Arrow };
|
|
11
11
|
//# sourceMappingURL=arrow.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 react237 from "react";
|
|
4
|
+
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/anatomy/close-trigger.d.ts
|
|
7
7
|
interface PopoverCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function CloseTrigger(props: PopoverCloseTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function CloseTrigger(props: PopoverCloseTriggerProps): string | number | bigint | boolean | Iterable<react237.ReactNode> | Promise<string | number | bigint | boolean | react237.ReactPortal | react237.ReactElement<unknown, string | react237.JSXElementConstructor<any>> | Iterable<react237.ReactNode> | null | undefined> | react_jsx_runtime74.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CloseTrigger, PopoverCloseTriggerProps };
|
|
11
11
|
//# sourceMappingURL=close-trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close-trigger.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/close-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,4BAA4B;iBAEtD,YAAA,QAAoB,gEAAwB,SAAA,
|
|
1
|
+
{"version":3,"file":"close-trigger.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/close-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,4BAA4B;iBAEtD,YAAA,QAAoB,gEAAwB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,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 react242 from "react";
|
|
4
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/anatomy/content.d.ts
|
|
7
7
|
interface PopoverContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Content(props: PopoverContentProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Content(props: PopoverContentProps): string | number | bigint | boolean | Iterable<react242.ReactNode> | Promise<string | number | bigint | boolean | react242.ReactPortal | react242.ReactElement<unknown, string | react242.JSXElementConstructor<any>> | Iterable<react242.ReactNode> | null | undefined> | react_jsx_runtime75.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Content, PopoverContentProps };
|
|
11
11
|
//# sourceMappingURL=content.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 react247 from "react";
|
|
4
|
+
import * as react_jsx_runtime76 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/anatomy/description.d.ts
|
|
7
7
|
interface PopoverDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Description(props: PopoverDescriptionProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Description(props: PopoverDescriptionProps): string | number | bigint | boolean | Iterable<react247.ReactNode> | Promise<string | number | bigint | boolean | react247.ReactPortal | react247.ReactElement<unknown, string | react247.JSXElementConstructor<any>> | Iterable<react247.ReactNode> | null | undefined> | react_jsx_runtime76.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Description, PopoverDescriptionProps };
|
|
11
11
|
//# sourceMappingURL=description.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/positioner.d.ts
|
|
6
6
|
interface PopoverPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: PopoverPositionerProps):
|
|
7
|
+
declare function Positioner(props: PopoverPositionerProps): react_jsx_runtime77.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PopoverPositionerProps, Positioner };
|
|
10
10
|
//# sourceMappingURL=positioner.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { usePopover } from "../modules/use-popover.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/root-provider.d.ts
|
|
6
6
|
interface PopoverRootProviderProps extends PropsWithChildren {
|
|
7
7
|
value: ReturnType<typeof usePopover>;
|
|
8
8
|
}
|
|
9
|
-
declare function RootProvider(props: PopoverRootProviderProps):
|
|
9
|
+
declare function RootProvider(props: PopoverRootProviderProps): react_jsx_runtime79.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { PopoverRootProviderProps, RootProvider };
|
|
12
12
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
3
3
|
import { Props } from "@zag-js/popover";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/root.d.ts
|
|
6
6
|
interface PopoverRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
|
|
7
|
-
declare function Root(props: PopoverRootProps):
|
|
7
|
+
declare function Root(props: PopoverRootProps): react_jsx_runtime78.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PopoverRootProps, Root };
|
|
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 react252 from "react";
|
|
4
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/anatomy/title.d.ts
|
|
7
7
|
interface PopoverTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Title(props: PopoverTitleProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Title(props: PopoverTitleProps): string | number | bigint | boolean | Iterable<react252.ReactNode> | Promise<string | number | bigint | boolean | react252.ReactPortal | react252.ReactElement<unknown, string | react252.JSXElementConstructor<any>> | Iterable<react252.ReactNode> | null | undefined> | react_jsx_runtime80.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { PopoverTitleProps, Title };
|
|
11
11
|
//# sourceMappingURL=title.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
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 react257 from "react";
|
|
4
4
|
import { PropsWithChildren } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/popover/anatomy/trigger.d.ts
|
|
8
8
|
interface PopoverTriggerProps extends PropsWithChildren, PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
9
|
-
declare function Trigger(props: PopoverTriggerProps): string | number | bigint | boolean | Iterable<
|
|
9
|
+
declare function Trigger(props: PopoverTriggerProps): string | number | bigint | boolean | Iterable<react257.ReactNode> | Promise<string | number | bigint | boolean | react257.ReactPortal | react257.ReactElement<unknown, string | react257.JSXElementConstructor<any>> | Iterable<react257.ReactNode> | null | undefined> | react_jsx_runtime81.JSX.Element | null | undefined;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { PopoverTriggerProps, Trigger };
|
|
12
12
|
//# sourceMappingURL=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 react192 from "react";
|
|
4
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/label.d.ts
|
|
7
7
|
interface ProgressLinearLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Label(props: ProgressLinearLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: ProgressLinearLabelProps): string | number | bigint | boolean | Iterable<react192.ReactNode> | Promise<string | number | bigint | boolean | react192.ReactPortal | react192.ReactElement<unknown, string | react192.JSXElementConstructor<any>> | Iterable<react192.ReactNode> | null | undefined> | react_jsx_runtime58.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, ProgressLinearLabelProps };
|
|
11
11
|
//# sourceMappingURL=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
|
|
4
|
-
import * as
|
|
3
|
+
import * as react197 from "react";
|
|
4
|
+
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/range.d.ts
|
|
7
7
|
interface ProgressLinearRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
8
|
-
declare function Range(props: ProgressLinearRangeProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Range(props: ProgressLinearRangeProps): string | number | bigint | boolean | Iterable<react197.ReactNode> | Promise<string | number | bigint | boolean | react197.ReactPortal | react197.ReactElement<unknown, string | react197.JSXElementConstructor<any>> | Iterable<react197.ReactNode> | null | undefined> | react_jsx_runtime59.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressLinearRangeProps, Range };
|
|
11
11
|
//# sourceMappingURL=range.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 { useProgressLinear } from "../modules/use-progress-linear.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/root-provider.d.ts
|
|
7
7
|
interface ProgressLinearRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useProgressLinear>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: ProgressLinearRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: ProgressLinearRootProviderProps): react_jsx_runtime61.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ProgressLinearRootProviderProps, 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_runtime60 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/progress";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/root.d.ts
|
|
7
7
|
interface ProgressLinearRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: ProgressLinearRootProps):
|
|
8
|
+
declare function Root(props: ProgressLinearRootProps): react_jsx_runtime60.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressLinearRootProps, Root };
|
|
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 react202 from "react";
|
|
4
|
+
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/track.d.ts
|
|
7
7
|
interface ProgressLinearTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Track(props: ProgressLinearTrackProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Track(props: ProgressLinearTrackProps): string | number | bigint | boolean | Iterable<react202.ReactNode> | Promise<string | number | bigint | boolean | react202.ReactPortal | react202.ReactElement<unknown, string | react202.JSXElementConstructor<any>> | Iterable<react202.ReactNode> | null | undefined> | react_jsx_runtime62.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressLinearTrackProps, Track };
|
|
11
11
|
//# sourceMappingURL=track.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 react79 from "react";
|
|
4
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/control.d.ts
|
|
7
7
|
interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
|
-
declare function Control(props: RatingGroupControlProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Control(props: RatingGroupControlProps): string | number | bigint | boolean | Iterable<react79.ReactNode> | Promise<string | number | bigint | boolean | react79.ReactPortal | react79.ReactElement<unknown, string | react79.JSXElementConstructor<any>> | Iterable<react79.ReactNode> | null | undefined> | react_jsx_runtime24.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, RatingGroupControlProps };
|
|
11
11
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,yBAAyB;iBAElD,OAAA,QAAe,+DAAuB,SAAA,
|
|
1
|
+
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,yBAAyB;iBAElD,OAAA,QAAe,+DAAuB,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"}
|
|
@@ -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 react84 from "react";
|
|
4
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/hidden-input.d.ts
|
|
7
7
|
interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: RatingGroupHiddenInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function HiddenInput(props: RatingGroupHiddenInputProps): string | number | bigint | boolean | Iterable<react84.ReactNode> | Promise<string | number | bigint | boolean | react84.ReactPortal | react84.ReactElement<unknown, string | react84.JSXElementConstructor<any>> | Iterable<react84.ReactNode> | null | undefined> | react_jsx_runtime25.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { HiddenInput, RatingGroupHiddenInputProps };
|
|
11
11
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,2BAAA,SAAoC,2BAA2B;iBAExD,WAAA,QAAmB,mEAA2B,SAAA,
|
|
1
|
+
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,2BAAA,SAAoC,2BAA2B;iBAExD,WAAA,QAAmB,mEAA2B,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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
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 react89 from "react";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
6
6
|
import { ItemProps } from "@zag-js/rating-group";
|
|
7
7
|
|
|
8
8
|
//#region src/components/rating-group/anatomy/item.d.ts
|
|
@@ -26,7 +26,7 @@ interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTML
|
|
|
26
26
|
*/
|
|
27
27
|
full?: ReactNode;
|
|
28
28
|
}
|
|
29
|
-
declare function Item(props: RatingGroupItemProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean |
|
|
29
|
+
declare function Item(props: RatingGroupItemProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react89.ReactPortal | react89.ReactElement<unknown, string | react89.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime26.JSX.Element | null | undefined;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { Item, RatingGroupItemProps };
|
|
32
32
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;;;UAaiB,oBAAA,SAA6B,WAAW,0BAA0B;;;;AAAnF;;OAMS,CAAA,EAAA,SAAA;;;;;;EANwF,IAAA,CAAA,EAYzF,SAZyF;EAqBzE;;;;;MAAgC,CAAA,EAHhD,SAGgD;;AAAA,iBAAhC,IAAA,CAAgC,KAAA,EAApB,oBAAoB,CAAA,EAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,QAAA,CAAA,SAAA,CAAA,GAAA,OAAA,CAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,
|
|
1
|
+
{"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;;;UAaiB,oBAAA,SAA6B,WAAW,0BAA0B;;;;AAAnF;;OAMS,CAAA,EAAA,SAAA;;;;;;EANwF,IAAA,CAAA,EAYzF,SAZyF;EAqBzE;;;;;MAAgC,CAAA,EAHhD,SAGgD;;AAAA,iBAAhC,IAAA,CAAgC,KAAA,EAApB,oBAAoB,CAAA,EAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,QAAA,CAAA,SAAA,CAAA,GAAA,OAAA,CAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,CAAA,OAAA,EAAA,MAAA,GAAA,OAAA,CAAA,qBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA,SAAA,CAAA,GAAA,IAAA,GAAA,SAAA,CAAA,GAAA,mBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,IAAA,GAAA,SAAA"}
|
|
@@ -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 react92 from "react";
|
|
4
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/label.d.ts
|
|
7
7
|
interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
|
|
8
|
-
declare function Label(props: RatingGroupLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: RatingGroupLabelProps): string | number | bigint | boolean | Iterable<react92.ReactNode> | Promise<string | number | bigint | boolean | react92.ReactPortal | react92.ReactElement<unknown, string | react92.JSXElementConstructor<any>> | Iterable<react92.ReactNode> | null | undefined> | react_jsx_runtime27.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, RatingGroupLabelProps };
|
|
11
11
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,qBAAA,SAA8B,2BAA2B;iBAElD,KAAA,QAAa,6DAAqB,SAAA,
|
|
1
|
+
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,qBAAA,SAA8B,2BAA2B;iBAElD,KAAA,QAAa,6DAAqB,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"}
|
|
@@ -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 { useRatingGroup } from "../modules/use-rating-group.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/root-provider.d.ts
|
|
7
7
|
interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useRatingGroup>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: RatingGroupRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: RatingGroupRootProviderProps): react_jsx_runtime29.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RatingGroupRootProviderProps, 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_runtime28 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/rating-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/root.d.ts
|
|
7
7
|
interface RatingGroupRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: RatingGroupRootProps):
|
|
8
|
+
declare function Root(props: RatingGroupRootProps): react_jsx_runtime28.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { RatingGroupRootProps, Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.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 react97 from "react";
|
|
4
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/segmented-control/anatomy/indicator.d.ts
|
|
7
|
+
interface SegmentedControlIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
8
|
+
declare function Indicator(props: SegmentedControlIndicatorProps): string | number | bigint | boolean | Iterable<react97.ReactNode> | Promise<string | number | bigint | boolean | react97.ReactPortal | react97.ReactElement<unknown, string | react97.JSXElementConstructor<any>> | Iterable<react97.ReactNode> | null | undefined> | react_jsx_runtime32.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Indicator, SegmentedControlIndicatorProps };
|
|
11
|
+
//# sourceMappingURL=indicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator.d.ts","names":[],"sources":["../../../../src/components/segmented-control/anatomy/indicator.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,8BAAA,SAAuC,yBAAyB;iBAEzD,SAAA,QAAiB,sEAA8B,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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SegmentedControlRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSegmentedControl } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/segmented-control/anatomy/indicator.tsx
|
|
8
|
+
function Indicator(props) {
|
|
9
|
+
const segmentedControl = use(SegmentedControlRootContext);
|
|
10
|
+
const { element,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(segmentedControl.getIndicatorProps(), rest, { className: classesSegmentedControl.indicator });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", { ...attributes });
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Indicator as default };
|
|
17
|
+
//# sourceMappingURL=indicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/indicator.tsx"],"sourcesContent":["import { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Indicator(props: SegmentedControlIndicatorProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(segmentedControl.getIndicatorProps(), rest, {\n\t\tclassName: classesSegmentedControl.indicator,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAAuC;CACxE,MAAM,mBAAmB,IAAI,4BAA4B;CAEzD,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAAW,iBAAiB,mBAAmB,EAAE,MAAM,EACzE,WAAW,wBAAwB,WACnC,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,SAAI,GAAI,aAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react74 from "react";
|
|
4
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/segmented-control/anatomy/item-hidden-input.d.ts
|
|
7
|
+
interface SegmentedControlItemHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
+
declare function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps): string | number | bigint | boolean | Iterable<react74.ReactNode> | Promise<string | number | bigint | boolean | react74.ReactPortal | react74.ReactElement<unknown, string | react74.JSXElementConstructor<any>> | Iterable<react74.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ItemHiddenInput, SegmentedControlItemHiddenInputProps };
|
|
11
|
+
//# sourceMappingURL=item-hidden-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-hidden-input.d.ts","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,oCAAA,SAA6C,2BAA2B;iBAEjE,eAAA,QAAuB,4EAAoC,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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SegmentedControlRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { SegmentedControlItemContext } from "../modules/item-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesSegmentedControl } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/segmented-control/anatomy/item-hidden-input.tsx
|
|
9
|
+
function ItemHiddenInput(props) {
|
|
10
|
+
const segmentedControl = use(SegmentedControlRootContext);
|
|
11
|
+
const itemProps = use(SegmentedControlItemContext);
|
|
12
|
+
const { element,...rest } = props;
|
|
13
|
+
const attributes = mergeProps(segmentedControl.getItemHiddenInputProps(itemProps), rest, { className: classesSegmentedControl.itemHiddenInput });
|
|
14
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { ItemHiddenInput as default };
|
|
19
|
+
//# sourceMappingURL=item-hidden-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-hidden-input.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-hidden-input.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\tconst itemProps = use(SegmentedControlItemContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(segmentedControl.getItemHiddenInputProps(itemProps), rest, {\n\t\tclassName: classesSegmentedControl.itemHiddenInput,\n\t});\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,gBAAgB,OAA6C;CACpF,MAAM,mBAAmB,IAAI,4BAA4B;CACzD,MAAM,YAAY,IAAI,4BAA4B;CAElD,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAAW,iBAAiB,wBAAwB,UAAU,EAAE,MAAM,EACxF,WAAW,wBAAwB,iBACnC,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react102 from "react";
|
|
4
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/segmented-control/anatomy/item-text.d.ts
|
|
7
|
+
interface SegmentedControlItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
+
declare function ItemText(props: SegmentedControlItemTextProps): string | number | bigint | boolean | Iterable<react102.ReactNode> | Promise<string | number | bigint | boolean | react102.ReactPortal | react102.ReactElement<unknown, string | react102.JSXElementConstructor<any>> | Iterable<react102.ReactNode> | null | undefined> | react_jsx_runtime34.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ItemText, SegmentedControlItemTextProps };
|
|
11
|
+
//# sourceMappingURL=item-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-text.d.ts","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-text.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,6BAAA,SAAsC,0BAA0B;iBAEzD,QAAA,QAAgB,qEAA6B,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SegmentedControlRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { SegmentedControlItemContext } from "../modules/item-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesSegmentedControl } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/segmented-control/anatomy/item-text.tsx
|
|
9
|
+
function ItemText(props) {
|
|
10
|
+
const segmentedControl = use(SegmentedControlRootContext);
|
|
11
|
+
const itemProps = use(SegmentedControlItemContext);
|
|
12
|
+
const { element, children,...rest } = props;
|
|
13
|
+
const attributes = mergeProps(segmentedControl.getItemTextProps(itemProps), rest, { className: classesSegmentedControl.itemText });
|
|
14
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
15
|
+
...attributes,
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ItemText as default };
|
|
22
|
+
//# sourceMappingURL=item-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-text.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-text.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function ItemText(props: SegmentedControlItemTextProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\tconst itemProps = use(SegmentedControlItemContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(segmentedControl.getItemTextProps(itemProps), rest, {\n\t\tclassName: classesSegmentedControl.itemText,\n\t});\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,SAAS,OAAsC;CACtE,MAAM,mBAAmB,IAAI,4BAA4B;CACzD,MAAM,YAAY,IAAI,4BAA4B;CAElD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,iBAAiB,iBAAiB,UAAU,EAAE,MAAM,EACjF,WAAW,wBAAwB,UACnC,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|
|
@@ -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_runtime33 from "react/jsx-runtime";
|
|
4
|
+
import { ItemProps } from "@zag-js/radio-group";
|
|
5
|
+
|
|
6
|
+
//#region src/components/segmented-control/anatomy/item.d.ts
|
|
7
|
+
interface SegmentedControlItemProps extends ItemProps, PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
+
declare function Item(props: SegmentedControlItemProps): react_jsx_runtime33.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Item, SegmentedControlItemProps };
|
|
11
|
+
//# sourceMappingURL=item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,yBAAA,SAAkC,WAAW,2BAA2B;iBAEjE,IAAA,QAAY,4BAAyB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SegmentedControlRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { SegmentedControlItemContext } from "../modules/item-context.js";
|
|
3
|
+
import { splitItemProps } from "../../../node_modules/.pnpm/@zag-js_radio-group@1.24.1/node_modules/@zag-js/radio-group/dist/index.js";
|
|
4
|
+
import { use } from "react";
|
|
5
|
+
import { mergeProps } from "@zag-js/react";
|
|
6
|
+
import { classesSegmentedControl } from "@skeletonlabs/skeleton-common";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/components/segmented-control/anatomy/item.tsx
|
|
10
|
+
function Item(props) {
|
|
11
|
+
const segmentedControl = use(SegmentedControlRootContext);
|
|
12
|
+
const [itemProps, componentProps] = splitItemProps(props);
|
|
13
|
+
const { element, children,...rest } = componentProps;
|
|
14
|
+
const attributes = mergeProps(segmentedControl.getItemProps(itemProps), rest, { className: classesSegmentedControl.item });
|
|
15
|
+
return /* @__PURE__ */ jsx(SegmentedControlItemContext.Provider, {
|
|
16
|
+
value: itemProps,
|
|
17
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
18
|
+
...attributes,
|
|
19
|
+
children
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Item as default };
|
|
26
|
+
//# sourceMappingURL=item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { splitItemProps, type ItemProps } from '@zag-js/radio-group';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemProps extends ItemProps, PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Item(props: SegmentedControlItemProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(segmentedControl.getItemProps(itemProps), rest, {\n\t\tclassName: classesSegmentedControl.item,\n\t});\n\n\treturn (\n\t\t<SegmentedControlItemContext.Provider value={itemProps}>\n\t\t\t{element ? element(attributes) : <label {...attributes}>{children}</label>}\n\t\t</SegmentedControlItemContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,KAAK,OAAkC;CAC9D,MAAM,mBAAmB,IAAI,4BAA4B;CAEzD,MAAM,CAAC,WAAW,kBAAkB,eAAe,MAAM;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,iBAAiB,aAAa,UAAU,EAAE,MAAM,EAC7E,WAAW,wBAAwB,MACnC,CAAC;AAEF,QACC,oBAAC,4BAA4B;EAAS,OAAO;YAC3C,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GACpC"}
|