@spectrum-web-components/picker 0.11.4 → 0.11.6-devmode.7

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.
Files changed (51) hide show
  1. package/package.json +39 -22
  2. package/sp-picker.dev.js +3 -0
  3. package/sp-picker.dev.js.map +7 -0
  4. package/sp-picker.js +3 -14
  5. package/sp-picker.js.map +7 -1
  6. package/src/Picker.dev.js +501 -0
  7. package/src/Picker.dev.js.map +7 -0
  8. package/src/Picker.js +405 -434
  9. package/src/Picker.js.map +7 -1
  10. package/src/index.dev.js +2 -0
  11. package/src/index.dev.js.map +7 -0
  12. package/src/index.js +2 -13
  13. package/src/index.js.map +7 -1
  14. package/src/picker.css.dev.js +304 -0
  15. package/src/picker.css.dev.js.map +7 -0
  16. package/src/picker.css.js +17 -38
  17. package/src/picker.css.js.map +7 -1
  18. package/src/spectrum-picker.css.dev.js +300 -0
  19. package/src/spectrum-picker.css.dev.js.map +7 -0
  20. package/src/spectrum-picker.css.js +17 -38
  21. package/src/spectrum-picker.css.js.map +7 -1
  22. package/stories/picker-sizes.stories.js +22 -30
  23. package/stories/picker-sizes.stories.js.map +7 -1
  24. package/stories/picker.stories.js +84 -95
  25. package/stories/picker.stories.js.map +7 -1
  26. package/stories/states.js +225 -236
  27. package/stories/states.js.map +7 -1
  28. package/sync/index.dev.js +8 -0
  29. package/sync/index.dev.js.map +7 -0
  30. package/sync/index.js +6 -15
  31. package/sync/index.js.map +7 -1
  32. package/sync/sp-picker.dev.js +3 -0
  33. package/sync/sp-picker.dev.js.map +7 -0
  34. package/sync/sp-picker.js +3 -14
  35. package/sync/sp-picker.js.map +7 -1
  36. package/test/benchmark/basic-test.js +256 -267
  37. package/test/benchmark/basic-test.js.map +7 -1
  38. package/test/index.js +830 -844
  39. package/test/index.js.map +7 -1
  40. package/test/picker-reparenting.test.js +71 -76
  41. package/test/picker-reparenting.test.js.map +7 -1
  42. package/test/picker-responsive.test.js +41 -53
  43. package/test/picker-responsive.test.js.map +7 -1
  44. package/test/picker-sizes.test-vrt.js +4 -15
  45. package/test/picker-sizes.test-vrt.js.map +7 -1
  46. package/test/picker-sync.test.js +5 -16
  47. package/test/picker-sync.test.js.map +7 -1
  48. package/test/picker.test-vrt.js +4 -15
  49. package/test/picker.test-vrt.js.map +7 -1
  50. package/test/picker.test.js +5 -16
  51. package/test/picker.test.js.map +7 -1
