layout-style-css 1.1.1 → 2.0.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 (110) hide show
  1. package/CHANGELOG.md +42 -10
  2. package/CONTRIBUTING.md +12 -7
  3. package/README.md +231 -636
  4. package/SECURITY.md +11 -6
  5. package/demo/demo.css +523 -0
  6. package/demo/demo.js +520 -0
  7. package/demo/index.html +323 -976
  8. package/demo/site.webmanifest +1 -1
  9. package/demo/sitemap.xml +1 -1
  10. package/dist/core.css +6 -0
  11. package/dist/{layout-ui-style-kit-bridge.css → integrations/ui-style-kit.css} +23 -8
  12. package/dist/layout-style-css.css +1473 -1893
  13. package/dist/layout-style-css.min.css +1 -1
  14. package/dist/legacy.css +787 -0
  15. package/dist/personalities/bauhaus.css +46 -0
  16. package/dist/personalities/bento.css +43 -0
  17. package/dist/personalities/brutalism.css +36 -0
  18. package/dist/personalities/cyberpunk.css +36 -0
  19. package/dist/personalities/f-pattern.css +48 -0
  20. package/dist/personalities/maximalist.css +51 -0
  21. package/dist/personalities/minimal-saas.css +37 -0
  22. package/dist/personalities/mondrian.css +44 -0
  23. package/dist/personalities/neumorphism.css +46 -0
  24. package/dist/personalities/retro-glass.css +44 -0
  25. package/dist/personalities/retrofuturism.css +36 -0
  26. package/dist/personalities/split-screen.css +41 -0
  27. package/dist/personalities/synthwave.css +48 -0
  28. package/dist/personalities/tactile.css +39 -0
  29. package/dist/personalities/y2k.css +36 -0
  30. package/dist/personalities/z-pattern.css +49 -0
  31. package/dist/personalities.css +18 -0
  32. package/dist/primitives.css +219 -0
  33. package/dist/recipes.css +270 -0
  34. package/dist/utilities.css +162 -0
  35. package/dist/wrappers.css +174 -0
  36. package/docs/wiki/Contributing.md +36 -30
  37. package/docs/wiki/Demo-And-GitHub-Pages.md +53 -39
  38. package/docs/wiki/Getting-Started.md +51 -68
  39. package/docs/wiki/Home.md +33 -48
  40. package/docs/wiki/Installation-And-CDN.md +73 -58
  41. package/docs/wiki/Layout-Primitives.md +48 -57
  42. package/docs/wiki/Layout-Recipes.md +49 -80
  43. package/docs/wiki/Layout-Styles.md +33 -43
  44. package/docs/wiki/Migrating-To-2.0.md +186 -0
  45. package/docs/wiki/Release-And-Publishing.md +73 -67
  46. package/docs/wiki/Security-And-Support.md +36 -34
  47. package/docs/wiki/UI-Style-Kit-Compatibility.md +50 -54
  48. package/docs/wiki/_Sidebar.md +15 -14
  49. package/package.json +36 -45
  50. package/styles/core.css +6 -0
  51. package/styles/{layout-ui-style-kit-bridge.css → integrations/ui-style-kit.css} +23 -8
  52. package/styles/legacy.css +173 -0
  53. package/styles/personalities/bauhaus.css +46 -0
  54. package/styles/personalities/bento.css +43 -0
  55. package/styles/personalities/brutalism.css +36 -0
  56. package/styles/personalities/cyberpunk.css +36 -0
  57. package/styles/personalities/f-pattern.css +48 -0
  58. package/styles/personalities/maximalist.css +51 -0
  59. package/styles/personalities/minimal-saas.css +37 -0
  60. package/styles/personalities/mondrian.css +44 -0
  61. package/styles/personalities/neumorphism.css +46 -0
  62. package/styles/personalities/retro-glass.css +44 -0
  63. package/styles/personalities/retrofuturism.css +36 -0
  64. package/styles/personalities/split-screen.css +41 -0
  65. package/styles/personalities/synthwave.css +48 -0
  66. package/styles/personalities/tactile.css +39 -0
  67. package/styles/personalities/y2k.css +36 -0
  68. package/styles/personalities/z-pattern.css +49 -0
  69. package/styles/personalities.css +18 -0
  70. package/styles/primitives.css +219 -0
  71. package/styles/recipes.css +270 -0
  72. package/styles/utilities.css +162 -0
  73. package/styles/wrappers.css +174 -0
  74. package/dist/layout-all-with-ui-kit-and-interactive-surface.css +0 -3
  75. package/dist/layout-all-with-ui-kit.css +0 -2
  76. package/dist/layout-all.css +0 -18
  77. package/dist/layout-base.css +0 -539
  78. package/dist/layout-style-bauhaus.css +0 -70
  79. package/dist/layout-style-bento.css +0 -76
  80. package/dist/layout-style-brutalism.css +0 -70
  81. package/dist/layout-style-cyberpunk.css +0 -70
  82. package/dist/layout-style-f-pattern.css +0 -76
  83. package/dist/layout-style-maximalist.css +0 -93
  84. package/dist/layout-style-minimal-saas.css +0 -67
  85. package/dist/layout-style-mondrian.css +0 -77
  86. package/dist/layout-style-neumorphism.css +0 -72
  87. package/dist/layout-style-retro-glass.css +0 -82
  88. package/dist/layout-style-retrofuturism.css +0 -71
  89. package/dist/layout-style-split-screen.css +0 -62
  90. package/dist/layout-style-synthwave.css +0 -88
  91. package/dist/layout-style-tactile.css +0 -70
  92. package/dist/layout-style-y2k.css +0 -72
  93. package/dist/layout-style-z-pattern.css +0 -76
  94. package/styles/layout-base.css +0 -539
  95. package/styles/layout-style-bauhaus.css +0 -70
  96. package/styles/layout-style-bento.css +0 -76
  97. package/styles/layout-style-brutalism.css +0 -70
  98. package/styles/layout-style-cyberpunk.css +0 -70
  99. package/styles/layout-style-f-pattern.css +0 -76
  100. package/styles/layout-style-maximalist.css +0 -93
  101. package/styles/layout-style-minimal-saas.css +0 -67
  102. package/styles/layout-style-mondrian.css +0 -77
  103. package/styles/layout-style-neumorphism.css +0 -72
  104. package/styles/layout-style-retro-glass.css +0 -82
  105. package/styles/layout-style-retrofuturism.css +0 -71
  106. package/styles/layout-style-split-screen.css +0 -62
  107. package/styles/layout-style-synthwave.css +0 -88
  108. package/styles/layout-style-tactile.css +0 -70
  109. package/styles/layout-style-y2k.css +0 -72
  110. package/styles/layout-style-z-pattern.css +0 -76
