@spectrum-web-components/modal 0.40.3 → 0.40.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/modal",
3
- "version": "0.40.3",
3
+ "version": "0.40.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,10 +43,10 @@
43
43
  "lit-html"
44
44
  ],
45
45
  "dependencies": {
46
- "@spectrum-web-components/base": "^0.40.3"
46
+ "@spectrum-web-components/base": "^0.40.5"
47
47
  },
48
48
  "devDependencies": {
49
- "@spectrum-css/modal": "^4.0.5"
49
+ "@spectrum-css/modal": "^4.2.0"
50
50
  },
51
51
  "types": "./src/index.d.ts",
52
52
  "customElements": "custom-elements.json",
@@ -54,5 +54,5 @@
54
54
  "./sp-*.js",
55
55
  "./**/*.dev.js"
56
56
  ],
57
- "gitHead": "76467a3470aeafa4beefce1e4fc76341f1d6733f"
57
+ "gitHead": "2e0006478841b07af63c19a0167a136bf724d064"
58
58
  }
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  import { css } from "@spectrum-web-components/base";
3
3
  const styles = css`
4
- .modal{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(
5
- --spectrum-animation-duration-100
6
- );--spectrum-overlay-animation-duration-opened:var(
7
- --spectrum-animation-duration-0
8
- );opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(
9
- --mod-overlay-animation-duration-opened,var(--spectrum-overlay-animation-duration-opened)
4
+ .modal{opacity:0;pointer-events:none;transition:transform var(
5
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
6
+ ) ease-in-out,opacity var(
7
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
8
+ ) ease-in-out,visibility 0s linear var(
9
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
10
+ );visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(
11
+ --mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s)
10
12
  );visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(
11
13
  --spectrum-animation-duration-0
12
14
  );--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["modal.css.ts"],
4
- "sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.modal{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-overlay-animation-duration-opened:var(\n--spectrum-animation-duration-0\n);opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(\n--mod-overlay-animation-duration-opened,var(--spectrum-overlay-animation-duration-opened)\n);visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(\n--spectrum-animation-duration-0\n);--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-modal-confirm-entry-animation-duration:var(\n--spectrum-animation-duration-500\n);--spectrum-modal-confirm-entry-animation-delay:var(\n--spectrum-animation-duration-200\n);--spectrum-modal-transition-animation-duration:var(\n--spectrum-animation-duration-100\n)}.modal{background:var(\n--mod-modal-background-color,var(--spectrum-modal-background-color)\n);border-radius:var(\n--mod-modal-confirm-border-radius,var(--spectrum-modal-confirm-border-radius)\n);max-block-size:var(\n--mod-modal-max-height,var(--spectrum-modal-max-height)\n);max-inline-size:var(\n--mod-modal-max-width,var(--spectrum-modal-max-width)\n);outline:none;overflow:hidden;pointer-events:auto;transform:translateY(var(\n--mod-modal-confirm-entry-animation-distance,var(--spectrum-modal-confirm-entry-animation-distance)\n));transition:opacity var(\n--mod-modal-confirm-exit-animation-duration,var(--spectrum-modal-confirm-exit-animation-duration)\n) var(--spectrum-animation-ease-in) var(\n--mod-modal-confirm-exit-animation-delay,var(--spectrum-modal-confirm-exit-animation-delay)\n),visibility 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n)),transform 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n));z-index:2}:host([open]) .modal{transform:translateY(0);transition:transform var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n),opacity var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n)}@media only screen and (max-device-height:350px),only screen and (max-device-width:400px){:host([responsive]) .modal{border-radius:0;inline-size:100%;height:100%;max-inline-size:100%;max-height:100%}}.fullscreen{inset-block-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-block-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n)}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}:host{--spectrum-dialog-confirm-exit-animation-duration:var(--swc-test-duration);--spectrum-dialog-confirm-entry-animation-duration:var(\n--swc-test-duration\n);height:100dvh}.modal{overflow:visible}\n`;\nexport default styles;"],
5
- "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA+Df,eAAe;",
4
+ "sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.modal{opacity:0;pointer-events:none;transition:transform var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n) ease-in-out,opacity var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n) ease-in-out,visibility 0s linear var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(\n--mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s)\n);visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(\n--spectrum-animation-duration-0\n);--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-modal-confirm-entry-animation-duration:var(\n--spectrum-animation-duration-500\n);--spectrum-modal-confirm-entry-animation-delay:var(\n--spectrum-animation-duration-200\n);--spectrum-modal-transition-animation-duration:var(\n--spectrum-animation-duration-100\n)}.modal{background:var(\n--mod-modal-background-color,var(--spectrum-modal-background-color)\n);border-radius:var(\n--mod-modal-confirm-border-radius,var(--spectrum-modal-confirm-border-radius)\n);max-block-size:var(\n--mod-modal-max-height,var(--spectrum-modal-max-height)\n);max-inline-size:var(\n--mod-modal-max-width,var(--spectrum-modal-max-width)\n);outline:none;overflow:hidden;pointer-events:auto;transform:translateY(var(\n--mod-modal-confirm-entry-animation-distance,var(--spectrum-modal-confirm-entry-animation-distance)\n));transition:opacity var(\n--mod-modal-confirm-exit-animation-duration,var(--spectrum-modal-confirm-exit-animation-duration)\n) var(--spectrum-animation-ease-in) var(\n--mod-modal-confirm-exit-animation-delay,var(--spectrum-modal-confirm-exit-animation-delay)\n),visibility 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n)),transform 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n));z-index:2}:host([open]) .modal{transform:translateY(0);transition:transform var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n),opacity var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n)}@media only screen and (max-device-height:350px),only screen and (max-device-width:400px){:host([responsive]) .modal{border-radius:0;inline-size:100%;height:100%;max-inline-size:100%;max-height:100%}}.fullscreen{inset-block-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-block-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n)}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}:host{--spectrum-dialog-confirm-exit-animation-duration:var(--swc-test-duration);--spectrum-dialog-confirm-entry-animation-duration:var(\n--swc-test-duration\n);height:100dvh}.modal{overflow:visible}\n`;\nexport default styles;"],
5
+ "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiEf,eAAe;",
6
6
  "names": []
