@incodetech/web 2.2.0-rc.0 → 2.2.0-rc.2

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 (130) hide show
  1. package/dist/ae-signature/ae-signature.es.js +3 -3
  2. package/dist/antifraud/antifraud.es.js +3 -3
  3. package/dist/authentication/authentication.es.js +4 -4
  4. package/dist/{autoFocusTitle-gLba2mgp.js → autoFocusTitle-Edt8-trP.js} +1 -1
  5. package/dist/certificate-issuance/certificate-issuance.es.js +9 -9
  6. package/dist/{checkbox-C38Elx0O.js → checkbox-gbHumlEi.js} +3 -3
  7. package/dist/{connectionError-DAeXp8sE.js → connectionError-CvH1vnCt.js} +3 -3
  8. package/dist/consent/consent.es.js +7 -7
  9. package/dist/{countrySelector-2t-ZTgGo.js → countrySelector-DzLvpCfs.js} +2 -2
  10. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  11. package/dist/curp-validation/curp-validation.es.js +14 -14
  12. package/dist/{customFields-B8HQZ7Mh.js → customFields-DiOcfhlB.js} +9 -9
  13. package/dist/{customWatchlist-_tUmZ855.js → customWatchlist-CC9ZN7fk.js} +5 -5
  14. package/dist/{dashboardTheme-CVliZSR-.js → dashboardTheme-FtPiizV0.js} +2 -2
  15. package/dist/{dateInputComposed-eRcbt_SL.js → dateInputComposed-3jXySs6M.js} +4 -4
  16. package/dist/dateInputComposed-BMauTxWJ.js +1 -0
  17. package/dist/document-capture/document-capture.es.js +1 -1
  18. package/dist/documentCapture-CcnnR36G.js +2 -0
  19. package/dist/{documentCapture-BvEGCYj-.js → documentCapture-Dc9Q2wYc.js} +14 -14
  20. package/dist/{dropdownComposed-OHDHzt1Q.js → dropdownComposed-Bk8viDop.js} +3 -3
  21. package/dist/dropdownComposed-DLaj01jA.js +1 -0
  22. package/dist/{dynamicForms-P-4E42IA.js → dynamicForms-BZB8JDkM.js} +10 -10
  23. package/dist/ekyb/ekyb.es.js +1 -1
  24. package/dist/{ekybModule-DmjkzVWE.js → ekybModule-C9UhcxKV.js} +13 -13
  25. package/dist/ekybModule-QcD4hQFD.js +2 -0
  26. package/dist/ekyc/ekyc.es.js +1 -1
  27. package/dist/{ekycModule-Da1Fm7ai.js → ekycModule-Cp7kPhFr.js} +11 -11
  28. package/dist/ekycModule-DqX1bTFN.js +2 -0
  29. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  30. package/dist/{electronic-signature-yamI6zHM.js → electronic-signature-DGL6y3os.js} +9 -9
  31. package/dist/email/email.es.js +7 -7
  32. package/dist/{emailInput-B0P2Q-pk.js → emailInput-Du_BH960.js} +3 -3
  33. package/dist/{expiredId-BXXE3srN.js → expiredId-Cf7_dJQE.js} +5 -5
  34. package/dist/{extensibility-iJYzpW6H.js → extensibility-CFhCNmsm.js} +23 -24
  35. package/dist/extensibility.es.js +21 -21
  36. package/dist/face-match/face-match.es.js +1 -1
  37. package/dist/{faceMatch-VtEZvsen.js → faceMatch-BOJD6ZCq.js} +7 -7
  38. package/dist/faceMatch-Dhm-H0Pg.js +2 -0
  39. package/dist/field-comparison/field-comparison.es.js +1 -1
  40. package/dist/{fieldComparison-NLdDSOEh.js → fieldComparison-D_cMCcwa.js} +8 -8
  41. package/dist/fieldComparison-Fnup635x.js +2 -0
  42. package/dist/{finalSuccessScreen-DryADx1n.js → finalSuccessScreen-DL08U8_o.js} +9 -9
  43. package/dist/fiscal-qr/fiscal-qr.es.js +8 -8
  44. package/dist/flow/flow.es.js +15 -15
  45. package/dist/geolocation/geolocation.es.js +7 -7
  46. package/dist/government-validation/government-validation.es.js +8 -8
  47. package/dist/{homeScreen-Pv3v_0ji.js → homeScreen-D2XpU5z_.js} +6 -6
  48. package/dist/{icons--ezYG2Fb.js → icons-CIjsoS44.js} +1 -1
  49. package/dist/id/id.es.js +19 -20
  50. package/dist/id-selfie-flow/id-selfie-flow.es.js +8 -9
  51. package/dist/id-verification/id-verification.es.js +4 -4
  52. package/dist/{idOcr-gsIXHq6R.js → idOcr-DkmZyLVu.js} +9 -9
  53. package/dist/identity-reuse/identity-reuse.es.js +5 -5
  54. package/dist/{incode-logo-rGFjZHqi.js → incode-logo-DkPbEPiI.js} +1 -1
  55. package/dist/{incodeComponent-K9ZWg302.js → incodeComponent-B6hBTDEE.js} +59 -14
  56. package/dist/{incodeModule-CcLzar_X.js → incodeModule-CCI32xbn.js} +9 -3
  57. package/dist/index.es.js +2 -2
  58. package/dist/{inputComposed-BeROn635.js → inputComposed-CGB8zKbd.js} +3 -3
  59. package/dist/inputComposed-DDFdXKT3.js +1 -0
  60. package/dist/{mandatoryConsent-BtqB-FxY.js → mandatoryConsent-L7Tpj3tg.js} +7 -7
  61. package/dist/{manualCaptureButton-t_oIol88.js → manualCaptureButton-B3ZD52_f.js} +4 -4
  62. package/dist/{manualCaptureButton-quGa2ufS.js → manualCaptureButton-ByWujoAK.js} +9 -11
  63. package/dist/{modal-BjjJFpZu.js → modal-9-lPt5Hj.js} +2 -2
  64. package/dist/{optionAccessibleLabel-DgfHD_mx.js → optionAccessibleLabel-Cc91L4JK.js} +4 -4
  65. package/dist/{otpInput-D5dLXrmC.js → otpInput-BWiL_nBW.js} +5 -5
  66. package/dist/{pdfViewer-vud1VZv6.js → pdfViewer-BbRv7mHX.js} +2 -2
  67. package/dist/pdfViewer-DHgpC35P.js +2 -0
  68. package/dist/phone/phone.es.js +8 -8
  69. package/dist/{phoneInputComposed-CeVWTS_O.js → phoneInputComposed-Bvy15RAe.js} +4 -4
  70. package/dist/{processing-BsvHyDWa.js → processing-DN0NyNqR.js} +1 -1
  71. package/dist/qe-signature/qe-signature.es.js +3 -3
  72. package/dist/{radioGroupComposed-DzNGUbZQ.js → radioGroupComposed-CPFZJOtR.js} +5 -5
  73. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +12 -12
  74. package/dist/{richText-CTHBpZOw.js → richText-DnGJiTPl.js} +1 -1
  75. package/dist/selfie/selfie.es.js +7 -7
  76. package/dist/signature/signature.es.js +7 -7
  77. package/dist/{snackbar-C9Mqrh0e.js → snackbar-zbTKBgCx.js} +1 -1
  78. package/dist/{spacer-CDlQd12V.js → spacer-C6GdxqM-.js} +2 -2
  79. package/dist/{spinner-CLZ2fz4u.js → spinner-CaEPC8gQ.js} +4 -4
  80. package/dist/{statusPage--GVFSUJp.js → statusPage-C-2V2g63.js} +3 -3
  81. package/dist/{tabs-DweBZTV2.js → tabs-BjLPiKhZ.js} +1 -1
  82. package/dist/{tutorial-BZZC93Ur.js → tutorial-B1F5C8Si.js} +9 -9
  83. package/dist/types/ae-signature.d.ts +28 -2
  84. package/dist/types/antifraud.d.ts +28 -2
  85. package/dist/types/authentication.d.ts +28 -2
  86. package/dist/types/certificate-issuance.d.ts +28 -2
  87. package/dist/types/consent.d.ts +28 -2
  88. package/dist/types/cross-document-data-match.d.ts +28 -2
  89. package/dist/types/curp-validation.d.ts +28 -2
  90. package/dist/types/document-capture.d.ts +28 -2
  91. package/dist/types/ekyb.d.ts +28 -2
  92. package/dist/types/ekyc.d.ts +28 -2
  93. package/dist/types/electronic-signature.d.ts +28 -2
  94. package/dist/types/email.d.ts +28 -2
  95. package/dist/types/extensibility.d.ts +58 -2
  96. package/dist/types/face-match.d.ts +28 -2
  97. package/dist/types/field-comparison.d.ts +28 -2
  98. package/dist/types/fiscal-qr.d.ts +28 -2
  99. package/dist/types/flow.d.ts +43 -3
  100. package/dist/types/geolocation.d.ts +28 -2
  101. package/dist/types/government-validation.d.ts +28 -2
  102. package/dist/types/id-selfie-flow.d.ts +28 -2
  103. package/dist/types/id-verification.d.ts +28 -2
  104. package/dist/types/id.d.ts +28 -2
  105. package/dist/types/identity-reuse.d.ts +28 -2
  106. package/dist/types/index.d.ts +49 -0
  107. package/dist/types/phone.d.ts +28 -2
  108. package/dist/types/qe-signature.d.ts +28 -2
  109. package/dist/types/selfie.d.ts +28 -2
  110. package/dist/types/signature.d.ts +28 -2
  111. package/dist/types/video-selfie.d.ts +28 -2
  112. package/dist/types/watchlist.d.ts +28 -2
  113. package/dist/types/workflow.d.ts +44 -3
  114. package/dist/{uiConfig-B5ASPUL4.js → uiConfig-D7ezQeZ7.js} +42 -5
  115. package/dist/{useModuleLoader-D_YpuVsS.js → useModuleLoader-DVvqx4RT.js} +18 -18
  116. package/dist/{verificationResult-B8HwR07t.js → verificationResult-tgNeUuHO.js} +7 -7
  117. package/dist/video-selfie/video-selfie.es.js +14 -15
  118. package/dist/watchlist/watchlist.es.js +5 -5
  119. package/dist/{watchlistForBusiness-D8Is99bZ.js → watchlistForBusiness-3bO7BVcy.js} +8 -8
  120. package/dist/workflow/workflow.es.js +12 -12
  121. package/package.json +2 -2
  122. package/dist/dateInputComposed-ks0-opuq.js +0 -1
  123. package/dist/documentCapture-DdHdRPzR.js +0 -2
  124. package/dist/dropdownComposed-kjG4UblM.js +0 -1
  125. package/dist/ekybModule-CiaxFHXo.js +0 -2
  126. package/dist/ekycModule-BVt10kgv.js +0 -2
  127. package/dist/faceMatch-D4XFihTc.js +0 -2
  128. package/dist/fieldComparison-B_r9Bal7.js +0 -2
  129. package/dist/inputComposed-CADVQW-o.js +0 -1
  130. package/dist/pdfViewer-CZb6obcZ.js +0 -2
