@syntrologie/runtime-sdk 2.4.0-canary.23 → 2.4.0-canary.24

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/version.d.ts CHANGED
@@ -10,4 +10,4 @@
10
10
  *
11
11
  * @since 2.0.0
12
12
  */
13
- export declare const SDK_VERSION = "2.4.0-canary.23";
13
+ export declare const SDK_VERSION = "2.4.0-canary.24";
@@ -47,6 +47,7 @@ export interface WidgetRegistration {
47
47
  name?: string;
48
48
  description?: string;
49
49
  icon?: string;
50
+ subtitle?: string;
50
51
  };
51
52
  }
52
53
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syntrologie/runtime-sdk",
3
- "version": "2.4.0-canary.23",
3
+ "version": "2.4.0-canary.24",
4
4
  "description": "Syntrologie Runtime SDK for web experimentation and analytics",
5
5
  "license": "Proprietary",
6
6
  "private": false,
@@ -67,12 +67,12 @@
67
67
  "@floating-ui/dom": "^1.7.5",
68
68
  "@growthbook/growthbook": "~1.6.2",
69
69
  "@growthbook/growthbook-react": "^1.6.4",
70
- "@syntrologie/adapt-chatbot": "2.4.0-canary.23",
71
- "@syntrologie/adapt-content": "2.4.0-canary.23",
72
- "@syntrologie/adapt-faq": "2.4.0-canary.23",
73
- "@syntrologie/adapt-gamification": "2.4.0-canary.23",
74
- "@syntrologie/adapt-nav": "2.4.0-canary.23",
75
- "@syntrologie/adapt-overlays": "2.4.0-canary.23",
70
+ "@syntrologie/adapt-chatbot": "2.4.0-canary.24",
71
+ "@syntrologie/adapt-content": "2.4.0-canary.24",
72
+ "@syntrologie/adapt-faq": "2.4.0-canary.24",
73
+ "@syntrologie/adapt-gamification": "2.4.0-canary.24",
74
+ "@syntrologie/adapt-nav": "2.4.0-canary.24",
75
+ "@syntrologie/adapt-overlays": "2.4.0-canary.24",
76
76
  "lucide-react": "^0.576.0",
77
77
  "posthog-js": "~1.302.2",
78
78
  "zod": "^3.25.76"
@@ -77,7 +77,8 @@
77
77
  "enum": [
78
78
  "adaptive-chatbot:assistant",
79
79
  "adaptive-faq:accordion",
80
- "adaptive-nav:tips"
80
+ "adaptive-nav:tips",
81
+ "adaptive-overlays:workflow-tracker"
81
82
  ],
82
83
  "description": "Registered widget ID. Must match an adaptive widget registration."
83
84
  },
@@ -198,6 +199,25 @@
198
199
  }
199
200
  }
200
201
  }
202
+ },
203
+ {
204
+ "if": {
205
+ "properties": {
206
+ "widget": {
207
+ "const": "adaptive-overlays:workflow-tracker"
208
+ }
209
+ },
210
+ "required": [
211
+ "widget"
212
+ ]
213
+ },
214
+ "then": {
215
+ "properties": {
216
+ "props": {
217
+ "$ref": "#/$defs/workflowTrackerProps"
218
+ }
219
+ }
220
+ }
201
221
  }
202
222
  ]
203
223
  },
@@ -541,8 +561,9 @@
541
561
  "routes": {
542
562
  "$ref": "#/$defs/routeFilter"
543
563
  },
544
- "strategy": {
545
- "$ref": "#/$defs/decisionStrategy"
564
+ "onlyIfPopulated": {
565
+ "type": "boolean",
566
+ "description": "When true, tile is hidden if none of its props.actions[] have an active triggerWhen. Useful for tiles with all-deferred FAQ questions or nav tips. Default: false."
546
567
  }
547
568
  },
548
569
  "required": [
@@ -557,13 +578,15 @@
557
578
  "type": "array",
558
579
  "items": {
559
580
  "type": "string"
560
- }
581
+ },
582
+ "description": "URL patterns where this tile appears. Supports *, **, :param wildcards. Use sparingly — mostly to isolate to specific webapp functionality. Omit to appear on all routes."
561
583
  },
562
584
  "exclude": {
563
585
  "type": "array",
564
586
  "items": {
565
587
  "type": "string"
566
- }
588
+ },
589
+ "description": "URL patterns where this tile should NOT appear. Evaluated before include."
567
590
  }
568
591
  },
569
592
  "additionalProperties": false
@@ -7206,7 +7229,8 @@
7206
7229
  "enum": [
7207
7230
  "adaptive-chatbot:assistant",
7208
7231
  "adaptive-faq:accordion",
7209
- "adaptive-nav:tips"
7232
+ "adaptive-nav:tips",
7233
+ "adaptive-overlays:workflow-tracker"
7210
7234
  ],
7211
7235
  "description": "Registered widget ID. Must match an adaptive widget registration."
7212
7236
  },
@@ -14838,6 +14862,11 @@
14838
14862
  },
14839
14863
  "additionalProperties": false
14840
14864
  },
14865
+ "workflowTrackerProps": {
14866
+ "type": "object",
14867
+ "properties": {},
14868
+ "additionalProperties": true
14869
+ },
14841
14870
  "actionStep": {
14842
14871
  "oneOf": [
14843
14872
  {