@spectrum-web-components/divider 0.4.12-devmode.0 → 0.4.13-devmode.0
Sign up to get free protection for your applications and to get access to all the features.
- package/custom-elements.json +3 -3
- package/package.json +4 -3
- package/test/divider.test.js +4 -0
- package/test/divider.test.js.map +2 -2
package/custom-elements.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"modules": [
|
5
5
|
{
|
6
6
|
"kind": "javascript-module",
|
7
|
-
"path": "sp-divider.
|
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.
|
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.
|
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.
|
3
|
+
"version": "0.4.13-devmode.0+1a8b29491",
|
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.
|
60
|
+
"@spectrum-web-components/base": "^0.6.1-devmode.0+1a8b29491",
|
61
61
|
"tslib": "^2.0.0"
|
62
62
|
},
|
63
63
|
"devDependencies": {
|
@@ -67,7 +67,8 @@
|
|
67
67
|
"customElements": "custom-elements.json",
|
68
68
|
"sideEffects": [
|
69
69
|
"./sp-*.js",
|
70
|
+
"./**/*.dev.js",
|
70
71
|
"./stories/typography-decorator.js"
|
71
72
|
],
|
72
|
-
"gitHead": "
|
73
|
+
"gitHead": "1a8b294911ab377fa4f07e16eb016f1e3bf7b517"
|
73
74
|
}
|
package/test/divider.test.js
CHANGED
@@ -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>
|
package/test/divider.test.js.map
CHANGED
@@ -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;
|
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
|
}
|