xv-webcomponents 0.1.6 → 0.1.8

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 (51) hide show
  1. package/dist/xv-webcomponents/index-ab21f69f.js +3971 -0
  2. package/dist/xv-webcomponents/index-ab21f69f.js.map +1 -0
  3. package/dist/xv-webcomponents/index.esm.js +16 -1
  4. package/dist/xv-webcomponents/index.esm.js.map +1 -1
  5. package/dist/xv-webcomponents/xv-button-v2.entry.js +41 -0
  6. package/dist/xv-webcomponents/xv-button-v2.entry.js.map +1 -0
  7. package/dist/{collection/components/xv-checkbox/xv-checkbox.js → xv-webcomponents/xv-checkbox-v2.entry.js} +12 -7
  8. package/dist/xv-webcomponents/xv-checkbox-v2.entry.js.map +1 -0
  9. package/dist/xv-webcomponents/xv-webcomponents.esm.js +48 -1
  10. package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
  11. package/package.json +2 -2
  12. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  13. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  14. package/dist/cjs/index-888a60d0.js +0 -1198
  15. package/dist/cjs/index-888a60d0.js.map +0 -1
  16. package/dist/cjs/index.cjs.js +0 -11
  17. package/dist/cjs/index.cjs.js.map +0 -1
  18. package/dist/cjs/loader.cjs.js +0 -17
  19. package/dist/cjs/loader.cjs.js.map +0 -1
  20. package/dist/cjs/xv-button-v2_2.cjs.entry.js +0 -68
  21. package/dist/cjs/xv-button-v2_2.cjs.entry.js.map +0 -1
  22. package/dist/cjs/xv-webcomponents.cjs.js +0 -27
  23. package/dist/cjs/xv-webcomponents.cjs.js.map +0 -1
  24. package/dist/collection/collection-manifest.json +0 -13
  25. package/dist/collection/components/xv-button/xv-button.js +0 -119
  26. package/dist/collection/components/xv-button/xv-button.js.map +0 -1
  27. package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +0 -1
  28. package/dist/collection/index.js +0 -11
  29. package/dist/collection/index.js.map +0 -1
  30. package/dist/collection/utils/utils.js +0 -4
  31. package/dist/collection/utils/utils.js.map +0 -1
  32. package/dist/esm/index-5147034e.js +0 -1170
  33. package/dist/esm/index-5147034e.js.map +0 -1
  34. package/dist/esm/index.js +0 -7
  35. package/dist/esm/index.js.map +0 -1
  36. package/dist/esm/loader.js +0 -13
  37. package/dist/esm/loader.js.map +0 -1
  38. package/dist/esm/xv-button-v2_2.entry.js +0 -63
  39. package/dist/esm/xv-button-v2_2.entry.js.map +0 -1
  40. package/dist/esm/xv-webcomponents.js +0 -22
  41. package/dist/esm/xv-webcomponents.js.map +0 -1
  42. package/dist/index.cjs.js +0 -1
  43. package/dist/index.js +0 -1
  44. package/dist/xv-webcomponents/p-02843f6e.entry.js +0 -2
  45. package/dist/xv-webcomponents/p-02843f6e.entry.js.map +0 -1
  46. package/dist/xv-webcomponents/p-b6c1c52d.js +0 -3
  47. package/dist/xv-webcomponents/p-b6c1c52d.js.map +0 -1
  48. package/dist/xv-webcomponents/p-e1255160.js +0 -2
  49. package/dist/xv-webcomponents/p-e1255160.js.map +0 -1
  50. /package/dist/{esm → xv-webcomponents}/app-globals-0f993ce5.js +0 -0
  51. /package/dist/{esm → xv-webcomponents}/app-globals-0f993ce5.js.map +0 -0
