funuicss 1.11.11 → 1.11.13
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 +81 -36
- package/css/fun.css +2 -2
- package/package.json +29 -6
package/README.md
CHANGED
|
@@ -26,73 +26,118 @@ Install the package via NPM
|
|
|
26
26
|
npm install funuicss
|
|
27
27
|
</pre>
|
|
28
28
|
|
|
29
|
+
<h3>Using Yarn</h3>
|
|
30
|
+
Install the package via NPM
|
|
31
|
+
|
|
32
|
+
<pre>
|
|
33
|
+
yarn add funuicss
|
|
34
|
+
</pre>
|
|
35
|
+
|
|
36
|
+
|
|
29
37
|
<h3>Import CSS file</h3>
|
|
30
38
|
Import the css file at your entry point to apply our classes,for example: _app.js, _app.jsx, index.js, index,jsx files
|
|
31
39
|
<pre>
|
|
32
40
|
import 'funuicss/css/fun.css'
|
|
33
41
|
</pre>
|
|
34
42
|
|
|
35
|
-
<h3>
|
|
36
|
-
<p>
|
|
43
|
+
<h3>Demo Login Form </h3>
|
|
44
|
+
<p>
|
|
45
|
+
Create a simple login form with our framework.
|
|
46
|
+
</p>
|
|
37
47
|
|
|
38
48
|
```jsx
|
|
39
49
|
import React from 'react'
|
|
40
|
-
import
|
|
41
|
-
import
|
|
50
|
+
import Text from 'funuicss/ui/text/Text'
|
|
51
|
+
import Input from 'funuicss/ui/input/Input'
|
|
52
|
+
import Button from 'funuicss/ui/button/Button'
|
|
53
|
+
import Section from 'funuicss/ui/specials/Section'
|
|
42
54
|
export default function App() {
|
|
43
55
|
|
|
44
56
|
return (
|
|
45
57
|
|
|
46
58
|
<div>
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
59
|
+
<div className="central height-500-min" >
|
|
60
|
+
<div className='width-300-max fit'>
|
|
61
|
+
<div className="margin-bottom-40">
|
|
62
|
+
<Text
|
|
63
|
+
text='Welcome'
|
|
64
|
+
heading='h2'
|
|
65
|
+
block
|
|
51
66
|
/>
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
bg="primary"
|
|
56
|
-
lined
|
|
67
|
+
<Text
|
|
68
|
+
text='Sign in to continue!'
|
|
69
|
+
block
|
|
57
70
|
/>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
71
|
+
</div>
|
|
72
|
+
<Section gap={1.5}>
|
|
73
|
+
<Text text="Email" funcss="margin-bottom-10" block size="small" bold color="primary"/>
|
|
74
|
+
<Input type="email" fullWidth bordered />
|
|
75
|
+
</Section>
|
|
76
|
+
<Section gap={1}>
|
|
77
|
+
<Text text="Password" funcss="margin-bottom-10" block size="small" bold color="primary"/>
|
|
78
|
+
<Input type="password" fullWidth bordered />
|
|
79
|
+
</Section>
|
|
80
|
+
|
|
81
|
+
<div className="section">
|
|
82
|
+
<Link href={"/#"}>
|
|
83
|
+
<Text text='Forgot password!' size='small' underline color='primary'/>
|
|
84
|
+
</Link>
|
|
85
|
+
</div>
|
|
86
|
+
<div className="section">
|
|
87
|
+
<Button
|
|
88
|
+
text={"Let's go"}
|
|
89
|
+
raised
|
|
90
|
+
fullWidth
|
|
91
|
+
bg='primary800'
|
|
92
|
+
/>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
63
97
|
</div>
|
|
64
98
|
|
|
65
99
|
)
|
|
66
100
|
}
|
|
101
|
+
|
|
67
102
|
```
|
|
68
103
|
|
|
69
|
-
<h3>Simple
|
|
70
|
-
<p> This is a simple
|
|
104
|
+
<h3>Simple Buttons </h3>
|
|
105
|
+
<p> This is a simple button</p>
|
|
71
106
|
|
|
72
107
|
```jsx
|
|
73
108
|
import React from 'react'
|
|
74
|
-
import
|
|
75
|
-
|
|
76
|
-
import LinkWrapper from 'funuicss/component/LinkWrapper'
|
|
77
|
-
import Button from 'funuicss/component/Button'
|
|
78
|
-
import NavLogo from 'funuicss/component/NavLogo'
|
|
109
|
+
import Button from 'funuicss/ui/button/Button'
|
|
110
|
+
|
|
79
111
|
export default function App() {
|
|
80
112
|
return (
|
|
113
|
+
<Button bg="primary" outlined text="Simple Button"/>
|
|
114
|
+
)
|
|
115
|
+
}
|
|
116
|
+
```
|
|
81
117
|
|
|
82
|
-
<div>
|
|
83
|
-
<Navbar>
|
|
84
|
-
<NavLogo>
|
|
85
|
-
<Typography heading="h4" text="Fun Ui" />
|
|
86
|
-
</NavLogo>
|
|
87
118
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
<Button text="Sign Up" bg="primary" rounded > </Button>
|
|
91
|
-
</LinkWrapper>
|
|
119
|
+
<h3>Simple Input </h3>
|
|
120
|
+
<p> This is a simple input</p>
|
|
92
121
|
|
|
93
|
-
|
|
94
|
-
|
|
122
|
+
```jsx
|
|
123
|
+
import React from 'react'
|
|
124
|
+
import Input from 'funuicss/ui/input/Input'
|
|
95
125
|
|
|
126
|
+
export default function App() {
|
|
127
|
+
return (
|
|
128
|
+
<>
|
|
129
|
+
<Input
|
|
130
|
+
type="text"
|
|
131
|
+
label="This is a simple input"
|
|
132
|
+
funcss="full-width"
|
|
133
|
+
/>
|
|
134
|
+
<Input
|
|
135
|
+
type="text"
|
|
136
|
+
bordered
|
|
137
|
+
label="This is a bordered"
|
|
138
|
+
funcss="full-width section"
|
|
139
|
+
/>
|
|
140
|
+
</>
|
|
96
141
|
)
|
|
97
142
|
}
|
|
98
143
|
```
|
package/css/fun.css
CHANGED
|
@@ -4926,7 +4926,7 @@ link:hover {
|
|
|
4926
4926
|
box-sizing: border-box;
|
|
4927
4927
|
}
|
|
4928
4928
|
.text-big , .text-bigger , .text-jumbo{
|
|
4929
|
-
line-height:
|
|
4929
|
+
line-height: normal;
|
|
4930
4930
|
font-weight: 900;
|
|
4931
4931
|
}
|
|
4932
4932
|
.monospace{
|
|
@@ -4947,7 +4947,7 @@ link:hover {
|
|
|
4947
4947
|
letter-spacing: normal;
|
|
4948
4948
|
}
|
|
4949
4949
|
.body{
|
|
4950
|
-
line-height: 1.
|
|
4950
|
+
line-height: 1.6rem;
|
|
4951
4951
|
letter-spacing: normal;
|
|
4952
4952
|
font-size: 1rem;
|
|
4953
4953
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.11.
|
|
2
|
+
"version": "1.11.13",
|
|
3
3
|
"name": "funuicss",
|
|
4
|
-
"description": "React/Next.js component UI Library for creating Easy and good looking websites with fewer lines of code.",
|
|
4
|
+
"description": "React/Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting both seamless functionality and aesthetic appeal—all achieved with minimal lines of code. Unleash the power of simplicity and style in your projects!",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"funui",
|
|
8
|
-
"React
|
|
9
|
-
"Next
|
|
10
|
-
"
|
|
11
|
-
"
|
|
8
|
+
"React",
|
|
9
|
+
"Next.js",
|
|
10
|
+
"UI Library",
|
|
11
|
+
"Component-based",
|
|
12
|
+
"Web Development",
|
|
13
|
+
"User Interface",
|
|
14
|
+
"User Experience",
|
|
15
|
+
"React Components",
|
|
16
|
+
"Next.js Components",
|
|
17
|
+
"Responsive Design",
|
|
18
|
+
"Frontend Framework",
|
|
19
|
+
"Code Efficiency",
|
|
20
|
+
"Modern Web Apps",
|
|
21
|
+
"Simplified Development",
|
|
22
|
+
"Interactive UI",
|
|
23
|
+
"Effortless Design",
|
|
24
|
+
"Reusable Components",
|
|
25
|
+
"Innovative Frontend",
|
|
26
|
+
"Web Design Tools"
|
|
12
27
|
],
|
|
28
|
+
"homepage": "https://funui.netlify.app",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/FunUi-io/FunUi/issues"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/FunUi-io/FunUi"
|
|
35
|
+
},
|
|
13
36
|
"scripts": {
|
|
14
37
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
15
38
|
"build": "tsc",
|