@bpmn-io/form-js-editor 1.0.0-alpha.1 → 1.0.0-alpha.10

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.
Files changed (26) hide show
  1. package/dist/assets/dragula.css +22 -0
  2. package/dist/assets/form-js-editor-base.css +17 -4
  3. package/dist/assets/form-js-editor.css +28 -9
  4. package/dist/assets/properties-panel.css +1115 -0
  5. package/dist/index.cjs +7929 -7572
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.es.js +7999 -7660
  8. package/dist/index.es.js.map +1 -1
  9. package/dist/types/FormEditor.d.ts +1 -1
  10. package/dist/types/features/SectionModuleBase.d.ts +6 -1
  11. package/dist/types/features/properties-panel/PropertiesPanel.d.ts +1 -1
  12. package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +37 -0
  13. package/dist/types/features/properties-panel/components/AutoFocusSelect.d.ts +1 -0
  14. package/dist/types/features/properties-panel/components/index.d.ts +1 -0
  15. package/dist/types/features/properties-panel/context/FormPropertiesPanelContext.d.ts +11 -0
  16. package/dist/types/features/properties-panel/context/index.d.ts +1 -0
  17. package/dist/types/features/properties-panel/entries/ValuesExpressionEntry.d.ts +10 -0
  18. package/dist/types/features/properties-panel/entries/ValuesSourceSelectEntry.d.ts +1 -1
  19. package/dist/types/features/properties-panel/entries/index.d.ts +1 -0
  20. package/dist/types/features/properties-panel/hooks/index.d.ts +1 -1
  21. package/dist/types/features/properties-panel/hooks/usePropertiesPanelService.d.ts +1 -0
  22. package/dist/types/features/properties-panel/index.d.ts +1 -1
  23. package/dist/types/features/render-injection/slot-fill/Slot.d.ts +1 -0
  24. package/package.json +6 -4
  25. package/dist/types/features/properties-panel/PropertiesPanelModule.d.ts +0 -8
  26. package/dist/types/features/properties-panel/hooks/useService.d.ts +0 -2
@@ -0,0 +1,22 @@
1
+ .gu-mirror {
2
+ position: fixed !important;
3
+ margin: 0 !important;
4
+ z-index: 9999 !important;
5
+ opacity: 0.8;
6
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
7
+ filter: alpha(opacity=80);
8
+ }
9
+ .gu-hide {
10
+ display: none !important;
11
+ }
12
+ .gu-unselectable {
13
+ -webkit-user-select: none !important;
14
+ -moz-user-select: none !important;
15
+ -ms-user-select: none !important;
16
+ user-select: none !important;
17
+ }
18
+ .gu-transit {
19
+ opacity: 0.2;
20
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
21
+ filter: alpha(opacity=20);
22
+ }
@@ -189,11 +189,13 @@
189
189
  --list-entry-add-entry-background-color: var(--cds-interactive, var(--color-blue-205-100-50));
190
190
  --list-entry-add-entry-fill-color: var(--cds-icon-inverse, var(--color-white));
191
191
 
192
- --feel-background-color: var(--cds-field-02, var(--color-grey-225-10-97));
192
+ --feel-background-color: transparent;
193
193
  --feel-active-color: var(--cds-interactive, var(--color-blue-205-100-45));
194
- --feel-inactive-color: var(--cds-text-secondary, var(--color-grey-225-10-35));
195
- --feel-hover-background-color: var(--cds-field-hover-02, var(--color-grey-225-10-90));
196
- --feel-active-background-color: var(--cds-field-02, var(--color-grey-225-10-97));
194
+ --feel-inactive-color: var(--cds-icon-secondary, var(--color-grey-225-10-35));
195
+ --feel-hover-color: var(--cds-icon-primary, var(--color-grey-225-10-15));
196
+ --feel-hover-background-color: var(--cds-layer-02, var(--color-grey-225-10-97));
197
+ --feel-active-background-color: transparent;
198
+ --feel-required-color: var(--cds-icon-disabled, var(--color-grey-225-10-55));
197
199
 
198
200
  --feel-indicator-background-color: var(--cds-background-hover, var(--color-grey-225-10-90));
199
201
  }
@@ -465,6 +467,17 @@
465
467
  user-select: none;
466
468
  }
467
469
 
