@solar-taro/ui-vant 2.8.5 → 2.8.7

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 CHANGED
@@ -1,3 +1,23 @@
1
+ ## 2.8.6 (2026-06-24)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **ui-vant/selector:** fix style
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - HyperLife1119
10
+
11
+ ## 2.8.5 (2026-06-04)
12
+
13
+ ### 🩹 Fixes
14
+
15
+ - **ui-vant/modal:** fix close event
16
+
17
+ ### ❤️ Thank You
18
+
19
+ - HyperLife1119
20
+
1
21
  ## 2.8.4 (2026-05-27)
2
22
 
3
23
  ### 🩹 Fixes
package/index10.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as _, ref as I, computed as v, renderSlot as x, toDisplayString as ee, createTextVNode as le, Fragment as te, openBlock as oe, createElementBlock as se, createCommentVNode as ae, renderList as ne, unref as re, withCtx as ie, createBlock as ue, createElementVNode as de, mergeProps as pe, resolveDirective as ce, withDirectives as fe, normalizeClass as ve, createSlots as me, createVNode as ye, normalizeStyle as he } from "vue";
2
2
  import { useFilterList as be } from "@solar-taro/core";
3
3
  import { SunTag as ge, SunLazyRender as ke, SunVirtualScroll as Ve, SunItem as M } from "@solar-taro/ui-sun";
4
- import { createReusableTemplate as $e } from "./index24.js";
4
+ import { createReusableTemplate as $e } from "./index25.js";
5
5
  import we from "./index7.js";
6
6
  import Se from "./index6.js";
