@hina-ui/vue 1.2.0 → 1.3.1
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/index.js +880 -347
- package/dist/index.js.map +1 -1
- package/dist/types/components/alert-dialog/AlertDialog.vue.d.ts +6 -2
- package/dist/types/components/alert-dialog/AlertDialog.vue.d.ts.map +1 -1
- package/dist/types/components/alert-dialog/alert-dialog.variants.d.ts +5 -0
- package/dist/types/components/alert-dialog/alert-dialog.variants.d.ts.map +1 -0
- package/dist/types/components/alert-dialog/composables/useAlertDialogConfirm.d.ts +9 -0
- package/dist/types/components/alert-dialog/composables/useAlertDialogConfirm.d.ts.map +1 -0
- package/dist/types/components/alert-dialog/composables/useConfirmDelay.d.ts +3 -0
- package/dist/types/components/alert-dialog/composables/useConfirmDelay.d.ts.map +1 -0
- package/dist/types/components/anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/types/components/code-block/CodeBlock.vue.d.ts.map +1 -1
- package/dist/types/components/code-block/code-block.variants.d.ts +6 -0
- package/dist/types/components/code-block/code-block.variants.d.ts.map +1 -0
- package/dist/types/components/code-block/composables/useCodeHighlight.d.ts +7 -0
- package/dist/types/components/code-block/composables/useCodeHighlight.d.ts.map +1 -0
- package/dist/types/components/dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/types/components/dialog/ModalContent.vue.d.ts +21 -0
- package/dist/types/components/dialog/ModalContent.vue.d.ts.map +1 -0
- package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts +18 -6
- package/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts.map +1 -1
- package/dist/types/components/file-upload/FileUpload.vue.d.ts +1 -1
- package/dist/types/components/file-upload/FileUpload.vue.d.ts.map +1 -1
- package/dist/types/components/highlight/Highlight.vue.d.ts +2 -0
- package/dist/types/components/highlight/Highlight.vue.d.ts.map +1 -1
- package/dist/types/components/highlight/composables/useHighlightMotion.d.ts +10 -0
- package/dist/types/components/highlight/composables/useHighlightMotion.d.ts.map +1 -0
- package/dist/types/components/image/Image.vue.d.ts +5 -2
- package/dist/types/components/image/Image.vue.d.ts.map +1 -1
- package/dist/types/components/image/composables/useImage.d.ts.map +1 -1
- package/dist/types/components/image/image.variants.d.ts +23 -1
- package/dist/types/components/image/image.variants.d.ts.map +1 -1
- package/dist/types/components/lightbox/LightboxThumbs.vue.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxMotion.d.ts.map +1 -1
- package/dist/types/components/lightbox/composables/useLightboxPose.d.ts.map +1 -1
- package/dist/types/components/lightbox/utils/clip.d.ts +16 -0
- package/dist/types/components/lightbox/utils/clip.d.ts.map +1 -0
- package/dist/types/components/lightbox/utils/pose.d.ts +2 -2
- package/dist/types/components/lightbox/utils/pose.d.ts.map +1 -1
- package/dist/types/components/popover/Popover.vue.d.ts +19 -6
- package/dist/types/components/popover/Popover.vue.d.ts.map +1 -1
- package/dist/types/components/popover/PopoverContent.vue.d.ts +29 -0
- package/dist/types/components/popover/PopoverContent.vue.d.ts.map +1 -0
- package/dist/types/components/popover/composables/usePopoverCloseFocus.d.ts +2 -0
- package/dist/types/components/popover/composables/usePopoverCloseFocus.d.ts.map +1 -0
- package/dist/types/components/scroll-area/ScrollArea.vue.d.ts.map +1 -1
- package/dist/types/components/scroll-area/composables/useLayerLock.d.ts.map +1 -1
- package/dist/types/components/scroll-area/composables/useScrollFocus.d.ts +17 -0
- package/dist/types/components/scroll-area/composables/useScrollFocus.d.ts.map +1 -0
- package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts.map +1 -1
- package/dist/types/components/tabs/TabsTrigger.vue.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/anchored-overlay.d.ts +19 -0
- package/dist/types/lib/anchored-overlay.d.ts.map +1 -0
- package/dist/types/lib/dialog-focus.d.ts +2 -0
- package/dist/types/lib/dialog-focus.d.ts.map +1 -0
- package/dist/types/lib/overlay-portal.d.ts +6 -0
- package/dist/types/lib/overlay-portal.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/alert-dialog/AlertDialog.vue +31 -40
- package/src/components/alert-dialog/alert-dialog.variants.ts +17 -0
- package/src/components/alert-dialog/composables/useAlertDialogConfirm.ts +29 -0
- package/src/components/alert-dialog/composables/useConfirmDelay.ts +37 -0
- package/src/components/anchor/Anchor.vue +1 -0
- package/src/components/code-block/CodeBlock.vue +15 -30
- package/src/components/code-block/code-block.variants.ts +21 -0
- package/src/components/code-block/composables/useCodeHighlight.ts +30 -0
- package/src/components/dialog/Dialog.vue +7 -4
- package/src/components/dialog/ModalContent.vue +19 -0
- package/src/components/dropdown-menu/DropdownMenu.vue +16 -4
- package/src/components/highlight/Highlight.vue +5 -4
- package/src/components/highlight/composables/useHighlightMotion.ts +22 -0
- package/src/components/image/Image.vue +9 -12
- package/src/components/image/composables/useImage.ts +6 -3
- package/src/components/image/image.variants.ts +13 -1
- package/src/components/lightbox/LightboxThumbs.vue +1 -0
- package/src/components/lightbox/composables/useLightboxMotion.ts +3 -1
- package/src/components/lightbox/composables/useLightboxPose.ts +5 -2
- package/src/components/lightbox/utils/clip.ts +117 -0
- package/src/components/lightbox/utils/pose.ts +23 -13
- package/src/components/popover/Popover.vue +26 -6
- package/src/components/popover/PopoverContent.vue +25 -0
- package/src/components/popover/composables/usePopoverCloseFocus.ts +17 -0
- package/src/components/scroll-area/ScrollArea.vue +7 -5
- package/src/components/scroll-area/composables/useLayerLock.ts +8 -9
- package/src/components/scroll-area/composables/useScrollFocus.ts +39 -0
- package/src/components/scroll-area/composables/useWheelRedirect.ts +1 -1
- package/src/components/segmented-control/SegmentedControl.vue +6 -1
- package/src/components/skeleton/LICENSE +24 -0
- package/src/components/tabs/TabsTrigger.vue +6 -1
- package/src/index.ts +2 -0
- package/src/lib/anchored-overlay.ts +107 -0
- package/src/lib/dialog-focus.ts +13 -0
- package/src/lib/overlay-portal.ts +8 -0
- package/src/styles/interaction.css +26 -3
- package/src/styles/motion.css +14 -2
- package/src/styles/semantic.css +5 -1
- package/src/styles/typography.css +9 -4
|
@@ -2,6 +2,7 @@ type __VLS_Props = {
|
|
|
2
2
|
title: string;
|
|
3
3
|
description?: string;
|
|
4
4
|
confirmText?: string;
|
|
5
|
+
confirmDelay?: number;
|
|
5
6
|
cancelText?: string;
|
|
6
7
|
tone?: 'accent' | 'danger';
|
|
7
8
|
size?: 'sm' | 'md';
|
|
@@ -13,21 +14,24 @@ type __VLS_ModelProps = {
|
|
|
13
14
|
'open'?: boolean;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
16
|
-
declare var __VLS_14: {},
|
|
17
|
+
declare var __VLS_14: {}, __VLS_67: {};
|
|
17
18
|
type __VLS_Slots = {} & {
|
|
18
19
|
default?: (props: typeof __VLS_14) => any;
|
|
19
20
|
} & {
|
|
20
|
-
content?: (props: typeof
|
|
21
|
+
content?: (props: typeof __VLS_67) => any;
|
|
21
22
|
};
|
|
22
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
24
|
cancel: () => any;
|
|
25
|
+
error: (error: unknown) => any;
|
|
24
26
|
"update:open": (value: boolean | undefined) => any;
|
|
25
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
28
|
onCancel?: (() => any) | undefined;
|
|
29
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
27
30
|
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
28
31
|
}>, {
|
|
29
32
|
size: "sm" | "md";
|
|
30
33
|
tone: "accent" | "danger";
|
|
34
|
+
confirmDelay: number;
|
|
31
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
37
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/alert-dialog/AlertDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/alert-dialog/AlertDialog.vue"],"names":[],"mappings":"AA4IE,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC1B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC/B,SAAS,CAAC,EAAE,MAAM,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAoBN,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4SxD,QAAA,IAAI,QAAQ,IAAW,EAAuB,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;;;;;;;;;UAtVH,IAAI,GAAG,IAAI;UADX,QAAQ,GAAG,QAAQ;kBAFX,MAAM;6EA6VzB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const alertDialogHeader: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex min-w-0 flex-col gap-1.5 px-(--hn-panel-p)", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
2
|
+
export declare const alertDialogContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "px-(--hn-panel-p)", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
3
|
+
export declare const alertDialogActions: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex justify-end gap-(--hn-inline-gap) px-(--hn-panel-p)", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
4
|
+
export declare const alertDialogCountdown: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "tabular-nums", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
5
|
+
//# sourceMappingURL=alert-dialog.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/alert-dialog/alert-dialog.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,4MAE5B,CAAA;AAEF,eAAO,MAAM,kBAAkB,8KAE7B,CAAA;AAEF,eAAO,MAAM,kBAAkB,qNAE7B,CAAA;AAEF,eAAO,MAAM,oBAAoB,yKAE/B,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
export declare function useAlertDialogConfirm(props: {
|
|
3
|
+
onConfirm?: () => unknown;
|
|
4
|
+
}, open: Ref<boolean | undefined>, onError: (error: unknown) => void, blocked?: () => boolean): {
|
|
5
|
+
busy: Ref<boolean, boolean>;
|
|
6
|
+
guard: (event: Event) => void;
|
|
7
|
+
confirm: () => Promise<void>;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=useAlertDialogConfirm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAlertDialogConfirm.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert-dialog/composables/useAlertDialogConfirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAEnC,wBAAgB,qBAAqB,CACnC,KAAK,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,OAAO,CAAA;CAAE,EACpC,IAAI,EAAE,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,EAC9B,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,EACjC,OAAO,GAAE,MAAM,OAAqB;;mBAId,KAAK;;EAkB5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmDelay.d.ts","sourceRoot":"","sources":["../../../../../src/components/alert-dialog/composables/useConfirmDelay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAErE,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,KAAK,EAAE,MAAM,MAAM,uBAkClF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Anchor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/anchor/Anchor.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Anchor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/anchor/Anchor.vue"],"names":[],"mappings":"AAsFE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;CACxB;AAID,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA+HJ,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/code-block/CodeBlock.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/code-block/CodeBlock.vue"],"names":[],"mappings":"AAmEE,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAsHN,QAAA,MAAM,YAAY;cAxHD,OAAO;6EA2HtB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const codeBlock: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative flex min-h-0 min-w-0 flex-col", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
2
|
+
export declare const codeBlockArea: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "hn-pre min-h-0 grow p-0", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
3
|
+
export declare const codeBlockContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "hn-pre-content m-0 w-max min-w-full", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
4
|
+
export declare const codeBlockActions: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "absolute top-2 end-2 flex items-center gap-2", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
5
|
+
export declare const codeBlockLabel: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-faint font-mono text-xs select-none", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
6
|
+
//# sourceMappingURL=code-block.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/code-block/code-block.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,mMAEpB,CAAA;AAEF,eAAO,MAAM,aAAa,oLAExB,CAAA;AAEF,eAAO,MAAM,gBAAgB,gMAE3B,CAAA;AAEF,eAAO,MAAM,gBAAgB,yMAE3B,CAAA;AAEF,eAAO,MAAM,cAAc,qMAEzB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ThemedToken } from 'shiki/core';
|
|
2
|
+
export declare function useCodeHighlight(props: {
|
|
3
|
+
code: string;
|
|
4
|
+
lang?: string;
|
|
5
|
+
html?: string;
|
|
6
|
+
}): import("vue").ShallowRef<ThemedToken[][] | null, ThemedToken[][] | null>;
|
|
7
|
+
//# sourceMappingURL=useCodeHighlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCodeHighlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/code-block/composables/useCodeHighlight.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAI7C,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,4EAwBrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/Dialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Dialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/Dialog.vue"],"names":[],"mappings":"AA6JE,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAIlF,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAA;IACvC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAMJ,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,IAAI,OAAO,CAAA;IACnB,IAAI,CAAC,IAAI,OAAO,CAAA;IAChB,KAAK,CAAC,IAAI,OAAO,CAAA;IACjB,IAAI,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,OAAO,CAAA;IAC5C,OAAO,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,OAAO,CAAA;IAC/C,MAAM,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,OAAO,CAAA;CAC/C,CAAC;AAeJ,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAmYxD,QAAA,MAAM,UAAU;;;;;;YA3aD,OAAO;cACL,OAAO;YACT,OAAO;6EA6apB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
alert?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_10: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_10) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
closeAutoFocus: (event: Event) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ModalContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/ModalContent.vue"],"names":[],"mappings":"AA2BE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAiDzC,QAAA,IAAI,QAAQ,IAAW,CAAE;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
label?: string;
|
|
3
|
+
anchor?: HTMLElement | null;
|
|
4
|
+
modal?: boolean;
|
|
5
|
+
dir?: 'ltr' | 'rtl';
|
|
3
6
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
4
7
|
align?: 'start' | 'center' | 'end';
|
|
5
8
|
sideOffset?: number;
|
|
6
9
|
class?: string;
|
|
7
10
|
};
|
|
11
|
+
type __VLS_Slots = {
|
|
12
|
+
default?(): unknown;
|
|
13
|
+
content?(): unknown;
|
|
14
|
+
};
|
|
8
15
|
type __VLS_ModelProps = {
|
|
9
16
|
'open'?: boolean;
|
|
10
17
|
};
|
|
11
18
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
-
declare var __VLS_14: {}, __VLS_34: {};
|
|
13
|
-
type __VLS_Slots = {} & {
|
|
14
|
-
default?: (props: typeof __VLS_14) => any;
|
|
15
|
-
} & {
|
|
16
|
-
content?: (props: typeof __VLS_34) => any;
|
|
17
|
-
};
|
|
18
19
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
20
|
"update:open": (value: boolean | undefined) => any;
|
|
21
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
22
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
23
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
24
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
25
|
+
closeAutoFocus: (event: Event) => any;
|
|
20
26
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
27
|
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
28
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
29
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
30
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
31
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
32
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
22
33
|
}>, {
|
|
23
34
|
side: "top" | "right" | "bottom" | "left";
|
|
24
35
|
align: "start" | "center" | "end";
|
|
25
36
|
sideOffset: number;
|
|
37
|
+
modal: boolean;
|
|
26
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
40
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/DropdownMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown-menu/DropdownMenu.vue"],"names":[],"mappings":"AAgGE,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACnB,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AASJ,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,IAAI,OAAO,CAAC;IAAC,OAAO,CAAC,IAAI,OAAO,CAAA;CAAE,CAAC;AAalE,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA2IxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;UA7KH,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;WAClC,OAAO,GAAG,QAAQ,GAAG,KAAK;gBACrB,MAAM;WAJX,OAAO;6EAmLnB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -35,8 +35,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
35
35
|
onReject?: ((rejections: FileUploadRejection[]) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
variant: "area" | "button";
|
|
38
|
-
list: boolean;
|
|
39
38
|
preview: boolean;
|
|
39
|
+
list: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUpload.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/file-upload/FileUpload.vue"],"names":[],"mappings":"AAgNE,OAAO,EAAe,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAKtE,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA+DN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;CACjC,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAoRxD,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACvF,KAAK,WAAW,GAAG,EAA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AAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACvF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;;;;;;;aA/WA,MAAM,GAAG,QAAQ;aAEjB,OAAO;UADV,OAAO;6EAkXlB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
id?: string;
|
|
3
|
+
axis?: 'x' | 'y' | 'both';
|
|
3
4
|
as?: 'div' | 'li';
|
|
4
5
|
class?: string;
|
|
5
6
|
};
|
|
6
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
8
|
as: "div" | "li";
|
|
8
9
|
id: string;
|
|
10
|
+
axis: "x" | "y" | "both";
|
|
9
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
12
|
declare const _default: typeof __VLS_export;
|
|
11
13
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Highlight.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/highlight/Highlight.vue"],"names":[],"mappings":"AAyCE,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;
|
|
1
|
+
{"version":3,"file":"Highlight.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/highlight/Highlight.vue"],"names":[],"mappings":"AAyCE,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,CAAA;IACzB,EAAE,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA2DN,QAAA,MAAM,YAAY;QA7DP,KAAK,GAAG,IAAI;QAFZ,MAAM;UACJ,GAAG,GAAG,GAAG,GAAG,MAAM;6EAiE7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function useHighlightMotion(axis: () => 'x' | 'y' | 'both'): {
|
|
2
|
+
transition: import("vue").ComputedRef<{
|
|
3
|
+
readonly duration: 0.3;
|
|
4
|
+
readonly ease: readonly [0.4, 0, 0.2, 1];
|
|
5
|
+
} | {
|
|
6
|
+
duration: number;
|
|
7
|
+
}>;
|
|
8
|
+
transformTemplate: import("vue").ComputedRef<((transform: import("motion-v").TransformProperties, generatedTransform: string) => string) | undefined>;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=useHighlightMotion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHighlightMotion.d.ts","sourceRoot":"","sources":["../../../../../src/components/highlight/composables/useHighlightMotion.ts"],"names":[],"mappings":"AAIA,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,MAAM;;;;;;;;EAiBhE"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type StyleValue } from 'vue';
|
|
1
2
|
import { type ImageVariants } from './image.variants';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
src?: string;
|
|
@@ -12,7 +13,9 @@ type __VLS_Props = {
|
|
|
12
13
|
preview?: boolean | string;
|
|
13
14
|
draggable?: boolean;
|
|
14
15
|
class?: string;
|
|
16
|
+
style?: StyleValue;
|
|
15
17
|
imageClass?: string;
|
|
18
|
+
imageStyle?: StyleValue;
|
|
16
19
|
};
|
|
17
20
|
declare var __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
|
|
18
21
|
type __VLS_Slots = {} & {
|
|
@@ -35,11 +38,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
38
|
height: number;
|
|
36
39
|
}) => any) | undefined;
|
|
37
40
|
}>, {
|
|
41
|
+
preview: boolean | string;
|
|
42
|
+
lazy: boolean;
|
|
38
43
|
fit: "fill" | "none" | "cover" | "contain" | "scale-down";
|
|
39
44
|
alt: string;
|
|
40
|
-
preview: boolean | string;
|
|
41
45
|
rootMargin: string;
|
|
42
|
-
lazy: boolean;
|
|
43
46
|
skeleton: boolean;
|
|
44
47
|
eager: boolean;
|
|
45
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/image/Image.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Image.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/image/Image.vue"],"names":[],"mappings":"AA0IE,OAAO,EAAuD,KAAK,UAAU,EAAE,M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EA2NnB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useImage.d.ts","sourceRoot":"","sources":["../../../../../src/components/image/composables/useImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoD,KAAK,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAepG,wBAAgB,QAAQ,CACtB,KAAK,EAAE;IACL,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;CAClB,EACD,IAAI,EAAE;IACJ,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IAC1D,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;CACnB;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useImage.d.ts","sourceRoot":"","sources":["../../../../../src/components/image/composables/useImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoD,KAAK,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAepG,wBAAgB,QAAQ,CACtB,KAAK,EAAE;IACL,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;CAClB,EACD,IAAI,EAAE;IACJ,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IAC1D,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;CACnB;;;;;;;;;EAiIF"}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { type VariantProps } from '../../lib/tv';
|
|
2
|
+
export declare const imageRoot: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
preview: {
|
|
4
|
+
true: "hn-focus-ring cursor-zoom-in";
|
|
5
|
+
};
|
|
6
|
+
}, undefined, "relative block w-full overflow-hidden", {
|
|
7
|
+
preview: {
|
|
8
|
+
true: "hn-focus-ring cursor-zoom-in";
|
|
9
|
+
};
|
|
10
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
11
|
+
preview: {
|
|
12
|
+
true: "hn-focus-ring cursor-zoom-in";
|
|
13
|
+
};
|
|
14
|
+
}, undefined>>;
|
|
2
15
|
export declare const image: import("tailwind-variants").TVReturnType<{
|
|
16
|
+
lazy: {
|
|
17
|
+
true: "transition-opacity duration-(--hn-duration-base) ease-enter motion-reduce:transition-none";
|
|
18
|
+
};
|
|
3
19
|
fit: {
|
|
4
20
|
cover: "object-cover";
|
|
5
21
|
contain: "object-contain";
|
|
@@ -7,7 +23,10 @@ export declare const image: import("tailwind-variants").TVReturnType<{
|
|
|
7
23
|
none: "object-none";
|
|
8
24
|
'scale-down': "object-scale-down";
|
|
9
25
|
};
|
|
10
|
-
}, undefined, "block size-full", {
|
|
26
|
+
}, undefined, "relative z-10 block size-full", {
|
|
27
|
+
lazy: {
|
|
28
|
+
true: "transition-opacity duration-(--hn-duration-base) ease-enter motion-reduce:transition-none";
|
|
29
|
+
};
|
|
11
30
|
fit: {
|
|
12
31
|
cover: "object-cover";
|
|
13
32
|
contain: "object-contain";
|
|
@@ -16,6 +35,9 @@ export declare const image: import("tailwind-variants").TVReturnType<{
|
|
|
16
35
|
'scale-down': "object-scale-down";
|
|
17
36
|
};
|
|
18
37
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
38
|
+
lazy: {
|
|
39
|
+
true: "transition-opacity duration-(--hn-duration-base) ease-enter motion-reduce:transition-none";
|
|
40
|
+
};
|
|
19
41
|
fit: {
|
|
20
42
|
cover: "object-cover";
|
|
21
43
|
contain: "object-contain";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/image/image.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"image.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/image/image.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,SAAS;;;;;;;;;;;;cAOpB,CAAA;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAehB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,KAAK,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LightboxThumbs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/LightboxThumbs.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LightboxThumbs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/lightbox/LightboxThumbs.vue"],"names":[],"mappings":"AAmFE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;AA2IJ,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLightboxMotion.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxMotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,wBAAwB,EAAE,MAAM,UAAU,CAAA;AACjF,OAAO,EAAoC,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEvF,OAAO,EAOL,KAAK,IAAI,EACV,MAAM,eAAe,CAAA;AAItB,KAAK,MAAM,GAAG,wBAAwB,CAAA;AAEtC,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,MAAM,EAAE,SAAS,EAAE,MAAM,MAAM;;;;;;;;uBAaxD,cAAc;;kBAsCnB,IAAI,GAAG,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;kBAQ7B,OAAO,CAAC,IAAI,CAAC;gBAOb,IAAI,GAAG,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"useLightboxMotion.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxMotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,wBAAwB,EAAE,MAAM,UAAU,CAAA;AACjF,OAAO,EAAoC,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEvF,OAAO,EAOL,KAAK,IAAI,EACV,MAAM,eAAe,CAAA;AAItB,KAAK,MAAM,GAAG,wBAAwB,CAAA;AAEtC,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,MAAM,EAAE,SAAS,EAAE,MAAM,MAAM;;;;;;;;uBAaxD,cAAc;;kBAsCnB,IAAI,GAAG,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;kBAQ7B,OAAO,CAAC,IAAI,CAAC;gBAOb,IAAI,GAAG,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;2BAShB,MAAM;8BAOH,MAAM,aAAa,MAAM,KAAG,OAAO;;oBAc7C,MAAM;qBAQL,MAAM;EA0B/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLightboxPose.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxPose.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"useLightboxPose.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/composables/useLightboxPose.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAY,KAAK,IAAI,EAAa,MAAM,eAAe,CAAA;AAE9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,wBAAgB,eAAe,CAC7B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,EAC5C,OAAO,EAAE,MAAM,YAAY,GAAG,SAAS;sBAmBhB,IAAI,GAAG,IAAI;EAWnC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Rect } from './pose';
|
|
2
|
+
export interface Corner {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
6
|
+
export type Corners = [Corner, Corner, Corner, Corner];
|
|
7
|
+
export declare function clipOf(el: Element | null | undefined, box: Rect): {
|
|
8
|
+
rect: {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
corners: Corners;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=clip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clip.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/utils/clip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAElC,MAAM,WAAW,MAAM;IACrB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,MAAM,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;AA6EtD,wBAAgB,MAAM,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG,EAAE,IAAI;;;;;;;;EAgC/D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ImageVariants } from '../../image/image.variants';
|
|
2
|
+
import type { Corners } from './clip';
|
|
2
3
|
import { type Size } from './zoom';
|
|
3
4
|
export interface Rect {
|
|
4
5
|
x: number;
|
|
@@ -30,9 +31,8 @@ export declare const DISMISS_COMMIT = 0.5;
|
|
|
30
31
|
export declare const DISMISS_VELOCITY = 600;
|
|
31
32
|
export declare function fitRect(natural: Size, stage: Size, rotation?: number): Rect;
|
|
32
33
|
export declare function renderedRect(box: Rect, natural: Size, fit?: ImageVariants['fit']): Rect;
|
|
33
|
-
export declare function openPose(frame: Rect, box: Rect, natural: Size, fit?: ImageVariants['fit'], radius?: number): Pose;
|
|
34
|
+
export declare function openPose(frame: Rect, box: Rect, natural: Size, fit?: ImageVariants['fit'], radius?: number | Corners, clipBox?: Rect): Pose;
|
|
34
35
|
export declare function baseScale(frame: Size, stage: Size, rotation: number): number;
|
|
35
|
-
export declare function radiusOf(el: Element | null | undefined): number;
|
|
36
36
|
export declare function dismissProgress(offsetY: number, stageHeight: number): number;
|
|
37
37
|
export declare function shouldDismiss(offsetY: number, velocityY: number, stageHeight: number): boolean;
|
|
38
38
|
//# sourceMappingURL=pose.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pose.d.ts","sourceRoot":"","sources":["../../../../../src/components/lightbox/utils/pose.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,E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C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAG5E;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAG9F"}
|
|
@@ -1,28 +1,41 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
anchor?: HTMLElement | null;
|
|
3
|
+
modal?: boolean;
|
|
2
4
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
3
5
|
align?: 'start' | 'center' | 'end';
|
|
4
6
|
sideOffset?: number;
|
|
5
7
|
padded?: boolean;
|
|
6
8
|
class?: string;
|
|
7
9
|
};
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
default?(): unknown;
|
|
12
|
+
content?(): unknown;
|
|
13
|
+
};
|
|
8
14
|
type __VLS_ModelProps = {
|
|
9
15
|
'open'?: boolean;
|
|
10
16
|
};
|
|
11
17
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
-
declare var __VLS_14: {}, __VLS_34: {};
|
|
13
|
-
type __VLS_Slots = {} & {
|
|
14
|
-
default?: (props: typeof __VLS_14) => any;
|
|
15
|
-
} & {
|
|
16
|
-
content?: (props: typeof __VLS_34) => any;
|
|
17
|
-
};
|
|
18
18
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:open": (value: boolean | undefined) => any;
|
|
20
|
+
openAutoFocus: (event: Event) => any;
|
|
21
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
22
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
23
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
24
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
25
|
+
closeAutoFocus: (event: Event) => any;
|
|
20
26
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
27
|
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
28
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
30
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
31
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
32
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
33
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
22
34
|
}>, {
|
|
23
35
|
side: "top" | "right" | "bottom" | "left";
|
|
24
36
|
align: "start" | "center" | "end";
|
|
25
37
|
sideOffset: number;
|
|
38
|
+
modal: boolean;
|
|
26
39
|
padded: boolean;
|
|
27
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/Popover.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/Popover.vue"],"names":[],"mappings":"AAqFE,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AASJ,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,IAAI,OAAO,CAAC;IAAC,OAAO,CAAC,IAAI,OAAO,CAAA;CAAE,CAAC;AAiBlE,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAiIxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;UAxKH,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;WAClC,OAAO,GAAG,QAAQ,GAAG,KAAK;gBACrB,MAAM;WAHX,OAAO;YAIN,OAAO;6EAyKpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type PopoverContentProps } from 'reka-ui';
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<PopoverContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
openAutoFocus: (event: Event) => any;
|
|
8
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
9
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
10
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
11
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
12
|
+
closeAutoFocus: (event: Event) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<PopoverContentProps> & Readonly<{
|
|
14
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
15
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
17
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
18
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
19
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=PopoverContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopoverContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/popover/PopoverContent.vue"],"names":[],"mappings":"AA4BE,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,SAAS,CAAA;AAqDlB,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePopoverCloseFocus.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/composables/usePopoverCloseFocus.ts"],"names":[],"mappings":"AAGA,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,IAGhF,OAAO,KAAK,UAUrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/ScrollArea.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScrollArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/ScrollArea.vue"],"names":[],"mappings":"AAgJE,KAAK,WAAW,GAAG;IACf,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAA;IAC9C,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;IAChD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA2JN,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAQ/C,QAAA,MAAM,UAAU;;;;YAzKD,OAAO;eAJJ,UAAU,GAAG,YAAY,GAAG,MAAM;eAKlC,OAAO;cAJR,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM;eACpC,OAAO;mBACH,OAAO;6EA8K3B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLayerLock.d.ts","sourceRoot":"","sources":["../../../../../src/components/scroll-area/composables/useLayerLock.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,KAAK,UAAU,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"useLayerLock.d.ts","sourceRoot":"","sources":["../../../../../src/components/scroll-area/composables/useLayerLock.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,KAAK,UAAU,EAAE,MAAM,KAAK,CAAA;AAclE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,GAAG,SAAS,CAAC,QAsBzE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ShallowRef } from 'vue';
|
|
2
|
+
export declare function useScrollFocus(host: ShallowRef<HTMLElement | undefined>, viewport: ShallowRef<HTMLElement | undefined>, options: () => {
|
|
3
|
+
focusable: boolean;
|
|
4
|
+
label: string;
|
|
5
|
+
}): {
|
|
6
|
+
hostFocus: import("vue").ComputedRef<{
|
|
7
|
+
tabindex: number | undefined;
|
|
8
|
+
role: string | undefined;
|
|
9
|
+
'aria-label': string | undefined;
|
|
10
|
+
}>;
|
|
11
|
+
viewportFocus: import("vue").ComputedRef<{
|
|
12
|
+
tabindex: number | undefined;
|
|
13
|
+
role: string | undefined;
|
|
14
|
+
'aria-label': string | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=useScrollFocus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollFocus.d.ts","sourceRoot":"","sources":["../../../../../src/components/scroll-area/composables/useScrollFocus.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,UAAU,EAAE,MAAM,KAAK,CAAA;AAEhE,wBAAgB,cAAc,CAC5B,IAAI,EAAE,UAAU,CAAC,WAAW,GAAG,SAAS,CAAC,EACzC,QAAQ,EAAE,UAAU,CAAC,WAAW,GAAG,SAAS,CAAC,EAC7C,OAAO,EAAE,MAAM;IAAE,SAAS,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;EAiCrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/segmented-control/SegmentedControl.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SegmentedControl.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/segmented-control/SegmentedControl.vue"],"names":[],"mappings":"AA6FE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAIL,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC3B,MAAM,8BAA8B,CAAA;AAErC,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,YAAY,GAAG,YAAY,EAC7D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA6KO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBAzKzC,CAAC,EAAE;eACL,qBAAqB,CAAC,MAAM,CAAC;sBACtB,wBAAwB,CAAC,aAAa,CAAC;gBAC7C,OAAO;mBACJ,OAAO;gBACV,MAAM;;qBA6BP,MAAM,GAAG,MAAM;;;KAuI+D,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;uBA7J2B;YAAE,MAAM,EAAE,CAAC,CAAA;SAAE,GAAG,OAAO;;;EAiKzD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsTrigger.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabsTrigger.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabsTrigger.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabsTrigger.vue"],"names":[],"mappings":"AAmDE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA0EJ,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|