@skeletonlabs/skeleton-react 2.0.0-next.17 → 2.0.0-next.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/anatomy/item-content.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -2
- package/dist/components/app-bar/anatomy/headline.d.ts +2 -2
- package/dist/components/app-bar/anatomy/lead.d.ts +2 -2
- package/dist/components/app-bar/anatomy/root.d.ts +2 -2
- package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -2
- package/dist/components/app-bar/anatomy/trail.d.ts +2 -2
- package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/dialog/anatomy/content.d.ts +2 -2
- package/dist/components/dialog/anatomy/description.d.ts +2 -2
- package/dist/components/dialog/anatomy/positioner.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/root.d.ts +2 -2
- package/dist/components/dialog/anatomy/title.d.ts +2 -2
- package/dist/components/dialog/anatomy/trigger.d.ts +2 -2
- package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/popover/anatomy/arrow.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/portal/anatomy/root.d.ts +2 -2
- package/dist/components/progress/anatomy/circle-range.d.ts +10 -0
- package/dist/components/progress/anatomy/circle-range.d.ts.map +1 -0
- package/dist/components/progress/anatomy/circle-range.js +20 -0
- package/dist/components/progress/anatomy/circle-range.js.map +1 -0
- package/dist/components/progress/anatomy/circle-track.d.ts +10 -0
- package/dist/components/progress/anatomy/circle-track.d.ts.map +1 -0
- package/dist/components/progress/anatomy/circle-track.js +17 -0
- package/dist/components/progress/anatomy/circle-track.js.map +1 -0
- package/dist/components/progress/anatomy/circle.d.ts +10 -0
- package/dist/components/progress/anatomy/circle.d.ts.map +1 -0
- package/dist/components/progress/anatomy/circle.js +26 -0
- package/dist/components/progress/anatomy/circle.js.map +1 -0
- package/dist/components/progress/anatomy/label.d.ts +10 -0
- package/dist/components/progress/anatomy/label.d.ts.map +1 -0
- package/dist/components/{progress-linear → progress}/anatomy/label.js +4 -4
- package/dist/components/progress/anatomy/label.js.map +1 -0
- package/dist/components/progress/anatomy/range.d.ts +10 -0
- package/dist/components/progress/anatomy/range.d.ts.map +1 -0
- package/dist/components/{progress-linear → progress}/anatomy/range.js +4 -4
- package/dist/components/progress/anatomy/range.js.map +1 -0
- package/dist/components/progress/anatomy/root-context.d.ts +11 -0
- package/dist/components/progress/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/{progress-linear → progress}/anatomy/root-context.js +3 -3
- package/dist/components/progress/anatomy/root-context.js.map +1 -0
- package/dist/components/progress/anatomy/root-provider.d.ts +13 -0
- package/dist/components/progress/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/{progress-linear → progress}/anatomy/root-provider.js +5 -5
- package/dist/components/progress/anatomy/root-provider.js.map +1 -0
- package/dist/components/progress/anatomy/root.d.ts +11 -0
- package/dist/components/progress/anatomy/root.d.ts.map +1 -0
- package/dist/components/progress/anatomy/root.js +25 -0
- package/dist/components/progress/anatomy/root.js.map +1 -0
- package/dist/components/progress/anatomy/track.d.ts +10 -0
- package/dist/components/progress/anatomy/track.d.ts.map +1 -0
- package/dist/components/{progress-linear → progress}/anatomy/track.js +4 -4
- package/dist/components/progress/anatomy/track.js.map +1 -0
- package/dist/components/progress/anatomy/value-text.d.ts +10 -0
- package/dist/components/progress/anatomy/value-text.d.ts.map +1 -0
- package/dist/components/progress/anatomy/value-text.js +20 -0
- package/dist/components/progress/anatomy/value-text.js.map +1 -0
- package/dist/components/progress/modules/anatomy.d.ts +26 -0
- package/dist/components/progress/modules/anatomy.d.ts.map +1 -0
- package/dist/components/progress/modules/anatomy.js +27 -0
- package/dist/components/progress/modules/anatomy.js.map +1 -0
- package/dist/components/progress/modules/provider.d.ts +8 -0
- package/dist/components/progress/modules/provider.d.ts.map +1 -0
- package/dist/components/{progress-linear → progress}/modules/provider.js +3 -3
- package/dist/components/progress/modules/provider.js.map +1 -0
- package/dist/components/{progress-linear → progress}/modules/root-context.js +1 -1
- package/dist/components/progress/modules/root-context.js.map +1 -0
- package/dist/components/rating-group/anatomy/control.d.ts +2 -2
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/rating-group/anatomy/item.d.ts +2 -2
- package/dist/components/rating-group/anatomy/label.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/control.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/label.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
- package/dist/components/slider/anatomy/control.d.ts +2 -2
- package/dist/components/slider/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/slider/anatomy/label.d.ts +2 -2
- package/dist/components/slider/anatomy/marker-group.d.ts +2 -2
- package/dist/components/slider/anatomy/marker.d.ts +2 -2
- package/dist/components/slider/anatomy/range.d.ts +2 -2
- package/dist/components/slider/anatomy/root-provider.d.ts +2 -2
- package/dist/components/slider/anatomy/root.d.ts +2 -2
- package/dist/components/slider/anatomy/thumb.d.ts +2 -2
- package/dist/components/slider/anatomy/track.d.ts +2 -2
- package/dist/components/slider/anatomy/value-text.d.ts +2 -2
- package/dist/components/switch/anatomy/control.d.ts +2 -2
- package/dist/components/switch/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/switch/anatomy/label.d.ts +2 -2
- package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
- package/dist/components/switch/anatomy/thumb.d.ts +2 -2
- package/dist/components/tabs/anatomy/content.d.ts +2 -2
- package/dist/components/tabs/anatomy/indicator.d.ts +2 -2
- package/dist/components/tabs/anatomy/list.d.ts +2 -2
- package/dist/components/tabs/anatomy/trigger.d.ts +2 -2
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -2
- package/dist/components/tags-input/anatomy/control.d.ts +2 -2
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-preview.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-text.d.ts +2 -2
- package/dist/components/tags-input/anatomy/label.d.ts +2 -2
- package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/description.d.ts +2 -2
- package/dist/components/toast/anatomy/message.d.ts +2 -2
- package/dist/components/toast/anatomy/title.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow.d.ts +2 -2
- package/dist/components/tooltip/anatomy/content.d.ts +2 -2
- package/dist/components/tooltip/anatomy/trigger.d.ts +2 -2
- package/dist/index.d.ts +13 -9
- package/dist/index.js +3 -3
- package/package.json +7 -7
- package/dist/components/progress-linear/anatomy/label.d.ts +0 -10
- package/dist/components/progress-linear/anatomy/label.d.ts.map +0 -1
- package/dist/components/progress-linear/anatomy/label.js.map +0 -1
- package/dist/components/progress-linear/anatomy/range.d.ts +0 -10
- package/dist/components/progress-linear/anatomy/range.d.ts.map +0 -1
- package/dist/components/progress-linear/anatomy/range.js.map +0 -1
- package/dist/components/progress-linear/anatomy/root-context.d.ts +0 -11
- package/dist/components/progress-linear/anatomy/root-context.d.ts.map +0 -1
- package/dist/components/progress-linear/anatomy/root-context.js.map +0 -1
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +0 -13
- package/dist/components/progress-linear/anatomy/root-provider.d.ts.map +0 -1
- package/dist/components/progress-linear/anatomy/root-provider.js.map +0 -1
- package/dist/components/progress-linear/anatomy/root.d.ts +0 -11
- package/dist/components/progress-linear/anatomy/root.d.ts.map +0 -1
- package/dist/components/progress-linear/anatomy/root.js +0 -25
- package/dist/components/progress-linear/anatomy/root.js.map +0 -1
- package/dist/components/progress-linear/anatomy/track.d.ts +0 -10
- package/dist/components/progress-linear/anatomy/track.d.ts.map +0 -1
- package/dist/components/progress-linear/anatomy/track.js.map +0 -1
- package/dist/components/progress-linear/modules/anatomy.d.ts +0 -18
- package/dist/components/progress-linear/modules/anatomy.d.ts.map +0 -1
- package/dist/components/progress-linear/modules/anatomy.js +0 -19
- package/dist/components/progress-linear/modules/anatomy.js.map +0 -1
- package/dist/components/progress-linear/modules/provider.d.ts +0 -8
- package/dist/components/progress-linear/modules/provider.d.ts.map +0 -1
- package/dist/components/progress-linear/modules/provider.js.map +0 -1
- package/dist/components/progress-linear/modules/root-context.js.map +0 -1
|
@@ -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_runtime19 from "react/jsx-runtime";
|
|
4
|
+
import { Props } from "@zag-js/progress";
|
|
5
|
+
|
|
6
|
+
//#region src/components/progress/anatomy/root.d.ts
|
|
7
|
+
interface ProgressRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
+
declare function Root(props: ProgressRootProps): react_jsx_runtime19.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ProgressRootProps, Root };
|
|
11
|
+
//# sourceMappingURL=root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,iBAAA,SACR,KAAK,cACZ,yBACA;iBAEsB,IAAA,QAAY,oBAAiB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { useProgress } from "../modules/provider.js";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesProgress } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { splitProps } from "@zag-js/progress";
|
|
7
|
+
|
|
8
|
+
//#region src/components/progress/anatomy/root.tsx
|
|
9
|
+
function Root(props) {
|
|
10
|
+
const [progressProps, componentProps] = splitProps(props);
|
|
11
|
+
const { element, children,...rest } = componentProps;
|
|
12
|
+
const progress = useProgress(progressProps);
|
|
13
|
+
const attributes = mergeProps(progress.getRootProps(), { className: classesProgress.root }, rest);
|
|
14
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
15
|
+
value: progress,
|
|
16
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
|
+
...attributes,
|
|
18
|
+
children
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Root as default };
|
|
25
|
+
//# sourceMappingURL=root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/progress/anatomy/root.tsx"],"sourcesContent":["import { useProgress } from '../modules/provider';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgress } from '@skeletonlabs/skeleton-common';\nimport { splitProps } from '@zag-js/progress';\nimport type { Props } from '@zag-js/progress';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ProgressRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: ProgressRootProps) {\n\tconst [progressProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst progress = useProgress(progressProps);\n\n\tconst attributes = mergeProps(\n\t\tprogress.getRootProps(),\n\t\t{\n\t\t\tclassName: classesProgress.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<RootContext.Provider value={progress}>{element ? element(attributes) : <div {...attributes}>{children}</div>}</RootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,KAAK,OAA0B;CACtD,MAAM,CAAC,eAAe,kBAAkB,WAAW,MAAM;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,WAAW,YAAY,cAAc;CAE3C,MAAM,aAAa,WAClB,SAAS,cAAc,EACvB,EACC,WAAW,gBAAgB,MAC3B,EACD,KACA;AAED,QACC,oBAAC,YAAY;EAAS,OAAO;YAAW,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAAwB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react51 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/progress/anatomy/track.d.ts
|
|
6
|
+
interface ProgressTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function Track(props: ProgressTrackProps): react51.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ProgressTrackProps, Track };
|
|
10
|
+
//# sourceMappingURL=track.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"track.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/track.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,kBAAA,SAA2B,yBAAyB;iBAE7C,KAAA,QAAa,qBAAkB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
|
-
import {
|
|
4
|
+
import { classesProgress } from "@skeletonlabs/skeleton-common";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
|
-
//#region src/components/progress
|
|
7
|
+
//#region src/components/progress/anatomy/track.tsx
|
|
8
8
|
function Track(props) {
|
|
9
|
-
const
|
|
9
|
+
const progress = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(
|
|
11
|
+
const attributes = mergeProps(progress.getTrackProps(), { className: classesProgress.track }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/progress/anatomy/track.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgress } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ProgressTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Track(props: ProgressTrackProps) {\n\tconst progress = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogress.getTrackProps(),\n\t\t{\n\t\t\tclassName: classesProgress.track,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA2B;CACxD,MAAM,WAAW,IAAI,YAAY;CAEjC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,eAAe,EACxB,EACC,WAAW,gBAAgB,OAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react52 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/progress/anatomy/value-text.d.ts
|
|
6
|
+
interface ProgressValueTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
+
declare function ValueText(props: ProgressValueTextProps): react52.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ProgressValueTextProps, ValueText };
|
|
10
|
+
//# sourceMappingURL=value-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-text.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/value-text.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,0BAA0B;iBAElD,SAAA,QAAiB,yBAAsB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesProgress } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/progress/anatomy/value-text.tsx
|
|
8
|
+
function ValueText(props) {
|
|
9
|
+
const progress = use(RootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(progress.getValueTextProps(), { className: classesProgress.valueText }, rest);
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children: children ?? progress.percentAsString
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { ValueText as default };
|
|
20
|
+
//# sourceMappingURL=value-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-text.js","names":[],"sources":["../../../../src/components/progress/anatomy/value-text.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgress } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ProgressValueTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function ValueText(props: ProgressValueTextProps) {\n\tconst progress = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogress.getValueTextProps(),\n\t\t{\n\t\t\tclassName: classesProgress.valueText,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children ?? progress.percentAsString}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAA+B;CAChE,MAAM,WAAW,IAAI,YAAY;CAEjC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,mBAAmB,EAC5B,EACC,WAAW,gBAAgB,WAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;YAAa,YAAY,SAAS;GAAuB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Label } from "../anatomy/label.js";
|
|
2
|
+
import { Range } from "../anatomy/range.js";
|
|
3
|
+
import { Root } from "../anatomy/root.js";
|
|
4
|
+
import { RootContext } from "../anatomy/root-context.js";
|
|
5
|
+
import { RootProvider } from "../anatomy/root-provider.js";
|
|
6
|
+
import { Track } from "../anatomy/track.js";
|
|
7
|
+
import { ValueText } from "../anatomy/value-text.js";
|
|
8
|
+
import { Circle } from "../anatomy/circle.js";
|
|
9
|
+
import { CircleRange } from "../anatomy/circle-range.js";
|
|
10
|
+
import { CircleTrack } from "../anatomy/circle-track.js";
|
|
11
|
+
|
|
12
|
+
//#region src/components/progress/modules/anatomy.d.ts
|
|
13
|
+
declare const Progress: typeof Root & {
|
|
14
|
+
Provider: typeof RootProvider;
|
|
15
|
+
Context: typeof RootContext;
|
|
16
|
+
Label: typeof Label;
|
|
17
|
+
ValueText: typeof ValueText;
|
|
18
|
+
Track: typeof Track;
|
|
19
|
+
Range: typeof Range;
|
|
20
|
+
Circle: typeof Circle;
|
|
21
|
+
CircleTrack: typeof CircleTrack;
|
|
22
|
+
CircleRange: typeof CircleRange;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Progress };
|
|
26
|
+
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/progress/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAWa,iBAAQ;;EAAR,OAAA,EAAA,kBAUX;EAAA,KAAA,EAAA,YAAA;WAVmB,EAAA,gBAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import Circle from "../anatomy/circle.js";
|
|
2
|
+
import CircleRange from "../anatomy/circle-range.js";
|
|
3
|
+
import CircleTrack from "../anatomy/circle-track.js";
|
|
4
|
+
import Label from "../anatomy/label.js";
|
|
5
|
+
import Range from "../anatomy/range.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 Track from "../anatomy/track.js";
|
|
10
|
+
import ValueText from "../anatomy/value-text.js";
|
|
11
|
+
|
|
12
|
+
//#region src/components/progress/modules/anatomy.ts
|
|
13
|
+
const Progress = Object.assign(Root, {
|
|
14
|
+
Provider: RootProvider,
|
|
15
|
+
Context: RootContext,
|
|
16
|
+
Label,
|
|
17
|
+
ValueText,
|
|
18
|
+
Track,
|
|
19
|
+
Range,
|
|
20
|
+
Circle,
|
|
21
|
+
CircleTrack,
|
|
22
|
+
CircleRange
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Progress };
|
|
27
|
+
//# sourceMappingURL=anatomy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.js","names":[],"sources":["../../../../src/components/progress/modules/anatomy.ts"],"sourcesContent":["import Circle from '../anatomy/circle';\nimport CircleRange from '../anatomy/circle-range';\nimport CircleTrack from '../anatomy/circle-track';\nimport Label from '../anatomy/label';\nimport Range from '../anatomy/range';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport RootProvider from '../anatomy/root-provider';\nimport Track from '../anatomy/track';\nimport ValueText from '../anatomy/value-text';\n\nexport const Progress = Object.assign(Root, {\n\tProvider: RootProvider,\n\tContext: RootContext,\n\tLabel: Label,\n\tValueText: ValueText,\n\tTrack: Track,\n\tRange: Range,\n\tCircle: Circle,\n\tCircleTrack: CircleTrack,\n\tCircleRange: CircleRange,\n});\n"],"mappings":";;;;;;;;;;;;AAWA,MAAa,WAAW,OAAO,OAAO,MAAM;CAC3C,UAAU;CACV,SAAS;CACF;CACI;CACJ;CACA;CACC;CACK;CACA;CACb,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropTypes } from "@zag-js/react";
|
|
2
|
+
import { Api, Props } from "@zag-js/progress";
|
|
3
|
+
|
|
4
|
+
//#region src/components/progress/modules/provider.d.ts
|
|
5
|
+
declare function useProgress(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { useProgress };
|
|
8
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","names":[],"sources":["../../../../src/components/progress/modules/provider.ts"],"sourcesContent":[],"mappings":";;;;iBAKgB,WAAA,SAAmB,KAAK,eAAoB,IAAI"}
|
|
@@ -2,8 +2,8 @@ import { useId } from "react";
|
|
|
2
2
|
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
3
3
|
import { connect, machine } from "@zag-js/progress";
|
|
4
4
|
|
|
5
|
-
//#region src/components/progress
|
|
6
|
-
function
|
|
5
|
+
//#region src/components/progress/modules/provider.ts
|
|
6
|
+
function useProgress(props = {}) {
|
|
7
7
|
const service = useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
@@ -12,5 +12,5 @@ function useProgressLinear(props = {}) {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
export {
|
|
15
|
+
export { useProgress };
|
|
16
16
|
//# sourceMappingURL=provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","names":[],"sources":["../../../../src/components/progress/modules/provider.ts"],"sourcesContent":["import { connect, machine } from '@zag-js/progress';\nimport type { Api, Props } from '@zag-js/progress';\nimport { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { useId } from 'react';\n\nexport function useProgress(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":";;;;;AAKA,SAAgB,YAAY,QAA2B,EAAE,EAAkB;CAC1E,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/progress/modules/root-context.ts"],"sourcesContent":["import type { useProgress } from './provider';\nimport { createContext } from '@/internal/create-context';\n\nexport const RootContext = createContext<ReturnType<typeof useProgress>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAA+C"}
|
|
@@ -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 react56 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/rating-group/anatomy/control.d.ts
|
|
6
6
|
interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
7
|
-
declare function Control(props: RatingGroupControlProps):
|
|
7
|
+
declare function Control(props: RatingGroupControlProps): react56.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Control, RatingGroupControlProps };
|
|
10
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react57 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/rating-group/anatomy/hidden-input.d.ts
|
|
6
6
|
interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}
|
|
7
|
-
declare function HiddenInput(props: RatingGroupHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: RatingGroupHiddenInputProps): react57.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HiddenInput, RatingGroupHiddenInputProps };
|
|
10
10
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react58 from "react";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { ItemProps } from "@zag-js/rating-group";
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTML
|
|
|
25
25
|
*/
|
|
26
26
|
full?: ReactNode;
|
|
27
27
|
}
|
|
28
|
-
declare function Item(props: RatingGroupItemProps):
|
|
28
|
+
declare function Item(props: RatingGroupItemProps): react58.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Item, RatingGroupItemProps };
|
|
31
31
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react59 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/rating-group/anatomy/label.d.ts
|
|
6
6
|
interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
|
|
7
|
-
declare function Label(props: RatingGroupLabelProps):
|
|
7
|
+
declare function Label(props: RatingGroupLabelProps): react59.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Label, RatingGroupLabelProps };
|
|
10
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react66 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/control.d.ts
|
|
6
6
|
interface SegmentedControlControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Control(props: SegmentedControlControlProps):
|
|
7
|
+
declare function Control(props: SegmentedControlControlProps): react66.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Control, SegmentedControlControlProps };
|
|
10
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react67 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/indicator.d.ts
|
|
6
6
|
interface SegmentedControlIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
7
|
-
declare function Indicator(props: SegmentedControlIndicatorProps):
|
|
7
|
+
declare function Indicator(props: SegmentedControlIndicatorProps): react67.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Indicator, SegmentedControlIndicatorProps };
|
|
10
10
|
//# sourceMappingURL=indicator.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react63 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/item-hidden-input.d.ts
|
|
6
6
|
interface SegmentedControlItemHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
7
|
-
declare function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps):
|
|
7
|
+
declare function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps): react63.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ItemHiddenInput, SegmentedControlItemHiddenInputProps };
|
|
10
10
|
//# sourceMappingURL=item-hidden-input.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 react68 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/item-text.d.ts
|
|
6
6
|
interface SegmentedControlItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function ItemText(props: SegmentedControlItemTextProps):
|
|
7
|
+
declare function ItemText(props: SegmentedControlItemTextProps): react68.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ItemText, SegmentedControlItemTextProps };
|
|
10
10
|
//# sourceMappingURL=item-text.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/radio-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/item.d.ts
|
|
7
7
|
interface SegmentedControlItemProps extends ItemProps, PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
-
declare function Item(props: SegmentedControlItemProps):
|
|
8
|
+
declare function Item(props: SegmentedControlItemProps): react_jsx_runtime26.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, SegmentedControlItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react65 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/label.d.ts
|
|
6
6
|
interface SegmentedControlLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function Label(props: SegmentedControlLabelProps):
|
|
7
|
+
declare function Label(props: SegmentedControlLabelProps): react65.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Label, SegmentedControlLabelProps };
|
|
10
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useSegmentedControl } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/root-provider.d.ts
|
|
7
7
|
interface SegmentedControlRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useSegmentedControl>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: SegmentedControlRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: SegmentedControlRootProviderProps): react_jsx_runtime25.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, SegmentedControlRootProviderProps };
|
|
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_runtime24 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/radio-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/root.d.ts
|
|
7
7
|
interface SegmentedControlRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: SegmentedControlRootProps):
|
|
8
|
+
declare function Root(props: SegmentedControlRootProps): react_jsx_runtime24.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, SegmentedControlRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react75 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/control.d.ts
|
|
6
6
|
interface SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Control(props: SliderControlProps):
|
|
7
|
+
declare function Control(props: SliderControlProps): react75.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Control, SliderControlProps };
|
|
10
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react71 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/hidden-input.d.ts
|
|
6
6
|
interface SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
7
|
-
declare function HiddenInput(props: SliderHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: SliderHiddenInputProps): react71.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HiddenInput, SliderHiddenInputProps };
|
|
10
10
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react73 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/label.d.ts
|
|
6
6
|
interface SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
7
|
-
declare function Label(props: SliderLabelProps):
|
|
7
|
+
declare function Label(props: SliderLabelProps): react73.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Label, SliderLabelProps };
|
|
10
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react76 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/marker-group.d.ts
|
|
6
6
|
interface SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function MarkerGroup(props: SliderMarkerGroupProps):
|
|
7
|
+
declare function MarkerGroup(props: SliderMarkerGroupProps): react76.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { MarkerGroup, SliderMarkerGroupProps };
|
|
10
10
|
//# sourceMappingURL=marker-group.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react69 from "react";
|
|
4
4
|
import { MarkerProps } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/marker.d.ts
|
|
7
7
|
interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Marker(props: SliderMarkerProps):
|
|
8
|
+
declare function Marker(props: SliderMarkerProps): react69.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Marker, SliderMarkerProps };
|
|
11
11
|
//# sourceMappingURL=marker.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react72 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/range.d.ts
|
|
6
6
|
interface SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Range(props: SliderRangeProps):
|
|
7
|
+
declare function Range(props: SliderRangeProps): react72.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Range, SliderRangeProps };
|
|
10
10
|
//# 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 { useSlider } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/root-provider.d.ts
|
|
7
7
|
interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useSlider>;
|
|
9
9
|
}
|
|
10
|
-
declare function SliderRootProvider(props: SliderRootProviderProps):
|
|
10
|
+
declare function SliderRootProvider(props: SliderRootProviderProps): react_jsx_runtime28.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SliderRootProvider, SliderRootProviderProps };
|
|
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_runtime27 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/root.d.ts
|
|
7
7
|
interface SliderRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}
|
|
8
|
-
declare function SliderRoot(props: SliderRootProps):
|
|
8
|
+
declare function SliderRoot(props: SliderRootProps): react_jsx_runtime27.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderRoot, SliderRootProps };
|
|
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
|
|
3
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
4
4
|
import { ThumbProps } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/thumb.d.ts
|
|
7
7
|
interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Thumb(props: SliderThumbProps):
|
|
8
|
+
declare function Thumb(props: SliderThumbProps): react_jsx_runtime29.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderThumbProps, Thumb };
|
|
11
11
|
//# sourceMappingURL=thumb.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react70 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/track.d.ts
|
|
6
6
|
interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Track(props: SliderTrackProps):
|
|
7
|
+
declare function Track(props: SliderTrackProps): react70.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { SliderTrackProps, Track };
|
|
10
10
|
//# sourceMappingURL=track.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react74 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/value-text.d.ts
|
|
6
6
|
interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}
|
|
7
|
-
declare function ValueText(props: SliderValueTextProps):
|
|
7
|
+
declare function ValueText(props: SliderValueTextProps): react74.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { SliderValueTextProps, ValueText };
|
|
10
10
|
//# sourceMappingURL=value-text.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react60 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/switch/anatomy/control.d.ts
|
|
6
6
|
interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function Control(props: SwitchControlProps):
|
|
7
|
+
declare function Control(props: SwitchControlProps): react60.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Control, SwitchControlProps };
|
|
10
10
|
//# sourceMappingURL=control.d.ts.map
|