@ai-matrx/design-system 0.86.352 → 0.86.353
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 +16 -2
- package/dist/desktop.cjs +15 -4
- package/dist/desktop.cjs.map +1 -1
- package/dist/desktop.css +10 -0
- package/dist/desktop.js +15 -4
- package/dist/desktop.js.map +1 -1
- package/dist/index.cjs +19 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +778 -775
- package/dist/index.d.ts +778 -775
- package/dist/index.js +19 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/desktop.css
CHANGED
|
@@ -1337,3 +1337,13 @@
|
|
|
1337
1337
|
[data-slot="banner"][data-float] [data-slot="banner-text"] {
|
|
1338
1338
|
flex-basis: 0;
|
|
1339
1339
|
}
|
|
1340
|
+
/* The body and text columns clip, so a long title's one-line width never widens them past the card
|
|
1341
|
+
and under its × (overflow other than visible drops the flex item's min-content floor to 0). */
|
|
1342
|
+
[data-slot="banner"][data-float] [data-slot="banner-body"],
|
|
1343
|
+
[data-slot="banner"][data-float] [data-slot="banner-text"] {
|
|
1344
|
+
min-width: 0;
|
|
1345
|
+
overflow: hidden;
|
|
1346
|
+
}
|
|
1347
|
+
[data-slot="banner"][data-float] [data-slot="banner-title"] {
|
|
1348
|
+
max-width: 100%;
|
|
1349
|
+
}
|
package/dist/desktop.js
CHANGED
|
@@ -1217,10 +1217,21 @@ function Notices({ children, className, onHeight, ...props }) {
|
|
|
1217
1217
|
className: cn2("flex flex-col items-stretch gap-2 empty:hidden", className),
|
|
1218
1218
|
...props,
|
|
1219
1219
|
children: /* @__PURE__ */ jsxs7(NoticeStackContext.Provider, { value: registry, children: [
|
|
1220
|
-
layout.folded > 0 ? /* @__PURE__ */ jsx11(
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1220
|
+
layout.folded > 0 ? /* @__PURE__ */ jsx11(
|
|
1221
|
+
Button2,
|
|
1222
|
+
{
|
|
1223
|
+
type: "button",
|
|
1224
|
+
"data-slot": "notices-more",
|
|
1225
|
+
variant: "plain",
|
|
1226
|
+
size: "sm",
|
|
1227
|
+
className: "order-first self-end rounded-full px-2 py-0.5",
|
|
1228
|
+
onClick: () => registry.expand(),
|
|
1229
|
+
children: /* @__PURE__ */ jsxs7(Text, { variant: "caption", tone: "secondary", children: [
|
|
1230
|
+
layout.folded,
|
|
1231
|
+
" more"
|
|
1232
|
+
] })
|
|
1233
|
+
}
|
|
1234
|
+
) : null,
|
|
1224
1235
|
children
|
|
1225
1236
|
] })
|
|
1226
1237
|
}
|