@dronico/droni-kit 1.24.3 → 1.25.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/CHANGELOG.md +7 -0
- package/README.md +23 -0
- package/dist/droni-kit.cjs.js +9 -9
- package/dist/droni-kit.css +1 -1
- package/dist/droni-kit.es.js +868 -772
- package/dist/index.d.ts +2 -1
- package/dist/stories/Forms/DuiForm.stories.d.ts +130 -0
- package/dist/stories/Forms/DuiForm.vue.d.ts +52 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.25.0](https://github.com/Droni-app/droni-kit/compare/v1.24.3...v1.25.0) (2026-09-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add DuiForm component with loading state, slots, and Nuxt compatibility ([97416a4](https://github.com/Droni-app/droni-kit/commit/97416a4efc80f8ef2d2765f3e0ab7e2b17366ecb))
|
|
7
|
+
|
|
1
8
|
## [1.24.3](https://github.com/Droni-app/droni-kit/compare/v1.24.2...v1.24.3) (2026-08-28)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -130,6 +130,29 @@ Selector desplegable con opciones personalizables.
|
|
|
130
130
|
/>
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
+
#### **DuiForm**
|
|
134
|
+
Contenedor de formulario con gestión de estado de carga/deshabilitado, slots para cabecera y acciones, y compatibilidad con Nuxt.
|
|
135
|
+
```vue
|
|
136
|
+
<DuiForm :loading="isSubmitting" @submit="handleSubmit" @reset="handleReset">
|
|
137
|
+
<template #header>
|
|
138
|
+
<h2>Registro</h2>
|
|
139
|
+
</template>
|
|
140
|
+
|
|
141
|
+
<DuiLabel title="Nombre" required>
|
|
142
|
+
<DuiInput v-model="form.name" name="name" required />
|
|
143
|
+
</DuiLabel>
|
|
144
|
+
|
|
145
|
+
<DuiLabel title="Email" required>
|
|
146
|
+
<DuiInput v-model="form.email" name="email" type="email" required />
|
|
147
|
+
</DuiLabel>
|
|
148
|
+
|
|
149
|
+
<template #footer>
|
|
150
|
+
<DuiButton type="submit" color="primary">Enviar</DuiButton>
|
|
151
|
+
<DuiButton type="reset" variant="outline" color="neutral">Limpiar</DuiButton>
|
|
152
|
+
</template>
|
|
153
|
+
</DuiForm>
|
|
154
|
+
```
|
|
155
|
+
|
|
133
156
|
## 🎨 Sistema de Design
|
|
134
157
|
|
|
135
158
|
### Variantes
|