@campxdev/react-blueprint 2.0.6 → 2.0.7

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 (52) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/src/assets/images/svg/ComingSoon.d.ts +1 -0
  4. package/dist/cjs/types/src/assets/images/svg/Empty.d.ts +1 -0
  5. package/dist/cjs/types/src/assets/images/svg/Error.d.ts +1 -0
  6. package/dist/cjs/types/src/assets/images/svg/NoConnection.d.ts +1 -0
  7. package/dist/cjs/types/src/assets/images/svg/ServerError.d.ts +1 -0
  8. package/dist/cjs/types/src/assets/images/svg/Unauthorized.d.ts +1 -0
  9. package/dist/cjs/types/src/assets/images/svg/index.d.ts +6 -5
  10. package/dist/cjs/types/src/components/Assets/ErrorPages/ComingSoon.d.ts +7 -0
  11. package/dist/cjs/types/src/components/Assets/Icons/IconComponents/ESSIcon.d.ts +4 -0
  12. package/dist/cjs/types/src/components/Assets/Icons/IconComponents/ExpensesIcon.d.ts +4 -0
  13. package/dist/cjs/types/src/components/Assets/Icons/IconComponents/SalaryIcon.d.ts +4 -0
  14. package/dist/cjs/types/src/components/Assets/Icons/Icons.d.ts +3 -0
  15. package/dist/cjs/types/src/components/Assets/export.d.ts +1 -0
  16. package/dist/cjs/types/src/components/Charts/PieChart/PieChart.d.ts +2 -0
  17. package/dist/cjs/types/src/components/Input/OtpInput/OtpInput.d.ts +1 -2
  18. package/dist/cjs/types/src/components/Input/Select/Select.d.ts +1 -1
  19. package/dist/cjs/types/src/components/Input/SingleSelect/SingleSelect.d.ts +2 -0
  20. package/dist/cjs/types/src/stories/Input/OtpInput.stories.d.ts +1 -1
  21. package/dist/esm/index.js +1 -1
  22. package/dist/esm/index.js.map +1 -1
  23. package/dist/esm/types/src/assets/images/svg/ComingSoon.d.ts +1 -0
  24. package/dist/esm/types/src/assets/images/svg/Empty.d.ts +1 -0
  25. package/dist/esm/types/src/assets/images/svg/Error.d.ts +1 -0
  26. package/dist/esm/types/src/assets/images/svg/NoConnection.d.ts +1 -0
  27. package/dist/esm/types/src/assets/images/svg/ServerError.d.ts +1 -0
  28. package/dist/esm/types/src/assets/images/svg/Unauthorized.d.ts +1 -0
  29. package/dist/esm/types/src/assets/images/svg/index.d.ts +6 -5
  30. package/dist/esm/types/src/components/Assets/ErrorPages/ComingSoon.d.ts +7 -0
  31. package/dist/esm/types/src/components/Assets/Icons/IconComponents/ESSIcon.d.ts +4 -0
  32. package/dist/esm/types/src/components/Assets/Icons/IconComponents/ExpensesIcon.d.ts +4 -0
  33. package/dist/esm/types/src/components/Assets/Icons/IconComponents/SalaryIcon.d.ts +4 -0
  34. package/dist/esm/types/src/components/Assets/Icons/Icons.d.ts +3 -0
  35. package/dist/esm/types/src/components/Assets/export.d.ts +1 -0
  36. package/dist/esm/types/src/components/Charts/PieChart/PieChart.d.ts +2 -0
  37. package/dist/esm/types/src/components/Input/OtpInput/OtpInput.d.ts +1 -2
  38. package/dist/esm/types/src/components/Input/Select/Select.d.ts +1 -1
  39. package/dist/esm/types/src/components/Input/SingleSelect/SingleSelect.d.ts +2 -0
  40. package/dist/esm/types/src/stories/Input/OtpInput.stories.d.ts +1 -1
  41. package/dist/index.d.ts +21 -7
  42. package/package.json +1 -1
  43. package/dist/cjs/assets/empty.svg +0 -9
  44. package/dist/cjs/assets/error-image.svg +0 -9
  45. package/dist/cjs/assets/no-connection.svg +0 -9
  46. package/dist/cjs/assets/server-error.svg +0 -9
  47. package/dist/cjs/assets/unauthorized.svg +0 -9
  48. package/dist/esm/assets/empty.svg +0 -9
  49. package/dist/esm/assets/error-image.svg +0 -9
  50. package/dist/esm/assets/no-connection.svg +0 -9
  51. package/dist/esm/assets/server-error.svg +0 -9
  52. package/dist/esm/assets/unauthorized.svg +0 -9
