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

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.8.12-devmode.0+1a8b29491",
3
+ "version": "0.9.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,7 +57,7 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.6.1-devmode.0+1a8b29491",
60
+ "@spectrum-web-components/base": "^0.7.0",
61
61
  "tslib": "^2.0.0"
62
62
  },
63
63
  "devDependencies": {
@@ -69,5 +69,5 @@
69
69
  "./sp-*.js",
70
70
  "./**/*.dev.js"
71
71
  ],
72
- "gitHead": "1a8b294911ab377fa4f07e16eb016f1e3bf7b517"
72
+ "gitHead": "05c81318844160db3f8156144106e643507fef97"
73
73
  }
package/sp-underlay.js CHANGED
@@ -1,3 +1,2 @@
1
- import { Underlay } from "./src/Underlay.js";
2
- customElements.define("sp-underlay", Underlay);
1
+ 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;",
5
+ "mappings": "AAWA,6CAEA,eAAe,OAAO,cAAe,CAAQ",
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
+ 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;",
5
+ "mappings": "wMAYA,0EAMA,2EAEA,iCAKO,aAAM,gBAAiB,EAAgB,CAAvC,kCAMI,UAAO,aALa,SAAyB,CAChD,MAAO,CAAC,CAAM,CAClB,CAKmB,QAAyB,CACxC,MAAO,IACX,CACJ,CALW,GADP,AAAC,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GACnC,AANJ,SAMI",
6
6
  "names": []
7
7
  }
package/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./Underlay.js";
1
+ 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",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,4 @@
1
- import { css } from "@spectrum-web-components/base";
2
- const styles = css`
1
+ 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;",
5
+ "mappings": "AAWA,oDACA,KAAM,GAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBf,cAAe",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,4 @@
1
- import { css } from "@spectrum-web-components/base";
2
- const styles = css`
1
+ 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;",
5
+ "mappings": "AAWA,oDACA,KAAM,GAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBf,cAAe",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,4 @@
1
- import { html } from "@spectrum-web-components/base";
2
- import "@spectrum-web-components/underlay/sp-underlay.js";
3
- export default {
4
- title: "Underlay",
5
- component: "sp-underlay"
6
- };
7
- export const Default = () => {
8
- return html`
1
+ import{html as e}from"@spectrum-web-components/base";import"@spectrum-web-components/underlay/sp-underlay.js";export default{title:"Underlay",component:"sp-underlay"};export const Default=()=>e`
9
2
  <sp-underlay open></sp-underlay>
10
3
  `;
11
- };
12
4
  //# sourceMappingURL=underlay.stories.js.map
@@ -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,qDAEA,yDAEA,cAAe,CACX,MAAO,WACP,UAAW,aACf,EAEO,YAAM,SAAU,IACZ;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,4 @@
1
- import "@spectrum-web-components/underlay/sp-underlay.js";
2
- import { html } from "lit";
3
- import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
4
- measureFixtureCreation(html`
1
+ import"@spectrum-web-components/underlay/sp-underlay.js";import{html as r}from"lit";import{measureFixtureCreation as e}from"../../../../test/benchmark/helpers.js";e(r`
5
2
  <sp-underlay open></sp-underlay>
6
3
  `);
7
4
  //# sourceMappingURL=basic-test.js.map
@@ -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,yDACA,2BACA,+EAEA,EAAuB;AAAA;AAAA,CAEtB",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,2 @@
1
- import * as stories from "../stories/underlay.stories.js";
2
- import { regressVisuals } from "../../../test/visual/test.js";
3
- regressVisuals("UnderlayStories", stories);
1
+ import*as r from"../stories/underlay.stories.js";import{regressVisuals as s}from"../../../test/visual/test.js";s("UnderlayStories",r);
4
2
  //# sourceMappingURL=underlay.test-vrt.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["underlay.test-vrt.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 * 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;",
5
+ "mappings": "AAYA,iDACA,8DAEA,EAAe,kBAAmB,CAAO",
6
6
  "names": []
7
7
  }
@@ -1,16 +1,6 @@
1
- import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
2
- import "@spectrum-web-components/underlay/sp-underlay.js";
3
- import { testForLitDevWarnings } from "../../../test/testing-helpers.js";
4
- describe("Underlay", () => {
5
- testForLitDevWarnings(async () => await fixture(html`
1
+ import{elementUpdated as t,expect as l,fixture as a,html as r}from"@open-wc/testing";import"@spectrum-web-components/underlay/sp-underlay.js";import{testForLitDevWarnings as i}from"../../../test/testing-helpers.js";describe("Underlay",()=>{i(async()=>await a(r`
6
2
  <sp-underlay></sp-underlay>
7
- `));
8
- it("loads default underlay accessibly", async () => {
9
- const el = await fixture(html`
3
+ `)),it("loads default underlay accessibly",async()=>{const e=await a(r`
10
4
  <sp-underlay></sp-underlay>
11
- `);
12
- await elementUpdated(el);
13
- await expect(el).to.be.accessible();
14
- });
15
- });
5
+ `);await t(e),await l(e).to.be.accessible()})});
16
6
  //# sourceMappingURL=underlay.test.js.map
@@ -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,qFAEA,yDAEA,yEAEA,SAAS,WAAY,IAAM,CACvB,EACI,SACI,KAAM,GACF;AAAA;AAAA,iBAGJ,CACR,EACA,GAAG,oCAAqC,SAAY,CAChD,KAAM,GAAK,KAAM,GACb;AAAA;AAAA,aAGJ,EAEA,KAAM,GAAe,CAAE,EAEvB,KAAM,GAAO,CAAE,EAAE,GAAG,GAAG,WAAW,CACtC,CAAC,CACL,CAAC",
6
6
  "names": []
7
7
  }