@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: {
|
package/dist/index.d.ts
CHANGED
|
@@ -32,13 +32,20 @@ declare const AnimatedGIFs: {
|
|
|
32
32
|
|
|
33
33
|
declare const Svgs: {
|
|
34
34
|
assignmentImage: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
Error: () => react_jsx_runtime.JSX.Element;
|
|
36
|
+
NoConnection: () => react_jsx_runtime.JSX.Element;
|
|
37
|
+
ServerError: () => react_jsx_runtime.JSX.Element;
|
|
38
|
+
Unauthorized: () => react_jsx_runtime.JSX.Element;
|
|
39
|
+
ComingSoon: () => react_jsx_runtime.JSX.Element;
|
|
40
|
+
Empty: () => react_jsx_runtime.JSX.Element;
|
|
40
41
|
};
|
|
41
42
|
|
|
43
|
+
interface NoItemFoundProps$1 {
|
|
44
|
+
title?: string;
|
|
45
|
+
description: ReactNode;
|
|
46
|
+
}
|
|
47
|
+
declare const ComingSoon: ({ title, description, }: NoItemFoundProps$1) => react_jsx_runtime.JSX.Element;
|
|
48
|
+
|
|
42
49
|
declare const InternalServerError: ({ resetBoundary }: any) => react_jsx_runtime.JSX.Element;
|
|
43
50
|
|
|
44
51
|
declare const NoInterneConnection: ({ resetBoundary }: any) => react_jsx_runtime.JSX.Element;
|
|
@@ -227,6 +234,9 @@ type IconsType = {
|
|
|
227
234
|
WarningFilledIcon: IconComponent;
|
|
228
235
|
WhatsappIcon: IconComponent;
|
|
229
236
|
WorkFlowDocsIcon: IconComponent;
|
|
237
|
+
ESSIcon: IconComponent;
|
|
238
|
+
SalaryIcon: IconComponent;
|
|
239
|
+
ExpensesIcon: IconComponent;
|
|
230
240
|
};
|
|
231
241
|
declare const Icons: IconsType;
|
|
232
242
|
|
|
@@ -367,6 +377,8 @@ type PieProps = {
|
|
|
367
377
|
label?: boolean;
|
|
368
378
|
cx?: string;
|
|
369
379
|
cy?: string;
|
|
380
|
+
startAngle?: number;
|
|
381
|
+
endAngle?: number;
|
|
370
382
|
colors?: string[];
|
|
371
383
|
};
|
|
372
384
|
declare const PieChart: ({ title, showSubtitle, subTitle, subTitleProps, titleProps, margin, width, height, showToolTip, showLegend, legendSx, pie1, pie2, containerSx, }: PieChartProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -727,7 +739,7 @@ type SelectProps = {
|
|
|
727
739
|
options: Array<{
|
|
728
740
|
label: react.ReactNode;
|
|
729
741
|
value: string | number;
|
|
730
|
-
color?: 'red' | 'green' | 'blue' | 'pink' | 'yellow' | 'orange';
|
|
742
|
+
color?: 'red' | 'green' | 'blue' | 'pink' | 'yellow' | 'orange' | 'secondary';
|
|
731
743
|
}>;
|
|
732
744
|
onChange?: (event: react.ChangeEvent<{
|
|
733
745
|
value: any;
|
|
@@ -757,6 +769,7 @@ type SingleSelectProps = {
|
|
|
757
769
|
label: string;
|
|
758
770
|
subLabel?: string;
|
|
759
771
|
value: any;
|
|
772
|
+
icon?: ReactNode;
|
|
760
773
|
}[] | any[];
|
|
761
774
|
optionsApiEndPoint?: string;
|
|
762
775
|
optionsApiEndpointParams?: any;
|
|
@@ -812,6 +825,7 @@ interface OtpInputProps {
|
|
|
812
825
|
length: number;
|
|
813
826
|
onChangeOtp: (otp: string) => void;
|
|
814
827
|
}
|
|
828
|
+
declare const OtpInput: ({ length, onChangeOtp }: OtpInputProps) => react_jsx_runtime.JSX.Element;
|
|
815
829
|
|
|
816
830
|
type AppHeaderProps = {
|
|
817
831
|
actions?: ReactNode[];
|
|
@@ -1112,5 +1126,5 @@ declare const splitBreadcrumbIdSlug: (param: string) => {
|
|
|
1112
1126
|
declare const isLocal: boolean;
|
|
1113
1127
|
declare const isDevelopment: boolean;
|
|
1114
1128
|
|
|
1115
|
-
export { Accordion, AccordionGroup, ActivityLogView, Alert, AnimatedGIFs, AppHeader, BarChart, Breadcrumbs, Button, Card, CellContainer, CenterBox, Chips, CircularAvatar, ConfirmDialog, DataTable, DatePicker, DateTimePicker, DensitySelector, Dialog, DialogButton, DropDownButton, DropDownIcon, DropdownMenu, DropdownMenuItem, EditableDataTable, EditableTableCore, EmptyIllustration, FileUpload, FloatingContent, FooterContainerContainer, FormActions, FormControlWrapper, FormWrapper, IconButtons, Icons, InternalServerError, LabelWrapper, LineChart, MuiThemeProvider, MultiCheckBox, NoInterneConnection, NoItemFound, PageContent, PageHeader, PageNotFound, PasswordField, PieChart, PreviewFiles, RadioGroup, SearchBar, Select, SidePanel, SidePanelVariables, Sidebar, SingleCheckBox, SingleSelect, Snackbar, Spinner, SquareAvatar, StatusCard, Stepper, StyledContainer, Svgs, Switch, TableColumnsSelector, TableColumnsSelectorMenuFooter, TabsContainer, TabsLayout, TextField, TimePicker, Timeline, ToolTipContent, Tooltip, Tutorial, Typography, UnAuthorized, UploadDialog, createBreadcrumbIdSlug, darkTheme, getBreadcrumbsCharacter, isDevelopment, isLocal, lightTheme, reactBlueprintReducers, splitBreadcrumbIdSlug, usePageHeader, useParams, useUrlParams };
|
|
1129
|
+
export { Accordion, AccordionGroup, ActivityLogView, Alert, AnimatedGIFs, AppHeader, BarChart, Breadcrumbs, Button, Card, CellContainer, CenterBox, Chips, CircularAvatar, ComingSoon, ConfirmDialog, DataTable, DatePicker, DateTimePicker, DensitySelector, Dialog, DialogButton, DropDownButton, DropDownIcon, DropdownMenu, DropdownMenuItem, EditableDataTable, EditableTableCore, EmptyIllustration, FileUpload, FloatingContent, FooterContainerContainer, FormActions, FormControlWrapper, FormWrapper, IconButtons, Icons, InternalServerError, LabelWrapper, LineChart, MuiThemeProvider, MultiCheckBox, NoInterneConnection, NoItemFound, OtpInput, PageContent, PageHeader, PageNotFound, PasswordField, PieChart, PreviewFiles, RadioGroup, SearchBar, Select, SidePanel, SidePanelVariables, Sidebar, SingleCheckBox, SingleSelect, Snackbar, Spinner, SquareAvatar, StatusCard, Stepper, StyledContainer, Svgs, Switch, TableColumnsSelector, TableColumnsSelectorMenuFooter, TabsContainer, TabsLayout, TextField, TimePicker, Timeline, ToolTipContent, Tooltip, Tutorial, Typography, UnAuthorized, UploadDialog, createBreadcrumbIdSlug, darkTheme, getBreadcrumbsCharacter, isDevelopment, isLocal, lightTheme, reactBlueprintReducers, splitBreadcrumbIdSlug, usePageHeader, useParams, useUrlParams };
|
|
1116
1130
|
export type { AccordionProps, Activity, ActivityAction, AlertProps, AppHeaderProps, BarChartProps, BreadcrumbsProps, ButtonConfig, ButtonProps, CardProps, CheckboxProps, CircularAvatarProps, ConfirmDialogProps, ConfirmDialogType, DataTableProps, DensitySelectorProps, DialogButtonProps, DialogProps, DropdownMenuItemProps, DropdownMenuProps, EditableDataTableProps, FileUploadProps, FloatingContainerProps, FormActionsProps, IconComponent, IconProps, IconsType, LineChartProps, MultiCheckboxProps, OtpInputProps, PageContentProps, PasswordFieldProps, PieChartProps, PreviewFilesProps, RadioGroupProps, SearchBarProps, SelectProps, Severity, SideMenuItemProps, SidePanelProps, SingleSelectProps, SnackbarProps, SquareAvatarProps, StatusCardProps, SubMenuItemProps, SwitchProps, TableColumnsSelectorProps, TabsContainerProps, TextFieldProps, TimelineItems, TimelineProps, TooltipContentProps, TooltipProps, TypographyProps, UploadDialogProps };
|