@mindly/ui-components 0.1.25 → 0.1.26

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,9 +1,11 @@
1
1
  import React from 'react';
2
2
  import '../Theme/global.css';
3
3
  export interface DatePickerProps {
4
- day: string;
5
- date: string;
6
- month: string;
4
+ type: 'date' | 'weekday';
5
+ weekday: string;
6
+ day?: string;
7
+ date?: string;
8
+ month?: string;
7
9
  isActive: boolean;
8
10
  onClick: React.MouseEventHandler;
9
11
  }
@@ -2,4 +2,5 @@ interface ContainerProps {
2
2
  isActive: boolean;
3
3
  }
4
4
  export declare const Container: import("styled-components").StyledComponent<"div", any, ContainerProps, never>;
5
+ export declare const WeekDayH1: import("styled-components").StyledComponent<"h1", any, {}, never>;
5
6
  export {};
package/dist/index.d.ts CHANGED
@@ -92,9 +92,11 @@ interface ArchivedConsultationCardProps {
92
92
  declare const ArchivedConsultationCard: React.FC<ArchivedConsultationCardProps>;
93
93
 
94
94
  interface DatePickerProps {
95
- day: string;
96
- date: string;
97
- month: string;
95
+ type: 'date' | 'weekday';
96
+ weekday: string;
97
+ day?: string;
98
+ date?: string;
99
+ month?: string;
98
100
  isActive: boolean;
99
101
  onClick: React.MouseEventHandler;
100
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "@babel/polyfill": "^7.12.1",