@open-pioneer/runtime 4.5.0-dev-roving-menu.20260129100701 → 4.5.0-dev.20260129123933

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/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @open-pioneer/runtime
2
2
 
3
- ## 4.5.0-dev-roving-menu.20260129100701
3
+ ## 4.5.0-dev.20260129123933
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - @open-pioneer/base-theme@4.5.0-dev-roving-menu.20260129100701
8
- - @open-pioneer/core@4.5.0-dev-roving-menu.20260129100701
9
- - @open-pioneer/reactivity@4.5.0-dev-roving-menu.20260129100701
7
+ - @open-pioneer/base-theme@4.5.0-dev.20260129123933
8
+ - @open-pioneer/core@4.5.0-dev.20260129123933
9
+ - @open-pioneer/reactivity@4.5.0-dev.20260129123933
10
10
 
11
11
  ## 4.4.0
12
12
 
package/dom/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ /**
2
+ * The root node of an application.
3
+ */
1
4
  export type RootNode = Document | ShadowRoot;
2
5
  /**
3
6
  * Class of the <div> that contains the entire application.
package/dom/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["index.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nexport type RootNode = Document | ShadowRoot;\n\n/**\n * Class of the <div> that contains the entire application.\n */\nexport const APP_ROOT_CLASS = \"pioneer-root\";\n\nexport function isShadowRoot(node: RootNode): node is ShadowRoot {\n return node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && \"host\" in node;\n}\n\nexport function isDocument(node: RootNode): node is Document {\n return !isShadowRoot(node);\n}\n\n/**\n * Returns the parent node for <style> elements.\n */\nexport function getStylesRoot(node: RootNode): ShadowRoot | HTMLHeadElement {\n return isShadowRoot(node) ? node : node.head;\n}\n\n/**\n * Creates the node that contains all other application content.\n */\nexport function createAppRoot(locale: string): HTMLDivElement {\n // Setup application root node in the shadow dom\n const container = document.createElement(\"div\");\n container.classList.add(\"pioneer-root\");\n container.style.minHeight = \"100%\";\n container.style.height = \"100%\";\n if (locale) {\n container.lang = locale;\n }\n return container;\n}\n\n/**\n * Returns the styles for host element (the web component node).\n */\nexport function getBuiltinStyles(rootNode: RootNode, hostElement: HTMLElement | undefined) {\n // Prevent inheritance of certain css values and normalize to display: block by default.\n // See https://open-wc.org/guides/knowledge/styling/styles-piercing-shadow-dom/\n // NOTE: layer base comes from chakra (used for css resets etc).\n const selector =\n isShadowRoot(rootNode) || !hostElement ? \":host\" : hostElement.tagName.toLowerCase();\n return `@layer base { ${selector} { all: initial; display: block; } }`;\n}\n"],"names":[],"mappings":"AAOO,MAAM,cAAA,GAAiB;AAEvB,SAAS,aAAa,IAAA,EAAoC;AAC7D,EAAA,OAAO,IAAA,CAAK,QAAA,KAAa,IAAA,CAAK,sBAAA,IAA0B,MAAA,IAAU,IAAA;AACtE;AASO,SAAS,cAAc,IAAA,EAA8C;AACxE,EAAA,OAAO,YAAA,CAAa,IAAI,CAAA,GAAI,IAAA,GAAO,IAAA,CAAK,IAAA;AAC5C;AAKO,SAAS,cAAc,MAAA,EAAgC;AAE1D,EAAA,MAAM,SAAA,GAAY,QAAA,CAAS,aAAA,CAAc,KAAK,CAAA;AAC9C,EAAA,SAAA,CAAU,SAAA,CAAU,IAAI,cAAc,CAAA;AACtC,EAAA,SAAA,CAAU,MAAM,SAAA,GAAY,MAAA;AAC5B,EAAA,SAAA,CAAU,MAAM,MAAA,GAAS,MAAA;AACzB,EAAA,IAAI,MAAA,EAAQ;AACR,IAAA,SAAA,CAAU,IAAA,GAAO,MAAA;AAAA,EACrB;AACA,EAAA,OAAO,SAAA;AACX;AAKO,SAAS,gBAAA,CAAiB,UAAoB,WAAA,EAAsC;AAIvF,EAAA,MAAM,QAAA,GACF,aAAa,QAAQ,CAAA,IAAK,CAAC,WAAA,GAAc,OAAA,GAAU,WAAA,CAAY,OAAA,CAAQ,WAAA,EAAY;AACvF,EAAA,OAAO,iBAAiB,QAAQ,CAAA,oCAAA,CAAA;AACpC;;;;"}
1
+ {"version":3,"file":"index.js","sources":["index.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\n\n/**\n * The root node of an application.\n */\nexport type RootNode = Document | ShadowRoot;\n\n/**\n * Class of the <div> that contains the entire application.\n */\nexport const APP_ROOT_CLASS = \"pioneer-root\";\n\nexport function isShadowRoot(node: RootNode): node is ShadowRoot {\n return node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && \"host\" in node;\n}\n\nexport function isDocument(node: RootNode): node is Document {\n return !isShadowRoot(node);\n}\n\n/**\n * Returns the parent node for <style> elements.\n */\nexport function getStylesRoot(node: RootNode): ShadowRoot | HTMLHeadElement {\n return isShadowRoot(node) ? node : node.head;\n}\n\n/**\n * Creates the node that contains all other application content.\n */\nexport function createAppRoot(locale: string): HTMLDivElement {\n // Setup application root node in the shadow dom\n const container = document.createElement(\"div\");\n container.classList.add(\"pioneer-root\");\n container.style.minHeight = \"100%\";\n container.style.height = \"100%\";\n if (locale) {\n container.lang = locale;\n }\n return container;\n}\n\n/**\n * Returns the styles for host element (the web component node).\n */\nexport function getBuiltinStyles(rootNode: RootNode, hostElement: HTMLElement | undefined) {\n // Prevent inheritance of certain css values and normalize to display: block by default.\n // See https://open-wc.org/guides/knowledge/styling/styles-piercing-shadow-dom/\n // NOTE: layer base comes from chakra (used for css resets etc).\n const selector =\n isShadowRoot(rootNode) || !hostElement ? \":host\" : hostElement.tagName.toLowerCase();\n return `@layer base { ${selector} { all: initial; display: block; } }`;\n}\n"],"names":[],"mappings":"AAWO,MAAM,cAAA,GAAiB;AAEvB,SAAS,aAAa,IAAA,EAAoC;AAC7D,EAAA,OAAO,IAAA,CAAK,QAAA,KAAa,IAAA,CAAK,sBAAA,IAA0B,MAAA,IAAU,IAAA;AACtE;AASO,SAAS,cAAc,IAAA,EAA8C;AACxE,EAAA,OAAO,YAAA,CAAa,IAAI,CAAA,GAAI,IAAA,GAAO,IAAA,CAAK,IAAA;AAC5C;AAKO,SAAS,cAAc,MAAA,EAAgC;AAE1D,EAAA,MAAM,SAAA,GAAY,QAAA,CAAS,aAAA,CAAc,KAAK,CAAA;AAC9C,EAAA,SAAA,CAAU,SAAA,CAAU,IAAI,cAAc,CAAA;AACtC,EAAA,SAAA,CAAU,MAAM,SAAA,GAAY,MAAA;AAC5B,EAAA,SAAA,CAAU,MAAM,MAAA,GAAS,MAAA;AACzB,EAAA,IAAI,MAAA,EAAQ;AACR,IAAA,SAAA,CAAU,IAAA,GAAO,MAAA;AAAA,EACrB;AACA,EAAA,OAAO,SAAA;AACX;AAKO,SAAS,gBAAA,CAAiB,UAAoB,WAAA,EAAsC;AAIvF,EAAA,MAAM,QAAA,GACF,aAAa,QAAQ,CAAA,IAAK,CAAC,WAAA,GAAc,OAAA,GAAU,WAAA,CAAY,OAAA,CAAQ,WAAA,EAAY;AACvF,EAAA,OAAO,iBAAiB,QAAQ,CAAA,oCAAA,CAAA;AACpC;;;;"}
package/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./api";
2
+ export { createCustomElement, type AdvancedCustomElementOptions, type ApplicationConfig, type ApplicationElement, type ApplicationElementConstructor, type ApplicationOverrides, type ApplicationProperties, type ConfigContext, type CustomElementOptions } from "./CustomElement";
3
+ export { DECLARE_SERVICE_INTERFACE, type AssociatedInterfaceName, type DeclaredService, type InterfaceNameForServiceType } from "./DeclaredService";
4
+ export { type RootNode } from "./dom";
2
5
  export { type PackageIntl, type PackageIntlExtensions, type RichTextValue } from "./i18n";
