@biznext-ui/react 0.0.1 → 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/package.json +19 -14
- package/dist/favicon.ico +0 -0
- package/dist/index.es.d.ts +0 -12
- package/dist/index.es.js +0 -20
- package/dist/index.umd.js +0 -1
- package/dist/style.css +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biznext-ui/react",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Biznext Team",
|
|
6
6
|
"description": "Responsive and accessible React UI components!",
|
|
@@ -33,21 +33,26 @@
|
|
|
33
33
|
"build-docs": "storybook build"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
+
"classnames": "^2.5.1",
|
|
37
|
+
"framer-motion": "^11.3.8",
|
|
36
38
|
"react": "^18.3.1",
|
|
37
|
-
"react-dom": "^18.3.1"
|
|
39
|
+
"react-dom": "^18.3.1",
|
|
40
|
+
"react-draggable": "^4.4.6",
|
|
41
|
+
"react-icons": "^5.2.1",
|
|
42
|
+
"react-select": "^5.8.0",
|
|
43
|
+
"uuid": "^10.0.0"
|
|
38
44
|
},
|
|
39
45
|
"devDependencies": {
|
|
40
|
-
"@chromatic-com/storybook": "^1.
|
|
41
|
-
"@storybook/addon-essentials": "^8.2.
|
|
42
|
-
"@storybook/addon-interactions": "^8.2.
|
|
43
|
-
"@storybook/addon-links": "^8.2.
|
|
44
|
-
"@storybook/
|
|
45
|
-
"@storybook/
|
|
46
|
-
"@storybook/
|
|
47
|
-
"@storybook/react": "^8.2.
|
|
48
|
-
"@storybook/
|
|
49
|
-
"@storybook/
|
|
50
|
-
"@storybook/theming": "^8.2.4",
|
|
46
|
+
"@chromatic-com/storybook": "^1.8.0",
|
|
47
|
+
"@storybook/addon-essentials": "^8.2.9",
|
|
48
|
+
"@storybook/addon-interactions": "^8.2.9",
|
|
49
|
+
"@storybook/addon-links": "^8.2.9",
|
|
50
|
+
"@storybook/blocks": "^8.2.9",
|
|
51
|
+
"@storybook/manager-api": "^8.2.9",
|
|
52
|
+
"@storybook/react": "^8.2.9",
|
|
53
|
+
"@storybook/react-vite": "^8.2.9",
|
|
54
|
+
"@storybook/test": "^8.2.9",
|
|
55
|
+
"@storybook/theming": "^8.2.9",
|
|
51
56
|
"@types/node": "^20.14.11",
|
|
52
57
|
"@types/react": "^18.3.3",
|
|
53
58
|
"@types/react-dom": "^18.3.0",
|
|
@@ -58,7 +63,7 @@
|
|
|
58
63
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
59
64
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
60
65
|
"eslint-plugin-storybook": "^0.8.0",
|
|
61
|
-
"storybook": "^8.2.
|
|
66
|
+
"storybook": "^8.2.9",
|
|
62
67
|
"typescript": "^5.2.2",
|
|
63
68
|
"vite": "^5.3.4",
|
|
64
69
|
"vite-plugin-dts": "^4.0.0-beta.0",
|
package/dist/favicon.ico
DELETED
|
Binary file
|
package/dist/index.es.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
export declare const Modal: (props: ModalProps) => JSX_2.Element;
|
|
5
|
-
|
|
6
|
-
declare interface ModalProps {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
headerTitle: string;
|
|
9
|
-
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { }
|
package/dist/index.es.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, Fragment as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const c = "_modalOverlay_1rrsj_7", t = "_modal_1rrsj_7", l = {
|
|
3
|
-
modalOverlay: c,
|
|
4
|
-
modal: t
|
|
5
|
-
}, i = () => /* @__PURE__ */ a("div", { className: l.modalOverlay }), m = (o) => {
|
|
6
|
-
const { children: d, headerTitle: r, size: n } = o;
|
|
7
|
-
return console.log(d, r, n, "@biznext-ui/react"), /* @__PURE__ */ e(s, { children: [
|
|
8
|
-
/* @__PURE__ */ a(i, {}),
|
|
9
|
-
/* @__PURE__ */ e("div", { className: l.modal, children: [
|
|
10
|
-
/* @__PURE__ */ a("h2", { children: r }),
|
|
11
|
-
/* @__PURE__ */ e("span", { children: [
|
|
12
|
-
"This modal is created using component from @biznext-ui/react ui library npm package created by ",
|
|
13
|
-
/* @__PURE__ */ a("strong", { children: "Rachit Yadav" })
|
|
14
|
-
] })
|
|
15
|
-
] })
|
|
16
|
-
] });
|
|
17
|
-
}, v = m;
|
|
18
|
-
export {
|
|
19
|
-
v as Modal
|
|
20
|
-
};
|
package/dist/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(a,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime"],e):(a=typeof globalThis<"u"?globalThis:a||self,e(a["biznext-ui-react"]={},a["react/jsx-runtime"]))})(this,function(a,e){"use strict";const r={modalOverlay:"_modalOverlay_1rrsj_7",modal:"_modal_1rrsj_7"},d=()=>e.jsx("div",{className:r.modalOverlay}),l=n=>{const{children:t,headerTitle:o,size:s}=n;return console.log(t,o,s,"@biznext-ui/react"),e.jsxs(e.Fragment,{children:[e.jsx(d,{}),e.jsxs("div",{className:r.modal,children:[e.jsx("h2",{children:o}),e.jsxs("span",{children:["This modal is created using component from @biznext-ui/react ui library npm package created by ",e.jsx("strong",{children:"Rachit Yadav"})]})]})]})};a.Modal=l,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";*{font-family:Poppins,sans-serif}._modalOverlay_1rrsj_7{z-index:999;background-color:#091e427a;width:100%;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}._modal_1rrsj_7{z-index:9999;background:#fff;position:fixed;display:grid;grid-template-rows:max-content auto;box-shadow:0 12px 32px #001b471f;border-radius:8px;overflow:auto;margin:auto;width:500px;height:250px;top:0;left:0;right:0;bottom:0;padding:30px}
|