x-next 0.0.0-alpha.54 → 0.0.0-alpha.55
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/index.es.js +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -1152,7 +1152,7 @@ const In = () => {
|
|
1152
1152
|
},
|
1153
1153
|
emits: ["scroll"],
|
1154
1154
|
setup(e, { emit: t }) {
|
1155
|
-
const n = U("scrollbar
|
1155
|
+
const n = U("scrollbar--thumb"), l = $(!1), o = $(), a = $(), r = m(() => e.direction === "horizontal" ? {
|
1156
1156
|
size: "width",
|
1157
1157
|
direction: "left",
|
1158
1158
|
offset: "offsetWidth",
|
@@ -1214,7 +1214,7 @@ function ga(e, t, n, l, o, a) {
|
|
1214
1214
|
default: W(() => [
|
1215
1215
|
ne("div", {
|
1216
1216
|
ref: "trackRef",
|
1217
|
-
class: L(["x-scrollbar-
|
1217
|
+
class: L(["x-scrollbar-track", `x-scrollbar-track-direction-${e.direction}`]),
|
1218
1218
|
onMousedown: t[1] || (t[1] = nt((...r) => e.handleTrackClick && e.handleTrackClick(...r), ["self"]))
|
1219
1219
|
}, [
|
1220
1220
|
ne("div", {
|
@@ -1233,7 +1233,7 @@ function ga(e, t, n, l, o, a) {
|
|
1233
1233
|
});
|
1234
1234
|
}
|
1235
1235
|
const ba = /* @__PURE__ */ ue(pa, [["render", ga]]), Un = 20, Ht = 15, ya = D({
|
1236
|
-
name: "
|
1236
|
+
name: "Scrollbar",
|
1237
1237
|
components: {
|
1238
1238
|
ResizeObserver: Jt,
|
1239
1239
|
Thumb: ba
|
@@ -1282,7 +1282,7 @@ const ba = /* @__PURE__ */ ue(pa, [["render", ga]]), Un = 20, Ht = 15, ya = D({
|
|
1282
1282
|
scroll: (e) => !0
|
1283
1283
|
},
|
1284
1284
|
setup(e, { emit: t }) {
|
1285
|
-
const n = U("scrollbar
|
1285
|
+
const n = U("scrollbar"), l = $(), o = $(), a = $(), r = $(), i = $(), s = $(!1), u = $(!1), h = m(
|
1286
1286
|
() => s.value && !e.disableHorizontal
|
1287
1287
|
), d = m(
|
1288
1288
|
() => u.value && !e.disableVertical
|