@feminab/box-ui 0.1.2 โ†’ 0.1.3

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 +59 -26
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,46 +1,79 @@
1
- # Getting Started with Create React App
1
+ # ๐Ÿ“ฆ **BoxUI** โ€” Beautiful. Reusable. Fast.
2
2
 
3
- This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3
+ A sleek and accessible collection of React + TypeScript UI components built for rapid product development. Customize, compose, and launch in style. ๐Ÿš€
4
4
 
5
- ## Available Scripts
5
+ ---
6
6
 
7
- In the project directory, you can run:
7
+ ## ๐Ÿš€ Installation
8
8
 
9
- ### `npm start`
9
+ Get started with **BoxUI** in seconds:
10
10
 
11
- Runs the app in the development mode.\
12
- Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
11
+ ```bash
12
+ npm install @feminab/box-ui
13
+ # or
14
+ yarn add @feminab/box-ui
13
15
 
14
- The page will reload if you make edits.\
15
- You will also see any lint errors in the console.
16
+ ๐Ÿ“˜ Live Storybook
17
+ Explore all components, props, and interactive examples:
18
+ ๐Ÿ‘‰ https://boxui.netlify.app
16
19
 
17
- ### `npm test`
20
+ ๐Ÿงฉ Components Available
18
21
 
19
- Launches the test runner in the interactive watch mode.\
20
- See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
22
+ ## ๐Ÿงฉ Components Available
21
23
 
22
- ### `npm run build`
24
+ | Component | Description |
25
+ |------------------|---------------------------------------------|
26
+ | ๐Ÿท๏ธ `Badge` | Highlight tags or statuses |
27
+ | ๐Ÿ”˜ `Button` | Primary, secondary, and icon buttons |
28
+ | ๐ŸŽ›๏ธ `ButtonGroup` | Button group wrapper |
29
+ | ๐ŸŒˆ `Colors` | Theme and color palettes |
30
+ | ๐Ÿ“ฑ `MobileNav` | Mobile responsive navbar |
31
+ | ๐Ÿ“„ `Paginate` | Pagination controls |
32
+ | ๐Ÿ”ฝ `Select` | Dropdown select inputs |
33
+ | ๐Ÿ“š `SideNav` | Vertical side navigation |
34
+ | โœ๏ธ `TextInput` | Input fields with labels & error states |
35
+ | ๐Ÿ”ค `Typography` | Typography helpers and scales |
23
36
 
24
- Builds the app for production to the `build` folder.\
25
- It correctly bundles React in production mode and optimizes the build for the best performance.
26
37
 
27
- The build is minified and the filenames include the hashes.\
28
- Your app is ready to be deployed!
38
+ ## ๐Ÿ“ฆ Usage Example
29
39
 
30
- See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
40
+ Once installed, you can start using components like this:
31
41
 
32
- ### `npm run eject`
42
+ ### โœ… Basic Button Usage
33
43
 
34
- **Note: this is a one-way operation. Once you `eject`, you canโ€™t go back!**
44
+ ```tsx
45
+ import { Button } from '@feminab/box-ui';
35
46
 
36
- If you arenโ€™t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
47
+ export default function App() {
48
+ return (
49
+ <Button variant="primary" onClick={() => alert('Clicked!')}>
50
+ Click Me
51
+ </Button>
52
+ );
53
+ }
37
54
 
38
- Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youโ€™re on your own.
55
+ ## ๐Ÿ’ป Local Development
56
+ Want to contribute or tweak locally?
39
57
 
40
- You donโ€™t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnโ€™t feel obligated to use this feature. However we understand that this tool wouldnโ€™t be useful if you couldnโ€™t customize it when you are ready for it.
58
+ # Clone the repo and install dependencies
59
+ npm install
41
60
 
42
- ## Learn More
61
+ # Run Storybook locally
62
+ npm run storybook
43
63
 
44
- You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
64
 
46
- To learn React, check out the [React documentation](https://reactjs.org/).
65
+ ## ๐Ÿง  Author
66
+ Built with โค๏ธ by Femina Brahmbhatt
67
+ ๐Ÿพ Featuring components crafted with accessibility and reusability in mind.
68
+
69
+ ##๐Ÿช„ License
70
+ MIT ยฉ Femina Brahmbhatt
71
+
72
+ Let me know if you'd like:
73
+
74
+ - NPM version/license/shield badges at the top
75
+ - Preview GIFs or images for components
76
+ - How to contribute or roadmap section
77
+ - Or a "Why BoxUI?" section to pitch its strengths!
78
+
79
+ Happy shipping! ๐Ÿš€
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feminab/box-ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -25,6 +25,7 @@
25
25
  "test": "tsdx test",
26
26
  "eject": "tsdx eject",
27
27
  "storybook": "storybook dev -p 6006",
28
+ "storybook:build": "storybook build -o storybook-static",
28
29
  "build:css": "postcss ./src/styles/tailwind.css build -o css/tailwind.dist.css --minify"
29
30
  },
30
31
  "eslintConfig": {