vuesp-components 5.2.0 → 5.2.2
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/CHANGELOG.md +23 -0
- package/README.md +1 -0
- package/dist/{VDialog.vue_vue_type_script_setup_true_lang-BCnuVynB.js → VDialog.vue_vue_type_script_setup_true_lang-Bh-tnwGM.js} +3 -3
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardPalette.vue.d.ts +48 -0
- package/dist/components/dashboard/cards/CardPalette.vue.d.ts.map +1 -0
- package/dist/components/dashboard/index.d.ts +2 -1
- package/dist/components/dashboard/index.d.ts.map +1 -1
- package/dist/components/index.es.js +1055 -956
- package/dist/components/script/editor/suggestions.d.ts.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/pages/kit/KitShowcase.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.2.2 — 2026-11-24
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- `CardPalette`: dashboard card for choosing a preset or custom color. The disabled state is an empty string, matching the device contract.
|
|
8
|
+
- `udp()` and `fade()` suggestions now include a `description` tooltip, so device projects inherit the explanation from the shared package.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `VButton`: the slot wrapper is now `display: contents`, so `flex`, `block`, `gap` and alignment classes on the button apply directly to slotted content. The loading state hides text with `text-transparent` and elements with `opacity-0` while keeping the original size and loader color.
|
|
13
|
+
- `CardDimmer`: removed a redundant nested wrapper around the dimmer control.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- The `udp()` suggestion inserted a literal `call(1)` argument and an empty first argument; it now inserts both arguments as placeholders.
|
|
18
|
+
- The `if` and `while` suggestion templates used the removed `$v0` variable; they now use `$u0`.
|
|
19
|
+
|
|
20
|
+
## 5.2.1 — 2026-11-22
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- `VPopup`: increased the top padding of the mobile handle and moved the close buttons up so they no longer overlap the handle.
|
|
25
|
+
|
|
3
26
|
## 5.2.0 — 2026-11-22
|
|
4
27
|
|
|
5
28
|
### Added
|
package/README.md
CHANGED
|
@@ -309,7 +309,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
|
|
|
309
309
|
}), {
|
|
310
310
|
default: L(() => [
|
|
311
311
|
h("span", {
|
|
312
|
-
class: f(e.loading ? "opacity-0" : "")
|
|
312
|
+
class: f(e.loading ? "contents text-transparent [&>*]:opacity-0" : "contents")
|
|
313
313
|
}, [
|
|
314
314
|
x(v.$slots, "default")
|
|
315
315
|
], 2),
|
|
@@ -321,7 +321,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
|
|
|
321
321
|
_: 3
|
|
322
322
|
}, 16, ["href", "to", "target", "type", "disabled", "aria-disabled", "title", "class"]));
|
|
323
323
|
}
|
|
324
|
-
}), Me = ["role", "aria-modal", "aria-label"], Le = { class: "flex items-center absolute right-3 top-
|
|
324
|
+
}), Me = ["role", "aria-modal", "aria-label"], Le = { class: "flex items-center absolute right-3 top-2 z-10" }, ee = /* @__PURE__ */ C({
|
|
325
325
|
__name: "VPopup",
|
|
326
326
|
props: {
|
|
327
327
|
hiddenCloser: { type: Boolean },
|
|
@@ -384,7 +384,7 @@ const Ge = /* @__PURE__ */ Y(ge, [["render", fe]]), Je = ["bulb", "lamp", "lamp-
|
|
|
384
384
|
h("div", {
|
|
385
385
|
ref_key: "target",
|
|
386
386
|
ref: u,
|
|
387
|
-
class: "flex justify-center py-
|
|
387
|
+
class: "flex justify-center py-4 pb-6",
|
|
388
388
|
onWheel: M[3] || (M[3] = z(() => {
|
|
389
389
|
}, ["prevent"])),
|
|
390
390
|
onTouchmove: M[4] || (M[4] = z(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDimmer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardDimmer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardDimmer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardDimmer.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AAkCzF,iBAAS,cAAc;WAmJT,OAAO,IAA6B;;;;;;;;;;;;;;;;;YAVvB,GAAG;;;;EAe7B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ICardBaseProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
icon?(_: {
|
|
6
|
+
size: "sm" | "md" | "lg" | "full";
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
type: string;
|
|
10
|
+
entityType: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
opts: import('vuesp-dashboard-core').IDashboardItemOptions;
|
|
13
|
+
args: string[];
|
|
14
|
+
get: string;
|
|
15
|
+
getTo: string;
|
|
16
|
+
set: string;
|
|
17
|
+
meta: Record<string, unknown>;
|
|
18
|
+
value: string | number;
|
|
19
|
+
valueTo: string | number;
|
|
20
|
+
}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {};
|
|
23
|
+
rootEl: HTMLDivElement;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<ICardBaseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
27
|
+
click: (event: Event) => any;
|
|
28
|
+
close: (event: Event) => any;
|
|
29
|
+
edit: (event: Event) => any;
|
|
30
|
+
open: (event: boolean) => any;
|
|
31
|
+
clone: (event: Event) => any;
|
|
32
|
+
setState: (item: string | number | boolean) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<ICardBaseProps> & Readonly<{
|
|
34
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
35
|
+
onClose?: ((event: Event) => any) | undefined;
|
|
36
|
+
onEdit?: ((event: Event) => any) | undefined;
|
|
37
|
+
onOpen?: ((event: boolean) => any) | undefined;
|
|
38
|
+
onClone?: ((event: Event) => any) | undefined;
|
|
39
|
+
onSetState?: ((item: string | number | boolean) => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=CardPalette.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardPalette.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardPalette.vue"],"names":[],"mappings":"AAgGA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,oCAAoC,CAAC;AA8CzF,iBAAS,cAAc;WA8JT,OAAO,IAA6B;;;;;;;;;;;;;;;;;YAVvB,GAAG;;;;EAe7B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { default as CardDimmer } from './cards/CardDimmer.vue';
|
|
|
5
5
|
import { default as CardInfo } from './cards/CardInfo.vue';
|
|
6
6
|
import { default as CardInput } from './cards/CardInput.vue';
|
|
7
7
|
import { default as CardList } from './cards/CardList.vue';
|
|
8
|
+
import { default as CardPalette } from './cards/CardPalette.vue';
|
|
8
9
|
import { default as ItemEdit } from './edit/ItemEdit.vue';
|
|
9
|
-
export { CardBase, CardButton, CardDate, CardDimmer, CardInfo, CardInput, CardList, ItemEdit };
|
|
10
|
+
export { CardBase, CardButton, CardDate, CardDimmer, CardInfo, CardInput, CardList, CardPalette, ItemEdit };
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dashboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,SAAS,MAAM,4CAA4C,CAAC;AACnE,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,QAAQ,MAAM,0CAA0C,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dashboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,SAAS,MAAM,4CAA4C,CAAC;AACnE,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,WAAW,MAAM,8CAA8C,CAAC;AACvE,OAAO,QAAQ,MAAM,0CAA0C,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
|