@hina-ui/vue 1.1.0 → 1.2.0
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 +485 -262
- package/dist/index.js.map +1 -1
- package/dist/types/components/accordion/AccordionContent.vue.d.ts.map +1 -1
- package/dist/types/components/avatar/AvatarGroup.vue.d.ts.map +1 -1
- package/dist/types/components/avatar/utils/children.d.ts +3 -0
- package/dist/types/components/avatar/utils/children.d.ts.map +1 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.vue.d.ts +32 -29
- package/dist/types/components/checkbox-group/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/types/components/collapsible/CollapsibleContent.vue.d.ts.map +1 -1
- package/dist/types/components/combobox/Combobox.vue.d.ts +38 -38
- package/dist/types/components/combobox/Combobox.vue.d.ts.map +1 -1
- package/dist/types/components/combobox/ComboboxList.vue.d.ts +22 -15
- package/dist/types/components/combobox/ComboboxList.vue.d.ts.map +1 -1
- package/dist/types/components/dialog/Dialog.vue.d.ts +22 -16
- package/dist/types/components/dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/types/components/dialog/dialog.variants.d.ts +32 -2
- package/dist/types/components/dialog/dialog.variants.d.ts.map +1 -1
- package/dist/types/components/image/ImageGroup.vue.d.ts.map +1 -1
- package/dist/types/components/image/composables/useImageGroupState.d.ts +7 -0
- package/dist/types/components/image/composables/useImageGroupState.d.ts.map +1 -0
- package/dist/types/components/input/Input.vue.d.ts +3 -3
- package/dist/types/components/input/Input.vue.d.ts.map +1 -1
- package/dist/types/components/input/InputBase.vue.d.ts +3 -3
- package/dist/types/components/input/InputBase.vue.d.ts.map +1 -1
- package/dist/types/components/input/input.variants.d.ts +52 -6
- package/dist/types/components/input/input.variants.d.ts.map +1 -1
- package/dist/types/components/input-group/InputGroup.vue.d.ts +3 -3
- package/dist/types/components/input-group/InputGroup.vue.d.ts.map +1 -1
- package/dist/types/components/input-group/context.d.ts +2 -1
- package/dist/types/components/input-group/context.d.ts.map +1 -1
- package/dist/types/components/input-group/input-group.variants.d.ts +13 -1
- package/dist/types/components/input-group/input-group.variants.d.ts.map +1 -1
- package/dist/types/components/listbox/Listbox.vue.d.ts +36 -29
- package/dist/types/components/listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/types/components/listbox/ListboxOptionContent.vue.d.ts +31 -0
- package/dist/types/components/listbox/ListboxOptionContent.vue.d.ts.map +1 -0
- package/dist/types/components/listbox/listbox.variants.d.ts +19 -1
- package/dist/types/components/listbox/listbox.variants.d.ts.map +1 -1
- package/dist/types/components/multi-combobox/MultiCombobox.vue.d.ts +41 -43
- package/dist/types/components/multi-combobox/MultiCombobox.vue.d.ts.map +1 -1
- package/dist/types/components/multi-combobox/composables/useMultiCombobox.d.ts +27 -0
- package/dist/types/components/multi-combobox/composables/useMultiCombobox.d.ts.map +1 -0
- package/dist/types/components/multi-select/MultiSelect.vue.d.ts +39 -41
- package/dist/types/components/multi-select/MultiSelect.vue.d.ts.map +1 -1
- package/dist/types/components/number-input/NumberInput.vue.d.ts +3 -3
- package/dist/types/components/number-input/NumberInput.vue.d.ts.map +1 -1
- package/dist/types/components/number-input/number-input.variants.d.ts +10 -1
- package/dist/types/components/number-input/number-input.variants.d.ts.map +1 -1
- package/dist/types/components/password-input/PasswordInput.vue.d.ts +3 -3
- package/dist/types/components/password-input/PasswordInput.vue.d.ts.map +1 -1
- package/dist/types/components/radio-group/RadioGroup.vue.d.ts +32 -29
- package/dist/types/components/radio-group/RadioGroup.vue.d.ts.map +1 -1
- package/dist/types/components/scroll-area/scroll-restore.d.ts +0 -1
- package/dist/types/components/scroll-area/scroll-restore.d.ts.map +1 -1
- package/dist/types/components/search-input/SearchInput.vue.d.ts +3 -3
- package/dist/types/components/search-input/SearchInput.vue.d.ts.map +1 -1
- package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts +30 -30
- package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts.map +1 -1
- package/dist/types/components/select/Select.vue.d.ts +41 -37
- package/dist/types/components/select/Select.vue.d.ts.map +1 -1
- package/dist/types/components/select/SelectList.vue.d.ts +22 -15
- package/dist/types/components/select/SelectList.vue.d.ts.map +1 -1
- package/dist/types/components/select/composables/useClearTransition.d.ts +10 -0
- package/dist/types/components/select/composables/useClearTransition.d.ts.map +1 -0
- package/dist/types/components/select/select.variants.d.ts +16 -0
- package/dist/types/components/select/select.variants.d.ts.map +1 -1
- package/dist/types/components/select/types.d.ts +7 -7
- package/dist/types/components/select/types.d.ts.map +1 -1
- package/dist/types/components/textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/types/components/textarea/composables/useTextareaSizing.d.ts +27 -0
- package/dist/types/components/textarea/composables/useTextareaSizing.d.ts.map +1 -0
- package/dist/types/components/textarea/textarea.variants.d.ts +9 -6
- package/dist/types/components/textarea/textarea.variants.d.ts.map +1 -1
- package/dist/types/lib/caret.d.ts +0 -4
- package/dist/types/lib/caret.d.ts.map +1 -1
- package/dist/types/lib/collapse.d.ts +2 -0
- package/dist/types/lib/collapse.d.ts.map +1 -1
- package/dist/types/lib/field-focus.d.ts +0 -4
- package/dist/types/lib/field-focus.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/accordion/AccordionContent.vue +2 -11
- package/src/components/avatar/AvatarGroup.vue +3 -8
- package/src/components/avatar/utils/children.ts +7 -0
- package/src/components/checkbox-group/CheckboxGroup.vue +3 -3
- package/src/components/collapsible/CollapsibleContent.vue +2 -11
- package/src/components/combobox/Combobox.vue +3 -3
- package/src/components/combobox/ComboboxList.vue +3 -3
- package/src/components/dialog/Dialog.vue +70 -39
- package/src/components/dialog/dialog.variants.ts +9 -3
- package/src/components/image/ImageGroup.vue +2 -30
- package/src/components/image/composables/useImageGroupState.ts +35 -0
- package/src/components/input/Input.vue +3 -3
- package/src/components/input/InputBase.vue +5 -5
- package/src/components/input/input.variants.ts +13 -3
- package/src/components/input-group/InputGroup.vue +11 -4
- package/src/components/input-group/context.ts +2 -1
- package/src/components/input-group/input-group.variants.ts +8 -1
- package/src/components/listbox/Listbox.vue +26 -29
- package/src/components/listbox/ListboxOptionContent.vue +28 -0
- package/src/components/listbox/listbox.variants.ts +6 -1
- package/src/components/multi-combobox/MultiCombobox.vue +14 -52
- package/src/components/multi-combobox/composables/useMultiCombobox.ts +63 -0
- package/src/components/multi-select/MultiSelect.vue +3 -4
- package/src/components/number-input/NumberInput.vue +8 -7
- package/src/components/number-input/number-input.variants.ts +5 -1
- package/src/components/password-input/PasswordInput.vue +3 -3
- package/src/components/radio-group/RadioGroup.vue +3 -3
- package/src/components/scroll-area/scroll-restore.ts +0 -5
- package/src/components/search-input/SearchInput.vue +3 -3
- package/src/components/segmented-control/SegmentedControl.vue +3 -3
- package/src/components/select/Select.vue +68 -25
- package/src/components/select/SelectList.vue +3 -3
- package/src/components/select/composables/useClearTransition.ts +25 -0
- package/src/components/select/select.variants.ts +24 -0
- package/src/components/select/types.ts +10 -8
- package/src/components/textarea/Textarea.vue +2 -41
- package/src/components/textarea/composables/useTextareaSizing.ts +54 -0
- package/src/components/textarea/textarea.variants.ts +5 -4
- package/src/lib/caret.ts +0 -4
- package/src/lib/collapse.ts +21 -1
- package/src/lib/field-focus.ts +0 -4
- package/src/styles/interaction.css +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/AccordionContent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccordionContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/AccordionContent.vue"],"names":[],"mappings":"AA8BE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAgDxC,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/AvatarGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AvatarGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/AvatarGroup.vue"],"names":[],"mappings":"AA0CE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAMvD,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAsEJ,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"children.d.ts","sourceRoot":"","sources":["../../../../../src/components/avatar/utils/children.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,KAAK,EAAE,MAAM,KAAK,CAAA;AAE1C,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,SAAS,GAAG,KAAK,EAAE,CAInE"}
|
|
@@ -1,36 +1,39 @@
|
|
|
1
1
|
import type { CheckboxVariants } from '../checkbox/checkbox.variants';
|
|
2
2
|
import type { SelectOption } from '../select/types';
|
|
3
3
|
import { type CheckboxGroupVariants } from './checkbox-group.variants';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
declare const __VLS_export: <T extends SelectOption = SelectOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
6
|
+
options: T[];
|
|
7
|
+
orientation?: CheckboxGroupVariants["orientation"];
|
|
8
|
+
size?: CheckboxVariants["size"];
|
|
9
|
+
controlPlacement?: CheckboxVariants["controlPlacement"];
|
|
10
|
+
block?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
invalid?: boolean;
|
|
13
|
+
class?: string;
|
|
14
|
+
} & {
|
|
15
|
+
modelValue?: Array<string | number>;
|
|
16
|
+
}) & {
|
|
17
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
18
|
+
}> & (typeof globalThis extends {
|
|
19
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
20
|
+
} ? P : {});
|
|
21
|
+
expose: (exposed: {}) => void;
|
|
22
|
+
attrs: any;
|
|
23
|
+
slots: {
|
|
24
|
+
option?(props: {
|
|
25
|
+
option: T;
|
|
26
|
+
}): unknown;
|
|
27
|
+
};
|
|
28
|
+
emit: (event: "update:modelValue", value: (string | number)[]) => void;
|
|
29
|
+
}>) => import("vue").VNode & {
|
|
30
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
21
31
|
};
|
|
22
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
23
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
-
"update:modelValue": (value: (string | number)[]) => any;
|
|
25
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
-
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
27
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
32
|
declare const _default: typeof __VLS_export;
|
|
30
33
|
export default _default;
|
|
31
|
-
type
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
34
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} : {
|
|
37
|
+
[K in keyof T as K]: T[K];
|
|
38
|
+
}) & {};
|
|
36
39
|
//# sourceMappingURL=CheckboxGroup.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox-group/CheckboxGroup.vue"],"names":[],"mappings":"AA0EE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"CheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox-group/CheckboxGroup.vue"],"names":[],"mappings":"AA0EE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAGL,KAAK,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C,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsibleContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/collapsible/CollapsibleContent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CollapsibleContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/collapsible/CollapsibleContent.vue"],"names":[],"mappings":"AA+BE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA+CxC,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,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"}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { type InputVariants } from '../input/input.variants';
|
|
2
2
|
import { type SelectItems, type SelectOption } from '../select/types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
3
|
+
declare const __VLS_export: <T extends SelectOption = SelectOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
5
|
+
options: SelectItems<T>;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
ignoreFilter?: boolean;
|
|
8
|
+
clearable?: boolean;
|
|
9
|
+
variant?: InputVariants["variant"];
|
|
10
|
+
size?: InputVariants["size"];
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
invalid?: boolean;
|
|
13
|
+
class?: string;
|
|
14
|
+
} & {
|
|
15
|
+
modelValue?: string | number | null;
|
|
16
|
+
search?: string;
|
|
17
|
+
open?: boolean;
|
|
18
|
+
}) & {
|
|
19
|
+
onClear?: (() => any) | undefined;
|
|
20
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
22
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
23
|
+
}> & (typeof globalThis extends {
|
|
24
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
25
|
+
} ? P : {});
|
|
26
|
+
expose: (exposed: {}) => void;
|
|
27
|
+
attrs: any;
|
|
28
|
+
slots: {
|
|
29
|
+
option?(props: {
|
|
30
|
+
option: T;
|
|
31
|
+
}): unknown;
|
|
32
|
+
};
|
|
33
|
+
emit: ((evt: "clear") => void) & (((event: "update:open", value: boolean) => void) & ((event: "update:modelValue", value: string | number | null | undefined) => void) & ((event: "update:search", value: string) => void));
|
|
34
|
+
}>) => import("vue").VNode & {
|
|
35
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
23
36
|
};
|
|
24
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
25
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
clear: () => any;
|
|
27
|
-
"update:open": (value: boolean) => any;
|
|
28
|
-
"update:modelValue": (value: string | number | null | undefined) => any;
|
|
29
|
-
"update:search": (value: string) => any;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
|
-
onClear?: (() => any) | undefined;
|
|
32
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
33
|
-
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
34
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
35
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
39
|
-
type
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
};
|
|
39
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} : {
|
|
42
|
+
[K in keyof T as K]: T[K];
|
|
43
|
+
}) & {};
|
|
44
44
|
//# sourceMappingURL=Combobox.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/combobox/Combobox.vue"],"names":[],"mappings":"AA+JE,OAAO,EAOL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAkB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"Combobox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/combobox/Combobox.vue"],"names":[],"mappings":"A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,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,20 +1,27 @@
|
|
|
1
1
|
import { type SelectItems, type SelectOption } from '../select/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})
|
|
2
|
+
declare const __VLS_export: <T extends SelectOption = SelectOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
options: SelectItems<T>;
|
|
5
|
+
keyboard?: boolean;
|
|
6
|
+
}> & (typeof globalThis extends {
|
|
7
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
8
|
+
} ? P : {});
|
|
9
|
+
expose: (exposed: {}) => void;
|
|
10
|
+
attrs: any;
|
|
11
|
+
slots: {
|
|
12
|
+
option?(props: {
|
|
13
|
+
option: T;
|
|
14
|
+
}): unknown;
|
|
15
|
+
};
|
|
16
|
+
emit: {};
|
|
17
|
+
}>) => import("vue").VNode & {
|
|
18
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
10
19
|
};
|
|
11
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
20
|
declare const _default: typeof __VLS_export;
|
|
14
21
|
export default _default;
|
|
15
|
-
type
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
22
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
23
|
+
[K in keyof T]: T[K];
|
|
24
|
+
} : {
|
|
25
|
+
[K in keyof T as K]: T[K];
|
|
26
|
+
}) & {};
|
|
20
27
|
//# sourceMappingURL=ComboboxList.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/combobox/ComboboxList.vue"],"names":[],"mappings":"AAoHE,OAAO,EAAiB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"ComboboxList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/combobox/ComboboxList.vue"],"names":[],"mappings":"AAoHE,OAAO,EAAiB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAGpF,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;WAgWO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB;iBA7VvB,WAAW,CAAC,CAAC,CAAC;mBAAa,OAAO;MA6VQ,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC1I,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;uBA1V2B;YAAE,MAAM,EAAE,CAAC,CAAA;SAAE,GAAG,OAAO;;UA4VtD,EAAE;EAEL,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,34 +1,40 @@
|
|
|
1
|
+
import { type DialogVariants } from './dialog.variants';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
title: string;
|
|
3
4
|
description?: string;
|
|
4
|
-
size?: '
|
|
5
|
-
placement?: 'center' | 'bottom';
|
|
5
|
+
size?: DialogVariants['size'];
|
|
6
|
+
placement?: 'center' | 'top' | 'bottom';
|
|
7
|
+
header?: boolean;
|
|
8
|
+
closable?: boolean;
|
|
6
9
|
locked?: boolean;
|
|
7
10
|
class?: string;
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type __VLS_Slots = {
|
|
13
|
+
default?(): unknown;
|
|
14
|
+
icon?(): unknown;
|
|
15
|
+
title?(): unknown;
|
|
16
|
+
body?(props: {
|
|
17
|
+
close: () => void;
|
|
18
|
+
}): unknown;
|
|
19
|
+
content?(props: {
|
|
20
|
+
close: () => void;
|
|
21
|
+
}): unknown;
|
|
22
|
+
footer?(props: {
|
|
23
|
+
close: () => void;
|
|
24
|
+
}): unknown;
|
|
25
|
+
};
|
|
10
26
|
type __VLS_ModelProps = {
|
|
11
27
|
'open'?: boolean;
|
|
12
28
|
};
|
|
13
29
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
14
|
-
declare var __VLS_14: {}, __VLS_83: {
|
|
15
|
-
close: typeof close;
|
|
16
|
-
}, __VLS_85: {
|
|
17
|
-
close: typeof close;
|
|
18
|
-
};
|
|
19
|
-
type __VLS_Slots = {} & {
|
|
20
|
-
default?: (props: typeof __VLS_14) => any;
|
|
21
|
-
} & {
|
|
22
|
-
content?: (props: typeof __VLS_83) => any;
|
|
23
|
-
} & {
|
|
24
|
-
footer?: (props: typeof __VLS_85) => any;
|
|
25
|
-
};
|
|
26
30
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
31
|
"update:open": (value: boolean | undefined) => any;
|
|
28
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
33
|
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
30
34
|
}>, {
|
|
31
|
-
size: "
|
|
35
|
+
size: "md" | "sm" | "lg" | "xl" | "2xl";
|
|
36
|
+
header: boolean;
|
|
37
|
+
closable: boolean;
|
|
32
38
|
locked: boolean;
|
|
33
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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":"AAyJE,O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AG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,25 +2,35 @@ import { type VariantProps } from '../../lib/tv';
|
|
|
2
2
|
export declare const dialogWrapper: import("tailwind-variants").TVReturnType<{
|
|
3
3
|
placement: {
|
|
4
4
|
center: "place-items-center p-4";
|
|
5
|
+
top: "items-start justify-items-center p-4";
|
|
5
6
|
bottom: "items-end justify-items-center p-4";
|
|
6
7
|
auto: "place-items-center p-4 max-sm:items-end max-sm:justify-items-stretch";
|
|
7
8
|
};
|
|
8
|
-
}, undefined, "", {
|
|
9
|
+
}, undefined, "pointer-events-none fixed inset-0 z-(--hn-z-overlay) grid", {
|
|
9
10
|
placement: {
|
|
10
11
|
center: "place-items-center p-4";
|
|
12
|
+
top: "items-start justify-items-center p-4";
|
|
11
13
|
bottom: "items-end justify-items-center p-4";
|
|
12
14
|
auto: "place-items-center p-4 max-sm:items-end max-sm:justify-items-stretch";
|
|
13
15
|
};
|
|
14
16
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
15
17
|
placement: {
|
|
16
18
|
center: "place-items-center p-4";
|
|
19
|
+
top: "items-start justify-items-center p-4";
|
|
17
20
|
bottom: "items-end justify-items-center p-4";
|
|
18
21
|
auto: "place-items-center p-4 max-sm:items-end max-sm:justify-items-stretch";
|
|
19
22
|
};
|
|
20
23
|
}, undefined>>;
|
|
21
24
|
export declare const dialogCard: import("tailwind-variants").TVReturnType<{
|
|
25
|
+
padded: {
|
|
26
|
+
true: "gap-4 py-(--hn-panel-p)";
|
|
27
|
+
};
|
|
28
|
+
fitViewport: {
|
|
29
|
+
true: "max-h-[calc(100dvh-2rem)]";
|
|
30
|
+
};
|
|
22
31
|
placement: {
|
|
23
32
|
center: "hn-anim-modal";
|
|
33
|
+
top: "hn-anim-sheet-top";
|
|
24
34
|
bottom: "hn-anim-sheet-bottom";
|
|
25
35
|
auto: "hn-anim-modal max-sm:hn-anim-sheet-bottom max-sm:max-w-none";
|
|
26
36
|
};
|
|
@@ -28,10 +38,19 @@ export declare const dialogCard: import("tailwind-variants").TVReturnType<{
|
|
|
28
38
|
sm: "max-w-sm";
|
|
29
39
|
md: "max-w-md";
|
|
30
40
|
lg: "max-w-xl";
|
|
41
|
+
xl: "max-w-2xl";
|
|
42
|
+
'2xl': "max-w-4xl";
|
|
43
|
+
};
|
|
44
|
+
}, undefined, "pointer-events-auto flex w-full flex-col shadow-lg outline-none", {
|
|
45
|
+
padded: {
|
|
46
|
+
true: "gap-4 py-(--hn-panel-p)";
|
|
47
|
+
};
|
|
48
|
+
fitViewport: {
|
|
49
|
+
true: "max-h-[calc(100dvh-2rem)]";
|
|
31
50
|
};
|
|
32
|
-
}, undefined, "", {
|
|
33
51
|
placement: {
|
|
34
52
|
center: "hn-anim-modal";
|
|
53
|
+
top: "hn-anim-sheet-top";
|
|
35
54
|
bottom: "hn-anim-sheet-bottom";
|
|
36
55
|
auto: "hn-anim-modal max-sm:hn-anim-sheet-bottom max-sm:max-w-none";
|
|
37
56
|
};
|
|
@@ -39,10 +58,19 @@ export declare const dialogCard: import("tailwind-variants").TVReturnType<{
|
|
|
39
58
|
sm: "max-w-sm";
|
|
40
59
|
md: "max-w-md";
|
|
41
60
|
lg: "max-w-xl";
|
|
61
|
+
xl: "max-w-2xl";
|
|
62
|
+
'2xl': "max-w-4xl";
|
|
42
63
|
};
|
|
43
64
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
65
|
+
padded: {
|
|
66
|
+
true: "gap-4 py-(--hn-panel-p)";
|
|
67
|
+
};
|
|
68
|
+
fitViewport: {
|
|
69
|
+
true: "max-h-[calc(100dvh-2rem)]";
|
|
70
|
+
};
|
|
44
71
|
placement: {
|
|
45
72
|
center: "hn-anim-modal";
|
|
73
|
+
top: "hn-anim-sheet-top";
|
|
46
74
|
bottom: "hn-anim-sheet-bottom";
|
|
47
75
|
auto: "hn-anim-modal max-sm:hn-anim-sheet-bottom max-sm:max-w-none";
|
|
48
76
|
};
|
|
@@ -50,6 +78,8 @@ export declare const dialogCard: import("tailwind-variants").TVReturnType<{
|
|
|
50
78
|
sm: "max-w-sm";
|
|
51
79
|
md: "max-w-md";
|
|
52
80
|
lg: "max-w-xl";
|
|
81
|
+
xl: "max-w-2xl";
|
|
82
|
+
'2xl': "max-w-4xl";
|
|
53
83
|
};
|
|
54
84
|
}, undefined>>;
|
|
55
85
|
export type DialogVariants = VariantProps<typeof dialogCard>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/dialog.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"dialog.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/dialog.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;cAWxB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBrB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/image/ImageGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ImageGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/image/ImageGroup.vue"],"names":[],"mappings":"AAuBE,KAAK,WAAW,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAyCxC,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;AAG/C,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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LightboxItem } from '../../lightbox/types';
|
|
2
|
+
export declare function useImageGroupState(): {
|
|
3
|
+
items: import("vue").ComputedRef<LightboxItem[]>;
|
|
4
|
+
open: import("vue").ShallowRef<boolean, boolean>;
|
|
5
|
+
index: import("vue").ShallowRef<number, number>;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=useImageGroupState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useImageGroupState.d.ts","sourceRoot":"","sources":["../../../../../src/components/image/composables/useImageGroupState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGxD,wBAAgB,kBAAkB;;;;EA8BjC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TextInputVariants } from './input.variants';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
variant?:
|
|
4
|
-
size?:
|
|
3
|
+
variant?: TextInputVariants['variant'];
|
|
4
|
+
size?: TextInputVariants['size'];
|
|
5
5
|
clearable?: boolean;
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.vue"],"names":[],"m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type
|
|
1
|
+
import { type TextInputVariants } from './input.variants';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
variant?:
|
|
4
|
-
size?:
|
|
3
|
+
variant?: TextInputVariants['variant'];
|
|
4
|
+
size?: TextInputVariants['size'];
|
|
5
5
|
clearable?: boolean;
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputBase.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input/InputBase.vue"],"names":[],"mappings":"AA+IE,OAAO,EAML,KAAK,
|
|
1
|
+
{"version":3,"file":"InputBase.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input/InputBase.vue"],"names":[],"mappings":"AA+IE,OAAO,EAML,KAAK,iBAAiB,EACvB,MAAM,kBAAkB,CAAA;AAIzB,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAA;IACtC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,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;AA0BF,iBAAS,KAAK,SAKb;AAMH,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4LxD,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOjD,QAAA,MAAM,UAAU;;;;;;;;;kFAId,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,8 +1,8 @@
|
|
|
1
1
|
import { type VariantProps } from '../../lib/tv';
|
|
2
2
|
export declare const inputHost: import("tailwind-variants").TVReturnType<{
|
|
3
3
|
variant: {
|
|
4
|
-
primary: "border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
5
|
-
secondary: "border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
4
|
+
primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
5
|
+
secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
6
6
|
};
|
|
7
7
|
size: {
|
|
8
8
|
sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
|
|
@@ -11,8 +11,8 @@ export declare const inputHost: import("tailwind-variants").TVReturnType<{
|
|
|
11
11
|
};
|
|
12
12
|
}, undefined, string[], {
|
|
13
13
|
variant: {
|
|
14
|
-
primary: "border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
15
|
-
secondary: "border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
14
|
+
primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
15
|
+
secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
16
16
|
};
|
|
17
17
|
size: {
|
|
18
18
|
sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
|
|
@@ -21,8 +21,8 @@ export declare const inputHost: import("tailwind-variants").TVReturnType<{
|
|
|
21
21
|
};
|
|
22
22
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
23
23
|
variant: {
|
|
24
|
-
primary: "border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
25
|
-
secondary: "border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
24
|
+
primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
25
|
+
secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
26
26
|
};
|
|
27
27
|
size: {
|
|
28
28
|
sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
|
|
@@ -30,6 +30,51 @@ export declare const inputHost: import("tailwind-variants").TVReturnType<{
|
|
|
30
30
|
lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
|
|
31
31
|
};
|
|
32
32
|
}, undefined>>;
|
|
33
|
+
export declare const textInputHost: import("tailwind-variants").TVReturnType<{
|
|
34
|
+
variant: {
|
|
35
|
+
bare: "rounded-none border-0 bg-transparent shadow-none outline-none";
|
|
36
|
+
};
|
|
37
|
+
}, undefined, undefined, {
|
|
38
|
+
variant: {
|
|
39
|
+
primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
40
|
+
secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
|
|
44
|
+
md: "h-[var(--hn-control-h-md)] text-base [--hn-input-h:var(--hn-control-h-md)] [--hn-input-px:var(--hn-control-px-md)] [--hn-input-icon:1rem]";
|
|
45
|
+
lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
|
|
46
|
+
};
|
|
47
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
48
|
+
variant: {
|
|
49
|
+
primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
50
|
+
secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
51
|
+
};
|
|
52
|
+
size: {
|
|
53
|
+
sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
|
|
54
|
+
md: "h-[var(--hn-control-h-md)] text-base [--hn-input-h:var(--hn-control-h-md)] [--hn-input-px:var(--hn-control-px-md)] [--hn-input-icon:1rem]";
|
|
55
|
+
lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
|
|
56
|
+
};
|
|
57
|
+
}, undefined, string[], {
|
|
58
|
+
variant: {
|
|
59
|
+
primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
60
|
+
secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
61
|
+
};
|
|
62
|
+
size: {
|
|
63
|
+
sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
|
|
64
|
+
md: "h-[var(--hn-control-h-md)] text-base [--hn-input-h:var(--hn-control-h-md)] [--hn-input-px:var(--hn-control-px-md)] [--hn-input-icon:1rem]";
|
|
65
|
+
lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
|
|
66
|
+
};
|
|
67
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
68
|
+
variant: {
|
|
69
|
+
primary: "hn-field border-line [--hn-field-bg:var(--hn-surface)] [--hn-field-shadow:var(--hn-shadow-sm)]";
|
|
70
|
+
secondary: "hn-field border-transparent [--hn-field-bg:var(--hn-bg-inset)]";
|
|
71
|
+
};
|
|
72
|
+
size: {
|
|
73
|
+
sm: "h-[var(--hn-control-h-sm)] text-sm [--hn-input-h:var(--hn-control-h-sm)] [--hn-input-px:var(--hn-control-px-sm)] [--hn-input-icon:0.875rem]";
|
|
74
|
+
md: "h-[var(--hn-control-h-md)] text-base [--hn-input-h:var(--hn-control-h-md)] [--hn-input-px:var(--hn-control-px-md)] [--hn-input-icon:1rem]";
|
|
75
|
+
lg: "h-[var(--hn-control-h-lg)] text-md [--hn-input-h:var(--hn-control-h-lg)] [--hn-input-px:var(--hn-control-px-lg)] [--hn-input-icon:1.125rem]";
|
|
76
|
+
};
|
|
77
|
+
}, undefined>>>;
|
|
33
78
|
export declare const inputControl: import("tailwind-variants").TVReturnType<{
|
|
34
79
|
leading: {
|
|
35
80
|
true: "ps-0";
|
|
@@ -57,5 +102,6 @@ export declare const inputAction: import("tailwind-variants").TVReturnType<{} |
|
|
|
57
102
|
export declare const inputIndicator: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "cursor-pointer outline-none", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
58
103
|
export declare const inputActionSlot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex shrink-0 items-stretch self-stretch", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
59
104
|
export type InputVariants = VariantProps<typeof inputHost>;
|
|
105
|
+
export type TextInputVariants = VariantProps<typeof textInputHost>;
|
|
60
106
|
export declare const inputEmbedded: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
61
107
|
//# sourceMappingURL=input.variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/input/input.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqBpB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;cAavB,CAAA;AAEF,eAAO,MAAM,cAAc,mKAKzB,CAAA;AAEF,eAAO,MAAM,WAAW,mKAMtB,CAAA;AAEF,eAAO,MAAM,cAAc,wLAEzB,CAAA;AAEF,eAAO,MAAM,eAAe,qMAE1B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"input.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/input/input.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqBpB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAOxB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;cAavB,CAAA;AAEF,eAAO,MAAM,cAAc,mKAKzB,CAAA;AAEF,eAAO,MAAM,WAAW,mKAMtB,CAAA;AAEF,eAAO,MAAM,cAAc,wLAEzB,CAAA;AAEF,eAAO,MAAM,eAAe,qMAE1B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAA;AAC1D,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAA;AAElE,eAAO,MAAM,aAAa,mKAMxB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type TextInputVariants } from '../input/input.variants';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
variant?:
|
|
4
|
-
size?:
|
|
3
|
+
variant?: TextInputVariants['variant'];
|
|
4
|
+
size?: TextInputVariants['size'];
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
invalid?: boolean;
|
|
7
7
|
class?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/InputGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/InputGroup.vue"],"names":[],"mappings":"AAqDE,OAAO,EAAiB,KAAK,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAM/E,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAA;IACtC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAqDJ,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,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"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ComputedRef } from 'vue';
|
|
2
|
-
import type { InputVariants } from '../input/input.variants';
|
|
2
|
+
import type { InputVariants, TextInputVariants } from '../input/input.variants';
|
|
3
3
|
export interface InputGroupContext {
|
|
4
|
+
variant?: ComputedRef<TextInputVariants['variant']>;
|
|
4
5
|
size: ComputedRef<InputVariants['size']>;
|
|
5
6
|
disabled: ComputedRef<boolean>;
|
|
6
7
|
invalid: ComputedRef<boolean>;
|