3
- export { type AdvancedCustomElementOptions, type ApplicationConfig, type ApplicationOverrides, type ApplicationElement, type ApplicationElementConstructor, type ApplicationProperties, type ConfigContext, type CustomElementOptions, createCustomElement } from "./CustomElement";
4
6
  export * from "./Service";
5
- export { type DeclaredService, type AssociatedInterfaceName, type InterfaceNameForServiceType, DECLARE_SERVICE_INTERFACE } from "./DeclaredService";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@open-pioneer/runtime",
4
- "version": "4.5.0-dev-roving-menu.20260129100701",
4
+ "version": "4.5.0-dev.20260129123933",
5
5
  "description": "Implements the runtime environment for Open Pioneer Trails apps.",
6
6
  "keywords": [
7
7
  "open-pioneer-trails"
@@ -21,9 +21,9 @@
21
21
  "@emotion/react": "^11.14.0",
22
22
  "react": "^19.2.3",
23
23
  "react-dom": "^19.2.3",
24
- "@open-pioneer/base-theme": "4.5.0-dev-roving-menu.20260129100701",
25
- "@open-pioneer/reactivity": "4.5.0-dev-roving-menu.20260129100701",
26
- "@open-pioneer/core": "4.5.0-dev-roving-menu.20260129100701"
24
+ "@open-pioneer/base-theme": "4.5.0-dev.20260129123933",
25
+ "@open-pioneer/reactivity": "4.5.0-dev.20260129123933",
26
+ "@open-pioneer/core": "4.5.0-dev.20260129123933"
27
27
  },
28
28
  "exports": {
29
29
  "./package.json": "./package.json",