7
7
  }
package/src/modal.css.js CHANGED
@@ -1,10 +1,12 @@
1
- "use strict";import{css as a}from"@spectrum-web-components/base";const r=a`
2
- .modal{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(
3
- --spectrum-animation-duration-100
4
- );--spectrum-overlay-animation-duration-opened:var(
5
- --spectrum-animation-duration-0
6
- );opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(
7
- --mod-overlay-animation-duration-opened,var(--spectrum-overlay-animation-duration-opened)
1
+ "use strict";import{css as a}from"@spectrum-web-components/base";const i=a`
2
+ .modal{opacity:0;pointer-events:none;transition:transform var(
3
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
4
+ ) ease-in-out,opacity var(
5
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
6
+ ) ease-in-out,visibility 0s linear var(
7
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
8
+ );visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(
9
+ --mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s)
8
10
  );visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(
9
11
  --spectrum-animation-duration-0
10
12
  );--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(
@@ -60,5 +62,5 @@ var(--spectrum-modal-confirm-exit-animation-duration)
60
62
  )}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}:host{--spectrum-dialog-confirm-exit-animation-duration:var(--swc-test-duration);--spectrum-dialog-confirm-entry-animation-duration:var(
61
63
  --swc-test-duration
62
64
  );height:100dvh}.modal{overflow:visible}
63
- `;export default r;
65
+ `;export default i;
64
66
  //# sourceMappingURL=modal.css.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["modal.css.ts"],
