layout-style-css 3.0.0 → 3.0.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.
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "layout-style-css",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Dependency-free structural CSS for responsive wrappers, composition primitives, recipes, utilities, and layout personalities.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
- "homepage": "https://github.com/Foscat/layout-style-css#readme",
7
+ "homepage": "https://foscat.github.io/Layout-Style-CSS/",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/Foscat/layout-style-css.git"
@@ -24,7 +24,7 @@
24
24
  "shell-layouts"
25
25
  ],
26
26
  "main": "dist/layout-style-css.css",
27
- "style": "dist/layout-style-css.min.css",
27
+ "style": "dist/layout-style-css.css",
28
28
  "unpkg": "dist/layout-style-css.min.css",
29
29
  "jsdelivr": "dist/layout-style-css.min.css",
30
30
  "scripts": {
@@ -32,7 +32,8 @@
32
32
  "pages:build": "node scripts/build-pages.mjs",
33
33
  "lint": "stylelint \"styles/**/*.css\" \"demo/**/*.css\"",
34
34
  "check:demo-js": "node --check demo/demo.js",
35
- "test:static": "node test/layout-css-contract.test.mjs && node test/release-docs-contract.test.mjs",
35
+ "check:ownership": "node scripts/check-css-ownership.mjs",
36
+ "test:static": "node --test --test-concurrency=1 test/manifest-contract.test.mjs test/ownership-boundaries.test.mjs test/package-contract.test.mjs test/release-preflight.test.mjs && node test/layout-css-contract.test.mjs && node test/release-docs-contract.test.mjs",
36
37
  "test:demo:quick": "node test/demo-smoke.test.mjs --quick --browser=chromium",
37
38
  "test:demo:chromium": "node test/demo-smoke.test.mjs --browser=chromium",
38
39
  "test:demo:firefox": "node test/demo-smoke.test.mjs --browser=firefox",
@@ -41,11 +42,12 @@
41
42
  "test:pages": "node test/pages-artifact.test.mjs",
42
43
  "test": "npm run test:static && npm run test:demo:quick && npm run test:pages",
43
44
  "test:full": "npm run test:static && npm run test:demo:all && npm run test:pages",
44
- "check": "npm run build && npm run lint && npm run check:demo-js && npm test && npm run pack:dry-run",
45
- "check:full": "npm run build && npm run lint && npm run check:demo-js && npm run test:full && npm run pack:dry-run",
45
+ "check": "npm run build && npm run check:ownership && npm run lint && npm run check:demo-js && npm test && npm run pack:dry-run",
46
+ "check:full": "npm run build && npm run check:ownership && npm run lint && npm run check:demo-js && npm run test:full && npm run pack:dry-run",
46
47
  "pack:dry-run": "npm pack --dry-run --ignore-scripts",
47
48
  "publish:dry-run": "npm publish --dry-run --access public --ignore-scripts",
48
- "release:verify": "npm run check:full && npm audit --audit-level=moderate && npm run publish:dry-run",
49
+ "release:preflight": "npm run build && node scripts/release-fixture-contract.mjs",
50
+ "release:verify": "npm run check:full && npm run release:preflight && npm audit --audit-level=moderate && npm run publish:dry-run",
49
51
  "prepack": "npm run build && npm run test:static",
50
52
  "prepublishOnly": "npm run release:verify"
51
53
  },
@@ -54,10 +56,17 @@
54
56
  },
55
57
  "devDependencies": {
56
58
  "@playwright/test": "1.61.1",
59
+ "css-tree": "3.2.1",
57
60
  "interactive-surface-css": "1.5.0",
58
61
  "stylelint": "17.14.0",
59
62
  "ui-style-kit-css": "2.1.0"
60
63
  },
64
+ "overrides": {
65
+ "fast-uri": "3.1.5",
66
+ "js-yaml": "4.3.1",
67
+ "nanoid": "3.3.18",
68
+ "postcss": "8.5.23"
69
+ },
61
70
  "exports": {
62
71
  ".": "./dist/layout-style-css.css",
63
72
  "./min.css": "./dist/layout-style-css.min.css",
@@ -69,6 +78,8 @@
69
78
  "./utilities.css": "./dist/utilities.css",
70
79
  "./personalities.css": "./dist/personalities.css",
71
80
  "./personalities/*.css": "./dist/personalities/*.css",
81
+ "./personalities.json": "./personalities.json",
82
+ "./manifest.json": "./manifest.json",
72
83
  "./package.json": "./package.json"
73
84
  },
74
85
  "files": [
@@ -81,6 +92,12 @@
81
92
  "dist/recipes.css",
82
93
  "dist/utilities.css",
83
94
  "dist/personalities.css",
84
- "dist/personalities/*.css"
95
+ "dist/personalities/*.css",
96
+ "personalities.json",
97
+ "manifest.json",
98
+ "README.md",
99
+ "LICENSE",
100
+ "CHANGELOG.md",
101
+ "docs/wiki"
85
102
  ]
