@instacks/peak 1.3.1 → 1.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.
@@ -4109,6 +4109,14 @@ meter {
4109
4109
  overflow: visible !important;
4110
4110
  }
4111
4111
 
4112
+ :where(.out:not(:last-child):has( > .stacks_in.text_stack):not(:has( > .stacks_in > :is(p, ul, ol, dl, blockquote, pre, table, figure, h1, h2, h3, h4, h5, h6):last-child))) {
4113
+ margin-block-end: var(--pico-typography-spacing-vertical);
4114
+ }
4115
+
4116
+ .stacks_in.text_stack > p[\,]:first-of-type {
4117
+ margin-block-start: var(--pico-typography-spacing-vertical) !important;
4118
+ }
4119
+
4112
4120
  @media (width < 576px) {
4113
4121
  .stacks_in.peak-hide-below-sm {
4114
4122
  display: none !important;
@@ -5576,6 +5584,20 @@ dialog:not([open])::backdrop {
5576
5584
  }
5577
5585
  }
5578
5586
 
5587
+ .peak-fit-cover, .peak-fit-contain {
5588
+ aspect-ratio: var(--peak-ratio, auto);
5589
+ object-position: center;
5590
+ block-size: auto;
5591
+ }
5592
+
5593
+ .peak-fit-cover {
5594
+ object-fit: cover;
5595
+ }
5596
+
5597
+ .peak-fit-contain {
5598
+ object-fit: contain;
5599
+ }
5600
+
5579
5601
  .peak-visually-hidden:not(:focus-within) {
5580
5602
  clip-path: inset(50%);
5581
5603
  white-space: nowrap;