@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 +2 -1
- package/INTEGRATION.md +84 -88
- package/README.md +153 -42
- package/package.json +5 -3
package/DESIGN.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Approved visual contract
|
|
2
2
|
|
|
3
|
-
|
|
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 @
|
|
1
|
+
# Integrating @rebinsarbaz/ui into an Expo application
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
7
|
+
```sh
|
|
8
|
+
npx expo install --check
|
|
9
|
+
npm ls react react-native expo nativewind
|
|
10
|
+
```
|
|
8
11
|
|
|
9
|
-
|
|
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
|
-
|
|
14
|
+
## 2. Install from npm
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
```sh
|
|
17
|
+
npm install @rebinsarbaz/ui
|
|
18
|
+
npm ls @rebinsarbaz/ui react react-native
|
|
19
|
+
```
|
|
15
20
|
|
|
16
|
-
|
|
21
|
+
For optional visual effects, install native modules matched to the host SDK:
|
|
17
22
|
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
```sh
|
|
24
|
+
npx expo install expo-linear-gradient expo-blur
|
|
25
|
+
```
|
|
20
26
|
|
|
21
|
-
|
|
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
|
|
38
|
-
|
|
39
|
-
## 4. Wrap the
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
## 5. Customize
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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,
|
|
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
|
-
##
|
|
100
|
+
## Publishing
|
|
104
101
|
|
|
105
|
-
The package is
|
|
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
|
-
#
|
|
1
|
+
# Rebin UI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Build beautiful native experiences.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/@rebinsarbaz/ui)
|
|
6
|
+
[](https://www.npmjs.com/package/@rebinsarbaz/ui)
|
|
6
7
|
|
|
7
|
-
|
|
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
|
-
|
|
10
|
+
## Features
|
|
10
11
|
|
|
11
|
-
|
|
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
|
-
|
|
18
|
+
## Installation
|
|
14
19
|
|
|
15
|
-
|
|
20
|
+
```sh
|
|
21
|
+
npm install @rebinsarbaz/ui
|
|
22
|
+
```
|
|
16
23
|
|
|
17
|
-
|
|
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
|
-
|
|
26
|
+
```sh
|
|
27
|
+
npx expo install expo-linear-gradient expo-blur
|
|
28
|
+
```
|
|
20
29
|
|
|
21
|
-
|
|
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
|
-
|
|
32
|
+
## Quick start
|
|
24
33
|
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
39
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
170
|
+
## Limitations and license
|
|
58
171
|
|
|
59
|
-
|
|
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
|
|
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.
|
|
4
|
-
"description": "
|
|
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": "
|
|
62
|
+
"access": "public"
|
|
61
63
|
},
|
|
62
64
|
"scripts": {
|
|
63
65
|
"clean": "node scripts/clean.mjs",
|