@bpmn-io/properties-panel 0.16.0 → 0.17.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 +9 -0
- package/assets/properties-panel.css +81 -3
- package/dist/index.esm.js +3981 -44
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3983 -42
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ 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.17.0
|
|
10
|
+
|
|
11
|
+
* `FEAT`: add `FeelEntry` component ([#158](https://github.com/bpmn-io/properties-panel/pull/158))
|
|
12
|
+
|
|
13
|
+
### BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* `TextFieldEntry` and `TextAreaEntry` no longer support the `feel` prop.
|
|
16
|
+
Use `FeelEntry` or `FeelTextAreaEntry` instead.
|
|
17
|
+
|
|
9
18
|
## 0.16.0
|
|
10
19
|
|
|
11
20
|
* `FEAT`: set errors through context ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
@@ -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;
|
|
@@ -446,12 +452,19 @@ textarea.bio-properties-panel-input,
|
|
|
446
452
|
width: 100%;
|
|
447
453
|
}
|
|
448
454
|
|
|
449
|
-
.bio-properties-panel-input:focus
|
|
455
|
+
.bio-properties-panel-input:focus,
|
|
456
|
+
.bio-properties-panel-input:focus-within {
|
|
450
457
|
outline: none;
|
|
451
458
|
background-color: var(--input-focus-background-color);
|
|
452
459
|
border: 1px solid var(--input-focus-border-color);
|
|
453
460
|
}
|
|
454
461
|
|
|
462
|
+
.bio-properties-panel-textfield:focus-within,
|
|
463
|
+
.bio-properties-panel-feel-entry:focus-within {
|
|
464
|
+
--input-background-color: var(--input-focus-background-color);
|
|
465
|
+
--input-border-color: var(--input-focus-border-color);
|
|
466
|
+
}
|
|
467
|
+
|
|
455
468
|
.bio-properties-panel-input:disabled {
|
|
456
469
|
border-color: var(--input-disabled-border-color);
|
|
457
470
|
background-color: var(--input-disabled-background-color);
|
|
@@ -920,11 +933,76 @@ textarea.bio-properties-panel-input {
|
|
|
920
933
|
.bio-properties-panel-feel-icon {
|
|
921
934
|
display: inline-block;
|
|
922
935
|
height: 16px;
|
|
936
|
+
border-radius: 8px;
|
|
923
937
|
vertical-align: text-bottom;
|
|
924
|
-
padding: 0
|
|
938
|
+
padding: 0;
|
|
939
|
+
margin: 0 3px;
|
|
940
|
+
align-items: center;
|
|
941
|
+
align-self: center;
|
|
942
|
+
border: none;
|
|
943
|
+
background: none;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.bio-properties-panel-feel-icon.optional {
|
|
947
|
+
cursor: pointer;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.bio-properties-panel-feel-icon svg * {
|
|
951
|
+
color: var(--feel-inactive-color);
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.bio-properties-panel-feel-icon.active svg * {
|
|
955
|
+
color: var(--feel-active-color);
|
|
925
956
|
}
|
|
926
957
|
|
|
927
958
|
.bio-properties-panel-feel-icon svg {
|
|
928
959
|
width: 16px;
|
|
929
960
|
height: 16px;
|
|
930
|
-
}
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.bio-properties-panel-feel-editor-container {
|
|
964
|
+
position: relative;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.bio-properties-panel-feel-editor-container.active {
|
|
968
|
+
font-family: var(--font-family-monospace);
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
.bio-properties-panel-feel-container {
|
|
972
|
+
position: relative;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.bio-properties-panel-feel-container .bio-properties-panel-feel-editor-container>div {
|
|
976
|
+
position: static;
|
|
977
|
+
padding-left: 2.4em !important;
|
|
978
|
+
min-height: 28px;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.cm-scroller {
|
|
982
|
+
overflow: hidden !important;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.bio-properties-panel-feel-indicator {
|
|
986
|
+
position: absolute;
|
|
987
|
+
border: 1px solid var(--input-border-color);
|
|
988
|
+
background-color: var(--feel-indicator-background-color);
|
|
989
|
+
border-right: 0px;
|
|
990
|
+
border-radius: 2px 0 0 2px;
|
|
991
|
+
z-index: 100;
|
|
992
|
+
height: 100%;
|
|
993
|
+
width: 2em;
|
|
994
|
+
text-align: center;
|
|
995
|
+
padding: 2px 6px;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.bio-properties-panel-feel-editor-container .bio-properties-panel-input {
|
|
999
|
+
resize: vertical;
|
|
1000
|
+
overflow: hidden;
|
|
1001
|
+
overflow-y: auto;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.bio-properties-panel-feel-editor-container,
|
|
1005
|
+
.bio-properties-panel-feel-editor-container .bio-properties-panel-input,
|
|
1006
|
+
.cm-editor {
|
|
1007
|
+
min-height: 100%;
|
|
1008
|
+
}
|