@guideify/react 0.4.0 → 0.6.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.cts CHANGED
@@ -322,11 +322,19 @@ interface ResourceCentre {
322
322
  sections: ResourceSection[];
323
323
  position?: 'bottom-end' | 'bottom-start';
324
324
  }
325
+ /**
326
+ * Whether the SDK's cards, banners and checklist are light, dark, or follow the
327
+ * end user's operating system. `system` is the default, and was the only
328
+ * behaviour before there was a choice.
329
+ */
330
+ declare const COLOR_SCHEMES: readonly ["system", "light", "dark"];
331
+ type ColorScheme = (typeof COLOR_SCHEMES)[number];
325
332
  interface ThemeTokens {
326
333
  accent?: string;
327
334
  scrim?: string;
328
335
  radius?: string;
329
336
  fontFamily?: string;
337
+ colorScheme?: ColorScheme;
330
338
  }
331
339
  interface ConfigSettings {
332
340
  /** Max flows auto-started per session. Stops customers spamming their users. */
package/dist/index.d.ts CHANGED
@@ -322,11 +322,19 @@ interface ResourceCentre {
322
322
  sections: ResourceSection[];
323
323
  position?: 'bottom-end' | 'bottom-start';
324
324
  }
325
+ /**
326
+ * Whether the SDK's cards, banners and checklist are light, dark, or follow the
327
+ * end user's operating system. `system` is the default, and was the only
328
+ * behaviour before there was a choice.
329
+ */
330
+ declare const COLOR_SCHEMES: readonly ["system", "light", "dark"];
331
+ type ColorScheme = (typeof COLOR_SCHEMES)[number];
325
332
  interface ThemeTokens {
326
333
  accent?: string;
327
334
  scrim?: string;
328
335
  radius?: string;
329
336
  fontFamily?: string;
337
+ colorScheme?: ColorScheme;
330
338
  }
331
339
  interface ConfigSettings {
332
340
  /** Max flows auto-started per session. Stops customers spamming their users. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guideify/react",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",