@bpmn-io/properties-panel 3.9.0 → 3.10.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.
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
  }
@@ -1181,6 +1182,10 @@ textarea.bio-properties-panel-input {
1181
1182
  border-radius: 3px;
1182
1183
  }
1183
1184
 
1185
+ .bio-properties-panel-tooltip-content pre code {
1186
+ border: none;
1187
+ }
1188
+
1184
1189
  .bio-properties-panel-tooltip p:first-child {
1185
1190
  margin-top: 0;
1186
1191
  }
package/dist/index.esm.js CHANGED
@@ -1907,7 +1907,7 @@ function FeelTextfield(props) {
1907
1907
  }, [onInput, debounce]);
1908
1908
  const setLocalValue = newValue => {
1909
1909
  _setLocalValue(newValue);
1910
- if (!newValue || newValue === '=') {
1910
+ if (typeof newValue === 'undefined' || newValue === '' || newValue === '=') {
1911
1911
  handleInputCallback(undefined);
1912
1912
  } else {
1913
1913
  handleInputCallback(newValue);