@ponchia/ui 0.9.0 → 0.11.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 (98) hide show
  1. package/CHANGELOG.md +107 -4
  2. package/MIGRATIONS.json +127 -18
  3. package/README.md +17 -9
  4. package/behaviors/index.d.ts +0 -2
  5. package/behaviors/index.d.ts.map +1 -1
  6. package/behaviors/index.js +0 -2
  7. package/behaviors/popover.js +4 -4
  8. package/classes/classes.json +53 -9
  9. package/classes/index.d.ts +20 -3
  10. package/classes/index.js +33 -3
  11. package/classes/vscode.css-custom-data.json +10 -10
  12. package/css/annotations.css +2 -2
  13. package/css/app.css +55 -31
  14. package/css/base.css +10 -14
  15. package/css/command.css +4 -4
  16. package/css/content.css +23 -21
  17. package/css/disclosure.css +17 -17
  18. package/css/discussion.css +150 -0
  19. package/css/feedback.css +15 -15
  20. package/css/figure.css +6 -4
  21. package/css/forms.css +8 -7
  22. package/css/generated.css +19 -12
  23. package/css/legend.css +13 -5
  24. package/css/navigation.css +3 -3
  25. package/css/overlay.css +13 -29
  26. package/css/primitives.css +48 -28
  27. package/css/report.css +91 -53
  28. package/css/sources.css +1 -1
  29. package/css/state.css +95 -6
  30. package/css/table.css +3 -3
  31. package/css/tokens.css +10 -10
  32. package/css/workbench.css +21 -9
  33. package/dist/bronto.css +1 -1
  34. package/dist/css/analytical.css +1 -1
  35. package/dist/css/annotations.css +1 -1
  36. package/dist/css/app.css +1 -1
  37. package/dist/css/base.css +1 -1
  38. package/dist/css/command.css +1 -1
  39. package/dist/css/content.css +1 -1
  40. package/dist/css/disclosure.css +1 -1
  41. package/dist/css/discussion.css +1 -0
  42. package/dist/css/feedback.css +1 -1
  43. package/dist/css/figure.css +1 -1
  44. package/dist/css/forms.css +1 -1
  45. package/dist/css/generated.css +1 -1
  46. package/dist/css/legend.css +1 -1
  47. package/dist/css/navigation.css +1 -1
  48. package/dist/css/overlay.css +1 -1
  49. package/dist/css/primitives.css +1 -1
  50. package/dist/css/report-kit.css +1 -1
  51. package/dist/css/report.css +1 -1
  52. package/dist/css/sources.css +1 -1
  53. package/dist/css/state.css +1 -1
  54. package/dist/css/table.css +1 -1
  55. package/dist/css/tokens.css +1 -1
  56. package/dist/css/workbench.css +1 -1
  57. package/docs/adr/0004-prune-unused-adapters.md +5 -1
  58. package/docs/adr/0005-productive-tools-and-editorial-reports.md +58 -0
  59. package/docs/adr/0006-trusted-publishing.md +92 -0
  60. package/docs/architecture.md +16 -23
  61. package/docs/command.md +1 -2
  62. package/docs/compositions.md +131 -0
  63. package/docs/discussion.md +64 -0
  64. package/docs/figure.md +10 -1
  65. package/docs/frontier-primitives.md +1 -2
  66. package/docs/migrations/0.10-to-0.11.md +61 -0
  67. package/docs/migrations/0.9-to-0.10.md +47 -0
  68. package/docs/package-contract.md +16 -13
  69. package/docs/reference.md +47 -18
  70. package/docs/reporting.md +15 -9
  71. package/docs/stability.md +20 -55
  72. package/docs/state.md +47 -0
  73. package/docs/usage.md +18 -30
  74. package/llms.txt +7 -18
  75. package/package.json +18 -54
  76. package/tokens/figma.variables.json +20 -20
  77. package/tokens/index.js +10 -10
  78. package/tokens/index.json +20 -20
  79. package/tokens/resolved.json +10 -10
  80. package/tokens/tokens.dtcg.json +20 -20
  81. package/behaviors/modal.d.ts +0 -45
  82. package/behaviors/modal.d.ts.map +0 -1
  83. package/behaviors/modal.js +0 -373
  84. package/qwik/index.d.ts +0 -48
  85. package/qwik/index.d.ts.map +0 -1
  86. package/qwik/index.js +0 -227
  87. package/react/index.d.ts +0 -45
  88. package/react/index.d.ts.map +0 -1
  89. package/react/index.js +0 -165
  90. package/solid/index.d.ts +0 -75
  91. package/solid/index.d.ts.map +0 -1
  92. package/solid/index.js +0 -172
  93. package/svelte/index.d.ts +0 -114
  94. package/svelte/index.d.ts.map +0 -1
  95. package/svelte/index.js +0 -197
  96. package/vue/index.d.ts +0 -116
  97. package/vue/index.d.ts.map +0 -1
  98. package/vue/index.js +0 -266
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ponchia/ui",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "description": "CSS-first identity and UI layer for services, tools, sites, and reports \u2014 works in HTML, every framework, and PDF, no component runtime. Shared app shell, forms, tables, workflow chrome, plus opt-in analytical/report primitives. Monochrome with one rationed accent. Zero runtime dependencies.",
6
6
  "keywords": [
@@ -58,11 +58,6 @@
58
58
  "schemas",
59
59
  "annotations",
60
60
  "connectors",
61
- "react",
62
- "solid",
63
- "qwik",
64
- "svelte",
65
- "vue",
66
61
  "shiki",
67
62
  "llms.txt",
68
63
  "CHANGELOG.md",
@@ -83,6 +78,7 @@
83
78
  "docs/vega.md",
84
79
  "docs/figure.md",
85
80
  "docs/annotations.md",
81
+ "docs/discussion.md",
86
82
  "docs/legends.md",
87
83
  "docs/marks.md",
88
84
  "docs/connectors.md",
@@ -118,7 +114,12 @@
118
114
  "docs/adr/0001-color-system.md",
119
115
  "docs/adr/0002-scope-and-2026-baseline.md",
120
116
  "docs/adr/0003-theme-model.md",
121
- "docs/adr/0004-prune-unused-adapters.md"
117
+ "docs/adr/0004-prune-unused-adapters.md",
118
+ "docs/compositions.md",
119
+ "docs/adr/0005-productive-tools-and-editorial-reports.md",
120
+ "docs/migrations/0.9-to-0.10.md",
121
+ "docs/adr/0006-trusted-publishing.md",
122
+ "docs/migrations/0.10-to-0.11.md"
122
123
  ],
