@social-mail/social-mail-client 1.4.19 → 1.4.21

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.4.19",
3
+ "version": "1.4.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,6 +14,7 @@ export const BindStyleValue = AtomControl.registerProperty("data-style-property"
14
14
  const editor = c as HtmlPageEditor;
15
15
  const pv = editor.selection.style(v);
16
16
  (c as any).render(<div value={Bind.sourceTwoWays(pv, (s) => s.source.value)}></div>, e, c);
17
+ (c as any).render(<div attr-has-value={Bind.source(pv, (s) => s.source.value ? "true" : "false")}></div>, e, c);
17
18
  });
18
19
 
19
20
  export const BindStyleChecked = AtomControl.registerProperty("data-style-property", "checked", (c, e, v) => {
@@ -88,6 +89,14 @@ export const BindStyleCustom = AtomControl.registerProperty("data-style-property
88
89
  display: none;
89
90
  }
90
91
 
92
+
93
+ &:has([has-value=true]) {
94
+ & > label {
95
+ font-weight: bold;
96
+ color: blue;
97
+ }
98
+ }
99
+
91
100
  `.installGlobal("[data-element=property-editor]");
92
101
 
93
102
 
@@ -104,6 +113,13 @@ export const BindStyleCustom = AtomControl.registerProperty("data-style-property
104
113
  padding-right: 10px;
105
114
  }
106
115
 
116
+ &:has( [data-element=detail] > [data-element=property-editor] > [has-value=true]) {
117
+ & > label {
118
+ font-weight: bold;
119
+ color: blue;
120
+ }
121
+ }
122
+
107
123
 
108
124
  `.installGlobal("[data-element=expander-property-editor]");
109
125
 
@@ -301,6 +301,9 @@ export const sizeVarList = [
301
301
  stylerVars.relSize7XL,
302
302
  stylerVars.relSizeFull,
303
303
  stylerVars.relSizeProse,
304
+
305
+ { name: "inherit", value: "inherit "},
306
+ { name: "unset", value: "unset "},
304
307
  ];
305
308
 
306
309
  export const colorVarList = [