@pushwoosh/dumb-components 1.0.73 → 1.0.74

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.
@@ -7,7 +7,7 @@ import { FieldBox } from '../FieldBox';
7
7
  import EmojiIcon from './assets/EmojiIcon.svg';
8
8
  import PersonalizationIcon from './assets/PersonalizationIcon.svg';
9
9
  import { EmojiPicker } from './EmojiPicker';
10
- import { ImSpan } from './RichMessageEditor.styled';
10
+ import { DropArea, ImSpan } from './RichMessageEditor.styled';
11
11
  import { getDcByPath } from './slate/helpers';
12
12
  import { SlateEditable, SlateEditor } from './slate/SlateEditor';
13
13
  export const RichMessageEditor = ({
@@ -114,7 +114,7 @@ export const RichMessageEditor = ({
114
114
  onDelete: () => {
115
115
  setShowDrop(undefined);
116
116
  }
117
- }), showDrop && React.createElement("div", {
117
+ }), showDrop && React.createElement(DropArea, {
118
118
  style: floatingStyles,
119
119
  ref: refs.setFloating,
120
120
  key: showDrop.type
@@ -1 +1,2 @@
1
1
  export declare const ImSpan: import("styled-components").StyledComponent<"span", any, {}, never>;
2
+ export declare const DropArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -3,4 +3,8 @@ import { Color } from '@pushwoosh/kit-constants';
3
3
  export const ImSpan = styled.span.withConfig({
4
4
  displayName: "ImSpan",
5
5
  componentId: "sc-kdvgj9-0"
6
- })(["color:", ";position:relative;padding-left:20px;font-size:12px;font-style:normal;font-weight:500;line-height:130%;text-transform:uppercase;cursor:pointer;> svg{position:absolute;left:0;top:-1px;}"], Color.SOFT);
6
+ })(["color:", ";position:relative;padding-left:20px;font-size:12px;font-style:normal;font-weight:500;line-height:130%;text-transform:uppercase;cursor:pointer;> svg{position:absolute;left:0;top:-1px;}"], Color.SOFT);
7
+ export const DropArea = styled.div.withConfig({
8
+ displayName: "DropArea",
9
+ componentId: "sc-kdvgj9-1"
10
+ })(["z-index:1000;"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/dumb-components",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
4
4
  "description": "React components to build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",