@justeattakeaway/pie-radio-group 0.1.0 → 0.1.2

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/dist/index.js CHANGED
@@ -1,14 +1,13 @@
1
- import { unsafeCSS as o, LitElement as t, html as r } from "lit";
2
- import { defineCustomElement as i } from "@justeattakeaway/pie-webc-core";
3
- const n = `*,*:after,*:before{box-sizing:inherit}
4
- `, s = "pie-radio-group";
5
- class e extends t {
1
+ import { LitElement as r, html as o, unsafeCSS as s } from "lit";
2
+ import { defineCustomElement as n } from "@justeattakeaway/pie-webc-core";
3
+ const i = "*,*:after,*:before{box-sizing:inherit}", l = "pie-radio-group", t = class t extends r {
6
4
  render() {
7
- return r`<h1 data-test-id="pie-radio-group">Hello world!</h1>`;
5
+ return o`<h1 data-test-id="pie-radio-group">Hello world!</h1>`;
8
6
  }
9
- }
10
- e.styles = o(n);
11
- i(s, e);
7
+ };
8
+ t.styles = s(i);
9
+ let e = t;
10
+ n(l, e);
12
11
  export {
13
12
  e as PieRadioGroup
14
13
  };
package/dist/react.js CHANGED
@@ -1,15 +1,13 @@
1
1
  import * as o from "react";
2
2
  import { createComponent as e } from "@lit/react";
3
- import { PieRadioGroup as i } from "./index.js";
4
- import "lit";
5
- import "@justeattakeaway/pie-webc-core";
6
- const r = e({
3
+ import { PieRadioGroup as a } from "./index.js";
4
+ const i = e({
7
5
  displayName: "PieRadioGroup",
8
- elementClass: i,
6
+ elementClass: a,
9
7
  react: o,
10
8
  tagName: "pie-radio-group",
11
9
  events: {}
12
- }), s = r;
10
+ }), p = i;
13
11
  export {
14
- s as PieRadioGroup
12
+ p as PieRadioGroup
15
13
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-radio-group",
3
3
  "description": "PIE Design System Radio Group built using Web Components",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -37,11 +37,11 @@
37
37
  "devDependencies": {
38
38
  "@custom-elements-manifest/analyzer": "0.9.0",
39
39
  "@justeattakeaway/pie-components-config": "0.18.0",
40
- "@justeattakeaway/pie-css": "0.12.1",
40
+ "@justeattakeaway/pie-css": "0.13.1",
41
41
  "cem-plugin-module-file-extensions": "0.0.5"
42
42
  },
43
43
  "dependencies": {
44
- "@justeattakeaway/pie-webc-core": "0.24.0"
44
+ "@justeattakeaway/pie-webc-core": "0.24.2"
45
45
  },
46
46
  "volta": {
47
47
  "extends": "../../../package.json"
package/src/react.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
3
  import { PieRadioGroup as PieRadioGroupLit } from './index';
4
- import { RadioGroupProps } from './defs';
4
+ import { type RadioGroupProps } from './defs';
5
5
 
6
6
  export * from './defs';
7
7