@rokt/dcui-orchestrator 0.2.1-rc.83 → 0.2.1-rc.84

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 (517) hide show
  1. package/dist/extensions/address-form/src/actions/forms.d.ts +11 -0
  2. package/dist/extensions/address-form/src/actions/index.d.ts +1 -0
  3. package/dist/extensions/address-form/src/components/address-form.d.ts +96 -0
  4. package/dist/extensions/address-form/src/components/edit-address-form-view.d.ts +23 -0
  5. package/dist/extensions/address-form/src/components/form-button.d.ts +15 -0
  6. package/dist/extensions/address-form/src/components/input-field.d.ts +34 -0
  7. package/dist/extensions/address-form/src/index.d.ts +3 -0
  8. package/dist/extensions/address-form/src/models/form-state.d.ts +1 -0
  9. package/dist/extensions/address-form/src/models/index.d.ts +1 -0
  10. package/dist/extensions/address-form/src/reducers/forms.d.ts +4 -0
  11. package/dist/extensions/address-form/src/reducers/index.d.ts +1 -0
  12. package/dist/extensions/address-form/src/sagas/cart-service/index.d.ts +1 -0
  13. package/dist/{libraries/orchestrator → extensions/address-form}/src/sagas/cart-service/sagas.d.ts +5 -12
  14. package/dist/extensions/address-form/src/sagas/index.d.ts +2 -0
  15. package/dist/extensions/address-form/src/types.d.ts +63 -0
  16. package/dist/extensions/address-form/src/utils.d.ts +15 -0
  17. package/dist/extensions/shimmer-background/src/index.d.ts +10 -0
  18. package/dist/extensions/shimmer-background/src/shimmer-background.d.ts +11 -0
  19. package/dist/index.cjs +97 -36
  20. package/dist/index.js +100 -39
  21. package/dist/libraries/dcui-components/src/components/action-button/action-button.d.ts +24 -0
  22. package/dist/libraries/dcui-components/src/components/action-button/factory.d.ts +2 -0
  23. package/dist/libraries/dcui-components/src/components/action-button/index.d.ts +2 -0
  24. package/dist/libraries/dcui-components/src/components/catalog-carousel-collection/hooks.d.ts +7 -0
  25. package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/factory.d.ts +1 -1
  26. package/dist/libraries/dcui-components/src/components/data-mapper/form-state-projection.d.ts +31 -0
  27. package/dist/libraries/dcui-components/src/components/data-mapper/index.d.ts +1 -0
  28. package/dist/libraries/dcui-components/src/components/extension/context.d.ts +2 -1
  29. package/dist/libraries/dcui-components/src/components/extension/models.d.ts +2 -1
  30. package/dist/libraries/dcui-components/src/components/form/factory.d.ts +2 -0
  31. package/dist/libraries/dcui-components/src/components/form/form.d.ts +24 -0
  32. package/dist/libraries/dcui-components/src/components/form/index.d.ts +2 -0
  33. package/dist/libraries/dcui-components/src/components/index.d.ts +5 -0
  34. package/dist/libraries/dcui-components/src/components/layout-timer/index.d.ts +5 -0
  35. package/dist/libraries/dcui-components/src/components/layout-timer/layout-timer.d.ts +7 -0
  36. package/dist/libraries/dcui-components/src/components/layout-timer/timer-countdown-provider.d.ts +8 -0
  37. package/dist/libraries/dcui-components/src/components/layout-timer/use-layout-timer.d.ts +11 -0
  38. package/dist/libraries/dcui-components/src/components/layout-timer/use-timer-action-dispatch.d.ts +9 -0
  39. package/dist/libraries/dcui-components/src/components/rich-text/rich-text.d.ts +2 -0
  40. package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -1
  41. package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -1
  42. package/dist/libraries/dcui-components/src/components/style-mapper/get-css-writer.d.ts +1 -0
  43. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/index.d.ts +1 -0
  44. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/scroll-mask-transformer.d.ts +8 -0
  45. package/dist/libraries/dcui-components/src/components/style-mapper/types.d.ts +2 -2
  46. package/dist/libraries/dcui-components/src/components/text-input/factory.d.ts +2 -0
  47. package/dist/libraries/dcui-components/src/components/text-input/index.d.ts +2 -0
  48. package/dist/libraries/dcui-components/src/components/text-input/text-input.d.ts +23 -0
  49. package/dist/libraries/dcui-components/src/components/when/form-state.d.ts +9 -0
  50. package/dist/libraries/dcui-components/src/contexts/form-context.d.ts +15 -0
  51. package/dist/libraries/dcui-components/src/contexts/index.d.ts +2 -0
  52. package/dist/libraries/dcui-components/src/contexts/minimizable-context.d.ts +2 -0
  53. package/dist/libraries/dcui-components/src/contexts/offer-data-context.d.ts +1 -0
  54. package/dist/libraries/dcui-components/src/failure-codes.d.ts +1 -0
  55. package/dist/libraries/dcui-components/src/utils/get-scroll-mask-config.d.ts +20 -0
  56. package/dist/libraries/dcui-components/src/utils/index.d.ts +2 -0
  57. package/dist/libraries/dcui-components/src/utils/use-scroll-mask-visibility.d.ts +22 -0
  58. package/dist/libraries/dcui-schema/src/models/nodes/close-button.d.ts +3 -1
  59. package/dist/libraries/domain/src/behaviors/cart-item-event.d.ts +7 -12
  60. package/dist/libraries/domain/src/behaviors/dismiss-overlay.d.ts +9 -0
  61. package/dist/libraries/domain/src/behaviors/domain-states.d.ts +2 -2
  62. package/dist/libraries/domain/src/behaviors/form-state.d.ts +66 -0
  63. package/dist/libraries/domain/src/behaviors/global-actions.d.ts +15 -1
  64. package/dist/libraries/domain/src/behaviors/index.d.ts +5 -0
  65. package/dist/libraries/domain/src/behaviors/layout-events.d.ts +17 -0
  66. package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +2 -1
  67. package/dist/libraries/domain/src/behaviors/report-error.d.ts +26 -0
  68. package/dist/libraries/domain/src/behaviors/send-partner.d.ts +36 -3
  69. package/dist/libraries/domain/src/behaviors/trigger-action.d.ts +19 -0
  70. package/dist/libraries/domain/src/models/domain-state-keys.d.ts +5 -0
  71. package/dist/libraries/domain/src/models/form-state.d.ts +85 -0
  72. package/dist/libraries/domain/src/models/global-state.d.ts +4 -1
  73. package/dist/libraries/domain/src/models/index.d.ts +2 -0
  74. package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
  75. package/dist/libraries/domain/src/models/layout/layout-child-config.d.ts +2 -0
  76. package/dist/libraries/domain/src/models/layout/layout-config.d.ts +2 -2
  77. package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -0
  78. package/dist/libraries/domain/src/models/layout/layout-signal-type.d.ts +3 -1
  79. package/dist/libraries/domain/src/models/layout/layout-transaction-data.d.ts +31 -0
  80. package/dist/libraries/domain/src/models/partner-event.d.ts +2 -2
  81. package/dist/libraries/domain/src/models/plugin/index.d.ts +2 -0
  82. package/dist/libraries/domain/src/models/plugin/plugin-catalog-item-group.d.ts +17 -0
  83. package/dist/libraries/domain/src/models/plugin/plugin-child-layout-model.d.ts +2 -0
  84. package/dist/libraries/domain/src/models/plugin/plugin-model.d.ts +3 -3
  85. package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +4 -0
  86. package/dist/libraries/domain/src/models/plugin/plugin-signal-type.d.ts +4 -1
  87. package/dist/libraries/domain/src/models/plugin/plugin-transaction-data.d.ts +31 -0
  88. package/dist/libraries/domain/src/models/purchase.d.ts +54 -0
  89. package/dist/libraries/domain/src/models/signals.d.ts +14 -6
  90. package/dist/libraries/layout-renderer-utils/src/actions/domain-states.d.ts +14 -0
  91. package/dist/libraries/layout-renderer-utils/src/actions/form-states.d.ts +37 -0
  92. package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +15 -3
  93. package/dist/libraries/layout-renderer-utils/src/actions/overlay.d.ts +15 -8
  94. package/dist/libraries/layout-renderer-utils/src/actions/settings.d.ts +10 -3
  95. package/dist/libraries/layout-renderer-utils/src/components/index.d.ts +4 -1
  96. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/connector.d.ts +2 -0
  97. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/drag-handle.d.ts +7 -0
  98. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/extract-border-styles.d.ts +25 -0
  99. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/factory.d.ts +13 -0
  100. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/hooks.d.ts +23 -0
  101. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/index.d.ts +2 -0
  102. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet-wrapper.d.ts +12 -0
  103. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet.d.ts +27 -0
  104. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/sheet-gesture.d.ts +18 -0
  105. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/types.d.ts +63 -0
  106. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/factory.d.ts +2 -0
  107. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/index.d.ts +2 -0
  108. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/minimize-button.d.ts +12 -0
  109. package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +1 -0
  110. package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/attached-overlay-wrapper.d.ts +19 -0
  111. package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/index.d.ts +1 -0
  112. package/dist/libraries/layout-renderer-utils/src/components/utils.d.ts +1 -0
  113. package/dist/libraries/layout-renderer-utils/src/constant.d.ts +1 -1
  114. package/dist/libraries/layout-renderer-utils/src/hooks/useEscToClose.d.ts +1 -0
  115. package/dist/libraries/layout-renderer-utils/src/models/state/fired-events.d.ts +17 -0
  116. package/dist/libraries/layout-renderer-utils/src/models/state/form-states.d.ts +11 -0
  117. package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +9 -2
  118. package/dist/libraries/layout-renderer-utils/src/models/state/layout.d.ts +2 -1
  119. package/dist/libraries/layout-renderer-utils/src/models/state/settings.d.ts +6 -0
  120. package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/index.d.ts +1 -0
  121. package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/reducer.d.ts +5 -0
  122. package/dist/libraries/layout-renderer-utils/src/reducers/form-states/index.d.ts +1 -0
  123. package/dist/libraries/layout-renderer-utils/src/reducers/form-states/reducer.d.ts +4 -0
  124. package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +6 -0
  125. package/dist/libraries/layout-renderer-utils/src/reducers/settings/reducer.d.ts +3 -3
  126. package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +1 -0
  127. package/dist/libraries/layout-renderer-utils/src/sagas/form-states/index.d.ts +1 -0
  128. package/dist/libraries/layout-renderer-utils/src/sagas/form-states/sagas.d.ts +16 -0
  129. package/dist/libraries/layout-renderer-utils/src/sagas/index.d.ts +2 -0
  130. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/attached-bottomsheet.d.ts +18 -0
  131. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/display.d.ts +4 -13
  132. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +1 -1
  133. package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/index.d.ts +1 -0
  134. package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/sagas.d.ts +12 -0
  135. package/dist/libraries/layout-renderer-utils/src/selectors/fired-events/selectors.d.ts +7 -0
  136. package/dist/libraries/layout-renderer-utils/src/selectors/form-state/index.d.ts +1 -0
  137. package/dist/libraries/layout-renderer-utils/src/selectors/form-state/selectors.d.ts +8 -0
  138. package/dist/libraries/layout-renderer-utils/src/selectors/index.d.ts +2 -0
  139. package/dist/libraries/layout-renderer-utils/src/utils/signals.d.ts +2 -2
  140. package/dist/libraries/module-connector/src/main.d.ts +1 -1
  141. package/dist/libraries/module-connector/src/models/gateway.d.ts +4 -3
  142. package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +4 -1
  143. package/dist/libraries/module-utils/src/actions/child-layouts.d.ts +11 -0
  144. package/dist/libraries/module-utils/src/actions/dynamic-data.d.ts +7 -0
  145. package/dist/libraries/module-utils/src/actions/index.d.ts +2 -0
  146. package/dist/libraries/module-utils/src/index.d.ts +5 -0
  147. package/dist/libraries/module-utils/src/models/index.d.ts +1 -0
  148. package/dist/libraries/module-utils/src/models/state/child-layouts.d.ts +4 -0
  149. package/dist/libraries/module-utils/src/models/state/dynamic-data.d.ts +3 -0
  150. package/dist/libraries/module-utils/src/models/state/index.d.ts +3 -0
  151. package/dist/libraries/module-utils/src/models/state/static-data.d.ts +6 -0
  152. package/dist/libraries/module-utils/src/reducers/child-layouts/index.d.ts +1 -0
  153. package/dist/libraries/module-utils/src/reducers/child-layouts/reducer.d.ts +5 -0
  154. package/dist/libraries/module-utils/src/reducers/dynamic-data/index.d.ts +1 -0
  155. package/dist/libraries/module-utils/src/reducers/dynamic-data/reducer.d.ts +4 -0
  156. package/dist/libraries/module-utils/src/reducers/index.d.ts +3 -0
  157. package/dist/libraries/module-utils/src/reducers/static-data/index.d.ts +1 -0
  158. package/dist/libraries/module-utils/src/reducers/static-data/reducer.d.ts +4 -0
  159. package/dist/libraries/module-utils/src/sagas/child-layouts/index.d.ts +1 -0
  160. package/dist/libraries/module-utils/src/sagas/child-layouts/sagas.d.ts +5 -0
  161. package/dist/libraries/module-utils/src/sagas/error-codes.d.ts +1 -0
  162. package/dist/libraries/module-utils/src/sagas/index.d.ts +1 -0
  163. package/dist/libraries/module-utils/src/selectors/child-layouts/index.d.ts +1 -0
  164. package/dist/libraries/module-utils/src/selectors/child-layouts/selectors.d.ts +4 -0
  165. package/dist/libraries/module-utils/src/selectors/dynamic-data/index.d.ts +1 -0
  166. package/dist/libraries/module-utils/src/selectors/dynamic-data/selectors.d.ts +4 -0
  167. package/dist/libraries/module-utils/src/selectors/index.d.ts +3 -0
  168. package/dist/libraries/module-utils/src/selectors/static-data/index.d.ts +1 -0
  169. package/dist/libraries/module-utils/src/selectors/static-data/selectors.d.ts +7 -0
  170. package/dist/libraries/orchestrator/src/actions/domain-states.d.ts +2 -2
  171. package/dist/libraries/orchestrator/src/actions/index.d.ts +14 -4
  172. package/dist/libraries/orchestrator/src/actions/trigger-action.d.ts +2 -0
  173. package/dist/libraries/orchestrator/src/global-store-proxy.d.ts +2 -0
  174. package/dist/libraries/orchestrator/src/models/index.d.ts +1 -1
  175. package/dist/libraries/orchestrator/src/models/state/domain-states.d.ts +2 -2
  176. package/dist/libraries/orchestrator/src/models/state/index.d.ts +0 -2
  177. package/dist/libraries/orchestrator/src/reducers/domain-states/reducer.d.ts +2 -1
  178. package/dist/libraries/orchestrator/src/reducers/index.d.ts +3 -1
  179. package/dist/libraries/orchestrator/src/sagas/plugin/config-transformer.d.ts +2 -2
  180. package/dist/libraries/orchestrator/src/sagas/plugin/migrate-schema.d.ts +2 -2
  181. package/dist/libraries/orchestrator/src/sagas/plugin/migrations/migration-mapper.d.ts +3 -3
  182. package/dist/libraries/orchestrator/src/sagas/plugin/migrations/v1.0.d.ts +2 -2
  183. package/dist/libraries/orchestrator/src/sagas/plugin/sagas.d.ts +2 -2
  184. package/dist/libraries/orchestrator/src/sagas/trigger-action/index.d.ts +1 -0
  185. package/dist/libraries/orchestrator/src/sagas/trigger-action/sagas.d.ts +3 -0
  186. package/dist/libraries/orchestrator/src/selectors/domain-state/selectors.d.ts +2 -2
  187. package/dist/libraries/orchestrator/src/selectors/index.d.ts +1 -1
  188. package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
  189. package/dist/libraries/saga-utils/src/sagas/handle-variant-action.d.ts +12 -0
  190. package/dist/libraries/saga-utils/src/sagas/index.d.ts +1 -0
  191. package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry-data.d.ts +10 -0
  192. package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry.d.ts +9 -0
  193. package/dist/modules/add-to-cart/src/components/mapped-icons/mapped-icon.d.ts +15 -0
  194. package/dist/modules/add-to-cart/src/reducers/index.d.ts +1 -1
  195. package/dist/modules/add-to-cart/src/sagas/cart-service-response/index.d.ts +1 -0
  196. package/dist/modules/add-to-cart/src/sagas/cart-service-response/sagas.d.ts +11 -0
  197. package/dist/modules/add-to-cart/src/sagas/index.d.ts +9 -0
  198. package/dist/modules/add-to-cart/src/selectors/catalogItems/selectors.d.ts +2 -0
  199. package/dist/modules/add-to-cart/src/selectors/index.d.ts +1 -1
  200. package/dist/modules/add-to-cart/src/selectors/offerDataState/index.d.ts +1 -0
  201. package/dist/modules/add-to-cart/src/selectors/{globalOfferDataState → offerDataState}/selectors.d.ts +1 -1
  202. package/dist/modules/instant-purchase/src/actions/device-pay.d.ts +60 -0
  203. package/dist/modules/instant-purchase/src/actions/index.d.ts +2 -0
  204. package/dist/modules/instant-purchase/src/actions/instant-purchase.d.ts +47 -2
  205. package/dist/modules/instant-purchase/src/actions/paypal.d.ts +35 -0
  206. package/dist/modules/instant-purchase/src/channels/channel.d.ts +5 -1
  207. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/apple-pay-button.d.ts +36 -0
  208. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/catalog-device-pay-button.d.ts +59 -0
  209. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/factory.d.ts +2 -0
  210. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/retryable-device-pay-error.d.ts +1 -0
  211. package/dist/modules/instant-purchase/src/components/catalog-discount-callout-tag/catalog-discount-callout-tag.d.ts +1 -1
  212. package/dist/modules/instant-purchase/src/components/catalog-dropdown/catalog-dropdown.d.ts +6 -0
  213. package/dist/modules/instant-purchase/src/components/catalog-dropdown/dropdown-options-context.d.ts +17 -0
  214. package/dist/modules/instant-purchase/src/components/catalog-dropdown/factory.d.ts +2 -0
  215. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-gallery-index.d.ts +1 -0
  216. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-image-gallery.d.ts +6 -0
  217. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/factory.d.ts +2 -0
  218. package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/catalog-selectors-stacked.d.ts +6 -0
  219. package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/factory.d.ts +2 -0
  220. package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/catalog-thumbnail-gallery.d.ts +6 -0
  221. package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/factory.d.ts +2 -0
  222. package/dist/modules/instant-purchase/src/components/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +2 -0
  223. package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/catalog-image-gallery.d.ts +6 -0
  224. package/dist/modules/instant-purchase/src/components/snackbar/snackbar.d.ts +25 -0
  225. package/dist/modules/instant-purchase/src/constants/device-pay-error.d.ts +4 -0
  226. package/dist/modules/instant-purchase/src/constants/device-pay-providers.d.ts +26 -0
  227. package/dist/modules/instant-purchase/src/constants/index.d.ts +2 -0
  228. package/dist/modules/instant-purchase/src/models/state/device-pay-availability.d.ts +5 -0
  229. package/dist/modules/instant-purchase/src/models/state/index.d.ts +1 -0
  230. package/dist/modules/instant-purchase/src/models/state/instant-purchase.d.ts +68 -1
  231. package/dist/modules/instant-purchase/src/reducers/device-pay-availability/index.d.ts +1 -0
  232. package/dist/modules/instant-purchase/src/reducers/device-pay-availability/reducer.d.ts +4 -0
  233. package/dist/modules/instant-purchase/src/reducers/index.d.ts +15 -2
  234. package/dist/modules/instant-purchase/src/reducers/instant-purchase/index.d.ts +2 -0
  235. package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/index.d.ts +1 -0
  236. package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/reducer.d.ts +4 -0
  237. package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/index.d.ts +1 -0
  238. package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/reducer.d.ts +4 -0
  239. package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/index.d.ts +2 -0
  240. package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/reducer.d.ts +5 -0
  241. package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/index.d.ts +2 -0
  242. package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/reducer.d.ts +5 -0
  243. package/dist/modules/instant-purchase/src/sagas/checkout-lifecycle/sagas.d.ts +1 -1
  244. package/dist/modules/instant-purchase/src/sagas/device-pay/index.d.ts +1 -0
  245. package/dist/modules/instant-purchase/src/sagas/device-pay/sagas.d.ts +116 -0
  246. package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/index.d.ts +1 -0
  247. package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/sagas.d.ts +7 -0
  248. package/dist/modules/instant-purchase/src/sagas/error-codes.d.ts +14 -0
  249. package/dist/modules/instant-purchase/src/sagas/index.d.ts +14 -1
  250. package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +20 -81
  251. package/dist/modules/instant-purchase/src/sagas/instant-purchase-signals.d.ts +4 -0
  252. package/dist/modules/instant-purchase/src/sagas/layout-events.d.ts +9 -0
  253. package/dist/modules/instant-purchase/src/sagas/offer-engagement.d.ts +3 -0
  254. package/dist/modules/instant-purchase/src/sagas/paypal/index.d.ts +1 -0
  255. package/dist/modules/instant-purchase/src/sagas/paypal/sagas.d.ts +83 -0
  256. package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/index.d.ts +1 -0
  257. package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/sagas.d.ts +50 -0
  258. package/dist/modules/instant-purchase/src/sagas/variant-action-overrides.d.ts +11 -0
  259. package/dist/modules/instant-purchase/src/selectors/creative/index.d.ts +1 -0
  260. package/dist/modules/instant-purchase/src/selectors/creative/selectors.d.ts +5 -0
  261. package/dist/modules/instant-purchase/src/selectors/device-pay-availability/index.d.ts +1 -0
  262. package/dist/modules/instant-purchase/src/selectors/device-pay-availability/selectors.d.ts +13 -0
  263. package/dist/modules/instant-purchase/src/selectors/index.d.ts +4 -0
  264. package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/index.d.ts +1 -0
  265. package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/selectors.d.ts +3 -0
  266. package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/index.d.ts +1 -0
  267. package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/selectors.d.ts +3 -0
  268. package/dist/modules/instant-purchase/src/utils/create-tax-and-shipping-cache-key.d.ts +4 -0
  269. package/dist/modules/layouts-xp-sandbox/src/reducers/index.d.ts +1 -1
  270. package/dist/modules/layouts-xp-sandbox/src/sagas/index.d.ts +9 -0
  271. package/dist/modules/layouts-xp-sandbox/src/sagas/offer-engagement/sagas.d.ts +1 -1
  272. package/dist/modules/standard-marketing/src/components/escape-hatch/factory.d.ts +2 -0
  273. package/dist/modules/standard-marketing/src/components/escape-hatch-checkbox/escape-hatch-checkbox.d.ts +28 -0
  274. package/dist/modules/standard-marketing/src/reducers/index.d.ts +1 -1
  275. package/dist/modules/standard-marketing/src/sagas/index.d.ts +9 -0
  276. package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +3 -3
  277. package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +4694 -117
  278. package/node_modules/@rokt/dcui-layout-schema/dist/schema.js +1 -1
  279. package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
  280. package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
  281. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +953 -29
  282. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.js +1 -1
  283. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +1087 -35
  284. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.js +1 -1
  285. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +1143 -35
  286. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.js +1 -1
  287. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +1147 -35
  288. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.js +1 -1
  289. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +1218 -35
  290. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.js +1 -1
  291. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +1258 -37
  292. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.js +1 -1
  293. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +1272 -38
  294. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.js +1 -1
  295. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +1334 -38
  296. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.js +1 -1
  297. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +1353 -39
  298. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.js +1 -1
  299. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +1406 -39
  300. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.js +1 -1
  301. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +1407 -39
  302. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.js +1 -1
  303. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +1013 -33
  304. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.js +1 -1
  305. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +1439 -39
  306. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.js +1 -1
  307. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +1482 -39
  308. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.js +1 -1
  309. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +1512 -39
  310. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.js +1 -1
  311. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +1522 -40
  312. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.js +1 -1
  313. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +1013 -33
  314. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.js +1 -1
  315. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +1041 -33
  316. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.js +1 -1
  317. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +1065 -33
  318. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.js +1 -1
  319. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +1065 -33
  320. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.js +1 -1
  321. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +1066 -33
  322. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.js +1 -1
  323. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +1069 -33
  324. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.js +1 -1
  325. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +1070 -33
  326. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.js +1 -1
  327. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +1827 -59
  328. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.js +1 -1
  329. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +1851 -59
  330. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.js +1 -1
  331. package/node_modules/@rokt/dcui-layout-schema/v1.10/index.d.ts +5322 -0
  332. package/node_modules/@rokt/dcui-layout-schema/v1.10/index.js +4 -0
  333. package/node_modules/@rokt/dcui-layout-schema/v1.11/index.d.ts +5486 -0
  334. package/node_modules/@rokt/dcui-layout-schema/v1.11/index.js +4 -0
  335. package/node_modules/@rokt/dcui-layout-schema/v1.12/index.d.ts +5496 -0
  336. package/node_modules/@rokt/dcui-layout-schema/v1.12/index.js +4 -0
  337. package/node_modules/@rokt/dcui-layout-schema/v1.13/index.d.ts +5498 -0
  338. package/node_modules/@rokt/dcui-layout-schema/v1.13/index.js +4 -0
  339. package/node_modules/@rokt/dcui-layout-schema/v1.14/index.d.ts +5828 -0
  340. package/node_modules/@rokt/dcui-layout-schema/v1.14/index.js +4 -0
  341. package/node_modules/@rokt/dcui-layout-schema/v1.15/index.d.ts +6085 -0
  342. package/node_modules/@rokt/dcui-layout-schema/v1.15/index.js +4 -0
  343. package/node_modules/@rokt/dcui-layout-schema/v1.16/index.d.ts +6324 -0
  344. package/node_modules/@rokt/dcui-layout-schema/v1.16/index.js +4 -0
  345. package/node_modules/@rokt/dcui-layout-schema/v1.17/index.d.ts +6439 -0
  346. package/node_modules/@rokt/dcui-layout-schema/v1.17/index.js +4 -0
  347. package/node_modules/@rokt/dcui-layout-schema/v1.18/index.d.ts +6439 -0
  348. package/node_modules/@rokt/dcui-layout-schema/v1.18/index.js +4 -0
  349. package/node_modules/@rokt/dcui-layout-schema/v1.19/index.d.ts +6439 -0
  350. package/node_modules/@rokt/dcui-layout-schema/v1.19/index.js +4 -0
  351. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +1861 -59
  352. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.js +1 -1
  353. package/node_modules/@rokt/dcui-layout-schema/v1.20/index.d.ts +6558 -0
  354. package/node_modules/@rokt/dcui-layout-schema/v1.20/index.js +4 -0
  355. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +1948 -59
  356. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.js +1 -1
  357. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +2115 -60
  358. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.js +1 -1
  359. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +2137 -60
  360. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.js +1 -1
  361. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +2308 -60
  362. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.js +1 -1
  363. package/node_modules/@rokt/dcui-layout-schema/v1.7/index.d.ts +2578 -68
  364. package/node_modules/@rokt/dcui-layout-schema/v1.7/index.js +1 -1
  365. package/node_modules/@rokt/dcui-layout-schema/v1.8/index.d.ts +2680 -68
  366. package/node_modules/@rokt/dcui-layout-schema/v1.8/index.js +1 -1
  367. package/node_modules/@rokt/dcui-layout-schema/v1.9/index.d.ts +5222 -0
  368. package/node_modules/@rokt/dcui-layout-schema/v1.9/index.js +4 -0
  369. package/node_modules/@rokt/partner-integration/README.md +85 -0
  370. package/node_modules/@rokt/partner-integration/dist/cart/index.barrel.d.ts +2 -0
  371. package/node_modules/@rokt/partner-integration/dist/cart/index.d.ts +3 -0
  372. package/node_modules/@rokt/partner-integration/dist/cart/v1/delete-alert-partner-message-body.d.ts +7 -0
  373. package/node_modules/@rokt/partner-integration/dist/cart/v1/events.d.ts +23 -0
  374. package/node_modules/@rokt/partner-integration/dist/cart/v1/index.d.ts +5 -0
  375. package/node_modules/@rokt/partner-integration/dist/cart/v1/update-cart-item.d.ts +48 -0
  376. package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-alert-partner-message-body.d.ts +15 -0
  377. package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-delivery-details-message-body.d.ts +12 -0
  378. package/node_modules/@rokt/partner-integration/dist/cart/v2/cart-item-updated-placement-message-body.d.ts +48 -0
  379. package/node_modules/@rokt/partner-integration/dist/cart/v2/index.d.ts +4 -0
  380. package/node_modules/@rokt/partner-integration/dist/cart/v2/partner-message.d.ts +8 -0
  381. package/node_modules/@rokt/partner-integration/dist/cart/v2/placement-message.d.ts +10 -0
  382. package/node_modules/@rokt/partner-integration/dist/cart/v2/update-cart-item-partner-message-body.d.ts +4 -0
  383. package/node_modules/@rokt/partner-integration/dist/core/events.d.ts +45 -0
  384. package/node_modules/@rokt/partner-integration/dist/core/index.d.ts +1 -0
  385. package/node_modules/@rokt/partner-integration/dist/delivery-details/delivery-details.d.ts +20 -0
  386. package/node_modules/@rokt/partner-integration/dist/delivery-details/index.barrel.d.ts +2 -0
  387. package/node_modules/@rokt/partner-integration/dist/delivery-details/index.d.ts +2 -0
  388. package/node_modules/@rokt/partner-integration/dist/delivery-details/placement-message.d.ts +10 -0
  389. package/node_modules/@rokt/partner-integration/dist/extensions/extension-mapping.d.ts +9 -0
  390. package/node_modules/@rokt/partner-integration/dist/extensions/extension.d.ts +6 -0
  391. package/node_modules/@rokt/partner-integration/dist/extensions/index.barrel.d.ts +2 -0
  392. package/node_modules/@rokt/partner-integration/dist/extensions/index.d.ts +2 -0
  393. package/node_modules/@rokt/partner-integration/dist/index.d.ts +11 -0
  394. package/node_modules/@rokt/partner-integration/dist/index.js +1 -0
  395. package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-message-body.d.ts +6 -0
  396. package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-response-message-body.d.ts +11 -0
  397. package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.barrel.d.ts +5 -0
  398. package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.d.ts +2 -0
  399. package/node_modules/@rokt/partner-integration/dist/instant-purchase/partner-message.d.ts +8 -0
  400. package/node_modules/@rokt/partner-integration/dist/instant-purchase/placement-message.d.ts +9 -0
  401. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.barrel.d.ts +5 -0
  402. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.d.ts +1 -0
  403. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/partner-message.d.ts +8 -0
  404. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/placement-message.d.ts +9 -0
  405. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-message-body.d.ts +8 -0
  406. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-response-message-body.d.ts +11 -0
  407. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item.d.ts +26 -0
  408. package/node_modules/@rokt/partner-integration/dist/journey/index.barrel.d.ts +1 -0
  409. package/node_modules/@rokt/partner-integration/dist/journey/index.d.ts +2 -0
  410. package/node_modules/@rokt/partner-integration/dist/journey/journey-extension.d.ts +39 -0
  411. package/node_modules/@rokt/partner-integration/dist/link-navigation/index.d.ts +2 -0
  412. package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-message.d.ts +9 -0
  413. package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-request-body.d.ts +3 -0
  414. package/node_modules/@rokt/partner-integration/dist/partner-validation/events.d.ts +17 -0
  415. package/node_modules/@rokt/partner-integration/dist/partner-validation/index.barrel.d.ts +4 -0
  416. package/node_modules/@rokt/partner-integration/dist/partner-validation/index.d.ts +2 -0
  417. package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-extension.d.ts +7 -0
  418. package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-status.d.ts +10 -0
  419. package/node_modules/@rokt/partner-integration/dist/partner-validation/set-partner-validation-status.d.ts +12 -0
  420. package/node_modules/@rokt/partner-integration/dist/promotions-extension/index.d.ts +2 -0
  421. package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-events.d.ts +6 -0
  422. package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-payload.d.ts +1 -0
  423. package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.barrel.d.ts +1 -0
  424. package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.d.ts +2 -0
  425. package/node_modules/@rokt/partner-integration/dist/thank-you-page/thank-you-page-extension.d.ts +22 -0
  426. package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.barrel.d.ts +5 -0
  427. package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.d.ts +2 -0
  428. package/node_modules/@rokt/partner-integration/dist/upsells-offers/partner-message.d.ts +9 -0
  429. package/node_modules/@rokt/partner-integration/dist/upsells-offers/placement-message.d.ts +21 -0
  430. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsell-creative-sent-message-body.d.ts +14 -0
  431. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offer.d.ts +35 -0
  432. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offers-sent-body.d.ts +11 -0
  433. package/node_modules/@rokt/partner-integration/dist/user-action/index.barrel.d.ts +2 -0
  434. package/node_modules/@rokt/partner-integration/dist/user-action/index.d.ts +2 -0
  435. package/node_modules/@rokt/partner-integration/dist/user-action/user-action-event.d.ts +11 -0
  436. package/node_modules/@rokt/partner-integration/dist/user-action/user-action-extension.d.ts +4 -0
  437. package/node_modules/@rokt/partner-integration/package.json +34 -0
  438. package/node_modules/@rokt/plugin/bootstrap/bootstrap.d.ts +1 -2
  439. package/node_modules/@rokt/plugin/bootstrap/bootstrap.js +5 -30
  440. package/node_modules/@rokt/plugin/interface/context.d.ts +1 -0
  441. package/node_modules/@rokt/plugin/interface/display.d.ts +1 -0
  442. package/node_modules/@rokt/plugin/lib/index.barrel.d.ts +1 -14
  443. package/node_modules/@rokt/plugin/lib/index.barrel.js +1 -14
  444. package/node_modules/@rokt/plugin/lib/is-preload-frame.d.ts +1 -1
  445. package/node_modules/@rokt/plugin/lib/is-preload-frame.js +3 -1
  446. package/node_modules/@rokt/plugin/lib/plugin-instance.d.ts +13 -27
  447. package/node_modules/@rokt/plugin/lib/plugin-instance.js +1 -99
  448. package/node_modules/@rokt/plugin/package.json +15 -16
  449. package/node_modules/@rokt/plugin/standalone/standalone.d.ts +14 -2
  450. package/node_modules/@rokt/plugin/standalone/standalone.js +1 -0
  451. package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.d.ts +1 -1
  452. package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.js +2 -1
  453. package/node_modules/@rokt/plugin/testing/mock-child-plugin.d.ts +5 -5
  454. package/node_modules/@rokt/plugin/testing/mock-child-plugin.js +6 -5
  455. package/node_modules/@rokt/plugin/testing/mock-context.d.ts +18 -17
  456. package/node_modules/@rokt/plugin/testing/mock-context.js +19 -17
  457. package/node_modules/@rokt/plugin/testing/mock-display.d.ts +1 -1
  458. package/node_modules/@rokt/plugin/testing/mock-display.js +2 -1
  459. package/node_modules/@rokt/plugin/testing/mock-engine.d.ts +1 -2
  460. package/node_modules/@rokt/plugin/testing/mock-error.d.ts +1 -1
  461. package/node_modules/@rokt/plugin/testing/mock-error.js +2 -1
  462. package/node_modules/@rokt/plugin/testing/mock-function.d.ts +1 -0
  463. package/node_modules/@rokt/plugin/testing/mock-function.js +31 -0
  464. package/node_modules/@rokt/plugin/testing/mock-metrics.d.ts +4 -4
  465. package/node_modules/@rokt/plugin/testing/mock-metrics.js +5 -4
  466. package/node_modules/@rokt/plugin/testing/mock-parent-interaction.d.ts +2 -2
  467. package/node_modules/@rokt/plugin/testing/mock-parent-interaction.js +3 -2
  468. package/node_modules/@rokt/plugin/testing/mock-partner-interaction.d.ts +2 -2
  469. package/node_modules/@rokt/plugin/testing/mock-partner-interaction.js +3 -2
  470. package/node_modules/@rokt/plugin/testing/mock-rdn.d.ts +3 -3
  471. package/node_modules/@rokt/plugin/testing/mock-rdn.js +4 -3
  472. package/node_modules/@rokt/plugin/types/library-loaded.d.ts +0 -2
  473. package/node_modules/@rokt/plugin/types/library-loaded.js +0 -2
  474. package/package.json +8 -7
  475. package/node_modules/@rokt/plugin/lib/bootstrap-v1.d.ts +0 -3
  476. package/node_modules/@rokt/plugin/lib/bootstrap-v1.js +0 -9
  477. package/node_modules/@rokt/plugin/lib/child-plugin-factory.d.ts +0 -14
  478. package/node_modules/@rokt/plugin/lib/child-plugin-factory.js +0 -12
  479. package/node_modules/@rokt/plugin/lib/child-plugin.d.ts +0 -26
  480. package/node_modules/@rokt/plugin/lib/child-plugin.js +0 -81
  481. package/node_modules/@rokt/plugin/lib/context.d.ts +0 -23
  482. package/node_modules/@rokt/plugin/lib/context.js +0 -95
  483. package/node_modules/@rokt/plugin/lib/debug.d.ts +0 -19
  484. package/node_modules/@rokt/plugin/lib/debug.js +0 -36
  485. package/node_modules/@rokt/plugin/lib/display.d.ts +0 -13
  486. package/node_modules/@rokt/plugin/lib/display.js +0 -81
  487. package/node_modules/@rokt/plugin/lib/error.d.ts +0 -9
  488. package/node_modules/@rokt/plugin/lib/error.js +0 -35
  489. package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.d.ts +0 -8
  490. package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.js +0 -6
  491. package/node_modules/@rokt/plugin/lib/metrics.d.ts +0 -13
  492. package/node_modules/@rokt/plugin/lib/metrics.js +0 -55
  493. package/node_modules/@rokt/plugin/lib/parent-interaction.d.ts +0 -13
  494. package/node_modules/@rokt/plugin/lib/parent-interaction.js +0 -46
  495. package/node_modules/@rokt/plugin/lib/partner-interaction.d.ts +0 -11
  496. package/node_modules/@rokt/plugin/lib/partner-interaction.js +0 -35
  497. package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.d.ts +0 -6
  498. package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.js +0 -35
  499. package/node_modules/@rokt/plugin/lib/private-context.d.ts +0 -39
  500. package/node_modules/@rokt/plugin/lib/private-context.js +0 -76
  501. package/node_modules/@rokt/plugin/lib/rdn.d.ts +0 -15
  502. package/node_modules/@rokt/plugin/lib/rdn.js +0 -58
  503. package/node_modules/@rokt/plugin/lib/sender-receiver.d.ts +0 -5
  504. package/node_modules/@rokt/plugin/lib/sender-receiver.js +0 -1
  505. package/node_modules/@rokt/plugin/lib/theme.d.ts +0 -8
  506. package/node_modules/@rokt/plugin/lib/theme.js +0 -8
  507. package/node_modules/@rokt/plugin/lib/to-observable.d.ts +0 -4
  508. package/node_modules/@rokt/plugin/lib/to-observable.js +0 -12
  509. package/node_modules/@rokt/plugin/lib/unsafe.d.ts +0 -3
  510. package/node_modules/@rokt/plugin/lib/unsafe.js +0 -2
  511. package/node_modules/@rokt/plugin/lib/with-error-reporting.d.ts +0 -2
  512. package/node_modules/@rokt/plugin/lib/with-error-reporting.js +0 -22
  513. /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/close-button.d.ts +0 -0
  514. /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/index.d.ts +0 -0
  515. /package/dist/{modules/add-to-cart/src/selectors/globalOfferDataState → libraries/layout-renderer-utils/src/selectors/fired-events}/index.d.ts +0 -0
  516. /package/dist/modules/instant-purchase/src/components/{catalog-drop-down → escapehatch-catalog-drop-down}/catalog-drop-down.d.ts +0 -0
  517. /package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/constants.d.ts +0 -0
