@dolanske/vui 1.8.4 → 1.8.6

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 CHANGED
@@ -1,11 +1,11 @@
1
- # VUI
2
-
3
- 1. `npm i @dolanske/vui`
4
- 2. In your main app entry,`import "@dolanske/vui/style` to import the global CSS
5
- 3. Build your thing bro
6
-
7
- ---
8
-
9
- ## Documentation
10
-
11
- [Right here](https://dolanske.github.io/vui/)
1
+ # VUI
2
+
3
+ 1. `npm i @dolanske/vui`
4
+ 2. In your main app entry,`import "@dolanske/vui/style` to import the global CSS
5
+ 3. Build your thing bro
6
+
7
+ ---
8
+
9
+ ## Documentation
10
+
11
+ [Right here](https://dolanske.github.io/vui/)
@@ -23,7 +23,7 @@ export interface ModalProps {
23
23
  */
24
24
  centered?: boolean;
25
25
  /**
26
- * Wether modal can be closed by clicking the X button
26
+ * Wether modal can be closed by pressing Escape or by clicking the backdrop. If you want to disable the "X" close button, combine this setting with `hideCloseButton`.
27
27
  */
28
28
  canDismiss?: boolean;
29
29
  /**
@@ -17,6 +17,14 @@ interface Props {
17
17
  * into the <Card /> component.
18
18
  */
19
19
  card?: CardProps;
20
+ /**
21
+ * Wether sheet can be closed by pressing Escape or by clicking the backdrop. If you want to disable the "X" close button, combine this setting with `hideCloseButton`.
22
+ */
23
+ canDismiss?: boolean;
24
+ /**
25
+ * Hides the X button in the top right of the sheet. The sheet can still be closed by other means.
26
+ */
27
+ hideCloseButton?: boolean;
20
28
  /**
21
29
  * By default, elements with transition already use a default fade transition. This can be replaced by a custom vue transition class name.
22
30
  *