@justeattakeaway/pie-modal 1.26.0 → 1.26.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.
@@ -56,9 +56,9 @@
56
56
  "kind": "variable",
57
57
  "name": "backgroundColors",
58
58
  "type": {
59
- "text": "[\n 'default',\n 'subtle',\n 'brand-01',\n 'brand-02',\n 'brand-03',\n 'brand-03-subtle',\n 'brand-04',\n 'brand-04-subtle',\n 'brand-05',\n 'brand-05-subtle',\n 'brand-06',\n 'brand-06-subtle',\n 'brand-08',\n 'brand-08-subtle',\n]"
59
+ "text": "[\r\n 'default',\r\n 'subtle',\r\n 'brand-01',\r\n 'brand-02',\r\n 'brand-03',\r\n 'brand-03-subtle',\r\n 'brand-04',\r\n 'brand-04-subtle',\r\n 'brand-05',\r\n 'brand-05-subtle',\r\n 'brand-06',\r\n 'brand-06-subtle',\r\n 'brand-08',\r\n 'brand-08-subtle',\r\n]"
60
60
  },
61
- "default": "[\n 'default',\n 'subtle',\n 'brand-01',\n 'brand-02',\n 'brand-03',\n 'brand-03-subtle',\n 'brand-04',\n 'brand-04-subtle',\n 'brand-05',\n 'brand-05-subtle',\n 'brand-06',\n 'brand-06-subtle',\n 'brand-08',\n 'brand-08-subtle',\n]"
61
+ "default": "[\r\n 'default',\r\n 'subtle',\r\n 'brand-01',\r\n 'brand-02',\r\n 'brand-03',\r\n 'brand-03-subtle',\r\n 'brand-04',\r\n 'brand-04-subtle',\r\n 'brand-05',\r\n 'brand-05-subtle',\r\n 'brand-06',\r\n 'brand-06-subtle',\r\n 'brand-08',\r\n 'brand-08-subtle',\r\n]"
62
62
  },
63
63
  {
64
64
  "kind": "variable",
@@ -111,7 +111,7 @@
111
111
  "type": {
112
112
  "text": "DefaultProps"
113
113
  },
114
- "default": "{\n hasBackButton: false,\n hasStackedActions: false,\n headingLevel: 'h2',\n isOpen: false,\n isDismissible: false,\n isHeadingEmphasised: false,\n isFooterPinned: true,\n isFullWidthBelowMid: false,\n isLoading: false,\n position: 'center',\n size: 'medium',\n backgroundColor: 'default',\n imageSlotAspectRatio: 'medium',\n}"
114
+ "default": "{\r\n hasBackButton: false,\r\n hasStackedActions: false,\r\n headingLevel: 'h2',\r\n isOpen: false,\r\n isDismissible: false,\r\n isHeadingEmphasised: false,\r\n isFooterPinned: true,\r\n isFullWidthBelowMid: false,\r\n isLoading: false,\r\n position: 'center',\r\n size: 'medium',\r\n backgroundColor: 'default',\r\n imageSlotAspectRatio: 'medium',\r\n}"
115
115
  }
116
116
  ],
117
117
  "exports": [
@@ -473,7 +473,7 @@
473
473
  "kind": "field",
474
474
  "name": "_preventModalKeyboardDismissal",
475
475
  "privacy": "private",
476
- "description": "Prevents the user from dismissing the dialog via the `cancel`\nevent (ESC key) when `isDismissible` is set to false.",
476
+ "description": "Prevents the user from dismissing the dialog via the `cancel`\r\nevent (ESC key) when `isDismissible` is set to false.",
477
477
  "parameters": [
478
478
  {
479
479
  "description": "The event object.",
@@ -547,7 +547,7 @@
547
547
  "text": "void"
548
548
  }
549
549
  },
550
- "description": "Return focus to the specified element, providing the selector is valid\nand the chosen element can be found."
550
+ "description": "Return focus to the specified element, providing the selector is valid\r\nand the chosen element can be found."
551
551
  },
552
552
  {
553
553
  "kind": "method",
@@ -590,7 +590,7 @@
590
590
  "text": "TemplateResult | typeof nothing"
591
591
  }
592
592
  },
593
- "description": "Template for the close button element. Called within the\nmain render function."
593
+ "description": "Template for the close button element. Called within the\r\nmain render function."
594
594
  },
595
595
  {
596
596
  "kind": "method",
@@ -611,7 +611,7 @@
611
611
  "text": "TemplateResult | typeof nothing"
612
612
  }
