react-native-atomic-ui 1.0.0 → 1.0.2

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/CHANGELOG.md CHANGED
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  ## [Unreleased]
9
9
 
10
10
  ### Added
11
- - Initial release of @react-native-atomic-ui/core v1.0.0
11
+ - Initial release of react-native-atomic-ui v1.0.0
12
12
  - 30+ core UI components (zero external dependencies)
13
13
  - Context-based theme system with light/dark mode support
14
14
  - System preference detection for automatic theme selection
@@ -41,7 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
41
 
42
42
  ### Initial Release
43
43
 
44
- The first stable release of @react-native-atomic-ui/core, a zero-dependency React Native UI component library featuring:
44
+ The first stable release of react-native-atomic-ui, a zero-dependency React Native UI component library featuring:
45
45
 
46
46
  #### Core Components
47
47
  - Layout: Box, Row, Column, Collapsible
@@ -118,11 +118,11 @@ v1.0 introduces major improvements and some breaking changes:
118
118
  3. Update imports:
119
119
  ```typescript
120
120
  // Before (if using Redux)
121
- import { useThemeWithRedux } from '@react-native-atomic-ui/core';
121
+ import { useThemeWithRedux } from 'react-native-atomic-ui';
122
122
  const { theme } = useThemeWithRedux();
123
123
 
124
124
  // After (use app's Redux)
125
- import { useTheme } from '@react-native-atomic-ui/core';
125
+ import { useTheme } from 'react-native-atomic-ui';
126
126
  const { theme } = useTheme();
127
127
  ```
128
128
 
@@ -131,13 +131,13 @@ v1.0 introduces major improvements and some breaking changes:
131
131
  ## Installation
132
132
 
133
133
  ```bash
134
- npm install @react-native-atomic-ui/core
134
+ npm install react-native-atomic-ui
135
135
  ```
136
136
 
137
137
  ## Links
138
138
 