@@ -1,22 +1,18 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
- import '../sync/sp-picker.js';
13
- import '@spectrum-web-components/field-label/sp-field-label.js';
14
- import { elementUpdated, expect, fixture, html, nextFrame, oneEvent, } from '@open-wc/testing';
15
- import { setViewport } from '@web/test-runner-commands';
16
- describe('Picker, responsive', () => {
17
- let el;
18
- const pickerFixture = async () => {
19
- const test = await fixture(html `
1
+ import "@spectrum-web-components/picker/sync/sp-picker.js";
2
+ import "@spectrum-web-components/field-label/sp-field-label.js";
3
+ import {
4
+ elementUpdated,
5
+ expect,
6
+ fixture,
7
+ html,
8
+ nextFrame,
9
+ oneEvent
10
+ } from "@open-wc/testing";
11
+ import { setViewport } from "@web/test-runner-commands";
12
+ describe("Picker, responsive", () => {
13
+ let el;
14
+ const pickerFixture = async () => {
15
+ const test = await fixture(html`
20
16
  <div>
21
17
  <sp-field-label for="picker">
22
18
  Where do you live?
@@ -37,39 +33,31 @@ describe('Picker, responsive', () => {
37
33
  </sp-picker>
38
34
  </div>
39
35
  `);
40
- return test.querySelector('sp-picker');
41
- };
42
- describe('container', () => {
43
- beforeEach(async () => {
44
- el = await pickerFixture();
45
- await elementUpdated(el);
46
- });
47
- xit('is a Tray in mobile', async () => {
48
- /**
49
- * While we can set the view port, but not `(hover: none) and (pointer: coarse)`
50
- * which prevents us from testing this at unit time. Hopefully there will be
51
- * a future version of Playwright and/or @web/test-runner that does allow this.
52
- * See: https://github.com/microsoft/playwright/issues/11781
53
- **/
54
- await setViewport({ width: 360, height: 640 });
55
- // Allow viewport update to propagate.
56
- await nextFrame();
57
- const opened = oneEvent(el, 'sp-opened');
58
- el.open = true;
59
- await opened;
60
- const tray = document.querySelector('sp-tray');
61
- expect(tray).to.not.be.null;
62
- });
63
- it('is a Popover in desktop', async () => {
64
- await setViewport({ width: 701, height: 640 });
65
- // Allow viewport update to propagate.
66
- await nextFrame();
67
- const opened = oneEvent(el, 'sp-opened');
68
- el.open = true;
69
- await opened;
70
- const popover = document.querySelector('sp-popover');
71
- expect(popover).to.not.be.null;
72
- });
36
+ return test.querySelector("sp-picker");
37
+ };
38
+ describe("container", () => {
39
+ beforeEach(async () => {
40
+ el = await pickerFixture();
41
+ await elementUpdated(el);
73
42
  });
43
+ xit("is a Tray in mobile", async () => {
44
+ await setViewport({ width: 360, height: 640 });
45
+ await nextFrame();
46
+ const opened = oneEvent(el, "sp-opened");
47
+ el.open = true;
48
+ await opened;
49
+ const tray = document.querySelector("sp-tray");
50
+ expect(tray).to.not.be.null;
51
+ });
52
+ it("is a Popover in desktop", async () => {
53
+ await setViewport({ width: 701, height: 640 });
54
+ await nextFrame();
55
+ const opened = oneEvent(el, "sp-opened");
56
+ el.open = true;
57
+ await opened;
58
+ const popover = document.querySelector("sp-popover");
59
+ expect(popover).to.not.be.null;
60
+ });
61
+ });
74
62
  });
75
- //# sourceMappingURL=picker-responsive.test.js.map
63
+ //# sourceMappingURL=picker-responsive.test.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"picker-responsive.test.js","sourceRoot":"","sources":["picker-responsive.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,sBAAsB,CAAC;AAC9B,OAAO,wDAAwD,CAAC;AAEhE,OAAO,EACH,cAAc,EACd,MAAM,EACN,OAAO,EACP,IAAI,EACJ,SAAS,EACT,QAAQ,GACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAChC,IAAI,EAAU,CAAC;IACf,MAAM,aAAa,GAAG,KAAK,IAAqB,EAAE;QAC9C,MAAM,IAAI,GAAG,MAAM,OAAO,CACtB,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;aAoBH,CACJ,CAAC;QAEF,OAAO,IAAI,CAAC,aAAa,CAAC,WAAW,CAAW,CAAC;IACrD,CAAC,CAAC;IAEF,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;QACvB,UAAU,CAAC,KAAK,IAAI,EAAE;YAClB,EAAE,GAAG,MAAM,aAAa,EAAE,CAAC;YAC3B,MAAM,cAAc,CAAC,EAAE,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;QAEH,GAAG,CAAC,qBAAqB,EAAE,KAAK,IAAI,EAAE;YAClC;;;;;gBAKI;YACJ,MAAM,WAAW,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;YAC/C,sCAAsC;YACtC,MAAM,SAAS,EAAE,CAAC;YAElB,MAAM,MAAM,GAAG,QAAQ,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;YACzC,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC;YACf,MAAM,MAAM,CAAC;YAEb,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;YAE/C,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC;QAChC,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,yBAAyB,EAAE,KAAK,IAAI,EAAE;YACrC,MAAM,WAAW,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;YAC/C,sCAAsC;YACtC,MAAM,SAAS,EAAE,CAAC;YAElB,MAAM,MAAM,GAAG,QAAQ,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;YACzC,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC;YACf,MAAM,MAAM,CAAC;YAEb,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;YAErD,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC;QACnC,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC","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 '../sync/sp-picker.js';\nimport '@spectrum-web-components/field-label/sp-field-label.js';\nimport { Picker } from '..';\nimport {\n elementUpdated,\n expect,\n fixture,\n html,\n nextFrame,\n oneEvent,\n} from '@open-wc/testing';\nimport { setViewport } from '@web/test-runner-commands';\n\ndescribe('Picker, responsive', () => {\n let el: Picker;\n const pickerFixture = async (): Promise<Picker> => {\n const test = await fixture<HTMLDivElement>(\n html`\n <div>\n <sp-field-label for=\"picker\">\n Where do you live?\n </sp-field-label>\n <sp-picker\n id=\"picker\"\n style=\"width: 200px; --spectrum-alias-ui-icon-chevron-size-100: 10px;\"\n >\n <sp-menu-item>Deselect</sp-menu-item>\n <sp-menu-item value=\"option-2\">\n Select Inverse\n </sp-menu-item>\n <sp-menu-item>Feather...</sp-menu-item>\n <sp-menu-item>Select and Mask...</sp-menu-item>\n <sp-menu-divider></sp-menu-divider>\n <sp-menu-item>Save Selection</sp-menu-item>\n <sp-menu-item disabled>Make Work Path</sp-menu-item>\n </sp-picker>\n </div>\n `\n );\n\n return test.querySelector('sp-picker') as Picker;\n };\n\n describe('container', () => {\n beforeEach(async () => {\n el = await pickerFixture();\n await elementUpdated(el);\n });\n\n xit('is a Tray in mobile', async () => {\n /**\n * While we can set the view port, but not `(hover: none) and (pointer: coarse)`\n * which prevents us from testing this at unit time. Hopefully there will be\n * a future version of Playwright and/or @web/test-runner that does allow this.\n * See: https://github.com/microsoft/playwright/issues/11781\n **/\n await setViewport({ width: 360, height: 640 });\n // Allow viewport update to propagate.\n await nextFrame();\n\n const opened = oneEvent(el, 'sp-opened');\n el.open = true;\n await opened;\n\n const tray = document.querySelector('sp-tray');\n\n expect(tray).to.not.be.null;\n });\n\n it('is a Popover in desktop', async () => {\n await setViewport({ width: 701, height: 640 });\n // Allow viewport update to propagate.\n await nextFrame();\n\n const opened = oneEvent(el, 'sp-opened');\n el.open = true;\n await opened;\n\n const popover = document.querySelector('sp-popover');\n\n expect(popover).to.not.be.null;\n });\n });\n});\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["picker-responsive.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 '@spectrum-web-components/picker/sync/sp-picker.js';\nimport '@spectrum-web-components/field-label/sp-field-label.js';\nimport { Picker } from '@spectrum-web-components/picker';\nimport {\n elementUpdated,\n expect,\n fixture,\n html,\n nextFrame,\n oneEvent,\n} from '@open-wc/testing';\nimport { setViewport } from '@web/test-runner-commands';\n\ndescribe('Picker, responsive', () => {\n let el: Picker;\n const pickerFixture = async (): Promise<Picker> => {\n const test = await fixture<HTMLDivElement>(\n html`\n <div>\n <sp-field-label for=\"picker\">\n Where do you live?\n </sp-field-label>\n <sp-picker\n id=\"picker\"\n style=\"width: 200px; --spectrum-alias-ui-icon-chevron-size-100: 10px;\"\n >\n <sp-menu-item>Deselect</sp-menu-item>\n <sp-menu-item value=\"option-2\">\n Select Inverse\n </sp-menu-item>\n <sp-menu-item>Feather...</sp-menu-item>\n <sp-menu-item>Select and Mask...</sp-menu-item>\n <sp-menu-divider></sp-menu-divider>\n <sp-menu-item>Save Selection</sp-menu-item>\n <sp-menu-item disabled>Make Work Path</sp-menu-item>\n </sp-picker>\n </div>\n `\n );\n\n return test.querySelector('sp-picker') as Picker;\n };\n\n describe('container', () => {\n beforeEach(async () => {\n el = await pickerFixture();\n await elementUpdated(el);\n });\n\n xit('is a Tray in mobile', async () => {\n /**\n * While we can set the view port, but not `(hover: none) and (pointer: coarse)`\n * which prevents us from testing this at unit time. Hopefully there will be\n * a future version of Playwright and/or @web/test-runner that does allow this.\n * See: https://github.com/microsoft/playwright/issues/11781\n **/\n await setViewport({ width: 360, height: 640 });\n // Allow viewport update to propagate.\n await nextFrame();\n\n const opened = oneEvent(el, 'sp-opened');\n el.open = true;\n await opened;\n\n const tray = document.querySelector('sp-tray');\n\n expect(tray).to.not.be.null;\n });\n\n it('is a Popover in desktop', async () => {\n await setViewport({ width: 701, height: 640 });\n // Allow viewport update to propagate.\n await nextFrame();\n\n const opened = oneEvent(el, 'sp-opened');\n el.open = true;\n await opened;\n\n const popover = document.querySelector('sp-popover');\n\n expect(popover).to.not.be.null;\n });\n });\n});\n"],
5
+ "mappings": "AAYA;AACA;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA;AAEA,SAAS,sBAAsB,MAAM;AACjC,MAAI;AACJ,QAAM,gBAAgB,YAA6B;AAC/C,UAAM,OAAO,MAAM,QACf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAqBJ;AAEA,WAAO,KAAK,cAAc,WAAW;AAAA,EACzC;AAEA,WAAS,aAAa,MAAM;AACxB,eAAW,YAAY;AACnB,WAAK,MAAM,cAAc;AACzB,YAAM,eAAe,EAAE;AAAA,IAC3B,CAAC;AAED,QAAI,uBAAuB,YAAY;AAOnC,YAAM,YAAY,EAAE,OAAO,KAAK,QAAQ,IAAI,CAAC;AAE7C,YAAM,UAAU;AAEhB,YAAM,SAAS,SAAS,IAAI,WAAW;AACvC,SAAG,OAAO;AACV,YAAM;AAEN,YAAM,OAAO,SAAS,cAAc,SAAS;AAE7C,aAAO,IAAI,EAAE,GAAG,IAAI,GAAG;AAAA,IAC3B,CAAC;AAED,OAAG,2BAA2B,YAAY;AACtC,YAAM,YAAY,EAAE,OAAO,KAAK,QAAQ,IAAI,CAAC;AAE7C,YAAM,UAAU;AAEhB,YAAM,SAAS,SAAS,IAAI,WAAW;AACvC,SAAG,OAAO;AACV,YAAM;AAEN,YAAM,UAAU,SAAS,cAAc,YAAY;AAEnD,aAAO,OAAO,EAAE,GAAG,IAAI,GAAG;AAAA,IAC9B,CAAC;AAAA,EACL,CAAC;AACL,CAAC;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
- import * as stories from '../stories/picker-sizes.stories.js';
13
- import { regressVisuals } from '../../../test/visual/test.js';
14
- regressVisuals('PickerSizesStories', stories);
15
- //# sourceMappingURL=picker-sizes.test-vrt.js.map
1
+ import * as stories from "../stories/picker-sizes.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("PickerSizesStories", stories);
4
+ //# sourceMappingURL=picker-sizes.test-vrt.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"picker-sizes.test-vrt.js","sourceRoot":"","sources":["picker-sizes.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC","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/picker-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('PickerSizesStories', stories);\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["picker-sizes.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/picker-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('PickerSizesStories', stories);\n"],
5
+ "mappings": "AAYA;AACA;AAEA,eAAe,sBAAsB,OAAO;",
6
+ "names": []
7
+ }
@@ -1,17 +1,6 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
- import '../sync/sp-picker.js';
13
- import { runPickerTests } from './index.js';
14
- describe('Picker, sync', () => {
15
- runPickerTests();
1
+ import "@spectrum-web-components/picker/sync/sp-picker.js";
2
+ import { runPickerTests } from "./index.js";
3
+ describe("Picker, sync", () => {
4
+ runPickerTests();
16
5
  });
17
- //# sourceMappingURL=picker-sync.test.js.map
6
+ //# sourceMappingURL=picker-sync.test.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"picker-sync.test.js","sourceRoot":"","sources":["picker-sync.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC1B,cAAc,EAAE,CAAC;AACrB,CAAC,CAAC,CAAC","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 '../sync/sp-picker.js';\nimport { runPickerTests } from './index.js';\n\ndescribe('Picker, sync', () => {\n runPickerTests();\n});\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["picker-sync.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 '@spectrum-web-components/picker/sync/sp-picker.js';\nimport { runPickerTests } from './index.js';\n\ndescribe('Picker, sync', () => {\n runPickerTests();\n});\n"],
5
+ "mappings": "AAYA;AACA;AAEA,SAAS,gBAAgB,MAAM;AAC3B,iBAAe;AACnB,CAAC;",
6
+ "names": []
7
+ }
@@ -1,15 +1,4 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
- import * as stories from '../stories/picker.stories.js';
13
- import { regressVisuals } from '../../../test/visual/test.js';
14
- regressVisuals('PickerStories', stories);
15
- //# sourceMappingURL=picker.test-vrt.js.map
1
+ import * as stories from "../stories/picker.stories.js";
2
+ import { regressVisuals } from "../../../test/visual/test.js";
3
+ regressVisuals("PickerStories", stories);
4
+ //# sourceMappingURL=picker.test-vrt.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"picker.test-vrt.js","sourceRoot":"","sources":["picker.test-vrt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,cAAc,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC","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/picker.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('PickerStories', stories);\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["picker.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/picker.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('PickerStories', stories);\n"],
5
+ "mappings": "AAYA;AACA;AAEA,eAAe,iBAAiB,OAAO;",
6
+ "names": []
7
+ }
@@ -1,17 +1,6 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
5
- of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- Unless required by applicable law or agreed to in writing, software distributed under
8
- the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- OF ANY KIND, either express or implied. See the License for the specific language
10
- governing permissions and limitations under the License.
11
- */
12
- import '../sp-picker.js';
13
- import { runPickerTests } from './index.js';
14
- describe('Picker, sync', () => {
15
- runPickerTests();
1
+ import "@spectrum-web-components/picker/sp-picker.js";
2
+ import { runPickerTests } from "./index.js";
3
+ describe("Picker, sync", () => {
4
+ runPickerTests();
16
5
  });
17
- //# sourceMappingURL=picker.test.js.map
6
+ //# sourceMappingURL=picker.test.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"picker.test.js","sourceRoot":"","sources":["picker.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,iBAAiB,CAAC;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC1B,cAAc,EAAE,CAAC;AACrB,CAAC,CAAC,CAAC","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 '../sp-picker.js';\nimport { runPickerTests } from './index.js';\n\ndescribe('Picker, sync', () => {\n runPickerTests();\n});\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["picker.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 '@spectrum-web-components/picker/sp-picker.js';\nimport { runPickerTests } from './index.js';\n\ndescribe('Picker, sync', () => {\n runPickerTests();\n});\n"],
5
+ "mappings": "AAYA;AACA;AAEA,SAAS,gBAAgB,MAAM;AAC3B,iBAAe;AACnB,CAAC;",
6
+ "names": []
7
+ }