@sprawlify/solid 0.0.106 → 0.0.107
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/{alert-dialog-anatomy-DviOSpRG.d.ts → alert-dialog-anatomy-B6loNyCs.d.ts} +1 -1
- package/dist/{carousel-anatomy-Cgncj4px.d.ts → carousel-anatomy-zm_3AkEb.d.ts} +1 -1
- package/dist/{checkbox-anatomy-Og29Ch0M.d.ts → checkbox-anatomy-OTXuBLEd.d.ts} +1 -1
- package/dist/{collapsible-BLXaEYy1.js → collapsible-CqDl0d8N.js} +1 -1
- package/dist/{collapsible-FZ1DI91d.jsx → collapsible-DhguH1Yh.jsx} +1 -1
- package/dist/{color-picker-anatomy-D1wJIemo.d.ts → color-picker-anatomy-CjTwpq36.d.ts} +1 -1
- package/dist/combobox-anatomy-Blxrou1S.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +13 -13
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/accordion/index.jsx +2 -2
- package/dist/components/alert-dialog/index.d.ts +18 -18
- package/dist/components/alert-dialog/index.js +2 -2
- package/dist/components/alert-dialog/index.jsx +2 -2
- package/dist/components/anatomy.d.ts +11 -11
- package/dist/components/angle-slider/index.d.ts +19 -19
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/angle-slider/index.jsx +1 -1
- package/dist/components/aspect-ratio/index.d.ts +7 -7
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/aspect-ratio/index.jsx +1 -1
- package/dist/components/avatar/index.d.ts +9 -9
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.jsx +1 -1
- package/dist/components/bottom-sheet/index.d.ts +16 -16
- package/dist/components/bottom-sheet/index.js +1 -1
- package/dist/components/bottom-sheet/index.jsx +1 -1
- package/dist/components/carousel/index.d.ts +26 -26
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.jsx +1 -1
- package/dist/components/checkbox/index.d.ts +18 -18
- package/dist/components/checkbox/index.js +3 -3
- package/dist/components/checkbox/index.jsx +3 -3
- package/dist/components/clipboard/index.d.ts +17 -17
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/clipboard/index.jsx +1 -1
- package/dist/components/collapsible/index.d.ts +11 -11
- package/dist/components/collapsible/index.js +2 -2
- package/dist/components/collapsible/index.jsx +2 -2
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/color-picker/index.d.ts +60 -60
- package/dist/components/color-picker/index.js +3 -3
- package/dist/components/color-picker/index.jsx +6 -4
- package/dist/components/combobox/index.d.ts +36 -36
- package/dist/components/combobox/index.js +3 -3
- package/dist/components/combobox/index.jsx +3 -3
- package/dist/components/date-picker/index.d.ts +55 -55
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-picker/index.jsx +7 -3
- package/dist/components/dialog/index.d.ts +16 -16
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.jsx +1 -1
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/download-trigger/index.js +1 -1
- package/dist/components/download-trigger/index.jsx +1 -1
- package/dist/components/dropdown-menu/index.d.ts +40 -40
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/dropdown-menu/index.jsx +1 -1
- package/dist/components/editable/index.d.ts +21 -21
- package/dist/components/editable/index.js +3 -3
- package/dist/components/editable/index.jsx +3 -3
- package/dist/components/field/index.d.ts +44 -44
- package/dist/components/field/index.js +3 -3
- package/dist/components/field/index.jsx +3 -3
- package/dist/components/fieldset/index.d.ts +18 -18
- package/dist/components/fieldset/index.js +2 -2
- package/dist/components/fieldset/index.jsx +2 -2
- package/dist/components/file-upload/index.d.ts +30 -30
- package/dist/components/file-upload/index.js +3 -3
- package/dist/components/file-upload/index.jsx +6 -4
- package/dist/components/floating-panel/index.d.ts +25 -25
- package/dist/components/floating-panel/index.js +1 -1
- package/dist/components/floating-panel/index.jsx +1 -1
- package/dist/components/focus-trap/index.d.ts +3 -3
- package/dist/components/format/index.d.ts +3 -3
- package/dist/components/format/index.js +1 -1
- package/dist/components/format/index.jsx +1 -1
- package/dist/components/frame/index.js +1 -1
- package/dist/components/frame/index.jsx +1 -1
- package/dist/components/highlight/index.d.ts +1 -1
- package/dist/components/hover-card/index.d.ts +12 -12
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/hover-card/index.jsx +1 -1
- package/dist/components/image-cropper/index.d.ts +15 -15
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/image-cropper/index.jsx +1 -1
- package/dist/components/json-tree-view/index.d.ts +3 -3
- package/dist/components/json-tree-view/index.js +3 -3
- package/dist/components/json-tree-view/index.jsx +3 -3
- package/dist/components/listbox/index.d.ts +27 -27
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/listbox/index.jsx +4 -2
- package/dist/components/marquee/index.d.ts +13 -13
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/marquee/index.jsx +1 -1
- package/dist/components/navigation-menu/index.d.ts +25 -25
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/navigation-menu/index.jsx +1 -1
- package/dist/components/number-input/index.d.ts +19 -19
- package/dist/components/number-input/index.js +3 -3
- package/dist/components/number-input/index.jsx +3 -3
- package/dist/components/pagination/index.d.ts +17 -17
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.jsx +1 -1
- package/dist/components/password-input/index.d.ts +15 -15
- package/dist/components/password-input/index.js +3 -3
- package/dist/components/password-input/index.jsx +3 -3
- package/dist/components/pin-input/index.d.ts +13 -13
- package/dist/components/pin-input/index.js +3 -3
- package/dist/components/pin-input/index.jsx +3 -3
- package/dist/components/popover/index.d.ts +22 -22
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.jsx +1 -1
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/progress/index.d.ts +21 -21
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.jsx +1 -1
- package/dist/components/qr-code/index.d.ts +13 -13
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/index.jsx +1 -1
- package/dist/components/radio-group/index.d.ts +17 -17
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/index.jsx +2 -2
- package/dist/components/rating-group/index.d.ts +13 -13
- package/dist/components/rating-group/index.js +3 -3
- package/dist/components/rating-group/index.jsx +3 -3
- package/dist/components/scroll-area/index.d.ts +15 -15
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/index.jsx +1 -1
- package/dist/components/segment-group/index.d.ts +18 -18
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/segment-group/index.jsx +1 -1
- package/dist/components/select/index.d.ts +37 -37
- package/dist/components/select/index.js +3 -3
- package/dist/components/select/index.jsx +3 -3
- package/dist/components/separator/index.d.ts +5 -5
- package/dist/components/separator/index.js +1 -1
- package/dist/components/separator/index.jsx +1 -1
- package/dist/components/signature-pad/index.d.ts +17 -17
- package/dist/components/signature-pad/index.js +3 -3
- package/dist/components/signature-pad/index.jsx +6 -4
- package/dist/components/slider/index.d.ts +25 -25
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.jsx +4 -2
- package/dist/components/splitter/index.d.ts +11 -11
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/splitter/index.jsx +1 -1
- package/dist/components/steps/index.d.ts +25 -25
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.jsx +1 -1
- package/dist/components/switch/index.d.ts +13 -13
- package/dist/components/switch/index.js +3 -3
- package/dist/components/switch/index.jsx +3 -3
- package/dist/components/tabs/index.d.ts +13 -13
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.jsx +1 -1
- package/dist/components/tags-input/index.d.ts +25 -25
- package/dist/components/tags-input/index.js +3 -3
- package/dist/components/tags-input/index.jsx +3 -3
- package/dist/components/timer/index.d.ts +15 -15
- package/dist/components/timer/index.js +1 -1
- package/dist/components/timer/index.jsx +1 -1
- package/dist/components/toast/index.d.ts +12 -12
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.jsx +1 -1
- package/dist/components/toggle/index.d.ts +4 -4
- package/dist/components/toggle-group/index.d.ts +7 -7
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/index.jsx +1 -1
- package/dist/components/tooltip/index.d.ts +12 -12
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.jsx +1 -1
- package/dist/components/tour/index.d.ts +27 -27
- package/dist/components/tour/index.js +1 -1
- package/dist/components/tour/index.jsx +10 -4
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/index.js +3 -3
- package/dist/components/tree-view/index.jsx +3 -3
- package/dist/{date-picker-anatomy-D8sBKGSF.d.ts → date-picker-anatomy-fajEN17J.d.ts} +1 -1
- package/dist/{field-DujBK584.jsx → field-Blp6NDsc.jsx} +2 -2
- package/dist/{field-DLS1xeZs.js → field-GL4C0tUr.js} +2 -2
- package/dist/{field-anatomy-DhMytzIn.d.ts → field-anatomy-DfP5AI6N.d.ts} +1 -1
- package/dist/{fieldset-CKY6kn04.js → fieldset-DQUqxXN2.js} +1 -1
- package/dist/{fieldset-D3jChLai.jsx → fieldset-Lbk9tsVV.jsx} +1 -1
- package/dist/{fieldset-anatomy-t2uR3tz-.d.ts → fieldset-anatomy-DF0TfPdv.d.ts} +1 -1
- package/dist/{index-ChrVCjVn.d.ts → index-BbGXwXgM.d.ts} +2 -2
- package/dist/index-CdpGOel-.d.ts +79 -0
- package/dist/index-D1ooJgqW.d.ts +79 -0
- package/dist/{index-BrsQp6SG.d.ts → index-DJkj8LZ-.d.ts} +34 -34
- package/dist/{index-CUS_uvKg.d.ts → index-Dho3m7QX.d.ts} +4 -4
- package/dist/{index-CQA-E34W.d.ts → index-DiSjSt81.d.ts} +34 -34
- package/dist/{index-NjH8Rhuh.d.ts → index-Ywo5uneC.d.ts} +4 -4
- package/dist/{index-BoZVuuyY.d.ts → index-ZHZGSdr3.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.jsx +2 -2
- package/dist/{listbox-anatomy-D-UZBHuH.d.ts → listbox-anatomy-BVkSa4nW.d.ts} +1 -1
- package/dist/providers-C-cHBiyk.jsx +187 -0
- package/dist/providers-vv33Jo9Q.js +201 -0
- package/dist/{segment-group-anatomy-DwgdyOB9.d.ts → segment-group-anatomy-D6Q31ASD.d.ts} +1 -1
- package/dist/{tour-anatomy-Dls73dW4.d.ts → tour-anatomy-BqYDrHGw.d.ts} +1 -1
- package/dist/{tree-view-Bqvwonpw.js → tree-view-DqjhHVfK.js} +2 -2
- package/dist/{tree-view-DWzZx1Um.jsx → tree-view-nwQzRTs2.jsx} +2 -2
- package/package.json +9 -8
- package/dist/combobox-anatomy-DhuifYOs.d.ts +0 -6
- package/dist/index-B-Vwy4xv.d.ts +0 -52
- package/dist/index-B3r6Uj67.d.ts +0 -52
- package/dist/providers-CEdBpdaX.js +0 -89
- package/dist/providers-DsAwxh4b.jsx +0 -75
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../../chunk-pQxUBDkX.jsx";
|
|
|
2
2
|
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-DUR6M1Mz.jsx";
|
|
3
3
|
import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
|
-
import {
|
|
5
|
+
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
7
|
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
8
|
import "../../render-strategy-6LT04Ztx.jsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as PropTypes } from "../../index-Bnd2Fp7Q.js";
|
|
2
2
|
import { i as Optional, n as MaybeAccessor } from "../../types-C0L5xDeS.js";
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BxBlXUD3.js";
|
|
4
|
-
import { s as UsePresenceProps } from "../../index-
|
|
5
|
-
import { t as tourAnatomy } from "../../tour-anatomy-
|
|
4
|
+
import { s as UsePresenceProps } from "../../index-Dho3m7QX.js";
|
|
5
|
+
import { t as tourAnatomy } from "../../tour-anatomy-BqYDrHGw.js";
|
|
6
6
|
import * as solid_js0 from "solid-js";
|
|
7
7
|
import { Accessor, JSX } from "solid-js";
|
|
8
8
|
import { WaitForOptions as WaitOptions } from "@sprawlify/primitives/dom-query";
|
|
@@ -10,8 +10,8 @@ import * as tour from "@sprawlify/primitives/machines/tour";
|
|
|
10
10
|
import { FocusOutsideEvent, FocusOutsideEvent as TourFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as TourInteractOutsideEvent, Point, PointerDownOutsideEvent, PointerDownOutsideEvent as TourPointerDownOutsideEvent, ProgressTextDetails, StatusChangeDetails, StepAction, StepAction as StepAction$1, StepActionMap, StepActionTriggerProps, StepActionTriggerProps as StepActionTriggerProps$1, StepBaseDetails, StepChangeDetails, StepDetails, StepDetails as TourStepDetails, StepEffectArgs, StepPlacement, StepStatus, StepType } from "@sprawlify/primitives/machines/tour";
|
|
11
11
|
|
|
12
12
|
//#region src/components/tour/tour-action-trigger.d.ts
|
|
13
|
-
interface TourActionTriggerBaseProps extends PolymorphicProps<
|
|
14
|
-
interface TourActionTriggerProps extends HTMLProps<
|
|
13
|
+
interface TourActionTriggerBaseProps extends PolymorphicProps<"button">, StepActionTriggerProps {}
|
|
14
|
+
interface TourActionTriggerProps extends HTMLProps<"button">, TourActionTriggerBaseProps {}
|
|
15
15
|
declare const TourActionTrigger: (props: TourActionTriggerProps) => solid_js0.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/components/tour/tour-actions.d.ts
|
|
@@ -21,32 +21,32 @@ interface TourActionsProps {
|
|
|
21
21
|
declare const TourActions: (props: TourActionsProps) => JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/components/tour/tour-arrow.d.ts
|
|
24
|
-
interface TourArrowBaseProps extends PolymorphicProps<
|
|
25
|
-
interface TourArrowProps extends HTMLProps<
|
|
24
|
+
interface TourArrowBaseProps extends PolymorphicProps<"div"> {}
|
|
25
|
+
interface TourArrowProps extends HTMLProps<"div">, TourArrowBaseProps {}
|
|
26
26
|
declare const TourArrow: (props: TourArrowProps) => solid_js0.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/tour/tour-arrow-tip.d.ts
|
|
29
|
-
interface TourArrowTipBaseProps extends PolymorphicProps<
|
|
30
|
-
interface TourArrowTipProps extends HTMLProps<
|
|
29
|
+
interface TourArrowTipBaseProps extends PolymorphicProps<"div"> {}
|
|
30
|
+
interface TourArrowTipProps extends HTMLProps<"div">, TourArrowTipBaseProps {}
|
|
31
31
|
declare const TourArrowTip: (props: TourArrowTipProps) => solid_js0.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/components/tour/tour-backdrop.d.ts
|
|
34
|
-
interface TourBackdropBaseProps extends PolymorphicProps<
|
|
35
|
-
interface TourBackdropProps extends HTMLProps<
|
|
34
|
+
interface TourBackdropBaseProps extends PolymorphicProps<"div"> {}
|
|
35
|
+
interface TourBackdropProps extends HTMLProps<"div">, TourBackdropBaseProps {}
|
|
36
36
|
declare const TourBackdrop: (props: TourBackdropProps) => solid_js0.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/components/tour/tour-close-trigger.d.ts
|
|
39
|
-
interface TourCloseTriggerBaseProps extends PolymorphicProps<
|
|
40
|
-
interface TourCloseTriggerProps extends HTMLProps<
|
|
39
|
+
interface TourCloseTriggerBaseProps extends PolymorphicProps<"button"> {}
|
|
40
|
+
interface TourCloseTriggerProps extends HTMLProps<"button">, TourCloseTriggerBaseProps {}
|
|
41
41
|
declare const TourCloseTrigger: (props: TourCloseTriggerProps) => solid_js0.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/components/tour/tour-content.d.ts
|
|
44
|
-
interface TourContentBaseProps extends PolymorphicProps<
|
|
45
|
-
interface TourContentProps extends HTMLProps<
|
|
44
|
+
interface TourContentBaseProps extends PolymorphicProps<"div"> {}
|
|
45
|
+
interface TourContentProps extends HTMLProps<"div">, TourContentBaseProps {}
|
|
46
46
|
declare const TourContent: (props: TourContentProps) => solid_js0.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/components/tour/use-tour.d.ts
|
|
49
|
-
interface UseTourProps extends Optional<Omit<tour.Props,
|
|
49
|
+
interface UseTourProps extends Optional<Omit<tour.Props, "dir" | "getRootNode">, "id"> {}
|
|
50
50
|
interface UseTourReturn extends Accessor<tour.Api<PropTypes>> {}
|
|
51
51
|
declare const useTour: (props?: MaybeAccessor<UseTourProps>) => UseTourReturn;
|
|
52
52
|
//#endregion
|
|
@@ -60,23 +60,23 @@ interface TourContextProps {
|
|
|
60
60
|
declare const TourContext: (props: TourContextProps) => JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/components/tour/tour-control.d.ts
|
|
63
|
-
interface TourControlBaseProps extends PolymorphicProps<
|
|
64
|
-
interface TourControlProps extends HTMLProps<
|
|
63
|
+
interface TourControlBaseProps extends PolymorphicProps<"div"> {}
|
|
64
|
+
interface TourControlProps extends HTMLProps<"div">, TourControlBaseProps {}
|
|
65
65
|
declare const TourControl: (props: TourControlProps) => solid_js0.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/components/tour/tour-description.d.ts
|
|
68
|
-
interface TourDescriptionBaseProps extends PolymorphicProps<
|
|
69
|
-
interface TourDescriptionProps extends HTMLProps<
|
|
68
|
+
interface TourDescriptionBaseProps extends PolymorphicProps<"div"> {}
|
|
69
|
+
interface TourDescriptionProps extends HTMLProps<"div">, TourDescriptionBaseProps {}
|
|
70
70
|
declare const TourDescription: (props: TourDescriptionProps) => solid_js0.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/components/tour/tour-positioner.d.ts
|
|
73
|
-
interface TourPositionerBaseProps extends PolymorphicProps<
|
|
74
|
-
interface TourPositionerProps extends HTMLProps<
|
|
73
|
+
interface TourPositionerBaseProps extends PolymorphicProps<"div"> {}
|
|
74
|
+
interface TourPositionerProps extends HTMLProps<"div">, TourPositionerBaseProps {}
|
|
75
75
|
declare const TourPositioner: (props: TourPositionerProps) => solid_js0.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/components/tour/tour-progress-text.d.ts
|
|
78
|
-
interface TourProgressTextBaseProps extends PolymorphicProps<
|
|
79
|
-
interface TourProgressTextProps extends HTMLProps<
|
|
78
|
+
interface TourProgressTextBaseProps extends PolymorphicProps<"div"> {}
|
|
79
|
+
interface TourProgressTextProps extends HTMLProps<"div">, TourProgressTextBaseProps {}
|
|
80
80
|
declare const TourProgressText: (props: TourProgressTextProps) => solid_js0.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/components/tour/tour-root.d.ts
|
|
@@ -90,13 +90,13 @@ interface TourRootProps extends TourRootBaseProps {
|
|
|
90
90
|
declare const TourRoot: (props: TourRootProps) => JSX.Element;
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region src/components/tour/tour-spotlight.d.ts
|
|
93
|
-
interface TourSpotlightBaseProps extends PolymorphicProps<
|
|
94
|
-
interface TourSpotlightProps extends HTMLProps<
|
|
93
|
+
interface TourSpotlightBaseProps extends PolymorphicProps<"div"> {}
|
|
94
|
+
interface TourSpotlightProps extends HTMLProps<"div">, TourSpotlightBaseProps {}
|
|
95
95
|
declare const TourSpotlight: (props: TourSpotlightProps) => solid_js0.JSX.Element;
|
|
96
96
|
//#endregion
|
|
97
97
|
//#region src/components/tour/tour-title.d.ts
|
|
98
|
-
interface TourTitleBaseProps extends PolymorphicProps<
|
|
99
|
-
interface TourTitleProps extends HTMLProps<
|
|
98
|
+
interface TourTitleBaseProps extends PolymorphicProps<"h2"> {}
|
|
99
|
+
interface TourTitleProps extends HTMLProps<"h2">, TourTitleBaseProps {}
|
|
100
100
|
declare const TourTitle: (props: TourTitleProps) => solid_js0.JSX.Element;
|
|
101
101
|
declare namespace tour_d_exports {
|
|
102
102
|
export { TourActionTrigger as ActionTrigger, TourActionTriggerBaseProps as ActionTriggerBaseProps, TourActionTriggerProps as ActionTriggerProps, TourActions as Actions, TourActionsProps as ActionsProps, TourArrow as Arrow, TourArrowBaseProps as ArrowBaseProps, TourArrowProps as ArrowProps, TourArrowTip as ArrowTip, TourArrowTipBaseProps as ArrowTipBaseProps, TourArrowTipProps as ArrowTipProps, TourBackdrop as Backdrop, TourBackdropBaseProps as BackdropBaseProps, TourBackdropProps as BackdropProps, TourCloseTrigger as CloseTrigger, TourCloseTriggerBaseProps as CloseTriggerBaseProps, TourCloseTriggerProps as CloseTriggerProps, TourContent as Content, TourContentBaseProps as ContentBaseProps, TourContentProps as ContentProps, TourContext as Context, TourContextProps as ContextProps, TourControl as Control, TourControlBaseProps as ControlBaseProps, TourControlProps as ControlProps, TourDescription as Description, TourDescriptionBaseProps as DescriptionBaseProps, TourDescriptionProps as DescriptionProps, FocusOutsideEvent, InteractOutsideEvent, Point, PointerDownOutsideEvent, TourPositioner as Positioner, TourPositionerBaseProps as PositionerBaseProps, TourPositionerProps as PositionerProps, TourProgressText as ProgressText, TourProgressTextBaseProps as ProgressTextBaseProps, ProgressTextDetails, TourProgressTextProps as ProgressTextProps, TourRoot as Root, TourRootBaseProps as RootBaseProps, TourRootProps as RootProps, TourSpotlight as Spotlight, TourSpotlightBaseProps as SpotlightBaseProps, TourSpotlightProps as SpotlightProps, StatusChangeDetails, StepAction$1 as StepAction, StepActionMap, StepActionTriggerProps$1 as StepActionTriggerProps, StepBaseDetails, StepChangeDetails, StepDetails, StepEffectArgs, StepPlacement, StepStatus, StepType, TourTitle as Title, TourTitleBaseProps as TitleBaseProps, TourTitleProps as TitleProps, WaitOptions };
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
|
2
2
|
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-BHfpfUk-.js";
|
|
3
3
|
import { t as runIfFn } from "../../run-if-fn-BV7F-Eeb.js";
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-BEnzb67H.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-vv33Jo9Q.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-DORgzART.js";
|
|
7
7
|
import { t as tourAnatomy } from "../../tour-anatomy-VBbJhmJa.js";
|
|
8
8
|
import { t as createSplitProps } from "../../create-split-props-OE-yOtGc.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../../chunk-pQxUBDkX.jsx";
|
|
|
2
2
|
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-DUR6M1Mz.jsx";
|
|
3
3
|
import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
4
4
|
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
|
-
import {
|
|
5
|
+
import { a as useLocaleContext, s as useEnvironmentContext } from "../../providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
7
|
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
8
|
import { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-6LT04Ztx.jsx";
|
|
@@ -22,7 +22,9 @@ const TourActionTrigger = (props) => {
|
|
|
22
22
|
const [actionTriggerProps, localProps] = createSplitProps()(props, ["action"]);
|
|
23
23
|
const tour = useTourContext();
|
|
24
24
|
const mergedProps = mergeProps$1(() => tour().getActionTriggerProps(actionTriggerProps), localProps);
|
|
25
|
-
return <sprawlify.button {...mergedProps}>
|
|
25
|
+
return <sprawlify.button {...mergedProps}>
|
|
26
|
+
{mergedProps.children || actionTriggerProps.action.label}
|
|
27
|
+
</sprawlify.button>;
|
|
26
28
|
};
|
|
27
29
|
//#endregion
|
|
28
30
|
//#region src/components/tour/tour-actions.tsx
|
|
@@ -90,7 +92,9 @@ const TourControl = (props) => {
|
|
|
90
92
|
const TourDescription = (props) => {
|
|
91
93
|
const tour = useTourContext();
|
|
92
94
|
const mergedProps = mergeProps$1(() => tour().getDescriptionProps(), props);
|
|
93
|
-
return <sprawlify.div {...mergedProps}>
|
|
95
|
+
return <sprawlify.div {...mergedProps}>
|
|
96
|
+
{mergedProps.children || tour().step?.description}
|
|
97
|
+
</sprawlify.div>;
|
|
94
98
|
};
|
|
95
99
|
//#endregion
|
|
96
100
|
//#region src/components/tour/tour-positioner.tsx
|
|
@@ -107,7 +111,9 @@ const TourPositioner = (props) => {
|
|
|
107
111
|
const TourProgressText = (props) => {
|
|
108
112
|
const tour = useTourContext();
|
|
109
113
|
const mergedProps = mergeProps$1(() => tour().getProgressTextProps(), props);
|
|
110
|
-
return <sprawlify.div {...mergedProps}>
|
|
114
|
+
return <sprawlify.div {...mergedProps}>
|
|
115
|
+
{mergedProps.children || tour().getProgressText()}
|
|
116
|
+
</sprawlify.div>;
|
|
111
117
|
};
|
|
112
118
|
//#endregion
|
|
113
119
|
//#region src/components/tour/tour-root.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as treeViewAnatomy } from "../../tree-view-anatomy-DFap3OjP.js";
|
|
2
|
-
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-
|
|
3
|
-
import { $ as TreeViewContext, A as UseTreeViewNodeContext, B as TreeViewNodeCheckboxProps, C as TreeViewRootComponentProps, Ct as TreeViewBranchContentProps, D as TreeViewNodeProviderProps, E as TreeViewNodeProviderBaseProps, Et as TreeViewBranchProps, F as TreeViewNodeCheckboxIndicator, G as TreeViewItemTextBaseProps, H as TreeViewLabelBaseProps, I as TreeViewNodeCheckboxIndicatorBaseProps, J as TreeViewItemIndicatorBaseProps, K as TreeViewItemTextProps, L as TreeViewNodeCheckboxIndicatorProps, M as TreeViewNodeRenameInput, N as TreeViewNodeRenameInputBaseProps, O as TreeViewNodeContext, P as TreeViewNodeRenameInputProps, Q as TreeViewItemProps, R as TreeViewNodeCheckbox, S as TreeViewRootComponent, St as TreeViewBranchContentBaseProps, T as TreeViewNodeProvider, Tt as TreeViewBranchBaseProps, U as TreeViewLabelProps, V as TreeViewLabel, W as TreeViewItemText, X as TreeViewItem, Y as TreeViewItemIndicatorProps, Z as TreeViewItemBaseProps, _ as TreeViewRootProviderBaseProps, _t as TreeViewBranchIndentGuideProps, a as TreeViewLoadChildrenDetails, at as useTreeView, b as TreeViewRoot, bt as TreeViewBranchControlProps, c as TreeViewNodeState, ct as TreeViewBranchTriggerProps, d as TreeViewSelectionChangeDetails, dt as TreeViewBranchTextProps, et as TreeViewContextProps, f as tree_view_d_exports, ft as TreeViewBranchIndicator, g as TreeViewRootProvider, gt as TreeViewBranchIndentGuideBaseProps, h as TreeViewTreeProps, ht as TreeViewBranchIndentGuide, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewReturn, j as useTreeViewNodeContext, k as TreeViewNodeContextProps, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchText, m as TreeViewTreeBaseProps, mt as TreeViewBranchIndicatorProps, n as TreeViewExpandedChangeDetails, nt as useTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as TreeViewBranchTrigger, p as TreeViewTree, pt as TreeViewBranchIndicatorBaseProps, q as TreeViewItemIndicator, r as TreeViewFocusChangeDetails, rt as UseTreeViewProps, s as TreeViewNodeProps, st as TreeViewBranchTriggerBaseProps, t as TreeViewCheckedChangeDetails, tt as UseTreeViewContext, u as TreeViewRenameStartDetails, ut as TreeViewBranchTextBaseProps, v as TreeViewRootProviderComponent, vt as TreeViewBranchControl, w as TreeViewRootProps, wt as TreeViewBranch, x as TreeViewRootBaseProps, xt as TreeViewBranchContent, y as TreeViewRootProviderProps, yt as TreeViewBranchControlBaseProps, z as TreeViewNodeCheckboxBaseProps } from "../../index-
|
|
2
|
+
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-BbGXwXgM.js";
|
|
3
|
+
import { $ as TreeViewContext, A as UseTreeViewNodeContext, B as TreeViewNodeCheckboxProps, C as TreeViewRootComponentProps, Ct as TreeViewBranchContentProps, D as TreeViewNodeProviderProps, E as TreeViewNodeProviderBaseProps, Et as TreeViewBranchProps, F as TreeViewNodeCheckboxIndicator, G as TreeViewItemTextBaseProps, H as TreeViewLabelBaseProps, I as TreeViewNodeCheckboxIndicatorBaseProps, J as TreeViewItemIndicatorBaseProps, K as TreeViewItemTextProps, L as TreeViewNodeCheckboxIndicatorProps, M as TreeViewNodeRenameInput, N as TreeViewNodeRenameInputBaseProps, O as TreeViewNodeContext, P as TreeViewNodeRenameInputProps, Q as TreeViewItemProps, R as TreeViewNodeCheckbox, S as TreeViewRootComponent, St as TreeViewBranchContentBaseProps, T as TreeViewNodeProvider, Tt as TreeViewBranchBaseProps, U as TreeViewLabelProps, V as TreeViewLabel, W as TreeViewItemText, X as TreeViewItem, Y as TreeViewItemIndicatorProps, Z as TreeViewItemBaseProps, _ as TreeViewRootProviderBaseProps, _t as TreeViewBranchIndentGuideProps, a as TreeViewLoadChildrenDetails, at as useTreeView, b as TreeViewRoot, bt as TreeViewBranchControlProps, c as TreeViewNodeState, ct as TreeViewBranchTriggerProps, d as TreeViewSelectionChangeDetails, dt as TreeViewBranchTextProps, et as TreeViewContextProps, f as tree_view_d_exports, ft as TreeViewBranchIndicator, g as TreeViewRootProvider, gt as TreeViewBranchIndentGuideBaseProps, h as TreeViewTreeProps, ht as TreeViewBranchIndentGuide, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewReturn, j as useTreeViewNodeContext, k as TreeViewNodeContextProps, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchText, m as TreeViewTreeBaseProps, mt as TreeViewBranchIndicatorProps, n as TreeViewExpandedChangeDetails, nt as useTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as TreeViewBranchTrigger, p as TreeViewTree, pt as TreeViewBranchIndicatorBaseProps, q as TreeViewItemIndicator, r as TreeViewFocusChangeDetails, rt as UseTreeViewProps, s as TreeViewNodeProps, st as TreeViewBranchTriggerBaseProps, t as TreeViewCheckedChangeDetails, tt as UseTreeViewContext, u as TreeViewRenameStartDetails, ut as TreeViewBranchTextBaseProps, v as TreeViewRootProviderComponent, vt as TreeViewBranchControl, w as TreeViewRootProps, wt as TreeViewBranch, x as TreeViewRootBaseProps, xt as TreeViewBranchContent, y as TreeViewRootProviderProps, yt as TreeViewBranchControlBaseProps, z as TreeViewNodeCheckboxBaseProps } from "../../index-DJkj8LZ-.js";
|
|
4
4
|
export { TreeCollection, TreeNode, tree_view_d_exports as TreeView, TreeViewBranch, TreeViewBranchBaseProps, TreeViewBranchContent, TreeViewBranchContentBaseProps, TreeViewBranchContentProps, TreeViewBranchControl, TreeViewBranchControlBaseProps, TreeViewBranchControlProps, TreeViewBranchIndentGuide, TreeViewBranchIndentGuideBaseProps, TreeViewBranchIndentGuideProps, TreeViewBranchIndicator, TreeViewBranchIndicatorBaseProps, TreeViewBranchIndicatorProps, TreeViewBranchProps, TreeViewBranchText, TreeViewBranchTextBaseProps, TreeViewBranchTextProps, TreeViewBranchTrigger, TreeViewBranchTriggerBaseProps, TreeViewBranchTriggerProps, TreeViewCheckedChangeDetails, TreeViewContext, TreeViewContextProps, TreeViewExpandedChangeDetails, TreeViewFocusChangeDetails, TreeViewItem, TreeViewItemBaseProps, TreeViewItemIndicator, TreeViewItemIndicatorBaseProps, TreeViewItemIndicatorProps, TreeViewItemProps, TreeViewItemText, TreeViewItemTextBaseProps, TreeViewItemTextProps, TreeViewLabel, TreeViewLabelBaseProps, TreeViewLabelProps, TreeViewLoadChildrenCompleteDetails, TreeViewLoadChildrenDetails, TreeViewLoadChildrenErrorDetails, TreeViewNodeCheckbox, TreeViewNodeCheckboxBaseProps, TreeViewNodeCheckboxIndicator, TreeViewNodeCheckboxIndicatorBaseProps, TreeViewNodeCheckboxIndicatorProps, TreeViewNodeCheckboxProps, TreeViewNodeContext, TreeViewNodeContextProps, TreeViewNodeProps, TreeViewNodeProvider, TreeViewNodeProviderBaseProps, TreeViewNodeProviderProps, TreeViewNodeRenameInput, TreeViewNodeRenameInputBaseProps, TreeViewNodeRenameInputProps, TreeViewNodeState, TreeViewRenameCompleteDetails, TreeViewRenameStartDetails, TreeViewRoot, TreeViewRootBaseProps, TreeViewRootComponent, TreeViewRootComponentProps, TreeViewRootProps, TreeViewRootProvider, TreeViewRootProviderBaseProps, TreeViewRootProviderComponent, TreeViewRootProviderProps, TreeViewSelectionChangeDetails, TreeViewTree, TreeViewTreeBaseProps, TreeViewTreeProps, UseTreeViewContext, UseTreeViewNodeContext, UseTreeViewProps, UseTreeViewReturn, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../core-BHfpfUk-.js";
|
|
2
2
|
import "../../create-context-BEnzb67H.js";
|
|
3
|
-
import "../../providers-
|
|
3
|
+
import "../../providers-vv33Jo9Q.js";
|
|
4
4
|
import "../../factory-DORgzART.js";
|
|
5
5
|
import { t as treeViewAnatomy } from "../../tree-view-anatomy-BK8OR6TX.js";
|
|
6
6
|
import "../../create-split-props-OE-yOtGc.js";
|
|
7
7
|
import "../../render-strategy-BAqQL-Hs.js";
|
|
8
|
-
import "../../collapsible-
|
|
8
|
+
import "../../collapsible-CqDl0d8N.js";
|
|
9
9
|
import { a as createTreeCollection, i as createFileTreeCollection } from "../../collection-D83ZAzYd.js";
|
|
10
|
-
import { C as useTreeViewNodeContext, S as TreeViewBranch, _ as TreeViewBranchText, a as useTreeView, b as TreeViewBranchControl, c as TreeViewNodeRenameInput, d as TreeViewLabel, f as TreeViewItemText, g as TreeViewBranchTrigger, h as TreeViewContext, i as TreeViewRoot, l as TreeViewNodeCheckboxIndicator, m as TreeViewItem, n as TreeViewTree, o as TreeViewNodeProvider, p as TreeViewItemIndicator, r as TreeViewRootProvider, s as TreeViewNodeContext, t as tree_view_exports, u as TreeViewNodeCheckbox, v as TreeViewBranchIndicator, w as useTreeViewContext, x as TreeViewBranchContent, y as TreeViewBranchIndentGuide } from "../../tree-view-
|
|
10
|
+
import { C as useTreeViewNodeContext, S as TreeViewBranch, _ as TreeViewBranchText, a as useTreeView, b as TreeViewBranchControl, c as TreeViewNodeRenameInput, d as TreeViewLabel, f as TreeViewItemText, g as TreeViewBranchTrigger, h as TreeViewContext, i as TreeViewRoot, l as TreeViewNodeCheckboxIndicator, m as TreeViewItem, n as TreeViewTree, o as TreeViewNodeProvider, p as TreeViewItemIndicator, r as TreeViewRootProvider, s as TreeViewNodeContext, t as tree_view_exports, u as TreeViewNodeCheckbox, v as TreeViewBranchIndicator, w as useTreeViewContext, x as TreeViewBranchContent, y as TreeViewBranchIndentGuide } from "../../tree-view-DqjhHVfK.js";
|
|
11
11
|
export { tree_view_exports as TreeView, TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewContext, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNodeCheckbox, TreeViewNodeCheckboxIndicator, TreeViewNodeContext, TreeViewNodeProvider, TreeViewNodeRenameInput, TreeViewRoot, TreeViewRootProvider, TreeViewTree, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../../core-DUR6M1Mz.jsx";
|
|
2
2
|
import "../../create-context-iBxaUhvx.jsx";
|
|
3
|
-
import "../../providers-
|
|
3
|
+
import "../../providers-C-cHBiyk.jsx";
|
|
4
4
|
import "../../factory-B95XvEzz.jsx";
|
|
5
5
|
import "../../create-split-props-B2Gc7D9P.jsx";
|
|
6
6
|
import "../../render-strategy-6LT04Ztx.jsx";
|
|
7
|
-
import "../../collapsible-
|
|
7
|
+
import "../../collapsible-DhguH1Yh.jsx";
|
|
8
8
|
import { a as createTreeCollection, i as createFileTreeCollection } from "../../collection-CotDTAMT.jsx";
|
|
9
|
-
import { C as TreeViewBranch, S as TreeViewBranchContent, T as useTreeViewContext, _ as TreeViewBranchTrigger, a as TreeViewRoot, b as TreeViewBranchIndentGuide, c as TreeViewNodeContext, d as TreeViewNodeCheckbox, f as TreeViewLabel, g as TreeViewContext, h as TreeViewItem, i as TreeViewRootProvider, l as TreeViewNodeRenameInput, m as TreeViewItemIndicator, n as treeViewAnatomy, o as useTreeView, p as TreeViewItemText, r as TreeViewTree, s as TreeViewNodeProvider, t as tree_view_exports, u as TreeViewNodeCheckboxIndicator, v as TreeViewBranchText, w as useTreeViewNodeContext, x as TreeViewBranchControl, y as TreeViewBranchIndicator } from "../../tree-view-
|
|
9
|
+
import { C as TreeViewBranch, S as TreeViewBranchContent, T as useTreeViewContext, _ as TreeViewBranchTrigger, a as TreeViewRoot, b as TreeViewBranchIndentGuide, c as TreeViewNodeContext, d as TreeViewNodeCheckbox, f as TreeViewLabel, g as TreeViewContext, h as TreeViewItem, i as TreeViewRootProvider, l as TreeViewNodeRenameInput, m as TreeViewItemIndicator, n as treeViewAnatomy, o as useTreeView, p as TreeViewItemText, r as TreeViewTree, s as TreeViewNodeProvider, t as tree_view_exports, u as TreeViewNodeCheckboxIndicator, v as TreeViewBranchText, w as useTreeViewNodeContext, x as TreeViewBranchControl, y as TreeViewBranchIndicator } from "../../tree-view-nwQzRTs2.jsx";
|
|
10
10
|
export { tree_view_exports as TreeView, TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewContext, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNodeCheckbox, TreeViewNodeCheckboxIndicator, TreeViewNodeContext, TreeViewNodeProvider, TreeViewNodeRenameInput, TreeViewRoot, TreeViewRootProvider, TreeViewTree, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _sprawlify_primitives_anatomy0 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/date-picker/date-picker-anatomy.d.ts
|
|
4
|
-
declare const datePickerAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"
|
|
4
|
+
declare const datePickerAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"label" | "input" | "root" | "valueText" | "content" | "table" | "control" | "trigger" | "positioner" | "nextTrigger" | "prevTrigger" | "view" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { datePickerAnatomy as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-pQxUBDkX.jsx";
|
|
2
2
|
import { r as mergeProps$1 } from "./core-DUR6M1Mz.jsx";
|
|
3
3
|
import { t as createContext$1 } from "./create-context-iBxaUhvx.jsx";
|
|
4
|
-
import {
|
|
4
|
+
import { s as useEnvironmentContext } from "./providers-C-cHBiyk.jsx";
|
|
5
5
|
import { t as sprawlify } from "./factory-B95XvEzz.jsx";
|
|
6
6
|
import { t as createSplitProps } from "./create-split-props-B2Gc7D9P.jsx";
|
|
7
7
|
import { t as composeRefs } from "./compose-refs-Jq47jedK.jsx";
|
|
8
|
-
import { u as useFieldsetContext } from "./fieldset-
|
|
8
|
+
import { u as useFieldsetContext } from "./fieldset-Lbk9tsVV.jsx";
|
|
9
9
|
import { Show, createMemo, createSignal, createUniqueId, mergeProps, onCleanup, onMount, splitProps } from "solid-js";
|
|
10
10
|
import { ariaAttr, dataAttr } from "@sprawlify/primitives/dom-query";
|
|
11
11
|
import { createAnatomy } from "@sprawlify/primitives/anatomy";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-pbuEa-1d.js";
|
|
2
2
|
import { r as mergeProps$2 } from "./core-BHfpfUk-.js";
|
|
3
3
|
import { t as createContext$1 } from "./create-context-BEnzb67H.js";
|
|
4
|
-
import {
|
|
4
|
+
import { s as useEnvironmentContext } from "./providers-vv33Jo9Q.js";
|
|
5
5
|
import { t as sprawlify } from "./factory-DORgzART.js";
|
|
6
6
|
import { n as parts } from "./field-anatomy-BloFzq7T.js";
|
|
7
7
|
import { t as createSplitProps } from "./create-split-props-OE-yOtGc.js";
|
|
8
8
|
import { t as composeRefs } from "./compose-refs-BKcaHXR8.js";
|
|
9
|
-
import { l as useFieldsetContext } from "./fieldset-
|
|
9
|
+
import { l as useFieldsetContext } from "./fieldset-DQUqxXN2.js";
|
|
10
10
|
import { Show, createMemo, createSignal, createUniqueId, mergeProps, onCleanup, onMount, splitProps } from "solid-js";
|
|
11
11
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
12
12
|
import { ariaAttr, dataAttr } from "@sprawlify/primitives/dom-query";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _sprawlify_primitives_anatomy0 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/field/field-anatomy.d.ts
|
|
4
|
-
declare const fieldAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"
|
|
4
|
+
declare const fieldAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"label" | "input" | "textarea" | "select" | "root" | "errorText" | "helperText" | "requiredIndicator">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { fieldAnatomy as t };
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./chunk-pbuEa-1d.js";
|
|
|
2
2
|
import { r as mergeProps$2 } from "./core-BHfpfUk-.js";
|
|
3
3
|
import { t as runIfFn } from "./run-if-fn-BV7F-Eeb.js";
|
|
4
4
|
import { t as createContext$1 } from "./create-context-BEnzb67H.js";
|
|
5
|
-
import {
|
|
5
|
+
import { s as useEnvironmentContext } from "./providers-vv33Jo9Q.js";
|
|
6
6
|
import { t as sprawlify } from "./factory-DORgzART.js";
|
|
7
7
|
import { n as parts } from "./fieldset-anatomy-DBAg0hLg.js";
|
|
8
8
|
import { t as createSplitProps } from "./create-split-props-OE-yOtGc.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./chunk-pQxUBDkX.jsx";
|
|
|
2
2
|
import { r as mergeProps$1 } from "./core-DUR6M1Mz.jsx";
|
|
3
3
|
import { t as runIfFn } from "./run-if-fn-qkd0iQPO.jsx";
|
|
4
4
|
import { t as createContext$1 } from "./create-context-iBxaUhvx.jsx";
|
|
5
|
-
import {
|
|
5
|
+
import { s as useEnvironmentContext } from "./providers-C-cHBiyk.jsx";
|
|
6
6
|
import { t as sprawlify } from "./factory-B95XvEzz.jsx";
|
|
7
7
|
import { t as createSplitProps } from "./create-split-props-B2Gc7D9P.jsx";
|
|
8
8
|
import { t as composeRefs } from "./compose-refs-Jq47jedK.jsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _sprawlify_primitives_anatomy0 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/fieldset/fieldset-anatomy.d.ts
|
|
4
|
-
declare const fieldsetAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"root" | "
|
|
4
|
+
declare const fieldsetAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"root" | "legend" | "errorText" | "helperText">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { fieldsetAnatomy as t };
|
|
@@ -19,7 +19,7 @@ interface UseAsyncListReturn<T, C = string> extends Accessor<asyncList.Api<T, C>
|
|
|
19
19
|
declare const useAsyncList: <T, C = string>(props?: MaybeAccessor<UseAsyncListProps<T, C>>) => UseAsyncListReturn<T, C>;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/collection/use-list-collection.d.ts
|
|
22
|
-
interface UseListCollectionProps<T> extends Omit<CollectionOptions<T>,
|
|
22
|
+
interface UseListCollectionProps<T> extends Omit<CollectionOptions<T>, "items"> {
|
|
23
23
|
initialItems: T[] | readonly T[];
|
|
24
24
|
filter?: (itemText: string, filterText: string, item: T) => boolean;
|
|
25
25
|
limit?: number;
|
|
@@ -40,7 +40,7 @@ interface UseListCollectionReturn<T> {
|
|
|
40
40
|
moveAfter: (value: string, ...values: string[]) => void;
|
|
41
41
|
reorder: (from: number, to: number) => void;
|
|
42
42
|
append: (...items: T[]) => void;
|
|
43
|
-
upsert: (value: string, item: T, mode?:
|
|
43
|
+
upsert: (value: string, item: T, mode?: "append" | "prepend") => void;
|
|
44
44
|
prepend: (...items: T[]) => void;
|
|
45
45
|
update: (value: string, item: T) => void;
|
|
46
46
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { n as MaybeAccessor } from "./types-C0L5xDeS.js";
|
|
2
|
+
import * as solid_js0 from "solid-js";
|
|
3
|
+
import { Accessor, Context, JSX, ParentProps } from "solid-js";
|
|
4
|
+
import { FilterOptions, FilterReturn, Locale } from "@sprawlify/primitives/i18n-utils";
|
|
5
|
+
|
|
6
|
+
//#region src/providers/environment/use-environment-context.d.ts
|
|
7
|
+
type RootNode = ShadowRoot | Document | Node;
|
|
8
|
+
interface UseEnvironmentContext {
|
|
9
|
+
getRootNode(): RootNode;
|
|
10
|
+
getDocument(): Document;
|
|
11
|
+
getWindow(): Window & typeof globalThis;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/providers/environment/environment-provider.d.ts
|
|
15
|
+
interface EnvironmentProviderProps {
|
|
16
|
+
children?: JSX.Element;
|
|
17
|
+
value?: RootNode | (() => RootNode);
|
|
18
|
+
}
|
|
19
|
+
declare const EnvironmentProvider: (props: EnvironmentProviderProps) => JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/providers/locale/locale-provider.d.ts
|
|
22
|
+
interface LocaleProviderProps extends ParentProps {
|
|
23
|
+
locale: string;
|
|
24
|
+
}
|
|
25
|
+
declare const LocaleProvider: (props: LocaleProviderProps) => solid_js0.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/providers/locale/use-collator.d.ts
|
|
28
|
+
interface UseCollatorProps extends Intl.CollatorOptions {
|
|
29
|
+
locale?: string;
|
|
30
|
+
}
|
|
31
|
+
interface UseCollatorReturn extends Accessor<Intl.Collator> {}
|
|
32
|
+
declare function useCollator(props?: UseCollatorProps): UseCollatorReturn;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region ../../node_modules/.pnpm/@internationalized+date@3.12.0/node_modules/@internationalized/date/dist/types.d.ts
|
|
35
|
+
interface DateRangeFormatPart extends Intl.DateTimeFormatPart {
|
|
36
|
+
source: 'startRange' | 'endRange' | 'shared';
|
|
37
|
+
}
|
|
38
|
+
/** A wrapper around Intl.DateTimeFormat that fixes various browser bugs, and polyfills new features. */
|
|
39
|
+
declare class DateFormatter implements Intl.DateTimeFormat {
|
|
40
|
+
constructor(locale: string, options?: Intl.DateTimeFormatOptions);
|
|
41
|
+
/** Formats a date as a string according to the locale and format options passed to the constructor. */
|
|
42
|
+
format(value: Date): string;
|
|
43
|
+
/** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */
|
|
44
|
+
formatToParts(value: Date): Intl.DateTimeFormatPart[];
|
|
45
|
+
/** Formats a date range as a string. */
|
|
46
|
+
formatRange(start: Date, end: Date): string;
|
|
47
|
+
/** Formats a date range as an array of parts. */
|
|
48
|
+
formatRangeToParts(start: Date, end: Date): DateRangeFormatPart[];
|
|
49
|
+
/** Returns the resolved formatting options based on the values passed to the constructor. */
|
|
50
|
+
resolvedOptions(): Intl.ResolvedDateTimeFormatOptions;
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/providers/locale/use-date-formatter.d.ts
|
|
54
|
+
interface UseDateFormatterProps extends Intl.DateTimeFormatOptions {
|
|
55
|
+
locale?: string;
|
|
56
|
+
}
|
|
57
|
+
interface UseDateFormatterReturn extends Accessor<DateFormatter> {}
|
|
58
|
+
declare function useDateFormatter(props?: MaybeAccessor<UseDateFormatterProps>): UseDateFormatterReturn;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/providers/locale/use-filter.d.ts
|
|
61
|
+
interface UseFilterProps extends FilterOptions {}
|
|
62
|
+
declare function useFilter(props: UseFilterProps): UseFilterReturn;
|
|
63
|
+
interface UseFilterReturn extends Accessor<FilterReturn> {}
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/providers/locale/use-locale-context.d.ts
|
|
66
|
+
interface UseLocaleContext extends Accessor<Locale> {}
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/utils/create-context.d.ts
|
|
69
|
+
interface CreateContextOptions<T> {
|
|
70
|
+
strict?: boolean;
|
|
71
|
+
hookName?: string;
|
|
72
|
+
providerName?: string;
|
|
73
|
+
errorMessage?: string;
|
|
74
|
+
defaultValue?: T;
|
|
75
|
+
}
|
|
76
|
+
type CreateContextReturn<T> = [Context<T>["Provider"], () => T, Context<T>];
|
|
77
|
+
declare function createContext$1<T>(options?: CreateContextOptions<T>): CreateContextReturn<T>;
|
|
78
|
+
//#endregion
|
|
79
|
+
export { UseEnvironmentContext as _, UseFilterReturn as a, UseDateFormatterReturn as c, useCollator as d, LocaleProvider as f, RootNode as g, EnvironmentProviderProps as h, UseFilterProps as i, useDateFormatter as l, EnvironmentProvider as m, UseLocaleContext as n, useFilter as o, LocaleProviderProps as p, useLocaleContext as r, UseDateFormatterProps as s, createContext$1 as t, UseCollatorProps as u, useEnvironmentContext as v };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { n as MaybeAccessor } from "./types-BiaKY56E.js";
|
|
2
|
+
import * as solid_js0 from "solid-js";
|
|
3
|
+
import { Accessor, Context, JSX, ParentProps } from "solid-js";
|
|
4
|
+
import { FilterOptions, FilterReturn, Locale } from "@sprawlify/primitives/i18n-utils";
|
|
5
|
+
|
|
6
|
+
//#region src/providers/environment/use-environment-context.d.ts
|
|
7
|
+
type RootNode = ShadowRoot | Document | Node;
|
|
8
|
+
interface UseEnvironmentContext {
|
|
9
|
+
getRootNode(): RootNode;
|
|
10
|
+
getDocument(): Document;
|
|
11
|
+
getWindow(): Window & typeof globalThis;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/providers/environment/environment-provider.d.ts
|
|
15
|
+
interface EnvironmentProviderProps {
|
|
16
|
+
children?: JSX.Element;
|
|
17
|
+
value?: RootNode | (() => RootNode);
|
|
18
|
+
}
|
|
19
|
+
declare const EnvironmentProvider: (props: EnvironmentProviderProps) => JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/providers/locale/locale-provider.d.ts
|
|
22
|
+
interface LocaleProviderProps extends ParentProps {
|
|
23
|
+
locale: string;
|
|
24
|
+
}
|
|
25
|
+
declare const LocaleProvider: (props: LocaleProviderProps) => solid_js0.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/providers/locale/use-collator.d.ts
|
|
28
|
+
interface UseCollatorProps extends Intl.CollatorOptions {
|
|
29
|
+
locale?: string;
|
|
30
|
+
}
|
|
31
|
+
interface UseCollatorReturn extends Accessor<Intl.Collator> {}
|
|
32
|
+
declare function useCollator(props?: UseCollatorProps): UseCollatorReturn;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region ../../node_modules/.pnpm/@internationalized+date@3.12.0/node_modules/@internationalized/date/dist/types.d.ts
|
|
35
|
+
interface DateRangeFormatPart extends Intl.DateTimeFormatPart {
|
|
36
|
+
source: 'startRange' | 'endRange' | 'shared';
|
|
37
|
+
}
|
|
38
|
+
/** A wrapper around Intl.DateTimeFormat that fixes various browser bugs, and polyfills new features. */
|
|
39
|
+
declare class DateFormatter implements Intl.DateTimeFormat {
|
|
40
|
+
constructor(locale: string, options?: Intl.DateTimeFormatOptions);
|
|
41
|
+
/** Formats a date as a string according to the locale and format options passed to the constructor. */
|
|
42
|
+
format(value: Date): string;
|
|
43
|
+
/** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */
|
|
44
|
+
formatToParts(value: Date): Intl.DateTimeFormatPart[];
|
|
45
|
+
/** Formats a date range as a string. */
|
|
46
|
+
formatRange(start: Date, end: Date): string;
|
|
47
|
+
/** Formats a date range as an array of parts. */
|
|
48
|
+
formatRangeToParts(start: Date, end: Date): DateRangeFormatPart[];
|
|
49
|
+
/** Returns the resolved formatting options based on the values passed to the constructor. */
|
|
50
|
+
resolvedOptions(): Intl.ResolvedDateTimeFormatOptions;
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/providers/locale/use-date-formatter.d.ts
|
|
54
|
+
interface UseDateFormatterProps extends Intl.DateTimeFormatOptions {
|
|
55
|
+
locale?: string;
|
|
56
|
+
}
|
|
57
|
+
interface UseDateFormatterReturn extends Accessor<DateFormatter> {}
|
|
58
|
+
declare function useDateFormatter(props?: MaybeAccessor<UseDateFormatterProps>): UseDateFormatterReturn;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/providers/locale/use-filter.d.ts
|
|
61
|
+
interface UseFilterProps extends FilterOptions {}
|
|
62
|
+
declare function useFilter(props: UseFilterProps): UseFilterReturn;
|
|
63
|
+
interface UseFilterReturn extends Accessor<FilterReturn> {}
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/providers/locale/use-locale-context.d.ts
|
|
66
|
+
interface UseLocaleContext extends Accessor<Locale> {}
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/utils/create-context.d.ts
|
|
69
|
+
interface CreateContextOptions<T> {
|
|
70
|
+
strict?: boolean;
|
|
71
|
+
hookName?: string;
|
|
72
|
+
providerName?: string;
|
|
73
|
+
errorMessage?: string;
|
|
74
|
+
defaultValue?: T;
|
|
75
|
+
}
|
|
76
|
+
type CreateContextReturn<T> = [Context<T>["Provider"], () => T, Context<T>];
|
|
77
|
+
declare function createContext$1<T>(options?: CreateContextOptions<T>): CreateContextReturn<T>;
|
|
78
|
+
//#endregion
|
|
79
|
+
export { UseEnvironmentContext as _, UseFilterReturn as a, UseDateFormatterReturn as c, useCollator as d, LocaleProvider as f, RootNode as g, EnvironmentProviderProps as h, UseFilterProps as i, useDateFormatter as l, EnvironmentProvider as m, UseLocaleContext as n, useFilter as o, LocaleProviderProps as p, useLocaleContext as r, UseDateFormatterProps as s, createContext$1 as t, UseCollatorProps as u, useEnvironmentContext as v };
|