@yext/visual-editor 1.3.0-alpha.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/dist/visual-editor.js +6267 -6248
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1131,7 +1131,7 @@ declare const EmbeddedFieldStringInputFromEntity: <T extends Record<string, any>
|
|
|
1131
1131
|
sourceFieldPath?: string;
|
|
1132
1132
|
sourceField?: string;
|
|
1133
1133
|
}) => react_jsx_runtime.JSX.Element;
|
|
1134
|
-
declare const EmbeddedFieldStringInputFromOptions: ({ value, onChange, optionGroups, showFieldSelector, useOptionValueSublabel, sourceField, }: {
|
|
1134
|
+
declare const EmbeddedFieldStringInputFromOptions: ({ value, onChange, optionGroups, showFieldSelector, useOptionValueSublabel, sourceField, onFieldSelect, }: {
|
|
1135
1135
|
value: string;
|
|
1136
1136
|
onChange: (value: string) => void;
|
|
1137
1137
|
optionGroups: EntityFieldOptionGroup<{
|
|
@@ -1141,6 +1141,7 @@ declare const EmbeddedFieldStringInputFromOptions: ({ value, onChange, optionGro
|
|
|
1141
1141
|
showFieldSelector: boolean;
|
|
1142
1142
|
useOptionValueSublabel?: boolean;
|
|
1143
1143
|
sourceField?: string;
|
|
1144
|
+
onFieldSelect?: (fieldPath: string, resolutionFieldPath?: string, resolutionDocument?: Record<string, unknown>) => void;
|
|
1144
1145
|
}) => react_jsx_runtime.JSX.Element;
|
|
1145
1146
|
|
|
1146
1147
|
type ImageField = BaseField & {
|