@bpmn-io/form-js-playground 1.23.0 → 1.23.1

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.
@@ -32599,7 +32599,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
32599
32599
  onChange: props.onChange
32600
32600
  });
32601
32601
  const getLabelCorrelation = useGetLabelCorrelation(options);
32602
- const label = F$2(() => value && getLabelCorrelation(value), [value, getLabelCorrelation]);
32602
+ const label = F$2(() => isDefined(value) ? getLabelCorrelation(value) : undefined, [value, getLabelCorrelation]);
32603
32603
 
32604
32604
  // whenever we change the underlying value, set the label to it
32605
32605
  p(() => {
@@ -32617,7 +32617,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
32617
32617
  const pickOption = T$3(option => {
32618
32618
  setFilter(option && option.label || '');
32619
32619
  props.onChange({
32620
- value: option && option.value || null
32620
+ value: option?.value ?? null
32621
32621
  });
32622
32622
  }, [props]);
32623
32623
  const displayState = F$2(() => {
@@ -32763,10 +32763,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
32763
32763
  onChange: props.onChange
32764
32764
  });
32765
32765
  const getLabelCorrelation = useGetLabelCorrelation(options);
32766
- const valueLabel = F$2(() => value && getLabelCorrelation(value), [value, getLabelCorrelation]);
32766
+ const valueLabel = F$2(() => isDefined(value) ? getLabelCorrelation(value) : undefined, [value, getLabelCorrelation]);
32767
32767
  const pickOption = T$3(option => {
32768
32768
  props.onChange({
32769
- value: option && option.value || null
32769
+ value: option?.value ?? null
32770
32770
  });
32771
32771
  }, [props]);
32772
32772
  const displayState = F$2(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-playground",
3
- "version": "1.23.0",
3
+ "version": "1.23.1",
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.23.0",
49
- "@bpmn-io/form-js-viewer": "1.23.0",
48
+ "@bpmn-io/form-js-editor": "1.23.1",
49
+ "@bpmn-io/form-js-viewer": "1.23.1",
50
50
  "@codemirror/autocomplete": "^6.20.0",
51
51
  "@codemirror/commands": "^6.10.1",
52
52
  "@codemirror/lang-json": "^6.0.2",
@@ -71,5 +71,5 @@
71
71
  "rollup-plugin-css-only": "^4.5.5",
72
72
  "style-loader": "^4.0.0"
73
73
  },
74
- "gitHead": "2f1727cc15d9619cb895ccd778e54a0d9ec14fc6"
74
+ "gitHead": "5e8da50e06f8e21dc5f976528dd86728accde4f9"
75
75
  }