@justeattakeaway/pie-notification 0.15.0 → 0.16.0
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Ideally, you should install the component using the **`@justeattakeaway/pie-webc
|
|
|
35
35
|
| `variant` | `"neutral"`, `"neutral-alternative"`, `"info"`, `"success"`, `"warning"`, `"error"` | Sets the variant of the notification. | `"neutral"` |
|
|
36
36
|
| `position` | `"inline-content"`, `"full-width"` | Defines the proper styles, whether the component appears within the content or at the top of the interface. | `"inline-content"` |
|
|
37
37
|
| `heading` | — | The heading text of the notification. | `undefined` |
|
|
38
|
-
| `headingLevel` | `
|
|
38
|
+
| `headingLevel` | `h2`, `h3`, `h4`, `h5`, `h6` | The HTML tag to use for the notification's heading. | `h2` |
|
|
39
39
|
| `isDismissible` | `true`, `false` | When true, allows dismissing the notification by clicking on the close button. | `false` |
|
|
40
40
|
| `isCompact` | `true`, `false` | When true, aligns the footer with the header and icons, making the component compact. | `false` |
|
|
41
41
|
| `isOpen` | `true`, `false` | When true, the notification is set to be open and visible. | `true` |
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ const m = class m extends k {
|
|
|
16
16
|
this.getAttribute("v") || this.setAttribute("v", m.v);
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
-
m.v = "0.
|
|
19
|
+
m.v = "0.16.0";
|
|
20
20
|
let x = m;
|
|
21
21
|
const E = ["neutral", "neutral-alternative", "info", "success", "warning", "error"], T = ["h2", "h3", "h4", "h5", "h6"], B = ["inline-content", "full-width"], L = ["small-productive", "xsmall"], t = "pie-notification", r = "c-notification", D = `${t}-close`, V = `${t}-open`, P = `${t}-leading-action-click`, F = `${t}-supporting-action-click`, v = {
|
|
22
22
|
text: "",
|
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.
|
|
4
|
+
"version": "0.16.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
42
42
|
"@justeattakeaway/pie-components-config": "0.21.0",
|
|
43
|
-
"@justeattakeaway/pie-css": "0.
|
|
44
|
-
"@justeattakeaway/pie-monorepo-utils": "0.
|
|
43
|
+
"@justeattakeaway/pie-css": "0.20.0",
|
|
44
|
+
"@justeattakeaway/pie-monorepo-utils": "0.7.0",
|
|
45
45
|
"@justeattakeaway/pie-wrapper-react": "0.14.3",
|
|
46
46
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@justeattakeaway/pie-icon-button": "2.0.
|
|
50
|
-
"@justeattakeaway/pie-icons-webc": "1.14.
|
|
51
|
-
"@justeattakeaway/pie-webc-core": "1.
|
|
49
|
+
"@justeattakeaway/pie-icon-button": "2.0.6",
|
|
50
|
+
"@justeattakeaway/pie-icons-webc": "1.14.2",
|
|
51
|
+
"@justeattakeaway/pie-webc-core": "1.1.0"
|
|
52
52
|
},
|
|
53
53
|
"volta": {
|
|
54
54
|
"extends": "../../../package.json"
|