@spark-web/badge 5.0.0-rc.29 → 5.0.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,74 @@
1
1
  # @spark-web/badge
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - This release of spark-web standardises the version across all packages to be
8
+ **`v5`**, primarily signifying the switch from `@emotion/css` to
9
+ `@emotion/react` as one of the key dependencies of the entire library, in
10
+ order to support server-side rendering / SSR.
11
+
12
+ This release also introduces support for theming, to allow for more co-branded
13
+ experiences across our web applications. It also supports component-level
14
+ theming for `<Button />`, `<ButtonLink />`, and `<Checkbox />`, which provides
15
+ the capability to override the global theme available inside an application.
16
+
17
+ To use this in an application, you can wrap the affected areas with a
18
+ `ThemeProvider`:
19
+
20
+ ```
21
+ <ThemeProvider theme="pantheon">
22
+ <Input type="text" />
23
+ <Button type="submit" />
24
+ </ThemeProvider>
25
+ ```
26
+
27
+ Part of the theming capabilities includes a new theme for `spark-web` called
28
+ "pantheon", which should map with our co-branding efforts in the Pantheon
29
+ project. It currently includes a small set of colors and its corresponding
30
+ font family.
31
+
32
+ ### Patch Changes
33
+
34
+ - [#532](https://github.com/brighte-labs/spark-web/pull/532)
35
+ [`631573c`](https://github.com/brighte-labs/spark-web/commit/631573cb72981d99b9afa4ad559123f44e47b2a9)
36
+ Thanks [@ralcoriza-brighte](https://github.com/ralcoriza-brighte)! - Fix
37
+ type-related issues
38
+
39
+ - Updated dependencies
40
+ [[`631573c`](https://github.com/brighte-labs/spark-web/commit/631573cb72981d99b9afa4ad559123f44e47b2a9)]:
41
+ - @spark-web/theme@5.0.0
42
+ - @spark-web/utils@5.0.0
43
+ - @spark-web/text@5.0.0
44
+ - @spark-web/box@5.0.0
45
+
46
+ ## 5.0.0-rc.31
47
+
48
+ ### Patch Changes
49
+
50
+ - Fix type-related issues
51
+
52
+ - Updated dependencies []:
53
+ - @spark-web/theme@5.0.0-rc.31
54
+ - @spark-web/utils@5.0.0-rc.31
55
+ - @spark-web/text@5.0.0-rc.31
56
+ - @spark-web/box@5.0.0-rc.31
57
+
58
+ ## 5.0.0-rc.30
59
+
60
+ ### Minor Changes
61
+
62
+ - Adopt latest changes from stable main branch
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies []:
67
+ - @spark-web/theme@5.0.0-rc.30
68
+ - @spark-web/utils@5.0.0-rc.30
69
+ - @spark-web/text@5.0.0-rc.30
70
+ - @spark-web/box@5.0.0-rc.30
71
+
3
72
  ## 5.0.0-rc.29
4
73
 
5
74
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-web/badge",
3
- "version": "5.0.0-rc.29",
3
+ "version": "5.0.0",
4
4
  "homepage": "https://github.com/brighte-labs/spark-web#readme",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,10 +17,10 @@
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.25.0",
19
19
  "@emotion/react": "^11.14.0",
20
- "@spark-web/box": "^5.0.0-rc.29",
21
- "@spark-web/text": "^5.0.0-rc.29",
22
- "@spark-web/theme": "^5.0.0-rc.29",
23
- "@spark-web/utils": "^5.0.0-rc.29"
20
+ "@spark-web/box": "^5.0.0",
21
+ "@spark-web/text": "^5.0.0",
22
+ "@spark-web/theme": "^5.0.0",
23
+ "@spark-web/utils": "^5.0.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/react": "^18.2.0",