@boldvideo/bold-js 1.1.0 → 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 +12 -0
- package/dist/index.d.ts +11 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
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
|
+
|
|
9
|
+
## 1.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7bd10c4: Fix ThemeColors type: changed `accent-foreground` and `muted-foreground` properties to use underscores (`accent_foreground`, `muted_foreground`) to match the API response format
|
|
14
|
+
|
|
3
15
|
## 1.1.0
|
|
4
16
|
|
|
5
17
|
### Minor 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
|
-
|
|
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';
|
|
@@ -107,9 +113,9 @@ type ThemeColors = {
|
|
|
107
113
|
accent: string;
|
|
108
114
|
background: string;
|
|
109
115
|
foreground: string;
|
|
110
|
-
|
|
116
|
+
accent_foreground: string;
|
|
111
117
|
muted: string;
|
|
112
|
-
|
|
118
|
+
muted_foreground: string;
|
|
113
119
|
border: string;
|
|
114
120
|
ring: string;
|
|
115
121
|
surface: string;
|