@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 +8 -9
- package/dist/react.js +5 -7
- package/package.json +3 -3
- package/src/react.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineCustomElement as
|
|
3
|
-
const
|
|
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
|
|
5
|
+
return o`<h1 data-test-id="pie-radio-group">Hello world!</h1>`;
|
|
8
6
|
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
4
|
-
|
|
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:
|
|
6
|
+
elementClass: a,
|
|
9
7
|
react: o,
|
|
10
8
|
tagName: "pie-radio-group",
|
|
11
9
|
events: {}
|
|
12
|
-
}),
|
|
10
|
+
}), p = i;
|
|
13
11
|
export {
|
|
14
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
44
|
+
"@justeattakeaway/pie-webc-core": "0.24.2"
|
|
45
45
|
},
|
|
46
46
|
"volta": {
|
|
47
47
|
"extends": "../../../package.json"
|
package/src/react.ts
CHANGED