@sprawlify/solid 0.0.35 → 0.0.37
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/carousel-anatomy-CFvMU8wU.d.ts +6 -0
- package/dist/checkbox-anatomy-D0A0Q8Em.d.ts +6 -0
- package/dist/{color-picker-anatomy-C7J-82E7.d.ts → color-picker-anatomy-BwEYa7C7.d.ts} +2 -2
- package/dist/{combobox-anatomy-DznRHpPG.d.ts → combobox-anatomy-DdefJNib.d.ts} +1 -1
- package/dist/components/accordion/index.d.ts +7 -7
- package/dist/components/anatomy.d.ts +10 -10
- package/dist/components/angle-slider/index.d.ts +10 -10
- package/dist/components/avatar/index.d.ts +5 -5
- package/dist/components/bottom-sheet/index.d.ts +9 -9
- package/dist/components/carousel/index.d.ts +13 -13
- package/dist/components/checkbox/index.d.ts +10 -10
- package/dist/components/checkbox/index.js +2 -2
- package/dist/components/clipboard/index.d.ts +8 -8
- package/dist/components/collapsible/index.d.ts +6 -6
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +31 -31
- package/dist/components/color-picker/index.js +2 -2
- package/dist/components/combobox/index.d.ts +17 -17
- package/dist/components/combobox/index.js +3 -3
- package/dist/components/date-picker/index.d.ts +28 -28
- package/dist/components/dialog/index.d.ts +9 -9
- package/dist/components/editable/index.d.ts +11 -11
- package/dist/components/editable/index.js +2 -2
- package/dist/components/field/index.d.ts +12 -12
- package/dist/components/field/index.js +2 -2
- package/dist/components/fieldset/index.d.ts +9 -9
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/file-upload/index.d.ts +15 -15
- package/dist/components/file-upload/index.js +2 -2
- package/dist/components/floating-panel/index.d.ts +13 -13
- package/dist/components/focus-trap/index.d.ts +2 -2
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/highlight/index.d.ts +2 -2
- package/dist/components/hover-card/index.d.ts +7 -7
- package/dist/components/image-cropper/index.d.ts +13 -12
- package/dist/components/json-tree-view/index.d.ts +6 -6
- package/dist/components/json-tree-view/index.js +1 -1
- package/dist/components/listbox/index.d.ts +17 -20
- package/dist/components/listbox/index.js +1 -1
- package/dist/components/marquee/index.d.ts +11 -10
- package/dist/components/menu/index.d.ts +27 -26
- package/dist/components/navigation-menu/index.d.ts +19 -18
- package/dist/components/number-input/index.d.ts +15 -14
- package/dist/components/number-input/index.js +2 -2
- package/dist/components/pagination/index.d.ts +14 -13
- package/dist/components/password-input/index.d.ts +11 -10
- package/dist/components/password-input/index.js +2 -2
- package/dist/components/pin-input/index.d.ts +12 -11
- package/dist/components/pin-input/index.js +2 -2
- package/dist/components/popover/index.d.ts +18 -17
- package/dist/components/presence/index.d.ts +4 -4
- package/dist/components/progress/index.d.ts +16 -15
- package/dist/components/qr-code/index.d.ts +12 -11
- package/dist/components/radio-group/index.d.ts +14 -13
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/rating-group/index.d.ts +12 -11
- package/dist/components/rating-group/index.js +2 -2
- package/dist/components/scroll-area/index.d.ts +13 -12
- package/dist/components/segment-group/index.d.ts +13 -16
- package/dist/components/select/index.d.ts +24 -23
- package/dist/components/select/index.js +3 -3
- package/dist/components/signature-pad/index.d.ts +14 -13
- package/dist/components/signature-pad/index.js +2 -2
- package/dist/components/slider/index.d.ts +18 -17
- package/dist/components/splitter/index.d.ts +11 -10
- package/dist/components/steps/index.d.ts +18 -17
- package/dist/components/switch/index.d.ts +15 -14
- package/dist/components/switch/index.js +5 -5
- package/dist/components/switch/index.jsx +3 -3
- package/dist/components/tabs/index.d.ts +13 -12
- package/dist/components/tags-input/index.d.ts +18 -17
- package/dist/components/tags-input/index.js +2 -2
- package/dist/components/timer/index.d.ts +13 -12
- package/dist/components/toast/index.d.ts +11 -10
- package/dist/components/toggle/index.d.ts +6 -9
- package/dist/components/toggle-group/index.d.ts +9 -8
- package/dist/components/tooltip/index.d.ts +13 -12
- package/dist/components/tour/index.d.ts +19 -22
- package/dist/components/tree-view/index.d.ts +7 -6
- package/dist/components/tree-view/index.js +1 -1
- package/dist/date-picker-anatomy-D4kttkRn.d.ts +6 -0
- package/dist/{field-Knc-VFN9.js → field-C5B28nbw.js} +1 -1
- package/dist/field-anatomy-DWaFL0gw.d.ts +6 -0
- package/dist/fieldset-anatomy-C4iloA6j.d.ts +6 -0
- package/dist/{index-BOZss5pL.d.ts → index-B8ob3fAv.d.ts} +15 -15
- package/dist/{index-DBqCz5Ux.d.ts → index-Ba31Z-s1.d.ts} +5 -5
- package/dist/{index-C8KAmXEV.d.ts → index-BjhUkKb8.d.ts} +2 -2
- package/dist/{index-MKb4X-f0.d.ts → index-BoXdyANW.d.ts} +4 -4
- package/dist/{index-Oe9EFAZ4.d.ts → index-Cj1s6Bmu.d.ts} +15 -15
- package/dist/index.d.ts +5 -5
- package/dist/listbox-anatomy-D87dQaF0.d.ts +6 -0
- package/dist/segment-group-anatomy-CAgjLAqw.d.ts +6 -0
- package/dist/tour-anatomy-DSiANXKx.d.ts +6 -0
- package/dist/utils/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/carousel-anatomy-DoXL9Hbj.d.ts +0 -6
- package/dist/checkbox-anatomy-BSuotYN-.d.ts +0 -6
- package/dist/date-picker-anatomy-Bl5uPKKb.d.ts +0 -6
- package/dist/field-anatomy-BhfYu7Wv.d.ts +0 -6
- package/dist/fieldset-anatomy-49bHh52H.d.ts +0 -6
- package/dist/listbox-anatomy-BTWMRdbU.d.ts +0 -6
- package/dist/segment-group-anatomy-Cgq_0MAv.d.ts +0 -6
- package/dist/tour-anatomy-ENdSpoA2.d.ts +0 -6
- /package/dist/{collection-CXUz2Irj.js → collection-B4akimO8.js} +0 -0
- /package/dist/{fieldset-DqeVKIGe.js → fieldset-BNycnDRc.js} +0 -0
|
@@ -3,8 +3,8 @@ import { i as Optional, n as MaybeAccessor } from "../../types-hAYSiblS.js";
|
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-C_07ebOh.js";
|
|
4
4
|
import "../../render-strategy-Bq-mT0Pp.js";
|
|
5
5
|
import { t as dialogAnatomy } from "../../dialog-anatomy-OoraCpsD.js";
|
|
6
|
-
import { s as UsePresenceProps } from "../../index-
|
|
7
|
-
import * as
|
|
6
|
+
import { s as UsePresenceProps } from "../../index-Ba31Z-s1.js";
|
|
7
|
+
import * as solid_js232 from "solid-js";
|
|
8
8
|
import { Accessor, JSX } from "solid-js";
|
|
9
9
|
import * as dialog from "@sprawlify/primitives/machines/dialog";
|
|
10
10
|
import { FocusOutsideEvent, FocusOutsideEvent as DialogFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as DialogInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as DialogOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as DialogPointerDownOutsideEvent } from "@sprawlify/primitives/machines/dialog";
|
|
@@ -12,17 +12,17 @@ import { FocusOutsideEvent, FocusOutsideEvent as DialogFocusOutsideEvent, Intera
|
|
|
12
12
|
//#region src/components/dialog/dialog-backdrop.d.ts
|
|
13
13
|
interface DialogBackdropBaseProps extends PolymorphicProps<'div'> {}
|
|
14
14
|
interface DialogBackdropProps extends HTMLProps<'div'>, DialogBackdropBaseProps {}
|
|
15
|
-
declare const DialogBackdrop: (props: DialogBackdropProps) =>
|
|
15
|
+
declare const DialogBackdrop: (props: DialogBackdropProps) => solid_js232.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/components/dialog/dialog-close-trigger.d.ts
|
|
18
18
|
interface DialogCloseTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
19
19
|
interface DialogCloseTriggerProps extends HTMLProps<'button'>, DialogCloseTriggerBaseProps {}
|
|
20
|
-
declare const DialogCloseTrigger: (props: DialogCloseTriggerProps) =>
|
|
20
|
+
declare const DialogCloseTrigger: (props: DialogCloseTriggerProps) => solid_js232.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/dialog/dialog-content.d.ts
|
|
23
23
|
interface DialogContentBaseProps extends PolymorphicProps<'div'> {}
|
|
24
24
|
interface DialogContentProps extends HTMLProps<'div'>, DialogContentBaseProps {}
|
|
25
|
-
declare const DialogContent: (props: DialogContentProps) =>
|
|
25
|
+
declare const DialogContent: (props: DialogContentProps) => solid_js232.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/components/dialog/use-dialog.d.ts
|
|
28
28
|
interface UseDialogProps extends Optional<Omit<dialog.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -41,12 +41,12 @@ declare const DialogContext: (props: DialogContextProps) => JSX.Element;
|
|
|
41
41
|
//#region src/components/dialog/dialog-description.d.ts
|
|
42
42
|
interface DialogDescriptionBaseProps extends PolymorphicProps<'div'> {}
|
|
43
43
|
interface DialogDescriptionProps extends HTMLProps<'div'>, DialogDescriptionBaseProps {}
|
|
44
|
-
declare const DialogDescription: (props: DialogDescriptionProps) =>
|
|
44
|
+
declare const DialogDescription: (props: DialogDescriptionProps) => solid_js232.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/components/dialog/dialog-positioner.d.ts
|
|
47
47
|
interface DialogPositionerBaseProps extends PolymorphicProps<'div'> {}
|
|
48
48
|
interface DialogPositionerProps extends HTMLProps<'div'>, DialogPositionerBaseProps {}
|
|
49
|
-
declare const DialogPositioner: (props: DialogPositionerProps) =>
|
|
49
|
+
declare const DialogPositioner: (props: DialogPositionerProps) => solid_js232.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/components/dialog/dialog-root.d.ts
|
|
52
52
|
interface DialogRootBaseProps extends UseDialogProps, UsePresenceProps {}
|
|
@@ -68,12 +68,12 @@ declare const DialogRootProvider: (props: DialogRootProviderProps) => JSX.Elemen
|
|
|
68
68
|
//#region src/components/dialog/dialog-title.d.ts
|
|
69
69
|
interface DialogTitleBaseProps extends PolymorphicProps<'h2'> {}
|
|
70
70
|
interface DialogTitleProps extends HTMLProps<'h2'>, DialogTitleBaseProps {}
|
|
71
|
-
declare const DialogTitle: (props: DialogTitleProps) =>
|
|
71
|
+
declare const DialogTitle: (props: DialogTitleProps) => solid_js232.JSX.Element;
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/components/dialog/dialog-trigger.d.ts
|
|
74
74
|
interface DialogTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
75
75
|
interface DialogTriggerProps extends HTMLProps<'button'>, DialogTriggerBaseProps {}
|
|
76
|
-
declare const DialogTrigger: (props: DialogTriggerProps) =>
|
|
76
|
+
declare const DialogTrigger: (props: DialogTriggerProps) => solid_js232.JSX.Element;
|
|
77
77
|
declare namespace dialog_d_exports {
|
|
78
78
|
export { DialogBackdrop as Backdrop, DialogBackdropBaseProps as BackdropBaseProps, DialogBackdropProps as BackdropProps, DialogCloseTrigger as CloseTrigger, DialogCloseTriggerBaseProps as CloseTriggerBaseProps, DialogCloseTriggerProps as CloseTriggerProps, DialogContent as Content, DialogContentBaseProps as ContentBaseProps, DialogContentProps as ContentProps, DialogContext as Context, DialogContextProps as ContextProps, DialogDescription as Description, DialogDescriptionBaseProps as DescriptionBaseProps, DialogDescriptionProps as DescriptionProps, FocusOutsideEvent, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, DialogPositioner as Positioner, DialogPositionerBaseProps as PositionerBaseProps, DialogPositionerProps as PositionerProps, DialogRoot as Root, DialogRootBaseProps as RootBaseProps, DialogRootProps as RootProps, DialogRootProvider as RootProvider, DialogRootProviderBaseProps as RootProviderBaseProps, DialogRootProviderProps as RootProviderProps, DialogTitle as Title, DialogTitleBaseProps as TitleBaseProps, DialogTitleProps as TitleProps, DialogTrigger as Trigger, DialogTriggerBaseProps as TriggerBaseProps, DialogTriggerProps as TriggerProps };
|
|
79
79
|
}
|
|
@@ -2,7 +2,7 @@ import { n as PropTypes } from "../../index-CBw7-_78.js";
|
|
|
2
2
|
import { i as Optional, n as MaybeAccessor } from "../../types-hAYSiblS.js";
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-C_07ebOh.js";
|
|
4
4
|
import { t as editableAnatomy } from "../../editable-anatomy-DA0KOCft.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as solid_js243 from "solid-js";
|
|
6
6
|
import { Accessor, JSX } from "solid-js";
|
|
7
7
|
import * as editable from "@sprawlify/primitives/machines/editable";
|
|
8
8
|
import { EditChangeDetails as EditableEditChangeDetails, FocusOutsideEvent, FocusOutsideEvent as EditableFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as EditableInteractOutsideEvent, PointerDownOutsideEvent, PointerDownOutsideEvent as EditablePointerDownOutsideEvent, ValueChangeDetails, ValueChangeDetails as EditableValueChangeDetails } from "@sprawlify/primitives/machines/editable";
|
|
@@ -10,12 +10,12 @@ import { EditChangeDetails as EditableEditChangeDetails, FocusOutsideEvent, Focu
|
|
|
10
10
|
//#region src/components/editable/editable-area.d.ts
|
|
11
11
|
interface EditableAreaBaseProps extends PolymorphicProps<'div'> {}
|
|
12
12
|
interface EditableAreaProps extends HTMLProps<'div'>, EditableAreaBaseProps {}
|
|
13
|
-
declare const EditableArea: (props: EditableAreaProps) =>
|
|
13
|
+
declare const EditableArea: (props: EditableAreaProps) => solid_js243.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/editable/editable-cancel-trigger.d.ts
|
|
16
16
|
interface EditableCancelTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
17
17
|
interface EditableCancelTriggerProps extends HTMLProps<'button'>, EditableCancelTriggerBaseProps {}
|
|
18
|
-
declare const EditableCancelTrigger: (props: EditableCancelTriggerProps) =>
|
|
18
|
+
declare const EditableCancelTrigger: (props: EditableCancelTriggerProps) => solid_js243.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/components/editable/use-editable.d.ts
|
|
21
21
|
interface UseEditableProps extends Optional<Omit<editable.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -34,32 +34,32 @@ declare const EditableContext: (props: EditableContextProps) => JSX.Element;
|
|
|
34
34
|
//#region src/components/editable/editable-control.d.ts
|
|
35
35
|
interface EditableControlBaseProps extends PolymorphicProps<'div'> {}
|
|
36
36
|
interface EditableControlProps extends HTMLProps<'div'>, EditableControlBaseProps {}
|
|
37
|
-
declare const EditableControl: (props: EditableControlProps) =>
|
|
37
|
+
declare const EditableControl: (props: EditableControlProps) => solid_js243.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/components/editable/editable-edit-trigger.d.ts
|
|
40
40
|
interface EditableEditTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
41
41
|
interface EditableEditTriggerProps extends HTMLProps<'button'>, EditableEditTriggerBaseProps {}
|
|
42
|
-
declare const EditableEditTrigger: (props: EditableEditTriggerProps) =>
|
|
42
|
+
declare const EditableEditTrigger: (props: EditableEditTriggerProps) => solid_js243.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/editable/editable-input.d.ts
|
|
45
45
|
interface EditableInputBaseProps extends PolymorphicProps<'input'> {}
|
|
46
46
|
interface EditableInputProps extends HTMLProps<'input'>, EditableInputBaseProps {}
|
|
47
|
-
declare const EditableInput: (props: EditableInputProps) =>
|
|
47
|
+
declare const EditableInput: (props: EditableInputProps) => solid_js243.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/editable/editable-label.d.ts
|
|
50
50
|
interface EditableLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
51
51
|
interface EditableLabelProps extends HTMLProps<'label'>, EditableLabelBaseProps {}
|
|
52
|
-
declare const EditableLabel: (props: EditableLabelProps) =>
|
|
52
|
+
declare const EditableLabel: (props: EditableLabelProps) => solid_js243.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/components/editable/editable-preview.d.ts
|
|
55
55
|
interface EditablePreviewBaseProps extends PolymorphicProps<'span'> {}
|
|
56
56
|
interface EditablePreviewProps extends HTMLProps<'span'>, EditablePreviewBaseProps {}
|
|
57
|
-
declare const EditablePreview: (props: EditablePreviewProps) =>
|
|
57
|
+
declare const EditablePreview: (props: EditablePreviewProps) => solid_js243.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/components/editable/editable-root.d.ts
|
|
60
60
|
interface EditableRootBaseProps extends UseEditableProps, PolymorphicProps<'div'> {}
|
|
61
61
|
interface EditableRootProps extends HTMLProps<'div'>, EditableRootBaseProps {}
|
|
62
|
-
declare const EditableRoot: (props: EditableRootProps) =>
|
|
62
|
+
declare const EditableRoot: (props: EditableRootProps) => solid_js243.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region src/components/editable/editable-root-provider.d.ts
|
|
65
65
|
interface RootProviderProps {
|
|
@@ -67,12 +67,12 @@ interface RootProviderProps {
|
|
|
67
67
|
}
|
|
68
68
|
interface EditableRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
69
69
|
interface EditableRootProviderProps extends HTMLProps<'div'>, RootProviderProps, EditableRootProviderBaseProps {}
|
|
70
|
-
declare const EditableRootProvider: (props: EditableRootProviderProps) =>
|
|
70
|
+
declare const EditableRootProvider: (props: EditableRootProviderProps) => solid_js243.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/components/editable/editable-submit-trigger.d.ts
|
|
73
73
|
interface EditableSubmitTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
74
74
|
interface EditableSubmitTriggerProps extends HTMLProps<'button'>, EditableSubmitTriggerBaseProps {}
|
|
75
|
-
declare const EditableSubmitTrigger: (props: EditableSubmitTriggerProps) =>
|
|
75
|
+
declare const EditableSubmitTrigger: (props: EditableSubmitTriggerProps) => solid_js243.JSX.Element;
|
|
76
76
|
declare namespace editable_d_exports {
|
|
77
77
|
export { EditableArea as Area, EditableAreaBaseProps as AreaBaseProps, EditableAreaProps as AreaProps, EditableCancelTrigger as CancelTrigger, EditableCancelTriggerBaseProps as CancelTriggerBaseProps, EditableCancelTriggerProps as CancelTriggerProps, EditableContext as Context, EditableContextProps as ContextProps, EditableControl as Control, EditableControlBaseProps as ControlBaseProps, EditableControlProps as ControlProps, EditableEditTrigger as EditTrigger, EditableEditTriggerBaseProps as EditTriggerBaseProps, EditableEditTriggerProps as EditTriggerProps, FocusOutsideEvent, EditableInput as Input, EditableInputBaseProps as InputBaseProps, EditableInputProps as InputProps, InteractOutsideEvent, EditableLabel as Label, EditableLabelBaseProps as LabelBaseProps, EditableLabelProps as LabelProps, PointerDownOutsideEvent, EditablePreview as Preview, EditablePreviewBaseProps as PreviewBaseProps, EditablePreviewProps as PreviewProps, EditableRoot as Root, EditableRootBaseProps as RootBaseProps, EditableRootProps as RootProps, EditableRootProvider as RootProvider, EditableRootProviderBaseProps as RootProviderBaseProps, EditableRootProviderProps as RootProviderProps, EditableSubmitTrigger as SubmitTrigger, EditableSubmitTriggerBaseProps as SubmitTriggerBaseProps, EditableSubmitTriggerProps as SubmitTriggerProps, ValueChangeDetails };
|
|
78
78
|
}
|
|
@@ -9,8 +9,8 @@ import "../../field-anatomy-DFbz1xZk.js";
|
|
|
9
9
|
import "../../fieldset-anatomy-C7x_SqPE.js";
|
|
10
10
|
import { t as createSplitProps } from "../../create-split-props-CDXn3gBu.js";
|
|
11
11
|
import "../../compose-refs-Daqyu-o7.js";
|
|
12
|
-
import "../../fieldset-
|
|
13
|
-
import { p as useFieldContext } from "../../field-
|
|
12
|
+
import "../../fieldset-BNycnDRc.js";
|
|
13
|
+
import { p as useFieldContext } from "../../field-C5B28nbw.js";
|
|
14
14
|
import { createMemo, createUniqueId } from "solid-js";
|
|
15
15
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
16
16
|
import * as editable from "@sprawlify/primitives/machines/editable";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as MaybeAccessor } from "../../types-hAYSiblS.js";
|
|
2
2
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-C_07ebOh.js";
|
|
3
|
-
import { t as fieldAnatomy } from "../../field-anatomy-
|
|
4
|
-
import * as
|
|
3
|
+
import { t as fieldAnatomy } from "../../field-anatomy-DWaFL0gw.js";
|
|
4
|
+
import * as solid_js137 from "solid-js";
|
|
5
5
|
import { JSX } from "solid-js";
|
|
6
6
|
|
|
7
7
|
//#region src/components/field/use-field.d.ts
|
|
@@ -39,7 +39,7 @@ interface UseFieldProps {
|
|
|
39
39
|
readOnly?: boolean;
|
|
40
40
|
}
|
|
41
41
|
type UseFieldReturn = ReturnType<typeof useField>;
|
|
42
|
-
declare const useField: (props?: MaybeAccessor<UseFieldProps>) =>
|
|
42
|
+
declare const useField: (props?: MaybeAccessor<UseFieldProps>) => solid_js137.Accessor<{
|
|
43
43
|
ariaDescribedby: string;
|
|
44
44
|
ids: {
|
|
45
45
|
control: string;
|
|
@@ -48,7 +48,7 @@ declare const useField: (props?: MaybeAccessor<UseFieldProps>) => solid_js442.Ac
|
|
|
48
48
|
helperText: string;
|
|
49
49
|
};
|
|
50
50
|
refs: {
|
|
51
|
-
rootRef:
|
|
51
|
+
rootRef: solid_js137.Setter<HTMLDivElement | undefined>;
|
|
52
52
|
};
|
|
53
53
|
disabled: boolean;
|
|
54
54
|
invalid: boolean;
|
|
@@ -143,22 +143,22 @@ declare const FieldContext: (props: FieldContextProps) => JSX.Element;
|
|
|
143
143
|
//#region src/components/field/field-error-text.d.ts
|
|
144
144
|
interface FieldErrorTextBaseProps extends PolymorphicProps<'span'> {}
|
|
145
145
|
interface FieldErrorTextProps extends HTMLProps<'span'>, FieldErrorTextBaseProps {}
|
|
146
|
-
declare const FieldErrorText: (props: FieldErrorTextProps) =>
|
|
146
|
+
declare const FieldErrorText: (props: FieldErrorTextProps) => solid_js137.JSX.Element;
|
|
147
147
|
//#endregion
|
|
148
148
|
//#region src/components/field/field-helper-text.d.ts
|
|
149
149
|
interface FieldHelperTextBaseProps extends PolymorphicProps<'span'> {}
|
|
150
150
|
interface FieldHelperTextProps extends HTMLProps<'span'>, FieldHelperTextBaseProps {}
|
|
151
|
-
declare const FieldHelperText: (props: FieldHelperTextProps) =>
|
|
151
|
+
declare const FieldHelperText: (props: FieldHelperTextProps) => solid_js137.JSX.Element;
|
|
152
152
|
//#endregion
|
|
153
153
|
//#region src/components/field/field-input.d.ts
|
|
154
154
|
interface FieldInputBaseProps extends PolymorphicProps<'input'> {}
|
|
155
155
|
interface FieldInputProps extends HTMLProps<'input'>, FieldInputBaseProps {}
|
|
156
|
-
declare const FieldInput: (props: FieldInputProps) =>
|
|
156
|
+
declare const FieldInput: (props: FieldInputProps) => solid_js137.JSX.Element;
|
|
157
157
|
//#endregion
|
|
158
158
|
//#region src/components/field/field-label.d.ts
|
|
159
159
|
interface FieldLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
160
160
|
interface FieldLabelProps extends HTMLProps<'label'>, FieldLabelBaseProps {}
|
|
161
|
-
declare const FieldLabel: (props: FieldLabelProps) =>
|
|
161
|
+
declare const FieldLabel: (props: FieldLabelProps) => solid_js137.JSX.Element;
|
|
162
162
|
//#endregion
|
|
163
163
|
//#region src/components/field/field-required-indicator.d.ts
|
|
164
164
|
interface FieldRequiredIndicatorBaseProps extends PolymorphicProps<'span'> {
|
|
@@ -170,7 +170,7 @@ declare const FieldRequiredIndicator: (props: FieldRequiredIndicatorProps) => JS
|
|
|
170
170
|
//#region src/components/field/field-root.d.ts
|
|
171
171
|
interface FieldRootBaseProps extends UseFieldProps, PolymorphicProps<'div'> {}
|
|
172
172
|
interface FieldRootProps extends HTMLProps<'div'>, FieldRootBaseProps {}
|
|
173
|
-
declare const FieldRoot: (props: FieldRootProps) =>
|
|
173
|
+
declare const FieldRoot: (props: FieldRootProps) => solid_js137.JSX.Element;
|
|
174
174
|
//#endregion
|
|
175
175
|
//#region src/components/field/field-root-provider.d.ts
|
|
176
176
|
interface RootProviderProps {
|
|
@@ -178,19 +178,19 @@ interface RootProviderProps {
|
|
|
178
178
|
}
|
|
179
179
|
interface FieldRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
180
180
|
interface FieldRootProviderProps extends HTMLProps<'div'>, RootProviderProps, FieldRootProviderBaseProps {}
|
|
181
|
-
declare const FieldRootProvider: (props: FieldRootProviderProps) =>
|
|
181
|
+
declare const FieldRootProvider: (props: FieldRootProviderProps) => solid_js137.JSX.Element;
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region src/components/field/field-select.d.ts
|
|
184
184
|
interface FieldSelectBaseProps extends PolymorphicProps<'select'> {}
|
|
185
185
|
interface FieldSelectProps extends HTMLProps<'select'>, FieldSelectBaseProps {}
|
|
186
|
-
declare const FieldSelect: (props: FieldSelectProps) =>
|
|
186
|
+
declare const FieldSelect: (props: FieldSelectProps) => solid_js137.JSX.Element;
|
|
187
187
|
//#endregion
|
|
188
188
|
//#region src/components/field/field-textarea.d.ts
|
|
189
189
|
interface FieldTextareaBaseProps extends PolymorphicProps<'textarea'> {
|
|
190
190
|
autoresize?: boolean;
|
|
191
191
|
}
|
|
192
192
|
interface FieldTextareaProps extends HTMLProps<'textarea'>, FieldTextareaBaseProps {}
|
|
193
|
-
declare const FieldTextarea: (props: FieldTextareaProps) =>
|
|
193
|
+
declare const FieldTextarea: (props: FieldTextareaProps) => solid_js137.JSX.Element;
|
|
194
194
|
declare namespace field_d_exports {
|
|
195
195
|
export { FieldContext as Context, FieldContextProps as ContextProps, FieldErrorText as ErrorText, FieldErrorTextBaseProps as ErrorTextBaseProps, FieldErrorTextProps as ErrorTextProps, FieldHelperText as HelperText, FieldHelperTextBaseProps as HelperTextBaseProps, FieldHelperTextProps as HelperTextProps, FieldInput as Input, FieldInputBaseProps as InputBaseProps, FieldInputProps as InputProps, FieldLabel as Label, FieldLabelBaseProps as LabelBaseProps, FieldLabelProps as LabelProps, FieldRequiredIndicator as RequiredIndicator, FieldRequiredIndicatorBaseProps as RequiredIndicatorBaseProps, FieldRequiredIndicatorProps as RequiredIndicatorProps, FieldRoot as Root, FieldRootBaseProps as RootBaseProps, FieldRootProps as RootProps, FieldRootProvider as RootProvider, FieldRootProviderBaseProps as RootProviderBaseProps, FieldRootProviderProps as RootProviderProps, FieldSelect as Select, FieldSelectBaseProps as SelectBaseProps, FieldSelectProps as SelectProps, FieldTextarea as Textarea, FieldTextareaBaseProps as TextareaBaseProps, FieldTextareaProps as TextareaProps };
|
|
196
196
|
}
|
|
@@ -6,7 +6,7 @@ import { t as fieldAnatomy } from "../../field-anatomy-DFbz1xZk.js";
|
|
|
6
6
|
import "../../fieldset-anatomy-C7x_SqPE.js";
|
|
7
7
|
import "../../create-split-props-CDXn3gBu.js";
|
|
8
8
|
import "../../compose-refs-Daqyu-o7.js";
|
|
9
|
-
import "../../fieldset-
|
|
10
|
-
import { a as FieldRoot, c as FieldLabel, d as FieldErrorText, f as FieldContext, i as FieldRootProvider, l as FieldInput, n as FieldTextarea, o as useField, p as useFieldContext, r as FieldSelect, s as FieldRequiredIndicator, t as field_exports, u as FieldHelperText } from "../../field-
|
|
9
|
+
import "../../fieldset-BNycnDRc.js";
|
|
10
|
+
import { a as FieldRoot, c as FieldLabel, d as FieldErrorText, f as FieldContext, i as FieldRootProvider, l as FieldInput, n as FieldTextarea, o as useField, p as useFieldContext, r as FieldSelect, s as FieldRequiredIndicator, t as field_exports, u as FieldHelperText } from "../../field-C5B28nbw.js";
|
|
11
11
|
|
|
12
12
|
export { field_exports as Field, FieldContext, FieldErrorText, FieldHelperText, FieldInput, FieldLabel, FieldRequiredIndicator, FieldRoot, FieldRootProvider, FieldSelect, FieldTextarea, fieldAnatomy, useField, useFieldContext };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as MaybeAccessor } from "../../types-hAYSiblS.js";
|
|
2
2
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-C_07ebOh.js";
|
|
3
|
-
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-
|
|
4
|
-
import * as
|
|
3
|
+
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-C4iloA6j.js";
|
|
4
|
+
import * as solid_js6 from "solid-js";
|
|
5
5
|
import { JSX } from "solid-js";
|
|
6
6
|
|
|
7
7
|
//#region src/components/fieldset/use-fieldset.d.ts
|
|
@@ -20,9 +20,9 @@ interface UseFieldsetProps {
|
|
|
20
20
|
invalid?: boolean;
|
|
21
21
|
}
|
|
22
22
|
type UseFieldsetReturn = ReturnType<typeof useFieldset>;
|
|
23
|
-
declare const useFieldset: (props?: MaybeAccessor<UseFieldsetProps>) =>
|
|
23
|
+
declare const useFieldset: (props?: MaybeAccessor<UseFieldsetProps>) => solid_js6.Accessor<{
|
|
24
24
|
refs: {
|
|
25
|
-
rootRef:
|
|
25
|
+
rootRef: solid_js6.Setter<HTMLFieldSetElement | undefined>;
|
|
26
26
|
};
|
|
27
27
|
ids: {
|
|
28
28
|
legend: string;
|
|
@@ -72,23 +72,23 @@ declare const FieldsetContext: (props: FieldsetContextProps) => JSX.Element;
|
|
|
72
72
|
//#region src/components/fieldset/fieldset-error-text.d.ts
|
|
73
73
|
interface FieldsetErrorTextBaseProps extends PolymorphicProps<'span'> {}
|
|
74
74
|
interface FieldsetErrorTextProps extends HTMLProps<'span'>, FieldsetErrorTextBaseProps {}
|
|
75
|
-
declare const FieldsetErrorText: (props: FieldsetErrorTextProps) =>
|
|
75
|
+
declare const FieldsetErrorText: (props: FieldsetErrorTextProps) => solid_js6.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/components/fieldset/fieldset-helper-text.d.ts
|
|
78
78
|
interface FieldsetHelperTextBaseProps extends PolymorphicProps<'span'> {}
|
|
79
79
|
interface FieldsetHelperTextProps extends HTMLProps<'span'>, FieldsetHelperTextBaseProps {}
|
|
80
|
-
declare const FieldsetHelperText: (props: FieldsetHelperTextProps) =>
|
|
80
|
+
declare const FieldsetHelperText: (props: FieldsetHelperTextProps) => solid_js6.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/components/fieldset/fieldset-legend.d.ts
|
|
83
83
|
interface FieldsetLegendBaseProps extends PolymorphicProps<'legend'> {}
|
|
84
84
|
interface FieldsetLegendProps extends HTMLProps<'legend'>, FieldsetLegendBaseProps {}
|
|
85
|
-
declare const FieldsetLegend: (props: FieldsetLegendProps) =>
|
|
85
|
+
declare const FieldsetLegend: (props: FieldsetLegendProps) => solid_js6.JSX.Element;
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/components/fieldset/fieldset-root.d.ts
|
|
88
88
|
interface FieldsetRootBaseProps extends UseFieldsetProps, PolymorphicProps<'fieldset'> {}
|
|
89
89
|
interface FieldsetRootProps extends HTMLProps<'fieldset'>, FieldsetRootBaseProps {}
|
|
90
90
|
declare const FieldsetRoot: {
|
|
91
|
-
(props: FieldsetRootProps):
|
|
91
|
+
(props: FieldsetRootProps): solid_js6.JSX.Element;
|
|
92
92
|
displayName: string;
|
|
93
93
|
};
|
|
94
94
|
//#endregion
|
|
@@ -98,7 +98,7 @@ interface RootProviderProps {
|
|
|
98
98
|
}
|
|
99
99
|
interface FieldsetRootProviderBaseProps extends RootProviderProps, PolymorphicProps<'fieldset'> {}
|
|
100
100
|
interface FieldsetRootProviderProps extends HTMLProps<'fieldset'>, FieldsetRootProviderBaseProps {}
|
|
101
|
-
declare const FieldsetRootProvider: (props: FieldsetRootProviderProps) =>
|
|
101
|
+
declare const FieldsetRootProvider: (props: FieldsetRootProviderProps) => solid_js6.JSX.Element;
|
|
102
102
|
declare namespace fieldset_d_exports {
|
|
103
103
|
export { FieldsetContext as Context, FieldsetContextProps as ContextProps, FieldsetErrorText as ErrorText, FieldsetErrorTextBaseProps as ErrorTextBaseProps, FieldsetErrorTextProps as ErrorTextProps, FieldsetHelperText as HelperText, FieldsetHelperTextBaseProps as HelperTextBaseProps, FieldsetHelperTextProps as HelperTextProps, FieldsetLegend as Legend, FieldsetLegendBaseProps as LegendBaseProps, FieldsetLegendProps as LegendProps, FieldsetRoot as Root, FieldsetRootBaseProps as RootBaseProps, FieldsetRootProps as RootProps, FieldsetRootProvider as RootProvider, FieldsetRootProviderBaseProps as RootProviderBaseProps, FieldsetRootProviderProps as RootProviderProps };
|
|
104
104
|
}
|
|
@@ -5,6 +5,6 @@ import "../../factory-DCac1oIp.js";
|
|
|
5
5
|
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-C7x_SqPE.js";
|
|
6
6
|
import "../../create-split-props-CDXn3gBu.js";
|
|
7
7
|
import "../../compose-refs-Daqyu-o7.js";
|
|
8
|
-
import { a as FieldsetLegend, c as FieldsetContext, i as useFieldset, l as useFieldsetContext, n as FieldsetRootProvider, o as FieldsetHelperText, r as FieldsetRoot, s as FieldsetErrorText, t as fieldset_exports } from "../../fieldset-
|
|
8
|
+
import { a as FieldsetLegend, c as FieldsetContext, i as useFieldset, l as useFieldsetContext, n as FieldsetRootProvider, o as FieldsetHelperText, r as FieldsetRoot, s as FieldsetErrorText, t as fieldset_exports } from "../../fieldset-BNycnDRc.js";
|
|
9
9
|
|
|
10
10
|
export { fieldset_exports as Fieldset, FieldsetContext, FieldsetErrorText, FieldsetHelperText, FieldsetLegend, FieldsetRoot, FieldsetRootProvider, fieldsetAnatomy, useFieldset, useFieldsetContext };
|
|
@@ -2,7 +2,7 @@ import { n as PropTypes } from "../../index-CBw7-_78.js";
|
|
|
2
2
|
import { i as Optional, n as MaybeAccessor } from "../../types-hAYSiblS.js";
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-C_07ebOh.js";
|
|
4
4
|
import { t as fileUploadAnatomy } from "../../file-upload-anatomy-DJdoOx2Y.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as solid_js382 from "solid-js";
|
|
6
6
|
import { Accessor, JSX } from "solid-js";
|
|
7
7
|
import * as fileUpload from "@sprawlify/primitives/machines/file-upload";
|
|
8
8
|
import { DropzoneProps, FileAcceptDetails, FileAcceptDetails as FileUploadFileAcceptDetails, FileChangeDetails, FileChangeDetails as FileUploadFileChangeDetails, FileError, FileError as FileUploadFileError, FileMimeType, FileMimeType as FileUploadFileMimeType, FileRejectDetails, FileRejectDetails as FileUploadFileRejectDetails, FileRejection, FileRejection as FileUploadFileRejection, FileValidateDetails, FileValidateDetails as FileUploadFileValidateDetails, ItemGroupProps, ItemProps } from "@sprawlify/primitives/machines/file-upload";
|
|
@@ -10,7 +10,7 @@ import { DropzoneProps, FileAcceptDetails, FileAcceptDetails as FileUploadFileAc
|
|
|
10
10
|
//#region src/components/file-upload/file-upload-clear-trigger.d.ts
|
|
11
11
|
interface FileUploadClearTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
12
12
|
interface FileUploadClearTriggerProps extends HTMLProps<'button'>, FileUploadClearTriggerBaseProps {}
|
|
13
|
-
declare const FileUploadClearTrigger: (props: FileUploadClearTriggerProps) =>
|
|
13
|
+
declare const FileUploadClearTrigger: (props: FileUploadClearTriggerProps) => solid_js382.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/file-upload/use-file-upload.d.ts
|
|
16
16
|
interface UseFileUploadProps extends Optional<Omit<fileUpload.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -29,60 +29,60 @@ declare const FileUploadContext: (props: FileUploadContextProps) => JSX.Element;
|
|
|
29
29
|
//#region src/components/file-upload/file-upload-dropzone.d.ts
|
|
30
30
|
interface FileUploadDropzoneBaseProps extends PolymorphicProps<'div'>, DropzoneProps {}
|
|
31
31
|
interface FileUploadDropzoneProps extends HTMLProps<'div'>, FileUploadDropzoneBaseProps {}
|
|
32
|
-
declare const FileUploadDropzone: (props: FileUploadDropzoneProps) =>
|
|
32
|
+
declare const FileUploadDropzone: (props: FileUploadDropzoneProps) => solid_js382.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/components/file-upload/file-upload-hidden-input.d.ts
|
|
35
35
|
interface FileUploadHiddenInputBaseProps extends PolymorphicProps<'input'> {}
|
|
36
36
|
interface FileUploadHiddenInputProps extends HTMLProps<'input'>, FileUploadHiddenInputBaseProps {}
|
|
37
|
-
declare const FileUploadHiddenInput: (props: FileUploadHiddenInputProps) =>
|
|
37
|
+
declare const FileUploadHiddenInput: (props: FileUploadHiddenInputProps) => solid_js382.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/components/file-upload/file-upload-item.d.ts
|
|
40
40
|
type ItemBaseProps = Omit<ItemProps, 'type'>;
|
|
41
41
|
interface FileUploadItemBaseProps extends ItemBaseProps, PolymorphicProps<'li'> {}
|
|
42
42
|
interface FileUploadItemProps extends HTMLProps<'li'>, FileUploadItemBaseProps {}
|
|
43
|
-
declare const FileUploadItem: (props: FileUploadItemProps) =>
|
|
43
|
+
declare const FileUploadItem: (props: FileUploadItemProps) => solid_js382.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/file-upload/file-upload-item-delete-trigger.d.ts
|
|
46
46
|
interface FileUploadItemDeleteTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
47
47
|
interface FileUploadItemDeleteTriggerProps extends HTMLProps<'button'>, FileUploadItemDeleteTriggerBaseProps {}
|
|
48
|
-
declare const FileUploadItemDeleteTrigger: (props: FileUploadItemDeleteTriggerProps) =>
|
|
48
|
+
declare const FileUploadItemDeleteTrigger: (props: FileUploadItemDeleteTriggerProps) => solid_js382.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region src/components/file-upload/file-upload-item-group.d.ts
|
|
51
51
|
interface FileUploadItemGroupBaseProps extends PolymorphicProps<'ul'>, ItemGroupProps {}
|
|
52
52
|
interface FileUploadItemGroupProps extends HTMLProps<'ul'>, FileUploadItemGroupBaseProps {}
|
|
53
|
-
declare const FileUploadItemGroup: (props: FileUploadItemGroupProps) =>
|
|
53
|
+
declare const FileUploadItemGroup: (props: FileUploadItemGroupProps) => solid_js382.JSX.Element;
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region src/components/file-upload/file-upload-item-name.d.ts
|
|
56
56
|
interface FileUploadItemNameBaseProps extends PolymorphicProps<'div'> {}
|
|
57
57
|
interface FileUploadItemNameProps extends HTMLProps<'div'>, FileUploadItemNameBaseProps {}
|
|
58
|
-
declare const FileUploadItemName: (props: FileUploadItemNameProps) =>
|
|
58
|
+
declare const FileUploadItemName: (props: FileUploadItemNameProps) => solid_js382.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/components/file-upload/file-upload-item-preview.d.ts
|
|
61
61
|
interface FileUploadItemPreviewBaseProps extends PolymorphicProps<'div'> {
|
|
62
62
|
type?: string;
|
|
63
63
|
}
|
|
64
64
|
interface FileUploadItemPreviewProps extends HTMLProps<'div'>, FileUploadItemPreviewBaseProps {}
|
|
65
|
-
declare const FileUploadItemPreview: (props: FileUploadItemPreviewProps) =>
|
|
65
|
+
declare const FileUploadItemPreview: (props: FileUploadItemPreviewProps) => solid_js382.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/components/file-upload/file-upload-item-preview-image.d.ts
|
|
68
68
|
interface FileUploadItemPreviewImageBaseProps extends PolymorphicProps<'img'> {}
|
|
69
69
|
interface FileUploadItemPreviewImageProps extends HTMLProps<'img'>, FileUploadItemPreviewImageBaseProps {}
|
|
70
|
-
declare const FileUploadItemPreviewImage: (props: FileUploadItemPreviewImageProps) =>
|
|
70
|
+
declare const FileUploadItemPreviewImage: (props: FileUploadItemPreviewImageProps) => solid_js382.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/components/file-upload/file-upload-item-size-text.d.ts
|
|
73
73
|
interface FileUploadItemSizeTextBaseProps extends PolymorphicProps<'div'> {}
|
|
74
74
|
interface FileUploadItemSizeTextProps extends HTMLProps<'div'>, FileUploadItemSizeTextBaseProps {}
|
|
75
|
-
declare const FileUploadItemSizeText: (props: FileUploadItemSizeTextProps) =>
|
|
75
|
+
declare const FileUploadItemSizeText: (props: FileUploadItemSizeTextProps) => solid_js382.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/components/file-upload/file-upload-label.d.ts
|
|
78
78
|
interface FileUploadLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
79
79
|
interface FileUploadLabelProps extends HTMLProps<'label'>, FileUploadLabelBaseProps {}
|
|
80
|
-
declare const FileUploadLabel: (props: FileUploadLabelProps) =>
|
|
80
|
+
declare const FileUploadLabel: (props: FileUploadLabelProps) => solid_js382.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/components/file-upload/file-upload-root.d.ts
|
|
83
83
|
interface FileUploadRootBaseProps extends UseFileUploadProps, PolymorphicProps<'div'> {}
|
|
84
84
|
interface FileUploadRootProps extends HTMLProps<'div'>, FileUploadRootBaseProps {}
|
|
85
|
-
declare const FileUploadRoot: (props: FileUploadRootProps) =>
|
|
85
|
+
declare const FileUploadRoot: (props: FileUploadRootProps) => solid_js382.JSX.Element;
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/components/file-upload/file-upload-root-provider.d.ts
|
|
88
88
|
interface RootProviderProps {
|
|
@@ -90,12 +90,12 @@ interface RootProviderProps {
|
|
|
90
90
|
}
|
|
91
91
|
interface FileUploadRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
92
92
|
interface FileUploadRootProviderProps extends HTMLProps<'div'>, RootProviderProps, FileUploadRootProviderBaseProps {}
|
|
93
|
-
declare const FileUploadRootProvider: (props: FileUploadRootProviderProps) =>
|
|
93
|
+
declare const FileUploadRootProvider: (props: FileUploadRootProviderProps) => solid_js382.JSX.Element;
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/components/file-upload/file-upload-trigger.d.ts
|
|
96
96
|
interface FileUploadTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
97
97
|
interface FileUploadTriggerProps extends HTMLProps<'button'>, FileUploadTriggerBaseProps {}
|
|
98
|
-
declare const FileUploadTrigger: (props: FileUploadTriggerProps) =>
|
|
98
|
+
declare const FileUploadTrigger: (props: FileUploadTriggerProps) => solid_js382.JSX.Element;
|
|
99
99
|
declare namespace file_upload_d_exports {
|
|
100
100
|
export { FileUploadClearTrigger as ClearTrigger, FileUploadClearTriggerBaseProps as ClearTriggerBaseProps, FileUploadClearTriggerProps as ClearTriggerProps, FileUploadContext as Context, FileUploadContextProps as ContextProps, FileUploadDropzone as Dropzone, FileUploadDropzoneBaseProps as DropzoneBaseProps, FileUploadDropzoneProps as DropzoneProps, FileAcceptDetails, FileChangeDetails, FileError, FileMimeType, FileRejectDetails, FileRejection, FileValidateDetails, FileUploadHiddenInput as HiddenInput, FileUploadHiddenInputBaseProps as HiddenInputBaseProps, FileUploadHiddenInputProps as HiddenInputProps, FileUploadItem as Item, FileUploadItemBaseProps as ItemBaseProps, FileUploadItemDeleteTrigger as ItemDeleteTrigger, FileUploadItemDeleteTriggerBaseProps as ItemDeleteTriggerBaseProps, FileUploadItemDeleteTriggerProps as ItemDeleteTriggerProps, FileUploadItemGroup as ItemGroup, FileUploadItemGroupBaseProps as ItemGroupBaseProps, FileUploadItemGroupProps as ItemGroupProps, FileUploadItemName as ItemName, FileUploadItemNameBaseProps as ItemNameBaseProps, FileUploadItemNameProps as ItemNameProps, FileUploadItemPreview as ItemPreview, FileUploadItemPreviewBaseProps as ItemPreviewBaseProps, FileUploadItemPreviewImage as ItemPreviewImage, FileUploadItemPreviewImageBaseProps as ItemPreviewImageBaseProps, FileUploadItemPreviewImageProps as ItemPreviewImageProps, FileUploadItemPreviewProps as ItemPreviewProps, FileUploadItemProps as ItemProps, FileUploadItemSizeText as ItemSizeText, FileUploadItemSizeTextBaseProps as ItemSizeTextBaseProps, FileUploadItemSizeTextProps as ItemSizeTextProps, FileUploadLabel as Label, FileUploadLabelBaseProps as LabelBaseProps, FileUploadLabelProps as LabelProps, FileUploadRoot as Root, FileUploadRootBaseProps as RootBaseProps, FileUploadRootProps as RootProps, FileUploadRootProvider as RootProvider, FileUploadRootProviderBaseProps as RootProviderBaseProps, FileUploadRootProviderProps as RootProviderProps, FileUploadTrigger as Trigger, FileUploadTriggerBaseProps as TriggerBaseProps, FileUploadTriggerProps as TriggerProps };
|
|
101
101
|
}
|
|
@@ -9,8 +9,8 @@ import "../../fieldset-anatomy-C7x_SqPE.js";
|
|
|
9
9
|
import { t as fileUploadAnatomy } from "../../file-upload-anatomy-_dkcp6Rd.js";
|
|
10
10
|
import { t as createSplitProps } from "../../create-split-props-CDXn3gBu.js";
|
|
11
11
|
import "../../compose-refs-Daqyu-o7.js";
|
|
12
|
-
import "../../fieldset-
|
|
13
|
-
import { p as useFieldContext } from "../../field-
|
|
12
|
+
import "../../fieldset-BNycnDRc.js";
|
|
13
|
+
import { p as useFieldContext } from "../../field-C5B28nbw.js";
|
|
14
14
|
import { Show, createEffect, createMemo, createSignal, createUniqueId, onCleanup } from "solid-js";
|
|
15
15
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
16
16
|
import * as fileUpload from "@sprawlify/primitives/machines/file-upload";
|
|
@@ -3,8 +3,8 @@ import { i as Optional, n as MaybeAccessor } from "../../types-hAYSiblS.js";
|
|
|
3
3
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-C_07ebOh.js";
|
|
4
4
|
import "../../render-strategy-Bq-mT0Pp.js";
|
|
5
5
|
import { t as floatingPanelAnatomy } from "../../floating-panel-anatomy-M9J5s7fA.js";
|
|
6
|
-
import { s as UsePresenceProps } from "../../index-
|
|
7
|
-
import * as
|
|
6
|
+
import { s as UsePresenceProps } from "../../index-Ba31Z-s1.js";
|
|
7
|
+
import * as solid_js397 from "solid-js";
|
|
8
8
|
import { Accessor, JSX } from "solid-js";
|
|
9
9
|
import * as floatingPanel from "@sprawlify/primitives/machines/floating-panel";
|
|
10
10
|
import { OpenChangeDetails, OpenChangeDetails as FloatingPanelOpenChangeDetails, PositionChangeDetails, PositionChangeDetails as FloatingPanelPositionChangeDetails, ResizeTriggerProps, SizeChangeDetails, SizeChangeDetails as FloatingPanelSizeChangeDetails, StageChangeDetails, StageChangeDetails as FloatingPanelStageChangeDetails, StageTriggerProps } from "@sprawlify/primitives/machines/floating-panel";
|
|
@@ -12,17 +12,17 @@ import { OpenChangeDetails, OpenChangeDetails as FloatingPanelOpenChangeDetails,
|
|
|
12
12
|
//#region src/components/floating-panel/floating-panel-body.d.ts
|
|
13
13
|
interface FloatingPanelBodyBaseProps extends PolymorphicProps<'div'> {}
|
|
14
14
|
interface FloatingPanelBodyProps extends HTMLProps<'div'>, FloatingPanelBodyBaseProps {}
|
|
15
|
-
declare const FloatingPanelBody: (props: FloatingPanelBodyProps) =>
|
|
15
|
+
declare const FloatingPanelBody: (props: FloatingPanelBodyProps) => solid_js397.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/components/floating-panel/floating-panel-close-trigger.d.ts
|
|
18
18
|
interface FloatingPanelCloseTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
19
19
|
interface FloatingPanelCloseTriggerProps extends HTMLProps<'button'>, FloatingPanelCloseTriggerBaseProps {}
|
|
20
|
-
declare const FloatingPanelCloseTrigger: (props: FloatingPanelCloseTriggerProps) =>
|
|
20
|
+
declare const FloatingPanelCloseTrigger: (props: FloatingPanelCloseTriggerProps) => solid_js397.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/floating-panel/floating-panel-content.d.ts
|
|
23
23
|
interface FloatingPanelContentBaseProps extends PolymorphicProps<'div'> {}
|
|
24
24
|
interface FloatingPanelContentProps extends HTMLProps<'div'>, FloatingPanelContentBaseProps {}
|
|
25
|
-
declare const FloatingPanelContent: (props: FloatingPanelContentProps) =>
|
|
25
|
+
declare const FloatingPanelContent: (props: FloatingPanelContentProps) => solid_js397.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/components/floating-panel/use-floating-panel.d.ts
|
|
28
28
|
interface UseFloatingPanelProps extends Optional<Omit<floatingPanel.Props, 'getRootNode'>, 'id'> {}
|
|
@@ -41,27 +41,27 @@ declare const FloatingPanelContext: (props: FloatingPanelContextProps) => JSX.El
|
|
|
41
41
|
//#region src/components/floating-panel/floating-panel-drag-trigger.d.ts
|
|
42
42
|
interface FloatingPanelDragTriggerBaseProps extends PolymorphicProps<'div'> {}
|
|
43
43
|
interface FloatingPanelDragTriggerProps extends HTMLProps<'div'>, FloatingPanelDragTriggerBaseProps {}
|
|
44
|
-
declare const FloatingPanelDragTrigger: (props: FloatingPanelDragTriggerProps) =>
|
|
44
|
+
declare const FloatingPanelDragTrigger: (props: FloatingPanelDragTriggerProps) => solid_js397.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/components/floating-panel/floating-panel-header.d.ts
|
|
47
47
|
interface FloatingPanelHeaderBaseProps extends PolymorphicProps<'div'> {}
|
|
48
48
|
interface FloatingPanelHeaderProps extends HTMLProps<'div'>, FloatingPanelHeaderBaseProps {}
|
|
49
|
-
declare const FloatingPanelHeader: (props: FloatingPanelHeaderProps) =>
|
|
49
|
+
declare const FloatingPanelHeader: (props: FloatingPanelHeaderProps) => solid_js397.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/components/floating-panel/floating-panel-positioner.d.ts
|
|
52
52
|
interface FloatingPanelPositionerBaseProps extends PolymorphicProps<'div'> {}
|
|
53
53
|
interface FloatingPanelPositionerProps extends HTMLProps<'div'>, FloatingPanelPositionerBaseProps {}
|
|
54
|
-
declare const FloatingPanelPositioner: (props: FloatingPanelPositionerProps) =>
|
|
54
|
+
declare const FloatingPanelPositioner: (props: FloatingPanelPositionerProps) => solid_js397.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/components/floating-panel/floating-panel-resize-trigger.d.ts
|
|
57
57
|
interface FloatingPanelResizeTriggerBaseProps extends ResizeTriggerProps, PolymorphicProps<'div'> {}
|
|
58
58
|
interface FloatingPanelResizeTriggerProps extends HTMLProps<'div'>, FloatingPanelResizeTriggerBaseProps {}
|
|
59
|
-
declare const FloatingPanelResizeTrigger: (props: FloatingPanelResizeTriggerProps) =>
|
|
59
|
+
declare const FloatingPanelResizeTrigger: (props: FloatingPanelResizeTriggerProps) => solid_js397.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/components/floating-panel/floating-panel-stage-trigger.d.ts
|
|
62
62
|
interface FloatingPanelStageTriggerBaseProps extends PolymorphicProps<'button'>, StageTriggerProps {}
|
|
63
63
|
interface FloatingPanelStageTriggerProps extends HTMLProps<'button'>, FloatingPanelStageTriggerBaseProps {}
|
|
64
|
-
declare const FloatingPanelStageTrigger: (props: FloatingPanelStageTriggerProps) =>
|
|
64
|
+
declare const FloatingPanelStageTrigger: (props: FloatingPanelStageTriggerProps) => solid_js397.JSX.Element;
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region src/components/floating-panel/floating-panel-root.d.ts
|
|
67
67
|
interface FloatingPanelRootBaseProps extends UseFloatingPanelProps, UsePresenceProps {}
|
|
@@ -83,17 +83,17 @@ declare const FloatingPanelRootProvider: (props: FloatingPanelRootProviderProps)
|
|
|
83
83
|
//#region src/components/floating-panel/floating-panel-title.d.ts
|
|
84
84
|
interface FloatingPanelTitleBaseProps extends PolymorphicProps<'h2'> {}
|
|
85
85
|
interface FloatingPanelTitleProps extends HTMLProps<'h2'>, FloatingPanelTitleBaseProps {}
|
|
86
|
-
declare const FloatingPanelTitle: (props: FloatingPanelTitleProps) =>
|
|
86
|
+
declare const FloatingPanelTitle: (props: FloatingPanelTitleProps) => solid_js397.JSX.Element;
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/components/floating-panel/floating-panel-trigger.d.ts
|
|
89
89
|
interface FloatingPanelTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
90
90
|
interface FloatingPanelTriggerProps extends HTMLProps<'button'>, FloatingPanelTriggerBaseProps {}
|
|
91
|
-
declare const FloatingPanelTrigger: (props: FloatingPanelTriggerProps) =>
|
|
91
|
+
declare const FloatingPanelTrigger: (props: FloatingPanelTriggerProps) => solid_js397.JSX.Element;
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/floating-panel/floating-panel-control.d.ts
|
|
94
94
|
interface FloatingPanelControlBaseProps extends PolymorphicProps<'div'> {}
|
|
95
95
|
interface FloatingPanelControlProps extends HTMLProps<'div'>, FloatingPanelControlBaseProps {}
|
|
96
|
-
declare const FloatingPanelControl: (props: FloatingPanelControlProps) =>
|
|
96
|
+
declare const FloatingPanelControl: (props: FloatingPanelControlProps) => solid_js397.JSX.Element;
|
|
97
97
|
declare namespace floating_panel_d_exports {
|
|
98
98
|
export { FloatingPanelBody as Body, FloatingPanelBodyBaseProps as BodyBaseProps, FloatingPanelBodyProps as BodyProps, FloatingPanelCloseTrigger as CloseTrigger, FloatingPanelCloseTriggerBaseProps as CloseTriggerBaseProps, FloatingPanelCloseTriggerProps as CloseTriggerProps, FloatingPanelContent as Content, FloatingPanelContentBaseProps as ContentBaseProps, FloatingPanelContentProps as ContentProps, FloatingPanelContext as Context, FloatingPanelContextProps as ContextProps, FloatingPanelControl as Control, FloatingPanelControlBaseProps as ControlBaseProps, FloatingPanelControlProps as ControlProps, FloatingPanelDragTrigger as DragTrigger, FloatingPanelDragTriggerBaseProps as DragTriggerBaseProps, FloatingPanelDragTriggerProps as DragTriggerProps, FloatingPanelHeader as Header, FloatingPanelHeaderBaseProps as HeaderBaseProps, FloatingPanelHeaderProps as HeaderProps, OpenChangeDetails, PositionChangeDetails, FloatingPanelPositioner as Positioner, FloatingPanelPositionerBaseProps as PositionerBaseProps, FloatingPanelPositionerProps as PositionerProps, FloatingPanelResizeTrigger as ResizeTrigger, FloatingPanelResizeTriggerBaseProps as ResizeTriggerBaseProps, FloatingPanelResizeTriggerProps as ResizeTriggerProps, FloatingPanelRoot as Root, FloatingPanelRootBaseProps as RootBaseProps, FloatingPanelRootProps as RootProps, FloatingPanelRootProvider as RootProvider, FloatingPanelRootProviderBaseProps as RootProviderBaseProps, FloatingPanelRootProviderProps as RootProviderProps, SizeChangeDetails, StageChangeDetails, FloatingPanelStageTrigger as StageTrigger, FloatingPanelStageTriggerBaseProps as StageTriggerBaseProps, FloatingPanelStageTriggerProps as StageTriggerProps, FloatingPanelTitle as Title, FloatingPanelTitleBaseProps as TitleBaseProps, FloatingPanelTitleProps as TitleProps, FloatingPanelTrigger as Trigger, FloatingPanelTriggerBaseProps as TriggerBaseProps, FloatingPanelTriggerProps as TriggerProps };
|
|
99
99
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Assign } from "../../types-hAYSiblS.js";
|
|
2
2
|
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-C_07ebOh.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as solid_js0 from "solid-js";
|
|
4
4
|
import { FocusTrapOptions } from "@sprawlify/primitives/focus-trap";
|
|
5
5
|
|
|
6
6
|
//#region src/components/focus-trap/focus-trap.d.ts
|
|
@@ -12,6 +12,6 @@ interface TrapOptions extends Pick<FocusTrapOptions, 'onActivate' | 'onDeactivat
|
|
|
12
12
|
}
|
|
13
13
|
interface FocusTrapBaseProps extends PolymorphicProps<'div'>, TrapOptions {}
|
|
14
14
|
interface FocusTrapProps extends Assign<HTMLProps<'div'>, FocusTrapBaseProps> {}
|
|
15
|
-
declare const FocusTrap: (props: FocusTrapProps) =>
|
|
15
|
+
declare const FocusTrap: (props: FocusTrapProps) => solid_js0.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { FocusTrap, type FocusTrapBaseProps, type FocusTrapProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as solid_js242 from "solid-js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/format/format-byte.d.ts
|
|
4
4
|
interface FormatByteProps {
|
|
@@ -7,19 +7,19 @@ interface FormatByteProps {
|
|
|
7
7
|
unitSystem?: 'decimal' | 'binary';
|
|
8
8
|
value: number;
|
|
9
9
|
}
|
|
10
|
-
declare const FormatByte: (props: FormatByteProps) =>
|
|
10
|
+
declare const FormatByte: (props: FormatByteProps) => solid_js242.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/components/format/format-number.d.ts
|
|
13
13
|
interface FormatNumberProps extends Intl.NumberFormatOptions {
|
|
14
14
|
value: number;
|
|
15
15
|
}
|
|
16
|
-
declare const FormatNumber: (props: FormatNumberProps) =>
|
|
16
|
+
declare const FormatNumber: (props: FormatNumberProps) => solid_js242.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/components/format/format-relative-time.d.ts
|
|
19
19
|
interface FormatRelativeTimeProps extends Intl.RelativeTimeFormatOptions {
|
|
20
20
|
value: Date;
|
|
21
21
|
}
|
|
22
|
-
declare const FormatRelativeTime: (props: FormatRelativeTimeProps) =>
|
|
22
|
+
declare const FormatRelativeTime: (props: FormatRelativeTimeProps) => solid_js242.JSX.Element;
|
|
23
23
|
declare namespace format_d_exports {
|
|
24
24
|
export { FormatByte as Byte, FormatByteProps as ByteProps, FormatNumber as Number, FormatNumberProps as NumberProps, FormatRelativeTime as RelativeTime, FormatRelativeTimeProps as RelativeTimeProps };
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as MaybeAccessor, t as Assign } from "../../types-hAYSiblS.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as solid_js155 from "solid-js";
|
|
3
3
|
import { Accessor, ComponentProps } from "solid-js";
|
|
4
4
|
import { HighlightChunk, HighlightWordProps } from "@sprawlify/primitives/highlight-word";
|
|
5
5
|
|
|
@@ -10,6 +10,6 @@ declare const useHighlight: (props: MaybeAccessor<UseHighlightProps>) => Accesso
|
|
|
10
10
|
//#region src/components/highlight/highlight.d.ts
|
|
11
11
|
interface HighlightBaseProps extends UseHighlightProps {}
|
|
12
12
|
interface HighlightProps extends Assign<ComponentProps<'mark'>, HighlightBaseProps> {}
|
|
13
|
-
declare const Highlight: (props: HighlightProps) =>
|
|
13
|
+
declare const Highlight: (props: HighlightProps) => solid_js155.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Highlight, type HighlightChunk, type HighlightProps, type UseHighlightProps, useHighlight };
|