@spectrum-web-components/underlay 0.9.0-devmode.0 → 0.9.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/underlay",
3
- "version": "0.9.0-devmode.0+7b0ea531e",
3
+ "version": "0.9.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,8 +57,7 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.6.0",
61
- "tslib": "^2.0.0"
60
+ "@spectrum-web-components/base": "^0.7.1"
62
61
  },
63
62
  "devDependencies": {
64
63
  "@spectrum-css/underlay": "^2.0.31"
@@ -69,5 +68,5 @@
69
68
  "./sp-*.js",
70
69
  "./**/*.dev.js"
71
70
  ],
72
- "gitHead": "7b0ea531e9c7225c8964c5429bc5fd005618b80e"
71
+ "gitHead": "8bd87724e91e23df83dbf63a434bbbe10b8daaa6"
73
72
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import { Underlay } from "./src/Underlay.dev.js";
2
3
  customElements.define("sp-underlay", Underlay);
3
4
  //# sourceMappingURL=sp-underlay.dev.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["sp-underlay.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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 { Underlay } from './src/Underlay.dev.js'\n\ncustomElements.define('sp-underlay', Underlay);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-underlay': Underlay;\n }\n}\n"],
5
- "mappings": "AAWA;AAEA,eAAe,OAAO,eAAe,QAAQ;",
5
+ "mappings": ";AAWA,SAAS,gBAAgB;AAEzB,eAAe,OAAO,eAAe,QAAQ;",
6
6
  "names": []
7
7
  }
package/sp-underlay.js CHANGED
@@ -1,3 +1,2 @@
1
- import { Underlay } from "./src/Underlay.js";
2
- customElements.define("sp-underlay", Underlay);
1
+ "use strict";import{Underlay as e}from"./src/Underlay.js";customElements.define("sp-underlay",e);
3
2
  //# sourceMappingURL=sp-underlay.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["sp-underlay.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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 { Underlay } from './src/Underlay.js';\n\ncustomElements.define('sp-underlay', Underlay);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-underlay': Underlay;\n }\n}\n"],
