@butternutbox/pawprint-native 0.15.1 → 0.15.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.
@@ -7,12 +7,12 @@
7
7
  CJS Build start
8
8
  ESM Build start
9
9
  DTS Build start
10
- CJS dist/index.cjs 532.54 KB
11
- CJS dist/index.cjs.map 1.02 MB
12
- CJS ⚡️ Build success in 7676ms
13
- ESM dist/index.js 502.90 KB
10
+ ESM dist/index.js 502.93 KB
14
11
  ESM dist/index.js.map 1.02 MB
15
- ESM ⚡️ Build success in 7677ms
16
- DTS ⚡️ Build success in 21916ms
17
- DTS dist/index.d.cts 98.50 KB
18
- DTS dist/index.d.ts 98.50 KB
12
+ ESM ⚡️ Build success in 7939ms
13
+ CJS dist/index.cjs 532.57 KB
14
+ CJS dist/index.cjs.map 1.02 MB
15
+ CJS ⚡️ Build success in 7939ms
16
+ DTS ⚡️ Build success in 22135ms
17
+ DTS dist/index.d.cts 98.88 KB
18
+ DTS dist/index.d.ts 98.88 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @butternutbox/pawprint-native
2
2
 
3
+ ## 0.15.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 9ec51dd: `Tooltip`: widen the `text` prop to accept a `ReactNode` as well as a string.
8
+ Copy that needs part of it emphasised (bold price, coloured span, underline,
9
+ etc.) can now be passed as a node — e.g. a nested `<Typography weight="bold">`
10
+ or a `<Trans>` — which renders inside the tooltip's own `<Typography>`, so it
11
+ inherits the base font and only the emphasised span overrides it. Plain-string
12
+ usage is unchanged, and `accessibilityLabel` is still set when `text` is a
13
+ string.
14
+
3
15
  ## 0.15.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -10112,7 +10112,7 @@ var Tooltip = React66__default.default.forwardRef(
10112
10112
  ref,
10113
10113
  accessible: true,
10114
10114
  accessibilityRole: "none",
10115
- accessibilityLabel: text,
10115
+ accessibilityLabel: typeof text === "string" ? text : void 0,
10116
10116
  accessibilityLiveRegion: "polite"
10117
10117
  }, props), {
10118
10118
  children: [