@rokt/dcui-orchestrator 0.4.1-rc.2 → 0.4.1-rc.4

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.
@@ -18,6 +18,12 @@ export interface CustomStateValidationTriggerButtonModel<Children, Predicates> {
18
18
  children: Children[];
19
19
  customStateKey: string;
20
20
  customStateValue: number;
21
+ /** When this custom state becomes `requestValue` (default 1), run the same
22
+ * validation path as a click. Used by a child layout that cannot reach
23
+ * ValidatorProvider. Existing buttons omit this and are unchanged.
24
+ * `0` is reserved as idle/reset and is treated as the default trigger `1`. */
25
+ requestKey?: string;
26
+ requestValue?: number;
21
27
  validatorTriggerConfig?: ValidatorTriggerConfig;
22
28
  a11yLabel?: null | string;
23
29
  }
@@ -18,6 +18,12 @@ export interface DismissInstantPurchaseButtonModel<Children, Predicates> {
18
18
  styles?: null | LayoutStyle<DismissInstantPurchaseButtonElements, ConditionalStyleTransition<DismissInstantPurchaseButtonTransitions, Predicates>>;
19
19
  children: Children[];
20
20
  emitInstantPurchaseDismissalRdnEvent?: boolean;
21
+ /** When this custom state becomes `requestValue` (default 1), run the same
22
+ * dismiss path as a click. Used by a child layout that cannot host this
23
+ * escape hatch. Existing buttons omit this and are unchanged.
24
+ * `0` is reserved as idle/reset and is treated as the default trigger `1`. */
25
+ requestKey?: string;
26
+ requestValue?: number;
21
27
  }
22
28
  export interface DismissInstantPurchaseButtonProps {
23
29
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "0.4.1-rc.2",
3
+ "version": "0.4.1-rc.4",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",