@wix/origami-site 1.0.27 → 1.0.29

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/origami-site",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "Runs an exported Wix origami site: file-based routing, Wix dynamic pages, popups and build checks. Use with @wix/origami-site-astro or @wix/origami-site-express.",
5
5
  "type": "module",
6
6
  "files": [
@@ -48,10 +48,8 @@
48
48
  "dependencies": {
49
49
  "@wix/origami-types": "1.4.2",
50
50
  "@wix/builder-error-pages": "^1.1.6",
51
- "@wix/builder-piler-components": "^1.6.7",
52
- "@wix/origami-transforms": "0.1.37",
51
+ "@wix/origami-transforms": "0.1.39",
53
52
  "@babel/parser": "^7.25.0",
54
- "@wix/system-core-components": "^1.3.10",
55
53
  "@wix/origami-services": "1.2.5",
56
54
  "@wix/services-manager-react": "^1.0.8",
57
55
  "@wix/origami-bi": "0.13.0"
@@ -95,5 +93,5 @@
95
93
  "optional": true
96
94
  }
97
95
  },
98
- "falconPackageHash": "85fc66be01dfbac6f178b2c1f217c6a8a0b943b300bd8ab92a2b1063"
96
+ "falconPackageHash": "2ded7becc96fd49f43a12d2657aa6bd224cfa606610e4af4859525c3"
99
97
  }
@@ -3,7 +3,6 @@ import { createRoot } from 'react-dom/client'
3
3
  import { registeredServicesConfigs, sealServicesConfigs } from '@wix/origami-services/internal'
4
4
  import { servicesMap } from '@wix/origami-services'
5
5
  import { WixServices } from '@wix/services-manager-react'
6
- import { PilerPage } from '@wix/builder-piler-components'
7
6
 
8
7
  let hasReadPageData = false
9
8
  /** @type {import('../server/index.js').PageData | undefined} */
@@ -60,8 +59,9 @@ export async function mountPage(element, { pages, beforeMount, siteId }) {
60
59
  })
61
60
  sealServicesConfigs()
62
61
  const root = createRoot(element)
62
+ // #main_MF is the container-query root: editor-components' `--one-unit: 1cqw` resolves against it.
63
+ const main = createElement('div', { id: 'main_MF', style: { containerType: 'inline-size' } }, createElement(Page))
63
64
  // Stage 3: PopupHost belongs inside WixServices so popups share page services.
64
- root.render(createElement(StrictMode, null,
65
- createElement(WixServices, { servicesMap: map, children: createElement(PilerPage, { Page }) })))
65
+ root.render(createElement(StrictMode, null, createElement(WixServices, { servicesMap: map, children: main })))
66
66
  return () => root.unmount()
67
67
  }