@vasakgroup/vue-libvasak 1.8.0 → 1.9.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/dist/types/cards/DeviceCard.vue.d.ts +10 -0
- package/dist/vue-libvasak.es.js +339 -336
- package/dist/vue-libvasak.umd.js +1 -1
- package/package.json +81 -81
|
@@ -33,6 +33,15 @@ interface Props {
|
|
|
33
33
|
actionLabel?: string;
|
|
34
34
|
/** Qué dice mientras `isConnecting`. */
|
|
35
35
|
connectingLabel?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Si la acción deshace algo —desconectar, desvincular, olvidar—, va en rojo.
|
|
38
|
+
*
|
|
39
|
+
* No sale de `isConnected`, aunque en Bluetooth las dos cosas coincidan: hay
|
|
40
|
+
* tarjetas donde la acción del estado conectado no destruye nada, y otras
|
|
41
|
+
* donde la del desconectado sí —«olvidar este dispositivo»—. Atarlo al
|
|
42
|
+
* estado acertaría por casualidad en un caso y se equivocaría en el otro.
|
|
43
|
+
*/
|
|
44
|
+
actionKind?: 'primary' | 'destructive';
|
|
36
45
|
/** Mientras dura la acción: el botón queda deshabilitado y cambia el texto. */
|
|
37
46
|
isConnecting?: boolean;
|
|
38
47
|
showStatusIndicator?: boolean;
|
|
@@ -57,6 +66,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
57
66
|
showActionButton: boolean;
|
|
58
67
|
actionLabel: string;
|
|
59
68
|
connectingLabel: string;
|
|
69
|
+
actionKind: "primary" | "destructive";
|
|
60
70
|
isConnecting: boolean;
|
|
61
71
|
showStatusIndicator: boolean;
|
|
62
72
|
clickable: boolean;
|