eco-vue-js 0.26.7 → 0.26.9

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.
Files changed (24) hide show
  1. package/dist/components/Button/WButtonMoreItem.vue.d.ts +6 -0
  2. package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
  3. package/dist/components/Button/WButtonMoreItem.vue_vue_type_script_setup_true_lang.js +9 -0
  4. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  5. package/dist/components/Input/WInput.vue_vue_type_script_setup_true_lang.js +3 -4
  6. package/dist/components/Input/WInputAsync.vue_vue_type_script_setup_true_lang.js +1 -0
  7. package/dist/components/Input/WInputDate.vue_vue_type_script_setup_true_lang.js +1 -0
  8. package/dist/components/Input/WInputOptions.vue_vue_type_script_setup_true_lang.js +1 -0
  9. package/dist/components/Input/WInputSuggest.vue_vue_type_script_setup_true_lang.js +1 -0
  10. package/dist/components/Input/types.d.ts +2 -0
  11. package/dist/components/Input/types.d.ts.map +1 -1
  12. package/dist/components/MenuItem/WMenuItem.vue.d.ts +8 -0
  13. package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
  14. package/dist/components/MenuItem/WMenuItem.vue_vue_type_script_setup_true_lang.js +12 -2
  15. package/dist/components/Select/WSelect.vue_vue_type_script_setup_true_lang.js +1 -0
  16. package/dist/components/Select/WSelectAsync.vue_vue_type_script_setup_true_lang.js +1 -0
  17. package/dist/components/Select/WSelectAsyncSingle.vue_vue_type_script_setup_true_lang.js +1 -0
  18. package/dist/components/Select/WSelectSingle.vue_vue_type_script_setup_true_lang.js +1 -0
  19. package/dist/components/Select/WSelectStringified.vue_vue_type_script_setup_true_lang.js +1 -0
  20. package/docs/components/dropdown-menu.md +6 -0
  21. package/docs/components/input.md +5 -0
  22. package/docs/components/select.md +10 -5
  23. package/docs/llms.txt +1 -1
  24. package/package.json +1 -1
@@ -11,6 +11,12 @@ interface Props extends Partial<LinkProps> {
11
11
  href?: string;
12
12
  /** Native `download` attribute, with `href`. */
13
13
  download?: string;
14
+ /** With `to`, replaces the current history entry instead of pushing a new one. */
15
+ replace?: boolean;
16
+ /** Native `target` of the link, with `href` or `to`. */
17
+ target?: '_self' | '_blank' | '_parent' | '_top';
18
+ /** Native `rel` of the link, with `href` or `to`. */
19
+ rel?: string;
14
20
  /** Tooltip over the item. */
15
21
  tooltipText?: string;
16
22
  /** Color of the item. Types other than `primary` and `secondary` color the text at rest — a red "Delete". */
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonMoreItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonMoreItem.vue"],"names":[],"mappings":"AA0BA;AAiEA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAItD,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yDAAyD;IACzD,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,6GAA6G;IAC7G,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAWD,KAAK,WAAW,GAAG;IACjB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,IAAI,CAAA;CAClB,CAAC;AA+EF,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY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C;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"}
@@ -10,6 +10,9 @@ var WButtonMoreItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
10
10
  disabled: { type: Boolean },
11
11
  href: {},
12
12
  download: {},
13
+ replace: { type: Boolean },
14
+ target: {},
15
+ rel: {},
13
16
  tooltipText: {},
14
17
  semanticType: {},
15
18
  to: {}
@@ -21,6 +24,9 @@ var WButtonMoreItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
21
24
  to: __props.to,
22
25
  href: __props.href,
23
26
  download: __props.download,
27
+ replace: __props.replace,
28
+ target: __props.target,
29
+ rel: __props.rel,
24
30
  disabled: __props.disabled,
25
31
  "tooltip-text": __props.tooltipText,
26
32
  "semantic-type": __props.semanticType,
@@ -35,6 +41,9 @@ var WButtonMoreItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
35
41
  "to",
36
42
  "href",
37
43
  "download",
44
+ "replace",
45
+ "target",
46
+ "rel",
38
47
  "disabled",
39
48
  "tooltip-text",
40
49
  "semantic-type"
@@ -1 +1 @@
1
- {"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AA0XA;AA62BA,OAAO,KAAK,EAAC,eAAe,EAAE,UAAU,EAAY,aAAa,EAAC,MAAM,SAAS,CAAA;AACjF,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,mCAAmC,CAAA;AAoBlE,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAI/C,QAAA,MAAM,YAAY,GAAK,IAAI,SAAS,SAAS,GAAG,MAAM,EAAE,UAAU,SAAS,eAAe,GAAG,EAAE,EAC9F,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC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AC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -37,7 +37,6 @@ var _hoisted_8 = {
37
37
  key: 0,
38
38
  class: "absolute inset-0 -z-10 bg-surface-inset"
39
39
  };
40
- var maxSizeKb = 10;
41
40
  var WInput_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
42
41
  inheritAttrs: false,
43
42
  __name: "WInput",
@@ -50,6 +49,7 @@ var WInput_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
50
49
  icon: {},
51
50
  size: { default: 10 },
52
51
  maxLength: {},
52
+ maxSizeKb: { default: 100 },
53
53
  step: {},
54
54
  min: {},
55
55
  max: {},
@@ -364,11 +364,10 @@ var WInput_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
364
364
  timeout = void 0;
365
365
  }, typeof props.autofocus === "number" ? props.autofocus : 250);
