@instacks/peak 1.3.2 → 1.5.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.
@@ -3976,6 +3976,10 @@ meter {
3976
3976
  min-inline-size: 60%;
3977
3977
  }
3978
3978
 
3979
+ .peak-with-sidebar.end > :is(aside, .peak-sidebar), .peak-with-sidebar.end > .out:has( > .peak-sidebar) {
3980
+ order: 1;
3981
+ }
3982
+
3979
3983
  @container peak-sidebar (width >= 45rem) {
3980
3984
  .peak-with-sidebar.sticky > :is(aside, .peak-sidebar), .peak-with-sidebar.sticky > .out:has( > .peak-sidebar) {
3981
3985
  align-self: start;
@@ -4011,6 +4015,10 @@ meter {
4011
4015
  align-items: center;
4012
4016
  }
4013
4017
 
4018
+ .peak-media.end > :first-child {
4019
+ order: 1;
4020
+ }
4021
+
4014
4022
  .peak-switcher {
4015
4023
  gap: var(--peak-gap, var(--pico-spacing));
4016
4024
  flex-wrap: wrap;
@@ -4117,6 +4125,10 @@ meter {
4117
4125
  margin-block-start: var(--pico-typography-spacing-vertical) !important;
4118
4126
  }
4119
4127
 
4128
+ :is(.peak-callout, .peak-accordion > details, [popover], .site-footer, :scope.site-footer) > .out:last-child > .stacks_in > :last-child {
4129
+ margin-block-end: 0;
4130
+ }
4131
+
4120
4132
  @media (width < 576px) {
4121
4133
  .stacks_in.peak-hide-below-sm {
4122
4134
  display: none !important;
@@ -5584,6 +5596,20 @@ dialog:not([open])::backdrop {
5584
5596
  }
5585
5597
  }
5586
5598
 
5599
+ .peak-fit-cover, .peak-fit-contain {
5600
+ aspect-ratio: var(--peak-ratio, auto);
5601
+ object-position: center;
5602
+ block-size: auto;
5603
+ }
5604
+
5605
+ .peak-fit-cover {
5606
+ object-fit: cover;
5607
+ }
5608
+
5609
+ .peak-fit-contain {
5610
+ object-fit: contain;
5611
+ }
5612
+
5587
5613
  .peak-visually-hidden:not(:focus-within) {
5588
5614
  clip-path: inset(50%);
5589
5615
  white-space: nowrap;