5
- "mappings": "AAWA;AAEA,eAAe,OAAO,eAAe,QAAQ;",
6
- "names": []
5
+ "mappings": "aAWA,OAAS,YAAAA,MAAgB,oBAEzB,eAAe,OAAO,cAAeA,CAAQ",
6
+ "names": ["Underlay"]
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __decorateClass = (decorators, target, key, kind) => {
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["Underlay.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport {\n CSSResultArray,\n html,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\n\nimport styles from './underlay.css.js';\n\n/**\n * @element sp-underlay\n */\nexport class Underlay extends SpectrumElement {\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n @property({ type: Boolean, reflect: true })\n public open = false;\n\n protected override render(): TemplateResult {\n return html``;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;AAYA;AAAA;AAAA;AAAA;AAMA;AAEA;AAKO,aAAM,iBAAiB,gBAAgB;AAAA,EAAvC;AAAA;AAMI,gBAAO;AAAA;AAAA,aALa,SAAyB;AAChD,WAAO,CAAC,MAAM;AAAA,EAClB;AAAA,EAKmB,SAAyB;AACxC,WAAO;AAAA,EACX;AACJ;AALW;AAAA,EADP,AAAC,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GACnC,AANJ,SAMI;",
5
+ "mappings": ";;;;;;;;;;;;AAYA;AAAA,EAEI;AAAA,EACA;AAAA,OAEG;AACP,SAAS,gBAAgB;AAEzB,OAAO,YAAY;AAKZ,aAAM,iBAAiB,gBAAgB;AAAA,EAAvC;AAAA;AAMH,SAAO,OAAO;AAAA;AAAA,EALd,WAA2B,SAAyB;AAChD,WAAO,CAAC,MAAM;AAAA,EAClB;AAAA,EAKmB,SAAyB;AACxC,WAAO;AAAA,EACX;AACJ;AALW;AAAA,EADN,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GALjC,SAMF;",
6
6
  "names": []
7
7
  }
package/src/Underlay.js CHANGED
@@ -1,33 +1,2 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __decorateClass = (decorators, target, key, kind) => {
4
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
6
- if (decorator = decorators[i])
7
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
- if (kind && result)
9
- __defProp(target, key, result);
10
- return result;
11
- };
12
- import {
13
- html,
14
- SpectrumElement
15
- } from "@spectrum-web-components/base";
16
- import { property } from "@spectrum-web-components/base/src/decorators.js";
17
- import styles from "./underlay.css.js";
18
- export class Underlay extends SpectrumElement {
19
- constructor() {
20
- super(...arguments);
21
- this.open = false;
22
- }
23
- static get styles() {
24
- return [styles];
25
- }
26
- render() {
27
- return html``;
28
- }
29
- }
30
- __decorateClass([
31
- property({ type: Boolean, reflect: true })
32
- ], Underlay.prototype, "open", 2);
1
+ "use strict";var u=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var m=(l,r,o,t)=>{for(var e=t>1?void 0:t?a(r,o):r,p=l.length-1,s;p>=0;p--)(s=l[p])&&(e=(t?s(r,o,e):s(e))||e);return t&&e&&u(r,o,e),e};import{html as i,SpectrumElement as c}from"@spectrum-web-components/base";import{property as n}from"@spectrum-web-components/base/src/decorators.js";import y from"./underlay.css.js";export class Underlay extends c{constructor(){super(...arguments);this.open=!1}static get styles(){return[y]}render(){return i``}}m([n({type:Boolean,reflect:!0})],Underlay.prototype,"open",2);
33
2
  //# sourceMappingURL=Underlay.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["Underlay.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport {\n CSSResultArray,\n html,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\n\nimport styles from './underlay.css.js';\n\n/**\n * @element sp-underlay\n */\nexport class Underlay extends SpectrumElement {\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n @property({ type: Boolean, reflect: true })\n public open = false;\n\n protected override render(): TemplateResult {\n return html``;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;AAYA;AAAA;AAAA;AAAA;AAMA;AAEA;AAKO,aAAM,iBAAiB,gBAAgB;AAAA,EAAvC;AAAA;AAMI,gBAAO;AAAA;AAAA,aALa,SAAyB;AAChD,WAAO,CAAC,MAAM;AAAA,EAClB;AAAA,EAKmB,SAAyB;AACxC,WAAO;AAAA,EACX;AACJ;AALW;AAAA,EADP,AAAC,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GACnC,AANJ,SAMI;",
6
- "names": []
5
+ "mappings": "qNAYA,OAEI,QAAAA,EACA,mBAAAC,MAEG,gCACP,OAAS,YAAAC,MAAgB,kDAEzB,OAAOC,MAAY,oBAKZ,aAAM,iBAAiBF,CAAgB,CAAvC,kCAMH,KAAO,KAAO,GALd,WAA2B,QAAyB,CAChD,MAAO,CAACE,CAAM,CAClB,CAKmB,QAAyB,CACxC,OAAOH,GACX,CACJ,CALWI,EAAA,CADNF,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GALjC,SAMF",
6
+ "names": ["html", "SpectrumElement", "property", "styles", "__decorateClass"]
7
7
  }
package/src/index.dev.js CHANGED
@@ -1,2 +1,3 @@
1
+ "use strict";
1
2
  export * from "./Underlay.dev.js";
2
3
  //# sourceMappingURL=index.dev.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["index.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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*/\nexport * from './Underlay.dev.js'\n"],
5
- "mappings": "AAWA;",
5
+ "mappings": ";AAWA,cAAc;",
6
6
  "names": []
7
7
  }
