@bpmn-io/properties-panel 0.15.0-feelEditor.1 → 0.16.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 +18 -0
- package/assets/properties-panel.css +3 -82
- package/dist/index.esm.js +234 -4102
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +233 -4104
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,24 @@ 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.16.0
|
|
10
|
+
|
|
11
|
+
* `FEAT`: set errors through context ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
12
|
+
* `FEAT`: useShowEntryEvent hook uses ID ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
13
|
+
* `FEAT`: useEvent hook subscribes immediately ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
14
|
+
* `FEAT`: add focus and error to text area ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
|
|
15
|
+
|
|
16
|
+
### BREAKING CHANGES
|
|
17
|
+
|
|
18
|
+
* useShowEntryEvent hook uses ID instead of callback
|
|
19
|
+
* useShowErrorEvent hook removed, add errors through context instead
|
|
20
|
+
|
|
21
|
+
## 0.15.0
|
|
22
|
+
|
|
23
|
+
* `FEAT`: pass props to `List` entries ([#157](https://github.com/bpmn-io/properties-panel/pull/157))
|
|
24
|
+
* `FIX`: correct cursor jumping on update ([#146](https://github.com/bpmn-io/properties-panel/issues/146))
|
|
25
|
+
* `CHORE`: use controlled inputs ([#155](https://github.com/bpmn-io/properties-panel/issues/155))
|
|
26
|
+
|
|
9
27
|
## 0.14.0
|
|
10
28
|
|
|
11
29
|
* `FEAT`: enable multiple and empty state ([#69](https://github.com/bpmn-io/properties-panel/issues/69))
|
|
@@ -12,7 +12,6 @@
|
|
|
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%);
|
|
16
15
|
--color-blue-205-100-45: hsl(205, 100%, 45%);
|
|
17
16
|
--color-blue-205-100-50: hsl(205, 100%, 50%);
|
|
18
17
|
--color-blue-205-100-95: hsl(205, 100%, 95%);
|
|
@@ -99,10 +98,6 @@
|
|
|
99
98
|
--dropdown-item-hover-background-color: var(--color-grey-225-10-95);
|
|
100
99
|
--dropdown-separator-background-color: var(--color-grey-225-10-75);
|
|
101
100
|
|
|
102
|
-
--svg-stroke-color: var(--color-grey-225-10-35);
|
|
103
|
-
|
|
104
|
-
--feel-indicator-background-color: var(--color-grey-225-10-90);
|
|
105
|
-
|
|
106
101
|
--text-size-base: 14px;
|
|
107
102
|
--text-size-small: 13px;
|
|
108
103
|
--text-size-smallest: 12px;
|
|
@@ -451,19 +446,12 @@ textarea.bio-properties-panel-input,
|
|
|
451
446
|
width: 100%;
|
|
452
447
|
}
|
|
453
448
|
|
|
454
|
-
.bio-properties-panel-input:focus
|
|
455
|
-
.bio-properties-panel-input:focus-within {
|
|
449
|
+
.bio-properties-panel-input:focus {
|
|
456
450
|
outline: none;
|
|
457
451
|
background-color: var(--input-focus-background-color);
|
|
458
452
|
border: 1px solid var(--input-focus-border-color);
|
|
459
453
|
}
|
|
460
454
|
|
|
461
|
-
.bio-properties-panel-textfield:focus-within,
|
|
462
|
-
.bio-properties-panel-feel-entry:focus-within {
|
|
463
|
-
--input-background-color: var(--input-focus-background-color);
|
|
464
|
-
--input-border-color: var(--input-focus-border-color);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
455
|
.bio-properties-panel-input:disabled {
|
|
468
456
|
border-color: var(--input-disabled-border-color);
|
|
469
457
|
background-color: var(--input-disabled-background-color);
|
|
@@ -933,77 +921,10 @@ textarea.bio-properties-panel-input {
|
|
|
933
921
|
display: inline-block;
|
|
934
922
|
height: 16px;
|
|
935
923
|
vertical-align: text-bottom;
|
|
936
|
-
padding: 0;
|
|
937
|
-
margin: 0 3px;
|
|
938
|
-
justify-content: center;
|
|
939
|
-
align-items: center;
|
|
940
|
-
align-self: center;
|
|
941
|
-
border: none;
|
|
942
|
-
background: none;
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
.bio-properties-panel-feel-icon.optional {
|
|
946
|
-
cursor: pointer;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
.bio-properties-panel-feel-icon.active {
|
|
950
|
-
color: var(--add-entry-hover-background-color);
|
|
951
|
-
--svg-stroke-color: var(--color-blue-205-100-35);
|
|
924
|
+
padding: 0 3px;
|
|
952
925
|
}
|
|
953
926
|
|
|
954
927
|
.bio-properties-panel-feel-icon svg {
|
|
955
928
|
width: 16px;
|
|
956
929
|
height: 16px;
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
.bio-properties-panel-feel-editor-container {
|
|
960
|
-
position: relative;
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
.bio-properties-panel-feel-editor-container.active {
|
|
964
|
-
font-family: var(--font-family-monospace);
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
.bio-properties-panel-feel-container {
|
|
968
|
-
position: relative;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
.bio-properties-panel-feel-container .bio-properties-panel-feel-editor-container>div {
|
|
972
|
-
position: static;
|
|
973
|
-
padding-left: 2.4em !important;
|
|
974
|
-
min-height: 28px;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
.cm-scroller {
|
|
978
|
-
overflow: hidden !important;
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
.FeelToggle {
|
|
982
|
-
position: absolute;
|
|
983
|
-
height: 100%;
|
|
984
|
-
width: 2em;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
.FeelToggle button {
|
|
988
|
-
position: absolute;
|
|
989
|
-
right: auto;
|
|
990
|
-
border: 1px solid var(--input-border-color);
|
|
991
|
-
background-color: var(--feel-indicator-background-color);
|
|
992
|
-
border-right: 0px;
|
|
993
|
-
border-radius: 2px 0 0 2px;
|
|
994
|
-
z-index: 100;
|
|
995
|
-
height: 100%;
|
|
996
|
-
width: 2em;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
.bio-properties-panel-feel-editor-container .bio-properties-panel-input {
|
|
1000
|
-
resize: vertical;
|
|
1001
|
-
overflow: hidden;
|
|
1002
|
-
overflow-y: auto;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
.bio-properties-panel-feel-editor-container,
|
|
1006
|
-
.bio-properties-panel-feel-editor-container .bio-properties-panel-input,
|
|
1007
|
-
.cm-editor {
|
|
1008
|
-
min-height: 100%;
|
|
1009
|
-
}
|
|
930
|
+
}
|