@sakaniui/react 0.17.0 → 0.17.1

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
@@ -2,6 +2,17 @@
2
2
 
3
3
  All notable changes to `@sakaniui/react` are documented here.
4
4
 
5
+ ## 0.17.1
6
+
7
+ - **Fixed: the marketing and e-commerce blocks collapsed inside a shrink-to-fit parent.** In 0.16.0 the blocks that follow their
8
+ container (`HeroBlock`, `FeatureGridBlock`, `LogoCloudBlock`, `CtaBannerBlock`, `PricingTableBlock`, `TestimonialBlock`,
9
+ `FaqBlock`, `BlogListingBlock`, `CareersBlock`, `TeamSectionBlock`, `ProductDetailBlock`, `ProductGridBlock`,
10
+ `CheckoutFlowBlock`) had their width changed from the Figma frame width to `100%` up to it. That is right in a page, but where the
11
+ parent sizes itself to its content (a docs preview that scales a block to fit, a flex child, a centred story) a percentage
12
+ width with container sizing resolves to nothing: the hero became a one-word-wide column and the section previews were
13
+ mis-aligned and unlike Figma. The root is the Figma width again (`width: <frame width>`), capped by its container
14
+ (`max-width: 100%`), so it keeps its design size where it can and still narrows on a phone.
15
+
5
16
  ## 0.17.0
6
17
 
7
18
  ### Charts: loading states, and a richer look you opt into