package/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./Underlay.js";
1
+ "use strict";export*from"./Underlay.js";
2
2
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["index.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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*/\nexport * from './Underlay.js';\n"],
5
- "mappings": "AAWA;",
5
+ "mappings": "aAWA,WAAc",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import { css } from "@spectrum-web-components/base";
2
3
  const styles = css`
3
4
  :host{opacity:0;pointer-events:none;transition:transform var(--spectrum-global-animation-duration-100,.13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s) ease-in-out,visibility 0ms linear var(--spectrum-global-animation-duration-100,.13s);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0ms;visibility:visible}:host{--spectrum-dialog-confirm-background-entry-animation-delay:0ms;--spectrum-dialog-confirm-background-exit-animation-ease:cubic-bezier(0.5,0,1,1);--spectrum-dialog-confirm-background-entry-animation-ease:cubic-bezier(0,0,0.4,1)}:host{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["spectrum-underlay.css.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2022 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:host{opacity:0;pointer-events:none;transition:transform var(--spectrum-global-animation-duration-100,.13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s) ease-in-out,visibility 0ms linear var(--spectrum-global-animation-duration-100,.13s);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0ms;visibility:visible}:host{--spectrum-dialog-confirm-background-entry-animation-delay:0ms;--spectrum-dialog-confirm-background-exit-animation-ease:cubic-bezier(0.5,0,1,1);--spectrum-dialog-confirm-background-entry-animation-ease:cubic-bezier(0,0,0.4,1)}:host{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(\n--spectrum-dialog-confirm-background-exit-animation-duration,var(--spectrum-global-animation-duration-300)\n) var(\n--spectrum-dialog-confirm-background-exit-animation-ease,var(--spectrum-global-animation-linear)\n) var(\n--spectrum-dialog-confirm-background-exit-animation-delay,var(--spectrum-global-animation-duration-200)\n),visibility 0ms linear calc(var(\n--spectrum-dialog-confirm-background-exit-animation-delay,\nvar(--spectrum-global-animation-duration-200)\n) + var(\n--spectrum-dialog-confirm-background-exit-animation-duration,\nvar(--spectrum-global-animation-duration-300)\n));z-index:1}:host([open]){transition:opacity var(\n--spectrum-dialog-confirm-background-entry-animation-duration,var(--spectrum-global-animation-duration-600)\n) var(\n--spectrum-dialog-confirm-background-entry-animation-ease,var(--spectrum-global-animation-linear)\n) var(--spectrum-dialog-confirm-background-entry-animation-delay,0ms)}:host{background:var(\n--spectrum-dialog-confirm-overlay-background-color,var(--spectrum-alias-background-color-modal-overlay)\n)}\n`;\nexport default styles;"],
5
- "mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBf,eAAe;",
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;AAqBf,eAAe;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,4 @@
1
- import { css } from "@spectrum-web-components/base";
2
- const styles = css`
1
+ "use strict";import{css as a}from"@spectrum-web-components/base";const i=a`
3
2
  :host{opacity:0;pointer-events:none;transition:transform var(--spectrum-global-animation-duration-100,.13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s) ease-in-out,visibility 0ms linear var(--spectrum-global-animation-duration-100,.13s);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0ms;visibility:visible}:host{--spectrum-dialog-confirm-background-entry-animation-delay:0ms;--spectrum-dialog-confirm-background-exit-animation-ease:cubic-bezier(0.5,0,1,1);--spectrum-dialog-confirm-background-entry-animation-ease:cubic-bezier(0,0,0.4,1)}:host{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(
4
3
  --spectrum-dialog-confirm-background-exit-animation-duration,var(--spectrum-global-animation-duration-300)
5
4
  ) var(
@@ -19,6 +18,5 @@ var(--spectrum-global-animation-duration-300)
19
18
  ) var(--spectrum-dialog-confirm-background-entry-animation-delay,0ms)}:host{background:var(
20
19
  --spectrum-dialog-confirm-overlay-background-color,var(--spectrum-alias-background-color-modal-overlay)
21
20
  )}
