@ifhover/leaf-ui 0.19.0 → 0.20.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.
Files changed (37) hide show
  1. package/dist/cjs/browser/modules/tabletanstack/tabletanstack.cjs +8 -1
  2. package/dist/cjs/browser/modules/tabletanstack/tabletanstack.cjs.map +1 -1
  3. package/dist/cjs/styles/components/result.css +1 -1
  4. package/dist/cjs/styles/components/tabletanstack.css +1 -1
  5. package/dist/cjs/styles/empty.css +1 -1
  6. package/dist/cjs/styles/index.css +36 -17
  7. package/dist/cjs/styles/index.css.map +1 -1
  8. package/dist/cjs/styles/infinitescroll.css +1 -1
  9. package/dist/cjs/styles/result.css +1 -1
  10. package/dist/cjs/styles/tabletanstack.css +1 -1
  11. package/dist/cjs/styles/tree.css +1 -1
  12. package/dist/cjs/styles/treeselect.css +1 -1
  13. package/dist/cjs/styles/virtuallist.css +1 -1
  14. package/dist/cjs/tabletanstack/defaults.d.cts +2 -0
  15. package/dist/cjs/tabletanstack/defaults.d.cts.map +1 -1
  16. package/dist/cjs/tabletanstack/tabletanstack.cjs +8 -1
  17. package/dist/cjs/tabletanstack/tabletanstack.cjs.map +1 -1
  18. package/dist/cjs/tabletanstack/tabletanstack.d.cts.map +1 -1
  19. package/dist/esm/browser/modules/tabletanstack/tabletanstack.js +8 -1
  20. package/dist/esm/browser/modules/tabletanstack/tabletanstack.js.map +1 -1
  21. package/dist/esm/styles/components/result.css +1 -1
  22. package/dist/esm/styles/components/tabletanstack.css +1 -1
  23. package/dist/esm/styles/empty.css +1 -1
  24. package/dist/esm/styles/index.css +36 -17
  25. package/dist/esm/styles/index.css.map +1 -1
  26. package/dist/esm/styles/infinitescroll.css +1 -1
  27. package/dist/esm/styles/result.css +1 -1
  28. package/dist/esm/styles/tabletanstack.css +1 -1
  29. package/dist/esm/styles/tree.css +1 -1
  30. package/dist/esm/styles/treeselect.css +1 -1
  31. package/dist/esm/styles/virtuallist.css +1 -1
  32. package/dist/esm/tabletanstack/defaults.d.ts +2 -0
  33. package/dist/esm/tabletanstack/defaults.d.ts.map +1 -1
  34. package/dist/esm/tabletanstack/tabletanstack.d.ts.map +1 -1
  35. package/dist/esm/tabletanstack/tabletanstack.js +8 -1
  36. package/dist/esm/tabletanstack/tabletanstack.js.map +1 -1
  37. package/package.json +2 -2
@@ -9716,14 +9716,14 @@
9716
9716
  border-radius: var(--leaf-radius);
9717
9717
  background: var(--leaf-result-icon-bg);
9718
9718
  border: 0;
9719
- width: 32px;
9720
- height: 32px;
9719
+ width: 40px;
9720
+ height: 40px;
9721
9721
  }
9722
9722
 
9723
9723
  .leaf-result__icon:not(:has( > img)) > svg {
9724
9724
  stroke-width: 1.75px;
9725
- width: 16px;
9726
- height: 16px;
9725
+ width: 20px;
9726
+ height: 20px;
9727
9727
  }
9728
9728
 
