@knime/kds-components 9.1.1 → 10.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 CHANGED
@@ -1,5 +1,28 @@
1
1
  # @knime/kds-components
2
2
 
3
+ ## 10.1.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @knime/kds-styles@10.1.0
9
+
10
+ ## 10.0.0
11
+
12
+ ### Major Changes
13
+
14
+ - 77b4981: BREAKING CHANGES:
15
+
16
+ - `KdsPagination`:
17
+ - rename the `actions` slot to `trailing-actions`, matching `KdsTabPanel`.
18
+ - 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.
19
+ - 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.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @knime/kds-styles@10.0.0
25
+
3
26
  ## 9.1.1
4
27
 
5
28
  ### Patch Changes
package/dist/index.css CHANGED
@@ -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
  }