package/CHANGELOG.md CHANGED
@@ -1,10 +1,42 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to `layout-style-css` are documented here.
4
-
5
- This project follows semantic versioning. The `1.1.1` release is additive and keeps the existing `ly-*` public contract intact.
3
+ All notable changes to `layout-style-css` are documented here. This project follows semantic versioning.
4
+
5
+ ## [2.0.0] - 2026-07-19
6
+
7
+ ### Breaking
8
+
9
+ - Rebuilt the package as a dependency-free, container-first layout system requiring Node.js 20 or newer for development scripts.
10
+ - Replaced size-tier wrappers with compact, prose, content, wide, full, and breakout semantics; wrappers now include fluid logical gutters and safe-area compensation.
11
+ - Standardized personalities, recipes, and regions on `data-ly-layout`, `data-ly-recipe`, and `data-ly-area`.
12
+ - Replaced root personality exports and companion `all-with-ui-kit*` aggregates with focused modules under `personalities/` and `integrations/`.
13
+ - Moved v1 containers, root hooks, columns, and recipe aliases into the opt-in `legacy.css` bundle for the v2 line; removal is scheduled for v3.
14
+
15
+ ### Added
16
+
17
+ - Added stack, cluster, center, cover, switcher, sidebar, grid, split, panes, media, reel, frame, and bounded-scroll primitives.
18
+ - Added seven functional recipes that preserve mobile DOM, reading, and focus order while rearranging named areas at `48rem` and `64rem` container thresholds.
19
+ - Made every `data-ly-recipe` value a complete alternative to its matching class and kept explicit wrapper measures authoritative under all personalities.
20
+ - Added sixteen spatially distinct personalities across left-rail, right-rail, three-zone, mosaic, and equal-split families.
21
+ - Added explicit base, medium-container, and large-container order escape hatches with accessibility guidance.
22
+ - Added a maintainable interactive layout lab with allowlisted query state, copyable snippets, ecosystem modes, and rendered coverage at 375px, 768px, 1280px, and 1440px.
23
+ - Added a complete 1.x-to-2.0 migration guide, Node.js 20/22 CI, and Chromium, Firefox, and WebKit release verification.
6
24
 
7
- ## [1.1.1] - 2026-07-05
25
+ ### Integration
26
+
27
+ - Pinned `ui-style-kit-css@2.0.1` and `interactive-surface-css@1.4.0` as development fixtures only; the default package has no companion imports, peer dependencies, or runtime dependencies.
28
+ - Documented the all-three import order as UI Style Kit bridge, Interactive Surface `state-core.css`, Layout integration bridge, then Layout core.
29
+ - Kept the upcoming UI Style Kit revision as a follow-up outside this release.
30
+ - Preserved structural v1 `.ly-content` and `.ly-divider` compatibility while leaving the removed paint-owned `.ly-surface--raised` selector to UI Style Kit or application themes.
31
+
32
+ ## [1.1.2] - 2026-07-08
33
+
34
+ ### Fixed
35
+
36
+ - Reissued the release metadata, package lock, README install examples, wiki checklist, and publish workflow recovery tag under `1.1.2`.
37
+ - Kept the additive `1.1.1` CSS and documentation contract intact while moving the publish target to a clean patch version.
38
+
39
+ ## [1.1.1] - 2026-07-05
8
40
 
