@mindly/ui-components 8.5.7 → 8.5.9
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 +4 -4
- package/dist/cjs/lib/Inputs/CheckboxList/CheckboxList.d.ts +1 -0
- package/dist/cjs/lib/Inputs/CustomCheckbox/CustomCheckbox.d.ts +1 -0
- package/dist/cjs/lib/Inputs/CustomCheckbox/CustomCheckbox.style.d.ts +3 -1
- package/dist/cjs/lib2/shared/ui/ClientCard/ClientCard.d.ts +1 -1
- package/dist/cjs/lib2/widgets/ViewedClientsWidget/ContainerWithRefresher.d.ts +9 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/lib/Inputs/CheckboxList/CheckboxList.d.ts +1 -0
- package/dist/esm/lib/Inputs/CustomCheckbox/CustomCheckbox.d.ts +1 -0
- package/dist/esm/lib/Inputs/CustomCheckbox/CustomCheckbox.style.d.ts +3 -1
- package/dist/esm/lib2/shared/ui/ClientCard/ClientCard.d.ts +1 -1
- package/dist/esm/lib2/widgets/ViewedClientsWidget/ContainerWithRefresher.d.ts +9 -0
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export type CheckboxListCategory = {
|
|
|
14
14
|
type CheckboxListProps = {
|
|
15
15
|
type: CheckboxTypes;
|
|
16
16
|
items: CheckboxListCategory[];
|
|
17
|
+
colorsByItemIds: Record<CheckboxListItem['id'], string>;
|
|
17
18
|
selected?: string[];
|
|
18
19
|
onChange?: (selected: string[]) => void;
|
|
19
20
|
name: string;
|
|
@@ -13,6 +13,7 @@ type CustomCheckboxProps = {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
defaultChecked?: boolean;
|
|
15
15
|
isCheckbox?: boolean;
|
|
16
|
+
color?: string;
|
|
16
17
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
17
18
|
};
|
|
18
19
|
declare const _default: React.NamedExoticComponent<CustomCheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
export declare const CheckboxLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
1
|
+
export declare const CheckboxLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
|
|
2
|
+
$checkmarkColor?: string;
|
|
3
|
+
}>> & string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { RefresherEventDetail } from '@ionic/react';
|
|
3
|
+
type ContainerWithRefresherProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
onIonRefresh?: (e: CustomEvent<RefresherEventDetail>) => void;
|
|
6
|
+
isRefreshingDisabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const ContainerWithRefresher: FC<ContainerWithRefresherProps>;
|
|
9
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -2003,7 +2003,7 @@ interface ClientCardProps {
|
|
|
2003
2003
|
lastName?: string;
|
|
2004
2004
|
avatarUrl?: string;
|
|
2005
2005
|
dateText: string;
|
|
2006
|
-
lastSeenAt?: string | null;
|
|
2006
|
+
lastSeenAt?: number | string | null;
|
|
2007
2007
|
lastEventType: LastEventType;
|
|
2008
2008
|
onClick?: (id: string) => void;
|
|
2009
2009
|
className?: string;
|
|
@@ -4874,6 +4874,7 @@ type CustomCheckboxProps = {
|
|
|
4874
4874
|
className?: string;
|
|
4875
4875
|
defaultChecked?: boolean;
|
|
4876
4876
|
isCheckbox?: boolean;
|
|
4877
|
+
color?: string;
|
|
4877
4878
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
4878
4879
|
};
|
|
4879
4880
|
declare const _default$7: React__default.NamedExoticComponent<CustomCheckboxProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
@@ -4892,6 +4893,7 @@ type CheckboxListCategory = {
|
|
|
4892
4893
|
type CheckboxListProps = {
|
|
4893
4894
|
type: CheckboxTypes;
|
|
4894
4895
|
items: CheckboxListCategory[];
|
|
4896
|
+
colorsByItemIds: Record<CheckboxListItem['id'], string>;
|
|
4895
4897
|
selected?: string[];
|
|
4896
4898
|
onChange?: (selected: string[]) => void;
|
|
4897
4899
|
name: string;
|