@bpmn-io/properties-panel 3.18.1 → 3.18.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.esm.js +7 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -967,6 +967,7 @@ const useBufferedFocus = function (editor, ref) {
|
|
|
967
967
|
};
|
|
968
968
|
const CodeEditor = forwardRef((props, ref) => {
|
|
969
969
|
const {
|
|
970
|
+
contentAttributes,
|
|
970
971
|
enableGutters,
|
|
971
972
|
value,
|
|
972
973
|
onInput,
|
|
@@ -1012,7 +1013,8 @@ const CodeEditor = forwardRef((props, ref) => {
|
|
|
1012
1013
|
tooltipContainer: tooltipContainer,
|
|
1013
1014
|
value: localValue,
|
|
1014
1015
|
variables: variables,
|
|
1015
|
-
extensions: [...(enableGutters ? [lineNumbers()] : []), EditorView.lineWrapping]
|
|
1016
|
+
extensions: [...(enableGutters ? [lineNumbers()] : []), EditorView.lineWrapping],
|
|
1017
|
+
contentAttributes
|
|
1016
1018
|
});
|
|
1017
1019
|
setEditor(editor);
|
|
1018
1020
|
return () => {
|
|
@@ -2102,9 +2104,12 @@ function FeelTextfieldComponent(props) {
|
|
|
2102
2104
|
disabled: feel !== 'optional' || disabled,
|
|
2103
2105
|
onClick: handleFeelToggle
|
|
2104
2106
|
}), feelActive ? jsx(CodeEditor, {
|
|
2105
|
-
id: prefixId$5(id),
|
|
2106
2107
|
name: id,
|
|
2107
2108
|
onInput: handleLocalInput,
|
|
2109
|
+
contentAttributes: {
|
|
2110
|
+
'id': prefixId$5(id),
|
|
2111
|
+
'aria-label': label
|
|
2112
|
+
},
|
|
2108
2113
|
disabled: disabled,
|
|
2109
2114
|
popupOpen: popuOpen,
|
|
2110
2115
|
onFeelToggle: () => {
|