22
- `;
23
- export default styles;
21
+ `;export default i;
24
22
  //# sourceMappingURL=spectrum-underlay.css.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["spectrum-underlay.css.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2022 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:host{opacity:0;pointer-events:none;transition:transform var(--spectrum-global-animation-duration-100,.13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s) ease-in-out,visibility 0ms linear var(--spectrum-global-animation-duration-100,.13s);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0ms;visibility:visible}:host{--spectrum-dialog-confirm-background-entry-animation-delay:0ms;--spectrum-dialog-confirm-background-exit-animation-ease:cubic-bezier(0.5,0,1,1);--spectrum-dialog-confirm-background-entry-animation-ease:cubic-bezier(0,0,0.4,1)}:host{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(\n--spectrum-dialog-confirm-background-exit-animation-duration,var(--spectrum-global-animation-duration-300)\n) var(\n--spectrum-dialog-confirm-background-exit-animation-ease,var(--spectrum-global-animation-linear)\n) var(\n--spectrum-dialog-confirm-background-exit-animation-delay,var(--spectrum-global-animation-duration-200)\n),visibility 0ms linear calc(var(\n--spectrum-dialog-confirm-background-exit-animation-delay,\nvar(--spectrum-global-animation-duration-200)\n) + var(\n--spectrum-dialog-confirm-background-exit-animation-duration,\nvar(--spectrum-global-animation-duration-300)\n));z-index:1}:host([open]){transition:opacity var(\n--spectrum-dialog-confirm-background-entry-animation-duration,var(--spectrum-global-animation-duration-600)\n) var(\n--spectrum-dialog-confirm-background-entry-animation-ease,var(--spectrum-global-animation-linear)\n) var(--spectrum-dialog-confirm-background-entry-animation-delay,0ms)}:host{background:var(\n--spectrum-dialog-confirm-overlay-background-color,var(--spectrum-alias-background-color-modal-overlay)\n)}\n`;\nexport default styles;"],
5
- "mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBf,eAAe;",
6
- "names": []
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,EAqBf,eAAeC",
6
+ "names": ["css", "styles"]
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import { css } from "@spectrum-web-components/base";
2
3
  const styles = css`
3
4
  :host{opacity:0;pointer-events:none;transition:transform var(--spectrum-global-animation-duration-100,.13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s) ease-in-out,visibility 0ms linear var(--spectrum-global-animation-duration-100,.13s);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0ms;visibility:visible}:host{--spectrum-dialog-confirm-background-entry-animation-delay:0ms;--spectrum-dialog-confirm-background-exit-animation-ease:cubic-bezier(0.5,0,1,1);--spectrum-dialog-confirm-background-entry-animation-ease:cubic-bezier(0,0,0.4,1)}:host{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["underlay.css.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2022 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:host{opacity:0;pointer-events:none;transition:transform var(--spectrum-global-animation-duration-100,.13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s) ease-in-out,visibility 0ms linear var(--spectrum-global-animation-duration-100,.13s);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0ms;visibility:visible}:host{--spectrum-dialog-confirm-background-entry-animation-delay:0ms;--spectrum-dialog-confirm-background-exit-animation-ease:cubic-bezier(0.5,0,1,1);--spectrum-dialog-confirm-background-entry-animation-ease:cubic-bezier(0,0,0.4,1)}:host{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(\n--spectrum-dialog-confirm-background-exit-animation-duration,var(--spectrum-global-animation-duration-300)\n) var(\n--spectrum-dialog-confirm-background-exit-animation-ease,var(--spectrum-global-animation-linear)\n) var(\n--spectrum-dialog-confirm-background-exit-animation-delay,var(--spectrum-global-animation-duration-200)\n),visibility 0ms linear calc(var(\n--spectrum-dialog-confirm-background-exit-animation-delay,\nvar(--spectrum-global-animation-duration-200)\n) + var(\n--spectrum-dialog-confirm-background-exit-animation-duration,\nvar(--spectrum-global-animation-duration-300)\n));z-index:1}:host([open]){transition:opacity var(\n--spectrum-dialog-confirm-background-entry-animation-duration,var(--spectrum-global-animation-duration-600)\n) var(\n--spectrum-dialog-confirm-background-entry-animation-ease,var(--spectrum-global-animation-linear)\n) var(--spectrum-dialog-confirm-background-entry-animation-delay,0ms)}:host{background:var(\n--spectrum-dialog-confirm-overlay-background-color,var(--spectrum-alias-background-color-modal-overlay)\n)}\n`;\nexport default styles;"],
