@bpmn-io/form-js-editor 1.7.0 → 1.7.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/dist/index.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +4 -6
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -10363,11 +10363,10 @@ function Height(props) {
|
|
|
10363
10363
|
description,
|
|
10364
10364
|
editField,
|
|
10365
10365
|
field,
|
|
10366
|
-
id
|
|
10367
|
-
defaultValue = 60 // default value for spacer
|
|
10366
|
+
id
|
|
10368
10367
|
} = props;
|
|
10369
10368
|
const debounce = useService('debounce');
|
|
10370
|
-
const getValue = e => minDash.get(field, ['height'],
|
|
10369
|
+
const getValue = e => minDash.get(field, ['height'], null);
|
|
10371
10370
|
const setValue = (value, error) => {
|
|
10372
10371
|
if (error) {
|
|
10373
10372
|
return;
|
|
@@ -10394,7 +10393,7 @@ function Height(props) {
|
|
|
10394
10393
|
*/
|
|
10395
10394
|
const validate$7 = value => {
|
|
10396
10395
|
if (typeof value !== 'number') {
|
|
10397
|
-
return
|
|
10396
|
+
return 'A number is required.';
|
|
10398
10397
|
}
|
|
10399
10398
|
if (!Number.isInteger(value)) {
|
|
10400
10399
|
return 'Should be an integer.';
|
|
@@ -10407,7 +10406,6 @@ const validate$7 = value => {
|
|
|
10407
10406
|
function IFrameHeightEntry(props) {
|
|
10408
10407
|
return [...HeightEntry({
|
|
10409
10408
|
...props,
|
|
10410
|
-
defaultValue: 300,
|
|
10411
10409
|
description: 'Height of the container in pixels.',
|
|
10412
10410
|
isDefaultVisible: field => field.type === 'iframe'
|
|
10413
10411
|
})];
|
|
@@ -10644,7 +10642,7 @@ function Content(props) {
|
|
|
10644
10642
|
|
|
10645
10643
|
const description = jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
10646
10644
|
children: ["Supports HTML, styling, and templating. Styles are automatically scoped to the HTML component. ", jsxRuntime.jsx("a", {
|
|
10647
|
-
href: "https://docs.camunda.io/docs/components/modeler/forms/form-element-library/forms-element-library-html/",
|
|
10645
|
+
href: "https://docs.camunda.io/docs/next/components/modeler/forms/form-element-library/forms-element-library-html/",
|
|
10648
10646
|
target: "_blank",
|
|
10649
10647
|
children: "Learn more"
|
|
10650
10648
|
})]
|