@syntrologie/runtime-sdk 2.8.0-canary.47 → 2.8.0-canary.49

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/CAPABILITIES.md CHANGED
@@ -368,7 +368,7 @@ Each item in the `items` array:
368
368
  | `config.category` | string | No | Category for grouping items |
369
369
  | `config.priority` | number | No | Priority weight for ordering |
370
370
  | `config.answerStrategy` | AnswerStrategy | No | AI-generated answer configuration |
371
- | `showWhen` | DecisionStrategy \| null | No | Conditional visibility strategy |
371
+ | `triggerWhen` | DecisionStrategy \| null | No | Conditional visibility strategy |
372
372
 
373
373
  ```json
374
374
  {
@@ -404,7 +404,7 @@ Each item in the `items` array:
404
404
  "category": "Billing",
405
405
  "priority": 5
406
406
  },
407
- "showWhen": {
407
+ "triggerWhen": {
408
408
  "type": "rules",
409
409
  "rules": [
410
410
  {
@@ -541,12 +541,12 @@ Dynamically adds, removes, reorders, or replaces FAQ items at runtime.
541
541
 
542
542
  The FAQ widget uses a **compositional action pattern** where `faq:question` actions serve as configuration data rendered by the widget, rather than being executed by the runtime. This allows:
543
543
 
544
- - **Per-item conditional visibility** via `showWhen` strategies -- items can appear or hide based on page URL, user segment, viewport, or any DecisionStrategy condition
544
+ - **Per-item conditional visibility** via `triggerWhen` strategies -- items can appear or hide based on page URL, user segment, viewport, or any DecisionStrategy condition
545
545
  - **Category grouping** -- items with a `category` field are grouped under collapsible section headers
546
546
  - **Dynamic injection** -- `injections` rules can add items when trigger conditions are met, supporting contextual FAQ content
547
547
  - **Ordering control** -- the `ordering` strategy determines how items are sorted within categories
548
548
 
549
- Items without `showWhen` are always visible. Items without `category` appear in an ungrouped section.
549
+ Items without `triggerWhen` are always visible. Items without `category` appear in an ungrouped section.
550
550
 
551
551
  ## Rich Answer Content
552
552
 
@@ -1408,7 +1408,7 @@ var alert = {
1408
1408
  var tag = {
1409
1409
  content: slateGrey[10],
1410
1410
  border: slateGrey[4],
1411
- background: "#1c2124"
1411
+ background: slateGrey[3]
1412
1412
  };
1413
1413
  var menu = {
1414
1414
  backgroundDefault: slateGrey[2],
@@ -3456,7 +3456,7 @@ function getAntiFlickerSnippet(config = {}) {
3456
3456
  }
3457
3457
 
3458
3458
  // src/version.ts
3459
- var SDK_VERSION = "2.8.0-canary.47";
3459
+ var SDK_VERSION = "2.8.0-canary.49";
3460
3460
 
3461
3461
  // src/types.ts
3462
3462
  var SDK_SCHEMA_VERSION = "2.0";
@@ -12243,4 +12243,4 @@ export {
12243
12243
  encodeToken,
12244
12244
  Syntro
12245
12245
  };
12246
- //# sourceMappingURL=chunk-6GUJBWNR.js.map
12246
+ //# sourceMappingURL=chunk-XMTKLKVB.js.map