@boldvideo/bold-js 1.0.1 → 1.1.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 +23 -0
- package/dist/index.d.ts +8 -15
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @boldvideo/bold-js
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7bd10c4: Fix ThemeColors type: changed `accent-foreground` and `muted-foreground` properties to use underscores (`accent_foreground`, `muted_foreground`) to match the API response format
|
|
8
|
+
|
|
9
|
+
## 1.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 44c1a4f: Simplify ThemeColors type to match new 9-token backend theme system (BOLD-919)
|
|
14
|
+
|
|
15
|
+
**ThemeColors changes:**
|
|
16
|
+
|
|
17
|
+
- Added: `accent`, `accent-foreground`, `surface`
|
|
18
|
+
- Removed: `card`, `card-foreground`, `destructive`, `destructive-foreground`, `input`, `popover`, `popover-foreground`, `primary`, `primary-foreground`, `secondary`, `secondary-foreground`
|
|
19
|
+
|
|
20
|
+
**ThemeConfig changes:**
|
|
21
|
+
|
|
22
|
+
- Added: `color_scheme` field (`"toggle" | "light" | "dark"`)
|
|
23
|
+
|
|
24
|
+
This aligns the SDK types with the backend's dynamically derived OKLCH theme tokens (BOLD-921).
|
|
25
|
+
|
|
3
26
|
## 1.0.1
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -104,28 +104,21 @@ type Portal = {
|
|
|
104
104
|
theme: PortalTheme;
|
|
105
105
|
};
|
|
106
106
|
type ThemeColors = {
|
|
107
|
+
accent: string;
|
|
107
108
|
background: string;
|
|
108
|
-
border: string;
|
|
109
|
-
card: string;
|
|
110
|
-
"card-foreground": string;
|
|
111
|
-
destructive: string;
|
|
112
|
-
"destructive-foreground": string;
|
|
113
109
|
foreground: string;
|
|
114
|
-
|
|
110
|
+
accent_foreground: string;
|
|
115
111
|
muted: string;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"popover-foreground": string;
|
|
119
|
-
primary: string;
|
|
120
|
-
"primary-foreground": string;
|
|
112
|
+
muted_foreground: string;
|
|
113
|
+
border: string;
|
|
121
114
|
ring: string;
|
|
122
|
-
|
|
123
|
-
"secondary-foreground": string;
|
|
115
|
+
surface: string;
|
|
124
116
|
};
|
|
125
117
|
type ThemeConfig = {
|
|
126
|
-
dark: ThemeColors;
|
|
127
|
-
light: ThemeColors;
|
|
128
118
|
radius: string;
|
|
119
|
+
color_scheme: "toggle" | "light" | "dark";
|
|
120
|
+
light: ThemeColors;
|
|
121
|
+
dark: ThemeColors;
|
|
129
122
|
};
|
|
130
123
|
type AccountAI = {
|
|
131
124
|
avatar_url: string;
|