@spectrum-web-components/button-group 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.
- package/CHANGELOG.md +545 -0
- package/package.json +72 -72
- package/custom-elements.json +0 -126
- package/sp-button-group.d.ts +0 -17
- package/sp-button-group.dev.js +0 -5
- package/sp-button-group.dev.js.map +0 -7
- package/sp-button-group.js +0 -2
- package/sp-button-group.js.map +0 -7
- package/src/ButtonGroup.d.ts +0 -32
- package/src/ButtonGroup.dev.js +0 -61
- package/src/ButtonGroup.dev.js.map +0 -7
- package/src/ButtonGroup.js +0 -4
- package/src/ButtonGroup.js.map +0 -7
- package/src/button-group-overrides.css.d.ts +0 -2
- package/src/button-group-overrides.css.dev.js +0 -7
- package/src/button-group-overrides.css.dev.js.map +0 -7
- package/src/button-group-overrides.css.js +0 -4
- package/src/button-group-overrides.css.js.map +0 -7
- package/src/button-group.css.d.ts +0 -2
- package/src/button-group.css.dev.js +0 -7
- package/src/button-group.css.dev.js.map +0 -7
- package/src/button-group.css.js +0 -4
- package/src/button-group.css.js.map +0 -7
- package/src/index.d.ts +0 -12
- package/src/index.dev.js +0 -3
- package/src/index.dev.js.map +0 -7
- package/src/index.js +0 -2
- package/src/index.js.map +0 -7
- package/src/spectrum-button-group.css.d.ts +0 -2
- package/src/spectrum-button-group.css.dev.js +0 -7
- package/src/spectrum-button-group.css.dev.js.map +0 -7
- package/src/spectrum-button-group.css.js +0 -4
- package/src/spectrum-button-group.css.js.map +0 -7
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## 1.9.1-nightly.20251028214328
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @spectrum-web-components/base@1.9.1-nightly.20251028214328
|
|
9
|
+
- @spectrum-web-components/button@1.9.1-nightly.20251028214328
|
|
10
|
+
|
|
11
|
+
## 1.9.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`7d23140`](https://github.com/adobe/spectrum-web-components/commit/7d23140c21f0006ddea8a5cf39478ff36acbfbb8)]:
|
|
16
|
+
- @spectrum-web-components/button@1.9.0
|
|
17
|
+
- @spectrum-web-components/base@1.9.0
|
|
18
|
+
|
|
19
|
+
## 1.8.0
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`15be17d`](https://github.com/adobe/spectrum-web-components/commit/15be17db91f1140ccf3cad52b1f2ed6c4b9e28ba)]:
|
|
24
|
+
- @spectrum-web-components/button@1.8.0
|
|
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/button@1.7.0
|
|
33
|
+
- @spectrum-web-components/base@1.7.0
|
|
34
|
+
|
|
35
|
+
## 1.6.0
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [[`00eb0a8`](https://github.com/adobe/spectrum-web-components/commit/00eb0a889583dff9d964341d9c1c27048be3d19e)]:
|
|
40
|
+
- @spectrum-web-components/button@1.6.0
|
|
41
|
+
- @spectrum-web-components/base@1.6.0
|
|
42
|
+
|
|
43
|
+
## 1.5.0
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- [#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.
|
|
48
|
+
|
|
49
|
+
- Updated dependencies [[`4e06533`](https://github.com/adobe/spectrum-web-components/commit/4e065332e0236757fc3a050e53747ce82ac40ed5)]:
|
|
50
|
+
- @spectrum-web-components/button@1.5.0
|
|
51
|
+
- @spectrum-web-components/base@1.5.0
|
|
52
|
+
|
|
53
|
+
## 1.4.0
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- Updated dependencies []:
|
|
58
|
+
- @spectrum-web-components/button@1.4.0
|
|
59
|
+
- @spectrum-web-components/base@1.4.0
|
|
60
|
+
|
|
61
|
+
## 1.3.0
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies []:
|
|
66
|
+
- @spectrum-web-components/button@1.3.0
|
|
67
|
+
- @spectrum-web-components/base@1.3.0
|
|
68
|
+
|
|
69
|
+
All notable changes to this project will be documented in this file.
|
|
70
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
71
|
+
|
|
72
|
+
# [1.2.0](https://github.com/adobe/spectrum-web-components/compare/v1.1.2...v1.2.0) (2025-02-27)
|
|
73
|
+
|
|
74
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
75
|
+
|
|
76
|
+
## [1.1.2](https://github.com/adobe/spectrum-web-components/compare/v1.1.1...v1.1.2) (2025-02-12)
|
|
77
|
+
|
|
78
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
79
|
+
|
|
80
|
+
## [1.1.1](https://github.com/adobe/spectrum-web-components/compare/v1.1.0...v1.1.1) (2025-01-29)
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
- **sp-button-group:** sp-button-group react to size updates ([#5037](https://github.com/adobe/spectrum-web-components/issues/5037)) ([63bc618](https://github.com/adobe/spectrum-web-components/commit/63bc618c18e9d8e39155cc7544814564673893a7))
|
|
85
|
+
|
|
86
|
+
# [1.1.0](https://github.com/adobe/spectrum-web-components/compare/v1.0.3...v1.1.0) (2025-01-29)
|
|
87
|
+
|
|
88
|
+
### Bug Fixes
|
|
89
|
+
|
|
90
|
+
- 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))
|
|
91
|
+
|
|
92
|
+
### Features
|
|
93
|
+
|
|
94
|
+
- **sp-button-group:** sp-button-group react to size updates ([#5037](https://github.com/adobe/spectrum-web-components/issues/5037)) ([63bc618](https://github.com/adobe/spectrum-web-components/commit/63bc618c18e9d8e39155cc7544814564673893a7))
|
|
95
|
+
|
|
96
|
+
## [1.0.3](https://github.com/adobe/spectrum-web-components/compare/v1.0.1...v1.0.3) (2024-12-09)
|
|
97
|
+
|
|
98
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
99
|
+
|
|
100
|
+
## [1.0.1](https://github.com/adobe/spectrum-web-components/compare/v1.0.0...v1.0.1) (2024-11-11)
|
|
101
|
+
|
|
102
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
103
|
+
|
|
104
|
+
# [1.0.0](https://github.com/adobe/spectrum-web-components/compare/v0.49.0...v1.0.0) (2024-10-31)
|
|
105
|
+
|
|
106
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
107
|
+
|
|
108
|
+
# [0.49.0](https://github.com/adobe/spectrum-web-components/compare/v0.48.1...v0.49.0) (2024-10-15)
|
|
109
|
+
|
|
110
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
111
|
+
|
|
112
|
+
## [0.48.1](https://github.com/adobe/spectrum-web-components/compare/v0.48.0...v0.48.1) (2024-10-01)
|
|
113
|
+
|
|
114
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
115
|
+
|
|
116
|
+
# [0.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)
|
|
117
|
+
|
|
118
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
119
|
+
|
|
120
|
+
## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)
|
|
121
|
+
|
|
122
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
123
|
+
|
|
124
|
+
## [0.47.1](https://github.com/adobe/spectrum-web-components/compare/v0.47.0...v0.47.1) (2024-08-27)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
127
|
+
|
|
128
|
+
# [0.47.0](https://github.com/adobe/spectrum-web-components/compare/v0.46.0...v0.47.0) (2024-08-20)
|
|
129
|
+
|
|
130
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
131
|
+
|
|
132
|
+
# [0.46.0](https://github.com/adobe/spectrum-web-components/compare/v0.45.0...v0.46.0) (2024-08-08)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
135
|
+
|
|
136
|
+
# [0.45.0](https://github.com/adobe/spectrum-web-components/compare/v0.44.0...v0.45.0) (2024-07-30)
|
|
137
|
+
|
|
138
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
139
|
+
|
|
140
|
+
# [0.44.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.44.0) (2024-07-15)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
143
|
+
|
|
144
|
+
# [0.43.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.43.0) (2024-06-11)
|
|
145
|
+
|
|
146
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
147
|
+
|
|
148
|
+
## [0.42.5](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.42.5) (2024-05-24)
|
|
149
|
+
|
|
150
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
151
|
+
|
|
152
|
+
## [0.42.4](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.4) (2024-05-14)
|
|
153
|
+
|
|
154
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
155
|
+
|
|
156
|
+
## [0.42.3](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.3) (2024-05-01)
|
|
157
|
+
|
|
158
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
159
|
+
|
|
160
|
+
## [0.42.2](https://github.com/adobe/spectrum-web-components/compare/v0.42.1...v0.42.2) (2024-04-03)
|
|
161
|
+
|
|
162
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
163
|
+
|
|
164
|
+
## [0.42.1](https://github.com/adobe/spectrum-web-components/compare/v0.42.0...v0.42.1) (2024-04-02)
|
|
165
|
+
|
|
166
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
167
|
+
|
|
168
|
+
# [0.42.0](https://github.com/adobe/spectrum-web-components/compare/v0.41.2...v0.42.0) (2024-03-19)
|
|
169
|
+
|
|
170
|
+
### Features
|
|
171
|
+
|
|
172
|
+
- **asset:** use core tokens ([99e76f4](https://github.com/adobe/spectrum-web-components/commit/99e76f4d32e990960b7fa2f0613ed4144adc4f6e))
|
|
173
|
+
|
|
174
|
+
## [0.41.2](https://github.com/adobe/spectrum-web-components/compare/v0.41.1...v0.41.2) (2024-03-05)
|
|
175
|
+
|
|
176
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
177
|
+
|
|
178
|
+
## [0.41.1](https://github.com/adobe/spectrum-web-components/compare/v0.41.0...v0.41.1) (2024-02-22)
|
|
179
|
+
|
|
180
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
181
|
+
|
|
182
|
+
# [0.41.0](https://github.com/adobe/spectrum-web-components/compare/v0.40.5...v0.41.0) (2024-02-13)
|
|
183
|
+
|
|
184
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
185
|
+
|
|
186
|
+
## [0.40.5](https://github.com/adobe/spectrum-web-components/compare/v0.40.4...v0.40.5) (2024-02-05)
|
|
187
|
+
|
|
188
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
189
|
+
|
|
190
|
+
## [0.40.4](https://github.com/adobe/spectrum-web-components/compare/v0.40.3...v0.40.4) (2024-01-29)
|
|
191
|
+
|
|
192
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
193
|
+
|
|
194
|
+
## [0.40.3](https://github.com/adobe/spectrum-web-components/compare/v0.40.2...v0.40.3) (2024-01-11)
|
|
195
|
+
|
|
196
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
197
|
+
|
|
198
|
+
## [0.40.2](https://github.com/adobe/spectrum-web-components/compare/v0.40.1...v0.40.2) (2023-12-18)
|
|
199
|
+
|
|
200
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
201
|
+
|
|
202
|
+
## [0.40.1](https://github.com/adobe/spectrum-web-components/compare/v0.40.0...v0.40.1) (2023-12-05)
|
|
203
|
+
|
|
204
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
205
|
+
|
|
206
|
+
# [0.40.0](https://github.com/adobe/spectrum-web-components/compare/v0.39.4...v0.40.0) (2023-11-16)
|
|
207
|
+
|
|
208
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
209
|
+
|
|
210
|
+
## [0.39.4](https://github.com/adobe/spectrum-web-components/compare/v0.39.3...v0.39.4) (2023-11-02)
|
|
211
|
+
|
|
212
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
213
|
+
|
|
214
|
+
## [0.39.3](https://github.com/adobe/spectrum-web-components/compare/v0.39.2...v0.39.3) (2023-10-18)
|
|
215
|
+
|
|
216
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
217
|
+
|
|
218
|
+
## [0.39.2](https://github.com/adobe/spectrum-web-components/compare/v0.39.1...v0.39.2) (2023-10-13)
|
|
219
|
+
|
|
220
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
221
|
+
|
|
222
|
+
## [0.39.1](https://github.com/adobe/spectrum-web-components/compare/v0.39.0...v0.39.1) (2023-10-06)
|
|
223
|
+
|
|
224
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
225
|
+
|
|
226
|
+
# [0.39.0](https://github.com/adobe/spectrum-web-components/compare/v0.38.0...v0.39.0) (2023-09-25)
|
|
227
|
+
|
|
228
|
+
### Bug Fixes
|
|
229
|
+
|
|
230
|
+
- **alert-dialog:** add Alert Dialog package ([#3501](https://github.com/adobe/spectrum-web-components/issues/3501)) ([1062847](https://github.com/adobe/spectrum-web-components/commit/10628476d39ef45c23efa8b6ac53d4a2e334a92f))
|
|
231
|
+
|
|
232
|
+
# [0.38.0](https://github.com/adobe/spectrum-web-components/compare/v0.37.0...v0.38.0) (2023-09-05)
|
|
233
|
+
|
|
234
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
235
|
+
|
|
236
|
+
# [0.37.0](https://github.com/adobe/spectrum-web-components/compare/v0.36.0...v0.37.0) (2023-08-18)
|
|
237
|
+
|
|
238
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
239
|
+
|
|
240
|
+
# [0.36.0](https://github.com/adobe/spectrum-web-components/compare/v0.35.0...v0.36.0) (2023-08-18)
|
|
241
|
+
|
|
242
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
243
|
+
|
|
244
|
+
# [0.35.0](https://github.com/adobe/spectrum-web-components/compare/v0.34.0...v0.35.0) (2023-07-31)
|
|
245
|
+
|
|
246
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
247
|
+
|
|
248
|
+
# [0.34.0](https://github.com/adobe/spectrum-web-components/compare/v0.33.2...v0.34.0) (2023-07-11)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
251
|
+
|
|
252
|
+
## [0.33.2](https://github.com/adobe/spectrum-web-components/compare/v0.33.1...v0.33.2) (2023-06-14)
|
|
253
|
+
|
|
254
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
255
|
+
|
|
256
|
+
# [0.33.0](https://github.com/adobe/spectrum-web-components/compare/v0.32.0...v0.33.0) (2023-06-08)
|
|
257
|
+
|
|
258
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
259
|
+
|
|
260
|
+
# [0.32.0](https://github.com/adobe/spectrum-web-components/compare/v0.31.0...v0.32.0) (2023-06-01)
|
|
261
|
+
|
|
262
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
263
|
+
|
|
264
|
+
# [0.31.0](https://github.com/adobe/spectrum-web-components/compare/v0.30.0...v0.31.0) (2023-05-17)
|
|
265
|
+
|
|
266
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
267
|
+
|
|
268
|
+
# 0.30.0 (2023-05-03)
|
|
269
|
+
|
|
270
|
+
### Bug Fixes
|
|
271
|
+
|
|
272
|
+
- include default export in the "exports" fields ([f32407d](https://github.com/adobe/spectrum-web-components/commit/f32407d7bbfd18e72c35b6f27740549e79957858))
|
|
273
|
+
- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b))
|
|
274
|
+
- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103))
|
|
275
|
+
- update side effect listings ([8160d3a](https://github.com/adobe/spectrum-web-components/commit/8160d3ab2c4f5ea11ac40897a5cf1fdaa357f4a8))
|
|
276
|
+
- update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937))
|
|
277
|
+
- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5))
|
|
278
|
+
|
|
279
|
+
### Features
|
|
280
|
+
|
|
281
|
+
- adopt DNA@7 base Spectrum CSS ([e08cafd](https://github.com/adobe/spectrum-web-components/commit/e08cafda9f1b33b0163fbe5ba66754806be8f9e4))
|
|
282
|
+
- **button-group:** add ButtonGroup pattern ([c4d85b5](https://github.com/adobe/spectrum-web-components/commit/c4d85b5524f6623dbd3cb22c0d6fa8fc00e98733))
|
|
283
|
+
- **button-group:** update spectrum css input ([d8b1218](https://github.com/adobe/spectrum-web-components/commit/d8b1218f3993d378115206b125ca3e92ba756203))
|
|
284
|
+
- **button-group:** use core tokens and add t-shirt sizing ([960e972](https://github.com/adobe/spectrum-web-components/commit/960e9726aa9be615a6b971079fa2d7436d898243))
|
|
285
|
+
- include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251))
|
|
286
|
+
- leverage "exports" field in package.json ([321abd7](https://github.com/adobe/spectrum-web-components/commit/321abd7b7e78ccd9157cff75a1fa3dbd06e81f79))
|
|
287
|
+
- shared pkg versions, devmode define warning, registry-conflicts docs ([6e49565](https://github.com/adobe/spectrum-web-components/commit/6e4956519b845fa8127f8032948b625c252ef7a6))
|
|
288
|
+
- update to Spectrum CSS v3.0.0 ([e8b3d8f](https://github.com/adobe/spectrum-web-components/commit/e8b3d8f75c77c04b4d7af126b91b0f6ad2a40742))
|
|
289
|
+
- use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008))
|
|
290
|
+
|
|
291
|
+
## [0.10.11](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.10...@spectrum-web-components/button-group@0.10.11) (2023-04-24)
|
|
292
|
+
|
|
293
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
294
|
+
|
|
295
|
+
## [0.10.10](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.9...@spectrum-web-components/button-group@0.10.10) (2023-04-05)
|
|
296
|
+
|
|
297
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
298
|
+
|
|
299
|
+
## [0.10.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.8...@spectrum-web-components/button-group@0.10.9) (2023-03-22)
|
|
300
|
+
|
|
301
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
302
|
+
|
|
303
|
+
## [0.10.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.7...@spectrum-web-components/button-group@0.10.8) (2023-03-08)
|
|
304
|
+
|
|
305
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
306
|
+
|
|
307
|
+
## [0.10.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.6...@spectrum-web-components/button-group@0.10.7) (2023-02-13)
|
|
308
|
+
|
|
309
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
310
|
+
|
|
311
|
+
## [0.10.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.5...@spectrum-web-components/button-group@0.10.6) (2023-02-08)
|
|
312
|
+
|
|
313
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
314
|
+
|
|
315
|
+
## [0.10.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.4...@spectrum-web-components/button-group@0.10.5) (2023-01-23)
|
|
316
|
+
|
|
317
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
318
|
+
|
|
319
|
+
## [0.10.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.3...@spectrum-web-components/button-group@0.10.4) (2023-01-09)
|
|
320
|
+
|
|
321
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
322
|
+
|
|
323
|
+
## [0.10.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.2...@spectrum-web-components/button-group@0.10.3) (2022-12-08)
|
|
324
|
+
|
|
325
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
326
|
+
|
|
327
|
+
## [0.10.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.1...@spectrum-web-components/button-group@0.10.2) (2022-11-21)
|
|
328
|
+
|
|
329
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
330
|
+
|
|
331
|
+
## [0.10.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.10.0...@spectrum-web-components/button-group@0.10.1) (2022-11-14)
|
|
332
|
+
|
|
333
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
334
|
+
|
|
335
|
+
# [0.10.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.9.0...@spectrum-web-components/button-group@0.10.0) (2022-10-28)
|
|
336
|
+
|
|
337
|
+
### Features
|
|
338
|
+
|
|
339
|
+
- **button-group:** use core tokens and add t-shirt sizing ([960e972](https://github.com/adobe/spectrum-web-components/commit/960e9726aa9be615a6b971079fa2d7436d898243))
|
|
340
|
+
|
|
341
|
+
# [0.9.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.12...@spectrum-web-components/button-group@0.9.0) (2022-08-09)
|
|
342
|
+
|
|
343
|
+
### Features
|
|
344
|
+
|
|
345
|
+
- include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251))
|
|
346
|
+
|
|
347
|
+
## [0.8.12](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.11...@spectrum-web-components/button-group@0.8.12) (2022-08-04)
|
|
348
|
+
|
|
349
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
350
|
+
|
|
351
|
+
## [0.8.11](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.10...@spectrum-web-components/button-group@0.8.11) (2022-07-18)
|
|
352
|
+
|
|
353
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
354
|
+
|
|
355
|
+
## [0.8.10](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.9...@spectrum-web-components/button-group@0.8.10) (2022-06-29)
|
|
356
|
+
|
|
357
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
358
|
+
|
|
359
|
+
## [0.8.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.8...@spectrum-web-components/button-group@0.8.9) (2022-06-07)
|
|
360
|
+
|
|
361
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
362
|
+
|
|
363
|
+
## [0.8.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.7...@spectrum-web-components/button-group@0.8.8) (2022-05-27)
|
|
364
|
+
|
|
365
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
366
|
+
|
|
367
|
+
## [0.8.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.6...@spectrum-web-components/button-group@0.8.7) (2022-05-12)
|
|
368
|
+
|
|
369
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
370
|
+
|
|
371
|
+
## [0.8.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.5...@spectrum-web-components/button-group@0.8.6) (2022-04-21)
|
|
372
|
+
|
|
373
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
374
|
+
|
|
375
|
+
## [0.8.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.4...@spectrum-web-components/button-group@0.8.5) (2022-03-08)
|
|
376
|
+
|
|
377
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
378
|
+
|
|
379
|
+
## [0.8.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.3...@spectrum-web-components/button-group@0.8.4) (2022-03-04)
|
|
380
|
+
|
|
381
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
382
|
+
|
|
383
|
+
## [0.8.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.2...@spectrum-web-components/button-group@0.8.3) (2022-02-22)
|
|
384
|
+
|
|
385
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
386
|
+
|
|
387
|
+
## [0.8.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.1...@spectrum-web-components/button-group@0.8.2) (2022-01-26)
|
|
388
|
+
|
|
389
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
390
|
+
|
|
391
|
+
## [0.8.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.8.0...@spectrum-web-components/button-group@0.8.1) (2021-12-13)
|
|
392
|
+
|
|
393
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
394
|
+
|
|
395
|
+
# [0.8.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.7.1...@spectrum-web-components/button-group@0.8.0) (2021-11-08)
|
|
396
|
+
|
|
397
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
398
|
+
|
|
399
|
+
## [0.7.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.7.0...@spectrum-web-components/button-group@0.7.1) (2021-11-08)
|
|
400
|
+
|
|
401
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
402
|
+
|
|
403
|
+
# [0.7.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.10...@spectrum-web-components/button-group@0.7.0) (2021-11-02)
|
|
404
|
+
|
|
405
|
+
### Features
|
|
406
|
+
|
|
407
|
+
- adopt DNA@7 base Spectrum CSS ([e08cafd](https://github.com/adobe/spectrum-web-components/commit/e08cafda9f1b33b0163fbe5ba66754806be8f9e4))
|
|
408
|
+
|
|
409
|
+
## [0.6.10](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.9...@spectrum-web-components/button-group@0.6.10) (2021-09-20)
|
|
410
|
+
|
|
411
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
412
|
+
|
|
413
|
+
## [0.6.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.8...@spectrum-web-components/button-group@0.6.9) (2021-08-24)
|
|
414
|
+
|
|
415
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
416
|
+
|
|
417
|
+
## [0.6.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.7...@spectrum-web-components/button-group@0.6.8) (2021-07-22)
|
|
418
|
+
|
|
419
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
420
|
+
|
|
421
|
+
## [0.6.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.6...@spectrum-web-components/button-group@0.6.7) (2021-06-16)
|
|
422
|
+
|
|
423
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
424
|
+
|
|
425
|
+
## [0.6.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.5...@spectrum-web-components/button-group@0.6.6) (2021-05-12)
|
|
426
|
+
|
|
427
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
428
|
+
|
|
429
|
+
## [0.6.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.4...@spectrum-web-components/button-group@0.6.5) (2021-04-09)
|
|
430
|
+
|
|
431
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
432
|
+
|
|
433
|
+
## [0.6.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.3...@spectrum-web-components/button-group@0.6.4) (2021-03-29)
|
|
434
|
+
|
|
435
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
436
|
+
|
|
437
|
+
## [0.6.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.2...@spectrum-web-components/button-group@0.6.3) (2021-03-22)
|
|
438
|
+
|
|
439
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
440
|
+
|
|
441
|
+
## [0.6.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.1...@spectrum-web-components/button-group@0.6.2) (2021-03-22)
|
|
442
|
+
|
|
443
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
444
|
+
|
|
445
|
+
## [0.6.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.6.0...@spectrum-web-components/button-group@0.6.1) (2021-03-05)
|
|
446
|
+
|
|
447
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
448
|
+
|
|
449
|
+
# [0.6.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.5.3...@spectrum-web-components/button-group@0.6.0) (2021-03-04)
|
|
450
|
+
|
|
451
|
+
### Features
|
|
452
|
+
|
|
453
|
+
- use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008))
|
|
454
|
+
|
|
455
|
+
## [0.5.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.5.2...@spectrum-web-components/button-group@0.5.3) (2021-02-11)
|
|
456
|
+
|
|
457
|
+
### Bug Fixes
|
|
458
|
+
|
|
459
|
+
- update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937))
|
|
460
|
+
|
|
461
|
+
## [0.5.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.5.1...@spectrum-web-components/button-group@0.5.2) (2021-02-02)
|
|
462
|
+
|
|
463
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
464
|
+
|
|
465
|
+
## [0.5.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.5.0...@spectrum-web-components/button-group@0.5.1) (2021-01-28)
|
|
466
|
+
|
|
467
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
468
|
+
|
|
469
|
+
# [0.5.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.3.4...@spectrum-web-components/button-group@0.5.0) (2021-01-21)
|
|
470
|
+
|
|
471
|
+
### Bug Fixes
|
|
472
|
+
|
|
473
|
+
- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b))
|
|
474
|
+
- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103))
|
|
475
|
+
- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5))
|
|
476
|
+
|
|
477
|
+
### Features
|
|
478
|
+
|
|
479
|
+
- **button-group:** update spectrum css input ([d8b1218](https://github.com/adobe/spectrum-web-components/commit/d8b1218f3993d378115206b125ca3e92ba756203))
|
|
480
|
+
|
|
481
|
+
# [0.4.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.3.4...@spectrum-web-components/button-group@0.4.0) (2021-01-13)
|
|
482
|
+
|
|
483
|
+
### Bug Fixes
|
|
484
|
+
|
|
485
|
+
- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b))
|
|
486
|
+
- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103))
|
|
487
|
+
- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5))
|
|
488
|
+
|
|
489
|
+
### Features
|
|
490
|
+
|
|
491
|
+
- **button-group:** update spectrum css input ([d8b1218](https://github.com/adobe/spectrum-web-components/commit/d8b1218f3993d378115206b125ca3e92ba756203))
|
|
492
|
+
|
|
493
|
+
## [0.3.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.3.3...@spectrum-web-components/button-group@0.3.4) (2020-10-12)
|
|
494
|
+
|
|
495
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
496
|
+
|
|
497
|
+
## [0.3.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.3.2...@spectrum-web-components/button-group@0.3.3) (2020-10-12)
|
|
498
|
+
|
|
499
|
+
### Bug Fixes
|
|
500
|
+
|
|
501
|
+
- include default export in the "exports" fields ([f32407d](https://github.com/adobe/spectrum-web-components/commit/f32407d7bbfd18e72c35b6f27740549e79957858))
|
|
502
|
+
|
|
503
|
+
## [0.3.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.3.1...@spectrum-web-components/button-group@0.3.2) (2020-09-25)
|
|
504
|
+
|
|
505
|
+
### Bug Fixes
|
|
506
|
+
|
|
507
|
+
- update side effect listings ([8160d3a](https://github.com/adobe/spectrum-web-components/commit/8160d3ab2c4f5ea11ac40897a5cf1fdaa357f4a8))
|
|
508
|
+
|
|
509
|
+
## [0.3.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.3.0...@spectrum-web-components/button-group@0.3.1) (2020-09-14)
|
|
510
|
+
|
|
511
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
512
|
+
|
|
513
|
+
# [0.3.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.2.4...@spectrum-web-components/button-group@0.3.0) (2020-08-31)
|
|
514
|
+
|
|
515
|
+
### Features
|
|
516
|
+
|
|
517
|
+
- update to Spectrum CSS v3.0.0 ([e8b3d8f](https://github.com/adobe/spectrum-web-components/commit/e8b3d8f75c77c04b4d7af126b91b0f6ad2a40742))
|
|
518
|
+
|
|
519
|
+
## [0.2.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.2.3...@spectrum-web-components/button-group@0.2.4) (2020-08-19)
|
|
520
|
+
|
|
521
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
522
|
+
|
|
523
|
+
## [0.2.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.2.2...@spectrum-web-components/button-group@0.2.3) (2020-07-27)
|
|
524
|
+
|
|
525
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
526
|
+
|
|
527
|
+
## [0.2.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.2.1...@spectrum-web-components/button-group@0.2.2) (2020-07-24)
|
|
528
|
+
|
|
529
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
530
|
+
|
|
531
|
+
## [0.2.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.2.0...@spectrum-web-components/button-group@0.2.1) (2020-07-22)
|
|
532
|
+
|
|
533
|
+
**Note:** Version bump only for package @spectrum-web-components/button-group
|
|
534
|
+
|
|
535
|
+
# [0.2.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button-group@0.1.0...@spectrum-web-components/button-group@0.2.0) (2020-07-17)
|
|
536
|
+
|
|
537
|
+
### Features
|
|
538
|
+
|
|
539
|
+
- leverage "exports" field in package.json ([321abd7](https://github.com/adobe/spectrum-web-components/commit/321abd7b7e78ccd9157cff75a1fa3dbd06e81f79))
|
|
540
|
+
|
|
541
|
+
# 0.1.0 (2020-06-08)
|
|
542
|
+
|
|
543
|
+
### Features
|
|
544
|
+
|
|
545
|
+
- **button-group:** add ButtonGroup pattern ([c4d85b5](https://github.com/adobe/spectrum-web-components/commit/c4d85b5524f6623dbd3cb22c0d6fa8fc00e98733))
|
package/package.json
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
"name": "@spectrum-web-components/button-group",
|
|
3
|
+
"version": "1.9.1-nightly.20251028214328",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"description": "",
|
|
8
|
+
"license": "Apache-2.0",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/adobe/spectrum-web-components.git",
|
|
12
|
+
"directory": "1st-gen/packages/button-group"
|
|
13
|
+
},
|
|
14
|
+
"author": "Adobe",
|
|
15
|
+
"homepage": "https://opensource.adobe.com/spectrum-web-components/components/button-group",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/adobe/spectrum-web-components/issues"
|
|
18
|
+
},
|
|
19
|
+
"main": "./src/index.js",
|
|
20
|
+
"module": "./src/index.js",
|
|
21
|
+
"type": "module",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"development": "./src/index.dev.js",
|
|
25
|
+
"default": "./src/index.js"
|
|
6
26
|
},
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"url": "https://github.com/adobe/spectrum-web-components.git",
|
|
12
|
-
"directory": "packages/button-group"
|
|
27
|
+
"./package.json": "./package.json",
|
|
28
|
+
"./src/ButtonGroup.js": {
|
|
29
|
+
"development": "./src/ButtonGroup.dev.js",
|
|
30
|
+
"default": "./src/ButtonGroup.js"
|
|
13
31
|
},
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
32
|
+
"./src/button-group-overrides.css.js": "./src/button-group-overrides.css.js",
|
|
33
|
+
"./src/button-group.css.js": "./src/button-group.css.js",
|
|
34
|
+
"./src/index.js": {
|
|
35
|
+
"development": "./src/index.dev.js",
|
|
36
|
+
"default": "./src/index.js"
|
|
18
37
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"adobe-spectrum",
|
|
59
|
-
"web components",
|
|
60
|
-
"web-components",
|
|
61
|
-
"lit-element",
|
|
62
|
-
"lit-html",
|
|
63
|
-
"component",
|
|
64
|
-
"css"
|
|
65
|
-
],
|
|
66
|
-
"dependencies": {
|
|
67
|
-
"@spectrum-web-components/base": "1.9.0",
|
|
68
|
-
"@spectrum-web-components/button": "1.9.0"
|
|
69
|
-
},
|
|
70
|
-
"types": "./src/index.d.ts",
|
|
71
|
-
"customElements": "custom-elements.json",
|
|
72
|
-
"sideEffects": [
|
|
73
|
-
"./sp-*.js",
|
|
74
|
-
"./**/*.dev.js"
|
|
75
|
-
]
|
|
76
|
-
}
|
|
38
|
+
"./sp-button-group.js": {
|
|
39
|
+
"development": "./sp-button-group.dev.js",
|
|
40
|
+
"default": "./sp-button-group.js"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"test": "echo \"Error: run tests from mono-repo root.\" && exit 1"
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"**/*.d.ts",
|
|
48
|
+
"**/*.js",
|
|
49
|
+
"**/*.js.map",
|
|
50
|
+
"custom-elements.json",
|
|
51
|
+
"!stories/",
|
|
52
|
+
"!test/"
|
|
53
|
+
],
|
|
54
|
+
"keywords": [
|
|
55
|
+
"design-system",
|
|
56
|
+
"spectrum",
|
|
57
|
+
"adobe",
|
|
58
|
+
"adobe-spectrum",
|
|
59
|
+
"web components",
|
|
60
|
+
"web-components",
|
|
61
|
+
"lit-element",
|
|
62
|
+
"lit-html",
|
|
63
|
+
"component",
|
|
64
|
+
"css"
|
|
65
|
+
],
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@spectrum-web-components/base": "1.9.1-nightly.20251028214328",
|
|
68
|
+
"@spectrum-web-components/button": "1.9.1-nightly.20251028214328"
|
|
69
|
+
},
|
|
70
|
+
"types": "./src/index.d.ts",
|
|
71
|
+
"customElements": "custom-elements.json",
|
|
72
|
+
"sideEffects": [
|
|
73
|
+
"./sp-*.js",
|
|
74
|
+
"./**/*.dev.js"
|
|
75
|
+
]
|
|
76
|
+
}
|
package/custom-elements.json
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "1.0.0",
|
|
3
|
-
"readme": "",
|
|
4
|
-
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "sp-button-group.js",
|
|
8
|
-
"declarations": [],
|
|
9
|
-
"exports": [
|
|
10
|
-
{
|
|
11
|
-
"kind": "custom-element-definition",
|
|
12
|
-
"name": "sp-button-group",
|
|
13
|
-
"declaration": {
|
|
14
|
-
"name": "ButtonGroup",
|
|
15
|
-
"module": "/src/ButtonGroup.js"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"kind": "javascript-module",
|
|
22
|
-
"path": "src/ButtonGroup.js",
|
|
23
|
-
"declarations": [
|
|
24
|
-
{
|
|
25
|
-
"kind": "class",
|
|
26
|
-
"description": "",
|
|
27
|
-
"name": "ButtonGroup",
|
|
28
|
-
"slots": [
|
|
29
|
-
{
|
|
30
|
-
"description": "the sp-button elements that make up the group",
|
|
31
|
-
"name": ""
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"members": [
|
|
35
|
-
{
|
|
36
|
-
"kind": "field",
|
|
37
|
-
"name": "vertical",
|
|
38
|
-
"type": {
|
|
39
|
-
"text": "boolean"
|
|
40
|
-
},
|
|
41
|
-
"privacy": "public",
|
|
42
|
-
"default": "false",
|
|
43
|
-
"attribute": "vertical",
|
|
44
|
-
"reflects": true
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"kind": "field",
|
|
48
|
-
"name": "slotElement",
|
|
49
|
-
"type": {
|
|
50
|
-
"text": "HTMLSlotElement"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"kind": "method",
|
|
55
|
-
"name": "handleSlotchange",
|
|
56
|
-
"privacy": "protected",
|
|
57
|
-
"return": {
|
|
58
|
-
"type": {
|
|
59
|
-
"text": "void"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"parameters": [
|
|
63
|
-
{
|
|
64
|
-
"name": "{\n target: slot,\n }",
|
|
65
|
-
"type": {
|
|
66
|
-
"text": "Event & { target: HTMLSlotElement }"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"kind": "method",
|
|
73
|
-
"name": "manageChildrenSize",
|
|
74
|
-
"privacy": "private",
|
|
75
|
-
"return": {
|
|
76
|
-
"type": {
|
|
77
|
-
"text": "void"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"parameters": [
|
|
81
|
-
{
|
|
82
|
-
"name": "slot",
|
|
83
|
-
"type": {
|
|
84
|
-
"text": "HTMLSlotElement"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"attributes": [
|
|
91
|
-
{
|
|
92
|
-
"name": "vertical",
|
|
93
|
-
"type": {
|
|
94
|
-
"text": "boolean"
|
|
95
|
-
},
|
|
96
|
-
"default": "false",
|
|
97
|
-
"fieldName": "vertical"
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"mixins": [
|
|
101
|
-
{
|
|
102
|
-
"name": "SizedMixin",
|
|
103
|
-
"package": "@spectrum-web-components/base"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"superclass": {
|
|
107
|
-
"name": "SpectrumElement",
|
|
108
|
-
"package": "@spectrum-web-components/base"
|
|
109
|
-
},
|
|
110
|
-
"tagName": "sp-button-group",
|
|
111
|
-
"customElement": true
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"exports": [
|
|
115
|
-
{
|
|
116
|
-
"kind": "js",
|
|
117
|
-
"name": "ButtonGroup",
|
|
118
|
-
"declaration": {
|
|
119
|
-
"name": "ButtonGroup",
|
|
120
|
-
"module": "src/ButtonGroup.js"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
]
|
|
126
|
-
}
|
package/sp-button-group.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 { ButtonGroup } from './src/ButtonGroup.js';
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
'sp-button-group': ButtonGroup;
|
|
16
|
-
}
|
|
17
|
-
}
|
package/sp-button-group.dev.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["sp-button-group.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 { ButtonGroup } from './src/ButtonGroup.dev.js'\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-button-group', ButtonGroup);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-button-group': ButtonGroup;\n }\n}\n"],
|
|
5
|
-
"mappings": ";AAWA,SAAS,mBAAmB;AAC5B,SAAS,qBAAqB;AAE9B,cAAc,mBAAmB,WAAW;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/sp-button-group.js
DELETED
package/sp-button-group.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["sp-button-group.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 { ButtonGroup } from './src/ButtonGroup.js';\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-button-group', ButtonGroup);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-button-group': ButtonGroup;\n }\n}\n"],
|
|
5
|
-
"mappings": "aAWA,OAAS,eAAAA,MAAmB,uBAC5B,OAAS,iBAAAC,MAAqB,sDAE9BA,EAAc,kBAAmBD,CAAW",
|
|
6
|
-
"names": ["ButtonGroup", "defineElement"]
|
|
7
|
-
}
|
package/src/ButtonGroup.d.ts
DELETED
|
@@ -1,32 +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, PropertyValues, SpectrumElement, TemplateResult } from '@spectrum-web-components/base';
|
|
13
|
-
declare const ButtonGroup_base: typeof SpectrumElement & {
|
|
14
|
-
new (...args: any[]): import("@spectrum-web-components/base").SizedElementInterface;
|
|
15
|
-
prototype: import("@spectrum-web-components/base").SizedElementInterface;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* @element sp-button-group
|
|
19
|
-
* @slot - the sp-button elements that make up the group
|
|
20
|
-
*/
|
|
21
|
-
export declare class ButtonGroup extends ButtonGroup_base {
|
|
22
|
-
static get styles(): CSSResultArray;
|
|
23
|
-
vertical: boolean;
|
|
24
|
-
slotElement: HTMLSlotElement;
|
|
25
|
-
protected updated(changedProperties: PropertyValues): void;
|
|
26
|
-
protected handleSlotchange({ target: slot, }: Event & {
|
|
27
|
-
target: HTMLSlotElement;
|
|
28
|
-
}): void;
|
|
29
|
-
private manageChildrenSize;
|
|
30
|
-
protected render(): TemplateResult;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
package/src/ButtonGroup.dev.js
DELETED
|
@@ -1,61 +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
|
-
SizedMixin,
|
|
15
|
-
SpectrumElement
|
|
16
|
-
} from "@spectrum-web-components/base";
|
|
17
|
-
import {
|
|
18
|
-
property,
|
|
19
|
-
query
|
|
20
|
-
} from "@spectrum-web-components/base/src/decorators.js";
|
|
21
|
-
import styles from "./button-group.css.js";
|
|
22
|
-
export class ButtonGroup extends SizedMixin(SpectrumElement, {
|
|
23
|
-
noDefaultSize: true
|
|
24
|
-
}) {
|
|
25
|
-
constructor() {
|
|
26
|
-
super(...arguments);
|
|
27
|
-
this.vertical = false;
|
|
28
|
-
}
|
|
29
|
-
static get styles() {
|
|
30
|
-
return [styles];
|
|
31
|
-
}
|
|
32
|
-
updated(changedProperties) {
|
|
33
|
-
super.updated(changedProperties);
|
|
34
|
-
if (changedProperties.has("size")) {
|
|
35
|
-
this.manageChildrenSize(this.slotElement);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
handleSlotchange({
|
|
39
|
-
target: slot
|
|
40
|
-
}) {
|
|
41
|
-
this.manageChildrenSize(slot);
|
|
42
|
-
}
|
|
43
|
-
manageChildrenSize(slot) {
|
|
44
|
-
const assignedElements = slot.assignedElements();
|
|
45
|
-
assignedElements.forEach((button) => {
|
|
46
|
-
button.size = this.size;
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
render() {
|
|
50
|
-
return html`
|
|
51
|
-
<slot @slotchange=${this.handleSlotchange}></slot>
|
|
52
|
-
`;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
__decorateClass([
|
|
56
|
-
property({ type: Boolean, reflect: true })
|
|
57
|
-
], ButtonGroup.prototype, "vertical", 2);
|
|
58
|
-
__decorateClass([
|
|
59
|
-
query("slot")
|
|
60
|
-
], ButtonGroup.prototype, "slotElement", 2);
|
|
61
|
-
//# sourceMappingURL=ButtonGroup.dev.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["ButtonGroup.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 PropertyValues,\n SizedMixin,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport {\n property,\n query,\n} from '@spectrum-web-components/base/src/decorators.js';\nimport type { Button } from '@spectrum-web-components/button';\n\nimport styles from './button-group.css.js';\n\n/**\n * @element sp-button-group\n * @slot - the sp-button elements that make up the group\n */\nexport class ButtonGroup extends SizedMixin(SpectrumElement, {\n noDefaultSize: true,\n}) {\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n @property({ type: Boolean, reflect: true })\n public vertical = false;\n\n @query('slot')\n slotElement!: HTMLSlotElement;\n\n protected override updated(changedProperties: PropertyValues): void {\n super.updated(changedProperties);\n\n if (changedProperties.has('size')) {\n this.manageChildrenSize(this.slotElement);\n }\n }\n\n protected handleSlotchange({\n target: slot,\n }: Event & { target: HTMLSlotElement }): void {\n this.manageChildrenSize(slot);\n }\n\n private manageChildrenSize(slot: HTMLSlotElement): void {\n const assignedElements = slot.assignedElements() as Button[];\n assignedElements.forEach((button) => {\n button.size = this.size;\n });\n }\n\n protected override render(): TemplateResult {\n return html`\n <slot @slotchange=${this.handleSlotchange}></slot>\n `;\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;AAYA;AAAA,EAEI;AAAA,EAEA;AAAA,EACA;AAAA,OAEG;AACP;AAAA,EACI;AAAA,EACA;AAAA,OACG;AAGP,OAAO,YAAY;AAMZ,aAAM,oBAAoB,WAAW,iBAAiB;AAAA,EACzD,eAAe;AACnB,CAAC,EAAE;AAAA,EAFI;AAAA;AAQH,SAAO,WAAW;AAAA;AAAA,EALlB,WAA2B,SAAyB;AAChD,WAAO,CAAC,MAAM;AAAA,EAClB;AAAA,EAQmB,QAAQ,mBAAyC;AAChE,UAAM,QAAQ,iBAAiB;AAE/B,QAAI,kBAAkB,IAAI,MAAM,GAAG;AAC/B,WAAK,mBAAmB,KAAK,WAAW;AAAA,IAC5C;AAAA,EACJ;AAAA,EAEU,iBAAiB;AAAA,IACvB,QAAQ;AAAA,EACZ,GAA8C;AAC1C,SAAK,mBAAmB,IAAI;AAAA,EAChC;AAAA,EAEQ,mBAAmB,MAA6B;AACpD,UAAM,mBAAmB,KAAK,iBAAiB;AAC/C,qBAAiB,QAAQ,CAAC,WAAW;AACjC,aAAO,OAAO,KAAK;AAAA,IACvB,CAAC;AAAA,EACL;AAAA,EAEmB,SAAyB;AACxC,WAAO;AAAA,gCACiB,KAAK,gBAAgB;AAAA;AAAA,EAEjD;AACJ;AA/BW;AAAA,EADN,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAPjC,YAQF;AAGP;AAAA,EADC,MAAM,MAAM;AAAA,GAVJ,YAWT;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/src/ButtonGroup.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var n=(s,r,e,l)=>{for(var t=l>1?void 0:l?m(r,e):r,o=s.length-1,i;o>=0;o--)(i=s[o])&&(t=(l?i(r,e,t):i(t))||t);return l&&t&&a(r,e,t),t};import{html as d,SizedMixin as p,SpectrumElement as u}from"@spectrum-web-components/base";import{property as c,query as h}from"@spectrum-web-components/base/src/decorators.js";import S from"./button-group.css.js";export class ButtonGroup extends p(u,{noDefaultSize:!0}){constructor(){super(...arguments);this.vertical=!1}static get styles(){return[S]}updated(e){super.updated(e),e.has("size")&&this.manageChildrenSize(this.slotElement)}handleSlotchange({target:e}){this.manageChildrenSize(e)}manageChildrenSize(e){e.assignedElements().forEach(t=>{t.size=this.size})}render(){return d`
|
|
2
|
-
<slot @slotchange=${this.handleSlotchange}></slot>
|
|
3
|
-
`}}n([c({type:Boolean,reflect:!0})],ButtonGroup.prototype,"vertical",2),n([h("slot")],ButtonGroup.prototype,"slotElement",2);
|
|
4
|
-
//# sourceMappingURL=ButtonGroup.js.map
|
package/src/ButtonGroup.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["ButtonGroup.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 PropertyValues,\n SizedMixin,\n SpectrumElement,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport {\n property,\n query,\n} from '@spectrum-web-components/base/src/decorators.js';\nimport type { Button } from '@spectrum-web-components/button';\n\nimport styles from './button-group.css.js';\n\n/**\n * @element sp-button-group\n * @slot - the sp-button elements that make up the group\n */\nexport class ButtonGroup extends SizedMixin(SpectrumElement, {\n noDefaultSize: true,\n}) {\n public static override get styles(): CSSResultArray {\n return [styles];\n }\n\n @property({ type: Boolean, reflect: true })\n public vertical = false;\n\n @query('slot')\n slotElement!: HTMLSlotElement;\n\n protected override updated(changedProperties: PropertyValues): void {\n super.updated(changedProperties);\n\n if (changedProperties.has('size')) {\n this.manageChildrenSize(this.slotElement);\n }\n }\n\n protected handleSlotchange({\n target: slot,\n }: Event & { target: HTMLSlotElement }): void {\n this.manageChildrenSize(slot);\n }\n\n private manageChildrenSize(slot: HTMLSlotElement): void {\n const assignedElements = slot.assignedElements() as Button[];\n assignedElements.forEach((button) => {\n button.size = this.size;\n });\n }\n\n protected override render(): TemplateResult {\n return html`\n <slot @slotchange=${this.handleSlotchange}></slot>\n `;\n }\n}\n"],
|
|
5
|
-
"mappings": "qNAYA,OAEI,QAAAA,EAEA,cAAAC,EACA,mBAAAC,MAEG,gCACP,OACI,YAAAC,EACA,SAAAC,MACG,kDAGP,OAAOC,MAAY,wBAMZ,aAAM,oBAAoBJ,EAAWC,EAAiB,CACzD,cAAe,EACnB,CAAC,CAAE,CAFI,kCAQH,KAAO,SAAW,GALlB,WAA2B,QAAyB,CAChD,MAAO,CAACG,CAAM,CAClB,CAQmB,QAAQC,EAAyC,CAChE,MAAM,QAAQA,CAAiB,EAE3BA,EAAkB,IAAI,MAAM,GAC5B,KAAK,mBAAmB,KAAK,WAAW,CAEhD,CAEU,iBAAiB,CACvB,OAAQC,CACZ,EAA8C,CAC1C,KAAK,mBAAmBA,CAAI,CAChC,CAEQ,mBAAmBA,EAA6B,CAC3BA,EAAK,iBAAiB,EAC9B,QAASC,GAAW,CACjCA,EAAO,KAAO,KAAK,IACvB,CAAC,CACL,CAEmB,QAAyB,CACxC,OAAOR;AAAA,gCACiB,KAAK,gBAAgB;AAAA,SAEjD,CACJ,CA/BWS,EAAA,CADNN,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GAPjC,YAQF,wBAGPM,EAAA,CADCL,EAAM,MAAM,GAVJ,YAWT",
|
|
6
|
-
"names": ["html", "SizedMixin", "SpectrumElement", "property", "query", "styles", "changedProperties", "slot", "button", "__decorateClass"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["button-group-overrides.css.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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n \n`;\nexport default styles;"],
|
|
5
|
-
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["button-group-overrides.css.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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n \n`;\nexport default styles;"],
|
|
5
|
-
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
|
|
6
|
-
"names": ["css", "styles"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
import { css } from "@spectrum-web-components/base";
|
|
3
|
-
const styles = css`
|
|
4
|
-
:host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}:host([vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-flex-grow:1}:host([dir=ltr][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:left}:host([dir=rtl][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:right}
|
|
5
|
-
`;
|
|
6
|
-
export default styles;
|
|
7
|
-
//# sourceMappingURL=button-group.css.dev.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["button-group.css.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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}:host([vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-flex-grow:1}:host([dir=ltr][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:left}:host([dir=rtl][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:right}\n`;\nexport default styles;"],
|
|
5
|
-
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/src/button-group.css.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";import{css as t}from"@spectrum-web-components/base";const o=t`
|
|
2
|
-
:host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}:host([vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-flex-grow:1}:host([dir=ltr][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:left}:host([dir=rtl][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:right}
|
|
3
|
-
`;export default o;
|
|
4
|
-
//# sourceMappingURL=button-group.css.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["button-group.css.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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}:host([vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-flex-grow:1}:host([dir=ltr][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:left}:host([dir=rtl][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:right}\n`;\nexport default styles;"],
|
|
5
|
-
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
|
|
6
|
-
"names": ["css", "styles"]
|
|
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 './ButtonGroup.js';
|
package/src/index.dev.js
DELETED
package/src/index.dev.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 './ButtonGroup.dev.js'\n"],
|
|
5
|
-
"mappings": ";AAYA,cAAc;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/src/index.js
DELETED
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 './ButtonGroup.js';\n"],
|
|
5
|
-
"mappings": "aAYA,WAAc",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
import { css } from "@spectrum-web-components/base";
|
|
3
|
-
const styles = css`
|
|
4
|
-
:host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}
|
|
5
|
-
`;
|
|
6
|
-
export default styles;
|
|
7
|
-
//# sourceMappingURL=spectrum-button-group.css.dev.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["spectrum-button-group.css.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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}\n`;\nexport default styles;"],
|
|
5
|
-
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";import{css as t}from"@spectrum-web-components/base";const o=t`
|
|
2
|
-
:host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}
|
|
3
|
-
`;export default o;
|
|
4
|
-
//# sourceMappingURL=spectrum-button-group.css.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["spectrum-button-group.css.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 { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-300)));--spectrum-buttongroup-display:flex;--spectrum-buttongroup-flex-direction:row;--spectrum-buttongroup-justify-content:var(--mod-buttongroup-justify-content,normal)}:host([size=s]){--spectrum-buttongroup-spacing:var(--mod-buttongroup-spacing,var(--mod-buttongroup-spacing-horizontal,var(--spectrum-spacing-200)))}:host([vertical]){--mod-buttongroup-spacing:var(--mod-buttongroup-spacing-vertical);--spectrum-buttongroup-display:inline-flex;--spectrum-buttongroup-flex-direction:column}:host{display:var(--spectrum-buttongroup-display);flex-direction:var(--spectrum-buttongroup-flex-direction);gap:var(--spectrum-buttongroup-spacing);justify-content:var(--spectrum-buttongroup-justify-content);flex-wrap:wrap}::slotted(*){flex-shrink:0}\n`;\nexport default styles;"],
|
|
5
|
-
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
|
|
6
|
-
"names": ["css", "styles"]
|
|
7
|
-
}
|