@justeattakeaway/pie-list 0.0.2 → 0.0.3

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.
File without changes
package/dist/index.js CHANGED
@@ -1,26 +1,26 @@
1
- import { LitElement as p, html as v, unsafeCSS as h } from "lit";
2
- import { RtlMixin as u, safeCustomElement as c } from "@justeattakeaway/pie-webc-core";
3
- const e = class e extends p {
1
+ import { LitElement as f, html as h, unsafeCSS as v } from "lit";
2
+ import { RtlMixin as c, safeCustomElement as d } from "@justeattakeaway/pie-webc-core";
3
+ const e = class e extends f {
4
4
  willUpdate() {
5
5
  this.getAttribute("v") || this.setAttribute("v", e.v);
6
6
  }
7
7
  };
8
- e.v = "0.0.2";
8
+ e.v = "0.0.3";
9
9
  let r = e;
10
- const d = "*,*:after,*:before{box-sizing:inherit}";
11
- var m = Object.getOwnPropertyDescriptor, b = (l, o, f, a) => {
12
- for (var t = a > 1 ? void 0 : a ? m(o, f) : o, s = l.length - 1, n; s >= 0; s--)
10
+ const u = "*,*:after,*:before{box-sizing:inherit}:host{display:block}";
11
+ var b = Object.getOwnPropertyDescriptor, m = (l, o, p, a) => {
12
+ for (var t = a > 1 ? void 0 : a ? b(o, p) : o, s = l.length - 1, n; s >= 0; s--)
13
13
  (n = l[s]) && (t = n(t) || t);
14
14
  return t;
15
15
  };
16
- let i = class extends u(r) {
16
+ let i = class extends c(r) {
17
17
  render() {
18
- return v`<h1 data-test-id="pie-list">Hello world!</h1>`;
18
+ return h`<h1 data-test-id="pie-list">Hello world!</h1>`;
19
19
  }
20
20
  };
21
- i.styles = h(d);
22
- i = b([
23
- c("pie-list")
21
+ i.styles = v(u);
22
+ i = m([
23
+ d("pie-list")
24
24
  ], i);
25
25
  export {
26
26
  i as PieList
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-list",
3
3
  "description": "PIE Design System List built using Web Components",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
package/src/list.scss CHANGED
@@ -1 +1,5 @@
1
1
  @use '@justeattakeaway/pie-css/scss' as p;
2
+
3
+ :host {
4
+ display: block;
5
+ }