@sprawlify/solid 0.0.74 → 0.0.76
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-U9i37WFg.d.ts +6 -0
- package/dist/checkbox-anatomy-DgHAeZqv.d.ts +6 -0
- package/dist/{collapsible-BhGN1nX_.js → collapsible-C8NaEGBe.js} +2 -2
- package/dist/color-picker-anatomy-rTdBhGvD.d.ts +6 -0
- package/dist/combobox-anatomy-DHkAO9la.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +12 -12
- package/dist/components/accordion/index.js +4 -3
- package/dist/components/anatomy.d.ts +52 -50
- package/dist/components/anatomy.js +17 -15
- package/dist/components/angle-slider/index.d.ts +14 -14
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/aspect-ratio/index.d.ts +43 -0
- package/dist/components/aspect-ratio/index.js +85 -0
- package/dist/components/aspect-ratio/index.jsx +78 -0
- package/dist/components/avatar/index.d.ts +9 -9
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +14 -14
- package/dist/components/bottom-sheet/index.js +4 -4
- package/dist/components/carousel/index.d.ts +16 -16
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.d.ts +13 -13
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/clipboard/index.d.ts +12 -12
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/collapsible/index.d.ts +11 -11
- package/dist/components/collapsible/index.js +3 -3
- package/dist/components/collection/index.d.ts +2 -2
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +35 -35
- package/dist/components/color-picker/index.js +6 -6
- package/dist/components/combobox/index.d.ts +22 -22
- package/dist/components/combobox/index.js +7 -7
- package/dist/components/date-picker/index.d.ts +32 -32
- package/dist/components/date-picker/index.js +4 -4
- package/dist/components/dialog/index.d.ts +14 -14
- package/dist/components/dialog/index.js +4 -4
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/editable/index.d.ts +15 -15
- package/dist/components/editable/index.js +4 -4
- package/dist/components/field/index.d.ts +14 -14
- package/dist/components/field/index.js +4 -4
- package/dist/components/fieldset/index.d.ts +11 -11
- package/dist/components/fieldset/index.js +3 -3
- package/dist/components/file-upload/index.d.ts +19 -19
- package/dist/components/file-upload/index.js +4 -4
- package/dist/components/floating-panel/index.d.ts +18 -18
- package/dist/components/floating-panel/index.js +4 -4
- package/dist/components/focus-trap/index.d.ts +4 -4
- package/dist/components/focus-trap/index.js +2 -2
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +1 -1
- package/dist/components/frame/index.js +1 -1
- package/dist/components/highlight/index.d.ts +3 -3
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +12 -12
- package/dist/components/hover-card/index.js +4 -4
- package/dist/components/image-cropper/index.d.ts +12 -12
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/json-tree-view/index.d.ts +6 -6
- package/dist/components/json-tree-view/index.js +6 -5
- package/dist/components/listbox/index.d.ts +17 -17
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/marquee/index.d.ts +10 -10
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/menu/index.d.ts +25 -25
- package/dist/components/menu/index.js +4 -4
- package/dist/components/navigation-menu/index.d.ts +18 -18
- package/dist/components/navigation-menu/index.js +4 -4
- package/dist/components/number-input/index.d.ts +14 -14
- package/dist/components/number-input/index.js +4 -4
- package/dist/components/pagination/index.d.ts +13 -13
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.d.ts +10 -10
- package/dist/components/password-input/index.js +4 -4
- package/dist/components/pin-input/index.d.ts +11 -11
- package/dist/components/pin-input/index.js +4 -4
- package/dist/components/popover/index.d.ts +17 -17
- package/dist/components/popover/index.js +4 -4
- package/dist/components/presence/index.d.ts +4 -4
- package/dist/components/presence/index.js +4 -4
- package/dist/components/progress/index.d.ts +15 -15
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +11 -11
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.d.ts +13 -13
- package/dist/components/radio-group/index.js +3 -3
- package/dist/components/rating-group/index.d.ts +11 -11
- package/dist/components/rating-group/index.js +4 -4
- package/dist/components/scroll-area/index.d.ts +12 -12
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.d.ts +13 -13
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.d.ts +23 -23
- package/dist/components/select/index.js +7 -7
- package/dist/components/separator/index.d.ts +39 -0
- package/dist/components/separator/index.js +80 -0
- package/dist/components/separator/index.jsx +73 -0
- package/dist/components/signature-pad/index.d.ts +13 -13
- package/dist/components/signature-pad/index.js +5 -5
- package/dist/components/slider/index.d.ts +17 -17
- package/dist/components/slider/index.js +2 -2
- package/dist/components/splitter/index.d.ts +10 -10
- package/dist/components/splitter/index.js +2 -2
- package/dist/components/steps/index.d.ts +17 -17
- package/dist/components/steps/index.js +2 -2
- package/dist/components/switch/index.d.ts +11 -11
- package/dist/components/switch/index.js +5 -5
- package/dist/components/tabs/index.d.ts +12 -12
- package/dist/components/tabs/index.js +5 -5
- package/dist/components/tags-input/index.d.ts +17 -17
- package/dist/components/tags-input/index.js +5 -5
- package/dist/components/timer/index.d.ts +12 -12
- package/dist/components/timer/index.js +2 -2
- package/dist/components/toast/index.d.ts +10 -10
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toggle/index.d.ts +6 -6
- package/dist/components/toggle/index.js +2 -2
- package/dist/components/toggle-group/index.d.ts +8 -8
- package/dist/components/toggle-group/index.js +2 -2
- package/dist/components/tooltip/index.d.ts +12 -12
- package/dist/components/tooltip/index.js +5 -5
- package/dist/components/tour/index.d.ts +19 -19
- package/dist/components/tour/index.js +5 -5
- package/dist/components/tree-view/index.d.ts +7 -7
- package/dist/components/tree-view/index.js +7 -6
- package/dist/date-picker-anatomy-DeBCaV_x.d.ts +6 -0
- package/dist/{factory-cJ7CaPAR.d.ts → factory-CFe-t-Fi.d.ts} +1 -1
- package/dist/{field-mV6xBX-1.js → field-C89qXIh6.js} +3 -3
- package/dist/field-anatomy-CbssO4IL.d.ts +6 -0
- package/dist/{fieldset-DfZfBktp.js → fieldset-2UELyPcz.js} +2 -2
- package/dist/fieldset-anatomy-BCQLZHWs.d.ts +6 -0
- package/dist/{index-8onXIr8Q.d.ts → index-7-L-n9cw.d.ts} +2 -2
- package/dist/{index-BSDbKHsX.d.ts → index-B8JEk_GG.d.ts} +7 -7
- package/dist/{index-Yv6Dnswx.d.ts → index-BBpes_s9.d.ts} +7 -7
- package/dist/{index-BWpfcCOe.d.ts → index-BhOxLAFI.d.ts} +20 -20
- package/dist/{index-D9oSpNzQ.d.ts → index-CxfDbHxz.d.ts} +1 -1
- package/dist/{index-BVDTwC4Z.d.ts → index-DYdWhTsP.d.ts} +2 -2
- package/dist/{index-DFJ-UtgN.d.ts → index-geWq8m1n.d.ts} +16 -16
- package/dist/index.d.ts +4 -4
- package/dist/{listbox-anatomy-CnlERuZT.d.ts → listbox-anatomy-Bf3KKO3o.d.ts} +1 -1
- package/dist/{presence-8BR5oOTh.js → presence-n0HnTfAV.js} +3 -3
- package/dist/{render-strategy-DUrOMptL.js → render-strategy-EQBgRKI1.js} +1 -1
- package/dist/{segment-group-anatomy-w6EqftAa.d.ts → segment-group-anatomy-CzbE2vLY.d.ts} +1 -1
- package/dist/separator-anatomy-AagsNNEV.d.ts +2 -0
- package/dist/separator-anatomy-C9bGchxg.js +3 -0
- package/dist/{tour-anatomy-Cvd7eW1z.d.ts → tour-anatomy-DDmORAyS.d.ts} +1 -1
- package/dist/{tree-view-pTAaf6yt.js → tree-view-CSJacMC3.js} +3 -3
- package/package.json +12 -2
- package/dist/carousel-anatomy-DRTOOUsA.d.ts +0 -6
- package/dist/checkbox-anatomy-_IW8S8A1.d.ts +0 -6
- package/dist/color-picker-anatomy-B19MSENc.d.ts +0 -6
- package/dist/combobox-anatomy-D62dRw8h.d.ts +0 -6
- package/dist/date-picker-anatomy-CdBDv4bW.d.ts +0 -6
- package/dist/field-anatomy-Bm7mUuzz.d.ts +0 -6
- package/dist/fieldset-anatomy-9IJ6JECa.d.ts +0 -6
- /package/dist/{accordion-anatomy-C02ClQ-i.d.ts → accordion-anatomy-Dy0YvHLB.d.ts} +0 -0
- /package/dist/{angle-slider-anatomy-CjqlTMi-.d.ts → angle-slider-anatomy-CtBfHRwv.d.ts} +0 -0
- /package/dist/{avatar-anatomy-BFcH-BdZ.d.ts → avatar-anatomy-MtN5MGxJ.d.ts} +0 -0
- /package/dist/{bottom-sheet-anatomy-CnYjxIa5.d.ts → bottom-sheet-anatomy-qNhhaiRo.d.ts} +0 -0
- /package/dist/{clipboard-anatomy-DT9k1E4p.d.ts → clipboard-anatomy-CXJUM0pj.d.ts} +0 -0
- /package/dist/{collapsible-anatomy-Dnqjh7QP.d.ts → collapsible-anatomy-Dqoa1TJ3.d.ts} +0 -0
- /package/dist/{collection-Cr3_-Nj9.js → collection-Vz_24DoX.js} +0 -0
- /package/dist/{compose-refs-D3PQgBgQ.js → compose-refs-DdDpM3Af.js} +0 -0
- /package/dist/{create-split-props-BcbxQ6yh.js → create-split-props-kzDNfhyR.js} +0 -0
- /package/dist/{dialog-anatomy-Bxscw4PD.d.ts → dialog-anatomy-DxHx7nNk.d.ts} +0 -0
- /package/dist/{editable-anatomy-BoZIiwDR.d.ts → editable-anatomy-BAHBfMvM.d.ts} +0 -0
- /package/dist/{file-upload-anatomy-DmwpdONS.d.ts → file-upload-anatomy-DIMkra98.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-BDHlnk1S.d.ts → floating-panel-anatomy-Bt1cMLIW.d.ts} +0 -0
- /package/dist/{hover-card-anatomy-BZZwpvcD.d.ts → hover-card-anatomy-ChYm4JZ3.d.ts} +0 -0
- /package/dist/{image-cropper-anatomy-C4nqTpJc.d.ts → image-cropper-anatomy-D9dKuHWM.d.ts} +0 -0
- /package/dist/{index-D78tMX6m.d.ts → index-CZjrxXpQ.d.ts} +0 -0
- /package/dist/{index-nyUtQSXQ.d.ts → index-D6K1i0Yw.d.ts} +0 -0
- /package/dist/{marquee-anatomy-BHiSb_hw.d.ts → marquee-anatomy-B9_cS4J7.d.ts} +0 -0
- /package/dist/{menu-anatomy-BrtrFbq2.d.ts → menu-anatomy-DSyIPzKa.d.ts} +0 -0
- /package/dist/{navigation-menu-anatomy-FqAjaEaz.d.ts → navigation-menu-anatomy-BkNGA70r.d.ts} +0 -0
- /package/dist/{number-input-anatomy-Dpr956kU.d.ts → number-input-anatomy-BJCckYvX.d.ts} +0 -0
- /package/dist/{pagination-anatomy-CC_AQ0hu.d.ts → pagination-anatomy-BTilc4TY.d.ts} +0 -0
- /package/dist/{password-input-anatomy-CcCH88BJ.d.ts → password-input-anatomy--i1BIgAT.d.ts} +0 -0
- /package/dist/{pin-input-anatomy-CFwtTGgf.d.ts → pin-input-anatomy-BdGlzkl4.d.ts} +0 -0
- /package/dist/{popover-anatomy-BfyF_jF-.d.ts → popover-anatomy-CMkiCAeT.d.ts} +0 -0
- /package/dist/{progress-anatomy-CIvqvuCH.d.ts → progress-anatomy-t6zPD5Zu.d.ts} +0 -0
- /package/dist/{qr-code-anatomy-ByL5_5DL.d.ts → qr-code-anatomy-tRmoazZ6.d.ts} +0 -0
- /package/dist/{radio-group-anatomy--QbW6Fvm.d.ts → radio-group-anatomy-lyEQWNo7.d.ts} +0 -0
- /package/dist/{rating-group-anatomy-DBg1kLFr.d.ts → rating-group-anatomy-DJlaUO56.d.ts} +0 -0
- /package/dist/{render-strategy-CD9ZY4zs.d.ts → render-strategy-BOoKsKuN.d.ts} +0 -0
- /package/dist/{scroll-area-anatomy-e4jAhnvL.d.ts → scroll-area-anatomy-B5wPgHSU.d.ts} +0 -0
- /package/dist/{select-anatomy-BOWDAJI2.d.ts → select-anatomy-CHnXUA6Q.d.ts} +0 -0
- /package/dist/{signature-pad-anatomy-CwHcAo6v.d.ts → signature-pad-anatomy-BwRKhqN4.d.ts} +0 -0
- /package/dist/{signature-pad-anatomy-Mz3w_i5B.js → signature-pad-anatomy-CoeXwoDo.js} +0 -0
- /package/dist/{slider-anatomy-1peNnwIJ.d.ts → slider-anatomy-CymGTXcB.d.ts} +0 -0
- /package/dist/{slider-anatomy-3KpCBnz3.js → slider-anatomy-D1MIQawS.js} +0 -0
- /package/dist/{splitter-anatomy-DIcfxmkW.d.ts → splitter-anatomy-CCD3SwVL.d.ts} +0 -0
- /package/dist/{splitter-anatomy-D2RNa-hA.js → splitter-anatomy-mbvD9KMw.js} +0 -0
- /package/dist/{steps-anatomy-Djc944iN.d.ts → steps-anatomy-CA7EAbjU.d.ts} +0 -0
- /package/dist/{steps-anatomy-CSfgiyVI.js → steps-anatomy-DL1kFLaW.js} +0 -0
- /package/dist/{switch-anatomy-y8eqf5v0.d.ts → switch-anatomy-BXRMtS0x.d.ts} +0 -0
- /package/dist/{switch-anatomy-DDL1v5Fs.js → switch-anatomy-C_MAURJE.js} +0 -0
- /package/dist/{tabs-anatomy-DlQHg-E8.js → tabs-anatomy-DF_ekPnt.js} +0 -0
- /package/dist/{tabs-anatomy-CxuMmuKX.d.ts → tabs-anatomy-DpMdwuLF.d.ts} +0 -0
- /package/dist/{tags-input-anatomy-CvMsM3_R.d.ts → tags-input-anatomy-CsLdSQqN.d.ts} +0 -0
- /package/dist/{tags-input-anatomy-DYSi98Bx.js → tags-input-anatomy-Dpn_Smms.js} +0 -0
- /package/dist/{timer-anatomy-C9bTbrUf.js → timer-anatomy-BF3_7vbc.js} +0 -0
- /package/dist/{timer-anatomy-VYjRFeEL.d.ts → timer-anatomy-BK0y4VUQ.d.ts} +0 -0
- /package/dist/{toast-anatomy-CssUp7TT.js → toast-anatomy-BHDNHkvU.js} +0 -0
- /package/dist/{toast-anatomy-C-PyfPXK.d.ts → toast-anatomy-BqNu2tZD.d.ts} +0 -0
- /package/dist/{toggle-anatomy-CqxPSmz8.d.ts → toggle-anatomy-Bwl88IQF.d.ts} +0 -0
- /package/dist/{toggle-anatomy-DJ-QrVLv.js → toggle-anatomy-D8XJQLnW.js} +0 -0
- /package/dist/{toggle-group-anatomy-C-tSD5OQ.d.ts → toggle-group-anatomy-BRE3muOY.d.ts} +0 -0
- /package/dist/{toggle-group-anatomy-CFLq6ia_.js → toggle-group-anatomy-SARieWDI.js} +0 -0
- /package/dist/{tooltip-anatomy-Mn5jLWJP.d.ts → tooltip-anatomy-CPTpecJ9.d.ts} +0 -0
- /package/dist/{tooltip-anatomy-CPw1wOXd.js → tooltip-anatomy-D6lPF-Wq.js} +0 -0
- /package/dist/{tour-anatomy-CDmnjoPR.js → tour-anatomy-Cg6ZDDuV.js} +0 -0
- /package/dist/{tree-view-anatomy-BW_ruJ-g.js → tree-view-anatomy--Ft8ROVn.js} +0 -0
- /package/dist/{tree-view-anatomy-DjCEP4n7.d.ts → tree-view-anatomy-C_uuTcok.d.ts} +0 -0
- /package/dist/{types-B1RjmsgP.d.ts → types-DlBCj0iY.d.ts} +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy3 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/carousel/carousel-anatomy.d.ts
|
|
4
|
+
declare const carouselAnatomy: _sprawlify_primitives_anatomy3.AnatomyInstance<"root" | "control" | "item" | "indicator" | "nextTrigger" | "prevTrigger" | "progressText" | "itemGroup" | "indicatorGroup" | "autoplayTrigger" | "autoplayIndicator">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { carouselAnatomy as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy4 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/checkbox/checkbox-anatomy.d.ts
|
|
4
|
+
declare const checkboxAnatomy: _sprawlify_primitives_anatomy4.AnatomyInstance<"root" | "label" | "group" | "control" | "indicator">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { checkboxAnatomy as t };
|
|
@@ -4,8 +4,8 @@ import { t as runIfFn } from "./run-if-fn-CTrSA35K.js";
|
|
|
4
4
|
import { t as createContext$1 } from "./create-context-DPb5Yv_u.js";
|
|
5
5
|
import { i as useLocaleContext, o as useEnvironmentContext } from "./providers-CdwYAas1.js";
|
|
6
6
|
import { t as sprawlify } from "./factory-Ce76k0aC.js";
|
|
7
|
-
import { t as createSplitProps } from "./create-split-props-
|
|
8
|
-
import { n as splitRenderStrategyProps } from "./render-strategy-
|
|
7
|
+
import { t as createSplitProps } from "./create-split-props-kzDNfhyR.js";
|
|
8
|
+
import { n as splitRenderStrategyProps } from "./render-strategy-EQBgRKI1.js";
|
|
9
9
|
import { Show, createEffect, createMemo, createSignal, createUniqueId } from "solid-js";
|
|
10
10
|
import { createComponent } from "solid-js/web";
|
|
11
11
|
import * as collapsible from "@sprawlify/primitives/machines/collapsible";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy5 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/color-picker/color-picker-anatomy.d.ts
|
|
4
|
+
declare const colorPickerAnatomy: _sprawlify_primitives_anatomy5.AnatomyInstance<"root" | "label" | "area" | "view" | "control" | "trigger" | "positioner" | "content" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { colorPickerAnatomy as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as _sprawlify_primitives_anatomy7 from "@sprawlify/primitives/anatomy";
|
|
2
|
+
|
|
3
|
+
//#region src/components/combobox/combobox-anatomy.d.ts
|
|
4
|
+
declare const comboboxAnatomy: _sprawlify_primitives_anatomy7.AnatomyInstance<"root" | "input" | "label" | "control" | "item" | "itemGroup" | "trigger" | "positioner" | "content" | "clearTrigger" | "itemIndicator" | "itemText" | "list" | "itemGroupLabel" | "empty">;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { comboboxAnatomy as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import { t as RenderStrategyProps } from "../../render-strategy-
|
|
5
|
-
import { t as accordionAnatomy } from "../../accordion-anatomy-
|
|
6
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-CZjrxXpQ.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-DlBCj0iY.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-CFe-t-Fi.js";
|
|
4
|
+
import { t as RenderStrategyProps } from "../../render-strategy-BOoKsKuN.js";
|
|
5
|
+
import { t as accordionAnatomy } from "../../accordion-anatomy-Dy0YvHLB.js";
|
|
6
|
+
import * as solid_js326 from "solid-js";
|
|
7
7
|
import { Accessor, JSX } from "solid-js";
|
|
8
8
|
import * as accordion from "@sprawlify/primitives/machines/accordion";
|
|
9
9
|
import { FocusChangeDetails, FocusChangeDetails as AccordionFocusChangeDetails, ItemProps, ItemState, ValueChangeDetails, ValueChangeDetails as AccordionValueChangeDetails } from "@sprawlify/primitives/machines/accordion";
|
|
@@ -25,12 +25,12 @@ declare const AccordionContext: (props: AccordionContextProps) => JSX.Element;
|
|
|
25
25
|
//#region src/components/accordion/accordion-item.d.ts
|
|
26
26
|
interface AccordionItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
27
27
|
interface AccordionItemProps extends HTMLProps<'div'>, AccordionItemBaseProps {}
|
|
28
|
-
declare const AccordionItem: (props: AccordionItemProps) =>
|
|
28
|
+
declare const AccordionItem: (props: AccordionItemProps) => solid_js326.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/accordion/accordion-item-content.d.ts
|
|
31
31
|
interface AccordionItemContentBaseProps extends PolymorphicProps<'div'> {}
|
|
32
32
|
interface AccordionItemContentProps extends HTMLProps<'div'>, AccordionItemContentBaseProps {}
|
|
33
|
-
declare const AccordionItemContent: (props: AccordionItemContentProps) =>
|
|
33
|
+
declare const AccordionItemContent: (props: AccordionItemContentProps) => solid_js326.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/components/accordion/use-accordion-item-context.d.ts
|
|
36
36
|
interface UseAccordionItemContext extends Accessor<ItemState> {}
|
|
@@ -44,17 +44,17 @@ declare const AccordionItemContext: (props: AccordionItemContextProps) => JSX.El
|
|
|
44
44
|
//#region src/components/accordion/accordion-item-indicator.d.ts
|
|
45
45
|
interface AccordionItemIndicatorBaseProps extends PolymorphicProps<'div'> {}
|
|
46
46
|
interface AccordionItemIndicatorProps extends HTMLProps<'div'>, AccordionItemIndicatorBaseProps {}
|
|
47
|
-
declare const AccordionItemIndicator: (props: AccordionItemIndicatorProps) =>
|
|
47
|
+
declare const AccordionItemIndicator: (props: AccordionItemIndicatorProps) => solid_js326.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/accordion/accordion-item-trigger.d.ts
|
|
50
50
|
interface AccordionItemTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
51
51
|
interface AccordionItemTriggerProps extends HTMLProps<'button'>, AccordionItemTriggerBaseProps {}
|
|
52
|
-
declare const AccordionItemTrigger: (props: AccordionItemTriggerProps) =>
|
|
52
|
+
declare const AccordionItemTrigger: (props: AccordionItemTriggerProps) => solid_js326.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/components/accordion/accordion-root.d.ts
|
|
55
55
|
interface AccordionRootBaseProps extends UseAccordionProps, RenderStrategyProps, PolymorphicProps<'div'> {}
|
|
56
56
|
interface AccordionRootProps extends HTMLProps<'div'>, AccordionRootBaseProps {}
|
|
57
|
-
declare const AccordionRoot: (props: AccordionRootProps) =>
|
|
57
|
+
declare const AccordionRoot: (props: AccordionRootProps) => solid_js326.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/components/accordion/accordion-root-provider.d.ts
|
|
60
60
|
interface RootProviderProps {
|
|
@@ -62,7 +62,7 @@ interface RootProviderProps {
|
|
|
62
62
|
}
|
|
63
63
|
interface AccordionRootProviderBaseProps extends RootProviderProps, RenderStrategyProps, PolymorphicProps<'div'> {}
|
|
64
64
|
interface AccordionRootProviderProps extends HTMLProps<'div'>, AccordionRootProviderBaseProps {}
|
|
65
|
-
declare const AccordionRootProvider: (props: AccordionRootProviderProps) =>
|
|
65
|
+
declare const AccordionRootProvider: (props: AccordionRootProviderProps) => solid_js326.JSX.Element;
|
|
66
66
|
declare namespace accordion_d_exports {
|
|
67
67
|
export { AccordionContext as Context, AccordionContextProps as ContextProps, FocusChangeDetails, AccordionItem as Item, AccordionItemBaseProps as ItemBaseProps, AccordionItemContent as ItemContent, AccordionItemContentBaseProps as ItemContentBaseProps, AccordionItemContentProps as ItemContentProps, AccordionItemContext as ItemContext, AccordionItemContextProps as ItemContextProps, AccordionItemIndicator as ItemIndicator, AccordionItemIndicatorBaseProps as ItemIndicatorBaseProps, AccordionItemIndicatorProps as ItemIndicatorProps, AccordionItemProps as ItemProps, AccordionItemTrigger as ItemTrigger, AccordionItemTriggerBaseProps as ItemTriggerBaseProps, AccordionItemTriggerProps as ItemTriggerProps, AccordionRoot as Root, AccordionRootBaseProps as RootBaseProps, AccordionRootProps as RootProps, AccordionRootProvider as RootProvider, AccordionRootProviderBaseProps as RootProviderBaseProps, AccordionRootProviderProps as RootProviderProps, ValueChangeDetails };
|
|
68
68
|
}
|
|
@@ -5,9 +5,10 @@ import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
|
5
5
|
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
7
7
|
import { t as accordionAnatomy } from "../../accordion-anatomy-SnniqySz.js";
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import "../../collapsible-anatomy-Bz0a8LAr.js";
|
|
9
|
+
import { t as createSplitProps } from "../../create-split-props-kzDNfhyR.js";
|
|
10
|
+
import { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-EQBgRKI1.js";
|
|
11
|
+
import { a as CollapsibleRoot, c as CollapsibleContent, l as useCollapsibleContext } from "../../collapsible-C8NaEGBe.js";
|
|
11
12
|
import { createMemo, createUniqueId, splitProps } from "solid-js";
|
|
12
13
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
13
14
|
import * as accordion from "@sprawlify/primitives/machines/accordion";
|
|
@@ -1,51 +1,53 @@
|
|
|
1
|
-
import { t as accordionAnatomy } from "../accordion-anatomy-
|
|
2
|
-
import { t as angleSliderAnatomy } from "../angle-slider-anatomy-
|
|
3
|
-
import { t as avatarAnatomy } from "../avatar-anatomy-
|
|
4
|
-
import { t as bottomSheetAnatomy } from "../bottom-sheet-anatomy-
|
|
5
|
-
import { t as carouselAnatomy } from "../carousel-anatomy-
|
|
6
|
-
import { t as checkboxAnatomy } from "../checkbox-anatomy-
|
|
7
|
-
import { t as clipboardAnatomy } from "../clipboard-anatomy-
|
|
8
|
-
import { t as collapsibleAnatomy } from "../collapsible-anatomy-
|
|
9
|
-
import { t as colorPickerAnatomy } from "../color-picker-anatomy-
|
|
10
|
-
import { t as comboboxAnatomy } from "../combobox-anatomy-
|
|
11
|
-
import { t as datePickerAnatomy } from "../date-picker-anatomy-
|
|
12
|
-
import { t as dialogAnatomy } from "../dialog-anatomy-
|
|
13
|
-
import { t as editableAnatomy } from "../editable-anatomy-
|
|
14
|
-
import { t as fieldAnatomy } from "../field-anatomy-
|
|
15
|
-
import { t as fieldsetAnatomy } from "../fieldset-anatomy-
|
|
16
|
-
import { t as fileUploadAnatomy } from "../file-upload-anatomy-
|
|
17
|
-
import { t as floatingPanelAnatomy } from "../floating-panel-anatomy-
|
|
18
|
-
import { t as hoverCardAnatomy } from "../hover-card-anatomy-
|
|
19
|
-
import { t as imageCropperAnatomy } from "../image-cropper-anatomy-
|
|
20
|
-
import { t as listboxAnatomy } from "../listbox-anatomy-
|
|
21
|
-
import { t as marqueeAnatomy } from "../marquee-anatomy-
|
|
22
|
-
import { t as menuAnatomy } from "../menu-anatomy-
|
|
23
|
-
import { t as navigationMenuAnatomy } from "../navigation-menu-anatomy-
|
|
24
|
-
import { t as numberInputAnatomy } from "../number-input-anatomy-
|
|
25
|
-
import { t as paginationAnatomy } from "../pagination-anatomy-
|
|
26
|
-
import { t as passwordInputAnatomy } from "../password-input-anatomy
|
|
27
|
-
import { t as pinInputAnatomy } from "../pin-input-anatomy-
|
|
28
|
-
import { t as popoverAnatomy } from "../popover-anatomy-
|
|
29
|
-
import { t as progressAnatomy } from "../progress-anatomy-
|
|
30
|
-
import { t as qrCodeAnatomy } from "../qr-code-anatomy-
|
|
31
|
-
import { t as radioGroupAnatomy } from "../radio-group-anatomy
|
|
32
|
-
import { t as ratingGroupAnatomy } from "../rating-group-anatomy-
|
|
33
|
-
import { t as scrollAreaAnatomy } from "../scroll-area-anatomy-
|
|
34
|
-
import { t as segmentGroupAnatomy } from "../segment-group-anatomy-
|
|
35
|
-
import { t as selectAnatomy } from "../select-anatomy-
|
|
36
|
-
import { t as
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
42
|
-
import { t as
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as
|
|
45
|
-
import { t as
|
|
46
|
-
import { t as
|
|
47
|
-
import { t as
|
|
48
|
-
import { t as
|
|
49
|
-
import { t as
|
|
1
|
+
import { t as accordionAnatomy } from "../accordion-anatomy-Dy0YvHLB.js";
|
|
2
|
+
import { t as angleSliderAnatomy } from "../angle-slider-anatomy-CtBfHRwv.js";
|
|
3
|
+
import { t as avatarAnatomy } from "../avatar-anatomy-MtN5MGxJ.js";
|
|
4
|
+
import { t as bottomSheetAnatomy } from "../bottom-sheet-anatomy-qNhhaiRo.js";
|
|
5
|
+
import { t as carouselAnatomy } from "../carousel-anatomy-U9i37WFg.js";
|
|
6
|
+
import { t as checkboxAnatomy } from "../checkbox-anatomy-DgHAeZqv.js";
|
|
7
|
+
import { t as clipboardAnatomy } from "../clipboard-anatomy-CXJUM0pj.js";
|
|
8
|
+
import { t as collapsibleAnatomy } from "../collapsible-anatomy-Dqoa1TJ3.js";
|
|
9
|
+
import { t as colorPickerAnatomy } from "../color-picker-anatomy-rTdBhGvD.js";
|
|
10
|
+
import { t as comboboxAnatomy } from "../combobox-anatomy-DHkAO9la.js";
|
|
11
|
+
import { t as datePickerAnatomy } from "../date-picker-anatomy-DeBCaV_x.js";
|
|
12
|
+
import { t as dialogAnatomy } from "../dialog-anatomy-DxHx7nNk.js";
|
|
13
|
+
import { t as editableAnatomy } from "../editable-anatomy-BAHBfMvM.js";
|
|
14
|
+
import { t as fieldAnatomy } from "../field-anatomy-CbssO4IL.js";
|
|
15
|
+
import { t as fieldsetAnatomy } from "../fieldset-anatomy-BCQLZHWs.js";
|
|
16
|
+
import { t as fileUploadAnatomy } from "../file-upload-anatomy-DIMkra98.js";
|
|
17
|
+
import { t as floatingPanelAnatomy } from "../floating-panel-anatomy-Bt1cMLIW.js";
|
|
18
|
+
import { t as hoverCardAnatomy } from "../hover-card-anatomy-ChYm4JZ3.js";
|
|
19
|
+
import { t as imageCropperAnatomy } from "../image-cropper-anatomy-D9dKuHWM.js";
|
|
20
|
+
import { t as listboxAnatomy } from "../listbox-anatomy-Bf3KKO3o.js";
|
|
21
|
+
import { t as marqueeAnatomy } from "../marquee-anatomy-B9_cS4J7.js";
|
|
22
|
+
import { t as menuAnatomy } from "../menu-anatomy-DSyIPzKa.js";
|
|
23
|
+
import { t as navigationMenuAnatomy } from "../navigation-menu-anatomy-BkNGA70r.js";
|
|
24
|
+
import { t as numberInputAnatomy } from "../number-input-anatomy-BJCckYvX.js";
|
|
25
|
+
import { t as paginationAnatomy } from "../pagination-anatomy-BTilc4TY.js";
|
|
26
|
+
import { t as passwordInputAnatomy } from "../password-input-anatomy--i1BIgAT.js";
|
|
27
|
+
import { t as pinInputAnatomy } from "../pin-input-anatomy-BdGlzkl4.js";
|
|
28
|
+
import { t as popoverAnatomy } from "../popover-anatomy-CMkiCAeT.js";
|
|
29
|
+
import { t as progressAnatomy } from "../progress-anatomy-t6zPD5Zu.js";
|
|
30
|
+
import { t as qrCodeAnatomy } from "../qr-code-anatomy-tRmoazZ6.js";
|
|
31
|
+
import { t as radioGroupAnatomy } from "../radio-group-anatomy-lyEQWNo7.js";
|
|
32
|
+
import { t as ratingGroupAnatomy } from "../rating-group-anatomy-DJlaUO56.js";
|
|
33
|
+
import { t as scrollAreaAnatomy } from "../scroll-area-anatomy-B5wPgHSU.js";
|
|
34
|
+
import { t as segmentGroupAnatomy } from "../segment-group-anatomy-CzbE2vLY.js";
|
|
35
|
+
import { t as selectAnatomy } from "../select-anatomy-CHnXUA6Q.js";
|
|
36
|
+
import { t as separatorAnatomy } from "../separator-anatomy-AagsNNEV.js";
|
|
37
|
+
import { t as signaturePadAnatomy } from "../signature-pad-anatomy-BwRKhqN4.js";
|
|
38
|
+
import { t as sliderAnatomy } from "../slider-anatomy-CymGTXcB.js";
|
|
39
|
+
import { t as splitterAnatomy } from "../splitter-anatomy-CCD3SwVL.js";
|
|
40
|
+
import { t as stepsAnatomy } from "../steps-anatomy-CA7EAbjU.js";
|
|
41
|
+
import { t as switchAnatomy } from "../switch-anatomy-BXRMtS0x.js";
|
|
42
|
+
import { t as tabsAnatomy } from "../tabs-anatomy-DpMdwuLF.js";
|
|
43
|
+
import { t as tagsInputAnatomy } from "../tags-input-anatomy-CsLdSQqN.js";
|
|
44
|
+
import { t as timerAnatomy } from "../timer-anatomy-BK0y4VUQ.js";
|
|
45
|
+
import { t as toastAnatomy } from "../toast-anatomy-BqNu2tZD.js";
|
|
46
|
+
import { t as toggleAnatomy } from "../toggle-anatomy-Bwl88IQF.js";
|
|
47
|
+
import { t as toggleGroupAnatomy } from "../toggle-group-anatomy-BRE3muOY.js";
|
|
48
|
+
import { t as tooltipAnatomy } from "../tooltip-anatomy-CPTpecJ9.js";
|
|
49
|
+
import { t as tourAnatomy } from "../tour-anatomy-DDmORAyS.js";
|
|
50
|
+
import { t as treeViewAnatomy } from "../tree-view-anatomy-C_uuTcok.js";
|
|
51
|
+
import { anatomy as aspectRatioAnatomy } from "@sprawlify/primitives/machines/aspect-ratio";
|
|
50
52
|
export * from "@sprawlify/primitives/anatomy";
|
|
51
|
-
export { accordionAnatomy, angleSliderAnatomy, avatarAnatomy, bottomSheetAnatomy, carouselAnatomy, checkboxAnatomy, clipboardAnatomy, collapsibleAnatomy, colorPickerAnatomy, comboboxAnatomy, datePickerAnatomy, dialogAnatomy, editableAnatomy, fieldAnatomy, fieldsetAnatomy, fileUploadAnatomy, floatingPanelAnatomy, hoverCardAnatomy, imageCropperAnatomy, listboxAnatomy, marqueeAnatomy, menuAnatomy, navigationMenuAnatomy, numberInputAnatomy, paginationAnatomy, passwordInputAnatomy, pinInputAnatomy, popoverAnatomy, progressAnatomy, qrCodeAnatomy, radioGroupAnatomy, ratingGroupAnatomy, scrollAreaAnatomy, segmentGroupAnatomy, selectAnatomy, signaturePadAnatomy, sliderAnatomy, splitterAnatomy, stepsAnatomy, switchAnatomy, tabsAnatomy, tagsInputAnatomy, timerAnatomy, toastAnatomy, toggleAnatomy, toggleGroupAnatomy, tooltipAnatomy, tourAnatomy, treeViewAnatomy };
|
|
53
|
+
export { accordionAnatomy, angleSliderAnatomy, aspectRatioAnatomy, avatarAnatomy, bottomSheetAnatomy, carouselAnatomy, checkboxAnatomy, clipboardAnatomy, collapsibleAnatomy, colorPickerAnatomy, comboboxAnatomy, datePickerAnatomy, dialogAnatomy, editableAnatomy, fieldAnatomy, fieldsetAnatomy, fileUploadAnatomy, floatingPanelAnatomy, hoverCardAnatomy, imageCropperAnatomy, listboxAnatomy, marqueeAnatomy, menuAnatomy, navigationMenuAnatomy, numberInputAnatomy, paginationAnatomy, passwordInputAnatomy, pinInputAnatomy, popoverAnatomy, progressAnatomy, qrCodeAnatomy, radioGroupAnatomy, ratingGroupAnatomy, scrollAreaAnatomy, segmentGroupAnatomy, selectAnatomy, separatorAnatomy, signaturePadAnatomy, sliderAnatomy, splitterAnatomy, stepsAnatomy, switchAnatomy, tabsAnatomy, tagsInputAnatomy, timerAnatomy, toastAnatomy, toggleAnatomy, toggleGroupAnatomy, tooltipAnatomy, tourAnatomy, treeViewAnatomy };
|
|
@@ -33,21 +33,23 @@ import { t as ratingGroupAnatomy } from "../rating-group-anatomy-CBhzoESK.js";
|
|
|
33
33
|
import { t as scrollAreaAnatomy } from "../scroll-area-anatomy-B-FlUOdc.js";
|
|
34
34
|
import { n as segmentGroupAnatomy } from "../segment-group-anatomy-CPdu1efW.js";
|
|
35
35
|
import { t as selectAnatomy } from "../select-anatomy-CiNHi2Kx.js";
|
|
36
|
-
import { t as
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
42
|
-
import { t as
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as
|
|
45
|
-
import { t as
|
|
46
|
-
import { t as
|
|
47
|
-
import { t as
|
|
48
|
-
import { t as
|
|
49
|
-
import { t as
|
|
36
|
+
import { t as separatorAnatomy } from "../separator-anatomy-C9bGchxg.js";
|
|
37
|
+
import { t as signaturePadAnatomy } from "../signature-pad-anatomy-CoeXwoDo.js";
|
|
38
|
+
import { t as sliderAnatomy } from "../slider-anatomy-D1MIQawS.js";
|
|
39
|
+
import { t as splitterAnatomy } from "../splitter-anatomy-mbvD9KMw.js";
|
|
40
|
+
import { t as stepsAnatomy } from "../steps-anatomy-DL1kFLaW.js";
|
|
41
|
+
import { t as switchAnatomy } from "../switch-anatomy-C_MAURJE.js";
|
|
42
|
+
import { t as tabsAnatomy } from "../tabs-anatomy-DF_ekPnt.js";
|
|
43
|
+
import { t as tagsInputAnatomy } from "../tags-input-anatomy-Dpn_Smms.js";
|
|
44
|
+
import { t as timerAnatomy } from "../timer-anatomy-BF3_7vbc.js";
|
|
45
|
+
import { t as toastAnatomy } from "../toast-anatomy-BHDNHkvU.js";
|
|
46
|
+
import { t as toggleAnatomy } from "../toggle-anatomy-D8XJQLnW.js";
|
|
47
|
+
import { t as toggleGroupAnatomy } from "../toggle-group-anatomy-SARieWDI.js";
|
|
48
|
+
import { t as tooltipAnatomy } from "../tooltip-anatomy-D6lPF-Wq.js";
|
|
49
|
+
import { t as tourAnatomy } from "../tour-anatomy-Cg6ZDDuV.js";
|
|
50
|
+
import { t as treeViewAnatomy } from "../tree-view-anatomy--Ft8ROVn.js";
|
|
51
|
+
import { anatomy as aspectRatioAnatomy } from "@sprawlify/primitives/machines/aspect-ratio";
|
|
50
52
|
|
|
51
53
|
export * from "@sprawlify/primitives/anatomy"
|
|
52
54
|
|
|
53
|
-
export { accordionAnatomy, angleSliderAnatomy, avatarAnatomy, bottomSheetAnatomy, carouselAnatomy, checkboxAnatomy, clipboardAnatomy, collapsibleAnatomy, colorPickerAnatomy, comboboxAnatomy, datePickerAnatomy, dialogAnatomy, editableAnatomy, fieldAnatomy, fieldsetAnatomy, fileUploadAnatomy, floatingPanelAnatomy, hoverCardAnatomy, imageCropperAnatomy, listboxAnatomy, marqueeAnatomy, menuAnatomy, navigationMenuAnatomy, numberInputAnatomy, paginationAnatomy, passwordInputAnatomy, pinInputAnatomy, popoverAnatomy, progressAnatomy, qrCodeAnatomy, radioGroupAnatomy, ratingGroupAnatomy, scrollAreaAnatomy, segmentGroupAnatomy, selectAnatomy, signaturePadAnatomy, sliderAnatomy, splitterAnatomy, stepsAnatomy, switchAnatomy, tabsAnatomy, tagsInputAnatomy, timerAnatomy, toastAnatomy, toggleAnatomy, toggleGroupAnatomy, tooltipAnatomy, tourAnatomy, treeViewAnatomy };
|
|
55
|
+
export { accordionAnatomy, angleSliderAnatomy, aspectRatioAnatomy, avatarAnatomy, bottomSheetAnatomy, carouselAnatomy, checkboxAnatomy, clipboardAnatomy, collapsibleAnatomy, colorPickerAnatomy, comboboxAnatomy, datePickerAnatomy, dialogAnatomy, editableAnatomy, fieldAnatomy, fieldsetAnatomy, fileUploadAnatomy, floatingPanelAnatomy, hoverCardAnatomy, imageCropperAnatomy, listboxAnatomy, marqueeAnatomy, menuAnatomy, navigationMenuAnatomy, numberInputAnatomy, paginationAnatomy, passwordInputAnatomy, pinInputAnatomy, popoverAnatomy, progressAnatomy, qrCodeAnatomy, radioGroupAnatomy, ratingGroupAnatomy, scrollAreaAnatomy, segmentGroupAnatomy, selectAnatomy, separatorAnatomy, signaturePadAnatomy, sliderAnatomy, splitterAnatomy, stepsAnatomy, switchAnatomy, tabsAnatomy, tagsInputAnatomy, timerAnatomy, toastAnatomy, toggleAnatomy, toggleGroupAnatomy, tooltipAnatomy, tourAnatomy, treeViewAnatomy };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import { t as angleSliderAnatomy } from "../../angle-slider-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-CZjrxXpQ.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-DlBCj0iY.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-CFe-t-Fi.js";
|
|
4
|
+
import { t as angleSliderAnatomy } from "../../angle-slider-anatomy-CtBfHRwv.js";
|
|
5
|
+
import * as solid_js30 from "solid-js";
|
|
6
6
|
import { Accessor, JSX } from "solid-js";
|
|
7
7
|
import * as angleSlider from "@sprawlify/primitives/machines/angle-slider";
|
|
8
8
|
import { MarkerProps } from "@sprawlify/primitives/machines/angle-slider";
|
|
@@ -24,32 +24,32 @@ declare const AngleSliderContext: (props: AngleSliderContextProps) => JSX.Elemen
|
|
|
24
24
|
//#region src/components/angle-slider/angle-slider-control.d.ts
|
|
25
25
|
interface AngleSliderControlBaseProps extends PolymorphicProps<'div'> {}
|
|
26
26
|
interface AngleSliderControlProps extends HTMLProps<'div'>, AngleSliderControlBaseProps {}
|
|
27
|
-
declare const AngleSliderControl: (props: AngleSliderControlProps) =>
|
|
27
|
+
declare const AngleSliderControl: (props: AngleSliderControlProps) => solid_js30.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/components/angle-slider/angle-slider-hidden-input.d.ts
|
|
30
30
|
interface AngleSliderHiddenInputBaseProps extends PolymorphicProps<'input'> {}
|
|
31
31
|
interface AngleSliderHiddenInputProps extends HTMLProps<'input'>, AngleSliderHiddenInputBaseProps {}
|
|
32
|
-
declare const AngleSliderHiddenInput: (props: AngleSliderHiddenInputProps) =>
|
|
32
|
+
declare const AngleSliderHiddenInput: (props: AngleSliderHiddenInputProps) => solid_js30.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/components/angle-slider/angle-slider-label.d.ts
|
|
35
35
|
interface AngleSliderLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
36
36
|
interface AngleSliderLabelProps extends HTMLProps<'label'>, AngleSliderLabelBaseProps {}
|
|
37
|
-
declare const AngleSliderLabel: (props: AngleSliderLabelProps) =>
|
|
37
|
+
declare const AngleSliderLabel: (props: AngleSliderLabelProps) => solid_js30.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/components/angle-slider/angle-slider-marker.d.ts
|
|
40
40
|
interface AngleSliderMarkerBaseProps extends PolymorphicProps<'div'>, MarkerProps {}
|
|
41
41
|
interface AngleSliderMarkerProps extends HTMLProps<'div'>, AngleSliderMarkerBaseProps {}
|
|
42
|
-
declare const AngleSliderMarker: (props: AngleSliderMarkerProps) =>
|
|
42
|
+
declare const AngleSliderMarker: (props: AngleSliderMarkerProps) => solid_js30.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/angle-slider/angle-slider-marker-group.d.ts
|
|
45
45
|
interface AngleSliderMarkerGroupBaseProps extends PolymorphicProps<'div'> {}
|
|
46
46
|
interface AngleSliderMarkerGroupProps extends HTMLProps<'div'>, AngleSliderMarkerGroupBaseProps {}
|
|
47
|
-
declare const AngleSliderMarkerGroup: (props: AngleSliderMarkerGroupProps) =>
|
|
47
|
+
declare const AngleSliderMarkerGroup: (props: AngleSliderMarkerGroupProps) => solid_js30.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/angle-slider/angle-slider-root.d.ts
|
|
50
50
|
interface AngleSliderRootBaseProps extends UseAngleSliderProps, PolymorphicProps<'div'> {}
|
|
51
51
|
interface AngleSliderRootProps extends HTMLProps<'div'>, AngleSliderRootBaseProps {}
|
|
52
|
-
declare const AngleSliderRoot: (props: AngleSliderRootProps) =>
|
|
52
|
+
declare const AngleSliderRoot: (props: AngleSliderRootProps) => solid_js30.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/components/angle-slider/angle-slider-root-provider.d.ts
|
|
55
55
|
interface RootProviderProps {
|
|
@@ -57,17 +57,17 @@ interface RootProviderProps {
|
|
|
57
57
|
}
|
|
58
58
|
interface AngleSliderRootProviderBaseProps extends RootProviderProps, PolymorphicProps<'div'> {}
|
|
59
59
|
interface AngleSliderRootProviderProps extends HTMLProps<'div'>, AngleSliderRootProviderBaseProps {}
|
|
60
|
-
declare const AngleSliderRootProvider: (props: AngleSliderRootProviderProps) =>
|
|
60
|
+
declare const AngleSliderRootProvider: (props: AngleSliderRootProviderProps) => solid_js30.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/components/angle-slider/angle-slider-thumb.d.ts
|
|
63
63
|
interface AngleSliderThumbBaseProps extends PolymorphicProps<'div'> {}
|
|
64
64
|
interface AngleSliderThumbProps extends HTMLProps<'div'>, AngleSliderThumbBaseProps {}
|
|
65
|
-
declare const AngleSliderThumb: (props: AngleSliderThumbProps) =>
|
|
65
|
+
declare const AngleSliderThumb: (props: AngleSliderThumbProps) => solid_js30.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/components/angle-slider/angle-slider-value-text.d.ts
|
|
68
68
|
interface AngleSliderValueTextBaseProps extends PolymorphicProps<'div'> {}
|
|
69
69
|
interface AngleSliderValueTextProps extends HTMLProps<'div'>, AngleSliderValueTextBaseProps {}
|
|
70
|
-
declare const AngleSliderValueText: (props: AngleSliderValueTextProps) =>
|
|
70
|
+
declare const AngleSliderValueText: (props: AngleSliderValueTextProps) => solid_js30.JSX.Element;
|
|
71
71
|
declare namespace angle_slider_d_exports {
|
|
72
72
|
export { AngleSliderContext as Context, AngleSliderContextProps as ContextProps, AngleSliderControl as Control, AngleSliderControlBaseProps as ControlBaseProps, AngleSliderControlProps as ControlProps, AngleSliderHiddenInput as HiddenInput, AngleSliderHiddenInputBaseProps as HiddenInputBaseProps, AngleSliderHiddenInputProps as HiddenInputProps, AngleSliderLabel as Label, AngleSliderLabelBaseProps as LabelBaseProps, AngleSliderLabelProps as LabelProps, AngleSliderMarker as Marker, AngleSliderMarkerBaseProps as MarkerBaseProps, AngleSliderMarkerGroup as MarkerGroup, AngleSliderMarkerGroupBaseProps as MarkerGroupBaseProps, AngleSliderMarkerGroupProps as MarkerGroupProps, AngleSliderMarkerProps as MarkerProps, AngleSliderRoot as Root, AngleSliderRootBaseProps as RootBaseProps, AngleSliderRootProps as RootProps, AngleSliderRootProvider as RootProvider, AngleSliderRootProviderBaseProps as RootProviderBaseProps, AngleSliderRootProviderProps as RootProviderProps, AngleSliderThumb as Thumb, AngleSliderThumbBaseProps as ThumbBaseProps, AngleSliderThumbProps as ThumbProps, AngleSliderValueText as ValueText, AngleSliderValueTextBaseProps as ValueTextBaseProps, AngleSliderValueTextProps as ValueTextProps };
|
|
73
73
|
}
|
|
@@ -5,7 +5,7 @@ import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
|
5
5
|
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
7
7
|
import { t as angleSliderAnatomy } from "../../angle-slider-anatomy-BcpYlzjU.js";
|
|
8
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-kzDNfhyR.js";
|
|
9
9
|
import { createMemo, createUniqueId } from "solid-js";
|
|
10
10
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
11
11
|
import * as angleSlider from "@sprawlify/primitives/machines/angle-slider";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { n as PropTypes } from "../../index-CZjrxXpQ.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-DlBCj0iY.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-CFe-t-Fi.js";
|
|
4
|
+
import * as solid_js27 from "solid-js";
|
|
5
|
+
import { Accessor, JSX } from "solid-js";
|
|
6
|
+
import * as aspectRatio from "@sprawlify/primitives/machines/aspect-ratio";
|
|
7
|
+
|
|
8
|
+
//#region src/components/aspect-ratio/use-aspect-ratio.d.ts
|
|
9
|
+
interface UseAspectRatioProps extends Optional<Omit<aspectRatio.Props, 'getRootNode'>, 'id'> {}
|
|
10
|
+
interface UseAspectRatioReturn extends Accessor<aspectRatio.Api<PropTypes>> {}
|
|
11
|
+
declare const useAspectRatio: (props?: MaybeAccessor<UseAspectRatioProps>) => UseAspectRatioReturn;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/aspect-ratio/use-aspect-ratio-context.d.ts
|
|
14
|
+
interface UseAspectRatioContext extends UseAspectRatioReturn {}
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/aspect-ratio/aspect-ratio-context.d.ts
|
|
17
|
+
interface AspectRatioContextProps {
|
|
18
|
+
children: (context: UseAspectRatioContext) => JSX.Element;
|
|
19
|
+
}
|
|
20
|
+
declare const AspectRatioContext: (props: AspectRatioContextProps) => JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/components/aspect-ratio/aspect-ratio-content.d.ts
|
|
23
|
+
interface AspectRatioContentBaseProps extends PolymorphicProps<'div'> {}
|
|
24
|
+
interface AspectRatioContentProps extends HTMLProps<'div'>, AspectRatioContentBaseProps {}
|
|
25
|
+
declare const AspectRatioContent: (props: AspectRatioContentProps) => solid_js27.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/aspect-ratio/aspect-ratio-root.d.ts
|
|
28
|
+
interface AspectRatioRootBaseProps extends UseAspectRatioProps, PolymorphicProps<'div'> {}
|
|
29
|
+
interface AspectRatioRootProps extends HTMLProps<'div'>, AspectRatioRootBaseProps {}
|
|
30
|
+
declare const AspectRatioRoot: (props: AspectRatioRootProps) => solid_js27.JSX.Element;
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/components/aspect-ratio/aspect-ratio-root-provider.d.ts
|
|
33
|
+
interface RootProviderProps {
|
|
34
|
+
value: UseAspectRatioReturn;
|
|
35
|
+
}
|
|
36
|
+
interface AspectRatioRootProviderBaseProps extends RootProviderProps, PolymorphicProps<'div'> {}
|
|
37
|
+
interface AspectRatioRootProviderProps extends HTMLProps<'div'>, AspectRatioRootProviderBaseProps {}
|
|
38
|
+
declare const AspectRatioRootProvider: (props: AspectRatioRootProviderProps) => solid_js27.JSX.Element;
|
|
39
|
+
declare namespace aspect_ratio_d_exports {
|
|
40
|
+
export { AspectRatioContent as Content, AspectRatioContentBaseProps as ContentBaseProps, AspectRatioContentProps as ContentProps, AspectRatioContext as Context, AspectRatioContextProps as ContextProps, AspectRatioRoot as Root, AspectRatioRootBaseProps as RootBaseProps, AspectRatioRootProps as RootProps, AspectRatioRootProvider as RootProvider, AspectRatioRootProviderBaseProps as RootProviderBaseProps, AspectRatioRootProviderProps as RootProviderProps };
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
export { aspect_ratio_d_exports as AspectRatio, AspectRatioContent, type AspectRatioContentBaseProps, type AspectRatioContentProps, AspectRatioContext, type AspectRatioContextProps, AspectRatioRoot, type AspectRatioRootBaseProps, type AspectRatioRootProps, AspectRatioRootProvider, type AspectRatioRootProviderBaseProps, type AspectRatioRootProviderProps, type UseAspectRatioContext, type UseAspectRatioProps, type UseAspectRatioReturn, useAspectRatio, useAspectRatioContext };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-Crxbs6Ki.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CTrSA35K.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
5
|
+
import { o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-kzDNfhyR.js";
|
|
8
|
+
import { createMemo, createUniqueId } from "solid-js";
|
|
9
|
+
import { createComponent } from "solid-js/web";
|
|
10
|
+
import * as aspectRatio from "@sprawlify/primitives/machines/aspect-ratio";
|
|
11
|
+
|
|
12
|
+
//#region src/components/aspect-ratio/use-aspect-ratio-context.ts
|
|
13
|
+
const [AspectRatioProvider, useAspectRatioContext] = createContext$1({
|
|
14
|
+
hookName: "useAspectRatioContext",
|
|
15
|
+
providerName: "<AspectRatioProvider />"
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/components/aspect-ratio/aspect-ratio-context.tsx
|
|
20
|
+
const AspectRatioContext = (props) => props.children(useAspectRatioContext());
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/aspect-ratio/aspect-ratio-content.tsx
|
|
24
|
+
const AspectRatioContent = (props) => {
|
|
25
|
+
const context = useAspectRatioContext();
|
|
26
|
+
const mergedProps = mergeProps$2(() => context().getContentProps(), props);
|
|
27
|
+
return createComponent(sprawlify.div, mergedProps);
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/aspect-ratio/use-aspect-ratio.ts
|
|
32
|
+
const useAspectRatio = (props) => {
|
|
33
|
+
const environment = useEnvironmentContext();
|
|
34
|
+
const id = createUniqueId();
|
|
35
|
+
const machineProps = createMemo(() => ({
|
|
36
|
+
id,
|
|
37
|
+
getRootNode: environment().getRootNode,
|
|
38
|
+
...runIfFn(props)
|
|
39
|
+
}));
|
|
40
|
+
const service = useMachine(aspectRatio.machine, machineProps);
|
|
41
|
+
return createMemo(() => aspectRatio.connect(service, normalizeProps));
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/aspect-ratio/aspect-ratio-root.tsx
|
|
46
|
+
const AspectRatioRoot = (props) => {
|
|
47
|
+
const [useAspectRatioProps, localProps] = createSplitProps()(props, [
|
|
48
|
+
"id",
|
|
49
|
+
"ids",
|
|
50
|
+
"ratio"
|
|
51
|
+
]);
|
|
52
|
+
const context = useAspectRatio(useAspectRatioProps);
|
|
53
|
+
const mergedProps = mergeProps$2(() => context().getRootProps(), localProps);
|
|
54
|
+
return createComponent(AspectRatioProvider, {
|
|
55
|
+
value: context,
|
|
56
|
+
get children() {
|
|
57
|
+
return createComponent(sprawlify.div, mergedProps);
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/components/aspect-ratio/aspect-ratio-root-provider.tsx
|
|
64
|
+
const AspectRatioRootProvider = (props) => {
|
|
65
|
+
const [{ value: context }, localProps] = createSplitProps()(props, ["value"]);
|
|
66
|
+
const mergedProps = mergeProps$2(() => context().getRootProps(), localProps);
|
|
67
|
+
return createComponent(AspectRatioProvider, {
|
|
68
|
+
value: context,
|
|
69
|
+
get children() {
|
|
70
|
+
return createComponent(sprawlify.div, mergedProps);
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/components/aspect-ratio/aspect-ratio.ts
|
|
77
|
+
var aspect_ratio_exports = /* @__PURE__ */ __exportAll({
|
|
78
|
+
Content: () => AspectRatioContent,
|
|
79
|
+
Context: () => AspectRatioContext,
|
|
80
|
+
Root: () => AspectRatioRoot,
|
|
81
|
+
RootProvider: () => AspectRatioRootProvider
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
export { aspect_ratio_exports as AspectRatio, AspectRatioContent, AspectRatioContext, AspectRatioRoot, AspectRatioRootProvider, useAspectRatio, useAspectRatioContext };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { t as __exportAll } from "../../chunk-CbkudaSF.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CJUSlNHk.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
5
|
+
import { o as useEnvironmentContext } from "../../providers-CjCWKYvZ.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-CzIfQZJj.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.jsx";
|
|
8
|
+
import { createMemo, createUniqueId } from "solid-js";
|
|
9
|
+
import * as aspectRatio from "@sprawlify/primitives/machines/aspect-ratio";
|
|
10
|
+
|
|
11
|
+
//#region src/components/aspect-ratio/use-aspect-ratio-context.ts
|
|
12
|
+
const [AspectRatioProvider, useAspectRatioContext] = createContext$1({
|
|
13
|
+
hookName: "useAspectRatioContext",
|
|
14
|
+
providerName: "<AspectRatioProvider />"
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/components/aspect-ratio/aspect-ratio-context.tsx
|
|
19
|
+
const AspectRatioContext = (props) => props.children(useAspectRatioContext());
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/components/aspect-ratio/aspect-ratio-content.tsx
|
|
23
|
+
const AspectRatioContent = (props) => {
|
|
24
|
+
const context = useAspectRatioContext();
|
|
25
|
+
const mergedProps = mergeProps$1(() => context().getContentProps(), props);
|
|
26
|
+
return <sprawlify.div {...mergedProps} />;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/aspect-ratio/use-aspect-ratio.ts
|
|
31
|
+
const useAspectRatio = (props) => {
|
|
32
|
+
const environment = useEnvironmentContext();
|
|
33
|
+
const id = createUniqueId();
|
|
34
|
+
const machineProps = createMemo(() => ({
|
|
35
|
+
id,
|
|
36
|
+
getRootNode: environment().getRootNode,
|
|
37
|
+
...runIfFn(props)
|
|
38
|
+
}));
|
|
39
|
+
const service = useMachine(aspectRatio.machine, machineProps);
|
|
40
|
+
return createMemo(() => aspectRatio.connect(service, normalizeProps));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/aspect-ratio/aspect-ratio-root.tsx
|
|
45
|
+
const AspectRatioRoot = (props) => {
|
|
46
|
+
const [useAspectRatioProps, localProps] = createSplitProps()(props, [
|
|
47
|
+
"id",
|
|
48
|
+
"ids",
|
|
49
|
+
"ratio"
|
|
50
|
+
]);
|
|
51
|
+
const context = useAspectRatio(useAspectRatioProps);
|
|
52
|
+
const mergedProps = mergeProps$1(() => context().getRootProps(), localProps);
|
|
53
|
+
return <AspectRatioProvider value={context}>
|
|
54
|
+
<sprawlify.div {...mergedProps} />
|
|
55
|
+
</AspectRatioProvider>;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/components/aspect-ratio/aspect-ratio-root-provider.tsx
|
|
60
|
+
const AspectRatioRootProvider = (props) => {
|
|
61
|
+
const [{ value: context }, localProps] = createSplitProps()(props, ["value"]);
|
|
62
|
+
const mergedProps = mergeProps$1(() => context().getRootProps(), localProps);
|
|
63
|
+
return <AspectRatioProvider value={context}>
|
|
64
|
+
<sprawlify.div {...mergedProps} />
|
|
65
|
+
</AspectRatioProvider>;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/components/aspect-ratio/aspect-ratio.ts
|
|
70
|
+
var aspect_ratio_exports = /* @__PURE__ */ __exportAll({
|
|
71
|
+
Content: () => AspectRatioContent,
|
|
72
|
+
Context: () => AspectRatioContext,
|
|
73
|
+
Root: () => AspectRatioRoot,
|
|
74
|
+
RootProvider: () => AspectRatioRootProvider
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
//#endregion
|
|
78
|
+
export { aspect_ratio_exports as AspectRatio, AspectRatioContent, AspectRatioContext, AspectRatioRoot, AspectRatioRootProvider, useAspectRatio, useAspectRatioContext };
|