@rebinsarbaz/ui 1.0.0 → 1.0.1

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/DESIGN.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Approved visual contract
2
2
 
3
- Version 1.0.0 packages the independently implemented design system whose playground UI was approved. The core files `components/primitives.tsx`, `components/composites.tsx`, `tokens/index.ts`, `themes/index.ts`, `providers/DesignSystemProvider.tsx`, `hooks/index.ts`, and `utils/index.ts` matched the approved playground copy byte for byte before packaging. The only core-file edit was removal of an unused import; no rendered component styles or behavior changed.
3
+ Rebin UI (`@rebinsarbaz/ui`) version 1.0.1 packages the independently implemented design system whose playground UI was approved. The core files `components/primitives.tsx`, `components/composites.tsx`, `tokens/index.ts`, `themes/index.ts`, `providers/DesignSystemProvider.tsx`, `hooks/index.ts`, and `utils/index.ts` matched the approved playground copy byte for byte before packaging. The only core-file edit was removal of an unused import; no rendered component styles or behavior changed.
4
4
 
5
5
  ## Preserved design language
6
6
 
@@ -23,3 +23,4 @@ The adjacent `playground/` directory is the approved reference and remains untou
23
23
  ## Package installation comparison
24
24
 
25
25
  The packed tarball was installed into the separate `package-smoke-app/` Expo application. The shop and gallery views were compared side by side with the approved playground in dark mode and in light RTL mode; product imagery, type, color, spacing, shadows, gradient, glass, and tab treatment appeared visually equivalent. This is a web visual comparison, not an automated pixel diff or native-device signoff.
26
+
package/INTEGRATION.md CHANGED
@@ -1,106 +1,102 @@
1
- # Integrating @rebin/ui into an existing Expo application
1
+ # Integrating @rebinsarbaz/ui into an Expo application
2
2
 
3
- These steps add the design system without replacing the app's navigation, stores, business data, or working Expo configuration.
3
+ Add Rebin UI to an existing app without replacing its navigation, stores, data, or Expo configuration.
4
4
 
5
5
  ## 1. Check the host versions
6
6
 
7
- From the existing app root, run:
7
+ ```sh
8
+ npx expo install --check
9
+ npm ls react react-native expo nativewind
10
+ ```
8
11
 
