@ousi-ui/vue 0.8.0 → 0.8.1
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 +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +2738 -2736
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5345,7 +5345,8 @@ export declare interface DrawerProps {
|
|
|
5345
5345
|
/** Show the handle bar. Drawers from the top and bottom have one anyway while they can be swiped. */
|
|
5346
5346
|
showHandle?: boolean;
|
|
5347
5347
|
/** Close by dragging the drawer back the way it came: a mouse by the handle, a finger from
|
|
5348
|
-
* anywhere, once the content under it has nothing left to scroll. Not for floating-center.
|
|
5348
|
+
* anywhere, once the content under it has nothing left to scroll. Not for floating-center.
|
|
5349
|
+
* When unset, the app-wide `swipeToClose` decides, which is true unless the app turns it off. */
|
|
5349
5350
|
swipeToClose?: boolean;
|
|
5350
5351
|
/** Show the built-in close button. */
|
|
5351
5352
|
showCloseButton?: boolean;
|
|
@@ -7546,6 +7547,8 @@ export declare interface OusiConfig {
|
|
|
7546
7547
|
backdrop: Ref<OverlayBackdrop>;
|
|
7547
7548
|
/** Required OSelect and OAutocomplete fields with exactly one option pick it. Defaults to false. */
|
|
7548
7549
|
autoSelectSingle: Ref<boolean>;
|
|
7550
|
+
/** Swipe to close for drawers that don't say. Defaults to true. */
|
|
7551
|
+
swipeToClose: Ref<boolean>;
|
|
7549
7552
|
}
|
|
7550
7553
|
|
|
7551
7554
|
export declare interface OusiConfigInit {
|
|
@@ -7555,6 +7558,7 @@ export declare interface OusiConfigInit {
|
|
|
7555
7558
|
dir?: 'ltr' | 'rtl';
|
|
7556
7559
|
backdrop?: OverlayBackdrop;
|
|
7557
7560
|
autoSelectSingle?: boolean;
|
|
7561
|
+
swipeToClose?: boolean;
|
|
7558
7562
|
}
|
|
7559
7563
|
|
|
7560
7564
|
/** Texts the components render on their own: placeholders, buttons and accessible names. */
|