@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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/assets/images/svg/ComingSoon.d.ts +1 -0
- package/dist/cjs/types/src/assets/images/svg/Empty.d.ts +1 -0
- package/dist/cjs/types/src/assets/images/svg/Error.d.ts +1 -0
- package/dist/cjs/types/src/assets/images/svg/NoConnection.d.ts +1 -0
- package/dist/cjs/types/src/assets/images/svg/ServerError.d.ts +1 -0
- package/dist/cjs/types/src/assets/images/svg/Unauthorized.d.ts +1 -0
- package/dist/cjs/types/src/assets/images/svg/index.d.ts +6 -5
- package/dist/cjs/types/src/components/Assets/ErrorPages/ComingSoon.d.ts +7 -0
- package/dist/cjs/types/src/components/Assets/Icons/IconComponents/ESSIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/Assets/Icons/IconComponents/ExpensesIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/Assets/Icons/IconComponents/SalaryIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/Assets/Icons/Icons.d.ts +3 -0
- package/dist/cjs/types/src/components/Assets/export.d.ts +1 -0
- package/dist/cjs/types/src/components/Charts/PieChart/PieChart.d.ts +2 -0
- package/dist/cjs/types/src/components/Input/OtpInput/OtpInput.d.ts +1 -2
- package/dist/cjs/types/src/components/Input/Select/Select.d.ts +1 -1
- package/dist/cjs/types/src/components/Input/SingleSelect/SingleSelect.d.ts +2 -0
- package/dist/cjs/types/src/stories/Input/OtpInput.stories.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/assets/images/svg/ComingSoon.d.ts +1 -0
- package/dist/esm/types/src/assets/images/svg/Empty.d.ts +1 -0
- package/dist/esm/types/src/assets/images/svg/Error.d.ts +1 -0
- package/dist/esm/types/src/assets/images/svg/NoConnection.d.ts +1 -0
- package/dist/esm/types/src/assets/images/svg/ServerError.d.ts +1 -0
- package/dist/esm/types/src/assets/images/svg/Unauthorized.d.ts +1 -0
- package/dist/esm/types/src/assets/images/svg/index.d.ts +6 -5
- package/dist/esm/types/src/components/Assets/ErrorPages/ComingSoon.d.ts +7 -0
- package/dist/esm/types/src/components/Assets/Icons/IconComponents/ESSIcon.d.ts +4 -0
- package/dist/esm/types/src/components/Assets/Icons/IconComponents/ExpensesIcon.d.ts +4 -0
- package/dist/esm/types/src/components/Assets/Icons/IconComponents/SalaryIcon.d.ts +4 -0
- package/dist/esm/types/src/components/Assets/Icons/Icons.d.ts +3 -0
- package/dist/esm/types/src/components/Assets/export.d.ts +1 -0
- package/dist/esm/types/src/components/Charts/PieChart/PieChart.d.ts +2 -0
- package/dist/esm/types/src/components/Input/OtpInput/OtpInput.d.ts +1 -2
- package/dist/esm/types/src/components/Input/Select/Select.d.ts +1 -1
- package/dist/esm/types/src/components/Input/SingleSelect/SingleSelect.d.ts +2 -0
- package/dist/esm/types/src/stories/Input/OtpInput.stories.d.ts +1 -1
- package/dist/index.d.ts +21 -7
- package/package.json +1 -1
- package/dist/cjs/assets/empty.svg +0 -9
- package/dist/cjs/assets/error-image.svg +0 -9
- package/dist/cjs/assets/no-connection.svg +0 -9
- package/dist/cjs/assets/server-error.svg +0 -9
- package/dist/cjs/assets/unauthorized.svg +0 -9
- package/dist/esm/assets/empty.svg +0 -9
- package/dist/esm/assets/error-image.svg +0 -9
- package/dist/esm/assets/no-connection.svg +0 -9
- package/dist/esm/assets/server-error.svg +0 -9
- 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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
};
|
|
@@ -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;
|
|
@@ -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,
|
|
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: {
|