@suportepos/split-checkout 0.1.0 → 0.1.2

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.
@@ -0,0 +1,6 @@
1
+ export { default as CheckoutFlow } from "./lib/CheckoutFlow";
2
+ export { default as OrderSummary } from "./lib/OrderSummary";
3
+ export { default as SplitCardForm } from "./lib/SplitCardForm";
4
+ export { default as SplitPixForm } from "./lib/SplitPixForm";
5
+ export * from "./lib/theme";
6
+ export * from "./lib/validators";
package/package.json CHANGED
@@ -1,32 +1,40 @@
1
1
  {
2
2
  "name": "@suportepos/split-checkout",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.es.js",
7
7
  "types": "dist/types/index.d.ts",
8
- "files": ["dist"],
8
+ "files": ["dist", "dist/split-checkout.standalone.js"],
9
9
  "scripts": {
10
10
  "dev": "vite",
11
- "build": "vite build && npm run build:types",
11
+ "build": "vite build && tsc --project tsconfig.build.json",
12
12
  "preview": "vite preview",
13
13
  "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
14
- "prepublishOnly": "npm run build"
14
+ "build:standalone": "vite build && vite build --config vite.config.standalone.ts && npm run build:types",
15
+ "prepublishOnly": "npm run build && npm run build:standalone"
15
16
  },
16
- "dependencies": {
17
- "react": "^18.3.1",
18
- "react-dom": "^18.3.1",
19
- "@mui/material": "^5.18.0",
20
- "@mui/icons-material": "^7.3.1",
21
- "@emotion/react": "^11.14.0",
22
- "@emotion/styled": "^11.14.1"
17
+ "peerDependencies": {
18
+ "react": ">=18.0.0 <20.0.0",
19
+ "react-dom": ">=18.0.0 <20.0.0",
20
+ "@mui/material": ">=5.0.0",
21
+ "@mui/icons-material": ">=5.0.0",
22
+ "@emotion/react": ">=11.0.0",
23
+ "@emotion/styled": ">=11.0.0"
23
24
  },
24
25
  "devDependencies": {
25
- "typescript": "^5.5.4",
26
- "vite": "^5.4.2",
26
+ "react": "18.3.1",
27
+ "react-dom": "18.3.1",
28
+ "@mui/material": "7.3.1",
29
+ "@mui/icons-material": "7.3.1",
30
+ "@emotion/react": "11.14.0",
31
+ "@emotion/styled": "11.14.1",
32
+ "@types/react": "18.3.11",
33
+ "@types/react-dom": "18.3.0",
27
34
  "@vitejs/plugin-react": "^4.2.0",
28
- "@types/react": "^18.2.66",
29
- "@types/react-dom": "^18.2.22"
35
+ "typescript": "^5.5.4",
36
+ "vite": "^7.1.3",
37
+ "vite-plugin-dts": "^4.5.4"
30
38
  },
31
39
  "publishConfig": {
32
40
  "access": "public"