613
613
  },
614
- "description": "Template for the back button element. Called within the\nmain render function."
614
+ "description": "Template for the back button element. Called within the\r\nmain render function."
615
615
  },
616
616
  {
617
617
  "kind": "method",
@@ -622,7 +622,7 @@
622
622
  "text": "TemplateResult | typeof nothing"
623
623
  }
624
624
  },
625
- "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`."
625
+ "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`."
626
626
  },
627
627
  {
628
628
  "kind": "method",
@@ -633,7 +633,7 @@
633
633
  "text": "TemplateResult | typeof nothing"
634
634
  }
635
635
  },
636
- "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`."
636
+ "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`."
637
637
  },
638
638
  {
639
639
  "kind": "method",
@@ -644,7 +644,7 @@
644
644
  "text": "TemplateResult | typeof nothing"
645
645
  }
646
646
  },
647
- "description": "Renders the modal footer if a leading action is provided.\nAdditionally renders the supporting action if it is provided."
647
+ "description": "Renders the modal footer if a leading action is provided.\r\nAdditionally renders the supporting action if it is provided."
648
648
  },
649
649
  {
650
650
  "kind": "method",
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ const x = class x extends T {
14
14
  this.getAttribute("v") || this.setAttribute("v", x.v);
15
15
  }
16
16
  };
17
- x.v = "1.26.0";
17
+ x.v = "1.26.2";
18
18
  let B = x;
19
19
  function V(o) {
20
20
  if (Array.isArray(o)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-modal",
3
- "version": "1.26.0",
3
+ "version": "1.26.2",
4
4
  "description": "PIE design system modal built using web components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,7 +32,7 @@
32
32
  "scripts": {
33
33
  "build": "run -T vite build",
34
34
  "build:react-wrapper": "npx build-react-wrapper",
35
- "create:manifest": "yarn cem analyze --litelement",
35
+ "create:manifest": "run -T cem analyze --litelement",
36
36
  "lint:scripts": "run -T eslint .",
37
37
  "lint:scripts:fix": "run -T eslint . --fix",
38
38
  "lint:style": "run -T stylelint ./src/**/*.{css,scss}",
@@ -46,25 +46,23 @@
46
46
  "author": "Just Eat Takeaway.com - Design System Team",
47
47
  "license": "Apache-2.0",
48
48
  "devDependencies": {
49
- "@custom-elements-manifest/analyzer": "0.9.0",
50
49
  "@justeat/pie-design-tokens": "7.11.1",
51
- "@justeattakeaway/pie-button": "1.13.4",
52
- "@justeattakeaway/pie-components-config": "0.21.0",
53
- "@justeattakeaway/pie-css": "1.1.0",
50
+ "@justeattakeaway/pie-button": "1.14.0",
51
+ "@justeattakeaway/pie-components-config": "0.21.1",
52
+ "@justeattakeaway/pie-css": "1.1.1",
54
53
  "@justeattakeaway/pie-monorepo-utils": "0.9.0",
55
- "@justeattakeaway/pie-text-input": "0.29.28",
54
+ "@justeattakeaway/pie-text-input": "0.29.30",
56
55
  "@justeattakeaway/pie-wrapper-react": "0.14.4",
57
- "@types/body-scroll-lock": "3.1.2",
58
- "cem-plugin-module-file-extensions": "0.0.5"
56
+ "@types/body-scroll-lock": "3.1.2"
59
57
  },
60
58
  "volta": {
61
59
  "extends": "../../../package.json"
62
60
  },
63
61
  "dependencies": {
64
- "@justeattakeaway/pie-button": "1.13.4",
65
- "@justeattakeaway/pie-icon-button": "2.7.8",
66
- "@justeattakeaway/pie-icons-webc": "1.21.5",
67
- "@justeattakeaway/pie-spinner": "1.4.13",
62
+ "@justeattakeaway/pie-button": "1.14.0",
63
+ "@justeattakeaway/pie-icon-button": "2.7.10",
64
+ "@justeattakeaway/pie-icons-webc": "1.22.0",
65
+ "@justeattakeaway/pie-spinner": "1.4.14",
68
66
  "@justeattakeaway/pie-webc-core": "14.0.1",
69
67
  "body-scroll-lock": "3.1.5",
70
68
  "dialog-polyfill": "0.5.6"
package/src/react.ts CHANGED
File without changes