@mindly/ui-components 1.0.8 → 1.0.10
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/lib/button/Button.d.ts +1 -1
- package/dist/cjs/types/lib/button/Button.style.d.ts +1 -1
- package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +4 -0
- package/dist/cjs/types/lib/consultation-card/ConsultationCard.style.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/button/Button.d.ts +1 -1
- package/dist/esm/types/lib/button/Button.style.d.ts +1 -1
- package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +4 -0
- package/dist/esm/types/lib/consultation-card/ConsultationCard.style.d.ts +1 -0
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '../Theme/global.css';
|
|
3
3
|
export interface ButtonProps {
|
|
4
|
-
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
|
|
4
|
+
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
5
5
|
isDisabled: boolean;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
onClick: (props?: React.SyntheticEvent) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface ContainerProps {
|
|
2
|
-
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
|
|
2
|
+
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
3
3
|
isDisabled: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const Container: import("styled-components").StyledComponent<"button", any, ContainerProps, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const InfoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const NameContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
4
|
export declare const TextInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
5
|
export declare const Photo: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
5
6
|
export declare const DividersContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
interface ButtonProps {
|
|
4
|
-
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
|
|
4
|
+
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
5
5
|
isDisabled: boolean;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
onClick: (props?: React.SyntheticEvent) => void;
|
|
@@ -49,6 +49,10 @@ interface ConsultationCardProps {
|
|
|
49
49
|
time: string;
|
|
50
50
|
avatar: string;
|
|
51
51
|
isFree?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Is session created by auto booking functionality
|
|
54
|
+
*/
|
|
55
|
+
isAutoBooked?: boolean;
|
|
52
56
|
/**
|
|
53
57
|
* Consultation price
|
|
54
58
|
*/
|