soumya-ui-kit 1.0.9 → 1.0.10

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.
Files changed (40) hide show
  1. package/dist/Showcase.d.ts +3 -0
  2. package/dist/Showcase.d.ts.map +1 -0
  3. package/dist/components/Button/CustomButton.d.ts +3 -10
  4. package/dist/components/Button/CustomButton.d.ts.map +1 -0
  5. package/dist/components/Button/CustomButton.types.d.ts +5 -3
  6. package/dist/components/Button/CustomButton.types.d.ts.map +1 -0
  7. package/dist/components/Button/index.d.ts +1 -0
  8. package/dist/components/Button/index.d.ts.map +1 -0
  9. package/dist/components/Card/CustomCard.d.ts +1 -0
  10. package/dist/components/Card/CustomCard.d.ts.map +1 -0
  11. package/dist/components/Card/CustomCard.types.d.ts +1 -0
  12. package/dist/components/Card/CustomCard.types.d.ts.map +1 -0
  13. package/dist/components/Card/index.d.ts +1 -0
  14. package/dist/components/Card/index.d.ts.map +1 -0
  15. package/dist/components/Input/CustomInput.d.ts +1 -0
  16. package/dist/components/Input/CustomInput.d.ts.map +1 -0
  17. package/dist/components/Input/CustomInput.types.d.ts +1 -0
  18. package/dist/components/Input/CustomInput.types.d.ts.map +1 -0
  19. package/dist/components/Input/index.d.ts +1 -0
  20. package/dist/components/Input/index.d.ts.map +1 -0
  21. package/dist/components/Modal/CustomModal.d.ts +1 -0
  22. package/dist/components/Modal/CustomModal.d.ts.map +1 -0
  23. package/dist/components/Modal/CustomModal.types.d.ts +1 -0
  24. package/dist/components/Modal/CustomModal.types.d.ts.map +1 -0
  25. package/dist/components/Modal/index.d.ts +1 -0
  26. package/dist/components/Modal/index.d.ts.map +1 -0
  27. package/dist/components/Select/CustomSelect.d.ts +1 -0
  28. package/dist/components/Select/CustomSelect.d.ts.map +1 -0
  29. package/dist/components/Select/CustomSelect.types.d.ts +1 -0
  30. package/dist/components/Select/CustomSelect.types.d.ts.map +1 -0
  31. package/dist/components/Select/index.d.ts +1 -0
  32. package/dist/components/Select/index.d.ts.map +1 -0
  33. package/dist/components/index.d.ts +3 -0
  34. package/dist/components/index.d.ts.map +1 -0
  35. package/dist/index.d.ts +1 -0
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/index.mjs +17 -10
  38. package/dist/main.d.ts +2 -0
  39. package/dist/main.d.ts.map +1 -0
  40. package/package.json +2 -1
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const Showcase: React.FC;
3
+ //# sourceMappingURL=Showcase.d.ts.map
@@ -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
- export interface CustomButtonProps {
4
- label: string;
5
- variant: "contained" | "outlined" | "text";
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?: 'text' | 'outlined' | 'contained';
4
- color?: 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
5
- size?: 'small' | 'medium' | 'large';
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"}
@@ -1,2 +1,3 @@
1
1
  export { CustomButton } from './CustomButton';
2
2
  export type { CustomButtonProps } from './CustomButton.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { CustomCardProps } from './CustomCard.types';
3
3
  export declare const CustomCard: React.FC<CustomCardProps>;
4
+ //# sourceMappingURL=CustomCard.d.ts.map
@@ -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"}
@@ -7,3 +7,4 @@ export interface CustomCardProps {
7
7
  elevation?: number;
8
8
  className?: string;
9
9
  }
10
+ //# sourceMappingURL=CustomCard.types.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  export { CustomCard } from './CustomCard';
2
2
  export type { CustomCardProps } from './CustomCard.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { CustomInputProps } from './CustomInput.types';
3
3
  export declare const CustomInput: React.FC<CustomInputProps>;
4
+ //# sourceMappingURL=CustomInput.d.ts.map
@@ -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"}
@@ -15,3 +15,4 @@ export interface CustomInputProps {
15
15
  onBlur?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
16
16
  className?: string;
17
17
  }
18
+ //# sourceMappingURL=CustomInput.types.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  export { CustomInput } from './CustomInput';
2
2
  export type { CustomInputProps } from './CustomInput.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { CustomModalProps } from './CustomModal.types';
3
3
  export declare const CustomModal: React.FC<CustomModalProps>;
4
+ //# sourceMappingURL=CustomModal.d.ts.map
@@ -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"}
@@ -7,3 +7,4 @@ export interface CustomModalProps {
7
7
  fullWidth?: boolean;
8
8
  actions?: React.ReactNode;
9
9
  }
10
+ //# sourceMappingURL=CustomModal.types.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  export { CustomModal } from './CustomModal';
2
2
  export type { CustomModalProps } from './CustomModal.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { CustomSelectProps } from './CustomSelect.types';
3
3
  export declare const CustomSelect: React.FC<CustomSelectProps>;
4
+ //# sourceMappingURL=CustomSelect.d.ts.map
@@ -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"}
@@ -15,3 +15,4 @@ export interface CustomSelectProps {
15
15
  helperText?: string;
16
16
  className?: string;
17
17
  }
18
+ //# sourceMappingURL=CustomSelect.types.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  export { CustomSelect } from './CustomSelect';
2
2
  export type { CustomSelectProps, SelectOption } from './CustomSelect.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -3,3 +3,6 @@ export * from './Input';
3
3
  export * from './Modal';
4
4
  export * from './Card';
5
5
  export * from './Select';
6
+ export { CustomButton } from "./Button/CustomButton";
7
+ export type { CustomButtonProps } from "./Button/CustomButton.types";
8
+ //# sourceMappingURL=index.d.ts.map
@@ -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
@@ -1 +1,2 @@
1
1
  export * from './components';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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
- startIcon: o,
6533
- endIcon: r,
6534
- disabled: i = !1,
6535
- onClick: s
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
- startIcon: o,
6541
- endIcon: r,
6542
- disabled: i,
6543
- onClick: s,
6544
- className: "button-primary",
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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soumya-ui-kit",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
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": [