@knime/kds-components 0.28.10 → 0.29.1
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 +44 -0
- package/dist/index.css +419 -201
- package/dist/index.js +9964 -2063
- package/dist/index.js.map +1 -1
- package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts +1023 -0
- package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/FileExplorerItemBack.vue.d.ts +6 -0
- package/dist/src/containers/FileExplorer/FileExplorerItemBack.vue.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/FileExplorerItemBase.vue.d.ts +31 -0
- package/dist/src/containers/FileExplorer/FileExplorerItemBase.vue.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts +1670 -0
- package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/enums.d.ts +12 -0
- package/dist/src/containers/FileExplorer/enums.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/index.d.ts +4 -0
- package/dist/src/containers/FileExplorer/index.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/multiSelection/index.d.ts +3 -0
- package/dist/src/containers/FileExplorer/multiSelection/index.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/multiSelection/multiSelectionStateService.d.ts +67 -0
- package/dist/src/containers/FileExplorer/multiSelection/multiSelectionStateService.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/multiSelection/useFocusableMultiSelection.d.ts +19 -0
- package/dist/src/containers/FileExplorer/multiSelection/useFocusableMultiSelection.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/multiSelection/useMultiSelection.d.ts +16 -0
- package/dist/src/containers/FileExplorer/multiSelection/useMultiSelection.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/types.d.ts +86 -0
- package/dist/src/containers/FileExplorer/types.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/useItemDragging/index.d.ts +37 -0
- package/dist/src/containers/FileExplorer/useItemDragging/index.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/useKeyPressedUntilMouseClick/index.d.ts +2 -0
- package/dist/src/containers/FileExplorer/useKeyPressedUntilMouseClick/index.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/useNameValidator/index.d.ts +2 -0
- package/dist/src/containers/FileExplorer/useNameValidator/index.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/useNameValidator/useNameValidator.d.ts +13 -0
- package/dist/src/containers/FileExplorer/useNameValidator/useNameValidator.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/utils/dragGhostHelpers.d.ts +51 -0
- package/dist/src/containers/FileExplorer/utils/dragGhostHelpers.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/utils/filterSlotsForDynamicColumns.d.ts +3 -0
- package/dist/src/containers/FileExplorer/utils/filterSlotsForDynamicColumns.d.ts.map +1 -0
- package/dist/src/containers/FileExplorer/utils/popoverAnchorElement.d.ts +5 -0
- package/dist/src/containers/FileExplorer/utils/popoverAnchorElement.d.ts.map +1 -0
- package/dist/src/containers/index.d.ts +2 -0
- package/dist/src/containers/index.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/enums.d.ts +1 -1
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @knime/kds-components
|
|
2
2
|
|
|
3
|
+
## 0.29.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 843450b: - Resolve issue in toggle state of the `KdsMenuButton`, preventing the toggle state from being visible
|
|
8
|
+
- @knime/kds-styles@0.29.1
|
|
9
|
+
|
|
10
|
+
## 0.29.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- 6d7510a: Add KdsFileExplorer component
|
|
15
|
+
|
|
16
|
+
Migration guide:
|
|
17
|
+
- Most props are still named the same way
|
|
18
|
+
- Drag behavior remains the same, as well as emitted drag events
|
|
19
|
+
- The `mode` prop doesn't exist anymore. Instead a new `size` prop was introduced, but unlike the `mode` prop, the `size` controls the sizes of the items as opposed to the whole FileExplorer
|
|
20
|
+
- The `virtual` prop was removed. Virtualization is the default behavior now and it's always used.
|
|
21
|
+
- Keep in mind that if the component's wrapper height is not restricted, the virtualization won't have effect as the component will just grow the document's overflow
|
|
22
|
+
- Slots removed:
|
|
23
|
+
- `itemContent` -> This used to control the item's `name` rendering. Now the name is always rendered and cannot be customized. If you need extra columns you can still use the dynamic content column slot
|
|
24
|
+
- `itemIcon` -> The icon is specified now as part of each item in the `items` prop
|
|
25
|
+
- `contextMenu` -> See next section
|
|
26
|
+
- ContextMenu changes:
|
|
27
|
+
- No longer controlled by a slot
|
|
28
|
+
- A new `contextMenuBuilder` prop is introduced. This takes a function that produces the items that should be rendered on the menu. The function receives as parameters: the `anchor` (item the menu was opened on) as a well as a list of the items that are selected when the context menu is opened (`selectedItems`)
|
|
29
|
+
- Default rename behavior was removed
|
|
30
|
+
- This used to be tightly coupled to the context menu slot. Now the rename behavior is completely controlled by the component consumer. You can use the v-model `activeRenameItemId` to fully control the rename item.
|
|
31
|
+
- The rename event is still present
|
|
32
|
+
- The property `canBeRenamed` present on each FileExplorerItem's data model was removed
|
|
33
|
+
- Default delete behavior was removed
|
|
34
|
+
- This used to be tightly coupled to the context menu slot. Now the delete behavior is completely controlled by the component consumer.
|
|
35
|
+
- When items are deleted, the `items` prop will naturally update on the consumer's context, leading to an update in the FileExplorer's state/UI
|
|
36
|
+
- The `delete-items` event was removed.
|
|
37
|
+
- The property `canBeDeleted` present on each FileExplorerItem's data model was removed
|
|
38
|
+
- The `openFile` event was changed.
|
|
39
|
+
- Now, all non-directory items emit this event. It's up to the consumer to determine what to do
|
|
40
|
+
- The `isOpenableFile` present on each FileExplorerItem's data model was removed
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- 8ce48b8: Fix `KdsAccordion` items spacing.
|
|
45
|
+
- @knime/kds-styles@0.29.0
|
|
46
|
+
|
|
3
47
|
## 0.28.10
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|