9
- npx expo install --check
10
- npm ls react react-native expo nativewind
12
+ The declared peer ranges are in [README.md](./README.md#compatibility). The package was tested in an Expo 58.1.1, React 19.3.0, React Native 0.88.1, and NativeWind 4.2.x host. Keep versions selected for the host Expo SDK; use one React and React Native runtime.
11
13
 
12
- The package was validated with Expo 58.1.1, React 19.3.0, React Native 0.88.1, and NativeWind 4.2.x. Keep the versions chosen by the host Expo SDK. Do not install a second React or React Native copy. If the host uses a different Expo/NativeWind generation, first validate in a branch or separate Expo app.
14
+ ## 2. Install from npm
13
15
 
14
- ## 2. Install the tarball
16
+ ```sh
17
+ npm install @rebinsarbaz/ui
18
+ npm ls @rebinsarbaz/ui react react-native
19
+ ```
15
20
 
16
- Copy the `rebin-ui-1.0.0.tgz` file to a location accessible to the app, then run from the app root:
21
+ For optional visual effects, install native modules matched to the host SDK:
17
22
 
18
- npm install /absolute/path/to/rebin-ui-1.0.0.tgz
19
- npm ls @rebin/ui react react-native
23
+ ```sh
24
+ npx expo install expo-linear-gradient expo-blur
25
+ ```
20
26
 
21
- On Windows PowerShell, quote the path:
22
-
23
- npm install "C:\Users\Tech Line\.codex\visualizations\2026\12\05\01a247fc-18fe-7682-bfe3-4bff418f03b5\design-system\rebin-ui-1.0.0.tgz"
24
-
25
- For effects, install SDK-matched native modules:
26
-
27
- npx expo install expo-linear-gradient expo-blur
28
-
29
- For optional host haptics:
30
-
31
- npx expo install expo-haptics
32
-
33
- Import `GradientPanel` and `GlassPanel` from `@rebin/ui/effects` only after installing their modules. The core `@rebin/ui` import does not load them.
27
+ Then import `GradientPanel` and `GlassPanel` from `@rebinsarbaz/ui/effects`. The core entry does not load these modules. For optional host haptics, install and wire your preferred haptics implementation through `enhancements.haptics`.
34
28
 
35
29
  ## 3. Keep existing NativeWind setup
36
30
 
37
- Core components use semantic React Native styles and forward `className` where supported. If NativeWind 4 is already configured, retain the app's Babel, Metro, CSS, and Tailwind setup. Add the package's source path to Tailwind's `content` only if you use utility classes in package wrappers; compiled core styles need no new Tailwind classes. If NativeWind is not configured, the core still renders with its theme styles; add NativeWind according to the host Expo SDK only when class utilities are needed. Do not copy the playground config over the app.
38
-
39
- ## 4. Wrap the existing app root
40
-
41
- Keep the current router, navigation provider, query provider, and stores. Add `DesignSystemProvider` around existing screen content, and `ToastProvider` inside it when using toasts:
42
-
43
- import { DesignSystemProvider, ToastProvider } from '@rebin/ui';
44
-
45
- export default function Root() {
46
- return (
47
- <ExistingProviders>
48
- <DesignSystemProvider mode="system" locale="en" direction="ltr">
49
- <ToastProvider>
50
- <ExistingRouter />
51
- </ToastProvider>
52
- </DesignSystemProvider>
53
- </ExistingProviders>
54
- );
55
- }
56
-
57
- Do not nest a second React or React Native runtime. The package has peer dependencies for both.
58
-
59
- ## 5. Customize without editing components
60
-
61
- import { darkTheme, lightTheme } from '@rebin/ui';
62
-
63
- const myLight = {
64
- ...lightTheme,
65
- colors: { ...lightTheme.colors, primary: '#166C68', accent: '#E3B88D' },
66
- tokens: {
67
- ...lightTheme.tokens,
68
- typography: {
69
- ...lightTheme.tokens.typography,
70
- family: { regular: 'MyFont', medium: 'MyFont-Medium', bold: 'MyFont-Bold' }
71
- },
72
- gradient: { ...lightTheme.tokens.gradient, hero: ['#166C68', '#68A9A3', '#D9DDD1'] }
73
- }
74
- };
75
- const myDark = { ...darkTheme, colors: { ...darkTheme.colors, primary: '#8DDED0' } };
76
-
77
- <DesignSystemProvider themes={{ light: myLight, dark: myDark }} mode={mode} onModeChange={setMode} locale={locale} direction={direction} enhancements={{ glass: true }}>
78
-
79
- The host loads font files with `expo-font` or its existing font workflow. Persist controlled `mode` with the host's chosen storage. Set `direction` to `rtl` or `ltr`; supply translated copy separately. The provider does not call global `I18nManager` or restart the app.
80
-
81
- ## 6. Use typed props and callbacks
82
-
83
- import { Button, ProductCard, ScreenContainer, useToast } from '@rebin/ui';
84
- import { GradientPanel } from '@rebin/ui/effects';
85
-
86
- function Catalog({ product, openProduct }) {
87
- const toast = useToast();
88
- return (
89
- <ScreenContainer scroll>
90
- <GradientPanel><Button label="Explore" onPress={() => toast.show('Hello')} /></GradientPanel>
91
- <ProductCard title={product.title} price={product.formattedPrice}
92
- imageUri={product.imageUrl} onPress={() => openProduct(product.id)} />
93
- </ScreenContainer>
94
- );
95
- }
96
-
97
- The package has no API, auth, cart, wishlist, or route dependencies. Map existing app data into component props.
31
+ Core components use React Native theme styles and forward `className` where supported. If NativeWind 4 is already configured, keep the app's Babel, Metro, CSS, and Tailwind setup. The core styles do not need new Tailwind content paths. Add NativeWind only when the host uses utility classes.
32
+
33
+ ## 4. Wrap the app
34
+
35
+ ```tsx
36
+ import { DesignSystemProvider, ToastProvider } from '@rebinsarbaz/ui';
37
+
38
+ export default function Root() {
39
+ return (
40
+ <ExistingProviders>
41
+ <DesignSystemProvider mode="system" locale="en" direction="ltr">
42
+ <ToastProvider>
43
+ <ExistingRouter />
44
+ </ToastProvider>
45
+ </DesignSystemProvider>
46
+ </ExistingProviders>
47
+ );
48
+ }
49
+ ```
50
+
51
+ Use `ToastProvider` only when using `useToast`. Keep the host's existing providers and router.
52
+
53
+ ## 5. Customize themes and direction
54
+
55
+ ```tsx
56
+ import { darkTheme, lightTheme, DesignSystemProvider } from '@rebinsarbaz/ui';
57
+
58
+ const myLight = {
59
+ ...lightTheme,
60
+ colors: { ...lightTheme.colors, primary: '#166C68' },
61
+ tokens: {
62
+ ...lightTheme.tokens,
63
+ gradient: { ...lightTheme.tokens.gradient, hero: ['#166C68', '#68A9A3', '#D9DDD1'] },
64
+ },
65
+ };
66
+ const myDark = { ...darkTheme, colors: { ...darkTheme.colors, primary: '#8DDED0' } };
67
+
68
+ <DesignSystemProvider themes={{ light: myLight, dark: myDark }} mode={mode}
69
+ onModeChange={setMode} locale={locale} direction={direction}>
70
+ <ExistingRouter />
71
+ </DesignSystemProvider>
72
+ ```
73
+
74
+ The host loads custom fonts, persists controlled mode, and supplies translated copy. Set `direction` explicitly for LTR or RTL; the provider does not change global `I18nManager`.
75
+
76
+ ## 6. Use component props
77
+
78
+ ```tsx
79
+ import { Button, ProductCard, ScreenContainer, useToast } from '@rebinsarbaz/ui';
80
+ import { GradientPanel } from '@rebinsarbaz/ui/effects';
81
+
82
+ function Catalog({ product, openProduct }) {
83
+ const toast = useToast();
84
+ return (
85
+ <ScreenContainer scroll>
86
+ <GradientPanel><Button label="Explore" onPress={() => toast.show('Hello')} /></GradientPanel>
87
+ <ProductCard title={product.title} price={product.formattedPrice}
88
+ imageUri={product.imageUrl} onPress={() => openProduct(product.id)} />
89
+ </ScreenContainer>
90
+ );
91
+ }
92
+ ```
93
+
94
+ Map existing app data into component props. The package has no API, auth, cart, wishlist, or route dependencies.
98
95
 
99
96
  ## 7. Verify and roll back
100
97
 
101
- Run the host's TypeScript, lint, test, and Expo bundle checks. Compare light/dark and RTL/LTR screens on iOS and Android. If reverting, remove the provider and imports, then `npm uninstall @rebin/ui`; the original app configuration was not replaced by these steps.
98
+ Run the host's TypeScript, lint, tests, and Expo bundle checks. Compare light/dark and RTL/LTR screens in a separate Expo app against the approved visual reference. If reverting, remove the provider and imports, then run `npm uninstall @rebinsarbaz/ui`.
102
99
 
103
- ## Private npm publishing later
100
+ ## Publishing
104
101
 
105
- The package is prepared with the `@rebin/ui` scope and restricted publish setting. After choosing a license, confirming registry access, and authorizing publication, run `npm publish --access restricted` from the package directory. No publish was performed during preparation.
106
-
102
+ The package is configured for public npm access and remains `UNLICENSED`. Publication requires owner authorization and confirmation of redistribution rights. The release command is `npm publish --access public`; this guide does not authorize running it.
package/README.md CHANGED
@@ -1,63 +1,174 @@
1
- # @rebin/ui
1
+ # Rebin UI
2
2
 
3
- A production-oriented, customizable React Native design system for Expo apps. Version 1.0.0 preserves the approved playground visuals. The original Vesta repository was not modified, and no Vesta code or assets are included.
3
+ **Build beautiful native experiences.**
4
4
 
5
- ## Install
5
+ [![npm version](https://img.shields.io/npm/v/%40rebinsarbaz%2Fui)](https://www.npmjs.com/package/@rebinsarbaz/ui)
6
+ [![npm license](https://img.shields.io/npm/l/%40rebinsarbaz%2Fui)](https://www.npmjs.com/package/@rebinsarbaz/ui)
6
7
 
7
- Use the tarball built in this directory:
8
+ Rebin UI is a typed React Native component library with light and dark themes, design tokens, explicit layout direction, and optional Expo visual effects. The core entry uses React Native styles and does not load Expo effects.
8
9
 
9
- npm install "C:\Users\Tech Line\.codex\visualizations\2026\12\05\01a247fc-18fe-7682-bfe3-4bff418f03b5\design-system\rebin-ui-1.0.0.tgz"
10
+ ## Features
10
11
 
11
- React and React Native are peers and are never shipped in the tarball. Use the host app's Expo-compatible versions. Core components do not require Expo modules. Apps using `@rebin/ui/effects` must install their Expo SDK-matched `expo-linear-gradient` and `expo-blur` packages with `npx expo install expo-linear-gradient expo-blur`. Haptics are supplied as an optional callback by the host.
12
+ - 24 core components for controls, product layouts, feedback, and states.
13
+ - Layout primitives, entrance animation, and press feedback.
14
+ - Customizable semantic colors and design tokens through `DesignSystemProvider`.
15
+ - Explicit LTR and RTL layout support. The host app supplies translated copy.
16
+ - Optional gradient and blur panels from a separate effects entry.
12
17
 
13
- See [INTEGRATION.md](./INTEGRATION.md) for exact integration steps, NativeWind setup, customization, and rollback.
18
+ ## Installation
14
19
 
15
- ## Public API
20
+ ```sh
21
+ npm install @rebinsarbaz/ui
22
+ ```
16
23
 
17
- The root `@rebin/ui` exports the 24 core components, `Stack`, `Row`, `Spacer`, `Reveal`, `SurfacePress`, tokens, themes, hooks, provider, and utilities. `@rebin/ui/effects` exports `GradientPanel` and `GlassPanel`. Subpaths: `/components`, `/tokens`, `/themes`, `/hooks`, `/providers`, `/utils`.
24
+ React and React Native are peer dependencies; use versions compatible with the host. For optional effects in Expo, install SDK matched modules:
18
25
 
19
- The 24 core components are AppText, Button, IconButton, Input, SearchInput, Card, ProductImage, Badge, Avatar, Divider, ScreenContainer, SectionHeader, ListItem, ProductCard, CategoryCard, Header, TabBar, Skeleton, Modal, BottomSheet, Toast, EmptyState, LoadingState, and ErrorState. `ToastProvider` and `useToast` support imperative toast notifications.
26
+ ```sh
27
+ npx expo install expo-linear-gradient expo-blur
28
+ ```
20
29
 
21
- ## Theme
30
+ NativeWind is an optional peer for apps using utility classes. Core theme styles work without it. See [INTEGRATION.md](./INTEGRATION.md) for host setup.
22
31
 
23
- import { DesignSystemProvider, lightTheme, darkTheme, Button } from '@rebin/ui';
32
+ ## Quick start
24
33
 
25
- const customLight = {
26
- ...lightTheme,
27
- colors: { ...lightTheme.colors, primary: '#166C68', accent: '#E3B88D' },
28
- tokens: {
29
- ...lightTheme.tokens,
30
- typography: {
31
- ...lightTheme.tokens.typography,
32
- family: { regular: 'Inter', medium: 'Inter-Medium', bold: 'Inter-Bold' }
33
- }
34
- }
35
- };
36
- const customDark = { ...darkTheme, colors: { ...darkTheme.colors, primary: '#8DDED0' } };
34
+ ```tsx
35
+ import { AppText, Button, DesignSystemProvider, ScreenContainer, Stack } from '@rebinsarbaz/ui';
37
36
 
38
- <DesignSystemProvider themes={{ light: customLight, dark: customDark }} mode="system" direction="ltr" locale="en">
39
- <Button label="Continue" onPress={next} />
37
+ export default function App() {
38
+ return (
39
+ <DesignSystemProvider mode="system" direction="ltr" locale="en">
40
+ <ScreenContainer safeTop={24}>
41
+ <Stack>
42
+ <AppText variant="title" weight="bold">Welcome</AppText>
43
+ <Button label="Continue" onPress={() => {}} />
44
+ </Stack>
45
+ </ScreenContainer>
40
46
  </DesignSystemProvider>
47
+ );
48
+ }
49
+ ```
50
+
51
+ Wrap components in `DesignSystemProvider`. Its `mode` can be `light`, `dark`, or `system`; `defaultMode` sets an uncontrolled initial mode, while `mode` and `onModeChange` support controlled state. It also accepts `themes`, `direction`, `locale`, and `enhancements`. `useDesignSystem()` reads the theme, mode controls, direction, locale, and enhancements.
52
+
53
+ ## Components
54
+
55
+ These 24 core components are exported from both `@rebinsarbaz/ui` and `@rebinsarbaz/ui/components`. Components whose prop types extend React Native view, text, input, or pressable props accept those native props.
56
+
57
+ | Component | Purpose and main props |
58
+ | --- | --- |
59
+ | `AppText` | Themed text: `variant` (`caption`, `small`, `body`, `subtitle`, `title`, `display`), `tone`, `weight`. |
60
+ | `Button` | Action: required `label`; `variant` (`primary`, `secondary`, `outline`, `ghost`, `danger`), `size`, `loading`, `leading`, `trailing`, `fullWidth`, `onPress`. |
61
+ | `IconButton` | Icon action: required `icon` and accessible `label`; `size`, `variant`, `loading`, `onPress`. |
62
+ | `Input` | Text field: `label`, `error`, `hint`, `leading`, `trailing`, `size`, plus native text input props. |
63
+ | `SearchInput` | Input with optional clear action: `value`, `onClear`, `clearLabel`, plus `Input` props. |
64
+ | `Card` | Surface: `variant` (`solid`, `muted`, `outline`, `glass`), `padded`, `elevation`. |
65
+ | `ProductImage` | Product image: required `alt`; `source` or `uri`, `aspectRatio`, `style`. |
66
+ | `Badge` | Short label: required `label`; `tone` (`primary`, `success`, `danger`, `neutral`), `size`. |
67
+ | `Avatar` | Image or initials: required `name`; `source` or `uri`, `size`. |
68
+ | `Divider` | Separator with optional `inset`. |
69
+ | `ScreenContainer` | Screen wrapper: `scroll`, `safeTop`, `safeBottom`, plus view props. Insets are supplied by the host. |
70
+ | `SectionHeader` | Section title: required `title`; `subtitle`, `actionLabel`, `onAction`. |
71
+ | `ListItem` | Pressable row: required `title`; `subtitle`, `leading`, `trailing`, `onPress`. |
72
+ | `ProductCard` | Product tile: required `title` and formatted `price`; image, category, badge, rating, favorite callbacks, `layout` (`grid` or `list`), `onPress`. |
73
+ | `CategoryCard` | Category tile: required `title`; `image` or `imageUri`, `count`, `onPress`. |
74
+ | `Header` | Page heading: required `title`; `subtitle`, `leading`, `trailing`. |
75
+ | `TabBar` | Tab strip: required `items` (`key`, `label`, optional `icon` and `badge`), `activeKey`, `onChange`. |
76
+ | `Skeleton` | Placeholder: `width`, `height`, `radius`, `animated`. |
77
+ | `Modal` | Centered dialog: required `visible`, `onClose`, `children`; `title`, `closeLabel`. |
78
+ | `BottomSheet` | Bottom sheet: `Modal` props plus `snapHeight`. |
79
+ | `Toast` | Inline notification: required `message`; `tone` (`info`, `success`, `error`). |
80
+ | `EmptyState` | Empty content view: required `title`; `description`, `icon`, `actionLabel`, `onAction`. |
81
+ | `LoadingState` | Activity indicator with optional `label`. |
82
+ | `ErrorState` | Error view with the same props as `EmptyState`. |
83
+
84
+ `leading`, `trailing`, and `icon` props accept React nodes. Pass host data and localized strings through props.
85
+
86
+ ### Layout and interaction
87
+
88
+ | Export | Main props |
89
+ | --- | --- |
90
+ | `Stack` | Vertical view layout with token named `gap` and `align`. |
91
+ | `Row` | Direction aware horizontal layout with token named `gap`, `reverse`, `justify`, and `wrap`. |
92
+ | `Spacer` | Vertical space using token named `size`. |
93
+ | `Reveal` | Fade and rise entrance animation with `children` and optional `delay` in milliseconds. |
94
+ | `SurfacePress` | Pressable with theme opacity feedback; accepts `children` and native pressable props. |
95
+
96
+ ### Toast context
97
+
98
+ ```tsx
99
+ import { DesignSystemProvider, ToastProvider, Button, useToast } from '@rebinsarbaz/ui';
100
+
101
+ function SaveButton() {
102
+ const toast = useToast();
103
+ return <Button label="Save" onPress={() => toast.show('Saved', 'success')} />;
104
+ }
105
+
106
+ export function Example() {
107
+ return <DesignSystemProvider><ToastProvider><SaveButton /></ToastProvider></DesignSystemProvider>;
108
+ }
109
+ ```
110
+
111
+ `useToast()` exposes `show(message, tone?)`; the provider displays one toast for three seconds. `ToastProvider` must sit inside `DesignSystemProvider`. A host supplied `enhancements.haptics` callback runs for success or error toasts.
112
+
113
+ ## Theme customization and design tokens
114
+
115
+ `lightTheme`, `darkTheme`, and `foundations` are public exports. A `Theme` has `colors` (semantic colors such as `primary`, `surface`, `text`, and `border`) and `tokens`. Token groups are `brand`, `typography`, `spacing`, `radius`, `shadow`, `gradient`, `opacity`, `icon`, `motion`, `image`, `component`, and `layout`. Supply complete theme objects for overridden modes.
116
+
117
+ ```tsx
118
+ import { DesignSystemProvider, lightTheme, darkTheme } from '@rebinsarbaz/ui';
119
+
120
+ const brandLight = {
121
+ ...lightTheme,
122
+ colors: { ...lightTheme.colors, primary: '#166C68' },
123
+ tokens: {
124
+ ...lightTheme.tokens,
125
+ typography: {
126
+ ...lightTheme.tokens.typography,
127
+ family: { ...lightTheme.tokens.typography.family, regular: 'MyFont' },
128
+ },
129
+ },
130
+ };
131
+ const brandDark = { ...darkTheme, colors: { ...darkTheme.colors, primary: '#8DDED0' } };
132
+
133
+ <DesignSystemProvider themes={{ light: brandLight, dark: brandDark }}>
134
+ {/* Your app */}
135
+ </DesignSystemProvider>
136
+ ```
137
+
138
+ Load custom font files in the host. The provider does not persist mode choice. For a custom hero gradient, override `tokens.gradient.hero` or pass `colors` to `GradientPanel`.
139
+
140
+ ## RTL and localization
141
+
142
+ Set `direction="ltr"` or `direction="rtl"` for explicit layout direction. If omitted, the provider defaults to LTR for `locale="en"` and RTL for `locale="ar"` or `locale="ku"`. Direction aware components use this value; the provider does not change global `I18nManager`. Supply translated labels and content from the host. The public `directional(direction, ltr, rtl)` and `formatNumber(value, locale)` utilities can help with formatting.
143
+
144
+ ## Optional effects
145
+
146
+ Import Expo effects only from `@rebinsarbaz/ui/effects` after installing `expo-linear-gradient` and `expo-blur` for your Expo SDK.
147
+
148
+ ```tsx
149
+ import { GradientPanel, GlassPanel } from '@rebinsarbaz/ui/effects';
41
150
 
42
- Override `tokens.gradient.hero` to change the default `GradientPanel` palette. The provider also accepts `enhancements.glass`, `enhancements.blur`, `enhancements.renderBlur`, and `enhancements.haptics`. Locale metadata supports `en`, `ar`, and `ku`. Host applications supply translated strings and appropriate fonts.
151
+ <GradientPanel variant="hero">{/* content */}</GradientPanel>
152
+ <GlassPanel intensity={18}>{/* content */}</GlassPanel>
153
+ ```
154
+
155
+ `GradientPanel` accepts `variant="hero" | "soft"`, an optional `colors` array of at least two colors, and view props. `GlassPanel` accepts `intensity` and view props. Both use the active theme. The core import does not load Expo modules.
43
156
 
44
- ## Build and release preparation
45
-
46
- npm ci
47
- npm run typecheck
48
- npm run lint
49
- npm test
50
- npm run build
51
- npm pack
157
+ ## Compatibility
52
158
 
53
- The package is scoped for optional private npm publishing with `publishConfig.access=restricted`. Publishing is deliberately not run. The current `UNLICENSED` marker avoids implying a public reuse license; select a license and review registry access before publishing.
159
+ | Dependency | Supported peer range | Tested host version |
160
+ | --- | --- | --- |
161
+ | React | `>=19 <20` | `19.3.0` |
162
+ | React Native | `>=0.81 <0.90` | `0.88.1` |
163
+ | Expo (optional for core) | `>=54 <59` | `58.1.1` |
164
+ | NativeWind (optional) | `>=4 <5` | `4.2.x` |
165
+ | expo-linear-gradient (optional effects peer) | `>=14` | `58.0.4` |
166
+ | expo-blur (optional effects peer) | `>=14` | `58.0.6` |
54
167
 
55
- ## Compatibility
168
+ The peer ranges describe declared compatibility, not a test matrix. The listed versions were used in an Expo host. Use Expo SDK matched native modules. The package ships CommonJS JavaScript and TypeScript declarations through its export map: root, `/components`, `/tokens`, `/themes`, `/hooks`, `/providers`, `/utils`, and `/effects`.
56
169
 
57
- Validated in an Expo 58.1.1 / React Native 0.88.1 / React 19.3.0 / NativeWind 4.2.x host. Expo and NativeWind are optional peers for the core package; effects need Expo modules installed at the version matched to the consuming SDK. Build output is CommonJS plus TypeScript declarations for Metro and TypeScript consumers. The approved playground remains unchanged beside the source package as the visual reference; it is not shipped in the tarball.
170
+ ## Limitations and license
58
171
 
59
- ## Limitations
172
+ Rebin UI does not include navigation, app data, auth, translation catalogs, font files, theme persistence, or global direction changes. Product imagery and copy come from the host app. Native device visual verification remains an integration step.
60
173
 
61
- The package does not translate strings, change global `I18nManager`, persist theme choice, provide navigation or business data, or load custom font files. Device-level iOS and Android visual comparison must be performed in the consuming app before release.
62
-
63
-
174
+ The package is marked `UNLICENSED`. Public npm visibility does not grant permission to copy, modify, or redistribute its source. License terms require a separate decision by the owner.
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@rebinsarbaz/ui",
3
- "version": "1.0.0",
4
- "description": "Customizable React Native design system for Expo applications",
3
+ "version": "1.0.1",
4
+ "description": "Rebin UI: customizable React Native components, themes, and design tokens for beautiful native experiences.",
5
+ "author": "Rebin Sarbaz",
6
+ "keywords": ["react-native", "react-native-components", "design-system", "ui", "expo", "theme", "design-tokens", "rtl"],
5
7
  "license": "UNLICENSED",
6
8
  "main": "./dist/index.js",
7
9
  "react-native": "./dist/index.js",
@@ -57,7 +59,7 @@
57
59
  ],
58
60
  "sideEffects": false,
59
61
  "publishConfig": {
60
- "access": "restricted"
62
+ "access": "public"
61
63
  },
62
64
  "scripts": {
63
65
  "clean": "node scripts/clean.mjs",