@ai-matrx/design-system 0.86.343 → 0.86.344
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 +23 -2
- package/dist/carousel.js +1 -1
- package/dist/{chunk-FM5RVMH4.js → chunk-54UK6P7E.js} +2 -2
- package/dist/{chunk-B4WMMAAJ.js → chunk-6CDAHINE.js} +1 -1
- package/dist/chunk-6CDAHINE.js.map +1 -0
- package/dist/content-transfer.css +1 -10
- package/dist/controls.cjs.map +1 -1
- package/dist/controls.css +44 -0
- package/dist/controls.d.cts +6 -3
- package/dist/controls.d.ts +6 -3
- package/dist/controls.js +1 -1
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +1 -1
- package/dist/desktop.cjs.map +1 -1
- package/dist/desktop.js +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/settings.cjs.map +1 -1
- package/dist/settings.js +1 -1
- package/dist/writing-field.cjs.map +1 -1
- package/dist/writing-field.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-B4WMMAAJ.js.map +0 -1
- /package/dist/{chunk-FM5RVMH4.js.map → chunk-54UK6P7E.js.map} +0 -0
package/dist/controls.css
CHANGED
|
@@ -1672,6 +1672,50 @@
|
|
|
1672
1672
|
color: hsl(var(--muted-foreground));
|
|
1673
1673
|
font-size: var(--matrx-control-secondary);
|
|
1674
1674
|
}
|
|
1675
|
+
/* layout="icon": the launcher tile of an icon grid (Can make, pinned apps, a copy palette) — the
|
|
1676
|
+
glyph centered over an 11px label centered under it, two lines at most, no frame; a pick is a
|
|
1677
|
+
soft tint, never an outline; `end` (a check) is a badge on the top corner. After dense, so a
|
|
1678
|
+
dense icon tile keeps this geometry (a stacked 13px start-aligned card read large and sloppy
|
|
1679
|
+
in a 4-up menu grid, 2026-10-23). */
|
|
1680
|
+
.matrx-tile[data-layout="icon"] {
|
|
1681
|
+
position: relative;
|
|
1682
|
+
flex-direction: column !important;
|
|
1683
|
+
align-items: center !important;
|
|
1684
|
+
justify-content: flex-start !important;
|
|
1685
|
+
gap: 0.25rem !important;
|
|
1686
|
+
min-height: 3.5rem !important;
|
|
1687
|
+
padding: 0.5rem 0.125rem 0.375rem !important;
|
|
1688
|
+
border-color: transparent !important;
|
|
1689
|
+
border-radius: 0.5rem !important;
|
|
1690
|
+
text-align: center !important;
|
|
1691
|
+
}
|
|
1692
|
+
.matrx-tile[data-layout="icon"][data-selected]:not([data-selected-style]) {
|
|
1693
|
+
background-color: hsl(var(--primary) / 0.1) !important;
|
|
1694
|
+
}
|
|
1695
|
+
.matrx-tile[data-layout="icon"][data-selected]:not([data-selected-style]) .matrx-tile-title {
|
|
1696
|
+
color: hsl(var(--primary-ink)) !important;
|
|
1697
|
+
}
|
|
1698
|
+
.matrx-tile[data-layout="icon"] .matrx-tile-icon { justify-content: center; }
|
|
1699
|
+
.matrx-tile[data-layout="icon"] .matrx-tile-text { flex: 0 0 auto; width: 100%; align-items: center; gap: 0; }
|
|
1700
|
+
.matrx-tile[data-layout="icon"] .matrx-tile-title {
|
|
1701
|
+
display: -webkit-box;
|
|
1702
|
+
max-width: 100%;
|
|
1703
|
+
-webkit-box-orient: vertical;
|
|
1704
|
+
-webkit-line-clamp: 2;
|
|
1705
|
+
overflow: hidden;
|
|
1706
|
+
overflow-wrap: break-word;
|
|
1707
|
+
text-overflow: clip;
|
|
1708
|
+
white-space: normal;
|
|
1709
|
+
font-size: 0.6875rem !important;
|
|
1710
|
+
font-weight: 400 !important;
|
|
1711
|
+
line-height: 1.25 !important;
|
|
1712
|
+
}
|
|
1713
|
+
.matrx-tile[data-layout="icon"] .matrx-tile-line { display: none !important; }
|
|
1714
|
+
.matrx-tile[data-layout="icon"] .matrx-tile-end {
|
|
1715
|
+
position: absolute;
|
|
1716
|
+
top: 0.25rem;
|
|
1717
|
+
inset-inline-end: 0.25rem;
|
|
1718
|
+
}
|
|
1675
1719
|
|
|
1676
1720
|
/* ── Button meta: the mixed-content fact after a label (0.68.12) ───────── */
|
|
1677
1721
|
.matrx-control-button-meta {
|
package/dist/controls.d.cts
CHANGED
|
@@ -601,13 +601,16 @@ interface SettingRowProps {
|
|
|
601
601
|
}
|
|
602
602
|
/** One ~36px row: 13px label, optional 12px line, controls on the right. */
|
|
603
603
|
declare function SettingRow({ label, line, htmlFor, children, className }: SettingRowProps): React.JSX.Element;
|
|
604
|
-
type TileLayout = "row" | "stack" | "adaptive";
|
|
604
|
+
type TileLayout = "row" | "stack" | "adaptive" | "icon";
|
|
605
605
|
interface TileProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "title"> {
|
|
606
606
|
/** `row` (default): glyph, then a 13px title over a 12px line, start-aligned, full width — a
|
|
607
607
|
* choice in a list, a quick action. `stack`: glyph on top, title and line under it — a grid
|
|
608
608
|
* tile. `adaptive`: `stack` from the `sm` breakpoint (640px) up, a compact `row` below it — a
|
|
609
|
-
* grid of option cards that becomes a list on a phone.
|
|
610
|
-
*
|
|
609
|
+
* grid of option cards that becomes a list on a phone. `icon`: the launcher tile of an icon
|
|
610
|
+
* grid (a "Can make" grid, a sidebar's pinned apps, a copy palette) — the glyph centered over
|
|
611
|
+
* an 11px label centered under it, up to two lines, no frame, a pick is a soft tint, `end`
|
|
612
|
+
* is a badge on the top corner, `line` is hidden. All are taller than a control: they carry
|
|
613
|
+
* text, so they never take the 28px lock. */
|
|
611
614
|
layout?: TileLayout;
|
|
612
615
|
/** `outline` (default): the bordered card skin. `quiet`: no frame until hover — a row in a
|
|
613
616
|
* menu-like list. */
|
package/dist/controls.d.ts
CHANGED
|
@@ -601,13 +601,16 @@ interface SettingRowProps {
|
|
|
601
601
|
}
|
|
602
602
|
/** One ~36px row: 13px label, optional 12px line, controls on the right. */
|
|
603
603
|
declare function SettingRow({ label, line, htmlFor, children, className }: SettingRowProps): React.JSX.Element;
|
|
604
|
-
type TileLayout = "row" | "stack" | "adaptive";
|
|
604
|
+
type TileLayout = "row" | "stack" | "adaptive" | "icon";
|
|
605
605
|
interface TileProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "title"> {
|
|
606
606
|
/** `row` (default): glyph, then a 13px title over a 12px line, start-aligned, full width — a
|
|
607
607
|
* choice in a list, a quick action. `stack`: glyph on top, title and line under it — a grid
|
|
608
608
|
* tile. `adaptive`: `stack` from the `sm` breakpoint (640px) up, a compact `row` below it — a
|
|
609
|
-
* grid of option cards that becomes a list on a phone.
|
|
610
|
-
*
|
|
609
|
+
* grid of option cards that becomes a list on a phone. `icon`: the launcher tile of an icon
|
|
610
|
+
* grid (a "Can make" grid, a sidebar's pinned apps, a copy palette) — the glyph centered over
|
|
611
|
+
* an 11px label centered under it, up to two lines, no frame, a pick is a soft tint, `end`
|
|
612
|
+
* is a badge on the top corner, `line` is hidden. All are taller than a control: they carry
|
|
613
|
+
* text, so they never take the 28px lock. */
|
|
611
614
|
layout?: TileLayout;
|
|
612
615
|
/** `outline` (default): the bordered card skin. `quiet`: no frame until hover — a row in a
|
|
613
616
|
* menu-like list. */
|