@bpmn-io/form-js-editor 0.9.1 → 0.9.4
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/properties-panel.css +93 -7
- package/dist/index.cjs +3694 -1450
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +3696 -1452
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
--color-grey-225-10-95: hsl(225, 10%, 95%);
|
|
13
13
|
--color-grey-225-10-97: hsl(225, 10%, 97%);
|
|
14
14
|
|
|
15
|
+
--color-blue-205-100-35: hsl(205, 100%, 35%);
|
|
15
16
|
--color-blue-205-100-45: hsl(205, 100%, 45%);
|
|
16
17
|
--color-blue-205-100-50: hsl(205, 100%, 50%);
|
|
17
18
|
--color-blue-205-100-95: hsl(205, 100%, 95%);
|
|
@@ -98,6 +99,11 @@
|
|
|
98
99
|
--dropdown-item-hover-background-color: var(--color-grey-225-10-95);
|
|
99
100
|
--dropdown-separator-background-color: var(--color-grey-225-10-75);
|
|
100
101
|
|
|
102
|
+
--feel-active-color: var(--color-blue-205-100-35);
|
|
103
|
+
--feel-inactive-color: var(--color-grey-225-10-35);
|
|
104
|
+
|
|
105
|
+
--feel-indicator-background-color: var(--color-grey-225-10-90);
|
|
106
|
+
|
|
101
107
|
--text-size-base: 14px;
|
|
102
108
|
--text-size-small: 13px;
|
|
103
109
|
--text-size-smallest: 12px;
|
|
@@ -114,8 +120,11 @@
|
|
|
114
120
|
overflow: hidden;
|
|
115
121
|
}
|
|
116
122
|
|
|
117
|
-
.bio-properties-panel
|
|
123
|
+
.bio-properties-panel {
|
|
118
124
|
color: var(--text-base-color);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.bio-properties-panel * {
|
|
119
128
|
font-size: var(--text-size-base);
|
|
120
129
|
line-height: var(--text-line-height);
|
|
121
130
|
font-weight: 400;
|
|
@@ -167,7 +176,7 @@
|
|
|
167
176
|
background-color: var(--header-background-color);
|
|
168
177
|
border-bottom: 1px solid var(--header-bottom-border-color);
|
|
169
178
|
width: 100%;
|
|
170
|
-
z-index:
|
|
179
|
+
z-index: 10;
|
|
171
180
|
max-height: 64px;
|
|
172
181
|
overflow: hidden;
|
|
173
182
|
}
|
|
@@ -240,7 +249,7 @@
|
|
|
240
249
|
position: -webkit-sticky; /* for safari */
|
|
241
250
|
position: sticky;
|
|
242
251
|
top: 0;
|
|
243
|
-
z-index:
|
|
252
|
+
z-index: 10;
|
|
244
253
|
}
|
|
245
254
|
|
|
246
255
|
.bio-properties-panel-group-header .bio-properties-panel-group-header-title {
|
|
@@ -446,12 +455,19 @@ textarea.bio-properties-panel-input,
|
|
|
446
455
|
width: 100%;
|
|
447
456
|
}
|
|
448
457
|
|
|
449
|
-
.bio-properties-panel-input:focus
|
|
458
|
+
.bio-properties-panel-input:focus,
|
|
459
|
+
.bio-properties-panel-input:focus-within {
|
|
450
460
|
outline: none;
|
|
451
461
|
background-color: var(--input-focus-background-color);
|
|
452
462
|
border: 1px solid var(--input-focus-border-color);
|
|
453
463
|
}
|
|
454
464
|
|
|
465
|
+
.bio-properties-panel-textfield:focus-within,
|
|
466
|
+
.bio-properties-panel-feel-entry:focus-within {
|
|
467
|
+
--input-background-color: var(--input-focus-background-color);
|
|
468
|
+
--input-border-color: var(--input-focus-border-color);
|
|
469
|
+
}
|
|
470
|
+
|
|
455
471
|
.bio-properties-panel-input:disabled {
|
|
456
472
|
border-color: var(--input-disabled-border-color);
|
|
457
473
|
background-color: var(--input-disabled-background-color);
|
|
@@ -501,7 +517,12 @@ textarea.bio-properties-panel-input {
|
|
|
501
517
|
background-color: var(--input-error-background-color);
|
|
502
518
|
}
|
|
503
519
|
|
|
504
|
-
.bio-properties-panel-entry.has-error .bio-properties-panel-
|
|
520
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-feel-indicator {
|
|
521
|
+
border-color: var(--input-error-border-color);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-input:focus,
|
|
525
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-feel-indicator:focus {
|
|
505
526
|
border-color: var(--input-error-focus-border-color);
|
|
506
527
|
}
|
|
507
528
|
|
|
@@ -920,11 +941,76 @@ textarea.bio-properties-panel-input {
|
|
|
920
941
|
.bio-properties-panel-feel-icon {
|
|
921
942
|
display: inline-block;
|
|
922
943
|
height: 16px;
|
|
944
|
+
border-radius: 8px;
|
|
923
945
|
vertical-align: text-bottom;
|
|
924
|
-
padding: 0
|
|
946
|
+
padding: 0;
|
|
947
|
+
margin: 0 3px;
|
|
948
|
+
align-items: center;
|
|
949
|
+
align-self: center;
|
|
950
|
+
border: none;
|
|
951
|
+
background: none;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.bio-properties-panel-feel-icon.optional {
|
|
955
|
+
cursor: pointer;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.bio-properties-panel-feel-icon svg * {
|
|
959
|
+
color: var(--feel-inactive-color);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.bio-properties-panel-feel-icon.active svg * {
|
|
963
|
+
color: var(--feel-active-color);
|
|
925
964
|
}
|
|
926
965
|
|
|
927
966
|
.bio-properties-panel-feel-icon svg {
|
|
928
967
|
width: 16px;
|
|
929
968
|
height: 16px;
|
|
930
|
-
}
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
.bio-properties-panel-feel-editor-container {
|
|
972
|
+
position: relative;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.bio-properties-panel-feel-editor-container.active {
|
|
976
|
+
font-family: var(--font-family-monospace);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.bio-properties-panel-feel-container {
|
|
980
|
+
position: relative;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.bio-properties-panel-feel-container .bio-properties-panel-feel-editor-container>div {
|
|
984
|
+
position: static;
|
|
985
|
+
padding-left: 2.4em !important;
|
|
986
|
+
min-height: 28px;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.cm-scroller {
|
|
990
|
+
overflow: hidden !important;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.bio-properties-panel-feel-indicator {
|
|
994
|
+
position: absolute;
|
|
995
|
+
border: 1px solid var(--input-border-color);
|
|
996
|
+
background-color: var(--feel-indicator-background-color);
|
|
997
|
+
border-right: 0px;
|
|
998
|
+
border-radius: 2px 0 0 2px;
|
|
999
|
+
z-index: 1;
|
|
1000
|
+
height: 100%;
|
|
1001
|
+
width: 2em;
|
|
1002
|
+
text-align: center;
|
|
1003
|
+
padding: 2px 6px;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.bio-properties-panel-feel-editor-container .bio-properties-panel-input {
|
|
1007
|
+
resize: vertical;
|
|
1008
|
+
overflow: hidden;
|
|
1009
|
+
overflow-y: auto;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.bio-properties-panel-feel-editor-container,
|
|
1013
|
+
.bio-properties-panel-feel-editor-container .bio-properties-panel-input,
|
|
1014
|
+
.cm-editor {
|
|
1015
|
+
min-height: 100%;
|
|
1016
|
+
}
|