@rokt/dcui-orchestrator 0.0.2-rc.8 → 0.0.3-rc.1

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.
Files changed (50) hide show
  1. package/dist/index.cjs +23 -23
  2. package/dist/index.js +24 -24
  3. package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +8 -0
  4. package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
  5. package/dist/libraries/domain/src/models/layout/layout-conversion-type.d.ts +4 -0
  6. package/dist/libraries/domain/src/models/layout/layout-creative-response-option.d.ts +3 -0
  7. package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +6 -0
  8. package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/bottom-sheet.d.ts +2 -1
  9. package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +2 -1
  10. package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
  11. package/dist/libraries/saga-utils/src/utils/index.d.ts +0 -1
  12. package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +13 -2
  13. package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +115 -11
  14. package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
  15. package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
  16. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +24 -24
  17. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +24 -24
  18. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +26 -26
  19. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +26 -26
  20. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +24 -24
  21. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +24 -24
  22. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +24 -24
  23. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +24 -24
  24. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +24 -24
  25. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +26 -26
  26. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +26 -26
  27. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +24 -24
  28. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +28 -28
  29. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +28 -28
  30. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +30 -30
  31. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +30 -30
  32. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +24 -24
  33. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +24 -24
  34. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +24 -24
  35. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +24 -24
  36. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +24 -24
  37. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +24 -24
  38. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +24 -24
  39. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +8 -8
  40. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +8 -8
  41. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +8 -8
  42. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +8 -8
  43. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +11 -11
  44. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +11 -11
  45. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +11 -11
  46. package/node_modules/@rokt/kit/cjs/reactive/first-value-from.js +9 -1
  47. package/node_modules/@rokt/kit/package.json +2 -2
  48. package/node_modules/@rokt/kit/reactive/first-value-from.js +9 -1
  49. package/package.json +2 -2
  50. package/dist/libraries/saga-utils/src/utils/is-realtime-fulfillment-referral.d.ts +0 -4
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -120,8 +120,8 @@ export interface BreakpointPredicate {
120
120
  condition: OrderableWhenCondition;
121
121
  value: string;
122
122
  }
