@bpmn-io/form-js-editor 0.15.0-alpha.0 → 1.0.0-alpha.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/dist/assets/form-js-editor-base.css +16 -2
- package/dist/assets/form-js-editor.css +90 -19
- package/dist/index.cjs +438 -134
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +440 -136
- package/dist/index.es.js.map +1 -1
- package/dist/types/features/properties-panel/entries/ReadonlyEntry.d.ts +9 -0
- package/dist/types/features/properties-panel/entries/index.d.ts +1 -0
- package/package.json +4 -4
|
@@ -189,8 +189,11 @@
|
|
|
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-
|
|
192
|
+
--feel-background-color: var(--cds-field-02, var(--color-grey-225-10-97));
|
|
193
|
+
--feel-active-color: var(--cds-interactive, var(--color-blue-205-100-45));
|
|
193
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
197
|
|
|
195
198
|
--feel-indicator-background-color: var(--cds-background-hover, var(--color-grey-225-10-90));
|
|
196
199
|
}
|
|
@@ -247,8 +250,10 @@
|
|
|
247
250
|
background-color: var(--color-children-selected-background);
|
|
248
251
|
}
|
|
249
252
|
|
|
250
|
-
.fjs-editor-container .fjs-children .fjs-element:hover
|
|
253
|
+
.fjs-editor-container .fjs-children .fjs-element:hover,
|
|
254
|
+
.fjs-editor-container .fjs-children .fjs-element:focus-within {
|
|
251
255
|
border-color: var(--color-children-hover-border);
|
|
256
|
+
outline: none;
|
|
252
257
|
}
|
|
253
258
|
|
|
254
259
|
.fjs-editor-container .fjs-input:disabled,
|
|
@@ -259,6 +264,10 @@
|
|
|
259
264
|
pointer-events: none;
|
|
260
265
|
}
|
|
261
266
|
|
|
267
|
+
.fjs-editor-container .fjs-readonly {
|
|
268
|
+
pointer-events: none;
|
|
269
|
+
}
|
|
270
|
+
|
|
262
271
|
.fjs-editor-container .fjs-drag-container,
|
|
263
272
|
.fjs-editor-container .fjs-drop-container-vertical {
|
|
264
273
|
user-select: none;
|
|
@@ -415,6 +424,11 @@
|
|
|
415
424
|
color: var(--color-context-pad-item-hover-fill);
|
|
416
425
|
}
|
|
417
426
|
|
|
427
|
+
.fjs-editor-container .fjs-context-pad-item:focus-visible {
|
|
428
|
+
outline: 2px solid var(--color-children-selected-border);
|
|
429
|
+
border-radius: 2px;
|
|
430
|
+
}
|
|
431
|
+
|
|
418
432
|
/**
|
|
419
433
|
* Palette
|
|
420
434
|
*/
|
|
@@ -168,8 +168,11 @@
|
|
|
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-
|
|
171
|
+
--feel-background-color: var(--cds-field-02, var(--color-grey-225-10-97));
|
|
172
|
+
--feel-active-color: var(--cds-interactive, var(--color-blue-205-100-45));
|
|
172
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
176
|
--feel-indicator-background-color: var(--cds-background-hover, var(--color-grey-225-10-90));
|
|
174
177
|
}
|
|
175
178
|
|
|
@@ -225,8 +228,10 @@
|
|
|
225
228
|
background-color: var(--color-children-selected-background);
|
|
226
229
|
}
|
|
227
230
|
|
|
228
|
-
.fjs-editor-container .fjs-children .fjs-element:hover
|
|
231
|
+
.fjs-editor-container .fjs-children .fjs-element:hover,
|
|
232
|
+
.fjs-editor-container .fjs-children .fjs-element:focus-within {
|
|
229
233
|
border-color: var(--color-children-hover-border);
|
|
234
|
+
outline: none;
|
|
230
235
|
}
|
|
231
236
|
|
|
232
237
|
.fjs-editor-container .fjs-input:disabled,
|
|
@@ -237,6 +242,10 @@
|
|
|
237
242
|
pointer-events: none;
|
|
238
243
|
}
|
|
239
244
|
|
|
245
|
+
.fjs-editor-container .fjs-readonly {
|
|
246
|
+
pointer-events: none;
|
|
247
|
+
}
|
|
248
|
+
|
|
240
249
|
.fjs-editor-container .fjs-drag-container,
|
|
241
250
|
.fjs-editor-container .fjs-drop-container-vertical {
|
|
242
251
|
user-select: none;
|
|
@@ -391,6 +400,11 @@
|
|
|
391
400
|
color: var(--color-context-pad-item-hover-fill);
|
|
392
401
|
}
|
|
393
402
|
|
|
403
|
+
.fjs-editor-container .fjs-context-pad-item:focus-visible {
|
|
404
|
+
outline: 2px solid var(--color-children-selected-border);
|
|
405
|
+
border-radius: 2px;
|
|
406
|
+
}
|
|
407
|
+
|
|
394
408
|
/**
|
|
395
409
|
* Palette
|
|
396
410
|
*/
|
|
@@ -782,8 +796,11 @@
|
|
|
782
796
|
--dropdown-item-background-color: var(--color-white);
|
|
783
797
|
--dropdown-item-hover-background-color: var(--color-grey-225-10-95);
|
|
784
798
|
--dropdown-separator-background-color: var(--color-grey-225-10-75);
|
|
785
|
-
--feel-
|
|
799
|
+
--feel-background-color: var(--color-grey-225-10-95);
|
|
800
|
+
--feel-active-color: var(--color-blue-205-100-45);
|
|
786
801
|
--feel-inactive-color: var(--color-grey-225-10-35);
|
|
802
|
+
--feel-hover-background-color: var(--color-grey-225-10-90);
|
|
803
|
+
--feel-active-background-color: var(--color-grey-225-10-95);
|
|
787
804
|
--feel-indicator-background-color: var(--color-grey-225-10-90);
|
|
788
805
|
--text-size-base: 14px;
|
|
789
806
|
--text-size-small: 13px;
|
|
@@ -792,7 +809,9 @@
|
|
|
792
809
|
--line-height-condensed: 17px;
|
|
793
810
|
--font-family: sans-serif;
|
|
794
811
|
--font-family-monospace: monospace;
|
|
795
|
-
display:
|
|
812
|
+
display: flex;
|
|
813
|
+
flex-direction: column;
|
|
814
|
+
flex: 1;
|
|
796
815
|
position: relative;
|
|
797
816
|
height: 100%;
|
|
798
817
|
width: 100%;
|
|
@@ -814,12 +833,6 @@
|
|
|
814
833
|
font-family: var(--font-family);
|
|
815
834
|
}
|
|
816
835
|
|
|
817
|
-
.bio-properties-panel.open {
|
|
818
|
-
display: flex;
|
|
819
|
-
flex-direction: column;
|
|
820
|
-
flex: 1;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
836
|
/**
|
|
824
837
|
* Placeholder (empty, multi select, ...)
|
|
825
838
|
*/
|
|
@@ -1194,7 +1207,7 @@ select.bio-properties-panel-input {
|
|
|
1194
1207
|
}
|
|
1195
1208
|
|
|
1196
1209
|
.bio-properties-panel-input[type=checkbox]:focus {
|
|
1197
|
-
outline:
|
|
1210
|
+
outline: 2px solid var(--input-focus-border-color);
|
|
1198
1211
|
outline-offset: 0;
|
|
1199
1212
|
}
|
|
1200
1213
|
|
|
@@ -1264,10 +1277,23 @@ textarea.bio-properties-panel-input {
|
|
|
1264
1277
|
align-items: center;
|
|
1265
1278
|
}
|
|
1266
1279
|
|
|
1280
|
+
.bio-properties-panel-toggle-switch.inline {
|
|
1281
|
+
display: flex;
|
|
1282
|
+
flex-direction: row;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
.bio-properties-panel-toggle-switch.inline .bio-properties-panel-field-wrapper {
|
|
1286
|
+
margin-left: auto;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1267
1289
|
.bio-properties-panel-toggle-switch > .bio-properties-panel-label {
|
|
1268
1290
|
font-size: var(--text-size-base);
|
|
1269
1291
|
}
|
|
1270
1292
|
|
|
1293
|
+
.bio-properties-panel-toggle-switch.inline > .bio-properties-panel-label {
|
|
1294
|
+
font-size: var(--text-size-small);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1271
1297
|
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__label {
|
|
1272
1298
|
margin: 0;
|
|
1273
1299
|
margin-left: 6px;
|
|
@@ -1280,6 +1306,11 @@ textarea.bio-properties-panel-input {
|
|
|
1280
1306
|
height: 16px;
|
|
1281
1307
|
}
|
|
1282
1308
|
|
|
1309
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher:focus-within {
|
|
1310
|
+
outline: 2px solid var(--input-focus-border-color);
|
|
1311
|
+
outline-offset: 1px;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1283
1314
|
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type=checkbox] {
|
|
1284
1315
|
opacity: 0;
|
|
1285
1316
|
width: 0;
|
|
@@ -1288,6 +1319,7 @@ textarea.bio-properties-panel-input {
|
|
|
1288
1319
|
|
|
1289
1320
|
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider {
|
|
1290
1321
|
position: absolute;
|
|
1322
|
+
cursor: pointer;
|
|
1291
1323
|
top: 0;
|
|
1292
1324
|
left: 0;
|
|
1293
1325
|
right: 0;
|
|
@@ -1634,34 +1666,56 @@ textarea.bio-properties-panel-input {
|
|
|
1634
1666
|
padding-right: 2em;
|
|
1635
1667
|
}
|
|
1636
1668
|
|
|
1669
|
+
.bio-properties-panel-feel-entry .bio-properties-panel-label {
|
|
1670
|
+
display: flex;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1637
1673
|
.bio-properties-panel-feel-icon {
|
|
1638
|
-
display: inline-
|
|
1639
|
-
height:
|
|
1640
|
-
|
|
1674
|
+
display: inline-flex;
|
|
1675
|
+
height: 22px;
|
|
1676
|
+
width: 22px;
|
|
1641
1677
|
vertical-align: text-bottom;
|
|
1642
1678
|
padding: 0;
|
|
1643
1679
|
margin: 0 3px;
|
|
1644
1680
|
align-items: center;
|
|
1645
1681
|
align-self: center;
|
|
1682
|
+
justify-content: center;
|
|
1646
1683
|
border: none;
|
|
1647
1684
|
background: none;
|
|
1685
|
+
border-radius: 3px;
|
|
1648
1686
|
}
|
|
1649
1687
|
|
|
1650
1688
|
.bio-properties-panel-feel-icon.optional {
|
|
1651
1689
|
cursor: pointer;
|
|
1690
|
+
background: var(--feel-background-color);
|
|
1652
1691
|
}
|
|
1653
1692
|
|
|
1654
1693
|
.bio-properties-panel-feel-icon svg * {
|
|
1655
|
-
|
|
1694
|
+
fill: var(--feel-inactive-color);
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
.bio-properties-panel-feel-icon:hover {
|
|
1698
|
+
background: var(--feel-hover-background-color);
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
.bio-properties-panel-feel-icon.active {
|
|
1702
|
+
background: var(--feel-active-background-color);
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
.bio-properties-panel-feel-icon.active:hover {
|
|
1706
|
+
background: var(--feel-hover-background-color);
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
.bio-properties-panel-feel-icon.required.active {
|
|
1710
|
+
background: none;
|
|
1656
1711
|
}
|
|
1657
1712
|
|
|
1658
1713
|
.bio-properties-panel-feel-icon.active svg * {
|
|
1659
|
-
|
|
1714
|
+
fill: var(--feel-active-color);
|
|
1660
1715
|
}
|
|
1661
1716
|
|
|
1662
|
-
.bio-properties-panel-feel-icon svg {
|
|
1663
|
-
|
|
1664
|
-
height: 16px;
|
|
1717
|
+
.bio-properties-panel-feel-icon.required.active svg * {
|
|
1718
|
+
fill: var(--feel-inactive-color);
|
|
1665
1719
|
}
|
|
1666
1720
|
|
|
1667
1721
|
.bio-properties-panel-feel-editor-container {
|
|
@@ -1718,3 +1772,20 @@ textarea.bio-properties-panel-input {
|
|
|
1718
1772
|
.bio-properties-panel-feel-container .cm-editor {
|
|
1719
1773
|
min-height: 100%;
|
|
1720
1774
|
}
|
|
1775
|
+
|
|
1776
|
+
.bio-properties-panel-feel-checkbox,
|
|
1777
|
+
.bio-properties-panel-feel-toggle-switch {
|
|
1778
|
+
padding-top: 1px;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
.bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active),
|
|
1782
|
+
.bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) {
|
|
1783
|
+
display: flex;
|
|
1784
|
+
flex-direction: row;
|
|
1785
|
+
align-items: center;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
.bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container,
|
|
1789
|
+
.bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container {
|
|
1790
|
+
margin-left: auto;
|
|
1791
|
+
}
|