366
366
  };
367
- const maxSize = maxSizeKb * 1024;
368
367
  let closeModal = null;
369
368
  const processFile = async (file) => {
370
- if (file.size > maxSize) {
371
- fieldWrapperRef.value?.showMessage(`File is too large. Max size is ${maxSizeKb.toFixed(0)} KB`, 4e3);
369
+ if (file.size > props.maxSizeKb * 1024) {
370
+ fieldWrapperRef.value?.showMessage(`File is too large. Max size is ${props.maxSizeKb.toFixed(0)} KB`, 4e3);
372
371
  return;
373
372
  }
374
373
  const text = await file.text();
@@ -15,6 +15,7 @@ var WInputAsync_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
15
15
  icon: {},
16
16
  size: {},
17
17
  maxLength: {},
18
+ maxSizeKb: {},
18
19
  step: {},
19
20
  min: {},
20
21
  max: {},
@@ -23,6 +23,7 @@ var WInputDate_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
23
23
  icon: {},
24
24
  size: {},
25
25
  maxLength: {},
26
+ maxSizeKb: {},
26
27
  step: {},
27
28
  min: {},
28
29
  max: {},
@@ -41,6 +41,7 @@ var WInputOptions_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
41
41
  icon: {},
42
42
  size: {},
43
43
  maxLength: {},
44
+ maxSizeKb: {},
44
45
  step: {},
45
46
  min: {},
46
47
  max: {},
@@ -31,6 +31,7 @@ var WInputSuggest_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
31
31
  icon: {},
32
32
  size: {},
33
33
  maxLength: {},
34
+ maxSizeKb: {},
34
35
  step: {},
35
36
  min: {},
36
37
  max: {},
@@ -20,6 +20,8 @@ export interface InputProps<Type extends InputType, ClearValue extends InputClea
20
20
  size?: number;
21
21
  /** Cuts off input longer than this, and shows a `length / maxLength` counter under the field while it is focused. */
22
22
  maxLength?: number;
23
+ /** Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. */
24
+ maxSizeKb?: number;
23
25
  /** Native `step` attribute for `type="number"`. */
24
26
  step?: number;
25
27
  /** Native `min` attribute for `type="number"`. */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAC,qBAAqB,EAAE,0BAA0B,EAAC,MAAM,iBAAiB,CAAA;AACtF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAA;AAEpD,MAAM,MAAM,eAAe,GAAG,EAAE,GAAG,SAAS,GAAG,IAAI,CAAA;AAEnD,MAAM,WAAW,UAAU,CAAC,IAAI,SAAS,SAAS,EAAE,UAAU,SAAS,eAAe,GAAG,EAAE,CAAE,SAAQ,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC;IACxI,8EAA8E;IAC9E,UAAU,CAAC,EAAE,CAAC,IAAI,SAAS,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS,GA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C,EAAE,MAAM,CAAA;CACvB,GAAG;IACF,IAAI,EAAE,iBAAiB,CAAC,WAAW,CAAA;IACnC,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,aAAa,CAAC,EAAE,KAAK,CAAA;IACrB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,MAAM,CAAA;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0BAA0B;IAC1B,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,4HAA4H;IAC5H,KAAK,CAAC,EAAE,aAAa,GAAG;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,YAAY,CAAC;QAAC,KAAK,CAAC,EAAE,aAAa,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,EAAE,CAAA;IACtG,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,qBAAqB,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAC,GAAG,MAAM,CAAA"}
@@ -7,6 +7,12 @@ interface Props extends Partial<LinkProps> {
7
7
  href?: string;
8
8
  /** `download` attribute of the `href` link — the file name to save it as. */
9
9
  download?: string;
10
+ /** With `to`, replaces the current history entry instead of pushing a new one. */
11
+ replace?: boolean;
12
+ /** Native `target` of the link, with `href` or `to`. */
13
+ target?: '_self' | '_blank' | '_parent' | '_top';
14
+ /** Native `rel` of the link, with `href` or `to`. */
15
+ rel?: string;
10
16
  /** Marks the item as picked, with primary text and a check. `false` leaves room for the check, to line up with picked items. */
11
17
  active?: boolean;
12
18
  /** Tooltip text on the left of the item. */
@@ -28,6 +34,8 @@ declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, i
28
34
  tooltipText: string;
29
35
  semanticType: SemanticType;
30
36
  href: string;
37
+ target: "_self" | "_blank" | "_parent" | "_top";
38
+ rel: string;
31
39
  download: string;
32
40
  active: boolean;
33
41
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"WMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuItem/WMenuItem.vue"],"names":[],"mappings":"AA4DA;AAsHA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAS5C,OAAO,EAAC,YAAY,EAAyB,MAAM,sBAAsB,CAAA;AAIzE,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gIAAgI;IAChI,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6GAA6G;IAC7G,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAoBD,KAAK,WAAW,GAAG;IACjB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAC;AAgNF,QAAA,MAAM,UAAU;;;;;iBA5OA,MAAM;kBAIL,YAAY;UAVpB,MAAM;cAEF,MAAM;YAER,OAAO;6EAkPhB,CAAC;AACH,Q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G,QAAQ,GAAG,SAAS,GAAG,MAAM;SAE1C,MAAM;cAND,MAAM;YAQR,OAAO;6EAsPhB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -20,6 +20,9 @@ var WMenuItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
20
20
  disabled: { type: Boolean },
21
21
  href: { default: void 0 },
22
22
  download: { default: void 0 },
23
+ replace: { type: Boolean },
24
+ target: { default: void 0 },
25
+ rel: { default: void 0 },
23
26
  active: {
24
27
  type: Boolean,
25
28
  default: void 0
@@ -35,9 +38,16 @@ var WMenuItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
35
38
  const semanticTypeTextMap = useSemanticTypeTextMap();
36
39
  const toned = computed(() => props.semanticType !== SemanticType.PRIMARY && props.semanticType !== SemanticType.SECONDARY);
37
40
  return (_ctx, _cache) => {
38
- return openBlock(), createBlock(resolveDynamicComponent(__props.disabled || __props.loading ? "div" : __props.to ? WRouterLink_default : __props.href ? "a" : "button"), mergeProps(__props.disabled || __props.loading ? void 0 : __props.to ? { to: __props.to } : __props.href ? {
41
+ return openBlock(), createBlock(resolveDynamicComponent(__props.disabled || __props.loading ? "div" : __props.to ? WRouterLink_default : __props.href ? "a" : "button"), mergeProps(__props.disabled || __props.loading ? void 0 : __props.to ? {
42
+ to: __props.to,
43
+ replace: __props.replace,
44
+ target: __props.target,
45
+ rel: __props.rel
46
+ } : __props.href ? {
39
47
  href: __props.href,
40
- download: __props.download
48
+ download: __props.download,
49
+ target: __props.target,
50
+ rel: __props.rel
41
51
  } : void 0, {
42
52
  class: ["w-ripple-trigger relative block w-full select-none items-center justify-start px-2 text-start outline-none first:pt-2 last:pb-2", {
43
53
  [unref(semanticTypeTextMap)[__props.semanticType]]: toned.value && !__props.disabled,
@@ -50,6 +50,7 @@ var WSelect_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
50
50
  icon: {},
51
51
  size: {},
52
52
  maxLength: {},
53
+ maxSizeKb: {},
53
54
  step: {},
54
55
  min: {},
55
56
  max: {},
@@ -48,6 +48,7 @@ var WSelectAsync_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
48
48
  icon: {},
49
49
  size: {},
50
50
  maxLength: {},
51
+ maxSizeKb: {},
51
52
  step: {},
52
53
  min: {},
53
54
  max: {},
@@ -41,6 +41,7 @@ var WSelectAsyncSingle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
41
41
  icon: {},
42
42
  size: {},
43
43
  maxLength: {},
44
+ maxSizeKb: {},
44
45
  step: {},
45
46
  min: {},
46
47
  max: {},
@@ -35,6 +35,7 @@ var WSelectSingle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ de
35
35
  icon: {},
36
36
  size: {},
37
37
  maxLength: {},
38
+ maxSizeKb: {},
38
39
  step: {},
39
40
  min: {},
40
41
  max: {},
@@ -34,6 +34,7 @@ var WSelectStringified_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
34
34
  icon: {},
35
35
  size: {},
36
36
  maxLength: {},
37
+ maxSizeKb: {},
37
38
  step: {},
38
39
  min: {},
39
40
  max: {},
@@ -312,6 +312,9 @@ import WMenuItem from 'eco-vue-js/dist/components/MenuItem/WMenuItem.vue'
312
312
  | `disabled` | `boolean` | — | Grays the item out and ignores clicks. |
313
313
  | `href` | `string` | — | URL of a plain link, when there is no `to`. |
314
314
  | `download` | `string` | — | `download` attribute of the `href` link — the file name to save it as. |
315
+ | `replace` | `boolean` | — | With `to`, replaces the current history entry instead of pushing a new one. |
316
+ | `target` | `"_self" \| "_blank" \| "_parent" \| "_top"` | — | Native `target` of the link, with `href` or `to`. |
317
+ | `rel` | `string` | — | Native `rel` of the link, with `href` or `to`. |
315
318
  | `active` | `boolean` | — | Marks the item as picked, with primary text and a check. `false` leaves room for the check, to line up with picked items. |
316
319
  | `tooltipText` | `string` | — | Tooltip text on the left of the item. |
317
320
  | `loading` | `boolean` | — | Shows a spinner over the item and ignores clicks. |
@@ -345,6 +348,9 @@ import WButtonMoreItem from 'eco-vue-js/dist/components/Button/WButtonMoreItem.v
345
348
  | `disabled` | `boolean` | — | Blocks clicks and dims the item. |
346
349
  | `href` | `string` | — | Renders the item as a link to this URL. |
347
350
  | `download` | `string` | — | Native `download` attribute, with `href`. |
351
+ | `replace` | `boolean` | — | With `to`, replaces the current history entry instead of pushing a new one. |
352
+ | `target` | `"_self" \| "_blank" \| "_parent" \| "_top"` | — | Native `target` of the link, with `href` or `to`. |
353
+ | `rel` | `string` | — | Native `rel` of the link, with `href` or `to`. |
348
354
  | `tooltipText` | `string` | — | Tooltip over the item. |
349
355
  | `semanticType` | `SemanticType` | — | Color of the item. Types other than `primary` and `secondary` color the text at rest — a red "Delete". |
350
356
  | `to` | `RouteLocationRaw` | — | Router location — renders a router link. Needs vue-router installed in the app. |
@@ -268,6 +268,7 @@ import WInput from 'eco-vue-js/dist/components/Input/WInput.vue'
268
268
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
269
269
  | `size` | `number` | `10` | Native `size` attribute, which sets the input's minimum width in characters. |
270
270
  | `maxLength` | `number` | — | Cuts off input longer than this, and shows a `length / maxLength` counter under the field while it is focused. |
271
+ | `maxSizeKb` | `number` | `100` | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
271
272
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
272
273
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
273
274
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -377,6 +378,7 @@ import WInputAsync from 'eco-vue-js/dist/components/Input/WInputAsync.vue'
377
378
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
378
379
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
379
380
  | `maxLength` | `number` | — | Cuts off input longer than this, and shows a `length / maxLength` counter under the field while it is focused. |
381
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
380
382
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
381
383
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
382
384
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -474,6 +476,7 @@ import WInputSuggest from 'eco-vue-js/dist/components/Input/WInputSuggest.vue'
474
476
  | `placeholder` | `string` | — | Hint shown while the field is empty. |
475
477
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
476
478
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
479
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
477
480
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
478
481
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
479
482
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -583,6 +586,7 @@ import WInputOptions from 'eco-vue-js/dist/components/Input/WInputOptions.vue'
583
586
  | `placeholder` | `string` | — | Hint shown while the field is empty. |
584
587
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
585
588
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
589
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
586
590
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
587
591
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
588
592
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -686,6 +690,7 @@ import WInputDate from 'eco-vue-js/dist/components/Input/WInputDate.vue'
686
690
  | `placeholder` | `string` | — | Hint shown while the field is empty. |
687
691
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
688
692
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
693
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
689
694
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
690
695
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
691
696
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -1152,7 +1152,7 @@ import WSelectSingle from 'eco-vue-js/dist/components/Select/WSelectSingle.vue'
1152
1152
 
1153
1153
  :::
1154
1154
 
1155
- ::: details Inherited from `src/components/Input/types.ts` (34)
1155
+ ::: details Inherited from `src/components/Input/types.ts` (35)
1156
1156
 
1157
1157
  | Prop | Type | Default | Description |
1158
1158
  | --- | --- | --- | --- |
@@ -1164,6 +1164,7 @@ import WSelectSingle from 'eco-vue-js/dist/components/Select/WSelectSingle.vue'
1164
1164
  | `placeholder` | `string` | — | Hint shown while the field is empty. |
1165
1165
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
1166
1166
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
1167
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
1167
1168
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
1168
1169
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
1169
1170
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -1276,7 +1277,7 @@ import WSelect from 'eco-vue-js/dist/components/Select/WSelect.vue'
1276
1277
 
1277
1278
  :::
1278
1279
 
1279
- ::: details Inherited from `src/components/Input/types.ts` (34)
1280
+ ::: details Inherited from `src/components/Input/types.ts` (35)
1280
1281
 
1281
1282
  | Prop | Type | Default | Description |
1282
1283
  | --- | --- | --- | --- |
@@ -1288,6 +1289,7 @@ import WSelect from 'eco-vue-js/dist/components/Select/WSelect.vue'
1288
1289
  | `placeholder` | `string` | — | Hint shown while the field is empty. |
1289
1290
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
1290
1291
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
1292
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
1291
1293
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
1292
1294
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
1293
1295
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -1404,7 +1406,7 @@ import WSelectAsyncSingle from 'eco-vue-js/dist/components/Select/WSelectAsyncSi
1404
1406
 
1405
1407
  :::
1406
1408
 
1407
- ::: details Inherited from `src/components/Input/types.ts` (34)
1409
+ ::: details Inherited from `src/components/Input/types.ts` (35)
1408
1410
 
1409
1411
  | Prop | Type | Default | Description |
1410
1412
  | --- | --- | --- | --- |
@@ -1416,6 +1418,7 @@ import WSelectAsyncSingle from 'eco-vue-js/dist/components/Select/WSelectAsyncSi
1416
1418
  | `placeholder` | `string` | — | Hint shown while the field is empty. |
1417
1419
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
1418
1420
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
1421
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
1419
1422
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
1420
1423
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
1421
1424
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -1530,7 +1533,7 @@ import WSelectAsync from 'eco-vue-js/dist/components/Select/WSelectAsync.vue'
1530
1533
 
1531
1534
  :::
1532
1535
 
1533
- ::: details Inherited from `src/components/Input/types.ts` (34)
1536
+ ::: details Inherited from `src/components/Input/types.ts` (35)
1534
1537
 
1535
1538
  | Prop | Type | Default | Description |
1536
1539
  | --- | --- | --- | --- |
@@ -1542,6 +1545,7 @@ import WSelectAsync from 'eco-vue-js/dist/components/Select/WSelectAsync.vue'
1542
1545
  | `placeholder` | `string` | — | Hint shown while the field is empty. |
1543
1546
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
1544
1547
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
1548
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
1545
1549
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
1546
1550
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
1547
1551
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
@@ -1656,7 +1660,7 @@ import WSelectStringified from 'eco-vue-js/dist/components/Select/WSelectStringi
1656
1660
 
1657
1661
  :::
1658
1662
 
1659
- ::: details Inherited from `src/components/Input/types.ts` (34)
1663
+ ::: details Inherited from `src/components/Input/types.ts` (35)
1660
1664
 
1661
1665
  | Prop | Type | Default | Description |
1662
1666
  | --- | --- | --- | --- |
@@ -1668,6 +1672,7 @@ import WSelectStringified from 'eco-vue-js/dist/components/Select/WSelectStringi
1668
1672
  | `placeholder` | `string` | — | Hint shown while the field is empty. |
1669
1673
  | `icon` | `SVGComponent` | — | Icon at the start of the field, highlighted while focused. |
1670
1674
  | `size` | `number` | — | Native `size` attribute, which sets the input's minimum width in characters. |
1675
+ | `maxSizeKb` | `number` | — | Largest file, in KB, that `allowDropFile` accepts by drop or picker. Defaults to 100. |
1671
1676
  | `step` | `number` | — | Native `step` attribute for `type="number"`. |
1672
1677
  | `min` | `number` | — | Native `min` attribute for `type="number"`. |
1673
1678
  | `max` | `number` | — | Native `max` attribute for `type="number"`. |
package/docs/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # eco-vue-js
2
2
 
3
- > Vue 3 UI kit with Tailwind v4 — components, utilities, icons and recipes. These are the docs of version 0.26.7, the one installed next to them. Start with Getting started and Conventions; each component page lists its props, events and slots with examples.
3
+ > Vue 3 UI kit with Tailwind v4 — components, utilities, icons and recipes. These are the docs of version 0.26.9, the one installed next to them. Start with Getting started and Conventions; each component page lists its props, events and slots with examples.
4
4
 
5
5
  Release notes, for what changed between versions: https://github.com/rsmple/eco-vue-js/releases. The docs site, with live demos: https://rsmple.github.io/eco-vue-js/
6
6
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.26.7",
7
+ "version": "0.26.9",
8
8
  "homepage": "https://rsmple.github.io/eco-vue-js/",
9
9
  "dependencies": {
10
10
  "@stylistic/eslint-plugin": "5.10.0",