5
- "mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBf,eAAe;",
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;AAqBf,eAAe;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,4 @@
1
- import { css } from "@spectrum-web-components/base";
2
- const styles = css`
1
+ "use strict";import{css as a}from"@spectrum-web-components/base";const i=a`
3
2
  :host{opacity:0;pointer-events:none;transition:transform var(--spectrum-global-animation-duration-100,.13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s) ease-in-out,visibility 0ms linear var(--spectrum-global-animation-duration-100,.13s);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0ms;visibility:visible}:host{--spectrum-dialog-confirm-background-entry-animation-delay:0ms;--spectrum-dialog-confirm-background-exit-animation-ease:cubic-bezier(0.5,0,1,1);--spectrum-dialog-confirm-background-entry-animation-ease:cubic-bezier(0,0,0.4,1)}:host{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(
4
3
  --spectrum-dialog-confirm-background-exit-animation-duration,var(--spectrum-global-animation-duration-300)
5
4
  ) var(
@@ -19,6 +18,5 @@ var(--spectrum-global-animation-duration-300)
19
18
  ) var(--spectrum-dialog-confirm-background-entry-animation-delay,0ms)}:host{background:var(
20
19
  --spectrum-dialog-confirm-overlay-background-color,var(--spectrum-alias-background-color-modal-overlay)
21
20
  )}
22
- `;
23
- export default styles;
21
+ `;export default i;
24
22
  //# sourceMappingURL=underlay.css.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["underlay.css.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2022 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:host{opacity:0;pointer-events:none;transition:transform var(--spectrum-global-animation-duration-100,.13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s) ease-in-out,visibility 0ms linear var(--spectrum-global-animation-duration-100,.13s);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0ms;visibility:visible}:host{--spectrum-dialog-confirm-background-entry-animation-delay:0ms;--spectrum-dialog-confirm-background-exit-animation-ease:cubic-bezier(0.5,0,1,1);--spectrum-dialog-confirm-background-entry-animation-ease:cubic-bezier(0,0,0.4,1)}:host{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(\n--spectrum-dialog-confirm-background-exit-animation-duration,var(--spectrum-global-animation-duration-300)\n) var(\n--spectrum-dialog-confirm-background-exit-animation-ease,var(--spectrum-global-animation-linear)\n) var(\n--spectrum-dialog-confirm-background-exit-animation-delay,var(--spectrum-global-animation-duration-200)\n),visibility 0ms linear calc(var(\n--spectrum-dialog-confirm-background-exit-animation-delay,\nvar(--spectrum-global-animation-duration-200)\n) + var(\n--spectrum-dialog-confirm-background-exit-animation-duration,\nvar(--spectrum-global-animation-duration-300)\n));z-index:1}:host([open]){transition:opacity var(\n--spectrum-dialog-confirm-background-entry-animation-duration,var(--spectrum-global-animation-duration-600)\n) var(\n--spectrum-dialog-confirm-background-entry-animation-ease,var(--spectrum-global-animation-linear)\n) var(--spectrum-dialog-confirm-background-entry-animation-delay,0ms)}:host{background:var(\n--spectrum-dialog-confirm-overlay-background-color,var(--spectrum-alias-background-color-modal-overlay)\n)}\n`;\nexport default styles;"],
5
- "mappings": "AAWA;AACA,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBf,eAAe;",
6
- "names": []
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,EAqBf,eAAeC",
6
+ "names": ["css", "styles"]
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import { html } from "@spectrum-web-components/base";
2
3
  import "@spectrum-web-components/underlay/sp-underlay.js";
