@spark-web/button
Version:
--- title: Button storybookPath: forms-buttons-button--default isExperimentalPackage: true ---
1,215 lines (891 loc) • 35.1 kB
Markdown
# @spark-web/button
## 5.6.0
### Minor Changes
- [#667](https://github.com/brighte-labs/spark-web/pull/667)
[`80d9c15`](https://github.com/brighte-labs/spark-web/commit/80d9c156a40bbcd2b1a91a2d0403b3c8e9b47b4e)
Thanks [@Leo704099](https://github.com/Leo704099)! - Support react 17 to 19
### Patch Changes
- Updated dependencies
[[`80d9c15`](https://github.com/brighte-labs/spark-web/commit/80d9c156a40bbcd2b1a91a2d0403b3c8e9b47b4e)]:
- @spark-web/spinner@5.1.0
- @spark-web/theme@5.13.0
- @spark-web/utils@5.1.0
- @spark-web/a11y@5.3.0
- @spark-web/icon@5.1.0
- @spark-web/link@5.1.0
- @spark-web/text@5.3.0
- @spark-web/box@6.0.0
## 5.5.3
### Patch Changes
- [#704](https://github.com/brighte-labs/spark-web/pull/704)
[`67ad8de`](https://github.com/brighte-labs/spark-web/commit/67ad8de8ce99bedb733293bbb23d554ae48a9f1f)
Thanks [@mkt-brighte](https://github.com/mkt-brighte)! - Support bravo theme
for button component
- Updated dependencies
[[`67ad8de`](https://github.com/brighte-labs/spark-web/commit/67ad8de8ce99bedb733293bbb23d554ae48a9f1f)]:
- @spark-web/theme@5.12.4
## 5.5.2
### Patch Changes
- [#698](https://github.com/brighte-labs/spark-web/pull/698)
[`814b373`](https://github.com/brighte-labs/spark-web/commit/814b373cbe9fcf0757738c78eef6b516624df62c)
Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Bump version
- Updated dependencies
[[`814b373`](https://github.com/brighte-labs/spark-web/commit/814b373cbe9fcf0757738c78eef6b516624df62c)]:
- @spark-web/box@5.2.2
- @spark-web/link@5.0.2
- @spark-web/text@5.2.3
- @spark-web/theme@5.12.1
## 5.5.1
### Patch Changes
- [#693](https://github.com/brighte-labs/spark-web/pull/693)
[`1995db7`](https://github.com/brighte-labs/spark-web/commit/1995db7f4342803732c7648ab3ca6d32442cc347)
Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Add Bravo theme
- Updated dependencies
[[`1995db7`](https://github.com/brighte-labs/spark-web/commit/1995db7f4342803732c7648ab3ca6d32442cc347)]:
- @spark-web/theme@5.12.0
- @spark-web/text@5.2.2
## 5.5.0
### Minor Changes
- [#659](https://github.com/brighte-labs/spark-web/pull/659)
[`6b8615a`](https://github.com/brighte-labs/spark-web/commit/6b8615a0e63d51a6757fd569bf21798a3bceaeea)
Thanks [@mkt-brighte](https://github.com/mkt-brighte)! - Added dark tone for
button component and add dark tokens
### Patch Changes
- Updated dependencies
[[`6b8615a`](https://github.com/brighte-labs/spark-web/commit/6b8615a0e63d51a6757fd569bf21798a3bceaeea)]:
- @spark-web/a11y@5.2.0
- @spark-web/theme@5.11.1
## 5.4.0
### Minor Changes
- [#647](https://github.com/brighte-labs/spark-web/pull/647)
[`b6825e0`](https://github.com/brighte-labs/spark-web/commit/b6825e0fdffb297cecb033fd70e15b13a65d27a7)
Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Improve low
prominence and support filled props for button
## 5.3.3
### Patch Changes
- [#625](https://github.com/brighte-labs/spark-web/pull/625)
[`b844b9c`](https://github.com/brighte-labs/spark-web/commit/b844b9c2891b92fe739015add83569efd272d223)
Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Upgrade button
spinner
## 5.3.2
### Patch Changes
- [#594](https://github.com/brighte-labs/spark-web/pull/594)
[`ecf32cb`](https://github.com/brighte-labs/spark-web/commit/ecf32cba87b2fd55426ccff1b6dae31f26147757)
Thanks [@peterp-brighte](https://github.com/peterp-brighte)! - accessibility
improvements to button focus ring and alert component
## 5.3.1
### Patch Changes
- [#592](https://github.com/brighte-labs/spark-web/pull/592)
[`aca05c4`](https://github.com/brighte-labs/spark-web/commit/aca05c4012c507445c5dbdfb0bfd6500c16b3b5a)
Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Update border
color
## 5.3.0
### Minor Changes
- [#576](https://github.com/brighte-labs/spark-web/pull/576)
[`3056d86`](https://github.com/brighte-labs/spark-web/commit/3056d863266abc952b1c68775e1e349e13ef0e8f)
Thanks [@chrischua-brighte](https://github.com/chrischua-brighte)! - add new
prop for radio, new token sizes, new button tone
### Patch Changes
- Updated dependencies
[[`3056d86`](https://github.com/brighte-labs/spark-web/commit/3056d863266abc952b1c68775e1e349e13ef0e8f)]:
- @spark-web/theme@5.9.0
- @spark-web/a11y@5.1.0
## 5.2.1
### Patch Changes
- [#574](https://github.com/brighte-labs/spark-web/pull/574)
[`e77b91f`](https://github.com/brighte-labs/spark-web/commit/e77b91fcd59e18795c49fcefec29259eb2aec0a6)
Thanks [@mkt-brighte](https://github.com/mkt-brighte)! - Move button
fontWeight to token
- Updated dependencies
[[`e77b91f`](https://github.com/brighte-labs/spark-web/commit/e77b91fcd59e18795c49fcefec29259eb2aec0a6)]:
- @spark-web/theme@5.7.2
## 5.2.0
### Minor Changes
- This release covers the following changes:
- Updates the primary color palette of the Brighte theme
- Add new Storybook story for the `rounded` prop for button components
- Tweak focus state styling of buttons at Pantheon theme
### Patch Changes
- Updated dependencies []:
- @spark-web/theme@5.6.0
## 5.1.0
### Minor Changes
- [#558](https://github.com/brighte-labs/spark-web/pull/558)
[`b89f043`](https://github.com/brighte-labs/spark-web/commit/b89f043f45bb817295496d24a3ec65f867343efa)
Thanks [@yaminibrighte](https://github.com/yaminibrighte)! - added focus for
buttons
### Patch Changes
- Updated dependencies
[[`b89f043`](https://github.com/brighte-labs/spark-web/commit/b89f043f45bb817295496d24a3ec65f867343efa)]:
- @spark-web/theme@5.5.0
## 5.0.3
### Patch Changes
- [#546](https://github.com/brighte-labs/spark-web/pull/546)
[`a805c87`](https://github.com/brighte-labs/spark-web/commit/a805c87c9ffc2776f0235a0203de232092464aa3)
Thanks [@peterp-brighte](https://github.com/peterp-brighte)! - update theme
and pass extra props
- Updated dependencies
[[`a805c87`](https://github.com/brighte-labs/spark-web/commit/a805c87c9ffc2776f0235a0203de232092464aa3)]:
- @spark-web/theme@5.3.1
## 5.0.2
### Patch Changes
- [#542](https://github.com/brighte-labs/spark-web/pull/542)
[`602547f`](https://github.com/brighte-labs/spark-web/commit/602547f280fb12f7ce4de86b7046719167ada075)
Thanks [@ralcoriza-brighte](https://github.com/ralcoriza-brighte)! - Update
button story
- Updated dependencies
[[`602547f`](https://github.com/brighte-labs/spark-web/commit/602547f280fb12f7ce4de86b7046719167ada075)]:
- @spark-web/theme@5.2.0
- @spark-web/text@5.1.0
## 5.0.1
### Patch Changes
- [#535](https://github.com/brighte-labs/spark-web/pull/535)
[`c1dbf2a`](https://github.com/brighte-labs/spark-web/commit/c1dbf2af1b4fb21a72034243e904580caf0152b4)
Thanks [@mkt-brighte](https://github.com/mkt-brighte)! - Add aria-label on
button
## 5.0.0
### Major Changes
- This release of spark-web standardises the version across all packages to be
**`v5`**, primarily signifying the switch from `@emotion/css` to
`@emotion/react` as one of the key dependencies of the entire library, in
order to support server-side rendering / SSR.
This release also introduces support for theming, to allow for more co-branded
experiences across our web applications. It also supports component-level
theming for `<Button />`, `<ButtonLink />`, and `<Checkbox />`, which provides
the capability to override the global theme available inside an application.
To use this in an application, you can wrap the affected areas with a
`ThemeProvider`:
```
<ThemeProvider theme="pantheon">
<Input type="text" />
<Button type="submit" />
</ThemeProvider>
```
Part of the theming capabilities includes a new theme for `spark-web` called
"pantheon", which should map with our co-branding efforts in the Pantheon
project. It currently includes a small set of colors and its corresponding
font family.
### Patch Changes
- [#532](https://github.com/brighte-labs/spark-web/pull/532)
[`631573c`](https://github.com/brighte-labs/spark-web/commit/631573cb72981d99b9afa4ad559123f44e47b2a9)
Thanks [@ralcoriza-brighte](https://github.com/ralcoriza-brighte)! - Fix
type-related issues
- Updated dependencies
[[`631573c`](https://github.com/brighte-labs/spark-web/commit/631573cb72981d99b9afa4ad559123f44e47b2a9)]:
- @spark-web/spinner@5.0.0
- @spark-web/theme@5.0.0
- @spark-web/utils@5.0.0
- @spark-web/a11y@5.0.0
- @spark-web/icon@5.0.0
- @spark-web/link@5.0.0
- @spark-web/text@5.0.0
- @spark-web/box@5.0.0
## 5.0.0-rc.31
### Patch Changes
- Fix type-related issues
- Updated dependencies []:
- @spark-web/spinner@5.0.0-rc.31
- @spark-web/theme@5.0.0-rc.31
- @spark-web/utils@5.0.0-rc.31
- @spark-web/a11y@5.0.0-rc.31
- @spark-web/icon@5.0.0-rc.31
- @spark-web/link@5.0.0-rc.31
- @spark-web/text@5.0.0-rc.31
- @spark-web/box@5.0.0-rc.31
## 5.0.0-rc.30
### Minor Changes
- Adopt latest changes from stable main branch
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@5.0.0-rc.30
- @spark-web/theme@5.0.0-rc.30
- @spark-web/utils@5.0.0-rc.30
- @spark-web/a11y@5.0.0-rc.30
- @spark-web/icon@5.0.0-rc.30
- @spark-web/link@5.0.0-rc.30
- @spark-web/text@5.0.0-rc.30
- @spark-web/box@5.0.0-rc.30
## 5.0.0-rc.29
### Minor Changes
- Revise stylesheet maps to align with theme name change
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@5.0.0-rc.29
- @spark-web/theme@5.0.0-rc.29
- @spark-web/utils@5.0.0-rc.29
- @spark-web/a11y@5.0.0-rc.29
- @spark-web/icon@5.0.0-rc.29
- @spark-web/link@5.0.0-rc.29
- @spark-web/text@5.0.0-rc.29
- @spark-web/box@5.0.0-rc.29
## 5.0.0-rc.28
### Minor Changes
- Move fonts to theme package; Introduce Pantheon font family and stylesheet
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@5.0.0-rc.28
- @spark-web/theme@5.0.0-rc.28
- @spark-web/utils@5.0.0-rc.28
- @spark-web/a11y@5.0.0-rc.28
- @spark-web/icon@5.0.0-rc.28
- @spark-web/link@5.0.0-rc.28
- @spark-web/text@5.0.0-rc.28
- @spark-web/box@5.0.0-rc.28
## 5.0.0-rc.27
### Minor Changes
- Remove theme prop in button link
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@5.0.0-rc.27
- @spark-web/theme@5.0.0-rc.27
- @spark-web/utils@5.0.0-rc.27
- @spark-web/a11y@5.0.0-rc.27
- @spark-web/icon@5.0.0-rc.27
- @spark-web/link@5.0.0-rc.27
- @spark-web/text@5.0.0-rc.27
- @spark-web/box@5.0.0-rc.27
## 5.0.0-rc.26
### Minor Changes
- Roll back on using theme prop for component level theming; prefer using
ThemeProvider in applications instead
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@5.0.0-rc.26
- @spark-web/theme@5.0.0-rc.26
- @spark-web/utils@5.0.0-rc.26
- @spark-web/a11y@5.0.0-rc.26
- @spark-web/icon@5.0.0-rc.26
- @spark-web/link@5.0.0-rc.26
- @spark-web/text@5.0.0-rc.26
- @spark-web/box@5.0.0-rc.26
## 5.0.0-rc.25
### Minor Changes
- Implement checkbox tokens for test theme
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@5.0.0-rc.25
- @spark-web/theme@5.0.0-rc.25
- @spark-web/utils@5.0.0-rc.25
- @spark-web/a11y@5.0.0-rc.25
- @spark-web/icon@5.0.0-rc.25
- @spark-web/link@5.0.0-rc.25
- @spark-web/text@5.0.0-rc.25
- @spark-web/box@5.0.0-rc.25
## 5.0.0-rc.24
### Minor Changes
- Resolve issues with package build output
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@5.0.0-rc.24
- @spark-web/theme@5.0.0-rc.24
- @spark-web/utils@5.0.0-rc.24
- @spark-web/a11y@5.0.0-rc.24
- @spark-web/icon@5.0.0-rc.24
- @spark-web/link@5.0.0-rc.24
- @spark-web/text@5.0.0-rc.24
- @spark-web/box@5.0.0-rc.24
## 2.0.0-rc.23
### Minor Changes
- Add support for component-level theming in ButtonLink
## 2.0.0-rc.22
### Minor Changes
- Add new optional "rounded" prop for Button
Add support for custom CSS in Button
### Patch Changes
- Updated dependencies []:
- @spark-web/text@2.0.0-rc.22
## 2.0.0-rc.21
### Minor Changes
- Introduce global theming provider to set global default theme
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.21
- @spark-web/theme@4.0.0-rc.21
- @spark-web/utils@2.0.0-rc.21
- @spark-web/a11y@2.0.0-rc.21
- @spark-web/icon@2.0.0-rc.21
- @spark-web/link@2.0.0-rc.21
- @spark-web/text@2.0.0-rc.21
- @spark-web/box@2.0.0-rc.21
## 2.0.0-rc.20
### Minor Changes
- Support for component-level theming; button-level theming
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.20
- @spark-web/theme@4.0.0-rc.20
- @spark-web/utils@2.0.0-rc.20
- @spark-web/a11y@2.0.0-rc.20
- @spark-web/icon@2.0.0-rc.20
- @spark-web/link@2.0.0-rc.20
- @spark-web/text@2.0.0-rc.20
- @spark-web/box@2.0.0-rc.20
## 2.0.0-rc.19
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.19
- @spark-web/theme@4.0.0-rc.19
- @spark-web/utils@2.0.0-rc.19
- @spark-web/a11y@2.0.0-rc.19
- @spark-web/icon@2.0.0-rc.19
- @spark-web/link@2.0.0-rc.19
- @spark-web/text@2.0.0-rc.19
- @spark-web/box@2.0.0-rc.19
## 2.0.0-rc.18
### Major Changes
- tests
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.18
- @spark-web/theme@4.0.0-rc.18
- @spark-web/utils@2.0.0-rc.18
- @spark-web/a11y@2.0.0-rc.18
- @spark-web/icon@2.0.0-rc.18
- @spark-web/link@2.0.0-rc.18
- @spark-web/text@2.0.0-rc.18
- @spark-web/box@2.0.0-rc.18
## 2.0.0-rc.17
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.17
- @spark-web/theme@4.0.0-rc.17
- @spark-web/utils@2.0.0-rc.17
- @spark-web/a11y@2.0.0-rc.17
- @spark-web/icon@2.0.0-rc.17
- @spark-web/link@2.0.0-rc.17
- @spark-web/text@2.0.0-rc.17
- @spark-web/box@2.0.0-rc.17
## 2.0.0-rc.16
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.16
- @spark-web/theme@4.0.0-rc.16
- @spark-web/utils@2.0.0-rc.16
- @spark-web/a11y@2.0.0-rc.16
- @spark-web/icon@2.0.0-rc.16
- @spark-web/link@2.0.0-rc.16
- @spark-web/text@2.0.0-rc.16
- @spark-web/box@2.0.0-rc.16
## 2.0.0-rc.15
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.15
- @spark-web/theme@4.0.0-rc.15
- @spark-web/utils@2.0.0-rc.15
- @spark-web/a11y@2.0.0-rc.15
- @spark-web/icon@2.0.0-rc.15
- @spark-web/link@2.0.0-rc.15
- @spark-web/text@2.0.0-rc.15
- @spark-web/box@2.0.0-rc.15
## 2.0.0-rc.14
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.14
- @spark-web/theme@4.0.0-rc.14
- @spark-web/utils@2.0.0-rc.14
- @spark-web/a11y@2.0.0-rc.14
- @spark-web/icon@2.0.0-rc.14
- @spark-web/link@2.0.0-rc.14
- @spark-web/text@2.0.0-rc.14
- @spark-web/box@2.0.0-rc.14
## 2.0.0-rc.13
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.13
- @spark-web/theme@4.0.0-rc.13
- @spark-web/utils@2.0.0-rc.13
- @spark-web/a11y@2.0.0-rc.13
- @spark-web/icon@2.0.0-rc.13
- @spark-web/link@2.0.0-rc.13
- @spark-web/text@2.0.0-rc.13
- @spark-web/box@2.0.0-rc.13
## 2.0.0-rc.12
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.12
- @spark-web/theme@4.0.0-rc.12
- @spark-web/utils@2.0.0-rc.12
- @spark-web/a11y@2.0.0-rc.12
- @spark-web/icon@2.0.0-rc.12
- @spark-web/link@2.0.0-rc.12
- @spark-web/text@2.0.0-rc.12
- @spark-web/box@2.0.0-rc.12
## 2.0.0-rc.11
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.11
- @spark-web/theme@4.0.0-rc.11
- @spark-web/utils@2.0.0-rc.11
- @spark-web/a11y@2.0.0-rc.11
- @spark-web/icon@2.0.0-rc.11
- @spark-web/link@2.0.0-rc.11
- @spark-web/text@2.0.0-rc.11
- @spark-web/box@2.0.0-rc.11
## 2.0.0-rc.10
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.10
- @spark-web/theme@4.0.0-rc.10
- @spark-web/utils@2.0.0-rc.10
- @spark-web/a11y@2.0.0-rc.10
- @spark-web/icon@2.0.0-rc.10
- @spark-web/link@2.0.0-rc.10
- @spark-web/text@2.0.0-rc.10
- @spark-web/box@2.0.0-rc.10
## 2.0.0-rc.9
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.9
- @spark-web/theme@4.0.0-rc.9
- @spark-web/utils@2.0.0-rc.9
- @spark-web/a11y@2.0.0-rc.9
- @spark-web/icon@2.0.0-rc.9
- @spark-web/link@2.0.0-rc.9
- @spark-web/text@2.0.0-rc.9
- @spark-web/box@2.0.0-rc.9
## 2.0.0-rc.8
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.8
- @spark-web/theme@4.0.0-rc.8
- @spark-web/utils@2.0.0-rc.8
- @spark-web/a11y@2.0.0-rc.8
- @spark-web/icon@2.0.0-rc.8
- @spark-web/link@2.0.0-rc.8
- @spark-web/text@2.0.0-rc.8
- @spark-web/box@2.0.0-rc.8
## 2.0.0-rc.7
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.7
- @spark-web/theme@4.0.0-rc.7
- @spark-web/utils@2.0.0-rc.7
- @spark-web/a11y@2.0.0-rc.7
- @spark-web/icon@2.0.0-rc.7
- @spark-web/link@2.0.0-rc.7
- @spark-web/text@2.0.0-rc.7
- @spark-web/box@2.0.0-rc.7
## 2.0.0-rc.6
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.6
- @spark-web/theme@4.0.0-rc.6
- @spark-web/utils@2.0.0-rc.6
- @spark-web/a11y@2.0.0-rc.6
- @spark-web/icon@2.0.0-rc.6
- @spark-web/link@2.0.0-rc.6
- @spark-web/text@2.0.0-rc.6
- @spark-web/box@2.0.0-rc.6
## 2.0.0-rc.5
### Major Changes
- test
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.5
- @spark-web/theme@4.0.0-rc.5
- @spark-web/utils@2.0.0-rc.5
- @spark-web/a11y@2.0.0-rc.5
- @spark-web/icon@2.0.0-rc.5
- @spark-web/link@2.0.0-rc.5
- @spark-web/text@2.0.0-rc.5
- @spark-web/box@2.0.0-rc.5
## 2.0.0-rc.4
### Major Changes
- bug
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.4
- @spark-web/theme@4.0.0-rc.4
- @spark-web/utils@2.0.0-rc.4
- @spark-web/a11y@2.0.0-rc.4
- @spark-web/icon@2.0.0-rc.4
- @spark-web/link@2.0.0-rc.4
- @spark-web/text@2.0.0-rc.4
- @spark-web/box@2.0.0-rc.4
## 2.0.0-rc.3
### Major Changes
- upgrade package
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.3
- @spark-web/theme@4.0.0-rc.3
- @spark-web/utils@2.0.0-rc.3
- @spark-web/a11y@2.0.0-rc.3
- @spark-web/icon@2.0.0-rc.3
- @spark-web/link@2.0.0-rc.3
- @spark-web/text@2.0.0-rc.3
- @spark-web/box@2.0.0-rc.3
## 2.0.0-rc.2
### Major Changes
- add parser
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.2
- @spark-web/theme@4.0.0-rc.2
- @spark-web/utils@2.0.0-rc.2
- @spark-web/a11y@2.0.0-rc.2
- @spark-web/icon@2.0.0-rc.2
- @spark-web/link@2.0.0-rc.2
- @spark-web/text@2.0.0-rc.2
- @spark-web/box@2.0.0-rc.2
## 2.0.0-rc.1
### Major Changes
- rc
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.1
- @spark-web/theme@4.0.0-rc.1
- @spark-web/utils@2.0.0-rc.1
- @spark-web/a11y@2.0.0-rc.1
- @spark-web/icon@2.0.0-rc.1
- @spark-web/link@2.0.0-rc.1
- @spark-web/text@2.0.0-rc.1
- @spark-web/box@2.0.0-rc.1
## 2.0.0-rc.0
### Major Changes
- rc versio
### Patch Changes
- Updated dependencies []:
- @spark-web/spinner@2.0.0-rc.0
- @spark-web/theme@4.0.0-rc.0
- @spark-web/a11y@2.0.0-rc.0
- @spark-web/icon@2.0.0-rc.0
- @spark-web/text@2.0.0-rc.0
- @spark-web/box@2.0.0-rc.0
- @spark-web/link@2.0.0-rc.0
- @spark-web/utils@2.0.0-rc.0
## 1.5.3
### Patch Changes
- [#511](https://github.com/brighte-labs/spark-web/pull/511)
[`a2b6d91`](https://github.com/brighte-labs/spark-web/commit/a2b6d9160b7e50c6a3a9747cddc6a2891ce99ec5)
Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Add target to
ButtonLink props to support opening on new tab.
## 1.5.2
### Patch Changes
- [#451](https://github.com/brighte-labs/spark-web/pull/451)
[`02b6077`](https://github.com/brighte-labs/spark-web/commit/02b60775c2ea8e2f2c3ef27c5d4030e1b343fb92)
Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Fix button
loading and disabled state
## 1.5.1
### Patch Changes
- [#426](https://github.com/brighte-labs/spark-web/pull/426)
[`c674947`](https://github.com/brighte-labs/spark-web/commit/c6749475b0245718300c290f6e521609012aaf6b)
Thanks [@ralcoriza-brighte](https://github.com/ralcoriza-brighte)! - Updated
types based on prettier config
- Updated dependencies
[[`c674947`](https://github.com/brighte-labs/spark-web/commit/c6749475b0245718300c290f6e521609012aaf6b)]:
- @spark-web/theme@3.2.1
## 1.5.0
### Minor Changes
- [#382](https://github.com/brighte-labs/spark-web/pull/382)
[`955bf5d`](https://github.com/brighte-labs/spark-web/commit/955bf5d7698bfdf45e7f317aa3e726c81d3444c0)
Thanks [@dilipt-brighte](https://github.com/dilipt-brighte)! - Updates React
version to latest (18.2.0)
### Patch Changes
- Updated dependencies
[[`955bf5d`](https://github.com/brighte-labs/spark-web/commit/955bf5d7698bfdf45e7f317aa3e726c81d3444c0)]:
- @spark-web/a11y@1.4.0
- @spark-web/box@1.2.0
- @spark-web/icon@1.3.0
- @spark-web/link@1.1.0
- @spark-web/spinner@1.1.0
- @spark-web/text@1.2.0
- @spark-web/theme@3.2.0
- @spark-web/utils@1.3.0
## 1.4.5
### Patch Changes
- [#274](https://github.com/brighte-labs/spark-web/pull/274)
[`b6976e3`](https://github.com/brighte-labs/spark-web/commit/b6976e36ab0a577ba700660c5dc8d2d1251082bb)
Thanks [@szhang-brighte](https://github.com/szhang-brighte)! - update
@spark-web/link version
## 1.4.4
### Patch Changes
- [#245](https://github.com/brighte-labs/spark-web/pull/245)
[`21c6e08`](https://github.com/brighte-labs/spark-web/commit/21c6e08e821ada32feea7c34f1bf451573b5023d)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Remove explicit
JSX.Element return types
- [#218](https://github.com/brighte-labs/spark-web/pull/218)
[`6fc8d1b`](https://github.com/brighte-labs/spark-web/commit/6fc8d1bc37e25d0cd622bc37f68a1d92eb5961b5)
Thanks [@nderkim](https://github.com/nderkim)! - Rename files to kebab case
- [#222](https://github.com/brighte-labs/spark-web/pull/222)
[`7f93c45`](https://github.com/brighte-labs/spark-web/commit/7f93c45bbae8c765e10df9d0dd7615473797749b)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update
dependencies
- [#242](https://github.com/brighte-labs/spark-web/pull/242)
[`6df05f7`](https://github.com/brighte-labs/spark-web/commit/6df05f764e4181c140d6547d6b897d0210468f6a)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - - Add homepage
and repository keys to package.json
- Add CHANGELOG and README to files key in package.json
- Updated dependencies
[[`adc5e9e`](https://github.com/brighte-labs/spark-web/commit/adc5e9e6c99acd117f3261edcefdb5573132441b),
[`de99b9c`](https://github.com/brighte-labs/spark-web/commit/de99b9c7f72373bd1902cf67f5cfec9a1e1db01c),
[`6fc8d1b`](https://github.com/brighte-labs/spark-web/commit/6fc8d1bc37e25d0cd622bc37f68a1d92eb5961b5),
[`7f93c45`](https://github.com/brighte-labs/spark-web/commit/7f93c45bbae8c765e10df9d0dd7615473797749b),
[`62f7de8`](https://github.com/brighte-labs/spark-web/commit/62f7de8a2e1df5ae088c093d3acdaa868d3f61fe),
[`6df05f7`](https://github.com/brighte-labs/spark-web/commit/6df05f764e4181c140d6547d6b897d0210468f6a)]:
- @spark-web/box@1.1.0
- @spark-web/icon@1.2.2
- @spark-web/text@1.1.2
- @spark-web/a11y@1.3.2
- @spark-web/link@1.0.10
- @spark-web/spinner@1.0.8
- @spark-web/theme@3.1.0
- @spark-web/utils@1.2.3
## 1.4.3
### Patch Changes
- [#204](https://github.com/brighte-labs/spark-web/pull/204)
[`76522bd`](https://github.com/brighte-labs/spark-web/commit/76522bd266e8d07f0a2c003c0f78314ab002cf40)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Export
`ButtonChildrenProps`, `ButtonProminence`, `ButtonSize` and `ButtonTone`
types.
## 1.4.2
### Patch Changes
- [#208](https://github.com/brighte-labs/spark-web/pull/208)
[`1ea26ef`](https://github.com/brighte-labs/spark-web/commit/1ea26ef04a3b45875ed0dd2326eeab1fbe1e4bc5)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Lower required
node version
- Updated dependencies
[[`1ea26ef`](https://github.com/brighte-labs/spark-web/commit/1ea26ef04a3b45875ed0dd2326eeab1fbe1e4bc5)]:
- @spark-web/a11y@1.3.1
- @spark-web/box@1.0.9
- @spark-web/icon@1.2.1
- @spark-web/link@1.0.9
- @spark-web/spinner@1.0.7
- @spark-web/text@1.1.1
- @spark-web/theme@3.0.6
- @spark-web/utils@1.2.2
## 1.4.1
### Patch Changes
- [#197](https://github.com/brighte-labs/spark-web/pull/197)
[`94016d8`](https://github.com/brighte-labs/spark-web/commit/94016d84e26bbe55833bbcbab847a2cce6041538)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update packages
- Updated dependencies
[[`51b6c7a`](https://github.com/brighte-labs/spark-web/commit/51b6c7a43f441e02b90403b13af9cfa11e5438ef),
[`9ff0c4b`](https://github.com/brighte-labs/spark-web/commit/9ff0c4b4cc83e0e1ab609d0bcdb01458b654263e),
[`07286b5`](https://github.com/brighte-labs/spark-web/commit/07286b52f897909b1a806d736e1040351c93078f),
[`94016d8`](https://github.com/brighte-labs/spark-web/commit/94016d84e26bbe55833bbcbab847a2cce6041538)]:
- @spark-web/a11y@1.3.0
- @spark-web/text@1.1.0
- @spark-web/icon@1.2.0
- @spark-web/box@1.0.8
- @spark-web/link@1.0.8
- @spark-web/spinner@1.0.6
- @spark-web/theme@3.0.5
- @spark-web/utils@1.2.1
## 1.4.0
### Minor Changes
- [#188](https://github.com/brighte-labs/spark-web/pull/188)
[`891f839`](https://github.com/brighte-labs/spark-web/commit/891f839c5a5608d771183189cb12116a60f66209)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Move
aria-disabled logic from Button onto underlying BaseButton
* [#188](https://github.com/brighte-labs/spark-web/pull/188)
[`891f839`](https://github.com/brighte-labs/spark-web/commit/891f839c5a5608d771183189cb12116a60f66209)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Export
useButtonStyles hook
### Patch Changes
- Updated dependencies
[[`7b0cfdf`](https://github.com/brighte-labs/spark-web/commit/7b0cfdf6fb4d32b86e00050d8869ac2b9787cf41)]:
- @spark-web/theme@3.0.4
## 1.3.1
### Patch Changes
- [#185](https://github.com/brighte-labs/spark-web/pull/185)
[`82413df`](https://github.com/brighte-labs/spark-web/commit/82413df8f27ba2508911d0edb4380d3d366c75c0)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Remove "cursor:
pointer" when buttons are disabled
## 1.3.0
### Minor Changes
- [#181](https://github.com/brighte-labs/spark-web/pull/181)
[`be99536`](https://github.com/brighte-labs/spark-web/commit/be99536abb56dd26e5c9a1703e6df9c7860b449b)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add disabled
styles for buttons
Move aria-disabled logic from Button onto underlying BaseButton
* [#179](https://github.com/brighte-labs/spark-web/pull/179)
[`d935c57`](https://github.com/brighte-labs/spark-web/commit/d935c57c2302700e8a2332b757d38220b9c47f84)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Accept number as
child for button
### Patch Changes
- [#173](https://github.com/brighte-labs/spark-web/pull/173)
[`90b7e9c`](https://github.com/brighte-labs/spark-web/commit/90b7e9cf4eb7e864d765c74b22c3dedf3d262e25)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update babel
dependency
- Updated dependencies
[[`90b7e9c`](https://github.com/brighte-labs/spark-web/commit/90b7e9cf4eb7e864d765c74b22c3dedf3d262e25),
[`be99536`](https://github.com/brighte-labs/spark-web/commit/be99536abb56dd26e5c9a1703e6df9c7860b449b),
[`c3867af`](https://github.com/brighte-labs/spark-web/commit/c3867af7b77dfae3580ab63a5d5c9e8452f2da62)]:
- @spark-web/a11y@1.2.0
- @spark-web/box@1.0.7
- @spark-web/icon@1.1.5
- @spark-web/link@1.0.7
- @spark-web/spinner@1.0.5
- @spark-web/text@1.0.7
- @spark-web/theme@3.0.3
- @spark-web/utils@1.2.0
## 1.2.0
### Minor Changes
- [#153](https://github.com/brighte-labs/spark-web/pull/153)
[`e17ddb6`](https://github.com/brighte-labs/spark-web/commit/e17ddb6328a792bd5905cff20ced5907ca055f82)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Create BaseButton
and focus button on click to address Safari bug
### Patch Changes
- [#167](https://github.com/brighte-labs/spark-web/pull/167)
[`4f79350`](https://github.com/brighte-labs/spark-web/commit/4f793508fdb43ddd452f0d59a3126101f9fa5459)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update Babel
- Updated dependencies
[[`4f79350`](https://github.com/brighte-labs/spark-web/commit/4f793508fdb43ddd452f0d59a3126101f9fa5459),
[`f524009`](https://github.com/brighte-labs/spark-web/commit/f5240098cf731b0a2e351b7b585711e893a33736),
[`60f7281`](https://github.com/brighte-labs/spark-web/commit/60f7281c4a194d934a2ce561cad47e737b0fb48e)]:
- @spark-web/a11y@1.1.0
- @spark-web/box@1.0.6
- @spark-web/icon@1.1.4
- @spark-web/link@1.0.6
- @spark-web/spinner@1.0.4
- @spark-web/text@1.0.6
- @spark-web/theme@3.0.2
- @spark-web/utils@1.1.5
## 1.1.2
### Patch Changes
- [#144](https://github.com/brighte-labs/spark-web/pull/144)
[`949001a`](https://github.com/brighte-labs/spark-web/commit/949001aca3304a4f13750885575de8ec9e8503b3)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Better align
icons inside of buttons
- Updated dependencies
[[`500939d`](https://github.com/brighte-labs/spark-web/commit/500939de7c45c93d48078f39151035ab9eba057f)]:
- @spark-web/spinner@1.0.3
## 1.1.1
### Patch Changes
- [#113](https://github.com/brighte-labs/spark-web/pull/113)
[`156236d`](https://github.com/brighte-labs/spark-web/commit/156236d2474aee66a0b8e2030635f9c08a5b78ba)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update
dependencies
- Updated dependencies
[[`08752c3`](https://github.com/brighte-labs/spark-web/commit/08752c350b53cde0657ec32f03f9932dec835e33),
[`156236d`](https://github.com/brighte-labs/spark-web/commit/156236d2474aee66a0b8e2030635f9c08a5b78ba)]:
- @spark-web/a11y@1.0.5
- @spark-web/box@1.0.5
- @spark-web/icon@1.1.3
- @spark-web/link@1.0.5
- @spark-web/spinner@1.0.2
- @spark-web/text@1.0.5
- @spark-web/theme@3.0.1
- @spark-web/utils@1.1.3
## 1.1.0
### Minor Changes
- [#77](https://github.com/brighte-labs/spark-web/pull/77)
[`8ff39aa`](https://github.com/brighte-labs/spark-web/commit/8ff39aa7e51d8d3f17dcbd87ebe60502a8d8d260)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add loading state
to button
### Patch Changes
- [#59](https://github.com/brighte-labs/spark-web/pull/59)
[`7a91941`](https://github.com/brighte-labs/spark-web/commit/7a91941385dcb4744384818bb5c4866c24c357f5)
Thanks [@tamm](https://github.com/tamm)! - Fixed spelling mistake from Buttton
to Button
* [#65](https://github.com/brighte-labs/spark-web/pull/65)
[`182a53a`](https://github.com/brighte-labs/spark-web/commit/182a53a484892df48754e89dd714459a7f69fcff)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Remove "Inter"
font, change font-weights and font-sizes.
- [#52](https://github.com/brighte-labs/spark-web/pull/52)
[`82ab744`](https://github.com/brighte-labs/spark-web/commit/82ab744f198466810f3386bc459b8ab4d57c820e)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add files array
to package.json files
- Updated dependencies
[[`1ef4f82`](https://github.com/brighte-labs/spark-web/commit/1ef4f82df999c487b79cd216c17ca5735e444fc5),
[`182a53a`](https://github.com/brighte-labs/spark-web/commit/182a53a484892df48754e89dd714459a7f69fcff),
[`5744b68`](https://github.com/brighte-labs/spark-web/commit/5744b6820f626b93a14e11e1fbd96bcbe1b12b27),
[`82ab744`](https://github.com/brighte-labs/spark-web/commit/82ab744f198466810f3386bc459b8ab4d57c820e),
[`58a7284`](https://github.com/brighte-labs/spark-web/commit/58a728457bbbda86ac406a72d8ec4ad6c1c16630),
[`df618d9`](https://github.com/brighte-labs/spark-web/commit/df618d92d534e06f06ecedc95ea6bdd51cdc906b)]:
- @spark-web/text@1.0.4
- @spark-web/theme@3.0.0
- @spark-web/link@1.0.4
- @spark-web/spinner@1.0.1
- @spark-web/a11y@1.0.4
- @spark-web/box@1.0.4
- @spark-web/icon@1.1.2
- @spark-web/utils@1.1.2
## 1.0.3
### Patch Changes
- [#42](https://github.com/brighte-labs/spark-web/pull/42)
[`435779a`](https://github.com/brighte-labs/spark-web/commit/435779aa42bd635bbf43e1fd41724c666402caa2)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Prevent multiple
versions of React
- Updated dependencies
[[`435779a`](https://github.com/brighte-labs/spark-web/commit/435779aa42bd635bbf43e1fd41724c666402caa2)]:
- @spark-web/a11y@1.0.3
- @spark-web/box@1.0.3
- @spark-web/icon@1.1.1
- @spark-web/link@1.0.3
- @spark-web/text@1.0.3
- @spark-web/theme@2.0.2
- @spark-web/utils@1.1.1
## 1.0.2
### Patch Changes
- [#40](https://github.com/brighte-labs/spark-web/pull/40)
[`062c8ab`](https://github.com/brighte-labs/spark-web/commit/062c8ab8c7b4120f8d14c269b5f7801288c678ca)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Add
@babel/transform-runtime
- Updated dependencies
[[`062c8ab`](https://github.com/brighte-labs/spark-web/commit/062c8ab8c7b4120f8d14c269b5f7801288c678ca)]:
- @spark-web/a11y@1.0.2
- @spark-web/box@1.0.2
- @spark-web/icon@1.0.2
- @spark-web/link@1.0.2
- @spark-web/text@1.0.2
- @spark-web/theme@2.0.1
- @spark-web/utils@1.0.2
## 1.0.1
### Patch Changes
- [#36](https://github.com/brighte-labs/spark-web/pull/36)
[`8546f8f`](https://github.com/brighte-labs/spark-web/commit/8546f8f05daaa79ea3ff954c6c4928a7a2d0622d)
Thanks [@lukebennett88](https://github.com/lukebennett88)! - Update Babel
config
- Updated dependencies
[[`aebff30`](https://github.com/brighte-labs/spark-web/commit/aebff30c86cb0a9db22b545c46159ce0d1c14afb),
[`8546f8f`](https://github.com/brighte-labs/spark-web/commit/8546f8f05daaa79ea3ff954c6c4928a7a2d0622d)]:
- @spark-web/theme@2.0.0
- @spark-web/a11y@1.0.1
- @spark-web/box@1.0.1
- @spark-web/icon@1.0.1
- @spark-web/link@1.0.1
- @spark-web/text@1.0.1
- @spark-web/utils@1.0.1
## 1.0.0
### Major Changes
- [#27](https://github.com/brighte-labs/spark-web/pull/27)
[`4c8e398`](https://github.com/brighte-labs/spark-web/commit/4c8e3988f8a59d3dab60a6b67b1128b6ff2a5f2c)
Thanks [@JedWatson](https://github.com/JedWatson)! - Initial Version
### Patch Changes
- Updated dependencies
[[`4c8e398`](https://github.com/brighte-labs/spark-web/commit/4c8e3988f8a59d3dab60a6b67b1128b6ff2a5f2c)]:
- @spark-web/a11y@1.0.0
- @spark-web/box@1.0.0
- @spark-web/icon@1.0.0
- @spark-web/link@1.0.0
- @spark-web/text@1.0.0
- @spark-web/theme@1.0.0
- @spark-web/utils@1.0.0