@bpmn-io/form-js-playground 1.15.1 → 1.15.2
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/form-playground.umd.js +10 -1
- package/package.json +4 -4
|
@@ -69241,13 +69241,22 @@
|
|
|
69241
69241
|
const {
|
|
69242
69242
|
required
|
|
69243
69243
|
} = validate;
|
|
69244
|
-
const [
|
|
69244
|
+
const [onChange, flushOnChange] = useFlushDebounce(({
|
|
69245
69245
|
target
|
|
69246
69246
|
}) => {
|
|
69247
69247
|
props.onChange({
|
|
69248
69248
|
value: target.value
|
|
69249
69249
|
});
|
|
69250
69250
|
});
|
|
69251
|
+
|
|
69252
|
+
/**
|
|
69253
|
+
* @param {import('preact').JSX.TargetedEvent<HTMLInputElement, Event>} event
|
|
69254
|
+
*/
|
|
69255
|
+
const onInputChange = event => {
|
|
69256
|
+
onChange({
|
|
69257
|
+
target: event.target
|
|
69258
|
+
});
|
|
69259
|
+
};
|
|
69251
69260
|
const onInputBlur = () => {
|
|
69252
69261
|
flushOnChange && flushOnChange();
|
|
69253
69262
|
onBlur && onBlur();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-playground",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"description": "A form-js playground",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"url": "https://github.com/bpmn-io"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@bpmn-io/form-js-editor": "^1.15.
|
|
49
|
-
"@bpmn-io/form-js-viewer": "^1.15.
|
|
48
|
+
"@bpmn-io/form-js-editor": "^1.15.2",
|
|
49
|
+
"@bpmn-io/form-js-viewer": "^1.15.2",
|
|
50
50
|
"@codemirror/autocomplete": "^6.18.6",
|
|
51
51
|
"@codemirror/commands": "^6.8.0",
|
|
52
52
|
"@codemirror/lang-json": "^6.0.1",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"rollup-plugin-css-only": "^4.5.2",
|
|
72
72
|
"style-loader": "^4.0.0"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "ef9301a743c083512615b78b8f6aebfca97a92a7"
|
|
75
75
|
}
|