@spectrum-web-components/progress-circle 1.9.0 → 1.9.1-nightly.20251028214328

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,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["sp-progress-circle.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 { ProgressCircle } from './src/ProgressCircle.dev.js'\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-progress-circle', ProgressCircle);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-progress-circle': ProgressCircle;\n }\n}\n"],
5
- "mappings": ";AAYA,SAAS,sBAAsB;AAC/B,SAAS,qBAAqB;AAE9B,cAAc,sBAAsB,cAAc;",
3
+ "sources": ["basic-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 '@spectrum-web-components/progress-circle/sp-progress-circle.js';\nimport { html } from 'lit';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\n\nmeasureFixtureCreation(html`\n <sp-progress-circle indeterminate></sp-progress-circle>\n`);\n"],
5
+ "mappings": ";AAYA,OAAO;AACP,SAAS,YAAY;AACrB,SAAS,8BAA8B;AAEvC,uBAAuB;AAAA;AAAA,CAEtB;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ import { html } from "@open-wc/testing";
3
+ import "@spectrum-web-components/progress-circle/sp-progress-circle.js";
4
+ import { testForMemoryLeaks } from "../../../test/testing-helpers.js";
5
+ testForMemoryLeaks(html`
6
+ <sp-progress-circle></sp-progress-circle>
7
+ `);
8
+ //# sourceMappingURL=progress-circle-memory.test.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["sp-progress-circle.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 { ProgressCircle } from './src/ProgressCircle.js';\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-progress-circle', ProgressCircle);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-progress-circle': ProgressCircle;\n }\n}\n"],
5
- "mappings": "aAYA,OAAS,kBAAAA,MAAsB,0BAC/B,OAAS,iBAAAC,MAAqB,sDAE9BA,EAAc,qBAAsBD,CAAc",
6
- "names": ["ProgressCircle", "defineElement"]
3
+ "sources": ["progress-circle-memory.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 { html } from '@open-wc/testing';\nimport '@spectrum-web-components/progress-circle/sp-progress-circle.js';\nimport { testForMemoryLeaks } from '../../../test/testing-helpers.js';\n\ntestForMemoryLeaks(html`\n <sp-progress-circle></sp-progress-circle>\n`);\n"],
5
+ "mappings": ";AAYA,SAAS,YAAY;AACrB,OAAO;AACP,SAAS,0BAA0B;AAEnC,mBAAmB;AAAA;AAAA,CAElB;",
6
+ "names": []
7
7
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ import * as stories from "../stories/progress-circle.stories.js";
3
+ import { regressVisuals } from "../../../test/visual/test.js";
4
+ regressVisuals("ProgressCircleStories", stories);
5
+ //# sourceMappingURL=progress-circle.test-vrt.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["progress-circle.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-circle.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\nimport type { TestsType } from '../../../test/visual/test.js';\n\nregressVisuals('ProgressCircleStories', stories as unknown as TestsType);\n"],
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAG/B,eAAe,yBAAyB,OAA+B;",
6
+ "names": []
7
+ }
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
3
+ import "@spectrum-web-components/progress-circle/sp-progress-circle.js";
4
+ import { stub } from "sinon";
5
+ import { testForLitDevWarnings } from "../../../test/testing-helpers.js";
6
+ describe("ProgressCircle", () => {
7
+ testForLitDevWarnings(
8
+ async () => await fixture(html`
9
+ <sp-progress-circle label="Loading"></sp-progress-circle>
10
+ `)
11
+ );
12
+ describe("dev mode", () => {
13
+ let consoleWarnStub;
14
+ before(() => {
15
+ window.__swc.verbose = true;
16
+ consoleWarnStub = stub(console, "warn");
17
+ });
18
+ afterEach(() => {
19
+ consoleWarnStub.resetHistory();
20
+ });
21
+ after(() => {
22
+ window.__swc.verbose = false;
23
+ consoleWarnStub.restore();
24
+ });
25
+ it("warns in Dev Mode when accessible attributes are not leveraged", async () => {
26
+ const el = await fixture(html`
27
+ <sp-progress-circle progress="50"></sp-progress-circle>
28
+ `);
29
+ await elementUpdated(el);
30
+ expect(consoleWarnStub.called).to.be.true;
31
+ const spyCall = consoleWarnStub.getCall(0);
32
+ expect(
33
+ spyCall.args.at(0).includes("accessible"),
34
+ "confirm accessibility-centric message"
35
+ ).to.be.true;
36
+ expect(spyCall.args.at(-1), "confirm `data` shape").to.deep.equal({
37
+ data: {
38
+ localName: "sp-progress-circle",
39
+ type: "accessibility",
40
+ level: "default"
41
+ }
42
+ });
43
+ });
44
+ });
45
+ it("loads", async () => {
46
+ const el = await fixture(html`
47
+ <sp-progress-circle label="Loading"></sp-progress-circle>
48
+ `);
49
+ await elementUpdated(el);
50
+ expect(el).to.not.be.undefined;
51
+ await expect(el).to.be.accessible();
52
+ });
53
+ it("loads - [indeterminate]", async () => {
54
+ const el = await fixture(html`
55
+ <sp-progress-circle
56
+ indeterminate
57
+ label="Loading"
58
+ ></sp-progress-circle>
59
+ `);
60
+ await elementUpdated(el);
61
+ expect(el).to.not.be.undefined;
62
+ await expect(el).to.be.accessible();
63
+ });
64
+ it("accepts label from `slot`", async () => {
65
+ const el = await fixture(html`
66
+ <sp-progress-circle role="progressbar">
67
+ Label From Slot
68
+ </sp-progress-circle>
69
+ `);
70
+ await elementUpdated(el);
71
+ expect(el.getAttribute("aria-label")).to.equal("Label From Slot");
72
+ });
73
+ it("accepts user `role`", async () => {
74
+ const el = await fixture(html`
75
+ <sp-progress-circle
76
+ role="progressbar"
77
+ label="With user role"
78
+ ></sp-progress-circle>
79
+ `);
80
+ await elementUpdated(el);
81
+ expect(el.getAttribute("role")).to.equal("progressbar");
82
+ });
83
+ it("returns to indeterminate", async () => {
84
+ const el = await fixture(html`
85
+ <sp-progress-circle
86
+ progress="50"
87
+ label="Will be indeterminate"
88
+ ></sp-progress-circle>
89
+ `);
90
+ await elementUpdated(el);
91
+ expect(el.hasAttribute("aria-valuenow")).to.be.true;
92
+ expect(el.getAttribute("aria-valuenow")).to.equal("50");
93
+ el.indeterminate = true;
94
+ await elementUpdated(el);
95
+ expect(el.hasAttribute("aria-valuenow")).to.be.false;
96
+ });
97
+ it("accepts `aria-label`", async () => {
98
+ const el = await fixture(html`
99
+ <sp-progress-circle aria-label="Loading"></sp-progress-circle>
100
+ `);
101
+ await elementUpdated(el);
102
+ expect(el.hasAttribute("aria-label")).to.be.true;
103
+ expect(el.getAttribute("aria-label")).to.equal("Loading");
104
+ });
105
+ it("sets `aria-label` to equal `label` if `label` is set", async () => {
106
+ const el = await fixture(html`
107
+ <sp-progress-circle label="Loading"></sp-progress-circle>
108
+ `);
109
+ await elementUpdated(el);
110
+ expect(el.hasAttribute("aria-label")).to.be.true;
111
+ expect(el.getAttribute("aria-label")).to.equal("Loading");
112
+ });
113
+ it("does not remove `aria-label` if set independently of `label`", async () => {
114
+ const el = await fixture(html`
115
+ <sp-progress-circle
116
+ label=""
117
+ aria-label="Loading"
118
+ ></sp-progress-circle>
119
+ `);
120
+ await elementUpdated(el);
121
+ expect(el.hasAttribute("aria-label")).to.be.true;
122
+ expect(el.getAttribute("aria-label")).to.equal("Loading");
123
+ });
124
+ });
125
+ //# sourceMappingURL=progress-circle.test.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["progress-circle.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-circle/sp-progress-circle.js';\nimport { ProgressCircle } from '@spectrum-web-components/progress-circle';\nimport { stub } from 'sinon';\nimport { testForLitDevWarnings } from '../../../test/testing-helpers.js';\n\ndescribe('ProgressCircle', () => {\n testForLitDevWarnings(\n async () =>\n await fixture<ProgressCircle>(html`\n <sp-progress-circle label=\"Loading\"></sp-progress-circle>\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<ProgressCircle>(html`\n <sp-progress-circle progress=\"50\"></sp-progress-circle>\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-circle',\n type: 'accessibility',\n level: 'default',\n },\n });\n });\n });\n it('loads', async () => {\n const el = await fixture<ProgressCircle>(html`\n <sp-progress-circle label=\"Loading\"></sp-progress-circle>\n `);\n\n await elementUpdated(el);\n expect(el).to.not.be.undefined;\n\n await expect(el).to.be.accessible();\n });\n it('loads - [indeterminate]', async () => {\n const el = await fixture<ProgressCircle>(html`\n <sp-progress-circle\n indeterminate\n label=\"Loading\"\n ></sp-progress-circle>\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 label from `slot`', async () => {\n const el = await fixture<ProgressCircle>(html`\n <sp-progress-circle role=\"progressbar\">\n Label From Slot\n </sp-progress-circle>\n `);\n\n await elementUpdated(el);\n\n expect(el.getAttribute('aria-label')).to.equal('Label From Slot');\n });\n it('accepts user `role`', async () => {\n const el = await fixture<ProgressCircle>(html`\n <sp-progress-circle\n role=\"progressbar\"\n label=\"With user role\"\n ></sp-progress-circle>\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<ProgressCircle>(html`\n <sp-progress-circle\n progress=\"50\"\n label=\"Will be indeterminate\"\n ></sp-progress-circle>\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 it('accepts `aria-label`', async () => {\n const el = await fixture<ProgressCircle>(html`\n <sp-progress-circle aria-label=\"Loading\"></sp-progress-circle>\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<ProgressCircle>(html`\n <sp-progress-circle label=\"Loading\"></sp-progress-circle>\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<ProgressCircle>(html`\n <sp-progress-circle\n label=\"\"\n aria-label=\"Loading\"\n ></sp-progress-circle>\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});\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -1,166 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-progress-circle.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-progress-circle",
13
- "declaration": {
14
- "name": "ProgressCircle",
15
- "module": "/src/ProgressCircle.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "src/ProgressCircle.js",
23
- "declarations": [
24
- {
25
- "kind": "class",
26
- "description": "",
27
- "name": "ProgressCircle",
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
- },
50
- {
51
- "kind": "field",
52
- "name": "staticColor",
53
- "type": {
54
- "text": "'white' | undefined"
55
- },
56
- "privacy": "public",
57
- "attribute": "static-color",
58
- "reflects": true
59
- },
60
- {
61
- "kind": "field",
62
- "name": "progress",
63
- "type": {
64
- "text": "number"
65
- },
66
- "privacy": "public",
67
- "default": "0",
68
- "attribute": "progress"
69
- },
70
- {
71
- "kind": "field",
72
- "name": "slotEl",
73
- "type": {
74
- "text": "HTMLSlotElement"
75
- },
76
- "privacy": "private"
77
- },
78
- {
79
- "kind": "method",
80
- "name": "makeRotation",
81
- "privacy": "private",
82
- "return": {
83
- "type": {
84
- "text": "string | undefined"
85
- }
86
- },
87
- "parameters": [
88
- {
89
- "name": "rotation",
90
- "type": {
91
- "text": "number"
92
- }
93
- }
94
- ]
95
- },
96
- {
97
- "kind": "method",
98
- "name": "handleSlotchange",
99
- "privacy": "protected",
100
- "return": {
101
- "type": {
102
- "text": "void"
103
- }
104
- }
105
- }
106
- ],
107
- "attributes": [
108
- {
109
- "name": "indeterminate",
110
- "type": {
111
- "text": "boolean"
112
- },
113
- "default": "false",
114
- "fieldName": "indeterminate"
115
- },
116
- {
117
- "name": "label",
118
- "type": {
119
- "text": "string"
120
- },
121
- "default": "''",
122
- "fieldName": "label"
123
- },
124
- {
125
- "name": "static-color",
126
- "type": {
127
- "text": "'white' | undefined"
128
- },
129
- "fieldName": "staticColor"
130
- },
131
- {
132
- "name": "progress",
133
- "type": {
134
- "text": "number"
135
- },
136
- "default": "0",
137
- "fieldName": "progress"
138
- }
139
- ],
140
- "mixins": [
141
- {
142
- "name": "SizedMixin",
143
- "package": "@spectrum-web-components/base"
144
- }
145
- ],
146
- "superclass": {
147
- "name": "SpectrumElement",
148
- "package": "@spectrum-web-components/base"
149
- },
150
- "tagName": "sp-progress-circle",
151
- "customElement": true
152
- }
153
- ],
154
- "exports": [
155
- {
156
- "kind": "js",
157
- "name": "ProgressCircle",
158
- "declaration": {
159
- "name": "ProgressCircle",
160
- "module": "src/ProgressCircle.js"
161
- }
162
- }
163
- ]
164
- }
165
- ]
166
- }
@@ -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 { ProgressCircle } from './src/ProgressCircle.js';
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- 'sp-progress-circle': ProgressCircle;
16
- }
17
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- import { ProgressCircle } from "./src/ProgressCircle.dev.js";
3
- import { defineElement } from "@spectrum-web-components/base/src/define-element.js";
4
- defineElement("sp-progress-circle", ProgressCircle);
5
- //# sourceMappingURL=sp-progress-circle.dev.js.map
@@ -1,2 +0,0 @@
1
- "use strict";import{ProgressCircle as e}from"./src/ProgressCircle.js";import{defineElement as r}from"@spectrum-web-components/base/src/define-element.js";r("sp-progress-circle",e);
2
- //# sourceMappingURL=sp-progress-circle.js.map