@justeattakeaway/pie-modal 1.17.3 → 1.17.5

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 CHANGED
@@ -44,11 +44,11 @@ export declare type ModalProps = {
44
44
  */
45
45
  aria?: AriaProps;
46
46
  /**
47
- * When true, the modal will have a back button. This currently behaves the same as the close button.
47
+ * When true, the modal will have a back button.
48
48
  */
49
49
  hasBackButton?: boolean;
50
50
  /**
51
- * When true, the modal will have a back button. This currently behaves the same as the close button.
51
+ * When true, the actions will expand to full width and stack vertically. Only available below the mid breakpoint.
52
52
  */
53
53
  hasStackedActions?: boolean;
54
54
  /**
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ const k = class k extends F {
14
14
  this.getAttribute("v") || this.setAttribute("v", k.v);
15
15
  }
16
16
  };
17
- k.v = "1.17.3";
17
+ k.v = "1.17.5";
18
18
  let x = k;
19
19
  function W(t) {
20
20
  if (Array.isArray(t)) {
package/dist/react.d.ts CHANGED
@@ -41,11 +41,11 @@ export declare type ModalProps = {
41
41
  */
42
42
  aria?: AriaProps;
43
43
  /**
44
- * When true, the modal will have a back button. This currently behaves the same as the close button.
44
+ * When true, the modal will have a back button.
45
45
  */
46
46
  hasBackButton?: boolean;
47
47
  /**
48
- * When true, the modal will have a back button. This currently behaves the same as the close button.
48
+ * When true, the actions will expand to full width and stack vertically. Only available below the mid breakpoint.
49
49
  */
50
50
  hasStackedActions?: boolean;
51
51
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-modal",
3
- "version": "1.17.3",
3
+ "version": "1.17.5",
4
4
  "description": "PIE design system modal built using web components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,12 +44,12 @@
44
44
  "license": "Apache-2.0",
45
45
  "devDependencies": {
46
46
  "@custom-elements-manifest/analyzer": "0.9.0",
47
- "@justeat/pie-design-tokens": "7.8.1",
48
- "@justeattakeaway/pie-button": "1.9.0",
47
+ "@justeat/pie-design-tokens": "7.8.2",
48
+ "@justeattakeaway/pie-button": "1.9.2",
49
49
  "@justeattakeaway/pie-components-config": "0.21.0",
50
- "@justeattakeaway/pie-css": "0.23.1",
50
+ "@justeattakeaway/pie-css": "0.23.2",
51
51
  "@justeattakeaway/pie-monorepo-utils": "0.7.0",
52
- "@justeattakeaway/pie-text-input": "0.29.3",
52
+ "@justeattakeaway/pie-text-input": "0.29.5",
53
53
  "@justeattakeaway/pie-wrapper-react": "0.14.3",
54
54
  "@types/body-scroll-lock": "3.1.2",
55
55
  "cem-plugin-module-file-extensions": "0.0.5"
@@ -58,11 +58,11 @@
58
58
  "extends": "../../../package.json"
59
59
  },
60
60
  "dependencies": {
61
- "@justeattakeaway/pie-button": "1.9.0",
62
- "@justeattakeaway/pie-icon-button": "2.2.3",
63
- "@justeattakeaway/pie-icons-webc": "1.16.0",
64
- "@justeattakeaway/pie-spinner": "1.3.2",
65
- "@justeattakeaway/pie-webc-core": "3.0.1",
61
+ "@justeattakeaway/pie-button": "1.9.2",
62
+ "@justeattakeaway/pie-icon-button": "2.3.0",
63
+ "@justeattakeaway/pie-icons-webc": "1.16.1",
64
+ "@justeattakeaway/pie-spinner": "1.3.3",
65
+ "@justeattakeaway/pie-webc-core": "3.0.2",
66
66
  "body-scroll-lock": "3.1.5",
67
67
  "dialog-polyfill": "0.5.6"
68
68
  },
package/src/defs.ts CHANGED
@@ -36,12 +36,12 @@ export type ModalProps = {
36
36
  aria?: AriaProps;
37
37
 
38
38
  /**
39
- * When true, the modal will have a back button. This currently behaves the same as the close button.
39
+ * When true, the modal will have a back button.
40
40
  */
41
41
  hasBackButton?: boolean;
42
42
 
43
43
  /**
44
- * When true, the modal will have a back button. This currently behaves the same as the close button.
44
+ * When true, the actions will expand to full width and stack vertically. Only available below the mid breakpoint.
45
45
  */
46
46
  hasStackedActions?: boolean;
47
47