@gisce/react-ooui 1.2.11 → 1.2.12

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAC;AAGnE,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAW/C,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,QAAA,MAAM,IAAI,UAAW,KAAK,sBAgCzB,CAAC;AA8GF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAC;AAGnE,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAW/C,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,QAAA,MAAM,IAAI,UAAW,KAAK,sBAgCzB,CAAC;AA+GF,eAAe,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "files": [
5
5
  "dist",
6
6
  "src",
@@ -136,7 +136,7 @@ const TranslatableChar = ({
136
136
  onChange?.(event.target.value);
137
137
  }}
138
138
  onBlur={elementHasLostFocus}
139
- style={{ cursor: "pointer", ...requiredStyle }}
139
+ style={{ cursor: "pointer", pointerEvents: "none", ...requiredStyle }}
140
140
  />
141
141
  </div>
142
142
  <TranslationModal
@@ -85,7 +85,7 @@ const TranslatableText = ({
85
85
  }}
86
86
  style={{
87
87
  height: height ? height + "px" : "100%",
88
- ...requiredStyle
88
+ ...requiredStyle,
89
89
  }}
90
90
  id={field}
91
91
  rows={4}
@@ -133,7 +133,8 @@ const TranslatableText = ({
133
133
  style={{
134
134
  height: height ? height + "px" : "100%",
135
135
  cursor: "pointer",
136
- ...requiredStyle
136
+ pointerEvents: "none",
137
+ ...requiredStyle,
137
138
  }}
138
139
  id={field}
139
140
  disabled={true}