@social-mail/social-mail-client 1.2.201 → 1.2.202

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.2.201",
3
+ "version": "1.2.202",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,46 @@
1
+ /* eslint-disable @typescript-eslint/naming-convention */
2
+
3
+ import XNode from "@web-atoms/core/dist/core/XNode";
4
+ import { Block } from "./Block";
5
+ import { StylerSets } from "../styler/StylerSets";
6
+ import styled from "@web-atoms/core/dist/style/styled";
7
+
8
+ StylerSets.register("low", styled.css `
9
+
10
+
11
+ &:empty:before {
12
+ background-color: #ddd;
13
+ color: #000;
14
+ font-size: 16px;
15
+ font-weight: bold;
16
+ font-family: 'Courier New', Courier, monospace;
17
+ height: 100%;
18
+ display: flex;
19
+ justify-items: center;
20
+ align-items: center;
21
+ min-height: 30px;
22
+ opacity: 0.3;
23
+ border-radius: 3px;
24
+ white-space: nowrap;
25
+ overflow: hidden;
26
+ text-overflow: ellipsis;
27
+ content: "Marquee Text";
28
+
29
+ }
30
+ `.expand("marquee-text"));
31
+
32
+ /* eslint-disable @typescript-eslint/no-namespace */
33
+ declare global {
34
+ namespace JSX {
35
+ interface IntrinsicElements {
36
+ "marquee-text": any;
37
+ }
38
+ }
39
+ }
40
+
41
+ export const MarqueeText = Block({
42
+ className: "fad fa-text",
43
+ title: "Add Marquee Text",
44
+ factory: () => <marquee-text
45
+ >Your Slding Text</marquee-text>
46
+ });
@@ -41,6 +41,7 @@ import { InlinePopupButton } from "@web-atoms/web-controls/dist/basic/InlinePopu
41
41
  import { VideoPlayer } from "../blocks/VideoPlayer";
42
42
  import { BackgroundVideo } from "../blocks/BackgroundVideo";
43
43
  import { TextMask } from "../blocks/TextMask";
44
+ import { MarqueeText } from "../blocks/MarqueeText";
44
45
 
45
46
  styled.css `
46
47
  display: grid;
@@ -304,6 +305,7 @@ export default class HtmlPageEditor extends AtomControl {
304
305
  <BackgroundVideo/>
305
306
  <TextMask/>
306
307
  <ImageGallery/>
308
+ <MarqueeText/>
307
309
  </EditorToolbar>}></InlinePopupButton>
308
310
  </EditorToolbar>
309
311
  <div data-element="editor"