@butternutbox/pawprint-native 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.
@@ -7,12 +7,12 @@
7
7
  CJS Build start
8
8
  ESM Build start
9
9
  DTS Build start
10
- ESM dist/index.js 533.82 KB
11
- ESM dist/index.js.map 1.10 MB
12
- ESM ⚡️ Build success in 8991ms
13
- CJS dist/index.cjs 564.92 KB
14
- CJS dist/index.cjs.map 1.10 MB
15
- CJS ⚡️ Build success in 8993ms
16
- DTS ⚡️ Build success in 22924ms
17
- DTS dist/index.d.cts 111.87 KB
18
- DTS dist/index.d.ts 111.87 KB
10
+ CJS dist/index.cjs 573.11 KB
11
+ CJS dist/index.cjs.map 1.12 MB
12
+ CJS ⚡️ Build success in 6196ms
13
+ ESM dist/index.js 541.22 KB
14
+ ESM dist/index.js.map 1.12 MB
15
+ ESM ⚡️ Build success in 6197ms
16
+ DTS ⚡️ Build success in 17774ms
17
+ DTS dist/index.d.cts 114.50 KB
18
+ DTS dist/index.d.ts 114.50 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @butternutbox/pawprint-native
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b35050e: `NavigationHeader`: add new molecule on web and native, matching the design-system navigation header.
8
+ - **Variants:** `primary` (landing pages, large title) and `secondary` (child pages, back button via `onBack` and `backLabel`).
9
+ - **Surfaces:** `brand` (default), `subtle` and `plain`, with optional radius pips (`showRadiusPips`, on by default for `brand`).
10
+ - **Actions:** pass `NavigationHeader.Button` and `NavigationHeader.IconButton` in the `actions` slot. They default to the surface — white `filled` / `tertiary` on `brand`; `outlined` button and `secondary` icon button elsewhere — and `variant` / `colour` override the default. The back button follows the same rule.
11
+ - **Web desktop layout:** switches automatically from the `md` breakpoint, or is forced with `layout="mobile" | "desktop"`. No surface or pips, a labelled `secondary` back button, a `heading.desktop.xl` title (centred on `secondary`, flush-left on `primary`), large outlined buttons, and page gutters that `disableGutters` removes for templates that provide their own.
12
+ - **Native:** applies the top safe area inset (`safeAreaTop`).
13
+
14
+ `Button`: add `tertiary` colour for the `filled` variant, mirroring `IconButton`'s tertiary behaviour — white background with action text, switching to the pink background with inverse text on hover/press.
15
+
16
+ Adds an internal `useMediaQuery` hook to pawprint-web.
17
+
3
18
  ## 1.3.1
4
19
 
5
20
  ### Patch Changes