@@ -120,15 +120,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
120
120
  };
121
121
 
122
122
  /**
123
- * Per-instance asset/animation overrides for a single mounted SDK module.
123
+ * Per-instance overrides for a single mounted SDK module.
124
124
  *
125
125
  * These ride on the module's `config` prop and are published once at the
126
126
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
127
- * reads them via {@link useInstanceOverrides} without any prop drilling.
127
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
128
+ * any prop drilling.
128
129
  */
129
130
  declare type InstanceOverrides = {
130
131
  assets?: AssetOverrides;
131
132
  animations?: AnimationOverrides;
133
+ spinner?: SpinnerPresentation;
132
134
  };
133
135
 
134
136
  declare type LottieAnimationData = {
@@ -140,6 +142,30 @@ declare type LottieAnimationData = {
140
142
  h: number;
141
143
  };
142
144
 
145
+ /**
146
+ * Host-facing loader presentation, settable globally via
147
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
148
+ *
149
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
150
+ * which keeps it localizable — a literal string here would freeze in whatever
151
+ * language the host typed it in when the user switches language mid-flow — and
152
+ * leaves one source of truth for user-facing strings.
153
+ */
154
+ declare type SpinnerPresentation = {
155
+ renderMode?: SpinnerRenderMode;
156
+ size?: SpinnerSize;
157
+ };
158
+
159
+ /**
160
+ * Which parts of a loader render.
161
+ *
162
+ * An enum rather than a pair of booleans so the meaningless fourth state —
163
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
164
+ */
165
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
166
+
167
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
168
+
143
169
  /** An SVG imported as a Preact component (the `?react` import shape). */
144
170
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
145
171
 
@@ -116,15 +116,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
116
116
  };
