@rokt/dcui-orchestrator 1.0.1-rc.8 → 1.1.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.
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
2
  import { CatalogResponseButtonModel, NonInteractableChildren, WhenPredicate } from '@rokt/dcui-layout-schema';
3
- import { ValidatorTriggerConfig } from '../../validators';
4
- export interface CatalogResponseValidatorButtonModel<NonInteractableChildren, WhenPredicate> extends CatalogResponseButtonModel<NonInteractableChildren, WhenPredicate> {
5
- validatorTriggerConfig?: ValidatorTriggerConfig;
6
- }
7
3
  export interface CatalogResponseButtonProps {
8
4
  /**
9
5
  * - `children`: it can accept below nodes,
@@ -37,11 +33,11 @@ export interface CatalogResponseButtonProps {
37
33
  * - `background`
38
34
  * - `border`
39
35
  */
40
- schema: CatalogResponseValidatorButtonModel<NonInteractableChildren, WhenPredicate>;
36
+ schema: CatalogResponseButtonModel<NonInteractableChildren, WhenPredicate>;
41
37
  testId?: string;
42
38
  }
43
39
  /**The CatalogResponse is a button node that generate a Call-to-Action button
44
40
  * for transmitting Cart API events to the Partner
45
41
  * *Where can we use this: __layout variant__*
46
42
  */
47
- export declare function CatalogResponseButton(props: CatalogResponseButtonProps): React.JSX.Element;
43
+ export declare function CatalogResponseButton(props: CatalogResponseButtonProps): React.JSX.Element | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "1.0.1-rc.8",
3
+ "version": "1.1.0",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",