@spark-web/ssr
Version:
--- title: SSR isExperimentalPackage: true ---
312 lines (181 loc) • 6.33 kB
Markdown
# @spark-web/ssr
## 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
## 5.0.0-rc.31
### Patch Changes
- Fix type-related issues
## 5.0.0-rc.30
### Minor Changes
- Adopt latest changes from stable main branch
## 5.0.0-rc.29
### Minor Changes
- Revise stylesheet maps to align with theme name change
## 5.0.0-rc.28
### Minor Changes
- Move fonts to theme package; Introduce Pantheon font family and stylesheet
## 5.0.0-rc.27
### Minor Changes
- Remove theme prop in button link
## 5.0.0-rc.26
### Minor Changes
- Roll back on using theme prop for component level theming; prefer using
ThemeProvider in applications instead
## 5.0.0-rc.25
### Minor Changes
- Implement checkbox tokens for test theme
## 5.0.0-rc.24
### Minor Changes
- Resolve issues with package build output
## 2.0.0-rc.21
### Minor Changes
- Introduce global theming provider to set global default theme
## 2.0.0-rc.20
### Minor Changes
- Support for component-level theming; button-level theming
## 2.0.0-rc.19
### Major Changes
- test
## 2.0.0-rc.18
### Major Changes
- tests
## 2.0.0-rc.17
### Major Changes
- test
## 2.0.0-rc.16
### Major Changes
- test
## 2.0.0-rc.15
### Major Changes
- test
## 2.0.0-rc.14
### Major Changes
- test
## 2.0.0-rc.13
### Major Changes
- test
## 2.0.0-rc.12
### Major Changes
- test
## 2.0.0-rc.11
### Major Changes
- test
## 2.0.0-rc.10
### Major Changes
- test
## 2.0.0-rc.9
### Major Changes
- test
## 2.0.0-rc.8
### Major Changes
- test
## 2.0.0-rc.7
### Major Changes
- test
## 2.0.0-rc.6
### Major Changes
- test
## 2.0.0-rc.5
### Major Changes
- test
## 2.0.0-rc.4
### Major Changes
- bug
## 2.0.0-rc.3
### Major Changes
- upgrade package
## 2.0.0-rc.2
### Major Changes
- add parser
## 2.0.0-rc.1
### Major Changes
- rc
## 2.0.0-rc.0
### Major Changes
- rc versio
## 1.0.9
### Patch Changes
- [#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
## 1.0.8
### 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
## 1.0.7
### 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
## 1.0.6
### 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
## 1.0.5
### 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
## 1.0.4
### 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
## 1.0.3
### Patch Changes
- [#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
## 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
## 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
## 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