@douxcode/vue-spring-bottom-sheet 1.0.2 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +21 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -90,14 +90,27 @@ For Nuxt 3, just wrap component in `<client-only>`
90
90
 
91
91
  ## Props
92
92
 
93
- | Prop | Type | Description | Example | Defaults |
94
- | ------------------- | -------- | ----------------------------------------------------------------------------- | -------------------------------- | -------- |
95
- | snapPoints | Number[] | Defines custom snapping positions for the bottom sheet | `:snapPoints="[300, 600, 900]"` | true |
96
- | defaultSnapPoint | Number | Specifies the default snap point | `:default-snap-point="600"` | true |
97
- | blocking | Boolean | Controls whether the bottom sheet blocks interactions with underlying content | `:blocking="true"` | true |
98
- | canSwipeClose | Boolean | Enables or disables swipe gestures for closing the sheet | `:can-swipe-close="true"` | true |
99
- | canOverlayClose | Boolean | Allows tapping the overlay to close the sheet | `:can-overlay-close="true"` | true |
100
- | expandOnContentDrag | Boolean | Enables expanding the sheet by dragging its content | `:expand-on-content-drag="true"` | true |
93
+ ### Prop Definitions
94
+
95
+ | Prop | Type | Description | Example |
96
+ | ------------------- | -------- | ----------------------------------------------------------------------------- | -------------------------------- |
97
+ | snapPoints | Number[] | Defines custom snapping positions for the bottom sheet | `:snapPoints="[300, 600, 900]"` |
98
+ | defaultSnapPoint | Number | Specifies the default snap point | `:default-snap-point="600"` |
99
+ | blocking | Boolean | Controls whether the bottom sheet blocks interactions with underlying content | `:blocking="true"` |
100
+ | canSwipeClose | Boolean | Enables or disables swipe gestures for closing the sheet | `:can-swipe-close="true"` |
101
+ | canOverlayClose | Boolean | Allows tapping the overlay to close the sheet | `:can-overlay-close="true"` |
102
+ | expandOnContentDrag | Boolean | Enables expanding the sheet by dragging its content | `:expand-on-content-drag="true"` |
103
+
104
+ ### Default Values
105
+
106
+ | Prop | Default |
107
+ | ------------------- | -------------------------- |
108
+ | snapPoints | `minHeight` |
109
+ | defaultSnapPoint | `minHeight / minSnapPoint` |
110
+ | blocking | `true` |
111
+ | canSwipeClose | `true` |
112
+ | canOverlayClose | `true` |
113
+ | expandOnContentDrag | `true` |
101
114
 
102
115
  ## Exposed methods
103
116
 
package/package.json CHANGED
@@ -32,7 +32,7 @@
32
32
  "url": "https://github.com/megaarmos/vue-spring-bottom-sheet/issues"
33
33
  },
34
34
  "private": false,
35
- "version": "1.0.2",
35
+ "version": "1.0.3",
36
36
  "type": "module",
37
37
  "exports": {
38
38
  ".": {