@cdx-ui/components 0.0.1-beta.68 → 0.0.1-beta.69
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 +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ pnpm add @cdx-ui/components
|
|
|
16
16
|
- `react-native` >= 0.76.0 _(optional — for native targets)_
|
|
17
17
|
- `react-native-web` >= 0.19.0 _(optional — for web targets)_
|
|
18
18
|
- `react-native-safe-area-context` >= 4.0.0 — required for `SafeAreaView` and `useSafeAreaInsets` re-exports
|
|
19
|
-
- `react-native-reanimated` >= 3.0.0 _(optional — required for `BottomSheet`)_
|
|
19
|
+
- `react-native-reanimated` >= 3.0.0 _(optional — required for `BottomSheet` and `Skeleton`)_
|
|
20
20
|
- `@shopify/flash-list` >= 2.0.0 _(optional — required for `VirtualizedList`)_
|
|
21
21
|
|
|
22
22
|
> **Note:** `uniwind` (1.6.x) is a direct dependency — it is bundled automatically and does not need to be installed separately.
|
|
@@ -39,7 +39,7 @@ Component stories live in [`apps/storybook`](../../apps/storybook/). See the ful
|
|
|
39
39
|
|
|
40
40
|
### Components
|
|
41
41
|
|
|
42
|
-
AlertDialog, Avatar, BottomSheet, Button, Card, Checkbox, Chip, Dialog, Field, Form, Heading, HStack / VStack, Icon, IconButton, Image, Input, Link, ListItem, OtpInput, ProgressBar, ProgressSegmented, Radio, ScopedTheme, Select, Switch, Text, Tile, VirtualizedList.
|
|
42
|
+
AlertDialog, Avatar, BottomSheet, Button, Card, Checkbox, Chip, Dialog, Field, Form, Heading, HStack / VStack, Icon, IconButton, Image, Input, Link, ListItem, OtpInput, ProgressBar, ProgressSegmented, Radio, ScopedTheme, Select, Skeleton, Switch, Text, Tile, VirtualizedList.
|
|
43
43
|
|
|
44
44
|
> `Box` is exported but deprecated — use React Native's `View` directly.
|
|
45
45
|
|
|
@@ -86,7 +86,7 @@ See the **[Code Connect authoring guide](../../docs/internal/practices/code-conn
|
|
|
86
86
|
|
|
87
87
|
## Testing
|
|
88
88
|
|
|
89
|
-
Tests live in [`__tests__/`](./__tests__/). **Jest** uses the repo-root **`jest.config.js`** with **
|
|
89
|
+
Tests live in [`__tests__/`](./__tests__/). **Jest** uses the repo-root **`jest.config.js`** with **three projects**: **`rntl`** (jest-expo native + **`@testing-library/react-native`**) for `*.test.tsx`, **`axe`** (jest-expo web + jsdom + **`@testing-library/react`** + **`jest-axe`**) for `*.axe.test.tsx`, and **`utils`** (**`@cdx-ui/utils`** co-located tests). The first two target `packages/components/__tests__/`.
|
|
90
90
|
|
|
91
91
|
```bash
|
|
92
92
|
# From monorepo root
|
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.69",
|
|
4
4
|
"main": "lib/commonjs/index.js",
|
|
5
5
|
"module": "lib/module/index.js",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"@gorhom/bottom-sheet": "^5.2.6",
|
|
68
68
|
"class-variance-authority": "^0.7.1",
|
|
69
69
|
"uniwind": "1.6.1",
|
|
70
|
-
"@cdx-ui/primitives": "0.0.1-beta.
|
|
71
|
-
"@cdx-ui/utils": "0.0.1-beta.
|
|
72
|
-
"@cdx-ui/icons": "0.0.1-beta.
|
|
70
|
+
"@cdx-ui/primitives": "0.0.1-beta.69",
|
|
71
|
+
"@cdx-ui/utils": "0.0.1-beta.69",
|
|
72
|
+
"@cdx-ui/icons": "0.0.1-beta.69"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@react-navigation/bottom-tabs": "*",
|