123
- export interface StatelessStylingBlock<T> {
124
- default: T;
123
+ export interface StatelessStylingBlock<StyleProperties> {
124
+ default: StyleProperties;
125
125
  }
126
126
  export type FlexPosition = "center" | "flex-start" | "flex-end";
127
127
  export interface Shadow {
@@ -183,9 +183,9 @@ export interface CloseButtonElements {
183
183
  export interface CloseButtonTransitions {
184
184
  own?: null | CloseButtonStyles;
185
185
  }
186
- export interface CloseButtonModel<T> {
186
+ export interface CloseButtonModel<Children> {
187
187
  styles?: null | LayoutStyle<CloseButtonElements, CloseButtonTransitions>;
188
- children: T[];
188
+ children: Children[];
189
189
  dismissalMethod?: null | string;
190
190
  }
191
191
  export interface ColumnStyle {
@@ -202,9 +202,9 @@ export interface ColumnElements {
202
202
  export interface ColumnTransitions {
203
203
  own?: null | ColumnStyle;
204
204
  }
205
- export interface ColumnModel<T> {
205
+ export interface ColumnModel<Children> {
206
206
  styles?: null | LayoutStyle<ColumnElements, ColumnTransitions>;
207
- children: T[];
207
+ children: Children[];
208
208
  }
209
209
  export type WhenPredicate = {
210
210
  type: "Breakpoint";
@@ -250,11 +250,11 @@ export interface CreativeResponseTransitions {
250
250
  own?: null | CreativeResponseStyles;
251
251
  }
252
252
  export type LinkOpenTarget = "internally" | "externally";
253
- export interface CreativeResponseModel<T> {
253
+ export interface CreativeResponseModel<Children> {
254
254
  responseKey: string;
255
255
  styles?: null | LayoutStyle<CreativeResponseElements, CreativeResponseTransitions>;
256
256
  openLinks?: null | LinkOpenTarget;
257
- children: T[];
257
+ children: Children[];
258
258
  }
259
259
  export type EqualityWhenCondition = "is" | "is-not";
260
260
  export interface DarkModePredicate {
@@ -400,10 +400,10 @@ export interface OverlayTransitions {
400
400
  own?: null | OverlayStyles;
401
401
  wrapper?: null | OverlayWrapperStyles;
402
402
  }
403
- export interface OverlayModel<T> {
403
+ export interface OverlayModel<Children> {
404
404
  settings: OverlaySettings;
405
405
  styles?: null | LayoutStyle<OverlayElements, OverlayTransitions>;
406
- children: T[];
406
+ children: Children[];
407
407
  }
408
408
  export interface PositionPredicate {
409
409
  condition: OrderableWhenCondition;
@@ -502,9 +502,9 @@ export interface RowElements {
502
502
  export interface RowTransitions {
503
503
  own?: null | RowStyle;
504
504
  }
505
- export interface RowModel<T> {
505
+ export interface RowModel<Children> {
506
506
  styles?: null | LayoutStyle<RowElements, RowTransitions>;
507
- children: T[];
507
+ children: Children[];
508
508
  }
509
509
  export interface StackedDistributionStyles {
510
510
  container?: null | ContainerStylingProperties;
@@ -586,11 +586,11 @@ export interface StaticLinkElements {
586
586
  export interface StaticLinkTransitions {
587
587
  own?: null | StaticLinkStyles;
588
588
  }
589
- export interface StaticLinkModel<T> {
589
+ export interface StaticLinkModel<Children> {
590
590
  src: string;
591
591
  open: LinkOpenTarget;
592
592
  styles?: null | LayoutStyle<StaticLinkElements, StaticLinkTransitions>;
593
- children: T[];
593
+ children: Children[];
594
594
  }
595
595
  export type InTransition = {
596
596
  type: "FadeIn";
@@ -604,9 +604,9 @@ export interface WhenTransition {
604
604
  in?: null | InTransition[];
605
605
  out?: null | OutTransition[];
606
606
  }
607
- export interface WhenModel<T> {
607
+ export interface WhenModel<Children> {
608
608
  predicates: WhenPredicate[];
609
- children: T[];
609
+ children: Children[];
610
610
  transition?: null | WhenTransition;
611
611
  }
612
612
  export interface ZStackContainerStylingProperties {
@@ -630,9 +630,9 @@ export interface ZStackElements {
630
630
  export interface ZStackTransitions {
631
631
  own?: null | ZStackStyle;
632
632
  }
633
- export interface ZStackModel<T> {
633
+ export interface ZStackModel<Children> {
634
634
  styles?: null | LayoutStyle<ZStackElements, ZStackTransitions>;
635
- children: T[];
635
+ children: Children[];
636
636
  }
637
637
  export type CloseButtonChildren = {
638
638
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -120,8 +120,8 @@ export interface BreakpointPredicate {
120
120
  condition: OrderableWhenCondition;
121
121
  value: string;
122
122
  }
123
- export interface StatelessStylingBlock<T> {
124
- default: T;
123
+ export interface StatelessStylingBlock<StyleProperties> {
124
+ default: StyleProperties;
125
125
  }
126
126
  export type FlexPosition = "center" | "flex-start" | "flex-end";
127
127
  export interface Shadow {
@@ -183,9 +183,9 @@ export interface CloseButtonElements {
183
183
  export interface CloseButtonTransitions {
184
184
  own?: null | CloseButtonStyles;
185
185
  }
186
- export interface CloseButtonModel<T> {
186
+ export interface CloseButtonModel<Children> {
187
187
  styles?: null | LayoutStyle<CloseButtonElements, CloseButtonTransitions>;
188
- children: T[];
188
+ children: Children[];
189
189
  dismissalMethod?: null | string;
190
190
  }
191
191
  export interface ColumnStyle {
@@ -202,9 +202,9 @@ export interface ColumnElements {
202
202
  export interface ColumnTransitions {
203
203
  own?: null | ColumnStyle;
204
204
  }
205
- export interface ColumnModel<T> {
205
+ export interface ColumnModel<Children> {
206
206
  styles?: null | LayoutStyle<ColumnElements, ColumnTransitions>;
207
- children: T[];
207
+ children: Children[];
208
208
  }
209
209
  export type WhenPredicate = {
210
210
  type: "Breakpoint";
@@ -253,11 +253,11 @@ export interface CreativeResponseTransitions {
253
253
  own?: null | CreativeResponseStyles;
254
254
  }
255
255
  export type LinkOpenTarget = "internally" | "externally";
256
- export interface CreativeResponseModel<T> {
256
+ export interface CreativeResponseModel<Children> {
257
257
  responseKey: string;
258
258
  styles?: null | LayoutStyle<CreativeResponseElements, CreativeResponseTransitions>;
259
259
  openLinks?: null | LinkOpenTarget;
260
- children: T[];
260
+ children: Children[];
261
261
  }
262
262
  export interface CustomStatePredicate {
263
263
  key: string;
@@ -408,10 +408,10 @@ export interface OverlayTransitions {
408
408
  own?: null | OverlayStyles;
409
409
  wrapper?: null | OverlayWrapperStyles;
410
410
  }
411
- export interface OverlayModel<T> {
411
+ export interface OverlayModel<Children> {
412
412
  settings: OverlaySettings;
413
413
  styles?: null | LayoutStyle<OverlayElements, OverlayTransitions>;
414
- children: T[];
414
+ children: Children[];
415
415
  }
416
416
  export interface PositionPredicate {
417
417
  condition: OrderableWhenCondition;
@@ -510,9 +510,9 @@ export interface RowElements {
510
510
  export interface RowTransitions {
511
511
  own?: null | RowStyle;
512
512
  }
513
- export interface RowModel<T> {
513
+ export interface RowModel<Children> {
514
514
  styles?: null | LayoutStyle<RowElements, RowTransitions>;
515
- children: T[];
515
+ children: Children[];
516
516
  }
517
517
  export interface StackedDistributionStyles {
518
518
  container?: null | ContainerStylingProperties;
@@ -594,11 +594,11 @@ export interface StaticLinkElements {
594
594
  export interface StaticLinkTransitions {
595
595
  own?: null | StaticLinkStyles;
596
596
  }
597
- export interface StaticLinkModel<T> {
597
+ export interface StaticLinkModel<Children> {
598
598
  src: string;
599
599
  open: LinkOpenTarget;
600
600
  styles?: null | LayoutStyle<StaticLinkElements, StaticLinkTransitions>;
601
- children: T[];
601
+ children: Children[];
602
602
  }
603
603
  export type InTransition = {
604
604
  type: "FadeIn";
@@ -612,9 +612,9 @@ export interface WhenTransition {
612
612
  in?: null | InTransition[];
613
613
  out?: null | OutTransition[];
614
614
  }
615
- export interface WhenModel<T> {
615
+ export interface WhenModel<Children> {
616
616
  predicates: WhenPredicate[];
617
- children: T[];
617
+ children: Children[];
618
618
  transition?: null | WhenTransition;
619
619
  }
620
620
  export interface ZStackContainerStylingProperties {
@@ -638,9 +638,9 @@ export interface ZStackElements {
638
638
  export interface ZStackTransitions {
639
639
  own?: null | ZStackStyle;
640
640
  }
641
- export interface ZStackModel<T> {
641
+ export interface ZStackModel<Children> {
642
642
  styles?: null | LayoutStyle<ZStackElements, ZStackTransitions>;
643
- children: T[];
643
+ children: Children[];
644
644
  }
645
645
  export type CloseButtonChildren = {
646
646
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -120,8 +120,8 @@ export interface BreakpointPredicate {
120
120
  condition: OrderableWhenCondition;
121
121
  value: string;
122
122
  }
123
- export interface StatelessStylingBlock<T> {
124
- default: T;
123
+ export interface StatelessStylingBlock<StyleProperties> {
124
+ default: StyleProperties;
125
125
  }
126
126
  export type FlexPosition = "center" | "flex-start" | "flex-end";
127
127
  export interface Shadow {
@@ -183,9 +183,9 @@ export interface CloseButtonElements {
183
183
  export interface CloseButtonTransitions {
184
184
  own?: null | CloseButtonStyles;
185
185
  }
186
- export interface CloseButtonModel<T> {
186
+ export interface CloseButtonModel<Children> {
187
187
  styles?: null | LayoutStyle<CloseButtonElements, CloseButtonTransitions>;
188
- children: T[];
188
+ children: Children[];
189
189
  dismissalMethod?: null | string;
190
190
  }
191
191
  export interface ColumnStyle {
@@ -202,9 +202,9 @@ export interface ColumnElements {
202
202
  export interface ColumnTransitions {
203
203
  own?: null | ColumnStyle;
204
204
  }
205
- export interface ColumnModel<T> {
205
+ export interface ColumnModel<Children> {
206
206
  styles?: null | LayoutStyle<ColumnElements, ColumnTransitions>;
207
- children: T[];
207
+ children: Children[];
208
208
  }
209
209
  export type WhenPredicate = {
210
210
  type: "Breakpoint";
@@ -253,11 +253,11 @@ export interface CreativeResponseTransitions {
253
253
  own?: null | CreativeResponseStyles;
254
254
  }
255
255
  export type LinkOpenTarget = "internally" | "externally";
256
- export interface CreativeResponseModel<T> {
256
+ export interface CreativeResponseModel<Children> {
257
257
  responseKey: string;
258
258
  styles?: null | LayoutStyle<CreativeResponseElements, CreativeResponseTransitions>;
259
259
  openLinks?: null | LinkOpenTarget;
260
- children: T[];
260
+ children: Children[];
261
261
  }
262
262
  export interface CustomStatePredicate {
263
263
  key: string;
@@ -408,10 +408,10 @@ export interface OverlayTransitions {
408
408
  own?: null | OverlayStyles;
409
409
  wrapper?: null | OverlayWrapperStyles;
410
410
  }
411
- export interface OverlayModel<T> {
411
+ export interface OverlayModel<Children> {
412
412
  settings: OverlaySettings;
413
413
  styles?: null | LayoutStyle<OverlayElements, OverlayTransitions>;
414
- children: T[];
414
+ children: Children[];
415
415
  }
416
416
  export interface PositionPredicate {
417
417
  condition: OrderableWhenCondition;
@@ -510,9 +510,9 @@ export interface RowElements {
510
510
  export interface RowTransitions {
511
511
  own?: null | RowStyle;
512
512
  }
513
- export interface RowModel<T> {
513
+ export interface RowModel<Children> {
514
514
  styles?: null | LayoutStyle<RowElements, RowTransitions>;
515
- children: T[];
515
+ children: Children[];
516
516
  }
517
517
  export interface SlideStateTriggerOwnStyles {
518
518
  container?: null | ContainerStylingProperties;
@@ -643,11 +643,11 @@ export interface StaticLinkElements {
643
643
  export interface StaticLinkTransitions {
644
644
  own?: null | StaticLinkStyles;
645
645
  }
646
- export interface StaticLinkModel<T> {
646
+ export interface StaticLinkModel<Children> {
647
647
  src: string;
648
648
  open: LinkOpenTarget;
649
649
  styles?: null | LayoutStyle<StaticLinkElements, StaticLinkTransitions>;
650
- children: T[];
650
+ children: Children[];
651
651
  }
652
652
  export type InTransition = {
653
653
  type: "FadeIn";
@@ -661,9 +661,9 @@ export interface WhenTransition {
661
661
  in?: null | InTransition[];
662
662
  out?: null | OutTransition[];
663
663
  }
664
- export interface WhenModel<T> {
664
+ export interface WhenModel<Children> {
665
665
  predicates: WhenPredicate[];
666
- children: T[];
666
+ children: Children[];
667
667
  transition?: null | WhenTransition;
668
668
  }
669
669
  export interface ZStackContainerStylingProperties {
@@ -687,9 +687,9 @@ export interface ZStackElements {
687
687
  export interface ZStackTransitions {
688
688
  own?: null | ZStackStyle;
689
689
  }
690
- export interface ZStackModel<T> {
690
+ export interface ZStackModel<Children> {
691
691
  styles?: null | LayoutStyle<ZStackElements, ZStackTransitions>;
692
- children: T[];
692
+ children: Children[];
693
693
  }
694
694
  export type CloseButtonChildren = {
695
695
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -120,8 +120,8 @@ export interface BreakpointPredicate {
120
120
  condition: OrderableWhenCondition;
121
121
  value: string;
122
122
  }
123
- export interface StatelessStylingBlock<T> {
124
- default: T;
123
+ export interface StatelessStylingBlock<StyleProperties> {
124
+ default: StyleProperties;
125
125
  }
126
126
  export type FlexPosition = "center" | "flex-start" | "flex-end";
127
127
  export interface Shadow {
@@ -183,9 +183,9 @@ export interface CloseButtonElements {
183
183
  export interface CloseButtonTransitions {
184
184
  own?: null | CloseButtonStyles;
185
185
  }
186
- export interface CloseButtonModel<T> {
186
+ export interface CloseButtonModel<Children> {
187
187
  styles?: null | LayoutStyle<CloseButtonElements, CloseButtonTransitions>;
188
- children: T[];
188
+ children: Children[];
189
189
  dismissalMethod?: null | string;
190
190
  }
191
191
  export interface ColumnStyle {
@@ -202,9 +202,9 @@ export interface ColumnElements {
202
202
  export interface ColumnTransitions {
203
203
  own?: null | ColumnStyle;
204
204
  }
205
- export interface ColumnModel<T> {
205
+ export interface ColumnModel<Children> {
206
206
  styles?: null | LayoutStyle<ColumnElements, ColumnTransitions>;
207
- children: T[];
207
+ children: Children[];
208
208
  }
209
209
  export type WhenPredicate = {
210
210
  type: "Breakpoint";
@@ -253,11 +253,11 @@ export interface CreativeResponseTransitions {
253
253
  own?: null | CreativeResponseStyles;
254
254
  }
255
255
  export type LinkOpenTarget = "internally" | "externally";
256
- export interface CreativeResponseModel<T> {
256
+ export interface CreativeResponseModel<Children> {
257
257
  responseKey: string;
258
258
  styles?: null | LayoutStyle<CreativeResponseElements, CreativeResponseTransitions>;
259
259
  openLinks?: null | LinkOpenTarget;
260
- children: T[];
260
+ children: Children[];
261
261
  }
262
262
  export interface CustomStatePredicate {
263
263
  key: string;
@@ -408,10 +408,10 @@ export interface OverlayTransitions {
408
408
  own?: null | OverlayStyles;
409
409
  wrapper?: null | OverlayWrapperStyles;
410
410
  }
411
- export interface OverlayModel<T> {
411
+ export interface OverlayModel<Children> {
412
412
  settings: OverlaySettings;
413
413
  styles?: null | LayoutStyle<OverlayElements, OverlayTransitions>;
414
- children: T[];
414
+ children: Children[];
415
415
  }
416
416
  export interface PositionPredicate {
417
417
  condition: OrderableWhenCondition;
@@ -510,9 +510,9 @@ export interface RowElements {
510
510
  export interface RowTransitions {
511
511
  own?: null | RowStyle;
512
512
  }
513
- export interface RowModel<T> {
513
+ export interface RowModel<Children> {
514
514
  styles?: null | LayoutStyle<RowElements, RowTransitions>;
515
- children: T[];
515
+ children: Children[];
516
516
  }
517
517
  export interface SlideStateTriggerOwnStyles {
518
518
  container?: null | ContainerStylingProperties;
@@ -643,11 +643,11 @@ export interface StaticLinkElements {
643
643
  export interface StaticLinkTransitions {
644
644
  own?: null | StaticLinkStyles;
645
645
  }
646
- export interface StaticLinkModel<T> {
646
+ export interface StaticLinkModel<Children> {
647
647
  src: string;
648
648
  open: LinkOpenTarget;
649
649
  styles?: null | LayoutStyle<StaticLinkElements, StaticLinkTransitions>;
650
- children: T[];
650
+ children: Children[];
651
651
  }
652
652
  export type InTransition = {
653
653
  type: "FadeIn";
@@ -662,9 +662,9 @@ export interface WhenTransition {
662
662
  out?: null | OutTransition[];
663
663
  }
664
664
  export type WhenHidden = "visually" | "functionally";
665
- export interface WhenModel<T> {
665
+ export interface WhenModel<Children> {
666
666
  predicates: WhenPredicate[];
667
- children: T[];
667
+ children: Children[];
668
668
  transition?: null | WhenTransition;
669
669
  hide?: null | WhenHidden;
670
670
  }
@@ -689,9 +689,9 @@ export interface ZStackElements {
689
689
  export interface ZStackTransitions {
690
690
  own?: null | ZStackStyle;
691
691
  }
692
- export interface ZStackModel<T> {
692
+ export interface ZStackModel<Children> {
693
693
  styles?: null | LayoutStyle<ZStackElements, ZStackTransitions>;
694
- children: T[];
694
+ children: Children[];
695
695
  }
696
696
  export type CloseButtonChildren = {
697
697
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -120,8 +120,8 @@ export interface BreakpointPredicate {
120
120
  condition: OrderableWhenCondition;
121
121
  value: string;
122
122
  }
123
- export interface StatelessStylingBlock<T> {
124
- default: T;
123
+ export interface StatelessStylingBlock<StyleProperties> {
124
+ default: StyleProperties;
125
125
  }
126
126
  export type FlexPosition = "center" | "flex-start" | "flex-end";
127
127
  export interface Shadow {
@@ -183,9 +183,9 @@ export interface CloseButtonElements {
183
183
  export interface CloseButtonTransitions {
184
184
  own?: null | CloseButtonStyles;
185
185
  }
186
- export interface CloseButtonModel<T> {
186
+ export interface CloseButtonModel<Children> {
187
187
  styles?: null | LayoutStyle<CloseButtonElements, CloseButtonTransitions>;
188
- children: T[];
188
+ children: Children[];
189
189
  dismissalMethod?: null | string;
190
190
  }
191
191
  export interface ColumnStyle {
@@ -202,9 +202,9 @@ export interface ColumnElements {
202
202
  export interface ColumnTransitions {
203
203
  own?: null | ColumnStyle;
204
204
  }
205
- export interface ColumnModel<T> {
205
+ export interface ColumnModel<Children> {
206
206
  styles?: null | LayoutStyle<ColumnElements, ColumnTransitions>;
207
- children: T[];
207
+ children: Children[];
208
208
  }
209
209
  export type WhenPredicate = {
210
210
  type: "Breakpoint";
@@ -253,11 +253,11 @@ export interface CreativeResponseTransitions {
253
253
  own?: null | CreativeResponseStyles;
254
254
  }
255
255
  export type LinkOpenTarget = "internally" | "externally";
256
- export interface CreativeResponseModel<T> {
256
+ export interface CreativeResponseModel<Children> {
257
257
  responseKey: string;
258
258
  styles?: null | LayoutStyle<CreativeResponseElements, CreativeResponseTransitions>;
259
259
  openLinks?: null | LinkOpenTarget;
260
- children: T[];
260
+ children: Children[];
261
261
  }
262
262
  export interface CustomStatePredicate {
263
263
  key: string;
@@ -329,9 +329,9 @@ export interface FlowRowElements {
329
329
  export interface FlowRowTransitions {
330
330
  own?: null | FlowRowStyle;
331
331
  }
332
- export interface FlowRowModel<T> {
332
+ export interface FlowRowModel<Children> {
333
333
  styles?: null | LayoutStyle<FlowRowElements, FlowRowTransitions>;
334
- children: T[];
334
+ children: Children[];
335
335
  }
336
336
  export interface GroupedDistributionStyles {
337
337
  container?: null | ContainerStylingProperties;
@@ -426,10 +426,10 @@ export interface OverlayTransitions {
426
426
  own?: null | OverlayStyles;
427
427
  wrapper?: null | OverlayWrapperStyles;
428
428
  }
429
- export interface OverlayModel<T> {
429
+ export interface OverlayModel<Children> {
430
430
  settings: OverlaySettings;
431
431
  styles?: null | LayoutStyle<OverlayElements, OverlayTransitions>;
432
- children: T[];
432
+ children: Children[];
433
433
  }
434
434
  export interface PositionPredicate {
435
435
  condition: OrderableWhenCondition;
@@ -528,9 +528,9 @@ export interface RowElements {
528
528
  export interface RowTransitions {
529
529
  own?: null | RowStyle;
530
530
  }
531
- export interface RowModel<T> {
531
+ export interface RowModel<Children> {
532
532
  styles?: null | LayoutStyle<RowElements, RowTransitions>;
533
- children: T[];
533
+ children: Children[];
534
534
  }
535
535
  export interface SlideStateTriggerOwnStyles {
536
536
  container?: null | ContainerStylingProperties;
@@ -661,11 +661,11 @@ export interface StaticLinkElements {
661
661
  export interface StaticLinkTransitions {
662
662
  own?: null | StaticLinkStyles;
663
663
  }
664
- export interface StaticLinkModel<T> {
664
+ export interface StaticLinkModel<Children> {
665
665
  src: string;
666
666
  open: LinkOpenTarget;
667
667
  styles?: null | LayoutStyle<StaticLinkElements, StaticLinkTransitions>;
668
- children: T[];
668
+ children: Children[];
669
669
  }
670
670
  export type InTransition = {
671
671
  type: "FadeIn";
@@ -680,9 +680,9 @@ export interface WhenTransition {
680
680
  out?: null | OutTransition[];
681
681
  }
682
682
  export type WhenHidden = "visually" | "functionally";
683
- export interface WhenModel<T> {
683
+ export interface WhenModel<Children> {
684
684
  predicates: WhenPredicate[];
685
- children: T[];
685
+ children: Children[];
686
686
  transition?: null | WhenTransition;
687
687
  hide?: null | WhenHidden;
688
688
  }
@@ -707,9 +707,9 @@ export interface ZStackElements {
707
707
  export interface ZStackTransitions {
708
708
  own?: null | ZStackStyle;
709
709
  }
710
- export interface ZStackModel<T> {
710
+ export interface ZStackModel<Children> {
711
711
  styles?: null | LayoutStyle<ZStackElements, ZStackTransitions>;
712
- children: T[];
712
+ children: Children[];
713
713
  }
714
714
  export type CloseButtonChildren = {
715
715
  type: "Row";