@solar-taro/ui-vant 3.4.3 → 3.5.1

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/index9.js CHANGED
@@ -1,15 +1,16 @@
1
- import { defineComponent as x, mergeModels as F, ref as I, computed as f, useModel as ee, renderSlot as le, toDisplayString as te, createTextVNode as oe, Fragment as ae, openBlock as ne, createElementBlock as se, createCommentVNode as re, renderList as ie, unref as ue, withCtx as de, createBlock as pe, createElementVNode as ce, mergeProps as ve, resolveDirective as fe, withDirectives as me, normalizeClass as ye, createSlots as he, createVNode as be, normalizeStyle as ge } from "vue";
2
- import { SunTag as ke, SunLazyRender as Ve, SunVirtualScroll as $e, SunItem as P, SunEmpty as we, SunList as Se } from "@solar-taro/ui-sun";
3
- import { createReusableTemplate as Te } from "./index22.js";
4
- import { isNil as j } from "lodash-es";
5
- import Be from "./index6.js";
6
- const u = le, K = te, D = oe, g = ae, n = ne, r = se, m = re, A = ie, p = ue, s = de, C = pe, y = ce, U = ve, Ke = fe, G = me, H = ye, W = he, h = be, q = ge, Ce = ["label", "placeholder", "required", "disabled"], ze = {
1
+ import { defineComponent as ee, mergeModels as A, ref as U, computed as m, useModel as le, renderSlot as oe, toDisplayString as te, createTextVNode as ne, Fragment as ae, openBlock as se, createElementBlock as re, createCommentVNode as ie, renderList as ue, unref as de, withCtx as ce, createBlock as pe, createElementVNode as fe, mergeProps as ve, resolveDirective as me, withDirectives as ye, createVNode as he, normalizeClass as be, normalizeStyle as ge, createSlots as ke } from "vue";
2
+ import { SunTag as Ve, SunIcon as z, SunLazyRender as $e, SunVirtualList as we, SunItem as G, SunListPlaceholder as Se, SunList as Ke } from "@solar-taro/ui-sun";
3
+ import { nextTick as Te } from "@tarojs/taro";
4
+ import { createReusableTemplate as Be } from "./index22.js";
5
+ import { isNil as H } from "lodash-es";
6
+ import ze from "./index6.js";
7
+ const c = oe, C = te, q = ne, b = ae, s = se, p = re, g = ie, M = ue, u = de, r = ce, y = pe, L = fe, J = ve, Ce = me, Q = ye, h = he, X = be, N = ge, O = ke, Le = ["label", "placeholder", "required", "disabled"], Ne = {
7
8
  key: 0,
8
9
  name: "input",
9
10
  class: "sun-selector-input"
10
- }, Ne = { name: "right-icon" }, Le = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], De = { name: "right-icon" }, We = ["value"], qe = { class: "sun-selector-option-label" }, Ie = /* @__PURE__ */ x({
11
+ }, De = { name: "right-icon" }, We = ["label", "value", "placeholder", "use-right-icon-slot", "disabled"], qe = { name: "right-icon" }, Me = ["value"], Oe = { class: "sun-selector-option-label" }, Ue = /* @__PURE__ */ ee({
11
12
  __name: "index",
12
- props: /* @__PURE__ */ F({
13
+ props: /* @__PURE__ */ A({
13
14
  type: { default: "field" },
14
15
  mode: { default: "single" },
15
16
  label: {},
@@ -29,281 +30,289 @@ const u = le, K = te, D = oe, g = ae, n = ne, r = se, m = re, A = ie, p = ue, s
29
30
  virtual: { type: [Boolean, Object] },
30
31
  refresher: { type: Boolean },
31
32
  refreshing: { type: Boolean },
32
- compareWith: { type: Function, default: (k, z) => k === z }
33
+ compareWith: { type: Function, default: (V, D) => V === D }
33
34
  }, {
34
35
  keyword: { default: "" },
35
36
  keywordModifiers: {}
36
37
  }),
37
- emits: /* @__PURE__ */ F(["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"], ["update:keyword"]),
38
- setup(k, { expose: z, emit: J }) {
39
- const [Q, E] = Te(), o = k, d = J, V = I(!1), b = I(!1), X = f(() => o.searcher || ((e, t) => e[o.labelKey].toLowerCase().includes(t))), $ = ee(k, "keyword"), N = f(() => o.options.filter(
40
- (e) => X.value(e, $.value.toLowerCase())
41
- )), w = f(() => {
38
+ emits: /* @__PURE__ */ A(["update:modelValue", "select", "unselect", "clear", "close", "confirm", "refresh"], ["update:keyword"]),
39
+ setup(V, { expose: D, emit: Y }) {
40
+ const [Z, R] = Be(), o = V, f = Y, $ = U(!1), k = U(!1), I = m(() => o.searcher || ((e, l) => e[o.labelKey].toLowerCase().includes(l))), w = le(V, "keyword"), i = m(() => o.options.filter(
41
+ (e) => I.value(e, w.value.toLowerCase())
42
+ )), S = m(() => {
42
43
  var e;
43
- if (c.value) {
44
- const t = o.options.find(
45
- (a) => o.compareWith(a[o.valueKey], o.modelValue)
44
+ if (v.value) {
45
+ const l = o.options.find(
46
+ (n) => o.compareWith(n[o.valueKey], o.modelValue)
46
47
  );
47
- return t ? [t] : [];
48
+ return l ? [l] : [];
48
49
  }
49
50
  return ((e = o.modelValue) != null ? e : []).map(
50
- (t) => o.options.find((a) => o.compareWith(a[o.valueKey], t))
51
+ (l) => o.options.find((n) => o.compareWith(n[o.valueKey], l))
51
52
  ).filter(Boolean);
52
- }), L = f(() => w.value.map((e) => e[o.labelKey]).join(o.delimiter)), S = f(() => !Z(o.modelValue) && o.clearable), c = f(() => o.mode === "single"), Y = f(() => {
53
- var a, l;
54
- let e, t = 47;
55
- return typeof o.virtual != "boolean" && (a = o.virtual) != null && a.itemSize && (t = (l = o.virtual) == null ? void 0 : l.itemSize), { id: e, itemSize: t };
53
+ }), W = m(() => S.value.map((e) => e[o.labelKey]).join(o.delimiter)), K = m(() => !_(o.modelValue) && o.clearable), v = m(() => o.mode === "single"), E = m(() => {
54
+ var l, n;
55
+ let e = 47;
56
+ return typeof o.virtual != "boolean" && (l = o.virtual) != null && l.itemSize && (e = (n = o.virtual) == null ? void 0 : n.itemSize), { itemSize: e };
56
57
  });
57
- function Z(e) {
58
- return j(e) ? !0 : c.value ? !1 : e.length < 1;
58
+ function _(e) {
59
+ return H(e) ? !0 : v.value ? !1 : e.length < 1;
59
60
  }
60
- function i(e) {
61
- var a;
62
- const t = e[o.valueKey];
63
- return c.value ? j(o.modelValue) ? !1 : o.compareWith(o.modelValue, t) : ((a = o.modelValue) == null ? void 0 : a.some((l) => o.compareWith(l, t))) || !1;
61
+ function d(e) {
62
+ var n;
63
+ const l = e[o.valueKey];
64
+ return v.value ? H(o.modelValue) ? !1 : o.compareWith(o.modelValue, l) : ((n = o.modelValue) == null ? void 0 : n.some((t) => o.compareWith(t, l))) || !1;
64
65
  }
65
66
  function T() {
66
- o.disabled || (V.value = !0, b.value || setTimeout(() => {
67
- b.value = !0;
68
- }, 300));
67
+ o.disabled || ($.value = !0, k.value || Te(() => {
68
+ setTimeout(() => {
69
+ k.value = !0;
70
+ }, 301);
71
+ }));
69
72
  }
70
- function M() {
71
- V.value = !1, d("close");
73
+ function P() {
74
+ $.value = !1, f("close");
72
75
  }
73
- function O() {
74
- var t;
75
- const e = ((t = o.modelValue) == null ? void 0 : t.map(
76
- (a) => o.options.find(
77
- (l) => o.compareWith(l[o.valueKey], a)
76
+ function F() {
77
+ var l;
78
+ const e = ((l = o.modelValue) == null ? void 0 : l.map(
79
+ (n) => o.options.find(
80
+ (t) => o.compareWith(t[o.valueKey], n)
78
81
  )
79
82
  )) || [];
80
- d("confirm", e), M();
83
+ f("confirm", e), P();
81
84
  }
82
- function R(e) {
83
- const t = e[o.valueKey];
84
- let a = o.modelValue;
85
- c.value ? (i(e) ? o.required || (d("unselect", e), a = null) : (d("select", e), a = t), M()) : i(e) ? (d("unselect", e), a = o.modelValue.filter(
86
- (l) => !o.compareWith(l, t)
87
- )) : (d("select", e), a = (o.modelValue || []).concat(
85
+ function j(e) {
86
+ const l = e[o.valueKey];
87
+ let n = o.modelValue;
88
+ v.value ? (d(e) ? o.required || (f("unselect", e), n = null) : (f("select", e), n = l), P()) : d(e) ? (f("unselect", e), n = o.modelValue.filter(
89
+ (t) => !o.compareWith(t, l)
90
+ )) : (f("select", e), n = (o.modelValue || []).concat(
88
91
  e[o.valueKey]
89
- )), d("update:modelValue", a);
92
+ )), f("update:modelValue", n);
90
93
  }
91
94
  function B() {
92
- d("clear", o.modelValue), d("update:modelValue", o.required && !c.value ? [] : null);
95
+ f("clear", o.modelValue), f("update:modelValue", o.required && !v.value ? [] : null);
93
96
  }
94
- return z({
97
+ return D({
95
98
  present: T,
96
99
  clear: B,
97
- keyword: $
98
- }), (e, t) => {
99
- const a = Ke("readonly");
100
- return n(), r(g, null, [
101
- u(e.$slots, "default", {
100
+ keyword: w
101
+ }), (e, l) => {
102
+ const n = Ce("readonly");
103
+ return s(), p(b, null, [
104
+ c(e.$slots, "default", {
102
105
  present: T,
103
- label: L.value,
104
- selectedOptions: w.value
106
+ label: W.value,
107
+ selectedOptions: S.value
105
108
  }, () => [
106
- e.type === "field" ? G((n(), r("van-field", U({ key: 0 }, e.$attrs, {
109
+ e.type === "field" ? Q((s(), p("van-field", J({ key: 0 }, e.$attrs, {
107
110
  class: "sun-selector",
108
111
  label: e.label,
109
112
  placeholder: e.placeholder,
110
113
  required: e.required,
111
114
  disabled: e.disabled,
112
- onClickInput: t[1] || (t[1] = (l) => T())
115
+ onClickInput: l[1] || (l[1] = (t) => T())
113
116
  }), [
114
- w.value.length ? (n(), r("slot-view", ze, [
115
- c.value ? (n(), r(g, { key: 0 }, [
116
- D(K(L.value), 1)
117
- ], 64)) : (n(!0), r(g, { key: 1 }, A(w.value, (l) => (n(), C(p(ke), {
117
+ S.value.length ? (s(), p("slot-view", Ne, [
118
+ v.value ? (s(), p(b, { key: 0 }, [
119
+ q(C(W.value), 1)
120
+ ], 64)) : (s(!0), p(b, { key: 1 }, M(S.value, (t) => (s(), y(u(Ve), {
118
121
  color: "medium",
119
122
  type: "translucent"
120
123
  }, {
121
- default: s(() => [
122
- D(K(l[e.labelKey]), 1)
124
+ default: r(() => [
125
+ q(C(t[e.labelKey]), 1)
123
126
  ]),
124
127
  _: 2
125
128
  }, 1024))), 256))
126
- ])) : m("", !0),
127
- y("slot-view", Ne, [
128
- S.value ? (n(), r("van-icon", {
129
+ ])) : g("", !0),
130
+ L("slot-view", De, [
131
+ K.value ? (s(), y(u(z), {
129
132
  key: 0,
130
133
  class: "sun-selector-clear-icon",
131
- name: "clear",
132
- onTap: t[0] || (t[0] = (l) => B())
133
- }, null, 32)) : m("", !0),
134
- u(e.$slots, "end")
134
+ name: "close-circle",
135
+ onTap: l[0] || (l[0] = (t) => B())
136
+ })) : g("", !0),
137
+ c(e.$slots, "end")
135
138
  ])
136
- ], 16, Ce)), [
137
- [a]
138
- ]) : e.type === "search" ? G((n(), r("van-search", U({ key: 1 }, e.$attrs, {
139
+ ], 16, Le)), [
140
+ [n]
141
+ ]) : e.type === "search" ? Q((s(), p("van-search", J({ key: 1 }, e.$attrs, {
139
142
  class: "sun-selector",
140
143
  label: e.label,
141
- value: L.value,
144
+ value: W.value,
142
145
  placeholder: e.placeholder,
143
- "use-right-icon-slot": S.value,
146
+ "use-right-icon-slot": K.value,
144
147
  shape: "round",
145
148
  clearable: !1,
146
149
  disabled: e.disabled,
147
- onClickInput: t[3] || (t[3] = (l) => T())
150
+ onClickInput: l[3] || (l[3] = (t) => T())
148
151
  }), [
149
- y("slot-view", De, [
150
- S.value ? (n(), r("van-icon", {
152
+ L("slot-view", qe, [
153
+ K.value ? (s(), y(u(z), {
151
154
  key: 0,
152
155
  class: "sun-selector-clear-icon",
153
- name: "clear",
154
- onTap: t[2] || (t[2] = (l) => B())
155
- }, null, 32)) : m("", !0),
156
- u(e.$slots, "end")
156
+ name: "close-circle",
157
+ onTap: l[2] || (l[2] = (t) => B())
158
+ })) : g("", !0),
159
+ c(e.$slots, "end")
157
160
  ])
158
- ], 16, Le)), [
159
- [a]
160
- ]) : m("", !0)
161
+ ], 16, We)), [
162
+ [n]
163
+ ]) : g("", !0)
161
164
  ]),
162
- h(p(Ve), { hook: "created" }, {
163
- default: s(() => [
164
- h(p(Be), {
165
- show: V.value,
166
- "onUpdate:show": t[9] || (t[9] = (l) => V.value = l),
165
+ h(u($e), { hook: "created" }, {
166
+ default: r(() => [
167
+ h(u(ze), {
168
+ show: $.value,
169
+ "onUpdate:show": l[9] || (l[9] = (t) => $.value = t),
167
170
  title: e.placeholder,
168
- "show-buttons": !c.value
169
- }, W({
170
- buttons: s(() => [
171
- u(e.$slots, "buttons", { confirm: O }, () => [
172
- c.value ? m("", !0) : (n(), r("van-button", {
171
+ "show-buttons": !v.value
172
+ }, O({
173
+ buttons: r(() => [
174
+ c(e.$slots, "buttons", { confirm: F }, () => [
175
+ v.value ? g("", !0) : (s(), p("van-button", {
173
176
  key: 0,
174
177
  type: "primary",
175
178
  round: "true",
176
179
  block: "true",
177
- onTap: t[8] || (t[8] = (l) => O())
180
+ onTap: l[8] || (l[8] = (t) => F())
178
181
  }, "确定", 32))
179
182
  ])
180
183
  ]),
181
- default: s(() => [
182
- u(e.$slots, "filter", { rendered: b.value }, () => [
183
- e.searchable ? (n(), r("van-search", {
184
+ default: r(() => [
185
+ c(e.$slots, "filter", { rendered: k.value }, () => [
186
+ e.searchable ? (s(), p("van-search", {
184
187
  key: 0,
185
188
  shape: "round",
186
189
  "input-align": "center",
187
- value: $.value,
190
+ value: w.value,
188
191
  placeholder: "输入关键字搜索",
189
- onChange: t[5] || (t[5] = (l) => $.value = l.detail.trim())
190
- }, null, 40, We)) : m("", !0)
192
+ onChange: l[5] || (l[5] = (t) => w.value = t.detail.trim())
193
+ }, null, 40, Me)) : g("", !0)
191
194
  ]),
192
- h(p(Q), null, {
193
- default: s(() => [
194
- e.virtual ? (n(), r(g, { key: 0 }, [
195
- b.value ? (n(), C(p($e), {
195
+ h(u(Z), null, {
196
+ default: r(() => [
197
+ e.virtual ? (s(), p(b, { key: 0 }, [
198
+ k.value ? (s(), y(u(we), {
196
199
  key: 0,
197
200
  class: "sun-selector-options",
201
+ options: {
202
+ estimateSize: () => E.value.itemSize,
203
+ overscan: 3,
204
+ count: i.value.length,
205
+ getItemKey: (t) => i.value[t][e.valueKey]
206
+ },
198
207
  refresher: e.refresher,
199
208
  refreshing: e.refreshing,
200
- items: N.value,
201
- "item-size": Y.value.itemSize,
202
- "item-key": e.valueKey,
203
- style: q({ height: e.height }),
204
- onRefresh: t[6] || (t[6] = (l) => d("refresh"))
209
+ items: i.value,
210
+ "item-size": E.value.itemSize,
211
+ style: N({ height: e.height }),
212
+ onRefresh: l[6] || (l[6] = (t) => f("refresh"))
205
213
  }, {
206
- default: s(({ item: l, index: v }) => [
207
- h(p(P), {
208
- class: H(["sun-selector-option", { "sun-selector-option-active": i(l) }]),
214
+ default: r(({ virtualItems: t }) => [
215
+ (s(!0), p(b, null, M(t, (a) => (s(), y(u(G), {
216
+ key: i.value[a.index][e.valueKey],
217
+ style: N(a.style),
218
+ class: X(["sun-selector-option", { "sun-selector-option-active": d(i.value[a.index]) }]),
209
219
  clickable: !0,
210
- onTap: (_) => R(l)
211
- }, W({
212
- start: s(() => [
213
- u(e.$slots, "option-start", {
214
- option: l,
215
- index: v,
216
- active: i(l)
220
+ onTap: (x) => j(i.value[a.index])
221
+ }, O({
222
+ start: r(() => [
223
+ c(e.$slots, "option-start", {
224
+ option: i.value[a.index],
225
+ index: a.index,
226
+ active: d(i.value[a.index])
217
227
  })
218
228
  ]),
219
- end: s(() => [
220
- u(e.$slots, "option-end", {
221
- option: l,
222
- index: v,
223
- active: i(l)
229
+ end: r(() => [
230
+ c(e.$slots, "option-end", {
231
+ option: i.value[a.index],
232
+ index: a.index,
233
+ active: d(i.value[a.index])
224
234
  })
225
235
  ]),
226
- default: s(() => [
227
- u(e.$slots, "option", {
228
- option: l,
229
- index: v,
230
- active: i(l)
236
+ default: r(() => [
237
+ c(e.$slots, "option", {
238
+ option: i.value[a.index],
239
+ index: a.index,
240
+ active: d(i.value[a.index])
231
241
  }, () => [
232
- D(K(l[e.labelKey]), 1)
242
+ q(C(i.value[a.index][e.labelKey]), 1)
233
243
  ])
234
244
  ]),
235
245
  _: 2
236
246
  }, [
237
- i(l) ? {
247
+ d(i.value[a.index]) ? {
238
248
  name: "end",
239
- fn: s(() => [
240
- t[10] || (t[10] = y("van-icon", {
249
+ fn: r(() => [
250
+ h(u(z), {
241
251
  class: "sun-selector-option-icon",
242
- name: "success"
243
- }, null, -1))
252
+ name: "checkmark"
253
+ })
244
254
  ]),
245
255
  key: "0"
246
256
  } : void 0
247
- ]), 1032, ["class", "onTap"])
257
+ ]), 1032, ["style", "class", "onTap"]))), 128))
248
258
  ]),
249
- empty: s(() => [
250
- h(p(we))
259
+ placeholder: r(() => [
260
+ h(u(Se), { loading: e.loading }, null, 8, ["loading"])
251
261
  ]),
252
262
  _: 3
253
- }, 8, ["refresher", "refreshing", "items", "item-size", "item-key", "style"])) : (n(), r("view", {
263
+ }, 8, ["options", "refresher", "refreshing", "items", "item-size", "style"])) : (s(), p("view", {
254
264
  key: 1,
255
- style: q({ height: e.height })
265
+ style: N({ height: e.height })
256
266
  }, null, 4))
257
- ], 64)) : (n(), C(p(Se), {
267
+ ], 64)) : (s(), y(u(Ke), {
258
268
  key: 1,
259
269
  class: "sun-selector-options",
260
270
  refresher: e.refresher,
261
271
  refreshing: e.refreshing,
262
- data: N.value,
272
+ data: i.value,
263
273
  loading: e.loading,
264
- style: q({ height: e.height }),
265
- onRefresh: t[7] || (t[7] = (l) => d("refresh"))
274
+ style: N({ height: e.height }),
275
+ onRefresh: l[7] || (l[7] = (t) => f("refresh"))
266
276
  }, {
267
- default: s(() => [
268
- (n(!0), r(g, null, A(N.value, (l, v) => (n(), C(p(P), {
269
- key: l[e.valueKey],
270
- class: H(["sun-selector-option", { "sun-selector-option-active": i(l) }]),
277
+ default: r(() => [
278
+ (s(!0), p(b, null, M(i.value, (t, a) => (s(), y(u(G), {
279
+ key: t[e.valueKey],
280
+ class: X(["sun-selector-option", { "sun-selector-option-active": d(t) }]),
271
281
  clickable: !0,
272
- onTap: (_) => R(l)
273
- }, W({
274
- start: s(() => [
275
- u(e.$slots, "option-start", {
276
- option: l,
277
- index: v,
278
- active: i(l)
282
+ onTap: (x) => j(t)
283
+ }, O({
284
+ start: r(() => [
285
+ c(e.$slots, "option-start", {
286
+ option: t,
287
+ index: a,
288
+ active: d(t)
279
289
  })
280
290
  ]),
281
- end: s(() => [
282
- u(e.$slots, "option-end", {
283
- option: l,
284
- index: v,
285
- active: i(l)
291
+ end: r(() => [
292
+ c(e.$slots, "option-end", {
293
+ option: t,
294
+ index: a,
295
+ active: d(t)
286
296
  })
287
297
  ]),
288
- default: s(() => [
289
- u(e.$slots, "option", {
290
- option: l,
291
- index: v,
292
- active: i(l)
298
+ default: r(() => [
299
+ c(e.$slots, "option", {
300
+ option: t,
301
+ index: a,
302
+ active: d(t)
293
303
  }, () => [
294
- y("view", qe, K(l[e.labelKey]), 1)
304
+ L("view", Oe, C(t[e.labelKey]), 1)
295
305
  ])
296
306
  ]),
297
307
  _: 2
298
308
  }, [
299
- i(l) ? {
309
+ d(t) ? {
300
310
  name: "end",
301
- fn: s(() => [
302
- t[11] || (t[11] = y("van-icon", {
311
+ fn: r(() => [
312
+ h(u(z), {
303
313
  class: "sun-selector-option-icon",
304
- slot: "right-icon",
305
- name: "success"
306
- }, null, -1))
314
+ name: "checkmark"
315
+ })
307
316
  ]),
308
317
  key: "0"
309
318
  } : void 0
@@ -314,21 +323,21 @@ const u = le, K = te, D = oe, g = ae, n = ne, r = se, m = re, A = ie, p = ue, s
314
323
  ]),
315
324
  _: 3
316
325
  }),
317
- u(e.$slots, "list", {
318
- rendered: b.value,
319
- ListTemplate: p(E)
326
+ c(e.$slots, "list", {
327
+ rendered: k.value,
328
+ ListTemplate: u(R)
320
329
  }, () => [
321
- h(p(E))
330
+ h(u(R))
322
331
  ])
323
332
  ]),
324
333
  _: 2
325
334
  }, [
326
- S.value ? {
335
+ K.value ? {
327
336
  name: "extra",
328
- fn: s(() => [
329
- y("view", {
337
+ fn: r(() => [
338
+ L("view", {
330
339
  class: "sun-selector-clear-btn",
331
- onTap: t[4] || (t[4] = (l) => B())
340
+ onTap: l[4] || (l[4] = (t) => B())
332
341
  }, "清除", 32)
333
342
  ]),
334
343
  key: "0"
@@ -342,5 +351,5 @@ const u = le, K = te, D = oe, g = ae, n = ne, r = se, m = re, A = ie, p = ue, s
342
351
  }
343
352
  });
344
353
  export {
345
- Ie as default
354
+ Ue as default
346
355
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-vant",
3
- "version": "3.4.3",
3
+ "version": "3.5.1",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -12,6 +12,7 @@
12
12
 
13
13
  &-clear {
14
14
  &-icon {
15
+ display: inline;
15
16
  padding: 4px;
16
17
  }
17
18