9729
9729
  .leaf-result__icon > img {
@@ -9739,19 +9739,20 @@
9739
9739
  .leaf-result.leaf-empty .leaf-result__title {
9740
9740
  color: var(--leaf-color-text-muted);
9741
9741
  font-size: var(--leaf-font-size);
9742
+ line-height: var(--leaf-line-height);
9742
9743
  font-weight: 400;
9743
9744
  }
9744
9745
 
9745
9746
  .leaf-result__title {
9746
- font-size: var(--leaf-font-size);
9747
- line-height: var(--leaf-line-height);
9747
+ font-size: var(--leaf-font-size-lg);
9748
+ line-height: var(--leaf-line-height-lg);
9748
9749
  font-weight: var(--leaf-font-weight);
9749
9750
  letter-spacing: -.015em;
9750
9751
  }
9751
9752
 
9752
9753
  .leaf-result__description {
9753
- font-size: var(--leaf-font-size);
9754
- line-height: var(--leaf-line-height);
9754
+ font-size: var(--leaf-font-size-sm);
9755
+ line-height: var(--leaf-line-height-sm);
9755
9756
  color: var(--leaf-color-text-muted);
9756
9757
  text-wrap: balance;
9757
9758
  max-width: 42ch;
@@ -9777,17 +9778,13 @@
9777
9778
  }
9778
9779
 
9779
9780
  .leaf-result__extra {
9780
- margin-top: var(--leaf-spacing-lg);
9781
+ margin-top: var(--leaf-spacing-md);
9781
9782
  flex-wrap: wrap;
9782
9783
  justify-content: center;
9783
9784
  gap: 8px;
9784
9785
  display: flex;
9785
9786
  }
9786
9787
 
9787
- .leaf-result__content + .leaf-result__extra {
9788
- margin-top: var(--leaf-spacing-md);
9789
- }
9790
-
9791
9788
  @keyframes leaf-result-icon-enter {
9792
9789
  from {
9793
9790
  opacity: 0;
@@ -15616,6 +15613,19 @@
15616
15613
  margin-block-end: var(--leaf-spacing-md, 16px);
15617
15614
  }
15618
15615
 
15616
+ .leaf-data-table__top-content {
15617
+ min-width: 0;
15618
+ margin-block-end: var(--leaf-spacing-md, 16px);
15619
+ }
15620
+
15621
+ .leaf-data-table__top-content > :first-child {
15622
+ margin-block-start: 0;
15623
+ }
15624
+
15625
+ .leaf-data-table__top-content > :last-child {
15626
+ margin-block-end: 0;
15627
+ }
15628
+
15619
15629
  .leaf-data-table__tab-extra {
15620
15630
  align-items: center;
15621
15631
  gap: var(--leaf-spacing-sm);
@@ -15663,23 +15673,32 @@
15663
15673
  display: flex;
15664
15674
  }
15665
15675
 
15676
+ .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel > .leaf-card__body > .leaf-data-table__top-content {
15677
+ padding: var(--leaf-card-padding) var(--leaf-card-padding) min(16px,var(--leaf-card-padding));
15678
+ margin-block-end: 0;
15679
+ }
15680
+
15681
+ .leaf-data-table--card .leaf-data-table__card > .leaf-card__header + .leaf-card__panel > .leaf-card__body:first-child > .leaf-data-table__top-content:first-child {
15682
+ padding-block-start: 0;
15683
+ }
15684
+
15666
15685
  .leaf-data-table--card .leaf-data-table__card .leaf-table {
15667
15686
  --leaf-table-inset: calc(var(--leaf-card-padding) - var(--leaf-table-padding-inline));
15668
15687
  }
15669
15688
 
15670
- .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel:first-child > .leaf-card__body:first-child > .leaf-data-table__content:last-child .leaf-table {
15689
+ .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel:first-child > .leaf-card__body:first-child > .leaf-data-table__content:first-child:last-child .leaf-table {
15671
15690
  border-radius: var(--leaf-data-table-card-inner-radius);
15672
15691
  }
15673
15692
 
15674
- .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel:first-child > .leaf-card__body:first-child > .leaf-data-table__content:not(:last-child) .leaf-table {
15693
+ .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel:first-child > .leaf-card__body:first-child > .leaf-data-table__content:first-child:not(:last-child) .leaf-table {
15675
15694
  border-radius: var(--leaf-data-table-card-inner-radius) var(--leaf-data-table-card-inner-radius) 0 0;
15676
15695
  }
15677
15696
 
15678
- .leaf-data-table--card .leaf-data-table__card > .leaf-card__header + .leaf-card__panel > .leaf-card__body > .leaf-data-table__content:last-child .leaf-table, .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel > .leaf-card__body:not(:first-child) > .leaf-data-table__content:last-child .leaf-table {
15697
+ .leaf-data-table--card .leaf-data-table__card > .leaf-card__header + .leaf-card__panel > .leaf-card__body > .leaf-data-table__content:last-child .leaf-table, .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel > .leaf-card__body:not(:first-child) > .leaf-data-table__content:last-child .leaf-table, .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel > .leaf-card__body > .leaf-data-table__content:not(:first-child):last-child .leaf-table {
15679
15698
  border-radius: 0 0 var(--leaf-data-table-card-inner-radius) var(--leaf-data-table-card-inner-radius);
15680
15699
  }
15681
15700
 
15682
- .leaf-data-table--card .leaf-data-table__card > .leaf-card__header + .leaf-card__panel > .leaf-card__body > .leaf-data-table__content:not(:last-child) .leaf-table, .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel > .leaf-card__body:not(:first-child) > .leaf-data-table__content:not(:last-child) .leaf-table {
15701
+ .leaf-data-table--card .leaf-data-table__card > .leaf-card__header + .leaf-card__panel > .leaf-card__body > .leaf-data-table__content:not(:last-child) .leaf-table, .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel > .leaf-card__body:not(:first-child) > .leaf-data-table__content:not(:last-child) .leaf-table, .leaf-data-table--card .leaf-data-table__card > .leaf-card__panel > .leaf-card__body > .leaf-data-table__content:not(:first-child):not(:last-child) .leaf-table {
15683
15702
  border-radius: 0;
15684
15703
  }
15685
15704