@spectrum-web-components/accordion 0.42.4 → 0.43.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.
@@ -1,271 +0,0 @@
1
- "use strict";
2
- import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
3
- import "@spectrum-web-components/accordion/sp-accordion.js";
4
- import { Default } from "../stories/accordion.stories.js";
5
- import { Accordion, AccordionItem } from "@spectrum-web-components/accordion";
6
- import { sendKeys } from "@web/test-runner-commands";
7
- import { spy } from "sinon";
8
- import { AccordionMarkup } from "../stories/index.js";
9
- import { testForLitDevWarnings } from "../../../test/testing-helpers.js";
10
- describe("Accordion", () => {
11
- testForLitDevWarnings(async () => await fixture(Default()));
12
- it("renders with items accessibly", async () => {
13
- const el = await fixture(Default());
14
- await elementUpdated(el);
15
- await expect(el).to.be.accessible();
16
- });
17
- it("does not accept focus when empty", async () => {
18
- const el = await fixture(
19
- html`
20
- <sp-accordion></sp-accordion>
21
- `
22
- );
23
- await elementUpdated(el);
24
- expect(document.activeElement === el).to.be.false;
25
- el.focus();
26
- await elementUpdated(el);
27
- expect(document.activeElement === el).to.be.false;
28
- });
29
- it("manages item size", async () => {
30
- const el = await fixture(
31
- AccordionMarkup({
32
- size: "l"
33
- })
34
- );
35
- const item = el.querySelector("sp-accordion-item");
36
- expect(el.size).to.equal("l");
37
- expect(item.size).to.equal("l");
38
- el.size = "s";
39
- await elementUpdated(el);
40
- await elementUpdated(item);
41
- expect(el.size).to.equal("s");
42
- expect(item.size).to.equal("s");
43
- });
44
- it("does not accept keyboard events when items are not present", async () => {
45
- const errorSpy = spy();
46
- const el = await fixture(
47
- html`
48
- <sp-accordion>
49
- <sp-accordion-item disabled label="Heading 2">
50
- <div>Item 2</div>
51
- </sp-accordion-item>
52
- </sp-accordion>
53
- `
54
- );
55
- await elementUpdated(el);
56
- const item = el.querySelector("sp-accordion-item");
57
- window.addEventListener("error", () => errorSpy());
58
- el.focus();
59
- item.remove();
60
- await elementUpdated(el);
61
- el.dispatchEvent(
62
- new KeyboardEvent("keydown", {
63
- code: "ArrowDown"
64
- })
65
- );
66
- expect(errorSpy.callCount).to.equal(0);
67
- });
68
- it("does not accept focus when all children [disabled]", async () => {
69
- const el = await fixture(
70
- html`
71
- <sp-accordion>
72
- <sp-accordion-item disabled label="Heading 1">
73
- <div>Item 1</div>
74
- </sp-accordion-item>
75
- <sp-accordion-item disabled label="Heading 2">
76
- <div>Item 2</div>
77
- </sp-accordion-item>
78
- </sp-accordion>
79
- `
80
- );
81
- await elementUpdated(el);
82
- expect(document.activeElement === el).to.be.false;
83
- el.focus();
84
- await elementUpdated(el);
85
- expect(document.activeElement === el).to.be.false;
86
- });
87
- it("only allows one open item by default", async () => {
88
- const el = await fixture(Default());
89
- await elementUpdated(el);
90
- const firstItem = el.querySelector(
91
- "sp-accordion-item:nth-of-type(1)"
92
- );
93
- const secondItem = el.querySelector(
94
- "sp-accordion-item:nth-of-type(2)"
95
- );
96
- const firstButton = firstItem.focusElement;
97
- const secondButton = secondItem.focusElement;
98
- firstButton.click();
99
- await elementUpdated(el);
100
- let openItems = el.querySelectorAll("sp-accordion-item[open]");
101
- expect(openItems.length).to.equal(1);
102
- secondButton.click();
103
- await elementUpdated(el);
104
- openItems = el.querySelectorAll("sp-accordion-item[open]");
105
- expect(openItems.length).to.equal(1);
106
- });
107
- it("can have `toggle` events canceled", async () => {
108
- const el = await fixture(Default());
109
- await elementUpdated(el);
110
- const firstItem = el.querySelector(
111
- "sp-accordion-item:nth-of-type(1)"
112
- );
113
- const secondItem = el.querySelector(
114
- "sp-accordion-item:nth-of-type(2)"
115
- );
116
- const firstButton = firstItem.focusElement;
117
- const secondButton = secondItem.focusElement;
118
- firstButton.click();
119
- await elementUpdated(el);
120
- expect(firstItem.open).to.be.true;
121
- expect(secondItem.open).to.be.false;
122
- el.addEventListener(
123
- "sp-accordion-item-toggle",
124
- (event) => event.preventDefault()
125
- );
126
- secondButton.click();
127
- await elementUpdated(el);
128
- expect(firstItem.open).to.be.true;
129
- expect(secondItem.open).to.be.false;
130
- });
131
- it("allows more than one open item when `[allow-multiple]`", async () => {
132
- const el = await fixture(Default());
133
- el.allowMultiple = true;
134
- await elementUpdated(el);
135
- const firstItem = el.querySelector(
136
- "sp-accordion-item:nth-of-type(1)"
137
- );
138
- const secondItem = el.querySelector(
139
- "sp-accordion-item:nth-of-type(2)"
140
- );
141
- const firstButton = firstItem.focusElement;
142
- const secondButton = secondItem.focusElement;
143
- firstButton.click();
144
- await elementUpdated(el);
145
- expect(firstItem.open).to.be.true;
146
- expect(secondItem.open).to.be.false;
147
- secondButton.click();
148
- await elementUpdated(el);
149
- expect(firstItem.open).to.be.true;
150
- expect(secondItem.open).to.be.true;
151
- });
152
- it("ensures that the correct item is open and that items can be closed", async () => {
153
- const el = await fixture(Default());
154
- await elementUpdated(el);
155
- const firstItem = el.querySelector(
156
- "sp-accordion-item:nth-of-type(1)"
157
- );
158
- const secondItem = el.querySelector(
159
- "sp-accordion-item:nth-of-type(2)"
160
- );
161
- const firstButton = firstItem.focusElement;
162
- const secondButton = secondItem.focusElement;
163
- firstButton.click();
164
- await elementUpdated(el);
165
- expect(firstItem.open).to.be.true;
166
- expect(secondItem.open).to.be.false;
167
- secondButton.click();
168
- await elementUpdated(el);
169
- expect(firstItem.open).to.be.false;
170
- expect(secondItem.open).to.be.true;
171
- secondButton.click();
172
- await elementUpdated(el);
173
- expect(firstItem.open).to.be.false;
174
- expect(secondItem.open).to.be.false;
175
- });
176
- it("ensures that the correct item is open and that items can be closed when [allow-multiple]", async () => {
177
- const el = await fixture(Default());
178
- el.allowMultiple = true;
179
- await elementUpdated(el);
180
- const firstItem = el.querySelector(
181
- "sp-accordion-item:nth-of-type(1)"
182
- );
183
- const secondItem = el.querySelector(
184
- "sp-accordion-item:nth-of-type(2)"
185
- );
186
- const firstButton = firstItem.focusElement;
187
- const secondButton = secondItem.focusElement;
188
- firstButton.click();
189
- await elementUpdated(el);
190
- expect(firstItem.open).to.be.true;
191
- expect(secondItem.open).to.be.false;
192
- secondButton.click();
193
- await elementUpdated(el);
194
- expect(firstItem.open).to.be.true;
195
- expect(secondItem.open).to.be.true;
196
- secondButton.click();
197
- await elementUpdated(el);
198
- expect(firstItem.open).to.be.true;
199
- expect(secondItem.open).to.be.false;
200
- });
201
- it("handles focus and keyboard input and ignores disabled items", async () => {
202
- const el = await fixture(
203
- html`
204
- <sp-accordion allow-multiple>
205
- <sp-accordion-item disabled label="Heading 1">
206
- <div>Item 1</div>
207
- </sp-accordion-item>
208
- <sp-accordion-item label="Heading 2">
209
- <div>Item 2</div>
210
- </sp-accordion-item>
211
- <sp-accordion-item label="Heading 3">
212
- <div>Item 3</div>
213
- </sp-accordion-item>
214
- <sp-accordion-item label="Heading 4">
215
- <div>Item 4</div>
216
- </sp-accordion-item>
217
- <sp-accordion-item label="Heading 5">
218
- <div>Item 5</div>
219
- </sp-accordion-item>
220
- <sp-accordion-item disabled label="Heading 6">
221
- <div>Item 6</div>
222
- </sp-accordion-item>
223
- </sp-accordion>
224
- `
225
- );
226
- await elementUpdated(el);
227
- const secondItem = el.querySelector(
228
- "sp-accordion-item:nth-of-type(2)"
229
- );
230
- const thirdItem = el.querySelector(
231
- "sp-accordion-item:nth-of-type(3)"
232
- );
233
- const fourthItem = el.querySelector(
234
- "sp-accordion-item:nth-of-type(4)"
235
- );
236
- const isSafari = /^((?!chrome|android).)*safari/i.test(
237
- navigator.userAgent
238
- );
239
- const tab = isSafari ? "Alt+Tab" : "Tab";
240
- const shiftTab = isSafari ? "Alt+Shift+Tab" : "Shift+Tab";
241
- el.focus();
242
- await elementUpdated(el);
243
- expect(document.activeElement === secondItem).to.be.true;
244
- await sendKeys({
245
- press: tab
246
- });
247
- expect(document.activeElement === thirdItem).to.be.true;
248
- await sendKeys({
249
- press: tab
250
- });
251
- expect(document.activeElement === fourthItem).to.be.true;
252
- await sendKeys({
253
- press: shiftTab
254
- });
255
- await sendKeys({
256
- press: shiftTab
257
- });
258
- expect(document.activeElement === secondItem).to.be.true;
259
- document.body.focus();
260
- el.focus();
261
- expect(document.activeElement === secondItem).to.be.true;
262
- await sendKeys({
263
- press: shiftTab
264
- });
265
- await elementUpdated(el);
266
- const outsideFocused = document.activeElement;
267
- expect(typeof outsideFocused).not.to.equal(AccordionItem);
268
- expect(typeof outsideFocused).not.to.equal(Accordion);
269
- });
270
- });
271
- //# sourceMappingURL=accordion.test.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["accordion.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/accordion/sp-accordion.js';\nimport { Default } from '../stories/accordion.stories.js';\nimport { Accordion, AccordionItem } from '@spectrum-web-components/accordion';\nimport { sendKeys } from '@web/test-runner-commands';\nimport { spy } from 'sinon';\nimport { AccordionMarkup } from '../stories/index.js';\nimport { testForLitDevWarnings } from '../../../test/testing-helpers.js';\n\ndescribe('Accordion', () => {\n testForLitDevWarnings(async () => await fixture<Accordion>(Default()));\n it('renders with items accessibly', async () => {\n const el = await fixture<Accordion>(Default());\n\n await elementUpdated(el);\n\n await expect(el).to.be.accessible();\n });\n it('does not accept focus when empty', async () => {\n const el = await fixture<Accordion>(\n html`\n <sp-accordion></sp-accordion>\n `\n );\n\n await elementUpdated(el);\n\n expect(document.activeElement === el).to.be.false;\n\n el.focus();\n await elementUpdated(el);\n\n expect(document.activeElement === el).to.be.false;\n });\n it('manages item size', async () => {\n const el = await fixture<Accordion>(\n AccordionMarkup({\n size: 'l',\n })\n );\n const item = el.querySelector('sp-accordion-item') as AccordionItem;\n expect(el.size).to.equal('l');\n expect(item.size).to.equal('l');\n\n el.size = 's';\n await elementUpdated(el);\n await elementUpdated(item);\n expect(el.size).to.equal('s');\n expect(item.size).to.equal('s');\n });\n it('does not accept keyboard events when items are not present', async () => {\n const errorSpy = spy();\n const el = await fixture<Accordion>(\n html`\n <sp-accordion>\n <sp-accordion-item disabled label=\"Heading 2\">\n <div>Item 2</div>\n </sp-accordion-item>\n </sp-accordion>\n `\n );\n\n await elementUpdated(el);\n const item = el.querySelector('sp-accordion-item') as AccordionItem;\n window.addEventListener('error', () => errorSpy());\n\n el.focus();\n item.remove();\n await elementUpdated(el);\n el.dispatchEvent(\n new KeyboardEvent('keydown', {\n code: 'ArrowDown',\n })\n );\n\n expect(errorSpy.callCount).to.equal(0);\n });\n it('does not accept focus when all children [disabled]', async () => {\n const el = await fixture<Accordion>(\n html`\n <sp-accordion>\n <sp-accordion-item disabled label=\"Heading 1\">\n <div>Item 1</div>\n </sp-accordion-item>\n <sp-accordion-item disabled label=\"Heading 2\">\n <div>Item 2</div>\n </sp-accordion-item>\n </sp-accordion>\n `\n );\n\n await elementUpdated(el);\n\n expect(document.activeElement === el).to.be.false;\n\n el.focus();\n await elementUpdated(el);\n\n expect(document.activeElement === el).to.be.false;\n });\n it('only allows one open item by default', async () => {\n const el = await fixture<Accordion>(Default());\n await elementUpdated(el);\n const firstItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(1)'\n ) as AccordionItem;\n const secondItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(2)'\n ) as AccordionItem;\n\n const firstButton = firstItem.focusElement;\n const secondButton = secondItem.focusElement;\n\n firstButton.click();\n await elementUpdated(el);\n let openItems = el.querySelectorAll('sp-accordion-item[open]');\n expect(openItems.length).to.equal(1);\n\n secondButton.click();\n await elementUpdated(el);\n openItems = el.querySelectorAll('sp-accordion-item[open]');\n expect(openItems.length).to.equal(1);\n });\n it('can have `toggle` events canceled', async () => {\n const el = await fixture<Accordion>(Default());\n await elementUpdated(el);\n const firstItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(1)'\n ) as AccordionItem;\n const secondItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(2)'\n ) as AccordionItem;\n\n const firstButton = firstItem.focusElement;\n const secondButton = secondItem.focusElement;\n\n firstButton.click();\n await elementUpdated(el);\n expect(firstItem.open).to.be.true;\n expect(secondItem.open).to.be.false;\n\n el.addEventListener('sp-accordion-item-toggle', (event: Event) =>\n event.preventDefault()\n );\n\n secondButton.click();\n await elementUpdated(el);\n expect(firstItem.open).to.be.true;\n expect(secondItem.open).to.be.false;\n });\n it('allows more than one open item when `[allow-multiple]`', async () => {\n const el = await fixture<Accordion>(Default());\n el.allowMultiple = true;\n await elementUpdated(el);\n\n const firstItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(1)'\n ) as AccordionItem;\n const secondItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(2)'\n ) as AccordionItem;\n\n const firstButton = firstItem.focusElement;\n const secondButton = secondItem.focusElement;\n\n firstButton.click();\n await elementUpdated(el);\n\n expect(firstItem.open).to.be.true;\n expect(secondItem.open).to.be.false;\n\n secondButton.click();\n await elementUpdated(el);\n\n expect(firstItem.open).to.be.true;\n expect(secondItem.open).to.be.true;\n });\n it('ensures that the correct item is open and that items can be closed', async () => {\n const el = await fixture<Accordion>(Default());\n\n await elementUpdated(el);\n const firstItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(1)'\n ) as AccordionItem;\n const secondItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(2)'\n ) as AccordionItem;\n\n const firstButton = firstItem.focusElement;\n const secondButton = secondItem.focusElement;\n\n firstButton.click();\n await elementUpdated(el);\n expect(firstItem.open).to.be.true;\n expect(secondItem.open).to.be.false;\n\n secondButton.click();\n await elementUpdated(el);\n expect(firstItem.open).to.be.false;\n expect(secondItem.open).to.be.true;\n\n secondButton.click();\n await elementUpdated(el);\n expect(firstItem.open).to.be.false;\n expect(secondItem.open).to.be.false;\n });\n\n it('ensures that the correct item is open and that items can be closed when [allow-multiple]', async () => {\n const el = await fixture<Accordion>(Default());\n el.allowMultiple = true;\n await elementUpdated(el);\n\n const firstItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(1)'\n ) as AccordionItem;\n const secondItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(2)'\n ) as AccordionItem;\n\n const firstButton = firstItem.focusElement;\n const secondButton = secondItem.focusElement;\n\n firstButton.click();\n await elementUpdated(el);\n\n expect(firstItem.open).to.be.true;\n expect(secondItem.open).to.be.false;\n\n secondButton.click();\n await elementUpdated(el);\n\n expect(firstItem.open).to.be.true;\n expect(secondItem.open).to.be.true;\n\n secondButton.click();\n await elementUpdated(el);\n\n expect(firstItem.open).to.be.true;\n expect(secondItem.open).to.be.false;\n });\n it('handles focus and keyboard input and ignores disabled items', async () => {\n const el = await fixture<Accordion>(\n html`\n <sp-accordion allow-multiple>\n <sp-accordion-item disabled label=\"Heading 1\">\n <div>Item 1</div>\n </sp-accordion-item>\n <sp-accordion-item label=\"Heading 2\">\n <div>Item 2</div>\n </sp-accordion-item>\n <sp-accordion-item label=\"Heading 3\">\n <div>Item 3</div>\n </sp-accordion-item>\n <sp-accordion-item label=\"Heading 4\">\n <div>Item 4</div>\n </sp-accordion-item>\n <sp-accordion-item label=\"Heading 5\">\n <div>Item 5</div>\n </sp-accordion-item>\n <sp-accordion-item disabled label=\"Heading 6\">\n <div>Item 6</div>\n </sp-accordion-item>\n </sp-accordion>\n `\n );\n\n await elementUpdated(el);\n\n const secondItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(2)'\n ) as AccordionItem;\n const thirdItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(3)'\n ) as AccordionItem;\n const fourthItem = el.querySelector(\n 'sp-accordion-item:nth-of-type(4)'\n ) as AccordionItem;\n const isSafari = /^((?!chrome|android).)*safari/i.test(\n navigator.userAgent\n );\n const tab = isSafari ? 'Alt+Tab' : 'Tab';\n const shiftTab = isSafari ? 'Alt+Shift+Tab' : 'Shift+Tab';\n\n el.focus();\n\n await elementUpdated(el);\n expect(document.activeElement === secondItem).to.be.true;\n\n await sendKeys({\n press: tab,\n });\n\n expect(document.activeElement === thirdItem).to.be.true;\n\n await sendKeys({\n press: tab,\n });\n\n expect(document.activeElement === fourthItem).to.be.true;\n\n await sendKeys({\n press: shiftTab,\n });\n await sendKeys({\n press: shiftTab,\n });\n\n expect(document.activeElement === secondItem).to.be.true;\n\n document.body.focus();\n\n el.focus();\n expect(document.activeElement === secondItem).to.be.true;\n\n await sendKeys({\n press: shiftTab,\n });\n await elementUpdated(el);\n\n const outsideFocused = document.activeElement as HTMLElement;\n\n expect(typeof outsideFocused).not.to.equal(AccordionItem);\n expect(typeof outsideFocused).not.to.equal(Accordion);\n });\n});\n"],
5
- "mappings": ";AAYA,SAAS,gBAAgB,QAAQ,SAAS,YAAY;AAEtD,OAAO;AACP,SAAS,eAAe;AACxB,SAAS,WAAW,qBAAqB;AACzC,SAAS,gBAAgB;AACzB,SAAS,WAAW;AACpB,SAAS,uBAAuB;AAChC,SAAS,6BAA6B;AAEtC,SAAS,aAAa,MAAM;AACxB,wBAAsB,YAAY,MAAM,QAAmB,QAAQ,CAAC,CAAC;AACrE,KAAG,iCAAiC,YAAY;AAC5C,UAAM,KAAK,MAAM,QAAmB,QAAQ,CAAC;AAE7C,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACD,KAAG,oCAAoC,YAAY;AAC/C,UAAM,KAAK,MAAM;AAAA,MACb;AAAA;AAAA;AAAA,IAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,WAAO,SAAS,kBAAkB,EAAE,EAAE,GAAG,GAAG;AAE5C,OAAG,MAAM;AACT,UAAM,eAAe,EAAE;AAEvB,WAAO,SAAS,kBAAkB,EAAE,EAAE,GAA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