@vegastack/design 0.15.2 → 0.15.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vegastack/design",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "description": "VegaStack design system — cn utility, icon runtime, Tailwind v4 preset, and the vegastack-design CLI (tokens ship separately as @vegastack/design-tokens)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -70,7 +70,7 @@
70
70
  "test": "node test/compare.test.mjs && node test/check-updates.test.mjs && node test/skills-install.test.mjs && node test/doctor.test.mjs && node --test test/merge-refs.test.mjs test/registry-credentials.test.mjs test/registry-fetch.test.mjs"
71
71
  },
72
72
  "dependencies": {
73
- "@vegastack/design-tokens": "^0.15.2",
73
+ "@vegastack/design-tokens": "^0.15.3",
74
74
  "clsx": "^2.1.1",
75
75
  "tailwind-merge": "^3.6.0",
76
76
  "tsconfig-paths": "^4.2.0",
@@ -120,7 +120,8 @@ putting `className="isolate"` on your `<body>` yourself. Without it, popups can
120
120
  chrome or mis-position in stacking-context-heavy layouts.
121
121
 
122
122
  **Stop iOS focus zoom.** iOS Safari zooms into any focused field under 16px. `base.css` renders
123
- text-entry controls at 16px on touch pointers. Keep zoom unrestricted; do not add a maximum-scale cap. In Next.js, in the root layout:
123
+ text-entry controls at 16px on touch pointers; also cap the viewport's scale, which stops focus zoom
124
+ while pinch-zoom keeps working on iOS. In Next.js, in the root layout:
124
125
 
125
126
  ```tsx
126
127
  import type { Viewport } from "next";
@@ -128,6 +129,7 @@ import type { Viewport } from "next";
128
129
  export const viewport: Viewport = {
129
130
  width: "device-width",
130
131
  initialScale: 1,
132
+ maximumScale: 1,
131
133
  };
132
134
  ```
133
135