@social-mail/social-mail-client 1.2.190 → 1.2.192
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/admin/AdminAppIndex.pack.js +66 -2
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +59 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/blocks/VideoPlayer.d.ts.map +1 -1
- package/dist/site-editor/blocks/VideoPlayer.js +66 -2
- package/dist/site-editor/blocks/VideoPlayer.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +66 -2
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +59 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/blocks/VideoPlayer.tsx +65 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/VideoPlayer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/VideoPlayer.tsx"],"names":[],"mappings":"AAuEA,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,GAAG,CAAC;QACV,UAAU,iBAAiB;YACvB,cAAc,EAAE,GAAG,CAAC;SACvB;KACJ;CACJ;AAED,eAAO,MAAM,WAAW,WAMtB,CAAC"}
|
|
@@ -1,14 +1,78 @@
|
|
|
1
|
-
System.register(["@web-atoms/core/dist/core/XNode", "./Block"], function (_export, _context) {
|
|
1
|
+
System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/dist/style/styled", "../styler/StylerSets"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var XNode, Block, VideoPlayer;
|
|
4
|
+
var XNode, Block, styled, StylerSets, VideoPlayer;
|
|
5
5
|
return {
|
|
6
6
|
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
7
7
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
8
8
|
}, function (_Block) {
|
|
9
9
|
Block = _Block.Block;
|
|
10
|
+
}, function (_webAtomsCoreDistStyleStyled) {
|
|
11
|
+
styled = _webAtomsCoreDistStyleStyled.default;
|
|
12
|
+
}, function (_stylerStylerSets) {
|
|
13
|
+
StylerSets = _stylerStylerSets.StylerSets;
|
|
10
14
|
}],
|
|
11
15
|
execute: function () {
|
|
16
|
+
StylerSets.register("low", styled.css`
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
& > *:empty:before {
|
|
20
|
+
background-color: #ddd;
|
|
21
|
+
color: #000;
|
|
22
|
+
font-size: 16px;
|
|
23
|
+
font-weight: bold;
|
|
24
|
+
font-family: 'Courier New', Courier, monospace;
|
|
25
|
+
height: 100%;
|
|
26
|
+
min-height: 100px;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-items: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
min-height: 30px;
|
|
31
|
+
opacity: 0.3;
|
|
32
|
+
border-radius: 3px;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
text-overflow: ellipsis;
|
|
36
|
+
content: "Video Player";
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
`.expand("video-player"));
|
|
40
|
+
StylerSets.register("low", styled.css`
|
|
41
|
+
|
|
42
|
+
display: flex;
|
|
43
|
+
content: "Video Player";
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
justify-items: center;
|
|
47
|
+
min-height: 100px;
|
|
48
|
+
background-color: black;
|
|
49
|
+
border-radius: 10px;
|
|
50
|
+
color: white;
|
|
51
|
+
|
|
52
|
+
&:before {
|
|
53
|
+
padding: 10px;
|
|
54
|
+
background-color: #ddd;
|
|
55
|
+
color: #000;
|
|
56
|
+
font-size: 16px;
|
|
57
|
+
font-weight: bold;
|
|
58
|
+
font-family: 'Courier New', Courier, monospace;
|
|
59
|
+
height: 100%;
|
|
60
|
+
min-height: 100px;
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-items: center;
|
|
63
|
+
align-items: center;
|
|
64
|
+
opacity: 0.3;
|
|
65
|
+
border-radius: 3px;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
text-align: center;
|
|
69
|
+
vertical-align: middle;
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
content: "Video Player";
|
|
72
|
+
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
`.expand("body[editing=true] video-player"));
|
|
12
76
|
_export("VideoPlayer", VideoPlayer = Block({
|
|
13
77
|
className: "fad fa-circle-play",
|
|
14
78
|
title: "Add Video Player",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["XNode","_webAtomsCoreDistCoreXNode","default","_Block","Block","execute","_export","VideoPlayer","className","title","factory","create","controls"],"sources":["../../../src/site-editor/blocks/VideoPlayer.tsx"],"sourcesContent":[null],"mappings":";;;;;;MAEOA,KAAK,GAAAC,0BAAA,CAAAC,OAAA;IAAA,aAAAC,MAAA;MACHC,KAAK,GAAAD,MAAA,CAALC,KAAK;IAAA;IAAAC,OAAA,WAAAA,CAAA;
|
|
1
|
+
{"version":3,"names":["XNode","_webAtomsCoreDistCoreXNode","default","_Block","Block","_webAtomsCoreDistStyleStyled","styled","_stylerStylerSets","StylerSets","execute","register","css","expand","_export","VideoPlayer","className","title","factory","create","controls"],"sources":["../../../src/site-editor/blocks/VideoPlayer.tsx"],"sourcesContent":[null],"mappings":";;;;;;MAEOA,KAAK,GAAAC,0BAAA,CAAAC,OAAA;IAAA,aAAAC,MAAA;MACHC,KAAK,GAAAD,MAAA,CAALC,KAAK;IAAA,aAAAC,4BAAA;MAEPC,MAAM,GAAAD,4BAAA,CAAAH,OAAA;IAAA,aAAAK,iBAAA;MACJC,UAAU,GAAAD,iBAAA,CAAVC,UAAU;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAEnBD,UAAU,CAACE,QAAQ,CAAC,KAAK,EAAEJ,MAAM,CAACK,GAAI;;;;;;;;;;;;;;;;;;;;;;;CAuBrC,CAACC,MAAM,CAAC,cAAc,CAAC,CAAC;MAEzBJ,UAAU,CAACE,QAAQ,CAAC,KAAK,EAAEJ,MAAM,CAACK,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCrC,CAACC,MAAM,CAAC,iCAAiC,CAAC,CAAC;MAACC,OAAA,gBAWhCC,WAAW,GAAGV,KAAK,CAAC;QAC7BW,SAAS,EAAE,oBAAoB;QAC/BC,KAAK,EAAE,kBAAkB;QACzBC,OAAO,EAAEA,CAAA,KAAMjB,KAAA,CAAAkB,MAAA;UACXC,QAAQ,EAAE;QAAI;OAErB,CAAC;IAAA;EAAA;AAAA"}
|