@tonycodes-ui/mortar 0.16.1 → 0.16.2

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,11 +2,11 @@
2
2
 
3
3
  Mortar follows [semantic versioning](https://semver.org/). Before 1.0, a minor release may contain breaking changes, and it says so. Each release is published from its `v<version>` tag to [npmjs.com](https://www.npmjs.com/package/@tonycodes-ui/mortar) with npm provenance. Its GitHub release carries the exact archive and a `provenance.json` with the commit and SHA-512 integrity.
4
4
 
5
- ## 0.16.1 (2026-11-07)
5
+ ## 0.16.2 (2026-11-07)
6
6
 
7
7
  ### Added
8
8
 
9
- - **Fallbacks for images that fail to load** ([#67](https://github.com/tonycodes/mortar/issues/67)). The image objects that GridList (`cover`), ProductList, ProductOverview, ProductQuickView, ShoppingCart and OrderHistory take accept `fallbackSrc` and `fallback`. If `src` fails or is empty, `fallbackSrc` is tried once. If that fails too, or there isn't one, `fallback` (any node) or a placeholder icon fills the image's reserved box, so nothing shifts. The placeholder is named by the image's `alt`, with no duplicate label. Each source is tried at most once, so a broken fallback can't loop, and a new `src` starts over. A broken Avatar photo now shows the avatar's initials or icon, and a broken LogoCloud logo shows the company name.
9
+ - **Native tokens** for the coming SwiftUI and Jetpack Compose libraries ([#95](https://github.com/tonycodes/mortar/issues/95)). `MortarTokens.swift` and `MortarTokens.kt` hold the neutral light and dark palettes, densities and scales, generated from `tokens.css` by `npm run native:tokens`, and a test fails when they drift. Nothing changes in the npm package's API. See [Native apps](docs/native.md).
10
10
 
11
11
  ## 0.11.0 (2026-10-20)
12
12