@knime/kds-components 8.2.2 → 9.1.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 +31 -0
- package/dist/index.css +68 -15
- package/dist/index.js +693 -457
- package/dist/index.js.map +1 -1
- package/dist/src/components/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
- package/dist/src/components/buttons/ResponsiveButtonGroup/types.d.ts +11 -0
- package/dist/src/components/buttons/ResponsiveButtonGroup/types.d.ts.map +1 -1
- package/dist/src/layouts/explorer/FileExplorer/FileExplorerItem.vue.d.ts.map +1 -1
- package/dist/src/layouts/panels/Pagination/KdsPagination.vue.d.ts +31 -0
- package/dist/src/layouts/panels/Pagination/KdsPagination.vue.d.ts.map +1 -0
- package/dist/src/layouts/panels/Pagination/PageNavigation.vue.d.ts +9 -0
- package/dist/src/layouts/panels/Pagination/PageNavigation.vue.d.ts.map +1 -0
- package/dist/src/layouts/panels/Pagination/PageRowRange.vue.d.ts +5 -0
- package/dist/src/layouts/panels/Pagination/PageRowRange.vue.d.ts.map +1 -0
- package/dist/src/layouts/panels/Pagination/index.d.ts +3 -0
- package/dist/src/layouts/panels/Pagination/index.d.ts.map +1 -0
- package/dist/src/layouts/panels/Pagination/types.d.ts +53 -0
- package/dist/src/layouts/panels/Pagination/types.d.ts.map +1 -0
- package/dist/src/layouts/panels/index.d.ts +2 -0
- package/dist/src/layouts/panels/index.d.ts.map +1 -1
- package/dist/src/util/index.d.ts +2 -0
- package/dist/src/util/index.d.ts.map +1 -1
- package/dist/src/util/useKdsNameValidator.d.ts +41 -0
- package/dist/src/util/useKdsNameValidator.d.ts.map +1 -0
- package/package.json +5 -5
- package/dist/src/layouts/explorer/FileExplorer/useNameValidator/index.d.ts +0 -2
- package/dist/src/layouts/explorer/FileExplorer/useNameValidator/index.d.ts.map +0 -1
- package/dist/src/layouts/explorer/FileExplorer/useNameValidator/useNameValidator.d.ts +0 -13
- package/dist/src/layouts/explorer/FileExplorer/useNameValidator/useNameValidator.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @knime/kds-components
|
|
2
2
|
|
|
3
|
+
## 9.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 038d592: - `useKdsNameValidator`: add the composable that validates a name for use as a file or folder name. It rejects a leading or trailing dot, the characters `*?#:";<>%~|/\`, more than 255 characters, and a name that is already taken. It returns `isValid`, `errorMessage` for the first broken rule, and `cleanedName` without the leading and trailing spaces. Set the `unavailableNameMessage` option to replace the message for a name that is already taken. The messages are in English and cannot be translated. The `KdsNameValidatorOptions` and `KdsNameValidatorReturn` types are public too.
|
|
8
|
+
- 5f799e9: `KdsResponsiveButtonGroup`: added `menuActions` prop — `KdsMenuItem`s that live in the overflow menu from the start, regardless of available space. Buttons that overflow out of the row are prepended to `menuActions`, separated by a divider once both groups are non-empty.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @knime/kds-styles@9.1.0
|
|
14
|
+
|
|
15
|
+
## 9.0.0
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- b46e376: BREAKING CHANGES:
|
|
20
|
+
|
|
21
|
+
- Raise the `@vueuse/core` peer dependency from `~13.8.0` to `^14.0.0`.
|
|
22
|
+
Upgrade `@vueuse/core` to 14.x with this release. VueUse 14 requires
|
|
23
|
+
Vue 3.5, which the existing `vue` peer range already guarantees.
|
|
24
|
+
|
|
25
|
+
### Minor Changes
|
|
26
|
+
|
|
27
|
+
- 98b175a: `KdsPagination`: new pagination component showing the current row range, first/previous/next/last page navigation, an optional page-size menu, and an `actions` slot for trailing controls.
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
- @knime/kds-styles@9.0.0
|
|
33
|
+
|
|
3
34
|
## 8.2.2
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
package/dist/index.css
CHANGED
|
@@ -1761,7 +1761,7 @@ body:has(dialog.modal[open]) {
|
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
1763
|
|
|
1764
|
-
.kds-button-group-measure[data-v-
|
|
1764
|
+
.kds-button-group-measure[data-v-c2e80860] {
|
|
1765
1765
|
position: absolute;
|
|
1766
1766
|
display: flex;
|
|
1767
1767
|
visibility: hidden;
|
|
@@ -1769,20 +1769,20 @@ body:has(dialog.modal[open]) {
|
|
|
1769
1769
|
white-space: nowrap;
|
|
1770
1770
|
}
|
|
1771
1771
|
.kds-button-group {
|
|
1772
|
-
&[data-v-
|
|
1772
|
+
&[data-v-c2e80860] {
|
|
1773
1773
|
display: flex;
|
|
1774
1774
|
gap: var(--kds-spacing-container-0-5x);
|
|
1775
1775
|
align-items: center;
|
|
1776
1776
|
justify-content: flex-end;
|
|
1777
1777
|
width: 100%;
|
|
1778
1778
|
}
|
|
1779
|
-
&.left[data-v-
|
|
1779
|
+
&.left[data-v-c2e80860] {
|
|
1780
1780
|
justify-content: flex-start;
|
|
1781
1781
|
}
|
|
1782
|
-
&.right[data-v-
|
|
1782
|
+
&.right[data-v-c2e80860] {
|
|
1783
1783
|
justify-content: flex-end;
|
|
1784
1784
|
}
|
|
1785
|
-
&.middle[data-v-
|
|
1785
|
+
&.middle[data-v-c2e80860] {
|
|
1786
1786
|
justify-content: center;
|
|
1787
1787
|
}
|
|
1788
1788
|
}
|
|
@@ -4370,7 +4370,7 @@ td {
|
|
|
4370
4370
|
}
|
|
4371
4371
|
|
|
4372
4372
|
.file-explorer-item {
|
|
4373
|
-
&[data-v-
|
|
4373
|
+
&[data-v-113f6800] {
|
|
4374
4374
|
display: grid;
|
|
4375
4375
|
|
|
4376
4376
|
/* first two cols - icon + name */
|
|
@@ -4382,27 +4382,27 @@ td {
|
|
|
4382
4382
|
|
|
4383
4383
|
/* style the last column if the options menu is visible */
|
|
4384
4384
|
}
|
|
4385
|
-
&.has-options-menu > td[data-v-
|
|
4385
|
+
&.has-options-menu > td[data-v-113f6800]:last-child {
|
|
4386
4386
|
width: min-content;
|
|
4387
4387
|
}
|
|
4388
4388
|
& .column {
|
|
4389
|
-
&[data-v-
|
|
4389
|
+
&[data-v-113f6800] {
|
|
4390
4390
|
display: flex;
|
|
4391
4391
|
align-items: center;
|
|
4392
4392
|
height: 100%;
|
|
4393
4393
|
overflow: hidden;
|
|
4394
4394
|
white-space: nowrap;
|
|
4395
4395
|
}
|
|
4396
|
-
& .inner[data-v-
|
|
4396
|
+
& .inner[data-v-113f6800] {
|
|
4397
4397
|
width: 100%;
|
|
4398
4398
|
overflow: hidden;
|
|
4399
4399
|
text-overflow: ellipsis;
|
|
4400
4400
|
}
|
|
4401
|
-
&.dynamic-column[data-v-
|
|
4401
|
+
&.dynamic-column[data-v-113f6800]:empty {
|
|
4402
4402
|
display: none;
|
|
4403
4403
|
}
|
|
4404
4404
|
}
|
|
4405
|
-
& .item-error[data-v-
|
|
4405
|
+
& .item-error[data-v-113f6800] {
|
|
4406
4406
|
position: absolute;
|
|
4407
4407
|
bottom: 0;
|
|
4408
4408
|
z-index: 10;
|
|
@@ -4415,18 +4415,18 @@ td {
|
|
|
4415
4415
|
transform: translateY(100%);
|
|
4416
4416
|
}
|
|
4417
4417
|
& td.rename-active {
|
|
4418
|
-
&[data-v-
|
|
4418
|
+
&[data-v-113f6800] {
|
|
4419
4419
|
padding: 0 var(--kds-spacing-container-0-25x);
|
|
4420
4420
|
}
|
|
4421
|
-
& .rename-input-container[data-v-
|
|
4421
|
+
& .rename-input-container[data-v-113f6800] {
|
|
4422
4422
|
flex: 1;
|
|
4423
4423
|
}
|
|
4424
4424
|
}
|
|
4425
4425
|
& .item-icon {
|
|
4426
|
-
&[data-v-
|
|
4426
|
+
&[data-v-113f6800] {
|
|
4427
4427
|
position: relative;
|
|
4428
4428
|
}
|
|
4429
|
-
& .open-indicator[data-v-
|
|
4429
|
+
& .open-indicator[data-v-113f6800] {
|
|
4430
4430
|
position: absolute;
|
|
4431
4431
|
right: 0;
|
|
4432
4432
|
bottom: 0;
|
|
@@ -5402,3 +5402,56 @@ tbody[data-v-8ba92819]:has(.empty) {
|
|
|
5402
5402
|
gap: var(--kds-spacing-container-0-25x);
|
|
5403
5403
|
}
|
|
5404
5404
|
}
|
|
5405
|
+
|
|
5406
|
+
.page-navigation {
|
|
5407
|
+
&[data-v-f072c7d0] {
|
|
5408
|
+
display: flex;
|
|
5409
|
+
gap: var(--kds-spacing-container-0-5x);
|
|
5410
|
+
align-items: center;
|
|
5411
|
+
}
|
|
5412
|
+
& .navigation-buttons[data-v-f072c7d0] {
|
|
5413
|
+
display: flex;
|
|
5414
|
+
gap: var(--kds-spacing-container-0-25x);
|
|
5415
|
+
align-items: center;
|
|
5416
|
+
}
|
|
5417
|
+
& .page-count[data-v-f072c7d0] {
|
|
5418
|
+
font: var(--kds-font-base-title-small);
|
|
5419
|
+
color: var(--kds-color-text-and-icon-subtle);
|
|
5420
|
+
}
|
|
5421
|
+
}
|
|
5422
|
+
|
|
5423
|
+
.subtle[data-v-b0c515b0] {
|
|
5424
|
+
font: var(--kds-font-base-title-small);
|
|
5425
|
+
color: var(--kds-color-text-and-icon-subtle);
|
|
5426
|
+
}
|
|
5427
|
+
.muted[data-v-b0c515b0] {
|
|
5428
|
+
font: var(--kds-font-base-title-small-strong);
|
|
5429
|
+
color: var(--kds-color-text-and-icon-muted);
|
|
5430
|
+
}
|
|
5431
|
+
.row-range-container[data-v-b0c515b0] {
|
|
5432
|
+
display: flex;
|
|
5433
|
+
flex: 1 0 0;
|
|
5434
|
+
gap: var(--kds-spacing-container-0-25x);
|
|
5435
|
+
align-items: center;
|
|
5436
|
+
align-self: stretch;
|
|
5437
|
+
}
|
|
5438
|
+
|
|
5439
|
+
.kds-pagination {
|
|
5440
|
+
&[data-v-8c32717d] {
|
|
5441
|
+
display: flex;
|
|
5442
|
+
align-items: center;
|
|
5443
|
+
justify-content: space-between;
|
|
5444
|
+
padding: var(--kds-spacing-container-0-25x) var(--kds-spacing-container-0-75x);
|
|
5445
|
+
}
|
|
5446
|
+
& .page-row-range[data-v-8c32717d],
|
|
5447
|
+
& .page-size-menu[data-v-8c32717d] {
|
|
5448
|
+
flex-grow: 1;
|
|
5449
|
+
flex-basis: 0;
|
|
5450
|
+
}
|
|
5451
|
+
& .page-size-menu[data-v-8c32717d] {
|
|
5452
|
+
display: flex;
|
|
5453
|
+
gap: var(--kds-spacing-container-0-5x);
|
|
5454
|
+
align-items: center;
|
|
5455
|
+
justify-content: flex-end;
|
|
5456
|
+
}
|
|
5457
|
+
}
|