@svadmin/create 0.17.0 → 0.18.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/guidance/DESIGN.md +10 -0
- package/package.json +1 -1
- package/scaffold-manifest.json +1 -1
package/guidance/DESIGN.md
CHANGED
|
@@ -156,6 +156,10 @@ Use Inter or the consumer's compatible system sans. Product pages use compact
|
|
|
156
156
|
headings and normal letter spacing. Uppercase table labels, negative tracking,
|
|
157
157
|
and oversized dashboard numerals are not defaults.
|
|
158
158
|
|
|
159
|
+
- **Tabular Figures**: All data tables, numeric metrics, counters, and
|
|
160
|
+
timestamps use `tabular-nums` (monospaced figures) to guarantee stable column
|
|
161
|
+
alignment and avoid visual jitter during live updates.
|
|
162
|
+
|
|
159
163
|
## Layout
|
|
160
164
|
|
|
161
165
|
Use an 8px spacing rhythm with 4px for tight internal alignment. Pages are
|
|
@@ -211,6 +215,12 @@ Transitions provide clear state confirmation without delaying user action:
|
|
|
211
215
|
ring and a 2px offset.
|
|
212
216
|
- **Accessibility**: All transitions and keyframe animations collapse to 0.01ms
|
|
213
217
|
when `prefers-reduced-motion: reduce` is active.
|
|
218
|
+
- **Accessible Authentication & OTP**: One-time passwords, 2FA codes, and
|
|
219
|
+
security tokens must support multi-digit paste distribution, keyboard navigation,
|
|
220
|
+
and `autocomplete="one-time-code"` without cognitive barriers (WCAG 2.2 AA).
|
|
221
|
+
- **Destructive Action Defenses**: Irreversible operations (such as deleting
|
|
222
|
+
records or revoking keys) require confirmation with clear loading states and
|
|
223
|
+
accidental submission defense.
|
|
214
224
|
|
|
215
225
|
### Reference responsibilities
|
|
216
226
|
|
package/package.json
CHANGED