@ai-matrx/design-system 0.20.22 → 0.21.0
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 +32 -5
- package/dist/content-transfer.cjs +15 -0
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.js +15 -0
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/data-row-inspector.cjs +15 -0
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +15 -0
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +15 -0
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +15 -0
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/index.cjs +15 -0
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +15 -0
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/pagination.cjs +15 -0
- package/dist/data-table/pagination.cjs.map +1 -1
- package/dist/data-table/pagination.js +15 -0
- package/dist/data-table/pagination.js.map +1 -1
- package/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/styles.css +26 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -912,6 +912,32 @@
|
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
|
|
915
|
+
/* THE BUTTON TOUCH FLOOR (2026-09-17).
|
|
916
|
+
|
|
917
|
+
Every rung of `buttonVariants`' size scale below `xl` is shorter than the
|
|
918
|
+
44px platform touch target (`xs` 24 … `lg` 40). `button.tsx` stamps
|
|
919
|
+
`data-tap-floor` on those rungs and `data-tap-floor-square` on the icon
|
|
920
|
+
boxes; this is the rule that lifts them, and the reasoning — why every
|
|
921
|
+
sub-44 rung and not just `sm`, and why growth rather than an invisible hit
|
|
922
|
+
ring — is written out at the top of `button.tsx`.
|
|
923
|
+
|
|
924
|
+
Unlayered on purpose: a host's `h-8` utility is layered, and `min-height`
|
|
925
|
+
here has to beat it (it does not unpin `height`, it raises the floor under
|
|
926
|
+
it), exactly as the sheet/footer floors above do.
|
|
927
|
+
|
|
928
|
+
`(pointer: coarse)` ONLY — deliberately WITHOUT the `(max-width: 1023px)`
|
|
929
|
+
half the dialog-footer floor carries. A narrow desktop window is a small
|
|
930
|
+
viewport, not a finger, and desktop density must not move. */
|
|
931
|
+
@media (pointer: coarse) {
|
|
932
|
+
[data-matrx-button][data-tap-floor]:not([data-touch-exempt]) {
|
|
933
|
+
min-height: 2.75rem;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
[data-matrx-button][data-tap-floor-square]:not([data-touch-exempt]) {
|
|
937
|
+
min-width: 2.75rem;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
|
|
915
941
|
/* MatrxDataTable's structure cannot depend on a consumer's Tailwind build.
|
|
916
942
|
These hooks are intentionally limited to durable layout invariants; visual
|
|
917
943
|
styling remains in the component's token-backed utility classes. */
|
package/package.json
CHANGED