@hina-ui/vue 1.1.0 → 1.3.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 +1062 -528
- package/dist/index.js.map +1 -1
- package/dist/types/components/accordion/AccordionContent.vue.d.ts.map +1 -1
- package/dist/types/components/alert-dialog/AlertDialog.vue.d.ts +4 -0
- 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/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/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/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/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/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/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/lightbox/LightboxThumbs.vue.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/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/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/ScrollArea.vue.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/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/tabs/TabsTrigger.vue.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/anchored-overlay.d.ts +23 -0
- package/dist/types/lib/anchored-overlay.d.ts.map +1 -0
- 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/alert-dialog/AlertDialog.vue +24 -36
- 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/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/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/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/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/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/lightbox/LightboxThumbs.vue +1 -0
- 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/popover/Popover.vue +21 -5
- package/src/components/popover/PopoverContent.vue +25 -0
- package/src/components/popover/composables/usePopoverCloseFocus.ts +17 -0
- package/src/components/radio-group/RadioGroup.vue +3 -3
- package/src/components/scroll-area/ScrollArea.vue +7 -5
- package/src/components/scroll-area/composables/useScrollFocus.ts +39 -0
- 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 +9 -4
- 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/tabs/TabsTrigger.vue +6 -1
- 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/anchored-overlay.ts +110 -0
- 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
- package/src/styles/typography.css +9 -4
|
@@ -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 +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":[],"mappings":"AAgDE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.vue"],"names":[],"mappings":"AAgDE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAIzD,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;AAaJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgFxD,QAAA,IAAuB,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;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,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":"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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,WAAW,EAAqB,MAAM,KAAK,CAAA;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,WAAW,EAAqB,MAAM,KAAK,CAAA;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAE/E,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAA;IACnD,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAA;IACxC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC9B,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAC9B;AAID,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,QAE3D;AAED,wBAAgB,gBAAgB,6BAE/B"}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
export declare const inputGroup: import("tailwind-variants").TVReturnType<{
|
|
1
|
+
export declare const inputGroup: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
divided: {
|
|
3
|
+
true: "[&>*+*]:border-s [&>*+*]:border-s-line";
|
|
4
|
+
};
|
|
5
|
+
}, undefined, string[], {
|
|
6
|
+
divided: {
|
|
7
|
+
true: "[&>*+*]:border-s [&>*+*]:border-s-line";
|
|
8
|
+
};
|
|
9
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
10
|
+
divided: {
|
|
11
|
+
true: "[&>*+*]:border-s [&>*+*]:border-s-line";
|
|
12
|
+
};
|
|
13
|
+
}, undefined>>;
|
|
2
14
|
export declare const inputGroupAddon: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-muted flex shrink-0 items-center gap-2 px-[var(--hn-input-px)] whitespace-nowrap [&>svg]:size-[var(--hn-input-icon)]", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
3
15
|
//# sourceMappingURL=input-group.variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/input-group.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"input-group.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/input-group/input-group.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;cAarB,CAAA;AAEF,eAAO,MAAM,eAAe,sRAE1B,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,35 +1,42 @@
|
|
|
1
1
|
import { type SelectItems, type SelectOption } from '../select/types';
|
|
2
2
|
import { type ListboxVariants } from './listbox.variants';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
+
multiple?: boolean;
|
|
7
|
+
maxHeight?: string;
|
|
8
|
+
padded?: boolean;
|
|
9
|
+
variant?: ListboxVariants["variant"];
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
class?: string;
|
|
12
|
+
} & {
|
|
13
|
+
modelValue?: string | number | null | Array<string | number>;
|
|
14
|
+
}) & {
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string | number | (string | number)[] | null | undefined) => any) | undefined;
|
|
16
|
+
}> & (typeof globalThis extends {
|
|
17
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
18
|
+
} ? P : {});
|
|
19
|
+
expose: (exposed: {}) => void;
|
|
20
|
+
attrs: any;
|
|
21
|
+
slots: {
|
|
22
|
+
option?(props: {
|
|
23
|
+
option: T;
|
|
24
|
+
selected: boolean;
|
|
25
|
+
}): unknown;
|
|
26
|
+
trailing?(props: {
|
|
27
|
+
option: T;
|
|
28
|
+
selected: boolean;
|
|
29
|
+
}): unknown;
|
|
30
|
+
};
|
|
31
|
+
emit: (event: "update:modelValue", value: string | number | (string | number)[] | null | undefined) => void;
|
|
32
|
+
}>) => import("vue").VNode & {
|
|
33
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
18
34
|
};
|
|
19
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
20
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value: string | number | (string | number)[] | null | undefined) => any;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: string | number | (string | number)[] | null | undefined) => any) | undefined;
|
|
24
|
-
}>, {
|
|
25
|
-
maxHeight: string;
|
|
26
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
35
|
declare const _default: typeof __VLS_export;
|
|
29
36
|
export default _default;
|
|
30
|
-
type
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
37
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} : {
|
|
40
|
+
[K in keyof T as K]: T[K];
|
|
41
|
+
}) & {};
|
|
35
42
|
//# sourceMappingURL=Listbox.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Listbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/Listbox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Listbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/Listbox.vue"],"names":[],"mappings":"AAmHE,OAAO,EAAiB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEpF,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAElF,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;WAsSO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBAlSzC,WAAW,CAAC,CAAC,CAAC;mBACZ,OAAO;oBACN,MAAM;iBACT,OAAO;kBACN,eAAe,CAAC,SAAS,CAAC;mBACzB,OAAO;gBACV,MAAM;;qBAuBP,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;;;KAqQ+B,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;;uBApRQ;YAAE,MAAM,EAAE,CAAC,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;yBACxC;YAAE,MAAM,EAAE,CAAC,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;;;EAuR3D,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"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { SelectOption } from '../select/types';
|
|
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
|
+
option: T;
|
|
5
|
+
}> & (typeof globalThis extends {
|
|
6
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
7
|
+
} ? P : {});
|
|
8
|
+
expose: (exposed: {}) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {
|
|
11
|
+
option?(props: {
|
|
12
|
+
option: T;
|
|
13
|
+
selected: boolean;
|
|
14
|
+
}): unknown;
|
|
15
|
+
trailing?(props: {
|
|
16
|
+
option: T;
|
|
17
|
+
selected: boolean;
|
|
18
|
+
}): unknown;
|
|
19
|
+
};
|
|
20
|
+
emit: {};
|
|
21
|
+
}>) => import("vue").VNode & {
|
|
22
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} : {
|
|
29
|
+
[K in keyof T as K]: T[K];
|
|
30
|
+
}) & {};
|
|
31
|
+
//# sourceMappingURL=ListboxOptionContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListboxOptionContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/ListboxOptionContent.vue"],"names":[],"mappings":"AAiCE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,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;WA8FO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB;gBA5FxB,CAAC;MA4F0C,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;;uBA3FQ;YAAE,MAAM,EAAE,CAAC,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;yBACxC;YAAE,MAAM,EAAE,CAAC,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAE,GAAG,OAAO;;UA4FxD,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"}
|
|
@@ -3,18 +3,36 @@ export declare const listbox: import("tailwind-variants").TVReturnType<{
|
|
|
3
3
|
variant: {
|
|
4
4
|
primary: "border-line bg-surface border shadow-sm";
|
|
5
5
|
secondary: "bg-inset";
|
|
6
|
+
bare: "rounded-none border-0 bg-transparent shadow-none";
|
|
6
7
|
};
|
|
7
8
|
}, undefined, string[], {
|
|
8
9
|
variant: {
|
|
9
10
|
primary: "border-line bg-surface border shadow-sm";
|
|
10
11
|
secondary: "bg-inset";
|
|
12
|
+
bare: "rounded-none border-0 bg-transparent shadow-none";
|
|
11
13
|
};
|
|
12
14
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
13
15
|
variant: {
|
|
14
16
|
primary: "border-line bg-surface border shadow-sm";
|
|
15
17
|
secondary: "bg-inset";
|
|
18
|
+
bare: "rounded-none border-0 bg-transparent shadow-none";
|
|
19
|
+
};
|
|
20
|
+
}, undefined>>;
|
|
21
|
+
export declare const listboxContent: import("tailwind-variants").TVReturnType<{
|
|
22
|
+
padded: {
|
|
23
|
+
true: "p-1";
|
|
24
|
+
false: "p-0";
|
|
25
|
+
};
|
|
26
|
+
}, undefined, "flex flex-col outline-none", {
|
|
27
|
+
padded: {
|
|
28
|
+
true: "p-1";
|
|
29
|
+
false: "p-0";
|
|
30
|
+
};
|
|
31
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
32
|
+
padded: {
|
|
33
|
+
true: "p-1";
|
|
34
|
+
false: "p-0";
|
|
16
35
|
};
|
|
17
36
|
}, undefined>>;
|
|
18
|
-
export declare const listboxContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex flex-col p-1 outline-none", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
19
37
|
export type ListboxVariants = VariantProps<typeof listbox>;
|
|
20
38
|
//# sourceMappingURL=listbox.variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listbox.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/listbox.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"listbox.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/listbox.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;cAelB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;cAMzB,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAA"}
|
|
@@ -1,48 +1,46 @@
|
|
|
1
1
|
import { type InputVariants } from '../input/input.variants';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
import type { SelectItems, SelectOption } from '../select/types';
|
|
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
|
+
loading?: boolean;
|
|
9
|
+
clearable?: boolean;
|
|
10
|
+
name?: string;
|
|
11
|
+
variant?: InputVariants["variant"];
|
|
12
|
+
size?: InputVariants["size"];
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
invalid?: boolean;
|
|
15
|
+
class?: string;
|
|
16
|
+
} & {
|
|
17
|
+
modelValue?: Array<string | number>;
|
|
18
|
+
search?: string;
|
|
19
|
+
open?: boolean;
|
|
20
|
+
}) & {
|
|
21
|
+
onClear?: (() => any) | undefined;
|
|
22
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
24
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
25
|
+
}> & (typeof globalThis extends {
|
|
26
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
27
|
+
} ? P : {});
|
|
28
|
+
expose: (exposed: {}) => void;
|
|
29
|
+
attrs: any;
|
|
30
|
+
slots: {
|
|
31
|
+
option?(props: {
|
|
32
|
+
option: T;
|
|
33
|
+
}): unknown;
|
|
34
|
+
};
|
|
35
|
+
emit: ((evt: "clear") => void) & (((event: "update:open", value: boolean) => void) & ((event: "update:modelValue", value: (string | number)[]) => void) & ((event: "update:search", value: string) => void));
|
|
36
|
+
}>) => import("vue").VNode & {
|
|
37
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
38
|
};
|
|
26
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
27
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
clear: () => any;
|
|
29
|
-
"update:open": (value: boolean) => any;
|
|
30
|
-
"update:modelValue": (value: (string | number)[]) => any;
|
|
31
|
-
"update:search": (value: string) => any;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
|
-
onClear?: (() => any) | undefined;
|
|
34
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
35
|
-
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
36
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
37
|
-
}>, {
|
|
38
|
-
clearable: boolean;
|
|
39
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
39
|
declare const _default: typeof __VLS_export;
|
|
42
40
|
export default _default;
|
|
43
|
-
type
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
};
|
|
41
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} : {
|
|
44
|
+
[K in keyof T as K]: T[K];
|
|
45
|
+
}) & {};
|
|
48
46
|
//# sourceMappingURL=MultiCombobox.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiCombobox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-combobox/MultiCombobox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiCombobox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-combobox/MultiCombobox.vue"],"names":[],"mappings":"AAyLE,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAUhE,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;WAgZO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBA5YzC,WAAW,CAAC,CAAC,CAAC;sBACT,MAAM;uBACL,OAAO;kBACZ,OAAO;oBACL,OAAO;eACZ,MAAM;kBACH,aAAa,CAAC,SAAS,CAAC;eAC3B,aAAa,CAAC,MAAM,CAAC;mBACjB,OAAO;kBACR,OAAO;gBACT,MAAM;;qBA8CP,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;iBACxB,MAAM;eACR,OAAO;;;;;;KAkV2E,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;;uBAvX2B;YAAE,MAAM,EAAE,CAAC,CAAA;SAAE,GAAG,OAAO;;UAyXtD,sMAAoC;EAEvC,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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type SelectItems, type SelectOption } from '../../select/types';
|
|
3
|
+
interface MultiComboboxOptions<T extends SelectOption> {
|
|
4
|
+
options: () => SelectItems<T>;
|
|
5
|
+
model: Ref<Array<string | number>>;
|
|
6
|
+
open: Ref<boolean>;
|
|
7
|
+
disabled: () => boolean;
|
|
8
|
+
onClear: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function useMultiCombobox<T extends SelectOption>(options: MultiComboboxOptions<T>): {
|
|
11
|
+
selected: import("vue").ComputedRef<{
|
|
12
|
+
value: string | number;
|
|
13
|
+
label: string;
|
|
14
|
+
}[]>;
|
|
15
|
+
keyboard: Ref<boolean, boolean>;
|
|
16
|
+
input: import("vue").ShallowRef<{
|
|
17
|
+
$el: HTMLInputElement;
|
|
18
|
+
} | null, {
|
|
19
|
+
$el: HTMLInputElement;
|
|
20
|
+
} | null>;
|
|
21
|
+
remove: (value: string | number) => void;
|
|
22
|
+
clear: () => void;
|
|
23
|
+
onHostClick: (event: MouseEvent) => void;
|
|
24
|
+
onInputKeydown: (event: KeyboardEvent) => void;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=useMultiCombobox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMultiCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/multi-combobox/composables/useMultiCombobox.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8C,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAE1E,OAAO,EAAkB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAExF,UAAU,oBAAoB,CAAC,CAAC,SAAS,YAAY;IACnD,OAAO,EAAE,MAAM,WAAW,CAAC,CAAC,CAAC,CAAA;IAC7B,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAA;IAClC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClB,QAAQ,EAAE,MAAM,OAAO,CAAA;IACvB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,YAAY,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC;;;;;;;aAGvD,gBAAgB;;aAAhB,gBAAgB;;oBAkBzB,MAAM,GAAG,MAAM;;yBAYV,UAAU;4BAKP,aAAa;EAY7C"}
|