@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/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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/design-system",
3
- "version": "0.20.22",
3
+ "version": "0.21.0",
4
4
  "description": "AI Matrx semantic React primitives shared across Vite, Next.js, desktop, and customer-built applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",