@bpmn-io/properties-panel 3.26.3 → 3.26.4
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/index.esm.js +2 -22
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -22
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1969,7 +1969,6 @@ function FeelTextfieldComponent(props) {
|
|
|
1969
1969
|
label,
|
|
1970
1970
|
hostLanguage,
|
|
1971
1971
|
onInput,
|
|
1972
|
-
onBlur,
|
|
1973
1972
|
onError,
|
|
1974
1973
|
placeholder,
|
|
1975
1974
|
feel,
|
|
@@ -2035,12 +2034,6 @@ function FeelTextfieldComponent(props) {
|
|
|
2035
2034
|
setFocus(-1);
|
|
2036
2035
|
}
|
|
2037
2036
|
};
|
|
2038
|
-
const handleOnBlur = e => {
|
|
2039
|
-
if (onBlur) {
|
|
2040
|
-
onBlur(e);
|
|
2041
|
-
}
|
|
2042
|
-
setLocalValue(e.target.value.trim());
|
|
2043
|
-
};
|
|
2044
2037
|
const handleLint = useStaticCallback((lint = []) => {
|
|
2045
2038
|
const syntaxError = lint.some(report => report.type === 'Syntax Error');
|
|
2046
2039
|
if (syntaxError) {
|
|
@@ -2162,7 +2155,6 @@ function FeelTextfieldComponent(props) {
|
|
|
2162
2155
|
...props,
|
|
2163
2156
|
popupOpen: popuOpen,
|
|
2164
2157
|
onInput: handleLocalInput,
|
|
2165
|
-
onBlur: handleOnBlur,
|
|
2166
2158
|
contentAttributes: {
|
|
2167
2159
|
'id': prefixId$5(id),
|
|
2168
2160
|
'aria-label': label
|
|
@@ -3991,12 +3983,6 @@ function TextArea(props) {
|
|
|
3991
3983
|
autoResize && resizeToContents(e.target);
|
|
3992
3984
|
setLocalValue(e.target.value);
|
|
3993
3985
|
};
|
|
3994
|
-
const handleOnBlur = e => {
|
|
3995
|
-
if (onBlur) {
|
|
3996
|
-
onBlur(e);
|
|
3997
|
-
}
|
|
3998
|
-
setLocalValue(e.target.value.trim());
|
|
3999
|
-
};
|
|
4000
3986
|
hooks.useLayoutEffect(() => {
|
|
4001
3987
|
autoResize && resizeToContents(ref.current);
|
|
4002
3988
|
}, []);
|
|
@@ -4028,7 +4014,7 @@ function TextArea(props) {
|
|
|
4028
4014
|
class: classnames('bio-properties-panel-input', monospace ? 'bio-properties-panel-input-monospace' : '', autoResize ? 'auto-resize' : ''),
|
|
4029
4015
|
onInput: handleInput,
|
|
4030
4016
|
onFocus: onFocus,
|
|
4031
|
-
onBlur:
|
|
4017
|
+
onBlur: onBlur,
|
|
4032
4018
|
placeholder: placeholder,
|
|
4033
4019
|
rows: rows,
|
|
4034
4020
|
value: localValue,
|
|
@@ -4147,12 +4133,6 @@ function Textfield(props) {
|
|
|
4147
4133
|
const handleInputCallback = hooks.useMemo(() => {
|
|
4148
4134
|
return debounce(target => onInput(target.value.length ? target.value : undefined));
|
|
4149
4135
|
}, [onInput, debounce]);
|
|
4150
|
-
const handleOnBlur = e => {
|
|
4151
|
-
if (onBlur) {
|
|
4152
|
-
onBlur(e);
|
|
4153
|
-
}
|
|
4154
|
-
setLocalValue(e.target.value.trim());
|
|
4155
|
-
};
|
|
4156
4136
|
const handleInput = e => {
|
|
4157
4137
|
handleInputCallback(e.target);
|
|
4158
4138
|
setLocalValue(e.target.value);
|
|
@@ -4185,7 +4165,7 @@ function Textfield(props) {
|
|
|
4185
4165
|
class: "bio-properties-panel-input",
|
|
4186
4166
|
onInput: handleInput,
|
|
4187
4167
|
onFocus: onFocus,
|
|
4188
|
-
onBlur:
|
|
4168
|
+
onBlur: onBlur,
|
|
4189
4169
|
placeholder: placeholder,
|
|
4190
4170
|
value: localValue
|
|
4191
4171
|
})]
|