@ai-matrx/design-system 0.61.19 → 0.61.20
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 +6 -0
- package/dist/desktop.cjs +5 -3
- package/dist/desktop.cjs.map +1 -1
- package/dist/desktop.d.cts +3 -0
- package/dist/desktop.d.ts +3 -0
- package/dist/desktop.js +5 -3
- package/dist/desktop.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.61.20
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/design-system/v0.61.19..npm/design-system/v0.61.20 -- apps/shared/design-system`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.61.19 — a switch is not an off-centre pill
|
|
4
10
|
|
|
5
11
|
- Pill-inset guard: a `role="switch"`, `checkbox`, `slider` or `radio` carries state, not a
|
package/dist/desktop.cjs
CHANGED
|
@@ -2309,7 +2309,7 @@ function SourceListSection({ title, action, className, children, ...props }) {
|
|
|
2309
2309
|
children
|
|
2310
2310
|
] });
|
|
2311
2311
|
}
|
|
2312
|
-
var SourceListItem = React19.forwardRef(function SourceListItem2({ icon, label, hint, badge, current, className, type = "button", ...props }, ref) {
|
|
2312
|
+
var SourceListItem = React19.forwardRef(function SourceListItem2({ icon, label, hint, badge, current, soon, className, type = "button", ...props }, ref) {
|
|
2313
2313
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
2314
2314
|
"button",
|
|
2315
2315
|
{
|
|
@@ -2317,10 +2317,12 @@ var SourceListItem = React19.forwardRef(function SourceListItem2({ icon, label,
|
|
|
2317
2317
|
type,
|
|
2318
2318
|
"data-slot": "source-list-item",
|
|
2319
2319
|
"data-current": current || void 0,
|
|
2320
|
+
"data-soon": soon || void 0,
|
|
2320
2321
|
"aria-current": current ? "page" : void 0,
|
|
2321
2322
|
className: cn(
|
|
2322
2323
|
"focus-ring group/item flex w-full items-center gap-2 rounded-control px-2 text-left text-body text-label transition-colors duration-100 hover:bg-fill disabled:opacity-40",
|
|
2323
|
-
hint ? "min-h-row py-1" : "h-sidebar-row",
|
|
2324
|
+
hint && !soon ? "min-h-row py-1" : "h-sidebar-row",
|
|
2325
|
+
soon && "text-label-tertiary",
|
|
2324
2326
|
current && "bg-selection-muted font-medium hover:bg-selection-muted [[data-window-active=false]_&]:bg-fill",
|
|
2325
2327
|
className
|
|
2326
2328
|
),
|
|
@@ -2329,7 +2331,7 @@ var SourceListItem = React19.forwardRef(function SourceListItem2({ icon, label,
|
|
|
2329
2331
|
icon ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: cn("flex size-icon shrink-0 items-center justify-center text-label-secondary [&_svg]:size-icon", hint && "self-start mt-px"), children: icon }) : null,
|
|
2330
2332
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("span", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
2331
2333
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "truncate", children: label }),
|
|
2332
|
-
hint ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "truncate text-callout font-normal text-label-secondary", children: hint }) : null
|
|
2334
|
+
hint && !soon ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "truncate text-callout font-normal text-label-secondary", children: hint }) : null
|
|
2333
2335
|
] }),
|
|
2334
2336
|
badge ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "flex shrink-0 items-center text-callout tabular-nums text-label-tertiary", children: badge }) : null
|
|
2335
2337
|
]
|