@@ -1,151 +1,472 @@
1
+ /** A URL value that supports light and dark mode themes. */
1
2
  export interface ThemeUrl {
3
+ /** The URL for light mode. */
2
4
  light: string;
5
+ /** The URL for dark mode. Omit to use the light mode URL in both themes. */
3
6
  dark?: null | string;
4
7
  }
5
- export type BackgroundImagePosition = "top" | "right" | "bottom" | "left" | "center" | "top-right" | "top-left" | "bottom-left" | "bottom-right";
6
- export type BackgroundImageScale = "crop" | "fit" | "fill";
8
+ /**
9
+ * Positioning of a background image within its container.
10
+ * Specifies which area of the container the image aligns to.
11
+ */
12
+ export type BackgroundImagePosition =
13
+ /** Positions the image at the top center. */
14
+ "top"
15
+ /** Positions the image at the center right. */
16
+ | "right"
17
+ /** Positions the image at the bottom center. */
18
+ | "bottom"
19
+ /** Positions the image at the center left. */
20
+ | "left"
21
+ /** Positions the image at the center of the container. */
22
+ | "center"
23
+ /** Positions the image at the top right corner. */
24
+ | "top-right"
25
+ /** Positions the image at the top left corner. */
26
+ | "top-left"
27
+ /** Positions the image at the bottom left corner. */
28
+ | "bottom-left"
29
+ /** Positions the image at the bottom right corner. */
30
+ | "bottom-right";
31
+ /**
32
+ * How a background image is scaled to fit its container.
33
+ * Controls the trade-off between covering the container and preserving aspect ratio.
34
+ */
35
+ export type BackgroundImageScale =
36
+ /** Scales the image to cover the entire container, cropping edges that overflow. */
37
+ "crop"
38
+ /** Scales the image to fit entirely within the container, potentially leaving empty space. */
39
+ | "fit"
40
+ /** Stretches the image to fill the container exactly, potentially distorting aspect ratio. */
41
+ | "fill";
42
+ /**
43
+ * A background image with themed URL support.
44
+ * Use this to display an image behind element content with control over positioning and scaling.
45
+ */
7
46
  export interface BackgroundImage {
47
+ /** The image URL. Uses themed values for light/dark mode. */
8
48
  url: ThemeUrl;
49
+ /** Where the image is positioned within the element. */
9
50
  position?: null | BackgroundImagePosition;
51
+ /** How the image is scaled to fit the element. */
10
52
  scale?: null | BackgroundImageScale;
11
53
  }
