@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
|
@@ -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 react4 from "react";
|
|
4
4
|
import { PropsWithChildren } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/accordion/anatomy/item-content.d.ts
|
|
7
7
|
interface AccordionItemContentProps extends PropsWithChildren, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemContent(props: AccordionItemContentProps):
|
|
8
|
+
declare function ItemContent(props: AccordionItemContentProps): react4.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AccordionItemContentProps, ItemContent };
|
|
11
11
|
//# sourceMappingURL=item-content.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react5 from "react";
|
|
4
4
|
import { PropsWithChildren } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/accordion/anatomy/item-indicator.d.ts
|
|
7
7
|
interface AccordionItemIndicatorProps extends PropsWithChildren, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemIndicator(props: AccordionItemIndicatorProps):
|
|
8
|
+
declare function ItemIndicator(props: AccordionItemIndicatorProps): react5.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AccordionItemIndicatorProps, ItemIndicator };
|
|
11
11
|
//# sourceMappingURL=item-indicator.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 react6 from "react";
|
|
4
4
|
import { PropsWithChildren } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/accordion/anatomy/item-trigger.d.ts
|
|
7
7
|
interface AccordionItemTriggerProps extends PropsWithChildren, PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ItemTrigger(props: AccordionItemTriggerProps):
|
|
8
|
+
declare function ItemTrigger(props: AccordionItemTriggerProps): react6.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AccordionItemTriggerProps, ItemTrigger };
|
|
11
11
|
//# sourceMappingURL=item-trigger.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react2 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/headline.d.ts
|
|
6
6
|
interface AppBarHeadlineProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function AppBarHeadline(props: AppBarHeadlineProps):
|
|
7
|
+
declare function AppBarHeadline(props: AppBarHeadlineProps): react2.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarHeadline, AppBarHeadlineProps };
|
|
10
10
|
//# sourceMappingURL=headline.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react1 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/lead.d.ts
|
|
6
6
|
interface AppBarLeadProps extends PropsWithElement<'nav'>, HTMLAttributes<'nav'> {}
|
|
7
|
-
declare function AppBarLead(props: AppBarLeadProps):
|
|
7
|
+
declare function AppBarLead(props: AppBarLeadProps): react1.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarLead, AppBarLeadProps };
|
|
10
10
|
//# sourceMappingURL=lead.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react0 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/root.d.ts
|
|
6
6
|
interface AppBarRootProps extends PropsWithElement<'header'>, HTMLAttributes<'header'> {}
|
|
7
|
-
declare function AppBarRoot(props: AppBarRootProps):
|
|
7
|
+
declare function AppBarRoot(props: AppBarRootProps): react0.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarRoot, AppBarRootProps };
|
|
10
10
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react0 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/toolbar.d.ts
|
|
6
6
|
interface AppBarToolbarProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function AppBarToolbar(props: AppBarToolbarProps):
|
|
7
|
+
declare function AppBarToolbar(props: AppBarToolbarProps): react0.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarToolbar, AppBarToolbarProps };
|
|
10
10
|
//# sourceMappingURL=toolbar.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react3 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/trail.d.ts
|
|
6
6
|
interface AppBarTrailProps extends PropsWithElement<'nav'>, HTMLAttributes<'nav'> {}
|
|
7
|
-
declare function AppBarTrail(props: AppBarTrailProps):
|
|
7
|
+
declare function AppBarTrail(props: AppBarTrailProps): react3.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarTrail, AppBarTrailProps };
|
|
10
10
|
//# sourceMappingURL=trail.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react24 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/close-trigger.d.ts
|
|
6
6
|
interface DialogCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function CloseTrigger(props: DialogCloseTriggerProps):
|
|
7
|
+
declare function CloseTrigger(props: DialogCloseTriggerProps): react24.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CloseTrigger, DialogCloseTriggerProps };
|
|
10
10
|
//# sourceMappingURL=close-trigger.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react19 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/content.d.ts
|
|
6
6
|
interface DialogContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Content(props: DialogContentProps):
|
|
7
|
+
declare function Content(props: DialogContentProps): react19.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Content, DialogContentProps };
|
|
10
10
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react20 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/description.d.ts
|
|
6
6
|
interface DialogDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Description(props: DialogDescriptionProps):
|
|
7
|
+
declare function Description(props: DialogDescriptionProps): react20.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Description, DialogDescriptionProps };
|
|
10
10
|
//# sourceMappingURL=description.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react23 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/positioner.d.ts
|
|
6
6
|
interface DialogPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: DialogPositionerProps):
|
|
7
|
+
declare function Positioner(props: DialogPositionerProps): react23.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DialogPositionerProps, Positioner };
|
|
10
10
|
//# sourceMappingURL=positioner.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useDialog } from "../modules/provider.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/root-provider.d.ts
|
|
6
6
|
interface DialogRootProviderProps extends PropsWithChildren {
|
|
7
7
|
value: ReturnType<typeof useDialog>;
|
|
8
8
|
}
|
|
9
|
-
declare function RootProvider(props: DialogRootProviderProps):
|
|
9
|
+
declare function RootProvider(props: DialogRootProviderProps): react_jsx_runtime8.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DialogRootProviderProps, RootProvider };
|
|
12
12
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
3
|
import { Props } from "@zag-js/dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/root.d.ts
|
|
6
6
|
interface DialogRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
|
|
7
|
-
declare function Root(props: DialogRootProps):
|
|
7
|
+
declare function Root(props: DialogRootProps): react_jsx_runtime9.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DialogRootProps, Root };
|
|
10
10
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react21 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/title.d.ts
|
|
6
6
|
interface DialogTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Title(props: DialogTitleProps):
|
|
7
|
+
declare function Title(props: DialogTitleProps): react21.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DialogTitleProps, Title };
|
|
10
10
|
//# sourceMappingURL=title.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 react22 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/trigger.d.ts
|
|
6
6
|
interface DialogTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function Trigger(props: DialogTriggerProps):
|
|
7
|
+
declare function Trigger(props: DialogTriggerProps): react22.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DialogTriggerProps, Trigger };
|
|
10
10
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react98 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/arrow-tip.d.ts
|
|
6
6
|
interface PopoverArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function ArrowTip(props: PopoverArrowTipProps):
|
|
7
|
+
declare function ArrowTip(props: PopoverArrowTipProps): react98.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ArrowTip };
|
|
10
10
|
//# sourceMappingURL=arrow-tip.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 react99 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/arrow.d.ts
|
|
6
6
|
interface PopoverArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Arrow(props: PopoverArrowProps):
|
|
7
|
+
declare function Arrow(props: PopoverArrowProps): react99.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Arrow };
|
|
10
10
|
//# sourceMappingURL=arrow.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { usePopover } from "../modules/provider.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/root-provider.d.ts
|
|
6
6
|
interface PopoverRootProviderProps extends PropsWithChildren {
|
|
7
7
|
value: ReturnType<typeof usePopover>;
|
|
8
8
|
}
|
|
9
|
-
declare function RootProvider(props: PopoverRootProviderProps):
|
|
9
|
+
declare function RootProvider(props: PopoverRootProviderProps): react_jsx_runtime17.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { PopoverRootProviderProps, RootProvider };
|
|
12
12
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
import { Props } from "@zag-js/popover";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/root.d.ts
|
|
6
6
|
interface PopoverRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
|
|
7
|
-
declare function Root(props: PopoverRootProps):
|
|
7
|
+
declare function Root(props: PopoverRootProps): react_jsx_runtime16.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PopoverRootProps, Root };
|
|
10
10
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/portal/anatomy/root.d.ts
|
|
5
5
|
interface PortalRootProps extends Required<PropsWithChildren> {
|
|
@@ -16,7 +16,7 @@ interface PortalRootProps extends Required<PropsWithChildren> {
|
|
|
16
16
|
*/
|
|
17
17
|
target?: HTMLElement;
|
|
18
18
|
}
|
|
19
|
-
declare function Root(props: PortalRootProps):
|
|
19
|
+
declare function Root(props: PortalRootProps): react_jsx_runtime18.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { PortalRootProps, Root };
|
|
22
22
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react54 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/progress/anatomy/circle-range.d.ts
|
|
6
|
+
interface ProgressCircleRangeProps extends PropsWithElement<'circle'>, HTMLAttributes<'circle', 'children'> {}
|
|
7
|
+
declare function CircleRange(props: ProgressCircleRangeProps): react54.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { CircleRange, ProgressCircleRangeProps };
|
|
10
|
+
//# sourceMappingURL=circle-range.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-range.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/circle-range.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,wBAAA,SAAiC,4BAA4B;iBAEtD,WAAA,QAAmB,2BAAwB,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/circle-range.tsx
|
|
8
|
+
function CircleRange(props) {
|
|
9
|
+
const progress = use(RootContext);
|
|
10
|
+
const { element,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(progress.getCircleRangeProps(), {
|
|
12
|
+
className: classesProgress.circleRange,
|
|
13
|
+
strokeLinecap: "round"
|
|
14
|
+
}, rest);
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("circle", { ...attributes });
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { CircleRange as default };
|
|
20
|
+
//# sourceMappingURL=circle-range.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-range.js","names":[],"sources":["../../../../src/components/progress/anatomy/circle-range.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 ProgressCircleRangeProps extends PropsWithElement<'circle'>, HTMLAttributes<'circle', 'children'> {}\n\nexport default function CircleRange(props: ProgressCircleRangeProps) {\n\tconst progress = use(RootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogress.getCircleRangeProps(),\n\t\t{\n\t\t\tclassName: classesProgress.circleRange,\n\t\t\tstrokeLinecap: 'round',\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <circle {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAAiC;CACpE,MAAM,WAAW,IAAI,YAAY;CAEjC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,SAAS,qBAAqB,EAC9B;EACC,WAAW,gBAAgB;EAC3B,eAAe;EACf,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,YAAO,GAAI,aAAc"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react55 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/progress/anatomy/circle-track.d.ts
|
|
6
|
+
interface ProgressCircleTrackProps extends PropsWithElement<'circle'>, HTMLAttributes<'circle', 'children'> {}
|
|
7
|
+
declare function CircleTrack(props: ProgressCircleTrackProps): react55.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { CircleTrack, ProgressCircleTrackProps };
|
|
10
|
+
//# sourceMappingURL=circle-track.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-track.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/circle-track.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,wBAAA,SAAiC,4BAA4B;iBAEtD,WAAA,QAAmB,2BAAwB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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/circle-track.tsx
|
|
8
|
+
function CircleTrack(props) {
|
|
9
|
+
const progress = use(RootContext);
|
|
10
|
+
const { element,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(progress.getCircleTrackProps(), { className: classesProgress.circleTrack }, rest);
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("circle", { ...attributes });
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { CircleTrack as default };
|
|
17
|
+
//# sourceMappingURL=circle-track.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-track.js","names":[],"sources":["../../../../src/components/progress/anatomy/circle-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 ProgressCircleTrackProps extends PropsWithElement<'circle'>, HTMLAttributes<'circle', 'children'> {}\n\nexport default function CircleTrack(props: ProgressCircleTrackProps) {\n\tconst progress = use(RootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogress.getCircleTrackProps(),\n\t\t{\n\t\t\tclassName: classesProgress.circleTrack,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <circle {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAAiC;CACpE,MAAM,WAAW,IAAI,YAAY;CAEjC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,SAAS,qBAAqB,EAC9B,EACC,WAAW,gBAAgB,aAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,YAAO,GAAI,aAAc"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react53 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/progress/anatomy/circle.d.ts
|
|
6
|
+
interface ProgressCircleProps extends PropsWithElement<'svg'>, HTMLAttributes<'svg'> {}
|
|
7
|
+
declare function Circle(props: ProgressCircleProps): react53.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Circle, ProgressCircleProps };
|
|
10
|
+
//# sourceMappingURL=circle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/circle.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,mBAAA,SAA4B,yBAAyB;iBAE9C,MAAA,QAAc,sBAAmB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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/circle.tsx
|
|
8
|
+
function Circle(props) {
|
|
9
|
+
const progress = use(RootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(progress.getCircleProps(), {
|
|
12
|
+
className: classesProgress.circle,
|
|
13
|
+
style: {
|
|
14
|
+
["--size"]: "100px",
|
|
15
|
+
["--thickness"]: "10px"
|
|
16
|
+
}
|
|
17
|
+
}, rest);
|
|
18
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("svg", {
|
|
19
|
+
...attributes,
|
|
20
|
+
children
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Circle as default };
|
|
26
|
+
//# sourceMappingURL=circle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle.js","names":[],"sources":["../../../../src/components/progress/anatomy/circle.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 ProgressCircleProps extends PropsWithElement<'svg'>, HTMLAttributes<'svg'> {}\n\nexport default function Circle(props: ProgressCircleProps) {\n\tconst progress = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogress.getCircleProps(),\n\t\t{\n\t\t\tclassName: classesProgress.circle,\n\t\t\tstyle: {\n\t\t\t\t['--size' as string]: '100px',\n\t\t\t\t['--thickness' as string]: '10px',\n\t\t\t},\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <svg {...attributes}>{children}</svg>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,OAAO,OAA4B;CAC1D,MAAM,WAAW,IAAI,YAAY;CAEjC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,gBAAgB,EACzB;EACC,WAAW,gBAAgB;EAC3B,OAAO;IACL,WAAqB;IACrB,gBAA0B;GAC3B;EACD,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 react49 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/progress/anatomy/label.d.ts
|
|
6
|
+
interface ProgressLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function Label(props: ProgressLabelProps): react49.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Label, ProgressLabelProps };
|
|
10
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/label.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/label.tsx
|
|
8
8
|
function Label(props) {
|
|
9
|
-
const
|
|
9
|
+
const progress = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(
|
|
11
|
+
const attributes = mergeProps(progress.getLabelProps(), { className: classesProgress.label }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/progress/anatomy/label.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 ProgressLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Label(props: ProgressLabelProps) {\n\tconst progress = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogress.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesProgress.label,\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 react50 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/progress/anatomy/range.d.ts
|
|
6
|
+
interface ProgressRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
7
|
+
declare function Range(props: ProgressRangeProps): react50.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ProgressRangeProps, Range };
|
|
10
|
+
//# sourceMappingURL=range.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/range.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/range.tsx
|
|
8
8
|
function Range(props) {
|
|
9
|
-
const
|
|
9
|
+
const progress = use(RootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(
|
|
11
|
+
const attributes = mergeProps(progress.getRangeProps(), { className: classesProgress.range }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", { ...attributes });
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range.js","names":[],"sources":["../../../../src/components/progress/anatomy/range.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 ProgressRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Range(props: ProgressRangeProps) {\n\tconst progress = use(RootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogress.getRangeProps(),\n\t\t{\n\t\t\tclassName: classesProgress.range,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA2B;CACxD,MAAM,WAAW,IAAI,YAAY;CAEjC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,SAAS,eAAe,EACxB,EACC,WAAW,gBAAgB,OAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,SAAI,GAAI,aAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useProgress } from "../modules/provider.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/progress/anatomy/root-context.d.ts
|
|
5
|
+
interface ProgressRootContextProps {
|
|
6
|
+
children: (progress: ReturnType<typeof useProgress>) => ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare function RootContext(props: ProgressRootContextProps): ReactNode;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ProgressRootContextProps, RootContext };
|
|
11
|
+
//# sourceMappingURL=root-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/root-context.tsx"],"sourcesContent":[],"mappings":";;;;UAKiB,wBAAA;uBACK,kBAAkB,iBAAiB;AADzD;AAAyC,iBAIjB,WAAA,CAJiB,KAAA,EAIE,wBAJF,CAAA,EAI0B,SAJ1B"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/components/progress
|
|
4
|
+
//#region src/components/progress/anatomy/root-context.tsx
|
|
5
5
|
function RootContext$1(props) {
|
|
6
|
-
const
|
|
6
|
+
const progress = use(RootContext);
|
|
7
7
|
const { children } = props;
|
|
8
|
-
return children(
|
|
8
|
+
return children(progress);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":["RootContext","RootContext_"],"sources":["../../../../src/components/progress/anatomy/root-context.tsx"],"sourcesContent":["import type { useProgress } from '../modules/provider';\nimport { RootContext as RootContext_ } from '../modules/root-context';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface ProgressRootContextProps {\n\tchildren: (progress: ReturnType<typeof useProgress>) => ReactNode;\n}\n\nexport default function RootContext(props: ProgressRootContextProps) {\n\tconst progress = use(RootContext_);\n\n\tconst { children } = props;\n\n\treturn children(progress);\n}\n"],"mappings":";;;;AASA,SAAwBA,cAAY,OAAiC;CACpE,MAAM,WAAW,IAAIC,YAAa;CAElC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,SAAS"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import { useProgress } from "../modules/provider.js";
|
|
4
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/progress/anatomy/root-provider.d.ts
|
|
7
|
+
interface ProgressRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
|
+
value: ReturnType<typeof useProgress>;
|
|
9
|
+
}
|
|
10
|
+
declare function RootProvider(props: ProgressRootProviderProps): react_jsx_runtime20.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ProgressRootProviderProps, RootProvider };
|
|
13
|
+
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/progress/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,yBAAA,SAAkC,yBAAyB;SACpE,kBAAkB;;AADT,iBAIO,YAAA,CAJmB,KAAA,EAIC,yBAJD,CAAA,EAI0B,mBAAA,CAAA,GAAA,CAAA,OAJ1B"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { mergeProps } from "@zag-js/react";
|
|
3
|
-
import {
|
|
3
|
+
import { classesProgress } from "@skeletonlabs/skeleton-common";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
|
-
//#region src/components/progress
|
|
6
|
+
//#region src/components/progress/anatomy/root-provider.tsx
|
|
7
7
|
function RootProvider(props) {
|
|
8
|
-
const { element, children, value:
|
|
9
|
-
const attributes = mergeProps(
|
|
8
|
+
const { element, children, value: progress,...rest } = props;
|
|
9
|
+
const attributes = mergeProps(progress.getRootProps(), { className: classesProgress.root }, rest);
|
|
10
10
|
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
11
|
-
value:
|
|
11
|
+
value: progress,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/progress/anatomy/root-provider.tsx"],"sourcesContent":["import type { 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 { mergeProps } from '@zag-js/react';\n\nexport interface ProgressRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useProgress>;\n}\n\nexport default function RootProvider(props: ProgressRootProviderProps) {\n\tconst { element, children, value: progress, ...rest } = props;\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":";;;;;;AAWA,SAAwB,aAAa,OAAkC;CACtE,MAAM,EAAE,SAAS,UAAU,OAAO,SAAU,GAAG,SAAS;CAExD,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"}
|