@justeattakeaway/pie-notification 0.21.4 → 0.21.6

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
@@ -16,7 +16,7 @@ const y = class y extends A {
16
16
  this.getAttribute("v") || this.setAttribute("v", y.v);
17
17
  }
18
18
  };
19
- y.v = "0.21.4";
19
+ y.v = "0.21.6";
20
20
  let C = y;
21
21
  const E = ["neutral", "neutral-alternative", "info", "success", "warning", "error", "translucent"], L = ["h2", "h3", "h4", "h5", "h6"], T = ["inline-content", "full-width"], B = ["small-productive", "xsmall"], t = "pie-notification", l = "c-notification", D = `${t}-close`, V = `${t}-open`, P = `${t}-leading-action-click`, F = `${t}-supporting-action-click`, $ = {
22
22
  text: "",
package/dist/react.d.ts CHANGED
@@ -138,7 +138,7 @@ export declare const ON_NOTIFICATION_OPEN_EVENT = "pie-notification-open";
138
138
  */
139
139
  export declare const ON_NOTIFICATION_SUPPORTING_ACTION_CLICK_EVENT = "pie-notification-supporting-action-click";
140
140
 
141
- export declare const PieNotification: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<NotificationProps> & React_2.RefAttributes<PieNotification_2> & PieNotificationEvents & ReactBaseType>;
141
+ export declare const PieNotification: React_2.ForwardRefExoticComponent<React_2.PropsWithChildren<Omit<React_2.PropsWithoutRef<NotificationProps>, "children">> & React_2.RefAttributes<PieNotification_2> & PieNotificationEvents & ReactBaseType>;
142
142
 
143
143
  /**
144
144
  * @tagname pie-notification
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.21.4",
4
+ "version": "0.21.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justeattakeaway/pie",
@@ -51,8 +51,8 @@
51
51
  "cem-plugin-module-file-extensions": "0.0.5"
52
52
  },
53
53
  "dependencies": {
54
- "@justeattakeaway/pie-icon-button": "2.5.1",
55
- "@justeattakeaway/pie-icons-webc": "1.19.0",
54
+ "@justeattakeaway/pie-icon-button": "2.6.1",
55
+ "@justeattakeaway/pie-icons-webc": "1.20.0",
56
56
  "@justeattakeaway/pie-webc-core": "6.0.1"
57
57
  },
58
58
  "volta": {
package/src/react.ts CHANGED
@@ -27,5 +27,5 @@ type PieNotificationEvents = {
27
27
  onPieNotificationOpen?: (event: CustomEvent) => void;
28
28
  };
29
29
 
30
- export const PieNotification = PieNotificationReact as React.ForwardRefExoticComponent<React.PropsWithoutRef<NotificationProps>
30
+ export const PieNotification = PieNotificationReact as React.ForwardRefExoticComponent<React.PropsWithChildren<Omit<React.PropsWithoutRef<NotificationProps>, 'children'>>
31
31
  & React.RefAttributes<PieNotificationLit> & PieNotificationEvents & ReactBaseType>;