soumya-ui-kit 1.0.9 → 1.0.12
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/Showcase.d.ts +3 -0
- package/dist/Showcase.d.ts.map +1 -0
- package/dist/components/Button/CustomButton.d.ts +3 -10
- package/dist/components/Button/CustomButton.d.ts.map +1 -0
- package/dist/components/Button/CustomButton.types.d.ts +5 -3
- package/dist/components/Button/CustomButton.types.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Card/CustomCard.d.ts +1 -0
- package/dist/components/Card/CustomCard.d.ts.map +1 -0
- package/dist/components/Card/CustomCard.types.d.ts +1 -0
- package/dist/components/Card/CustomCard.types.d.ts.map +1 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Input/CustomInput.d.ts +1 -0
- package/dist/components/Input/CustomInput.d.ts.map +1 -0
- package/dist/components/Input/CustomInput.types.d.ts +1 -0
- package/dist/components/Input/CustomInput.types.d.ts.map +1 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Modal/CustomModal.d.ts +1 -0
- package/dist/components/Modal/CustomModal.d.ts.map +1 -0
- package/dist/components/Modal/CustomModal.types.d.ts +1 -0
- package/dist/components/Modal/CustomModal.types.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Select/CustomSelect.d.ts +1 -0
- package/dist/components/Select/CustomSelect.d.ts.map +1 -0
- package/dist/components/Select/CustomSelect.types.d.ts +1 -0
- package/dist/components/Select/CustomSelect.types.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +17 -10
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Showcase.d.ts","sourceRoot":"","sources":["../src/Showcase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AASxC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EA0I5B,CAAC"}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import "./CustomButtonStyle.css";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
startIcon?: React.ReactNode;
|
|
7
|
-
endIcon?: React.ReactNode;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const CustomButton: ({ label, variant, startIcon, endIcon, disabled, onClick, }: CustomButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
import { CustomButtonProps } from "./CustomButton.types";
|
|
3
|
+
export declare const CustomButton: ({ label, variant, color, size, startIcon, endIcon, disabled, fullWidth, onClick, className, }: CustomButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=CustomButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/CustomButton.tsx"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,eAAO,MAAM,YAAY,GAAI,+FAW1B,iBAAiB,4CAgBnB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface CustomButtonProps {
|
|
2
3
|
label: string;
|
|
3
|
-
variant?:
|
|
4
|
-
color?:
|
|
5
|
-
size?:
|
|
4
|
+
variant?: "text" | "outlined" | "contained";
|
|
5
|
+
color?: "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
6
|
+
size?: "small" | "medium" | "large";
|
|
6
7
|
startIcon?: React.ReactNode;
|
|
7
8
|
endIcon?: React.ReactNode;
|
|
8
9
|
disabled?: boolean;
|
|
@@ -10,3 +11,4 @@ export interface CustomButtonProps {
|
|
|
10
11
|
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
12
|
className?: string;
|
|
12
13
|
}
|
|
14
|
+
//# sourceMappingURL=CustomButton.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomButton.types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/CustomButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,WAAW,CAAC;IAC5C,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IAC3E,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomCard.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CustomCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsChD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomCard.types.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CustomCard.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomInput.d.ts","sourceRoot":"","sources":["../../../src/components/Input/CustomInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqClD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomInput.types.d.ts","sourceRoot":"","sources":["../../../src/components/Input/CustomInput.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,IAAI,CAAC;IACtF,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,IAAI,CAAC;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomModal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/CustomModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4ClD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomModal.types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/CustomModal.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomSelect.d.ts","sourceRoot":"","sources":["../../../src/components/Select/CustomSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqCpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomSelect.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/CustomSelect.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -6528,20 +6528,27 @@ process.env.NODE_ENV !== "production" && (ns.propTypes = {
|
|
|
6528
6528
|
});
|
|
6529
6529
|
const ef = ({
|
|
6530
6530
|
label: e,
|
|
6531
|
-
variant: t,
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6531
|
+
variant: t = "contained",
|
|
6532
|
+
color: o = "primary",
|
|
6533
|
+
size: r = "medium",
|
|
6534
|
+
startIcon: i,
|
|
6535
|
+
endIcon: s,
|
|
6536
|
+
disabled: a = !1,
|
|
6537
|
+
fullWidth: l = !1,
|
|
6538
|
+
onClick: c,
|
|
6539
|
+
className: d = ""
|
|
6536
6540
|
}) => /* @__PURE__ */ $.jsx(
|
|
6537
6541
|
ns,
|
|
6538
6542
|
{
|
|
6539
6543
|
variant: t,
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6544
|
+
color: o,
|
|
6545
|
+
size: r,
|
|
6546
|
+
startIcon: i,
|
|
6547
|
+
endIcon: s,
|
|
6548
|
+
disabled: a,
|
|
6549
|
+
fullWidth: l,
|
|
6550
|
+
onClick: c,
|
|
6551
|
+
className: `button-primary ${d}`,
|
|
6545
6552
|
children: e
|
|
6546
6553
|
}
|
|
6547
6554
|
);
|
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":""}
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.button-primary.MuiButton-root{border:none;border-radius:60px!important;font-family:Arial,sans-serif;font-size:14px;font-weight:500;text-transform:capitalize;padding:5px 45px;box-shadow:none;transition:all .3s ease}.button-primary.MuiButton-root:hover{box-shadow:none}.button-primary.MuiButton-root.MuiButton-contained{background
|
|
1
|
+
.button-primary.MuiButton-root{border:none;border-radius:60px!important;font-family:Arial,sans-serif;font-size:14px;font-weight:500;text-transform:capitalize;padding:5px 45px;box-shadow:none;transition:all .3s ease}.button-primary.MuiButton-root:hover{box-shadow:none}.button-primary.MuiButton-root.MuiButton-contained{background:red!important;border:1px solid #140182;color:#fff}.button-primary.MuiButton-root.MuiButton-contained:hover{background:#fff;color:#140182}.button-primary.MuiButton-root.MuiButton-outlined{background:#1401821a!important;border:1px solid rgba(20,1,130,.1);color:#140182}.button-primary.MuiButton-root.MuiButton-outlined:hover{background:#140182;color:#fff}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soumya-ui-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "A powerful, extensible, and modern component library built for React",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
|
+
"dev": "vite",
|
|
19
20
|
"build": "vite build && tsc --emitDeclarationOnly"
|
|
20
21
|
},
|
|
21
22
|
"keywords": [
|