@godxjp/ui 16.3.0 → 16.5.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.
Files changed (35) hide show
  1. package/dist/app/app-provider.js +1 -0
  2. package/dist/components/data-display/card.d.ts +5 -1
  3. package/dist/components/data-display/card.js +4 -2
  4. package/dist/components/feedback/sheet.js +3 -1
  5. package/dist/components/navigation/steps.js +2 -2
  6. package/dist/lib/control-styles.d.ts +7 -5
  7. package/dist/lib/control-styles.js +4 -4
  8. package/dist/props/registry.d.ts +1 -1
  9. package/dist/props/registry.js +1 -1
  10. package/dist/styles/alert-layout.css +7 -5
  11. package/dist/styles/card-layout.css +33 -1
  12. package/dist/styles/control.css +24 -14
  13. package/dist/styles/data-display-layout.css +15 -12
  14. package/dist/styles/data-entry-layout.css +2 -2
  15. package/dist/styles/dialog-layout.css +6 -2
  16. package/dist/styles/index.css +52 -7
  17. package/dist/styles/layout.css +3 -0
  18. package/dist/styles/navigation-layout.css +10 -10
  19. package/dist/styles/shell-layout.css +17 -6
  20. package/dist/styles/table-layout.css +5 -5
  21. package/dist/tokens/foundation.css +70 -8
  22. package/package.json +10 -8
  23. package/dist/tokens/components/badge.css +0 -10
  24. package/dist/tokens/components/card.css +0 -51
  25. package/dist/tokens/components/control.css +0 -82
  26. package/dist/tokens/components/data-display.css +0 -8
  27. package/dist/tokens/components/data-entry.css +0 -6
  28. package/dist/tokens/components/descriptions.css +0 -9
  29. package/dist/tokens/components/feedback.css +0 -25
  30. package/dist/tokens/components/form.css +0 -11
  31. package/dist/tokens/components/list-row.css +0 -9
  32. package/dist/tokens/components/navigation.css +0 -15
  33. package/dist/tokens/components/shell.css +0 -17
  34. package/dist/tokens/components/table.css +0 -13
  35. package/dist/tokens/semantic/layout.css +0 -49
@@ -1,49 +0,0 @@
1
- /* Layout primitive tokens: page, section, stack, inline. */
2
-
3
- :root {
4
- /* Semantic spacing — ONE coherent 4px grid (Tailwind/Material/Ant standard). All steps reference
5
- * the linear `--space-*` scale (NOT the golden φ scale — golden ratio is for modular SIZE scales
6
- * like type/radius, not the spacing grid; mixing the two left an incoherent density rhythm). The
7
- * φ tokens remain available as an optional golden-layout utility, just not the spacing baseline. */
8
- --space-page-x: var(--space-6); /* 24px — page gutter */
9
- --space-page-y: var(--space-6); /* 24px */
10
- --space-section: var(--space-4); /* 16px */
11
- --space-stack-xs: var(--space-1); /* 4px */
12
- --space-stack-sm: var(--space-2); /* 8px */
13
- --space-stack-md: var(--space-4); /* 16px */
14
- --space-stack-lg: var(--space-6); /* 24px */
15
- --space-stack-xl: var(--space-10); /* 40px */
16
- --space-inline-xs: var(--space-1); /* 4px */
17
- --space-inline-sm: var(--space-2); /* 8px */
18
- --space-inline-md: var(--space-3); /* 12px */
19
- --space-inline-lg: var(--space-4); /* 16px */
20
-
21
- --space-page-active-x: var(--space-page-x);
22
- --space-page-active-y: var(--space-page-y);
23
- --space-section-active: var(--space-section);
24
-
25
- /* Full-bleed rule under the PageContainer header. OFF by default — the title/body
26
- * gap already separates them; a divider is a service-theme opt-in:
27
- * `--page-header-divider: 1px solid hsl(var(--border));` */
28
- --page-header-divider: none;
29
-
30
- /* Bottom inset of the page header, sized so title→body distance (this pad + the
31
- * --space-section-active container gap) EQUALS the page's top padding — the title
32
- * band reads vertically balanced (24 above / 24 below by default), instead of the
33
- * old fixed 16px pad that left 24 above vs 32 below. */
34
- --page-header-pad-bottom: calc(var(--space-page-active-y) - var(--space-section-active));
35
-
36
- /* Section "chrome" padding — the SHARED inset for header / body / footer of every overlay-ish
37
- * surface (Dialog · Sheet · Drawer · Card). One global knob: a service sets these once instead of
38
- * per-component. Vertical is tightened (16 vs the old 24) and density-aware (see density.css);
39
- * horizontal stays 24 (Ant standard). Per-component tokens (--sheet-pad-*, --dialog-space-inset…)
40
- * default to these and only override when a surface genuinely needs to differ. */
41
- --space-chrome-x: var(--space-6); /* 24px — horizontal inset */
42
- --space-chrome-y: var(--space-4); /* 16px — vertical inset (header/footer/body) */
43
- --space-chrome-gap: var(--space-stack-sm); /* gap between header ↔ body ↔ footer */
44
-
45
- /* The ONE vertical gap between a field's LABEL and its CONTENT — same everywhere a label sits above
46
- * a control or a value (FormField, Descriptions, Form, any label-above stack). Single source so the
47
- * whole system stays in sync (gh feedback: Descriptions was ~0px while FormField was 8px). */
48
- --field-label-gap: var(--space-2); /* 8px */
49
- }