@zj-dynamics/components-native 0.1.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,17 +1,21 @@
1
1
  # @zj-dynamics/components-native
2
2
 
3
- Private React Native package for Rulnar. The first slice exports `Button`, `InputText`, `ContentOverlay`, `OverlayProvider`, `ThemeProvider`, and `useTheme`. Use `@zj-dynamics/design` for brand definitions.
3
+ Rulnar components for React Native, including controls, forms, overlays, and theming. Use `@zj-dynamics/design` for brand definitions and `@zj-dynamics/design/native` for Native theme outputs.
4
4
 
5
5
  Mount the app's gesture handler root and safe-area provider around `OverlayProvider`, then wrap the editor in `ThemeProvider`. A `ContentOverlay` ref exposes `open()` and `close()`. An `InputText` placed in a sheet coordinates with its keyboard and scroll view.
6
6
 
7
7
  On Android, TalkBack enters the sheet at its title or Dismiss button. Pass the opening control's ref to `open(openerRef)` so TalkBack can return to it after the sheet closes. Attach that ref to a Rulnar `Button` or another native view that TalkBack can focus.
8
8
 
9
- On Android, use an Activity configured with `android:windowSoftInputMode="adjustResize"` to match the overlay. The Expo test consumer pins the current native peer profile. For the local setup, keyboard patch, supported subset, and platform checks, see `docs/parity/NATIVE_WORKSPACE_SLICE.md` in the repository.
9
+ On Android, use an Activity configured with `android:windowSoftInputMode="adjustResize"` to match the overlay. The [Native QA handoff](../../docs/parity/NATIVE_QA_HANDOFF.md) records the tested Expo peer versions, the iOS keyboard patch for Gorhom Bottom Sheet `5.2.14`, and the steps for verifying both platforms.
10
10
 
11
11
  ## Foundations
12
12
 
13
13
  Content, Flex and Divider read the pinned platform spacing and border scales. Typography, Heading, Text, TextList and StatusLabel use the frozen native component source with Rulnar theme tokens. Register the Inter body aliases and `Poppins-Bold`, `Poppins-ExtraBold`, and `Poppins-Black` for display text. Poppins is the approved native display substitute. The Expo fixture uses these aliases and maps its existing Poppins files to the Inter body aliases for the smoke screen. Product body-font registration and visual comparison remain acceptance steps.
14
14
 
15
+ ## Security
16
+
17
+ Report suspected vulnerabilities privately to [rulnar-security@zjdynamics.com](mailto:rulnar-security@zjdynamics.com).
18
+
15
19
  ## License
16
20
 
17
21
  The MIT license in `LICENSE` applies to Rulnar-owned code. Third-party materials retain their accompanying licenses and notices.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zj-dynamics/components-native",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Rulnar React Native components and native-specific behavior.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -131,8 +131,8 @@
131
131
  "@react-native-picker/picker": "2.11.4",
132
132
  "@rn-primitives/portal": "1.5.3",
133
133
  "@rn-primitives/select": "1.5.2",
134
- "@zj-dynamics/design": "0.1.0",
135
- "@zj-dynamics/hooks": "0.1.0",
134
+ "@zj-dynamics/design": "0.2.0",
135
+ "@zj-dynamics/hooks": "0.2.0",
136
136
  "autolinker": "4.1.5",
137
137
  "date-fns": "2.30.0",
138
138
  "date-fns-tz": "2.0.1",