54
+ /**
55
+ * A color value that supports light and dark mode themes. Always provide the light mode value.
56
+ * Provide dark mode only if the color should differ from light mode.
57
+ * Colors are hex strings in `#RRGGBB` or `#AARRGGBB` format. NOTE: the alpha channel comes
58
+ * BEFORE the RGB channels (e.g. `#80000000` for 50% transparent black), unlike CSS where alpha is last.
59
+ */
12
60
  export interface ThemeColor {
61
+ /** The color hex code for light mode. Format: `#RRGGBB` or `#AARRGGBB` (e.g. "#FF0000", "#80000000"). */
13
62
  light: string;
63
+ /** The color hex code for dark mode. Omit to use the light mode value in both themes. */
14
64
  dark?: null | string;
15
65
  }
66
+ /**
67
+ * Background styling properties for elements.
68
+ * All fields are optional. Only include the properties you want to override.
69
+ */
16
70
  export interface BackgroundStylingProperties {
71
+ /** The background fill color. */
17
72
  backgroundColor?: null | ThemeColor;
73
+ /** A background image to display behind the element content. */
18
74
  backgroundImage?: null | BackgroundImage;
19
75
  }
76
+ /** A styling block that defines styles for different interaction states. The 'default' state is required; other states are optional and override default styles when active. */
20
77
  export interface BasicStateStylingBlock<StyleProperties> {
78
+ /** The base styles applied in the normal state. This is always required. */
21
79
  default: StyleProperties;
80
+ /** Styles applied when the element is being pressed/clicked. Only applicable to interactive elements. */
22
81
  pressed?: null | StyleProperties;
82
+ /** Styles applied when the cursor is over the element. Only applicable to interactive elements. */
23
83
  hovered?: null | StyleProperties;
84
+ /** Styles applied when the element has keyboard focus. */
24
85
  focussed?: null | StyleProperties;
86
+ /** Styles applied when the element is disabled. */
25
87
  disabled?: null | StyleProperties;
26
88
  }
