@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.esm.js
CHANGED
|
@@ -1948,7 +1948,6 @@ function FeelTextfieldComponent(props) {
|
|
|
1948
1948
|
label,
|
|
1949
1949
|
hostLanguage,
|
|
1950
1950
|
onInput,
|
|
1951
|
-
onBlur,
|
|
1952
1951
|
onError,
|
|
1953
1952
|
placeholder,
|
|
1954
1953
|
feel,
|
|
@@ -2014,12 +2013,6 @@ function FeelTextfieldComponent(props) {
|
|
|
2014
2013
|
setFocus(-1);
|
|
2015
2014
|
}
|
|
2016
2015
|
};
|
|
2017
|
-
const handleOnBlur = e => {
|
|
2018
|
-
if (onBlur) {
|
|
2019
|
-
onBlur(e);
|
|
2020
|
-
}
|
|
2021
|
-
setLocalValue(e.target.value.trim());
|
|
2022
|
-
};
|
|
2023
2016
|
const handleLint = useStaticCallback((lint = []) => {
|
|
2024
2017
|
const syntaxError = lint.some(report => report.type === 'Syntax Error');
|
|
2025
2018
|
if (syntaxError) {
|
|
@@ -2141,7 +2134,6 @@ function FeelTextfieldComponent(props) {
|
|
|
2141
2134
|
...props,
|
|
2142
2135
|
popupOpen: popuOpen,
|
|
2143
2136
|
onInput: handleLocalInput,
|
|
2144
|
-
onBlur: handleOnBlur,
|
|
2145
2137
|
contentAttributes: {
|
|
2146
2138
|
'id': prefixId$5(id),
|
|
2147
2139
|
'aria-label': label
|
|
@@ -3970,12 +3962,6 @@ function TextArea(props) {
|
|
|
3970
3962
|
autoResize && resizeToContents(e.target);
|
|
3971
3963
|
setLocalValue(e.target.value);
|
|
3972
3964
|
};
|
|
3973
|
-
const handleOnBlur = e => {
|
|
3974
|
-
if (onBlur) {
|
|
3975
|
-
onBlur(e);
|
|
3976
|
-
}
|
|
3977
|
-
setLocalValue(e.target.value.trim());
|
|
3978
|
-
};
|
|
3979
3965
|
useLayoutEffect(() => {
|
|
3980
3966
|
autoResize && resizeToContents(ref.current);
|
|
3981
3967
|
}, []);
|
|
@@ -4007,7 +3993,7 @@ function TextArea(props) {
|
|
|
4007
3993
|
class: classnames('bio-properties-panel-input', monospace ? 'bio-properties-panel-input-monospace' : '', autoResize ? 'auto-resize' : ''),
|
|
4008
3994
|
onInput: handleInput,
|
|
4009
3995
|
onFocus: onFocus,
|
|
4010
|
-
onBlur:
|
|
3996
|
+
onBlur: onBlur,
|
|
4011
3997
|
placeholder: placeholder,
|
|
4012
3998
|
rows: rows,
|
|
4013
3999
|
value: localValue,
|
|
@@ -4126,12 +4112,6 @@ function Textfield(props) {
|
|
|
4126
4112
|
const handleInputCallback = useMemo(() => {
|
|
4127
4113
|
return debounce(target => onInput(target.value.length ? target.value : undefined));
|
|
4128
4114
|
}, [onInput, debounce]);
|
|
4129
|
-
const handleOnBlur = e => {
|
|
4130
|
-
if (onBlur) {
|
|
4131
|
-
onBlur(e);
|
|
4132
|
-
}
|
|
4133
|
-
setLocalValue(e.target.value.trim());
|
|
4134
|
-
};
|
|
4135
4115
|
const handleInput = e => {
|
|
4136
4116
|
handleInputCallback(e.target);
|
|
4137
4117
|
setLocalValue(e.target.value);
|
|
@@ -4164,7 +4144,7 @@ function Textfield(props) {
|
|
|
4164
4144
|
class: "bio-properties-panel-input",
|
|
4165
4145
|
onInput: handleInput,
|
|
4166
4146
|
onFocus: onFocus,
|
|
4167
|
-
onBlur:
|
|
4147
|
+
onBlur: onBlur,
|
|
4168
4148
|
placeholder: placeholder,
|
|
4169
4149
|
value: localValue
|
|
4170
4150
|
})]
|