@cavuno/board 1.32.0 → 1.33.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/dist/index.d.mts CHANGED
@@ -204,7 +204,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
204
204
  * constant because the package is platform-neutral and cannot read
205
205
  * package.json at runtime.
206
206
  */
207
- declare const SDK_VERSION = "1.32.0";
207
+ declare const SDK_VERSION = "1.33.0";
208
208
 
209
209
  type SavedJob = Schemas['SavedJob'];
210
210
  type SavedJobsListQuery = {
package/dist/index.d.ts CHANGED
@@ -204,7 +204,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
204
204
  * constant because the package is platform-neutral and cannot read
205
205
  * package.json at runtime.
206
206
  */
207
- declare const SDK_VERSION = "1.32.0";
207
+ declare const SDK_VERSION = "1.33.0";
208
208
 
209
209
  type SavedJob = Schemas['SavedJob'];
210
210
  type SavedJobsListQuery = {
package/dist/index.js CHANGED
@@ -312,7 +312,7 @@ async function clearSession(storage) {
312
312
  }
313
313
 
314
314
  // src/version.ts
315
- var SDK_VERSION = "1.32.0";
315
+ var SDK_VERSION = "1.33.0";
316
316
 
317
317
  // src/client.ts
318
318
  function isRawBody(body) {
package/dist/index.mjs CHANGED
@@ -265,7 +265,7 @@ async function clearSession(storage) {
265
265
  }
266
266
 
267
267
  // src/version.ts
268
- var SDK_VERSION = "1.32.0";
268
+ var SDK_VERSION = "1.33.0";
269
269
 
270
270
  // src/client.ts
271
271
  function isRawBody(body) {
package/dist/theme.js CHANGED
@@ -94,9 +94,15 @@ function boardThemeToCss(theme) {
94
94
  const light = tokenLines(theme.colors.light ?? {});
95
95
  const dark = tokenLines(theme.colors.dark ?? {});
96
96
  const fontSans = theme.typography?.fontSans;
97
+ const genericStack = "ui-sans-serif, system-ui, sans-serif";
98
+ const sansStack = fontSans ? `'${themeFontFamily(fontSans)}', ${genericStack}` : genericStack;
97
99
  if (fontSans) {
100
+ light.push(` --font-sans: ${sansStack};`);
101
+ }
102
+ const fontHeading = theme.typography?.fontHeading;
103
+ if (fontHeading) {
98
104
  light.push(
99
- ` --font-sans: '${themeFontFamily(fontSans)}', ui-sans-serif, system-ui, sans-serif;`
105
+ ` --font-heading: '${themeFontFamily(fontHeading)}', ${sansStack};`
100
106
  );
101
107
  }
102
108
  const blocks = [];
package/dist/theme.mjs CHANGED
@@ -64,9 +64,15 @@ function boardThemeToCss(theme) {
64
64
  const light = tokenLines(theme.colors.light ?? {});
65
65
  const dark = tokenLines(theme.colors.dark ?? {});
66
66
  const fontSans = theme.typography?.fontSans;
67
+ const genericStack = "ui-sans-serif, system-ui, sans-serif";
68
+ const sansStack = fontSans ? `'${themeFontFamily(fontSans)}', ${genericStack}` : genericStack;
67
69
  if (fontSans) {
70
+ light.push(` --font-sans: ${sansStack};`);
71
+ }
72
+ const fontHeading = theme.typography?.fontHeading;
73
+ if (fontHeading) {
68
74
  light.push(
69
- ` --font-sans: '${themeFontFamily(fontSans)}', ui-sans-serif, system-ui, sans-serif;`
75
+ ` --font-heading: '${themeFontFamily(fontHeading)}', ${sansStack};`
70
76
  );
71
77
  }
72
78
  const blocks = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cavuno/board",
3
- "version": "1.32.0",
3
+ "version": "1.33.0",
4
4
  "description": "Typed isomorphic client for the Cavuno Board API",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.32.0",
2
+ "version": "1.33.0",
3
3
  "skills": [
4
4
  {
5
5
  "name": "cavuno-board-account",