@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.es.js
CHANGED
|
@@ -10343,11 +10343,10 @@ function Height(props) {
|
|
|
10343
10343
|
description,
|
|
10344
10344
|
editField,
|
|
10345
10345
|
field,
|
|
10346
|
-
id
|
|
10347
|
-
defaultValue = 60 // default value for spacer
|
|
10346
|
+
id
|
|
10348
10347
|
} = props;
|
|
10349
10348
|
const debounce = useService('debounce');
|
|
10350
|
-
const getValue = e => get(field, ['height'],
|
|
10349
|
+
const getValue = e => get(field, ['height'], null);
|
|
10351
10350
|
const setValue = (value, error) => {
|
|
10352
10351
|
if (error) {
|
|
10353
10352
|
return;
|
|
@@ -10374,7 +10373,7 @@ function Height(props) {
|
|
|
10374
10373
|
*/
|
|
10375
10374
|
const validate$7 = value => {
|
|
10376
10375
|
if (typeof value !== 'number') {
|
|
10377
|
-
return
|
|
10376
|
+
return 'A number is required.';
|
|
10378
10377
|
}
|
|
10379
10378
|
if (!Number.isInteger(value)) {
|
|
10380
10379
|
return 'Should be an integer.';
|
|
@@ -10387,7 +10386,6 @@ const validate$7 = value => {
|
|
|
10387
10386
|
function IFrameHeightEntry(props) {
|
|
10388
10387
|
return [...HeightEntry({
|
|
10389
10388
|
...props,
|
|
10390
|
-
defaultValue: 300,
|
|
10391
10389
|
description: 'Height of the container in pixels.',
|
|
10392
10390
|
isDefaultVisible: field => field.type === 'iframe'
|
|
10393
10391
|
})];
|
|
@@ -10624,7 +10622,7 @@ function Content(props) {
|
|
|
10624
10622
|
|
|
10625
10623
|
const description = jsxs(Fragment$1, {
|
|
10626
10624
|
children: ["Supports HTML, styling, and templating. Styles are automatically scoped to the HTML component. ", jsx("a", {
|
|
10627
|
-
href: "https://docs.camunda.io/docs/components/modeler/forms/form-element-library/forms-element-library-html/",
|
|
10625
|
+
href: "https://docs.camunda.io/docs/next/components/modeler/forms/form-element-library/forms-element-library-html/",
|
|
10628
10626
|
target: "_blank",
|
|
10629
10627
|
children: "Learn more"
|
|
10630
10628
|
})]
|