123
124
  "style": "./dist/bronto.css",
124
125
  "scripts": {
@@ -181,7 +182,6 @@
181
182
  "check:component-matrix": "node scripts/check-component-matrix.mjs",
182
183
  "check:behavior-matrix": "node scripts/check-behavior-matrix.mjs",
183
184
  "check:helper-matrix": "node scripts/check-helper-matrix.mjs",
184
- "check:binding-matrix": "node scripts/check-binding-matrix.mjs",
185
185
  "check:examples": "node scripts/check-examples.mjs",
186
186
  "check:visual-baselines": "node scripts/check-visual-baselines.mjs",
187
187
  "check:playwright-container": "node scripts/check-playwright-container.mjs",
@@ -200,7 +200,7 @@
200
200
  "check:publint": "publint --strict",
201
201
  "check:attw": "attw --pack --ignore-rules no-resolution cjs-resolves-to-esm",
202
202
  "check:workflows": "github-actionlint .github/workflows/*.yml",
203
- "check": "npm run lint && npm run check:format && npm run check:exports && npm run check:fresh && npm run check:classes && npm run check:recipe-types && npm run check:dead && npm run check:complexity && npm run check:types && npm run check:unit && npm run check:shiki && npm run check:dist && npm run check:pack && npm run check:consumer-surface && npm run check:consumer-types && npm run check:component-matrix && npm run check:behavior-matrix && npm run check:helper-matrix && npm run check:binding-matrix && npm run check:examples && npm run check:visual-baselines && npm run check:playwright-container && npm run check:schemas && npm run check:publint && npm run check:attw && npm run check:workflows && npm run check:release && npm run check:versions && npm run check:migrations && npm run check:public-metadata && npm run check:public-hygiene && npm run check:doc-links && npm run check:doc-recipes && npm run check:contract && npm run check:variables && npm run check:contrast && npm run check:dtcg && npm run check:dts-emit && npm run check:glyphs && npm run check:color-policy && npm run check:skins && npm run check:charts && npm run check:mermaid && npm run check:d2 && npm run check:vega && npm run check:report && npm run check:legend && npm run check:chain",
203
+ "check": "npm run lint && npm run check:format && npm run check:exports && npm run check:fresh && npm run check:classes && npm run check:recipe-types && npm run check:dead && npm run check:complexity && npm run check:types && npm run check:unit && npm run check:shiki && npm run check:dist && npm run check:pack && npm run check:consumer-surface && npm run check:consumer-types && npm run check:component-matrix && npm run check:behavior-matrix && npm run check:helper-matrix && npm run check:examples && npm run check:visual-baselines && npm run check:playwright-container && npm run check:schemas && npm run check:publint && npm run check:attw && npm run check:workflows && npm run check:release && npm run check:versions && npm run check:migrations && npm run check:public-metadata && npm run check:public-hygiene && npm run check:doc-links && npm run check:doc-recipes && npm run check:contract && npm run check:variables && npm run check:contrast && npm run check:dtcg && npm run check:dts-emit && npm run check:glyphs && npm run check:color-policy && npm run check:skins && npm run check:charts && npm run check:mermaid && npm run check:d2 && npm run check:vega && npm run check:report && npm run check:legend && npm run check:chain",
204
204
  "test": "node --test \"test/*.test.mjs\"",
205
205
  "test:e2e": "playwright test",
206
206
  "test:e2e:chromium": "playwright test --project=chromium",
@@ -217,7 +217,6 @@
217
217
  "devDependencies": {
218
218
  "@arethetypeswrong/cli": "^0.18.5",
219
219
  "@axe-core/playwright": "^4.11.3",
220
- "@builder.io/qwik": "^1.20.0",
221
220
  "@playwright/test": "1.60.0",
222
221
  "github-actionlint": "^1.7.12",
223
222
  "jsdom": "^30.0.1",
@@ -225,9 +224,6 @@
225
224
  "pdfjs-dist": "^6.2.108",
226
225
  "prettier": "^3.9.6",
227
226
  "publint": "^0.3.23",
228
- "react": "^19.2.8",
229
- "react-dom": "^19.2.8",
230
- "solid-js": "^1.9.14",
231
227
  "stylelint": "^17.14.1",
232
228
  "stylelint-config-standard": "^40.0.0",
233
229
  "stylelint-use-logical": "^2.1.3",
@@ -235,22 +231,6 @@
235
231
  "vega": "^6.3.1",
236
232
  "vega-lite": "^6.4.3"
237
233
  },
238
- "peerDependencies": {
239
- "@builder.io/qwik": ">=1.5",
240
- "react": ">=18",
241
- "solid-js": ">=1.6"
242
- },
243
- "peerDependenciesMeta": {
244
- "@builder.io/qwik": {
245
- "optional": true
246
- },
247
- "react": {
248
- "optional": true
249
- },
250
- "solid-js": {
251
- "optional": true
252
- }
253
- },
254
234
  "exports": {
255
235
  ".": {
256
236
  "types": "./index.d.ts",
@@ -476,10 +456,6 @@
476
456
  "types": "./behaviors/menu.d.ts",
477
457
  "default": "./behaviors/menu.js"
478
458
  },
479
- "./behaviors/modal": {
480
- "types": "./behaviors/modal.d.ts",
481
- "default": "./behaviors/modal.js"
482
- },
483
459
  "./behaviors/popover": {
484
460
  "types": "./behaviors/popover.d.ts",
485
461
  "default": "./behaviors/popover.js"
@@ -524,26 +500,6 @@
524
500
  "types": "./connectors/index.d.ts",
525
501
  "default": "./connectors/index.js"
526
502
  },
527
- "./react": {
528
- "types": "./react/index.d.ts",
529
- "default": "./react/index.js"
530
- },
531
- "./solid": {
532
- "types": "./solid/index.d.ts",
533
- "default": "./solid/index.js"
534
- },
535
- "./qwik": {
536
- "types": "./qwik/index.d.ts",
537
- "default": "./qwik/index.js"
538
- },
539
- "./svelte": {
540
- "types": "./svelte/index.d.ts",
541
- "default": "./svelte/index.js"
542
- },
543
- "./vue": {
544
- "types": "./vue/index.d.ts",
545
- "default": "./vue/index.js"
546
- },
547
503
  "./skins": {
548
504
  "types": "./tokens/skins.d.ts",
549
505
  "default": "./tokens/skins.js"
@@ -568,7 +524,15 @@
568
524
  "default": "./tokens/vega.js"
569
525
  },
570
526
  "./vega.json": "./tokens/vega.json",
571
- "./fonts/*": "./fonts/*"
527
+ "./fonts/*": "./fonts/*",
528
+ "./docs/compositions.md": "./docs/compositions.md",
529
+ "./docs/adr/0005-productive-tools-and-editorial-reports.md": "./docs/adr/0005-productive-tools-and-editorial-reports.md",
530
+ "./docs/migrations/0.9-to-0.10.md": "./docs/migrations/0.9-to-0.10.md",
531
+ "./docs/adr/0006-trusted-publishing.md": "./docs/adr/0006-trusted-publishing.md",
532
+ "./docs/migrations/0.10-to-0.11.md": "./docs/migrations/0.10-to-0.11.md",
533
+ "./css/discussion.css": "./dist/css/discussion.css",
534
+ "./css/unlayered/discussion.css": "./css/discussion.css",
535
+ "./docs/discussion.md": "./docs/discussion.md"
572
536
  },
573
537
  "overrides": {
574
538
  "adm-zip": "0.6.0",
@@ -1836,12 +1836,12 @@
1836
1836
  "type": "FLOAT",
1837
1837
  "sourceCssVariable": "--radius-lg",
1838
1838
  "valuesByMode": {
1839
- "global": 3
1839
+ "global": 6
1840
1840
  },
1841
1841
  "$extensions": {
1842
1842
  "com.ponchia.css": {
1843
1843
  "variable": "--radius-lg",
1844
- "value": "3px"
1844
+ "value": "6px"
1845
1845
  }
1846
1846
  },
1847
1847
  "unit": "px"
@@ -1851,12 +1851,12 @@
1851
1851
  "type": "FLOAT",
1852
1852
  "sourceCssVariable": "--radius-md",
1853
1853
  "valuesByMode": {
1854
- "global": 2
1854
+ "global": 4
1855
1855
  },
1856
1856
  "$extensions": {
1857
1857
  "com.ponchia.css": {
1858
1858
  "variable": "--radius-md",
1859
- "value": "2px"
1859
+ "value": "4px"
1860
1860
  }
1861
1861
  },
1862
1862
  "unit": "px"
@@ -1881,12 +1881,12 @@
1881
1881
  "type": "FLOAT",
1882
1882
  "sourceCssVariable": "--radius-sm",
1883
1883
  "valuesByMode": {
1884
- "global": 1
1884
+ "global": 2
1885
1885
  },
1886
1886
  "$extensions": {
1887
1887
  "com.ponchia.css": {
1888
1888
  "variable": "--radius-sm",
1889
- "value": "1px"
1889
+ "value": "2px"
1890
1890
  }
1891
1891
  },
1892
1892
  "unit": "px"
@@ -1896,12 +1896,12 @@
1896
1896
  "type": "FLOAT",
1897
1897
  "sourceCssVariable": "--radius-xl",
1898
1898
  "valuesByMode": {
1899
- "global": 4
1899
+ "global": 8
1900
1900
  },
1901
1901
  "$extensions": {
1902
1902
  "com.ponchia.css": {
1903
1903
  "variable": "--radius-xl",
1904
- "value": "4px"
1904
+ "value": "8px"
1905
1905
  }
1906
1906
  },
1907
1907
  "unit": "px"
@@ -2114,12 +2114,12 @@
2114
2114
  "type": "FLOAT",
2115
2115
  "sourceCssVariable": "--text-2xs",
2116
2116
  "valuesByMode": {
2117
- "global": 0.72
2117
+ "global": 0.75
2118
2118
  },
2119
2119
  "$extensions": {
2120
2120
  "com.ponchia.css": {
2121
2121
  "variable": "--text-2xs",
2122
- "value": "0.72rem"
2122
+ "value": "0.75rem"
2123
2123
  }
2124
2124
  },
2125
2125
  "unit": "rem"
@@ -2129,12 +2129,12 @@
2129
2129
  "type": "FLOAT",
2130
2130
  "sourceCssVariable": "--text-base",
2131
2131
  "valuesByMode": {
2132
- "global": 0.95
2132
+ "global": 1
2133
2133
  },
2134
2134
  "$extensions": {
2135
2135
  "com.ponchia.css": {
2136
2136
  "variable": "--text-base",
2137
- "value": "0.95rem"
2137
+ "value": "1rem"
2138
2138
  }
2139
2139
  },
2140
2140
  "unit": "rem"
@@ -2144,12 +2144,12 @@
2144
2144
  "type": "FLOAT",
2145
2145
  "sourceCssVariable": "--text-lg",
2146
2146
  "valuesByMode": {
2147
- "global": 1.15
2147
+ "global": 1.125
2148
2148
  },
2149
2149
  "$extensions": {
2150
2150
  "com.ponchia.css": {
2151
2151
  "variable": "--text-lg",
2152
- "value": "1.15rem"
2152
+ "value": "1.125rem"
2153
2153
  }
2154
2154
  },
2155
2155
  "unit": "rem"
@@ -2159,12 +2159,12 @@
2159
2159
  "type": "FLOAT",
2160
2160
  "sourceCssVariable": "--text-sm",
2161
2161
  "valuesByMode": {
2162
- "global": 0.86
2162
+ "global": 0.875
2163
2163
  },
2164
2164
  "$extensions": {
2165
2165
  "com.ponchia.css": {
2166
2166
  "variable": "--text-sm",
2167
- "value": "0.86rem"
2167
+ "value": "0.875rem"
2168
2168
  }
2169
2169
  },
2170
2170
  "unit": "rem"
@@ -2174,12 +2174,12 @@
2174
2174
  "type": "FLOAT",
2175
2175
  "sourceCssVariable": "--text-xl",
2176
2176
  "valuesByMode": {
2177
- "global": 1.45
2177
+ "global": 1.5
2178
2178
  },
2179
2179
  "$extensions": {
2180
2180
  "com.ponchia.css": {
2181
2181
  "variable": "--text-xl",
2182
- "value": "1.45rem"
2182
+ "value": "1.5rem"
2183
2183
  }
2184
2184
  },
2185
2185
  "unit": "rem"
@@ -2189,12 +2189,12 @@
2189
2189
  "type": "FLOAT",
2190
2190
  "sourceCssVariable": "--text-xs",
2191
2191
  "valuesByMode": {
2192
- "global": 0.76
2192
+ "global": 0.8125
2193
2193
  },
2194
2194
  "$extensions": {
2195
2195
  "com.ponchia.css": {
2196
2196
  "variable": "--text-xs",
2197
- "value": "0.76rem"
2197
+ "value": "0.8125rem"
2198
2198
  }
2199
2199
  },
2200
2200
  "unit": "rem"
package/tokens/index.js CHANGED
@@ -21,10 +21,10 @@
21
21
  export const cssVars = {
22
22
  // Global :root — scales, shared with both themes.
23
23
  global: {
24
- '--radius-xl': '4px',
25
- '--radius-lg': '3px',
26
- '--radius-md': '2px',
27
- '--radius-sm': '1px',
24
+ '--radius-xl': '8px',
25
+ '--radius-lg': '6px',
26
+ '--radius-md': '4px',
27
+ '--radius-sm': '2px',
28
28
  '--radius-pill': '999px',
29
29
  '--space-2xs': '0.25rem',
30
30
  '--space-xs': '0.5rem',
@@ -63,12 +63,12 @@ export const cssVars = {
63
63
  '--display': 'var(--dot-font)',
64
64
  '--display-weight': '700',
65
65
  '--display-weight-strong': '800',
66
- '--text-2xs': '0.72rem',
67
- '--text-xs': '0.76rem',
68
- '--text-sm': '0.86rem',
69
- '--text-base': '0.95rem',
70
- '--text-lg': '1.15rem',
71
- '--text-xl': '1.45rem',
66
+ '--text-2xs': '0.75rem',
67
+ '--text-xs': '0.8125rem',
68
+ '--text-sm': '0.875rem',
69
+ '--text-base': '1rem',
70
+ '--text-lg': '1.125rem',
71
+ '--text-xl': '1.5rem',
72
72
  '--tracking-wide': '0.14em',
73
73
  '--tracking-wider': '0.22em',
74
74
  '--ease-standard': 'cubic-bezier(0.2, 0.8, 0.2, 1)',
package/tokens/index.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "$comment": "GENERATED from tokens/index.js — do not edit by hand. Run `npm run tokens:build`; drift-checked by check:fresh. A build artifact for non-JS tooling (Style Dictionary, Figma, other languages).",
3
3
  "cssVars": {
4
4
  "global": {
5
- "--radius-xl": "4px",
6
- "--radius-lg": "3px",
7
- "--radius-md": "2px",
8
- "--radius-sm": "1px",
5
+ "--radius-xl": "8px",
6
+ "--radius-lg": "6px",
7
+ "--radius-md": "4px",
8
+ "--radius-sm": "2px",
9
9
  "--radius-pill": "999px",
10
10
  "--space-2xs": "0.25rem",
11
11
  "--space-xs": "0.5rem",
@@ -26,12 +26,12 @@
26
26
  "--display": "var(--dot-font)",
27
27
  "--display-weight": "700",
28
28
  "--display-weight-strong": "800",
29
- "--text-2xs": "0.72rem",
30
- "--text-xs": "0.76rem",
31
- "--text-sm": "0.86rem",
32
- "--text-base": "0.95rem",
33
- "--text-lg": "1.15rem",
34
- "--text-xl": "1.45rem",
29
+ "--text-2xs": "0.75rem",
30
+ "--text-xs": "0.8125rem",
31
+ "--text-sm": "0.875rem",
32
+ "--text-base": "1rem",
33
+ "--text-lg": "1.125rem",
34
+ "--text-xl": "1.5rem",
35
35
  "--tracking-wide": "0.14em",
36
36
  "--tracking-wider": "0.22em",
37
37
  "--ease-standard": "cubic-bezier(0.2, 0.8, 0.2, 1)",
@@ -153,10 +153,10 @@
153
153
  },
154
154
  "tokens": {
155
155
  "scale": {
156
- "radius-xl": "4px",
157
- "radius-lg": "3px",
158
- "radius-md": "2px",
159
- "radius-sm": "1px",
156
+ "radius-xl": "8px",
157
+ "radius-lg": "6px",
158
+ "radius-md": "4px",
159
+ "radius-sm": "2px",
160
160
  "radius-pill": "999px",
161
161
  "space-2xs": "0.25rem",
162
162
  "space-xs": "0.5rem",
@@ -177,12 +177,12 @@
177
177
  "display": "var(--dot-font)",
178
178
  "display-weight": "700",
179
179
  "display-weight-strong": "800",
180
- "text-2xs": "0.72rem",
181
- "text-xs": "0.76rem",
182
- "text-sm": "0.86rem",
183
- "text-base": "0.95rem",
184
- "text-lg": "1.15rem",
185
- "text-xl": "1.45rem",
180
+ "text-2xs": "0.75rem",
181
+ "text-xs": "0.8125rem",
182
+ "text-sm": "0.875rem",
183
+ "text-base": "1rem",
184
+ "text-lg": "1.125rem",
185
+ "text-xl": "1.5rem",
186
186
  "tracking-wide": "0.14em",
187
187
  "tracking-wider": "0.22em",
188
188
  "ease-standard": "cubic-bezier(0.2, 0.8, 0.2, 1)",
@@ -129,10 +129,10 @@
129
129
  "--focus-ring": "#ff3b41"
130
130
  },
131
131
  "scale": {
132
- "--radius-xl": "4px",
133
- "--radius-lg": "3px",
134
- "--radius-md": "2px",
135
- "--radius-sm": "1px",
132
+ "--radius-xl": "8px",
133
+ "--radius-lg": "6px",
134
+ "--radius-md": "4px",
135
+ "--radius-sm": "2px",
136
136
  "--radius-pill": "999px",
137
137
  "--space-2xs": "0.25rem",
138
138
  "--space-xs": "0.5rem",
@@ -153,12 +153,12 @@
153
153
  "--display": "'Doto', 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', ui-monospace, monospace",
154
154
  "--display-weight": "700",
155
155
  "--display-weight-strong": "800",
156
- "--text-2xs": "0.72rem",
157
- "--text-xs": "0.76rem",
158
- "--text-sm": "0.86rem",
159
- "--text-base": "0.95rem",
160
- "--text-lg": "1.15rem",
161
- "--text-xl": "1.45rem",
156
+ "--text-2xs": "0.75rem",
157
+ "--text-xs": "0.8125rem",
158
+ "--text-sm": "0.875rem",
159
+ "--text-base": "1rem",
160
+ "--text-lg": "1.125rem",
161
+ "--text-xl": "1.5rem",
162
162
  "--tracking-wide": "0.14em",
163
163
  "--tracking-wider": "0.22em",
164
164
  "--ease-standard": "cubic-bezier(0.2, 0.8, 0.2, 1)",
@@ -25,52 +25,52 @@
25
25
  "xl": {
26
26
  "$type": "dimension",
27
27
  "$value": {
28
- "value": 4,
28
+ "value": 8,
29
29
  "unit": "px"
30
30
  },
31
31
  "$extensions": {
32
32
  "com.ponchia.css": {
33
33
  "variable": "--radius-xl",
34
- "authoredValue": "4px"
34
+ "authoredValue": "8px"
35
35
  }
36
36
  }
37
37
  },
38
38
  "lg": {
39
39
  "$type": "dimension",
40
40
  "$value": {
41
- "value": 3,
41
+ "value": 6,
42
42
  "unit": "px"
43
43
  },
44
44
  "$extensions": {
45
45
  "com.ponchia.css": {
46
46
  "variable": "--radius-lg",
47
- "authoredValue": "3px"
47
+ "authoredValue": "6px"
48
48
  }
49
49
  }
50
50
  },
51
51
  "md": {
52
52
  "$type": "dimension",
53
53
  "$value": {
54
- "value": 2,
54
+ "value": 4,
55
55
  "unit": "px"
56
56
  },
57
57
  "$extensions": {
58
58
  "com.ponchia.css": {
59
59
  "variable": "--radius-md",
60
- "authoredValue": "2px"
60
+ "authoredValue": "4px"
61
61
  }
62
62
  }
63
63
  },
64
64
  "sm": {
65
65
  "$type": "dimension",
66
66
  "$value": {
67
- "value": 1,
67
+ "value": 2,
68
68
  "unit": "px"
69
69
  },
70
70
  "$extensions": {
71
71
  "com.ponchia.css": {
72
72
  "variable": "--radius-sm",
73
- "authoredValue": "1px"
73
+ "authoredValue": "2px"
74
74
  }
75
75
  }
76
76
  },
@@ -310,78 +310,78 @@
310
310
  "2xs": {
311
311
  "$type": "dimension",
312
312
  "$value": {
313
- "value": 0.72,
313
+ "value": 0.75,
314
314
  "unit": "rem"
315
315
  },
316
316
  "$extensions": {
317
317
  "com.ponchia.css": {
318
318
  "variable": "--text-2xs",
319
- "authoredValue": "0.72rem"
319
+ "authoredValue": "0.75rem"
320
320
  }
321
321
  }
322
322
  },
323
323
  "xs": {
324
324
  "$type": "dimension",
325
325
  "$value": {
326
- "value": 0.76,
326
+ "value": 0.8125,
327
327
  "unit": "rem"
328
328
  },
329
329
  "$extensions": {
330
330
  "com.ponchia.css": {
331
331
  "variable": "--text-xs",
332
- "authoredValue": "0.76rem"
332
+ "authoredValue": "0.8125rem"
333
333
  }
334
334
  }
335
335
  },
336
336
  "sm": {
337
337
  "$type": "dimension",
338
338
  "$value": {
339
- "value": 0.86,
339
+ "value": 0.875,
340
340
  "unit": "rem"
341
341
  },
342
342
  "$extensions": {
343
343
  "com.ponchia.css": {
344
344
  "variable": "--text-sm",
345
- "authoredValue": "0.86rem"
345
+ "authoredValue": "0.875rem"
346
346
  }
347
347
  }
348
348
  },
349
349
  "base": {
350
350
  "$type": "dimension",
351
351
  "$value": {
352
- "value": 0.95,
352
+ "value": 1,
353
353
  "unit": "rem"
354
354
  },
355
355
  "$extensions": {
356
356
  "com.ponchia.css": {
357
357
  "variable": "--text-base",
358
- "authoredValue": "0.95rem"
358
+ "authoredValue": "1rem"
359
359
  }
360
360
  }
361
361
  },
362
362
  "lg": {
363
363
  "$type": "dimension",
364
364
  "$value": {
365
- "value": 1.15,
365
+ "value": 1.125,
366
366
  "unit": "rem"
367
367
  },
368
368
  "$extensions": {
369
369
  "com.ponchia.css": {
370
370
  "variable": "--text-lg",
371
- "authoredValue": "1.15rem"
371
+ "authoredValue": "1.125rem"
372
372
  }
373
373
  }
374
374
  },
375
375
  "xl": {
376
376
  "$type": "dimension",
377
377
  "$value": {
378
- "value": 1.45,
378
+ "value": 1.5,
379
379
  "unit": "rem"
380
380
  },
381
381
  "$extensions": {
382
382
  "com.ponchia.css": {
383
383
  "variable": "--text-xl",
384
- "authoredValue": "1.45rem"
384
+ "authoredValue": "1.5rem"
385
385
  }
386
386
  }
387
387
  }
@@ -1,45 +0,0 @@
1
- /**
2
- * @typedef {object} ModalCloseDetail
3
- * @property {'escape'} reason What asked the modal to close (currently only Escape).
4
- */
5
- /**
6
- * Focus management for the **controlled, non-`<dialog>` modal** — the
7
- * `.ui-modal.is-open` path a portal/React overlay uses when it genuinely can't
8
- * be a native `<dialog>`. The native `<dialog>` path gets a focus trap, Escape,
9
- * and the top layer for free (use `initDialog`); this supplies the equivalent
10
- * for the `.is-open` path, which otherwise leaves focus management to the
11
- * consumer.
12
- *
13
- * Mark the overlay `[data-bronto-modal]` (opt-in). On bind it gives the modal a
14
- * `role="dialog"` + `aria-modal="true"` (unless the author set a role) and
15
- * dev-warns when it has no accessible name. While open, a document-level stack
16
- * reconciler keeps only the top controlled modal interactive, marks the rest of
17
- * the page `inert`, admits an open popover owned by the top modal even when the
18
- * panel is portaled elsewhere, and applies the trap to background nodes added
19
- * after open. Nested and sibling portal modals therefore share one ownership
20
- * model instead of independently inverting each other's `inert` state.
21
- *
22
- * Bronto owns focus only: the **consumer still owns open/close state** (the
23
- * `is-open` class). Escape dispatches a cancelable `bronto:modal:close`
24
- * ({@link ModalCloseDetail}) on the modal so the consumer can drop `is-open` in
25
- * response; the behavior never changes visibility itself. Closing a parent
26
- * modal temporarily suspends any still-`is-open` controlled descendants; they
27
- * resume at the top of the stack if the parent reopens.
28
- *
29
- * SSR-safe, idempotent per modal; returns a cleanup function.
30
- *
31
- * @deprecated Use a native `<dialog>` with `initDialog()`. This controlled
32
- * non-dialog path remains compatible in 0.7 and is scheduled for removal no
33
- * earlier than 0.8 because no real consumer adopted it.
34
- *
35
- * @param {import('./internal.js').DelegateOpts} [opts]
36
- * @returns {import('./internal.js').Cleanup}
37
- */
38
- export function initModal({ root }?: import("./internal.js").DelegateOpts): import("./internal.js").Cleanup;
39
- export type ModalCloseDetail = {
40
- /**
41
- * What asked the modal to close (currently only Escape).
42
- */
43
- reason: "escape";
44
- };
45
- //# sourceMappingURL=modal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.js"],"names":[],"mappings":"AAmQA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qCAHW,OAAO,eAAe,EAAE,YAAY,GAClC,OAAO,eAAe,EAAE,OAAO,CA6E3C;;;;;YA/Ga,QAAQ"}