4
- "sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.modal{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-overlay-animation-duration-opened:var(\n--spectrum-animation-duration-0\n);opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(\n--mod-overlay-animation-duration-opened,var(--spectrum-overlay-animation-duration-opened)\n);visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(\n--spectrum-animation-duration-0\n);--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-modal-confirm-entry-animation-duration:var(\n--spectrum-animation-duration-500\n);--spectrum-modal-confirm-entry-animation-delay:var(\n--spectrum-animation-duration-200\n);--spectrum-modal-transition-animation-duration:var(\n--spectrum-animation-duration-100\n)}.modal{background:var(\n--mod-modal-background-color,var(--spectrum-modal-background-color)\n);border-radius:var(\n--mod-modal-confirm-border-radius,var(--spectrum-modal-confirm-border-radius)\n);max-block-size:var(\n--mod-modal-max-height,var(--spectrum-modal-max-height)\n);max-inline-size:var(\n--mod-modal-max-width,var(--spectrum-modal-max-width)\n);outline:none;overflow:hidden;pointer-events:auto;transform:translateY(var(\n--mod-modal-confirm-entry-animation-distance,var(--spectrum-modal-confirm-entry-animation-distance)\n));transition:opacity var(\n--mod-modal-confirm-exit-animation-duration,var(--spectrum-modal-confirm-exit-animation-duration)\n) var(--spectrum-animation-ease-in) var(\n--mod-modal-confirm-exit-animation-delay,var(--spectrum-modal-confirm-exit-animation-delay)\n),visibility 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n)),transform 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n));z-index:2}:host([open]) .modal{transform:translateY(0);transition:transform var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n),opacity var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n)}@media only screen and (max-device-height:350px),only screen and (max-device-width:400px){:host([responsive]) .modal{border-radius:0;inline-size:100%;height:100%;max-inline-size:100%;max-height:100%}}.fullscreen{inset-block-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-block-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n)}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}:host{--spectrum-dialog-confirm-exit-animation-duration:var(--swc-test-duration);--spectrum-dialog-confirm-entry-animation-duration:var(\n--swc-test-duration\n);height:100dvh}.modal{overflow:visible}\n`;\nexport default styles;"],
5
- "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA+Df,eAAeC",
4
+ "sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.modal{opacity:0;pointer-events:none;transition:transform var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n) ease-in-out,opacity var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n) ease-in-out,visibility 0s linear var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(\n--mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s)\n);visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(\n--spectrum-animation-duration-0\n);--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-modal-confirm-entry-animation-duration:var(\n--spectrum-animation-duration-500\n);--spectrum-modal-confirm-entry-animation-delay:var(\n--spectrum-animation-duration-200\n);--spectrum-modal-transition-animation-duration:var(\n--spectrum-animation-duration-100\n)}.modal{background:var(\n--mod-modal-background-color,var(--spectrum-modal-background-color)\n);border-radius:var(\n--mod-modal-confirm-border-radius,var(--spectrum-modal-confirm-border-radius)\n);max-block-size:var(\n--mod-modal-max-height,var(--spectrum-modal-max-height)\n);max-inline-size:var(\n--mod-modal-max-width,var(--spectrum-modal-max-width)\n);outline:none;overflow:hidden;pointer-events:auto;transform:translateY(var(\n--mod-modal-confirm-entry-animation-distance,var(--spectrum-modal-confirm-entry-animation-distance)\n));transition:opacity var(\n--mod-modal-confirm-exit-animation-duration,var(--spectrum-modal-confirm-exit-animation-duration)\n) var(--spectrum-animation-ease-in) var(\n--mod-modal-confirm-exit-animation-delay,var(--spectrum-modal-confirm-exit-animation-delay)\n),visibility 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n)),transform 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n));z-index:2}:host([open]) .modal{transform:translateY(0);transition:transform var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n),opacity var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n)}@media only screen and (max-device-height:350px),only screen and (max-device-width:400px){:host([responsive]) .modal{border-radius:0;inline-size:100%;height:100%;max-inline-size:100%;max-height:100%}}.fullscreen{inset-block-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-block-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n)}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}:host{--spectrum-dialog-confirm-exit-animation-duration:var(--swc-test-duration);--spectrum-dialog-confirm-entry-animation-duration:var(\n--swc-test-duration\n);height:100dvh}.modal{overflow:visible}\n`;\nexport default styles;"],
5
+ "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAiEf,eAAeC",
6
6
  "names": ["css", "styles"]
