@knime/kds-components 1.3.0 → 2.0.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.
Files changed (132) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/{extension-community-BL7uY2lh.js → extension-community-6vce_o7J.js} +2 -4
  3. package/dist/extension-community-6vce_o7J.js.map +1 -0
  4. package/dist/index.css +240 -176
  5. package/dist/index.js +3886 -1036
  6. package/dist/index.js.map +1 -1
  7. package/dist/more-connections-BDZGsY2Y.js +23 -0
  8. package/dist/more-connections-BDZGsY2Y.js.map +1 -0
  9. package/dist/src/accessories/ColorSwatch/enums.d.ts +1 -1
  10. package/dist/src/accessories/Icon/aliases.d.ts +1 -6
  11. package/dist/src/accessories/Icon/aliases.d.ts.map +1 -1
  12. package/dist/src/accessories/KeyboardShortcut/KdsKeyboardShortcut.vue.d.ts +4 -0
  13. package/dist/src/accessories/KeyboardShortcut/KdsKeyboardShortcut.vue.d.ts.map +1 -0
  14. package/dist/src/accessories/KeyboardShortcut/enums.d.ts +6 -0
  15. package/dist/src/accessories/KeyboardShortcut/enums.d.ts.map +1 -0
  16. package/dist/src/accessories/KeyboardShortcut/index.d.ts +4 -0
  17. package/dist/src/accessories/KeyboardShortcut/index.d.ts.map +1 -0
  18. package/dist/src/accessories/KeyboardShortcut/types.d.ts +20 -0
  19. package/dist/src/accessories/KeyboardShortcut/types.d.ts.map +1 -0
  20. package/dist/src/accessories/Text/KdsTextHighlight/KdsTextHighlight.vue.d.ts +4 -0
  21. package/dist/src/accessories/Text/KdsTextHighlight/KdsTextHighlight.vue.d.ts.map +1 -0
  22. package/dist/src/accessories/Text/KdsTextHighlight/index.d.ts +3 -0
  23. package/dist/src/accessories/Text/KdsTextHighlight/index.d.ts.map +1 -0
  24. package/dist/src/accessories/Text/KdsTextHighlight/types.d.ts +10 -0
  25. package/dist/src/accessories/Text/KdsTextHighlight/types.d.ts.map +1 -0
  26. package/dist/src/accessories/Text/index.d.ts +3 -0
  27. package/dist/src/accessories/Text/index.d.ts.map +1 -0
  28. package/dist/src/accessories/_Accessory/_Accessory.vue.d.ts +1 -1
  29. package/dist/src/accessories/_Accessory/_Accessory.vue.d.ts.map +1 -1
  30. package/dist/src/accessories/index.d.ts +4 -0
  31. package/dist/src/accessories/index.d.ts.map +1 -1
  32. package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts +5 -5
  33. package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts.map +1 -1
  34. package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +6 -0
  35. package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
  36. package/dist/src/buttons/KdsMenuButton/types.d.ts +1 -1
  37. package/dist/src/buttons/KdsMenuButton/types.d.ts.map +1 -1
  38. package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +6 -0
  39. package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -1
  40. package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts +6 -0
  41. package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
  42. package/dist/src/buttons/ResponsiveButtonGroup/mapping.d.ts +1 -1
  43. package/dist/src/buttons/links/KdsLink/KdsLink.vue.d.ts.map +1 -1
  44. package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts +12 -0
  45. package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts.map +1 -1
  46. package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts +24 -0
  47. package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts.map +1 -1
  48. package/dist/src/containers/FileExplorer/utils/dragGhostHelpers.d.ts.map +1 -1
  49. package/dist/src/containers/ListItem/KdsListItem/KdsListItem.vue.d.ts +1 -1
  50. package/dist/src/containers/ListItem/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
  51. package/dist/src/containers/ListItem/KdsListItem/types.d.ts +3 -2
  52. package/dist/src/containers/ListItem/KdsListItem/types.d.ts.map +1 -1
  53. package/dist/src/containers/ListItem/KdsListItemButton/KdsListItemButton.vue.d.ts +1 -1
  54. package/dist/src/containers/ListItem/KdsListItemButton/KdsListItemButton.vue.d.ts.map +1 -1
  55. package/dist/src/containers/ListItem/ListItemSectionTitle/ListItemSectionTitle.vue.d.ts +1 -1
  56. package/dist/src/containers/ListItem/ListItemSectionTitle/ListItemSectionTitle.vue.d.ts.map +1 -1
  57. package/dist/src/containers/Menu/KdsMenu.vue.d.ts +12 -0
  58. package/dist/src/containers/Menu/KdsMenu.vue.d.ts.map +1 -1
  59. package/dist/src/containers/MenuContainer/types.d.ts +7 -2
  60. package/dist/src/containers/MenuContainer/types.d.ts.map +1 -1
  61. package/dist/src/forms/RadioButton/KdsRadioButton.vue.d.ts +1 -1
  62. package/dist/src/forms/RadioButton/KdsRadioButton.vue.d.ts.map +1 -1
  63. package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
  64. package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts +12 -0
  65. package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
  66. package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts +12 -0
  67. package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
  68. package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +6 -0
  69. package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
  70. package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts +39 -33
  71. package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -1
  72. package/dist/src/forms/inputs/DateInput/enums.d.ts +1 -1
  73. package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +6 -0
  74. package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
  75. package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts +103 -91
  76. package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts.map +1 -1
  77. package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts +6 -0
  78. package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -1
  79. package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts +9 -9
  80. package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
  81. package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts +9 -9
  82. package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -1
  83. package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +9 -9
  84. package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
  85. package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +36 -30
  86. package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
  87. package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts +32 -26
  88. package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
  89. package/dist/src/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
  90. package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts +60 -54
  91. package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts.map +1 -1
  92. package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts.map +1 -1
  93. package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts +9 -9
  94. package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts.map +1 -1
  95. package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts +103 -91
  96. package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts.map +1 -1
  97. package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
  98. package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts +40 -34
  99. package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
  100. package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +6 -0
  101. package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
  102. package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
  103. package/dist/src/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue.d.ts.map +1 -1
  104. package/dist/src/forms/selects/TwinList/KdsTwinList.vue.d.ts +9 -9
  105. package/dist/src/forms/selects/TwinList/KdsTwinList.vue.d.ts.map +1 -1
  106. package/dist/src/forms/selects/TwinList/TwinListBody.vue.d.ts.map +1 -1
  107. package/dist/src/layouts/Tree/BaseTree/BaseTree.vue.d.ts +103 -1
  108. package/dist/src/layouts/Tree/BaseTree/BaseTree.vue.d.ts.map +1 -1
  109. package/dist/src/layouts/Tree/BaseTree/TreeNode.vue.d.ts +2 -2
  110. package/dist/src/layouts/Tree/BaseTree/TreeNode.vue.d.ts.map +1 -1
  111. package/dist/src/layouts/Tree/BaseTree/useTreeData.d.ts +7 -7
  112. package/dist/src/layouts/Tree/BaseTree/useTreeData.d.ts.map +1 -1
  113. package/dist/src/layouts/Tree/KdsTree.vue.d.ts +396 -15
  114. package/dist/src/layouts/Tree/KdsTree.vue.d.ts.map +1 -1
  115. package/dist/src/layouts/Tree/types.d.ts +69 -42
  116. package/dist/src/layouts/Tree/types.d.ts.map +1 -1
  117. package/dist/src/layouts/Tree/useTreeSearch.d.ts +36 -0
  118. package/dist/src/layouts/Tree/useTreeSearch.d.ts.map +1 -0
  119. package/dist/src/overlays/Popover/KdsPopover.vue.d.ts +4 -0
  120. package/dist/src/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
  121. package/dist/src/overlays/Popover/types.d.ts +11 -0
  122. package/dist/src/overlays/Popover/types.d.ts.map +1 -1
  123. package/dist/src/overlays/Tooltip/vKdsTooltip.d.ts.map +1 -1
  124. package/dist/src/richText/Description/KdsDescription.vue.d.ts.map +1 -1
  125. package/dist/{view-cards-DS0Cpf95.js → view-cards-5wRxuDR4.js} +2 -2
  126. package/dist/{view-cards-DS0Cpf95.js.map → view-cards-5wRxuDR4.js.map} +1 -1
  127. package/dist/view-list-CCEdn_1_.js +23 -0
  128. package/dist/view-list-CCEdn_1_.js.map +1 -0
  129. package/dist/view-tree-CSm0zm7z.js +23 -0
  130. package/dist/view-tree-CSm0zm7z.js.map +1 -0
  131. package/package.json +6 -7
  132. package/dist/extension-community-BL7uY2lh.js.map +0 -1
