@bpmn-io/properties-panel 3.41.1 → 3.41.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/index.js CHANGED
@@ -1944,6 +1944,7 @@ function JsonEditor(props) {
1944
1944
  children: label
1945
1945
  })
1946
1946
  }), jsxRuntime.jsx("div", {
1947
+ class: classnames('bio-properties-panel-input', value && 'edited'),
1947
1948
  ref: containerRef
1948
1949
  })]
1949
1950
  });
@@ -2022,8 +2023,7 @@ function JsonEditorEntry(props) {
2022
2023
  * Check if the JSON editor entry has been edited.
2023
2024
  */
2024
2025
  function isEdited$8(node) {
2025
- const cmContent = node && node.querySelector('.cm-content');
2026
- return cmContent ? cmContent.textContent.trim().length > 0 : false;
2026
+ return node && node.classList.contains('edited');
2027
2027
  }
2028
2028
 
2029
2029
  // helpers /////////////////