@boldvideo/bold-js 0.6.1 → 0.7.1

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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @boldvideo/bold-js
2
2
 
3
+ ## 0.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix: Add thoughts directory to .npmignore to prevent publishing internal planning files
8
+
9
+ ## 0.7.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Add `color_scheme` field to Portal type (BOLD-759)
14
+
15
+ Added optional `color_scheme` field to the Portal type to support theme configuration:
16
+
17
+ - `'toggle'`: Show theme toggle, allow user to switch between light/dark
18
+ - `'light'`: Force light mode, hide theme toggle
19
+ - `'dark'`: Force dark mode, hide theme toggle
20
+
21
+ This field is already returned by the API and consumed by the Next.js starter. The type definition now matches the API response.
22
+
3
23
  ## 0.6.1
4
24
 
5
25
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -97,6 +97,7 @@ type PortalTheme = {
97
97
  primary: string;
98
98
  };
99
99
  type Portal = {
100
+ color_scheme?: 'toggle' | 'light' | 'dark';
100
101
  display: PortalDisplay;
101
102
  layout: PortalLayout;
102
103
  navigation: PortalNavigation;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boldvideo/bold-js",
3
3
  "license": "MIT",
4
- "version": "0.6.1",
4
+ "version": "0.7.1",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
Binary file