fixed-vuesax 3.14.1 → 3.14.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/LICENSE +21 -21
- package/README.md +187 -187
- package/dist/style/colors.styl +30 -30
- package/dist/style/components/vsAlert.styl +66 -66
- package/dist/style/components/vsAvatar.styl +64 -64
- package/dist/style/components/vsBreadcrumb.styl +50 -50
- package/dist/style/components/vsButton.styl +181 -181
- package/dist/style/components/vsCard.styl +64 -64
- package/dist/style/components/vsCheckBox.styl +111 -111
- package/dist/style/components/vsChip.styl +122 -122
- package/dist/style/components/vsCollapse.styl +109 -109
- package/dist/style/components/vsDivider.styl +34 -34
- package/dist/style/components/vsDropDown.styl +231 -231
- package/dist/style/components/vsIcon.styl +47 -47
- package/dist/style/components/vsImages.styl +166 -166
- package/dist/style/components/vsInput.styl +219 -219
- package/dist/style/components/vsInputNumber.styl +170 -170
- package/dist/style/components/vsList.styl +49 -49
- package/dist/style/components/vsLoading.styl +397 -397
- package/dist/style/components/vsNavbar.styl +286 -286
- package/dist/style/components/vsNotifications.styl +92 -92
- package/dist/style/components/vsPagination.styl +143 -143
- package/dist/style/components/vsPopup.styl +159 -159
- package/dist/style/components/vsProgress.styl +45 -45
- package/dist/style/components/vsRadio.styl +93 -93
- package/dist/style/components/vsSelect.styl +219 -219
- package/dist/style/components/vsSideBar.styl +267 -267
- package/dist/style/components/vsSlider.styl +196 -196
- package/dist/style/components/vsSpacer.styl +5 -5
- package/dist/style/components/vsSwitch.styl +93 -93
- package/dist/style/components/vsTable.styl +408 -408
- package/dist/style/components/vsTabs.styl +280 -280
- package/dist/style/components/vsTextarea.styl +82 -82
- package/dist/style/components/vsTimePicker.styl +42 -42
- package/dist/style/components/vsTooltip.styl +85 -85
- package/dist/style/components/vsUpload.styl +460 -460
- package/dist/style/mixins.styl +133 -133
- package/dist/style/root.styl +9 -9
- package/dist/style/vars.styl +45 -45
- package/dist/style/vuesax.styl +25 -25
- package/dist/vuesax.common.js +1 -1
- package/dist/vuesax.common.js.map +1 -1
- package/dist/vuesax.umd.js +1 -1
- package/dist/vuesax.umd.js.map +1 -1
- package/dist/vuesax.umd.min.js +1 -1
- package/dist/vuesax.umd.min.js.map +1 -1
- package/package.json +8 -8
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018 ldrovira
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 ldrovira
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,187 +1,187 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://lusaxweb.github.io/vuesax/">
|
|
3
|
-
<img width="40%" src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/public/vuesax-logo-beta.png" alt="vuesax" />
|
|
4
|
-
<img src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/public/vuesax-components.gif" alt="vuesax" />
|
|
5
|
-
</a>
|
|
6
|
-
</p>
|
|
7
|
-
|
|
8
|
-
</br>
|
|
9
|
-
|
|
10
|
-
<p align="center">
|
|
11
|
-
<a href="https://travis-ci.org/lusaxweb/vuesax">
|
|
12
|
-
<img src="https://img.shields.io/travis/lusaxweb/vuesax.svg" alt="travis ci badge">
|
|
13
|
-
</a>
|
|
14
|
-
<a href="https://www.npmjs.com/package/vuesax">
|
|
15
|
-
<img src="https://img.shields.io/npm/dm/vuesax.svg" alt="Downloads">
|
|
16
|
-
</a>
|
|
17
|
-
<a href="https://www.npmjs.com/package/vuesax">
|
|
18
|
-
<img src="https://img.shields.io/npm/v/vuesax.svg" alt="Version">
|
|
19
|
-
</a>
|
|
20
|
-
<a href="https://www.npmjs.com/package/vuesax"><img src="https://img.shields.io/npm/l/vuesax.svg" /></a>
|
|
21
|
-
<a href="https://discord.gg/6AZNXEa">
|
|
22
|
-
<img src="https://discordapp.com/api/guilds/467198491920433153/widget.png" alt="Chat">
|
|
23
|
-
</a>
|
|
24
|
-
</p>
|
|
25
|
-
|
|
26
|
-
<h2 align="center">Supporting through Patreon</h2>
|
|
27
|
-
|
|
28
|
-
Vuesax is an open source [MIT](https://raw.githubusercontent.com/lusaxweb/vuesax/master/LICENSE) project if you want to contribute to keep improving, If you are interested in supporting this project, please consider becoming a patron. [Patron](https://www.patreon.com/bePatron?c=1567892)
|
|
29
|
-
|
|
30
|
-
<p align="center">
|
|
31
|
-
<a href="https://www.patreon.com/bePatron?c=1567892">
|
|
32
|
-
<img src="https://c5.patreon.com/external/logo/become_a_patron_button.png" alt="Become a Patron" />
|
|
33
|
-
</a>
|
|
34
|
-
</p>
|
|
35
|
-
|
|
36
|
-
<p align="center"><b>Silver</b></p>
|
|
37
|
-
|
|
38
|
-
<p align="center">
|
|
39
|
-
<a href="https://tipe.io/">
|
|
40
|
-
<img width="20%" src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/docs/.vuepress/public/tipe.png" alt="Tipe" />
|
|
41
|
-
</a>
|
|
42
|
-
<a href="https://bitsrc.io/">
|
|
43
|
-
<img width="20%" src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/docs/.vuepress/public/bit-share-code.png" alt="Bit">
|
|
44
|
-
</a>
|
|
45
|
-
<a href="https://www.wrappixel.com/?ref=102">
|
|
46
|
-
<img width="20%" src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/docs/.vuepress/public/wrappixel-logo.png" alt="Bit">
|
|
47
|
-
</a>
|
|
48
|
-
</p>
|
|
49
|
-
|
|
50
|
-
## Introduction
|
|
51
|
-
|
|
52
|
-
[Vuesax](https://lusaxweb.github.io/vuesax/) is a framework of components based on [vue.js](https://vuejs.org/), it is a framework that is designed from scratch to be incrementally adoptable.
|
|
53
|
-
|
|
54
|
-
The framework is focused on facilitating the development of applications, improving the design of the same without removing the necessary functionality. we want all the components to be independent in colors, shapes and design for a freedom that we like all front-end but without losing the speed of creation and production.
|
|
55
|
-
|
|
56
|
-
## Vuesax 4 (alpha)
|
|
57
|
-
|
|
58
|
-
We are already creating vuesax 4 you can see the progress [here](https://vuesax.com/) and if you want to help in the development you can do it [here](https://github.com/lusaxweb/vuesax-next)
|
|
59
|
-
|
|
60
|
-
## Support the project ⭐
|
|
61
|
-
|
|
62
|
-
If you feel awesome and want to support us in a small way, please consider starring and sharing the repo! This helps us getting known and grow the community. 🙏
|
|
63
|
-
|
|
64
|
-
<img src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/public/github-vuesax-star.gif" alt="vuesax-star" />
|
|
65
|
-
|
|
66
|
-
## Links
|
|
67
|
-
|
|
68
|
-
- 📘 [Documentation](https://lusaxweb.github.io/vuesax/)
|
|
69
|
-
- 📚 [Blog](https://lusaxweb.github.io/vuesax-blog/)
|
|
70
|
-
- 🐦 Twitter: [@vuesax](https://twitter.com/vuesax)
|
|
71
|
-
- 💬 Chat: [Discord](https://discord.gg/6AZNXEa)
|
|
72
|
-
- 🎲 template: [Codepen](https://codepen.io/lusaxweb/pen/mxMKYr)
|
|
73
|
-
- 📰 Tutorial Implement: [DevAwesome](https://lusaxweb.github.io/devAwesome/#/article/-LPDgBxyylgg9h194wuE)
|
|
74
|
-
- 🔧[vuesax-helper](https://marketplace.visualstudio.com/items?itemName=vuesax.vscode-vuesax-helper): is a VS Code extension for Vuesax
|
|
75
|
-
|
|
76
|
-
## Components
|
|
77
|
-
|
|
78
|
-
- [Buttons](https://lusaxweb.github.io/vuesax/components/) - [v4](https://vuesax.com/docs/components/)
|
|
79
|
-
- [Selects](https://lusaxweb.github.io/vuesax/components/selects.html) - [v4](https://vuesax.com/docs/components/Select.html)
|
|
80
|
-
- [Notifications](https://lusaxweb.github.io/vuesax/components/notifications.html) - [v4](https://vuesax.com/docs/components/Notification.html)
|
|
81
|
-
- [Switch](https://lusaxweb.github.io/vuesax/components/switch.html) - [v4](https://vuesax.com/docs/components/Switch.html)
|
|
82
|
-
- [CheckBox](https://lusaxweb.github.io/vuesax/components/checkbox.html) - [v4](https://vuesax.com/docs/components/Checkbox.html)
|
|
83
|
-
- [Radio](https://lusaxweb.github.io/vuesax/components/radio.html) - [v4](https://vuesax.com/docs/components/Radio.html)
|
|
84
|
-
- [Input](https://lusaxweb.github.io/vuesax/components/input.html) - [v4](https://vuesax.com/docs/components/Input.html)
|
|
85
|
-
- [Dialogs](https://lusaxweb.github.io/vuesax/components/dialog.html)
|
|
86
|
-
- [Tabs](https://lusaxweb.github.io/vuesax/components/tabs.html)
|
|
87
|
-
- [Slider](https://lusaxweb.github.io/vuesax/components/slider.html)
|
|
88
|
-
- [InputNumber](https://lusaxweb.github.io/vuesax/components/number.html)
|
|
89
|
-
- [Tooltip](https://lusaxweb.github.io/vuesax/components/tooltip.html) - [v4](https://vuesax.com/docs/components/Tooltip.html)
|
|
90
|
-
- [Upload](https://lusaxweb.github.io/vuesax/components/upload.html)
|
|
91
|
-
- [Loading](https://lusaxweb.github.io/vuesax/components/loading.html) - [v4](https://vuesax.com/docs/components/Loading.html)
|
|
92
|
-
- [Popup](https://lusaxweb.github.io/vuesax/components/popup.html)
|
|
93
|
-
- [Avatar](https://lusaxweb.github.io/vuesax/components/avatar.html) - [v4](https://vuesax.com/docs/components/Avatar.html)
|
|
94
|
-
- [Breadcrumb](https://lusaxweb.github.io/vuesax/components/breadcrumb.html)
|
|
95
|
-
- [Alert](https://lusaxweb.github.io/vuesax/components/alert.html) - [v4](https://vuesax.com/docs/components/Alert.html)
|
|
96
|
-
- [Divider](https://lusaxweb.github.io/vuesax/components/divider.html)
|
|
97
|
-
- [Chip](https://lusaxweb.github.io/vuesax/components/chip.html)
|
|
98
|
-
- [Progress](https://lusaxweb.github.io/vuesax/components/progress.html)
|
|
99
|
-
- [Card](https://lusaxweb.github.io/vuesax/components/card.html)
|
|
100
|
-
- [List](https://lusaxweb.github.io/vuesax/components/list.html)
|
|
101
|
-
- [Pagination](https://lusaxweb.github.io/vuesax/components/pagination.html)
|
|
102
|
-
- [Topbar](https://lusaxweb.github.io/vuesax/components/topbar.html)
|
|
103
|
-
- [SideBar](https://lusaxweb.github.io/vuesax/components/sideBar.html)
|
|
104
|
-
- [DropDown](https://lusaxweb.github.io/vuesax/components/dropDown.html)
|
|
105
|
-
- [Table](https://lusaxweb.github.io/vuesax/components/table.html)
|
|
106
|
-
- [Textarea](https://lusaxweb.github.io/vuesax/components/textarea.html)
|
|
107
|
-
- [Collapse](https://lusaxweb.github.io/vuesax/components/collapse.html)
|
|
108
|
-
- [Images](https://lusaxweb.github.io/vuesax/components/images.html)
|
|
109
|
-
|
|
110
|
-
## Browser Support
|
|
111
|
-
Recent versions of **Firefox**, **Chrome**, **Edge**, **Opera** and **Safari**. **IE11+**
|
|
112
|
-
|
|
113
|
-
## Quick-start CDN
|
|
114
|
-
|
|
115
|
-
```html
|
|
116
|
-
<!DOCTYPE html>
|
|
117
|
-
<html>
|
|
118
|
-
<head>
|
|
119
|
-
<link href="https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.css" rel="stylesheet">
|
|
120
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
|
|
121
|
-
</head>
|
|
122
|
-
<body>
|
|
123
|
-
<div id="app">
|
|
124
|
-
<vs-button vs-type="filled">Hello World</vs-button>
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
|
|
128
|
-
<script src="https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.umd.js"></script>
|
|
129
|
-
<script>
|
|
130
|
-
new Vue({
|
|
131
|
-
el: '#app'
|
|
132
|
-
})
|
|
133
|
-
</script>
|
|
134
|
-
</body>
|
|
135
|
-
</html>
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
## CDN Links
|
|
139
|
-
|
|
140
|
-
- https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.umd.js
|
|
141
|
-
- https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.css
|
|
142
|
-
|
|
143
|
-
# Install inside a NPM project
|
|
144
|
-
``` bash
|
|
145
|
-
# npm
|
|
146
|
-
npm install vuesax
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
``` bash
|
|
150
|
-
# yarn
|
|
151
|
-
yarn add vuesax
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
## Use
|
|
155
|
-
|
|
156
|
-
### All components
|
|
157
|
-
|
|
158
|
-
```javascript
|
|
159
|
-
import Vue from 'vue'
|
|
160
|
-
import Vuesax from 'vuesax'
|
|
161
|
-
|
|
162
|
-
import 'vuesax/dist/vuesax.css'
|
|
163
|
-
Vue.use(Vuesax)
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
### Or use individual components:
|
|
167
|
-
|
|
168
|
-
```javascript
|
|
169
|
-
import Vue from 'vue'
|
|
170
|
-
import { vsButton, vsSelect, vsPopup } from 'vuesax'
|
|
171
|
-
import 'vuesax/dist/vuesax.css'
|
|
172
|
-
|
|
173
|
-
Vue.use(vsButton)
|
|
174
|
-
Vue.use(vsSelect)
|
|
175
|
-
Vue.use(vsPopup)
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
## Contribution
|
|
179
|
-
Please make sure to read the [Contributing Guide](https://raw.githubusercontent.com/lusaxweb/vuesax/master/CONTRIBUTING.md) before making a pull request.
|
|
180
|
-
|
|
181
|
-
## Lusaxweb
|
|
182
|
-
|
|
183
|
-
This library was created and is supported by [Lusaxweb](http://lusaxweb.net/)
|
|
184
|
-
|
|
185
|
-
## License
|
|
186
|
-
|
|
187
|
-
[MIT](https://raw.githubusercontent.com/lusaxweb/vuesax/master/LICENSE)
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://lusaxweb.github.io/vuesax/">
|
|
3
|
+
<img width="40%" src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/public/vuesax-logo-beta.png" alt="vuesax" />
|
|
4
|
+
<img src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/public/vuesax-components.gif" alt="vuesax" />
|
|
5
|
+
</a>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
</br>
|
|
9
|
+
|
|
10
|
+
<p align="center">
|
|
11
|
+
<a href="https://travis-ci.org/lusaxweb/vuesax">
|
|
12
|
+
<img src="https://img.shields.io/travis/lusaxweb/vuesax.svg" alt="travis ci badge">
|
|
13
|
+
</a>
|
|
14
|
+
<a href="https://www.npmjs.com/package/vuesax">
|
|
15
|
+
<img src="https://img.shields.io/npm/dm/vuesax.svg" alt="Downloads">
|
|
16
|
+
</a>
|
|
17
|
+
<a href="https://www.npmjs.com/package/vuesax">
|
|
18
|
+
<img src="https://img.shields.io/npm/v/vuesax.svg" alt="Version">
|
|
19
|
+
</a>
|
|
20
|
+
<a href="https://www.npmjs.com/package/vuesax"><img src="https://img.shields.io/npm/l/vuesax.svg" /></a>
|
|
21
|
+
<a href="https://discord.gg/6AZNXEa">
|
|
22
|
+
<img src="https://discordapp.com/api/guilds/467198491920433153/widget.png" alt="Chat">
|
|
23
|
+
</a>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<h2 align="center">Supporting through Patreon</h2>
|
|
27
|
+
|
|
28
|
+
Vuesax is an open source [MIT](https://raw.githubusercontent.com/lusaxweb/vuesax/master/LICENSE) project if you want to contribute to keep improving, If you are interested in supporting this project, please consider becoming a patron. [Patron](https://www.patreon.com/bePatron?c=1567892)
|
|
29
|
+
|
|
30
|
+
<p align="center">
|
|
31
|
+
<a href="https://www.patreon.com/bePatron?c=1567892">
|
|
32
|
+
<img src="https://c5.patreon.com/external/logo/become_a_patron_button.png" alt="Become a Patron" />
|
|
33
|
+
</a>
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
<p align="center"><b>Silver</b></p>
|
|
37
|
+
|
|
38
|
+
<p align="center">
|
|
39
|
+
<a href="https://tipe.io/">
|
|
40
|
+
<img width="20%" src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/docs/.vuepress/public/tipe.png" alt="Tipe" />
|
|
41
|
+
</a>
|
|
42
|
+
<a href="https://bitsrc.io/">
|
|
43
|
+
<img width="20%" src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/docs/.vuepress/public/bit-share-code.png" alt="Bit">
|
|
44
|
+
</a>
|
|
45
|
+
<a href="https://www.wrappixel.com/?ref=102">
|
|
46
|
+
<img width="20%" src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/docs/.vuepress/public/wrappixel-logo.png" alt="Bit">
|
|
47
|
+
</a>
|
|
48
|
+
</p>
|
|
49
|
+
|
|
50
|
+
## Introduction
|
|
51
|
+
|
|
52
|
+
[Vuesax](https://lusaxweb.github.io/vuesax/) is a framework of components based on [vue.js](https://vuejs.org/), it is a framework that is designed from scratch to be incrementally adoptable.
|
|
53
|
+
|
|
54
|
+
The framework is focused on facilitating the development of applications, improving the design of the same without removing the necessary functionality. we want all the components to be independent in colors, shapes and design for a freedom that we like all front-end but without losing the speed of creation and production.
|
|
55
|
+
|
|
56
|
+
## Vuesax 4 (alpha)
|
|
57
|
+
|
|
58
|
+
We are already creating vuesax 4 you can see the progress [here](https://vuesax.com/) and if you want to help in the development you can do it [here](https://github.com/lusaxweb/vuesax-next)
|
|
59
|
+
|
|
60
|
+
## Support the project ⭐
|
|
61
|
+
|
|
62
|
+
If you feel awesome and want to support us in a small way, please consider starring and sharing the repo! This helps us getting known and grow the community. 🙏
|
|
63
|
+
|
|
64
|
+
<img src="https://raw.githubusercontent.com/lusaxweb/vuesax/master/public/github-vuesax-star.gif" alt="vuesax-star" />
|
|
65
|
+
|
|
66
|
+
## Links
|
|
67
|
+
|
|
68
|
+
- 📘 [Documentation](https://lusaxweb.github.io/vuesax/)
|
|
69
|
+
- 📚 [Blog](https://lusaxweb.github.io/vuesax-blog/)
|
|
70
|
+
- 🐦 Twitter: [@vuesax](https://twitter.com/vuesax)
|
|
71
|
+
- 💬 Chat: [Discord](https://discord.gg/6AZNXEa)
|
|
72
|
+
- 🎲 template: [Codepen](https://codepen.io/lusaxweb/pen/mxMKYr)
|
|
73
|
+
- 📰 Tutorial Implement: [DevAwesome](https://lusaxweb.github.io/devAwesome/#/article/-LPDgBxyylgg9h194wuE)
|
|
74
|
+
- 🔧[vuesax-helper](https://marketplace.visualstudio.com/items?itemName=vuesax.vscode-vuesax-helper): is a VS Code extension for Vuesax
|
|
75
|
+
|
|
76
|
+
## Components
|
|
77
|
+
|
|
78
|
+
- [Buttons](https://lusaxweb.github.io/vuesax/components/) - [v4](https://vuesax.com/docs/components/)
|
|
79
|
+
- [Selects](https://lusaxweb.github.io/vuesax/components/selects.html) - [v4](https://vuesax.com/docs/components/Select.html)
|
|
80
|
+
- [Notifications](https://lusaxweb.github.io/vuesax/components/notifications.html) - [v4](https://vuesax.com/docs/components/Notification.html)
|
|
81
|
+
- [Switch](https://lusaxweb.github.io/vuesax/components/switch.html) - [v4](https://vuesax.com/docs/components/Switch.html)
|
|
82
|
+
- [CheckBox](https://lusaxweb.github.io/vuesax/components/checkbox.html) - [v4](https://vuesax.com/docs/components/Checkbox.html)
|
|
83
|
+
- [Radio](https://lusaxweb.github.io/vuesax/components/radio.html) - [v4](https://vuesax.com/docs/components/Radio.html)
|
|
84
|
+
- [Input](https://lusaxweb.github.io/vuesax/components/input.html) - [v4](https://vuesax.com/docs/components/Input.html)
|
|
85
|
+
- [Dialogs](https://lusaxweb.github.io/vuesax/components/dialog.html)
|
|
86
|
+
- [Tabs](https://lusaxweb.github.io/vuesax/components/tabs.html)
|
|
87
|
+
- [Slider](https://lusaxweb.github.io/vuesax/components/slider.html)
|
|
88
|
+
- [InputNumber](https://lusaxweb.github.io/vuesax/components/number.html)
|
|
89
|
+
- [Tooltip](https://lusaxweb.github.io/vuesax/components/tooltip.html) - [v4](https://vuesax.com/docs/components/Tooltip.html)
|
|
90
|
+
- [Upload](https://lusaxweb.github.io/vuesax/components/upload.html)
|
|
91
|
+
- [Loading](https://lusaxweb.github.io/vuesax/components/loading.html) - [v4](https://vuesax.com/docs/components/Loading.html)
|
|
92
|
+
- [Popup](https://lusaxweb.github.io/vuesax/components/popup.html)
|
|
93
|
+
- [Avatar](https://lusaxweb.github.io/vuesax/components/avatar.html) - [v4](https://vuesax.com/docs/components/Avatar.html)
|
|
94
|
+
- [Breadcrumb](https://lusaxweb.github.io/vuesax/components/breadcrumb.html)
|
|
95
|
+
- [Alert](https://lusaxweb.github.io/vuesax/components/alert.html) - [v4](https://vuesax.com/docs/components/Alert.html)
|
|
96
|
+
- [Divider](https://lusaxweb.github.io/vuesax/components/divider.html)
|
|
97
|
+
- [Chip](https://lusaxweb.github.io/vuesax/components/chip.html)
|
|
98
|
+
- [Progress](https://lusaxweb.github.io/vuesax/components/progress.html)
|
|
99
|
+
- [Card](https://lusaxweb.github.io/vuesax/components/card.html)
|
|
100
|
+
- [List](https://lusaxweb.github.io/vuesax/components/list.html)
|
|
101
|
+
- [Pagination](https://lusaxweb.github.io/vuesax/components/pagination.html)
|
|
102
|
+
- [Topbar](https://lusaxweb.github.io/vuesax/components/topbar.html)
|
|
103
|
+
- [SideBar](https://lusaxweb.github.io/vuesax/components/sideBar.html)
|
|
104
|
+
- [DropDown](https://lusaxweb.github.io/vuesax/components/dropDown.html)
|
|
105
|
+
- [Table](https://lusaxweb.github.io/vuesax/components/table.html)
|
|
106
|
+
- [Textarea](https://lusaxweb.github.io/vuesax/components/textarea.html)
|
|
107
|
+
- [Collapse](https://lusaxweb.github.io/vuesax/components/collapse.html)
|
|
108
|
+
- [Images](https://lusaxweb.github.io/vuesax/components/images.html)
|
|
109
|
+
|
|
110
|
+
## Browser Support
|
|
111
|
+
Recent versions of **Firefox**, **Chrome**, **Edge**, **Opera** and **Safari**. **IE11+**
|
|
112
|
+
|
|
113
|
+
## Quick-start CDN
|
|
114
|
+
|
|
115
|
+
```html
|
|
116
|
+
<!DOCTYPE html>
|
|
117
|
+
<html>
|
|
118
|
+
<head>
|
|
119
|
+
<link href="https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.css" rel="stylesheet">
|
|
120
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
|
|
121
|
+
</head>
|
|
122
|
+
<body>
|
|
123
|
+
<div id="app">
|
|
124
|
+
<vs-button vs-type="filled">Hello World</vs-button>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
|
|
128
|
+
<script src="https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.umd.js"></script>
|
|
129
|
+
<script>
|
|
130
|
+
new Vue({
|
|
131
|
+
el: '#app'
|
|
132
|
+
})
|
|
133
|
+
</script>
|
|
134
|
+
</body>
|
|
135
|
+
</html>
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## CDN Links
|
|
139
|
+
|
|
140
|
+
- https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.umd.js
|
|
141
|
+
- https://cdn.jsdelivr.net/npm/vuesax/dist/vuesax.css
|
|
142
|
+
|
|
143
|
+
# Install inside a NPM project
|
|
144
|
+
``` bash
|
|
145
|
+
# npm
|
|
146
|
+
npm install vuesax
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
``` bash
|
|
150
|
+
# yarn
|
|
151
|
+
yarn add vuesax
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Use
|
|
155
|
+
|
|
156
|
+
### All components
|
|
157
|
+
|
|
158
|
+
```javascript
|
|
159
|
+
import Vue from 'vue'
|
|
160
|
+
import Vuesax from 'vuesax'
|
|
161
|
+
|
|
162
|
+
import 'vuesax/dist/vuesax.css'
|
|
163
|
+
Vue.use(Vuesax)
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Or use individual components:
|
|
167
|
+
|
|
168
|
+
```javascript
|
|
169
|
+
import Vue from 'vue'
|
|
170
|
+
import { vsButton, vsSelect, vsPopup } from 'vuesax'
|
|
171
|
+
import 'vuesax/dist/vuesax.css'
|
|
172
|
+
|
|
173
|
+
Vue.use(vsButton)
|
|
174
|
+
Vue.use(vsSelect)
|
|
175
|
+
Vue.use(vsPopup)
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Contribution
|
|
179
|
+
Please make sure to read the [Contributing Guide](https://raw.githubusercontent.com/lusaxweb/vuesax/master/CONTRIBUTING.md) before making a pull request.
|
|
180
|
+
|
|
181
|
+
## Lusaxweb
|
|
182
|
+
|
|
183
|
+
This library was created and is supported by [Lusaxweb](http://lusaxweb.net/)
|
|
184
|
+
|
|
185
|
+
## License
|
|
186
|
+
|
|
187
|
+
[MIT](https://raw.githubusercontent.com/lusaxweb/vuesax/master/LICENSE)
|
package/dist/style/colors.styl
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/*
|
|
2
|
-
GLOBAL COLORS
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
$vs-primary = 31, 116, 255
|
|
6
|
-
$vs-secondary = 121, 49, 177
|
|
7
|
-
$vs-danger = 255, 71, 87
|
|
8
|
-
$vs-success = 70, 201, 58
|
|
9
|
-
$vs-warning = 255, 186, 0
|
|
10
|
-
$vs-dark = 30, 30, 30
|
|
11
|
-
$vs-light = 245, 245, 245
|
|
12
|
-
|
|
13
|
-
$vs-validation-colors := {
|
|
14
|
-
danger: $vs-danger,
|
|
15
|
-
success: $vs-success,
|
|
16
|
-
warning: $vs-warning,
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
$vs-colors := {
|
|
20
|
-
primary: $vs-primary,
|
|
21
|
-
secondary: $vs-secondary,
|
|
22
|
-
danger: $vs-danger,
|
|
23
|
-
success: $vs-success,
|
|
24
|
-
warning: $vs-warning,
|
|
25
|
-
dark: $vs-dark,
|
|
26
|
-
light: $vs-light
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
/*
|
|
2
|
+
GLOBAL COLORS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
$vs-primary = 31, 116, 255
|
|
6
|
+
$vs-secondary = 121, 49, 177
|
|
7
|
+
$vs-danger = 255, 71, 87
|
|
8
|
+
$vs-success = 70, 201, 58
|
|
9
|
+
$vs-warning = 255, 186, 0
|
|
10
|
+
$vs-dark = 30, 30, 30
|
|
11
|
+
$vs-light = 245, 245, 245
|
|
12
|
+
|
|
13
|
+
$vs-validation-colors := {
|
|
14
|
+
danger: $vs-danger,
|
|
15
|
+
success: $vs-success,
|
|
16
|
+
warning: $vs-warning,
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
$vs-colors := {
|
|
20
|
+
primary: $vs-primary,
|
|
21
|
+
secondary: $vs-secondary,
|
|
22
|
+
danger: $vs-danger,
|
|
23
|
+
success: $vs-success,
|
|
24
|
+
warning: $vs-warning,
|
|
25
|
+
dark: $vs-dark,
|
|
26
|
+
light: $vs-light
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
.con-vs-alert
|
|
2
|
-
// padding: 10px
|
|
3
|
-
border-radius: 6px
|
|
4
|
-
color: rgb(255, 255, 255)
|
|
5
|
-
width: 100%
|
|
6
|
-
position relative
|
|
7
|
-
font-size: .8rem
|
|
8
|
-
cursor: default
|
|
9
|
-
transition: all .25s ease
|
|
10
|
-
overflow hidden
|
|
11
|
-
|
|
12
|
-
.icon-alert
|
|
13
|
-
height: 100%
|
|
14
|
-
position: absolute
|
|
15
|
-
// left: 0
|
|
16
|
-
propWithDir(left, null, 0)
|
|
17
|
-
padding: 10px
|
|
18
|
-
top 0
|
|
19
|
-
font-size: 1.1rem
|
|
20
|
-
display: flex
|
|
21
|
-
align-items: center
|
|
22
|
-
|
|
23
|
-
.vs-alert
|
|
24
|
-
padding: 10px
|
|
25
|
-
overflow hidden
|
|
26
|
-
position relative
|
|
27
|
-
|
|
28
|
-
&.con-icon
|
|
29
|
-
// padding-left: 40px
|
|
30
|
-
propWithDir(padding, left, 40px)
|
|
31
|
-
|
|
32
|
-
.vs-alert--title
|
|
33
|
-
font-size .9rem
|
|
34
|
-
font-weight: bold
|
|
35
|
-
// margin-bottom: 3px
|
|
36
|
-
padding: 8px 10px
|
|
37
|
-
|
|
38
|
-
.vs-alert--close
|
|
39
|
-
position: relative
|
|
40
|
-
margin-top: 4px
|
|
41
|
-
// margin-right: 4px
|
|
42
|
-
propWithDir(margin, right, 4px)
|
|
43
|
-
display: inline-block
|
|
44
|
-
dirValue(float, right)
|
|
45
|
-
padding: 4px
|
|
46
|
-
border-radius: 6px
|
|
47
|
-
padding-bottom: 1px
|
|
48
|
-
// padding-top: 1px
|
|
49
|
-
cursor: pointer
|
|
50
|
-
transition: all .2s ease
|
|
51
|
-
|
|
52
|
-
&:hover
|
|
53
|
-
box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .1)
|
|
54
|
-
|
|
55
|
-
for colorx, i in $vs-colors
|
|
56
|
-
.con-vs-alert-{colorx}
|
|
57
|
-
background: getColor(colorx, .15)
|
|
58
|
-
box-shadow 0 0 25px 0 getColor(colorx, .15)
|
|
59
|
-
color: getColor(colorx, 1)
|
|
60
|
-
|
|
61
|
-
h4
|
|
62
|
-
box-shadow: 0 6px 15px -7px getColor(colorx, .4)
|
|
63
|
-
|
|
64
|
-
.con-x
|
|
65
|
-
background: getColor(colorx, 1)
|
|
66
|
-
color: rgb(255, 255, 255)
|
|
1
|
+
.con-vs-alert
|
|
2
|
+
// padding: 10px
|
|
3
|
+
border-radius: 6px
|
|
4
|
+
color: rgb(255, 255, 255)
|
|
5
|
+
width: 100%
|
|
6
|
+
position relative
|
|
7
|
+
font-size: .8rem
|
|
8
|
+
cursor: default
|
|
9
|
+
transition: all .25s ease
|
|
10
|
+
overflow hidden
|
|
11
|
+
|
|
12
|
+
.icon-alert
|
|
13
|
+
height: 100%
|
|
14
|
+
position: absolute
|
|
15
|
+
// left: 0
|
|
16
|
+
propWithDir(left, null, 0)
|
|
17
|
+
padding: 10px
|
|
18
|
+
top 0
|
|
19
|
+
font-size: 1.1rem
|
|
20
|
+
display: flex
|
|
21
|
+
align-items: center
|
|
22
|
+
|
|
23
|
+
.vs-alert
|
|
24
|
+
padding: 10px
|
|
25
|
+
overflow hidden
|
|
26
|
+
position relative
|
|
27
|
+
|
|
28
|
+
&.con-icon
|
|
29
|
+
// padding-left: 40px
|
|
30
|
+
propWithDir(padding, left, 40px)
|
|
31
|
+
|
|
32
|
+
.vs-alert--title
|
|
33
|
+
font-size .9rem
|
|
34
|
+
font-weight: bold
|
|
35
|
+
// margin-bottom: 3px
|
|
36
|
+
padding: 8px 10px
|
|
37
|
+
|
|
38
|
+
.vs-alert--close
|
|
39
|
+
position: relative
|
|
40
|
+
margin-top: 4px
|
|
41
|
+
// margin-right: 4px
|
|
42
|
+
propWithDir(margin, right, 4px)
|
|
43
|
+
display: inline-block
|
|
44
|
+
dirValue(float, right)
|
|
45
|
+
padding: 4px
|
|
46
|
+
border-radius: 6px
|
|
47
|
+
padding-bottom: 1px
|
|
48
|
+
// padding-top: 1px
|
|
49
|
+
cursor: pointer
|
|
50
|
+
transition: all .2s ease
|
|
51
|
+
|
|
52
|
+
&:hover
|
|
53
|
+
box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .1)
|
|
54
|
+
|
|
55
|
+
for colorx, i in $vs-colors
|
|
56
|
+
.con-vs-alert-{colorx}
|
|
57
|
+
background: getColor(colorx, .15)
|
|
58
|
+
box-shadow 0 0 25px 0 getColor(colorx, .15)
|
|
59
|
+
color: getColor(colorx, 1)
|
|
60
|
+
|
|
61
|
+
h4
|
|
62
|
+
box-shadow: 0 6px 15px -7px getColor(colorx, .4)
|
|
63
|
+
|
|
64
|
+
.con-x
|
|
65
|
+
background: getColor(colorx, 1)
|
|
66
|
+
color: rgb(255, 255, 255)
|