@wodira/browser 0.1.0 → 1.0.0
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/CHANGELOG.md +30 -0
- package/README.md +259 -17
- package/dist/index.cjs +38 -5
- package/dist/index.d.ts +110 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +38 -4
- package/dist/types.d.ts +56 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/ui/boxes/cdn.d.ts +2 -0
- package/dist/ui/boxes/cdn.d.ts.map +1 -0
- package/dist/ui/boxes/cdn.js +743 -0
- package/dist/ui/boxes/client.d.ts +30 -0
- package/dist/ui/boxes/client.d.ts.map +1 -0
- package/dist/ui/boxes/components.d.ts +246 -0
- package/dist/ui/boxes/components.d.ts.map +1 -0
- package/dist/ui/boxes/i18n.d.ts +107 -0
- package/dist/ui/boxes/i18n.d.ts.map +1 -0
- package/dist/ui/boxes/index.d.ts +16 -0
- package/dist/ui/boxes/index.d.ts.map +1 -0
- package/dist/ui/boxes/index.js +3071 -0
- package/dist/ui/boxes/styles.d.ts +2 -0
- package/dist/ui/boxes/styles.d.ts.map +1 -0
- package/dist/ui/boxes/types.d.ts +105 -0
- package/dist/ui/boxes/types.d.ts.map +1 -0
- package/dist/ui/components.d.ts +158 -4
- package/dist/ui/components.d.ts.map +1 -1
- package/dist/ui/events.d.ts +1 -1
- package/dist/ui/events.d.ts.map +1 -1
- package/dist/ui/i18n.d.ts +4 -1
- package/dist/ui/i18n.d.ts.map +1 -1
- package/dist/ui/index-tfej862z.js +3264 -0
- package/dist/ui/index-xdhg885t.js +997 -0
- package/dist/ui/index.d.ts +19 -3
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +9038 -2030
- package/dist/ui/layout-styles.d.ts +3 -0
- package/dist/ui/layout-styles.d.ts.map +1 -0
- package/dist/ui/registration-eligibility.d.ts +52 -0
- package/dist/ui/registration-eligibility.d.ts.map +1 -0
- package/dist/ui/shirt-3d-renderer-jyks1h8f.js +10 -0
- package/dist/ui/shirt-sponsors/cdn.d.ts +2 -0
- package/dist/ui/shirt-sponsors/cdn.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/cdn.js +5125 -0
- package/dist/ui/shirt-sponsors/index.d.ts +9 -0
- package/dist/ui/shirt-sponsors/index.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/index.js +10 -0
- package/dist/ui/shirt-sponsors/render/auction-model.d.ts +55 -0
- package/dist/ui/shirt-sponsors/render/auction-model.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/render/index.d.ts +7 -0
- package/dist/ui/shirt-sponsors/render/index.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/render/index.js +34 -0
- package/dist/ui/shirt-sponsors/render/shirt-3d-renderer.d.ts +109 -0
- package/dist/ui/shirt-sponsors/render/shirt-3d-renderer.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/render/shirt-artwork-projection.d.ts +13 -0
- package/dist/ui/shirt-sponsors/render/shirt-artwork-projection.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/render/shirt-artwork.d.ts +17 -0
- package/dist/ui/shirt-sponsors/render/shirt-artwork.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/render/shirt-cloth-motion.d.ts +31 -0
- package/dist/ui/shirt-sponsors/render/shirt-cloth-motion.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/render/shirt-silhouette.d.ts +9 -0
- package/dist/ui/shirt-sponsors/render/shirt-silhouette.d.ts.map +1 -0
- package/dist/ui/shirt-sponsors/shirt-auction.d.ts +137 -0
- package/dist/ui/shirt-sponsors/shirt-auction.d.ts.map +1 -0
- package/dist/ui/signature-pad.d.ts +29 -0
- package/dist/ui/signature-pad.d.ts.map +1 -0
- package/dist/ui/styles.d.ts.map +1 -1
- package/dist/ui/theme.d.ts +63 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/validators.d.ts +1 -1
- package/dist/ui/validators.d.ts.map +1 -1
- package/package.json +42 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wodira/browser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Browser SDK for WODira publishable keys and external Stripe Checkout registration sessions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"browser",
|
|
@@ -12,10 +12,13 @@
|
|
|
12
12
|
"license": "UNLICENSED",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
|
+
"CHANGELOG.md",
|
|
15
16
|
"README.md"
|
|
16
17
|
],
|
|
17
18
|
"type": "module",
|
|
18
|
-
"sideEffects":
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"./dist/ui/shirt-sponsors/cdn.js"
|
|
21
|
+
],
|
|
19
22
|
"main": "./dist/index.cjs",
|
|
20
23
|
"module": "./dist/index.js",
|
|
21
24
|
"types": "./dist/index.d.ts",
|
|
@@ -31,27 +34,53 @@
|
|
|
31
34
|
"types": "./dist/ui/index.d.ts",
|
|
32
35
|
"import": "./dist/ui/index.js",
|
|
33
36
|
"default": "./dist/ui/index.js"
|
|
34
|
-
}
|
|
37
|
+
},
|
|
38
|
+
"./ui/boxes": {
|
|
39
|
+
"types": "./dist/ui/boxes/index.d.ts",
|
|
40
|
+
"import": "./dist/ui/boxes/index.js",
|
|
41
|
+
"default": "./dist/ui/boxes/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./ui/shirt-sponsors": {
|
|
44
|
+
"types": "./dist/ui/shirt-sponsors/index.d.ts",
|
|
45
|
+
"import": "./dist/ui/shirt-sponsors/index.js",
|
|
46
|
+
"default": "./dist/ui/shirt-sponsors/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./ui/shirt-sponsors/render": {
|
|
49
|
+
"types": "./dist/ui/shirt-sponsors/render/index.d.ts",
|
|
50
|
+
"import": "./dist/ui/shirt-sponsors/render/index.js",
|
|
51
|
+
"default": "./dist/ui/shirt-sponsors/render/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./ui/shirt-sponsors/cdn": "./dist/ui/shirt-sponsors/cdn.js"
|
|
35
54
|
},
|
|
36
55
|
"publishConfig": {
|
|
37
56
|
"access": "public"
|
|
38
57
|
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "bun run clean && bun build ./src/index.ts --target=browser --format=esm --outfile=dist/index.js && bun build ./src/index.ts --target=node --format=cjs --outfile=dist/index.cjs && bun build ./src/ui/index.ts --target=browser --format=esm --outfile=dist/ui/index.js && tsc -p tsconfig.build.json",
|
|
41
|
-
"clean": "rm -rf dist",
|
|
42
|
-
"type-check": "tsc --noEmit -p tsconfig.json",
|
|
43
|
-
"test": "bun test"
|
|
44
|
-
},
|
|
45
58
|
"dependencies": {
|
|
46
|
-
"
|
|
59
|
+
"@types/three": "^0.187.0",
|
|
60
|
+
"lit": "3.3.3",
|
|
61
|
+
"three": "^0.187.0"
|
|
47
62
|
},
|
|
48
63
|
"devDependencies": {
|
|
49
|
-
"@types/bun": "1.
|
|
50
|
-
"
|
|
51
|
-
"
|
|
64
|
+
"@types/bun": "1.4.4",
|
|
65
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
66
|
+
"@wodira/common": "0.1.0",
|
|
67
|
+
"@wodira/db": "0.0.0",
|
|
68
|
+
"happy-dom": "21.0.4",
|
|
69
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2"
|
|
52
70
|
},
|
|
53
71
|
"engines": {
|
|
54
72
|
"bun": ">=1.3.1",
|
|
55
73
|
"node": ">=20"
|
|
74
|
+
},
|
|
75
|
+
"scripts": {
|
|
76
|
+
"tsc": "bun run ./node_modules/@typescript/native/bin/tsc",
|
|
77
|
+
"build": "bun run clean && bun build ./src/index.ts --target=browser --format=esm --outfile=dist/index.js && bun build ./src/index.ts --target=node --format=cjs --outfile=dist/index.cjs && bun build ./src/ui/index.ts ./src/ui/shirt-sponsors/index.ts ./src/ui/shirt-sponsors/render/index.ts --root=./src/ui --splitting --target=browser --format=esm --external three --external 'three/*' --outdir=dist/ui && bun build ./src/ui/boxes/index.ts --target=browser --format=esm --outfile=dist/ui/boxes/index.js && bun build ./src/ui/boxes/cdn.ts --target=browser --format=esm --minify --outfile=dist/ui/boxes/cdn.js && bun build ./src/ui/shirt-sponsors/cdn.ts --target=browser --format=esm --minify --outfile=dist/ui/shirt-sponsors/cdn.js && tsc -p tsconfig.build.json",
|
|
78
|
+
"clean": "rm -rf dist",
|
|
79
|
+
"type-check": "tsc --noEmit -p tsconfig.json && tsc -p tsconfig.ui.json",
|
|
80
|
+
"test": "bun test",
|
|
81
|
+
"preview:ui": "bun scripts/preview-ui.ts",
|
|
82
|
+
"test:ui:browser": "playwright test --config playwright.ui.config.ts",
|
|
83
|
+
"verify:boxes-cdn": "bun ../../scripts/verify-box-widget-cdn.mjs",
|
|
84
|
+
"sync-injected-deps": "bun ../database/scripts/sync-injected-workspace-package.mjs"
|
|
56
85
|
}
|
|
57
86
|
}
|