@knime/hub-features 1.14.2 → 1.14.3
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
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/hub-features",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.3",
|
|
4
4
|
"description": "Vue components & composables for shared hub features",
|
|
5
5
|
"homepage": "https://knime.github.io/webapps-common/",
|
|
6
6
|
"license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"lodash-es": "4.17.21",
|
|
32
32
|
"ofetch": "^1.4.1",
|
|
33
33
|
"typescript": "^5.8.3",
|
|
34
|
-
"@knime/components": "1.37.
|
|
34
|
+
"@knime/components": "1.37.1",
|
|
35
35
|
"@knime/styles": "1.11.1",
|
|
36
36
|
"@knime/utils": "1.5.5"
|
|
37
37
|
},
|
|
@@ -3,10 +3,9 @@ import { computed, nextTick, onMounted, ref } from "vue";
|
|
|
3
3
|
import { useTextareaAutosize } from "@vueuse/core";
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
Button,
|
|
7
6
|
InputField,
|
|
8
7
|
Label,
|
|
9
|
-
|
|
8
|
+
SideDrawerControls,
|
|
10
9
|
SideDrawerHeader,
|
|
11
10
|
TextArea,
|
|
12
11
|
} from "@knime/components";
|
|
@@ -86,24 +85,15 @@ const onCreate = async () => {
|
|
|
86
85
|
/>
|
|
87
86
|
</Label>
|
|
88
87
|
<div class="controls">
|
|
89
|
-
<
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
>
|
|
95
|
-
<strong>Cancel</strong>
|
|
96
|
-
</Button>
|
|
97
|
-
<Button
|
|
98
|
-
primary
|
|
99
|
-
compact
|
|
100
|
-
class="button create"
|
|
88
|
+
<SideDrawerControls
|
|
89
|
+
class="create-version-controls"
|
|
90
|
+
:edit-enabled="true"
|
|
91
|
+
:processing="isCreationPending"
|
|
92
|
+
action-label="Create"
|
|
101
93
|
:disabled="isVersionNameInvalid || isCreationPending"
|
|
102
|
-
@
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<strong v-if="!isCreationPending">Create</strong>
|
|
106
|
-
</Button>
|
|
94
|
+
@save="onCreate"
|
|
95
|
+
@cancel="$emit('cancel', hasUnsavedChanges)"
|
|
96
|
+
/>
|
|
107
97
|
</div>
|
|
108
98
|
</div>
|
|
109
99
|
</div>
|
|
@@ -153,14 +143,13 @@ const onCreate = async () => {
|
|
|
153
143
|
}
|
|
154
144
|
|
|
155
145
|
& .controls {
|
|
156
|
-
border-top: 1px solid var(--knime-silver-sand);
|
|
157
|
-
display: flex;
|
|
158
146
|
margin: 0 -30px;
|
|
159
|
-
padding: 10px 20px;
|
|
160
|
-
gap: 10px;
|
|
161
|
-
justify-content: space-between;
|
|
162
147
|
margin-top: auto;
|
|
163
148
|
}
|
|
149
|
+
|
|
150
|
+
.create-version-controls {
|
|
151
|
+
margin: 0;
|
|
152
|
+
}
|
|
164
153
|
}
|
|
165
154
|
}
|
|
166
155
|
</style>
|