@@ -3,70 +3,77 @@ import { KdsDataTypeAccessory, KdsIconAccessory } from '../../accessories';
3
3
  type TypeWithUndefined<T> = T | undefined;
4
4
  type TypeWithNull<T> = T | null;
5
5
  type KdsTreeAccessory = KdsIconAccessory | KdsDataTypeAccessory;
6
- declare class BaseTreeNode {
6
+ type NodeKey = string | number;
7
+ /** Source tree data, requires name and key. `meta` carries consumer data. */
8
+ type TreeNodeOptions<T = unknown> = {
9
+ nodeKey: NodeKey;
10
+ name: string;
11
+ hasChildren?: boolean;
12
+ customSlot?: string;
13
+ accessory?: KdsTreeAccessory;
14
+ disabled?: boolean;
15
+ children?: TreeNodeOptions<T>[];
16
+ meta?: T;
17
+ /** Additional strings to match against during search. */
18
+ searchKeywords?: string[];
19
+ /** When true, this node is draggable and drag events are emitted. */
20
+ draggable?: boolean;
21
+ };
22
+ declare class BaseTreeNode<T = unknown> {
7
23
  readonly key: NodeKey;
8
24
  readonly name: string;
9
25
  readonly level: number;
10
26
  readonly accessory?: KdsTreeAccessory;
11
27
  readonly customSlot?: string;
12
28
  readonly disabled: boolean;
29
+ readonly meta?: T;
30
+ readonly searchKeywords?: string[];
31
+ readonly draggable: boolean;
13
32
  loading: boolean;
14
33
  hasChildren: boolean;
15
- children: BaseTreeNode[];
34
+ children: BaseTreeNode<T>[];
16
35
  parentKey: TypeWithUndefined<NodeKey>;
17
36
  parentKeys: NodeKey[];
18
- origin: TreeNodeOptions;
19
- constructor(options: TreeNodeOptions, parent?: BaseTreeNode);
37
+ origin: TreeNodeOptions<T>;
38
+ constructor(options: TreeNodeOptions<T>, parent?: BaseTreeNode<T>);
20
39
  }
21
- type NodeKey = string | number;
22
- /** source tree data, requires name and key */
23
- type TreeNodeOptions = {
24
- nodeKey: NodeKey;
25
- name: string;
26
- hasChildren?: boolean;
27
- customSlot?: string;
28
- accessory?: KdsTreeAccessory;
29
- disabled?: boolean;
30
- children?: TreeNodeOptions[];
31
- [key: string]: unknown;
32
- };
33
- type TreeNodeInstance = {
34
- rawNode: TreeNodeOptions;
40
+ type TreeNodeInstance<T = unknown> = {
41
+ rawNode: TreeNodeOptions<T>;
35
42
  };
36
- type KeyNodeMap = Record<NodeKey, BaseTreeNode>;
37
- type EventParams = {
43
+ type KeyNodeMap<T = unknown> = Record<NodeKey, BaseTreeNode<T>>;
44
+ type EventParams<T = unknown> = {
38
45
  state: boolean;
39
- node: BaseTreeNode;
46
+ node: BaseTreeNode<T>;
40
47
  source?: "api" | "click" | "key";
41
48
  };
42
- type SelectEventParams = {
43
- preSelectedNode: TypeWithUndefined<BaseTreeNode>;
44
- node: TypeWithUndefined<BaseTreeNode>;
49
+ type SelectEventParams<T = unknown> = {
50
+ preSelectedNode: TypeWithUndefined<BaseTreeNode<T>>;
51
+ node: TypeWithUndefined<BaseTreeNode<T>>;
45
52
  };
46
- type FocusEventParams = {
47
- node: TypeWithNull<BaseTreeNode>;
53
+ type FocusEventParams<T = unknown> = {
54
+ node: TypeWithNull<BaseTreeNode<T>>;
48
55
  };
49
- type KeydownEvent = {
56
+ type KeydownEvent<T = unknown> = {
50
57
  event: KeyboardEvent;
51
- node: BaseTreeNode;
58
+ node: BaseTreeNode<T>;
52
59
  };
53
- type RenderNodeFunc = (node: BaseTreeNode) => VNode;
54
- type LoadDataFunc = (node: BaseTreeNode, callback: (children: TreeNodeOptions[]) => void) => void;
55
- type TreeContext = Readonly<{
56
- renderNode: TypeWithUndefined<RenderNodeFunc>;
60
+ type RenderNodeFunc<T = unknown> = (node: BaseTreeNode<T>) => VNode;
61
+ type LoadDataFunc<T = unknown> = (node: BaseTreeNode<T>, callback: (children: TreeNodeOptions<T>[]) => void) => void;
62
+ type TreeContext<T = unknown> = Readonly<{
63
+ renderNode: TypeWithUndefined<RenderNodeFunc<T>>;
57
64
  slots: Slots;
58
65
  expandedKeys: Set<NodeKey>;
59
- getSelectedNode: () => TypeWithUndefined<BaseTreeNode>;
66
+ getSelectedNode: () => TypeWithUndefined<BaseTreeNode<T>>;
60
67
  getExpandedKeys: () => NodeKey[];
61
68
  toggleExpand: (nodeKey: NodeKey, state?: boolean) => void;
62
69
  loadChildren: (nodeKey: NodeKey) => void;
63
70
  clearChildren: (nodeKey: NodeKey) => void;
64
71
  }>;
65
- type KdsTreeProps = {
72
+ type KdsTreeProps<T = unknown> = {
66
73
  /** Hierarchical tree data. Each node requires a `nodeKey` and `name`; children may be nested directly or loaded lazily via `loadData`. */
67
- source: TreeNodeOptions[];
74
+ source: TreeNodeOptions<T>[];
68
75
  /** Async loader invoked when an expandable node has `hasChildren: true` but no `children` yet. While pending the chevron is replaced by a loading spinner. */
69
- loadData?: LoadDataFunc;
76
+ loadData?: LoadDataFunc<T>;
70
77
  /** When `false`, clicks and keyboard navigation still focus nodes but no selection state is tracked and `selectChange` is not emitted. Defaults to `true`. */
71
78
  selectable?: boolean;
72
79
  /** Keys of branches that should be expanded on mount. Subsequent expand/collapse is managed internally. Defaults to `[]`. */
@@ -75,26 +82,46 @@ type KdsTreeProps = {
75
82
  idPrefix?: string;
76
83
  /** When `true`, only the visible rows are rendered. The tree must be wrapped in a fixed-height, scrollable container. Defaults to `false`. */
77
84
  virtual?: boolean;
85
+ /**
86
+ * When `true`, a search input is rendered above the tree. The search is
87
+ * frontend-only and case-insensitive. Only currently-loaded nodes are
88
+ * searched — branches declared with `hasChildren: true` but not yet loaded
89
+ * via `loadData` are not searched. Defaults to `false`.
90
+ */
91
+ searchable?: boolean;
92
+ /** Placeholder for the search input shown when `searchable` is `true`. Defaults to `"Search"`. */
93
+ searchPlaceholder?: string;
78
94
  };
79
- type KdsTreeEmits = {
95
+ type KdsTreeEmits<T = unknown> = {
80
96
  /** Emitted on every keydown over a focused tree node, after the tree's own keyboard handling has run. */
81
- keydown: [value: KeydownEvent];
97
+ keydown: [value: KeydownEvent<T>];
82
98
  /** Emitted when the selected node changes. Not emitted when `selectable` is `false`. */
83
- selectChange: [value: SelectEventParams];
99
+ selectChange: [value: SelectEventParams<T>];
84
100
  /** Emitted when a node is expanded or collapsed. `source` indicates whether the change came from `"click"`, `"key"`, or `"api"`. */
85
- expandChange: [value: EventParams];
101
+ expandChange: [value: EventParams<T>];
102
+ /** Emitted when a leaf node is double-clicked. Payload is the node's `meta`. */
103
+ leafDblClick: [value: T | undefined];
104
+ /** Emitted when a drag starts on a leaf node. Payload is `{ event, meta }`. */
105
+ leafDragStart: [value: {
106
+ event: DragEvent;
107
+ meta: T | undefined;
108
+ }];
109
+ /** Emitted when a drag ends on a leaf node. */
110
+ leafDragEnd: [];
86
111
  };
87
- type KdsTreeExpose = {
112
+ type KdsTreeExpose<T = unknown> = {
88
113
  /** Returns the keys of all currently expanded nodes. */
89
114
  getExpandedKeys: () => NodeKey[] | undefined;
90
115
  /** Expand or collapse a node. When `state` is omitted, the current state is toggled. */
91
116
  toggleExpand: (nodeKey: NodeKey, state?: boolean) => void;
92
117
  /** Returns the currently selected node, or `undefined` if nothing is selected or the tree is not `selectable`. */
93
- getSelectedTreeNode: () => BaseTreeNode | undefined;
118
+ getSelectedTreeNode: () => BaseTreeNode<T> | undefined;
94
119
  /** Trigger the `loadData` prop to load the children of the given nodeKey. Does not remove current children. */
95
120
  loadChildren: (nodeKey: NodeKey) => void;
96
121
  /** Remove all children of a given nodeKey. */
97
122
  clearChildren: (nodeKey: NodeKey) => void;
123
+ /** Move keyboard focus to the tree's focusable root (the inner `BaseTree`). */
124
+ focus: () => void;
98
125
  };
99
126
  export { BaseTreeNode, type TreeNodeOptions, type NodeKey, type TreeNodeInstance, type KeyNodeMap, type EventParams, type FocusEventParams, type SelectEventParams, type RenderNodeFunc, type LoadDataFunc, type KeydownEvent, type TreeContext, type KdsTreeProps, type KdsTreeEmits, type KdsTreeExpose, type KdsTreeAccessory, };
100
127
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Tree/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,KAAK,EAAS,MAAM,KAAK,CAAC;AAEpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;AAC1C,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEhC,KAAK,gBAAgB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEhE,cAAM,YAAY;IAChB,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,OAAO,UAAS;IAChB,WAAW,UAAS;IAEpB,QAAQ,EAAE,YAAY,EAAE,CAAM;IAC9B,SAAS,EAAE,iBAAiB,CA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K,gBAAgB,GACtB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { Ref } from 'vue';
2
+ import { BaseTreeNode, NodeKey } from './types';
3
+ export type UseTreeSearchReturn = {
4
+ /**
5
+ * Keys of nodes that should be visible while the search is active. A node is
6
+ * included if its own name matches OR any ancestor matches OR any descendant
7
+ * matches. Empty when the search term is empty (caller falls back to default
8
+ * tree behavior).
9
+ */
10
+ visibleKeys: Ref<Set<NodeKey>>;
11
+ /**
12
+ * Keys of nodes that should be expanded while the search is active so that
13
+ * matches are revealed. Includes every ancestor of a matched node. Empty
14
+ * when the search term is empty.
15
+ */
16
+ expandedKeysForSearch: Ref<Set<NodeKey>>;
17
+ /** Whether the search is currently active (term is non-empty). */
18
+ isSearchActive: Ref<boolean>;
19
+ };
20
+ /**
21
+ * Frontend-only, case-insensitive substring search over a flattened tree.
22
+ *
23
+ * The filter rule is the "full rule":
24
+ * a node is visible if (self matches OR any ancestor matches OR any descendant
25
+ * matches). Non-matching siblings of a match are hidden. Ancestors of matched
26
+ * nodes are returned in `expandedKeysForSearch` so the path to matches is
27
+ * revealed.
28
+ *
29
+ * Lazy branches (`hasChildren: true` with no loaded `children`) are treated
30
+ * only by their own name — their unloaded descendants are not searched.
31
+ *
32
+ * Returns empty sets when the search term is empty, so callers can fall back
33
+ * to the tree's default behavior.
34
+ */
35
+ export declare function useTreeSearch<T = unknown>(flattenTreeData: Ref<BaseTreeNode<T>[]>, searchTerm: Ref<string>): UseTreeSearchReturn;
36
+ //# sourceMappingURL=useTreeSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTreeSearch.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Tree/useTreeSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,KAAK,CAAC;AAEzC,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;OAKG;IACH,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,EAAE,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACzC,kEAAkE;IAClE,cAAc,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CAC9B,CAAC;AA0FF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,aAAa,CAAC,CAAC,GAAG,OAAO,EACvC,eAAe,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,EACvC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,GACtB,mBAAmB,CAoCrB"}
@@ -24,6 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<({
24
24
  popoverType?: import('./types').KdsPopoverType;
25
25
  fullWidth?: boolean;
26
26
  maxInlineSize?: string;
27
+ stretchInline?: boolean;
27
28
  content?: string;
28
29
  } & {
29
30
  placement?: Exclude<import('./types').KdsPopoverPlacement, "custom">;
@@ -35,6 +36,7 @@ declare const __VLS_component: import('vue').DefineComponent<({
35
36
  popoverType?: import('./types').KdsPopoverType;
36
37
  fullWidth?: boolean;
37
38
  maxInlineSize?: string;
39
+ stretchInline?: boolean;
38
40
  content?: string;
39
41
  } & {
40
42
  placement: "custom";
@@ -54,6 +56,7 @@ declare const __VLS_component: import('vue').DefineComponent<({
54
56
  popoverType?: import('./types').KdsPopoverType;
55
57
  fullWidth?: boolean;
56
58
  maxInlineSize?: string;
59
+ stretchInline?: boolean;
57
60
  content?: string;
58
61
  } & {
59
62
  placement?: Exclude<import('./types').KdsPopoverPlacement, "custom">;
@@ -65,6 +68,7 @@ declare const __VLS_component: import('vue').DefineComponent<({
65
68
  popoverType?: import('./types').KdsPopoverType;
66
69
  fullWidth?: boolean;
67
70
  maxInlineSize?: string;
71
+ stretchInline?: boolean;
68
72
  content?: string;
69
73
  } & {
70
74
  placement: "custom";
@@ -1 +1 @@
1
- {"version":3,"file":"KdsPopover.vue.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Popover/KdsPopover.vue"],"names":[],"mappings":"AAqSA,iBAAS,cAAc;WAmDT,OAAO,IAA6B;;QAtFhD;;WAEG;mBACQ,OAAO;;QAHlB;;WAEG;mBACQ,OAAO;;;;;;EAwFnB;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;iBA3ER,OAAO;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;;;;;;kBAqFlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"KdsPopover.vue.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Popover/KdsPopover.vue"],"names":[],"mappings":"AAySA,iBAAS,cAAc;WAmDT,OAAO,IAA6B;;QAvFhD;;WAEG;mBACQ,OAAO;;QAHlB;;WAEG;mBACQ,OAAO;;;;;;EAyFnB;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;iBA3ER,OAAO;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;;;;;;;kBAqFlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -20,6 +20,17 @@ type KdsPopoverCommonProps = {
20
20
  * When not set, there is no upper limit.
21
21
  */
22
22
  maxInlineSize?: string;
23
+ /**
24
+ * When true, the popover stretches from the anchor's inline-start edge to the
25
+ * viewport's inline-end edge, shrinking when there is insufficient space.
26
+ * Combine with `maxInlineSize` to cap the width at a desired maximum.
27
+ *
28
+ * Only needed when the popover must fill a guaranteed width regardless of its
29
+ * content — for example when it contains form controls that require a fixed
30
+ * layout. For text content, `maxInlineSize` alone is sufficient since text
31
+ * wraps naturally.
32
+ */
33
+ stretchInline?: boolean;
23
34
  /**
24
35
  * Optional content rendered when no default slot is provided.
25
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9E,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,KAAK,qBAAqB,GAAG;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAE7B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B;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AE,MAAM,CAAC;IAEvB;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;IAEnD;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC;CACjC,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACpC;;;OAGG;IACH,SAAS,EAAE,QAAQ,CAAC;IAEpB;;;OAGG;IACH,uBAAuB,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,qBAAqB,GACjD,CAAC,uBAAuB,GAAG,8BAA8B,CAAC,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"vKdsTooltip.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Tooltip/vKdsTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,KAAK,CAAC;AAOzE,OAAO,mBAAmB,CAAC;AAoB3B,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAK/D;AAoND,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,WAAW,CA2B9C,CAAC;AAEF,mDAAmD;AACnD,wBAAgB,kBAAkB,SAGjC"}
1
+ {"version":3,"file":"vKdsTooltip.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Tooltip/vKdsTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,KAAK,CAAC;AAOzE,OAAO,mBAAmB,CAAC;AAqB3B,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAK/D;AA0PD,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,WAAW,CA2B9C,CAAC;AAEF,mDAAmD;AACnD,wBAAgB,kBAAkB,SAGjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/richText/Description/KdsDescription.vue"],"names":[],"mappings":"AA4MA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;;AA6DF,wBAMG"}
1
+ {"version":3,"file":"KdsDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/richText/Description/KdsDescription.vue"],"names":[],"mappings":"AA6MA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;;AA6DF,wBAMG"}
@@ -11,7 +11,7 @@ const _hoisted_1 = {
11
11
  function render(_ctx, _cache) {
12
12
  return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
13
13
  createElementVNode("path", {
14
- d: "M5.25 1.25h-4v4h4zM5.25 6.75h-4v4h4zM10.75 1.25h-4v4h4zM10.75 6.75h-4v4h4z",
14
+ d: "M5 2.25H2.25V5H5zM5 7H2.25v2.75H5zM9.75 2.25H7V5h2.75zM9.75 7H7v2.75h2.75z",
15
15
  "vector-effect": "non-scaling-stroke"
16
16
  }, null, -1)
17
17
  ]))]))
@@ -19,4 +19,4 @@ function render(_ctx, _cache) {
19
19
  const viewCards = { render: render };
20
20
 
21
21
  export { viewCards as default, render };
22
- //# sourceMappingURL=view-cards-DS0Cpf95.js.map
22
+ //# sourceMappingURL=view-cards-5wRxuDR4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-cards-DS0Cpf95.js","sources":["../../styles/dist/img/icons/view-cards.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M5.25 1.25h-4v4h4zM5.25 6.75h-4v4h4zM10.75 1.25h-4v4h4zM10.75 6.75h-4v4h4z\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,4EAA4E;AACrF,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,kBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
1
+ {"version":3,"file":"view-cards-5wRxuDR4.js","sources":["../../styles/dist/img/icons/view-cards.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M5 2.25H2.25V5H5zM5 7H2.25v2.75H5zM9.75 2.25H7V5h2.75zM9.75 7H7v2.75h2.75z\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,4EAA4E;AACrF,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,kBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
@@ -0,0 +1,23 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ fill: "none",
6
+ stroke: "currentColor",
7
+ "stroke-linecap": "round",
8
+ "stroke-linejoin": "round",
9
+ viewBox: "0 0 12 12"
10
+ };
11
+
12
+ function render(_ctx, _cache) {
13
+ return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
14
+ createElementVNode("path", {
15
+ d: "M4 3h5.5M4 6h3.5M4 9h4.5M1.629 3h.655m-.655 3.006h.655M1.629 9h.655",
16
+ "vector-effect": "non-scaling-stroke"
17
+ }, null, -1)
18
+ ]))]))
19
+ }
20
+ const viewList = { render: render };
21
+
22
+ export { viewList as default, render };
23
+ //# sourceMappingURL=view-list-CCEdn_1_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-list-CCEdn_1_.js","sources":["../../styles/dist/img/icons/view-list.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M4 3h5.5M4 6h3.5M4 9h4.5M1.629 3h.655m-.655 3.006h.655M1.629 9h.655\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,qEAAqE;AAC9E,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,iBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
@@ -0,0 +1,23 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ fill: "none",
6
+ stroke: "currentColor",
7
+ "stroke-linecap": "round",
8
+ "stroke-linejoin": "round",
9
+ viewBox: "0 0 12 12"
10
+ };
11
+
12
+ function render(_ctx, _cache) {
13
+ return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
14
+ createElementVNode("path", {
15
+ d: "M2.5 5v4h1m2-3h4m-4 3h4m-8-6h2m-1 3h1",
16
+ "vector-effect": "non-scaling-stroke"
17
+ }, null, -1)
18
+ ]))]))
19
+ }
20
+ const viewTree = { render: render };
21
+
22
+ export { viewTree as default, render };
23
+ //# sourceMappingURL=view-tree-CSm0zm7z.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-tree-CSm0zm7z.js","sources":["../../styles/dist/img/icons/view-tree.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M2.5 5v4h1m2-3h4m-4 3h4m-8-6h2m-1 3h1\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,uCAAuC;AAChD,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,iBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-components",
3
- "version": "1.3.0",
3
+ "version": "2.0.0",
4
4
  "description": "Package containing basic Vue components of the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,12 +35,11 @@
35
35
  "vue": "~3.5.0"
36
36
  },
37
37
  "dependencies": {
38
- "@knime/utils": "^1.11.1",
39
38
  "consola": "^3.4.2",
40
- "motion": "^12.40.0",
41
- "pretty-bytes": "^7.1.0",
39
+ "motion": "^12.42.0",
42
40
  "temporal-polyfill": "^1.0.1",
43
- "@knime/kds-styles": "^1.3.0"
41
+ "@knime/kds-styles": "^2.0.0",
42
+ "@knime/utils": "^1.12.0"
44
43
  },
45
44
  "devDependencies": {
46
45
  "@storybook/vue3-vite": "^10.4.6",
@@ -48,7 +47,7 @@
48
47
  "@vue/test-utils": "^2.4.11",
49
48
  "@vue/tsconfig": "^0.9.1",
50
49
  "@vueuse/core": "~14.3.0",
51
- "prettier": "3.8.4",
50
+ "prettier": "3.8.5",
52
51
  "prettier-plugin-vue": "^1.1.6",
53
52
  "storybook": "^10.4.6",
54
53
  "ts-morph": "^28.0.0",
@@ -56,7 +55,7 @@
56
55
  "vite-plugin-dts": "^4.5.4",
57
56
  "vite-plugin-lib-inject-css": "^2.2.2",
58
57
  "vite-svg-loader": "^5.1.1",
59
- "vue": "3.5.38",
58
+ "vue": "3.5.39",
60
59
  "vue-tsc": "^3.3.4"
61
60
  },
62
61
  "engines": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"extension-community-BL7uY2lh.js","sources":["../../styles/dist/img/icons/extension-community.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M5 6h2M6 5v2M5.15.565a5.5 5.5 0 0 1 1.7 0m2.348.96a5.5 5.5 0 0 1 1.226 1.206m-8.848 0a5.5 5.5 0 0 1 1.226-1.206M.57 6.87a5.5 5.5 0 0 1 0-1.742m10.862 0a5.5 5.5 0 0 1 0 1.742m-8.629 3.604A5.5 5.5 0 0 1 1.576 9.27m8.848 0a5.5 5.5 0 0 1-1.226 1.206m-2.349.96a5.6 5.6 0 0 1-1.698 0M8 3.5H4c-.23 0-.5.27-.5.5v4c0 .23.27.5.5.5h4c.23 0 .5-.27.5-.5V4c0-.23-.27-.5-.5-.5\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,2WAA2W;AACpX,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,2BAAe,EAAE,MAAM,EAAE,MAAM;;;;"}