@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.
@@ -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>;
@@ -9,6 +9,10 @@ export interface ConsultationCardProps {
9
9
  time: string;
10
10
  avatar: string;
11
11
  isFree?: boolean;
12
+ /**
13
+ * Is session created by auto booking functionality
14
+ */
15
+ isAutoBooked?: boolean;
12
16
  /**
13
17
  * Consultation price
14
18
  */
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",