@cdx-ui/components 0.0.1-beta.7 → 0.0.1-beta.8

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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -66,6 +66,12 @@ For convenience, the package re-exports several core RN components and hooks wit
66
66
  | `SafeAreaView` | `react-native-safe-area-context` |
67
67
  | `useSafeAreaInsets` | `react-native-safe-area-context` |
68
68
 
69
+ ## Figma Code Connect
70
+
71
+ Template files in [`src/figma/`](./src/figma/) map Figma component variants to production CDX UI snippets shown in Figma Dev Mode. These files are excluded from the npm tarball (`!src/figma` in `files`) and published to Figma via CI on pushes to `main`.
72
+
73
+ See the **[Code Connect authoring guide](../../docs/internal/practices/code-connect.md)** for conventions, property mapping patterns, and local workflow.
74
+
69
75
  ## Testing
70
76
 
71
77
  Tests live in [`__tests__/`](./__tests__/). **Jest** uses the repo-root **`jest.config.js`** with **two projects**: **`rntl`** (jest-expo native + **`@testing-library/react-native`**) for `*.test.tsx`, and **`axe`** (jest-expo web + jsdom + **`@testing-library/react`** + **`jest-axe`**) for `*.axe.test.tsx`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdx-ui/components",
3
- "version": "0.0.1-beta.7",
3
+ "version": "0.0.1-beta.8",
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.7",
71
- "@cdx-ui/icons": "0.0.1-beta.7",
72
- "@cdx-ui/utils": "0.0.1-beta.7"
70
+ "@cdx-ui/primitives": "0.0.1-beta.8",
71
+ "@cdx-ui/utils": "0.0.1-beta.8",
72
+ "@cdx-ui/icons": "0.0.1-beta.8"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@types/react": "*",