@vlalg-nimbus/nb-inputs 9.6.0 → 10.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 +57 -53
- package/dist/nb-inputs.js +6179 -3236
- package/dist/nb-inputs.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -1,53 +1,57 @@
|
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
import
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
app
|
|
35
|
-
app.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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-
|
|
46
|
-
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-
|
|
47
|
-
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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 vue-the-mask@0.11.1
|
|
12
|
+
|
|
13
|
+
# or
|
|
14
|
+
|
|
15
|
+
yarn add @vlalg-nimbus/nb-inputs vue-the-mask@0.11.1
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
`vue-the-mask` **0.11.1** is a **peer dependency** (used by `NbInput` when `input-mask` is set; pin avoids unexpected upgrades of an unmaintained package). `@vlalg-nimbus/magic-debounce` is a normal dependency of this package (installs with `nb-inputs`; not inlined in the library build, same pattern as `nb-calendar`).
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
// main.js
|
|
24
|
+
import { createApp } from 'vue'
|
|
25
|
+
import App from './App.vue'
|
|
26
|
+
|
|
27
|
+
import NbInputsComponents from '@vlalg-nimbus/nb-inputs'
|
|
28
|
+
import "@vlalg-nimbus/nb-inputs/dist/style.css";
|
|
29
|
+
|
|
30
|
+
// Import the Calendar component from the npm package to use in the nb-date-picker component
|
|
31
|
+
import { Calendar } from '@vlalg-nimbus/nb-calendar';
|
|
32
|
+
import "@vlalg-nimbus/nb-calendar/dist/style.css"
|
|
33
|
+
|
|
34
|
+
const app = createApp(App)
|
|
35
|
+
app.use(NbInputsComponents)
|
|
36
|
+
app.component('Calendar', Calendar); // Register the Calendar component globally
|
|
37
|
+
app.mount('#app')
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Components list
|
|
41
|
+
|
|
42
|
+
The components that are part of this lib are:
|
|
43
|
+
|
|
44
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-input-radio" target="_blank">nb-input-radio</a>
|
|
45
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-checkbox" target="_blank">nb-input-checkbox</a>
|
|
46
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-input" target="_blank">nb-input</a>
|
|
47
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-input-chip" target="_blank">nb-input-chip</a>
|
|
48
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-textarea" target="_blank">nb-textarea</a>
|
|
49
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-date-picker" target="_blank">nb-date-picker</a>
|
|
50
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-input-file" target="_blank">nb-input-file</a>
|
|
51
|
+
- <a href="http://nimbus.tec.br/vue-components/nb-inputs/nb-input-search" target="_blank">nb-input-search</a>
|
|
52
|
+
|
|
53
|
+
Click on each one above to find out how to use it, properties, events, etc.
|
|
54
|
+
|
|
55
|
+
## License
|
|
56
|
+
|
|
57
|
+
[MIT](http://opensource.org/licenses/MIT)
|