@spectrum-web-components/action-menu 1.0.1 → 1.0.2

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 (34) hide show
  1. package/package.json +8 -9
  2. package/LICENSE +0 -201
  3. package/stories/action-menu-sizes.stories.js +0 -23
  4. package/stories/action-menu-sizes.stories.js.map +0 -7
  5. package/stories/action-menu.stories.js +0 -424
  6. package/stories/action-menu.stories.js.map +0 -7
  7. package/stories/index.js +0 -69
  8. package/stories/index.js.map +0 -7
  9. package/test/action-menu-directive.test.js +0 -29
  10. package/test/action-menu-directive.test.js.map +0 -7
  11. package/test/action-menu-groups.test.js +0 -85
  12. package/test/action-menu-groups.test.js.map +0 -7
  13. package/test/action-menu-memory.test.js +0 -5
  14. package/test/action-menu-memory.test.js.map +0 -7
  15. package/test/action-menu-sizes.test-vrt.js +0 -5
  16. package/test/action-menu-sizes.test-vrt.js.map +0 -7
  17. package/test/action-menu-sync.test.js +0 -9
  18. package/test/action-menu-sync.test.js.map +0 -7
  19. package/test/action-menu.test-vrt.js +0 -5
  20. package/test/action-menu.test-vrt.js.map +0 -7
  21. package/test/action-menu.test.js +0 -9
  22. package/test/action-menu.test.js.map +0 -7
  23. package/test/benchmark/test-basic.js +0 -21
  24. package/test/benchmark/test-basic.js.map +0 -7
  25. package/test/benchmark/test-directive.js +0 -26
  26. package/test/benchmark/test-directive.js.map +0 -7
  27. package/test/benchmark/test-lazy.js +0 -35
  28. package/test/benchmark/test-lazy.js.map +0 -7
  29. package/test/benchmark/test-open-close-directive.js +0 -67
  30. package/test/benchmark/test-open-close-directive.js.map +0 -7
  31. package/test/benchmark/test-open-close.js +0 -62
  32. package/test/benchmark/test-open-close.js.map +0 -7
  33. package/test/index.js +0 -651
  34. package/test/index.js.map +0 -7
@@ -1,85 +0,0 @@
1
- "use strict";
2
- import { elementUpdated, expect, oneEvent } from "@open-wc/testing";
3
- import { fixture } from "../../../test/testing-helpers.js";
4
- import { sendKeys } from "@web/test-runner-commands";
5
- import { groupsWithSelects } from "../stories/action-menu.stories.js";
6
- describe("Action Menu - Groups", () => {
7
- it("throws focus into the Menu when opened", async function() {
8
- var _a;
9
- const el = await fixture(
10
- groupsWithSelects({ onChange: () => {
11
- } })
12
- );
13
- const firstGroup = el.querySelector("sp-menu-group");
14
- const firstItem = el.querySelector("sp-menu-item");
15
- expect(firstItem.focused).to.be.false;
16
- expect(document.activeElement === firstGroup).to.be.false;
17
- const opened = oneEvent(el, "sp-opened");
18
- el.focus();
19
- await sendKeys({
20
- press: "ArrowDown"
21
- });
22
- await opened;
23
- expect(firstItem.focused).to.be.true;
24
- expect(
25
- document.activeElement === firstGroup,
26
- (_a = document.activeElement) == null ? void 0 : _a.localName
27
- ).to.be.true;
28
- });
29
- it('toggles child group with `selects="multiple"`', async function() {
30
- var _a;
31
- this.retries(0);
32
- const el = await fixture(
33
- groupsWithSelects({ onChange: () => {
34
- } })
35
- );
36
- const multipleGroup = el.querySelector(
37
- '[selects="multiple"]'
38
- );
39
- const firstItem = multipleGroup.querySelector(
40
- "sp-menu-item"
41
- );
42
- expect(firstItem.selected).to.be.false;
43
- let opened = oneEvent(el, "sp-opened");
44
- el.focus();
45
- await sendKeys({
46
- press: "ArrowDown"
47
- });
48
- await opened;
49
- expect(el.open).to.be.true;
50
- await sendKeys({
51
- press: "ArrowUp"
52
- });
53
- await elementUpdated(el);
54
- let closed = oneEvent(el, "sp-closed");
55
- await sendKeys({
56
- press: "Enter"
57
- });
58
- await closed;
59
- await elementUpdated(el);
60
- await elementUpdated(firstItem);
61
- expect(el.open).to.be.false;
62
- expect(firstItem.selected).to.be.true;
63
- expect(document.activeElement === el, (_a = document.activeElement) == null ? void 0 : _a.localName).to.be.true;
64
- opened = oneEvent(el, "sp-opened");
65
- await sendKeys({
66
- press: "ArrowDown"
67
- });
68
- await opened;
69
- expect(el.open).to.be.true;
70
- await sendKeys({
71
- press: "ArrowUp"
72
- });
73
- await elementUpdated(el);
74
- closed = oneEvent(el, "sp-closed");
75
- await sendKeys({
76
- press: "Enter"
77
- });
78
- await closed;
79
- await elementUpdated(el);
80
- await elementUpdated(firstItem);
81
- expect(el.open).to.be.false;
82
- expect(firstItem.selected).to.be.false;
83
- });
84
- });
85
- //# sourceMappingURL=action-menu-groups.test.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["action-menu-groups.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, oneEvent } from '@open-wc/testing';\nimport { fixture } from '../../../test/testing-helpers.js';\nimport { sendKeys } from '@web/test-runner-commands';\n\nimport { groupsWithSelects } from '../stories/action-menu.stories.js';\nimport { ActionMenu } from '@spectrum-web-components/action-menu';\nimport { MenuItem } from '@spectrum-web-components/menu';\n\ndescribe('Action Menu - Groups', () => {\n it('throws focus into the Menu when opened', async function () {\n const el = await fixture<ActionMenu>(\n groupsWithSelects({ onChange: () => {} })\n );\n\n const firstGroup = el.querySelector('sp-menu-group') as HTMLElement;\n const firstItem = el.querySelector('sp-menu-item') as MenuItem;\n\n expect(firstItem.focused).to.be.false;\n expect(document.activeElement === firstGroup).to.be.false;\n\n const opened = oneEvent(el, 'sp-opened');\n el.focus();\n await sendKeys({\n press: 'ArrowDown',\n });\n await opened;\n\n expect(firstItem.focused).to.be.true;\n expect(\n document.activeElement === firstGroup,\n document.activeElement?.localName\n ).to.be.true;\n });\n\n it('toggles child group with `selects=\"multiple\"`', async function () {\n this.retries(0);\n const el = await fixture<ActionMenu>(\n groupsWithSelects({ onChange: () => {} })\n );\n\n const multipleGroup = el.querySelector(\n '[selects=\"multiple\"]'\n ) as HTMLElement;\n const firstItem = multipleGroup.querySelector(\n 'sp-menu-item'\n ) as MenuItem;\n\n expect(firstItem.selected).to.be.false;\n\n let opened = oneEvent(el, 'sp-opened');\n el.focus();\n await sendKeys({\n press: 'ArrowDown',\n });\n await opened;\n expect(el.open).to.be.true;\n\n await sendKeys({\n press: 'ArrowUp',\n });\n await elementUpdated(el);\n\n let closed = oneEvent(el, 'sp-closed');\n await sendKeys({\n press: 'Enter',\n });\n await closed;\n\n await elementUpdated(el);\n await elementUpdated(firstItem);\n\n expect(el.open).to.be.false;\n expect(firstItem.selected).to.be.true;\n expect(document.activeElement === el, document.activeElement?.localName)\n .to.be.true;\n\n opened = oneEvent(el, 'sp-opened');\n await sendKeys({\n press: 'ArrowDown',\n });\n await opened;\n expect(el.open).to.be.true;\n\n await sendKeys({\n press: 'ArrowUp',\n });\n await elementUpdated(el);\n\n closed = oneEvent(el, 'sp-closed');\n await sendKeys({\n press: 'Enter',\n });\n await closed;\n\n await elementUpdated(el);\n await elementUpdated(firstItem);\n\n expect(el.open).to.be.false;\n expect(firstItem.selected).to.be.false;\n });\n});\n"],
5
- "mappings": ";AAYA,SAAS,gBAAgB,QAAQ,gBAAgB;AACjD,SAAS,eAAe;AACxB,SAAS,gBAAgB;AAEzB,SAAS,yBAAyB;AAIlC,SAAS,wBAAwB,MAAM;AACnC,KAAG,0CAA0C,iBAAkB;AArBnE;AAsBQ,UAAM,KAAK,MAAM;AAAA,MACb,kBAAkB,EAAE,UAAU,MAAM;AAAA,MAAC,EAAE,CAAC;AAAA,IAC5C;AAEA,UAAM,aAAa,GAAG,cAAc,eAAe;AACnD,UAAM,YAAY,GAAG,cAAc,cAAc;AAEjD,WAAO,UAAU,OAAO,EAAE,GAAG,GAAG;AAChC,WAAO,SAAS,kBAAkB,UAAU,EAAE,GAAG,GAAG;AAEpD,UAAM,SAAS,SAAS,IAAI,WAAW;AACvC,OAAG,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,MACX,OAAO;AAAA,IACX,CAAC;AACD,UAAM,eAAe,EAAE;AAEvB,aAAS,SAAS,IAAI,WAAW;AACjC,UAAM,SAAS;AAAA,MACX,OAAO;AAAA,IACX,CAAC;AACD,UAAM;AAEN,UAAM,eAAe,EAAE;AACvB,UAAM,eAAe,SAAS;AAE9B,WAAO,GAAG,IAAI,EAAE,GAAG,GAAG;AACtB,WAAO,UAAU,QAAQ,EAAE,GAAG,GAAG;AAAA,EACrC,CAAC;AACL,CAAC;",
6
- "names": []
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- import { Default } from "../stories/action-menu.stories.js";
3
- import { testForMemoryLeaks } from "../../../test/testing-helpers.js";
4
- testForMemoryLeaks(Default({}));
5
- //# sourceMappingURL=action-menu-memory.test.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["action-menu-memory.test.ts"],
4
- "sourcesContent": ["/*\nCopyright 2023 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 { Default } from '../stories/action-menu.stories.js';\nimport { testForMemoryLeaks } from '../../../test/testing-helpers.js';\n\ntestForMemoryLeaks(Default({}));\n"],
5
- "mappings": ";AAYA,SAAS,eAAe;AACxB,SAAS,0BAA0B;AAEnC,mBAAmB,QAAQ,CAAC,CAAC,CAAC;",
6
- "names": []
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- import * as stories from "../stories/action-menu-sizes.stories.js";
3
- import { regressVisuals } from "../../../test/visual/test.js";
4
- regressVisuals("ActionMenuSizesStories", stories);
5
- //# sourceMappingURL=action-menu-sizes.test-vrt.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["action-menu-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/action-menu-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\nimport type { TestsType } from '../../../test/visual/test.js';\n\nregressVisuals('ActionMenuSizesStories', stories as unknown as TestsType);\n"],
5
- "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAG/B,eAAe,0BAA0B,OAA+B;",
6
- "names": []
7
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- import "@spectrum-web-components/action-menu/sync/sp-action-menu.js";
3
- import "@spectrum-web-components/icons-workflow/icons/sp-icon-settings.js";
4
- import "@spectrum-web-components/menu/sp-menu.js";
5
- import "@spectrum-web-components/menu/sp-menu-item.js";
6
- import "@spectrum-web-components/menu/sp-menu-divider.js";
7
- import { testActionMenu } from "./";
8
- testActionMenu("sync");
9
- //# sourceMappingURL=action-menu-sync.test.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["action-menu-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/action-menu/sync/sp-action-menu.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-settings.js';\nimport '@spectrum-web-components/menu/sp-menu.js';\nimport '@spectrum-web-components/menu/sp-menu-item.js';\nimport '@spectrum-web-components/menu/sp-menu-divider.js';\n\nimport { testActionMenu } from './';\n\ntestActionMenu('sync');\n"],
5
- "mappings": ";AAYA,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AAEP,SAAS,sBAAsB;AAE/B,eAAe,MAAM;",
6
- "names": []
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- import * as stories from "../stories/action-menu.stories.js";
3
- import { regressVisuals } from "../../../test/visual/test.js";
4
- regressVisuals("ActionMenuStories", stories);
5
- //# sourceMappingURL=action-menu.test-vrt.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["action-menu.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/action-menu.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\nimport type { TestsType } from '../../../test/visual/test.js';\n\nregressVisuals('ActionMenuStories', stories as unknown as TestsType);\n"],
5
- "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAG/B,eAAe,qBAAqB,OAA+B;",
6
- "names": []
7
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- import "@spectrum-web-components/action-menu/sp-action-menu.js";
3
- import "@spectrum-web-components/icons-workflow/icons/sp-icon-settings.js";
4
- import "@spectrum-web-components/menu/sp-menu.js";
5
- import "@spectrum-web-components/menu/sp-menu-item.js";
6
- import "@spectrum-web-components/menu/sp-menu-divider.js";
7
- import { testActionMenu } from "./";
8
- testActionMenu("async");
9
- //# sourceMappingURL=action-menu.test.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["action-menu.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/action-menu/sp-action-menu.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-settings.js';\nimport '@spectrum-web-components/menu/sp-menu.js';\nimport '@spectrum-web-components/menu/sp-menu-item.js';\nimport '@spectrum-web-components/menu/sp-menu-divider.js';\n\nimport { testActionMenu } from './';\n\ntestActionMenu('async');\n"],
5
- "mappings": ";AAYA,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AAEP,SAAS,sBAAsB;AAE/B,eAAe,OAAO;",
6
- "names": []
7
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- import "@spectrum-web-components/action-menu/sp-action-menu.js";
3
- import "@spectrum-web-components/menu/sp-menu-item.js";
4
- import "@spectrum-web-components/menu/sp-menu-divider.js";
5
- import { html } from "lit";
6
- import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
7
- measureFixtureCreation(html`
8
- <sp-action-menu>
9
- <span slot="label">
10
- Select a Country with a very long label, too long in fact
11
- </span>
12
- <sp-menu-item>Deselect</sp-menu-item>
13
- <sp-menu-item>Select Inverse</sp-menu-item>
14
- <sp-menu-item>Feather...</sp-menu-item>
15
- <sp-menu-item>Select and Mask...</sp-menu-item>
16
- <sp-menu-divider></sp-menu-divider>
17
- <sp-menu-item>Save Selection</sp-menu-item>
18
- <sp-menu-item disabled>Make Work Path</sp-menu-item>
19
- </sp-action-menu>
20
- `);
21
- //# sourceMappingURL=test-basic.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["test-basic.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*/\nimport '@spectrum-web-components/action-menu/sp-action-menu.js';\nimport '@spectrum-web-components/menu/sp-menu-item.js';\nimport '@spectrum-web-components/menu/sp-menu-divider.js';\nimport { html } from 'lit';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\n\nmeasureFixtureCreation(html`\n <sp-action-menu>\n <span slot=\"label\">\n Select a Country with a very long label, too long in fact\n </span>\n <sp-menu-item>Deselect</sp-menu-item>\n <sp-menu-item>Select Inverse</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-action-menu>\n`);\n"],
5
- "mappings": ";AAWA,OAAO;AACP,OAAO;AACP,OAAO;AACP,SAAS,YAAY;AACrB,SAAS,8BAA8B;AAEvC,uBAAuB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAatB;",
6
- "names": []
7
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- import "@spectrum-web-components/action-menu/sp-action-menu.js";
3
- import { html } from "@spectrum-web-components/base";
4
- import { slottableRequest } from "@spectrum-web-components/overlay/src/slottable-request-directive.js";
5
- import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
6
- const renderOptions = () => {
7
- import("@spectrum-web-components/menu/sp-menu-item.js");
8
- import("@spectrum-web-components/menu/sp-menu-divider.js");
9
- return html`
10
- <sp-menu-item>Deselect</sp-menu-item>
11
- <sp-menu-item>Select Inverse</sp-menu-item>
12
- <sp-menu-item>Feather...</sp-menu-item>
13
- <sp-menu-item>Select and Mask...</sp-menu-item>
14
- <sp-menu-divider></sp-menu-divider>
15
- <sp-menu-item>Save Selection</sp-menu-item>
16
- <sp-menu-item disabled>Make Work Path</sp-menu-item>
17
- `;
18
- };
19
- measureFixtureCreation(html`
20
- <sp-action-menu ${slottableRequest(renderOptions)}>
21
- <span slot="label">
22
- Select a Country with a very long label, too long in fact
23
- </span>
24
- </sp-action-menu>
25
- `);
26
- //# sourceMappingURL=test-directive.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["test-directive.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*/\nimport '@spectrum-web-components/action-menu/sp-action-menu.js';\nimport { html, TemplateResult } from '@spectrum-web-components/base';\nimport { slottableRequest } from '@spectrum-web-components/overlay/src/slottable-request-directive.js';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\n\nconst renderOptions = (): TemplateResult => {\n import('@spectrum-web-components/menu/sp-menu-item.js');\n import('@spectrum-web-components/menu/sp-menu-divider.js');\n return html`\n <sp-menu-item>Deselect</sp-menu-item>\n <sp-menu-item>Select Inverse</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 `;\n};\n\nmeasureFixtureCreation(html`\n <sp-action-menu ${slottableRequest(renderOptions)}>\n <span slot=\"label\">\n Select a Country with a very long label, too long in fact\n </span>\n </sp-action-menu>\n`);\n"],
5
- "mappings": ";AAWA,OAAO;AACP,SAAS,YAA4B;AACrC,SAAS,wBAAwB;AACjC,SAAS,8BAA8B;AAEvC,MAAM,gBAAgB,MAAsB;AACxC,SAAO,+CAA+C;AACtD,SAAO,kDAAkD;AACzD,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASX;AAEA,uBAAuB;AAAA,sBACD,iBAAiB,aAAa,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,CAKpD;",
6
- "names": []
7
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- import "@spectrum-web-components/action-menu/sp-action-menu.js";
3
- import { html, render } from "@spectrum-web-components/base";
4
- import {
5
- removeSlottableRequest
6
- } from "@spectrum-web-components/overlay/src/slottable-request-event.js";
7
- import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
8
- const handleSlottableRequest = (event) => {
9
- import("@spectrum-web-components/menu/sp-menu-item.js");
10
- import("@spectrum-web-components/menu/sp-menu-divider.js");
11
- const label = html`
12
- <span slot="label">
13
- Select a Country with a very long label, too long in fact
14
- </span>
15
- `;
16
- const template = event.data === removeSlottableRequest ? label : html`
17
- ${label}
18
- <sp-menu-item>Deselect</sp-menu-item>
19
- <sp-menu-item>Select Inverse</sp-menu-item>
20
- <sp-menu-item>Feather...</sp-menu-item>
21
- <sp-menu-item>Select and Mask...</sp-menu-item>
22
- <sp-menu-divider></sp-menu-divider>
23
- <sp-menu-item>Save Selection</sp-menu-item>
24
- <sp-menu-item disabled>Make Work Path</sp-menu-item>
25
- `;
26
- render(template, event.target);
27
- };
28
- measureFixtureCreation(html`
29
- <sp-action-menu @slottable-request=${handleSlottableRequest}>
30
- <span slot="label">
31
- Select a Country with a very long label, too long in fact
32
- </span>
33
- </sp-action-menu>
34
- `);
35
- //# sourceMappingURL=test-lazy.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["test-lazy.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*/\nimport '@spectrum-web-components/action-menu/sp-action-menu.js';\nimport { html, render } from '@spectrum-web-components/base';\nimport {\n removeSlottableRequest,\n type SlottableRequestEvent,\n} from '@spectrum-web-components/overlay/src/slottable-request-event.js';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\n\nconst handleSlottableRequest = (event: SlottableRequestEvent): void => {\n import('@spectrum-web-components/menu/sp-menu-item.js');\n import('@spectrum-web-components/menu/sp-menu-divider.js');\n const label = html`\n <span slot=\"label\">\n Select a Country with a very long label, too long in fact\n </span>\n `;\n const template =\n event.data === removeSlottableRequest\n ? label\n : html`\n ${label}\n <sp-menu-item>Deselect</sp-menu-item>\n <sp-menu-item>Select Inverse</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 `;\n render(template, event.target as HTMLElement);\n};\n\nmeasureFixtureCreation(html`\n <sp-action-menu @slottable-request=${handleSlottableRequest}>\n <span slot=\"label\">\n Select a Country with a very long label, too long in fact\n </span>\n </sp-action-menu>\n`);\n"],
5
- "mappings": ";AAWA,OAAO;AACP,SAAS,MAAM,cAAc;AAC7B;AAAA,EACI;AAAA,OAEG;AACP,SAAS,8BAA8B;AAEvC,MAAM,yBAAyB,CAAC,UAAuC;AACnE,SAAO,+CAA+C;AACtD,SAAO,kDAAkD;AACzD,QAAM,QAAQ;AAAA;AAAA;AAAA;AAAA;AAKd,QAAM,WACF,MAAM,SAAS,yBACT,QACA;AAAA,oBACM,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASrB,SAAO,UAAU,MAAM,MAAqB;AAChD;AAEA,uBAAuB;AAAA,yCACkB,sBAAsB;AAAA;AAAA;AAAA;AAAA;AAAA,CAK9D;",
6
- "names": []
7
- }
@@ -1,67 +0,0 @@
1
- "use strict";
2
- import "@spectrum-web-components/action-menu/sp-action-menu.js";
3
- import { slottableRequest } from "@spectrum-web-components/overlay/src/slottable-request-directive.js";
4
- import { html } from "lit";
5
- import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
6
- const renderOptions = () => {
7
- import("@spectrum-web-components/menu/sp-menu-item.js");
8
- import("@spectrum-web-components/menu/sp-menu-divider.js");
9
- return html`
10
- <sp-menu-item>Deselect</sp-menu-item>
11
- <sp-menu-item>Select Inverse</sp-menu-item>
12
- <sp-menu-item>Feather...</sp-menu-item>
13
- <sp-menu-item>Select and Mask...</sp-menu-item>
14
- <sp-menu-divider></sp-menu-divider>
15
- <sp-menu-item>Save Selection</sp-menu-item>
16
- <sp-menu-item disabled>Make Work Path</sp-menu-item>
17
- `;
18
- };
19
- class ActionMenuWorkflow extends HTMLElement {
20
- constructor() {
21
- super();
22
- this.count = 0;
23
- this.readyPromise = Promise.resolve(false);
24
- this.readyPromise = new Promise((res) => {
25
- this.ready = res;
26
- this.setup();
27
- });
28
- }
29
- async setup() {
30
- this.target = this.nextElementSibling;
31
- const childPromises = [];
32
- [...this.target.children].forEach((child) => {
33
- if ("updateComplete" in child) {
34
- childPromises.push(child.updateComplete);
35
- }
36
- });
37
- await Promise.all([this.target.updateComplete, ...childPromises]);
38
- this.target.addEventListener("sp-opened", () => {
39
- requestAnimationFrame(() => this.target.open = false);
40
- });
41
- this.target.addEventListener("sp-closed", () => {
42
- this.count += 1;
43
- if (this.count >= 5) {
44
- this.ready(true);
45
- return;
46
- }
47
- requestAnimationFrame(() => this.target.open = true);
48
- });
49
- requestAnimationFrame(() => this.target.open = true);
50
- }
51
- get updateComplete() {
52
- return this.readyPromise;
53
- }
54
- }
55
- customElements.define("action-menu-workflow", ActionMenuWorkflow);
56
- measureFixtureCreation(
57
- html`
58
- <action-menu-workflow></action-menu-workflow>
59
- <sp-action-menu ${slottableRequest(renderOptions)}>
60
- <span slot="label">
61
- Select a Country with a very long label, too long in fact
62
- </span>
63
- </sp-action-menu>
64
- `,
65
- { numRenders: 1 }
66
- );
67
- //# sourceMappingURL=test-open-close-directive.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["test-open-close-directive.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/action-menu/sp-action-menu.js';\nimport type { ActionMenu } from '@spectrum-web-components/action-menu';\nimport { slottableRequest } from '@spectrum-web-components/overlay/src/slottable-request-directive.js';\nimport { html, TemplateResult } from 'lit';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\nimport { SpectrumElement } from '@spectrum-web-components/base';\n\nconst renderOptions = (): TemplateResult => {\n import('@spectrum-web-components/menu/sp-menu-item.js');\n import('@spectrum-web-components/menu/sp-menu-divider.js');\n return html`\n <sp-menu-item>Deselect</sp-menu-item>\n <sp-menu-item>Select Inverse</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 `;\n};\n\nclass ActionMenuWorkflow extends HTMLElement {\n ready!: (value: boolean | PromiseLike<boolean>) => void;\n target!: ActionMenu;\n count = 0;\n\n constructor() {\n super();\n this.readyPromise = new Promise((res) => {\n this.ready = res;\n this.setup();\n });\n }\n\n async setup(): Promise<void> {\n this.target = this.nextElementSibling as ActionMenu;\n const childPromises = [] as Promise<boolean>[];\n [...this.target.children].forEach((child) => {\n if ('updateComplete' in child) {\n childPromises.push((child as SpectrumElement).updateComplete);\n }\n });\n await Promise.all([this.target.updateComplete, ...childPromises]);\n this.target.addEventListener('sp-opened', () => {\n requestAnimationFrame(() => (this.target.open = false));\n });\n this.target.addEventListener('sp-closed', () => {\n this.count += 1;\n if (this.count >= 5) {\n this.ready(true);\n return;\n }\n requestAnimationFrame(() => (this.target.open = true));\n });\n requestAnimationFrame(() => (this.target.open = true));\n }\n\n private readyPromise: Promise<boolean> = Promise.resolve(false);\n\n get updateComplete(): Promise<boolean> {\n return this.readyPromise;\n }\n}\n\ncustomElements.define('action-menu-workflow', ActionMenuWorkflow);\n\nmeasureFixtureCreation(\n html`\n <action-menu-workflow></action-menu-workflow>\n <sp-action-menu ${slottableRequest(renderOptions)}>\n <span slot=\"label\">\n Select a Country with a very long label, too long in fact\n </span>\n </sp-action-menu>\n `,\n { numRenders: 1 }\n);\n"],
5
- "mappings": ";AAYA,OAAO;AAE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;AAAA;AAAA;AAAA,EAMrD,EAAE,YAAY,EAAE;AACpB;",
6
- "names": []
7
- }
@@ -1,62 +0,0 @@
1
- "use strict";
2
- import "@spectrum-web-components/action-menu/sp-action-menu.js";
3
- import "@spectrum-web-components/menu/sp-menu-item.js";
4
- import "@spectrum-web-components/menu/sp-menu-divider.js";
5
- import { html } from "lit";
6
- import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
7
- class ActionMenuWorkflow extends HTMLElement {
8
- constructor() {
9
- super();
10
- this.count = 0;
11
- this.readyPromise = Promise.resolve(false);
12
- this.readyPromise = new Promise((res) => {
13
- this.ready = res;
14
- this.setup();
15
- });
16
- }
17
- async setup() {
18
- this.target = this.nextElementSibling;
19
- const childPromises = [];
20
- [...this.target.children].forEach((child) => {
21
- if ("updateComplete" in child) {
22
- childPromises.push(child.updateComplete);
23
- }
24
- });
25
- await Promise.all([this.target.updateComplete, ...childPromises]);
26
- this.target.addEventListener("sp-opened", () => {
27
- requestAnimationFrame(() => this.target.open = false);
28
- });
29
- this.target.addEventListener("sp-closed", () => {
30
- this.count += 1;
31
- if (this.count >= 5) {
32
- this.ready(true);
33
- return;
34
- }
35
- requestAnimationFrame(() => this.target.open = true);
36
- });
37
- requestAnimationFrame(() => this.target.open = true);
38
- }
39
- get updateComplete() {
40
- return this.readyPromise;
41
- }
42
- }
43
- customElements.define("action-menu-workflow", ActionMenuWorkflow);
44
- measureFixtureCreation(
45
- html`
46
- <action-menu-workflow></action-menu-workflow>
47
- <sp-action-menu>
48
- <span slot="label">
49
- Select a Country with a very long label, too long in fact
50
- </span>
51
- <sp-menu-item>Deselect</sp-menu-item>
52
- <sp-menu-item>Select Inverse</sp-menu-item>
53
- <sp-menu-item>Feather...</sp-menu-item>
54
- <sp-menu-item>Select and Mask...</sp-menu-item>
55
- <sp-menu-divider></sp-menu-divider>
56
- <sp-menu-item>Save Selection</sp-menu-item>
57
- <sp-menu-item disabled>Make Work Path</sp-menu-item>
58
- </sp-action-menu>
59
- `,
60
- { numRenders: 1 }
61
- );
62
- //# sourceMappingURL=test-open-close.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["test-open-close.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/action-menu/sp-action-menu.js';\nimport type { ActionMenu } from '@spectrum-web-components/action-menu';\nimport '@spectrum-web-components/menu/sp-menu-item.js';\nimport '@spectrum-web-components/menu/sp-menu-divider.js';\nimport { html } from 'lit';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\nimport { SpectrumElement } from '@spectrum-web-components/base';\n\nclass ActionMenuWorkflow extends HTMLElement {\n ready!: (value: boolean | PromiseLike<boolean>) => void;\n target!: ActionMenu;\n count = 0;\n\n constructor() {\n super();\n this.readyPromise = new Promise((res) => {\n this.ready = res;\n this.setup();\n });\n }\n\n async setup(): Promise<void> {\n this.target = this.nextElementSibling as ActionMenu;\n const childPromises = [] as Promise<boolean>[];\n [...this.target.children].forEach((child) => {\n if ('updateComplete' in child) {\n childPromises.push((child as SpectrumElement).updateComplete);\n }\n });\n await Promise.all([this.target.updateComplete, ...childPromises]);\n this.target.addEventListener('sp-opened', () => {\n requestAnimationFrame(() => (this.target.open = false));\n });\n this.target.addEventListener('sp-closed', () => {\n this.count += 1;\n if (this.count >= 5) {\n this.ready(true);\n return;\n }\n requestAnimationFrame(() => (this.target.open = true));\n });\n requestAnimationFrame(() => (this.target.open = true));\n }\n\n private readyPromise: Promise<boolean> = Promise.resolve(false);\n\n get updateComplete(): Promise<boolean> {\n return this.readyPromise;\n }\n}\n\ncustomElements.define('action-menu-workflow', ActionMenuWorkflow);\n\nmeasureFixtureCreation(\n html`\n <action-menu-workflow></action-menu-workflow>\n <sp-action-menu>\n <span slot=\"label\">\n Select a Country with a very long label, too long in fact\n </span>\n <sp-menu-item>Deselect</sp-menu-item>\n <sp-menu-item>Select Inverse</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-action-menu>\n `,\n { numRenders: 1 }\n);\n"],
5
- "mappings": ";AAYA,OAAO;AAEP,OAAO;AACP,OAAO;AACP,SAAS,YAAY;AACrB,SAAS,8BAA8B;AAGvC,MAAM,2BAA2B,YAAY;AAAA,EAKzC,cAAc;AACV,UAAM;AAHV,iBAAQ;AAiCR,SAAQ,eAAiC,QAAQ,QAAQ,KAAK;AA7B1D,SAAK,eAAe,IAAI,QAAQ,CAAC,QAAQ;AACrC,WAAK,QAAQ;AACb,WAAK,MAAM;AAAA,IACf,CAAC;AAAA,EACL;AAAA,EAEA,MAAM,QAAuB;AACzB,SAAK,SAAS,KAAK;AACnB,UAAM,gBAAgB,CAAC;AACvB,KAAC,GAAG,KAAK,OAAO,QAAQ,EAAE,QAAQ,CAAC,UAAU;AACzC,UAAI,oBAAoB,OAAO;AAC3B,sBAAc,KAAM,MAA0B,cAAc;AAAA,MAChE;AAAA,IACJ,CAAC;AACD,UAAM,QAAQ,IAAI,CAAC,KAAK,OAAO,gBAAgB,GAAG,aAAa,CAAC;AAChE,SAAK,OAAO,iBAAiB,aAAa,MAAM;AAC5C,4BAAsB,MAAO,KAAK,OAAO,OAAO,KAAM;AAAA,IAC1D,CAAC;AACD,SAAK,OAAO,iBAAiB,aAAa,MAAM;AAC5C,WAAK,SAAS;AACd,UAAI,KAAK,SAAS,GAAG;AACjB,aAAK,MAAM,I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