117
117
 
118
118
  /**
119
- * Per-instance asset/animation overrides for a single mounted SDK module.
119
+ * Per-instance overrides for a single mounted SDK module.
120
120
  *
121
121
  * These ride on the module's `config` prop and are published once at the
122
122
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
123
- * reads them via {@link useInstanceOverrides} without any prop drilling.
123
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
124
+ * any prop drilling.
124
125
  */
125
126
  declare type InstanceOverrides = {
126
127
  assets?: AssetOverrides;
127
128
  animations?: AnimationOverrides;
129
+ spinner?: SpinnerPresentation;
128
130
  };
129
131
 
130
132
  declare type LottieAnimationData = {
@@ -136,6 +138,30 @@ declare type LottieAnimationData = {
136
138
  h: number;
137
139
  };
138
140
 
141
+ /**
142
+ * Host-facing loader presentation, settable globally via
143
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
144
+ *
145
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
146
+ * which keeps it localizable — a literal string here would freeze in whatever
147
+ * language the host typed it in when the user switches language mid-flow — and
148
+ * leaves one source of truth for user-facing strings.
149
+ */
150
+ declare type SpinnerPresentation = {
151
+ renderMode?: SpinnerRenderMode;
152
+ size?: SpinnerSize;
153
+ };
154
+
155
+ /**
156
+ * Which parts of a loader render.
157
+ *
158
+ * An enum rather than a pair of booleans so the meaningless fourth state —
159
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
160
+ */
161
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
162
+
163
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
164
+
139
165
  /** An SVG imported as a Preact component (the `?react` import shape). */
140
166
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
141
167
 
@@ -129,15 +129,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
129
129
  };
