@justeattakeaway/pie-notification 0.1.2 → 0.1.4
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.d.ts +0 -0
- package/dist/index.js +8 -10
- package/dist/react.d.ts +0 -0
- package/dist/react.js +3 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { unsafeCSS as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const l = "", c = "pie-notification";
|
|
6
|
-
class n extends i {
|
|
1
|
+
import { unsafeCSS as e, LitElement as o, html as i } from "lit";
|
|
2
|
+
import { defineCustomElement as n } from "@justeattakeaway/pie-webc-core";
|
|
3
|
+
const s = "", r = "pie-notification";
|
|
4
|
+
class t extends o {
|
|
7
5
|
render() {
|
|
8
|
-
return
|
|
6
|
+
return i`<h1 data-test-id="pie-notification">Hello world!</h1>`;
|
|
9
7
|
}
|
|
10
8
|
}
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
t.styles = e(s);
|
|
10
|
+
n(r, t);
|
|
13
11
|
export {
|
|
14
|
-
|
|
12
|
+
t as PieNotification
|
|
15
13
|
};
|
package/dist/react.d.ts
CHANGED
|
File without changes
|
package/dist/react.js
CHANGED
|
@@ -2,7 +2,8 @@ import * as i from "react";
|
|
|
2
2
|
import { createComponent as t } from "@lit/react";
|
|
3
3
|
import { PieNotification as o } from "./index.js";
|
|
4
4
|
import "lit";
|
|
5
|
-
|
|
5
|
+
import "@justeattakeaway/pie-webc-core";
|
|
6
|
+
const r = t({
|
|
6
7
|
displayName: "PieNotification",
|
|
7
8
|
elementClass: o,
|
|
8
9
|
react: i,
|
|
@@ -10,5 +11,5 @@ const n = t({
|
|
|
10
11
|
events: {}
|
|
11
12
|
});
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
+
r as PieNotification
|
|
14
15
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-notification",
|
|
3
3
|
"description": "PIE Design System Notification built using Web Components",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"author": "Just Eat Takeaway.com - Design System Team",
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@justeattakeaway/pie-components-config": "0.
|
|
31
|
+
"@justeattakeaway/pie-components-config": "0.7.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@justeattakeaway/pie-webc-core": "0.
|
|
34
|
+
"@justeattakeaway/pie-webc-core": "0.14.0"
|
|
35
35
|
},
|
|
36
36
|
"volta": {
|
|
37
37
|
"extends": "../../../package.json"
|