86
103
  }
@@ -0,0 +1,147 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "generatedFrom": "manifest.json",
4
+ "selector": "data-ly-layout",
5
+ "independentSelectors": [
6
+ "data-ly-layout",
7
+ "data-ui",
8
+ "data-theme",
9
+ "data-mode"
10
+ ],
11
+ "personalities": [
12
+ {
13
+ "id": "minimal-saas",
14
+ "label": "Minimal SaaS",
15
+ "visualCompatibility": "native",
16
+ "recommendedVisualPresets": [
17
+ "minimal-saas"
18
+ ]
19
+ },
20
+ {
21
+ "id": "bento",
22
+ "label": "Bento",
23
+ "visualCompatibility": "native",
24
+ "recommendedVisualPresets": [
25
+ "bento"
26
+ ]
27
+ },
28
+ {
29
+ "id": "maximalist",
30
+ "label": "Maximalist",
31
+ "visualCompatibility": "native",
32
+ "recommendedVisualPresets": [
33
+ "maximalist"
34
+ ]
35
+ },
36
+ {
37
+ "id": "bauhaus",
38
+ "label": "Bauhaus",
39
+ "visualCompatibility": "native",
40
+ "recommendedVisualPresets": [
41
+ "bauhaus"
42
+ ]
43
+ },
44
+ {
45
+ "id": "tactile",
46
+ "label": "Tactile",
47
+ "visualCompatibility": "native",
48
+ "recommendedVisualPresets": [
49
+ "tactile"
50
+ ]
51
+ },
52
+ {
53
+ "id": "neumorphism",
54
+ "label": "Neumorphism",
55
+ "visualCompatibility": "native",
56
+ "recommendedVisualPresets": [
57
+ "neumorphism"
58
+ ]
59
+ },
60
+ {
61
+ "id": "retrofuturism",
62
+ "label": "Retrofuturism",
63
+ "visualCompatibility": "native",
64
+ "recommendedVisualPresets": [
65
+ "retrofuturism"
66
+ ]
67
+ },
68
+ {
69
+ "id": "brutalism",
70
+ "label": "Brutalism",
71
+ "visualCompatibility": "native",
72
+ "recommendedVisualPresets": [
73
+ "brutalism"
74
+ ]
75
+ },
76
+ {
77
+ "id": "cyberpunk",
78
+ "label": "Cyberpunk",
79
+ "visualCompatibility": "native",
80
+ "recommendedVisualPresets": [
81
+ "cyberpunk"
82
+ ]
83
+ },
84
+ {
85
+ "id": "y2k",
86
+ "label": "Y2K",
87
+ "visualCompatibility": "native",
88
+ "recommendedVisualPresets": [
89
+ "y2k"
90
+ ]
91
+ },
92
+ {
93
+ "id": "retro-glass",
94
+ "label": "Retro Glass",
95
+ "visualCompatibility": "native",
96
+ "recommendedVisualPresets": [
97
+ "retro-glass"
98
+ ]
99
+ },
100
+ {
101
+ "id": "f-pattern",
102
+ "label": "F-pattern",
103
+ "visualCompatibility": "any",
104
+ "recommendedVisualPresets": []
105
+ },
106
+ {
107
+ "id": "z-pattern",
108
+ "label": "Z-pattern",
109
+ "visualCompatibility": "any",
110
+ "recommendedVisualPresets": []
111
+ },
112
+ {
113
+ "id": "split-screen",
114
+ "label": "Split Screen",
115
+ "visualCompatibility": "any",
116
+ "recommendedVisualPresets": []
117
+ },
118
+ {
119
+ "id": "mondrian",
120
+ "label": "Mondrian",
121
+ "visualCompatibility": "any",
122
+ "recommendedVisualPresets": []
123
+ },
124
+ {
125
+ "id": "synthwave",
126
+ "label": "Synthwave",
127
+ "visualCompatibility": "recommended",
128
+ "recommendedVisualPresets": [
129
+ "cyberpunk",
130
+ "retrofuturism"
131
+ ],
132
+ "visualVerification": {
133
+ "method": "rendered-computed-style",
134
+ "test": "test/demo-smoke.test.mjs",
135
+ "computedProperties": {
136
+ "cyberpunk": {
137
+ "boxShadow": "0px 0px 18px"
138
+ },
139
+ "retrofuturism": {
140
+ "boxShadow": "0px 10px 30px"
141
+ }
142
+ },
143
+ "assertion": "A visible browser contract fixture renders each preset's distinct article box-shadow while data-ly-layout remains synthwave."
144
+ }
145
+ }
146
+ ]
147
+ }