130
130
 
131
131
  /**
132
- * Per-instance asset/animation overrides for a single mounted SDK module.
132
+ * Per-instance overrides for a single mounted SDK module.
133
133
  *
134
134
  * These ride on the module's `config` prop and are published once at the
135
135
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
136
- * reads them via {@link useInstanceOverrides} without any prop drilling.
136
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
137
+ * any prop drilling.
137
138
  */
138
139
  declare type InstanceOverrides = {
139
140
  assets?: AssetOverrides;
140
141
  animations?: AnimationOverrides;
142
+ spinner?: SpinnerPresentation;
141
143
  };
142
144
 
143
145
  declare type LottieAnimationData = {
@@ -149,6 +151,30 @@ declare type LottieAnimationData = {
149
151
  h: number;
150
152
  };
151
153
 
154
+ /**
155
+ * Host-facing loader presentation, settable globally via
156
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
157
+ *
158
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
159
+ * which keeps it localizable — a literal string here would freeze in whatever
160
+ * language the host typed it in when the user switches language mid-flow — and
161
+ * leaves one source of truth for user-facing strings.
162
+ */
163
+ declare type SpinnerPresentation = {
164
+ renderMode?: SpinnerRenderMode;
165
+ size?: SpinnerSize;
166
+ };
167
+
168
+ /**
169
+ * Which parts of a loader render.
170
+ *
171
+ * An enum rather than a pair of booleans so the meaningless fourth state —
172
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
173
+ */
174
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
175
+
176
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
177
+
152
178
  /** An SVG imported as a Preact component (the `?react` import shape). */
153
179
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
154
180
 
@@ -114,15 +114,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
114
114
  };
115
115
 
116
116
  /**
117
- * Per-instance asset/animation overrides for a single mounted SDK module.
117
+ * Per-instance overrides for a single mounted SDK module.
118
118
  *
119
119
  * These ride on the module's `config` prop and are published once at the
120
120
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
121
- * reads them via {@link useInstanceOverrides} without any prop drilling.
121
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
122
+ * any prop drilling.
122
123
  */