139
139
  - [GitHub](https://github.com/your-org/react-native-atomic-ui)
140
- - [npm](https://www.npmjs.com/package/@react-native-atomic-ui/core)
140
+ - [npm](https://www.npmjs.com/package/react-native-atomic-ui)
141
141
  - [Documentation](https://github.com/your-org/react-native-atomic-ui#readme)
142
142
 
143
143
  ---
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @react-native-atomic-ui/core
1
+ # react-native-atomic-ui
2
2
 
3
3
  **A zero-dependency atomic UI component library for React Native with built-in dark mode support.**
4
4
 
@@ -51,9 +51,9 @@
51
51
  ### Basic Setup
52
52
 
53
53
  ```bash
54
- npm install @react-native-atomic-ui/core react-native
54
+ npm install react-native-atomic-ui react-native
55
55
  # or
56
- yarn add @react-native-atomic-ui/core react-native
56
+ yarn add react-native-atomic-ui react-native
57
57
  ```
58
58
 
59
59
  ### With Optional Components
@@ -84,7 +84,7 @@ Wrap your app with `ThemeProvider` at the root level:
84
84
 
85
85
  ```typescript
86
86
  import React from 'react';
87
- import { ThemeProvider } from '@react-native-atomic-ui/core';
87
+ import { ThemeProvider } from 'react-native-atomic-ui';
88
88
  import { App } from './App';
89
89
 
90
90
  export function Root() {
@@ -107,7 +107,7 @@ import {
107
107
  H1,
108
108
  Body1,
109
109
  useTheme,
110
- } from '@react-native-atomic-ui/core';
110
+ } from 'react-native-atomic-ui';
111
111
 
112
112
  export function MyScreen() {
113
113
  const { theme, isDark, toggleTheme } = useTheme();
@@ -137,7 +137,7 @@ export function MyScreen() {
137
137
  The library automatically detects system color scheme and provides both light and dark themes:
138
138
 
139
139
  ```typescript
140
- import { useTheme } from '@react-native-atomic-ui/core';
140
+ import { useTheme } from 'react-native-atomic-ui';
141
141
 
142
142
  export function ThemedComponent() {
143
143
  const { theme, isDark, toggleTheme } = useTheme();
@@ -196,7 +196,7 @@ theme.spacing.xxl // 48px
196
196
  Use named variants for consistent typography:
197
197
 
198
198
  ```typescript
199
- import { H1, Body1, Caption, Text, useTheme } from '@react-native-atomic-ui/core';
199
+ import { H1, Body1, Caption, Text, useTheme } from 'react-native-atomic-ui';
200
200
 
201
201
  export function TypographyExample() {
202
202
  const { theme } = useTheme();
@@ -308,7 +308,7 @@ Advanced components require specific peer dependencies. Import them from submodu
308
308
  ### Date Picker
309
309
 
310
310
  ```typescript
311
- import { DatePickerInput } from '@react-native-atomic-ui/core/date-picker';
311
+ import { DatePickerInput } from 'react-native-atomic-ui/date-picker';
312
312
 
313
313
  // Requires: npm install @react-native-community/datetimepicker
314
314
 
@@ -323,7 +323,7 @@ import { DatePickerInput } from '@react-native-atomic-ui/core/date-picker';
323
323
  ### Pickers
324
324
 
325
325
  ```typescript
326
- import { BorderedPickerInput } from '@react-native-atomic-ui/core/picker';
326
+ import { BorderedPickerInput } from 'react-native-atomic-ui/picker';
327
327
 
328
328
  // Requires: npm install react-native-picker-select
329
329
 
@@ -341,7 +341,7 @@ import { BorderedPickerInput } from '@react-native-atomic-ui/core/picker';
341
341
  ### File Picker
342
342
 
343
343
  ```typescript
344
- import { FilePicker } from '@react-native-atomic-ui/core/file-picker';
344
+ import { FilePicker } from 'react-native-atomic-ui/file-picker';
345
345
 
346
346
  // Requires: npm install @react-native-documents/picker
347
347
 
@@ -354,7 +354,7 @@ import { FilePicker } from '@react-native-atomic-ui/core/file-picker';
354
354
  ### Rich Text
355
355
 
356
356
  ```typescript
357
- import { RichText, RichTextInput } from '@react-native-atomic-ui/core/rich-text';
357
+ import { RichText, RichTextInput } from 'react-native-atomic-ui/rich-text';
358
358
 
359
359
  // Requires: npm install react-native-webview
360
360
  // For editor: npm install github:starburst997/10tap-editor#jd
@@ -377,7 +377,7 @@ import {
377
377
  ThemeContextValue,
378
378
  BoxProps,
379
379
  ButtonProps,
380
- } from '@react-native-atomic-ui/core';
380
+ } from 'react-native-atomic-ui';
381
381
 
382
382
  // All components are fully typed
383
383
  const myComponent: React.FC<BoxProps> = (props) => {
@@ -413,7 +413,7 @@ const myComponent: React.FC<BoxProps> = (props) => {
413
413
  Make sure your app is wrapped with `ThemeProvider`:
414
414
 
415
415
  ```typescript
416
- import { ThemeProvider } from '@react-native-atomic-ui/core';
416
+ import { ThemeProvider } from 'react-native-atomic-ui';
417
417
 
418
418
  export function Root() {
419
419
  return (
@@ -481,5 +481,5 @@ Contributions are welcome! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for g
481
481
  ## 🔗 Links
482
482
 
483
483
  - [GitHub Repository](https://github.com/your-org/react-native-atomic-ui)
484
- - [npm Package](https://www.npmjs.com/package/@react-native-atomic-ui/core)
484
+ - [npm Package](https://www.npmjs.com/package/react-native-atomic-ui)
485
485
  - [Issue Tracker](https://github.com/your-org/react-native-atomic-ui/issues)
@@ -6,7 +6,7 @@
6
6
  * npm install @react-native-community/datetimepicker
7
7
  *
8
8
  * Usage:
9
- * import { DatePickerInput } from '@react-native-atomic-ui/core/date-picker';
9
+ * import { DatePickerInput } from 'react-native-atomic-ui/date-picker';
10
10
  */
11
11
  export interface DatePickerInputProps {
12
12
  value: Date;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/advanced/date-picker/index.ts"],
4
- "sourcesContent": ["/**\n * DatePickerInput - Advanced component for date selection\n * Requires peer dependency: @react-native-community/datetimepicker\n *\n * Installation:\n * npm install @react-native-community/datetimepicker\n *\n * Usage:\n * import { DatePickerInput } from '@react-native-atomic-ui/core/date-picker';\n */\n\nexport interface DatePickerInputProps {\n value: Date;\n onChange: (date: Date) => void;\n label?: string;\n format?: string;\n placeholder?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementation would go here\n// This is a placeholder for library structure\nexport function DatePickerInput() {\n throw new Error(\n 'DatePickerInput requires peer dependency: @react-native-community/datetimepicker\\n' +\n 'Install it with: npm install @react-native-community/datetimepicker'\n );\n}\n"],
4
+ "sourcesContent": ["/**\n * DatePickerInput - Advanced component for date selection\n * Requires peer dependency: @react-native-community/datetimepicker\n *\n * Installation:\n * npm install @react-native-community/datetimepicker\n *\n * Usage:\n * import { DatePickerInput } from 'react-native-atomic-ui/date-picker';\n */\n\nexport interface DatePickerInputProps {\n value: Date;\n onChange: (date: Date) => void;\n label?: string;\n format?: string;\n placeholder?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementation would go here\n// This is a placeholder for library structure\nexport function DatePickerInput() {\n throw new Error(\n 'DatePickerInput requires peer dependency: @react-native-community/datetimepicker\\n' +\n 'Install it with: npm install @react-native-community/datetimepicker'\n );\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBO,SAAS,kBAAkB;AAChC,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/advanced/date-picker/index.ts"],
4
- "sourcesContent": ["/**\n * DatePickerInput - Advanced component for date selection\n * Requires peer dependency: @react-native-community/datetimepicker\n *\n * Installation:\n * npm install @react-native-community/datetimepicker\n *\n * Usage:\n * import { DatePickerInput } from '@react-native-atomic-ui/core/date-picker';\n */\n\nexport interface DatePickerInputProps {\n value: Date;\n onChange: (date: Date) => void;\n label?: string;\n format?: string;\n placeholder?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementation would go here\n// This is a placeholder for library structure\nexport function DatePickerInput() {\n throw new Error(\n 'DatePickerInput requires peer dependency: @react-native-community/datetimepicker\\n' +\n 'Install it with: npm install @react-native-community/datetimepicker'\n );\n}\n"],
4
+ "sourcesContent": ["/**\n * DatePickerInput - Advanced component for date selection\n * Requires peer dependency: @react-native-community/datetimepicker\n *\n * Installation:\n * npm install @react-native-community/datetimepicker\n *\n * Usage:\n * import { DatePickerInput } from 'react-native-atomic-ui/date-picker';\n */\n\nexport interface DatePickerInputProps {\n value: Date;\n onChange: (date: Date) => void;\n label?: string;\n format?: string;\n placeholder?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementation would go here\n// This is a placeholder for library structure\nexport function DatePickerInput() {\n throw new Error(\n 'DatePickerInput requires peer dependency: @react-native-community/datetimepicker\\n' +\n 'Install it with: npm install @react-native-community/datetimepicker'\n );\n}\n"],
5
5
  "mappings": ";AAwBO,SAAS,kBAAkB;AAChC,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -6,7 +6,7 @@
6
6
  * npm install @react-native-documents/picker
7
7
  *
8
8
  * Usage:
9
- * import { FilePicker } from '@react-native-atomic-ui/core/file-picker';
9
+ * import { FilePicker } from 'react-native-atomic-ui/file-picker';
10
10
  */
11
11
  export interface FilePickerProps {
12
12
  onFileSelected: (file: any) => void;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/advanced/file-picker/index.ts"],
4
- "sourcesContent": ["/**\n * FilePicker - Advanced component for file selection\n * Requires peer dependency: @react-native-documents/picker\n *\n * Installation:\n * npm install @react-native-documents/picker\n *\n * Usage:\n * import { FilePicker } from '@react-native-atomic-ui/core/file-picker';\n */\n\nexport interface FilePickerProps {\n onFileSelected: (file: any) => void;\n multiple?: boolean;\n type?: string;\n label?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementation would go here\n// This is a placeholder for library structure\nexport function FilePicker() {\n throw new Error(\n 'FilePicker requires peer dependency: @react-native-documents/picker\\n' +\n 'Install it with: npm install @react-native-documents/picker'\n );\n}\n"],
4
+ "sourcesContent": ["/**\n * FilePicker - Advanced component for file selection\n * Requires peer dependency: @react-native-documents/picker\n *\n * Installation:\n * npm install @react-native-documents/picker\n *\n * Usage:\n * import { FilePicker } from 'react-native-atomic-ui/file-picker';\n */\n\nexport interface FilePickerProps {\n onFileSelected: (file: any) => void;\n multiple?: boolean;\n type?: string;\n label?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementation would go here\n// This is a placeholder for library structure\nexport function FilePicker() {\n throw new Error(\n 'FilePicker requires peer dependency: @react-native-documents/picker\\n' +\n 'Install it with: npm install @react-native-documents/picker'\n );\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAuBO,SAAS,aAAa;AAC3B,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/advanced/file-picker/index.ts"],
4
- "sourcesContent": ["/**\n * FilePicker - Advanced component for file selection\n * Requires peer dependency: @react-native-documents/picker\n *\n * Installation:\n * npm install @react-native-documents/picker\n *\n * Usage:\n * import { FilePicker } from '@react-native-atomic-ui/core/file-picker';\n */\n\nexport interface FilePickerProps {\n onFileSelected: (file: any) => void;\n multiple?: boolean;\n type?: string;\n label?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementation would go here\n// This is a placeholder for library structure\nexport function FilePicker() {\n throw new Error(\n 'FilePicker requires peer dependency: @react-native-documents/picker\\n' +\n 'Install it with: npm install @react-native-documents/picker'\n );\n}\n"],
4
+ "sourcesContent": ["/**\n * FilePicker - Advanced component for file selection\n * Requires peer dependency: @react-native-documents/picker\n *\n * Installation:\n * npm install @react-native-documents/picker\n *\n * Usage:\n * import { FilePicker } from 'react-native-atomic-ui/file-picker';\n */\n\nexport interface FilePickerProps {\n onFileSelected: (file: any) => void;\n multiple?: boolean;\n type?: string;\n label?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementation would go here\n// This is a placeholder for library structure\nexport function FilePicker() {\n throw new Error(\n 'FilePicker requires peer dependency: @react-native-documents/picker\\n' +\n 'Install it with: npm install @react-native-documents/picker'\n );\n}\n"],
5
5
  "mappings": ";AAuBO,SAAS,aAAa;AAC3B,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -6,7 +6,7 @@
6
6
  * npm install react-native-picker-select
7
7
  *
8
8
  * Usage:
9
- * import { BorderedPickerInput } from '@react-native-atomic-ui/core/picker';
9
+ * import { BorderedPickerInput } from 'react-native-atomic-ui/picker';
10
10
  */
11
11
  export interface PickerOption {
12
12
  label: string;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/advanced/picker/index.ts"],
4
- "sourcesContent": ["/**\n * Picker Components - Advanced dropdowns and selection\n * Requires peer dependency: react-native-picker-select\n *\n * Installation:\n * npm install react-native-picker-select\n *\n * Usage:\n * import { BorderedPickerInput } from '@react-native-atomic-ui/core/picker';\n */\n\nexport interface PickerOption {\n label: string;\n value: string | number;\n}\n\nexport interface PickerInputProps {\n value: string | number | undefined;\n onValueChange: (value: string | number) => void;\n items: PickerOption[];\n label?: string;\n placeholder?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementations would go here\n// These are placeholders for library structure\nexport function BorderedPickerInput() {\n throw new Error(\n 'BorderedPickerInput requires peer dependency: react-native-picker-select\\n' +\n 'Install it with: npm install react-native-picker-select'\n );\n}\n\nexport function PickerModal() {\n throw new Error(\n 'PickerModal requires peer dependency: react-native-picker-select\\n' +\n 'Install it with: npm install react-native-picker-select'\n );\n}\n"],
4
+ "sourcesContent": ["/**\n * Picker Components - Advanced dropdowns and selection\n * Requires peer dependency: react-native-picker-select\n *\n * Installation:\n * npm install react-native-picker-select\n *\n * Usage:\n * import { BorderedPickerInput } from 'react-native-atomic-ui/picker';\n */\n\nexport interface PickerOption {\n label: string;\n value: string | number;\n}\n\nexport interface PickerInputProps {\n value: string | number | undefined;\n onValueChange: (value: string | number) => void;\n items: PickerOption[];\n label?: string;\n placeholder?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementations would go here\n// These are placeholders for library structure\nexport function BorderedPickerInput() {\n throw new Error(\n 'BorderedPickerInput requires peer dependency: react-native-picker-select\\n' +\n 'Install it with: npm install react-native-picker-select'\n );\n}\n\nexport function PickerModal() {\n throw new Error(\n 'PickerModal requires peer dependency: react-native-picker-select\\n' +\n 'Install it with: npm install react-native-picker-select'\n );\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BO,SAAS,sBAAsB;AACpC,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;AAEO,SAAS,cAAc;AAC5B,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/advanced/picker/index.ts"],
4
- "sourcesContent": ["/**\n * Picker Components - Advanced dropdowns and selection\n * Requires peer dependency: react-native-picker-select\n *\n * Installation:\n * npm install react-native-picker-select\n *\n * Usage:\n * import { BorderedPickerInput } from '@react-native-atomic-ui/core/picker';\n */\n\nexport interface PickerOption {\n label: string;\n value: string | number;\n}\n\nexport interface PickerInputProps {\n value: string | number | undefined;\n onValueChange: (value: string | number) => void;\n items: PickerOption[];\n label?: string;\n placeholder?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementations would go here\n// These are placeholders for library structure\nexport function BorderedPickerInput() {\n throw new Error(\n 'BorderedPickerInput requires peer dependency: react-native-picker-select\\n' +\n 'Install it with: npm install react-native-picker-select'\n );\n}\n\nexport function PickerModal() {\n throw new Error(\n 'PickerModal requires peer dependency: react-native-picker-select\\n' +\n 'Install it with: npm install react-native-picker-select'\n );\n}\n"],
4
+ "sourcesContent": ["/**\n * Picker Components - Advanced dropdowns and selection\n * Requires peer dependency: react-native-picker-select\n *\n * Installation:\n * npm install react-native-picker-select\n *\n * Usage:\n * import { BorderedPickerInput } from 'react-native-atomic-ui/picker';\n */\n\nexport interface PickerOption {\n label: string;\n value: string | number;\n}\n\nexport interface PickerInputProps {\n value: string | number | undefined;\n onValueChange: (value: string | number) => void;\n items: PickerOption[];\n label?: string;\n placeholder?: string;\n disabled?: boolean;\n style?: any;\n testID?: string;\n}\n\n// Component implementations would go here\n// These are placeholders for library structure\nexport function BorderedPickerInput() {\n throw new Error(\n 'BorderedPickerInput requires peer dependency: react-native-picker-select\\n' +\n 'Install it with: npm install react-native-picker-select'\n );\n}\n\nexport function PickerModal() {\n throw new Error(\n 'PickerModal requires peer dependency: react-native-picker-select\\n' +\n 'Install it with: npm install react-native-picker-select'\n );\n}\n"],
5
5
  "mappings": ";AA6BO,SAAS,sBAAsB;AACpC,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;AAEO,SAAS,cAAc;AAC5B,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -9,7 +9,7 @@
9
9
  * npm install github:starburst997/10tap-editor#jd
10
10
  *
11
11
  * Usage:
12
- * import { RichText, RichTextInput } from '@react-native-atomic-ui/core/rich-text';
12
+ * import { RichText, RichTextInput } from 'react-native-atomic-ui/rich-text';
13
13
  */
14
14
  export interface RichTextProps {
15
15
  html: string;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/advanced/rich-text/index.ts"],
4
- "sourcesContent": ["/**\n * Rich Text Components - Advanced text display and editing\n * Requires peer dependencies:\n * - react-native-webview (for RichText display)\n * - @10play/tentap-editor (for RichTextInput, custom fork)\n *\n * Installation:\n * npm install react-native-webview\n * npm install github:starburst997/10tap-editor#jd\n *\n * Usage:\n * import { RichText, RichTextInput } from '@react-native-atomic-ui/core/rich-text';\n */\n\nexport interface RichTextProps {\n html: string;\n onLinkPress?: (url: string) => void;\n style?: any;\n testID?: string;\n}\n\nexport interface RichTextInputProps {\n value: string;\n onChange: (html: string) => void;\n placeholder?: string;\n style?: any;\n testID?: string;\n}\n\n// Component implementations would go here\n// These are placeholders for library structure\nexport function RichText() {\n throw new Error(\n 'RichText requires peer dependency: react-native-webview\\n' +\n 'Install it with: npm install react-native-webview'\n );\n}\n\nexport function RichTextInput() {\n throw new Error(\n 'RichTextInput requires peer dependency: @10play/tentap-editor\\n' +\n 'Install it with: npm install github:starburst997/10tap-editor#jd'\n );\n}\n"],
4
+ "sourcesContent": ["/**\n * Rich Text Components - Advanced text display and editing\n * Requires peer dependencies:\n * - react-native-webview (for RichText display)\n * - @10play/tentap-editor (for RichTextInput, custom fork)\n *\n * Installation:\n * npm install react-native-webview\n * npm install github:starburst997/10tap-editor#jd\n *\n * Usage:\n * import { RichText, RichTextInput } from 'react-native-atomic-ui/rich-text';\n */\n\nexport interface RichTextProps {\n html: string;\n onLinkPress?: (url: string) => void;\n style?: any;\n testID?: string;\n}\n\nexport interface RichTextInputProps {\n value: string;\n onChange: (html: string) => void;\n placeholder?: string;\n style?: any;\n testID?: string;\n}\n\n// Component implementations would go here\n// These are placeholders for library structure\nexport function RichText() {\n throw new Error(\n 'RichText requires peer dependency: react-native-webview\\n' +\n 'Install it with: npm install react-native-webview'\n );\n}\n\nexport function RichTextInput() {\n throw new Error(\n 'RichTextInput requires peer dependency: @10play/tentap-editor\\n' +\n 'Install it with: npm install github:starburst997/10tap-editor#jd'\n );\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA+BO,SAAS,WAAW;AACzB,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;AAEO,SAAS,gBAAgB;AAC9B,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/advanced/rich-text/index.ts"],
4
- "sourcesContent": ["/**\n * Rich Text Components - Advanced text display and editing\n * Requires peer dependencies:\n * - react-native-webview (for RichText display)\n * - @10play/tentap-editor (for RichTextInput, custom fork)\n *\n * Installation:\n * npm install react-native-webview\n * npm install github:starburst997/10tap-editor#jd\n *\n * Usage:\n * import { RichText, RichTextInput } from '@react-native-atomic-ui/core/rich-text';\n */\n\nexport interface RichTextProps {\n html: string;\n onLinkPress?: (url: string) => void;\n style?: any;\n testID?: string;\n}\n\nexport interface RichTextInputProps {\n value: string;\n onChange: (html: string) => void;\n placeholder?: string;\n style?: any;\n testID?: string;\n}\n\n// Component implementations would go here\n// These are placeholders for library structure\nexport function RichText() {\n throw new Error(\n 'RichText requires peer dependency: react-native-webview\\n' +\n 'Install it with: npm install react-native-webview'\n );\n}\n\nexport function RichTextInput() {\n throw new Error(\n 'RichTextInput requires peer dependency: @10play/tentap-editor\\n' +\n 'Install it with: npm install github:starburst997/10tap-editor#jd'\n );\n}\n"],
4
+ "sourcesContent": ["/**\n * Rich Text Components - Advanced text display and editing\n * Requires peer dependencies:\n * - react-native-webview (for RichText display)\n * - @10play/tentap-editor (for RichTextInput, custom fork)\n *\n * Installation:\n * npm install react-native-webview\n * npm install github:starburst997/10tap-editor#jd\n *\n * Usage:\n * import { RichText, RichTextInput } from 'react-native-atomic-ui/rich-text';\n */\n\nexport interface RichTextProps {\n html: string;\n onLinkPress?: (url: string) => void;\n style?: any;\n testID?: string;\n}\n\nexport interface RichTextInputProps {\n value: string;\n onChange: (html: string) => void;\n placeholder?: string;\n style?: any;\n testID?: string;\n}\n\n// Component implementations would go here\n// These are placeholders for library structure\nexport function RichText() {\n throw new Error(\n 'RichText requires peer dependency: react-native-webview\\n' +\n 'Install it with: npm install react-native-webview'\n );\n}\n\nexport function RichTextInput() {\n throw new Error(\n 'RichTextInput requires peer dependency: @10play/tentap-editor\\n' +\n 'Install it with: npm install github:starburst997/10tap-editor#jd'\n );\n}\n"],
5
5
  "mappings": ";AA+BO,SAAS,WAAW;AACzB,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;AAEO,SAAS,gBAAgB;AAC9B,QAAM,IAAI;AAAA,IACR;AAAA,EAEF;AACF;",
6
6
  "names": []
7
7
  }
package/dist/index.js CHANGED
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/index.ts
31
- var src_exports = {};
32
- __export(src_exports, {
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
33
  Body1: () => Body1,
34
34
  Body2: () => Body2,
35
35
  Body3: () => Body3,
@@ -56,7 +56,7 @@ __export(src_exports, {
56
56
  lightTheme: () => lightTheme,
57
57
  useTheme: () => useTheme
58
58
  });
59
- module.exports = __toCommonJS(src_exports);
59
+ module.exports = __toCommonJS(index_exports);
60
60
 
61
61
  // src/theme/index.tsx
62
62
  var import_react = __toESM(require("react"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-atomic-ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Zero-dependency atomic UI components library for React Native with built-in dark mode support",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -41,12 +41,12 @@
41
41
  "license": "MIT",
42
42
  "repository": {
43
43
  "type": "git",
44
- "url": "git+https://github.com/your-org/react-native-atomic-ui.git"
44
+ "url": "git+https://github.com/tanmoythander/react-native-atomic-ui.git"
45
45
  },
46
46
  "bugs": {
47
- "url": "https://github.com/your-org/react-native-atomic-ui/issues"
47
+ "url": "https://github.com/tanmoythander/react-native-atomic-ui/issues"
48
48
  },
49
- "homepage": "https://github.com/your-org/react-native-atomic-ui#readme",
49
+ "homepage": "https://github.com/tanmoythander/react-native-atomic-ui#readme",
50
50
  "peerDependencies": {
51
51
  "react": ">=16.8.0",
52
52
  "react-native": ">=0.73.0"
@@ -73,7 +73,7 @@
73
73
  "@types/jest": "^29.5.0",
74
74
  "@types/react": "^19.0.0",
75
75
  "@types/react-native": "^0.73.0",
76
- "esbuild": "^0.21.0",
76
+ "esbuild": "^0.27.2",
77
77
  "eslint": "^8.53.0",
78
78
  "jest": "^29.7.0",
79
79
  "prettier": "^3.1.0",