@wix/origami-site-runtime 1.0.9 → 1.0.10
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/README.md
CHANGED
|
@@ -28,12 +28,12 @@ cannot hide an illegally placed target. Diagnostics retain the original node sou
|
|
|
28
28
|
`@origami-target internal-container-content-wrapper` routes to
|
|
29
29
|
`#id > .id-overflow-wrapper > .id-container`; `internal-container-overflow-wrapper`
|
|
30
30
|
routes to `#id > .id-overflow-wrapper`. Names come from the pure
|
|
31
|
-
`@wix/origami-
|
|
31
|
+
`@wix/origami-system-components/layout-contract` entry point. Root sizing, item placement, visibility
|
|
32
32
|
and ordinary positioning remain on the ID selector. Background, border and pinned-layer
|
|
33
33
|
CSS comes from `@wix/origami-system-components/InternalContainer.css`, imported by the maintained
|
|
34
|
-
`@wix/origami-
|
|
34
|
+
`@wix/origami-system-components/InternalContainer` component. The component preserves focus and
|
|
35
35
|
wrapper flags. Ref support is deferred
|
|
36
|
-
(see the [
|
|
36
|
+
(see the [system-components decision](../origami-system-components/README.md#decision-defer-ref-support-2026-09-24)).
|
|
37
37
|
|
|
38
38
|
Only explicit targets in site-owned layout.css carriers opt in. Sources of inlined nodes
|
|
39
39
|
are checked too, including dependency CSS. Targets in style/global-style CSS, mixins,
|
|
@@ -62,10 +62,10 @@ half-pixel floor; fixed values retain fractional pixels; zero is zero. See the
|
|
|
62
62
|
|
|
63
63
|
## Release and limitations
|
|
64
64
|
|
|
65
|
-
Generated structures import Page, Section, HeaderSection and
|
|
66
|
-
`@wix/origami-system-components` subpaths,
|
|
65
|
+
Generated structures import Page, Section, HeaderSection, FooterSection and InternalContainer from
|
|
66
|
+
`@wix/origami-system-components` subpaths,
|
|
67
67
|
and other editor components from fetched wrappers. The package dependency order is
|
|
68
|
-
`@wix/origami-system-components` → `@wix/origami-
|
|
68
|
+
`@wix/origami-system-components` → `@wix/origami-site-runtime`;
|
|
69
69
|
publish the required entry points before generator/CLI releases that consume them. Existing dependency
|
|
70
70
|
entries, including local/file runtime overrides, are preserved when component dependencies are added.
|
|
71
71
|
Packed tests verify the compiler and pure layout contract outside the workspace with only
|
|
@@ -84,5 +84,5 @@ limitations, not claims of Thunderbolt parity; they need a separate producer/run
|
|
|
84
84
|
responsive SPX and grid/flex, nested fractional fixed values, max widths/alignment, overflow,
|
|
85
85
|
visibility, focus/pointer mechanics, HMR and production build. Install Playwright Chromium or
|
|
86
86
|
set `CHROME_CHANNEL=chrome` to use installed Chrome.
|
|
87
|
-
- Build, lint and test
|
|
87
|
+
- Build, lint and test system-components and the site generator when changing their contract or
|
|
88
88
|
minimum versions. Static producer fixture provenance lives in test/fixtures/css/README.md.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/origami-site-runtime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Vite development and build helpers for wix-import static sites",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@wix/builder-error-pages": "^1.1.6",
|
|
21
21
|
"@wix/builder-piler-components": "^1.6.7",
|
|
22
22
|
"@wix/origami-fonts": "1.0.0",
|
|
23
|
-
"@wix/origami-
|
|
23
|
+
"@wix/origami-system-components": "1.5.0",
|
|
24
24
|
"postcss": "^8.5.3",
|
|
25
25
|
"postcss-custom-media": "^12.0.1",
|
|
26
26
|
"react": "^18.3.1",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"./default-error-404": "./src/default-error-404.jsx"
|
|
66
66
|
},
|
|
67
67
|
"type": "module",
|
|
68
|
-
"falconPackageHash": "
|
|
68
|
+
"falconPackageHash": "0990c03591853c63cfb1830321eeb582aefc540da51c85616b51d879"
|
|
69
69
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import postcss from 'postcss'
|
|
2
|
-
import { buildContainerClasses } from '@wix/origami-
|
|
2
|
+
import { buildContainerClasses } from '@wix/origami-system-components/layout-contract'
|
|
3
3
|
import { CONTENT } from './contract.js'
|
|
4
4
|
import { isLayoutSource, parseTargets } from './parser.js'
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { basename } from 'node:path'
|
|
2
|
-
import { isValidContainerId } from '@wix/origami-
|
|
2
|
+
import { isValidContainerId } from '@wix/origami-system-components/layout-contract'
|
|
3
3
|
import { relativeToSite } from '../../routing/siteLayout.js'
|
|
4
4
|
import { CONTENT, OVERFLOW, targets, displays } from './contract.js'
|
|
5
5
|
|