@knime/kds-components 13.3.0 → 13.4.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,17 @@
1
1
  # @knime/kds-components
2
2
 
3
+ ## 13.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0d0bdaa: `KdsFileExplorer`: rename items in a modal instead of inline in the row. Add the `KdsFileExplorerRenamePayload` type for the `renameFile` event.
8
+ - 3e16db9: - `KdsPasswordInput`: add `v-model:has-stored-value` for passwords that exist but are not sent to the frontend. The field shows a masked placeholder and hides the visibility toggle; typing starts a new value from scratch and offers a button to reset to the stored one.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+ - @knime/kds-styles@13.4.0
14
+
3
15
  ## 13.3.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.css CHANGED
@@ -4488,8 +4488,7 @@ td {
4488
4488
  }
4489
4489
 
4490
4490
  .file-explorer-item-base {
4491
- &[data-v-861198b4] {
4492
- /* required for positioning of renaming (.item-error) */
4491
+ &[data-v-25b14279] {
4493
4492
  position: relative;
4494
4493
  width: 100%;
4495
4494
  padding: var(--kds-spacing-container-0-12x) var(--kds-spacing-container-0-5x)
@@ -4501,25 +4500,25 @@ td {
4501
4500
  border-bottom: var(--kds-border-base-subtle);
4502
4501
  }
4503
4502
  &:focus {
4504
- &[data-v-861198b4] {
4503
+ &[data-v-25b14279] {
4505
4504
  outline: none;
4506
4505
  }
4507
- &.keyboard-focus[data-v-861198b4] {
4506
+ &.keyboard-focus[data-v-25b14279] {
4508
4507
  padding: 0 var(--kds-spacing-container-0-37x);
4509
4508
  border: var(--kds-border-action-focused);
4510
4509
  border-radius: var(--kds-border-radius-container-0-25x);
4511
4510
  }
4512
4511
  }
4513
- &[data-v-861198b4]:hover:not(.disabled) {
4512
+ &[data-v-25b14279]:hover:not(.disabled) {
4514
4513
  background: var(--kds-color-background-neutral-hover);
4515
4514
  }
4516
4515
  &.selected,
4517
4516
  &.dragging {
4518
- &[data-v-861198b4] {
4517
+ &[data-v-25b14279] {
4519
4518
  color: var(--kds-color-text-and-icon-selected);
4520
4519
  background: var(--kds-color-background-selected-initial);
4521
4520
  }
4522
- &[data-v-861198b4]::before {
4521
+ &[data-v-25b14279]::before {
4523
4522
  position: absolute;
4524
4523
  top: 50%;
4525
4524
  left: 0;
@@ -4533,10 +4532,10 @@ td {
4533
4532
  transform: translateY(-50%);
4534
4533
  }
4535
4534
  }
4536
- &.selected[data-v-861198b4]:hover {
4535
+ &.selected[data-v-25b14279]:hover {
4537
4536
  background: var(--kds-color-background-selected-hover);
4538
4537
  }
4539
- &.dragging-over[data-v-861198b4] {
4538
+ &.dragging-over[data-v-25b14279] {
4540
4539
  padding: var(--kds-spacing-container-0-10x)
4541
4540
  calc(
4542
4541
  var(--kds-spacing-container-0-37x) + var(--kds-spacing-container-0-10x)
@@ -4546,20 +4545,20 @@ td {
4546
4545
  border-radius: var(--kds-border-radius-container-0-25x);
4547
4546
  }
4548
4547
  &.anything-is-dragged {
4549
- & td[data-v-861198b4],
4550
- & td[data-v-861198b4-s] {
4548
+ & td[data-v-25b14279],
4549
+ & td[data-v-25b14279-s] {
4551
4550
  /* Prevent children from interfering with drag events */
4552
4551
  pointer-events: none;
4553
4552
  }
4554
4553
  }
4555
- &.disabled[data-v-861198b4] {
4554
+ &.disabled[data-v-25b14279] {
4556
4555
  color: var(--kds-color-text-and-icon-disabled);
4557
4556
  pointer-events: none;
4558
4557
  }
4559
4558
  }
4560
4559
 
4561
4560
  .file-explorer-item {
4562
- &[data-v-86be9097] {
4561
+ &[data-v-b0610241] {
4563
4562
  display: grid;
4564
4563
 
4565
4564
  /* first two cols - icon + name */
@@ -4571,51 +4570,31 @@ td {
4571
4570
 
4572
4571
  /* style the last column if the options menu is visible */
4573
4572
  }
4574
- &.has-options-menu > td[data-v-86be9097]:last-child {
4573
+ &.has-options-menu > td[data-v-b0610241]:last-child {
4575
4574
  width: min-content;
4576
4575
  }
4577
4576
  & .column {
4578
- &[data-v-86be9097] {
4577
+ &[data-v-b0610241] {
4579
4578
  display: flex;
4580
4579
  align-items: center;
4581
4580
  height: 100%;
4582
4581
  overflow: hidden;
4583
4582
  white-space: nowrap;
4584
4583
  }
4585
- & .inner[data-v-86be9097] {
4584
+ & .inner[data-v-b0610241] {
4586
4585
  width: 100%;
4587
4586
  overflow: hidden;
4588
4587
  text-overflow: ellipsis;
4589
4588
  }
4590
- &.dynamic-column[data-v-86be9097]:empty {
4589
+ &.dynamic-column[data-v-b0610241]:empty {
4591
4590
  display: none;
4592
4591
  }
4593
4592
  }
4594
- & .item-error[data-v-86be9097] {
4595
- position: absolute;
4596
- bottom: 0;
4597
- z-index: 10;
4598
- padding: var(--kds-spacing-container-0-5x)
4599
- var(--kds-spacing-container-0-25x);
4600
- margin-top: var(--kds-spacing-container-0-25x);
4601
- font: var(--kds-font-base-subtext-small);
4602
- white-space: normal;
4603
- backdrop-filter: blur(10px);
4604
- transform: translateY(100%);
4605
- }
4606
- & td.rename-active {
4607
- &[data-v-86be9097] {
4608
- padding: 0 var(--kds-spacing-container-0-25x);
4609
- }
4610
- & .rename-input-container[data-v-86be9097] {
4611
- flex: 1;
4612
- }
4613
- }
4614
4593
  & .item-icon {
4615
- &[data-v-86be9097] {
4594
+ &[data-v-b0610241] {
4616
4595
  position: relative;
4617
4596
  }
4618
- & .open-indicator[data-v-86be9097] {
4597
+ & .open-indicator[data-v-b0610241] {
4619
4598
  position: absolute;
4620
4599
  right: 0;
4621
4600
  bottom: 0;
@@ -4637,7 +4616,7 @@ td {
4637
4616
  cursor: pointer;
4638
4617
  }
4639
4618
 
4640
- .file-explorer[data-v-0ed9a167] {
4619
+ .file-explorer[data-v-1dd4e671] {
4641
4620
  display: flex;
4642
4621
  flex: 1 0 0%;
4643
4622
  flex-direction: column;
@@ -4646,10 +4625,10 @@ td {
4646
4625
  /* needed so that the virtualization container can size the wrapper properly */
4647
4626
  min-height: 0;
4648
4627
  }
4649
- .file-explorer-item[data-v-0ed9a167] {
4650
- height: var(--v771074a4);
4628
+ .file-explorer-item[data-v-1dd4e671] {
4629
+ height: var(--v8a863fbe);
4651
4630
  }
4652
- thead[data-v-0ed9a167] {
4631
+ thead[data-v-1dd4e671] {
4653
4632
  /* Hide table head for better readability but keeping it for a11y reasons */
4654
4633
  position: absolute;
4655
4634
 
@@ -4660,7 +4639,7 @@ thead[data-v-0ed9a167] {
4660
4639
  overflow: hidden;
4661
4640
  white-space: nowrap; /* added line */
4662
4641
  }
4663
- table[data-v-0ed9a167] {
4642
+ table[data-v-1dd4e671] {
4664
4643
  height: 100%;
4665
4644
  overflow: hidden auto;
4666
4645
  scrollbar-gutter: stable;
@@ -4671,19 +4650,19 @@ table[data-v-0ed9a167] {
4671
4650
  }
4672
4651
  table,
4673
4652
  tbody {
4674
- &[data-v-0ed9a167] {
4653
+ &[data-v-1dd4e671] {
4675
4654
  width: 100%;
4676
4655
  border-spacing: 0;
4677
4656
  }
4678
- &[data-v-0ed9a167]:not(:has(.empty)) {
4657
+ &[data-v-1dd4e671]:not(:has(.empty)) {
4679
4658
  display: block;
4680
4659
  }
4681
4660
  }
4682
4661
  table:focus {
4683
- &[data-v-0ed9a167] {
4662
+ &[data-v-1dd4e671] {
4684
4663
  outline: none;
4685
4664
  }
4686
- &.keyboard-focus[data-v-0ed9a167] {
4665
+ &.keyboard-focus[data-v-1dd4e671] {
4687
4666
  outline: 2px solid var(--kds-color-focus-outline);
4688
4667
  border-radius: var(--kds-border-radius-container-0-25x);
4689
4668
  }
@@ -4697,7 +4676,7 @@ table:focus {
4697
4676
  * CSS table instead distributed the single short row inconsistently
4698
4677
  * (Chrome centers it, Firefox keeps it at the top).
4699
4678
  */
4700
- table[data-v-0ed9a167]:has(.empty) {
4679
+ table[data-v-1dd4e671]:has(.empty) {
4701
4680
  display: flex;
4702
4681
  flex-direction: column;
4703
4682
 
@@ -4705,7 +4684,7 @@ table[data-v-0ed9a167]:has(.empty) {
4705
4684
  * message when the surrounding container is only as tall as its content. */
4706
4685
  min-height: var(--kds-dimension-component-height-12-5x);
4707
4686
  }
4708
- tbody[data-v-0ed9a167]:has(.empty) {
4687
+ tbody[data-v-1dd4e671]:has(.empty) {
4709
4688
  display: flex;
4710
4689
  flex: 1 0 0;
4711
4690
  flex-direction: column;
@@ -4713,11 +4692,11 @@ tbody[data-v-0ed9a167]:has(.empty) {
4713
4692
  min-height: max-content;
4714
4693
  padding-top: var(--kds-spacing-container-4x);
4715
4694
  }
4716
- .empty[data-v-0ed9a167],
4717
- .empty td[data-v-0ed9a167] {
4695
+ .empty[data-v-1dd4e671],
4696
+ .empty td[data-v-1dd4e671] {
4718
4697
  display: block;
4719
4698
  }
4720
- .custom-preview[data-v-0ed9a167] {
4699
+ .custom-preview[data-v-1dd4e671] {
4721
4700
  position: fixed;
4722
4701
  top: 0;
4723
4702
  left: 0;