@butternutbox/pawprint-native 0.13.1 → 0.14.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@butternutbox/pawprint-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ButternutBox Pawprint Design System - React Native Components",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test": "vitest run"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@butternutbox/pawprint-tokens": "^0.
|
|
25
|
+
"@butternutbox/pawprint-tokens": "^0.3.0",
|
|
26
26
|
"@emotion/native": "^11.11.0",
|
|
27
27
|
"@emotion/react": "^11.14.0",
|
|
28
28
|
"@rn-primitives/avatar": "^1.4.0",
|
|
@@ -3,7 +3,7 @@ import { View, ViewProps } from "react-native"
|
|
|
3
3
|
import styled from "@emotion/native"
|
|
4
4
|
import { useTheme } from "@emotion/react"
|
|
5
5
|
|
|
6
|
-
type IllustrationSize = "sm" | "lg" | "xl"
|
|
6
|
+
type IllustrationSize = "sm" | "lg" | "xl" | "xxl" | "xxxl"
|
|
7
7
|
|
|
8
8
|
type PawprintIllustration = React.ComponentType<{
|
|
9
9
|
width?: number
|
|
@@ -42,7 +42,7 @@ const StyledRoot = styled(View)<{
|
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
44
44
|
* @param illustration - **(required)** Illustration component
|
|
45
|
-
* @param size - *(optional)* Size variant: sm (default), lg, xl
|
|
45
|
+
* @param size - *(optional)* Size variant: sm (default), lg, xl, xxl, xxxl
|
|
46
46
|
* @param aria-label - *(optional)* Accessible label
|
|
47
47
|
*/
|
|
48
48
|
const Illustration = React.forwardRef<View, IllustrationProps>(
|