@proximus/heading-group 1.4.14-beta.3 → 1.4.14

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.
@@ -1,5 +1,5 @@
1
1
  export declare class HeadingGroup extends HTMLElement {
2
2
  private template;
3
3
  constructor();
4
- get $el(): HTMLDivElement | null;
4
+ get $el(): HTMLDivElement;
5
5
  }
package/dist/index.es.js CHANGED
@@ -1,17 +1,21 @@
1
- //#region src/headinggroup.css?inline
2
- var e = "div{--px-heading-margin-title:0 0 15px 0}", t = new CSSStyleSheet();
3
- t.replaceSync(e);
4
- var n = class extends HTMLElement {
5
- template() {
6
- return "\n <div>\n <slot></slot>\n </div>\n ";
7
- }
8
- constructor() {
9
- super(), this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [t];
10
- }
11
- get $el() {
12
- return this.shadowRoot.querySelector("div");
13
- }
1
+ const t = "div{--px-heading-margin-title: 0 0 15px 0}", e = new CSSStyleSheet();
2
+ e.replaceSync(t);
3
+ class o extends HTMLElement {
4
+ template() {
5
+ return `
6
+ <div>
7
+ <slot></slot>
8
+ </div>
9
+ `;
10
+ }
11
+ constructor() {
12
+ super(), this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [e];
13
+ }
14
+ get $el() {
15
+ return this.shadowRoot.querySelector("div");
16
+ }
17
+ }
18
+ customElements.get("px-heading-group") || customElements.define("px-heading-group", o);
19
+ export {
20
+ o as HeadingGroup
14
21
  };
15
- customElements.get("px-heading-group") || customElements.define("px-heading-group", n);
16
- //#endregion
17
- export { n as HeadingGroup };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/heading-group",
3
- "version": "1.4.14-beta.3",
3
+ "version": "1.4.14",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",