@douxcode/vue-spring-bottom-sheet 1.0.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/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ [data-vsbs-backdrop][data-v-931062ac]{background-color:var(--vsbs-backdrop-bg, rgba(0, 0, 0, .5));top:0;right:0;bottom:0;left:0;pointer-events:auto;position:fixed;-webkit-user-select:none;user-select:none;will-change:opacity;z-index:100}[data-vsbs-shadow=true][data-v-931062ac]{box-shadow:0 -5px 60px #26597333,0 -1px #2659730f}[data-vsbs-sheet][data-v-931062ac]{background-color:var(--vsbs-background, #fff);border-top-left-radius:var(--vsbs-border-radius, 16px);border-top-right-radius:var(--vsbs-border-radius, 16px);bottom:0;display:flex;flex-direction:column;left:0;margin-left:auto;margin-right:auto;max-height:inherit;max-width:var(--vsbs-max-width, 640px);pointer-events:all;position:fixed;right:0;transition:visibility .3s ease-in-out;visibility:hidden;width:100%;will-change:height;z-index:100}[data-vsbs-sheet-show=true][data-v-931062ac]{visibility:visible}[data-vsbs-header][data-v-931062ac]{box-shadow:0 1px #2e3b4220;flex-shrink:0;padding:20px 16px 8px;-webkit-user-select:none;user-select:none;z-index:1}[data-vsbs-header][data-v-931062ac]:before{background-color:var(--vsbs-handle-background, rgba(0, 0, 0, .28));border-radius:2px;content:"";display:block;height:4px;left:50%;position:absolute;top:8px;transform:translate(-50%);width:36px}[data-vsbs-header][data-v-931062ac]:empty{box-shadow:none;padding:12px 16px 8px}[data-vsbs-footer][data-v-931062ac]{box-shadow:0 -1px #2e3b4220;flex-grow:0;flex-shrink:0;padding:16px;-webkit-user-select:none;user-select:none}[data-vsbs-footer][data-v-931062ac]:empty{display:none}[data-vsbs-scroll][data-v-931062ac]{flex-grow:1;overflow-y:auto;overscroll-behavior:contain}[data-vsbs-content-wrapper][data-v-931062ac]{height:100%}[data-vsbs-content][data-v-931062ac]{display:grid;padding:1vh 3vh 3vh;-webkit-user-select:none;user-select:none}.fade-enter-active[data-v-931062ac],.fade-leave-active[data-v-931062ac]{transition:opacity .3s ease}.fade-enter-from[data-v-931062ac],.fade-leave-to[data-v-931062ac]{opacity:0}
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@douxcode/vue-spring-bottom-sheet",
3
+ "description": "Modern and Performant Bottom Sheet for Vue.js",
4
+ "keywords": [
5
+ "animation",
6
+ "bottom-drawer",
7
+ "bottom-sheet",
8
+ "bottomsheet",
9
+ "dialog",
10
+ "drag-drop",
11
+ "draggableview",
12
+ "drawer",
13
+ "gesture-control",
14
+ "modal",
15
+ "motion",
16
+ "overlay",
17
+ "popup",
18
+ "vue",
19
+ "vueuse/motion",
20
+ "vueuse/gesture",
21
+ "sheet",
22
+ "typescript"
23
+ ],
24
+ "author": "Arion Paul",
25
+ "license": "MIT",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/megaarmos/vue-spring-bottom-sheet.git"
29
+ },
30
+ "homepage": "https://github.com/megaarmos/vue-spring-bottom-sheet",
31
+ "bugs": {
32
+ "url": "https://github.com/megaarmos/vue-spring-bottom-sheet/issues"
33
+ },
34
+ "private": false,
35
+ "version": "1.0.1",
36
+ "type": "module",
37
+ "exports": {
38
+ ".": {
39
+ "types": "./dist/index.d.ts",
40
+ "import": "./dist/index.mjs"
41
+ },
42
+ "./dist/style.css": {
43
+ "import": "./dist/style.css",
44
+ "require": "./dist/style.css"
45
+ }
46
+ },
47
+ "main": "./dist/index.mjs",
48
+ "types": "dist/index.d.ts",
49
+ "scripts": {
50
+ "build": "vue-tsc -b && vite build",
51
+ "build:watch": "vite build --watch",
52
+ "preview": "vite preview"
53
+ },
54
+ "peerDependencies": {
55
+ "vue": ">=3.3",
56
+ "@vueuse/gesture": "^2.0.0",
57
+ "@vueuse/motion": "^2.2.6"
58
+ },
59
+ "dependencies": {
60
+ "@vueuse/core": "^12.0.0",
61
+ "@vueuse/gesture": "^2.0.0",
62
+ "@vueuse/integrations": "^12.0.0",
63
+ "@vueuse/motion": "^2.2.6",
64
+ "focus-trap": "^7",
65
+ "vue": "^3.5.13"
66
+ },
67
+ "devDependencies": {
68
+ "@types/node": "^22.10.2",
69
+ "@vitejs/plugin-vue": "^5.2.1",
70
+ "@vue/tsconfig": "^0.7.0",
71
+ "prettier": "^3.4.2",
72
+ "typescript": "~5.6.2",
73
+ "vite": "^6.0.1",
74
+ "vite-plugin-dts": "^4.3.0",
75
+ "vue-tsc": "^2.1.10"
76
+ },
77
+ "files": [
78
+ "dist",
79
+ "README.md",
80
+ "LICENSE"
81
+ ]
82
+ }