@boldvideo/bold-js 1.1.1 → 1.3.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,17 @@
1
1
  # @boldvideo/bold-js
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 57c4de2: Add missing fields to PortalTheme type: `logo_dark_url` for dark mode logos and `css_overrides` for custom CSS injection.
8
+
9
+ ## 1.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 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`.
14
+
3
15
  ## 1.1.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -88,13 +88,21 @@ 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
+ logo_dark_url: string;
96
97
  logo_width: number;
97
- primary: string;
98
+ logo_height: number;
99
+ header_size: string;
100
+ layout: string;
101
+ radius: string;
102
+ color_scheme: "toggle" | "light" | "dark";
103
+ light: ThemeColors;
104
+ dark: ThemeColors;
105
+ css_overrides: string | null;
98
106
  };
99
107
  type Portal = {
100
108
  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.3.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",