@@ -1,2 +1,17 @@
1
- function n(n,r,t){return(n||"")+(r?` ${r}`:"")+(t?` ${t}`:"")}export{n as format};
1
+ function format(first, middle, last) {
2
+ return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
3
+ }
4
+
5
+ /**
6
+ * @fileoverview entry point for your component library
7
+ *
8
+ * This is the entry point for your component library. Use this file to export utilities,
9
+ * constants or data structure that accompany your components.
10
+ *
11
+ * DO NOT use this file to export your components. Instead, use the recommended approaches
12
+ * to consume components of this package as outlined in the `README.md`.
13
+ */
14
+
15
+ export { format };
16
+
2
17
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["format","first","middle","last"],"sources":["src/utils/utils.ts"],"sourcesContent":["export function format(first?: string, middle?: string, last?: string): string {\r\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\r\n}\r\n"],"mappings":"SAAgBA,EAAOC,EAAgBC,EAAiBC,GACtD,OAAQF,GAAS,KAAOC,EAAS,IAAIA,IAAW,KAAOC,EAAO,IAAIA,IAAS,GAC7E,Q","ignoreList":[]}
1
+ {"file":"index.esm.js","mappings":"SAAgB,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa;IACnE,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,IAAI,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;AACjF;;ACFA;;;;;;;;;;;;","names":[],"sources":["src/utils/utils.ts","src/index.ts"],"sourcesContent":["export function format(first?: string, middle?: string, last?: string): string {\r\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\r\n}\r\n","/**\r\n * @fileoverview entry point for your component library\r\n *\r\n * This is the entry point for your component library. Use this file to export utilities,\r\n * constants or data structure that accompany your components.\r\n *\r\n * DO NOT use this file to export your components. Instead, use the recommended approaches\r\n * to consume components of this package as outlined in the `README.md`.\r\n */\r\n\r\nexport { format } from './utils/utils';\r\nexport type * from './components.d.ts';\r\n"],"version":3}
@@ -0,0 +1,41 @@
1
+ import { r as registerInstance, a as createEvent, h, g as getElement } from './index-ab21f69f.js';
2
+
3
+ const XvButton = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ this.buttonClick = createEvent(this, "buttonClick", 7);
7
+ /** Button label */
8
+ this.label = '';
9
+ /** Variant */
10
+ this.variant = 'primary';
11
+ /** Disabled state */
12
+ this.disabled = false;
13
+ /** Handle click only if not disabled */
14
+ this.handleClick = () => {
15
+ if (this.disabled) {
16
+ return;
17
+ }
18
+ this.buttonClick.emit();
19
+ };
20
+ }
21
+ applyGlobalStyles() {
22
+ var _a;
23
+ const globalStyle = document.getElementById("brand-style");
24
+ if (globalStyle) {
25
+ const styleClone = document.createElement("style");
26
+ styleClone.innerHTML = `@import url('${globalStyle.href}');`;
27
+ (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.appendChild(styleClone);
28
+ }
29
+ }
30
+ componentWillLoad() {
31
+ this.applyGlobalStyles();
32
+ }
33
+ render() {
34
+ return (h("button", { key: 'd8e7f81698a5d28c2fb75360e8752a0547887cce', class: `xv-button ${this.variant}`, disabled: this.disabled, onClick: this.handleClick }, this.label));
35
+ }
36
+ get el() { return getElement(this); }
37
+ };
38
+
39
+ export { XvButton as xv_button_v2 };
40
+
41
+ //# sourceMappingURL=xv-button-v2.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"xv-button-v2.entry.esm.js","mappings":";;MAOa,QAAQ;IAJrB;;;;QAQU,UAAK,GAAW,EAAE,CAAC;;QAGnB,YAAO,GAA8D,SAAS,CAAC;;QAG/E,aAAQ,GAAY,KAAK,CAAC;;QAgB1B,gBAAW,GAAG;YACpB,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,OAAO;aACR;YACD,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;SACzB,CAAC;KAiBH;IAhCS,iBAAiB;;QACrB,MAAM,WAAW,GAAG,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAoB,CAAC;QAC9E,IAAI,WAAW,EAAE;YACf,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACnD,UAAU,CAAC,SAAS,GAAG,gBAAgB,WAAW,CAAC,IAAI,KAAK,CAAC;YAC7D,MAAA,IAAI,CAAC,EAAE,CAAC,UAAU,0CAAE,WAAW,CAAC,UAAU,CAAC,CAAC;SAC/C;KACF;IAUD,iBAAiB;QACf,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;IAED,MAAM;QACJ,QACE,+DACE,KAAK,EAAE,aAAa,IAAI,CAAC,OAAO,EAAE,EAClC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,WAAW,IAExB,IAAI,CAAC,KAAK,CACJ,EACT;KACH;;;;;;","names":[],"sources":["src/components/xv-button/xv-button.tsx"],"sourcesContent":["import { Component, Prop, Event, EventEmitter, h, Element } from '@stencil/core';\r\n\r\n\r\n@Component({\r\n tag: 'xv-button-v2',\r\n shadow: true,\r\n})\r\nexport class XvButton {\r\n @Element() el!: HTMLElement;\r\n\r\n /** Button label */\r\n @Prop() label: string = '';\r\n\r\n /** Variant */\r\n @Prop() variant: 'accent' | 'primary' | 'secondary' | 'tertiary' | 'ghost' = 'primary';\r\n\r\n /** Disabled state */\r\n @Prop() disabled: boolean = false;\r\n\r\n /** Emits when the button is clicked */\r\n @Event() buttonClick!: EventEmitter<void>;\r\n\r\n\r\n private applyGlobalStyles() {\r\n const globalStyle = document.getElementById(\"brand-style\") as HTMLLinkElement;\r\n if (globalStyle) {\r\n const styleClone = document.createElement(\"style\");\r\n styleClone.innerHTML = `@import url('${globalStyle.href}');`;\r\n this.el.shadowRoot?.appendChild(styleClone);\r\n }\r\n }\r\n\r\n /** Handle click only if not disabled */\r\n private handleClick = () => {\r\n if (this.disabled) {\r\n return;\r\n }\r\n this.buttonClick.emit();\r\n };\r\n\r\n componentWillLoad() {\r\n this.applyGlobalStyles();\r\n }\r\n\r\n render() {\r\n return (\r\n <button\r\n class={`xv-button ${this.variant}`}\r\n disabled={this.disabled}\r\n onClick={this.handleClick}\r\n >\r\n {this.label}\r\n </button>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -1,5 +1,9 @@
1
- import { h } from "@stencil/core";
2
- export class XvCheckbox {
1
+ import { r as registerInstance, h, g as getElement } from './index-ab21f69f.js';
2
+
3
+ const XvCheckbox = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ }
3
7
  applyGlobalStyles() {
4
8
  var _a;
5
9
  const globalStyle = document.getElementById("brand-style");
@@ -15,8 +19,9 @@ export class XvCheckbox {
15
19
  render() {
16
20
  return (h("label", { key: 'ec72f67055064e97584c34606c997b671db5c4a6', class: "checkbox-container" }, h("input", { key: '5473f8ce3e1b85bbfc7ba2cfa56ed9dc3fc09254', type: "checkbox" }), h("span", { key: '9384407aa8a34a9c20cf46f68d508d71c3e0efa8', class: "checkmark" }), h("slot", { key: 'a3d8a7c8a242da4cdf71deddf2349c088bab4785' })));
17
21
  }
18
- static get is() { return "xv-checkbox-v2"; }
19
- static get encapsulation() { return "shadow"; }
20
- static get elementRef() { return "el"; }
21
- }
22
- //# sourceMappingURL=xv-checkbox.js.map
22
+ get el() { return getElement(this); }
23
+ };
24
+
25
+ export { XvCheckbox as xv_checkbox_v2 };
26
+
27
+ //# sourceMappingURL=xv-checkbox-v2.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"xv-checkbox-v2.entry.esm.js","mappings":";;MAMa,UAAU;;;;IAGb,iBAAiB;;QACvB,MAAM,WAAW,GAAG,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAoB,CAAC;QAC9E,IAAI,WAAW,EAAE;YACf,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACnD,UAAU,CAAC,SAAS,GAAG,gBAAgB,WAAW,CAAC,IAAI,KAAK,CAAC;YAC7D,MAAA,IAAI,CAAC,EAAE,CAAC,UAAU,0CAAE,WAAW,CAAC,UAAU,CAAC,CAAC;SAC7C;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;IAED,MAAM;QACJ,QACE,8DAAO,KAAK,EAAC,oBAAoB,IAC/B,8DAAO,IAAI,EAAC,UAAU,GAAG,EACzB,6DAAM,KAAK,EAAC,WAAW,GAAQ,EAC/B,8DAAa,CACP,EACR;KACH;;;;;;","names":[],"sources":["src/components/xv-checkbox/xv-checkbox.tsx"],"sourcesContent":["import { Component, h, Element } from '@stencil/core';\n\n@Component({\n tag: 'xv-checkbox-v2',\n shadow: true, // ✅ Shadow DOM aktiviert\n})\nexport class XvCheckbox {\n @Element() el!: HTMLElement;\n\n private applyGlobalStyles() {\n const globalStyle = document.getElementById(\"brand-style\") as HTMLLinkElement;\n if (globalStyle) {\n const styleClone = document.createElement(\"style\");\n styleClone.innerHTML = `@import url('${globalStyle.href}');`;\n this.el.shadowRoot?.appendChild(styleClone);\n }\n }\n\n componentWillLoad() {\n this.applyGlobalStyles();\n }\n\n render() {\n return (\n <label class=\"checkbox-container\">\n <input type=\"checkbox\" />\n <span class=\"checkmark\"></span>\n <slot></slot>\n </label>\n );\n }\n}\n"],"version":3}
@@ -1,2 +1,49 @@
1
- import{p as t,b as a}from"./p-b6c1c52d.js";export{s as setNonce}from"./p-b6c1c52d.js";import{g as r}from"./p-e1255160.js";var e=()=>{const a=import.meta.url;const r={};if(a!==""){r.resourcesUrl=new URL(".",a).href}return t(r)};e().then((async t=>{await r();return a([["p-02843f6e",[[1,"xv-button-v2",{label:[1],variant:[1],disabled:[4]}],[1,"xv-checkbox-v2"]]]],t)}));
1
+ import { B as BUILD, c as consoleDevInfo, H, w as win, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-ab21f69f.js';
2
+ export { s as setNonce } from './index-ab21f69f.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
4
+
5
+ /*
6
+ Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com
7
+ */
8
+ var patchBrowser = () => {
9
+ if (BUILD.isDev && !BUILD.isTesting) {
10
+ consoleDevInfo("Running in development mode.");
11
+ }
12
+ if (BUILD.cloneNodeFix) {
13
+ patchCloneNodeFix(H.prototype);
14
+ }
15
+ const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll("script")).find(
16
+ (s) => new RegExp(`/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || s.getAttribute("data-stencil-namespace") === NAMESPACE
17
+ ) : null;
18
+ const importMeta = import.meta.url;
19
+ const opts = BUILD.scriptDataOpts ? (scriptElm || {})["data-opts"] || {} : {};
20
+ if (importMeta !== "") {
21
+ opts.resourcesUrl = new URL(".", importMeta).href;
22
+ }
23
+ return promiseResolve(opts);
24
+ };
25
+ var patchCloneNodeFix = (HTMLElementPrototype) => {
26
+ const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
27
+ HTMLElementPrototype.cloneNode = function(deep) {
28
+ if (this.nodeName === "TEMPLATE") {
29
+ return nativeCloneNodeFn.call(this, deep);
30
+ }
31
+ const clonedNode = nativeCloneNodeFn.call(this, false);
32
+ const srcChildNodes = this.childNodes;
33
+ if (deep) {
34
+ for (let i = 0; i < srcChildNodes.length; i++) {
35
+ if (srcChildNodes[i].nodeType !== 2) {
36
+ clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
37
+ }
38
+ }
39
+ }
40
+ return clonedNode;
41
+ };
42
+ };
43
+
44
+ patchBrowser().then(async (options) => {
45
+ await globalScripts();
46
+ return bootstrapLazy([["xv-button-v2",[[1,"xv-button-v2",{"label":[1],"variant":[1],"disabled":[4]}]]],["xv-checkbox-v2",[[1,"xv-checkbox-v2"]]]], options);
47
+ });
48
+
2
49
  //# sourceMappingURL=xv-webcomponents.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","label","variant","disabled"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAOA,IAAIA,EAAe,KAUjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EClB7BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAc,kCAA8B,CAAAC,MAAS,IAAAC,QAAA,IAAAC,SAAA,8BAAAL,EAAA","ignoreList":[]}
1
+ {"file":"xv-webcomponents.esm.js","mappings":";;;;AAAA;AACA;AACA;AAKA,IAAI,YAAY,GAAG,MAAM;AACzB,EAAE,IAAI,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;AACvC,IAAI,cAAc,CAAC,8BAA8B,CAAC,CAAC;AACnD,GAAG;AACH,EAAE,IAAI,KAAK,CAAC,YAAY,EAAE;AAC1B,IAAI,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACnC,GAAG;AACH,EAAE,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,GAAG,GAAG,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI;AACnH,IAAI,CAAC,CAAC,KAAK,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,wBAAwB,CAAC,KAAK,SAAS;AACnI,GAAG,GAAG,IAAI,CAAC;AACX,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACrC,EAAE,MAAM,IAAI,GAAG,KAAK,CAAC,cAAc,GAAG,CAAC,SAAS,IAAI,EAAE,EAAE,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC;AAChF,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AACtD,GAAG;AACH,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC,CAAC;AACF,IAAI,iBAAiB,GAAG,CAAC,oBAAoB,KAAK;AAClD,EAAE,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,SAAS,CAAC;AAC3D,EAAE,oBAAoB,CAAC,SAAS,GAAG,SAAS,IAAI,EAAE;AAClD,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,UAAU,EAAE;AACtC,MAAM,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAChD,KAAK;AACL,IAAI,MAAM,UAAU,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,IAAI,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC;AAC1C,IAAI,IAAI,IAAI,EAAE;AACd,MAAM,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACrD,QAAQ,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,EAAE;AAC7C,UAAU,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AACnE,SAAS;AACT,OAAO;AACP,KAAK;AACL,IAAI,OAAO,UAAU,CAAC;AACtB,GAAG,CAAC;AACJ,CAAC;;ACrCD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE,CAAC;AACxB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xv-webcomponents",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Reusable Web Components for XV Applications",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -40,7 +40,7 @@
40
40
  "@types/node": "^16.18.11",
41
41
  "jest": "^29.7.0",
42
42
  "jest-cli": "^29.7.0",
43
- "puppeteer": "^21.9.0"
43
+ "puppeteer": "^24.3.0"
44
44
  },
45
45
  "license": "MIT",
46
46
  "publishConfig": {
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- const globalScripts = () => {};
4
-
5
- exports.globalScripts = globalScripts;
6
-
7
- //# sourceMappingURL=app-globals-3a1e7e63.js.map
@@ -1 +0,0 @@
1
- {"file":"app-globals-3a1e7e63.js","mappings":";;AAAY,MAAC,aAAa,GAAG,MAAM;;;;","names":[],"sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"version":3}