@groovymedia/easy-email-extensions 4.14.3 → 4.14.4

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useBlock } from 'easy-email-editor';
2
+ import { useBlock } from '@groovymedia/easy-email-editor';
3
3
  import { IBlockDataWithId } from '../../../BlockLayer';
4
4
  export declare function ContextMenu({ moveBlock, copyBlock, removeBlock, contextMenuData, onClose, }: {
5
5
  onClose: (ev?: React.MouseEvent) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { IBlockData } from 'easy-email-core';
2
+ import { IBlockData } from '@groovymedia/easy-email-core';
3
3
  export interface IBlockDataWithId extends IBlockData {
4
4
  id: string;
5
5
  icon?: React.ReactElement;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BlockType } from 'easy-email-core';
2
+ import { BlockType } from '@groovymedia/easy-email-core';
3
3
  export declare const BlockMaskWrapper: React.FC<{
4
4
  type: BlockType | string;
5
5
  payload: any;
@@ -1,4 +1,4 @@
1
- import { AdvancedType } from 'easy-email-core';
1
+ import { AdvancedType } from '@groovymedia/easy-email-core';
2
2
  import { TextBlockItem } from './TextBlockItem';
3
3
  import { ImageBlockItem } from './ImageBlockItem';
4
4
  export declare const defaultCategories: {
@@ -1,4 +1,4 @@
1
- import { IBlockData, RecursivePartial } from 'easy-email-core';
1
+ import { IBlockData, RecursivePartial } from '@groovymedia/easy-email-core';
2
2
  export interface DragIconProps<T extends IBlockData> {
3
3
  type: string;
4
4
  payload?: RecursivePartial<T>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IBlockData } from 'easy-email-core';
2
+ import { IBlockData } from '@groovymedia/easy-email-core';
3
3
  export interface BlockMarketCategory {
4
4
  name: string;
5
5
  title: string;
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
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
- import "easy-email-editor";
4
- import "easy-email-core";
3
+ import "@groovymedia/easy-email-editor";
4
+ import "@groovymedia/easy-email-core";
5
5
  import "react-dom";
6
6
  import "react-final-form";
7
7
  import "mjml-browser";
package/lib/index2.js CHANGED
@@ -56,8 +56,8 @@ var __async = (__this, __arguments, generator) => {
56
56
  };
57
57
  import * as React from "react";
58
58
  import React__default, { Children, isValidElement, cloneElement, createContext, useContext, Component, useMemo, memo, forwardRef, useEffect, useRef, useLayoutEffect, useState, useImperativeHandle, PureComponent, useCallback, useReducer, createRef, Fragment, createElement, Suspense } from "react";
59
- import { IconFont, useEditorProps, Stack as Stack$4, useRefState, getShadowRoot, DATA_CONTENT_EDITABLE_TYPE, ContentEditableType, TextStyle, useEditorContext, useBlock, useFocusIdx, useFocusBlockLayout, MergeTagBadge, FIXED_CONTAINER_ID, getPluginElement, RICH_TEXT_BAR_ID, CONTENT_EDITABLE_CLASS_NAME, getEditorRoot, DATA_CONTENT_EDITABLE_IDX, scrollBlockEleIntoView, useHoverIdx, useDataTransfer, getBlockNodeByChildEle, getDirectionPosition, DATA_ATTRIBUTE_DROP_CONTAINER, BlockAvatarWrapper, isTextBlock, getBlockNodeByIdx, useLazyState, useActiveTab, ActiveTabKeys } from "easy-email-editor";
60
- import { BasicType, ImageManager, EMAIL_BLOCK_CLASS_NAME, BlockManager, createBlockDataByType, AdvancedType, Operator, OperatorSymbol, isAdvancedBlock, getParentByIdx, getParentIdx, getIndexByIdx, getSiblingIdx, getNodeIdxFromClassName, getNodeIdxClassName, getPageIdx, getChildIdx, JsonToMjml, getNodeTypeFromClassName } from "easy-email-core";
59
+ import { IconFont, useEditorProps, Stack as Stack$4, useRefState, getShadowRoot, DATA_CONTENT_EDITABLE_TYPE, ContentEditableType, TextStyle, useEditorContext, useBlock, useFocusIdx, useFocusBlockLayout, MergeTagBadge, FIXED_CONTAINER_ID, getPluginElement, RICH_TEXT_BAR_ID, CONTENT_EDITABLE_CLASS_NAME, getEditorRoot, DATA_CONTENT_EDITABLE_IDX, scrollBlockEleIntoView, useHoverIdx, useDataTransfer, getBlockNodeByChildEle, getDirectionPosition, DATA_ATTRIBUTE_DROP_CONTAINER, BlockAvatarWrapper, isTextBlock, getBlockNodeByIdx, useLazyState, useActiveTab, ActiveTabKeys } from "@groovymedia/easy-email-editor";
60
+ import { BasicType, ImageManager, EMAIL_BLOCK_CLASS_NAME, BlockManager, createBlockDataByType, AdvancedType, Operator, OperatorSymbol, isAdvancedBlock, getParentByIdx, getParentIdx, getIndexByIdx, getSiblingIdx, getNodeIdxFromClassName, getNodeIdxClassName, getPageIdx, getChildIdx, JsonToMjml, getNodeTypeFromClassName } from "@groovymedia/easy-email-core";
61
61
  import ReactDOM, { findDOMNode, createPortal } from "react-dom";
62
62
  import { Field, useForm as useForm$1, useField, Form as Form$3, version as version$2, useFormState } from "react-final-form";
63
63
  import mjml from "mjml-browser";