123
124
  declare type InstanceOverrides = {
124
125
  assets?: AssetOverrides;
125
126
  animations?: AnimationOverrides;
127
+ spinner?: SpinnerPresentation;
126
128
  };
127
129
 
128
130
  declare type LottieAnimationData = {
@@ -134,6 +136,30 @@ declare type LottieAnimationData = {
134
136
  h: number;
135
137
  };
136
138
 
139
+ /**
140
+ * Host-facing loader presentation, settable globally via
141
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
142
+ *
143
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
144
+ * which keeps it localizable — a literal string here would freeze in whatever
145
+ * language the host typed it in when the user switches language mid-flow — and
146
+ * leaves one source of truth for user-facing strings.
147
+ */
148
+ declare type SpinnerPresentation = {
149
+ renderMode?: SpinnerRenderMode;
150
+ size?: SpinnerSize;
151
+ };
152
+
153
+ /**
154
+ * Which parts of a loader render.
155
+ *
156
+ * An enum rather than a pair of booleans so the meaningless fourth state —
157
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
158
+ */
159
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
160
+
161
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
162
+
137
163
  /** An SVG imported as a Preact component (the `?react` import shape). */
138
164
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
139
165
 
@@ -117,15 +117,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
117
117
  };
118
118
 
119
119
  /**
120
- * Per-instance asset/animation overrides for a single mounted SDK module.
120
+ * Per-instance overrides for a single mounted SDK module.
121
121
  *
122
122
  * These ride on the module's `config` prop and are published once at the
123
123
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
124
- * reads them via {@link useInstanceOverrides} without any prop drilling.
124
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
125
+ * any prop drilling.
125
126
  */
126
127
  declare type InstanceOverrides = {
127
128
  assets?: AssetOverrides;
128
129
  animations?: AnimationOverrides;
130
+ spinner?: SpinnerPresentation;
129
131
  };
130
132
 
131
133
  declare type LottieAnimationData = {
@@ -137,6 +139,30 @@ declare type LottieAnimationData = {
137
139
  h: number;
138
140
  };
139
141
 
142
+ /**
143
+ * Host-facing loader presentation, settable globally via
144
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
145
+ *
146
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
147
+ * which keeps it localizable — a literal string here would freeze in whatever
148
+ * language the host typed it in when the user switches language mid-flow — and
149
+ * leaves one source of truth for user-facing strings.
150
+ */
151
+ declare type SpinnerPresentation = {
152
+ renderMode?: SpinnerRenderMode;
153
+ size?: SpinnerSize;
154
+ };
155
+
156
+ /**
157
+ * Which parts of a loader render.
158
+ *
159
+ * An enum rather than a pair of booleans so the meaningless fourth state —
160
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
161
+ */
162
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
163
+
164
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
165
+
140
166
  /** An SVG imported as a Preact component (the `?react` import shape). */
141
167
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
142
168
 
@@ -114,15 +114,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
114
114
  };
115
115
 
116
116
  /**
117
- * Per-instance asset/animation overrides for a single mounted SDK module.
117
+ * Per-instance overrides for a single mounted SDK module.
118
118
  *
119
119
  * These ride on the module's `config` prop and are published once at the
120
120
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
121
- * reads them via {@link useInstanceOverrides} without any prop drilling.
121
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
122
+ * any prop drilling.
122
123
  */
123
124
  declare type InstanceOverrides = {
124
125
  assets?: AssetOverrides;
125
126
  animations?: AnimationOverrides;
127
+ spinner?: SpinnerPresentation;
126
128
  };
127
129
 