7
- import P from "./index25.js";
7
+ import P from "./index26.js";
8
8
  const d = x, T = ee, L = le, h = te, a = oe, i = se, m = ae, j = ne, r = re, n = ie, B = ue, y = de, A = pe, Te = ce, U = fe, G = ve, D = me, b = ye, W = he, Be = ["label", "placeholder", "required", "disabled"], Ke = {
9
9
  key: 0,
10
10
  name: "input",
package/index16.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index4.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index17.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index7.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index19.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index9.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index20.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index21.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index7.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index22.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index10.js";
1
+ import f from "./index9.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index23.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index10.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index24.js CHANGED
@@ -1,38 +1,8 @@
1
- import { makeDestructurable as d, camelize as f } from "./index27.js";
2
- import { shallowRef as p, defineComponent as i } from "vue";
3
- // @__NO_SIDE_EFFECTS__
4
- function h(r = {}) {
5
- const { inheritAttrs: t = !0 } = r, e = p(), u = i({ setup(a, { slots: o }) {
6
- return () => {
7
- e.value = o.default;
8
- };
9
- } }), s = i({
10
- inheritAttrs: t,
11
- props: r.props,
12
- setup(a, { attrs: o, slots: c }) {
13
- return () => {
14
- var l;
15
- if (!e.value) throw new Error("[VueUse] Failed to find the definition of reusable template");
16
- const n = (l = e.value) === null || l === void 0 ? void 0 : l.call(e, {
17
- ...r.props == null ? m(o) : a,
18
- $slots: c
19
- });
20
- return t && (n == null ? void 0 : n.length) === 1 ? n[0] : n;
21
- };
22
- }
23
- });
24
- return d({
25
- define: u,
26
- reuse: s
27
- }, [u, s]);
28
- }
29
- function m(r) {
30
- const t = {};
31
- for (const e in r) t[f(e)] = r[e];
32
- return t;
1
+ import o from "./index28.js";
2
+ var r = 1, n = 4;
3
+ function L(e) {
4
+ return o(e, r | n);
33
5
  }
34
6
  export {
35
- f as camelize,
36
- h as createReusableTemplate,
37
- d as makeDestructurable
7
+ L as default
38
8
  };
package/index25.js CHANGED
@@ -1,6 +1,38 @@
1
- function n(l) {
2
- return l == null;
1
+ import { makeDestructurable as d, camelize as f } from "./index27.js";
2
+ import { shallowRef as p, defineComponent as i } from "vue";
3
+ // @__NO_SIDE_EFFECTS__
4
+ function h(r = {}) {
5
+ const { inheritAttrs: t = !0 } = r, e = p(), u = i({ setup(a, { slots: o }) {
6
+ return () => {
7
+ e.value = o.default;
8
+ };
9
+ } }), s = i({
10
+ inheritAttrs: t,
11
+ props: r.props,
12
+ setup(a, { attrs: o, slots: c }) {
13
+ return () => {
14
+ var l;
15
+ if (!e.value) throw new Error("[VueUse] Failed to find the definition of reusable template");
16
+ const n = (l = e.value) === null || l === void 0 ? void 0 : l.call(e, {
17
+ ...r.props == null ? m(o) : a,
18
+ $slots: c
19
+ });
20
+ return t && (n == null ? void 0 : n.length) === 1 ? n[0] : n;
21
+ };
22
+ }
23
+ });
24
+ return d({
25
+ define: u,
26
+ reuse: s
27
+ }, [u, s]);
28
+ }
29
+ function m(r) {
30
+ const t = {};
31
+ for (const e in r) t[f(e)] = r[e];
32
+ return t;
3
33
  }
4
34
  export {
5
- n as default
35
+ f as camelize,
36
+ h as createReusableTemplate,
37
+ d as makeDestructurable
6
38
  };
package/index26.js CHANGED
@@ -1,8 +1,6 @@
1
- import o from "./index28.js";
2
- var r = 1, n = 4;
3
- function L(e) {
4
- return o(e, r | n);
1
+ function n(l) {
2
+ return l == null;
5
3
  }
6
4
  export {
7
- L as default
5
+ n as default
8
6
  };
package/index28.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import S from "./index62.js";
2
2
  import L from "./index60.js";
3
- import B from "./index56.js";
3
+ import B from "./index57.js";
4
4
  import I from "./index63.js";
5
5
  import O from "./index64.js";
6
6
  import _ from "./index65.js";
package/index4.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, ref as N, computed as r, mergeProps as I, createElementVNode as L, openBlock as P, createElementBlock as $, createCommentVNode as q } from "vue";
2
- import y from "./index26.js";
2
+ import y from "./index24.js";
3
3
  const D = I, A = L, v = P, h = $, T = q, j = ["show"], z = ["title", "value-key", "columns", "loading"], H = /* @__PURE__ */ E({
4
4
  inheritAttrs: !1,
5
5
  __name: "index",
package/index56.js CHANGED
@@ -1,10 +1,14 @@
1
- import t from "./index57.js";
2
- import i from "./index29.js";
3
- var s = Object.prototype, p = s.hasOwnProperty;
4
- function l(r, a, o) {
5
- var n = r[a];
6
- (!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
1
+ import m from "./index57.js";
2
+ import t from "./index58.js";
3
+ function v(a, f, i, u) {
4
+ var d = !i;
5
+ i || (i = {});
6
+ for (var s = -1, e = f.length; ++s < e; ) {
7
+ var n = f[s], r = void 0;
8
+ r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
9
+ }
10
+ return i;
7
11
  }
8
12
  export {
9
- l as default
13
+ v as default
10
14
  };
package/index57.js CHANGED
@@ -1,12 +1,10 @@
1
- import u from "./index61.js";
2
- function i(r, e, t) {
3
- e == "__proto__" && u ? u(r, e, {
4
- configurable: !0,
5
- enumerable: !0,
6
- value: t,
7
- writable: !0
8
- }) : r[e] = t;
1
+ import t from "./index58.js";
2
+ import i from "./index29.js";
3
+ var s = Object.prototype, p = s.hasOwnProperty;
4
+ function l(r, a, o) {
5
+ var n = r[a];
6
+ (!(p.call(r, a) && i(n, o)) || o === void 0 && !(a in r)) && t(r, a, o);
9
7
  }
10
8
  export {
11
- i as default
9
+ l as default
12
10
  };
package/index58.js CHANGED
@@ -1,14 +1,12 @@
1
- import m from "./index56.js";
2
- import t from "./index57.js";
3
- function v(a, f, i, u) {
4
- var d = !i;
5
- i || (i = {});
6
- for (var s = -1, e = f.length; ++s < e; ) {
7
- var n = f[s], r = void 0;
8
- r === void 0 && (r = a[n]), d ? t(i, n, r) : m(i, n, r);
9
- }
10
- return i;
1
+ import u from "./index61.js";
2
+ function i(r, e, t) {
3
+ e == "__proto__" && u ? u(r, e, {
4
+ configurable: !0,
5
+ enumerable: !0,
6
+ value: t,
7
+ writable: !0
8
+ }) : r[e] = t;
11
9
  }
12
10
  export {
13
- v as default
11
+ i as default
14
12
  };
package/index63.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index58.js";
1
+ import o from "./index56.js";
2
2
  import e from "./index50.js";
3
3
  function m(r, t) {
4
4
  return r && o(t, e(t), r);
package/index64.js CHANGED
@@ -1,4 +1,4 @@
1
- import t from "./index58.js";
1
+ import t from "./index56.js";
2
2
  import o from "./index53.js";
3
3
  function i(n, r) {
4
4
  return n && t(r, o(r), n);
package/index67.js CHANGED
@@ -1,4 +1,4 @@
1
- import m from "./index58.js";
1
+ import m from "./index56.js";
2
2
  import r from "./index111.js";
3
3
  function f(o, t) {
4
4
  return m(o, r(o), t);
package/index68.js CHANGED
@@ -1,4 +1,4 @@
1
- import m from "./index58.js";
1
+ import m from "./index56.js";
2
2
  import r from "./index103.js";
3
3
  function e(o, t) {
4
4
  return m(o, r(o), t);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "2.8.5",
3
+ "version": "2.8.7",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -1,4 +1,10 @@
1
1
  .sun-selector {
2
+ .van-field__control {
3
+ min-width: 0;
4
+ overflow: auto;
5
+ white-space: nowrap;
6
+ }
7
+
2
8
  &-input {
3
9
  display: flex;
4
10
  gap: 2px;