@ac-design/design-system 2.6.0 → 2.6.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/dist/lib/compat.css
CHANGED
|
@@ -1242,6 +1242,9 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
1242
1242
|
.max-w-48:where([data-ac-ds], [data-ac-ds] *) {
|
|
1243
1243
|
max-width: calc(var(--spacing) * 48) !important;
|
|
1244
1244
|
}
|
|
1245
|
+
.max-w-60:where([data-ac-ds], [data-ac-ds] *) {
|
|
1246
|
+
max-width: calc(var(--spacing) * 60) !important;
|
|
1247
|
+
}
|
|
1245
1248
|
.max-w-64:where([data-ac-ds], [data-ac-ds] *) {
|
|
1246
1249
|
max-width: calc(var(--spacing) * 64) !important;
|
|
1247
1250
|
}
|
|
@@ -1365,6 +1368,9 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
|
|
|
1365
1368
|
.basis-\[80px\]:where([data-ac-ds], [data-ac-ds] *) {
|
|
1366
1369
|
flex-basis: 80px !important;
|
|
1367
1370
|
}
|
|
1371
|
+
.basis-\[220px\]:where([data-ac-ds], [data-ac-ds] *) {
|
|
1372
|
+
flex-basis: 220px !important;
|
|
1373
|
+
}
|
|
1368
1374
|
.basis-\[240px\]:where([data-ac-ds], [data-ac-ds] *) {
|
|
1369
1375
|
flex-basis: 240px !important;
|
|
1370
1376
|
}
|
|
@@ -12,7 +12,7 @@ var g = {
|
|
|
12
12
|
class: "mt-0.5 text-xs leading-4 text-muted"
|
|
13
13
|
}, b = {
|
|
14
14
|
key: 1,
|
|
15
|
-
class: "flex shrink-0 flex-wrap items-center gap-2"
|
|
15
|
+
class: "flex max-w-full min-w-0 shrink-0 flex-wrap items-center gap-2"
|
|
16
16
|
}, x = /*@__PURE__*/ c({
|
|
17
17
|
__name: "AcCard",
|
|
18
18
|
props: {
|
|
@@ -203,7 +203,7 @@ var g = {
|
|
|
203
203
|
key: 1,
|
|
204
204
|
class: l(["absolute -top-4 -right-4 [&_svg]:size-24!", M.value.watermark])
|
|
205
205
|
}, [d(e.$slots, "icon")], 2))])) : i("", !0),
|
|
206
|
-
o("div", { class: l(["flex min-w-0 flex-1 items-center", A.value ? "gap-2.5" : "gap-3"]) }, [c.icon || e.$slots.icon ? (u(), a("span", {
|
|
206
|
+
o("div", { class: l(["flex min-w-0 flex-1 basis-[220px] items-center", A.value ? "gap-2.5" : "gap-3"]) }, [c.icon || e.$slots.icon ? (u(), a("span", {
|
|
207
207
|
key: 0,
|
|
208
208
|
class: l(["flex shrink-0 items-center justify-center", [
|
|
209
209
|
M.value.tile,
|
|
@@ -338,12 +338,12 @@ var A = /*@__PURE__*/ f({
|
|
|
338
338
|
_: 1
|
|
339
339
|
}, 8, ["content"])) : G.value === "labels" || G.value === "array" ? (h(), l("span", {
|
|
340
340
|
key: 6,
|
|
341
|
-
class:
|
|
341
|
+
class: "flex max-w-full min-w-0 flex-wrap items-center gap-1.5",
|
|
342
342
|
style: ae({ maxWidth: f.maxWidth })
|
|
343
343
|
}, [(h(!0), l(a, null, ce(Ve.value, (t, n) => (h(), s(e, {
|
|
344
344
|
key: `${t.text}-${n}`,
|
|
345
345
|
content: t.text.length > 28 && !M.value ? t.text : "",
|
|
346
|
-
class: m(!M.value && "max-w-
|
|
346
|
+
class: m(["max-w-full min-w-0", !M.value && "max-w-60"])
|
|
347
347
|
}, {
|
|
348
348
|
default: x(() => [u("span", be, [G.value === "labels" ? (h(), s(y(pe), {
|
|
349
349
|
key: 0,
|
|
@@ -358,7 +358,7 @@ var A = /*@__PURE__*/ f({
|
|
|
358
358
|
"aria-expanded": M.value,
|
|
359
359
|
"aria-label": M.value ? `Show fewer ${Ge.value}` : `Show ${X.value} more ${Ge.value}`,
|
|
360
360
|
onClick: o[2] ||= S((e) => M.value = !M.value, ["stop"])
|
|
361
|
-
}, v(M.value ? "Show less" : `+${X.value} more`), 9, Se)) : c("", !0)],
|
|
361
|
+
}, v(M.value ? "Show less" : `+${X.value} more`), 9, Se)) : c("", !0)], 4)) : (h(), s(e, {
|
|
362
362
|
key: 7,
|
|
363
363
|
content: ze.value,
|
|
364
364
|
class: "min-w-0"
|