obeyaka-ui 0.1.8 → 0.1.9
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/README.md +17 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.es.js +288 -271
- package/dist/index.js +3 -3
- package/dist/types/components/organisms/Navbar/NavbarProvider.d.ts +1 -2
- package/dist/types/components/organisms/Navbar/NavbarProvider.d.ts.map +1 -1
- package/dist/types/components/organisms/Navbar/index.d.ts +1 -0
- package/dist/types/components/organisms/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/organisms/index.d.ts +2 -1
- package/dist/types/components/organisms/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -33,6 +33,23 @@ Professional UI component library built with React, TypeScript, Storybook, and M
|
|
|
33
33
|
npm install obeyaka-ui
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
### Setup with ThemeProvider
|
|
37
|
+
|
|
38
|
+
Wrap your application with `ThemeProvider` to enable all features:
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { ThemeProvider } from 'obeyaka-ui';
|
|
42
|
+
|
|
43
|
+
function App() {
|
|
44
|
+
return (
|
|
45
|
+
<ThemeProvider>
|
|
46
|
+
{/* Your application components */}
|
|
47
|
+
<YourApp />
|
|
48
|
+
</ThemeProvider>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
36
53
|
### Basic Usage
|
|
37
54
|
|
|
38
55
|
```tsx
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
// Export all components for npm package
|
|
2
|
+
export * from './types/components';
|
|
3
|
+
|
|
4
|
+
// Export theme and ThemeProvider
|
|
5
|
+
export * from './types/theme';
|
|
6
|
+
export { ThemeProvider } from './types/theme/ThemeProvider';
|