@ramesesinc/data-components 0.1.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.
@@ -0,0 +1,2 @@
1
+ declare const Test1: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Test1;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ const Test1 = () => {
3
+ return _jsx("div", { children: "Test1" });
4
+ };
5
+ export default Test1;
@@ -0,0 +1,5 @@
1
+ const Test1 = () => {
2
+ return <div>Test1</div>;
3
+ };
4
+
5
+ export default Test1;
@@ -0,0 +1 @@
1
+ export { default as Test } from "./Test1";
@@ -0,0 +1 @@
1
+ export { default as Test } from "./Test1";
@@ -0,0 +1 @@
1
+ export { default as Test } from "./Test1";
@@ -0,0 +1 @@
1
+ export * from "./components";
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./components";
@@ -0,0 +1,47 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ * {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ body {
11
+ @apply bg-white text-gray-900;
12
+
13
+ font-family: var(--font-inter), -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
14
+ "Droid Sans", "Helvetica Neue", sans-serif;
15
+ }
16
+
17
+ input:focus,
18
+ textarea:focus,
19
+ select:focus {
20
+ @apply outline-none placeholder-gray-400 ring-2 ring-primary-400 border-transparent;
21
+ @apply transition-all duration-200;
22
+ @apply bg-yellow-50;
23
+ }
24
+
25
+ /* --- Base Styles for Headings --- */
26
+ h1 {
27
+ @apply text-4xl font-bold mb-4;
28
+ }
29
+ h2 {
30
+ @apply text-3xl font-semibold mb-3;
31
+ }
32
+ h3 {
33
+ @apply text-2xl font-semibold mb-2;
34
+ }
35
+ h4 {
36
+ @apply text-xl font-medium mb-1;
37
+ }
38
+ h5 {
39
+ @apply text-lg font-semibold mb-1;
40
+ }
41
+ h6 {
42
+ @apply text-base font-semibold mb-1;
43
+ }
44
+ }
45
+
46
+ @layer utilities {
47
+ }
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@ramesesinc/data-components",
3
+ "version": "0.1.0",
4
+ "description": "Platform Data Components",
5
+ "author": "Rameses Systems Inc.",
6
+ "license": "MIT",
7
+ "main": "src/index.ts",
8
+ "module": "src/index.ts",
9
+ "types": "src/index.ts",
10
+ "style": "dist/index.css",
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "scripts": {
15
+ "build": "rm -rf dist && tsc && postcss src/styles/index.css -o dist/styles/index.css && cp src/styles/* dist/styles/ && cp -r src/components dist/",
16
+ "build2": "rm -rf dist && tsc",
17
+ "clean": "rm -rf dist",
18
+ "dev": "tsc --watch",
19
+ "prepublishOnly": "npm run build"
20
+ },
21
+ "peerDependencies": {
22
+ "next": ">=13.5.6 <15.0.0",
23
+ "react": ">=18.2.0",
24
+ "react-dom": ">=18.2.0"
25
+ },
26
+ "devDependencies": {
27
+ "@ramesesinc/client": "1.0.14",
28
+ "@ramesesinc/lib": "1.0.12",
29
+ "@types/crypto-js": "^4.2.2",
30
+ "@types/js-cookie": "^3.0.6",
31
+ "@types/node": "^20",
32
+ "@types/pako": "^2.0.3",
33
+ "@types/react": "^18",
34
+ "@types/react-dom": "^18",
35
+ "autoprefixer": "^10.4.21",
36
+ "clsx": "^2.1.1",
37
+ "eslint": "^8",
38
+ "eslint-config-next": "14.2.9",
39
+ "postcss": "^8",
40
+ "@ramesesinc/loader": "*",
41
+ "supports-color": "^10.2.2",
42
+ "tailwindcss": "^3.4.1",
43
+ "typescript": "^5"
44
+ },
45
+ "keywords": [
46
+ "ramesesinc-data-components"
47
+ ],
48
+ "dependencies": {
49
+ "seti-ramesesv1": "^1.0.154"
50
+ }
51
+ }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./components";