@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.8.313",
3
+ "version": "1.8.314",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -73,14 +73,14 @@
73
73
 
74
74
  & > [data-element=hover] {
75
75
  position: absolute;
76
- outline: solid 1px blue;
77
- outline-color: #0000ff6a;
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: #0000ff6a;
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 green;
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"/>