@chayns-components/swipeable-wrapper 5.0.0-beta.1000
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/LICENSE +21 -0
- package/README.md +34 -0
- package/lib/cjs/components/swipeable-wrapper/SwipeableWrapper.js +188 -0
- package/lib/cjs/components/swipeable-wrapper/SwipeableWrapper.js.map +1 -0
- package/lib/cjs/components/swipeable-wrapper/SwipeableWrapper.styles.js +18 -0
- package/lib/cjs/components/swipeable-wrapper/SwipeableWrapper.styles.js.map +1 -0
- package/lib/cjs/components/swipeable-wrapper/swipeable-action/SwipeableAction.js +115 -0
- package/lib/cjs/components/swipeable-wrapper/swipeable-action/SwipeableAction.js.map +1 -0
- package/lib/cjs/components/swipeable-wrapper/swipeable-action/SwipeableAction.styles.js +56 -0
- package/lib/cjs/components/swipeable-wrapper/swipeable-action/SwipeableAction.styles.js.map +1 -0
- package/lib/cjs/index.js +14 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/utils/threshold.js +14 -0
- package/lib/cjs/utils/threshold.js.map +1 -0
- package/lib/esm/components/swipeable-wrapper/SwipeableWrapper.js +177 -0
- package/lib/esm/components/swipeable-wrapper/SwipeableWrapper.js.map +1 -0
- package/lib/esm/components/swipeable-wrapper/SwipeableWrapper.styles.js +11 -0
- package/lib/esm/components/swipeable-wrapper/SwipeableWrapper.styles.js.map +1 -0
- package/lib/esm/components/swipeable-wrapper/swipeable-action/SwipeableAction.js +109 -0
- package/lib/esm/components/swipeable-wrapper/swipeable-action/SwipeableAction.js.map +1 -0
- package/lib/esm/components/swipeable-wrapper/swipeable-action/SwipeableAction.styles.js +58 -0
- package/lib/esm/components/swipeable-wrapper/swipeable-action/SwipeableAction.styles.js.map +1 -0
- package/lib/esm/index.js +2 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/utils/threshold.js +10 -0
- package/lib/esm/utils/threshold.js.map +1 -0
- package/lib/types/components/swipeable-wrapper/SwipeableWrapper.d.ts +29 -0
- package/lib/types/components/swipeable-wrapper/SwipeableWrapper.styles.d.ts +267 -0
- package/lib/types/components/swipeable-wrapper/swipeable-action/SwipeableAction.d.ts +16 -0
- package/lib/types/components/swipeable-wrapper/swipeable-action/SwipeableAction.styles.d.ts +275 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/utils/threshold.d.ts +7 -0
- package/package.json +85 -0
package/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chayns-components/swipeable-wrapper",
|
|
3
|
+
"version": "5.0.0-beta.1000",
|
|
4
|
+
"description": "A set of beautiful React components for developing your own applications with chayns.",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"browserslist": [
|
|
7
|
+
">0.5%",
|
|
8
|
+
"not dead",
|
|
9
|
+
"not op_mini all",
|
|
10
|
+
"not IE 11"
|
|
11
|
+
],
|
|
12
|
+
"keywords": [
|
|
13
|
+
"chayns",
|
|
14
|
+
"react",
|
|
15
|
+
"components"
|
|
16
|
+
],
|
|
17
|
+
"author": "Tobit.Software",
|
|
18
|
+
"homepage": "https://github.com/TobitSoftware/chayns-components/tree/main/packages/swipeable-wrapper#readme",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"types": "lib/types/index.d.ts",
|
|
21
|
+
"main": "lib/cjs/index.js",
|
|
22
|
+
"module": "lib/esm/index.js",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./lib/types/index.d.ts",
|
|
26
|
+
"require": "./lib/cjs/index.js",
|
|
27
|
+
"import": "./lib/esm/index.js"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"directories": {
|
|
31
|
+
"lib": "lib",
|
|
32
|
+
"test": "__tests__"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"lib"
|
|
36
|
+
],
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "git+https://github.com/TobitSoftware/chayns-components.git"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
|
|
43
|
+
"build:types": "tsc",
|
|
44
|
+
"build:cjs": "cross-env NODE_ENV=cjs babel src --out-dir lib/cjs --extensions=.ts,.tsx --source-maps --ignore=src/stories",
|
|
45
|
+
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir lib/esm --extensions=.ts,.tsx --source-maps --ignore=src/stories",
|
|
46
|
+
"prepublishOnly": "npm run build",
|
|
47
|
+
"watch:js": "npm run build:esm -- --watch",
|
|
48
|
+
"link": "npm link && npm run watch:js"
|
|
49
|
+
},
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/TobitSoftware/chayns-components/issues"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@babel/cli": "^7.26.4",
|
|
55
|
+
"@babel/core": "^7.26.0",
|
|
56
|
+
"@babel/preset-env": "^7.26.0",
|
|
57
|
+
"@babel/preset-react": "^7.26.3",
|
|
58
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
59
|
+
"@types/react": "^18.3.18",
|
|
60
|
+
"@types/react-dom": "^18.3.5",
|
|
61
|
+
"@types/styled-components": "^5.1.34",
|
|
62
|
+
"@types/uuid": "^10.0.0",
|
|
63
|
+
"babel-loader": "^9.2.1",
|
|
64
|
+
"cross-env": "^7.0.3",
|
|
65
|
+
"lerna": "^8.1.9",
|
|
66
|
+
"react": "^18.3.1",
|
|
67
|
+
"react-dom": "^18.3.1",
|
|
68
|
+
"styled-components": "^6.1.14",
|
|
69
|
+
"typescript": "^5.7.3"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@chayns-components/core": "^5.0.0-beta.1000"
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"chayns-api": ">=2.0.0",
|
|
76
|
+
"framer-motion": ">=10.18.0",
|
|
77
|
+
"react": ">=18.0.0",
|
|
78
|
+
"react-dom": ">=18.0.0",
|
|
79
|
+
"styled-components": ">=5.3.11"
|
|
80
|
+
},
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public"
|
|
83
|
+
},
|
|
84
|
+
"gitHead": "d456c0b87862a3be7d764ba0f16e0b96b22ac2a8"
|
|
85
|
+
}
|