@spectrum-web-components/divider 0.4.12-devmode.7 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "sp-divider.ts",
7
+ "path": "sp-divider.js",
8
8
  "declarations": [],
9
9
  "exports": [
10
10
  {
@@ -19,7 +19,7 @@
19
19
  },
20
20
  {
21
21
  "kind": "javascript-module",
22
- "path": "src/Divider.ts",
22
+ "path": "src/Divider.js",
23
23
  "declarations": [
24
24
  {
25
25
  "kind": "class",
@@ -68,7 +68,7 @@
68
68
  "name": "Divider",
69
69
  "declaration": {
70
70
  "name": "Divider",
71
- "module": "src/Divider.ts"
71
+ "module": "src/Divider.js"
72
72
  }
73
73
  }
74
74
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/divider",
3
- "version": "0.4.12-devmode.7+8303f3a2a",
3
+ "version": "0.4.12",
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.5.9-devmode.31+8303f3a2a",
60
+ "@spectrum-web-components/base": "^0.6.0",
61
61
  "tslib": "^2.0.0"
62
62
  },
63
63
  "devDependencies": {
@@ -69,5 +69,5 @@
69
69
  "./sp-*.js",
70
70
  "./stories/typography-decorator.js"
71
71
  ],
72
- "gitHead": "8303f3a2a90b0aedc15158797662ccfa8f4a2031"
72
+ "gitHead": "50cac779bbb0d6735c2061f1eceb86b9daf9b22b"
73
73
  }
@@ -1,6 +1,10 @@
1
1
  import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
2
2
  import "@spectrum-web-components/divider/sp-divider.js";
3
+ import { testForLitDevWarnings } from "../../../test/testing-helpers.js";
3
4
  describe("Divider", () => {
5
+ testForLitDevWarnings(async () => await fixture(html`
6
+ <sp-divider></sp-divider>
7
+ `));
4
8
  it("loads default divider accessibly", async () => {
5
9
  const el = await fixture(html`
6
10
  <sp-divider></sp-divider>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["divider.test.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 { elementUpdated, expect, fixture, html } from '@open-wc/testing';\n\nimport '@spectrum-web-components/divider/sp-divider.js';\nimport { Divider } from '@spectrum-web-components/divider';\n\ndescribe('Divider', () => {\n it('loads default divider accessibly', async () => {\n const el = await fixture<Divider>(\n html`\n <sp-divider></sp-divider>\n `\n );\n\n await elementUpdated(el);\n\n await expect(el).to.be.accessible();\n });\n it('loads [vertical] divider accessibly', async () => {\n const el = await fixture<Divider>(\n html`\n <sp-divider vertical></sp-divider>\n `\n );\n\n await elementUpdated(el);\n\n await expect(el).to.be.accessible();\n });\n});\n"],
5
- "mappings": "AAYA;AAEA;AAGA,SAAS,WAAW,MAAM;AACtB,KAAG,oCAAoC,YAAY;AAC/C,UAAM,KAAK,MAAM,QACb;AAAA;AAAA,aAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACD,KAAG,uCAAuC,YAAY;AAClD,UAAM,KAAK,MAAM,QACb;AAAA;AAAA,aAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACL,CAAC;",
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/divider/sp-divider.js';\nimport { Divider } from '@spectrum-web-components/divider';\nimport { testForLitDevWarnings } from '../../../test/testing-helpers.js';\n\ndescribe('Divider', () => {\n testForLitDevWarnings(\n async () =>\n await fixture<Divider>(\n html`\n <sp-divider></sp-divider>\n `\n )\n );\n it('loads default divider accessibly', async () => {\n const el = await fixture<Divider>(\n html`\n <sp-divider></sp-divider>\n `\n );\n\n await elementUpdated(el);\n\n await expect(el).to.be.accessible();\n });\n it('loads [vertical] divider accessibly', async () => {\n const el = await fixture<Divider>(\n html`\n <sp-divider vertical></sp-divider>\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,WAAW,MAAM;AACtB,wBACI,YACI,MAAM,QACF;AAAA;AAAA,iBAGJ,CACR;AACA,KAAG,oCAAoC,YAAY;AAC/C,UAAM,KAAK,MAAM,QACb;AAAA;AAAA,aAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACD,KAAG,uCAAuC,YAAY;AAClD,UAAM,KAAK,MAAM,QACb;AAAA;AAAA,aAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACL,CAAC;",
6
6
  "names": []
7
7
  }