@khencahyo13/notifin-react 1.2.1
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 +223 -0
- package/dist/core/__tests__/notifin.test.d.ts +2 -0
- package/dist/core/__tests__/notifin.test.d.ts.map +1 -0
- package/dist/core/inject-style.d.ts +2 -0
- package/dist/core/inject-style.d.ts.map +1 -0
- package/dist/core/notifin.d.ts +3 -0
- package/dist/core/notifin.d.ts.map +1 -0
- package/dist/core/store.d.ts +30 -0
- package/dist/core/store.d.ts.map +1 -0
- package/dist/core/types.d.ts +87 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/use-notifin.d.ts +2 -0
- package/dist/core/use-notifin.d.ts.map +1 -0
- package/dist/core/utils.d.ts +3 -0
- package/dist/core/utils.d.ts.map +1 -0
- package/dist/e2e/consumer.test.d.ts +2 -0
- package/dist/e2e/consumer.test.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/notifin.cjs +6 -0
- package/dist/notifin.css +1 -0
- package/dist/notifin.js +749 -0
- package/dist/provider/icons.d.ts +16 -0
- package/dist/provider/icons.d.ts.map +1 -0
- package/dist/provider/notifin.d.ts +3 -0
- package/dist/provider/notifin.d.ts.map +1 -0
- package/package.json +85 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare function IconCheckCircle({ className }: {
|
|
2
|
+
className?: string;
|
|
3
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function IconCircleAlert({ className }: {
|
|
5
|
+
className?: string;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function IconCircleX({ className }: {
|
|
8
|
+
className?: string;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function IconInfo({ className }: {
|
|
11
|
+
className?: string;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function IconLoader({ className }: {
|
|
14
|
+
className?: string;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/provider/icons.tsx"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAepE;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAgBpE;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAgBhE;AAED,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAgB7D;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAc/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifin.d.ts","sourceRoot":"","sources":["../../src/provider/notifin.tsx"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAGR,YAAY,EAGf,MAAM,eAAe,CAAC;AA8CvB,wBAAgB,OAAO,CAAC,EACpB,WAAW,EACX,MAAiB,EACjB,cAAqB,EACrB,KAAK,GACR,EAAE,YAAY,2CA+Cd"}
|
package/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@khencahyo13/notifin-react",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "Function-first alert dialog library for React, built on Radix Alert Dialog primitives with bundled styles and optional theme overrides.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/notifin.cjs",
|
|
7
|
+
"module": "./dist/notifin.js",
|
|
8
|
+
"style": "./dist/notifin.css",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/notifin.js",
|
|
14
|
+
"require": "./dist/notifin.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./style.css": "./dist/notifin.css"
|
|
17
|
+
},
|
|
18
|
+
"sideEffects": [
|
|
19
|
+
"**/*.css"
|
|
20
|
+
],
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "vite build",
|
|
26
|
+
"dev": "vite",
|
|
27
|
+
"lint": "eslint .",
|
|
28
|
+
"prettier": "prettier --check .",
|
|
29
|
+
"prettier:fix": "prettier --write .",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"test:e2e": "vitest run src/e2e/consumer.test.ts",
|
|
32
|
+
"test:watch": "vitest",
|
|
33
|
+
"typecheck": "tsc --noEmit"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"react",
|
|
37
|
+
"alert-dialog",
|
|
38
|
+
"radix",
|
|
39
|
+
"alert",
|
|
40
|
+
"toast",
|
|
41
|
+
"notification",
|
|
42
|
+
"tailwindcss"
|
|
43
|
+
],
|
|
44
|
+
"homepage": "https://github.com/KhenCahyo13/Notifin#readme",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/KhenCahyo13/Notifin.git"
|
|
48
|
+
},
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/KhenCahyo13/Notifin/issues"
|
|
51
|
+
},
|
|
52
|
+
"author": "",
|
|
53
|
+
"license": "ISC",
|
|
54
|
+
"packageManager": "pnpm@10.28.0",
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
57
|
+
"@radix-ui/react-visually-hidden": "^1.2.4",
|
|
58
|
+
"clsx": "^2.1.1",
|
|
59
|
+
"tailwind-merge": "^3.5.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@eslint/js": "^9.39.3",
|
|
63
|
+
"@types/react": "^19.2.14",
|
|
64
|
+
"@types/react-dom": "^19.2.3",
|
|
65
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
66
|
+
"eslint": "^9.39.3",
|
|
67
|
+
"eslint-plugin-perfectionist": "^5.6.0",
|
|
68
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
69
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
70
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
71
|
+
"globals": "^17.3.0",
|
|
72
|
+
"prettier": "^3.8.1",
|
|
73
|
+
"react": "^19.2.4",
|
|
74
|
+
"react-dom": "^19.2.4",
|
|
75
|
+
"typescript": "^5.9.3",
|
|
76
|
+
"typescript-eslint": "^8.56.1",
|
|
77
|
+
"vite": "^7.3.1",
|
|
78
|
+
"vite-plugin-dts": "^4.5.4",
|
|
79
|
+
"vitest": "^4.0.18"
|
|
80
|
+
},
|
|
81
|
+
"peerDependencies": {
|
|
82
|
+
"react": ">=18",
|
|
83
|
+
"react-dom": ">=18"
|
|
84
|
+
}
|
|
85
|
+
}
|