@proximus/heading-group 1.2.0-alpha.26 → 1.2.0-alpha.28

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.
@@ -0,0 +1,5 @@
1
+ export declare class HeadingGroup extends HTMLElement {
2
+ private template;
3
+ constructor();
4
+ get $el(): HTMLDivElement;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './HeadingGroup';
package/dist/index.es.js CHANGED
@@ -15,7 +15,7 @@ class o extends HTMLElement {
15
15
  return this.shadowRoot.querySelector("div");
16
16
  }
17
17
  }
18
- customElements.define("px-heading-group", o);
18
+ customElements.get("px-heading-group") || customElements.define("px-heading-group", o);
19
19
  export {
20
20
  o as HeadingGroup
21
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/heading-group",
3
- "version": "1.2.0-alpha.26",
3
+ "version": "1.2.0-alpha.28",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "files": [
@@ -10,7 +10,7 @@
10
10
  "scripts": {
11
11
  "transform-package-json": "node ../../../scripts/tranformPackageJson.js package.json dist/far/away",
12
12
  "clean": "rm -rf dist",
13
- "build": "npm run clean && tsc && vite build && npm run transform-package-json",
13
+ "build": "npm run clean && vite build && tsc && npm run transform-package-json",
14
14
  "test": "vitest run --coverage"
15
15
  },
16
16
  "publishConfig": {