9
41
  ### Added
10
42
 
@@ -21,16 +53,16 @@ This project follows semantic versioning. The `1.1.1` release is additive and ke
21
53
  - Reworked the demo mobile controls into a compact drawer so the sticky header does not consume the mobile viewport.
22
54
  - Expanded the demo to cover app shell, wrappers, split layouts, sidebars, panes, button groups, card grids, card sizes, galleries, carousels, frames, and scroll areas.
23
55
  - Updated README examples to use exported CSS entrypoints and valid CDN links.
24
- - Updated npm release metadata, package file allowlist, and release verification scripts for the `1.1.1` package.
25
- - Updated the npm publish workflow to publish from `release.published` events and explicit `workflow_dispatch` tags.
56
+ - Updated npm release metadata, package file allowlist, and release verification scripts for the `1.1.1` package.
57
+ - Updated the npm publish workflow to publish from `release.published` events and explicit `workflow_dispatch` tags.
26
58
 
27
59
  ### Fixed
28
60
 
29
61
  - Fixed README quick-start imports that referenced non-exported paths.
30
- - Fixed malformed UI Style Kit CDN link markup in the README.
31
- - Clarified responsive column utility documentation so class groups do not imply bare numeric class names.
32
- - Preserved GitHub Pages artifact generation with a Pages-root `index.html`.
33
- - Fixed the release automation path so draft releases can be published before the npm workflow runs.
62
+ - Fixed malformed UI Style Kit CDN link markup in the README.
63
+ - Clarified responsive column utility documentation so class groups do not imply bare numeric class names.
64
+ - Preserved GitHub Pages artifact generation with a Pages-root `index.html`.
65
+ - Fixed the release automation path so draft releases can be published before the npm workflow runs.
34
66
 
35
67
  ### Security
36
68
 
package/CONTRIBUTING.md CHANGED
@@ -6,9 +6,10 @@ Thanks for improving `layout-style-css`. This repository is a CSS layout library
6
6
 
7
7
  ```bash
8
8
  npm install
9
- npm run build
10
- npm run lint
11
- npm test
9
+ npm run build
10
+ npm run lint
11
+ npm run check:demo-js
12
+ npm test
12
13
  ```
13
14
 
14
15
  Run the full release gate before opening a release PR:
@@ -23,15 +24,18 @@ npm run release:verify
23
24
  - Regenerate `dist/` with `npm run build`; do not hand-edit generated dist files.
24
25
  - Keep public layout classes prefixed with `ly-`.
25
26
  - Leave colors, typography, borders, shadows, native controls, focus states, themes, and modes to `ui-style-kit-css`.
26
- - Add structural aliases in `styles/layout-ui-style-kit-bridge.css` only when they map to layout primitives or layout recipes.
27
+ - Add structural aliases in `styles/integrations/ui-style-kit.css` only when they map to layout primitives or layout recipes.
28
+ - Preserve semantic mobile DOM, reading, and focus order; built-in recipes must use named areas instead of `order`.
29
+ - Test container behavior below and above `48rem` and `64rem`.
27
30
  - Update README, `docs/wiki`, and `CHANGELOG.md` when a public class, export, recipe, release workflow, or package behavior changes.
28
31
 
29
32
  ## Testing Expectations
30
33
 
31
34
  Every change that affects public behavior should update or preserve:
32
35
 
33
- - `test/layout-css-contract.test.mjs` for package, CSS, docs, and tarball contracts.
34
- - `test/demo-smoke.test.mjs` for rendered demo behavior.
36
+ - `test/layout-css-contract.test.mjs` for package, CSS, docs, and tarball contracts.
37
+ - `test/release-docs-contract.test.mjs` for current documentation and workflow contracts.
38
+ - `test/demo-smoke.test.mjs` for rendered demo behavior.
35
39
  - `test/pages-artifact.test.mjs` for GitHub Pages output.
36
40
  - `stylelint` for authored CSS formatting.
37
41
 
@@ -41,7 +45,8 @@ Every change that affects public behavior should update or preserve:
41
45
  - The npm tarball contains only intended release files.
42
46
  - README examples use exported package entrypoints.
43
47
  - Documentation links resolve to versioned files.
44
- - Demo controls remain compact on mobile and tablet viewports.
48
+ - Demo controls remain compact on mobile and tablet viewports.
49
+ - Chromium, Firefox, and WebKit pass for release-facing rendered changes.
45
50
  - New CSS does not introduce UI Style Kit-owned visual declarations.
46
51
 
47
52
  ## Wiki Updates