UNPKG

15.1 kBMarkdownView Raw
1# @spark-web/button
2
3## 1.5.2
4
5### Patch Changes
6
7- [#451](https://github.com/brighte-labs/spark-web/pull/451)
8 [`02b6077`](https://github.com/brighte-labs/spark-web/commit/02b60775c2ea8e2f2c3ef27c5d4030e1b343fb92)
9 Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Fix button
10 loading and disabled state
11
12## 1.5.1
13
14### Patch Changes
15
16- [#426](https://github.com/brighte-labs/spark-web/pull/426)
17 [`c674947`](https://github.com/brighte-labs/spark-web/commit/c6749475b0245718300c290f6e521609012aaf6b)
18 Thanks [@ralcoriza-brighte](https://github.com/ralcoriza-brighte)! - Updated
19 types based on prettier config
20
21- Updated dependencies
22 [[`c674947`](https://github.com/brighte-labs/spark-web/commit/c6749475b0245718300c290f6e521609012aaf6b)]:
23 - @spark-web/theme@3.2.1
24
25## 1.5.0
26
27### Minor Changes
28
29- [#382](https://github.com/brighte-labs/spark-web/pull/382)
30 [`955bf5d`](https://github.com/brighte-labs/spark-web/commit/955bf5d7698bfdf45e7f317aa3e726c81d3444c0)
31 Thanks [@dilipt-brighte](https://github.com/dilipt-brighte)! - Updates React
32 version to latest (18.2.0)
33
34### Patch Changes
35
36- Updated dependencies
37 [[`955bf5d`](https://github.com/brighte-labs/spark-web/commit/955bf5d7698bfdf45e7f317aa3e726c81d3444c0)]:
38 - @spark-web/a11y@1.4.0
39 - @spark-web/box@1.2.0
40 - @spark-web/icon@1.3.0
41 - @spark-web/link@1.1.0
42 - @spark-web/spinner@1.1.0
43 - @spark-web/text@1.2.0
44 - @spark-web/theme@3.2.0
45 - @spark-web/utils@1.3.0
46
47## 1.4.5
48
49### Patch Changes
50
51- [#274](https://github.com/brighte-labs/spark-web/pull/274)
52 [`b6976e3`](https://github.com/brighte-labs/spark-web/commit/b6976e36ab0a577ba700660c5dc8d2d1251082bb)
53 Thanks [@szhang-brighte](https://github.com/szhang-brighte)! - update
54 @spark-web/link version
55
56## 1.4.4
57
58### Patch Changes
59
60- [#245](https://github.com/brighte-labs/spark-web/pull/245)
61 [`21c6e08`](https://github.com/brighte-labs/spark-web/commit/21c6e08e821ada32feea7c34f1bf451573b5023d)
62 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Remove explicit
63 JSX.Element return types
64
65- [#218](https://github.com/brighte-labs/spark-web/pull/218)
66 [`6fc8d1b`](https://github.com/brighte-labs/spark-web/commit/6fc8d1bc37e25d0cd622bc37f68a1d92eb5961b5)
67 Thanks [@nderkim](https://github.com/nderkim)! - Rename files to kebab case
68
69- [#222](https://github.com/brighte-labs/spark-web/pull/222)
70 [`7f93c45`](https://github.com/brighte-labs/spark-web/commit/7f93c45bbae8c765e10df9d0dd7615473797749b)
71 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update
72 dependencies
73
74- [#242](https://github.com/brighte-labs/spark-web/pull/242)
75 [`6df05f7`](https://github.com/brighte-labs/spark-web/commit/6df05f764e4181c140d6547d6b897d0210468f6a)
76 Thanks [@lukebennett88](https://github.com/lukebennett88)! - - Add homepage
77 and repository keys to package.json
78 - Add CHANGELOG and README to files key in package.json
79- Updated dependencies
80 [[`adc5e9e`](https://github.com/brighte-labs/spark-web/commit/adc5e9e6c99acd117f3261edcefdb5573132441b),
81 [`de99b9c`](https://github.com/brighte-labs/spark-web/commit/de99b9c7f72373bd1902cf67f5cfec9a1e1db01c),
82 [`6fc8d1b`](https://github.com/brighte-labs/spark-web/commit/6fc8d1bc37e25d0cd622bc37f68a1d92eb5961b5),
83 [`7f93c45`](https://github.com/brighte-labs/spark-web/commit/7f93c45bbae8c765e10df9d0dd7615473797749b),
84 [`62f7de8`](https://github.com/brighte-labs/spark-web/commit/62f7de8a2e1df5ae088c093d3acdaa868d3f61fe),
85 [`6df05f7`](https://github.com/brighte-labs/spark-web/commit/6df05f764e4181c140d6547d6b897d0210468f6a)]:
86 - @spark-web/box@1.1.0
87 - @spark-web/icon@1.2.2
88 - @spark-web/text@1.1.2
89 - @spark-web/a11y@1.3.2
90 - @spark-web/link@1.0.10
91 - @spark-web/spinner@1.0.8
92 - @spark-web/theme@3.1.0
93 - @spark-web/utils@1.2.3
94
95## 1.4.3
96
97### Patch Changes
98
99- [#204](https://github.com/brighte-labs/spark-web/pull/204)
100 [`76522bd`](https://github.com/brighte-labs/spark-web/commit/76522bd266e8d07f0a2c003c0f78314ab002cf40)
101 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Export
102 `ButtonChildrenProps`, `ButtonProminence`, `ButtonSize` and `ButtonTone`
103 types.
104
105## 1.4.2
106
107### Patch Changes
108
109- [#208](https://github.com/brighte-labs/spark-web/pull/208)
110 [`1ea26ef`](https://github.com/brighte-labs/spark-web/commit/1ea26ef04a3b45875ed0dd2326eeab1fbe1e4bc5)
111 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Lower required
112 node version
113
114- Updated dependencies
115 [[`1ea26ef`](https://github.com/brighte-labs/spark-web/commit/1ea26ef04a3b45875ed0dd2326eeab1fbe1e4bc5)]:
116 - @spark-web/a11y@1.3.1
117 - @spark-web/box@1.0.9
118 - @spark-web/icon@1.2.1
119 - @spark-web/link@1.0.9
120 - @spark-web/spinner@1.0.7
121 - @spark-web/text@1.1.1
122 - @spark-web/theme@3.0.6
123 - @spark-web/utils@1.2.2
124
125## 1.4.1
126
127### Patch Changes
128
129- [#197](https://github.com/brighte-labs/spark-web/pull/197)
130 [`94016d8`](https://github.com/brighte-labs/spark-web/commit/94016d84e26bbe55833bbcbab847a2cce6041538)
131 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update packages
132
133- Updated dependencies
134 [[`51b6c7a`](https://github.com/brighte-labs/spark-web/commit/51b6c7a43f441e02b90403b13af9cfa11e5438ef),
135 [`9ff0c4b`](https://github.com/brighte-labs/spark-web/commit/9ff0c4b4cc83e0e1ab609d0bcdb01458b654263e),
136 [`07286b5`](https://github.com/brighte-labs/spark-web/commit/07286b52f897909b1a806d736e1040351c93078f),
137 [`94016d8`](https://github.com/brighte-labs/spark-web/commit/94016d84e26bbe55833bbcbab847a2cce6041538)]:
138 - @spark-web/a11y@1.3.0
139 - @spark-web/text@1.1.0
140 - @spark-web/icon@1.2.0
141 - @spark-web/box@1.0.8
142 - @spark-web/link@1.0.8
143 - @spark-web/spinner@1.0.6
144 - @spark-web/theme@3.0.5
145 - @spark-web/utils@1.2.1
146
147## 1.4.0
148
149### Minor Changes
150
151- [#188](https://github.com/brighte-labs/spark-web/pull/188)
152 [`891f839`](https://github.com/brighte-labs/spark-web/commit/891f839c5a5608d771183189cb12116a60f66209)
153 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Move
154 aria-disabled logic from Button onto underlying BaseButton
155
156* [#188](https://github.com/brighte-labs/spark-web/pull/188)
157 [`891f839`](https://github.com/brighte-labs/spark-web/commit/891f839c5a5608d771183189cb12116a60f66209)
158 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Export
159 useButtonStyles hook
160
161### Patch Changes
162
163- Updated dependencies
164 [[`7b0cfdf`](https://github.com/brighte-labs/spark-web/commit/7b0cfdf6fb4d32b86e00050d8869ac2b9787cf41)]:
165 - @spark-web/theme@3.0.4
166
167## 1.3.1
168
169### Patch Changes
170
171- [#185](https://github.com/brighte-labs/spark-web/pull/185)
172 [`82413df`](https://github.com/brighte-labs/spark-web/commit/82413df8f27ba2508911d0edb4380d3d366c75c0)
173 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Remove "cursor:
174 pointer" when buttons are disabled
175
176## 1.3.0
177
178### Minor Changes
179
180- [#181](https://github.com/brighte-labs/spark-web/pull/181)
181 [`be99536`](https://github.com/brighte-labs/spark-web/commit/be99536abb56dd26e5c9a1703e6df9c7860b449b)
182 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add disabled
183 styles for buttons
184
185 Move aria-disabled logic from Button onto underlying BaseButton
186
187* [#179](https://github.com/brighte-labs/spark-web/pull/179)
188 [`d935c57`](https://github.com/brighte-labs/spark-web/commit/d935c57c2302700e8a2332b757d38220b9c47f84)
189 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Accept number as
190 child for button
191
192### Patch Changes
193
194- [#173](https://github.com/brighte-labs/spark-web/pull/173)
195 [`90b7e9c`](https://github.com/brighte-labs/spark-web/commit/90b7e9cf4eb7e864d765c74b22c3dedf3d262e25)
196 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update babel
197 dependency
198
199- Updated dependencies
200 [[`90b7e9c`](https://github.com/brighte-labs/spark-web/commit/90b7e9cf4eb7e864d765c74b22c3dedf3d262e25),
201 [`be99536`](https://github.com/brighte-labs/spark-web/commit/be99536abb56dd26e5c9a1703e6df9c7860b449b),
202 [`c3867af`](https://github.com/brighte-labs/spark-web/commit/c3867af7b77dfae3580ab63a5d5c9e8452f2da62)]:
203 - @spark-web/a11y@1.2.0
204 - @spark-web/box@1.0.7
205 - @spark-web/icon@1.1.5
206 - @spark-web/link@1.0.7
207 - @spark-web/spinner@1.0.5
208 - @spark-web/text@1.0.7
209 - @spark-web/theme@3.0.3
210 - @spark-web/utils@1.2.0
211
212## 1.2.0
213
214### Minor Changes
215
216- [#153](https://github.com/brighte-labs/spark-web/pull/153)
217 [`e17ddb6`](https://github.com/brighte-labs/spark-web/commit/e17ddb6328a792bd5905cff20ced5907ca055f82)
218 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Create BaseButton
219 and focus button on click to address Safari bug
220
221### Patch Changes
222
223- [#167](https://github.com/brighte-labs/spark-web/pull/167)
224 [`4f79350`](https://github.com/brighte-labs/spark-web/commit/4f793508fdb43ddd452f0d59a3126101f9fa5459)
225 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update Babel
226
227- Updated dependencies
228 [[`4f79350`](https://github.com/brighte-labs/spark-web/commit/4f793508fdb43ddd452f0d59a3126101f9fa5459),
229 [`f524009`](https://github.com/brighte-labs/spark-web/commit/f5240098cf731b0a2e351b7b585711e893a33736),
230 [`60f7281`](https://github.com/brighte-labs/spark-web/commit/60f7281c4a194d934a2ce561cad47e737b0fb48e)]:
231 - @spark-web/a11y@1.1.0
232 - @spark-web/box@1.0.6
233 - @spark-web/icon@1.1.4
234 - @spark-web/link@1.0.6
235 - @spark-web/spinner@1.0.4
236 - @spark-web/text@1.0.6
237 - @spark-web/theme@3.0.2
238 - @spark-web/utils@1.1.5
239
240## 1.1.2
241
242### Patch Changes
243
244- [#144](https://github.com/brighte-labs/spark-web/pull/144)
245 [`949001a`](https://github.com/brighte-labs/spark-web/commit/949001aca3304a4f13750885575de8ec9e8503b3)
246 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Better align
247 icons inside of buttons
248
249- Updated dependencies
250 [[`500939d`](https://github.com/brighte-labs/spark-web/commit/500939de7c45c93d48078f39151035ab9eba057f)]:
251 - @spark-web/spinner@1.0.3
252
253## 1.1.1
254
255### Patch Changes
256
257- [#113](https://github.com/brighte-labs/spark-web/pull/113)
258 [`156236d`](https://github.com/brighte-labs/spark-web/commit/156236d2474aee66a0b8e2030635f9c08a5b78ba)
259 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update
260 dependencies
261
262- Updated dependencies
263 [[`08752c3`](https://github.com/brighte-labs/spark-web/commit/08752c350b53cde0657ec32f03f9932dec835e33),
264 [`156236d`](https://github.com/brighte-labs/spark-web/commit/156236d2474aee66a0b8e2030635f9c08a5b78ba)]:
265 - @spark-web/a11y@1.0.5
266 - @spark-web/box@1.0.5
267 - @spark-web/icon@1.1.3
268 - @spark-web/link@1.0.5
269 - @spark-web/spinner@1.0.2
270 - @spark-web/text@1.0.5
271 - @spark-web/theme@3.0.1
272 - @spark-web/utils@1.1.3
273
274## 1.1.0
275
276### Minor Changes
277
278- [#77](https://github.com/brighte-labs/spark-web/pull/77)
279 [`8ff39aa`](https://github.com/brighte-labs/spark-web/commit/8ff39aa7e51d8d3f17dcbd87ebe60502a8d8d260)
280 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add loading state
281 to button
282
283### Patch Changes
284
285- [#59](https://github.com/brighte-labs/spark-web/pull/59)
286 [`7a91941`](https://github.com/brighte-labs/spark-web/commit/7a91941385dcb4744384818bb5c4866c24c357f5)
287 Thanks [@tamm](https://github.com/tamm)! - Fixed spelling mistake from Buttton
288 to Button
289
290* [#65](https://github.com/brighte-labs/spark-web/pull/65)
291 [`182a53a`](https://github.com/brighte-labs/spark-web/commit/182a53a484892df48754e89dd714459a7f69fcff)
292 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Remove "Inter"
293 font, change font-weights and font-sizes.
294
295- [#52](https://github.com/brighte-labs/spark-web/pull/52)
296 [`82ab744`](https://github.com/brighte-labs/spark-web/commit/82ab744f198466810f3386bc459b8ab4d57c820e)
297 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add files array
298 to package.json files
299
300- Updated dependencies
301 [[`1ef4f82`](https://github.com/brighte-labs/spark-web/commit/1ef4f82df999c487b79cd216c17ca5735e444fc5),
302 [`182a53a`](https://github.com/brighte-labs/spark-web/commit/182a53a484892df48754e89dd714459a7f69fcff),
303 [`5744b68`](https://github.com/brighte-labs/spark-web/commit/5744b6820f626b93a14e11e1fbd96bcbe1b12b27),
304 [`82ab744`](https://github.com/brighte-labs/spark-web/commit/82ab744f198466810f3386bc459b8ab4d57c820e),
305 [`58a7284`](https://github.com/brighte-labs/spark-web/commit/58a728457bbbda86ac406a72d8ec4ad6c1c16630),
306 [`df618d9`](https://github.com/brighte-labs/spark-web/commit/df618d92d534e06f06ecedc95ea6bdd51cdc906b)]:
307 - @spark-web/text@1.0.4
308 - @spark-web/theme@3.0.0
309 - @spark-web/link@1.0.4
310 - @spark-web/spinner@1.0.1
311 - @spark-web/a11y@1.0.4
312 - @spark-web/box@1.0.4
313 - @spark-web/icon@1.1.2
314 - @spark-web/utils@1.1.2
315
316## 1.0.3
317
318### Patch Changes
319
320- [#42](https://github.com/brighte-labs/spark-web/pull/42)
321 [`435779a`](https://github.com/brighte-labs/spark-web/commit/435779aa42bd635bbf43e1fd41724c666402caa2)
322 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Prevent multiple
323 versions of React
324
325- Updated dependencies
326 [[`435779a`](https://github.com/brighte-labs/spark-web/commit/435779aa42bd635bbf43e1fd41724c666402caa2)]:
327 - @spark-web/a11y@1.0.3
328 - @spark-web/box@1.0.3
329 - @spark-web/icon@1.1.1
330 - @spark-web/link@1.0.3
331 - @spark-web/text@1.0.3
332 - @spark-web/theme@2.0.2
333 - @spark-web/utils@1.1.1
334
335## 1.0.2
336
337### Patch Changes
338
339- [#40](https://github.com/brighte-labs/spark-web/pull/40)
340 [`062c8ab`](https://github.com/brighte-labs/spark-web/commit/062c8ab8c7b4120f8d14c269b5f7801288c678ca)
341 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add
342 @babel/transform-runtime
343
344- Updated dependencies
345 [[`062c8ab`](https://github.com/brighte-labs/spark-web/commit/062c8ab8c7b4120f8d14c269b5f7801288c678ca)]:
346 - @spark-web/a11y@1.0.2
347 - @spark-web/box@1.0.2
348 - @spark-web/icon@1.0.2
349 - @spark-web/link@1.0.2
350 - @spark-web/text@1.0.2
351 - @spark-web/theme@2.0.1
352 - @spark-web/utils@1.0.2
353
354## 1.0.1
355
356### Patch Changes
357
358- [#36](https://github.com/brighte-labs/spark-web/pull/36)
359 [`8546f8f`](https://github.com/brighte-labs/spark-web/commit/8546f8f05daaa79ea3ff954c6c4928a7a2d0622d)
360 Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update Babel
361 config
362
363- Updated dependencies
364 [[`aebff30`](https://github.com/brighte-labs/spark-web/commit/aebff30c86cb0a9db22b545c46159ce0d1c14afb),
365 [`8546f8f`](https://github.com/brighte-labs/spark-web/commit/8546f8f05daaa79ea3ff954c6c4928a7a2d0622d)]:
366 - @spark-web/theme@2.0.0
367 - @spark-web/a11y@1.0.1
368 - @spark-web/box@1.0.1
369 - @spark-web/icon@1.0.1
370 - @spark-web/link@1.0.1
371 - @spark-web/text@1.0.1
372 - @spark-web/utils@1.0.1
373
374## 1.0.0
375
376### Major Changes
377
378- [#27](https://github.com/brighte-labs/spark-web/pull/27)
379 [`4c8e398`](https://github.com/brighte-labs/spark-web/commit/4c8e3988f8a59d3dab60a6b67b1128b6ff2a5f2c)
380 Thanks [@JedWatson](https://github.com/JedWatson)! - Initial Version
381
382### Patch Changes
383
384- Updated dependencies
385 [[`4c8e398`](https://github.com/brighte-labs/spark-web/commit/4c8e3988f8a59d3dab60a6b67b1128b6ff2a5f2c)]:
386 - @spark-web/a11y@1.0.0
387 - @spark-web/box@1.0.0
388 - @spark-web/icon@1.0.0
389 - @spark-web/link@1.0.0
390 - @spark-web/text@1.0.0
391 - @spark-web/theme@1.0.0
392 - @spark-web/utils@1.0.0