@amos.com/react-amos-js 0.1.1 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +52 -48
package/README.md CHANGED
@@ -113,6 +113,8 @@ Only the variables you provide are sent; omitted variables keep their defaults.
113
113
  | `--destructive` | Error/invalid state borders and icons | `oklch(0.577 0.245 27.325)` |
114
114
  | `--border` | General border color | `oklch(0.922 0 0)` |
115
115
  | `--input` | Input field border color | `oklch(0.922 0 0)` |
116
+ | `--input-background` | Input field background fill | `var(--background)` |
117
+ | `--input-height` | Height of text inputs and form controls | `2.25rem` |
116
118
  | `--ring` | Focus ring and outline color | `oklch(0.708 0 0)` |
117
119
  | `--radius` | Base border-radius (derived into sm/md/lg/xl) | `0.625rem` |
118
120
 
package/package.json CHANGED
@@ -1,50 +1,54 @@
1
1
  {
2
- "name": "@amos.com/react-amos-js",
3
- "version": "0.1.1",
4
- "main": "dist/index.js",
5
- "module": "dist/index.mjs",
6
- "types": "dist/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/index.d.ts",
10
- "import": "./dist/index.mjs",
11
- "require": "./dist/index.js"
12
- }
13
- },
14
- "files": [
15
- "dist",
16
- "src"
17
- ],
18
- "scripts": {
19
- "biome": "biome check --write",
20
- "dev": "vite",
21
- "prebuild": "npm run typecheck",
22
- "build": "vite build",
23
- "preview": "vite preview",
24
- "test": "vitest",
25
- "typecheck": "tsc --noEmit",
26
- "prepack": "npm run build",
27
- "changeset": "changeset",
28
- "version": "changeset version",
29
- "release": "npm run build && changeset publish"
30
- },
31
- "author": "Amos",
32
- "description": "React SDK for embedding Amos payment methods via iframes. Wraps @amos.com/amos-js.",
33
- "devDependencies": {
34
- "@changesets/cli": "2.31.0",
35
- "@biomejs/biome": "2.4.15",
36
- "@types/node": "25.9.1",
37
- "@types/react": "19.2.15",
38
- "typescript": "6.0.3",
39
- "vite": "7.3.3",
40
- "vite-plugin-dts": "4.5.4"
41
- },
42
- "dependencies": {
43
- "@amos.com/amos-js": "0.1.0",
44
- "@amos.com/node": "0.1.6",
45
- "@types/googlepay": "0.7.10"
46
- },
47
- "peerDependencies": {
48
- "react": "^17 || ^18 || ^19"
49
- }
2
+ "name": "@amos.com/react-amos-js",
3
+ "version": "0.2.0",
4
+ "main": "dist/index.js",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/amos/react-amos-js"
8
+ },
9
+ "module": "dist/index.mjs",
10
+ "types": "dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "src"
21
+ ],
22
+ "scripts": {
23
+ "biome": "biome check --write",
24
+ "dev": "vite",
25
+ "prebuild": "npm run typecheck",
26
+ "build": "vite build",
27
+ "preview": "vite preview",
28
+ "test": "vitest",
29
+ "typecheck": "tsc --noEmit",
30
+ "prepack": "npm run build",
31
+ "changeset": "changeset",
32
+ "version": "changeset version",
33
+ "release": "npm run build && changeset publish"
34
+ },
35
+ "author": "Amos",
36
+ "description": "React SDK for embedding Amos payment methods via iframes. Wraps @amos.com/amos-js.",
37
+ "devDependencies": {
38
+ "@changesets/cli": "2.31.0",
39
+ "@biomejs/biome": "2.4.15",
40
+ "@types/node": "25.9.1",
41
+ "@types/react": "19.2.15",
42
+ "typescript": "6.0.3",
43
+ "vite": "7.3.3",
44
+ "vite-plugin-dts": "4.5.4"
45
+ },
46
+ "dependencies": {
47
+ "@amos.com/amos-js": "0.2.0",
48
+ "@amos.com/node": "0.1.6",
49
+ "@types/googlepay": "0.7.10"
50
+ },
51
+ "peerDependencies": {
52
+ "react": "^17 || ^18 || ^19"
53
+ }
50
54
  }