@bpmn-io/properties-panel 0.15.0 → 0.18.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/CHANGELOG.md +28 -1
- package/assets/properties-panel.css +93 -6
- package/dist/index.esm.js +4214 -209
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4217 -207
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,37 @@ All notable changes to [`@bpmn-io/properties-panel`](https://github.com/bpmn-io/
|
|
|
6
6
|
|
|
7
7
|
___Note:__ Yet to be released changes appear here._
|
|
8
8
|
|
|
9
|
+
## 0.18.0
|
|
10
|
+
|
|
11
|
+
* `FEAT`: pass variables to FEEL editor ([#171](https://github.com/bpmn-io/properties-panel/pull/171))
|
|
12
|
+
* `FIX`: add error class to text area with error ([#165](https://github.com/bpmn-io/properties-panel/issues/165))
|
|
13
|
+
* `CHORE`: revert sticky headers ([#172](https://github.com/bpmn-io/properties-panel/pull/172))
|
|
14
|
+
|
|
15
|
+
## 0.17.0
|
|
16
|
+
|
|
17
|
+
* `FEAT`: add `FeelEntry` component ([#158](https://github.com/bpmn-io/properties-panel/pull/158))
|
|
18
|
+
|
|
19
|
+
### BREAKING CHANGES
|
|
20
|
+
|
|
21
|
+
* `TextFieldEntry` and `TextAreaEntry` no longer support the `feel` prop.
|
|
22
|
+
Use `FeelEntry` or `FeelTextAreaEntry` instead.
|
|
23
|
+
|
|
24
|
+
## 0.16.0
|
|
25
|
+
|
|
26
|
+
* `FEAT`: set errors through context ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
27
|
+
* `FEAT`: useShowEntryEvent hook uses ID ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
28
|
+
* `FEAT`: useEvent hook subscribes immediately ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
29
|
+
* `FEAT`: add focus and error to text area ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
30
|
+
|
|
31
|
+
### BREAKING CHANGES
|
|
32
|
+
|
|
33
|
+
* useShowEntryEvent hook uses ID instead of callback
|
|
34
|
+
* useShowErrorEvent hook removed, add errors through context instead
|
|
35
|
+
|
|
9
36
|
## 0.15.0
|
|
10
37
|
|
|
11
38
|
* `FEAT`: pass props to `List` entries ([#157](https://github.com/bpmn-io/properties-panel/pull/157))
|
|
12
|
-
* `FIX`: correct
|
|
39
|
+
* `FIX`: correct cursor jumping on update ([#146](https://github.com/bpmn-io/properties-panel/issues/146))
|
|
13
40
|
* `CHORE`: use controlled inputs ([#155](https://github.com/bpmn-io/properties-panel/issues/155))
|
|
14
41
|
|
|
15
42
|
## 0.14.0
|
|
@@ -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;
|
|
@@ -237,8 +246,14 @@
|
|
|
237
246
|
justify-content: space-between;
|
|
238
247
|
margin-bottom: -1px; /* avoid double borders */
|
|
239
248
|
position: relative; /* browsers not supporting sticky */
|
|
240
|
-
|
|
241
|
-
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @pinussilvestrus Note: we exclude the sticky header feature until we
|
|
252
|
+
* find a proper fix for https://github.com/bpmn-io/bpmn-js-properties-panel/issues/726
|
|
253
|
+
*/
|
|
254
|
+
|
|
255
|
+
/* position: -webkit-sticky; /* for safari */
|
|
256
|
+
/* position: sticky; */
|
|
242
257
|
top: 0;
|
|
243
258
|
z-index: 1;
|
|
244
259
|
}
|
|
@@ -446,12 +461,19 @@ textarea.bio-properties-panel-input,
|
|
|
446
461
|
width: 100%;
|
|
447
462
|
}
|
|
448
463
|
|
|
449
|
-
.bio-properties-panel-input:focus
|
|
464
|
+
.bio-properties-panel-input:focus,
|
|
465
|
+
.bio-properties-panel-input:focus-within {
|
|
450
466
|
outline: none;
|
|
451
467
|
background-color: var(--input-focus-background-color);
|
|
452
468
|
border: 1px solid var(--input-focus-border-color);
|
|
453
469
|
}
|
|
454
470
|
|
|
471
|
+
.bio-properties-panel-textfield:focus-within,
|
|
472
|
+
.bio-properties-panel-feel-entry:focus-within {
|
|
473
|
+
--input-background-color: var(--input-focus-background-color);
|
|
474
|
+
--input-border-color: var(--input-focus-border-color);
|
|
475
|
+
}
|
|
476
|
+
|
|
455
477
|
.bio-properties-panel-input:disabled {
|
|
456
478
|
border-color: var(--input-disabled-border-color);
|
|
457
479
|
background-color: var(--input-disabled-background-color);
|
|
@@ -920,11 +942,76 @@ textarea.bio-properties-panel-input {
|
|
|
920
942
|
.bio-properties-panel-feel-icon {
|
|
921
943
|
display: inline-block;
|
|
922
944
|
height: 16px;
|
|
945
|
+
border-radius: 8px;
|
|
923
946
|
vertical-align: text-bottom;
|
|
924
|
-
padding: 0
|
|
947
|
+
padding: 0;
|
|
948
|
+
margin: 0 3px;
|
|
949
|
+
align-items: center;
|
|
950
|
+
align-self: center;
|
|
951
|
+
border: none;
|
|
952
|
+
background: none;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.bio-properties-panel-feel-icon.optional {
|
|
956
|
+
cursor: pointer;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
.bio-properties-panel-feel-icon svg * {
|
|
960
|
+
color: var(--feel-inactive-color);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.bio-properties-panel-feel-icon.active svg * {
|
|
964
|
+
color: var(--feel-active-color);
|
|
925
965
|
}
|
|
926
966
|
|
|
927
967
|
.bio-properties-panel-feel-icon svg {
|
|
928
968
|
width: 16px;
|
|
929
969
|
height: 16px;
|
|
930
|
-
}
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.bio-properties-panel-feel-editor-container {
|
|
973
|
+
position: relative;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.bio-properties-panel-feel-editor-container.active {
|
|
977
|
+
font-family: var(--font-family-monospace);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.bio-properties-panel-feel-container {
|
|
981
|
+
position: relative;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.bio-properties-panel-feel-container .bio-properties-panel-feel-editor-container>div {
|
|
985
|
+
position: static;
|
|
986
|
+
padding-left: 2.4em !important;
|
|
987
|
+
min-height: 28px;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.cm-scroller {
|
|
991
|
+
overflow: hidden !important;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.bio-properties-panel-feel-indicator {
|
|
995
|
+
position: absolute;
|
|
996
|
+
border: 1px solid var(--input-border-color);
|
|
997
|
+
background-color: var(--feel-indicator-background-color);
|
|
998
|
+
border-right: 0px;
|
|
999
|
+
border-radius: 2px 0 0 2px;
|
|
1000
|
+
z-index: 1;
|
|
1001
|
+
height: 100%;
|
|
1002
|
+
width: 2em;
|
|
1003
|
+
text-align: center;
|
|
1004
|
+
padding: 2px 6px;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
.bio-properties-panel-feel-editor-container .bio-properties-panel-input {
|
|
1008
|
+
resize: vertical;
|
|
1009
|
+
overflow: hidden;
|
|
1010
|
+
overflow-y: auto;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.bio-properties-panel-feel-editor-container,
|
|
1014
|
+
.bio-properties-panel-feel-editor-container .bio-properties-panel-input,
|
|
1015
|
+
.cm-editor {
|
|
1016
|
+
min-height: 100%;
|
|
1017
|
+
}
|