@butternutbox/pawprint-native 1.3.0 → 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
- CJS dist/index.cjs 564.54 KB
11
- CJS dist/index.cjs.map 1.10 MB
12
- CJS ⚡️ Build success in 6535ms
13
- ESM dist/index.js 533.47 KB
14
- ESM dist/index.js.map 1.10 MB
15
- ESM ⚡️ Build success in 6536ms
16
- DTS ⚡️ Build success in 17552ms
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,28 @@
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
+
18
+ ## 1.3.1
19
+
20
+ ### Patch Changes
21
+
22
+ - fb1b99b: `SelectField`: stop a searchable field going dead before the user can type.
23
+
24
+ The Portal-cascade blur that follows the dropdown mounting can reach JS after both existing recoveries (the `keyboardDidShow` re-focus and the 100ms hardware-keyboard timer) have already run. React Native still counts the input as focused at that point, so the `keyboardDidShow` re-focus is a no-op, and once the blur lands nothing focuses it again: the soft keyboard hides and hardware key presses go nowhere. The search input now re-focuses itself when it blurs while the dropdown is still open.
25
+
3
26
  ## 1.3.0
4
27
 
5
28
  ### Minor Changes