@justeattakeaway/pie-modal 1.7.0 → 1.7.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.
@@ -87,7 +87,7 @@
87
87
  "type": {
88
88
  "text": "DefaultProps"
89
89
  },
90
- "default": "{\n hasBackButton: false,\n hasStackedActions: false,\n headingLevel: 'h2',\n isOpen: false,\n isDismissible: false,\n isFooterPinned: true,\n isFullWidthBelowMid: false,\n isLoading: false,\n position: 'center',\n size: 'medium',\n}"
90
+ "default": "{\r\n hasBackButton: false,\r\n hasStackedActions: false,\r\n headingLevel: 'h2',\r\n isOpen: false,\r\n isDismissible: false,\r\n isFooterPinned: true,\r\n isFullWidthBelowMid: false,\r\n isLoading: false,\r\n position: 'center',\r\n size: 'medium',\r\n}"
91
91
  }
92
92
  ],
93
93
  "exports": [
@@ -406,7 +406,7 @@
406
406
  "kind": "field",
407
407
  "name": "_preventModalKeyboardDismissal",
408
408
  "privacy": "private",
409
- "description": "Prevents the user from dismissing the dialog via the `cancel`\nevent (ESC key) when `isDismissible` is set to false.",
409
+ "description": "Prevents the user from dismissing the dialog via the `cancel`\r\nevent (ESC key) when `isDismissible` is set to false.",
410
410
  "parameters": [
411
411
  {
412
412
  "description": "The event object.",
@@ -480,7 +480,7 @@
480
480
  "text": "void"
481
481
  }
482
482
  },
483
- "description": "Return focus to the specified element, providing the selector is valid\nand the chosen element can be found."
483
+ "description": "Return focus to the specified element, providing the selector is valid\r\nand the chosen element can be found."
484
484
  },
485
485
  {
486
486
  "kind": "method",
@@ -513,7 +513,7 @@
513
513
  "text": "TemplateResult | typeof nothing"
514
514
  }
515
515
  },
516
- "description": "Template for the close button element. Called within the\nmain render function."
516
+ "description": "Template for the close button element. Called within the\r\nmain render function."
517
517
  },
518
518
  {
519
519
  "kind": "method",
@@ -524,7 +524,7 @@
524
524
  "text": "TemplateResult | typeof nothing"
525
525
  }
526
526
  },
527
- "description": "Template for the back button element. Called within the\nmain render function."
527
+ "description": "Template for the back button element. Called within the\r\nmain render function."
528
528
  },
529
529
  {
530
530
  "kind": "method",
@@ -535,7 +535,7 @@
535
535
  "text": "TemplateResult | typeof nothing"
536
536
  }
537
537
  },
538
- "description": "Renders the \"leadingAction\" button if the text is provided.\n\nIf `leadingAction.text` is not provided, the button is not rendered.\nIf `leadingAction.variant` is not provided, the default value of \"primary\" is used.\nThe (optional) aria-label is read from `leadingAction.ariaLabel`."
538
+ "description": "Renders the \"leadingAction\" button if the text is provided.\r\n\r\nIf `leadingAction.text` is not provided, the button is not rendered.\r\nIf `leadingAction.variant` is not provided, the default value of \"primary\" is used.\r\nThe (optional) aria-label is read from `leadingAction.ariaLabel`."
539
539
  },
540
540
  {
541
541
  "kind": "method",
@@ -546,7 +546,7 @@
546
546
  "text": "TemplateResult | typeof nothing"
547
547
  }
548
548
  },
549
- "description": "Renders the \"supportingAction\" button if the text is provided.\nYou cannot have a supporting action without a leading action.\n\nIf either `supportingAction.text` or `leadingAction.text` are not provided, the button is not rendered.\nIf `supportingAction.variant` is not provided, the default value of \"ghost\" is used.\nThe (optional) aria-label is read from `supportingAction.ariaLabel`."
549
+ "description": "Renders the \"supportingAction\" button if the text is provided.\r\nYou cannot have a supporting action without a leading action.\r\n\r\nIf either `supportingAction.text` or `leadingAction.text` are not provided, the button is not rendered.\r\nIf `supportingAction.variant` is not provided, the default value of \"ghost\" is used.\r\nThe (optional) aria-label is read from `supportingAction.ariaLabel`."
550
550
  },
551
551
  {
552
552
  "kind": "method",
@@ -557,7 +557,7 @@
557
557
  "text": "TemplateResult | typeof nothing"
558
558
  }
559
559
  },
560
- "description": "Renders the modal footer if a leading action is provided.\nAdditionally renders the supporting action if it is provided."
560
+ "description": "Renders the modal footer if a leading action is provided.\r\nAdditionally renders the supporting action if it is provided."
561
561
  },
562
562
  {
563
563
  "kind": "method",
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ const k = class k extends F {
15
15
  this.getAttribute("v") || this.setAttribute("v", k.v);
16
16
  }
17
17
  };
18
- k.v = "1.7.0";
18
+ k.v = "1.7.2";
19
19
  let x = k;
20
20
  function R(o) {
21
21
  if (Array.isArray(o)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-modal",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "PIE design system modal built using web components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,11 +40,11 @@
40
40
  "devDependencies": {
41
41
  "@custom-elements-manifest/analyzer": "0.9.0",
42
42
  "@justeat/pie-design-tokens": "6.10.0",
43
- "@justeattakeaway/pie-button": "1.6.0",
43
+ "@justeattakeaway/pie-button": "1.6.2",
44
44
  "@justeattakeaway/pie-components-config": "0.20.1",
45
45
  "@justeattakeaway/pie-css": "0.16.0",
46
46
  "@justeattakeaway/pie-monorepo-utils": "0.5.1",
47
- "@justeattakeaway/pie-text-input": "0.28.0",
47
+ "@justeattakeaway/pie-text-input": "0.28.2",
48
48
  "@justeattakeaway/pie-wrapper-react": "0.14.3",
49
49
  "@types/body-scroll-lock": "3.1.2",
50
50
  "cem-plugin-module-file-extensions": "0.0.5"
@@ -53,11 +53,11 @@
53
53
  "extends": "../../../package.json"
54
54
  },
55
55
  "dependencies": {
56
- "@justeattakeaway/pie-button": "1.6.0",
57
- "@justeattakeaway/pie-icon-button": "1.5.0",
58
- "@justeattakeaway/pie-icons-webc": "1.10.0",
59
- "@justeattakeaway/pie-spinner": "1.2.0",
60
- "@justeattakeaway/pie-webc-core": "0.26.0",
56
+ "@justeattakeaway/pie-button": "1.6.2",
57
+ "@justeattakeaway/pie-icon-button": "1.5.1",
58
+ "@justeattakeaway/pie-icons-webc": "1.10.1",
59
+ "@justeattakeaway/pie-spinner": "1.2.1",
60
+ "@justeattakeaway/pie-webc-core": "1.0.0",
61
61
  "body-scroll-lock": "3.1.5",
62
62
  "dialog-polyfill": "0.5.6"
63
63
  },