@spectrum-web-components/divider 1.9.1-nightly.20251028225812 → 1.9.1-nightly.20251029132910

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/package.json CHANGED
@@ -1,77 +1,77 @@
1
1
  {
2
- "name": "@spectrum-web-components/divider",
3
- "version": "1.9.1-nightly.20251028225812",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "description": "",
8
- "license": "Apache-2.0",
9
- "author": "Adobe",
10
- "homepage": "https://opensource.adobe.com/spectrum-web-components/components/divider",
11
- "repository": {
12
- "type": "git",
13
- "url": "https://github.com/adobe/spectrum-web-components.git",
14
- "directory": "1st-gen/packages/divider"
15
- },
16
- "bugs": {
17
- "url": "https://github.com/adobe/spectrum-web-components/issues"
18
- },
19
- "type": "module",
20
- "exports": {
21
- ".": {
22
- "default": "./src/index.js",
23
- "development": "./src/index.dev.js"
2
+ "name": "@spectrum-web-components/divider",
3
+ "version": "1.9.1-nightly.20251029132910",
4
+ "publishConfig": {
5
+ "access": "public"
24
6
  },
25
- "./package.json": "./package.json",
26
- "./sp-divider.js": {
27
- "default": "./sp-divider.js",
28
- "development": "./sp-divider.dev.js"
7
+ "description": "",
8
+ "license": "Apache-2.0",
9
+ "author": "Adobe",
10
+ "homepage": "https://opensource.adobe.com/spectrum-web-components/components/divider",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/adobe/spectrum-web-components.git",
14
+ "directory": "1st-gen/packages/divider"
29
15
  },
30
- "./src/Divider.js": {
31
- "default": "./src/Divider.js",
32
- "development": "./src/Divider.dev.js"
16
+ "bugs": {
17
+ "url": "https://github.com/adobe/spectrum-web-components/issues"
33
18
  },
34
- "./src/divider-overrides.css.js": "./src/divider-overrides.css.js",
35
- "./src/divider.css.js": "./src/divider.css.js",
36
- "./src/index.js": {
37
- "default": "./src/index.js",
38
- "development": "./src/index.dev.js"
39
- }
40
- },
41
- "main": "./src/index.js",
42
- "module": "./src/index.js",
43
- "files": [
44
- "**/*.d.ts",
45
- "**/*.js",
46
- "**/*.js.map",
47
- "custom-elements.json",
48
- "!stories/",
49
- "!test/"
50
- ],
51
- "scripts": {
52
- "test": "echo \"Error: run tests from mono-repo root.\" && exit 1"
53
- },
54
- "sideEffects": [
55
- "./sp-*.js",
56
- "./**/*.dev.js",
57
- "./stories/typography-decorator.js"
58
- ],
59
- "types": "./src/index.d.ts",
60
- "dependencies": {
61
- "@spectrum-web-components/base": "1.9.0",
62
- "@spectrum-web-components/core": "0.0.2-nightly.20251028225812"
63
- },
64
- "keywords": [
65
- "design-system",
66
- "spectrum",
67
- "adobe",
68
- "adobe-spectrum",
69
- "web components",
70
- "web-components",
71
- "lit-element",
72
- "lit-html",
73
- "component",
74
- "css"
75
- ],
76
- "customElements": "custom-elements.json"
77
- }
19
+ "type": "module",
20
+ "exports": {
21
+ ".": {
22
+ "default": "./src/index.js",
23
+ "development": "./src/index.dev.js"
24
+ },
25
+ "./package.json": "./package.json",
26
+ "./sp-divider.js": {
27
+ "default": "./sp-divider.js",
28
+ "development": "./sp-divider.dev.js"
29
+ },
30
+ "./src/Divider.js": {
31
+ "default": "./src/Divider.js",
32
+ "development": "./src/Divider.dev.js"
33
+ },
34
+ "./src/divider-overrides.css.js": "./src/divider-overrides.css.js",
35
+ "./src/divider.css.js": "./src/divider.css.js",
36
+ "./src/index.js": {
37
+ "default": "./src/index.js",
38
+ "development": "./src/index.dev.js"
39
+ }
40
+ },
41
+ "main": "./src/index.js",
42
+ "module": "./src/index.js",
43
+ "files": [
44
+ "**/*.d.ts",
45
+ "**/*.js",
46
+ "**/*.js.map",
47
+ "custom-elements.json",
48
+ "!stories/",
49
+ "!test/"
50
+ ],
51
+ "scripts": {
52
+ "test": "echo \"Error: run tests from mono-repo root.\" && exit 1"
53
+ },
54
+ "sideEffects": [
55
+ "./sp-*.js",
56
+ "./**/*.dev.js",
57
+ "./stories/typography-decorator.js"
58
+ ],
59
+ "types": "./src/index.d.ts",
60
+ "dependencies": {
61
+ "@spectrum-web-components/base": "1.9.1-nightly.20251029132910",
62
+ "@spectrum-web-components/core": "0.0.2-nightly.20251029132910"
63
+ },
64
+ "keywords": [
65
+ "design-system",
66
+ "spectrum",
67
+ "adobe",
68
+ "adobe-spectrum",
69
+ "web components",
70
+ "web-components",
71
+ "lit-element",
72
+ "lit-html",
73
+ "component",
74
+ "css"
75
+ ],
76
+ "customElements": "custom-elements.json"
77
+ }
package/CHANGELOG.md DELETED
@@ -1,435 +0,0 @@
1
- # Change Log
2
-
3
- ## 1.9.1-nightly.20251028225812
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies []:
8
- - @spectrum-web-components/core@0.0.2-nightly.20251028225812
9
- - @spectrum-web-components/base@1.9.1-nightly.20251028225812
10
-
11
- ## 1.9.0
12
-
13
- ### Patch Changes
14
-
15
- - Updated dependencies []:
16
- - @spectrum-web-components/base@1.9.0
17
-
18
- ## 1.8.0
19
-
20
- ### Patch Changes
21
-
22
- - [#5629](https://github.com/adobe/spectrum-web-components/pull/5629) [`826a2d5`](https://github.com/adobe/spectrum-web-components/commit/826a2d533e46a6f945daefa8999fadca78bd8688) Thanks [@rise-erpelding](https://github.com/rise-erpelding)! - **Added**: `staticColor` property to the Divider component, enabling programmatic control of the existing static color functionality.
23
-
24
- - Updated dependencies []:
25
- - @spectrum-web-components/base@1.8.0
26
-
27
- ## 1.7.0
28
-
29
- ### Patch Changes
30
-
31
- - Updated dependencies []:
32
- - @spectrum-web-components/base@1.7.0
33
-
34
- ## 1.6.0
35
-
36
- ### Patch Changes
37
-
38
- - Updated dependencies []:
39
- - @spectrum-web-components/base@1.6.0
40
-
41
- ## 1.5.0
42
-
43
- ### Patch Changes
44
-
45
- - [#5271](https://github.com/adobe/spectrum-web-components/pull/5271) [`165a904`](https://github.com/adobe/spectrum-web-components/commit/165a904bd01fddea922fe87b181bbf41281f81f0) Thanks [@renovate](https://github.com/apps/renovate)! - Remove unnecessary system theme references to reduce complexity for components that don't need the additional mapping layer.
46
-
47
- - Updated dependencies []:
48
- - @spectrum-web-components/base@1.5.0
49
-
50
- ## 1.4.0
51
-
52
- ### Patch Changes
53
-
54
- - Updated dependencies []:
55
- - @spectrum-web-components/base@1.4.0
56
-
57
- ## 1.3.0
58
-
59
- ### Patch Changes
60
-
61
- - Updated dependencies []:
62
- - @spectrum-web-components/base@1.3.0
63
-
64
- All notable changes to this project will be documented in this file.
65
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
66
-
67
- # [1.2.0](https://github.com/adobe/spectrum-web-components/compare/v1.1.2...v1.2.0) (2025-02-27)
68
-
69
- **Note:** Version bump only for package @spectrum-web-components/divider
70
-
71
- ## [1.1.2](https://github.com/adobe/spectrum-web-components/compare/v1.1.1...v1.1.2) (2025-02-12)
72
-
73
- **Note:** Version bump only for package @spectrum-web-components/divider
74
-
75
- ## [1.1.1](https://github.com/adobe/spectrum-web-components/compare/v1.1.0...v1.1.1) (2025-01-29)
76
-
77
- **Note:** Version bump only for package @spectrum-web-components/divider
78
-
79
- # [1.1.0](https://github.com/adobe/spectrum-web-components/compare/v1.0.3...v1.1.0) (2025-01-29)
80
-
81
- ### Bug Fixes
82
-
83
- - lock prerelease versions for Spectrum CSS ([#5014](https://github.com/adobe/spectrum-web-components/issues/5014)) ([8aa7734](https://github.com/adobe/spectrum-web-components/commit/8aa77342f169b75ecbd1c07a2a1050860b182822))
84
-
85
- ## [1.0.1](https://github.com/adobe/spectrum-web-components/compare/v1.0.0...v1.0.1) (2024-11-11)
86
-
87
- **Note:** Version bump only for package @spectrum-web-components/divider
88
-
89
- # [1.0.0](https://github.com/adobe/spectrum-web-components/compare/v0.49.0...v1.0.0) (2024-10-31)
90
-
91
- **Note:** Version bump only for package @spectrum-web-components/divider
92
-
93
- # [0.49.0](https://github.com/adobe/spectrum-web-components/compare/v0.48.1...v0.49.0) (2024-10-15)
94
-
95
- ### Features
96
-
97
- - add `static-color` to replace `static` ([#4808](https://github.com/adobe/spectrum-web-components/issues/4808)) ([43cf086](https://github.com/adobe/spectrum-web-components/commit/43cf0865d902346568c755650f53410c7788f2a1))
98
-
99
- ## [0.48.1](https://github.com/adobe/spectrum-web-components/compare/v0.48.0...v0.48.1) (2024-10-01)
100
-
101
- **Note:** Version bump only for package @spectrum-web-components/divider
102
-
103
- # [0.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)
104
-
105
- **Note:** Version bump only for package @spectrum-web-components/divider
106
-
107
- ## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)
108
-
109
- **Note:** Version bump only for package @spectrum-web-components/divider
110
-
111
- ## [0.47.1](https://github.com/adobe/spectrum-web-components/compare/v0.47.0...v0.47.1) (2024-08-27)
112
-
113
- **Note:** Version bump only for package @spectrum-web-components/divider
114
-
115
- # [0.47.0](https://github.com/adobe/spectrum-web-components/compare/v0.46.0...v0.47.0) (2024-08-20)
116
-
117
- **Note:** Version bump only for package @spectrum-web-components/divider
118
-
119
- # [0.46.0](https://github.com/adobe/spectrum-web-components/compare/v0.45.0...v0.46.0) (2024-08-08)
120
-
121
- **Note:** Version bump only for package @spectrum-web-components/divider
122
-
123
- # [0.45.0](https://github.com/adobe/spectrum-web-components/compare/v0.44.0...v0.45.0) (2024-07-30)
124
-
125
- **Note:** Version bump only for package @spectrum-web-components/divider
126
-
127
- # [0.44.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.44.0) (2024-07-15)
128
-
129
- **Note:** Version bump only for package @spectrum-web-components/divider
130
-
131
- # [0.43.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.43.0) (2024-06-11)
132
-
133
- **Note:** Version bump only for package @spectrum-web-components/divider
134
-
135
- ## [0.42.5](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.42.5) (2024-05-24)
136
-
137
- **Note:** Version bump only for package @spectrum-web-components/divider
138
-
139
- ## [0.42.4](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.4) (2024-05-14)
140
-
141
- **Note:** Version bump only for package @spectrum-web-components/divider
142
-
143
- ## [0.42.3](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.3) (2024-05-01)
144
-
145
- **Note:** Version bump only for package @spectrum-web-components/divider
146
-
147
- ## [0.42.2](https://github.com/adobe/spectrum-web-components/compare/v0.42.1...v0.42.2) (2024-04-03)
148
-
149
- **Note:** Version bump only for package @spectrum-web-components/divider
150
-
151
- ## [0.42.1](https://github.com/adobe/spectrum-web-components/compare/v0.42.0...v0.42.1) (2024-04-02)
152
-
153
- **Note:** Version bump only for package @spectrum-web-components/divider
154
-
155
- # [0.42.0](https://github.com/adobe/spectrum-web-components/compare/v0.41.2...v0.42.0) (2024-03-19)
156
-
157
- ### Features
158
-
159
- - **asset:** use core tokens ([99e76f4](https://github.com/adobe/spectrum-web-components/commit/99e76f4d32e990960b7fa2f0613ed4144adc4f6e))
160
-
161
- ## [0.41.2](https://github.com/adobe/spectrum-web-components/compare/v0.41.1...v0.41.2) (2024-03-05)
162
-
163
- **Note:** Version bump only for package @spectrum-web-components/divider
164
-
165
- ## [0.41.1](https://github.com/adobe/spectrum-web-components/compare/v0.41.0...v0.41.1) (2024-02-22)
166
-
167
- **Note:** Version bump only for package @spectrum-web-components/divider
168
-
169
- # [0.41.0](https://github.com/adobe/spectrum-web-components/compare/v0.40.5...v0.41.0) (2024-02-13)
170
-
171
- **Note:** Version bump only for package @spectrum-web-components/divider
172
-
173
- ## [0.40.5](https://github.com/adobe/spectrum-web-components/compare/v0.40.4...v0.40.5) (2024-02-05)
174
-
175
- **Note:** Version bump only for package @spectrum-web-components/divider
176
-
177
- ## [0.40.4](https://github.com/adobe/spectrum-web-components/compare/v0.40.3...v0.40.4) (2024-01-29)
178
-
179
- **Note:** Version bump only for package @spectrum-web-components/divider
180
-
181
- ## [0.40.3](https://github.com/adobe/spectrum-web-components/compare/v0.40.2...v0.40.3) (2024-01-11)
182
-
183
- **Note:** Version bump only for package @spectrum-web-components/divider
184
-
185
- ## [0.40.2](https://github.com/adobe/spectrum-web-components/compare/v0.40.1...v0.40.2) (2023-12-18)
186
-
187
- **Note:** Version bump only for package @spectrum-web-components/divider
188
-
189
- ## [0.40.1](https://github.com/adobe/spectrum-web-components/compare/v0.40.0...v0.40.1) (2023-12-05)
190
-
191
- **Note:** Version bump only for package @spectrum-web-components/divider
192
-
193
- # [0.40.0](https://github.com/adobe/spectrum-web-components/compare/v0.39.4...v0.40.0) (2023-11-16)
194
-
195
- **Note:** Version bump only for package @spectrum-web-components/divider
196
-
197
- ## [0.39.4](https://github.com/adobe/spectrum-web-components/compare/v0.39.3...v0.39.4) (2023-11-02)
198
-
199
- **Note:** Version bump only for package @spectrum-web-components/divider
200
-
201
- ## [0.39.3](https://github.com/adobe/spectrum-web-components/compare/v0.39.2...v0.39.3) (2023-10-18)
202
-
203
- **Note:** Version bump only for package @spectrum-web-components/divider
204
-
205
- ## [0.39.2](https://github.com/adobe/spectrum-web-components/compare/v0.39.1...v0.39.2) (2023-10-13)
206
-
207
- **Note:** Version bump only for package @spectrum-web-components/divider
208
-
209
- ## [0.39.1](https://github.com/adobe/spectrum-web-components/compare/v0.39.0...v0.39.1) (2023-10-06)
210
-
211
- **Note:** Version bump only for package @spectrum-web-components/divider
212
-
213
- # [0.39.0](https://github.com/adobe/spectrum-web-components/compare/v0.38.0...v0.39.0) (2023-09-25)
214
-
215
- **Note:** Version bump only for package @spectrum-web-components/divider
216
-
217
- # [0.38.0](https://github.com/adobe/spectrum-web-components/compare/v0.37.0...v0.38.0) (2023-09-05)
218
-
219
- **Note:** Version bump only for package @spectrum-web-components/divider
220
-
221
- # [0.37.0](https://github.com/adobe/spectrum-web-components/compare/v0.36.0...v0.37.0) (2023-08-18)
222
-
223
- **Note:** Version bump only for package @spectrum-web-components/divider
224
-
225
- # [0.36.0](https://github.com/adobe/spectrum-web-components/compare/v0.35.0...v0.36.0) (2023-08-18)
226
-
227
- **Note:** Version bump only for package @spectrum-web-components/divider
228
-
229
- # [0.35.0](https://github.com/adobe/spectrum-web-components/compare/v0.34.0...v0.35.0) (2023-07-31)
230
-
231
- **Note:** Version bump only for package @spectrum-web-components/divider
232
-
233
- # [0.34.0](https://github.com/adobe/spectrum-web-components/compare/v0.33.2...v0.34.0) (2023-07-11)
234
-
235
- **Note:** Version bump only for package @spectrum-web-components/divider
236
-
237
- ## [0.33.2](https://github.com/adobe/spectrum-web-components/compare/v0.33.1...v0.33.2) (2023-06-14)
238
-
239
- **Note:** Version bump only for package @spectrum-web-components/divider
240
-
241
- # [0.33.0](https://github.com/adobe/spectrum-web-components/compare/v0.32.0...v0.33.0) (2023-06-08)
242
-
243
- **Note:** Version bump only for package @spectrum-web-components/divider
244
-
245
- # [0.32.0](https://github.com/adobe/spectrum-web-components/compare/v0.31.0...v0.32.0) (2023-06-01)
246
-
247
- **Note:** Version bump only for package @spectrum-web-components/divider
248
-
249
- # [0.31.0](https://github.com/adobe/spectrum-web-components/compare/v0.30.0...v0.31.0) (2023-05-17)
250
-
251
- **Note:** Version bump only for package @spectrum-web-components/divider
252
-
253
- # 0.30.0 (2023-05-03)
254
-
255
- ### Bug Fixes
256
-
257
- - **divider:** update a11y semantics ([46e6a12](https://github.com/adobe/spectrum-web-components/commit/46e6a1257135389e72a09f376f6b9149573873e6))
258
- - expand sized functionality to support no default and returning to default values ([acf3cfb](https://github.com/adobe/spectrum-web-components/commit/acf3cfb000033d1ef1e22ca571cb8dbbeaadae77))
259
- - update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937))
260
-
261
- ### Features
262
-
263
- - adopt DNA@7 base Spectrum CSS ([e08cafd](https://github.com/adobe/spectrum-web-components/commit/e08cafda9f1b33b0163fbe5ba66754806be8f9e4))
264
- - **divider:** create sp-divider from sp-rule ([ec26d81](https://github.com/adobe/spectrum-web-components/commit/ec26d81bf92742a42913b8cb7f87beaba035743a))
265
- - **divider:** use core tokens ([e30c969](https://github.com/adobe/spectrum-web-components/commit/e30c969c8688ca37b5b750cd8333844d383927fb))
266
- - include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251))
267
- - shared pkg versions, devmode define warning, registry-conflicts docs ([6e49565](https://github.com/adobe/spectrum-web-components/commit/6e4956519b845fa8127f8032948b625c252ef7a6))
268
- - use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008))
269
-
270
- ## [0.6.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.8...@spectrum-web-components/divider@0.6.9) (2023-04-24)
271
-
272
- **Note:** Version bump only for package @spectrum-web-components/divider
273
-
274
- ## [0.6.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.7...@spectrum-web-components/divider@0.6.8) (2023-04-05)
275
-
276
- **Note:** Version bump only for package @spectrum-web-components/divider
277
-
278
- ## [0.6.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.6...@spectrum-web-components/divider@0.6.7) (2023-03-22)
279
-
280
- **Note:** Version bump only for package @spectrum-web-components/divider
281
-
282
- ## [0.6.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.5...@spectrum-web-components/divider@0.6.6) (2023-02-08)
283
-
284
- **Note:** Version bump only for package @spectrum-web-components/divider
285
-
286
- ## [0.6.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.4...@spectrum-web-components/divider@0.6.5) (2023-01-23)
287
-
288
- **Note:** Version bump only for package @spectrum-web-components/divider
289
-
290
- ## [0.6.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.3...@spectrum-web-components/divider@0.6.4) (2023-01-09)
291
-
292
- **Note:** Version bump only for package @spectrum-web-components/divider
293
-
294
- ## [0.6.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.2...@spectrum-web-components/divider@0.6.3) (2022-12-08)
295
-
296
- **Note:** Version bump only for package @spectrum-web-components/divider
297
-
298
- ## [0.6.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.1...@spectrum-web-components/divider@0.6.2) (2022-11-21)
299
-
300
- **Note:** Version bump only for package @spectrum-web-components/divider
301
-
302
- ## [0.6.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.6.0...@spectrum-web-components/divider@0.6.1) (2022-11-14)
303
-
304
- **Note:** Version bump only for package @spectrum-web-components/divider
305
-
306
- # [0.6.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.5.1...@spectrum-web-components/divider@0.6.0) (2022-10-28)
307
-
308
- ### Features
309
-
310
- - **divider:** use core tokens ([e30c969](https://github.com/adobe/spectrum-web-components/commit/e30c969c8688ca37b5b750cd8333844d383927fb))
311
-
312
- ## [0.5.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.5.0...@spectrum-web-components/divider@0.5.1) (2022-08-24)
313
-
314
- **Note:** Version bump only for package @spectrum-web-components/divider
315
-
316
- # [0.5.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.12...@spectrum-web-components/divider@0.5.0) (2022-08-09)
317
-
318
- ### Features
319
-
320
- - include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251))
321
-
322
- ## [0.4.12](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.11...@spectrum-web-components/divider@0.4.12) (2022-08-04)
323
-
324
- **Note:** Version bump only for package @spectrum-web-components/divider
325
-
326
- ## [0.4.11](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.10...@spectrum-web-components/divider@0.4.11) (2022-07-18)
327
-
328
- **Note:** Version bump only for package @spectrum-web-components/divider
329
-
330
- ## [0.4.10](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.9...@spectrum-web-components/divider@0.4.10) (2022-06-29)
331
-
332
- **Note:** Version bump only for package @spectrum-web-components/divider
333
-
334
- ## [0.4.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.8...@spectrum-web-components/divider@0.4.9) (2022-06-07)
335
-
336
- **Note:** Version bump only for package @spectrum-web-components/divider
337
-
338
- ## [0.4.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.7...@spectrum-web-components/divider@0.4.8) (2022-05-27)
339
-
340
- **Note:** Version bump only for package @spectrum-web-components/divider
341
-
342
- ## [0.4.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.6...@spectrum-web-components/divider@0.4.7) (2022-05-12)
343
-
344
- **Note:** Version bump only for package @spectrum-web-components/divider
345
-
346
- ## [0.4.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.5...@spectrum-web-components/divider@0.4.6) (2022-04-21)
347
-
348
- **Note:** Version bump only for package @spectrum-web-components/divider
349
-
350
- ## [0.4.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.4...@spectrum-web-components/divider@0.4.5) (2022-03-08)
351
-
352
- **Note:** Version bump only for package @spectrum-web-components/divider
353
-
354
- ## [0.4.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.3...@spectrum-web-components/divider@0.4.4) (2022-03-04)
355
-
356
- **Note:** Version bump only for package @spectrum-web-components/divider
357
-
358
- ## [0.4.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.2...@spectrum-web-components/divider@0.4.3) (2022-02-22)
359
-
360
- **Note:** Version bump only for package @spectrum-web-components/divider
361
-
362
- ## [0.4.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.1...@spectrum-web-components/divider@0.4.2) (2022-01-26)
363
-
364
- **Note:** Version bump only for package @spectrum-web-components/divider
365
-
366
- ## [0.4.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.4.0...@spectrum-web-components/divider@0.4.1) (2021-12-13)
367
-
368
- **Note:** Version bump only for package @spectrum-web-components/divider
369
-
370
- # [0.4.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.3.1...@spectrum-web-components/divider@0.4.0) (2021-11-08)
371
-
372
- **Note:** Version bump only for package @spectrum-web-components/divider
373
-
374
- ## [0.3.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.3.0...@spectrum-web-components/divider@0.3.1) (2021-11-08)
375
-
376
- **Note:** Version bump only for package @spectrum-web-components/divider
377
-
378
- # [0.3.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.8...@spectrum-web-components/divider@0.3.0) (2021-11-02)
379
-
380
- ### Features
381
-
382
- - adopt DNA@7 base Spectrum CSS ([e08cafd](https://github.com/adobe/spectrum-web-components/commit/e08cafda9f1b33b0163fbe5ba66754806be8f9e4))
383
-
384
- ## [0.2.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.7...@spectrum-web-components/divider@0.2.8) (2021-09-20)
385
-
386
- **Note:** Version bump only for package @spectrum-web-components/divider
387
-
388
- ## [0.2.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.6...@spectrum-web-components/divider@0.2.7) (2021-07-22)
389
-
390
- **Note:** Version bump only for package @spectrum-web-components/divider
391
-
392
- ## [0.2.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.5...@spectrum-web-components/divider@0.2.6) (2021-06-16)
393
-
394
- **Note:** Version bump only for package @spectrum-web-components/divider
395
-
396
- ## [0.2.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.4...@spectrum-web-components/divider@0.2.5) (2021-05-12)
397
-
398
- **Note:** Version bump only for package @spectrum-web-components/divider
399
-
400
- ## [0.2.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.3...@spectrum-web-components/divider@0.2.4) (2021-04-09)
401
-
402
- **Note:** Version bump only for package @spectrum-web-components/divider
403
-
404
- ## [0.2.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.2...@spectrum-web-components/divider@0.2.3) (2021-03-29)
405
-
406
- ### Bug Fixes
407
-
408
- - **divider:** update a11y semantics ([46e6a12](https://github.com/adobe/spectrum-web-components/commit/46e6a1257135389e72a09f376f6b9149573873e6))
409
-
410
- ## [0.2.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.1...@spectrum-web-components/divider@0.2.2) (2021-03-22)
411
-
412
- **Note:** Version bump only for package @spectrum-web-components/divider
413
-
414
- ## [0.2.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.2.0...@spectrum-web-components/divider@0.2.1) (2021-03-05)
415
-
416
- **Note:** Version bump only for package @spectrum-web-components/divider
417
-
418
- # [0.2.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.1.1...@spectrum-web-components/divider@0.2.0) (2021-03-04)
419
-
420
- ### Features
421
-
422
- - use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008))
423
-
424
- ## [0.1.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/divider@0.1.0...@spectrum-web-components/divider@0.1.1) (2021-02-11)
425
-
426
- ### Bug Fixes
427
-
428
- - expand sized functionality to support no default and returning to default values ([acf3cfb](https://github.com/adobe/spectrum-web-components/commit/acf3cfb000033d1ef1e22ca571cb8dbbeaadae77))
429
- - update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937))
430
-
431
- # 0.1.0 (2021-02-02)
432
-
433
- ### Features
434
-
435
- - **divider:** create sp-divider from sp-rule ([ec26d81](https://github.com/adobe/spectrum-web-components/commit/ec26d81bf92742a42913b8cb7f87beaba035743a))
package/src/Divider.d.ts DELETED
@@ -1,20 +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 { CSSResultArray, TemplateResult } from '@spectrum-web-components/base';
13
- import { DividerBase } from '@spectrum-web-components/core/components/divider';
14
- /**
15
- * @element sp-divider
16
- */
17
- export declare class Divider extends DividerBase {
18
- static styles: CSSResultArray;
19
- protected render(): TemplateResult;
20
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- import {
3
- html
4
- } from "@spectrum-web-components/base";
5
- import { DividerBase } from "@spectrum-web-components/core/components/divider";
6
- import styles from "./divider.css.js";
7
- export class Divider extends DividerBase {
8
- render() {
9
- return html``;
10
- }
11
- }
12
- Divider.styles = [styles];
13
- //# sourceMappingURL=Divider.dev.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["Divider.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 {\n CSSResultArray,\n html,\n TemplateResult,\n} from '@spectrum-web-components/base';\n\nimport { DividerBase } from '@spectrum-web-components/core/components/divider';\nimport styles from './divider.css.js';\n\n/**\n * @element sp-divider\n */\nexport class Divider extends DividerBase {\n public static override styles: CSSResultArray = [styles];\n\n protected override render(): TemplateResult {\n return html``;\n }\n}\n"],
5
- "mappings": ";AAYA;AAAA,EAEI;AAAA,OAEG;AAEP,SAAS,mBAAmB;AAC5B,OAAO,YAAY;AAKZ,aAAM,gBAAgB,YAAY;AAAA,EAGlB,SAAyB;AACxC,WAAO;AAAA,EACX;AACJ;AANa,QACc,SAAyB,CAAC,MAAM;",
6
- "names": []
7
- }
package/src/Divider.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";import{html as e}from"@spectrum-web-components/base";import{DividerBase as r}from"@spectrum-web-components/core/components/divider";import t from"./divider.css.js";export class Divider extends r{render(){return e``}}Divider.styles=[t];
2
- //# sourceMappingURL=Divider.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["Divider.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 {\n CSSResultArray,\n html,\n TemplateResult,\n} from '@spectrum-web-components/base';\n\nimport { DividerBase } from '@spectrum-web-components/core/components/divider';\nimport styles from './divider.css.js';\n\n/**\n * @element sp-divider\n */\nexport class Divider extends DividerBase {\n public static override styles: CSSResultArray = [styles];\n\n protected override render(): TemplateResult {\n return html``;\n }\n}\n"],
5
- "mappings": "aAYA,OAEI,QAAAA,MAEG,gCAEP,OAAS,eAAAC,MAAmB,mDAC5B,OAAOC,MAAY,mBAKZ,aAAM,gBAAgBD,CAAY,CAGlB,QAAyB,CACxC,OAAOD,GACX,CACJ,CANa,QACc,OAAyB,CAACE,CAAM",
6
- "names": ["html", "DividerBase", "styles"]
7
- }
@@ -1,2 +0,0 @@
1
- declare const styles: import("@spectrum-web-components/base").CSSResult;
2
- export default styles;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- import { css } from "@spectrum-web-components/base";
3
- const styles = css`
4
- :host{--spectrum-divider-background-color:var(--system-divider-background-color);--spectrum-divider-background-color-static-white:var(--system-divider-background-color-static-white);--spectrum-divider-background-color-static-black:var(--system-divider-background-color-static-black)}
5
- `;
6
- export default styles;
7
- //# sourceMappingURL=divider-overrides.css.dev.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["divider-overrides.css.ts"],
4
- "sourcesContent": ["import { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{--spectrum-divider-background-color:var(--system-divider-background-color);--spectrum-divider-background-color-static-white:var(--system-divider-background-color-static-white);--spectrum-divider-background-color-static-black:var(--system-divider-background-color-static-black)}\n`;\nexport default styles;"],
5
- "mappings": ";AAAA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- declare const styles: import("@spectrum-web-components/base").CSSResult;
2
- export default styles;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- import { css } from "@spectrum-web-components/base";
3
- const styles = css`
4
- @media (forced-colors:active){:host{--highcontrast-divider-background-color:CanvasText}}:host{--spectrum-divider-thickness:var(--spectrum-divider-thickness-medium)}:host([size=s]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-small)}:host([size=l]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-large);--spectrum-divider-background-color:var(--spectrum-gray-800)}:host([static-color=white]){--mod-divider-background-color:var(--mod-divider-background-color-medium-static-white,var(--spectrum-divider-background-color-static-white))}:host([static-color=white][size=s]){--mod-divider-background-color:var(--mod-divider-background-color-small-static-white,var(--spectrum-divider-background-color-static-white))}:host([static-color=white][size=l]){--mod-divider-background-color:var(--mod-divider-background-color-large-static-white,var(--spectrum-transparent-white-800))}:host([static-color=black]){--mod-divider-background-color:var(--mod-divider-background-color-medium-static-black,var(--spectrum-divider-background-color-static-black))}:host([static-color=black][size=s]){--mod-divider-background-color:var(--mod-divider-background-color-small-static-black,var(--spectrum-divider-background-color-static-black))}:host([static-color=black][size=l]){--mod-divider-background-color:var(--mod-divider-background-color-large-static-black,var(--spectrum-transparent-black-800))}:host{block-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border:none;border-width:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border-radius:var(--mod-divider-thickness,var(--spectrum-divider-thickness));background-color:var(--highcontrast-divider-background-color,var(--mod-divider-background-color,var(--spectrum-divider-background-color)));inline-size:100%;overflow:visible}:host([vertical]){inline-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));block-size:100%;block-size:var(--mod-divider-vertical-height,100%);margin-block:var(--mod-divider-vertical-margin);align-self:var(--mod-divider-vertical-align)}:host{--spectrum-divider-background-color:var(--system-divider-background-color);--spectrum-divider-background-color-static-white:var(--system-divider-background-color-static-white);--spectrum-divider-background-color-static-black:var(--system-divider-background-color-static-black)}:host{display:block}hr{border:none;margin:0}
5
- `;
6
- export default styles;
7
- //# sourceMappingURL=divider.css.dev.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["divider.css.ts"],
4
- "sourcesContent": ["import { css } from '@spectrum-web-components/base';\nconst styles = css`\n @media (forced-colors:active){:host{--highcontrast-divider-background-color:CanvasText}}:host{--spectrum-divider-thickness:var(--spectrum-divider-thickness-medium)}:host([size=s]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-small)}:host([size=l]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-large);--spectrum-divider-background-color:var(--spectrum-gray-800)}:host([static-color=white]){--mod-divider-background-color:var(--mod-divider-background-color-medium-static-white,var(--spectrum-divider-background-color-static-white))}:host([static-color=white][size=s]){--mod-divider-background-color:var(--mod-divider-background-color-small-static-white,var(--spectrum-divider-background-color-static-white))}:host([static-color=white][size=l]){--mod-divider-background-color:var(--mod-divider-background-color-large-static-white,var(--spectrum-transparent-white-800))}:host([static-color=black]){--mod-divider-background-color:var(--mod-divider-background-color-medium-static-black,var(--spectrum-divider-background-color-static-black))}:host([static-color=black][size=s]){--mod-divider-background-color:var(--mod-divider-background-color-small-static-black,var(--spectrum-divider-background-color-static-black))}:host([static-color=black][size=l]){--mod-divider-background-color:var(--mod-divider-background-color-large-static-black,var(--spectrum-transparent-black-800))}:host{block-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border:none;border-width:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border-radius:var(--mod-divider-thickness,var(--spectrum-divider-thickness));background-color:var(--highcontrast-divider-background-color,var(--mod-divider-background-color,var(--spectrum-divider-background-color)));inline-size:100%;overflow:visible}:host([vertical]){inline-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));block-size:100%;block-size:var(--mod-divider-vertical-height,100%);margin-block:var(--mod-divider-vertical-margin);align-self:var(--mod-divider-vertical-align)}:host{--spectrum-divider-background-color:var(--system-divider-background-color);--spectrum-divider-background-color-static-white:var(--system-divider-background-color-static-white);--spectrum-divider-background-color-static-black:var(--system-divider-background-color-static-black)}:host{display:block}hr{border:none;margin:0}\n`;\nexport default styles;"],
5
- "mappings": ";AAAA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
6
- "names": []
7
- }
package/src/index.d.ts DELETED
@@ -1,12 +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
- export * from './Divider.js';
package/src/index.dev.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- export * from "./Divider.dev.js";
3
- //# sourceMappingURL=index.dev.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["index.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\nexport * from './Divider.dev.js'\n"],
5
- "mappings": ";AAYA,cAAc;",
6
- "names": []
7
- }
package/src/index.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";export*from"./Divider.js";
2
- //# sourceMappingURL=index.js.map
package/src/index.js.map DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["index.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\nexport * from './Divider.js';\n"],
5
- "mappings": "aAYA,WAAc",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- declare const styles: import("@spectrum-web-components/base").CSSResult;
2
- export default styles;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- import { css } from "@spectrum-web-components/base";
3
- const styles = css`
4
- @media (forced-colors:active){:host{--highcontrast-divider-background-color:CanvasText}}:host{--spectrum-divider-thickness:var(--spectrum-divider-thickness-medium)}:host([size=s]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-small)}:host([size=l]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-large);--spectrum-divider-background-color:var(--spectrum-gray-800)}:host([static-color=white]){--mod-divider-background-color:var(--mod-divider-background-color-medium-static-white,var(--spectrum-divider-background-color-static-white))}:host([static-color=white][size=s]){--mod-divider-background-color:var(--mod-divider-background-color-small-static-white,var(--spectrum-divider-background-color-static-white))}:host([static-color=white][size=l]){--mod-divider-background-color:var(--mod-divider-background-color-large-static-white,var(--spectrum-transparent-white-800))}:host([static-color=black]){--mod-divider-background-color:var(--mod-divider-background-color-medium-static-black,var(--spectrum-divider-background-color-static-black))}:host([static-color=black][size=s]){--mod-divider-background-color:var(--mod-divider-background-color-small-static-black,var(--spectrum-divider-background-color-static-black))}:host([static-color=black][size=l]){--mod-divider-background-color:var(--mod-divider-background-color-large-static-black,var(--spectrum-transparent-black-800))}:host{block-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border:none;border-width:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border-radius:var(--mod-divider-thickness,var(--spectrum-divider-thickness));background-color:var(--highcontrast-divider-background-color,var(--mod-divider-background-color,var(--spectrum-divider-background-color)));inline-size:100%;overflow:visible}:host([vertical]){inline-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));block-size:100%;block-size:var(--mod-divider-vertical-height,100%);margin-block:var(--mod-divider-vertical-margin);align-self:var(--mod-divider-vertical-align)}
5
- `;
6
- export default styles;
7
- //# sourceMappingURL=spectrum-divider.css.dev.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["spectrum-divider.css.ts"],
4
- "sourcesContent": ["import { css } from '@spectrum-web-components/base';\nconst styles = css`\n @media (forced-colors:active){:host{--highcontrast-divider-background-color:CanvasText}}:host{--spectrum-divider-thickness:var(--spectrum-divider-thickness-medium)}:host([size=s]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-small)}:host([size=l]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-large);--spectrum-divider-background-color:var(--spectrum-gray-800)}:host([static-color=white]){--mod-divider-background-color:var(--mod-divider-background-color-medium-static-white,var(--spectrum-divider-background-color-static-white))}:host([static-color=white][size=s]){--mod-divider-background-color:var(--mod-divider-background-color-small-static-white,var(--spectrum-divider-background-color-static-white))}:host([static-color=white][size=l]){--mod-divider-background-color:var(--mod-divider-background-color-large-static-white,var(--spectrum-transparent-white-800))}:host([static-color=black]){--mod-divider-background-color:var(--mod-divider-background-color-medium-static-black,var(--spectrum-divider-background-color-static-black))}:host([static-color=black][size=s]){--mod-divider-background-color:var(--mod-divider-background-color-small-static-black,var(--spectrum-divider-background-color-static-black))}:host([static-color=black][size=l]){--mod-divider-background-color:var(--mod-divider-background-color-large-static-black,var(--spectrum-transparent-black-800))}:host{block-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border:none;border-width:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border-radius:var(--mod-divider-thickness,var(--spectrum-divider-thickness));background-color:var(--highcontrast-divider-background-color,var(--mod-divider-background-color,var(--spectrum-divider-background-color)));inline-size:100%;overflow:visible}:host([vertical]){inline-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));block-size:100%;block-size:var(--mod-divider-vertical-height,100%);margin-block:var(--mod-divider-vertical-margin);align-self:var(--mod-divider-vertical-align)}\n`;\nexport default styles;"],
5
- "mappings": ";AAAA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
6
- "names": []
7
- }
@@ -1,131 +0,0 @@
1
- "use strict";
2
- import { html } from "@spectrum-web-components/base";
3
- import "@spectrum-web-components/divider/sp-divider.js";
4
- import "./typography-decorator.js";
5
- import "@spectrum-web-components/action-button/sp-action-button.js";
6
- import "@spectrum-web-components/icon/sp-icon.js";
7
- import "@spectrum-web-components/icons-workflow/icons/sp-icon-align-left.js";
8
- import "@spectrum-web-components/icons-workflow/icons/sp-icon-align-right.js";
9
- export default {
10
- title: "Divider",
11
- decorators: [
12
- (story) => html`
13
- <typography-decorator .story=${story()}></typography-decorator>
14
- `
15
- ]
16
- };
17
- export const large = () => {
18
- return html`
19
- <h2 class="spectrum-Heading spectrum-Heading--sizeM">Large</h2>
20
- <sp-divider size="l"></sp-divider>
21
- <p class="spectrum-Body">Page or Section Titles.</p>
22
- `;
23
- };
24
- export const medium = () => {
25
- return html`
26
- <h3 class="spectrum-Heading spectrum-Heading--sizeS">Medium</h3>
27
- <sp-divider size="m"></sp-divider>
28
- <p class="spectrum-Body">
29
- Divide subsections, or divide different groups of elements (between
30
- panels, rails, etc.)
31
- </p>
32
- `;
33
- };
34
- export const small = () => {
35
- return html`
36
- <h4 class="spectrum-Heading spectrum-Heading--sizeXS">Small</h4>
37
- <sp-divider size="s"></sp-divider>
38
- <p class="spectrum-Body">
39
- Divide like-elements (tables, tool groups, elements within a panel,
40
- etc.)
41
- </p>
42
- `;
43
- };
44
- export const verticalSmall = () => {
45
- return html`
46
- <div style="height: var(--spectrum-spacing-500, 32px); display: flex;">
47
- <sp-action-button quiet>
48
- <sp-icon-align-left slot="icon"></sp-icon-align-left>
49
- </sp-action-button>
50
- <sp-divider
51
- vertical
52
- size="s"
53
- style="height: auto; align-self: stretch;"
54
- ></sp-divider>
55
- <sp-action-button quiet>
56
- <sp-icon-align-right slot="icon"></sp-icon-align-right>
57
- </sp-action-button>
58
- </div>
59
- `;
60
- };
61
- export const verticalMedium = () => {
62
- return html`
63
- <div style="height: var(--spectrum-spacing-500, 32px); display: flex;">
64
- <sp-action-button quiet>
65
- <sp-icon-align-left slot="icon"></sp-icon-align-left>
66
- </sp-action-button>
67
- <sp-divider
68
- size="m"
69
- vertical
70
- style="height: auto; align-self: stretch;"
71
- ></sp-divider>
72
- <sp-action-button quiet>
73
- <sp-icon-align-right slot="icon"></sp-icon-align-right>
74
- </sp-action-button>
75
- </div>
76
- `;
77
- };
78
- export const verticalLarge = () => {
79
- return html`
80
- <div style="height: var(--spectrum-spacing-500, 32px); display: flex;">
81
- <sp-action-button quiet>
82
- <sp-icon-align-left slot="icon"></sp-icon-align-left>
83
- </sp-action-button>
84
- <sp-divider
85
- size="l"
86
- vertical
87
- style="height: auto; align-self: stretch;"
88
- ></sp-divider>
89
- <sp-action-button quiet>
90
- <sp-icon-align-right slot="icon"></sp-icon-align-right>
91
- </sp-action-button>
92
- </div>
93
- `;
94
- };
95
- export const staticBlack = () => {
96
- return html`
97
- <div
98
- style="background-color: var(--spectrum-docs-static-black-background-color); padding: 20px"
99
- >
100
- <h2
101
- class="spectrum-Heading spectrum-Heading--sizeS"
102
- style="color: var(--spectrum-black)"
103
- >
104
- Static black on light background
105
- </h2>
106
- <sp-divider static-color="black" size="m"></sp-divider>
107
- <p class="spectrum-Body" style="color: var(--spectrum-black)">
108
- Use static black on light color or image backgrounds.
109
- </p>
110
- </div>
111
- `;
112
- };
113
- export const staticWhite = () => {
114
- return html`
115
- <div
116
- style="background-color: var(--spectrum-docs-static-white-background-color); padding: 20px;"
117
- >
118
- <h2
119
- class="spectrum-Heading spectrum-Heading--sizeS"
120
- style="color: var(--spectrum-white)"
121
- >
122
- Static white on dark background
123
- </h2>
124
- <sp-divider static-color="white" size="m"></sp-divider>
125
- <p class="spectrum-Body" style="color: var(--spectrum-white)">
126
- Use static white on dark color or image backgrounds.
127
- </p>
128
- </div>
129
- `;
130
- };
131
- //# sourceMappingURL=divider.stories.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["divider.stories.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 */\nimport { html, TemplateResult } from '@spectrum-web-components/base';\n\nimport '@spectrum-web-components/divider/sp-divider.js';\nimport './typography-decorator.js';\nimport '@spectrum-web-components/action-button/sp-action-button.js';\nimport '@spectrum-web-components/icon/sp-icon.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-align-left.js';\nimport '@spectrum-web-components/icons-workflow/icons/sp-icon-align-right.js';\n\nexport default {\n title: 'Divider',\n decorators: [\n (story: () => TemplateResult): TemplateResult => html`\n <typography-decorator .story=${story()}></typography-decorator>\n `,\n ],\n};\n\nexport const large = (): TemplateResult => {\n return html`\n <h2 class=\"spectrum-Heading spectrum-Heading--sizeM\">Large</h2>\n <sp-divider size=\"l\"></sp-divider>\n <p class=\"spectrum-Body\">Page or Section Titles.</p>\n `;\n};\n\nexport const medium = (): TemplateResult => {\n return html`\n <h3 class=\"spectrum-Heading spectrum-Heading--sizeS\">Medium</h3>\n <sp-divider size=\"m\"></sp-divider>\n <p class=\"spectrum-Body\">\n Divide subsections, or divide different groups of elements (between\n panels, rails, etc.)\n </p>\n `;\n};\n\nexport const small = (): TemplateResult => {\n return html`\n <h4 class=\"spectrum-Heading spectrum-Heading--sizeXS\">Small</h4>\n <sp-divider size=\"s\"></sp-divider>\n <p class=\"spectrum-Body\">\n Divide like-elements (tables, tool groups, elements within a panel,\n etc.)\n </p>\n `;\n};\n\nexport const verticalSmall = (): TemplateResult => {\n return html`\n <div style=\"height: var(--spectrum-spacing-500, 32px); display: flex;\">\n <sp-action-button quiet>\n <sp-icon-align-left slot=\"icon\"></sp-icon-align-left>\n </sp-action-button>\n <sp-divider\n vertical\n size=\"s\"\n style=\"height: auto; align-self: stretch;\"\n ></sp-divider>\n <sp-action-button quiet>\n <sp-icon-align-right slot=\"icon\"></sp-icon-align-right>\n </sp-action-button>\n </div>\n `;\n};\n\nexport const verticalMedium = (): TemplateResult => {\n return html`\n <div style=\"height: var(--spectrum-spacing-500, 32px); display: flex;\">\n <sp-action-button quiet>\n <sp-icon-align-left slot=\"icon\"></sp-icon-align-left>\n </sp-action-button>\n <sp-divider\n size=\"m\"\n vertical\n style=\"height: auto; align-self: stretch;\"\n ></sp-divider>\n <sp-action-button quiet>\n <sp-icon-align-right slot=\"icon\"></sp-icon-align-right>\n </sp-action-button>\n </div>\n `;\n};\n\nexport const verticalLarge = (): TemplateResult => {\n return html`\n <div style=\"height: var(--spectrum-spacing-500, 32px); display: flex;\">\n <sp-action-button quiet>\n <sp-icon-align-left slot=\"icon\"></sp-icon-align-left>\n </sp-action-button>\n <sp-divider\n size=\"l\"\n vertical\n style=\"height: auto; align-self: stretch;\"\n ></sp-divider>\n <sp-action-button quiet>\n <sp-icon-align-right slot=\"icon\"></sp-icon-align-right>\n </sp-action-button>\n </div>\n `;\n};\n\nexport const staticBlack = (): TemplateResult => {\n return html`\n <div\n style=\"background-color: var(--spectrum-docs-static-black-background-color); padding: 20px\"\n >\n <h2\n class=\"spectrum-Heading spectrum-Heading--sizeS\"\n style=\"color: var(--spectrum-black)\"\n >\n Static black on light background\n </h2>\n <sp-divider static-color=\"black\" size=\"m\"></sp-divider>\n <p class=\"spectrum-Body\" style=\"color: var(--spectrum-black)\">\n Use static black on light color or image backgrounds.\n </p>\n </div>\n `;\n};\n\nexport const staticWhite = (): TemplateResult => {\n return html`\n <div\n style=\"background-color: var(--spectrum-docs-static-white-background-color); padding: 20px;\"\n >\n <h2\n class=\"spectrum-Heading spectrum-Heading--sizeS\"\n style=\"color: var(--spectrum-white)\"\n >\n Static white on dark background\n </h2>\n <sp-divider static-color=\"white\" size=\"m\"></sp-divider>\n <p class=\"spectrum-Body\" style=\"color: var(--spectrum-white)\">\n Use static white on dark color or image backgrounds.\n </p>\n </div>\n `;\n};\n"],
5
- "mappings": ";AAWA,SAAS,YAA4B;AAErC,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AAEP,eAAe;AAAA,EACX,OAAO;AAAA,EACP,YAAY;AAAA,IACR,CAAC,UAAgD;AAAA,2CACd,MAAM,CAAC;AAAA;AAAA,EAE9C;AACJ;AAEO,aAAM,QAAQ,MAAsB;AACvC,SAAO;AAAA;AAAA;AAAA;AAAA;AAKX;AAEO,aAAM,SAAS,MAAsB;AACxC,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQX;AAEO,aAAM,QAAQ,MAAsB;AACvC,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQX;AAEO,aAAM,gBAAgB,MAAsB;AAC/C,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeX;AAEO,aAAM,iBAAiB,MAAsB;AAChD,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeX;AAEO,aAAM,gBAAgB,MAAsB;AAC/C,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeX;AAEO,aAAM,cAAc,MAAsB;AAC7C,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBX;AAEO,aAAM,cAAc,MAAsB;AAC7C,SAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBX;",
6
- "names": []
7
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __decorateClass = (decorators, target, key, kind) => {
5
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
6
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
7
- if (decorator = decorators[i])
8
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9
- if (kind && result) __defProp(target, key, result);
10
- return result;
11
- };
12
- import {
13
- html,
14
- LitElement
15
- } from "@spectrum-web-components/base";
16
- import {
17
- customElement,
18
- property
19
- } from "@spectrum-web-components/base/src/decorators.js";
20
- import styles from "@spectrum-web-components/theme/src/typography.css.js";
21
- export let Typography = class extends LitElement {
22
- render() {
23
- if (!this.story) return html``;
24
- return html`
25
- <div class="spectrum-Typography">${this.story}</div>
26
- `;
27
- }
28
- };
29
- Typography.styles = [styles];
30
- __decorateClass([
31
- property({ attribute: false })
32
- ], Typography.prototype, "story", 2);
33
- Typography = __decorateClass([
34
- customElement("typography-decorator")
35
- ], Typography);
36
- //# sourceMappingURL=typography-decorator.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["typography-decorator.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 {\n CSSResultArray,\n html,\n LitElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport {\n customElement,\n property,\n} from '@spectrum-web-components/base/src/decorators.js';\n\nimport styles from '@spectrum-web-components/theme/src/typography.css.js';\n\n/**\n * @element typography-decorator\n */\n@customElement('typography-decorator')\nexport class Typography extends LitElement {\n static override styles: CSSResultArray = [styles];\n\n @property({ attribute: false })\n public story?: TemplateResult;\n\n protected override render(): TemplateResult {\n if (!this.story) return html``;\n return html`\n <div class=\"spectrum-Typography\">${this.story}</div>\n `;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;AAYA;AAAA,EAEI;AAAA,EACA;AAAA,OAEG;AACP;AAAA,EACI;AAAA,EACA;AAAA,OACG;AAEP,OAAO,YAAY;AAMZ,WAAM,aAAN,cAAyB,WAAW;AAAA,EAMpB,SAAyB;AACxC,QAAI,CAAC,KAAK,MAAO,QAAO;AACxB,WAAO;AAAA,+CACgC,KAAK,KAAK;AAAA;AAAA,EAErD;AACJ;AAZa,WACO,SAAyB,CAAC,MAAM;AAGzC;AAAA,EADN,SAAS,EAAE,WAAW,MAAM,CAAC;AAAA,GAHrB,WAIF;AAJE,aAAN;AAAA,EADN,cAAc,sBAAsB;AAAA,GACxB;",
6
- "names": []
7
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- import "@spectrum-web-components/divider/sp-divider.js";
3
- import { html } from "lit";
4
- import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";
5
- measureFixtureCreation(html`
6
- <sp-divider></sp-divider>
7
- `);
8
- //# sourceMappingURL=basic-test.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
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/divider/sp-divider.js';\nimport { html } from 'lit';\nimport { measureFixtureCreation } from '../../../../test/benchmark/helpers.js';\n\nmeasureFixtureCreation(html`\n <sp-divider></sp-divider>\n`);\n"],
5
- "mappings": ";AAYA,OAAO;AACP,SAAS,YAAY;AACrB,SAAS,8BAA8B;AAEvC,uBAAuB;AAAA;AAAA,CAEtB;",
6
- "names": []
7
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- import { html } from "@open-wc/testing";
3
- import "@spectrum-web-components/divider/sp-divider.js";
4
- import { testForMemoryLeaks } from "../../../test/testing-helpers.js";
5
- testForMemoryLeaks(html`
6
- <sp-divider></sp-divider>
7
- `);
8
- //# sourceMappingURL=divider-memory.test.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["divider-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/divider/sp-divider.js';\nimport { testForMemoryLeaks } from '../../../test/testing-helpers.js';\n\ntestForMemoryLeaks(html`\n <sp-divider></sp-divider>\n`);\n"],
5
- "mappings": ";AAYA,SAAS,YAAY;AACrB,OAAO;AACP,SAAS,0BAA0B;AAEnC,mBAAmB;AAAA;AAAA,CAElB;",
6
- "names": []
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- import * as stories from "../stories/divider.stories.js";
3
- import { regressVisuals } from "../../../test/visual/test.js";
4
- regressVisuals("DividerStories", stories);
5
- //# sourceMappingURL=divider.test-vrt.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["divider.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/divider.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\nimport type { TestsType } from '../../../test/visual/test.js';\n\nregressVisuals('DividerStories', stories as unknown as TestsType);\n"],
5
- "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAG/B,eAAe,kBAAkB,OAA+B;",
6
- "names": []
7
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
3
- import "@spectrum-web-components/divider/sp-divider.js";
4
- import { testForLitDevWarnings } from "../../../test/testing-helpers.js";
5
- describe("Divider", () => {
6
- testForLitDevWarnings(
7
- async () => await fixture(html`
8
- <sp-divider></sp-divider>
9
- `)
10
- );
11
- it("loads default divider accessibly", async () => {
12
- const el = await fixture(html`
13
- <sp-divider></sp-divider>
14
- `);
15
- await elementUpdated(el);
16
- await expect(el).to.be.accessible();
17
- });
18
- it("loads [vertical] divider accessibly", async () => {
19
- const el = await fixture(html`
20
- <sp-divider vertical></sp-divider>
21
- `);
22
- await elementUpdated(el);
23
- await expect(el).to.be.accessible();
24
- });
25
- it("manages a `static-color` attribute", async () => {
26
- const el = await fixture(html`
27
- <sp-divider static-color="black"></sp-divider>
28
- `);
29
- await elementUpdated(el);
30
- expect(el.staticColor).to.equal("black");
31
- expect(el.getAttribute("static-color")).to.equal("black");
32
- el.removeAttribute("static-color");
33
- await elementUpdated(el);
34
- expect(el.staticColor).to.be.null;
35
- expect(el.hasAttribute("static-color")).to.be.false;
36
- });
37
- });
38
- //# sourceMappingURL=divider.test.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["divider.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/divider/sp-divider.js';\nimport { Divider } from '@spectrum-web-components/divider';\nimport { testForLitDevWarnings } from '../../../test/testing-helpers.js';\n\ndescribe('Divider', () => {\n testForLitDevWarnings(\n async () =>\n await fixture<Divider>(html`\n <sp-divider></sp-divider>\n `)\n );\n it('loads default divider accessibly', async () => {\n const el = await fixture<Divider>(html`\n <sp-divider></sp-divider>\n `);\n\n await elementUpdated(el);\n\n await expect(el).to.be.accessible();\n });\n it('loads [vertical] divider accessibly', async () => {\n const el = await fixture<Divider>(html`\n <sp-divider vertical></sp-divider>\n `);\n\n await elementUpdated(el);\n\n await expect(el).to.be.accessible();\n });\n it('manages a `static-color` attribute', async () => {\n const el = await fixture<Divider>(html`\n <sp-divider static-color=\"black\"></sp-divider>\n `);\n\n await elementUpdated(el);\n expect(el.staticColor).to.equal('black');\n expect(el.getAttribute('static-color')).to.equal('black');\n el.removeAttribute('static-color');\n await elementUpdated(el);\n expect(el.staticColor).to.be.null;\n expect(el.hasAttribute('static-color')).to.be.false;\n });\n});\n"],
5
- "mappings": ";AAYA,SAAS,gBAAgB,QAAQ,SAAS,YAAY;AAEtD,OAAO;AAEP,SAAS,6BAA6B;AAEtC,SAAS,WAAW,MAAM;AACtB;AAAA,IACI,YACI,MAAM,QAAiB;AAAA;AAAA,aAEtB;AAAA,EACT;AACA,KAAG,oCAAoC,YAAY;AAC/C,UAAM,KAAK,MAAM,QAAiB;AAAA;AAAA,SAEjC;AAED,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACD,KAAG,uCAAuC,YAAY;AAClD,UAAM,KAAK,MAAM,QAAiB;AAAA;AAAA,SAEjC;AAED,UAAM,eAAe,EAAE;AAEvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAAA,EACtC,CAAC;AACD,KAAG,sCAAsC,YAAY;AACjD,UAAM,KAAK,MAAM,QAAiB;AAAA;AAAA,SAEjC;AAED,UAAM,eAAe,EAAE;AACvB,WAAO,GAAG,WAAW,EAAE,GAAG,MAAM,OAAO;AACvC,WAAO,GAAG,aAAa,cAAc,CAAC,EAAE,GAAG,MAAM,OAAO;AACxD,OAAG,gBAAgB,cAAc;AACjC,UAAM,eAAe,EAAE;AACvB,WAAO,GAAG,WAAW,EAAE,GAAG,GAAG;AAC7B,WAAO,GAAG,aAAa,cAAc,CAAC,EAAE,GAAG,GAAG;AAAA,EAClD,CAAC;AACL,CAAC;",
6
- "names": []
7
- }