470
+ .fjs-palette-container .fjs-palette-footer {
471
+ display: flex;
472
+ flex-direction: column;
473
+ align-items: center;
474
+ }
475
+
476
+ .fjs-palette-container .fjs-palette-footer .fjs-palette-footer-fill {
477
+ padding: 10px;
478
+ width: 100%;
479
+ }
480
+
468
481
  .fjs-palette-container .fjs-palette-search-container {
469
482
  display: flex;
470
483
  flex-direction: row;
@@ -168,11 +168,13 @@
168
168
  --list-entry-add-entry-label-color: var(--cds-text-inverse, var(--color-white));
169
169
  --list-entry-add-entry-background-color: var(--cds-interactive, var(--color-blue-205-100-50));
170
170
  --list-entry-add-entry-fill-color: var(--cds-icon-inverse, var(--color-white));
171
- --feel-background-color: var(--cds-field-02, var(--color-grey-225-10-97));
171
+ --feel-background-color: transparent;
172
172
  --feel-active-color: var(--cds-interactive, var(--color-blue-205-100-45));
173
- --feel-inactive-color: var(--cds-text-secondary, var(--color-grey-225-10-35));
174
- --feel-hover-background-color: var(--cds-field-hover-02, var(--color-grey-225-10-90));
175
- --feel-active-background-color: var(--cds-field-02, var(--color-grey-225-10-97));
173
+ --feel-inactive-color: var(--cds-icon-secondary, var(--color-grey-225-10-35));
174
+ --feel-hover-color: var(--cds-icon-primary, var(--color-grey-225-10-15));
175
+ --feel-hover-background-color: var(--cds-layer-02, var(--color-grey-225-10-97));
176
+ --feel-active-background-color: transparent;
177
+ --feel-required-color: var(--cds-icon-disabled, var(--color-grey-225-10-55));
176
178
  --feel-indicator-background-color: var(--cds-background-hover, var(--color-grey-225-10-90));
177
179
  }
178
180
 
@@ -441,6 +443,17 @@
441
443
  user-select: none;
442
444
  }
443
445
 
446
+ .fjs-palette-container .fjs-palette-footer {
447
+ display: flex;
448
+ flex-direction: column;
449
+ align-items: center;
450
+ }
451
+
452
+ .fjs-palette-container .fjs-palette-footer .fjs-palette-footer-fill {
453
+ padding: 10px;
454
+ width: 100%;
455
+ }
456
+
444
457
  .fjs-palette-container .fjs-palette-search-container {
445
458
  display: flex;
446
459
  flex-direction: row;
@@ -801,11 +814,13 @@
801
814
  --dropdown-item-background-color: var(--color-white);
802
815
  --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
803
816
  --dropdown-separator-background-color: var(--color-grey-225-10-75);
804
- --feel-background-color: var(--color-grey-225-10-95);
817
+ --feel-background-color: transparent;
805
818
  --feel-active-color: var(--color-blue-205-100-45);
806
819
  --feel-inactive-color: var(--color-grey-225-10-35);
807
- --feel-hover-background-color: var(--color-grey-225-10-90);
808
- --feel-active-background-color: var(--color-grey-225-10-95);
820
+ --feel-hover-color: var(--color-grey-225-10-15);
821
+ --feel-hover-background-color: var(--color-grey-225-10-97);
822
+ --feel-active-background-color: transparent;
823
+ --feel-required-color: var(--color-grey-225-10-55);
809
824
  --feel-indicator-background-color: var(--color-grey-225-10-90);
810
825
  --text-size-base: 14px;
811
826
  --text-size-small: 13px;
@@ -1677,7 +1692,7 @@ textarea.bio-properties-panel-input {
1677
1692
 
1678
1693
  .bio-properties-panel-feel-icon {
1679
1694
  display: inline-flex;
1680
- height: 22px;
1695
+ height: 18px;
1681
1696
  width: 22px;
1682
1697
  vertical-align: text-bottom;
1683
1698
  padding: 0;
@@ -1703,6 +1718,10 @@ textarea.bio-properties-panel-input {
1703
1718
  background: var(--feel-hover-background-color);
1704
1719
  }
1705
1720
 
1721
+ .bio-properties-panel-feel-icon:hover svg * {
1722
+ fill: var(--feel-hover-color);
1723
+ }
1724
+
1706
1725
  .bio-properties-panel-feel-icon.active {
1707
1726
  background: var(--feel-active-background-color);
1708
1727
  }
@@ -1720,7 +1739,7 @@ textarea.bio-properties-panel-input {
1720
1739
  }
1721
1740
 
1722
1741
  .bio-properties-panel-feel-icon.required.active svg * {
1723
- fill: var(--feel-inactive-color);
1742
+ fill: var(--feel-required-color);
1724
1743
  }
1725
1744
 
1726
1745
  .bio-properties-panel-feel-editor-container {