@mekari/pixel3-autocomplete 0.0.24 → 0.0.25-dev.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/autocomplete.d.mts +16 -6
- package/dist/autocomplete.d.ts +16 -6
- package/dist/autocomplete.js +7 -1
- package/dist/autocomplete.mjs +3 -3
- package/dist/{chunk-56BVVD65.mjs → chunk-3ZR5OOJ7.mjs} +3 -1
- package/dist/{chunk-PAF63OPQ.mjs → chunk-UFURYOQO.mjs} +2 -2
- package/dist/{chunk-Q7SGQCOH.mjs → chunk-YB6ZTIPV.mjs} +4 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -1
- package/dist/index.mjs +3 -3
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/modules/autocomplete.hooks.d.mts +2 -0
- package/dist/modules/autocomplete.hooks.d.ts +2 -0
- package/dist/modules/autocomplete.hooks.js +3 -1
- package/dist/modules/autocomplete.hooks.mjs +1 -1
- package/dist/modules/autocomplete.props.d.mts +5 -0
- package/dist/modules/autocomplete.props.d.ts +5 -0
- package/dist/modules/autocomplete.props.js +4 -0
- package/dist/modules/autocomplete.props.mjs +1 -1
- package/package.json +8 -8
package/dist/autocomplete.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
2
|
+
import * as _mekari_pixel3_input from '@mekari/pixel3-input';
|
|
2
3
|
import * as vue from 'vue';
|
|
3
4
|
import { StringNumberAnyObject } from './modules/autocomplete.props.mjs';
|
|
4
5
|
import '@mekari/pixel3-popover';
|
|
@@ -128,7 +129,11 @@ declare const MpAutocomplete: vue.DefineComponent<{
|
|
|
128
129
|
type: vue.PropType<boolean>;
|
|
129
130
|
default: boolean;
|
|
130
131
|
};
|
|
131
|
-
|
|
132
|
+
inputVariant: {
|
|
133
|
+
type: vue.PropType<_mekari_pixel3_input.InputVariant>;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
}, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("buttonAction" | "input" | "clear" | "update:modelValue" | "change" | "enter" | "scrollEnd" | "focus")[], "buttonAction" | "input" | "clear" | "update:modelValue" | "change" | "enter" | "scrollEnd" | "focus", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
132
137
|
id: {
|
|
133
138
|
type: vue.PropType<string>;
|
|
134
139
|
default: string;
|
|
@@ -253,15 +258,19 @@ declare const MpAutocomplete: vue.DefineComponent<{
|
|
|
253
258
|
type: vue.PropType<boolean>;
|
|
254
259
|
default: boolean;
|
|
255
260
|
};
|
|
261
|
+
inputVariant: {
|
|
262
|
+
type: vue.PropType<_mekari_pixel3_input.InputVariant>;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
256
265
|
}>> & {
|
|
257
|
-
|
|
258
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
266
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
259
267
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
268
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
269
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
270
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
260
271
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
261
|
-
onScrollEnd?: ((...args: any[]) => any) | undefined;
|
|
262
272
|
onButtonAction?: ((...args: any[]) => any) | undefined;
|
|
263
|
-
|
|
264
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
onScrollEnd?: ((...args: any[]) => any) | undefined;
|
|
265
274
|
}, {
|
|
266
275
|
id: string;
|
|
267
276
|
data: unknown[];
|
|
@@ -289,6 +298,7 @@ declare const MpAutocomplete: vue.DefineComponent<{
|
|
|
289
298
|
isRawValue: boolean;
|
|
290
299
|
isKeepAlive: boolean;
|
|
291
300
|
isAdaptiveWidth: boolean;
|
|
301
|
+
inputVariant: _mekari_pixel3_input.InputVariant;
|
|
292
302
|
}, {}>;
|
|
293
303
|
|
|
294
304
|
export { MpAutocomplete };
|
package/dist/autocomplete.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
2
|
+
import * as _mekari_pixel3_input from '@mekari/pixel3-input';
|
|
2
3
|
import * as vue from 'vue';
|
|
3
4
|
import { StringNumberAnyObject } from './modules/autocomplete.props.js';
|
|
4
5
|
import '@mekari/pixel3-popover';
|
|
@@ -128,7 +129,11 @@ declare const MpAutocomplete: vue.DefineComponent<{
|
|
|
128
129
|
type: vue.PropType<boolean>;
|
|
129
130
|
default: boolean;
|
|
130
131
|
};
|
|
131
|
-
|
|
132
|
+
inputVariant: {
|
|
133
|
+
type: vue.PropType<_mekari_pixel3_input.InputVariant>;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
}, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("buttonAction" | "input" | "clear" | "update:modelValue" | "change" | "enter" | "scrollEnd" | "focus")[], "buttonAction" | "input" | "clear" | "update:modelValue" | "change" | "enter" | "scrollEnd" | "focus", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
132
137
|
id: {
|
|
133
138
|
type: vue.PropType<string>;
|
|
134
139
|
default: string;
|
|
@@ -253,15 +258,19 @@ declare const MpAutocomplete: vue.DefineComponent<{
|
|
|
253
258
|
type: vue.PropType<boolean>;
|
|
254
259
|
default: boolean;
|
|
255
260
|
};
|
|
261
|
+
inputVariant: {
|
|
262
|
+
type: vue.PropType<_mekari_pixel3_input.InputVariant>;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
256
265
|
}>> & {
|
|
257
|
-
|
|
258
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
266
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
259
267
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
268
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
269
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
270
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
260
271
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
261
|
-
onScrollEnd?: ((...args: any[]) => any) | undefined;
|
|
262
272
|
onButtonAction?: ((...args: any[]) => any) | undefined;
|
|
263
|
-
|
|
264
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
onScrollEnd?: ((...args: any[]) => any) | undefined;
|
|
265
274
|
}, {
|
|
266
275
|
id: string;
|
|
267
276
|
data: unknown[];
|
|
@@ -289,6 +298,7 @@ declare const MpAutocomplete: vue.DefineComponent<{
|
|
|
289
298
|
isRawValue: boolean;
|
|
290
299
|
isKeepAlive: boolean;
|
|
291
300
|
isAdaptiveWidth: boolean;
|
|
301
|
+
inputVariant: _mekari_pixel3_input.InputVariant;
|
|
292
302
|
}, {}>;
|
|
293
303
|
|
|
294
304
|
export { MpAutocomplete };
|
package/dist/autocomplete.js
CHANGED
|
@@ -150,6 +150,10 @@ var autocompleteProps = {
|
|
|
150
150
|
isAdaptiveWidth: {
|
|
151
151
|
type: Boolean,
|
|
152
152
|
default: true
|
|
153
|
+
},
|
|
154
|
+
inputVariant: {
|
|
155
|
+
type: String,
|
|
156
|
+
default: "outline"
|
|
153
157
|
}
|
|
154
158
|
};
|
|
155
159
|
|
|
@@ -172,7 +176,8 @@ function useAutocomplete(props, emit) {
|
|
|
172
176
|
placeholder,
|
|
173
177
|
isAdaptiveWidth,
|
|
174
178
|
isInvalid,
|
|
175
|
-
isDisabled
|
|
179
|
+
isDisabled,
|
|
180
|
+
inputVariant
|
|
176
181
|
} = (0, import_vue.toRefs)(props);
|
|
177
182
|
const classes = (0, import_recipes.autocompleteSlotRecipe)();
|
|
178
183
|
const {
|
|
@@ -474,6 +479,7 @@ function useAutocomplete(props, emit) {
|
|
|
474
479
|
placeholder: placeholder == null ? void 0 : placeholder.value,
|
|
475
480
|
isInvalid: isInvalid.value,
|
|
476
481
|
isDisabled: isDisabled.value,
|
|
482
|
+
variant: inputVariant.value,
|
|
477
483
|
onInput: onInputChange,
|
|
478
484
|
onKeydown,
|
|
479
485
|
onFocus: onOpenPopover,
|
package/dist/autocomplete.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MpAutocomplete
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UFURYOQO.mjs";
|
|
4
|
+
import "./chunk-3ZR5OOJ7.mjs";
|
|
5
|
+
import "./chunk-YB6ZTIPV.mjs";
|
|
6
6
|
import "./chunk-QZ7VFGWC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
MpAutocomplete
|
|
@@ -21,7 +21,8 @@ function useAutocomplete(props, emit) {
|
|
|
21
21
|
placeholder,
|
|
22
22
|
isAdaptiveWidth,
|
|
23
23
|
isInvalid,
|
|
24
|
-
isDisabled
|
|
24
|
+
isDisabled,
|
|
25
|
+
inputVariant
|
|
25
26
|
} = toRefs(props);
|
|
26
27
|
const classes = autocompleteSlotRecipe();
|
|
27
28
|
const {
|
|
@@ -323,6 +324,7 @@ function useAutocomplete(props, emit) {
|
|
|
323
324
|
placeholder: placeholder == null ? void 0 : placeholder.value,
|
|
324
325
|
isInvalid: isInvalid.value,
|
|
325
326
|
isDisabled: isDisabled.value,
|
|
327
|
+
variant: inputVariant.value,
|
|
326
328
|
onInput: onInputChange,
|
|
327
329
|
onKeydown,
|
|
328
330
|
onFocus: onOpenPopover,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAutocomplete
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3ZR5OOJ7.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autocompleteProps
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YB6ZTIPV.mjs";
|
|
7
7
|
|
|
8
8
|
// src/autocomplete.tsx
|
|
9
9
|
import { mergeProps as _mergeProps, createTextVNode as _createTextVNode, createVNode as _createVNode } from "vue";
|
|
@@ -116,6 +116,10 @@ var autocompleteProps = {
|
|
|
116
116
|
isAdaptiveWidth: {
|
|
117
117
|
type: Boolean,
|
|
118
118
|
default: true
|
|
119
|
+
},
|
|
120
|
+
inputVariant: {
|
|
121
|
+
type: String,
|
|
122
|
+
default: "outline"
|
|
119
123
|
}
|
|
120
124
|
};
|
|
121
125
|
var autocompleteEmit = ["update:modelValue", "input", "change", "enter", "scrollEnd", "buttonAction", "focus", "clear"];
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -152,6 +152,10 @@ var autocompleteProps = {
|
|
|
152
152
|
isAdaptiveWidth: {
|
|
153
153
|
type: Boolean,
|
|
154
154
|
default: true
|
|
155
|
+
},
|
|
156
|
+
inputVariant: {
|
|
157
|
+
type: String,
|
|
158
|
+
default: "outline"
|
|
155
159
|
}
|
|
156
160
|
};
|
|
157
161
|
|
|
@@ -174,7 +178,8 @@ function useAutocomplete(props, emit) {
|
|
|
174
178
|
placeholder,
|
|
175
179
|
isAdaptiveWidth,
|
|
176
180
|
isInvalid,
|
|
177
|
-
isDisabled
|
|
181
|
+
isDisabled,
|
|
182
|
+
inputVariant
|
|
178
183
|
} = (0, import_vue.toRefs)(props);
|
|
179
184
|
const classes = (0, import_recipes.autocompleteSlotRecipe)();
|
|
180
185
|
const {
|
|
@@ -476,6 +481,7 @@ function useAutocomplete(props, emit) {
|
|
|
476
481
|
placeholder: placeholder == null ? void 0 : placeholder.value,
|
|
477
482
|
isInvalid: isInvalid.value,
|
|
478
483
|
isDisabled: isDisabled.value,
|
|
484
|
+
variant: inputVariant.value,
|
|
479
485
|
onInput: onInputChange,
|
|
480
486
|
onKeydown,
|
|
481
487
|
onFocus: onOpenPopover,
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MpAutocomplete
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UFURYOQO.mjs";
|
|
4
|
+
import "./chunk-3ZR5OOJ7.mjs";
|
|
5
|
+
import "./chunk-YB6ZTIPV.mjs";
|
|
6
6
|
import "./chunk-QZ7VFGWC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
MpAutocomplete
|
package/dist/metafile-cjs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/autocomplete.props.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/autocomplete.props.ts":{"bytes":3630,"imports":[],"format":"esm"},"src/modules/autocomplete.hooks.ts":{"bytes":13281,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/autocomplete.tsx":{"bytes":5026,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-spinner","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"src/modules/autocomplete.props.ts","kind":"import-statement","original":"./modules/autocomplete.props"},{"path":"src/modules/autocomplete.hooks.ts","kind":"import-statement","original":"./modules/autocomplete.hooks"},{"path":"@mekari/pixel3-styled-system/patterns","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":133,"imports":[{"path":"src/autocomplete.tsx","kind":"import-statement","original":"./autocomplete"}],"format":"esm"}},"outputs":{"dist/autocomplete.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-popover","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-spinner","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/patterns","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/autocomplete.tsx","inputs":{"src/autocomplete.tsx":{"bytesInOutput":5438},"src/modules/autocomplete.props.ts":{"bytesInOutput":1946},"src/modules/autocomplete.hooks.ts":{"bytesInOutput":13724}},"bytes":22231},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-popover","kind":"require-call","external":true},{"path":"@mekari/pixel3-input","kind":"require-call","external":true},{"path":"@mekari/pixel3-spinner","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/patterns","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":133},"src/autocomplete.tsx":{"bytesInOutput":5278},"src/modules/autocomplete.props.ts":{"bytesInOutput":1946},"src/modules/autocomplete.hooks.ts":{"bytesInOutput":13724}},"bytes":22221},"dist/modules/autocomplete.hooks.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/autocomplete.hooks.ts","inputs":{"src/modules/autocomplete.hooks.ts":{"bytesInOutput":13904}},"bytes":14940},"dist/modules/autocomplete.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/autocomplete.props.ts","inputs":{"src/modules/autocomplete.props.ts":{"bytesInOutput":2295}},"bytes":3263}}}
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/autocomplete.props.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/autocomplete.props.ts":{"bytes":3630,"imports":[],"format":"esm"},"src/modules/autocomplete.hooks.ts":{"bytes":13281,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/autocomplete.tsx":{"bytes":5026,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-spinner","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"src/modules/autocomplete.props.ts","kind":"import-statement","original":"./modules/autocomplete.props"},{"path":"src/modules/autocomplete.hooks.ts","kind":"import-statement","original":"./modules/autocomplete.hooks"},{"path":"@mekari/pixel3-styled-system/patterns","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":133,"imports":[{"path":"src/autocomplete.tsx","kind":"import-statement","original":"./autocomplete"}],"format":"esm"}},"outputs":{"dist/autocomplete.mjs":{"imports":[{"path":"dist/chunk-UFURYOQO.mjs","kind":"import-statement"},{"path":"dist/chunk-3ZR5OOJ7.mjs","kind":"import-statement"},{"path":"dist/chunk-YB6ZTIPV.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpAutocomplete"],"entryPoint":"src/autocomplete.tsx","inputs":{},"bytes":179},"dist/index.mjs":{"imports":[{"path":"dist/chunk-UFURYOQO.mjs","kind":"import-statement"},{"path":"dist/chunk-3ZR5OOJ7.mjs","kind":"import-statement"},{"path":"dist/chunk-YB6ZTIPV.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpAutocomplete"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":179},"dist/chunk-UFURYOQO.mjs":{"imports":[{"path":"dist/chunk-3ZR5OOJ7.mjs","kind":"import-statement"},{"path":"dist/chunk-YB6ZTIPV.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-popover","kind":"import-statement","external":true},{"path":"@mekari/pixel3-input","kind":"import-statement","external":true},{"path":"@mekari/pixel3-spinner","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/patterns","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["MpAutocomplete"],"inputs":{"src/autocomplete.tsx":{"bytesInOutput":4589}},"bytes":4762},"dist/modules/autocomplete.hooks.mjs":{"imports":[{"path":"dist/chunk-3ZR5OOJ7.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["useAutocomplete"],"entryPoint":"src/modules/autocomplete.hooks.ts","inputs":{},"bytes":121},"dist/chunk-3ZR5OOJ7.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["useAutocomplete"],"inputs":{"src/modules/autocomplete.hooks.ts":{"bytesInOutput":13080}},"bytes":13198},"dist/modules/autocomplete.props.mjs":{"imports":[{"path":"dist/chunk-YB6ZTIPV.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["autocompleteEmit","autocompleteProps"],"entryPoint":"src/modules/autocomplete.props.ts","inputs":{},"bytes":165},"dist/chunk-YB6ZTIPV.mjs":{"imports":[],"exports":["autocompleteEmit","autocompleteProps"],"inputs":{"src/modules/autocomplete.props.ts":{"bytesInOutput":2067}},"bytes":2157},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _mekari_pixel3_input from '@mekari/pixel3-input';
|
|
1
2
|
import * as vue from 'vue';
|
|
2
3
|
import { HTMLAttributes } from 'vue';
|
|
3
4
|
import { AutocompleteProps, AutocompleteEmits, StringNumberAnyObject } from './autocomplete.props.mjs';
|
|
@@ -41,6 +42,7 @@ declare function useAutocomplete(props: AutocompleteProps, emit: AutocompleteEmi
|
|
|
41
42
|
placeholder: string | undefined;
|
|
42
43
|
isInvalid: boolean;
|
|
43
44
|
isDisabled: boolean;
|
|
45
|
+
variant: _mekari_pixel3_input.InputVariant;
|
|
44
46
|
onInput: (e: Event) => void;
|
|
45
47
|
onKeydown: (e: KeyboardEvent) => void;
|
|
46
48
|
onFocus: (e: Event) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _mekari_pixel3_input from '@mekari/pixel3-input';
|
|
1
2
|
import * as vue from 'vue';
|
|
2
3
|
import { HTMLAttributes } from 'vue';
|
|
3
4
|
import { AutocompleteProps, AutocompleteEmits, StringNumberAnyObject } from './autocomplete.props.js';
|
|
@@ -41,6 +42,7 @@ declare function useAutocomplete(props: AutocompleteProps, emit: AutocompleteEmi
|
|
|
41
42
|
placeholder: string | undefined;
|
|
42
43
|
isInvalid: boolean;
|
|
43
44
|
isDisabled: boolean;
|
|
45
|
+
variant: _mekari_pixel3_input.InputVariant;
|
|
44
46
|
onInput: (e: Event) => void;
|
|
45
47
|
onKeydown: (e: KeyboardEvent) => void;
|
|
46
48
|
onFocus: (e: Event) => void;
|
|
@@ -42,7 +42,8 @@ function useAutocomplete(props, emit) {
|
|
|
42
42
|
placeholder,
|
|
43
43
|
isAdaptiveWidth,
|
|
44
44
|
isInvalid,
|
|
45
|
-
isDisabled
|
|
45
|
+
isDisabled,
|
|
46
|
+
inputVariant
|
|
46
47
|
} = (0, import_vue.toRefs)(props);
|
|
47
48
|
const classes = (0, import_recipes.autocompleteSlotRecipe)();
|
|
48
49
|
const {
|
|
@@ -344,6 +345,7 @@ function useAutocomplete(props, emit) {
|
|
|
344
345
|
placeholder: placeholder == null ? void 0 : placeholder.value,
|
|
345
346
|
isInvalid: isInvalid.value,
|
|
346
347
|
isDisabled: isDisabled.value,
|
|
348
|
+
variant: inputVariant.value,
|
|
347
349
|
onInput: onInputChange,
|
|
348
350
|
onKeydown,
|
|
349
351
|
onFocus: onOpenPopover,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { PopoverContentProps } from '@mekari/pixel3-popover';
|
|
3
|
+
import { InputVariant } from '@mekari/pixel3-input';
|
|
3
4
|
|
|
4
5
|
type PopoverContentAttrs = {
|
|
5
6
|
class?: unknown;
|
|
@@ -128,6 +129,10 @@ declare const autocompleteProps: {
|
|
|
128
129
|
type: PropType<boolean>;
|
|
129
130
|
default: boolean;
|
|
130
131
|
};
|
|
132
|
+
inputVariant: {
|
|
133
|
+
type: PropType<InputVariant>;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
131
136
|
};
|
|
132
137
|
declare const autocompleteEmit: readonly ["update:modelValue", "input", "change", "enter", "scrollEnd", "buttonAction", "focus", "clear"];
|
|
133
138
|
type AutocompleteProps = ExtractPropTypes<typeof autocompleteProps>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { PopoverContentProps } from '@mekari/pixel3-popover';
|
|
3
|
+
import { InputVariant } from '@mekari/pixel3-input';
|
|
3
4
|
|
|
4
5
|
type PopoverContentAttrs = {
|
|
5
6
|
class?: unknown;
|
|
@@ -128,6 +129,10 @@ declare const autocompleteProps: {
|
|
|
128
129
|
type: PropType<boolean>;
|
|
129
130
|
default: boolean;
|
|
130
131
|
};
|
|
132
|
+
inputVariant: {
|
|
133
|
+
type: PropType<InputVariant>;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
131
136
|
};
|
|
132
137
|
declare const autocompleteEmit: readonly ["update:modelValue", "input", "change", "enter", "scrollEnd", "buttonAction", "focus", "clear"];
|
|
133
138
|
type AutocompleteProps = ExtractPropTypes<typeof autocompleteProps>;
|
|
@@ -141,6 +141,10 @@ var autocompleteProps = {
|
|
|
141
141
|
isAdaptiveWidth: {
|
|
142
142
|
type: Boolean,
|
|
143
143
|
default: true
|
|
144
|
+
},
|
|
145
|
+
inputVariant: {
|
|
146
|
+
type: String,
|
|
147
|
+
default: "outline"
|
|
144
148
|
}
|
|
145
149
|
};
|
|
146
150
|
var autocompleteEmit = ["update:modelValue", "input", "change", "enter", "scrollEnd", "buttonAction", "focus", "clear"];
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-autocomplete",
|
|
3
3
|
"description": "Autocomplete component for mekari pixel 3",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.25-dev.1",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@mekari/pixel3-
|
|
12
|
-
"@mekari/pixel3-
|
|
13
|
-
"@mekari/pixel3-
|
|
14
|
-
"@mekari/pixel3-spinner": "0.0.
|
|
15
|
-
"@mekari/pixel3-icon": "0.1.
|
|
16
|
-
"@mekari/pixel3-popover": "0.0.
|
|
17
|
-
"@mekari/pixel3-text": "0.0.
|
|
11
|
+
"@mekari/pixel3-styled-system": "0.2.0-dev.1",
|
|
12
|
+
"@mekari/pixel3-utils": "0.1.0-dev.1",
|
|
13
|
+
"@mekari/pixel3-input": "0.0.25-dev.1",
|
|
14
|
+
"@mekari/pixel3-spinner": "0.0.25-dev.1",
|
|
15
|
+
"@mekari/pixel3-icon": "0.1.1-dev.1",
|
|
16
|
+
"@mekari/pixel3-popover": "0.0.25-dev.1",
|
|
17
|
+
"@mekari/pixel3-text": "0.0.22-dev.1"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"vue": "^3.4.9"
|