@allxsmith/bestax-bulma 1.0.2 β 1.0.4
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 +136 -0
- package/package.json +5 -1
package/README.md
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# bestax-bulma
|
|
2
|
+
|
|
3
|
+
A modern, flexible React component library built with the latest Bulma v1 and TypeScript.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## π Comprehensive Documentation
|
|
8
|
+
|
|
9
|
+
**Looking for full documentation, guides, API references, and best practices?**
|
|
10
|
+
π **Visit our official docs at [https://bestax.cc](https://bestax.cc)**
|
|
11
|
+
|
|
12
|
+
> The documentation site is the best place to learn about all bestax-bulma features, usage patterns, and updates. We strongly recommend using the docs as your primary resource!
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## π Getting Started
|
|
17
|
+
|
|
18
|
+
### 1. Install the package
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install @allxsmith/bestax-bulma
|
|
22
|
+
# or
|
|
23
|
+
yarn add @allxsmith/bestax-bulma
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### 2. Import Bulma CSS
|
|
27
|
+
|
|
28
|
+
You must include Bulmaβs CSS in your project. The easiest way is to import it in your main JS/TS file:
|
|
29
|
+
|
|
30
|
+
```js
|
|
31
|
+
import 'bulma/css/bulma.min.css';
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Or add it via CDN in your HTML:
|
|
35
|
+
|
|
36
|
+
```html
|
|
37
|
+
<link
|
|
38
|
+
rel="stylesheet"
|
|
39
|
+
href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css"
|
|
40
|
+
/>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 3. (Optional) Add an Icon Library
|
|
44
|
+
|
|
45
|
+
Many components work well with icons. We recommend [Font Awesome](https://fontawesome.com/) or [react-icons](https://react-icons.github.io/react-icons/):
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
npm install @fortawesome/fontawesome-free
|
|
49
|
+
# or
|
|
50
|
+
npm install react-icons
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
And then import in your code as needed.
|
|
54
|
+
|
|
55
|
+
### 4. Quick Example
|
|
56
|
+
|
|
57
|
+
Hereβs how to use the `Button` component:
|
|
58
|
+
|
|
59
|
+
```tsx
|
|
60
|
+
import React from 'react';
|
|
61
|
+
import { Button } from '@allxsmith/bestax-bulma';
|
|
62
|
+
import 'bulma/css/bulma.min.css';
|
|
63
|
+
|
|
64
|
+
function App() {
|
|
65
|
+
return (
|
|
66
|
+
<div>
|
|
67
|
+
<Button color="primary" onClick={() => alert('Clicked!')}>
|
|
68
|
+
Click Me
|
|
69
|
+
</Button>
|
|
70
|
+
</div>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export default App;
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## π Why Choose bestax-bulma?
|
|
80
|
+
|
|
81
|
+
- **Supports the latest Bulma v1.x**
|
|
82
|
+
Other React Bulma libraries are stuck on Bulma 0.9.4 β bestax-bulma is built for the future.
|
|
83
|
+
- **Super small unpacked size**
|
|
84
|
+
Just over 700kB unpacked β smaller than most other Bulma React packages.
|
|
85
|
+
- **Zero external dependencies**
|
|
86
|
+
Clean install, smaller bundle, fewer codeql security issues.
|
|
87
|
+
- **99% unit test coverage**
|
|
88
|
+
Rigorously tested for reliability and stability.
|
|
89
|
+
- **100% TypeScript**
|
|
90
|
+
Full type safety for you and your team.
|
|
91
|
+
- **Active developer support**
|
|
92
|
+
Issues? Questions? PRs? Get fast responses and real improvements.
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## π¦ NPM Package
|
|
97
|
+
|
|
98
|
+
View the package on npmjs:
|
|
99
|
+
π [https://www.npmjs.com/package/@allxsmith/bestax-bulma](https://www.npmjs.com/package/@allxsmith/bestax-bulma)
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## π Documentation
|
|
104
|
+
|
|
105
|
+
**For full documentation, guides, and best practices, please use our official docs site:**
|
|
106
|
+
|
|
107
|
+
π [https://bestax.cc](https://bestax.cc)
|
|
108
|
+
|
|
109
|
+
> **Always refer to the [documentation site](https://bestax.cc) first:**
|
|
110
|
+
> Itβs the most complete and up-to-date source for everything bestax-bulma!
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## π Storybook
|
|
115
|
+
|
|
116
|
+
Explore live, interactive component examples in our Storybook:
|
|
117
|
+
|
|
118
|
+
π [https://bestax.cc/storybook](https://bestax.cc/storybook)
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## π Special Thanks
|
|
123
|
+
|
|
124
|
+
### [Bulma](https://github.com/jgthms/bulma)
|
|
125
|
+
|
|
126
|
+
bestax-bulma is built on top of the incredible [@jgthms/bulma](https://github.com/jgthms/bulma) CSS framework.
|
|
127
|
+
|
|
128
|
+
If you find Bulma useful, please consider [sponsoring Jeremy Thomas](https://github.com/sponsors/jgthms) to support the continued development of Bulma.
|
|
129
|
+
|
|
130
|
+
_Note: We are not affiliated with Bulma or Jeremy Thomas in any way...Weβre just big fans of the Bulma framework!_
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## License
|
|
135
|
+
|
|
136
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allxsmith/bestax-bulma",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A React component library with TypeScript",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -82,6 +82,10 @@
|
|
|
82
82
|
"url": "git+https://github.com/allxsmith/bestax.git",
|
|
83
83
|
"directory": "bulma-ui"
|
|
84
84
|
},
|
|
85
|
+
"homepage": "https://bestax.cc",
|
|
86
|
+
"bugs": {
|
|
87
|
+
"url": "https://github.com/allxsmith/bestax/issues"
|
|
88
|
+
},
|
|
85
89
|
"publishConfig": {
|
|
86
90
|
"access": "public"
|
|
87
91
|
},
|