@ac-design/design-system 1.0.2 → 1.0.3
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.
|
@@ -294,12 +294,12 @@ var M = /*@__PURE__*/ p({
|
|
|
294
294
|
_: 1
|
|
295
295
|
}, 8, ["content"])) : q.value === "labels" || q.value === "array" ? (_(), l("span", {
|
|
296
296
|
key: 6,
|
|
297
|
-
class: "flex w-max min-w-0
|
|
297
|
+
class: h(["flex w-max min-w-0 items-center gap-1", L.value ? "flex-wrap" : "flex-nowrap"]),
|
|
298
298
|
style: g({ maxWidth: p.maxWidth })
|
|
299
299
|
}, [(_(!0), l(a, null, oe(Ae.value, (e, t) => (_(), s(i, {
|
|
300
300
|
key: `${e.text}-${t}`,
|
|
301
301
|
content: e.text.length > 28 && !L.value ? e.text : "",
|
|
302
|
-
class: h(!L.value && "max-w-48")
|
|
302
|
+
class: h(!L.value && "max-w-48 min-w-0")
|
|
303
303
|
}, {
|
|
304
304
|
default: C(() => [e.key ? (_(), s(r, {
|
|
305
305
|
key: 0,
|
|
@@ -317,7 +317,7 @@ var M = /*@__PURE__*/ p({
|
|
|
317
317
|
"aria-expanded": L.value,
|
|
318
318
|
"aria-label": L.value ? `Show fewer ${Pe.value}` : `Show ${Q.value} more ${Pe.value}`,
|
|
319
319
|
onClick: f[2] ||= w((e) => L.value = !L.value, ["stop"])
|
|
320
|
-
}, b(L.value ? "Show less" : `+${Q.value} more`), 9, ge)) : c("", !0)],
|
|
320
|
+
}, b(L.value ? "Show less" : `+${Q.value} more`), 9, ge)) : c("", !0)], 6)) : (_(), s(i, {
|
|
321
321
|
key: 7,
|
|
322
322
|
content: ke.value,
|
|
323
323
|
class: "min-w-0"
|