@knime/hub-features 1.14.1 → 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
@@ -1,5 +1,20 @@
1
1
  # @knime/hub-features
2
2
 
3
+ ## 1.14.3
4
+
5
+ ### Patch Changes
6
+
7
+ - a771f90: Add SideDrawerControls to the CreateVersionForm component
8
+ - Updated dependencies [a771f90]
9
+ - @knime/components@1.37.1
10
+
11
+ ## 1.14.2
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [1b3973e]
16
+ - @knime/components@1.37.0
17
+
3
18
  ## 1.14.1
4
19
 
5
20
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/hub-features",
3
- "version": "1.14.1",
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.36.1",
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
- LoadingIcon,
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
- <Button
90
- with-border
91
- compact
92
- class="button cancel"
93
- @click="$emit('cancel', hasUnsavedChanges)"
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
- @click="onCreate"
103
- >
104
- <LoadingIcon v-if="isCreationPending" />
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>