@cdx-ui/components 0.0.1-beta.180 → 0.0.1-beta.181
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/README.md +12 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -48,6 +48,18 @@ Accordion, Alert, AlertDialog, Avatar, Badge, BottomSheet, Breadcrumbs, Button,
|
|
|
48
48
|
|
|
49
49
|
> `Box` is exported but deprecated — use React Native's `View` directly.
|
|
50
50
|
|
|
51
|
+
### Providers
|
|
52
|
+
|
|
53
|
+
Wrap your app (or the Forge UI section of it) with the top-level provider so overlays, toasts, and global settings work:
|
|
54
|
+
|
|
55
|
+
| Export | Description |
|
|
56
|
+
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
57
|
+
| `ForgeDesignProvider` | Top-level provider — configures global animation and text settings, the toast system, and portal/overlay management. Accepts a `config` prop. |
|
|
58
|
+
| `ToastProvider` | Standalone toast host/queue context (already included by `ForgeDesignProvider`). |
|
|
59
|
+
| `useToast` | Hook to imperatively show and dismiss toasts. |
|
|
60
|
+
|
|
61
|
+
`ForgeDesignConfig` and `ForgeDesignProviderProps` types are exported alongside `ForgeDesignProvider`.
|
|
62
|
+
|
|
51
63
|
### Hooks and navigation
|
|
52
64
|
|
|
53
65
|
| Export | Description |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cdx-ui/components",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.181",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
"@marceloterreiro/flash-calendar": "2.0.0",
|
|
82
82
|
"react-native-reanimated-carousel": "5.0.0-beta.5",
|
|
83
83
|
"uniwind": "1.10.0",
|
|
84
|
-
"@cdx-ui/
|
|
85
|
-
"@cdx-ui/
|
|
86
|
-
"@cdx-ui/icons": "0.0.1-beta.
|
|
87
|
-
"@cdx-ui/
|
|
84
|
+
"@cdx-ui/formatters": "0.0.1-beta.181",
|
|
85
|
+
"@cdx-ui/primitives": "0.0.1-beta.181",
|
|
86
|
+
"@cdx-ui/icons": "0.0.1-beta.181",
|
|
87
|
+
"@cdx-ui/utils": "0.0.1-beta.181"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@react-navigation/bottom-tabs": "*",
|