@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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/Tooltip/Tooltip.stories.tsx +21 -0
- package/src/components/molecules/Tooltip/Tooltip.tsx +9 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
[34mCJS[39m Build start
|
|
8
8
|
[34mESM[39m Build start
|
|
9
9
|
[34mDTS[39m Build start
|
|
10
|
-
[
|
|
11
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1.02 MB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in 7676ms
|
|
13
|
-
[32mESM[39m [1mdist/index.js [22m[32m502.90 KB[39m
|
|
10
|
+
[32mESM[39m [1mdist/index.js [22m[32m502.93 KB[39m
|
|
14
11
|
[32mESM[39m [1mdist/index.js.map [22m[32m1.02 MB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 7939ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m532.57 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1.02 MB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 7939ms
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 22135ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m98.88 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m98.88 KB[39m
|
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: [
|