@strabl-engineering/strabl-pay 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/README.md +339 -0
- package/dist/components/strabl-card-form.element.d.ts +89 -0
- package/dist/components/strabl-input.element.d.ts +29 -0
- package/dist/constants/constants.d.ts +12 -0
- package/dist/font-assets.d.ts +7 -0
- package/dist/fonts.d.ts +16 -0
- package/dist/i18n.d.ts +1 -0
- package/dist/icons.d.ts +16 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +33 -0
- package/dist/index.umd.cjs +1 -0
- package/dist/lib/ApplePayIntegration.d.ts +23 -0
- package/dist/lib/EncryptCardData.d.ts +8 -0
- package/dist/lib/GetCardType.d.ts +26 -0
- package/dist/lib/GetTranslations.d.ts +50 -0
- package/dist/lib/ThreeDsAuth.d.ts +9 -0
- package/dist/lib/UserMetaData.d.ts +19 -0
- package/dist/lib/Validations.d.ts +1 -0
- package/dist/mount.d.ts +15 -0
- package/dist/network/HttpClient.d.ts +19 -0
- package/dist/network/PaymentService.d.ts +75 -0
- package/dist/network/ReportSdkUsage.d.ts +8 -0
- package/dist/react.d.ts +35 -0
- package/dist/react.js +26 -0
- package/dist/react.umd.cjs +1 -0
- package/dist/strabl-input.element-CbrtvlUF.cjs +1390 -0
- package/dist/strabl-input.element-DeXtiSuj.js +8173 -0
- package/dist/styles.d.ts +9 -0
- package/package.json +77 -0
package/dist/styles.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Component styles, ported from the original cardform.css.
|
|
3
|
+
*
|
|
4
|
+
* Fonts: The component expects the gtAmerica family to be available in the
|
|
5
|
+
* host page (declared via `injectGlobalFonts` in `src/fonts.ts`). When the
|
|
6
|
+
* fonts are not installed, the system sans-serif stack is used as a
|
|
7
|
+
* fallback so the form still renders cleanly inside the Shadow DOM.
|
|
8
|
+
*/
|
|
9
|
+
export declare const cardFormStyles: import("lit").CSSResult;
|
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@strabl-engineering/strabl-pay",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "STRABL Pay SDK brings secure, PCI-DSS compliant card payments directly into any website",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.umd.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"unpkg": "./dist/index.umd.cjs",
|
|
10
|
+
"jsdelivr": "./dist/index.umd.cjs",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"require": "./dist/index.umd.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./react": {
|
|
18
|
+
"types": "./dist/react.d.ts",
|
|
19
|
+
"import": "./dist/react.js",
|
|
20
|
+
"require": "./dist/react.umd.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./styles.css": "./dist/styles.css",
|
|
23
|
+
"./package.json": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md"
|
|
28
|
+
],
|
|
29
|
+
"sideEffects": [
|
|
30
|
+
"./dist/index.js",
|
|
31
|
+
"./dist/index.umd.cjs",
|
|
32
|
+
"./dist/react.js",
|
|
33
|
+
"./dist/react.umd.cjs"
|
|
34
|
+
],
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"dev": "storybook dev -p 6006",
|
|
40
|
+
"build": "vite build && tsc -p tsconfig.build.json",
|
|
41
|
+
"build:storybook": "storybook build -o storybook-static --disable-telemetry",
|
|
42
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
43
|
+
"format": "prettier --write ."
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"strabl",
|
|
47
|
+
"strabl-pay",
|
|
48
|
+
"strabl sdk",
|
|
49
|
+
"strabl payment sdk"
|
|
50
|
+
],
|
|
51
|
+
"author": "Strabl",
|
|
52
|
+
"license": "ISC",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"jsencrypt": "^3.5.4",
|
|
55
|
+
"lit": "^3.3.1",
|
|
56
|
+
"posthog-js": "^1.372.8"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"react": ">=18"
|
|
60
|
+
},
|
|
61
|
+
"peerDependenciesMeta": {
|
|
62
|
+
"react": {
|
|
63
|
+
"optional": true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@storybook/addon-docs": "^9.1.13",
|
|
68
|
+
"@storybook/web-components-vite": "^9.1.13",
|
|
69
|
+
"@types/node": "^25.6.0",
|
|
70
|
+
"@types/react": "^19.2.14",
|
|
71
|
+
"prettier": "^3.8.3",
|
|
72
|
+
"react": "^19.2.5",
|
|
73
|
+
"storybook": "^9.1.13",
|
|
74
|
+
"typescript": "~5.9.2",
|
|
75
|
+
"vite": "^7.3.2"
|
|
76
|
+
}
|
|
77
|
+
}
|