@social-mail/social-mail-client 1.8.313 → 1.8.314
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/site-editor/editor/HtmlPageEditor.global.css +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.global.css.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.d.ts.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.global.css +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.global.css.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.js +3 -1
- package/dist/site-editor/editor/ui/SelectionUI.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +3 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- 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/HtmlPageEditor.global.css +3 -3
- package/src/site-editor/editor/ui/SelectionUI.global.css +12 -1
- package/src/site-editor/editor/ui/SelectionUI.tsx +1 -0
package/package.json
CHANGED
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
|
|
74
74
|
& > [data-element=hover] {
|
|
75
75
|
position: absolute;
|
|
76
|
-
outline: solid 1px
|
|
77
|
-
outline-color: #
|
|
76
|
+
outline: solid 1px green;
|
|
77
|
+
outline-color: #00940094;
|
|
78
78
|
pointer-events: none;
|
|
79
79
|
z-index: 20;
|
|
80
80
|
& > label {
|
|
81
81
|
position: absolute;
|
|
82
82
|
transform: translate(0, -100%);
|
|
83
|
-
background-color: #
|
|
83
|
+
background-color: #00940094;
|
|
84
84
|
color: white;
|
|
85
85
|
font-size: smaller;
|
|
86
86
|
text-transform: capitalize;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
selected-element {
|
|
2
2
|
position: absolute;
|
|
3
|
-
outline: solid 1px
|
|
3
|
+
outline: solid 1px blue;
|
|
4
4
|
z-index: 22;
|
|
5
5
|
&:not([data-edit]) {
|
|
6
6
|
pointer-events: none;
|
|
@@ -40,6 +40,17 @@ selected-element {
|
|
|
40
40
|
right: -5px;
|
|
41
41
|
cursor: se-resize;
|
|
42
42
|
}
|
|
43
|
+
& > label {
|
|
44
|
+
position: absolute;
|
|
45
|
+
transform: translate(0, -100%);
|
|
46
|
+
background-color: #0000ff;
|
|
47
|
+
color: white;
|
|
48
|
+
font-size: smaller;
|
|
49
|
+
text-transform: capitalize;
|
|
50
|
+
padding: 2px;
|
|
51
|
+
padding-left: 5px;
|
|
52
|
+
padding-right: 5px;
|
|
53
|
+
}
|
|
43
54
|
& > div {
|
|
44
55
|
pointer-events: all;
|
|
45
56
|
position: absolute;
|
|
@@ -165,6 +165,7 @@ export function SelectionUI() {
|
|
|
165
165
|
style-top={BindEditor.oneWay((e) => e.selection.top)}
|
|
166
166
|
style-width={BindEditor.oneWay((e) => e.selection.width)}
|
|
167
167
|
style-height={BindEditor.oneWay((e) => e.selection.height)}>
|
|
168
|
+
<label text={BindEditor.oneWay((e) => e.selection.name)}/>
|
|
168
169
|
<i data-resize="lt"/>
|
|
169
170
|
<i data-resize="rt"/>
|
|
170
171
|
<i data-resize="lb"/>
|