@sprawlify/react 0.0.9 → 0.0.10
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/{collapsible-vqmKK3px.mjs → collapsible-DCBcxJA8.mjs} +7 -7
- package/dist/{collection-BYYMj_V8.mjs → collection-XVYHjcEl.mjs} +2 -2
- package/dist/components/accordion/index.d.cts +11 -11
- package/dist/components/accordion/index.d.mts +11 -11
- package/dist/components/accordion/index.mjs +10 -10
- package/dist/components/angle-slider/index.d.cts +13 -13
- package/dist/components/angle-slider/index.d.mts +13 -13
- package/dist/components/angle-slider/index.mjs +8 -8
- package/dist/components/avatar/index.d.cts +8 -8
- package/dist/components/avatar/index.d.mts +8 -8
- package/dist/components/avatar/index.mjs +8 -8
- package/dist/components/bottom-sheet/index.d.cts +15 -15
- package/dist/components/bottom-sheet/index.d.mts +13 -13
- package/dist/components/bottom-sheet/index.mjs +12 -12
- package/dist/components/carousel/index.d.cts +18 -18
- package/dist/components/carousel/index.d.mts +18 -18
- package/dist/components/carousel/index.mjs +8 -8
- package/dist/components/checkbox/index.d.cts +14 -14
- package/dist/components/checkbox/index.d.mts +14 -14
- package/dist/components/checkbox/index.mjs +13 -13
- package/dist/components/clipboard/index.d.cts +12 -12
- package/dist/components/clipboard/index.d.mts +12 -12
- package/dist/components/clipboard/index.mjs +6 -6
- package/dist/components/collapsible/index.d.cts +10 -10
- package/dist/components/collapsible/index.d.mts +10 -10
- package/dist/components/collapsible/index.mjs +7 -7
- package/dist/components/collection/index.d.cts +1 -1
- package/dist/components/collection/index.d.mts +1 -1
- package/dist/components/collection/index.mjs +3 -3
- package/dist/components/color-picker/index.d.cts +35 -35
- package/dist/components/color-picker/index.d.mts +36 -36
- package/dist/components/color-picker/index.mjs +14 -14
- package/dist/components/combobox/index.d.cts +22 -22
- package/dist/components/combobox/index.d.mts +23 -23
- package/dist/components/combobox/index.mjs +15 -15
- package/dist/components/date-picker/index.d.cts +32 -32
- package/dist/components/date-picker/index.d.mts +33 -33
- package/dist/components/date-picker/index.mjs +11 -11
- package/dist/components/dialog/index.d.cts +15 -15
- package/dist/components/dialog/index.d.mts +16 -16
- package/dist/components/dialog/index.mjs +11 -11
- package/dist/components/download-trigger/index.d.cts +4 -4
- package/dist/components/download-trigger/index.d.mts +4 -4
- package/dist/components/download-trigger/index.mjs +5 -5
- package/dist/components/editable/index.d.cts +13 -13
- package/dist/components/editable/index.d.mts +13 -13
- package/dist/components/editable/index.mjs +11 -11
- package/dist/components/field/index.d.cts +14 -14
- package/dist/components/field/index.d.mts +14 -14
- package/dist/components/field/index.mjs +9 -9
- package/dist/components/fieldset/index.d.cts +10 -10
- package/dist/components/fieldset/index.d.mts +10 -10
- package/dist/components/fieldset/index.mjs +9 -9
- package/dist/components/file-upload/index.d.cts +18 -18
- package/dist/components/file-upload/index.d.mts +18 -18
- package/dist/components/file-upload/index.mjs +11 -11
- package/dist/components/floating-panel/index.d.cts +19 -19
- package/dist/components/floating-panel/index.d.mts +20 -20
- package/dist/components/floating-panel/index.mjs +11 -11
- package/dist/components/focus-trap/index.d.cts +4 -4
- package/dist/components/focus-trap/index.d.mts +4 -4
- package/dist/components/focus-trap/index.mjs +4 -4
- package/dist/components/format/index.d.cts +4 -4
- package/dist/components/format/index.d.mts +4 -4
- package/dist/components/format/index.mjs +3 -3
- package/dist/components/frame/index.d.cts +3 -3
- package/dist/components/frame/index.d.mts +3 -3
- package/dist/components/frame/index.mjs +6 -6
- package/dist/components/highlight/index.d.cts +3 -3
- package/dist/components/highlight/index.d.mts +3 -3
- package/dist/components/highlight/index.mjs +1 -1
- package/dist/components/hover-card/index.d.cts +13 -13
- package/dist/components/hover-card/index.d.mts +14 -14
- package/dist/components/hover-card/index.mjs +10 -10
- package/dist/components/image-cropper/index.d.cts +11 -11
- package/dist/components/image-cropper/index.d.mts +11 -11
- package/dist/components/image-cropper/index.mjs +8 -8
- package/dist/components/json-tree-view/index.d.cts +5 -5
- package/dist/components/json-tree-view/index.d.mts +9 -9
- package/dist/components/json-tree-view/index.mjs +13 -13
- package/dist/components/listbox/index.d.cts +17 -17
- package/dist/components/listbox/index.d.mts +17 -17
- package/dist/components/listbox/index.mjs +10 -10
- package/dist/components/marquee/index.d.cts +10 -10
- package/dist/components/marquee/index.d.mts +10 -10
- package/dist/components/marquee/index.mjs +8 -8
- package/dist/components/menu/index.d.cts +25 -25
- package/dist/components/menu/index.d.mts +28 -28
- package/dist/components/menu/index.mjs +11 -11
- package/dist/components/navigation-menu/index.d.cts +17 -17
- package/dist/components/navigation-menu/index.d.mts +17 -17
- package/dist/components/navigation-menu/index.mjs +13 -13
- package/dist/components/number-input/index.d.cts +13 -13
- package/dist/components/number-input/index.d.mts +13 -13
- package/dist/components/number-input/index.mjs +11 -11
- package/dist/components/pagination/index.d.cts +12 -12
- package/dist/components/pagination/index.d.mts +12 -12
- package/dist/components/pagination/index.mjs +8 -8
- package/dist/components/password-input/index.d.cts +11 -11
- package/dist/components/password-input/index.d.mts +11 -11
- package/dist/components/password-input/index.mjs +11 -11
- package/dist/components/pin-input/index.d.cts +10 -10
- package/dist/components/pin-input/index.d.mts +10 -10
- package/dist/components/pin-input/index.mjs +11 -11
- package/dist/components/popover/index.d.cts +18 -18
- package/dist/components/popover/index.d.mts +19 -19
- package/dist/components/popover/index.mjs +10 -10
- package/dist/components/portal/index.d.cts +2 -2
- package/dist/components/portal/index.d.mts +2 -2
- package/dist/components/portal/index.mjs +5 -5
- package/dist/components/presence/index.d.cts +1 -1
- package/dist/components/presence/index.d.mts +3 -3
- package/dist/components/presence/index.mjs +5 -5
- package/dist/components/progress/index.cjs +222 -0
- package/dist/components/progress/index.d.cts +79 -0
- package/dist/components/progress/index.d.mts +79 -0
- package/dist/components/progress/index.mjs +197 -0
- package/dist/components/qr-code/index.cjs +166 -0
- package/dist/components/qr-code/index.d.cts +59 -0
- package/dist/components/qr-code/index.d.mts +59 -0
- package/dist/components/qr-code/index.mjs +145 -0
- package/dist/components/radio-group/index.cjs +240 -0
- package/dist/components/radio-group/index.d.cts +78 -0
- package/dist/components/radio-group/index.d.mts +78 -0
- package/dist/components/radio-group/index.mjs +215 -0
- package/dist/components/rating-group/index.cjs +202 -0
- package/dist/components/rating-group/index.d.cts +68 -0
- package/dist/components/rating-group/index.d.mts +68 -0
- package/dist/components/rating-group/index.mjs +179 -0
- package/dist/components/scroll-area/index.cjs +180 -0
- package/dist/components/scroll-area/index.d.cts +68 -0
- package/dist/components/scroll-area/index.d.mts +68 -0
- package/dist/components/scroll-area/index.mjs +158 -0
- package/dist/components/segment-group/index.cjs +233 -0
- package/dist/components/segment-group/index.d.cts +82 -0
- package/dist/components/segment-group/index.d.mts +82 -0
- package/dist/components/segment-group/index.mjs +213 -0
- package/dist/components/select/index.d.cts +21 -21
- package/dist/components/select/index.d.mts +22 -22
- package/dist/components/select/index.mjs +15 -15
- package/dist/components/tree-view/index.d.cts +2 -2
- package/dist/components/tree-view/index.d.mts +5 -5
- package/dist/components/tree-view/index.mjs +11 -11
- package/dist/{environment-Cc02I6aF.mjs → environment-Cnx9ZBbN.mjs} +1 -1
- package/dist/{factory-7ydMApfi.mjs → factory-BwIiMV5g.mjs} +1 -1
- package/dist/{field-BXY6su53.mjs → field-BuPxh7ZO.mjs} +9 -9
- package/dist/{fieldset-BeHm9oxe.mjs → fieldset-UIFriN0i.mjs} +8 -8
- package/dist/{index-wlpTZGhs.d.mts → index-BoKwZUuR.d.mts} +25 -25
- package/dist/{index-Bkxp7VrU.d.mts → index-C-uklBbh.d.cts} +7 -7
- package/dist/{index-DTzLUoop.d.cts → index-IQMPWCzE.d.cts} +25 -25
- package/dist/{index-aYGfRRLA.d.cts → index-tmg3Dc0S.d.mts} +7 -7
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +7 -7
- package/dist/{locale-D4LX0eEq.mjs → locale-BheNIyu4.mjs} +1 -1
- package/dist/{portal-BOhFScBS.mjs → portal-Cf1DNJ7L.mjs} +1 -1
- package/dist/{presence-C9BcvdTf.mjs → presence-D-rmmMDm.mjs} +6 -6
- package/dist/{render-strategy-BgIBKraZ.mjs → render-strategy-D2htg_Zz.mjs} +2 -2
- package/dist/{tree-view-CzJvwlYQ.mjs → tree-view-Br67rmuK.mjs} +9 -9
- package/dist/{use-fieldset-context-6GRSrrlt.mjs → use-fieldset-context-DPgRcctn.mjs} +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +62 -2
- /package/dist/{chunk-BU8PiJgx.mjs → chunk-tPcuhsU6.mjs} +0 -0
- /package/dist/{compose-refs-Cl5LpASY.mjs → compose-refs-ymQahgeo.mjs} +0 -0
- /package/dist/{core-79NSyZp-.mjs → core-BrQa5x6H.mjs} +0 -0
- /package/dist/{create-context-DbhrVE2B.mjs → create-context-aizX7yAt.mjs} +0 -0
- /package/dist/{create-split-props-BJdRM9I_.mjs → create-split-props-BHHQqbKs.mjs} +0 -0
- /package/dist/{factory-DaVlp4Ba.d.mts → factory-Bv0JsGLd.d.cts} +0 -0
- /package/dist/{factory-fcFI3pbG.d.cts → factory-DcDjbYQq.d.mts} +0 -0
- /package/dist/{index-DPoOdvOg.d.mts → index-BH0zbKp3.d.mts} +0 -0
- /package/dist/{index-BcXWsxRa.d.mts → index-CQrt31Vz.d.mts} +0 -0
- /package/dist/{index-CReeoTjv.d.cts → index-CsVbgeF4.d.cts} +0 -0
- /package/dist/{index-r8rv70-L.d.cts → index-D2T5b4fK.d.cts} +0 -0
- /package/dist/{index-BLd57Y0z.d.mts → index-DJx_8PSR.d.mts} +0 -0
- /package/dist/{index-BoLg0FWF.d.mts → index-WJ-tNaCp.d.mts} +0 -0
- /package/dist/{index-Cquz7y70.d.cts → index-YjtX6_Hn.d.cts} +0 -0
- /package/dist/{normalize-props-Dw0EepzR.d.cts → normalize-props-EzaAUPva.d.cts} +0 -0
- /package/dist/{providers-CoJceYkV.mjs → providers-B1DbplwV.mjs} +0 -0
- /package/dist/{render-strategy-CRwPcG33.d.mts → render-strategy-C5J78Qs-.d.mts} +0 -0
- /package/dist/{render-strategy-M8NkD01w.d.cts → render-strategy-DEUBHfUP.d.cts} +0 -0
- /package/dist/{types-CrwpJrFp.d.mts → types-C2LNTNCl.d.cts} +0 -0
- /package/dist/{types-DcUAwTQC.d.cts → types-CdhepaRC.d.mts} +0 -0
- /package/dist/{use-event-B4e6iJDK.mjs → use-event-qKb6UUEI.mjs} +0 -0
- /package/dist/{use-safe-layout-effect-DPn_9-dD.mjs → use-safe-layout-effect-BHE-Ll-k.mjs} +0 -0
- /package/dist/{utils-BQJFlkDE.mjs → utils-Bx4WJ5W9.mjs} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { r as PropTypes } from "../../index-
|
|
2
|
-
import { r as Optional } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import "../../render-strategy-
|
|
5
|
-
import { c as UsePresenceProps } from "../../index-
|
|
6
|
-
import * as
|
|
1
|
+
import { r as PropTypes } from "../../index-DJx_8PSR.mjs";
|
|
2
|
+
import { r as Optional } from "../../types-CdhepaRC.mjs";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DcDjbYQq.mjs";
|
|
4
|
+
import "../../render-strategy-C5J78Qs-.mjs";
|
|
5
|
+
import { c as UsePresenceProps } from "../../index-tmg3Dc0S.mjs";
|
|
6
|
+
import * as react142 from "react";
|
|
7
7
|
import { ReactNode } from "react";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
9
9
|
import * as popover from "@sprawlify/primitives/machines/popover";
|
|
10
10
|
import { FocusOutsideEvent, FocusOutsideEvent as PopoverFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as PopoverInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as PopoverOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as PopoverPointerDownOutsideEvent, anatomy as popoverAnatomy } from "@sprawlify/primitives/machines/popover";
|
|
11
11
|
|
|
12
12
|
//#region src/components/popover/popover-anchor.d.ts
|
|
13
13
|
interface PopoverAnchorBaseProps extends PolymorphicProps {}
|
|
14
14
|
interface PopoverAnchorProps extends HTMLProps<"div">, PopoverAnchorBaseProps {}
|
|
15
|
-
declare const PopoverAnchor:
|
|
15
|
+
declare const PopoverAnchor: react142.ForwardRefExoticComponent<PopoverAnchorProps & react142.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/components/popover/popover-arrow.d.ts
|
|
18
18
|
interface PopoverArrowBaseProps extends PolymorphicProps {}
|
|
19
19
|
interface PopoverArrowProps extends HTMLProps<"div">, PopoverArrowBaseProps {}
|
|
20
|
-
declare const PopoverArrow:
|
|
20
|
+
declare const PopoverArrow: react142.ForwardRefExoticComponent<PopoverArrowProps & react142.RefAttributes<HTMLDivElement>>;
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/popover/popover-arrow-tip.d.ts
|
|
23
23
|
interface PopoverArrowTipBaseProps extends PolymorphicProps {}
|
|
24
24
|
interface PopoverArrowTipProps extends HTMLProps<"div">, PopoverArrowTipBaseProps {}
|
|
25
|
-
declare const PopoverArrowTip:
|
|
25
|
+
declare const PopoverArrowTip: react142.ForwardRefExoticComponent<PopoverArrowTipProps & react142.RefAttributes<HTMLDivElement>>;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/components/popover/popover-close-trigger.d.ts
|
|
28
28
|
interface PopoverCloseTriggerBaseProps extends PolymorphicProps {}
|
|
29
29
|
interface PopoverCloseTriggerProps extends HTMLProps<"button">, PopoverCloseTriggerBaseProps {}
|
|
30
|
-
declare const PopoverCloseTrigger:
|
|
30
|
+
declare const PopoverCloseTrigger: react142.ForwardRefExoticComponent<PopoverCloseTriggerProps & react142.RefAttributes<HTMLButtonElement>>;
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/components/popover/popover-content.d.ts
|
|
33
33
|
interface PopoverContentBaseProps extends PolymorphicProps {}
|
|
34
34
|
interface PopoverContentProps extends HTMLProps<"div">, PopoverContentBaseProps {}
|
|
35
|
-
declare const PopoverContent:
|
|
35
|
+
declare const PopoverContent: react142.ForwardRefExoticComponent<PopoverContentProps & react142.RefAttributes<HTMLDivElement>>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/components/popover/use-popover.d.ts
|
|
38
38
|
interface UsePopoverProps extends Optional<Omit<popover.Props, "dir" | "getRootNode">, "id"> {}
|
|
@@ -51,24 +51,24 @@ declare const PopoverContext: (props: PopoverContextProps) => ReactNode;
|
|
|
51
51
|
//#region src/components/popover/popover-description.d.ts
|
|
52
52
|
interface PopoverDescriptionBaseProps extends PolymorphicProps {}
|
|
53
53
|
interface PopoverDescriptionProps extends HTMLProps<"div">, PopoverDescriptionBaseProps {}
|
|
54
|
-
declare const PopoverDescription:
|
|
54
|
+
declare const PopoverDescription: react142.ForwardRefExoticComponent<PopoverDescriptionProps & react142.RefAttributes<HTMLDivElement>>;
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/components/popover/popover-indicator.d.ts
|
|
57
57
|
interface PopoverIndicatorBaseProps extends PolymorphicProps {}
|
|
58
58
|
interface PopoverIndicatorProps extends HTMLProps<"div">, PopoverIndicatorBaseProps {}
|
|
59
|
-
declare const PopoverIndicator:
|
|
59
|
+
declare const PopoverIndicator: react142.ForwardRefExoticComponent<PopoverIndicatorProps & react142.RefAttributes<HTMLDivElement>>;
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/components/popover/popover-positioner.d.ts
|
|
62
62
|
interface PopoverPositionerBaseProps extends PolymorphicProps {}
|
|
63
63
|
interface PopoverPositionerProps extends HTMLProps<"div">, PopoverPositionerBaseProps {}
|
|
64
|
-
declare const PopoverPositioner:
|
|
64
|
+
declare const PopoverPositioner: react142.ForwardRefExoticComponent<PopoverPositionerProps & react142.RefAttributes<HTMLDivElement>>;
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region src/components/popover/popover-root.d.ts
|
|
67
67
|
interface PopoverRootBaseProps extends UsePopoverProps, UsePresenceProps {}
|
|
68
68
|
interface PopoverRootProps extends PopoverRootBaseProps {
|
|
69
69
|
children?: ReactNode | undefined;
|
|
70
70
|
}
|
|
71
|
-
declare const PopoverRoot: (props: PopoverRootProps) =>
|
|
71
|
+
declare const PopoverRoot: (props: PopoverRootProps) => react_jsx_runtime5.JSX.Element;
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/components/popover/popover-root-provider.d.ts
|
|
74
74
|
interface RootProviderProps {
|
|
@@ -78,17 +78,17 @@ interface PopoverRootProviderBaseProps extends RootProviderProps, UsePresencePro
|
|
|
78
78
|
interface PopoverRootProviderProps extends PopoverRootProviderBaseProps {
|
|
79
79
|
children?: ReactNode | undefined;
|
|
80
80
|
}
|
|
81
|
-
declare const PopoverRootProvider: (props: PopoverRootProviderProps) =>
|
|
81
|
+
declare const PopoverRootProvider: (props: PopoverRootProviderProps) => react_jsx_runtime5.JSX.Element;
|
|
82
82
|
//#endregion
|
|
83
83
|
//#region src/components/popover/popover-title.d.ts
|
|
84
84
|
interface PopoverTitleBaseProps extends PolymorphicProps {}
|
|
85
85
|
interface PopoverTitleProps extends HTMLProps<"div">, PopoverTitleBaseProps {}
|
|
86
|
-
declare const PopoverTitle:
|
|
86
|
+
declare const PopoverTitle: react142.ForwardRefExoticComponent<PopoverTitleProps & react142.RefAttributes<HTMLDivElement>>;
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/components/popover/popover-trigger.d.ts
|
|
89
89
|
interface PopoverTriggerBaseProps extends PolymorphicProps {}
|
|
90
90
|
interface PopoverTriggerProps extends HTMLProps<"button">, PopoverTriggerBaseProps {}
|
|
91
|
-
declare const PopoverTrigger:
|
|
91
|
+
declare const PopoverTrigger: react142.ForwardRefExoticComponent<PopoverTriggerProps & react142.RefAttributes<HTMLButtonElement>>;
|
|
92
92
|
declare namespace popover_d_exports {
|
|
93
93
|
export { PopoverAnchor as Anchor, PopoverAnchorBaseProps as AnchorBaseProps, PopoverAnchorProps as AnchorProps, PopoverArrow as Arrow, PopoverArrowBaseProps as ArrowBaseProps, PopoverArrowProps as ArrowProps, PopoverArrowTip as ArrowTip, PopoverArrowTipBaseProps as ArrowTipBaseProps, PopoverArrowTipProps as ArrowTipProps, PopoverCloseTrigger as CloseTrigger, PopoverCloseTriggerBaseProps as CloseTriggerBaseProps, PopoverCloseTriggerProps as CloseTriggerProps, PopoverContent as Content, PopoverContentBaseProps as ContentBaseProps, PopoverContentProps as ContentProps, PopoverContext as Context, PopoverContextProps as ContextProps, PopoverDescription as Description, PopoverDescriptionBaseProps as DescriptionBaseProps, PopoverDescriptionProps as DescriptionProps, FocusOutsideEvent, PopoverIndicator as Indicator, PopoverIndicatorBaseProps as IndicatorBaseProps, PopoverIndicatorProps as IndicatorProps, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, PopoverPositioner as Positioner, PopoverPositionerBaseProps as PositionerBaseProps, PopoverPositionerProps as PositionerProps, PopoverRoot as Root, PopoverRootBaseProps as RootBaseProps, PopoverRootProps as RootProps, PopoverRootProvider as RootProvider, PopoverRootProviderBaseProps as RootProviderBaseProps, PopoverRootProviderProps as RootProviderProps, PopoverTitle as Title, PopoverTitleBaseProps as TitleBaseProps, PopoverTitleProps as TitleProps, PopoverTrigger as Trigger, PopoverTriggerBaseProps as TriggerBaseProps, PopoverTriggerProps as TriggerProps };
|
|
94
94
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as __export } from "../../chunk-
|
|
2
|
-
import { i as useMachine, r as normalizeProps, t as mergeProps } from "../../core-
|
|
3
|
-
import { t as createContext$1 } from "../../create-context-
|
|
4
|
-
import { n as useEnvironmentContext } from "../../environment-
|
|
5
|
-
import { i as useLocaleContext } from "../../locale-
|
|
6
|
-
import "../../providers-
|
|
7
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
8
|
-
import { n as sprawlify } from "../../factory-
|
|
9
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
10
|
-
import "../../use-event-
|
|
1
|
+
import { t as __export } from "../../chunk-tPcuhsU6.mjs";
|
|
2
|
+
import { i as useMachine, r as normalizeProps, t as mergeProps } from "../../core-BrQa5x6H.mjs";
|
|
3
|
+
import { t as createContext$1 } from "../../create-context-aizX7yAt.mjs";
|
|
4
|
+
import { n as useEnvironmentContext } from "../../environment-Cnx9ZBbN.mjs";
|
|
5
|
+
import { i as useLocaleContext } from "../../locale-BheNIyu4.mjs";
|
|
6
|
+
import "../../providers-B1DbplwV.mjs";
|
|
7
|
+
import { t as composeRefs } from "../../compose-refs-ymQahgeo.mjs";
|
|
8
|
+
import { n as sprawlify } from "../../factory-BwIiMV5g.mjs";
|
|
9
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-D-rmmMDm.mjs";
|
|
10
|
+
import "../../use-event-qKb6UUEI.mjs";
|
|
11
11
|
import { forwardRef, useId } from "react";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
import * as popover from "@sprawlify/primitives/machines/popover";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PropsWithChildren, RefObject } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/portal/portal.d.ts
|
|
5
5
|
interface PortalProps {
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
container?: RefObject<HTMLElement | null> | undefined;
|
|
8
8
|
}
|
|
9
|
-
declare const Portal: (props: PropsWithChildren<PortalProps>) =>
|
|
9
|
+
declare const Portal: (props: PropsWithChildren<PortalProps>) => react_jsx_runtime2.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Portal, type PortalProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PropsWithChildren, RefObject } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/portal/portal.d.ts
|
|
5
5
|
interface PortalProps {
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
container?: RefObject<HTMLElement | null> | undefined;
|
|
8
8
|
}
|
|
9
|
-
declare const Portal: (props: PropsWithChildren<PortalProps>) =>
|
|
9
|
+
declare const Portal: (props: PropsWithChildren<PortalProps>) => react_jsx_runtime0.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Portal, type PortalProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../create-context-
|
|
2
|
-
import "../../environment-
|
|
3
|
-
import "../../locale-
|
|
4
|
-
import "../../providers-
|
|
5
|
-
import { t as Portal } from "../../portal-
|
|
1
|
+
import "../../create-context-aizX7yAt.mjs";
|
|
2
|
+
import "../../environment-Cnx9ZBbN.mjs";
|
|
3
|
+
import "../../locale-BheNIyu4.mjs";
|
|
4
|
+
import "../../providers-B1DbplwV.mjs";
|
|
5
|
+
import { t as Portal } from "../../portal-Cf1DNJ7L.mjs";
|
|
6
6
|
|
|
7
7
|
export { Portal };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Presence, c as UsePresenceProps, i as splitPresenceProps, l as UsePresenceReturn, n as UsePresenceContext, o as PresenceBaseProps, r as usePresenceContext, s as PresenceProps, t as PresenceProvider, u as usePresence } from "../../index-
|
|
1
|
+
import { a as Presence, c as UsePresenceProps, i as splitPresenceProps, l as UsePresenceReturn, n as UsePresenceContext, o as PresenceBaseProps, r as usePresenceContext, s as PresenceProps, t as PresenceProvider, u as usePresence } from "../../index-C-uklBbh.cjs";
|
|
2
2
|
export { Presence, PresenceBaseProps, PresenceProps, PresenceProvider, UsePresenceContext, UsePresenceProps, UsePresenceReturn, splitPresenceProps, usePresence, usePresenceContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../factory-
|
|
2
|
-
import "../../render-strategy-
|
|
3
|
-
import { a as Presence, c as UsePresenceProps, i as splitPresenceProps, l as UsePresenceReturn, n as UsePresenceContext, o as PresenceBaseProps, r as usePresenceContext, s as PresenceProps, t as PresenceProvider, u as usePresence } from "../../index-
|
|
1
|
+
import "../../factory-DcDjbYQq.mjs";
|
|
2
|
+
import "../../render-strategy-C5J78Qs-.mjs";
|
|
3
|
+
import { a as Presence, c as UsePresenceProps, i as splitPresenceProps, l as UsePresenceReturn, n as UsePresenceContext, o as PresenceBaseProps, r as usePresenceContext, s as PresenceProps, t as PresenceProvider, u as usePresence } from "../../index-tmg3Dc0S.mjs";
|
|
4
4
|
export { Presence, PresenceBaseProps, PresenceProps, PresenceProvider, UsePresenceContext, UsePresenceProps, UsePresenceReturn, splitPresenceProps, usePresence, usePresenceContext };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import "../../create-context-
|
|
3
|
-
import "../../factory-
|
|
4
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, r as Presence, t as PresenceProvider } from "../../presence-
|
|
5
|
-
import "../../use-event-
|
|
1
|
+
import "../../core-BrQa5x6H.mjs";
|
|
2
|
+
import "../../create-context-aizX7yAt.mjs";
|
|
3
|
+
import "../../factory-BwIiMV5g.mjs";
|
|
4
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, r as Presence, t as PresenceProvider } from "../../presence-D-rmmMDm.mjs";
|
|
5
|
+
import "../../use-event-qKb6UUEI.mjs";
|
|
6
6
|
|
|
7
7
|
export { Presence, PresenceProvider, splitPresenceProps, usePresence, usePresenceContext };
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
const require_chunk = require('../../chunk-BYnRvbsk.cjs');
|
|
2
|
+
const require_core = require('../../core-DCWyxy9D.cjs');
|
|
3
|
+
const require_create_context = require('../../create-context-CQ4U0lLj.cjs');
|
|
4
|
+
const require_environment = require('../../environment-CvilmfQt.cjs');
|
|
5
|
+
const require_locale = require('../../locale-BcnWD1Hf.cjs');
|
|
6
|
+
require('../../providers-BNAArubQ.cjs');
|
|
7
|
+
const require_factory = require('../../factory-C166evrS.cjs');
|
|
8
|
+
const require_create_split_props = require('../../create-split-props-Dp4TWOyM.cjs');
|
|
9
|
+
let react = require("react");
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
|
+
let __sprawlify_primitives_machines_progress = require("@sprawlify/primitives/machines/progress");
|
|
12
|
+
__sprawlify_primitives_machines_progress = require_chunk.__toESM(__sprawlify_primitives_machines_progress);
|
|
13
|
+
let __sprawlify_primitives_core = require("@sprawlify/primitives/core");
|
|
14
|
+
|
|
15
|
+
//#region src/components/progress/use-progress-context.ts
|
|
16
|
+
const [ProgressProvider, useProgressContext] = require_create_context.createContext({
|
|
17
|
+
name: "ProgressContext",
|
|
18
|
+
hookName: "useProgressContext",
|
|
19
|
+
providerName: "<ProgressProvider />"
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/progress/progress-circle.tsx
|
|
24
|
+
const ProgressCircle = (0, react.forwardRef)((props, ref) => {
|
|
25
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useProgressContext().getCircleProps(), props);
|
|
26
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.svg, {
|
|
27
|
+
ref,
|
|
28
|
+
...mergedProps
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
ProgressCircle.displayName = "ProgressCircle";
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/progress/progress-circle-range.tsx
|
|
35
|
+
const ProgressCircleRange = (0, react.forwardRef)((props, ref) => {
|
|
36
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useProgressContext().getCircleRangeProps(), props);
|
|
37
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.circle, {
|
|
38
|
+
ref,
|
|
39
|
+
...mergedProps
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
ProgressCircleRange.displayName = "ProgressCircleRange";
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/progress/progress-circle-track.tsx
|
|
46
|
+
const ProgressCircleTrack = (0, react.forwardRef)((props, ref) => {
|
|
47
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useProgressContext().getCircleTrackProps(), props);
|
|
48
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.circle, {
|
|
49
|
+
ref,
|
|
50
|
+
...mergedProps
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
ProgressCircleTrack.displayName = "ProgressCircleTrack";
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/components/progress/progress-context.tsx
|
|
57
|
+
const ProgressContext = (props) => props.children(useProgressContext());
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/components/progress/progress-label.tsx
|
|
61
|
+
const ProgressLabel = (0, react.forwardRef)((props, ref) => {
|
|
62
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useProgressContext().getLabelProps(), props);
|
|
63
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.label, {
|
|
64
|
+
...mergedProps,
|
|
65
|
+
ref
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
ProgressLabel.displayName = "ProgressLabel";
|
|
69
|
+
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/progress/progress-range.tsx
|
|
72
|
+
const ProgressRange = (0, react.forwardRef)((props, ref) => {
|
|
73
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useProgressContext().getRangeProps(), props);
|
|
74
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
75
|
+
...mergedProps,
|
|
76
|
+
ref
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
ProgressRange.displayName = "ProgressRange";
|
|
80
|
+
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/components/progress/use-progress.ts
|
|
83
|
+
const useProgress = (props) => {
|
|
84
|
+
const id = (0, react.useId)();
|
|
85
|
+
const { getRootNode } = require_environment.useEnvironmentContext();
|
|
86
|
+
const { dir, locale } = require_locale.useLocaleContext();
|
|
87
|
+
const machineProps = {
|
|
88
|
+
id,
|
|
89
|
+
dir,
|
|
90
|
+
locale,
|
|
91
|
+
getRootNode,
|
|
92
|
+
...props
|
|
93
|
+
};
|
|
94
|
+
const service = require_core.useMachine(__sprawlify_primitives_machines_progress.machine, machineProps);
|
|
95
|
+
return __sprawlify_primitives_machines_progress.connect(service, require_core.normalizeProps);
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/components/progress/progress-root.tsx
|
|
100
|
+
const splitRootProps = require_create_split_props.createSplitProps();
|
|
101
|
+
const ProgressRoot = (0, react.forwardRef)((props, ref) => {
|
|
102
|
+
const [progressProps, localProps] = splitRootProps(props, [
|
|
103
|
+
"defaultValue",
|
|
104
|
+
"formatOptions",
|
|
105
|
+
"id",
|
|
106
|
+
"ids",
|
|
107
|
+
"locale",
|
|
108
|
+
"max",
|
|
109
|
+
"min",
|
|
110
|
+
"onValueChange",
|
|
111
|
+
"orientation",
|
|
112
|
+
"translations",
|
|
113
|
+
"value"
|
|
114
|
+
]);
|
|
115
|
+
const progress = useProgress(progressProps);
|
|
116
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(progress.getRootProps(), localProps);
|
|
117
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ProgressProvider, {
|
|
118
|
+
value: progress,
|
|
119
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
120
|
+
...mergedProps,
|
|
121
|
+
ref
|
|
122
|
+
})
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
ProgressRoot.displayName = "ProgressRoot";
|
|
126
|
+
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/components/progress/progress-root-provider.tsx
|
|
129
|
+
const splitRootProviderProps = require_create_split_props.createSplitProps();
|
|
130
|
+
const ProgressRootProvider = (0, react.forwardRef)((props, ref) => {
|
|
131
|
+
const [{ value: progress }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
132
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(progress.getRootProps(), localProps);
|
|
133
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ProgressProvider, {
|
|
134
|
+
value: progress,
|
|
135
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
136
|
+
...mergedProps,
|
|
137
|
+
ref
|
|
138
|
+
})
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
ProgressRootProvider.displayName = "ProgressRootProvider";
|
|
142
|
+
|
|
143
|
+
//#endregion
|
|
144
|
+
//#region src/components/progress/progress-track.tsx
|
|
145
|
+
const ProgressTrack = (0, react.forwardRef)((props, ref) => {
|
|
146
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useProgressContext().getTrackProps(), props);
|
|
147
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
148
|
+
...mergedProps,
|
|
149
|
+
ref
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
ProgressTrack.displayName = "ProgressTrack";
|
|
153
|
+
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/components/progress/progress-value-text.tsx
|
|
156
|
+
const ProgressValueText = (0, react.forwardRef)((props, ref) => {
|
|
157
|
+
const { children, ...rest } = props;
|
|
158
|
+
const progress = useProgressContext();
|
|
159
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(progress.getValueTextProps(), rest);
|
|
160
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.span, {
|
|
161
|
+
...mergedProps,
|
|
162
|
+
ref,
|
|
163
|
+
children: children || progress.percentAsString
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
ProgressValueText.displayName = "ProgressValueText";
|
|
167
|
+
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region src/components/progress/progress-view.tsx
|
|
170
|
+
const splitViewProps = require_create_split_props.createSplitProps();
|
|
171
|
+
const ProgressView = (0, react.forwardRef)((props, ref) => {
|
|
172
|
+
const [viewProps, localProps] = splitViewProps(props, ["state"]);
|
|
173
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useProgressContext().getViewProps(viewProps), localProps);
|
|
174
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.span, {
|
|
175
|
+
...mergedProps,
|
|
176
|
+
ref
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
ProgressView.displayName = "ProgressView";
|
|
180
|
+
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/components/progress/progress.ts
|
|
183
|
+
var progress_exports = /* @__PURE__ */ require_chunk.__export({
|
|
184
|
+
Circle: () => ProgressCircle,
|
|
185
|
+
CircleRange: () => ProgressCircleRange,
|
|
186
|
+
CircleTrack: () => ProgressCircleTrack,
|
|
187
|
+
Context: () => ProgressContext,
|
|
188
|
+
Label: () => ProgressLabel,
|
|
189
|
+
Range: () => ProgressRange,
|
|
190
|
+
Root: () => ProgressRoot,
|
|
191
|
+
RootProvider: () => ProgressRootProvider,
|
|
192
|
+
Track: () => ProgressTrack,
|
|
193
|
+
ValueText: () => ProgressValueText,
|
|
194
|
+
View: () => ProgressView
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
//#endregion
|
|
198
|
+
Object.defineProperty(exports, 'Progress', {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () {
|
|
201
|
+
return progress_exports;
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
exports.ProgressCircle = ProgressCircle;
|
|
205
|
+
exports.ProgressCircleRange = ProgressCircleRange;
|
|
206
|
+
exports.ProgressCircleTrack = ProgressCircleTrack;
|
|
207
|
+
exports.ProgressContext = ProgressContext;
|
|
208
|
+
exports.ProgressLabel = ProgressLabel;
|
|
209
|
+
exports.ProgressRange = ProgressRange;
|
|
210
|
+
exports.ProgressRoot = ProgressRoot;
|
|
211
|
+
exports.ProgressRootProvider = ProgressRootProvider;
|
|
212
|
+
exports.ProgressTrack = ProgressTrack;
|
|
213
|
+
exports.ProgressValueText = ProgressValueText;
|
|
214
|
+
exports.ProgressView = ProgressView;
|
|
215
|
+
Object.defineProperty(exports, 'progressAnatomy', {
|
|
216
|
+
enumerable: true,
|
|
217
|
+
get: function () {
|
|
218
|
+
return __sprawlify_primitives_machines_progress.anatomy;
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
exports.useProgress = useProgress;
|
|
222
|
+
exports.useProgressContext = useProgressContext;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { t as PropTypes } from "../../normalize-props-EzaAUPva.cjs";
|
|
2
|
+
import { r as Optional, t as Assign } from "../../types-C2LNTNCl.cjs";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-Bv0JsGLd.cjs";
|
|
4
|
+
import * as react737 from "react";
|
|
5
|
+
import { ReactNode } from "react";
|
|
6
|
+
import * as progress from "@sprawlify/primitives/machines/progress";
|
|
7
|
+
import { ValueChangeDetails, ValueChangeDetails as ProgressValueChangeDetails, ValueTranslationDetails, ValueTranslationDetails as ProgressValueTranslationDetails, ViewProps, anatomy as progressAnatomy } from "@sprawlify/primitives/machines/progress";
|
|
8
|
+
|
|
9
|
+
//#region src/components/progress/progress-circle.d.ts
|
|
10
|
+
interface ProgressCircleBaseProps extends PolymorphicProps {}
|
|
11
|
+
interface ProgressCircleProps extends HTMLProps<"svg">, ProgressCircleBaseProps {}
|
|
12
|
+
declare const ProgressCircle: react737.ForwardRefExoticComponent<ProgressCircleProps & react737.RefAttributes<SVGSVGElement>>;
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/components/progress/progress-circle-range.d.ts
|
|
15
|
+
interface ProgressCircleRangeBaseProps extends PolymorphicProps {}
|
|
16
|
+
interface ProgressCircleRangeProps extends HTMLProps<"circle">, ProgressCircleRangeBaseProps {}
|
|
17
|
+
declare const ProgressCircleRange: react737.ForwardRefExoticComponent<ProgressCircleRangeProps & react737.RefAttributes<SVGCircleElement>>;
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/components/progress/progress-circle-track.d.ts
|
|
20
|
+
interface ProgressCircleTrackBaseProps extends PolymorphicProps {}
|
|
21
|
+
interface ProgressCircleTrackProps extends HTMLProps<"circle">, ProgressCircleTrackBaseProps {}
|
|
22
|
+
declare const ProgressCircleTrack: react737.ForwardRefExoticComponent<ProgressCircleTrackProps & react737.RefAttributes<SVGCircleElement>>;
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/components/progress/use-progress.d.ts
|
|
25
|
+
interface UseProgressProps extends Optional<Omit<progress.Props, "dir" | "getRootNode">, "id"> {}
|
|
26
|
+
interface UseProgressReturn extends progress.Api<PropTypes> {}
|
|
27
|
+
declare const useProgress: (props?: UseProgressProps) => UseProgressReturn;
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/components/progress/use-progress-context.d.ts
|
|
30
|
+
interface UseProgressContext extends UseProgressReturn {}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/components/progress/progress-context.d.ts
|
|
33
|
+
interface ProgressContextProps {
|
|
34
|
+
children: (context: UseProgressContext) => ReactNode;
|
|
35
|
+
}
|
|
36
|
+
declare const ProgressContext: (props: ProgressContextProps) => ReactNode;
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/progress/progress-label.d.ts
|
|
39
|
+
interface ProgressLabelBaseProps extends PolymorphicProps {}
|
|
40
|
+
interface ProgressLabelProps extends HTMLProps<"label">, ProgressLabelBaseProps {}
|
|
41
|
+
declare const ProgressLabel: react737.ForwardRefExoticComponent<ProgressLabelProps & react737.RefAttributes<HTMLLabelElement>>;
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/components/progress/progress-range.d.ts
|
|
44
|
+
interface ProgressRangeBaseProps extends PolymorphicProps {}
|
|
45
|
+
interface ProgressRangeProps extends HTMLProps<"div">, ProgressRangeBaseProps {}
|
|
46
|
+
declare const ProgressRange: react737.ForwardRefExoticComponent<ProgressRangeProps & react737.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/progress/progress-root.d.ts
|
|
49
|
+
interface ProgressRootBaseProps extends UseProgressProps, PolymorphicProps {}
|
|
50
|
+
interface ProgressRootProps extends Assign<HTMLProps<"div">, ProgressRootBaseProps> {}
|
|
51
|
+
declare const ProgressRoot: react737.ForwardRefExoticComponent<ProgressRootProps & react737.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/components/progress/progress-root-provider.d.ts
|
|
54
|
+
interface RootProviderProps {
|
|
55
|
+
value: UseProgressReturn;
|
|
56
|
+
}
|
|
57
|
+
interface ProgressRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
58
|
+
interface ProgressRootProviderProps extends HTMLProps<"div">, ProgressRootProviderBaseProps {}
|
|
59
|
+
declare const ProgressRootProvider: react737.ForwardRefExoticComponent<ProgressRootProviderProps & react737.RefAttributes<HTMLDivElement>>;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/components/progress/progress-track.d.ts
|
|
62
|
+
interface ProgressTrackBaseProps extends PolymorphicProps {}
|
|
63
|
+
interface ProgressTrackProps extends HTMLProps<"div">, ProgressTrackBaseProps {}
|
|
64
|
+
declare const ProgressTrack: react737.ForwardRefExoticComponent<ProgressTrackProps & react737.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/components/progress/progress-value-text.d.ts
|
|
67
|
+
interface ProgressValueTextBaseProps extends PolymorphicProps {}
|
|
68
|
+
interface ProgressValueTextProps extends HTMLProps<"span">, ProgressValueTextBaseProps {}
|
|
69
|
+
declare const ProgressValueText: react737.ForwardRefExoticComponent<ProgressValueTextProps & react737.RefAttributes<HTMLSpanElement>>;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/progress/progress-view.d.ts
|
|
72
|
+
interface ProgressViewBaseProps extends ViewProps, PolymorphicProps {}
|
|
73
|
+
interface ProgressViewProps extends HTMLProps<"span">, ProgressViewBaseProps {}
|
|
74
|
+
declare const ProgressView: react737.ForwardRefExoticComponent<ProgressViewProps & react737.RefAttributes<HTMLSpanElement>>;
|
|
75
|
+
declare namespace progress_d_exports {
|
|
76
|
+
export { ProgressCircle as Circle, ProgressCircleBaseProps as CircleBaseProps, ProgressCircleProps as CircleProps, ProgressCircleRange as CircleRange, ProgressCircleRangeBaseProps as CircleRangeBaseProps, ProgressCircleRangeProps as CircleRangeProps, ProgressCircleTrack as CircleTrack, ProgressCircleTrackBaseProps as CircleTrackBaseProps, ProgressCircleTrackProps as CircleTrackProps, ProgressContext as Context, ProgressContextProps as ContextProps, ProgressLabel as Label, ProgressLabelBaseProps as LabelBaseProps, ProgressLabelProps as LabelProps, ProgressRange as Range, ProgressRangeBaseProps as RangeBaseProps, ProgressRangeProps as RangeProps, ProgressRoot as Root, ProgressRootBaseProps as RootBaseProps, ProgressRootProps as RootProps, ProgressRootProvider as RootProvider, ProgressRootProviderBaseProps as RootProviderBaseProps, ProgressRootProviderProps as RootProviderProps, ProgressTrack as Track, ProgressTrackBaseProps as TrackBaseProps, ProgressTrackProps as TrackProps, ValueChangeDetails, ProgressValueText as ValueText, ProgressValueTextBaseProps as ValueTextBaseProps, ProgressValueTextProps as ValueTextProps, ValueTranslationDetails, ProgressView as View, ProgressViewBaseProps as ViewBaseProps, ProgressViewProps as ViewProps };
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
export { progress_d_exports as Progress, ProgressCircle, type ProgressCircleBaseProps, type ProgressCircleProps, ProgressCircleRange, type ProgressCircleRangeBaseProps, type ProgressCircleRangeProps, ProgressCircleTrack, type ProgressCircleTrackBaseProps, type ProgressCircleTrackProps, ProgressContext, type ProgressContextProps, ProgressLabel, type ProgressLabelBaseProps, type ProgressLabelProps, ProgressRange, type ProgressRangeBaseProps, type ProgressRangeProps, ProgressRoot, type ProgressRootBaseProps, type ProgressRootProps, ProgressRootProvider, type ProgressRootProviderBaseProps, type ProgressRootProviderProps, ProgressTrack, type ProgressTrackBaseProps, type ProgressTrackProps, type ProgressValueChangeDetails, ProgressValueText, type ProgressValueTextBaseProps, type ProgressValueTextProps, type ProgressValueTranslationDetails, ProgressView, type ProgressViewBaseProps, type ProgressViewProps, type UseProgressContext, type UseProgressProps, type UseProgressReturn, progressAnatomy, useProgress, useProgressContext };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { r as PropTypes } from "../../index-DJx_8PSR.mjs";
|
|
2
|
+
import { r as Optional, t as Assign } from "../../types-CdhepaRC.mjs";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DcDjbYQq.mjs";
|
|
4
|
+
import * as react336 from "react";
|
|
5
|
+
import { ReactNode } from "react";
|
|
6
|
+
import * as progress from "@sprawlify/primitives/machines/progress";
|
|
7
|
+
import { ValueChangeDetails, ValueChangeDetails as ProgressValueChangeDetails, ValueTranslationDetails, ValueTranslationDetails as ProgressValueTranslationDetails, ViewProps, anatomy as progressAnatomy } from "@sprawlify/primitives/machines/progress";
|
|
8
|
+
|
|
9
|
+
//#region src/components/progress/progress-circle.d.ts
|
|
10
|
+
interface ProgressCircleBaseProps extends PolymorphicProps {}
|
|
11
|
+
interface ProgressCircleProps extends HTMLProps<"svg">, ProgressCircleBaseProps {}
|
|
12
|
+
declare const ProgressCircle: react336.ForwardRefExoticComponent<ProgressCircleProps & react336.RefAttributes<SVGSVGElement>>;
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/components/progress/progress-circle-range.d.ts
|
|
15
|
+
interface ProgressCircleRangeBaseProps extends PolymorphicProps {}
|
|
16
|
+
interface ProgressCircleRangeProps extends HTMLProps<"circle">, ProgressCircleRangeBaseProps {}
|
|
17
|
+
declare const ProgressCircleRange: react336.ForwardRefExoticComponent<ProgressCircleRangeProps & react336.RefAttributes<SVGCircleElement>>;
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/components/progress/progress-circle-track.d.ts
|
|
20
|
+
interface ProgressCircleTrackBaseProps extends PolymorphicProps {}
|
|
21
|
+
interface ProgressCircleTrackProps extends HTMLProps<"circle">, ProgressCircleTrackBaseProps {}
|
|
22
|
+
declare const ProgressCircleTrack: react336.ForwardRefExoticComponent<ProgressCircleTrackProps & react336.RefAttributes<SVGCircleElement>>;
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/components/progress/use-progress.d.ts
|
|
25
|
+
interface UseProgressProps extends Optional<Omit<progress.Props, "dir" | "getRootNode">, "id"> {}
|
|
26
|
+
interface UseProgressReturn extends progress.Api<PropTypes> {}
|
|
27
|
+
declare const useProgress: (props?: UseProgressProps) => UseProgressReturn;
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/components/progress/use-progress-context.d.ts
|
|
30
|
+
interface UseProgressContext extends UseProgressReturn {}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/components/progress/progress-context.d.ts
|
|
33
|
+
interface ProgressContextProps {
|
|
34
|
+
children: (context: UseProgressContext) => ReactNode;
|
|
35
|
+
}
|
|
36
|
+
declare const ProgressContext: (props: ProgressContextProps) => ReactNode;
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/progress/progress-label.d.ts
|
|
39
|
+
interface ProgressLabelBaseProps extends PolymorphicProps {}
|
|
40
|
+
interface ProgressLabelProps extends HTMLProps<"label">, ProgressLabelBaseProps {}
|
|
41
|
+
declare const ProgressLabel: react336.ForwardRefExoticComponent<ProgressLabelProps & react336.RefAttributes<HTMLLabelElement>>;
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/components/progress/progress-range.d.ts
|
|
44
|
+
interface ProgressRangeBaseProps extends PolymorphicProps {}
|
|
45
|
+
interface ProgressRangeProps extends HTMLProps<"div">, ProgressRangeBaseProps {}
|
|
46
|
+
declare const ProgressRange: react336.ForwardRefExoticComponent<ProgressRangeProps & react336.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/progress/progress-root.d.ts
|
|
49
|
+
interface ProgressRootBaseProps extends UseProgressProps, PolymorphicProps {}
|
|
50
|
+
interface ProgressRootProps extends Assign<HTMLProps<"div">, ProgressRootBaseProps> {}
|
|
51
|
+
declare const ProgressRoot: react336.ForwardRefExoticComponent<ProgressRootProps & react336.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/components/progress/progress-root-provider.d.ts
|
|
54
|
+
interface RootProviderProps {
|
|
55
|
+
value: UseProgressReturn;
|
|
56
|
+
}
|
|
57
|
+
interface ProgressRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
58
|
+
interface ProgressRootProviderProps extends HTMLProps<"div">, ProgressRootProviderBaseProps {}
|
|
59
|
+
declare const ProgressRootProvider: react336.ForwardRefExoticComponent<ProgressRootProviderProps & react336.RefAttributes<HTMLDivElement>>;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/components/progress/progress-track.d.ts
|
|
62
|
+
interface ProgressTrackBaseProps extends PolymorphicProps {}
|
|
63
|
+
interface ProgressTrackProps extends HTMLProps<"div">, ProgressTrackBaseProps {}
|
|
64
|
+
declare const ProgressTrack: react336.ForwardRefExoticComponent<ProgressTrackProps & react336.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/components/progress/progress-value-text.d.ts
|
|
67
|
+
interface ProgressValueTextBaseProps extends PolymorphicProps {}
|
|
68
|
+
interface ProgressValueTextProps extends HTMLProps<"span">, ProgressValueTextBaseProps {}
|
|
69
|
+
declare const ProgressValueText: react336.ForwardRefExoticComponent<ProgressValueTextProps & react336.RefAttributes<HTMLSpanElement>>;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/progress/progress-view.d.ts
|
|
72
|
+
interface ProgressViewBaseProps extends ViewProps, PolymorphicProps {}
|
|
73
|
+
interface ProgressViewProps extends HTMLProps<"span">, ProgressViewBaseProps {}
|
|
74
|
+
declare const ProgressView: react336.ForwardRefExoticComponent<ProgressViewProps & react336.RefAttributes<HTMLSpanElement>>;
|
|
75
|
+
declare namespace progress_d_exports {
|
|
76
|
+
export { ProgressCircle as Circle, ProgressCircleBaseProps as CircleBaseProps, ProgressCircleProps as CircleProps, ProgressCircleRange as CircleRange, ProgressCircleRangeBaseProps as CircleRangeBaseProps, ProgressCircleRangeProps as CircleRangeProps, ProgressCircleTrack as CircleTrack, ProgressCircleTrackBaseProps as CircleTrackBaseProps, ProgressCircleTrackProps as CircleTrackProps, ProgressContext as Context, ProgressContextProps as ContextProps, ProgressLabel as Label, ProgressLabelBaseProps as LabelBaseProps, ProgressLabelProps as LabelProps, ProgressRange as Range, ProgressRangeBaseProps as RangeBaseProps, ProgressRangeProps as RangeProps, ProgressRoot as Root, ProgressRootBaseProps as RootBaseProps, ProgressRootProps as RootProps, ProgressRootProvider as RootProvider, ProgressRootProviderBaseProps as RootProviderBaseProps, ProgressRootProviderProps as RootProviderProps, ProgressTrack as Track, ProgressTrackBaseProps as TrackBaseProps, ProgressTrackProps as TrackProps, ValueChangeDetails, ProgressValueText as ValueText, ProgressValueTextBaseProps as ValueTextBaseProps, ProgressValueTextProps as ValueTextProps, ValueTranslationDetails, ProgressView as View, ProgressViewBaseProps as ViewBaseProps, ProgressViewProps as ViewProps };
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
export { progress_d_exports as Progress, ProgressCircle, type ProgressCircleBaseProps, type ProgressCircleProps, ProgressCircleRange, type ProgressCircleRangeBaseProps, type ProgressCircleRangeProps, ProgressCircleTrack, type ProgressCircleTrackBaseProps, type ProgressCircleTrackProps, ProgressContext, type ProgressContextProps, ProgressLabel, type ProgressLabelBaseProps, type ProgressLabelProps, ProgressRange, type ProgressRangeBaseProps, type ProgressRangeProps, ProgressRoot, type ProgressRootBaseProps, type ProgressRootProps, ProgressRootProvider, type ProgressRootProviderBaseProps, type ProgressRootProviderProps, ProgressTrack, type ProgressTrackBaseProps, type ProgressTrackProps, type ProgressValueChangeDetails, ProgressValueText, type ProgressValueTextBaseProps, type ProgressValueTextProps, type ProgressValueTranslationDetails, ProgressView, type ProgressViewBaseProps, type ProgressViewProps, type UseProgressContext, type UseProgressProps, type UseProgressReturn, progressAnatomy, useProgress, useProgressContext };
|