@sprawlify/vue 0.0.82 → 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-CuRMid0u.d.ts → alert-dialog-anatomy-DT5onog4.d.ts} +1 -1
- package/dist/carousel-anatomy-CQHgDb2I.d.ts +6 -0
- package/dist/{checkbox-anatomy-C98sOqXS.d.ts → checkbox-anatomy-D01zOAxc.d.ts} +1 -1
- package/dist/{collapsible-DjMeJSQq.js → collapsible-YxCX30T0.js} +2 -3
- package/dist/{collection-D_pMm6Yu.js → collection-D5aavLcu.js} +1 -1
- package/dist/color-picker-anatomy-r9WsDFfY.d.ts +6 -0
- package/dist/combobox-anatomy-BO1UsZ8F.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +17 -17
- package/dist/components/accordion/index.js +5 -6
- package/dist/components/alert-dialog/index.d.ts +35 -36
- package/dist/components/alert-dialog/index.js +4 -5
- package/dist/components/anatomy.d.ts +51 -51
- package/dist/components/angle-slider/index.d.ts +18 -18
- package/dist/components/angle-slider/index.js +2 -3
- package/dist/components/aspect-ratio/index.d.ts +8 -8
- package/dist/components/aspect-ratio/index.js +2 -3
- package/dist/components/avatar/index.d.ts +12 -12
- package/dist/components/avatar/index.js +2 -3
- package/dist/components/bottom-sheet/index.d.ts +23 -23
- package/dist/components/bottom-sheet/index.js +5 -6
- package/dist/components/carousel/index.d.ts +20 -20
- package/dist/components/carousel/index.js +2 -3
- package/dist/components/checkbox/index.d.ts +22 -22
- package/dist/components/checkbox/index.js +5 -6
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +18 -18
- package/dist/components/clipboard/index.js +2 -3
- package/dist/components/collapsible/index.d.ts +15 -15
- package/dist/components/collapsible/index.js +2 -3
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +50 -50
- package/dist/components/color-picker/index.js +5 -6
- package/dist/components/combobox/index.d.ts +34 -34
- package/dist/components/combobox/index.js +6 -7
- package/dist/components/date-picker/index.d.ts +43 -43
- package/dist/components/date-picker/index.js +4 -5
- package/dist/components/dialog/index.d.ts +35 -36
- package/dist/components/dialog/index.js +4 -5
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +1 -2
- package/dist/components/dropdown-menu/index.d.ts +55 -55
- package/dist/components/dropdown-menu/index.js +4 -5
- package/dist/components/editable/index.d.ts +27 -27
- package/dist/components/editable/index.js +3 -4
- package/dist/components/field/index.d.ts +24 -24
- package/dist/components/field/index.js +2 -3
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/fieldset/index.js +2 -3
- package/dist/components/file-upload/index.d.ts +25 -25
- package/dist/components/file-upload/index.js +3 -4
- package/dist/components/floating-panel/index.d.ts +24 -24
- package/dist/components/floating-panel/index.js +3 -4
- package/dist/components/focus-trap/index.d.ts +5 -5
- package/dist/components/focus-trap/index.js +2 -3
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +26 -26
- package/dist/components/hover-card/index.js +4 -5
- package/dist/components/image-cropper/index.d.ts +15 -15
- package/dist/components/image-cropper/index.js +2 -3
- package/dist/components/json-tree-view/index.d.ts +10 -10
- package/dist/components/json-tree-view/index.js +6 -7
- package/dist/components/listbox/index.d.ts +23 -23
- package/dist/components/listbox/index.js +3 -4
- package/dist/components/marquee/index.d.ts +24 -24
- package/dist/components/marquee/index.js +2 -3
- package/dist/components/navigation-menu/index.d.ts +21 -21
- package/dist/components/navigation-menu/index.js +4 -5
- package/dist/components/number-input/index.d.ts +21 -21
- package/dist/components/number-input/index.js +3 -4
- package/dist/components/pagination/index.d.ts +16 -16
- package/dist/components/pagination/index.js +2 -3
- package/dist/components/password-input/index.d.ts +25 -25
- package/dist/components/password-input/index.js +3 -4
- package/dist/components/pin-input/index.d.ts +20 -20
- package/dist/components/pin-input/index.js +3 -4
- package/dist/components/popover/index.d.ts +38 -38
- package/dist/components/popover/index.js +4 -5
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +2 -3
- package/dist/components/progress/index.d.ts +16 -16
- package/dist/components/progress/index.js +2 -3
- package/dist/components/qr-code/index.d.ts +12 -12
- package/dist/components/qr-code/index.js +2 -3
- package/dist/components/radio-group/index.d.ts +18 -18
- package/dist/components/radio-group/index.js +4 -5
- package/dist/components/rating-group/index.d.ts +16 -16
- package/dist/components/rating-group/index.js +3 -4
- package/dist/components/scroll-area/index.d.ts +13 -13
- package/dist/components/scroll-area/index.js +2 -3
- package/dist/components/segment-group/index.d.ts +17 -17
- package/dist/components/segment-group/index.js +2 -3
- package/dist/components/select/index.d.ts +35 -35
- package/dist/components/select/index.js +6 -7
- package/dist/components/separator/index.d.ts +8 -8
- package/dist/components/separator/index.js +2 -3
- package/dist/components/signature-pad/index.d.ts +16 -16
- package/dist/components/signature-pad/index.js +3 -4
- package/dist/components/slider/index.d.ts +23 -23
- package/dist/components/slider/index.js +2 -3
- package/dist/components/splitter/index.d.ts +13 -13
- package/dist/components/splitter/index.js +2 -3
- package/dist/components/steps/index.d.ts +21 -21
- package/dist/components/steps/index.js +2 -3
- package/dist/components/switch/index.d.ts +16 -16
- package/dist/components/switch/index.js +3 -4
- package/dist/components/tabs/index.d.ts +15 -15
- package/dist/components/tabs/index.js +4 -5
- package/dist/components/tags-input/index.d.ts +17 -17
- package/dist/components/tags-input/index.js +3 -4
- package/dist/components/timer/index.d.ts +15 -15
- package/dist/components/timer/index.js +2 -3
- package/dist/components/toast/index.d.ts +12 -12
- package/dist/components/toast/index.js +1 -2
- package/dist/components/toggle/index.d.ts +10 -10
- package/dist/components/toggle/index.js +2 -3
- package/dist/components/toggle-group/index.d.ts +11 -11
- package/dist/components/toggle-group/index.js +2 -3
- package/dist/components/tooltip/index.d.ts +20 -20
- package/dist/components/tooltip/index.js +4 -5
- package/dist/components/tour/index.d.ts +32 -32
- package/dist/components/tour/index.js +4 -5
- package/dist/components/tree-view/index.d.ts +6 -6
- package/dist/components/tree-view/index.js +5 -6
- package/dist/date-picker-anatomy-CMHPPPhK.d.ts +6 -0
- package/dist/{factory-yh31h0Rm.js → factory-BQk6RiOp.js} +53 -2
- package/dist/factory-D4YHm1ne.d.ts +22 -0
- package/dist/{field-DMx_y6S-.js → field-CSIjIoIl.js} +1 -2
- package/dist/{field-anatomy-CaySAbVn.d.ts → field-anatomy-9oS_bdTz.d.ts} +2 -2
- package/dist/{fieldset-4Y4cXm81.js → fieldset-B_KIoaji.js} +1 -2
- package/dist/fieldset-anatomy-Cq_ynep1.d.ts +6 -0
- package/dist/{image-cropper-anatomy-CM-WDJKf.d.ts → image-cropper-anatomy-CyP4JFSK.d.ts} +2 -2
- package/dist/{index-CnV9Q1ED.d.ts → index-CjSVsbKe.d.ts} +33 -33
- package/dist/{index-BzFZio26.d.ts → index-D4t16tbm.d.ts} +7 -7
- package/dist/{index-B4phyfX4.d.ts → index-rfwGwC4P.d.ts} +9 -9
- package/dist/index.d.ts +5 -4
- package/dist/index.js +2 -2
- package/dist/listbox-anatomy-Df6bjHWU.d.ts +6 -0
- package/dist/{presence-BuHH-PkI.js → presence-CI76Mcpo.js} +1 -2
- package/dist/{segment-group-anatomy-C3ovL82h.d.ts → segment-group-anatomy-DzHeIm8g.d.ts} +1 -1
- package/dist/{tour-anatomy-CTFlgvHt.d.ts → tour-anatomy-DOo3BofU.d.ts} +1 -1
- package/dist/{tree-view-D0uubGi5.js → tree-view-4zY74_JI.js} +5 -6
- package/package.json +6 -2
- package/dist/carousel-anatomy-kcMp3ulc.d.ts +0 -6
- package/dist/color-picker-anatomy-DvFLVhPw.d.ts +0 -6
- package/dist/combobox-anatomy-BiWYA47x.d.ts +0 -6
- package/dist/date-picker-anatomy-BcSX6gth.d.ts +0 -6
- package/dist/factory-BiWWKx2m.d.ts +0 -8
- package/dist/fieldset-anatomy-JIjxInfF.d.ts +0 -6
- package/dist/listbox-anatomy-zEgrYv1V.d.ts +0 -6
- package/dist/use-forward-expose-CCAmHTUB.js +0 -54
- /package/dist/{accordion-anatomy-Ds_qvEko.d.ts → accordion-anatomy-Bxs15n6t.d.ts} +0 -0
- /package/dist/{angle-slider-anatomy-Bul1eXfZ.d.ts → angle-slider-anatomy-whG3APHN.d.ts} +0 -0
- /package/dist/{avatar-anatomy-DZ5Hy1zG.d.ts → avatar-anatomy-CHyA19ld.d.ts} +0 -0
- /package/dist/{boolean-6Zl2NWRb.js → boolean-DRNklbLz.js} +0 -0
- /package/dist/{bottom-sheet-anatomy-C08KrnBX.d.ts → bottom-sheet-anatomy-CuhyzaDM.d.ts} +0 -0
- /package/dist/{clean-props-GbfPBIot.js → clean-props-jeo_b63H.js} +0 -0
- /package/dist/{clipboard-anatomy-Cfo3bvKj.d.ts → clipboard-anatomy-CIC99c59.d.ts} +0 -0
- /package/dist/{collapsible-anatomy-BYSgsAu3.d.ts → collapsible-anatomy-hcVAnOIR.d.ts} +0 -0
- /package/dist/{create-split-props-D8oe6Rby.js → create-split-props-Cy-XbcBT.js} +0 -0
- /package/dist/{dialog-anatomy-CURzaSFr.d.ts → dialog-anatomy-DXEWrwRi.d.ts} +0 -0
- /package/dist/{dropdown-menu-anatomy-BqRBod4K.d.ts → dropdown-menu-anatomy-vJ1-APdg.d.ts} +0 -0
- /package/dist/{editable-anatomy-C7mXxQW8.d.ts → editable-anatomy-DJJXhBV1.d.ts} +0 -0
- /package/dist/{file-upload-anatomy-Bt0zLDIE.d.ts → file-upload-anatomy-iv0C7QVu.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-DH9zKbGk.d.ts → floating-panel-anatomy-Dyr3lcgZ.d.ts} +0 -0
- /package/dist/{hover-card-anatomy-ClbegkVa.d.ts → hover-card-anatomy-BSDDI0Kf.d.ts} +0 -0
- /package/dist/{index-C2XO6Bu5.d.ts → index-BJ8mRK6a.d.ts} +0 -0
- /package/dist/{index-pShXx5Uh.d.ts → index-adTDBnfd.d.ts} +0 -0
- /package/dist/{marquee-anatomy-h5g9NC8A.d.ts → marquee-anatomy-BzjeMztY.d.ts} +0 -0
- /package/dist/{navigation-menu-anatomy-DfeFh6Qh.d.ts → navigation-menu-anatomy-De1ATxET.d.ts} +0 -0
- /package/dist/{number-input-anatomy-Lqh7lyJQ.d.ts → number-input-anatomy-BPS2hzM6.d.ts} +0 -0
- /package/dist/{pagination-anatomy-JUuizdyV.d.ts → pagination-anatomy-BCX85m-Q.d.ts} +0 -0
- /package/dist/{password-input-anatomy-DrlPdYal.d.ts → password-input-anatomy-CNEwJOp9.d.ts} +0 -0
- /package/dist/{pin-input-anatomy-CYPrusAJ.d.ts → pin-input-anatomy-BKdH4pKx.d.ts} +0 -0
- /package/dist/{popover-anatomy-CPDT_oiK.d.ts → popover-anatomy-BxYyvWrE.d.ts} +0 -0
- /package/dist/{presence-types-Dp8j2-3x.d.ts → presence-types-CC57eEhO.d.ts} +0 -0
- /package/dist/{progress-anatomy-CwFoZl9E.d.ts → progress-anatomy-aZfuAwWj.d.ts} +0 -0
- /package/dist/{qr-code-anatomy-BMawjUCq.d.ts → qr-code-anatomy-CxjYwfAP.d.ts} +0 -0
- /package/dist/{radio-group-anatomy-CqMEAEAo.d.ts → radio-group-anatomy-DExY7kYs.d.ts} +0 -0
- /package/dist/{rating-group-anatomy-CtMlHYGv.d.ts → rating-group-anatomy-Dc0wPZu2.d.ts} +0 -0
- /package/dist/{scroll-area-anatomy-B_EypSXf.d.ts → scroll-area-anatomy-DapfnNBU.d.ts} +0 -0
- /package/dist/{select-anatomy-CwULdmYD.d.ts → select-anatomy-CitDj30H.d.ts} +0 -0
- /package/dist/{separator-anatomy-BqAq__MN.d.ts → separator-anatomy-pGDIt-mq.d.ts} +0 -0
- /package/dist/{signature-pad-anatomy-u_Sx7buV.d.ts → signature-pad-anatomy-KbYu7JMW.d.ts} +0 -0
- /package/dist/{slider-anatomy-C_epctJe.d.ts → slider-anatomy-CZoxc1p8.d.ts} +0 -0
- /package/dist/{splitter-anatomy-DFGjHFqM.d.ts → splitter-anatomy-CLOLZl0a.d.ts} +0 -0
- /package/dist/{steps-anatomy-DfpX3XHM.d.ts → steps-anatomy-lbmXkG81.d.ts} +0 -0
- /package/dist/{switch-anatomy-5pECbpDU.d.ts → switch-anatomy-pGW5yxP1.d.ts} +0 -0
- /package/dist/{tabs-anatomy-Cwluwjxt.d.ts → tabs-anatomy-DAtPeBqj.d.ts} +0 -0
- /package/dist/{tags-input-anatomy-DCOiTav9.d.ts → tags-input-anatomy-DyeuJ7Th.d.ts} +0 -0
- /package/dist/{timer-anatomy-X4tZiM_i.d.ts → timer-anatomy-IGgjTzux.d.ts} +0 -0
- /package/dist/{toast-anatomy-DUsVvX5v.d.ts → toast-anatomy-BOrHt4-_.d.ts} +0 -0
- /package/dist/{toggle-anatomy-om-9P9sX.d.ts → toggle-anatomy-xiDQ91vN.d.ts} +0 -0
- /package/dist/{toggle-group-anatomy--i6VaUi9.d.ts → toggle-group-anatomy-DBV0OT7L.d.ts} +0 -0
- /package/dist/{tooltip-anatomy-C2JI-_OT.d.ts → tooltip-anatomy-T_76c603.d.ts} +0 -0
- /package/dist/{tree-view-anatomy-D9lkagO5.d.ts → tree-view-anatomy-BZT1uz4I.d.ts} +0 -0
- /package/dist/{types-D49hIhzQ.d.ts → types-D_fjXif6.d.ts} +0 -0
- /package/dist/{use-render-strategy-D82Q7KQ3.d.ts → use-render-strategy-CEbMLMD1.d.ts} +0 -0
- /package/dist/{use-render-strategy-B0RVis2X.js → use-render-strategy-TTWaa6B7.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _sprawlify_primitives_anatomy16 from "@sprawlify/primitives/anatomy";
|
|
2
2
|
|
|
3
3
|
//#region src/components/tour/tour-anatomy.d.ts
|
|
4
|
-
declare const tourAnatomy: _sprawlify_primitives_anatomy16.AnatomyInstance<"title" | "content" | "positioner" | "closeTrigger" | "
|
|
4
|
+
declare const tourAnatomy: _sprawlify_primitives_anatomy16.AnatomyInstance<"title" | "content" | "positioner" | "closeTrigger" | "description" | "backdrop" | "control" | "progressText" | "actionTrigger" | "arrow" | "arrowTip" | "spotlight">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { tourAnatomy as t };
|
|
@@ -2,12 +2,11 @@ import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
|
2
2
|
import { n as useMachine, r as normalizeProps$1 } from "./core-DNndr38p.js";
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "./providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "./create-context-Ds1GbsVc.js";
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "./use-render-strategy-B0RVis2X.js";
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "./factory-BQk6RiOp.js";
|
|
6
|
+
import { t as collapsible_exports } from "./collapsible-YxCX30T0.js";
|
|
7
|
+
import { t as cleanProps } from "./clean-props-jeo_b63H.js";
|
|
8
|
+
import { t as createSplitProps } from "./create-split-props-Cy-XbcBT.js";
|
|
9
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "./use-render-strategy-TTWaa6B7.js";
|
|
11
10
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
12
11
|
import * as treeView from "@sprawlify/primitives/machines/tree-view";
|
|
13
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprawlify/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.84",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue wrapper for primitives.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -200,6 +200,10 @@
|
|
|
200
200
|
"types": "./dist/components/select/index.d.ts",
|
|
201
201
|
"default": "./dist/components/select/index.js"
|
|
202
202
|
},
|
|
203
|
+
"./separator": {
|
|
204
|
+
"types": "./dist/components/separator/index.d.ts",
|
|
205
|
+
"default": "./dist/components/separator/index.js"
|
|
206
|
+
},
|
|
203
207
|
"./signature-pad": {
|
|
204
208
|
"types": "./dist/components/signature-pad/index.d.ts",
|
|
205
209
|
"default": "./dist/components/signature-pad/index.js"
|
|
@@ -264,7 +268,7 @@
|
|
|
264
268
|
"access": "public"
|
|
265
269
|
},
|
|
266
270
|
"dependencies": {
|
|
267
|
-
"@sprawlify/primitives": "0.0.
|
|
271
|
+
"@sprawlify/primitives": "0.0.84"
|
|
268
272
|
},
|
|
269
273
|
"peerDependencies": {
|
|
270
274
|
"vue": ">=3.0.0"
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy1 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/carousel/carousel-anatomy.d.ts
|
|
4
|
-
declare const carouselAnatomy: _sprawlify_primitives_anatomy1.AnatomyInstance<"root" | "indicator" | "item" | "nextTrigger" | "prevTrigger" | "control" | "itemGroup" | "indicatorGroup" | "autoplayTrigger" | "progressText" | "autoplayIndicator">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { carouselAnatomy 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<"area" | "label" | "view" | "trigger" | "content" | "positioner" | "root" | "control" | "valueText" | "formatSelect" | "areaThumb" | "channelInput" | "channelSliderTrack" | "channelSliderThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderValueText" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { colorPickerAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy5 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/combobox/combobox-anatomy.d.ts
|
|
4
|
-
declare const comboboxAnatomy: _sprawlify_primitives_anatomy5.AnatomyInstance<"input" | "label" | "list" | "trigger" | "content" | "positioner" | "root" | "item" | "control" | "itemGroup" | "clearTrigger" | "itemIndicator" | "itemText" | "itemGroupLabel" | "empty">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { comboboxAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy3 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/date-picker/date-picker-anatomy.d.ts
|
|
4
|
-
declare const datePickerAnatomy: _sprawlify_primitives_anatomy3.AnatomyInstance<"input" | "label" | "table" | "view" | "trigger" | "content" | "positioner" | "root" | "nextTrigger" | "prevTrigger" | "control" | "valueText" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { datePickerAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy8 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/fieldset/fieldset-anatomy.d.ts
|
|
4
|
-
declare const fieldsetAnatomy: _sprawlify_primitives_anatomy8.AnatomyInstance<"legend" | "root" | "errorText" | "helperText">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { fieldsetAnatomy as t };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as _sprawlify_primitives_anatomy10 from "@sprawlify/primitives/anatomy";
|
|
2
|
-
|
|
3
|
-
//#region src/components/listbox/listbox-anatomy.d.ts
|
|
4
|
-
declare const listboxAnatomy: _sprawlify_primitives_anatomy10.AnatomyInstance<"input" | "label" | "content" | "root" | "item" | "itemGroup" | "valueText" | "itemIndicator" | "itemText" | "itemGroupLabel" | "empty">;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { listboxAnatomy as t };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { computed, getCurrentInstance, ref, toValue } from "vue";
|
|
2
|
-
|
|
3
|
-
//#region src/utils/unref-element.ts
|
|
4
|
-
function unrefElement(elRef) {
|
|
5
|
-
const plain = toValue(elRef);
|
|
6
|
-
return plain?.$el ?? plain;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region src/utils/use-forward-expose.ts
|
|
11
|
-
const isElement = (el) => Object.prototype.hasOwnProperty.call(el, "nodeName") && typeof el.nodeName === "string";
|
|
12
|
-
function useForwardExpose() {
|
|
13
|
-
const instance = getCurrentInstance();
|
|
14
|
-
const currentRef = ref();
|
|
15
|
-
const currentElement = computed(() => {
|
|
16
|
-
return ["#text", "#comment"].includes(currentRef.value?.$el.nodeName) ? currentRef.value?.$el.nextElementSibling : unrefElement(currentRef);
|
|
17
|
-
});
|
|
18
|
-
const localExpose = Object.assign({}, instance.exposed);
|
|
19
|
-
const ret = {};
|
|
20
|
-
for (const key in instance.props) Object.defineProperty(ret, key, {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
configurable: true,
|
|
23
|
-
get: () => instance.props[key]
|
|
24
|
-
});
|
|
25
|
-
if (Object.keys(localExpose).length > 0) for (const key in localExpose) Object.defineProperty(ret, key, {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
configurable: true,
|
|
28
|
-
get: () => localExpose[key]
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(ret, "$el", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true,
|
|
33
|
-
get: () => instance.vnode.el
|
|
34
|
-
});
|
|
35
|
-
instance.exposed = ret;
|
|
36
|
-
function forwardRef(ref) {
|
|
37
|
-
currentRef.value = ref;
|
|
38
|
-
if (isElement(ref) || !ref) return;
|
|
39
|
-
Object.defineProperty(ret, "$el", {
|
|
40
|
-
enumerable: true,
|
|
41
|
-
configurable: true,
|
|
42
|
-
get: () => ref.$el
|
|
43
|
-
});
|
|
44
|
-
instance.exposed = ret;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
forwardRef,
|
|
48
|
-
currentRef,
|
|
49
|
-
currentElement
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
//#endregion
|
|
54
|
-
export { unrefElement as n, useForwardExpose as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{navigation-menu-anatomy-DfeFh6Qh.d.ts → navigation-menu-anatomy-De1ATxET.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|