7
7
  }
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  import { css } from "@spectrum-web-components/base";
3
3
  const styles = css`
4
- .modal{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(
5
- --spectrum-animation-duration-100
6
- );--spectrum-overlay-animation-duration-opened:var(
7
- --spectrum-animation-duration-0
8
- );opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(
9
- --mod-overlay-animation-duration-opened,var(--spectrum-overlay-animation-duration-opened)
4
+ .modal{opacity:0;pointer-events:none;transition:transform var(
5
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
6
+ ) ease-in-out,opacity var(
7
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
8
+ ) ease-in-out,visibility 0s linear var(
9
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
10
+ );visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(
11
+ --mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s)
10
12
  );visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(
11
13
  --spectrum-animation-duration-0
12
14
  );--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["spectrum-modal.css.ts"],
4
- "sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.modal{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-overlay-animation-duration-opened:var(\n--spectrum-animation-duration-0\n);opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(\n--mod-overlay-animation-duration-opened,var(--spectrum-overlay-animation-duration-opened)\n);visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(\n--spectrum-animation-duration-0\n);--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-modal-confirm-entry-animation-duration:var(\n--spectrum-animation-duration-500\n);--spectrum-modal-confirm-entry-animation-delay:var(\n--spectrum-animation-duration-200\n);--spectrum-modal-transition-animation-duration:var(\n--spectrum-animation-duration-100\n)}.modal{background:var(\n--mod-modal-background-color,var(--spectrum-modal-background-color)\n);border-radius:var(\n--mod-modal-confirm-border-radius,var(--spectrum-modal-confirm-border-radius)\n);max-block-size:var(\n--mod-modal-max-height,var(--spectrum-modal-max-height)\n);max-inline-size:var(\n--mod-modal-max-width,var(--spectrum-modal-max-width)\n);outline:none;overflow:hidden;pointer-events:auto;transform:translateY(var(\n--mod-modal-confirm-entry-animation-distance,var(--spectrum-modal-confirm-entry-animation-distance)\n));transition:opacity var(\n--mod-modal-confirm-exit-animation-duration,var(--spectrum-modal-confirm-exit-animation-duration)\n) var(--spectrum-animation-ease-in) var(\n--mod-modal-confirm-exit-animation-delay,var(--spectrum-modal-confirm-exit-animation-delay)\n),visibility 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n)),transform 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n));z-index:2}:host([open]) .modal{transform:translateY(0);transition:transform var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n),opacity var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n)}@media only screen and (max-device-height:350px),only screen and (max-device-width:400px){:host([responsive]) .modal{border-radius:0;inline-size:100%;height:100%;max-inline-size:100%;max-height:100%}}.fullscreen{inset-block-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-block-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n)}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}\n`;\nexport default styles;"],
5
- "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6Df,eAAe;",
4
+ "sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.modal{opacity:0;pointer-events:none;transition:transform var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n) ease-in-out,opacity var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n) ease-in-out,visibility 0s linear var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(\n--mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s)\n);visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(\n--spectrum-animation-duration-0\n);--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-modal-confirm-entry-animation-duration:var(\n--spectrum-animation-duration-500\n);--spectrum-modal-confirm-entry-animation-delay:var(\n--spectrum-animation-duration-200\n);--spectrum-modal-transition-animation-duration:var(\n--spectrum-animation-duration-100\n)}.modal{background:var(\n--mod-modal-background-color,var(--spectrum-modal-background-color)\n);border-radius:var(\n--mod-modal-confirm-border-radius,var(--spectrum-modal-confirm-border-radius)\n);max-block-size:var(\n--mod-modal-max-height,var(--spectrum-modal-max-height)\n);max-inline-size:var(\n--mod-modal-max-width,var(--spectrum-modal-max-width)\n);outline:none;overflow:hidden;pointer-events:auto;transform:translateY(var(\n--mod-modal-confirm-entry-animation-distance,var(--spectrum-modal-confirm-entry-animation-distance)\n));transition:opacity var(\n--mod-modal-confirm-exit-animation-duration,var(--spectrum-modal-confirm-exit-animation-duration)\n) var(--spectrum-animation-ease-in) var(\n--mod-modal-confirm-exit-animation-delay,var(--spectrum-modal-confirm-exit-animation-delay)\n),visibility 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n)),transform 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n));z-index:2}:host([open]) .modal{transform:translateY(0);transition:transform var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n),opacity var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n)}@media only screen and (max-device-height:350px),only screen and (max-device-width:400px){:host([responsive]) .modal{border-radius:0;inline-size:100%;height:100%;max-inline-size:100%;max-height:100%}}.fullscreen{inset-block-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-block-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n)}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}\n`;\nexport default styles;"],
5
+ "mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA+Df,eAAe;",
6
6
  "names": []
