@rokt/dcui-orchestrator 0.0.4-rc.32 → 0.0.4-rc.34

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,24 @@
1
+ import { WhenPredicate, StatelessStylingBlock, DimensionStylingProperties, FlexChildStylingProperties, SpacingStylingProperties, BackgroundStylingProperties, TextStylingProperties, LayoutStyle, ConditionalStyleTransition } from '@rokt/dcui-layout-schema';
2
+ export interface OfferLifecycleTimerStyles {
3
+ dimension?: DimensionStylingProperties;
4
+ flexChild?: FlexChildStylingProperties;
5
+ spacing?: SpacingStylingProperties;
6
+ background?: BackgroundStylingProperties;
7
+ text?: TextStylingProperties;
8
+ }
9
+ export interface OfferLifecycleTimerElements {
10
+ own: StatelessStylingBlock<OfferLifecycleTimerStyles>[];
11
+ }
12
+ export interface OfferLifecycleTimerTransitions {
13
+ own?: OfferLifecycleTimerStyles;
14
+ }
15
+ export interface OfferLifecycleTimerModel<Predicates> {
16
+ durationInSeconds: number;
17
+ format?: 'M:SS' | 'S';
18
+ styles?: LayoutStyle<OfferLifecycleTimerElements, ConditionalStyleTransition<OfferLifecycleTimerTransitions, Predicates>>;
19
+ }
20
+ export interface OfferLifecycleTimerProps {
21
+ schema: OfferLifecycleTimerModel<WhenPredicate>;
22
+ testId?: string;
23
+ }
24
+ export declare function OfferLifecycleTimer(props: OfferLifecycleTimerProps): import("react/jsx-runtime").JSX.Element;
@@ -7,3 +7,5 @@ export declare const INSTANT_PURCHASE_PARTNER_RESPONSE_TIMEOUT = "INSTANT_PURCHA
7
7
  export declare const INSTANT_PURCHASE_WSDK_RESPONSE_TIMEOUT = "INSTANT_PURCHASE_WSDK_RESPONSE_TIMEOUT";
8
8
  export declare const INSTANT_PURCHASE_PARTNER_CHANNEL_ERROR = "INSTANT_PURCHASE_PARTNER_CHANNEL_ERROR";
9
9
  export declare const INSTANT_PURCHASE_WSDK_CHANNEL_ERROR = "INSTANT_PURCHASE_WSDK_CHANNEL_ERROR";
10
+ export declare const CHECKOUT_BUTTON_INVALID_OFFERLIFECYCLE = "CHECKOUT_BUTTON_INVALID_OFFERLIFECYCLE";
11
+ export declare const CHECKOUT_BUTTON_UNKNOWN_EVENT = "CHECKOUT_BUTTON_UNKNOWN_EVENT";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "0.0.4-rc.32",
3
+ "version": "0.0.4-rc.34",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",