@skyservice-developers/vue-dev-kit 2.12.0 → 2.13.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/README.md +6 -2
- package/dist/shared/ui/Modal/Modal.vue.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/vue-dev-kit.cjs +1 -1
- package/dist/vue-dev-kit.js +13 -8
- package/package.json +1 -3
package/dist/vue-dev-kit.js
CHANGED
|
@@ -2515,16 +2515,21 @@ const P0 = /* @__PURE__ */ ue(w0, [["render", A0]]), M0 = { class: "sky-header-c
|
|
|
2515
2515
|
height: {
|
|
2516
2516
|
type: String,
|
|
2517
2517
|
default: "100%"
|
|
2518
|
+
},
|
|
2519
|
+
borderRadius: {
|
|
2520
|
+
type: String,
|
|
2521
|
+
default: "12px"
|
|
2518
2522
|
}
|
|
2519
2523
|
},
|
|
2520
2524
|
emits: ["update:modelValue", "close"],
|
|
2521
2525
|
setup(e, { emit: t }) {
|
|
2522
|
-
const n = e, a = t, r = se(
|
|
2523
|
-
width: n.width,
|
|
2524
|
-
height: n.height
|
|
2525
|
-
})), i = se(
|
|
2526
|
+
const n = e, a = t, r = se(
|
|
2526
2527
|
() => n.width === "100%" && n.height === "100%"
|
|
2527
|
-
),
|
|
2528
|
+
), i = se(() => ({
|
|
2529
|
+
width: n.width,
|
|
2530
|
+
height: n.height,
|
|
2531
|
+
...r.value ? {} : { borderRadius: n.borderRadius }
|
|
2532
|
+
})), o = () => {
|
|
2528
2533
|
a("update:modelValue", !1), a("close");
|
|
2529
2534
|
}, s = () => {
|
|
2530
2535
|
n.closeOnOverlay && o();
|
|
@@ -2548,8 +2553,8 @@ const P0 = /* @__PURE__ */ ue(w0, [["render", A0]]), M0 = { class: "sky-header-c
|
|
|
2548
2553
|
onMousedown: $t(s, ["self"])
|
|
2549
2554
|
}, [
|
|
2550
2555
|
D("div", {
|
|
2551
|
-
class: X(["sky-modal", { "sky-modal--fullscreen":
|
|
2552
|
-
style: Le(
|
|
2556
|
+
class: X(["sky-modal", { "sky-modal--fullscreen": r.value }]),
|
|
2557
|
+
style: Le(i.value)
|
|
2553
2558
|
}, [
|
|
2554
2559
|
D("div", X0, [
|
|
2555
2560
|
D("button", {
|
|
@@ -2588,7 +2593,7 @@ const P0 = /* @__PURE__ */ ue(w0, [["render", A0]]), M0 = { class: "sky-header-c
|
|
|
2588
2593
|
_: 3
|
|
2589
2594
|
}));
|
|
2590
2595
|
}
|
|
2591
|
-
}, VE = /* @__PURE__ */ ue(i2, [["__scopeId", "data-v-
|
|
2596
|
+
}, VE = /* @__PURE__ */ ue(i2, [["__scopeId", "data-v-011275a0"]]), o2 = {
|
|
2592
2597
|
key: 0,
|
|
2593
2598
|
class: "sky-alert-icon",
|
|
2594
2599
|
width: "16",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyservice-developers/vue-dev-kit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "Vue 3 component library + TypeScript SDK (iframe bridge + HTTP API) for Skyservice mini-apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/vue-dev-kit.cjs",
|
|
@@ -30,9 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"scripts": {
|
|
32
32
|
"dev": "vite",
|
|
33
|
-
"playground": "vite --config playground/vite.config.js playground",
|
|
34
33
|
"build": "vite build",
|
|
35
|
-
"build:playground": "vite build --config playground/vite.config.js playground",
|
|
36
34
|
"preview": "vite preview",
|
|
37
35
|
"docs:dev": "vitepress dev docs",
|
|
38
36
|
"docs:build": "vitepress build docs",
|