@fluid-theme/core 2.2.10 → 2.2.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-theme/core",
3
- "version": "2.2.10",
3
+ "version": "2.2.12",
4
4
  "description": "A modern, semantic CSS design system built on physics principles — not utility classes",
5
5
  "main": "dist/fluid.min.css",
6
6
  "style": "dist/fluid.min.css",
@@ -48,6 +48,7 @@
48
48
  "test:toc": "node scripts/toc-check.mjs",
49
49
  "test:places": "node scripts/places-check.mjs",
50
50
  "test:nav": "node scripts/nav-check.mjs",
51
+ "test:hero-fill": "node scripts/hero-fill-check.mjs",
51
52
  "test": "echo \"Visual testing only - open examples/foundation.html in browser\"",
52
53
  "test:zero": "node scripts/visual-scan.mjs scripts/fixtures/zero.html && node scripts/axe-check.mjs --pages scripts/fixtures/zero.html && node scripts/focus-check.mjs --page scripts/fixtures/zero.html"
53
54
  },
@@ -183,6 +183,12 @@
183
183
  object-fit: cover;
184
184
  }
185
185
 
186
+ /* A <picture> wrapper (art direction, avif/webp sources) is a block at
187
+ the photo's own ratio, so the img's 100% followed it and a tall hero
188
+ showed the bare band under the photo (#137). Its box steps aside: the
189
+ img fills .hero__background as a bare one does. */
190
+ .hero__background picture { display: contents; }
191
+
186
192
  /* data-focus on the wrapper sets --focus (base.css), which the img reads. */
187
193
  /* Custom focal point via CSS custom properties */
188
194
  .hero__background[style*="--focus"] img {
package/src/fluid.css CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Like water: adaptable, natural, powerful yet gentle.
6
6
  *
7
- * @version 2.2.10
7
+ * @version 2.2.12
8
8
  * @license MIT
9
9
  *
10
10
  * Layer Architecture: