@boldvideo/bold-js 1.1.1 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @boldvideo/bold-js
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 20f21be: Add consolidated theme fields to PortalTheme type: `header_size`, `layout`, `radius`, `color_scheme`, `light`, and `dark` OKLCH tokens. This aligns the SDK with the updated Settings API where theme configuration is now included directly in `portal.theme`.
8
+
3
9
  ## 1.1.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -88,13 +88,19 @@ type PortalNavigation = {
88
88
  };
89
89
  type PortalTheme = {
90
90
  background: string;
91
+ foreground: string;
92
+ primary: string;
91
93
  font_body: string;
92
94
  font_header: string;
93
- foreground: string;
94
- logo_height: number;
95
95
  logo_url: string;
96
96
  logo_width: number;
97
- primary: string;
97
+ logo_height: number;
98
+ header_size: string;
99
+ layout: string;
100
+ radius: string;
101
+ color_scheme: "toggle" | "light" | "dark";
102
+ light: ThemeColors;
103
+ dark: ThemeColors;
98
104
  };
99
105
  type Portal = {
100
106
  color_scheme?: 'toggle' | 'light' | 'dark';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boldvideo/bold-js",
3
3
  "license": "MIT",
4
- "version": "1.1.1",
4
+ "version": "1.2.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",