3
4
  export default {
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["underlay.stories.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport { html, TemplateResult } from '@spectrum-web-components/base';\n\nimport '@spectrum-web-components/underlay/sp-underlay.js';\n\nexport default {\n title: 'Underlay',\n component: 'sp-underlay',\n};\n\nexport const Default = (): TemplateResult => {\n return html`\n <sp-underlay open></sp-underlay>\n `;\n};\n"],
5
- "mappings": "AAYA;AAEA;AAEA,eAAe;AAAA,EACX,OAAO;AAAA,EACP,WAAW;AACf;AAEO,aAAM,UAAU,MAAsB;AACzC,SAAO;AAAA;AAAA;AAGX;",
5
+ "mappings": ";AAYA,SAAS,YAA4B;AAErC,OAAO;AAEP,eAAe;AAAA,EACX,OAAO;AAAA,EACP,WAAW;AACf;AAEO,aAAM,UAAU,MAAsB;AACzC,SAAO;AAAA;AAAA;AAGX;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import "@spectrum-web-components/underlay/sp-underlay.js";
2
3
  import { html } from "lit";
3
4
  import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["basic-test.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport '@spectrum-web-components/underlay/sp-underlay.js';\nimport { html } from 'lit';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\n\nmeasureFixtureCreation(html`\n <sp-underlay open></sp-underlay>\n`);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,uBAAuB;AAAA;AAAA,CAEtB;",
5
+ "mappings": ";AAYA,OAAO;AACP,SAAS,YAAY;AACrB,SAAS,8BAA8B;AAEvC,uBAAuB;AAAA;AAAA,CAEtB;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import * as stories from "../stories/underlay.stories.js";
2
3
  import { regressVisuals } from "../../../test/visual/test.js";
3
4
  regressVisuals("UnderlayStories", stories);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["underlay.test-vrt.ts"],
4
- "sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport * as stories from '../stories/underlay.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('UnderlayStories', stories);\n"],
5
- "mappings": "AAYA;AACA;AAEA,eAAe,mBAAmB,OAAO;",
4
+ "sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport * as stories from '../stories/underlay.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\nimport type { TestsType } from '../../../test/visual/test.js';\n\nregressVisuals('UnderlayStories', stories as unknown as TestsType);\n"],
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAG/B,eAAe,mBAAmB,OAA+B;",
6
6
  "names": []
7
7
  }
@@ -1,14 +1,21 @@
1
+ "use strict";
1
2
  import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
2
3
  import "@spectrum-web-components/underlay/sp-underlay.js";
3
4
  import { testForLitDevWarnings } from "../../../test/testing-helpers.js";
4
5
  describe("Underlay", () => {
5
- testForLitDevWarnings(async () => await fixture(html`
6
+ testForLitDevWarnings(
7
+ async () => await fixture(
8
+ html`
6
9
  <sp-underlay></sp-underlay>
7
- `));
10
+ `
11
+ )
12
+ );
8
13
  it("loads default underlay accessibly", async () => {
9
- const el = await fixture(html`
14
+ const el = await fixture(
15
+ html`
10
16
  <sp-underlay></sp-underlay>
11
- `);
17
+ `
18
+ );
12
19
  await elementUpdated(el);
13
20
  await expect(el).to.be.accessible();
14
21
  });
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["underlay.test.ts"],
4
4
  "sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport { elementUpdated, expect, fixture, html } from '@open-wc/testing';\n\nimport '@spectrum-web-components/underlay/sp-underlay.js';\nimport { Underlay } from '@spectrum-web-components/underlay';\nimport { testForLitDevWarnings } from '../../../test/testing-helpers.js';\n\ndescribe('Underlay', () => {\n testForLitDevWarnings(\n async () =>\n await fixture<Underlay>(\n html`\n <sp-underlay></sp-underlay>\n `\n )\n );\n it('loads default underlay accessibly', async () => {\n const el = await fixture<Underlay>(\n html`\n <sp-underlay></sp-underlay>\n `\n );\n\n await elementUpdated(el);\n\n await expect(el).to.be.accessible();\n });\n});\n"],
5
- "mappings": "AAYA;AAEA;AAEA;AAEA,SAAS,YAAY,MAAM;AACvB,wBACI,YACI,MAAM,QACF;AAAA;AAAA,iBAGJ,CACR;AACA,KAAG,qCAAqC,YAAY;AAChD,UAAM,KAAK,MAAM,QACb;AAAA;AAAA,aAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACL,CAAC;",
5
+ "mappings": ";AAYA,SAAS,gBAAgB,QAAQ,SAAS,YAAY;AAEtD,OAAO;AAEP,SAAS,6BAA6B;AAEtC,SAAS,YAAY,MAAM;AACvB;AAAA,IACI,YACI,MAAM;AAAA,MACF;AAAA;AAAA;AAAA,IAGJ;AAAA,EACR;AACA,KAAG,qCAAqC,YAAY;AAChD,UAAM,KAAK,MAAM;AAAA,MACb;AAAA;AAAA;AAAA,IAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACL,CAAC;",
6
6
  "names": []
7
7
  }