@knime/kds-components 9.1.0 → 10.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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @knime/kds-components
2
2
 
3
+ ## 10.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 77b4981: BREAKING CHANGES:
8
+
9
+ - `KdsPagination`:
10
+ - rename the `actions` slot to `trailing-actions`, matching `KdsTabPanel`.
11
+ - shrink the gap between individual trailing actions from 8px to 4px, matching the spacing of the other panel components. Consumers that added their own margins between actions should drop them.
12
+ - wrap slotted actions in an element of their own instead of leaving them direct flex children of the pagination row. A slotted action that relied on being a flex child, through `flex-grow`, `align-self` or `margin-left: auto`, loses that.
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+ - @knime/kds-styles@10.0.0
18
+
19
+ ## 9.1.1
20
+
21
+ ### Patch Changes
22
+
23
+ - c39035d: `KdsFileExplorer`: fix item layout that depended on the CSS build order.
24
+ - Updated dependencies
25
+ - @knime/kds-styles@9.1.1
26
+
3
27
  ## 9.1.0
4
28
 
5
29
  ### Minor Changes
package/dist/index.css CHANGED
@@ -4296,12 +4296,9 @@ td {
4296
4296
  }
4297
4297
 
4298
4298
  .file-explorer-item-base {
4299
- &[data-v-a6f17f58] {
4299
+ &[data-v-861198b4] {
4300
4300
  /* required for positioning of renaming (.item-error) */
4301
4301
  position: relative;
4302
- display: flex;
4303
- flex-flow: row nowrap;
4304
- align-items: center;
4305
4302
  width: 100%;
4306
4303
  padding: var(--kds-spacing-container-0-12x) var(--kds-spacing-container-0-5x)
4307
4304
  var(--kds-spacing-container-0-10x);
@@ -4312,25 +4309,25 @@ td {
4312
4309
  border-bottom: var(--kds-border-base-subtle);
4313
4310
  }
4314
4311
  &:focus {
4315
- &[data-v-a6f17f58] {
4312
+ &[data-v-861198b4] {
4316
4313
  outline: none;
4317
4314
  }
4318
- &.keyboard-focus[data-v-a6f17f58] {
4315
+ &.keyboard-focus[data-v-861198b4] {
4319
4316
  padding: 0 var(--kds-spacing-container-0-37x);
4320
4317
  border: var(--kds-border-action-focused);
4321
4318
  border-radius: var(--kds-border-radius-container-0-25x);
4322
4319
  }
4323
4320
  }
4324
- &[data-v-a6f17f58]:hover:not(.disabled) {
4321
+ &[data-v-861198b4]:hover:not(.disabled) {
4325
4322
  background: var(--kds-color-background-neutral-hover);
4326
4323
  }
4327
4324
  &.selected,
4328
4325
  &.dragging {
4329
- &[data-v-a6f17f58] {
4326
+ &[data-v-861198b4] {
4330
4327
  color: var(--kds-color-text-and-icon-selected);
4331
4328
  background: var(--kds-color-background-selected-initial);
4332
4329
  }
4333
- &[data-v-a6f17f58]::before {
4330
+ &[data-v-861198b4]::before {
4334
4331
  position: absolute;
4335
4332
  top: 50%;
4336
4333
  left: 0;
@@ -4344,10 +4341,10 @@ td {
4344
4341
  transform: translateY(-50%);
4345
4342
  }
4346
4343
  }
4347
- &.selected[data-v-a6f17f58]:hover {
4344
+ &.selected[data-v-861198b4]:hover {
4348
4345
  background: var(--kds-color-background-selected-hover);
4349
4346
  }
4350
- &.dragging-over[data-v-a6f17f58] {
4347
+ &.dragging-over[data-v-861198b4] {
4351
4348
  padding: var(--kds-spacing-container-0-10x)
4352
4349
  calc(
4353
4350
  var(--kds-spacing-container-0-37x) + var(--kds-spacing-container-0-10x)
@@ -4357,13 +4354,13 @@ td {
4357
4354
  border-radius: var(--kds-border-radius-container-0-25x);
4358
4355
  }
4359
4356
  &.anything-is-dragged {
4360
- & td[data-v-a6f17f58],
4361
- & td[data-v-a6f17f58-s] {
4357
+ & td[data-v-861198b4],
4358
+ & td[data-v-861198b4-s] {
4362
4359
  /* Prevent children from interfering with drag events */
4363
4360
  pointer-events: none;
4364
4361
  }
4365
4362
  }
4366
- &.disabled[data-v-a6f17f58] {
4363
+ &.disabled[data-v-861198b4] {
4367
4364
  color: var(--kds-color-text-and-icon-disabled);
4368
4365
  pointer-events: none;
4369
4366
  }
@@ -4438,10 +4435,13 @@ td {
4438
4435
  }
4439
4436
  }
4440
4437
 
4441
- .hidden[data-v-75b0804e] {
4438
+ .hidden[data-v-17bcd573] {
4442
4439
  display: none;
4443
4440
  }
4444
- .file-explorer-item-back[data-v-75b0804e] {
4441
+ .file-explorer-item-back[data-v-17bcd573] {
4442
+ display: flex;
4443
+ flex-flow: row nowrap;
4444
+ align-items: center;
4445
4445
  cursor: pointer;
4446
4446
  }
4447
4447
 
@@ -5437,21 +5437,36 @@ tbody[data-v-8ba92819]:has(.empty) {
5437
5437
  }
5438
5438
 
5439
5439
  .kds-pagination {
5440
- &[data-v-8c32717d] {
5440
+ &[data-v-8c3859d6] {
5441
5441
  display: flex;
5442
5442
  align-items: center;
5443
5443
  justify-content: space-between;
5444
5444
  padding: var(--kds-spacing-container-0-25x) var(--kds-spacing-container-0-75x);
5445
5445
  }
5446
- & .page-row-range[data-v-8c32717d],
5447
- & .page-size-menu[data-v-8c32717d] {
5446
+ & .page-row-range[data-v-8c3859d6],
5447
+ & .page-trailing[data-v-8c3859d6] {
5448
5448
  flex-grow: 1;
5449
5449
  flex-basis: 0;
5450
5450
  }
5451
- & .page-size-menu[data-v-8c32717d] {
5451
+ & .page-trailing {
5452
+ &[data-v-8c3859d6] {
5452
5453
  display: flex;
5453
5454
  gap: var(--kds-spacing-container-0-5x);
5454
5455
  align-items: center;
5455
5456
  justify-content: flex-end;
5456
5457
  }
5458
+ & .trailing-actions {
5459
+ &[data-v-8c3859d6] {
5460
+ display: flex;
5461
+ gap: var(--kds-spacing-container-0-25x);
5462
+ align-items: center;
5463
+
5464
+ /* Slot content behind a `v-if` leaves the wrapper behind, and its empty
5465
+ flex item would still take the gap to the page-size menu. */
5466
+ }
5467
+ &[data-v-8c3859d6]:empty {
5468
+ display: none;
5469
+ }
5470
+ }
5471
+ }
5457
5472
  }