7
7
  }
@@ -1,10 +1,12 @@
1
1
  "use strict";import{css as a}from"@spectrum-web-components/base";const r=a`
2
- .modal{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(
3
- --spectrum-animation-duration-100
4
- );--spectrum-overlay-animation-duration-opened:var(
5
- --spectrum-animation-duration-0
6
- );opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(
7
- --mod-overlay-animation-duration-opened,var(--spectrum-overlay-animation-duration-opened)
2
+ .modal{opacity:0;pointer-events:none;transition:transform var(
3
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
4
+ ) ease-in-out,opacity var(
5
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
6
+ ) ease-in-out,visibility 0s linear var(
7
+ --mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)
8
+ );visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(
9
+ --mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s)
8
10
  );visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(
9
11
  --spectrum-animation-duration-0
10
12
  );--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["spectrum-modal.css.ts"],
4
- "sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.modal{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-overlay-animation-duration-opened:var(\n--spectrum-animation-duration-0\n);opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(\n--mod-overlay-animation-duration-opened,var(--spectrum-overlay-animation-duration-opened)\n);visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(\n--spectrum-animation-duration-0\n);--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-modal-confirm-entry-animation-duration:var(\n--spectrum-animation-duration-500\n);--spectrum-modal-confirm-entry-animation-delay:var(\n--spectrum-animation-duration-200\n);--spectrum-modal-transition-animation-duration:var(\n--spectrum-animation-duration-100\n)}.modal{background:var(\n--mod-modal-background-color,var(--spectrum-modal-background-color)\n);border-radius:var(\n--mod-modal-confirm-border-radius,var(--spectrum-modal-confirm-border-radius)\n);max-block-size:var(\n--mod-modal-max-height,var(--spectrum-modal-max-height)\n);max-inline-size:var(\n--mod-modal-max-width,var(--spectrum-modal-max-width)\n);outline:none;overflow:hidden;pointer-events:auto;transform:translateY(var(\n--mod-modal-confirm-entry-animation-distance,var(--spectrum-modal-confirm-entry-animation-distance)\n));transition:opacity var(\n--mod-modal-confirm-exit-animation-duration,var(--spectrum-modal-confirm-exit-animation-duration)\n) var(--spectrum-animation-ease-in) var(\n--mod-modal-confirm-exit-animation-delay,var(--spectrum-modal-confirm-exit-animation-delay)\n),visibility 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n)),transform 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n));z-index:2}:host([open]) .modal{transform:translateY(0);transition:transform var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n),opacity var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n)}@media only screen and (max-device-height:350px),only screen and (max-device-width:400px){:host([responsive]) .modal{border-radius:0;inline-size:100%;height:100%;max-inline-size:100%;max-height:100%}}.fullscreen{inset-block-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-block-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n)}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}\n`;\nexport default styles;"],
5
- "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA6Df,eAAeC",
4
+ "sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.modal{opacity:0;pointer-events:none;transition:transform var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n) ease-in-out,opacity var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n) ease-in-out,visibility 0s linear var(\n--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s)\n);visibility:hidden}:host([open]) .modal{opacity:1;pointer-events:auto;transition-delay:var(\n--mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s)\n);visibility:visible}:host{--spectrum-modal-confirm-exit-animation-delay:var(\n--spectrum-animation-duration-0\n);--spectrum-modal-fullscreen-margin:32px;--spectrum-modal-max-height:90vh;--spectrum-modal-max-width:90%;--spectrum-modal-background-color:var(--spectrum-gray-100);--spectrum-modal-confirm-border-radius:var(--spectrum-corner-radius-100);--spectrum-modal-confirm-exit-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-modal-confirm-entry-animation-duration:var(\n--spectrum-animation-duration-500\n);--spectrum-modal-confirm-entry-animation-delay:var(\n--spectrum-animation-duration-200\n);--spectrum-modal-transition-animation-duration:var(\n--spectrum-animation-duration-100\n)}.modal{background:var(\n--mod-modal-background-color,var(--spectrum-modal-background-color)\n);border-radius:var(\n--mod-modal-confirm-border-radius,var(--spectrum-modal-confirm-border-radius)\n);max-block-size:var(\n--mod-modal-max-height,var(--spectrum-modal-max-height)\n);max-inline-size:var(\n--mod-modal-max-width,var(--spectrum-modal-max-width)\n);outline:none;overflow:hidden;pointer-events:auto;transform:translateY(var(\n--mod-modal-confirm-entry-animation-distance,var(--spectrum-modal-confirm-entry-animation-distance)\n));transition:opacity var(\n--mod-modal-confirm-exit-animation-duration,var(--spectrum-modal-confirm-exit-animation-duration)\n) var(--spectrum-animation-ease-in) var(\n--mod-modal-confirm-exit-animation-delay,var(--spectrum-modal-confirm-exit-animation-delay)\n),visibility 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n)),transform 0s linear calc(var(\n--mod-modal-confirm-exit-animation-delay,\nvar(--spectrum-modal-confirm-exit-animation-delay)\n) + var(\n--mod-modal-confirm-exit-animation-duration,\nvar(--spectrum-modal-confirm-exit-animation-duration)\n));z-index:2}:host([open]) .modal{transform:translateY(0);transition:transform var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n),opacity var(\n--mod-modal-confirm-entry-animation-duration,var(--spectrum-modal-confirm-entry-animation-duration)\n) var(--spectrum-animation-ease-out) var(\n--mod-modal-confirm-entry-animation-delay,var(--spectrum-modal-confirm-entry-animation-delay)\n)}@media only screen and (max-device-height:350px),only screen and (max-device-width:400px){:host([responsive]) .modal{border-radius:0;inline-size:100%;height:100%;max-inline-size:100%;max-height:100%}}.fullscreen{inset-block-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-block-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-end:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n);inset-inline-start:var(\n--mod-modal-fullscreen-margin,var(--spectrum-modal-fullscreen-margin)\n)}.fullscreen,.fullscreenTakeover{max-inline-size:none;max-height:none;position:fixed}.fullscreenTakeover{border:none;border-radius:0;box-sizing:border-box;inset:0}.fullscreenTakeover,:host([open]) .fullscreenTakeover{transform:none}\n`;\nexport default styles;"],
5
+ "mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA+Df,eAAeC",
6
6
  "names": ["css", "styles"]
7
7
  }