@spectrum-web-components/progress-bar 1.9.0 → 1.9.1-nightly.20251028221318
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.
- package/CHANGELOG.md +535 -0
- package/package.json +75 -75
- package/src/ProgressBar.d.ts +3 -3
- package/src/progress-bar-overrides.css.dev.js.map +2 -2
- package/src/progress-bar-overrides.css.js.map +2 -2
- package/src/progress-bar.css.dev.js.map +2 -2
- package/src/progress-bar.css.js.map +2 -2
- package/src/spectrum-progress-bar.css.dev.js.map +2 -2
- package/src/spectrum-progress-bar.css.js.map +2 -2
- package/stories/progress-bar-sizes.stories.js +44 -0
- package/stories/progress-bar-sizes.stories.js.map +7 -0
- package/stories/progress-bar.stories.js +109 -0
- package/stories/progress-bar.stories.js.map +7 -0
- package/test/benchmark/basic-test.js +8 -0
- package/{sp-progress-bar.dev.js.map → test/benchmark/basic-test.js.map} +3 -3
- package/test/progress-bar-memory.test.js +8 -0
- package/{sp-progress-bar.js.map → test/progress-bar-memory.test.js.map} +4 -4
- package/test/progress-bar-sizes.test-vrt.js +5 -0
- package/test/progress-bar-sizes.test-vrt.js.map +7 -0
- package/test/progress-bar.test-vrt.js +5 -0
- package/test/progress-bar.test-vrt.js.map +7 -0
- package/test/progress-bar.test.js +245 -0
- package/test/progress-bar.test.js.map +7 -0
- package/custom-elements.json +0 -203
- package/sp-progress-bar.d.ts +0 -17
- package/sp-progress-bar.dev.js +0 -5
- package/sp-progress-bar.js +0 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["progress-bar-sizes.test-vrt.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport * as stories from '../stories/progress-bar-sizes.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\nimport type { TestsType } from '../../../test/visual/test.js';\n\nregressVisuals('ProgressBarSizesStories', stories as unknown as TestsType);\n"],
|
|
5
|
+
"mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAG/B,eAAe,2BAA2B,OAA+B;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["progress-bar.test-vrt.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport * as stories from '../stories/progress-bar.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\nimport type { TestsType } from '../../../test/visual/test.js';\n\nregressVisuals('ProgressBarStories', stories as unknown as TestsType);\n"],
|
|
5
|
+
"mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAG/B,eAAe,sBAAsB,OAA+B;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
|
|
3
|
+
import "@spectrum-web-components/progress-bar/sp-progress-bar.js";
|
|
4
|
+
import { stub } from "sinon";
|
|
5
|
+
import { testForLitDevWarnings } from "../../../test/testing-helpers.js";
|
|
6
|
+
import { createLanguageContext } from "../../../tools/reactive-controllers/test/helpers.js";
|
|
7
|
+
describe("ProgressBar", () => {
|
|
8
|
+
testForLitDevWarnings(
|
|
9
|
+
async () => await fixture(html`
|
|
10
|
+
<sp-progress-bar label="Loading"></sp-progress-bar>
|
|
11
|
+
`)
|
|
12
|
+
);
|
|
13
|
+
it("loads default progress-bar accessibly", async () => {
|
|
14
|
+
const el = await fixture(html`
|
|
15
|
+
<sp-progress-bar label="Loading"></sp-progress-bar>
|
|
16
|
+
`);
|
|
17
|
+
await elementUpdated(el);
|
|
18
|
+
expect(el).to.not.be.undefined;
|
|
19
|
+
await expect(el).to.be.accessible();
|
|
20
|
+
});
|
|
21
|
+
it("accepts label from `slot`", async () => {
|
|
22
|
+
const el = await fixture(html`
|
|
23
|
+
<sp-progress-bar role="progressbar">
|
|
24
|
+
Label From Slot
|
|
25
|
+
</sp-progress-bar>
|
|
26
|
+
`);
|
|
27
|
+
await elementUpdated(el);
|
|
28
|
+
expect(el.getAttribute("label")).to.equal("Label From Slot");
|
|
29
|
+
});
|
|
30
|
+
it("handles label attribute changes", async () => {
|
|
31
|
+
const el = await fixture(html`
|
|
32
|
+
<sp-progress-bar label="label" indeterminate>
|
|
33
|
+
content
|
|
34
|
+
</sp-progress-bar>
|
|
35
|
+
`);
|
|
36
|
+
await elementUpdated(el);
|
|
37
|
+
el.setAttribute("label", "");
|
|
38
|
+
await elementUpdated(el);
|
|
39
|
+
expect(el.getAttribute("label")).to.equal("");
|
|
40
|
+
el.setAttribute("label", "label1");
|
|
41
|
+
await elementUpdated(el);
|
|
42
|
+
expect(el.getAttribute("label")).to.equal("label1");
|
|
43
|
+
});
|
|
44
|
+
it("renders label when content is absent", async () => {
|
|
45
|
+
const el = await fixture(html`
|
|
46
|
+
<sp-progress-bar label="myLabel" indeterminate></sp-progress-bar>
|
|
47
|
+
`);
|
|
48
|
+
expect(el.getAttribute("label")).to.equal("myLabel");
|
|
49
|
+
});
|
|
50
|
+
it("renders nothing when both content and label is absent", async () => {
|
|
51
|
+
var _a;
|
|
52
|
+
const el = await fixture(html`
|
|
53
|
+
<sp-progress-bar></sp-progress-bar>
|
|
54
|
+
`);
|
|
55
|
+
expect(el.getAttribute("label")).to.equal("");
|
|
56
|
+
expect((_a = el.shadowRoot.textContent) == null ? void 0 : _a.trim()).to.equal("");
|
|
57
|
+
});
|
|
58
|
+
it("accepts a changing progress", async () => {
|
|
59
|
+
const el = await fixture(html`
|
|
60
|
+
<sp-progress-bar label="Changing value"></sp-progress-bar>
|
|
61
|
+
`);
|
|
62
|
+
await elementUpdated(el);
|
|
63
|
+
expect(el.hasAttribute("aria-valuenow")).to.be.true;
|
|
64
|
+
expect(el.getAttribute("aria-valuenow")).to.equal("0");
|
|
65
|
+
el.progress = 50;
|
|
66
|
+
await elementUpdated(el);
|
|
67
|
+
expect(el.hasAttribute("aria-valuenow")).to.be.true;
|
|
68
|
+
expect(el.getAttribute("aria-valuenow")).to.equal("50");
|
|
69
|
+
el.progress = 100;
|
|
70
|
+
await elementUpdated(el);
|
|
71
|
+
expect(el.hasAttribute("aria-valuenow")).to.be.true;
|
|
72
|
+
expect(el.getAttribute("aria-valuenow")).to.equal("100");
|
|
73
|
+
});
|
|
74
|
+
it("loads - [indeterminate]", async () => {
|
|
75
|
+
const el = await fixture(html`
|
|
76
|
+
<sp-progress-bar indeterminate label="Loading"></sp-progress-bar>
|
|
77
|
+
`);
|
|
78
|
+
await elementUpdated(el);
|
|
79
|
+
expect(el).to.not.be.undefined;
|
|
80
|
+
await expect(el).to.be.accessible();
|
|
81
|
+
});
|
|
82
|
+
it("accepts user `role`", async () => {
|
|
83
|
+
const el = await fixture(html`
|
|
84
|
+
<sp-progress-bar
|
|
85
|
+
role="progressbar"
|
|
86
|
+
label="With user role"
|
|
87
|
+
></sp-progress-bar>
|
|
88
|
+
`);
|
|
89
|
+
await elementUpdated(el);
|
|
90
|
+
expect(el.getAttribute("role")).to.equal("progressbar");
|
|
91
|
+
});
|
|
92
|
+
it("returns to indeterminate", async () => {
|
|
93
|
+
const el = await fixture(html`
|
|
94
|
+
<sp-progress-bar
|
|
95
|
+
progress="50"
|
|
96
|
+
label="Sometimes indeterminate"
|
|
97
|
+
></sp-progress-bar>
|
|
98
|
+
`);
|
|
99
|
+
await elementUpdated(el);
|
|
100
|
+
expect(el.hasAttribute("aria-valuenow")).to.be.true;
|
|
101
|
+
expect(el.getAttribute("aria-valuenow")).to.equal("50");
|
|
102
|
+
el.indeterminate = true;
|
|
103
|
+
await elementUpdated(el);
|
|
104
|
+
expect(el.hasAttribute("aria-valuenow")).to.be.false;
|
|
105
|
+
});
|
|
106
|
+
describe("dev mode", () => {
|
|
107
|
+
let consoleWarnStub;
|
|
108
|
+
before(() => {
|
|
109
|
+
window.__swc.verbose = true;
|
|
110
|
+
consoleWarnStub = stub(console, "warn");
|
|
111
|
+
});
|
|
112
|
+
afterEach(() => {
|
|
113
|
+
consoleWarnStub.resetHistory();
|
|
114
|
+
});
|
|
115
|
+
after(() => {
|
|
116
|
+
window.__swc.verbose = false;
|
|
117
|
+
consoleWarnStub.restore();
|
|
118
|
+
});
|
|
119
|
+
it("warns in Dev Mode when accessible attributes are not leveraged", async () => {
|
|
120
|
+
const el = await fixture(html`
|
|
121
|
+
<sp-progress-bar progress="50"></sp-progress-bar>
|
|
122
|
+
`);
|
|
123
|
+
await elementUpdated(el);
|
|
124
|
+
const spyCall = consoleWarnStub.getCall(0);
|
|
125
|
+
expect(
|
|
126
|
+
spyCall.args.at(0).includes("accessible"),
|
|
127
|
+
"confirm accessibility-centric message"
|
|
128
|
+
).to.be.true;
|
|
129
|
+
expect(spyCall.args.at(-1), "confirm `data` shape").to.deep.equal({
|
|
130
|
+
data: {
|
|
131
|
+
localName: "sp-progress-bar",
|
|
132
|
+
type: "accessibility",
|
|
133
|
+
level: "default"
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
it("resolves a language (en-US)", async () => {
|
|
138
|
+
var _a;
|
|
139
|
+
const [languageContext] = createLanguageContext("en-US");
|
|
140
|
+
const test = await fixture(html`
|
|
141
|
+
<div @sp-language-context=${languageContext}>
|
|
142
|
+
<sp-progress-bar
|
|
143
|
+
label="Changing Value"
|
|
144
|
+
progress="45"
|
|
145
|
+
></sp-progress-bar>
|
|
146
|
+
</div>
|
|
147
|
+
`);
|
|
148
|
+
const el = test.querySelector("sp-progress-bar");
|
|
149
|
+
const percentage = el.shadowRoot.querySelector(
|
|
150
|
+
".percentage"
|
|
151
|
+
);
|
|
152
|
+
expect((_a = percentage.textContent) == null ? void 0 : _a.search("%")).to.not.equal(-1);
|
|
153
|
+
});
|
|
154
|
+
it("resolves a language (ar-sa)", async () => {
|
|
155
|
+
var _a;
|
|
156
|
+
const [languageContext] = createLanguageContext("ar-sa");
|
|
157
|
+
const test = await fixture(html`
|
|
158
|
+
<div @sp-language-context=${languageContext}>
|
|
159
|
+
<sp-progress-bar
|
|
160
|
+
label="Changing Value"
|
|
161
|
+
progress="45"
|
|
162
|
+
></sp-progress-bar>
|
|
163
|
+
</div>
|
|
164
|
+
`);
|
|
165
|
+
const el = test.querySelector("sp-progress-bar");
|
|
166
|
+
const percentage = el.shadowRoot.querySelector(
|
|
167
|
+
".percentage"
|
|
168
|
+
);
|
|
169
|
+
expect((_a = percentage.textContent) == null ? void 0 : _a.search("\u066A")).to.not.equal(-1);
|
|
170
|
+
});
|
|
171
|
+
it("accepts `aria-label`", async () => {
|
|
172
|
+
const el = await fixture(html`
|
|
173
|
+
<sp-progress-bar aria-label="Loading"></sp-progress-bar>
|
|
174
|
+
`);
|
|
175
|
+
await elementUpdated(el);
|
|
176
|
+
expect(el.hasAttribute("aria-label")).to.be.true;
|
|
177
|
+
expect(el.getAttribute("aria-label")).to.equal("Loading");
|
|
178
|
+
});
|
|
179
|
+
it("sets `aria-label` to equal `label` if `label` is set", async () => {
|
|
180
|
+
const el = await fixture(html`
|
|
181
|
+
<sp-progress-bar label="Loading"></sp-progress-bar>
|
|
182
|
+
`);
|
|
183
|
+
await elementUpdated(el);
|
|
184
|
+
expect(el.hasAttribute("aria-label")).to.be.true;
|
|
185
|
+
expect(el.getAttribute("aria-label")).to.equal("Loading");
|
|
186
|
+
});
|
|
187
|
+
it("does not remove `aria-label` if set independently of `label`", async () => {
|
|
188
|
+
const el = await fixture(html`
|
|
189
|
+
<sp-progress-bar
|
|
190
|
+
label=""
|
|
191
|
+
aria-label="Loading"
|
|
192
|
+
></sp-progress-bar>
|
|
193
|
+
`);
|
|
194
|
+
await elementUpdated(el);
|
|
195
|
+
expect(el.hasAttribute("aria-label")).to.be.true;
|
|
196
|
+
expect(el.getAttribute("aria-label")).to.equal("Loading");
|
|
197
|
+
});
|
|
198
|
+
it("warns in devMode for deprecated usage of over-background", async () => {
|
|
199
|
+
const el = await fixture(html`
|
|
200
|
+
<sp-progress-bar
|
|
201
|
+
progress="50"
|
|
202
|
+
over-background
|
|
203
|
+
label="Loading"
|
|
204
|
+
></sp-progress-bar>
|
|
205
|
+
`);
|
|
206
|
+
await elementUpdated(el);
|
|
207
|
+
expect(
|
|
208
|
+
consoleWarnStub.called,
|
|
209
|
+
"confirm deprecated over-background warning"
|
|
210
|
+
).to.be.true;
|
|
211
|
+
const spyCall = consoleWarnStub.getCall(0);
|
|
212
|
+
expect(
|
|
213
|
+
spyCall.args.at(0).includes("deprecated"),
|
|
214
|
+
"confirm deprecated over-background warning"
|
|
215
|
+
).to.be.true;
|
|
216
|
+
expect(spyCall.args.at(-1), "confirm `data` shape").to.deep.equal({
|
|
217
|
+
data: {
|
|
218
|
+
localName: "sp-progress-bar",
|
|
219
|
+
type: "api",
|
|
220
|
+
level: "deprecation"
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
it("warns in Dev Mode when accessible attributes are not leveraged", async () => {
|
|
225
|
+
const el = await fixture(html`
|
|
226
|
+
<sp-progress-bar progress="50"></sp-progress-bar>
|
|
227
|
+
`);
|
|
228
|
+
await elementUpdated(el);
|
|
229
|
+
expect(consoleWarnStub.called).to.be.true;
|
|
230
|
+
const spyCall = consoleWarnStub.getCall(0);
|
|
231
|
+
expect(
|
|
232
|
+
spyCall.args.at(0).includes("accessible"),
|
|
233
|
+
"confirm accessibility-centric message"
|
|
234
|
+
).to.be.true;
|
|
235
|
+
expect(spyCall.args.at(-1), "confirm `data` shape").to.deep.equal({
|
|
236
|
+
data: {
|
|
237
|
+
localName: "sp-progress-bar",
|
|
238
|
+
type: "accessibility",
|
|
239
|
+
level: "default"
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
//# sourceMappingURL=progress-bar.test.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["progress-bar.test.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Copyright 2025 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { elementUpdated, expect, fixture, html } from '@open-wc/testing';\n\nimport '@spectrum-web-components/progress-bar/sp-progress-bar.js';\nimport { ProgressBar } from '@spectrum-web-components/progress-bar';\nimport { stub } from 'sinon';\nimport { testForLitDevWarnings } from '../../../test/testing-helpers.js';\nimport { createLanguageContext } from '../../../tools/reactive-controllers/test/helpers.js';\n\ndescribe('ProgressBar', () => {\n testForLitDevWarnings(\n async () =>\n await fixture<ProgressBar>(html`\n <sp-progress-bar label=\"Loading\"></sp-progress-bar>\n `)\n );\n it('loads default progress-bar accessibly', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar label=\"Loading\"></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n expect(el).to.not.be.undefined;\n\n await expect(el).to.be.accessible();\n });\n\n it('accepts label from `slot`', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar role=\"progressbar\">\n Label From Slot\n </sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n expect(el.getAttribute('label')).to.equal('Label From Slot');\n });\n\n it('handles label attribute changes', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar label=\"label\" indeterminate>\n content\n </sp-progress-bar>\n `);\n\n await elementUpdated(el);\n el.setAttribute('label', '');\n await elementUpdated(el);\n\n expect(el.getAttribute('label')).to.equal('');\n el.setAttribute('label', 'label1');\n await elementUpdated(el);\n expect(el.getAttribute('label')).to.equal('label1');\n });\n\n it('renders label when content is absent', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar label=\"myLabel\" indeterminate></sp-progress-bar>\n `);\n expect(el.getAttribute('label')).to.equal('myLabel');\n });\n\n it('renders nothing when both content and label is absent', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar></sp-progress-bar>\n `);\n\n expect(el.getAttribute('label')).to.equal('');\n expect(el.shadowRoot.textContent?.trim()).to.equal('');\n });\n\n it('accepts a changing progress', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar label=\"Changing value\"></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n expect(el.hasAttribute('aria-valuenow')).to.be.true;\n expect(el.getAttribute('aria-valuenow')).to.equal('0');\n\n el.progress = 50;\n\n await elementUpdated(el);\n\n expect(el.hasAttribute('aria-valuenow')).to.be.true;\n expect(el.getAttribute('aria-valuenow')).to.equal('50');\n\n el.progress = 100;\n\n await elementUpdated(el);\n\n expect(el.hasAttribute('aria-valuenow')).to.be.true;\n expect(el.getAttribute('aria-valuenow')).to.equal('100');\n });\n it('loads - [indeterminate]', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar indeterminate label=\"Loading\"></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n expect(el).to.not.be.undefined;\n\n await expect(el).to.be.accessible();\n });\n it('accepts user `role`', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar\n role=\"progressbar\"\n label=\"With user role\"\n ></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n expect(el.getAttribute('role')).to.equal('progressbar');\n });\n it('returns to indeterminate', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar\n progress=\"50\"\n label=\"Sometimes indeterminate\"\n ></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n expect(el.hasAttribute('aria-valuenow')).to.be.true;\n expect(el.getAttribute('aria-valuenow')).to.equal('50');\n\n el.indeterminate = true;\n\n await elementUpdated(el);\n\n expect(el.hasAttribute('aria-valuenow')).to.be.false;\n });\n\n describe('dev mode', () => {\n let consoleWarnStub!: ReturnType<typeof stub>;\n before(() => {\n window.__swc.verbose = true;\n consoleWarnStub = stub(console, 'warn');\n });\n afterEach(() => {\n consoleWarnStub.resetHistory();\n });\n after(() => {\n window.__swc.verbose = false;\n consoleWarnStub.restore();\n });\n\n it('warns in Dev Mode when accessible attributes are not leveraged', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar progress=\"50\"></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n const spyCall = consoleWarnStub.getCall(0);\n expect(\n (spyCall.args.at(0) as string).includes('accessible'),\n 'confirm accessibility-centric message'\n ).to.be.true;\n expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({\n data: {\n localName: 'sp-progress-bar',\n type: 'accessibility',\n level: 'default',\n },\n });\n });\n it('resolves a language (en-US)', async () => {\n const [languageContext] = createLanguageContext('en-US');\n const test = await fixture(html`\n <div @sp-language-context=${languageContext}>\n <sp-progress-bar\n label=\"Changing Value\"\n progress=\"45\"\n ></sp-progress-bar>\n </div>\n `);\n const el = test.querySelector('sp-progress-bar') as ProgressBar;\n const percentage = el.shadowRoot.querySelector(\n '.percentage'\n ) as HTMLElement;\n expect(percentage.textContent?.search('%')).to.not.equal(-1);\n });\n\n it('resolves a language (ar-sa)', async () => {\n const [languageContext] = createLanguageContext('ar-sa');\n const test = await fixture(html`\n <div @sp-language-context=${languageContext}>\n <sp-progress-bar\n label=\"Changing Value\"\n progress=\"45\"\n ></sp-progress-bar>\n </div>\n `);\n const el = test.querySelector('sp-progress-bar') as ProgressBar;\n const percentage = el.shadowRoot.querySelector(\n '.percentage'\n ) as HTMLElement;\n expect(percentage.textContent?.search('\u066A')).to.not.equal(-1);\n });\n\n it('accepts `aria-label`', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar aria-label=\"Loading\"></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n expect(el.hasAttribute('aria-label')).to.be.true;\n expect(el.getAttribute('aria-label')).to.equal('Loading');\n });\n it('sets `aria-label` to equal `label` if `label` is set', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar label=\"Loading\"></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n expect(el.hasAttribute('aria-label')).to.be.true;\n expect(el.getAttribute('aria-label')).to.equal('Loading');\n });\n it('does not remove `aria-label` if set independently of `label`', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar\n label=\"\"\n aria-label=\"Loading\"\n ></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n expect(el.hasAttribute('aria-label')).to.be.true;\n expect(el.getAttribute('aria-label')).to.equal('Loading');\n });\n it('warns in devMode for deprecated usage of over-background', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar\n progress=\"50\"\n over-background\n label=\"Loading\"\n ></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n expect(\n consoleWarnStub.called,\n 'confirm deprecated over-background warning'\n ).to.be.true;\n\n const spyCall = consoleWarnStub.getCall(0);\n expect(\n (spyCall.args.at(0) as string).includes('deprecated'),\n 'confirm deprecated over-background warning'\n ).to.be.true;\n expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({\n data: {\n localName: 'sp-progress-bar',\n type: 'api',\n level: 'deprecation',\n },\n });\n });\n it('warns in Dev Mode when accessible attributes are not leveraged', async () => {\n const el = await fixture<ProgressBar>(html`\n <sp-progress-bar progress=\"50\"></sp-progress-bar>\n `);\n\n await elementUpdated(el);\n\n expect(consoleWarnStub.called).to.be.true;\n const spyCall = consoleWarnStub.getCall(0);\n expect(\n (spyCall.args.at(0) as string).includes('accessible'),\n 'confirm accessibility-centric message'\n ).to.be.true;\n expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({\n data: {\n localName: 'sp-progress-bar',\n type: 'accessibility',\n level: 'default',\n },\n });\n });\n });\n});\n"],
|
|
5
|
+
"mappings": ";AAYA,SAAS,gBAAgB,QAAQ,SAAS,YAAY;AAEtD,OAAO;AAEP,SAAS,YAAY;AACrB,SAAS,6BAA6B;AACtC,SAAS,6BAA6B;AAEtC,SAAS,eAAe,MAAM;AAC1B;AAAA,IACI,YACI,MAAM,QAAqB;AAAA;AAAA,aAE1B;AAAA,EACT;AACA,KAAG,yCAAyC,YAAY;AACpD,UAAM,KAAK,MAAM,QAAqB;AAAA;AAAA,SAErC;AAED,UAAM,eAAe,EAAE;AACvB,WAAO,EAAE,EAAE,GAAG,IAAI,GAAG;AAErB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AAED,KAAG,6BAA6B,YAAY;AACxC,UAAM,KAAK,MAAM,QAAqB;AAAA;AAAA;AAAA;AAAA,SAIrC;AAED,UAAM,eAAe,EAAE;AAEvB,WAAO,GAAG,aAAa,OAAO,CAAC,EAAE,GAAG,MAAM,iBAAiB;AAAA,EAC/D,CAAC;AAED,KAAG,mCAAmC,YAAY;AAC9C,UAAM,KAAK,MAAM,QAAqB;AAAA;AAAA;AAAA;AAAA,SAIrC;AAED,UAAM,eAAe,EAAE;AACvB,OAAG,aAAa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AAE,GAAG,KAAK,MAAM;AAAA,QAC9D,MAAM;AAAA,UACF,WAAW;AAAA,UACX,MAAM;AAAA,UACN,OAAO;AAAA,QACX;AAAA,MACJ,CAAC;AAAA,IACL,CAAC;AAAA,EACL,CAAC;AACL,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/custom-elements.json
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "1.0.0",
|
|
3
|
-
"readme": "",
|
|
4
|
-
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "sp-progress-bar.js",
|
|
8
|
-
"declarations": [],
|
|
9
|
-
"exports": [
|
|
10
|
-
{
|
|
11
|
-
"kind": "custom-element-definition",
|
|
12
|
-
"name": "sp-progress-bar",
|
|
13
|
-
"declaration": {
|
|
14
|
-
"name": "ProgressBar",
|
|
15
|
-
"module": "/src/ProgressBar.js"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"kind": "javascript-module",
|
|
22
|
-
"path": "src/ProgressBar.js",
|
|
23
|
-
"declarations": [
|
|
24
|
-
{
|
|
25
|
-
"kind": "class",
|
|
26
|
-
"description": "",
|
|
27
|
-
"name": "ProgressBar",
|
|
28
|
-
"members": [
|
|
29
|
-
{
|
|
30
|
-
"kind": "field",
|
|
31
|
-
"name": "indeterminate",
|
|
32
|
-
"type": {
|
|
33
|
-
"text": "boolean"
|
|
34
|
-
},
|
|
35
|
-
"privacy": "public",
|
|
36
|
-
"default": "false",
|
|
37
|
-
"attribute": "indeterminate",
|
|
38
|
-
"reflects": true
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"kind": "field",
|
|
42
|
-
"name": "label",
|
|
43
|
-
"type": {
|
|
44
|
-
"text": "string"
|
|
45
|
-
},
|
|
46
|
-
"privacy": "public",
|
|
47
|
-
"default": "''",
|
|
48
|
-
"attribute": "label",
|
|
49
|
-
"reflects": true
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"kind": "field",
|
|
53
|
-
"name": "languageResolver",
|
|
54
|
-
"privacy": "private",
|
|
55
|
-
"default": "new LanguageResolutionController(this)"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"kind": "field",
|
|
59
|
-
"name": "overBackground",
|
|
60
|
-
"type": {
|
|
61
|
-
"text": "string"
|
|
62
|
-
},
|
|
63
|
-
"privacy": "public",
|
|
64
|
-
"attribute": "over-background"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"kind": "field",
|
|
68
|
-
"name": "_overBackground",
|
|
69
|
-
"type": {
|
|
70
|
-
"text": "boolean"
|
|
71
|
-
},
|
|
72
|
-
"privacy": "private",
|
|
73
|
-
"default": "false"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"kind": "field",
|
|
77
|
-
"name": "sideLabel",
|
|
78
|
-
"type": {
|
|
79
|
-
"text": "boolean"
|
|
80
|
-
},
|
|
81
|
-
"privacy": "public",
|
|
82
|
-
"default": "false",
|
|
83
|
-
"attribute": "side-label",
|
|
84
|
-
"reflects": true
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"kind": "field",
|
|
88
|
-
"name": "progress",
|
|
89
|
-
"type": {
|
|
90
|
-
"text": "number"
|
|
91
|
-
},
|
|
92
|
-
"privacy": "public",
|
|
93
|
-
"default": "0",
|
|
94
|
-
"attribute": "progress"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"kind": "field",
|
|
98
|
-
"name": "staticColor",
|
|
99
|
-
"type": {
|
|
100
|
-
"text": "'white' | undefined"
|
|
101
|
-
},
|
|
102
|
-
"privacy": "public",
|
|
103
|
-
"attribute": "static-color",
|
|
104
|
-
"reflects": true
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"kind": "field",
|
|
108
|
-
"name": "slotEl",
|
|
109
|
-
"type": {
|
|
110
|
-
"text": "HTMLSlotElement"
|
|
111
|
-
},
|
|
112
|
-
"privacy": "private"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"kind": "method",
|
|
116
|
-
"name": "handleSlotchange",
|
|
117
|
-
"privacy": "protected",
|
|
118
|
-
"return": {
|
|
119
|
-
"type": {
|
|
120
|
-
"text": "void"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"attributes": [
|
|
126
|
-
{
|
|
127
|
-
"name": "indeterminate",
|
|
128
|
-
"type": {
|
|
129
|
-
"text": "boolean"
|
|
130
|
-
},
|
|
131
|
-
"default": "false",
|
|
132
|
-
"fieldName": "indeterminate"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"name": "label",
|
|
136
|
-
"type": {
|
|
137
|
-
"text": "string"
|
|
138
|
-
},
|
|
139
|
-
"default": "''",
|
|
140
|
-
"fieldName": "label"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "over-background",
|
|
144
|
-
"type": {
|
|
145
|
-
"text": "string"
|
|
146
|
-
},
|
|
147
|
-
"fieldName": "overBackground"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "side-label",
|
|
151
|
-
"type": {
|
|
152
|
-
"text": "boolean"
|
|
153
|
-
},
|
|
154
|
-
"default": "false",
|
|
155
|
-
"fieldName": "sideLabel"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "progress",
|
|
159
|
-
"type": {
|
|
160
|
-
"text": "number"
|
|
161
|
-
},
|
|
162
|
-
"default": "0",
|
|
163
|
-
"fieldName": "progress"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "static-color",
|
|
167
|
-
"type": {
|
|
168
|
-
"text": "'white' | undefined"
|
|
169
|
-
},
|
|
170
|
-
"fieldName": "staticColor"
|
|
171
|
-
}
|
|
172
|
-
],
|
|
173
|
-
"mixins": [
|
|
174
|
-
{
|
|
175
|
-
"name": "SizedMixin",
|
|
176
|
-
"package": "@spectrum-web-components/base"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "ObserveSlotText",
|
|
180
|
-
"package": "@spectrum-web-components/shared/src/observe-slot-text.js"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"superclass": {
|
|
184
|
-
"name": "SpectrumElement",
|
|
185
|
-
"package": "@spectrum-web-components/base"
|
|
186
|
-
},
|
|
187
|
-
"tagName": "sp-progress-bar",
|
|
188
|
-
"customElement": true
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"exports": [
|
|
192
|
-
{
|
|
193
|
-
"kind": "js",
|
|
194
|
-
"name": "ProgressBar",
|
|
195
|
-
"declaration": {
|
|
196
|
-
"name": "ProgressBar",
|
|
197
|
-
"module": "src/ProgressBar.js"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
]
|
|
201
|
-
}
|
|
202
|
-
]
|
|
203
|
-
}
|
package/sp-progress-bar.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 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 { ProgressBar } from './src/ProgressBar.js';
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
'sp-progress-bar': ProgressBar;
|
|
16
|
-
}
|
|
17
|
-
}
|
package/sp-progress-bar.dev.js
DELETED
package/sp-progress-bar.js
DELETED