@commonpub/layer 0.68.1 → 0.68.2

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 (2) hide show
  1. package/package.json +6 -6
  2. package/theme/base.css +26 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonpub/layer",
3
- "version": "0.68.1",
3
+ "version": "0.68.2",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "files": [
@@ -56,14 +56,14 @@
56
56
  "@commonpub/auth": "0.8.0",
57
57
  "@commonpub/config": "0.20.0",
58
58
  "@commonpub/docs": "0.6.3",
59
- "@commonpub/learning": "0.5.2",
60
- "@commonpub/explainer": "0.7.15",
61
59
  "@commonpub/editor": "0.7.11",
62
- "@commonpub/server": "2.83.0",
60
+ "@commonpub/explainer": "0.7.15",
61
+ "@commonpub/protocol": "0.13.0",
62
+ "@commonpub/learning": "0.5.2",
63
63
  "@commonpub/schema": "0.37.0",
64
+ "@commonpub/server": "2.83.0",
64
65
  "@commonpub/theme-studio": "0.3.0",
65
- "@commonpub/ui": "0.12.0",
66
- "@commonpub/protocol": "0.13.0"
66
+ "@commonpub/ui": "0.12.1"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@testing-library/jest-dom": "^6.9.1",
package/theme/base.css CHANGED
@@ -300,9 +300,35 @@ body {
300
300
  *::before,
301
301
  *::after {
302
302
  box-sizing: border-box;
303
+ }
304
+
305
+ /* Surface radius. Real UI surfaces (buttons, cards, inputs, tags, panels)
306
+ * inherit the theme's --radius. Structural, media, and decorative elements are
307
+ * reset to 0 below so a rounded theme (e.g. Stoa, --radius:12px) does NOT put
308
+ * radii on line breaks, dividers, rules, icons, images, table cells, or
309
+ * pseudo-element decorations — the "line breaks carry rounded corners" bug.
310
+ * (Elements that genuinely want rounding set it explicitly, e.g. avatars use
311
+ * --radius-full; an explicit class-level border-radius outranks these resets.) */
312
+ * {
303
313
  border-radius: var(--radius);
304
314
  }
305
315
 
316
+ hr,
317
+ svg,
318
+ img,
319
+ picture,
320
+ video,
321
+ canvas,
322
+ iframe,
323
+ table, thead, tbody, tfoot, tr, td, th, caption, col, colgroup,
324
+ ::before,
325
+ ::after,
326
+ ::marker,
327
+ ::placeholder,
328
+ .cpub-divider {
329
+ border-radius: 0;
330
+ }
331
+
306
332
  /* === ACCESSIBILITY === */
307
333
 
308
334
  /* Skip-to-content link */