@embedreach/components 0.3.32 → 0.3.33
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.
- package/dist/chunks/index.js +3342 -2296
- package/dist/chunks/sandbox-loading-screen.js +726 -399
- package/dist/index.d.ts +13 -4
- package/dist/index.umd.js +11 -11
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
3
|
+
import { ReachFeature } from '@reach/shared-types/features';
|
|
3
4
|
import * as React_2 from 'react';
|
|
4
5
|
import { SmsRegistrationApplicationType } from '../../../services/sms-registration';
|
|
5
6
|
import { SmsUseCaseCategory } from '../../../services/sms-registration';
|
|
@@ -131,7 +132,7 @@ declare interface EngageTypedOverrides {
|
|
|
131
132
|
* Represents the available features in our application.
|
|
132
133
|
* Each feature corresponds to a specific section of the marketing hub.
|
|
133
134
|
*/
|
|
134
|
-
declare type FeatureKey =
|
|
135
|
+
declare type FeatureKey = ReachFeature.MEASURE | `${ReachFeature.MEASURE}-setup` | `${ReachFeature.ACQUIRE}-setup` | ReachFeature.ACQUIRE | `${ReachFeature.REPUTATION}-setup` | ReachFeature.REPUTATION | `${ReachFeature.ENGAGE}-segment-builder` | `${ReachFeature.ENGAGE}-automations-create-modal` | `${ReachFeature.ENGAGE}-automations-view-modal` | ReachFeature.ENGAGE;
|
|
135
136
|
|
|
136
137
|
declare type ImageMergeFieldType = {
|
|
137
138
|
placeholderUrl: string;
|
|
@@ -146,11 +147,11 @@ declare interface LanguageConfig {
|
|
|
146
147
|
* For example if you call your 'users' -> 'contacts', or 'automations' -> 'flows'
|
|
147
148
|
*/
|
|
148
149
|
overrides?: {
|
|
149
|
-
|
|
150
|
+
[ReachFeature.ENGAGE]: {
|
|
150
151
|
en?: EngageTypedOverrides;
|
|
151
152
|
es?: EngageTypedOverrides;
|
|
152
153
|
};
|
|
153
|
-
|
|
154
|
+
[ReachFeature.MEASURE]: {
|
|
154
155
|
en?: MeasureTypedOverrides;
|
|
155
156
|
es?: MeasureTypedOverrides;
|
|
156
157
|
};
|
|
@@ -192,10 +193,18 @@ export declare interface ReachConfig {
|
|
|
192
193
|
* Features to hide
|
|
193
194
|
*/
|
|
194
195
|
hideFeature?: {
|
|
195
|
-
|
|
196
|
+
[ReachFeature.ENGAGE]: {
|
|
196
197
|
sms?: boolean;
|
|
197
198
|
};
|
|
198
199
|
};
|
|
200
|
+
/**
|
|
201
|
+
* Features to engage
|
|
202
|
+
*/
|
|
203
|
+
enableFeature?: {
|
|
204
|
+
[ReachFeature.ENGAGE]: {
|
|
205
|
+
onboarding?: boolean;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
199
208
|
}
|
|
200
209
|
|
|
201
210
|
export declare type ReachMergeField = StaticMergeField | DynamicMergeField;
|