@rokt/dcui-orchestrator 0.2.1-rc.3 → 0.2.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.
@@ -0,0 +1,64 @@
1
+ import { BackgroundStylingProperties, BorderStylingProperties, ConditionalStyleTransition, ContainerStylingProperties, DimensionStylingProperties, FlexChildStylingProperties, LayoutStyle, NonInteractableChildren, SpacingStylingProperties, StatelessStylingBlock, WhenPredicate } from '@rokt/dcui-layout-schema';
2
+ export interface DismissInstantPurchaseButtonStyles {
3
+ background?: null | BackgroundStylingProperties;
4
+ border?: null | BorderStylingProperties;
5
+ container?: null | ContainerStylingProperties;
6
+ dimension?: null | DimensionStylingProperties;
7
+ flexChild?: null | FlexChildStylingProperties;
8
+ spacing?: null | SpacingStylingProperties;
9
+ }
10
+ export interface DismissInstantPurchaseButtonTransitions {
11
+ own?: null | DismissInstantPurchaseButtonStyles;
12
+ }
13
+ export interface DismissInstantPurchaseButtonElements {
14
+ own: StatelessStylingBlock<DismissInstantPurchaseButtonStyles>[];
15
+ }
16
+ export interface DismissInstantPurchaseButtonModel<Children, Predicates> {
17
+ a11yLabel?: null | string;
18
+ styles?: null | LayoutStyle<DismissInstantPurchaseButtonElements, ConditionalStyleTransition<DismissInstantPurchaseButtonTransitions, Predicates>>;
19
+ children: Children[];
20
+ }
21
+ export interface DismissInstantPurchaseButtonProps {
22
+ /**
23
+ * - `a11yLabel`: define a custom accessibility label for a screen reader
24
+ * - `targetStep`: Checkout transaction step to transition to when element is clicked
25
+ * - `children`: it can accept below nodes,
26
+ * * `Row`
27
+ * * `Column`
28
+ * * `ZStack`
29
+ * * `FlowRow`
30
+ * * `BasicText`
31
+ * * `StaticImage`
32
+ * * `StaticIcon`
33
+ * * `DataImage`
34
+ * * `DataIcon`
35
+ * * `When`
36
+ * * `InlineContainer`
37
+ * * `EscapeHatch`
38
+ * - `styles`:
39
+ * * `elements`:
40
+ * - `own`:
41
+ * * `background`
42
+ * * `border`
43
+ * * `container`
44
+ * * `dimension`
45
+ * * `flexChild`
46
+ * * `spacing`
47
+ * * `transitions`:
48
+ * - `type`: 'Conditional'
49
+ * - `transition`:
50
+ * * `predicates`: WhenPredicate[]
51
+ * * `duration`: number
52
+ * * `value`:
53
+ * - `own`:
54
+ * * `container`
55
+ * * `dimension`
56
+ * * `flexChild`
57
+ * * `spacing`
58
+ * * `background`
59
+ * * `border`
60
+ */
61
+ schema: DismissInstantPurchaseButtonModel<NonInteractableChildren, WhenPredicate>;
62
+ testId?: string;
63
+ }
64
+ export declare function DismissInstantPurchaseButton(props: DismissInstantPurchaseButtonProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "0.2.1-rc.3",
3
+ "version": "0.2.1-rc.4",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",