@sprawlify/solid 0.0.83 → 0.0.84
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-CdXMy-rb.d.ts +6 -0
- package/dist/carousel-anatomy-C8huIkCj.d.ts +6 -0
- package/dist/checkbox-anatomy-BtpQaHLH.d.ts +6 -0
- package/dist/color-picker-anatomy-Dq-PMI1F.d.ts +6 -0
- package/dist/combobox-anatomy-Czxx8ecv.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +7 -7
- package/dist/components/alert-dialog/index.d.ts +10 -10
- package/dist/components/anatomy.d.ts +11 -11
- package/dist/components/angle-slider/index.d.ts +10 -10
- package/dist/components/aspect-ratio/index.d.ts +4 -4
- 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/clipboard/index.d.ts +8 -8
- package/dist/components/collapsible/index.d.ts +6 -6
- package/dist/components/color-picker/index.d.ts +31 -31
- package/dist/components/combobox/index.d.ts +17 -17
- package/dist/components/date-picker/index.d.ts +28 -28
- package/dist/components/dialog/index.d.ts +9 -9
- package/dist/components/dropdown-menu/index.d.ts +18 -18
- package/dist/components/editable/index.d.ts +11 -11
- package/dist/components/field/index.d.ts +12 -12
- package/dist/components/fieldset/index.d.ts +9 -9
- package/dist/components/file-upload/index.d.ts +15 -15
- 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 +8 -8
- package/dist/components/json-tree-view/index.d.ts +1 -1
- package/dist/components/listbox/index.d.ts +13 -13
- package/dist/components/marquee/index.d.ts +6 -6
- package/dist/components/navigation-menu/index.d.ts +13 -13
- package/dist/components/number-input/index.d.ts +10 -10
- package/dist/components/pagination/index.d.ts +9 -9
- package/dist/components/password-input/index.d.ts +11 -10
- package/dist/components/pin-input/index.d.ts +12 -11
- 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/rating-group/index.d.ts +12 -11
- 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/separator/index.d.ts +7 -7
- package/dist/components/signature-pad/index.d.ts +14 -13
- 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 +12 -11
- package/dist/components/tabs/index.d.ts +13 -12
- package/dist/components/tags-input/index.d.ts +18 -17
- 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/date-picker-anatomy-lO40ULdm.d.ts +6 -0
- package/dist/field-anatomy-KaRQ1g-H.d.ts +6 -0
- package/dist/fieldset-anatomy-DZXx5sMn.d.ts +6 -0
- package/dist/{index-CsHlTpaf.d.ts → index-B0KW0SRK.d.ts} +15 -15
- package/dist/{index-N8qMPmrS.d.ts → index-BYODxIAQ.d.ts} +2 -2
- package/dist/{index-B1oMo50i.d.ts → index-BZq3Yj6Y.d.ts} +15 -15
- package/dist/{index-DZOAkVpx.d.ts → index-LmmX9_3C.d.ts} +5 -5
- package/dist/{index-DkYwwtK8.d.ts → index-PxEYopdJ.d.ts} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/listbox-anatomy-euZKNcpO.d.ts +6 -0
- package/dist/segment-group-anatomy-CjydGbEb.d.ts +6 -0
- package/dist/{tour-anatomy-CJ-SzcBw.d.ts → tour-anatomy-BHTXc-kd.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/alert-dialog-anatomy-C9H2sCkt.d.ts +0 -6
- package/dist/carousel-anatomy-D0j6MmSr.d.ts +0 -6
- package/dist/checkbox-anatomy-5niVzQnw.d.ts +0 -6
- package/dist/color-picker-anatomy-2xBv53K8.d.ts +0 -6
- package/dist/combobox-anatomy-D31auICO.d.ts +0 -6
- package/dist/date-picker-anatomy-ChF22HHl.d.ts +0 -6
- package/dist/field-anatomy-DvYFm9Kg.d.ts +0 -6
- package/dist/fieldset-anatomy-CeI-B-mT.d.ts +0 -6
- package/dist/listbox-anatomy-JqmQ4RB9.d.ts +0 -6
- package/dist/segment-group-anatomy-CipskD8w.d.ts +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as Optional, n as MaybeAccessor } from "./types-B9AK1oJL.js";
|
|
2
2
|
import { r as PolymorphicProps, t as HTMLProps } from "./factory-DMawBjkt.js";
|
|
3
3
|
import { t as RenderStrategyProps } from "./render-strategy-CU_9g0dp.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as solid_js430 from "solid-js";
|
|
5
5
|
import * as presence from "@sprawlify/primitives/machines/presence";
|
|
6
6
|
|
|
7
7
|
//#region src/components/presence/use-presence.d.ts
|
|
@@ -13,7 +13,7 @@ interface UsePresenceProps extends Optional<presence.Props, 'present'>, RenderSt
|
|
|
13
13
|
skipAnimationOnMount?: boolean;
|
|
14
14
|
}
|
|
15
15
|
interface UsePresenceReturn extends ReturnType<typeof usePresence> {}
|
|
16
|
-
declare const usePresence: (props: MaybeAccessor<UsePresenceProps>) =>
|
|
16
|
+
declare const usePresence: (props: MaybeAccessor<UsePresenceProps>) => solid_js430.Accessor<{
|
|
17
17
|
unmounted: boolean | undefined;
|
|
18
18
|
present: boolean;
|
|
19
19
|
ref: (node: Element | null) => void;
|
|
@@ -26,13 +26,13 @@ declare const usePresence: (props: MaybeAccessor<UsePresenceProps>) => solid_js1
|
|
|
26
26
|
//#region src/components/presence/presence.d.ts
|
|
27
27
|
interface PresenceBaseProps extends UsePresenceProps, PolymorphicProps<'div'> {}
|
|
28
28
|
interface PresenceProps extends HTMLProps<'div'>, PresenceBaseProps {}
|
|
29
|
-
declare const Presence: (props: PresenceProps) =>
|
|
29
|
+
declare const Presence: (props: PresenceProps) => solid_js430.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/components/presence/split-presence-props.d.ts
|
|
32
|
-
declare const splitPresenceProps: <T extends UsePresenceProps>(props: T) => [Pick<T, Extract<("
|
|
32
|
+
declare const splitPresenceProps: <T extends UsePresenceProps>(props: T) => [Pick<T, Extract<("present" | "onExitComplete" | "immediate" | "skipAnimationOnMount" | "lazyMount" | "unmountOnExit")[], readonly (keyof T)[]>[number]>, { [P in keyof T as Exclude<P, "present" | "onExitComplete" | "immediate" | "skipAnimationOnMount" | "lazyMount" | "unmountOnExit">]: T[P] }];
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/components/presence/use-presence-context.d.ts
|
|
35
35
|
interface UsePresenceContext extends UsePresenceReturn {}
|
|
36
|
-
declare const PresenceProvider:
|
|
36
|
+
declare const PresenceProvider: solid_js430.ContextProviderComponent<UsePresenceContext>, usePresenceContext: () => UsePresenceContext;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Presence as a, UsePresenceReturn as c, splitPresenceProps as i, usePresence as l, UsePresenceContext as n, PresenceProps as o, usePresenceContext as r, UsePresenceProps as s, PresenceProvider as t };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as useMachine, i as mergeProps, n as PropTypes, r as normalizeProps, t as Key } from "./index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor, r as MaybePromise, t as Assign } from "./types-
|
|
3
|
-
import { i as sprawlify, n as HTMLSprawlifyProps, r as PolymorphicProps, t as HTMLProps } from "./factory-
|
|
4
|
-
import { a as UseFilterReturn, c as useCollator, d as EnvironmentProvider, f as EnvironmentProviderProps, h as useEnvironmentContext, i as UseFilterProps, l as LocaleProvider, m as UseEnvironmentContext, n as UseLocaleContext, o as useFilter, p as RootNode, r as useLocaleContext, s as UseCollatorProps, t as createContext, u as LocaleProviderProps } from "./index-
|
|
1
|
+
import { a as useMachine, i as mergeProps, n as PropTypes, r as normalizeProps, t as Key } from "./index-DMLSuCzg.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor, r as MaybePromise, t as Assign } from "./types-BYcgXZnj.js";
|
|
3
|
+
import { i as sprawlify, n as HTMLSprawlifyProps, r as PolymorphicProps, t as HTMLProps } from "./factory-8gmqJkZ6.js";
|
|
4
|
+
import { a as UseFilterReturn, c as useCollator, d as EnvironmentProvider, f as EnvironmentProviderProps, h as useEnvironmentContext, i as UseFilterProps, l as LocaleProvider, m as UseEnvironmentContext, n as UseLocaleContext, o as useFilter, p as RootNode, r as useLocaleContext, s as UseCollatorProps, t as createContext, u as LocaleProviderProps } from "./index-V0DK6BT4.js";
|
|
5
5
|
export { Assign, EnvironmentProvider, EnvironmentProviderProps, HTMLProps, HTMLSprawlifyProps, Key, LocaleProvider, LocaleProviderProps, MaybeAccessor, MaybePromise, Optional, PolymorphicProps, PropTypes, RootNode, UseCollatorProps, UseEnvironmentContext, UseFilterProps, UseFilterReturn, UseLocaleContext, createContext, mergeProps, normalizeProps, sprawlify, useCollator, useEnvironmentContext, useFilter, useLocaleContext, useMachine };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy8 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/listbox/listbox-anatomy.d.ts
|
|
4
|
+
declare const listboxAnatomy: _sprawlify_primitives_anatomy8.AnatomyInstance<"label" | "input" | "content" | "root" | "item" | "itemGroup" | "itemIndicator" | "itemText" | "itemGroupLabel" | "empty" | "valueText">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { listboxAnatomy as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy11 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/segment-group/segment-group-anatomy.d.ts
|
|
4
|
+
declare const segmentGroupAnatomy: _sprawlify_primitives_anatomy11.Anatomy<"label" | "root" | "item" | "itemText" | "indicator" | "itemControl">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { segmentGroupAnatomy as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _sprawlify_primitives_anatomy15 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/tour/tour-anatomy.d.ts
|
|
4
|
-
declare const tourAnatomy: _sprawlify_primitives_anatomy15.AnatomyInstance<"
|
|
4
|
+
declare const tourAnatomy: _sprawlify_primitives_anatomy15.AnatomyInstance<"title" | "content" | "positioner" | "closeTrigger" | "description" | "backdrop" | "control" | "progressText" | "actionTrigger" | "arrow" | "arrowTip" | "spotlight">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { tourAnatomy as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprawlify/solid",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.84",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Solid wrapper for primitives.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
},
|
|
333
333
|
"dependencies": {
|
|
334
334
|
"@solid-primitives/keyed": "^1.5.2",
|
|
335
|
-
"@sprawlify/primitives": "0.0.
|
|
335
|
+
"@sprawlify/primitives": "0.0.84"
|
|
336
336
|
},
|
|
337
337
|
"peerDependencies": {
|
|
338
338
|
"solid-js": ">=1.1.3"
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy7 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/alert-dialog/alert-dialog-anatomy.d.ts
|
|
4
|
-
declare const alertDialogAnatomy: _sprawlify_primitives_anatomy7.Anatomy<"content" | "trigger" | "positioner" | "backdrop" | "closeTrigger" | "title" | "description">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { alertDialogAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy0 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/carousel/carousel-anatomy.d.ts
|
|
4
|
-
declare const carouselAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"root" | "control" | "indicator" | "itemGroup" | "item" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger" | "progressText" | "autoplayIndicator">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { carouselAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy0 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/checkbox/checkbox-anatomy.d.ts
|
|
4
|
-
declare const checkboxAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"root" | "control" | "indicator" | "label" | "group">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { checkboxAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy2 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/color-picker/color-picker-anatomy.d.ts
|
|
4
|
-
declare const colorPickerAnatomy: _sprawlify_primitives_anatomy2.AnatomyInstance<"root" | "control" | "label" | "content" | "trigger" | "view" | "positioner" | "valueText" | "area" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { colorPickerAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy3 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/combobox/combobox-anatomy.d.ts
|
|
4
|
-
declare const comboboxAnatomy: _sprawlify_primitives_anatomy3.AnatomyInstance<"root" | "control" | "itemGroup" | "item" | "label" | "content" | "trigger" | "input" | "clearTrigger" | "positioner" | "itemGroupLabel" | "itemIndicator" | "itemText" | "list" | "empty">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { comboboxAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy1 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/date-picker/date-picker-anatomy.d.ts
|
|
4
|
-
declare const datePickerAnatomy: _sprawlify_primitives_anatomy1.AnatomyInstance<"root" | "control" | "nextTrigger" | "prevTrigger" | "label" | "content" | "trigger" | "input" | "table" | "view" | "clearTrigger" | "positioner" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect" | "valueText">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { datePickerAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy11 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/field/field-anatomy.d.ts
|
|
4
|
-
declare const fieldAnatomy: _sprawlify_primitives_anatomy11.AnatomyInstance<"root" | "label" | "input" | "errorText" | "helperText" | "select" | "textarea" | "requiredIndicator">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { fieldAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy4 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/fieldset/fieldset-anatomy.d.ts
|
|
4
|
-
declare const fieldsetAnatomy: _sprawlify_primitives_anatomy4.AnatomyInstance<"root" | "errorText" | "helperText" | "legend">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { fieldsetAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy6 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/listbox/listbox-anatomy.d.ts
|
|
4
|
-
declare const listboxAnatomy: _sprawlify_primitives_anatomy6.AnatomyInstance<"root" | "itemGroup" | "item" | "label" | "content" | "input" | "valueText" | "itemGroupLabel" | "itemIndicator" | "itemText" | "empty">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { listboxAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy9 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/segment-group/segment-group-anatomy.d.ts
|
|
4
|
-
declare const segmentGroupAnatomy: _sprawlify_primitives_anatomy9.Anatomy<"root" | "indicator" | "item" | "label" | "itemText" | "itemControl">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { segmentGroupAnatomy as t };
|