@bigz-app/booking-widget 0.3.6 → 0.3.9
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/booking-widget.js +1016 -300
- package/dist/booking-widget.js.map +1 -1
- package/dist/components/BookingForm.d.ts.map +1 -1
- package/dist/components/EventInstanceSelection.d.ts.map +1 -1
- package/dist/components/PaymentForm.d.ts +3 -1
- package/dist/components/PaymentForm.d.ts.map +1 -1
- package/dist/components/PromoDialog.d.ts +7 -0
- package/dist/components/PromoDialog.d.ts.map +1 -0
- package/dist/components/UniversalBookingWidget.d.ts.map +1 -1
- package/dist/components/VoucherInput.d.ts +29 -0
- package/dist/components/VoucherInput.d.ts.map +1 -0
- package/dist/index.cjs +1017 -301
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1018 -302
- package/dist/index.esm.js.map +1 -1
- package/package.json +77 -70
package/package.json
CHANGED
|
@@ -1,71 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
2
|
+
"name": "@bigz-app/booking-widget",
|
|
3
|
+
"version": "0.3.9",
|
|
4
|
+
"description": "Booking widget for Big Z Booking System @ bigz.app",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"module": "dist/index.esm.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./dist/index.esm.js",
|
|
16
|
+
"require": "./dist/index.cjs",
|
|
17
|
+
"types": "./dist/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./umd": "./dist/index.umd.js",
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"unpkg": "dist/index.umd.js",
|
|
23
|
+
"jsdelivr": "dist/index.umd.js",
|
|
24
|
+
"keywords": [
|
|
25
|
+
"bigz",
|
|
26
|
+
"booking-widget"
|
|
27
|
+
],
|
|
28
|
+
"author": "99 Power",
|
|
29
|
+
"license": "UNLICENSED",
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
32
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@hookform/resolvers": "^3.3.2",
|
|
36
|
+
"@stripe/react-stripe-js": "^3.7.0",
|
|
37
|
+
"@stripe/stripe-js": "^4.9.0",
|
|
38
|
+
"@tiptap/starter-kit": "3.0.7",
|
|
39
|
+
"markdown-to-jsx": "^7.7.12",
|
|
40
|
+
"preact": "^10.26.9",
|
|
41
|
+
"react-hook-form": "^7.48.2",
|
|
42
|
+
"zod": "^3.22.4"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
46
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
47
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
48
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
49
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
50
|
+
"@types/node": "^20.17.47",
|
|
51
|
+
"@types/react": "^18.2.45",
|
|
52
|
+
"@types/react-dom": "^18.2.18",
|
|
53
|
+
"eslint": "^9.17.0",
|
|
54
|
+
"rollup": "^4.9.1",
|
|
55
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
56
|
+
"typescript": "^5.3.3",
|
|
57
|
+
"typescript-eslint": "^8.18.2"
|
|
58
|
+
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"dev": "rollup -c -w",
|
|
64
|
+
"build": "rollup -c",
|
|
65
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
66
|
+
"clean": "rm -rf dist",
|
|
67
|
+
"rebuild": "npm run clean && npm run build",
|
|
68
|
+
"test": "echo 'Add test script here'",
|
|
69
|
+
"pack:check": "npm pack --dry-run",
|
|
70
|
+
"link:local": "pnpm link --global",
|
|
71
|
+
"unlink:local": "pnpm unlink --global",
|
|
72
|
+
"lint": "eslint ./src",
|
|
73
|
+
"format": "eslint ./src --fix",
|
|
74
|
+
"check": "eslint ./src",
|
|
75
|
+
"check:write": "eslint ./src --fix",
|
|
76
|
+
"postbuild": "echo 'Preact build complete.'"
|
|
77
|
+
}
|
|
78
|
+
}
|