@social-mail/social-mail-client 1.4.75 → 1.4.76
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/public/channel/ChannelApp.pack.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/site-editor/editor/webComponentsPath.js +1 -1
- package/dist/site-editor/properties/controls/PropertyEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/controls/PropertyEditor.js +13 -0
- package/dist/site-editor/properties/controls/PropertyEditor.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +14 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +2 -2
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/webComponentsPath.ts +1 -1
- package/src/site-editor/properties/controls/PropertyEditor.tsx +15 -0
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ const addAttributes = (target, values: (x: any) => IEditableAttribute[]) => {
|
|
|
28
28
|
|
|
29
29
|
export class WebComponents {
|
|
30
30
|
|
|
31
|
-
static path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
31
|
+
static path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.175`;
|
|
32
32
|
|
|
33
33
|
// Not working in Chrome, Works well in Firefox
|
|
34
34
|
// static async run2(frame: HTMLIFrameElement, doc: Document) {
|
|
@@ -109,6 +109,21 @@ export function DropDownProperty({ label, property, values, attributeName, ... a
|
|
|
109
109
|
? values.map((v) => ({ label: v, value: v})) :
|
|
110
110
|
property.values.map((pair) => pair.toPair());
|
|
111
111
|
items.splice(0, 0, { label: "-", value: ""});
|
|
112
|
+
|
|
113
|
+
if(!property) {
|
|
114
|
+
return <PropertyEditor
|
|
115
|
+
label={label}
|
|
116
|
+
property={property}
|
|
117
|
+
attributeName={attributeName}
|
|
118
|
+
{ ... a}><Select
|
|
119
|
+
data-property-value-editor="drop-down"
|
|
120
|
+
data-flex="stretch-full"
|
|
121
|
+
{ ... BindStyleValue(attributeName)}
|
|
122
|
+
valuePath={(v) => v.value}
|
|
123
|
+
items={items}/>
|
|
124
|
+
</PropertyEditor>;
|
|
125
|
+
}
|
|
126
|
+
|
|
112
127
|
return <PropertyEditor
|
|
113
128
|
label={label}
|
|
114
129
|
property={property}
|