@bpmn-io/form-js-editor 1.3.3 → 1.4.0
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/LICENSE +22 -22
- package/README.md +152 -116
- package/dist/assets/form-js-editor-base.css +821 -797
- package/dist/assets/form-js-editor.css +46 -17
- package/dist/assets/properties-panel.css +6 -1
- package/dist/index.cjs +1011 -855
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +1045 -894
- package/dist/index.es.js.map +1 -1
- package/dist/types/FormEditor.d.ts +1 -0
- package/dist/types/features/palette/components/Palette.d.ts +35 -5
- package/dist/types/features/palette/components/PaletteEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/PropertiesPanelHeaderProvider.d.ts +1 -1
- package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +17 -0
- package/dist/types/features/properties-panel/PropertiesProvider.d.ts +10 -0
- package/dist/types/features/properties-panel/Util.d.ts +2 -0
- package/dist/types/features/properties-panel/entries/ActionEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/AdornerEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/AltTextEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/DateTimeConstraintsEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/DateTimeEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/DateTimeSerializationEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/DefaultValueEntry.d.ts +11 -1
- package/dist/types/features/properties-panel/entries/DescriptionEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/DisabledEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/GroupEntries.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/IdEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/ImageSourceEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/KeyEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/LabelEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/NumberEntries.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/NumberSerializationEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/ReadonlyEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/SelectEntries.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/SpacerEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/TextEntry.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/factories/simpleBoolEntryFactory.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/AppearanceGroup.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/ConstraintsGroup.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/GeneralGroup.d.ts +17 -1
- package/dist/types/features/properties-panel/groups/SerializationGroup.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/ValidationGroup.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/ValuesGroups.d.ts +1 -1
- package/dist/types/features/properties-panel/index.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/types.d.ts +28 -28
- package/package.json +4 -4
|
@@ -55,12 +55,17 @@
|
|
|
55
55
|
var(--cds-layer-01, var(--color-white))
|
|
56
56
|
);
|
|
57
57
|
--color-palette-field-border: var(
|
|
58
|
-
--cds-border-
|
|
59
|
-
var(--cds-border-
|
|
58
|
+
--cds-border-subtle,
|
|
59
|
+
var(--cds-border-subtle-01, var(--color-grey-225-10-93))
|
|
60
60
|
);
|
|
61
|
+
--color-palette-field-focus: var(--cds-border-interactive, var(--color-blue-205-100-45));
|
|
61
62
|
--color-palette-field-hover-background: var(--cds-background-hover, var(--color-grey-225-10-90));
|
|
63
|
+
--color-palette-field-hover-border: var(
|
|
64
|
+
--cds-border-strong,
|
|
65
|
+
var(--cds-border-strong-01, var(--color-grey-225-10-55))
|
|
66
|
+
);
|
|
62
67
|
--cursor-palette-field: grab;
|
|
63
|
-
--palette-width:
|
|
68
|
+
--palette-width: 246px;
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
.fjs-properties-container {
|
|
@@ -514,8 +519,7 @@
|
|
|
514
519
|
display: flex;
|
|
515
520
|
flex-direction: row;
|
|
516
521
|
padding: 4px;
|
|
517
|
-
margin:
|
|
518
|
-
margin-top: 12px;
|
|
522
|
+
margin: 12px;
|
|
519
523
|
color: var(--color-palette-search);
|
|
520
524
|
border: 1px solid var(--color-palette-search-border);
|
|
521
525
|
background-color: var(--color-palette-search-background);
|
|
@@ -570,56 +574,72 @@
|
|
|
570
574
|
}
|
|
571
575
|
|
|
572
576
|
.fjs-palette-container .fjs-palette-entries {
|
|
573
|
-
|
|
577
|
+
display: flex;
|
|
578
|
+
flex-direction: column;
|
|
574
579
|
overflow-x: hidden;
|
|
575
580
|
overflow-y: auto;
|
|
581
|
+
gap: 20px;
|
|
582
|
+
padding-bottom: 20px;
|
|
576
583
|
}
|
|
577
584
|
|
|
578
585
|
.fjs-palette-container .fjs-palette-group {
|
|
579
|
-
|
|
580
|
-
|
|
586
|
+
display: flex;
|
|
587
|
+
flex-direction: column;
|
|
588
|
+
width: 212px;
|
|
589
|
+
margin: auto;
|
|
581
590
|
}
|
|
582
591
|
|
|
583
592
|
.fjs-palette-container .fjs-palette-group-title {
|
|
584
593
|
font-size: 14px;
|
|
585
594
|
font-weight: 500;
|
|
595
|
+
margin-bottom: 4px;
|
|
586
596
|
color: var(--color-palette-group-title);
|
|
587
597
|
user-select: none;
|
|
588
598
|
}
|
|
589
599
|
|
|
590
600
|
.fjs-palette-container .fjs-palette-fields {
|
|
591
|
-
height: 100%;
|
|
592
601
|
display: flex;
|
|
593
602
|
flex-wrap: wrap;
|
|
594
|
-
gap:
|
|
603
|
+
gap: 10px;
|
|
595
604
|
}
|
|
596
605
|
|
|
597
606
|
.fjs-palette-field {
|
|
598
|
-
height:
|
|
599
|
-
margin: 5px 0;
|
|
607
|
+
height: 64px;
|
|
600
608
|
display: flex;
|
|
601
609
|
flex-direction: column;
|
|
602
610
|
justify-content: center;
|
|
603
611
|
font-size: 11px;
|
|
612
|
+
align-items: center;
|
|
613
|
+
border: none;
|
|
614
|
+
font-family: inherit;
|
|
604
615
|
user-select: none;
|
|
605
616
|
color: var(--color-palette-field);
|
|
606
|
-
background: var(--color-palette-field-background);
|
|
617
|
+
background-color: var(--color-palette-field-background);
|
|
618
|
+
outline: solid 1px var(--color-palette-field-border);
|
|
619
|
+
outline-offset: 0px;
|
|
620
|
+
transition: all ease-in-out 0.05s;
|
|
607
621
|
}
|
|
608
622
|
|
|
609
623
|
.fjs-palette-container .fjs-palette-field {
|
|
610
|
-
width:
|
|
624
|
+
width: 64px;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.fjs-palette-container .fjs-palette-field:focus {
|
|
628
|
+
outline: solid 1px var(--color-palette-field-focus);
|
|
611
629
|
}
|
|
612
630
|
|
|
613
|
-
.fjs-palette-field .fjs-palette-field-icon
|
|
631
|
+
.fjs-palette-field .fjs-palette-field-icon,
|
|
632
|
+
.fjs-palette-field .fjs-field-icon-image {
|
|
614
633
|
margin: 0 auto;
|
|
615
634
|
}
|
|
616
635
|
|
|
617
636
|
.fjs-palette-field .fjs-palette-field-text {
|
|
618
637
|
text-align: center;
|
|
638
|
+
width: inherit;
|
|
619
639
|
}
|
|
620
640
|
|
|
621
641
|
.fjs-palette-container .fjs-palette-field:hover {
|
|
622
|
-
|
|
642
|
+
outline: solid 1px var(--color-palette-field-hover-border);
|
|
623
643
|
cursor: var(--cursor-palette-field);
|
|
624
644
|
}
|
|
625
645
|
|
|
@@ -676,6 +696,10 @@
|
|
|
676
696
|
background: repeating-linear-gradient(45deg, #ffffff, #ffffff 10px, #f5f5f5 10px, #f5f5f5 20px);
|
|
677
697
|
}
|
|
678
698
|
|
|
699
|
+
.fjs-editor-container .fjs-form-field-separator hr {
|
|
700
|
+
margin: 10px 2px;
|
|
701
|
+
}
|
|
702
|
+
|
|
679
703
|
/**
|
|
680
704
|
* Custom Dragula Styles
|
|
681
705
|
*/
|
|
@@ -1334,7 +1358,8 @@ textarea.bio-properties-panel-input {
|
|
|
1334
1358
|
resize: vertical;
|
|
1335
1359
|
}
|
|
1336
1360
|
|
|
1337
|
-
.bio-properties-panel-entry.has-error .bio-properties-panel-input
|
|
1361
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-input,
|
|
1362
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-feel-editor__open-popup-placeholder {
|
|
1338
1363
|
border-color: var(--input-error-border-color);
|
|
1339
1364
|
background-color: var(--input-error-background-color);
|
|
1340
1365
|
}
|
|
@@ -1940,6 +1965,10 @@ textarea.bio-properties-panel-input {
|
|
|
1940
1965
|
border-radius: 3px;
|
|
1941
1966
|
}
|
|
1942
1967
|
|
|
1968
|
+
.bio-properties-panel-tooltip-content pre code {
|
|
1969
|
+
border: none;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1943
1972
|
.bio-properties-panel-tooltip p:first-child {
|
|
1944
1973
|
margin-top: 0;
|
|
1945
1974
|
}
|
|
@@ -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
|
}
|