@campxdev/react-blueprint 2.0.3 → 2.0.4
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/components/DataDisplay/Chips/Chips.d.ts +1 -1
- package/dist/cjs/types/src/components/DataDisplay/export.d.ts +1 -0
- package/dist/cjs/types/src/components/Input/export.d.ts +1 -0
- package/dist/cjs/types/src/stories/DataDisplay/Chips.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/components/DataDisplay/Chips/Chips.d.ts +1 -1
- package/dist/esm/types/src/components/DataDisplay/export.d.ts +1 -0
- package/dist/esm/types/src/components/Input/export.d.ts +1 -0
- package/dist/esm/types/src/stories/DataDisplay/Chips.stories.d.ts +1 -1
- package/dist/index.d.ts +24 -2
- package/package.json +1 -1
|
@@ -10,5 +10,5 @@ interface ChipsProps {
|
|
|
10
10
|
singleSelection?: boolean;
|
|
11
11
|
toggle?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export declare const Chips: ({ list, selected: _selected, onSelected, direction, singleSelection, toggle, }: ChipsProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -6,6 +6,7 @@ export * from './FormActions/FormActions';
|
|
|
6
6
|
export * from './FormControlWrapper/FormControlWrapper';
|
|
7
7
|
export * from './FormWrapper/FormWrapper';
|
|
8
8
|
export * from './IconButtons/IconButtons';
|
|
9
|
+
export * from './LabelWrapper/LabelWrapper';
|
|
9
10
|
export * from './MultiCheckBox/MultiCheckBox';
|
|
10
11
|
export * from './PasswordField/PasswordField';
|
|
11
12
|
export * from './RadioGroup/RadioGroup';
|
package/dist/index.d.ts
CHANGED
|
@@ -914,6 +914,7 @@ type AccordionProps = {
|
|
|
914
914
|
errorKeys?: string[];
|
|
915
915
|
expanded?: boolean | number;
|
|
916
916
|
} & Omit<AccordionProps$1, 'children' | 'content' | 'title' | 'index' | 'expanded' | 'actions'>;
|
|
917
|
+
declare const Accordion: (props: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
917
918
|
|
|
918
919
|
type AccordionGroupProps = {
|
|
919
920
|
data: AccordionProps[];
|
|
@@ -993,6 +994,19 @@ interface CardProps {
|
|
|
993
994
|
}
|
|
994
995
|
declare const Card: ({ title, titleImgIcon, caption, status, footer, fields, imageSrc, statusSx, cardSx, headerSx, moreOptions, titleProps, captionProps, icon, children, menu, }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
995
996
|
|
|
997
|
+
interface ChipsProps {
|
|
998
|
+
list: {
|
|
999
|
+
label: string | ReactNode;
|
|
1000
|
+
value: string | number;
|
|
1001
|
+
}[];
|
|
1002
|
+
selected: string[] | string | number;
|
|
1003
|
+
onSelected: (selected: string[] | string | number) => void;
|
|
1004
|
+
direction?: 'row' | 'column';
|
|
1005
|
+
singleSelection?: boolean;
|
|
1006
|
+
toggle?: boolean;
|
|
1007
|
+
}
|
|
1008
|
+
declare const Chips: ({ list, selected: _selected, onSelected, direction, singleSelection, toggle, }: ChipsProps) => react_jsx_runtime.JSX.Element;
|
|
1009
|
+
|
|
996
1010
|
type DataTableProps = {
|
|
997
1011
|
limit?: number;
|
|
998
1012
|
offset?: number;
|
|
@@ -1192,6 +1206,14 @@ declare const IconButtons: {
|
|
|
1192
1206
|
RedirectButton: typeof RedirectButton;
|
|
1193
1207
|
};
|
|
1194
1208
|
|
|
1209
|
+
declare const LabelWrapper: ({ required, name, children, containerProps, label, }: {
|
|
1210
|
+
required: boolean;
|
|
1211
|
+
name?: string;
|
|
1212
|
+
label?: ReactNode | string;
|
|
1213
|
+
children: ReactNode;
|
|
1214
|
+
containerProps?: StackProps;
|
|
1215
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1216
|
+
|
|
1195
1217
|
type MultiCheckboxProps = {
|
|
1196
1218
|
containerProps?: StackProps;
|
|
1197
1219
|
options: Array<{
|
|
@@ -1619,5 +1641,5 @@ declare const splitBreadcrumbIdSlug: (param: string) => {
|
|
|
1619
1641
|
declare const isLocal: boolean;
|
|
1620
1642
|
declare const isDevelopment: boolean;
|
|
1621
1643
|
|
|
1622
|
-
export { AccordionGroup, ActivityLogView, Alert, AnimatedGIFs, AppHeader, BarChart, Breadcrumbs, Button, Card, CellContainer, CenterBox, CircularAvatar, ConfirmDialog, DataTable, DatePicker, DateTimePicker, DensitySelector, Dialog, DialogButton, DropDownButton, DropDownIcon, DropdownMenu, DropdownMenuItem, EditableDataTable, EditableTableCore, EmptyIllustration, FileUpload, FloatingContent, FooterContainerContainer, FormControlWrapper, FormWrapper, IconButtons, Icons, InternalServerError, 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 };
|
|
1623
|
-
export type { 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, 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 };
|
|
1644
|
+
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, 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 };
|
|
1645
|
+
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, 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 };
|