vueless 1.2.10-beta.2 → 1.2.10-beta.3

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.
@@ -0,0 +1,67 @@
1
+ import defaultConfig from "./config";
2
+
3
+ import type { ComponentConfig } from "../types";
4
+
5
+ export type Config = typeof defaultConfig;
6
+
7
+ export interface Props {
8
+ /**
9
+ * Drawer state (shown / hidden).
10
+ */
11
+ modelValue?: boolean;
12
+
13
+ /**
14
+ * Drawer title.
15
+ */
16
+ title?: string;
17
+
18
+ /**
19
+ * Drawer description.
20
+ */
21
+ description?: string;
22
+
23
+ /**
24
+ * Drawer position.
25
+ */
26
+ position?: "top" | "bottom" | "left" | "right";
27
+
28
+ /**
29
+ * Drawer variant.
30
+ */
31
+ variant?: "solid" | "outlined" | "subtle" | "soft";
32
+
33
+ /**
34
+ * Control whether the Drawer has a handle or not.
35
+ */
36
+ handle?: boolean;
37
+
38
+ /**
39
+ * Inset the drawer from the edges.
40
+ */
41
+ inset?: boolean;
42
+
43
+ /**
44
+ * Allow closing drawer by clicking on overlay.
45
+ */
46
+ closeOnOverlay?: boolean;
47
+
48
+ /**
49
+ * Allow closing drawer by pressing escape (esc) on the keyboard.
50
+ */
51
+ closeOnEsc?: boolean;
52
+
53
+ /**
54
+ * Unique element id.
55
+ */
56
+ id?: string;
57
+
58
+ /**
59
+ * Component config object.
60
+ */
61
+ config?: ComponentConfig<Config>;
62
+
63
+ /**
64
+ * Data-test attribute for automated testing.
65
+ */
66
+ dataTest?: string | null;
67
+ }