easy-email-extensions 4.11.1 → 4.12.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
|
|
1
1
|
export { AttributePanel } from './AttributePanel';
|
2
2
|
export { BlockAttributeConfigurationManager } from './utils/BlockAttributeConfigurationManager';
|
3
3
|
export * from './components/attributes';
|
4
|
+
export * from './components/provider';
|
4
5
|
export { Page as DefaultPageConfigPanel } from './components/blocks/Page';
|
package/lib/index.d.ts
CHANGED
@@ -10,6 +10,7 @@ export * from './MergeTagBadgePrompt';
|
|
10
10
|
export * from './components/Providers/ExtensionProvider';
|
11
11
|
export * from './constants';
|
12
12
|
export * from './components/Form';
|
13
|
+
export * from './components/ShadowDom';
|
13
14
|
export { getContextMergeTags } from './utils/getContextMergeTags';
|
14
15
|
export { getIconNameByBlockType } from './utils/getIconNameByBlockType';
|
15
16
|
export { getBlockTitle } from './utils/getBlockTitle';
|
package/lib/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper,
|
1
|
+
export { e as Align, A as AttributePanel, f as AttributesPanelWrapper, ab as AutoCompleteField, l as Background, o as BackgroundColor, d as BlockAttributeConfigurationManager, B as BlockLayer, K as BlockMarketManager, O as BlockMaskWrapper, r as Border, t as BorderColor, w as BorderStyle, y as BorderWidth, ae as CheckboxField, G as ClassName, h as CollapseWrapper, C as Color, ai as ColorPickerField, i as Condition, j as ContainerBackgroundColor, D as Decoration, P as DefaultPageConfigPanel, p as Direction, ag as EditGridTabField, af as EditTabField, Z as ExtensionContext, _ as ExtensionProvider, F as FontFamily, u as FontSize, x as FontStyle, z as FontWeight, H as Height, a8 as ImageUploaderField, ah as InlineTextField, a2 as InputWithUnitField, R as InteractivePrompt, L as LetterSpacing, m as LineHeight, q as Link, s as Margin, Y as MergeTagBadgePrompt, v as MergeTags, M as MjmlToJson, N as NavbarLinkPadding, a5 as NumberField, E as Padding, I as PresetColorsProvider, a0 as RICH_TEXT_TOOL_BAR, ac as RadioGroupField, ak as RichTextField, a3 as SearchField, a9 as SelectField, S as SelectionRangeProvider, al as ShadowDom, J as ShortcutToolbar, U as SimpleLayout, a6 as SliderField, Q as SourceCodePanel, X as StandardLayout, ad as SwitchField, T as TextAlign, a4 as TextAreaField, k as TextDecoration, a1 as TextField, n as TextTransform, aa as TreeSelectField, a7 as UploadField, V as VerticalAlign, W as Width, aj as enhancer, b as getBlockTitle, g as getContextMergeTags, a as getIconNameByBlockType, $ as useExtensionProps } from "./index2.js";
|
2
2
|
import "react";
|
3
3
|
import "easy-email-editor";
|
4
4
|
import "easy-email-core";
|
package/lib/index2.js
CHANGED
@@ -33061,6 +33061,13 @@ function ColorPickerContent(props) {
|
|
33061
33061
|
const presetColorList = useMemo(() => {
|
33062
33062
|
return [...presetColors.filter((item2) => item2 !== transparentColor$1).slice(-14)];
|
33063
33063
|
}, [presetColors]);
|
33064
|
+
let adapterColor = color2;
|
33065
|
+
try {
|
33066
|
+
if (Color$2(color2).hex()) {
|
33067
|
+
adapterColor = Color$2(color2).hex();
|
33068
|
+
}
|
33069
|
+
} catch (error2) {
|
33070
|
+
}
|
33064
33071
|
return /* @__PURE__ */ React__default.createElement("div", {
|
33065
33072
|
className: styles$7.colorPicker,
|
33066
33073
|
style: { width: 202, paddingTop: 12, paddingBottom: 12 }
|
@@ -33113,7 +33120,7 @@ function ColorPickerContent(props) {
|
|
33113
33120
|
opacity: 0
|
33114
33121
|
},
|
33115
33122
|
type: "color",
|
33116
|
-
value:
|
33123
|
+
value: adapterColor,
|
33117
33124
|
onChange: (e) => onChange(e.target.value)
|
33118
33125
|
}))), /* @__PURE__ */ React__default.createElement("style", null, `
|
33119
33126
|
.form-alpha-picker {
|
@@ -37034,7 +37041,7 @@ function FieldWrapper(props) {
|
|
37034
37041
|
onChange: debounceCallbackChange
|
37035
37042
|
}), /* @__PURE__ */ React__default.createElement(InlineText, __spreadProps(__spreadValues({}, rest), {
|
37036
37043
|
onChange: debounceCallbackChange
|
37037
|
-
}))
|
37044
|
+
})));
|
37038
37045
|
}
|
37039
37046
|
const TextField = enhancer(Input, (value) => value);
|
37040
37047
|
const InputWithUnitField = enhancer(InputWithUnit, (value) => value);
|
@@ -46333,5 +46340,5 @@ const StandardLayout = (props) => {
|
|
46333
46340
|
style: { width: 0, overflow: "hidden" }
|
46334
46341
|
}))), /* @__PURE__ */ React__default.createElement(InteractivePrompt, null), /* @__PURE__ */ React__default.createElement(MergeTagBadgePrompt, null)));
|
46335
46342
|
};
|
46336
|
-
export {
|
46343
|
+
export { useExtensionProps as $, AttributePanel as A, BlockLayer as B, Color as C, Decoration as D, Padding as E, FontFamily as F, ClassName as G, Height as H, PresetColorsProvider as I, ShortcutToolbar as J, BlockMarketManager as K, LetterSpacing as L, MjmlToJson as M, NavbarLinkPadding as N, BlockMaskWrapper as O, Page as P, SourceCodePanel as Q, InteractivePrompt as R, SelectionRangeProvider as S, TextAlign as T, SimpleLayout as U, VerticalAlign as V, Width as W, StandardLayout as X, MergeTagBadgePrompt as Y, ExtensionContext as Z, ExtensionProvider as _, getIconNameByBlockType as a, RICH_TEXT_TOOL_BAR as a0, TextField as a1, InputWithUnitField as a2, SearchField as a3, TextAreaField as a4, NumberField as a5, SliderField as a6, UploadField as a7, ImageUploaderField as a8, SelectField as a9, TreeSelectField as aa, AutoCompleteField as ab, RadioGroupField as ac, SwitchField as ad, CheckboxField as ae, EditTabField as af, EditGridTabField as ag, InlineTextField as ah, ColorPickerField as ai, enhancer as aj, RichTextField as ak, ShadowDom as al, getBlockTitle as b, commonjsGlobal as c, BlockAttributeConfigurationManager as d, Align as e, AttributesPanelWrapper as f, getContextMergeTags as g, CollapseWrapper as h, Condition as i, ContainerBackgroundColor as j, TextDecoration as k, Background as l, LineHeight as m, TextTransform as n, BackgroundColor as o, Direction as p, Link as q, Border as r, Margin as s, BorderColor as t, FontSize$1 as u, MergeTags$1 as v, BorderStyle as w, FontStyle as x, BorderWidth as y, FontWeight as z };
|
46337
46344
|
//# sourceMappingURL=index2.js.map
|