edvisory-hrm 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.
package/README.md ADDED
@@ -0,0 +1,41 @@
1
+ This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
2
+
3
+ ## Set up ENV
4
+
5
+ Node Version: v23.3.0
6
+ Package Management : PNPM
7
+
8
+ ## Getting Started
9
+
10
+ First, run the development server:
11
+
12
+ ```bash
13
+ npm run dev
14
+ # or
15
+ yarn dev
16
+ # or
17
+ pnpm dev
18
+ # or
19
+ bun dev
20
+ ```
21
+
22
+ Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
23
+
24
+ You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
25
+
26
+ This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
27
+
28
+ ## Learn More
29
+
30
+ To learn more about Next.js, take a look at the following resources:
31
+
32
+ - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
33
+ - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
34
+
35
+ You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
36
+
37
+ ## Deploy on Vercel
38
+
39
+ The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
40
+
41
+ Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
package/dist/index.css ADDED
@@ -0,0 +1,17 @@
1
+ /* components/button/base-button.module.scss */
2
+ .base-button {
3
+ padding: 0.5rem 0.75rem;
4
+ border: 1px solid;
5
+ }
6
+
7
+ /* components/card/base-card.module.scss */
8
+ .card-wrapper {
9
+ padding: 1rem 1.5rem;
10
+ border-radius: 0.5rem;
11
+ width: fit-content;
12
+ box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
13
+ &.full-width {
14
+ width: 100%;
15
+ }
16
+ }
17
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../components/button/base-button.module.scss","../components/card/base-card.module.scss"],"sourcesContent":[".base-button {\n padding: 0.5rem 0.75rem;\n border: 1px solid ;\n}",".card-wrapper {\n padding: 1rem 1.5rem;\n border-radius: 0.5rem;\n\n width: fit-content;\n\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n \n &.full-width {\n width: 100%;\n }\n}"],"mappings":";AAAA,CAAC;AACG,WAAS,OAAO;AAChB,UAAQ,IAAI;AAChB;;;ACHA,CAAC;AACG,WAAS,KAAK;AACd,iBAAe;AAEf,SAAO;AAEP,cAAY,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,IAAI,IAAI,IAAI,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,IAAI,IAAI,IAAI;AAEtF,GAAC,CAAC;AACE,WAAO;AACX;AACJ;","names":[]}
@@ -0,0 +1,15 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface BaseButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
+ theme?: 'primary' | 'secondary';
5
+ }
6
+ declare const BaseButton: ({ children, ...rest }: BaseButtonProps) => react_jsx_runtime.JSX.Element;
7
+
8
+ interface BaseCardProps {
9
+ children?: React.ReactNode;
10
+ fullWidth?: boolean;
11
+ className?: string;
12
+ }
13
+ declare const BaseCard: ({ children, fullWidth, className }: BaseCardProps) => react_jsx_runtime.JSX.Element;
14
+
15
+ export { BaseButton, type BaseButtonProps, BaseCard, type BaseCardProps };
@@ -0,0 +1,15 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface BaseButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
+ theme?: 'primary' | 'secondary';
5
+ }
6
+ declare const BaseButton: ({ children, ...rest }: BaseButtonProps) => react_jsx_runtime.JSX.Element;
7
+
8
+ interface BaseCardProps {
9
+ children?: React.ReactNode;
10
+ fullWidth?: boolean;
11
+ className?: string;
12
+ }
13
+ declare const BaseCard: ({ children, fullWidth, className }: BaseCardProps) => react_jsx_runtime.JSX.Element;
14
+
15
+ export { BaseButton, type BaseButtonProps, BaseCard, type BaseCardProps };
package/dist/index.js ADDED
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
37
+ var __export = (target, all) => {
38
+ for (var name in all)
39
+ __defProp(target, name, { get: all[name], enumerable: true });
40
+ };
41
+ var __copyProps = (to, from, except, desc) => {
42
+ if (from && typeof from === "object" || typeof from === "function") {
43
+ for (let key of __getOwnPropNames(from))
44
+ if (!__hasOwnProp.call(to, key) && key !== except)
45
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
+ }
47
+ return to;
48
+ };
49
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
+ // If the importer is in node compatibility mode or this is not an ESM
51
+ // file that has been converted to a CommonJS file using a Babel-
52
+ // compatible transform (i.e. "__esModule" has not been set), then set
53
+ // "default" to the CommonJS "module.exports" for node compatibility.
54
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
55
+ mod
56
+ ));
57
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
+
59
+ // components/index.ts
60
+ var index_exports = {};
61
+ __export(index_exports, {
62
+ BaseButton: () => BaseButton,
63
+ BaseCard: () => BaseCard
64
+ });
65
+ module.exports = __toCommonJS(index_exports);
66
+
67
+ // components/button/base-button.tsx
68
+ var import_clsx = __toESM(require("clsx"));
69
+
70
+ // components/button/base-button.module.scss
71
+ var base_button_module_default = {};
72
+
73
+ // components/button/base-button.tsx
74
+ var import_jsx_runtime = require("react/jsx-runtime");
75
+ var BaseButton = (_a) => {
76
+ var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
77
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
78
+ "button",
79
+ __spreadProps(__spreadValues({}, rest), {
80
+ className: (0, import_clsx.default)(base_button_module_default["base-button"], rest.className),
81
+ children
82
+ })
83
+ );
84
+ };
85
+
86
+ // components/card/base-card.tsx
87
+ var import_clsx2 = __toESM(require("clsx"));
88
+
89
+ // components/card/base-card.module.scss
90
+ var base_card_module_default = {};
91
+
92
+ // components/card/base-card.tsx
93
+ var import_jsx_runtime2 = require("react/jsx-runtime");
94
+ var BaseCard = ({ children, fullWidth = false, className }) => {
95
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
96
+ "div",
97
+ {
98
+ className: (0, import_clsx2.default)(base_card_module_default["card-wrapper"], className, {
99
+ [base_card_module_default["full-width"]]: fullWidth
100
+ }),
101
+ children
102
+ }
103
+ );
104
+ };
105
+ // Annotate the CommonJS export names for ESM import in node:
106
+ 0 && (module.exports = {
107
+ BaseButton,
108
+ BaseCard
109
+ });
110
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../components/index.ts","../components/button/base-button.tsx","../components/button/base-button.module.scss","../components/card/base-card.tsx","../components/card/base-card.module.scss"],"sourcesContent":["export * from './button/base-button';\nexport * from './card/base-card';\n","'use client'\n\nimport clsx from \"clsx\";\nimport styles from './base-button.module.scss'\n\nexport interface BaseButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n theme?: 'primary' | 'secondary'\n}\n\nexport const BaseButton = ({ children, ...rest }: BaseButtonProps) => {\n return (\n <button \n {...rest}\n className={clsx(styles['base-button'], rest.className)}\n >\n {children}\n </button>\n )\n}\n\nexport default BaseButton;",".base-button {\n padding: 0.5rem 0.75rem;\n border: 1px solid ;\n}","'use client';\n\nimport clsx from \"clsx\";\nimport styles from \"./base-card.module.scss\";\n\nexport interface BaseCardProps {\n children?: React.ReactNode\n fullWidth?: boolean\n className?: string\n}\n\nexport const BaseCard = ({ children, fullWidth = false, className }: BaseCardProps) => {\n return (\n <div className={\n clsx(styles['card-wrapper'], className, {\n [styles['full-width']]: fullWidth\n })}\n >\n {children}\n </div>\n )\n}\n\nexport default BaseCard;",".card-wrapper {\n padding: 1rem 1.5rem;\n border-radius: 0.5rem;\n\n width: fit-content;\n\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n \n &.full-width {\n width: 100%;\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEA,kBAAiB;;;ACFjB;;;ADWQ;AAFD,IAAM,aAAa,CAAC,OAA2C;AAA3C,eAAE,WAT7B,IAS2B,IAAe,iBAAf,IAAe,CAAb;AACzB,SACI;AAAA,IAAC;AAAA,qCACO,OADP;AAAA,MAEG,eAAW,YAAAA,SAAK,2BAAO,aAAa,GAAG,KAAK,SAAS;AAAA,MAEpD;AAAA;AAAA,EACL;AAER;;;AEhBA,IAAAC,eAAiB;;;ACFjB;;;ADaQ,IAAAC,sBAAA;AAFD,IAAM,WAAW,CAAC,EAAE,UAAU,YAAY,OAAO,UAAU,MAAqB;AACnF,SACI;AAAA,IAAC;AAAA;AAAA,MAAI,eACD,aAAAC,SAAK,yBAAO,cAAc,GAAG,WAAW;AAAA,QACpC,CAAC,yBAAO,YAAY,CAAC,GAAG;AAAA,MAC5B,CAAC;AAAA,MAEA;AAAA;AAAA,EACL;AAER;","names":["clsx","import_clsx","import_jsx_runtime","clsx"]}
package/dist/index.mjs ADDED
@@ -0,0 +1,75 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __spreadValues = (a, b) => {
9
+ for (var prop in b || (b = {}))
10
+ if (__hasOwnProp.call(b, prop))
11
+ __defNormalProp(a, prop, b[prop]);
12
+ if (__getOwnPropSymbols)
13
+ for (var prop of __getOwnPropSymbols(b)) {
14
+ if (__propIsEnum.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ }
17
+ return a;
18
+ };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
+ var __objRest = (source, exclude) => {
21
+ var target = {};
22
+ for (var prop in source)
23
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
24
+ target[prop] = source[prop];
25
+ if (source != null && __getOwnPropSymbols)
26
+ for (var prop of __getOwnPropSymbols(source)) {
27
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
28
+ target[prop] = source[prop];
29
+ }
30
+ return target;
31
+ };
32
+
33
+ // components/button/base-button.tsx
34
+ import clsx from "clsx";
35
+
36
+ // components/button/base-button.module.scss
37
+ var base_button_module_default = {};
38
+
39
+ // components/button/base-button.tsx
40
+ import { jsx } from "react/jsx-runtime";
41
+ var BaseButton = (_a) => {
42
+ var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
43
+ return /* @__PURE__ */ jsx(
44
+ "button",
45
+ __spreadProps(__spreadValues({}, rest), {
46
+ className: clsx(base_button_module_default["base-button"], rest.className),
47
+ children
48
+ })
49
+ );
50
+ };
51
+
52
+ // components/card/base-card.tsx
53
+ import clsx2 from "clsx";
54
+
55
+ // components/card/base-card.module.scss
56
+ var base_card_module_default = {};
57
+
58
+ // components/card/base-card.tsx
59
+ import { jsx as jsx2 } from "react/jsx-runtime";
60
+ var BaseCard = ({ children, fullWidth = false, className }) => {
61
+ return /* @__PURE__ */ jsx2(
62
+ "div",
63
+ {
64
+ className: clsx2(base_card_module_default["card-wrapper"], className, {
65
+ [base_card_module_default["full-width"]]: fullWidth
66
+ }),
67
+ children
68
+ }
69
+ );
70
+ };
71
+ export {
72
+ BaseButton,
73
+ BaseCard
74
+ };
75
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../components/button/base-button.tsx","../components/button/base-button.module.scss","../components/card/base-card.tsx","../components/card/base-card.module.scss"],"sourcesContent":["'use client'\n\nimport clsx from \"clsx\";\nimport styles from './base-button.module.scss'\n\nexport interface BaseButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n theme?: 'primary' | 'secondary'\n}\n\nexport const BaseButton = ({ children, ...rest }: BaseButtonProps) => {\n return (\n <button \n {...rest}\n className={clsx(styles['base-button'], rest.className)}\n >\n {children}\n </button>\n )\n}\n\nexport default BaseButton;",".base-button {\n padding: 0.5rem 0.75rem;\n border: 1px solid ;\n}","'use client';\n\nimport clsx from \"clsx\";\nimport styles from \"./base-card.module.scss\";\n\nexport interface BaseCardProps {\n children?: React.ReactNode\n fullWidth?: boolean\n className?: string\n}\n\nexport const BaseCard = ({ children, fullWidth = false, className }: BaseCardProps) => {\n return (\n <div className={\n clsx(styles['card-wrapper'], className, {\n [styles['full-width']]: fullWidth\n })}\n >\n {children}\n </div>\n )\n}\n\nexport default BaseCard;",".card-wrapper {\n padding: 1rem 1.5rem;\n border-radius: 0.5rem;\n\n width: fit-content;\n\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n \n &.full-width {\n width: 100%;\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,UAAU;;;ACFjB;;;ADWQ;AAFD,IAAM,aAAa,CAAC,OAA2C;AAA3C,eAAE,WAT7B,IAS2B,IAAe,iBAAf,IAAe,CAAb;AACzB,SACI;AAAA,IAAC;AAAA,qCACO,OADP;AAAA,MAEG,WAAW,KAAK,2BAAO,aAAa,GAAG,KAAK,SAAS;AAAA,MAEpD;AAAA;AAAA,EACL;AAER;;;AEhBA,OAAOA,WAAU;;;ACFjB;;;ADaQ,gBAAAC,YAAA;AAFD,IAAM,WAAW,CAAC,EAAE,UAAU,YAAY,OAAO,UAAU,MAAqB;AACnF,SACI,gBAAAA;AAAA,IAAC;AAAA;AAAA,MAAI,WACDC,MAAK,yBAAO,cAAc,GAAG,WAAW;AAAA,QACpC,CAAC,yBAAO,YAAY,CAAC,GAAG;AAAA,MAC5B,CAAC;AAAA,MAEA;AAAA;AAAA,EACL;AAER;","names":["clsx","jsx","clsx"]}
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "edvisory-hrm",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "files": ["dist"],
9
+ "scripts": {
10
+ "dev": "next dev",
11
+ "build": "next build",
12
+ "start": "next start",
13
+ "lint": "eslint",
14
+ "tsup": "tsup"
15
+ },
16
+ "dependencies": {
17
+ "@heroui/modal": "^2.2.27",
18
+ "@heroui/system": "^2.4.26",
19
+ "@heroui/theme": "^2.4.26",
20
+ "add": "^2.0.6",
21
+ "axios": "^1.13.5",
22
+ "clsx": "^2.1.1",
23
+ "cookies-next": "^6.1.1",
24
+ "framer-motion": "^12.33.0",
25
+ "next": "16.1.6",
26
+ "next-intl": "^4.8.2",
27
+ "react": "19.2.3",
28
+ "react-dom": "19.2.3",
29
+ "react-hook-form": "^7.71.1",
30
+ "tsup": "^8.5.1"
31
+ },
32
+ "devDependencies": {
33
+ "@tailwindcss/postcss": "^4",
34
+ "@types/node": "^20",
35
+ "@types/react": "^19",
36
+ "@types/react-dom": "^19",
37
+ "eslint": "^9",
38
+ "eslint-config-next": "16.1.6",
39
+ "sass": "^1.97.3",
40
+ "tailwindcss": "^4",
41
+ "typescript": "^5"
42
+ },
43
+ "packageManager": "pnpm@10.29.2+sha512.bef43fa759d91fd2da4b319a5a0d13ef7a45bb985a3d7342058470f9d2051a3ba8674e629672654686ef9443ad13a82da2beb9eeb3e0221c87b8154fff9d74b8"
44
+ }