@vlalg-nimbus/nb-inputs 7.1.0 → 8.0.0
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 +53 -46
- package/dist/nb-inputs.js +1532 -841
- package/dist/nb-inputs.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -1,46 +1,53 @@
|
|
|
1
|
-
# nb-inputs
|
|
2
|
-
> This component is only for [Vue.js 3+](https://vuejs.org/)
|
|
3
|
-
|
|
4
|
-
<br />
|
|
5
|
-
|
|
6
|
-
This lib contains input components.
|
|
7
|
-
|
|
8
|
-
## Installation
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
npm install @vlalg-nimbus/nb-inputs
|
|
12
|
-
|
|
13
|
-
# or
|
|
14
|
-
|
|
15
|
-
yarn add @vlalg-nimbus/nb-inputs
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Usage
|
|
19
|
-
|
|
20
|
-
```js
|
|
21
|
-
// main.js
|
|
22
|
-
import { createApp } from 'vue'
|
|
23
|
-
import App from './App.vue'
|
|
24
|
-
|
|
25
|
-
import NbInputsComponents from '@vlalg-nimbus/nb-inputs'
|
|
26
|
-
import "@vlalg-nimbus/nb-inputs/dist/style.css";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
# nb-inputs
|
|
2
|
+
> This component is only for [Vue.js 3+](https://vuejs.org/)
|
|
3
|
+
|
|
4
|
+
<br />
|
|
5
|
+
|
|
6
|
+
This lib contains input components.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @vlalg-nimbus/nb-inputs
|
|
12
|
+
|
|
13
|
+
# or
|
|
14
|
+
|
|
15
|
+
yarn add @vlalg-nimbus/nb-inputs
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
// main.js
|
|
22
|
+
import { createApp } from 'vue'
|
|
23
|
+
import App from './App.vue'
|
|
24
|
+
|
|
25
|
+
import NbInputsComponents from '@vlalg-nimbus/nb-inputs'
|
|
26
|
+
import "@vlalg-nimbus/nb-inputs/dist/style.css";
|
|
27
|
+
|
|
28
|
+
// Import the Calendar component from the npm package to use in the nb-date-picker component
|
|
29
|
+
import { Calendar } from '@vlalg-nimbus/nb-calendar';
|
|
30
|
+
import "@vlalg-nimbus/nb-calendar/dist/style.css"
|
|
31
|
+
|
|
32
|
+
const app = createApp(App)
|
|
33
|
+
app.use(NbInputsComponents)
|
|
34
|
+
app.component('Calendar', Calendar); // Register the Calendar component globally
|
|
35
|
+
app.mount('#app')
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Components list
|
|
39
|
+
|
|
40
|
+
The components that are part of this lib are:
|
|
41
|
+
|
|
42
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-input-radio" target="_blank">nb-input-radio</a>
|
|
43
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-checkbox" target="_blank">nb-input-checkbox</a>
|
|
44
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-input" target="_blank">nb-input</a>
|
|
45
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-input-chip" target="_blank">nb-input-chip</a>
|
|
46
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-textarea" target="_blank">nb-textarea</a>
|
|
47
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-date-picker" target="_blank">nb-date-picker</a>
|
|
48
|
+
|
|
49
|
+
Click on each one above to find out how to use it, properties, events, etc.
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
[MIT](http://opensource.org/licenses/MIT)
|