@@ -0,0 +1 @@
1
+ export declare const ComingSoon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const Empty: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const Error: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const NoConnection: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ServerError: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const Unauthorized: () => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,9 @@
1
1
  export declare const Svgs: {
2
2
  assignmentImage: string;
3
- emptyImage: string;
4
- errorImage: string;
5
- noConnectionImage: string;
6
- serverErrorImage: string;
7
- unauthorizedImage: string;
3
+ Error: () => import("react/jsx-runtime").JSX.Element;
4
+ NoConnection: () => import("react/jsx-runtime").JSX.Element;
5
+ ServerError: () => import("react/jsx-runtime").JSX.Element;
6
+ Unauthorized: () => import("react/jsx-runtime").JSX.Element;
7
+ ComingSoon: () => import("react/jsx-runtime").JSX.Element;
8
+ Empty: () => import("react/jsx-runtime").JSX.Element;
8
9
  };
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ interface NoItemFoundProps {
3
+ title?: string;
4
+ description: ReactNode;
5
+ }
6
+ export declare const ComingSoon: ({ title, description, }: NoItemFoundProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const ESSIcon: ({ color, size, }: {
2
+ color?: string;
3
+ size?: number;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const ExpensesIcon: ({ color, size, }: {
2
+ color?: string;
3
+ size?: number;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const SalaryIcon: ({ color, size, }: {
2
+ color?: string;
3
+ size?: number;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -171,5 +171,8 @@ export type IconsType = {
171
171
  WarningFilledIcon: IconComponent;
172
172
  WhatsappIcon: IconComponent;
173
173
  WorkFlowDocsIcon: IconComponent;
174
+ ESSIcon: IconComponent;
175
+ SalaryIcon: IconComponent;
176
+ ExpensesIcon: IconComponent;
174
177
  };
175
178
  export declare const Icons: IconsType;
@@ -1,3 +1,4 @@
1
+ export * from './ErrorPages/ComingSoon';
1
2
  export * from './ErrorPages/InternalServerError';
2
3
  export * from './ErrorPages/NoInternetConnection';
3
4
  export * from './ErrorPages/NoItemFound';
@@ -25,6 +25,8 @@ type PieProps = {
25
25
  label?: boolean;
26
26
  cx?: string;
27
27
  cy?: string;
28
+ startAngle?: number;
29
+ endAngle?: number;
28
30
  colors?: string[];
29
31
  };
30
32
  export declare const PieChart: ({ title, showSubtitle, subTitle, subTitleProps, titleProps, margin, width, height, showToolTip, showLegend, legendSx, pie1, pie2, containerSx, }: PieChartProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,5 @@ interface OtpInputProps {
2
2
  length: number;
3
3
  onChangeOtp: (otp: string) => void;
4
4
  }
5
- declare const OtpInput: ({ length, onChangeOtp }: OtpInputProps) => import("react/jsx-runtime").JSX.Element;
6
- export default OtpInput;
5
+ export declare const OtpInput: ({ length, onChangeOtp }: OtpInputProps) => import("react/jsx-runtime").JSX.Element;
7
6
  export type { OtpInputProps };
@@ -5,7 +5,7 @@ export type SelectProps = {
5
5
  options: Array<{
6
6
  label: React.ReactNode;
7
7
  value: string | number;
8
- color?: 'red' | 'green' | 'blue' | 'pink' | 'yellow' | 'orange';
8
+ color?: 'red' | 'green' | 'blue' | 'pink' | 'yellow' | 'orange' | 'secondary';
9
9
  }>;
10
10
  onChange?: (event: React.ChangeEvent<{
11
11
  value: any;
@@ -1,5 +1,6 @@
1
1
  import { AutocompleteProps } from '@mui/material';
2
2
  import { AxiosInstance } from 'axios';
3
+ import { ReactNode } from 'react';
3
4
  declare module '@mui/material/Autocomplete' {
4
5
  interface AutocompletePaperSlotPropsOverrides {
5
6
  loadingOptions: boolean;
@@ -11,6 +12,7 @@ export type SingleSelectProps = {
11
12
  label: string;
12
13
  subLabel?: string;
13
14
  value: any;
15
+ icon?: ReactNode;
14
16
  }[] | any[];
15
17
  optionsApiEndPoint?: string;
16
18
  optionsApiEndpointParams?: any;
@@ -1,5 +1,5 @@
1
1
  import { Meta } from '@storybook/react';
2
- import OtpInput, { OtpInputProps } from '../../components/Input/OtpInput/OtpInput';
2
+ import { OtpInput, OtpInputProps } from '../../components/Input/OtpInput/OtpInput';
3
3
  declare const _default: Meta<typeof OtpInput>;
4
4
  export default _default;
5
5
  export declare const Default: {