@knime/kds-components 2.8.2 → 3.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.
- package/CHANGELOG.md +38 -0
- package/dist/KdsIcon.css +33 -1
- package/dist/index.css +159 -141
- package/dist/index.js +411 -347
- package/dist/index.js.map +1 -1
- package/dist/src/components/accessories/Icon/KdsDataType.vue.d.ts.map +1 -1
- package/dist/src/components/buttons/BaseButton.vue.d.ts.map +1 -1
- package/dist/src/components/buttons/Breadcrumb/BreadcrumbItem.vue.d.ts.map +1 -1
- package/dist/src/layouts/cards/KdsLinkCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/panels/TabPanel/KdsTabPanel.vue.d.ts +42 -0
- package/dist/src/layouts/panels/TabPanel/KdsTabPanel.vue.d.ts.map +1 -0
- package/dist/src/layouts/panels/TabPanel/TabBar/KdsTabBar.vue.d.ts +30 -0
- package/dist/src/layouts/panels/TabPanel/TabBar/KdsTabBar.vue.d.ts.map +1 -0
- package/dist/src/layouts/panels/TabPanel/TabBar/enums.d.ts.map +1 -0
- package/dist/src/layouts/panels/TabPanel/TabBar/index.d.ts.map +1 -0
- package/dist/src/layouts/panels/{TabBar → TabPanel/TabBar}/types.d.ts +1 -1
- package/dist/src/layouts/panels/TabPanel/TabBar/types.d.ts.map +1 -0
- package/dist/src/layouts/panels/TabPanel/TabBar/useTabBarAdaptiveLayout.d.ts.map +1 -0
- package/dist/src/layouts/panels/TabPanel/index.d.ts +5 -0
- package/dist/src/layouts/panels/TabPanel/index.d.ts.map +1 -0
- package/dist/src/layouts/panels/TabPanel/types.d.ts +8 -0
- package/dist/src/layouts/panels/TabPanel/types.d.ts.map +1 -0
- package/dist/src/layouts/panels/index.d.ts +2 -2
- package/dist/src/layouts/panels/index.d.ts.map +1 -1
- package/dist/src/util/index.d.ts +0 -2
- package/dist/src/util/index.d.ts.map +1 -1
- package/dist/src/util/nuxtComponentResolver.d.ts +1 -1
- package/dist/src/util/nuxtComponentResolver.d.ts.map +1 -1
- package/dist/src/util/useKdsDarkMode.d.ts.map +1 -1
- package/package.json +5 -3
- package/dist/src/layouts/panels/TabBar/KdsTabBar.vue.d.ts +0 -15
- package/dist/src/layouts/panels/TabBar/KdsTabBar.vue.d.ts.map +0 -1
- package/dist/src/layouts/panels/TabBar/enums.d.ts.map +0 -1
- package/dist/src/layouts/panels/TabBar/index.d.ts.map +0 -1
- package/dist/src/layouts/panels/TabBar/types.d.ts.map +0 -1
- package/dist/src/layouts/panels/TabBar/useTabBarAdaptiveLayout.d.ts.map +0 -1
- package/dist/src/util/useKdsLegacyMode.d.ts +0 -5
- package/dist/src/util/useKdsLegacyMode.d.ts.map +0 -1
- /package/dist/src/layouts/panels/{TabBar → TabPanel/TabBar}/enums.d.ts +0 -0
- /package/dist/src/layouts/panels/{TabBar → TabPanel/TabBar}/index.d.ts +0 -0
- /package/dist/src/layouts/panels/{TabBar → TabPanel/TabBar}/useTabBarAdaptiveLayout.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @knime/kds-components
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 356af93: Remove the KDS legacy mode. `useKdsDarkMode` now defaults to the OS system preference (`system`) instead of `light` — the API is unchanged, only the default for users without a stored preference.
|
|
8
|
+
|
|
9
|
+
BREAKING CHANGES:
|
|
10
|
+
|
|
11
|
+
- `useKdsLegacyMode`: removed. The composable and the `kds-legacy` class it toggled no longer exist — remove any usage of the composable and of the `kds-legacy` class.
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- e366f77: Add `KdsTabPanel` component with `KdsTabBar` trailing-actions slot
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- e26e15d: - `KdsLink`: render external URLs (protocol-relative `//…`, `mailto:`, `tel:`, absolute HTTP(S), etc.) as a plain `<a>` element even when a router (`RouterLink` / `NuxtLink`) is registered. Internal routes still use the router as before.
|
|
20
|
+
- `KdsLinkButton`: same fix — external `to` now renders as `<a>` instead of routing through the registered router.
|
|
21
|
+
- `KdsLinkCard`: same fix — external `to` now renders as `<a>` instead of routing through the registered router.
|
|
22
|
+
- `KdsNavItem`: same fix — external `to` now renders as `<a>` instead of routing through the registered router.
|
|
23
|
+
- `KdsBreadcrumb`: same fix — breadcrumb items with an external `to` now render as `<a>` instead of routing through the registered router.
|
|
24
|
+
- `KdsMenuContainer`: same fix — menu items with an external `to` now render as `<a>` instead of routing through the registered router.
|
|
25
|
+
- Updated dependencies [13cbb42]
|
|
26
|
+
- Updated dependencies [356af93]
|
|
27
|
+
- @knime/kds-styles@3.0.0
|
|
28
|
+
|
|
29
|
+
## 2.9.0
|
|
30
|
+
|
|
31
|
+
### Minor Changes
|
|
32
|
+
|
|
33
|
+
- 216447a: - **KdsDataType**: Derive tooltip title from icon name when no `iconTitle` prop is passed (e.g. `string-datatype` → "String Datatype"), instead of defaulting to "Unknown Data Type"
|
|
34
|
+
- **vKdsTooltip CSS**: Add horizontal `position-try-fallbacks` (`top-left`, `top-right`, `bottom-left`, `bottom-right`) so tooltips shift horizontally when centered positioning would overflow the viewport edge
|
|
35
|
+
- **vKdsTooltip stories**: Add `NearScreenEdge` story demonstrating edge-overflow fallback behavior
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- @knime/kds-styles@2.9.0
|
|
40
|
+
|
|
3
41
|
## 2.8.2
|
|
4
42
|
|
|
5
43
|
### Patch Changes
|
package/dist/KdsIcon.css
CHANGED
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
margin: var(--kds-spacing-container-0-25x) 0
|
|
7
7
|
var(--kds-spacing-container-0-25x) 0;
|
|
8
8
|
position-try-fallbacks:
|
|
9
|
-
--kds-tooltip-try-bottom-center, --kds-tooltip-try-top-
|
|
9
|
+
--kds-tooltip-try-bottom-center, --kds-tooltip-try-top-left,
|
|
10
|
+
--kds-tooltip-try-top-right, --kds-tooltip-try-bottom-left,
|
|
11
|
+
--kds-tooltip-try-bottom-right;
|
|
10
12
|
font: var(--kds-font-base-subtext-small);
|
|
11
13
|
color: var(--kds-color-tooltip-text-and-icon-neutral);
|
|
12
14
|
overflow-wrap: anywhere;
|
|
@@ -19,15 +21,45 @@
|
|
|
19
21
|
|
|
20
22
|
@position-try --kds-tooltip-try-top-center {
|
|
21
23
|
inset: auto auto anchor(top);
|
|
24
|
+
justify-self: anchor-center;
|
|
22
25
|
margin: var(--kds-spacing-container-0-25x) 0
|
|
23
26
|
var(--kds-spacing-container-0-25x) 0;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
@position-try --kds-tooltip-try-bottom-center {
|
|
27
30
|
inset: anchor(bottom) auto auto;
|
|
31
|
+
justify-self: anchor-center;
|
|
32
|
+
margin: var(--kds-spacing-container-0-25x) 0
|
|
33
|
+
var(--kds-spacing-container-0-25x) 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@position-try --kds-tooltip-try-top-left {
|
|
37
|
+
inset: auto auto anchor(top) anchor(left);
|
|
38
|
+
justify-self: anchor-right;
|
|
39
|
+
margin: var(--kds-spacing-container-0-25x) var(--kds-spacing-container-0-25x)
|
|
40
|
+
var(--kds-spacing-container-0-25x) 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@position-try --kds-tooltip-try-top-right {
|
|
44
|
+
inset: auto anchor(right) anchor(top) auto;
|
|
45
|
+
justify-self: anchor-left;
|
|
28
46
|
margin: var(--kds-spacing-container-0-25x) 0
|
|
47
|
+
var(--kds-spacing-container-0-25x) var(--kds-spacing-container-0-25x);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@position-try --kds-tooltip-try-bottom-left {
|
|
51
|
+
inset: anchor(bottom) auto auto anchor(left);
|
|
52
|
+
justify-self: anchor-right;
|
|
53
|
+
margin: var(--kds-spacing-container-0-25x) var(--kds-spacing-container-0-25x)
|
|
29
54
|
var(--kds-spacing-container-0-25x) 0;
|
|
30
55
|
}
|
|
56
|
+
|
|
57
|
+
@position-try --kds-tooltip-try-bottom-right {
|
|
58
|
+
inset: anchor(bottom) anchor(right) auto auto;
|
|
59
|
+
justify-self: anchor-left;
|
|
60
|
+
margin: var(--kds-spacing-container-0-25x) 0
|
|
61
|
+
var(--kds-spacing-container-0-25x) var(--kds-spacing-container-0-25x);
|
|
62
|
+
}
|
|
31
63
|
.kds-icon {
|
|
32
64
|
&[data-v-c1a42494] {
|
|
33
65
|
--icon-width: var(--kds-dimension-icon-1x);
|