@tonycodes-ui/mortar 0.16.1 → 0.17.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.
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.17.0 (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
+ - **Mortar for SwiftUI** ([#95](https://github.com/tonycodes/mortar/issues/95)): a Swift package (`Package.swift` at the repo root) for iOS 17, iPadOS 17 and macOS 14. `MortarTheme` carries a brand's palettes, fonts and density through the environment, and `MortarButton`, `MortarBadge`, `MortarCard`, `MortarTextField`, `MortarSwitch`, `MortarAvatar`, `MortarNotice` and `MortarEmptyState` mirror the web components, with button and toggle styles for plain SwiftUI controls. Snapshot tests run on an iOS simulator in CI. See [Native apps](docs/native.md).
10
10
 
11
11
  ## 0.11.0 (2026-10-20)
12
12