128
130
  declare type LottieAnimationData = {
@@ -134,6 +136,30 @@ declare type LottieAnimationData = {
134
136
  h: number;
135
137
  };
136
138
 
139
+ /**
140
+ * Host-facing loader presentation, settable globally via
141
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
142
+ *
143
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
144
+ * which keeps it localizable — a literal string here would freeze in whatever
145
+ * language the host typed it in when the user switches language mid-flow — and
146
+ * leaves one source of truth for user-facing strings.
147
+ */
148
+ declare type SpinnerPresentation = {
149
+ renderMode?: SpinnerRenderMode;
150
+ size?: SpinnerSize;
151
+ };
152
+
153
+ /**
154
+ * Which parts of a loader render.
155
+ *
156
+ * An enum rather than a pair of booleans so the meaningless fourth state —
157
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
158
+ */
159
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
160
+
161
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
162
+
137
163
  /** An SVG imported as a Preact component (the `?react` import shape). */
138
164
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
139
165
 
@@ -91,6 +91,9 @@ export declare function setI18nInstance(instance: i18n): void;
91
91
 
92
92
  /**
93
93
  * Sets global UI configuration defaults for `@incodetech/ui`.
94
+ *
95
+ * Replaces (does not merge with) the previous host-supplied config, so omitting
96
+ * a field clears it. The dashboard theme is held separately and is unaffected.
94
97
  */
95
98
  export declare function setUiConfig(next: UiConfig): void;
96
99
 
@@ -144,6 +147,47 @@ declare type SetupOptions = {
144
147
  theme?: ThemeSetup;
145
148
  };
146
149
 
150
+ /**
151
+ * The presentation fields plus the legacy inline copy accepted by
152
+ * `<incode-flow>` / `<incode-workflow>`.
153
+ */
154
+ export declare type SpinnerConfig = SpinnerPresentation & {
155
+ /**
156
+ * @deprecated Set loader copy via i18n translations (`loadingCircle.holdOn`).
157
+ * TODO(2.3.0): remove.
158
+ */
159
+ title?: string;
160
+ /**
161
+ * @deprecated Set loader copy via i18n translations (`loadingCircle.validating`).
162
+ * TODO(2.3.0): remove.
163
+ */
164
+ subtitle?: string;
165
+ };
166
+
167
+ /**
168
+ * Host-facing loader presentation, settable globally via
169
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
170
+ *
171
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
172
+ * which keeps it localizable — a literal string here would freeze in whatever
173
+ * language the host typed it in when the user switches language mid-flow — and
174
+ * leaves one source of truth for user-facing strings.
175
+ */
176
+ export declare type SpinnerPresentation = {
177
+ renderMode?: SpinnerRenderMode;
178
+ size?: SpinnerSize;
179
+ };
180
+
181
+ /**
182
+ * Which parts of a loader render.
183
+ *
184
+ * An enum rather than a pair of booleans so the meaningless fourth state —
185
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
186
+ */
187
+ export declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
188
+
189
+ export declare type SpinnerSize = 'small' | 'medium' | 'large';
190
+
147
191
  /** An SVG imported as a Preact component (the `?react` import shape). */
148
192
  export declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
149
193
 
@@ -163,6 +207,11 @@ export declare type UiConfig = {
163
207
  hideFooterBranding?: boolean;
164
208
  assets?: AssetOverrides;
165
209
  animations?: AnimationOverrides;
210
+ /**
211
+ * Global loader presentation. Copy stays in i18n — see
212
+ * {@link SpinnerPresentation}.
213
+ */
214
+ spinner?: SpinnerPresentation;
166
215
  };
167
216
 
168
217
  export { }
@@ -111,15 +111,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
111
111
  };
112
112
 
113
113
  /**
114
- * Per-instance asset/animation overrides for a single mounted SDK module.
114
+ * Per-instance overrides for a single mounted SDK module.
115
115
  *
116
116
  * These ride on the module's `config` prop and are published once at the
117
117
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
118
- * reads them via {@link useInstanceOverrides} without any prop drilling.
118
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
119
+ * any prop drilling.
119
120
  */
120
121
  declare type InstanceOverrides = {
121
122
  assets?: AssetOverrides;
122
123
  animations?: AnimationOverrides;
124
+ spinner?: SpinnerPresentation;
123
125
  };
124
126
 
125
127
  declare type LottieAnimationData = {
@@ -140,6 +142,30 @@ export declare const Phone: FC<Omit<PhoneProps, "config"> & {
140
142
  */
141
143
  declare type PhoneProps = IncodeModuleProps<PhoneConfig, void, PhoneManager>;
142
144
 
145
+ /**
146
+ * Host-facing loader presentation, settable globally via
147
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
148
+ *
149
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
150
+ * which keeps it localizable — a literal string here would freeze in whatever
151
+ * language the host typed it in when the user switches language mid-flow — and
152
+ * leaves one source of truth for user-facing strings.
153
+ */
154
+ declare type SpinnerPresentation = {
155
+ renderMode?: SpinnerRenderMode;
156
+ size?: SpinnerSize;
157
+ };
158
+
159
+ /**
160
+ * Which parts of a loader render.
161
+ *
162
+ * An enum rather than a pair of booleans so the meaningless fourth state —
163
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
164
+ */
165
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
166
+
167
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
168
+
143
169
  /** An SVG imported as a Preact component (the `?react` import shape). */
144
170
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
145
171
 
@@ -111,15 +111,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
111
111
  };
112
112
 
113
113
  /**
114
- * Per-instance asset/animation overrides for a single mounted SDK module.
114
+ * Per-instance overrides for a single mounted SDK module.
115
115
  *
116
116
  * These ride on the module's `config` prop and are published once at the
117
117
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
118
- * reads them via {@link useInstanceOverrides} without any prop drilling.
118
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
119
+ * any prop drilling.
119
120
  */
120
121
  declare type InstanceOverrides = {
121
122
  assets?: AssetOverrides;
122
123
  animations?: AnimationOverrides;
124
+ spinner?: SpinnerPresentation;
123
125
  };
124
126
 
125
127
  declare type LottieAnimationData = {
@@ -137,6 +139,30 @@ export declare const QeSignature: FC<Omit<QeSignatureModuleProps, "config"> & {
137
139
 
138
140
  declare type QeSignatureModuleProps = IncodeModuleProps<QeSignatureConfig, void, QeSignatureManager>;
139
141
 
142
+ /**
143
+ * Host-facing loader presentation, settable globally via
144
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
145
+ *
146
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
147
+ * which keeps it localizable — a literal string here would freeze in whatever
148
+ * language the host typed it in when the user switches language mid-flow — and
149
+ * leaves one source of truth for user-facing strings.
150
+ */
151
+ declare type SpinnerPresentation = {
152
+ renderMode?: SpinnerRenderMode;
153
+ size?: SpinnerSize;
154
+ };
155
+
156
+ /**
157
+ * Which parts of a loader render.
158
+ *
159
+ * An enum rather than a pair of booleans so the meaningless fourth state —
160
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
161
+ */
162
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
163
+
164
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
165
+
140
166
  /** An SVG imported as a Preact component (the `?react` import shape). */
141
167
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
142
168
 
@@ -111,15 +111,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
111
111
  };
112
112
 
113
113
  /**
114
- * Per-instance asset/animation overrides for a single mounted SDK module.
114
+ * Per-instance overrides for a single mounted SDK module.
115
115
  *
116
116
  * These ride on the module's `config` prop and are published once at the
117
117
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
118
- * reads them via {@link useInstanceOverrides} without any prop drilling.
118
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
119
+ * any prop drilling.
119
120
  */
120
121
  declare type InstanceOverrides = {
121
122
  assets?: AssetOverrides;
122
123
  animations?: AnimationOverrides;
124
+ spinner?: SpinnerPresentation;
123
125
  };
124
126
 
125
127
  declare type LottieAnimationData = {
@@ -137,6 +139,30 @@ export declare const Selfie: FC<Omit<SelfieProps, "config"> & {
137
139
 
138
140
  declare type SelfieProps = IncodeModuleProps<SelfieConfig, void, SelfieManager>;
139
141
 
142
+ /**
143
+ * Host-facing loader presentation, settable globally via
144
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
145
+ *
146
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
147
+ * which keeps it localizable — a literal string here would freeze in whatever
148
+ * language the host typed it in when the user switches language mid-flow — and
149
+ * leaves one source of truth for user-facing strings.
150
+ */
151
+ declare type SpinnerPresentation = {
152
+ renderMode?: SpinnerRenderMode;
153
+ size?: SpinnerSize;
154
+ };
155
+
156
+ /**
157
+ * Which parts of a loader render.
158
+ *
159
+ * An enum rather than a pair of booleans so the meaningless fourth state —
160
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
161
+ */
162
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
163
+
164
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
165
+
140
166
  /** An SVG imported as a Preact component (the `?react` import shape). */
141
167
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
142
168
 
@@ -111,15 +111,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
111
111
  };
112
112
 
113
113
  /**
114
- * Per-instance asset/animation overrides for a single mounted SDK module.
114
+ * Per-instance overrides for a single mounted SDK module.
115
115
  *
116
116
  * These ride on the module's `config` prop and are published once at the
117
117
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
118
- * reads them via {@link useInstanceOverrides} without any prop drilling.
118
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
119
+ * any prop drilling.
119
120
  */
120
121
  declare type InstanceOverrides = {
121
122
  assets?: AssetOverrides;
122
123
  animations?: AnimationOverrides;
124
+ spinner?: SpinnerPresentation;
123
125
  };
124
126
 
125
127
  declare type LottieAnimationData = {
@@ -137,6 +139,30 @@ export declare const Signature: FC<Omit<SignatureProps, "config"> & {
137
139
 
138
140
  declare type SignatureProps = IncodeModuleProps<SignatureConfig, void, SignatureManager>;
139
141
 
142
+ /**
143
+ * Host-facing loader presentation, settable globally via
144
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
145
+ *
146
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
147
+ * which keeps it localizable — a literal string here would freeze in whatever
148
+ * language the host typed it in when the user switches language mid-flow — and
149
+ * leaves one source of truth for user-facing strings.
150
+ */
151
+ declare type SpinnerPresentation = {
152
+ renderMode?: SpinnerRenderMode;
153
+ size?: SpinnerSize;
154
+ };
155
+
156
+ /**
157
+ * Which parts of a loader render.
158
+ *
159
+ * An enum rather than a pair of booleans so the meaningless fourth state —
160
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
161
+ */
162
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
163
+
164
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
165
+
140
166
  /** An SVG imported as a Preact component (the `?react` import shape). */
141
167
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
142
168
 
@@ -110,15 +110,17 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
110
110
  };
111
111
 
112
112
  /**
113
- * Per-instance asset/animation overrides for a single mounted SDK module.
113
+ * Per-instance overrides for a single mounted SDK module.
114
114
  *
115
115
  * These ride on the module's `config` prop and are published once at the
116
116
  * module root by `registerIncodeModuleElement`, so a deep `<Asset>`/`<AnimatedAsset>`
117
- * reads them via {@link useInstanceOverrides} without any prop drilling.
117
+ * or `<TransitionSpinner>` reads them via {@link useInstanceOverrides} without
118
+ * any prop drilling.
118
119
  */
119
120
  declare type InstanceOverrides = {
120
121
  assets?: AssetOverrides;
121
122
  animations?: AnimationOverrides;
123
+ spinner?: SpinnerPresentation;
122
124
  };
123
125
 
124
126
  declare type LottieAnimationData = {
@@ -130,6 +132,30 @@ declare type LottieAnimationData = {
130
132
  h: number;
131
133
  };
132
134
 
135
+ /**
136
+ * Host-facing loader presentation, settable globally via
137
+ * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
138
+ *
139
+ * Copy is deliberately absent. Loader text comes from i18n (`loadingCircle.*`),
140
+ * which keeps it localizable — a literal string here would freeze in whatever
141
+ * language the host typed it in when the user switches language mid-flow — and
142
+ * leaves one source of truth for user-facing strings.
143
+ */
144
+ declare type SpinnerPresentation = {
145
+ renderMode?: SpinnerRenderMode;
146
+ size?: SpinnerSize;
147
+ };
148
+
149
+ /**
150
+ * Which parts of a loader render.
151
+ *
152
+ * An enum rather than a pair of booleans so the meaningless fourth state —
153
+ * neither icon nor text, i.e. a blank screen — is unrepresentable.
154
+ */
155
+ declare type SpinnerRenderMode = 'spinnerAndText' | 'spinnerOnly' | 'textOnly';
156
+
157
+ declare type SpinnerSize = 'small' | 'medium' | 'large';
158
+
133
159
  /** An SVG imported as a Preact component (the `?react` import shape). */
134
160
  declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
135
161