eco-vue-js 0.26.7 → 0.26.8
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/components/Button/WButtonMoreItem.vue.d.ts +6 -0
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMoreItem.vue_vue_type_script_setup_true_lang.js +9 -0
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +8 -0
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue_vue_type_script_setup_true_lang.js +12 -2
- package/docs/llms.txt +1 -1
- 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":"
|
|
1
|
+
{"version":3,"file":"WButtonMoreItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonMoreItem.vue"],"names":[],"mappings":"AA6BA;AA0EA,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,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wDAAwD;IACxD,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,qDAAqD;IACrD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,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;AAqFF,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -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"
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"WMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuItem/WMenuItem.vue"],"names":[],"mappings":"AA4DA;AA8HA,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,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wDAAwD;IACxD,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,qDAAqD;IACrD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,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;AAsBD,KAAK,WAAW,GAAG;IACjB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAC;AAkNF,QAAA,MAAM,UAAU;;;;;iBAhPA,MAAM;kBAIL,YAAY;UAhBpB,MAAM;YAMJ,OAAO,GAAG,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 ? {
|
|
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,
|
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.
|
|
3
|
+
> Vue 3 UI kit with Tailwind v4 — components, utilities, icons and recipes. These are the docs of version 0.26.8, 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
|
|