@bpmn-io/properties-panel 3.9.0 → 3.10.0

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/README.md CHANGED
@@ -5,31 +5,31 @@
5
5
 
6
6
  Library for creating bpmn-io properties panels.
7
7
 
8
+ ## Resources
8
9
 
9
- ## Hacking the Project
10
+ * [Changelog](./CHANGELOG.md)
10
11
 
11
- To get the development setup make sure to have [NodeJS](https://nodejs.org/en/download/) installed.
12
- As soon as you are set up, clone the project and execute
12
+ ## Build and Run
13
13
 
14
- ```
14
+ Prepare the project by installing all dependencies:
15
+
16
+ ```sh
15
17
  npm install
16
18
  ```
17
19
 
20
+ Then, depending on your use-case you may run any of the following commands:
18
21
 
19
- ### Testing
22
+ ```sh
23
+ # build the library and run all tests
24
+ npm run all
20
25
 
21
- Execute `npm run dev` to run the test suite in watch mode.
26
+ # run the full development setup
27
+ npm run dev
28
+ ```
22
29
 
23
30
  Expose an environment variable `TEST_BROWSERS=(Chrome|Firefox|IE)` to execute the tests in a non-headless browser.
24
31
 
25
32
 
26
- ### Package
27
-
28
- Execute `npm run all` to lint and test the project.
29
-
30
- __Note:__ We do not generate any build artifacts. Required parts of the library should be bundled by properties panels as needed instead.
31
-
32
-
33
33
  ## License
34
34
 
35
- MIT
35
+ MIT
@@ -564,7 +564,8 @@ textarea.bio-properties-panel-input {
564
564
  resize: vertical;
565
565
  }
566
566
 
567
- .bio-properties-panel-entry.has-error .bio-properties-panel-input {
567
+ .bio-properties-panel-entry.has-error .bio-properties-panel-input,
568
+ .bio-properties-panel-entry.has-error .bio-properties-panel-feel-editor__open-popup-placeholder {
568
569
  border-color: var(--input-error-border-color);
569
570
  background-color: var(--input-error-background-color);
570
571
  }
package/dist/index.js CHANGED
@@ -1935,7 +1935,7 @@ function FeelTextfield(props) {
1935
1935
  }, [onInput, debounce]);
1936
1936
  const setLocalValue = newValue => {
1937
1937
  _setLocalValue(newValue);
1938
- if (!newValue || newValue === '=') {
1938
+ if (typeof newValue === 'undefined' || newValue === '' || newValue === '=') {
1939
1939
  handleInputCallback(undefined);
1940
1940
  } else {
1941
1941
  handleInputCallback(newValue);