@mindly/ui-components 3.32.0 → 3.33.0
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 +55 -49
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +8 -0
- package/dist/cjs/types/lib/ChevronHeader/ChevronHeader.d.ts +9 -0
- package/dist/cjs/types/lib/ChevronHeader/ChevronHeader.styled.d.ts +3 -0
- package/dist/cjs/types/lib/ChevronHeader/index.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/CheckboxList/CheckboxList.d.ts +25 -0
- package/dist/cjs/types/lib/Inputs/CheckboxList/CheckboxList.style.d.ts +3 -0
- package/dist/cjs/types/lib/Inputs/CheckboxList/index.d.ts +2 -0
- package/dist/cjs/types/lib/Inputs/CustomCheckbox/CustomCheckbox.d.ts +19 -0
- package/dist/cjs/types/lib/Inputs/CustomCheckbox/CustomCheckbox.style.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/CustomCheckbox/index.d.ts +2 -0
- package/dist/cjs/types/lib/ProgressBar/ProgressBar.d.ts +6 -0
- package/dist/cjs/types/lib/ProgressBar/ProgressBar.style.d.ts +5 -0
- package/dist/cjs/types/lib/ProgressBar/index.d.ts +1 -0
- package/dist/esm/index.js +50 -44
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +8 -0
- package/dist/esm/types/lib/ChevronHeader/ChevronHeader.d.ts +9 -0
- package/dist/esm/types/lib/ChevronHeader/ChevronHeader.styled.d.ts +3 -0
- package/dist/esm/types/lib/ChevronHeader/index.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/CheckboxList/CheckboxList.d.ts +25 -0
- package/dist/esm/types/lib/Inputs/CheckboxList/CheckboxList.style.d.ts +3 -0
- package/dist/esm/types/lib/Inputs/CheckboxList/index.d.ts +2 -0
- package/dist/esm/types/lib/Inputs/CustomCheckbox/CustomCheckbox.d.ts +19 -0
- package/dist/esm/types/lib/Inputs/CustomCheckbox/CustomCheckbox.style.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/CustomCheckbox/index.d.ts +2 -0
- package/dist/esm/types/lib/ProgressBar/ProgressBar.d.ts +6 -0
- package/dist/esm/types/lib/ProgressBar/ProgressBar.style.d.ts +5 -0
- package/dist/esm/types/lib/ProgressBar/index.d.ts +1 -0
- package/dist/index.d.ts +84 -30
- package/package.json +1 -1
|
@@ -145,3 +145,11 @@ export { default as CustomSelect } from './lib/Inputs/CustomSelect';
|
|
|
145
145
|
export * from './lib/Inputs/CustomSelect';
|
|
146
146
|
export { default as CustomButton } from './lib/CustomButton';
|
|
147
147
|
export * from './lib/CustomButton';
|
|
148
|
+
export { default as CustomCheckbox } from './lib/Inputs/CustomCheckbox';
|
|
149
|
+
export * from './lib/Inputs/CustomCheckbox';
|
|
150
|
+
export { default as CheckboxList } from './lib/Inputs/CheckboxList';
|
|
151
|
+
export * from './lib/Inputs/CheckboxList';
|
|
152
|
+
export { default as ChevronHeader } from './lib/ChevronHeader';
|
|
153
|
+
export * from './lib/ChevronHeader';
|
|
154
|
+
export { default as ProgressBar } from './lib/ProgressBar';
|
|
155
|
+
export * from './lib/ProgressBar';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const BackButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
2
|
+
export declare const BookingSteps: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const BookingTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ChevronHeader';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { ReactElement, ReactText } from 'react';
|
|
2
|
+
import { CheckboxTypes } from '../CustomCheckbox/CustomCheckbox';
|
|
3
|
+
export declare type CheckboxListItem = {
|
|
4
|
+
id: ReactText;
|
|
5
|
+
label: string;
|
|
6
|
+
icon?: ReactElement;
|
|
7
|
+
isFavorite?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare type CheckboxListCategory = {
|
|
10
|
+
name: string;
|
|
11
|
+
items: CheckboxListItem[];
|
|
12
|
+
};
|
|
13
|
+
declare type CheckboxListProps = {
|
|
14
|
+
type: CheckboxTypes;
|
|
15
|
+
items: CheckboxListItem[];
|
|
16
|
+
allItems?: CheckboxListCategory[];
|
|
17
|
+
selected?: ReactText[];
|
|
18
|
+
onChange?: (id: ReactText, checked: boolean) => void;
|
|
19
|
+
name: string;
|
|
20
|
+
moreLabel?: string;
|
|
21
|
+
title?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: React.NamedExoticComponent<CheckboxListProps>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const CheckboxListWrapper: import("styled-components").StyledComponent<"ul", any, {}, never>;
|
|
2
|
+
export declare const ListMoreButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
3
|
+
export declare const FullListWrapper: import("styled-components").StyledComponent<"ul", any, {}, never>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { ChangeEvent, ReactElement, ReactText } from 'react';
|
|
2
|
+
export declare enum CheckboxTypes {
|
|
3
|
+
WITH_ICON = "with-icon",
|
|
4
|
+
TAG = "tag",
|
|
5
|
+
LIST = "list"
|
|
6
|
+
}
|
|
7
|
+
declare type CustomCheckboxProps = {
|
|
8
|
+
type: CheckboxTypes;
|
|
9
|
+
value?: ReactText;
|
|
10
|
+
label?: string;
|
|
11
|
+
icon?: ReactElement;
|
|
12
|
+
name?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
defaultChecked?: boolean;
|
|
15
|
+
isCheckbox?: boolean;
|
|
16
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
17
|
+
};
|
|
18
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<CustomCheckboxProps & React.RefAttributes<HTMLInputElement>>>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CheckboxLabel: import("styled-components").StyledComponent<"label", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ProgressBar';
|