27
- export type DimensionWidthValue = {
89
+ /**
90
+ * Width value specification. MUST be an object with 'type' and 'value' properties.
91
+ * Do NOT use bare numbers or CSS strings. Example: {"type": "percentage", "value": 100}.
92
+ */
93
+ export type DimensionWidthValue =
94
+ /** A fixed width in platform units (px on Web, pt on iOS, dp on Android). Value: {"type": "fixed", "value": <number>}. */
95
+ {
28
96
  type: "fixed";
29
97
  value: number;
30
- } | {
98
+ }
99
+ /** A percentage of the parent container width. Value: {"type": "percentage", "value": <0-100>}. */
100
+ | {
31
101
  type: "percentage";
32
102
  value: number;
33
- } | {
103
+ }
104
+ /** Sizes to fit content. Value: {"type": "fit", "value": "wrap-content" or "fit-width"}. */
105
+ | {
34
106
  type: "fit";
35
107
  value: DimensionWidthFitValue;
36
108
  };
37
- export type DimensionHeightValue = {
109
+ /**
110
+ * Height value specification. MUST be an object with 'type' and 'value' properties.
111
+ * Do NOT use bare numbers or CSS strings. Example: {"type": "fixed", "value": 200}.
112
+ */
113
+ export type DimensionHeightValue =
114
+ /** A fixed height in platform units (px on Web, pt on iOS, dp on Android). Value: {"type": "fixed", "value": <number>}. */
115
+ {
38
116
  type: "fixed";
39
117
  value: number;
40
- } | {
118
+ }
119
+ /** A percentage of the parent container height. Value: {"type": "percentage", "value": <0-100>}. */
120
+ | {
41
121
  type: "percentage";
42
122
  value: number;
43
- } | {
123
+ }
124
+ /** Sizes to fit content. Value: {"type": "fit", "value": "wrap-content" or "fit-height"}. */
125
+ | {
44
126
  type: "fit";
45
127
  value: DimensionHeightFitValue;
46
128
  };
129
+ /**
130
+ * Dimension and size styling properties. Numeric values are in platform units (px on Web, pt on iOS, dp on Android). Plain numbers (e.g. minWidth: 100)
131
+ * while width/height use typed objects. Do NOT use bare numbers for width or height.
132
+ * All fields are optional. Only include the properties you want to override.
133
+ */
47
134
  export interface DimensionStylingProperties {
135
+ /** Minimum width in platform units. */
48
136
  minWidth?: null | number;
137
+ /** Maximum width in platform units. */
49
138
  maxWidth?: null | number;
139
+ /**
140
+ * The width value. MUST be a typed object, e.g. {"type": "percentage", "value": 100}.
141
+ * Do NOT use bare numbers.
142
+ */
50
143
  width?: null | DimensionWidthValue;
144
+ /** Minimum height in platform units. */
51
145
  minHeight?: null | number;
146
+ /** Maximum height in platform units. */
52
147
  maxHeight?: null | number;
148
+ /**
149
+ * The height value. MUST be a typed object, e.g. {"type": "fixed", "value": 200}.
150
+ * Do NOT use bare numbers.
151
+ */
53
152
  height?: null | DimensionHeightValue;
54
153
  }
55
154
  export type FlexChildFlexPosition = "center" | "flex-start" | "flex-end" | "stretch";
155
+ /**
156
+ * Properties that control how this element behaves as a child within a flex container (Row or Column).
157
+ * All fields are optional. Only include the properties you want to override.
158
+ */
56
159
  export interface FlexChildStylingProperties {
160
+ /**
161
+ * The flex grow weight. Determines how remaining space is distributed.
162
+ * A child with weight 2 gets twice the extra space as one with weight 1.
163
+ */
57
164
  weight?: null | number;
165
+ /** The visual order of this child within its container. Lower values appear first. */
58
166
  order?: null | number;
167
+ /** Overrides the parent container's alignItems for this specific child. */
59
168
  alignSelf?: null | FlexChildFlexPosition;
60
169
  }
170
+ /**
171
+ * Spacing properties for padding, margin and offset.
172
+ * Values are specified as space-separated strings of numeric values in platform units (px on Web, pt on iOS, dp on Android) following CSS shorthand.
173
+ * All fields are optional. Only include the properties you want to override.
174
+ */
61
175
  export interface SpacingStylingProperties {
176
+ /**
177
+ * Internal spacing between the element border and its content. Specified as a
178
+ * space-separated string of numeric values following CSS shorthand: '10' for all sides,
179
+ * '10 20' for vertical/horizontal, '10 20 10 20' for top/right/bottom/left.
180
+ */
62
181
  padding?: null | string;
182
+ /** External spacing around the outside of the element border. Same format as padding. */
63
183
  margin?: null | string;
184
+ /** Positional offset from the element's normal position. Same format as padding. */
64
185
  offset?: null | string;
65
186
  }
66
- export type FontWeight = "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
67
- export type FontJustification = "left" | "right" | "center" | "start" | "end" | "justify";
68
- export type FontBaselineAlignment = "super" | "sub" | "baseline";
69
- export type FontStyle = "normal" | "italic";
70
- export type TextTransform = "capitalize" | "uppercase" | "lowercase" | "none";
71
- export type TextDecoration = "underline" | "strike-through" | "none";
187
+ /**
188
+ * The weight (boldness) of the font. Values are CSS-standard numeric weights.
189
+ * MUST be one of the predefined weight values. Do NOT use arbitrary numbers.
190
+ */
191
+ export type FontWeight =
192
+ /** Thin (Hairline). The lightest available weight. */
193
+ "100"
194
+ /** Extra Light (Ultra Light). */
195
+ | "200"
196
+ /** Light. */
197
+ | "300"
198
+ /** Normal / Regular. The default font weight. */
199
+ | "400"
200
+ /** Medium. Slightly bolder than normal. */
201
+ | "500"
202
+ /** Semi Bold (Demi Bold). */
203
+ | "600"
204
+ /** Bold. */
205
+ | "700"
206
+ /** Extra Bold (Ultra Bold). */
207
+ | "800"
208
+ /** Black (Heavy). The boldest available weight. */
209
+ | "900";
210
+ /**
211
+ * Horizontal text alignment within the text element.
212
+ * MUST use one of the specified alignment values. Do NOT use CSS text-align strings directly.
213
+ */
214
+ export type FontJustification =
215
+ /** Aligns text to the left edge. */
216
+ "left"
217
+ /** Aligns text to the right edge. */
218
+ | "right"
219
+ /** Centers text horizontally. */
220
+ | "center"
221
+ /** Aligns text to the start edge (left in LTR, right in RTL). */
222
+ | "start"
223
+ /** Aligns text to the end edge (right in LTR, left in RTL). */
224
+ | "end"
225
+ /** Stretches text so each line fills the full width, adjusting spacing between words. */
226
+ | "justify";
227
+ /**
228
+ * Vertical alignment of text relative to the baseline.
229
+ * Use this to position text as superscript, subscript, or at the normal baseline.
230
+ */
231
+ export type FontBaselineAlignment =
232
+ /** Raises text above the baseline (superscript). */
233
+ "super"
234
+ /** Lowers text below the baseline (subscript). */
235
+ | "sub"
236
+ /** Aligns text to the normal baseline position. */
237
+ | "baseline";
238
+ /**
239
+ * The style of the font.
240
+ * Controls whether text is rendered upright or italicised.
241
+ */
242
+ export type FontStyle =
243
+ /** Standard upright text. */
244
+ "normal"
245
+ /** Italicised text. */
246
+ | "italic";
247
+ /**
248
+ * Controls text capitalisation.
249
+ * Applied as a visual transform; does not alter the underlying text data.
250
+ */
251
+ export type TextTransform =
252
+ /** Capitalises the first letter of each word. */
253
+ "capitalize"
254
+ /** Transforms all text to uppercase. */
255
+ | "uppercase"
256
+ /** Transforms all text to lowercase. */
257
+ | "lowercase"
258
+ /** No transformation applied. */
259
+ | "none";
260
+ /**
261
+ * Decorative line applied to text.
262
+ * Use to add visual emphasis such as underline or strikethrough.
263
+ */
264
+ export type TextDecoration =
265
+ /** Adds a line beneath the text. */
266
+ "underline"
267
+ /** Adds a line through the middle of the text. */
268
+ | "strike-through"
269
+ /** No decoration applied. */
270
+ | "none";
271
+ /**
272
+ * Typography styling properties for text elements.
273
+ * All fields are optional. Only include the properties you want to override.
274
+ */
72
275
  export interface TextStylingProperties {
276
+ /** The text color. Uses themed values for light/dark mode support. */
73
277
  textColor?: null | ThemeColor;
278
+ /** Font size in platform units (px on Web, pt on iOS, dp on Android). */
74
279
  fontSize?: null | number;
280
+ /** The font family name. Use 'rokt-icons' for icon fonts. */
75
281
  fontFamily?: null | string;
282
+ /** The weight (boldness) of the font. */
76
283
  fontWeight?: null | FontWeight;
284
+ /** Line height in platform units. Controls the spacing between lines of text. */
77
285
  lineHeight?: null | number;
286
+ /** Horizontal text alignment within the element. */
78
287
  horizontalTextAlign?: null | FontJustification;
288
+ /** Vertical alignment of text relative to the baseline. */
79
289
  baselineTextAlign?: null | FontBaselineAlignment;
290
+ /** Normal or italic text rendering. */
80
291
  fontStyle?: null | FontStyle;
292
+ /** Controls automatic text capitalisation. */
81
293
  textTransform?: null | TextTransform;
294
+ /** Additional spacing between characters in platform units. */
82
295
  letterSpacing?: null | number;
296
+ /** Decorative line applied to text (underline, strikethrough). */
83
297
  textDecoration?: null | TextDecoration;
298
+ /** Maximum number of lines to display. Text beyond this limit is truncated. */
84
299
  lineLimit?: null | number;
85
300
  }
301
+ /** Visual styles for the BasicText node. */
86
302
  export interface BasicTextStyle {
303
+ /** Width, height and rotation properties. */
87
304
  dimension?: null | DimensionStylingProperties;
305
+ /** Properties controlling behaviour as a flex child. */
88
306
  flexChild?: null | FlexChildStylingProperties;
307
+ /** Padding, margin and offset properties. */
89
308
  spacing?: null | SpacingStylingProperties;
309
+ /** Background color and image properties. */
90
310
  background?: null | BackgroundStylingProperties;
311
+ /** Typography properties. */
91
312
  text?: null | TextStylingProperties;
92
313
  }
314
+ /** Style elements for the BasicText node. */
93
315
  export interface BasicTextElements {
316
+ /** Style blocks for the node's primary element. Array represents breakpoint-specific styles. */
94
317
  own: BasicStateStylingBlock<BasicTextStyle>[];
95
318
  }
319
+ /** The top-level style object for a node. Contains element styling and optional conditional transitions. */
96
320
  export interface LayoutStyle<Elements> {
321
+ /** Defines the visual styles for each styleable element of this node. MUST contain at least an 'own' key with a styling block array. */
97
322
  elements: Elements;
98
323
  }
324
+ /** Renders a paragraph of plain text. Use for simple text content. For text with HTML formatting use RichText instead. */
99
325
  export interface BasicTextModel {
326
+ /** Visual styles for the text element. */
100
327
  styles?: null | LayoutStyle<BasicTextElements>;
328
+ /** The text content to display. Supports data binding placeholders in the format %^DATA.key^% for dynamic creative content. */
101
329
  value: string;
102
330
  }
103
- export type BorderStyle = "solid" | "dashed";
331
+ /**
332
+ * The visual style of the border line.
333
+ * MUST be one of the supported values. Do NOT use CSS border-style strings directly.
334
+ */
335
+ export type BorderStyle =
336
+ /** A solid continuous border line. */
337
+ "solid"
338
+ /** A dashed border line. */
339
+ | "dashed";
340
+ /**
341
+ * Border styling properties for elements.
342
+ * All fields are optional. Only include the properties you want to override.
343
+ */
104
344
  export interface BorderStylingProperties {
345
+ /** Corner radius in platform units (px on Web, pt on iOS, dp on Android). Applies uniformly to all corners. */
105
346
  borderRadius?: null | number;
347
+ /** The border color. Uses themed values for light/dark mode support. */
106
348
  borderColor?: null | ThemeColor;
349
+ /**
350
+ * Border width specified as a space-separated string of numeric values in platform units.
351
+ * Follows CSS shorthand: '2' for all sides, '2 4' for vertical/horizontal,
352
+ * '1 2 3 4' for top/right/bottom/left.
353
+ */
107
354
  borderWidth?: null | string;
355
+ /** The visual style of the border line (solid or dashed). */
108
356
  borderStyle?: null | BorderStyle;
109
357
  }
110
- export type OrderableWhenCondition = "is" | "is-not" | "is-below" | "is-above";
358
+ /**
359
+ * Condition operators for numeric/orderable comparisons. Use these to compare
360
+ * values that have a natural ordering (numbers, positions, breakpoints).
361
+ * Serialized as kebab-case strings: "is", "is-not", "is-below", "is-above".
362
+ */
363
+ export type OrderableWhenCondition =
364
+ /** True when the value equals the specified value. */
365
+ "is"
366
+ /** True when the value does not equal the specified value. */
367
+ | "is-not"
368
+ /** True when the value is less than the specified value. */
369
+ | "is-below"
370
+ /** True when the value is greater than the specified value. */
371
+ | "is-above";
372
+ /**
373
+ * Tests the viewport width against a breakpoint value. Use for
374
+ * responsive layouts that adapt to different screen sizes. The value MUST
375
+ * be a string representation of a number in platform units.
376
+ */
111
377
  export interface BreakpointPredicate {
378
+ /** The comparison operator. Use "is-above" or "is-below" for responsive breakpoints. */
112
379
  condition: OrderableWhenCondition;
380
+ /**
381
+ * The breakpoint width in platform units to compare against. MUST be a string
382
+ * representation of a number, e.g. "768".
383
+ */
113
384
  value: string;
114
385
  }
386
+ /** A styling block with only a default state. Used for non-interactive elements. */
115
387
  export interface StatelessStylingBlock<StyleProperties> {
388
+ /** The styles to apply. Always required. */
116
389
  default: StyleProperties;
117
390
  }
118
- export type FlexPosition = "center" | "flex-start" | "flex-end";
391
+ /** Position options within a flex context. */
392
+ export type FlexPosition =
393
+ /** Centers items along the main axis. */
394
+ "center"
395
+ /** Packs items toward the start of the main axis. */
396
+ | "flex-start"
397
+ /** Packs items toward the end of the main axis. */
398
+ | "flex-end";
399
+ /** Defines a box shadow effect. All offset and radius values are in platform units (px on Web, pt on iOS, dp on Android). */
119
400
  export interface Shadow {
401
+ /** Horizontal offset of the shadow. Positive values move the shadow right. */
120
402
  offsetX?: null | number;
403
+ /** Vertical offset of the shadow. Positive values move the shadow down. */
121
404
  offsetY?: null | number;
405
+ /** The blur radius. Higher values create a more diffuse shadow. */
122
406
  blurRadius?: null | number;
407
+ /** The spread radius. Positive values expand the shadow, negative values shrink it. */
123
408
  spreadRadius?: null | number;
409
+ /** The shadow color. */
124
410
  color: ThemeColor;
125
411
  }
126
- export type Overflow = "auto" | "hidden" | "visible" | "scroll";
412
+ /** Controls visibility of content that overflows the container bounds. */
413
+ export type Overflow = "auto"
414
+ /** Content that overflows is clipped and not visible. */
415
+ | "hidden"
416
+ /** Content that overflows remains visible outside the container bounds. */
417
+ | "visible" | "scroll";
418
+ /** Styling properties for container layout behaviour. Only applicable to nodes that contain children. */
127
419
  export interface ContainerStylingProperties {
420
+ /** Controls how children are distributed along the main axis. For a Row this is horizontal, for a Column this is vertical. */
128
421
  justifyContent?: null | FlexPosition;
422
+ /** Controls how children are aligned along the cross axis. For a Row this is vertical, for a Column this is horizontal. */
129
423
  alignItems?: null | FlexPosition;
424
+ /** Applies a box shadow effect around the container. */
130
425
  shadow?: null | Shadow;
426
+ /** Controls whether content overflowing the container bounds is visible or hidden. */
131
427
  overflow?: null | Overflow;
428
+ /** The gap in platform units between children in the container. */
132
429
  gap?: null | number;
133
430
  }
431
+ /**
432
+ * Visual style properties for the CarouselDistribution container.
433
+ * Contains the standard style categories: container layout, background colors,
434
+ * border appearance, dimensions, flex child positioning, and spacing.
435
+ */
134
436
  export interface CarouselDistributionStyles {
437
+ /** Container layout styles (e.g. flex direction, alignment). */
135
438
  container?: null | ContainerStylingProperties;
439
+ /** Background color and gradient styles. */
136
440
  background?: null | BackgroundStylingProperties;
441
+ /** Border width, color, and radius styles. */
137
442
  border?: null | BorderStylingProperties;
443
+ /** Width and height dimension styles. */
138
444
  dimension?: null | DimensionStylingProperties;
445
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
139
446
  flexChild?: null | FlexChildStylingProperties;
447
+ /** Padding and margin spacing styles. */
140
448
  spacing?: null | SpacingStylingProperties;
141
449
  }
450
+ /**
451
+ * Styling elements for the CarouselDistribution container.
452
+ * The `own` array contains stateless styling blocks applied to the carousel container itself.
453
+ */
142
454
  export interface CarouselDistributionElements {
455
+ /** Array of stateless styling blocks for the carousel container. */
143
456
  own: StatelessStylingBlock<CarouselDistributionStyles>[];
144
457
  }
145
- export type PeekThroughSize = {
458
+ /**
459
+ * The size of the peek-through area showing adjacent carousel items.
460
+ * Controls how much of the next/previous items are visible at the edges.
461
+ */
462
+ export type PeekThroughSize =
463
+ /** A fixed size in platform units (px on Web, pt on iOS, dp on Android) for the peek-through area. */
464
+ {
146
465
  type: "Fixed";
147
466
  value: number;
148
- } | {
467
+ }
468
+ /** A percentage-based size for the peek-through area, relative to the carousel width. */
469
+ | {
149
470
  type: "Percentage";
150
471
  value: number;
151
472
  };
@@ -153,303 +474,917 @@ export interface CarouselSettings {
153
474
  viewableItems: number[];
154
475
  peekThroughSize: PeekThroughSize[];
155
476
  }
477
+ /**
478
+ * Presents offers in a horizontally scrollable carousel.
479
+ * Used EXCLUSIVELY in the Outer Layout. This is the container into which offers (Layout Variants) are rendered.
480
+ * Users can swipe left/right to browse offers.
481
+ *
482
+ * Use `viewableItems` to control how many items are visible at once per breakpoint.
483
+ * Use `peekThroughSize` to hint that more items exist by showing partial adjacent items.
484
+ */
156
485
  export interface CarouselDistributionModel {
157
486
  settings: CarouselSettings;
487
+ /**
488
+ * Visual styles for the carousel container.
489
+ * Uses the LayoutStyle wrapper with conditional style transitions.
490
+ */
158
491
  styles?: null | LayoutStyle<CarouselDistributionElements>;
159
492
  }
493
+ /**
494
+ * Visual style properties for the CloseButton.
495
+ * Contains the standard style categories: container layout, background colors,
496
+ * border appearance, dimensions, flex child positioning, and spacing.
497
+ */
160
498
  export interface CloseButtonStyles {
499
+ /** Container layout styles (e.g. flex direction, alignment). */
161
500
  container?: null | ContainerStylingProperties;
501
+ /** Background color and gradient styles. */
162
502
  background?: null | BackgroundStylingProperties;
503
+ /** Border width, color, and radius styles. */
163
504
  border?: null | BorderStylingProperties;
505
+ /** Width and height dimension styles. */
164
506
  dimension?: null | DimensionStylingProperties;
507
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
165
508
  flexChild?: null | FlexChildStylingProperties;
509
+ /** Padding and margin spacing styles. */
166
510
  spacing?: null | SpacingStylingProperties;
167
511
  }
512
+ /**
513
+ * Styling elements for the CloseButton.
514
+ * The `own` array contains state-dependent styling blocks (e.g. default, pressed)
515
+ * applied to the close button itself.
516
+ */
168
517
  export interface CloseButtonElements {
518
+ /**
519
+ * Array of state-dependent styling blocks for the close button.
520
+ * Each block targets a specific interaction state (default, pressed, etc.).
521
+ */
169
522
  own: BasicStateStylingBlock<CloseButtonStyles>[];
170
523
  }
524
+ /**
525
+ * A button that closes/dismisses the layout when clicked.
526
+ * Typically contains a StaticIcon with the 'Close' icon.
527
+ *
528
+ * MUST include child content (usually a StaticIcon with name `"Close"`).
529
+ * Do NOT use CreativeResponse for dismissal; use CloseButton instead so that
530
+ * the dismiss action is correctly tracked.
531
+ */
171
532
  export interface CloseButtonModel<Children> {
533
+ /** Visual styles for the close button. Uses the LayoutStyle wrapper with conditional style transitions. */
172
534
  styles?: null | LayoutStyle<CloseButtonElements>;
535
+ /**
536
+ * Child nodes forming the button content. Typically a StaticIcon with name `"Close"`.
537
+ * MUST contain at least one child to display the close icon or label.
538
+ */
173
539
  children: Children[];
174
540
  }
541
+ /**
542
+ * Available style categories for the Column element. Each optional field enables a specific
543
+ * category of visual styling. Omit a field to leave that category unstyled.
544
+ */
175
545
  export interface ColumnStyle {
546
+ /**
547
+ * Layout properties for the flex container (justification, alignment, gap, overflow).
548
+ * MUST be used to control how children are arranged within the column.
549
+ */
176
550
  container?: null | ContainerStylingProperties;
551
+ /**
552
+ * Background color and image properties. Use to set a solid color, gradient, or image
553
+ * behind the column content.
554
+ */
177
555
  background?: null | BackgroundStylingProperties;
556
+ /**
557
+ * Border radius, color, width and style properties. Use to add visible borders or
558
+ * rounded corners to the column.
559
+ */
178
560
  border?: null | BorderStylingProperties;
561
+ /**
562
+ * Width, height and rotation properties. Use to explicitly size the column or apply
563
+ * rotation transforms. Do NOT set width/height if the column should size to its content.
564
+ */
179
565
  dimension?: null | DimensionStylingProperties;
566
+ /**
567
+ * Properties controlling this element's behaviour as a child of a flex container.
568
+ * Use to set flex-grow, flex-shrink, flex-basis, and align-self.
569
+ */
180
570
  flexChild?: null | FlexChildStylingProperties;
571
+ /** Padding, margin and offset properties. Use to add spacing inside or outside the column. */
181
572
  spacing?: null | SpacingStylingProperties;
182
573
  }
574
+ /**
575
+ * Styleable elements of the Column node. The Column has a single styleable element: its own
576
+ * container.
577
+ */
183
578
  export interface ColumnElements {
579
+ /**
580
+ * Style blocks for the column container itself. The array represents breakpoint-specific
581
+ * styles: first item is the default (no breakpoint), subsequent items correspond to
582
+ * breakpoints in ascending order. MUST contain at least one item for the default style.
583
+ */
184
584
  own: BasicStateStylingBlock<ColumnStyle>[];
185
585
  }
586
+ /**
587
+ * A vertical flex container that arranges its children in a column (top to bottom). Use for
588
+ * vertical layouts. Children are laid out along the vertical axis by default. To control
589
+ * alignment and distribution, configure the container styles. Do NOT nest Columns
590
+ * unnecessarily when a single Column with appropriate styling would suffice.
591
+ */
186
592
  export interface ColumnModel<Children> {
593
+ /**
594
+ * Visual styles for this column. See styling documentation for the structure. Omit to use
595
+ * default (unstyled) rendering.
596
+ */
187
597
  styles?: null | LayoutStyle<ColumnElements>;
598
+ /**
599
+ * Child nodes rendered vertically within this column.
600
+ * Children are laid out top to bottom in source order.
601
+ */
188
602
  children: Children[];
189
603
  }
190
- export type ExistenceWhenCondition = "exists" | "not-exists";
604
+ /**
605
+ * Condition operators for checking whether a value exists. Use these to
606
+ * conditionally render content based on whether data is present.
607
+ * Serialized as kebab-case strings: "exists", "not-exists".
608
+ */
609
+ export type ExistenceWhenCondition =
610
+ /** True when the value is present and non-empty. */
611
+ "exists"
612
+ /** True when the value is absent or empty. */
613
+ | "not-exists";
614
+ /**
615
+ * Tests whether a creative data attribute exists. Use to conditionally show
616
+ * content only when specific creative data is available. Do NOT use this for
617
+ * non-creative data checks.
618
+ */
191
619
  export interface CreativeCopyPredicate {
620
+ /** Whether to check for existence or non-existence of the creative attribute. */
192
621
  condition: ExistenceWhenCondition;
622
+ /**
623
+ * The dot-notation path to the creative attribute, e.g.
624
+ * "creative.socialProof.number". MUST use dot notation to reference
625
+ * nested creative data fields.
626
+ */
193
627
  value: string;
194
628
  }
629
+ /**
630
+ * Visual style properties for the CreativeResponse button.
631
+ * Contains the standard style categories: container layout, background colors,
632
+ * border appearance, dimensions, flex child positioning, and spacing.
633
+ */
195
634
  export interface CreativeResponseStyles {
635
+ /** Container layout styles (e.g. flex direction, alignment). */
196
636
  container?: null | ContainerStylingProperties;
637
+ /** Background color and gradient styles. */
197
638
  background?: null | BackgroundStylingProperties;
639
+ /** Border width, color, and radius styles. */
198
640
  border?: null | BorderStylingProperties;
641
+ /** Width and height dimension styles. */
199
642
  dimension?: null | DimensionStylingProperties;
643
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
200
644
  flexChild?: null | FlexChildStylingProperties;
645
+ /** Padding and margin spacing styles. */
201
646
  spacing?: null | SpacingStylingProperties;
202
647
  }
648
+ /**
649
+ * Styling elements for the CreativeResponse button.
650
+ * The `own` array contains state-dependent styling blocks (e.g. default, pressed, disabled)
651
+ * applied to the button itself.
652
+ */
203
653
  export interface CreativeResponseElements {
654
+ /**
655
+ * Array of state-dependent styling blocks for the button.
656
+ * Each block targets a specific interaction state (default, pressed, disabled, etc.).
657
+ */
204
658
  own: BasicStateStylingBlock<CreativeResponseStyles>[];
205
659
  }
206
- export type LinkOpenTarget = "internally" | "externally";
660
+ /**
661
+ * Controls how links are opened when clicked. MUST be one of the valid
662
+ * kebab-case string values. Determines the navigation behavior when a
663
+ * user activates a link action.
664
+ */
665
+ export type LinkOpenTarget =
666
+ /**
667
+ * Opens the link within the current context (in-app webview or same
668
+ * window). Use for links that should keep the user in the application.
669
+ */
670
+ "internally"
671
+ /**
672
+ * Opens the link in the system browser. Use for external URLs that
673
+ * should leave the application context.
674
+ */
675
+ | "externally";
676
+ /**
677
+ * A button that triggers a creative response (positive or negative).
678
+ * This is the primary call-to-action node for offer interactions.
679
+ * Children inside this node become the button content.
680
+ *
681
+ * MUST have a `responseKey` of either `"positive"` or `"negative"`.
682
+ * Use `"positive"` for accept/CTA buttons and `"negative"` for decline/dismiss buttons.
683
+ * Do NOT use this node for non-response actions like navigation; use StaticLink or ButtonStateTrigger instead.
684
+ */
207
685
  export interface CreativeResponseModel<Children> {
686
+ /**
687
+ * The response type. Use `"positive"` for accept/CTA buttons, `"negative"` for decline/dismiss buttons.
688
+ * Do NOT use arbitrary strings; only `"positive"` and `"negative"` are valid.
689
+ */
208
690
  responseKey: string;
691
+ /** Visual styles for the button. Uses the LayoutStyle wrapper with conditional style transitions. */
209
692
  styles?: null | LayoutStyle<CreativeResponseElements>;
693
+ /**
694
+ * Controls how the response URL is opened when clicked.
695
+ * If omitted, the default link opening behaviour is used.
696
+ */
210
697
  openLinks?: null | LinkOpenTarget;
698
+ /**
699
+ * Child nodes that form the button's visible content.
700
+ * Typically contains a BasicText node with the CTA label.
701
+ * MUST contain at least one child to display button content.
702
+ */
211
703
  children: Children[];
212
704
  }
213
- export type EqualityWhenCondition = "is" | "is-not";
705
+ /**
706
+ * Condition operators for equality comparisons. Use these when you only need
707
+ * to test if two values are equal or not equal.
708
+ * Serialized as kebab-case strings: "is", "is-not".
709
+ */
710
+ export type EqualityWhenCondition =
711
+ /** True when the value equals the specified value. */
712
+ "is"
713
+ /** True when the value does not equal the specified value. */
714
+ | "is-not";
715
+ /**
716
+ * Tests whether dark mode is active. Use to provide different styling or
717
+ * content for light and dark modes.
718
+ */
214
719
  export interface DarkModePredicate {
720
+ /** Use "is" to check if dark mode matches the value, "is-not" for the inverse. */
215
721
  condition: EqualityWhenCondition;
722
+ /**
723
+ * The boolean value to compare against. Set to true to test for dark mode,
724
+ * false to test for light mode.
725
+ */
216
726
  value: boolean;
217
727
  }
728
+ /** Visual styles for the DataImage node. */
218
729
  export interface DataImageStyles {
730
+ /** Background color and image properties. */
219
731
  background?: null | BackgroundStylingProperties;
732
+ /** Border radius, color, width and style. */
220
733
  border?: null | BorderStylingProperties;
734
+ /** Width, height and rotation properties. */
221
735
  dimension?: null | DimensionStylingProperties;
736
+ /** Properties controlling behaviour as a flex child. */
222
737
  flexChild?: null | FlexChildStylingProperties;
738
+ /** Padding, margin and offset properties. */
223
739
  spacing?: null | SpacingStylingProperties;
224
740
  }
741
+ /** Style elements for the DataImage node. */
225
742
  export interface DataImageElements {
743
+ /** Style blocks for the node's primary element. Array represents breakpoint-specific styles. */
226
744
  own: BasicStateStylingBlock<DataImageStyles>[];
227
745
  }
746
+ /** Renders an image from creative data. The image URL is resolved from the creative object using the imageKey. Use for offer-specific images. */
228
747
  export interface DataImageModel {
748
+ /** Visual styles for the image element. */
229
749
  styles?: null | LayoutStyle<DataImageElements>;
750
+ /** The key identifying which image from the creative data to display. */
230
751
  imageKey: string;
231
752
  }
753
+ /** Settings for a bidirectional fade-in/fade-out transition. */
232
754
  export interface FadeInOutTransitionSettings {
755
+ /**
756
+ * The transition duration in milliseconds. MUST be a positive integer.
757
+ * Common values: 200 for fast, 400 for medium, 1000 for slow.
758
+ */
233
759
  duration: number;
234
760
  }
761
+ /**
762
+ * Typography styling for inline text elements. A subset of TextStylingProperties
763
+ * without line-level controls (lineHeight, horizontalTextAlign, lineLimit).
764
+ * All fields are optional. Only include the properties you want to override.
765
+ */
235
766
  export interface InlineTextStylingProperties {
767
+ /** The text color. Uses themed values for light/dark mode support. */
236
768
  textColor?: null | ThemeColor;
769
+ /** Font size in platform units (px on Web, pt on iOS, dp on Android). */
237
770
  fontSize?: null | number;
771
+ /** The font family name. Use 'rokt-icons' for icon fonts. */
238
772
  fontFamily?: null | string;
773
+ /** The weight (boldness) of the font. */
239
774
  fontWeight?: null | FontWeight;
775
+ /** Vertical alignment of text relative to the baseline. */
240
776
  baselineTextAlign?: null | FontBaselineAlignment;
777
+ /** Normal or italic text rendering. */
241
778
  fontStyle?: null | FontStyle;
779
+ /** Controls automatic text capitalisation. */
242
780
  textTransform?: null | TextTransform;
781
+ /** Additional spacing between characters in platform units. */
243
782
  letterSpacing?: null | number;
783
+ /** Decorative line applied to text (underline, strikethrough). */
244
784
  textDecoration?: null | TextDecoration;
245
785
  }
786
+ /** Inline text styling for elements like links within rich text. */
246
787
  export interface InLineTextStyle {
788
+ /** Typography properties for the inline text element. */
247
789
  text: InlineTextStylingProperties;
248
790
  }
791
+ /**
792
+ * Visual style properties for individual indicator items (dots, bars, etc.).
793
+ * Includes text styling for number-based indicators.
794
+ */
249
795
  export interface IndicatorStyles {
796
+ /** Container layout styles (e.g. flex direction, alignment). */
250
797
  container?: null | ContainerStylingProperties;
798
+ /** Background color and gradient styles. */
251
799
  background?: null | BackgroundStylingProperties;
800
+ /** Border width, color, and radius styles. */
252
801
  border?: null | BorderStylingProperties;
802
+ /** Width and height dimension styles. */
253
803
  dimension?: null | DimensionStylingProperties;
804
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
254
805
  flexChild?: null | FlexChildStylingProperties;
806
+ /** Padding and margin spacing styles. */
255
807
  spacing?: null | SpacingStylingProperties;
808
+ /** Text styling for number-based indicators. */
256
809
  text?: null | TextStylingProperties;
257
810
  }
811
+ /**
812
+ * Visual style properties for the OneByOneDistribution container.
813
+ * Contains the standard style categories: container layout, background colors,
814
+ * border appearance, dimensions, flex child positioning, and spacing.
815
+ */
258
816
  export interface OneByOneDistributionStyles {
817
+ /** Container layout styles (e.g. flex direction, alignment). */
259
818
  container?: null | ContainerStylingProperties;
819
+ /** Background color and gradient styles. */
260
820
  background?: null | BackgroundStylingProperties;
821
+ /** Border width, color, and radius styles. */
261
822
  border?: null | BorderStylingProperties;
823
+ /** Width and height dimension styles. */
262
824
  dimension?: null | DimensionStylingProperties;
825
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
263
826
  flexChild?: null | FlexChildStylingProperties;
827
+ /** Padding and margin spacing styles. */
264
828
  spacing?: null | SpacingStylingProperties;
265
829
  }
830
+ /**
831
+ * Styling elements for the OneByOneDistribution container.
832
+ * The `own` array contains stateless styling blocks applied to the distribution container itself.
833
+ */
266
834
  export interface OneByOneDistributionElements {
835
+ /** Array of stateless styling blocks for the distribution container. */
267
836
  own: StatelessStylingBlock<OneByOneDistributionStyles>[];
268
837
  }
269
- export type Transition = {
838
+ /**
839
+ * A bidirectional transition that applies both when showing and hiding an
840
+ * element. MUST be an object with a "type" field and a "settings" field.
841
+ * Currently only "FadeInOut" is supported.
842
+ */
843
+ export type Transition =
844
+ /**
845
+ * A fade-in/fade-out transition. The element fades in when shown and
846
+ * fades out when hidden, using the specified duration.
847
+ */
848
+ {
270
849
  type: "FadeInOut";
271
850
  settings: FadeInOutTransitionSettings;
272
851
  };
852
+ /**
853
+ * Presents offers one at a time, allowing the user to progress through them sequentially.
854
+ * Used EXCLUSIVELY in the Outer Layout. This is the container into which offers (Layout Variants) are rendered.
855
+ *
856
+ * Pair with ProgressControl nodes to enable forward/backward navigation between offers.
857
+ * Pair with ProgressIndicator to show the user's current position.
858
+ * Do NOT use this for displaying all offers at once; use StackedDistribution instead.
859
+ */
273
860
  export interface OneByOneDistributionModel {
861
+ /**
862
+ * Visual styles for the distribution container.
863
+ * Uses the LayoutStyle wrapper with conditional style transitions.
864
+ */
274
865
  styles?: null | LayoutStyle<OneByOneDistributionElements>;
866
+ /**
867
+ * The animation transition between offers.
868
+ * Defines how the current offer exits and the next offer enters.
869
+ */
275
870
  transition: Transition;
276
871
  }
872
+ /**
873
+ * Available style categories for the Overlay content element. Each optional field enables a
874
+ * specific category of visual styling. Omit a field to leave that category unstyled.
875
+ */
277
876
  export interface OverlayStyles {
877
+ /**
878
+ * Layout properties for the flex container (justification, alignment, gap, overflow).
879
+ * MUST be used to control how children are arranged within the overlay content area.
880
+ */
278
881
  container?: null | ContainerStylingProperties;
882
+ /**
883
+ * Background color and image properties. Use to set a solid color, gradient, or image
884
+ * behind the overlay content.
885
+ */
279
886
  background?: null | BackgroundStylingProperties;
887
+ /**
888
+ * Border radius, color, width and style properties. Use to add visible borders or
889
+ * rounded corners to the overlay content area.
890
+ */
280
891
  border?: null | BorderStylingProperties;
892
+ /**
893
+ * Width, height and rotation properties. Use to explicitly size the overlay content area.
894
+ * Do NOT set width/height if the overlay should size to its content.
895
+ */
281
896
  dimension?: null | DimensionStylingProperties;
897
+ /**
898
+ * Properties controlling this element's behaviour as a child of a flex container.
899
+ * Use to set flex-grow, flex-shrink, flex-basis, and align-self.
900
+ */
282
901
  flexChild?: null | FlexChildStylingProperties;
902
+ /**
903
+ * Padding, margin and offset properties. Use to add spacing inside or outside the
904
+ * overlay content area.
905
+ */
283
906
  spacing?: null | SpacingStylingProperties;
284
907
  }
908
+ /**
909
+ * Style categories for the Overlay wrapper (backdrop) element. Controls the appearance of
910
+ * the area behind the overlay content.
911
+ */
285
912
  export interface OverlayWrapperStyles {
913
+ /** Layout properties for the wrapper container that positions the overlay content. */
286
914
  container?: null | ContainerStylingProperties;
915
+ /**
916
+ * Background color for the backdrop. Typically a semi-transparent color (using `#AARRGGBB`
917
+ * format, e.g. `#80000000`) to dim the content behind the overlay.
918
+ */
287
919
  background?: null | BackgroundStylingProperties;
288
920
  }
921
+ /**
922
+ * Styleable elements of the Overlay node. The Overlay has two styleable elements: its own
923
+ * content area and its wrapper (backdrop).
924
+ */
289
925
  export interface OverlayElements {
926
+ /**
927
+ * Style blocks for the overlay content area. The array represents breakpoint-specific
928
+ * styles: first item is the default (no breakpoint), subsequent items correspond to
929
+ * breakpoints in ascending order. MUST contain at least one item for the default style.
930
+ */
290
931
  own: BasicStateStylingBlock<OverlayStyles>[];
932
+ /**
933
+ * Style blocks for the overlay wrapper (backdrop). The array represents
934
+ * breakpoint-specific styles: first item is the default, subsequent items correspond
935
+ * to breakpoints in ascending order.
936
+ */
291
937
  wrapper: BasicStateStylingBlock<OverlayWrapperStyles>[];
292
938
  }
293
939
  export interface OverlaySettings {
294
940
  allowBackdropToClose: boolean;
295
941
  }
942
+ /**
943
+ * A modal overlay that appears on top of the main content with a backdrop. Use for dialogs,
944
+ * confirmations, and modal interactions that require user attention. The overlay blocks
945
+ * interaction with the content behind it. Do NOT use Overlay for inline content layering;
946
+ * use ZStack instead.
947
+ */
296
948
  export interface OverlayModel<Children> {
297
949
  settings: OverlaySettings;
950
+ /**
951
+ * Visual styles for this overlay. See styling documentation for the structure. Omit to
952
+ * use default (unstyled) rendering.
953
+ */
298
954
  styles?: null | LayoutStyle<OverlayElements>;
955
+ /** The content displayed within the overlay. */
299
956
  children: Children[];
300
957
  }
958
+ /**
959
+ * Tests the position index of the current item within a collection. Use to
960
+ * style items differently based on their position (e.g. first item, last item).
961
+ */
301
962
  export interface PositionPredicate {
963
+ /** The comparison operator. */
302
964
  condition: OrderableWhenCondition;
965
+ /**
966
+ * The position index to compare against. MUST be a string representation
967
+ * of a number, e.g. "0" for the first item.
968
+ */
303
969
  value: string;
304
970
  }
971
+ /**
972
+ * Visual style properties for the ProgressControl button.
973
+ * Contains the standard style categories: container layout, background colors,
974
+ * border appearance, dimensions, flex child positioning, and spacing.
975
+ */
305
976
  export interface ProgressControlStyle {
977
+ /** Container layout styles (e.g. flex direction, alignment). */
306
978
  container?: null | ContainerStylingProperties;
979
+ /** Background color and gradient styles. */
307
980
  background?: null | BackgroundStylingProperties;
981
+ /** Border width, color, and radius styles. */
308
982
  border?: null | BorderStylingProperties;
983
+ /** Width and height dimension styles. */
309
984
  dimension?: null | DimensionStylingProperties;
985
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
310
986
  flexChild?: null | FlexChildStylingProperties;
987
+ /** Padding and margin spacing styles. */
311
988
  spacing?: null | SpacingStylingProperties;
312
989
  }
990
+ /**
991
+ * Styling elements for the ProgressControl button.
992
+ * The `own` array contains state-dependent styling blocks (e.g. default, pressed, disabled)
993
+ * applied to the control button itself.
994
+ */
313
995
  export interface ProgressControlElements {
996
+ /**
997
+ * Array of state-dependent styling blocks for the control button.
998
+ * Each block targets a specific interaction state (default, pressed, disabled, etc.).
999
+ */
314
1000
  own: BasicStateStylingBlock<ProgressControlStyle>[];
315
1001
  }
316
- export type ProgressionDirection = "Forward" | "Backward";
1002
+ /** The direction in which the progress control advances offers. */
1003
+ export type ProgressionDirection =
1004
+ /** Advance to the next offer or group. */
1005
+ "Forward"
1006
+ /** Return to the previous offer or group. */
1007
+ | "Backward";
1008
+ /**
1009
+ * A button that advances or reverses offer progression.
1010
+ * Used with OneByOneDistribution or GroupedDistribution for navigation.
1011
+ *
1012
+ * MUST specify a `direction` (Forward or Backward).
1013
+ * Pair with a distribution node for the control to have an effect.
1014
+ * Typically contains an arrow icon as child content.
1015
+ */
317
1016
  export interface ProgressControlModel<Children> {
1017
+ /** Visual styles for the control. Uses the LayoutStyle wrapper with conditional style transitions. */
318
1018
  styles?: null | LayoutStyle<ProgressControlElements>;
1019
+ /** The direction to progress. MUST be either Forward or Backward. */
319
1020
  direction: ProgressionDirection;
1021
+ /**
1022
+ * Child nodes forming the button content (e.g. an arrow icon).
1023
+ * MUST contain at least one child for the control to have visible content.
1024
+ */
320
1025
  children: Children[];
321
1026
  }
1027
+ /**
1028
+ * Visual style properties for the ProgressIndicator container.
1029
+ * Contains the standard style categories for the outer indicator wrapper.
1030
+ */
322
1031
  export interface ProgressIndicatorStyles {
1032
+ /** Container layout styles (e.g. flex direction, alignment). */
323
1033
  container?: null | ContainerStylingProperties;
1034
+ /** Background color and gradient styles. */
324
1035
  background?: null | BackgroundStylingProperties;
1036
+ /** Border width, color, and radius styles. */
325
1037
  border?: null | BorderStylingProperties;
1038
+ /** Width and height dimension styles. */
326
1039
  dimension?: null | DimensionStylingProperties;
1040
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
327
1041
  flexChild?: null | FlexChildStylingProperties;
1042
+ /** Padding and margin spacing styles. */
328
1043
  spacing?: null | SpacingStylingProperties;
329
1044
  }
1045
+ /**
1046
+ * Styling elements for the ProgressIndicator.
1047
+ * Contains styling blocks for the container, individual indicators, and special indicator states.
1048
+ */
330
1049
  export interface ProgressIndicatorElements {
1050
+ /** Array of state-dependent styling blocks for the indicator container. */
331
1051
  own: BasicStateStylingBlock<ProgressIndicatorStyles>[];
1052
+ /** Styling blocks for each individual indicator item (default state). */
332
1053
  indicator: BasicStateStylingBlock<IndicatorStyles>[];
1054
+ /**
1055
+ * Optional styling blocks for the currently active indicator.
1056
+ * If omitted, the default indicator styling is used.
1057
+ */
333
1058
  activeIndicator?: null | BasicStateStylingBlock<IndicatorStyles>[];
1059
+ /**
1060
+ * Optional styling blocks for indicators that have been seen/visited.
1061
+ * If omitted, the default indicator styling is used.
1062
+ */
334
1063
  seenIndicator?: null | BasicStateStylingBlock<IndicatorStyles>[];
335
1064
  }
336
1065
  export interface ProgressIndicatorSettings {
337
1066
  startPosition?: null | number;
338
1067
  }
1068
+ /**
1069
+ * Displays visual progress indicators (dots, bars) showing the user's position
1070
+ * within a series of offers.
1071
+ *
1072
+ * MUST be paired with a distribution node (OneByOneDistribution, GroupedDistribution, etc.)
1073
+ * to track position. The indicator automatically reflects the current offer position.
1074
+ * Use `indicator` to specify the type (e.g. "dot", "bar", "number").
1075
+ */
339
1076
  export interface ProgressIndicatorModel {
1077
+ /**
1078
+ * Visual styles for the progress indicators.
1079
+ * Uses the LayoutStyle wrapper with conditional style transitions.
1080
+ */
340
1081
  styles?: null | LayoutStyle<ProgressIndicatorElements>;
1082
+ /**
1083
+ * The type of indicator to display (e.g. "dot", "bar", "number").
1084
+ * MUST be a valid indicator type string.
1085
+ */
341
1086
  indicator: string;
342
1087
  settings?: null | ProgressIndicatorSettings;
343
1088
  }
1089
+ /**
1090
+ * Tests which offer index is currently visible in a carousel or progression.
1091
+ * Use 0 for the first offer, -1 for the last offer.
1092
+ */
344
1093
  export interface ProgressionPredicate {
1094
+ /** The comparison operator. */
345
1095
  condition: OrderableWhenCondition;
1096
+ /**
1097
+ * The progression index to compare against. MUST be a string representation
1098
+ * of a number. Use "0" for the first offer, "-1" for the last offer.
1099
+ */
346
1100
  value: string;
347
1101
  }
1102
+ /** Visual styles for the RichText node. */
348
1103
  export interface RichTextStyle {
1104
+ /** Width, height and rotation properties. */
349
1105
  dimension?: null | DimensionStylingProperties;
1106
+ /** Properties controlling behaviour as a flex child. */
350
1107
  flexChild?: null | FlexChildStylingProperties;
1108
+ /** Padding, margin and offset properties. */
351
1109
  spacing?: null | SpacingStylingProperties;
1110
+ /** Background color and image properties. */
352
1111
  background?: null | BackgroundStylingProperties;
1112
+ /** Typography properties. */
353
1113
  text?: null | TextStylingProperties;
354
1114
  }
1115
+ /** Style elements for the RichText node. */
355
1116
  export interface RichTextElements {
1117
+ /** Style blocks for the node's primary element. Array represents breakpoint-specific styles. */
356
1118
  own: BasicStateStylingBlock<RichTextStyle>[];
1119
+ /** Style blocks for link elements within the rich text content. */
357
1120
  link?: null | BasicStateStylingBlock<InLineTextStyle>[];
358
1121
  }
1122
+ /** Renders HTML-formatted text content. Supports `<a>`, `<strong>`, `<em>`, `<br>` and other inline HTML elements. Use BasicText for plain text without HTML. */
359
1123
  export interface RichTextModel {
1124
+ /** Visual styles for the text element. */
360
1125
  styles?: null | LayoutStyle<RichTextElements>;
1126
+ /** Controls how links within the rich text are opened when clicked. */
361
1127
  openLinks?: null | LinkOpenTarget;
1128
+ /** The HTML text content to display. Supports inline HTML tags and data binding placeholders in the format %^DATA.key^% or %^ATTRIBUTE.key^%. */
362
1129
  value: string;
363
1130
  }
1131
+ /**
1132
+ * The top-level schema structure for an outer layout. Contains the layout tree,
1133
+ * breakpoint definitions, settings and display configuration.
1134
+ */
364
1135
  export interface RootSchemaModel<Layout, Display> {
1136
+ /**
1137
+ * Map of breakpoint names to viewport width thresholds in platform units.
1138
+ * Defines responsive breakpoints for the layout.
1139
+ */
365
1140
  breakpoints: Record<string, number>;
1141
+ /** The root node of the layout tree. */
366
1142
  layout: Layout;
1143
+ /** Controls how the layout is displayed (fullscreen, embedded, etc). */
367
1144
  display?: null | Display;
368
1145
  }
1146
+ /**
1147
+ * Available style categories for the Row element. Each optional field enables a specific
1148
+ * category of visual styling. Omit a field to leave that category unstyled.
1149
+ */
369
1150
  export interface RowStyle {
1151
+ /**
1152
+ * Layout properties for the flex container (justification, alignment, gap, overflow).
1153
+ * MUST be used to control how children are arranged within the row.
1154
+ */
370
1155
  container?: null | ContainerStylingProperties;
1156
+ /**
1157
+ * Background color and image properties. Use to set a solid color, gradient, or image
1158
+ * behind the row content.
1159
+ */
371
1160
  background?: null | BackgroundStylingProperties;
1161
+ /**
1162
+ * Border radius, color, width and style properties. Use to add visible borders or
1163
+ * rounded corners to the row.
1164
+ */
372
1165
  border?: null | BorderStylingProperties;
1166
+ /**
1167
+ * Width, height and rotation properties. Use to explicitly size the row or apply rotation
1168
+ * transforms. Do NOT set width/height if the row should size to its content.
1169
+ */
373
1170
  dimension?: null | DimensionStylingProperties;
1171
+ /**
1172
+ * Properties controlling this element's behaviour as a child of a flex container.
1173
+ * Use to set flex-grow, flex-shrink, flex-basis, and align-self.
1174
+ */
374
1175
  flexChild?: null | FlexChildStylingProperties;
1176
+ /** Padding, margin and offset properties. Use to add spacing inside or outside the row. */
375
1177
  spacing?: null | SpacingStylingProperties;
376
1178
  }
1179
+ /**
1180
+ * Styleable elements of the Row node. The Row has a single styleable element: its own
1181
+ * container.
1182
+ */
377
1183
  export interface RowElements {
1184
+ /**
1185
+ * Style blocks for the row container itself. The array represents breakpoint-specific
1186
+ * styles: first item is the default (no breakpoint), subsequent items correspond to
1187
+ * breakpoints in ascending order. MUST contain at least one item for the default style.
1188
+ */
378
1189
  own: BasicStateStylingBlock<RowStyle>[];
379
1190
  }
1191
+ /**
1192
+ * A horizontal flex container that arranges its children in a row (left to right). Use for
1193
+ * horizontal layouts. Children are laid out along the horizontal axis by default. To control
1194
+ * alignment and distribution, configure the container styles. Do NOT nest Rows unnecessarily
1195
+ * when a single Row with appropriate styling would suffice.
1196
+ */
380
1197
  export interface RowModel<Children> {
1198
+ /**
1199
+ * Visual styles for this row. See styling documentation for the structure. Omit to use
1200
+ * default (unstyled) rendering.
1201
+ */
381
1202
  styles?: null | LayoutStyle<RowElements>;
1203
+ /**
1204
+ * Child nodes rendered horizontally within this row.
1205
+ * Children are laid out left to right in source order.
1206
+ */
382
1207
  children: Children[];
383
1208
  }
1209
+ /**
1210
+ * Visual style properties for the StackedDistribution container.
1211
+ * Contains the standard style categories: container layout, background colors,
1212
+ * border appearance, dimensions, flex child positioning, and spacing.
1213
+ */
384
1214
  export interface StackedDistributionStyles {
1215
+ /** Container layout styles (e.g. flex direction, alignment). */
385
1216
  container?: null | ContainerStylingProperties;
1217
+ /** Background color and gradient styles. */
386
1218
  background?: null | BackgroundStylingProperties;
1219
+ /** Border width, color, and radius styles. */
387
1220
  border?: null | BorderStylingProperties;
1221
+ /** Width and height dimension styles. */
388
1222
  dimension?: null | DimensionStylingProperties;
1223
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
389
1224
  flexChild?: null | FlexChildStylingProperties;
1225
+ /** Padding and margin spacing styles. */
390
1226
  spacing?: null | SpacingStylingProperties;
391
1227
  }
1228
+ /**
1229
+ * Styling elements for the StackedDistribution container.
1230
+ * The `own` array contains stateless styling blocks applied to the stacked container itself.
1231
+ */
392
1232
  export interface StackedDistributionElements {
1233
+ /** Array of stateless styling blocks for the stacked container. */
393
1234
  own: StatelessStylingBlock<StackedDistributionStyles>[];
394
1235
  }
1236
+ /**
1237
+ * Presents multiple offers stacked vertically, all visible at once.
1238
+ * Used EXCLUSIVELY in the Outer Layout. This is the container into which offers (Layout Variants) are rendered.
1239
+ *
1240
+ * Use this when all offers should be visible simultaneously.
1241
+ * Do NOT use this for sequential one-at-a-time presentation; use OneByOneDistribution instead.
1242
+ */
395
1243
  export interface StackedDistributionModel {
1244
+ /**
1245
+ * Visual styles for the stacked container.
1246
+ * Uses the LayoutStyle wrapper with conditional style transitions.
1247
+ */
396
1248
  styles?: null | LayoutStyle<StackedDistributionElements>;
397
1249
  }
1250
+ /** Visual styles for the StaticImage node. */
398
1251
  export interface StaticImageStyles {
1252
+ /** Background color and image properties. */
399
1253
  background?: null | BackgroundStylingProperties;
1254
+ /** Border radius, color, width and style. */
400
1255
  border?: null | BorderStylingProperties;
1256
+ /** Width, height and rotation properties. */
401
1257
  dimension?: null | DimensionStylingProperties;
1258
+ /** Properties controlling behaviour as a flex child. */
402
1259
  flexChild?: null | FlexChildStylingProperties;
1260
+ /** Padding, margin and offset properties. */
403
1261
  spacing?: null | SpacingStylingProperties;
404
1262
  }
1263
+ /** Style elements for the StaticImage node. */
405
1264
  export interface StaticImageElements {
1265
+ /** Style blocks for the node's primary element. Array represents breakpoint-specific styles. */
406
1266
  own: BasicStateStylingBlock<StaticImageStyles>[];
407
1267
  }
1268
+ /** URL configuration for a static image with themed light/dark mode support. */
408
1269
  export interface StaticImageUrl {
1270
+ /** The image URL for light mode. MUST be a valid URL. */
409
1271
  light: string;
1272
+ /** The image URL for dark mode. If not provided, the light URL is used for both modes. */
410
1273
  dark?: null | string;
411
1274
  }
1275
+ /** Renders a static image from a provided URL. Use for images with known URLs (logos, icons, decorative images). */
412
1276
  export interface StaticImageModel {
1277
+ /** Visual styles for the image element. */
413
1278
  styles?: null | LayoutStyle<StaticImageElements>;
1279
+ /** Alt text for accessibility. Describes the image for screen readers. */
414
1280
  alt?: null | string;
1281
+ /** Title text shown on hover. */
415
1282
  title?: null | string;
1283
+ /** The image URL with themed light/dark mode support. */
416
1284
  url: StaticImageUrl;
417
1285
  }
1286
+ /**
1287
+ * Visual style properties for the StaticLink.
1288
+ * Contains the standard style categories: container layout, background colors,
1289
+ * border appearance, dimensions, flex child positioning, and spacing.
1290
+ */
418
1291
  export interface StaticLinkStyles {
1292
+ /** Container layout styles (e.g. flex direction, alignment). */
419
1293
  container?: null | ContainerStylingProperties;
1294
+ /** Background color and gradient styles. */
420
1295
  background?: null | BackgroundStylingProperties;
1296
+ /** Border width, color, and radius styles. */
421
1297
  border?: null | BorderStylingProperties;
1298
+ /** Width and height dimension styles. */
422
1299
  dimension?: null | DimensionStylingProperties;
1300
+ /** Flex child sizing and alignment styles (grow, shrink, align-self). */
423
1301
  flexChild?: null | FlexChildStylingProperties;
1302
+ /** Padding and margin spacing styles. */
424
1303
  spacing?: null | SpacingStylingProperties;
425
1304
  }
1305
+ /**
1306
+ * Styling elements for the StaticLink.
1307
+ * The `own` array contains state-dependent styling blocks (e.g. default, pressed)
1308
+ * applied to the link itself.
1309
+ */
426
1310
  export interface StaticLinkElements {
1311
+ /**
1312
+ * Array of state-dependent styling blocks for the link.
1313
+ * Each block targets a specific interaction state (default, pressed, etc.).
1314
+ */
427
1315
  own: BasicStateStylingBlock<StaticLinkStyles>[];
428
1316
  }
1317
+ /**
1318
+ * A clickable link that wraps its children. Opens the specified URL when clicked.
1319
+ *
1320
+ * Use this node for navigation to external URLs. Do NOT use CreativeResponse for link navigation;
1321
+ * CreativeResponse is for offer accept/decline actions only.
1322
+ * The `src` field MUST be a valid URL string.
1323
+ */
429
1324
  export interface StaticLinkModel<Children> {
1325
+ /**
1326
+ * The destination URL to open when the link is clicked.
1327
+ * MUST be a valid URL string (e.g. "https://example.com").
1328
+ */
430
1329
  src: string;
1330
+ /** Controls how the link URL is opened (e.g. in-app browser, external browser). */
431
1331
  open: LinkOpenTarget;
1332
+ /** Visual styles for the link. Uses the LayoutStyle wrapper with conditional style transitions. */
432
1333
  styles?: null | LayoutStyle<StaticLinkElements>;
1334
+ /**
1335
+ * Child nodes that form the clickable link content.
1336
+ * MUST contain at least one child for the link to have visible, tappable content.
1337
+ */
433
1338
  children: Children[];
434
1339
  }
435
- export type WhenPredicate = {
1340
+ /**
1341
+ * All available predicate types for conditional rendering in the full layout
1342
+ * schema. Used with the When node to conditionally show or hide children.
1343
+ * Each predicate MUST include a "type" field to identify the predicate kind
1344
+ * and a "predicate" field containing the predicate configuration.
1345
+ */
1346
+ export type WhenPredicate =
1347
+ /** Tests the viewport width against a breakpoint value. */
1348
+ {
436
1349
  type: "Breakpoint";
437
1350
  predicate: BreakpointPredicate;
438
- } | {
1351
+ }
1352
+ /** Tests the position index of the current item in a collection. */
1353
+ | {
439
1354
  type: "Position";
440
1355
  predicate: PositionPredicate;
441
- } | {
1356
+ }
1357
+ /** Tests which offer index is currently visible. */
1358
+ | {
442
1359
  type: "Progression";
443
1360
  predicate: ProgressionPredicate;
444
- } | {
1361
+ }
1362
+ /** Tests whether dark mode is active. */
1363
+ | {
445
1364
  type: "DarkMode";
446
1365
  predicate: DarkModePredicate;
447
- } | {
1366
+ }
1367
+ /** Tests whether a creative data attribute exists. */
1368
+ | {
448
1369
  type: "CreativeCopy";
449
1370
  predicate: CreativeCopyPredicate;
450
1371
  };
1372
+ /**
1373
+ * Conditional rendering node. Shows or hides its children based on predicate conditions.
1374
+ * All predicates MUST evaluate to true for children to be shown (AND logic).
1375
+ *
1376
+ * Use this node to conditionally display content based on custom state, offer count, or other
1377
+ * predicate conditions. Do NOT nest When nodes unnecessarily; combine predicates in a single
1378
+ * When node instead.
1379
+ */
451
1380
  export interface WhenModel<Children> {
1381
+ /**
1382
+ * Array of conditions that MUST ALL be true for children to render.
1383
+ * Uses AND logic: if any predicate is false, children are hidden.
1384
+ * MUST contain at least one predicate.
1385
+ */
452
1386
  predicates: WhenPredicate[];
1387
+ /** Child nodes to conditionally show or hide based on the predicates. */
453
1388
  children: Children[];
454
1389
  }
455
1390
  export type CloseButtonChildren = {
@@ -484,9 +1419,36 @@ export type CreativeResponseChildren = {
484
1419
  type: "When";
485
1420
  node: WhenModel<CreativeResponseChildren>;
486
1421
  };
487
- export type DimensionHeightFitValue = "wrap-content" | "fit-height";
488
- export type DimensionWidthFitValue = "wrap-content" | "fit-width";
489
- export type LayoutDisplayPreset = "FULLSCREEN" | "EMBEDDED" | "ATTACHED";
1422
+ /**
1423
+ * Fit behaviour options for height.
1424
+ * Used as the 'value' inside a {"type": "fit", "value": ...} height specification.
1425
+ */
1426
+ export type DimensionHeightFitValue =
1427
+ /** Shrinks to fit the content height. */
1428
+ "wrap-content"
1429
+ /** Expands to fill the available height. */
1430
+ | "fit-height";
1431
+ /**
1432
+ * Fit behaviour options for width.
1433
+ * Used as the 'value' inside a {"type": "fit", "value": ...} width specification.
1434
+ */
1435
+ export type DimensionWidthFitValue =
1436
+ /** Shrinks to fit the content width. */
1437
+ "wrap-content"
1438
+ /** Expands to fill the available width. */
1439
+ | "fit-width";
1440
+ /** Controls how the layout is displayed on the page. */
1441
+ export type LayoutDisplayPreset =
1442
+ /** Layout covers the full viewport. */
1443
+ "FULLSCREEN"
1444
+ /** Layout is embedded inline within the page content. */
1445
+ | "EMBEDDED"
1446
+ /** Layout is attached/anchored to a specific position. */
1447
+ | "ATTACHED";
1448
+ /**
1449
+ * All node types supported in the web platform schema. This is the union type used by SDKs.
1450
+ * Layouts are authored using OuterLayoutSchemaModel or LayoutVariantSchemaModel instead.
1451
+ */
490
1452
  export type LayoutSchemaModel = {
491
1453
  type: "Row";
492
1454
  node: RowModel<LayoutSchemaModel>;
@@ -536,6 +1498,11 @@ export type LayoutSchemaModel = {
536
1498
  type: "ProgressControl";
537
1499
  node: ProgressControlModel<ProgressControlChildren>;
538
1500
  };
1501
+ /**
1502
+ * Recursive child node types allowed within layout variant containers. Includes all layout
1503
+ * variant nodes such as layout, text, images, data-bound content, interactive triggers,
1504
+ * catalog components, and escape hatches.
1505
+ */
539
1506
  export type LayoutVariantChildren = {
540
1507
  type: "Row";
541
1508
  node: RowModel<LayoutVariantChildren>;
@@ -564,6 +1531,10 @@ export type LayoutVariantChildren = {
564
1531
  type: "StaticLink";
565
1532
  node: StaticLinkModel<StaticLinkChildren>;
566
1533
  };
1534
+ /**
1535
+ * Node types valid for use in layout variants (offer formats). Layout variants contain the
1536
+ * offer-specific creative content including images, text, response buttons, and catalog components.
1537
+ */
567
1538
  export type LayoutVariantSchemaModel = {
568
1539
  type: "Row";
569
1540
  node: RowModel<LayoutVariantChildren>;
@@ -592,6 +1563,10 @@ export type LayoutVariantSchemaModel = {
592
1563
  type: "StaticLink";
593
1564
  node: StaticLinkModel<StaticLinkChildren>;
594
1565
  };
1566
+ /**
1567
+ * Recursive child node types allowed within outer layout containers. Includes structural,
1568
+ * distribution, navigation, and presentational nodes scoped to outer layout predicates.
1569
+ */
595
1570
  export type OuterLayoutChildren = {
596
1571
  type: "Row";
597
1572
  node: RowModel<OuterLayoutChildren>;
@@ -632,6 +1607,11 @@ export type OuterLayoutChildren = {
632
1607
  type: "ProgressControl";
633
1608
  node: ProgressControlModel<ProgressControlChildren>;
634
1609
  };
1610
+ /**
1611
+ * Node types valid for use in outer layouts. Outer layouts define the frame and offer
1612
+ * distribution but do not contain offer-specific content. They include structural containers,
1613
+ * distribution nodes, navigation controls, and close buttons.
1614
+ */
635
1615
  export type OuterLayoutSchemaModel = {
636
1616
  type: "Row";
637
1617
  node: RowModel<OuterLayoutChildren>;