@nibssplc/cams-sdk-react 1.0.0-rc.59 → 1.0.0-rc.60
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/components/ui/button.d.ts +8 -8
- package/dist/components/ui/card.d.ts +7 -7
- package/dist/index.cjs.js +130 -521
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +131 -522
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/styles.d.ts +42 -0
- package/package.json +3 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
readonly button: {
|
|
3
|
+
readonly base: {
|
|
4
|
+
readonly display: "inline-flex";
|
|
5
|
+
readonly alignItems: "center";
|
|
6
|
+
readonly justifyContent: "center";
|
|
7
|
+
readonly gap: "0.5rem";
|
|
8
|
+
readonly whiteSpace: "nowrap";
|
|
9
|
+
readonly borderRadius: "0.375rem";
|
|
10
|
+
readonly fontSize: "0.875rem";
|
|
11
|
+
readonly fontWeight: "500";
|
|
12
|
+
readonly transition: "all 0.2s";
|
|
13
|
+
readonly outline: "none";
|
|
14
|
+
readonly cursor: "pointer";
|
|
15
|
+
readonly border: "none";
|
|
16
|
+
};
|
|
17
|
+
readonly variants: {
|
|
18
|
+
readonly default: {
|
|
19
|
+
readonly backgroundColor: "#3b82f6";
|
|
20
|
+
readonly color: "white";
|
|
21
|
+
readonly padding: "0.5rem 1rem";
|
|
22
|
+
readonly height: "2.25rem";
|
|
23
|
+
};
|
|
24
|
+
readonly outline: {
|
|
25
|
+
readonly backgroundColor: "transparent";
|
|
26
|
+
readonly border: "1px solid #d1d5db";
|
|
27
|
+
readonly color: "#374151";
|
|
28
|
+
readonly padding: "0.5rem 1rem";
|
|
29
|
+
readonly height: "2.25rem";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly card: {
|
|
34
|
+
readonly base: {
|
|
35
|
+
readonly backgroundColor: "white";
|
|
36
|
+
readonly border: "1px solid #e5e7eb";
|
|
37
|
+
readonly borderRadius: "0.75rem";
|
|
38
|
+
readonly padding: "1.5rem";
|
|
39
|
+
readonly boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1)";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nibssplc/cams-sdk-react",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.60",
|
|
4
4
|
"description": "React hooks and components for NIBSS CAMS SDK",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"ldrs": "^1.1.7",
|
|
44
44
|
"lucide-react": "^0.544.0",
|
|
45
45
|
"motion": "^12.23.22",
|
|
46
|
-
"react-hook-form": "^7.63.0",
|
|
47
46
|
"sonner": "^2.0.7",
|
|
48
47
|
"tailwind-merge": "^3.3.1",
|
|
49
48
|
"tslib": "^2.6.0",
|
|
@@ -55,7 +54,8 @@
|
|
|
55
54
|
},
|
|
56
55
|
"peerDependencies": {
|
|
57
56
|
"react": ">=16.8.0",
|
|
58
|
-
"react-dom": ">=16.8.0"
|
|
57
|
+
"react-dom": ">=16.8.0",
|
|
58
|
+
"react-hook-form": "^7.0.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@rollup/plugin-commonjs": "^25.0.7",
|