yuyeon 0.3.6-beta.3 → 0.3.6-beta.5
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/yuyeon.js +7 -7
- package/dist/yuyeon.umd.cjs +1 -1
- package/lib/components/pagination/YPagination.js +7 -7
- package/lib/components/pagination/YPagination.js.map +1 -1
- package/lib/components/tree-view/YTreeView.js +1 -1
- package/lib/components/tree-view/YTreeView.js.map +1 -1
- package/lib/components/tree-view/YTreeViewNode.js.map +1 -1
- package/package.json +132 -132
- package/types/components/pagination/YPagination.d.ts +6 -0
- package/types/components/tree-view/YTreeView.d.ts +5 -1
package/dist/yuyeon.js
CHANGED
|
@@ -6071,7 +6071,7 @@ const ka = Nn(), gu = /* @__PURE__ */ Cn({
|
|
|
6071
6071
|
},
|
|
6072
6072
|
...ka
|
|
6073
6073
|
},
|
|
6074
|
-
emits: ["update:expanded", "update:active", "update:selected"],
|
|
6074
|
+
emits: ["update:expanded", "update:active", "update:selected", "mouseenterContainer", "mouseleaveContainer", "mousemoveContainer", "dblclickContainer"],
|
|
6075
6075
|
setup(e, {
|
|
6076
6076
|
slots: t,
|
|
6077
6077
|
expose: n
|
|
@@ -7211,6 +7211,7 @@ const Ui = K({
|
|
|
7211
7211
|
color: String,
|
|
7212
7212
|
activeColor: String,
|
|
7213
7213
|
buttonVariation: [String],
|
|
7214
|
+
activeButtonVariation: [String],
|
|
7214
7215
|
align: {
|
|
7215
7216
|
type: String,
|
|
7216
7217
|
default: "center"
|
|
@@ -7346,7 +7347,7 @@ const Ui = K({
|
|
|
7346
7347
|
ellipsis: !1,
|
|
7347
7348
|
disabled: !!e.disabled || +e.length < 2,
|
|
7348
7349
|
color: b ? e.activeColor : e.color,
|
|
7349
|
-
variation: e.buttonVariation,
|
|
7350
|
+
variation: b ? e.activeButtonVariation : e.buttonVariation,
|
|
7350
7351
|
onClick: (y) => T(y, f)
|
|
7351
7352
|
}
|
|
7352
7353
|
};
|
|
@@ -7355,19 +7356,18 @@ const Ui = K({
|
|
|
7355
7356
|
let f;
|
|
7356
7357
|
if (e.gap) {
|
|
7357
7358
|
const w = +e.gap;
|
|
7358
|
-
isNaN(w) ? typeof e.gap == "string" && (f = e.gap) : f = z(w);
|
|
7359
|
+
Number.isNaN(w) ? typeof e.gap == "string" && (f = e.gap) : f = z(w);
|
|
7359
7360
|
}
|
|
7360
7361
|
return {
|
|
7361
7362
|
"--y-pagination__gap": f
|
|
7362
7363
|
};
|
|
7363
7364
|
});
|
|
7364
|
-
return W(() => d("
|
|
7365
|
+
return W(() => d("nav", {
|
|
7366
|
+
ref: l,
|
|
7365
7367
|
class: ["y-pagination", {
|
|
7366
7368
|
[`y-pagination--align-${e.align}`]: e.align !== "start"
|
|
7367
7369
|
}],
|
|
7368
|
-
|
|
7369
|
-
style: v.value,
|
|
7370
|
-
ref: l
|
|
7370
|
+
style: v.value
|
|
7371
7371
|
}, [d("ul", {
|
|
7372
7372
|
class: ["y-pagination__list"]
|
|
7373
7373
|
}, [e.showEndButton && d("li", {
|