@social-mail/social-mail-client 1.2.191 → 1.2.193

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.
@@ -41229,6 +41229,10 @@ System.register(["@web-atoms/core/dist/core/XNode", "../controls/PropertyEditor"
41229
41229
  label: "Poster",
41230
41230
  "style-display": BindEditor.oneWay(x => /^(video|audio|video-player)$/i.test(x.selection.name)),
41231
41231
  attributeName: "poster"
41232
+ }), XNode.create(TextProperty, {
41233
+ label: "Auto Play",
41234
+ "style-display": BindEditor.oneWay(x => /^(video-player)$/i.test(x.selection.name)),
41235
+ attributeName: "autoplay"
41232
41236
  }), XNode.create(TextProperty, {
41233
41237
  label: "Alt",
41234
41238
  "style-display": BindEditor.oneWay(x => /img/i.test(x.selection.name)),
@@ -43130,11 +43134,48 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
43130
43134
 
43131
43135
  }
43132
43136
  `.expand("video-player"));
43137
+ StylerSets.register("low", styled.css`
43138
+
43139
+ display: flex;
43140
+ content: "Video Player";
43141
+ align-items: center;
43142
+ justify-content: center;
43143
+ justify-items: center;
43144
+ min-height: 100px;
43145
+ background-color: black;
43146
+ border-radius: 10px;
43147
+ color: white;
43148
+
43149
+ &:before {
43150
+ padding: 10px;
43151
+ background-color: #ddd;
43152
+ color: #000;
43153
+ font-size: 16px;
43154
+ font-weight: bold;
43155
+ font-family: 'Courier New', Courier, monospace;
43156
+ height: 100%;
43157
+ min-height: 100px;
43158
+ display: flex;
43159
+ justify-items: center;
43160
+ align-items: center;
43161
+ opacity: 0.3;
43162
+ border-radius: 3px;
43163
+ white-space: nowrap;
43164
+ overflow: hidden;
43165
+ text-align: center;
43166
+ vertical-align: middle;
43167
+ text-overflow: ellipsis;
43168
+ content: "Video Player";
43169
+
43170
+ }
43171
+
43172
+ `.expand("body[editing=true] video-player"));
43133
43173
  _export("VideoPlayer", VideoPlayer = Block({
43134
43174
  className: "fad fa-circle-play",
43135
43175
  title: "Add Video Player",
43136
43176
  factory: () => XNode.create("video-player", {
43137
- controls: true
43177
+ controls: true,
43178
+ autoplay: true
43138
43179
  })
43139
43180
  }));
43140
43181
  }