@rokt/dcui-orchestrator 0.3.1-rc.2 → 0.3.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,7 @@ export interface CatalogDevicePayButtonProps {
18
18
  /**
19
19
  * - `provider`: the payment provider to use for the device pay button.
20
20
  * - `a11yLabel`: the aria-label for the button.
21
+ * - `errorMessage`: optional button-level payment failure copy.
21
22
  * - `children`: it can accept below nodes,
22
23
  * * `Row`
23
24
  * * `Column`
@@ -35,6 +36,14 @@ export interface CatalogDevicePayButtonProps {
35
36
  * - `spacing`
36
37
  * - `background`
37
38
  * - `border`
39
+ * * `errorText`:
40
+ * - `container`
41
+ * - `dimension`
42
+ * - `flexChild`
43
+ * - `spacing`
44
+ * - `background`
45
+ * - `border`
46
+ * - `text`
38
47
  * * `transitions`:
39
48
  * - `type`: 'Conditional'
40
49
  * - `transition`:
@@ -48,12 +57,23 @@ export interface CatalogDevicePayButtonProps {
48
57
  * - `spacing`
49
58
  * - `background`
50
59
  * - `border`
60
+ * * `errorText`:
61
+ * - `container`
62
+ * - `dimension`
63
+ * - `flexChild`
64
+ * - `spacing`
65
+ * - `background`
66
+ * - `border`
67
+ * - `text`
51
68
  */
52
69
  schema: CatalogDevicePayButtonModel<LayoutVariantNonInteractableChildren, WhenPredicate>;
53
70
  testId?: string;
54
71
  }
72
+ type CatalogDevicePayButtonStyles = NonNullable<CatalogDevicePayButtonProps['schema']['styles']>;
73
+ export declare function getCatalogDevicePayButtonStyles(styles: CatalogDevicePayButtonProps['schema']['styles']): CatalogDevicePayButtonStyles;
55
74
  /**The CatalogDevicePayButton is a button node that generates a Call-to-Action button
56
75
  * for initiating a device payment transaction using the associated payment provider.
57
76
  * *Where can we use this: __layout variant__*
58
77
  */
59
78
  export declare function CatalogDevicePayButton(props: CatalogDevicePayButtonProps): import("react/jsx-runtime").JSX.Element | null;
79
+ export {};
@@ -1 +1,6 @@
1
- export declare function RetryableDevicePayError(): JSX.Element;
1
+ interface RetryableDevicePayErrorProps {
2
+ className?: string;
3
+ message?: null | string;
4
+ }
5
+ export declare function RetryableDevicePayError({ className, message, }: RetryableDevicePayErrorProps): JSX.Element;
6
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "0.3.1-rc.2",
3
+ "version": "0.3.1-rc.4",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",