@skeletonlabs/skeleton-react 2.0.0-next.6 → 2.0.0-next.7
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-content.d.ts.map +1 -1
- 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-trigger.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
- package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.d.ts.map +1 -1
- 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 +11 -0
- package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/backdrop.js +17 -0
- package/dist/components/dialog/anatomy/backdrop.js.map +1 -0
- package/dist/components/dialog/anatomy/close-trigger.d.ts +11 -0
- package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/close-trigger.js +20 -0
- package/dist/components/dialog/anatomy/close-trigger.js.map +1 -0
- package/dist/components/dialog/anatomy/content.d.ts +11 -0
- package/dist/components/dialog/anatomy/content.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/content.js +20 -0
- package/dist/components/dialog/anatomy/content.js.map +1 -0
- package/dist/components/dialog/anatomy/description.d.ts +11 -0
- package/dist/components/dialog/anatomy/description.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/description.js +20 -0
- package/dist/components/dialog/anatomy/description.js.map +1 -0
- package/dist/components/dialog/anatomy/positioner.d.ts +11 -0
- package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/positioner.js +20 -0
- package/dist/components/dialog/anatomy/positioner.js.map +1 -0
- package/dist/components/dialog/anatomy/root-context.d.ts +11 -0
- package/dist/components/dialog/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/root-context.js +13 -0
- package/dist/components/dialog/anatomy/root-context.js.map +1 -0
- package/dist/components/dialog/anatomy/root-provider.d.ts +12 -0
- package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/root-provider.js +15 -0
- package/dist/components/dialog/anatomy/root-provider.js.map +1 -0
- package/dist/components/dialog/anatomy/root.d.ts +10 -0
- package/dist/components/dialog/anatomy/root.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/root.js +20 -0
- package/dist/components/dialog/anatomy/root.js.map +1 -0
- package/dist/components/dialog/anatomy/title.d.ts +11 -0
- package/dist/components/dialog/anatomy/title.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/title.js +20 -0
- package/dist/components/dialog/anatomy/title.js.map +1 -0
- package/dist/components/dialog/anatomy/trigger.d.ts +11 -0
- package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/trigger.js +20 -0
- package/dist/components/dialog/anatomy/trigger.js.map +1 -0
- package/dist/components/dialog/index.js +4 -0
- package/dist/components/dialog/modules/anatomy.d.ts +26 -0
- package/dist/components/dialog/modules/anatomy.d.ts.map +1 -0
- package/dist/components/dialog/modules/anatomy.js +27 -0
- package/dist/components/dialog/modules/anatomy.js.map +1 -0
- package/dist/components/dialog/modules/root-context.js +8 -0
- package/dist/components/dialog/modules/root-context.js.map +1 -0
- package/dist/components/dialog/modules/use-dialog.d.ts +8 -0
- package/dist/components/dialog/modules/use-dialog.d.ts.map +1 -0
- package/dist/components/dialog/modules/use-dialog.js +16 -0
- package/dist/components/dialog/modules/use-dialog.js.map +1 -0
- package/dist/components/file-upload/anatomy/dropzone.d.ts +3 -3
- package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-size-text.d.ts.map +1 -1
- 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/file-upload/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow-tip.d.ts +3 -3
- package/dist/components/popover/anatomy/arrow.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/label.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/label.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/range.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/range.d.ts.map +1 -1
- 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/progress-linear/anatomy/track.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/control.d.ts +3 -3
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/rating-group/anatomy/item.d.ts +3 -3
- package/dist/components/rating-group/anatomy/label.d.ts +3 -3
- 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/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/content.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/indicator.d.ts +3 -3
- package/dist/components/tabs/anatomy/indicator.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/list.d.ts +3 -3
- package/dist/components/tabs/anatomy/list.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tabs/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/root.d.ts +2 -2
- package/dist/components/tabs/anatomy/root.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/trigger.d.ts +3 -3
- package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/control.d.ts +3 -3
- package/dist/components/tags-input/anatomy/control.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -1
- 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/label.d.ts.map +1 -1
- 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/root.d.ts.map +1 -1
- 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 +13 -1
- package/dist/index.js +4 -1
- package/package.json +3 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react54 from "react";
|
|
4
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/dialog/anatomy/title.d.ts
|
|
7
|
+
interface DialogTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function Title(props: DialogTitleProps): string | number | bigint | boolean | Iterable<react54.ReactNode> | Promise<string | number | bigint | boolean | react54.ReactPortal | react54.ReactElement<unknown, string | react54.JSXElementConstructor<any>> | Iterable<react54.ReactNode> | null | undefined> | react_jsx_runtime17.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { DialogTitleProps, Title };
|
|
11
|
+
//# sourceMappingURL=title.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title.d.ts","names":[],"sources":["../../../../src/components/dialog/anatomy/title.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,gBAAA,SAAyB,yBAAyB;iBAE3C,KAAA,QAAa,wDAAgB,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,20 @@
|
|
|
1
|
+
import { DialogRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesDialog } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/dialog/anatomy/title.tsx
|
|
8
|
+
function Title(props) {
|
|
9
|
+
const dialog = use(DialogRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(dialog.getTitleProps(), rest, { className: classesDialog.title });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Title as default };
|
|
20
|
+
//# sourceMappingURL=title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title.js","names":[],"sources":["../../../../src/components/dialog/anatomy/title.tsx"],"sourcesContent":["import { DialogRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesDialog } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface DialogTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Title(props: DialogTitleProps) {\n\tconst dialog = use(DialogRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(dialog.getTitleProps(), rest, {\n\t\tclassName: classesDialog.title,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,eAAe,EAAE,MAAM,EAC3D,WAAW,cAAc,OACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react59 from "react";
|
|
4
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/dialog/anatomy/trigger.d.ts
|
|
7
|
+
interface DialogTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
+
declare function Trigger(props: DialogTriggerProps): string | number | bigint | boolean | Iterable<react59.ReactNode> | Promise<string | number | bigint | boolean | react59.ReactPortal | react59.ReactElement<unknown, string | react59.JSXElementConstructor<any>> | Iterable<react59.ReactNode> | null | undefined> | react_jsx_runtime18.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { DialogTriggerProps, Trigger };
|
|
11
|
+
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/dialog/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,kBAAA,SAA2B,4BAA4B;iBAEhD,OAAA,QAAe,0DAAkB,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,20 @@
|
|
|
1
|
+
import { DialogRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesDialog } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/dialog/anatomy/trigger.tsx
|
|
8
|
+
function Trigger(props) {
|
|
9
|
+
const dialog = use(DialogRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(dialog.getTriggerProps(), rest, { className: classesDialog.trigger });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Trigger as default };
|
|
20
|
+
//# sourceMappingURL=trigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/dialog/anatomy/trigger.tsx"],"sourcesContent":["import { DialogRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesDialog } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface DialogTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function Trigger(props: DialogTriggerProps) {\n\tconst dialog = use(DialogRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(dialog.getTriggerProps(), rest, {\n\t\tclassName: classesDialog.trigger,\n\t});\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA2B;CAC1D,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,iBAAiB,EAAE,MAAM,EAC7D,WAAW,cAAc,SACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Backdrop } from "../anatomy/backdrop.js";
|
|
2
|
+
import { CloseTrigger } from "../anatomy/close-trigger.js";
|
|
3
|
+
import { Content } from "../anatomy/content.js";
|
|
4
|
+
import { Description } from "../anatomy/description.js";
|
|
5
|
+
import { Positioner } from "../anatomy/positioner.js";
|
|
6
|
+
import { Root } from "../anatomy/root.js";
|
|
7
|
+
import { RootContext } from "../anatomy/root-context.js";
|
|
8
|
+
import { RootProvider } from "../anatomy/root-provider.js";
|
|
9
|
+
import { Title } from "../anatomy/title.js";
|
|
10
|
+
import { Trigger } from "../anatomy/trigger.js";
|
|
11
|
+
|
|
12
|
+
//#region src/components/dialog/modules/anatomy.d.ts
|
|
13
|
+
declare const Dialog: typeof Root & {
|
|
14
|
+
Provider: typeof RootProvider;
|
|
15
|
+
Context: typeof RootContext;
|
|
16
|
+
Trigger: typeof Trigger;
|
|
17
|
+
Backdrop: typeof Backdrop;
|
|
18
|
+
Positioner: typeof Positioner;
|
|
19
|
+
Content: typeof Content;
|
|
20
|
+
Title: typeof Title;
|
|
21
|
+
Description: typeof Description;
|
|
22
|
+
CloseTrigger: typeof CloseTrigger;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Dialog };
|
|
26
|
+
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/dialog/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAWa,eAAM;;EAAN,OAAA,EAUX,kBAAA;EAAA,OAAA,EAAA,cAAA;UAViB,EAAA,eAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import Backdrop from "../anatomy/backdrop.js";
|
|
2
|
+
import CloseTrigger from "../anatomy/close-trigger.js";
|
|
3
|
+
import Content from "../anatomy/content.js";
|
|
4
|
+
import Description from "../anatomy/description.js";
|
|
5
|
+
import Positioner from "../anatomy/positioner.js";
|
|
6
|
+
import Root from "../anatomy/root.js";
|
|
7
|
+
import RootContext from "../anatomy/root-context.js";
|
|
8
|
+
import RootProvider from "../anatomy/root-provider.js";
|
|
9
|
+
import Title from "../anatomy/title.js";
|
|
10
|
+
import Trigger from "../anatomy/trigger.js";
|
|
11
|
+
|
|
12
|
+
//#region src/components/dialog/modules/anatomy.ts
|
|
13
|
+
const Dialog = Object.assign(Root, {
|
|
14
|
+
Provider: RootProvider,
|
|
15
|
+
Context: RootContext,
|
|
16
|
+
Trigger,
|
|
17
|
+
Backdrop,
|
|
18
|
+
Positioner,
|
|
19
|
+
Content,
|
|
20
|
+
Title,
|
|
21
|
+
Description,
|
|
22
|
+
CloseTrigger
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Dialog };
|
|
27
|
+
//# sourceMappingURL=anatomy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.js","names":[],"sources":["../../../../src/components/dialog/modules/anatomy.ts"],"sourcesContent":["import Backdrop from '../anatomy/backdrop';\nimport CloseTrigger from '../anatomy/close-trigger';\nimport Content from '../anatomy/content';\nimport Description from '../anatomy/description';\nimport Positioner from '../anatomy/positioner';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport RootProvider from '../anatomy/root-provider';\nimport Title from '../anatomy/title';\nimport Trigger from '../anatomy/trigger';\n\nexport const Dialog = Object.assign(Root, {\n\tProvider: RootProvider,\n\tContext: RootContext,\n\tTrigger: Trigger,\n\tBackdrop: Backdrop,\n\tPositioner: Positioner,\n\tContent: Content,\n\tTitle: Title,\n\tDescription: Description,\n\tCloseTrigger: CloseTrigger,\n});\n"],"mappings":";;;;;;;;;;;;AAWA,MAAa,SAAS,OAAO,OAAO,MAAM;CACzC,UAAU;CACV,SAAS;CACA;CACC;CACE;CACH;CACF;CACM;CACC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/dialog/modules/root-context.ts"],"sourcesContent":["import type { useDialog } from './use-dialog';\nimport { createContext } from '@/internal/create-context';\n\nexport const DialogRootContext = createContext<ReturnType<typeof useDialog>>();\n"],"mappings":";;;AAGA,MAAa,oBAAoB,eAA6C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropTypes } from "@zag-js/react";
|
|
2
|
+
import { Api, Props } from "@zag-js/dialog";
|
|
3
|
+
|
|
4
|
+
//#region src/components/dialog/modules/use-dialog.d.ts
|
|
5
|
+
declare function useDialog(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { useDialog };
|
|
8
|
+
//# sourceMappingURL=use-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dialog.d.ts","names":[],"sources":["../../../../src/components/dialog/modules/use-dialog.ts"],"sourcesContent":[],"mappings":";;;;iBAIgB,SAAA,SAAiB,KAAK,eAAoB,IAAI"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useId } from "react";
|
|
2
|
+
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
3
|
+
import { connect, machine } from "@zag-js/dialog";
|
|
4
|
+
|
|
5
|
+
//#region src/components/dialog/modules/use-dialog.ts
|
|
6
|
+
function useDialog(props = {}) {
|
|
7
|
+
const service = useMachine(machine, {
|
|
8
|
+
id: useId(),
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
return connect(service, normalizeProps);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { useDialog };
|
|
16
|
+
//# sourceMappingURL=use-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dialog.js","names":[],"sources":["../../../../src/components/dialog/modules/use-dialog.ts"],"sourcesContent":["import { type Api, connect, machine, type Props } from '@zag-js/dialog';\nimport { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { useId } from 'react';\n\nexport function useDialog(props: Omit<Props, 'id'> = {}): Api<PropTypes> {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAIA,SAAgB,UAAU,QAA2B,EAAE,EAAkB;CACxE,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
|
|
@@ -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 react64 from "react";
|
|
4
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/dropzone.d.ts
|
|
7
7
|
interface FileUploadDropzoneProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Dropzone(props: FileUploadDropzoneProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Dropzone(props: FileUploadDropzoneProps): string | number | bigint | boolean | Iterable<react64.ReactNode> | Promise<string | number | bigint | boolean | react64.ReactPortal | react64.ReactElement<unknown, string | react64.JSXElementConstructor<any>> | Iterable<react64.ReactNode> | null | undefined> | react_jsx_runtime19.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Dropzone, FileUploadDropzoneProps };
|
|
11
11
|
//# sourceMappingURL=dropzone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropzone.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/dropzone.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,yBAAyB;iBAElD,QAAA,QAAgB,+DAAuB,SAAA,
|
|
1
|
+
{"version":3,"file":"dropzone.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/dropzone.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,yBAAyB;iBAElD,QAAA,QAAgB,+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 react69 from "react";
|
|
4
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/hidden-input.d.ts
|
|
7
7
|
interface FileUploadHiddenInputProps extends PropsWithElement<'input'>, Omit<HTMLAttributes<'input'>, 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: FileUploadHiddenInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function HiddenInput(props: FileUploadHiddenInputProps): 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_runtime20.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadHiddenInputProps, HiddenInput };
|
|
11
11
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,0BAAA,SAAmC,2BAA2B,KAAK;iBAE5D,WAAA,QAAmB,kEAA0B,SAAA,
|
|
1
|
+
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,0BAAA,SAAmC,2BAA2B,KAAK;iBAE5D,WAAA,QAAmB,kEAA0B,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 react74 from "react";
|
|
4
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/item-delete-trigger.d.ts
|
|
7
7
|
interface FileUploadItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ItemDeleteTrigger(props: FileUploadItemDeleteTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemDeleteTrigger(props: FileUploadItemDeleteTriggerProps): 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_runtime22.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadItemDeleteTriggerProps, ItemDeleteTrigger };
|
|
11
11
|
//# sourceMappingURL=item-delete-trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-delete-trigger.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item-delete-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,gCAAA,SAAyC,4BAA4B;iBAE9D,iBAAA,QAAyB,wEAAgC,SAAA,
|
|
1
|
+
{"version":3,"file":"item-delete-trigger.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item-delete-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,gCAAA,SAAyC,4BAA4B;iBAE9D,iBAAA,QAAyB,wEAAgC,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 react79 from "react";
|
|
4
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/item-group.d.ts
|
|
7
7
|
interface FileUploadItemGroupProps extends PropsWithElement<'ul'>, HTMLAttributes<'ul'> {}
|
|
8
|
-
declare function ItemGroup(props: FileUploadItemGroupProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemGroup(props: FileUploadItemGroupProps): 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_runtime23.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadItemGroupProps, ItemGroup };
|
|
11
11
|
//# sourceMappingURL=item-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-group.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item-group.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,wBAAwB;iBAElD,SAAA,QAAiB,gEAAwB,SAAA,
|
|
1
|
+
{"version":3,"file":"item-group.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item-group.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,wBAAwB;iBAElD,SAAA,QAAiB,gEAAwB,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_runtime24 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/item-name.d.ts
|
|
7
7
|
interface FileUploadItemNameProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemName(props: FileUploadItemNameProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemName(props: FileUploadItemNameProps): 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_runtime24.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadItemNameProps, ItemName };
|
|
11
11
|
//# sourceMappingURL=item-name.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-name.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item-name.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,uBAAA,SAAgC,yBAAyB;iBAElD,QAAA,QAAgB,+DAAuB,SAAA,
|
|
1
|
+
{"version":3,"file":"item-name.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item-name.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,uBAAA,SAAgC,yBAAyB;iBAElD,QAAA,QAAgB,+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 react89 from "react";
|
|
4
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/item-size-text.d.ts
|
|
7
7
|
interface FileUploadItemSizeTextProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemSizeText(props: FileUploadItemSizeTextProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemSizeText(props: FileUploadItemSizeTextProps): string | number | bigint | boolean | Iterable<react89.ReactNode> | Promise<string | number | bigint | boolean | react89.ReactPortal | react89.ReactElement<unknown, string | react89.JSXElementConstructor<any>> | Iterable<react89.ReactNode> | null | undefined> | react_jsx_runtime25.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadItemSizeTextProps, ItemSizeText };
|
|
11
11
|
//# sourceMappingURL=item-size-text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-size-text.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item-size-text.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,2BAAA,SAAoC,yBAAyB;iBAEtD,YAAA,QAAoB,mEAA2B,SAAA,
|
|
1
|
+
{"version":3,"file":"item-size-text.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item-size-text.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,2BAAA,SAAoC,yBAAyB;iBAEtD,YAAA,QAAoB,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,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/file-upload";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/item.d.ts
|
|
7
7
|
interface FileUploadItemProps extends ItemProps, PropsWithElement<'li'>, HTMLAttributes<'li'> {}
|
|
8
|
-
declare function Item(props: FileUploadItemProps):
|
|
8
|
+
declare function Item(props: FileUploadItemProps): react_jsx_runtime21.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadItemProps, Item };
|
|
11
11
|
//# sourceMappingURL=item.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 { useFileUpload } from "../modules/use-file-upload.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/root-provider.d.ts
|
|
7
7
|
interface FileUploadRootProviderProps extends PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useFileUpload>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: FileUploadRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: FileUploadRootProviderProps): react_jsx_runtime27.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FileUploadRootProviderProps, 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_runtime26 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/file-upload";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/root.d.ts
|
|
7
7
|
interface FileUploadRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id' | 'dir'> {}
|
|
8
|
-
declare function Root(props: FileUploadRootProps):
|
|
8
|
+
declare function Root(props: FileUploadRootProps): react_jsx_runtime26.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadRootProps, 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 react94 from "react";
|
|
4
|
+
import * as react_jsx_runtime28 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<react94.ReactNode> | Promise<string | number | bigint | boolean | react94.ReactPortal | react94.ReactElement<unknown, string | react94.JSXElementConstructor<any>> | Iterable<react94.ReactNode> | null | undefined> | react_jsx_runtime28.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadTriggerProps, Trigger };
|
|
11
11
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,sBAAA,SAA+B,4BAA4B;iBAEpD,OAAA,QAAe,8DAAsB,SAAA,
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,sBAAA,SAA+B,4BAA4B;iBAEpD,OAAA,QAAe,8DAAsB,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 react282 from "react";
|
|
4
|
+
import * as react_jsx_runtime84 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<react282.ReactNode> | Promise<string | number | bigint | boolean | react282.ReactPortal | react282.ReactElement<unknown, string | react282.JSXElementConstructor<any>> | Iterable<react282.ReactNode> | null | undefined> | react_jsx_runtime84.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 react287 from "react";
|
|
4
|
+
import * as react_jsx_runtime85 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<react287.ReactNode> | Promise<string | number | bigint | boolean | react287.ReactPortal | react287.ReactElement<unknown, string | react287.JSXElementConstructor<any>> | Iterable<react287.ReactNode> | null | undefined> | react_jsx_runtime85.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 react124 from "react";
|
|
4
|
+
import * as react_jsx_runtime37 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<react124.ReactNode> | Promise<string | number | bigint | boolean | react124.ReactPortal | react124.ReactElement<unknown, string | react124.JSXElementConstructor<any>> | Iterable<react124.ReactNode> | null | undefined> | react_jsx_runtime37.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, ProgressLinearLabelProps };
|
|
11
11
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/progress-linear/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,yBAAyB;iBAEnD,KAAA,QAAa,gEAAwB,SAAA,
|
|
1
|
+
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/progress-linear/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,yBAAyB;iBAEnD,KAAA,QAAa,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 react129 from "react";
|
|
4
|
+
import * as react_jsx_runtime38 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<react129.ReactNode> | Promise<string | number | bigint | boolean | react129.ReactPortal | react129.ReactElement<unknown, string | react129.JSXElementConstructor<any>> | Iterable<react129.ReactNode> | null | undefined> | react_jsx_runtime38.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressLinearRangeProps, Range };
|
|
11
11
|
//# sourceMappingURL=range.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.d.ts","names":[],"sources":["../../../../src/components/progress-linear/anatomy/range.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,yBAAyB;iBAEnD,KAAA,QAAa,gEAAwB,SAAA,
|
|
1
|
+
{"version":3,"file":"range.d.ts","names":[],"sources":["../../../../src/components/progress-linear/anatomy/range.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,yBAAyB;iBAEnD,KAAA,QAAa,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,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_runtime40 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_runtime40.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_runtime39 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_runtime39.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 react134 from "react";
|
|
4
|
+
import * as react_jsx_runtime41 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<react134.ReactNode> | Promise<string | number | bigint | boolean | react134.ReactPortal | react134.ReactElement<unknown, string | react134.JSXElementConstructor<any>> | Iterable<react134.ReactNode> | null | undefined> | react_jsx_runtime41.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressLinearTrackProps, Track };
|
|
11
11
|
//# sourceMappingURL=track.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"track.d.ts","names":[],"sources":["../../../../src/components/progress-linear/anatomy/track.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,yBAAyB;iBAEnD,KAAA,QAAa,gEAAwB,SAAA,
|
|
1
|
+
{"version":3,"file":"track.d.ts","names":[],"sources":["../../../../src/components/progress-linear/anatomy/track.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,wBAAA,SAAiC,yBAAyB;iBAEnD,KAAA,QAAa,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 react139 from "react";
|
|
4
|
+
import * as react_jsx_runtime42 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<react139.ReactNode> | Promise<string | number | bigint | boolean | react139.ReactPortal | react139.ReactElement<unknown, string | react139.JSXElementConstructor<any>> | Iterable<react139.ReactNode> | null | undefined> | react_jsx_runtime42.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, RatingGroupControlProps };
|
|
11
11
|
//# sourceMappingURL=control.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 react144 from "react";
|
|
4
|
+
import * as react_jsx_runtime43 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<react144.ReactNode> | Promise<string | number | bigint | boolean | react144.ReactPortal | react144.ReactElement<unknown, string | react144.JSXElementConstructor<any>> | Iterable<react144.ReactNode> | null | undefined> | react_jsx_runtime43.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { HiddenInput, RatingGroupHiddenInputProps };
|
|
11
11
|
//# sourceMappingURL=hidden-input.d.ts.map
|