@mindly/ui-components 3.0.0 → 3.0.1

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.
@@ -38,6 +38,9 @@ export type { SelectImpressionEmojiProps, DayToRender, LetterAvatarProps, ImageW
38
38
  export * from './lib/EntryNotFound';
39
39
  export * from './lib/consultation-card';
40
40
  export * from './lib/Avatar';
41
+ export { default as AppHeader } from './lib/AppHeader';
41
42
  export * from './lib/AppHeader';
43
+ export { default as Container } from './lib/Container';
42
44
  export * from './lib/Container';
45
+ export { default as Segment } from './lib/Segment';
43
46
  export * from './lib/Segment';
@@ -2,5 +2,5 @@ import { FC } from 'react';
2
2
  declare type AppHeaderProps = {
3
3
  fullwidth?: boolean;
4
4
  };
5
- export declare const AppHeader: FC<AppHeaderProps>;
6
- export {};
5
+ declare const AppHeader: FC<AppHeaderProps>;
6
+ export default AppHeader;
@@ -1 +1 @@
1
- export { AppHeader as default } from './AppHeader';
1
+ export { default } from './AppHeader';
@@ -1,2 +1,3 @@
1
1
  import { FC } from 'react';
2
- export declare const Container: FC;
2
+ declare const Container: FC;
3
+ export default Container;
@@ -1 +1 @@
1
- export { Container as default } from './Container';
1
+ export { default } from './Container';
@@ -1,12 +1,9 @@
1
1
  import { FC } from 'react';
2
- export declare type SegmentType = {
3
- id: string;
4
- label: string;
5
- };
2
+ import { SegmentType } from './types';
6
3
  declare type SegmentProps = {
7
4
  segments: SegmentType[];
8
5
  selected?: string;
9
6
  onChange?: (id: string) => void;
10
7
  };
11
- export declare const Segment: FC<SegmentProps>;
12
- export {};
8
+ declare const Segment: FC<SegmentProps>;
9
+ export default Segment;
@@ -1 +1,2 @@
1
- export { Segment as default } from './Segment';
1
+ export { default } from './Segment';
2
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ export declare type SegmentType = {
2
+ id: string;
3
+ label: string;
4
+ };
package/dist/index.d.ts CHANGED
@@ -615,4 +615,23 @@ declare type AvatarProps = {
615
615
  };
616
616
  declare const Avatar: FC<AvatarProps>;
617
617
 
618
- export { ArchivedConsultationCard, Avatar, AvatarProps, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, ImageWithFallback, ImageWithFallbackProps, ImpressionEmojiEnum, Input, _default$1 as LetterAvatar, LetterAvatarProps, ListButton, ListItemType, ListSelect, ModalCalendar, NavigationBar, NoInternetConnection, NotesCardText, NotesCardTextProps, NotesEditor, _default as PersonDateTimeCard, Range, RangeValue, RowItemType, RowSelect, ScrollTabs, _default$2 as SelectImpressionEmoji, SelectImpressionEmojiProps, TabBar, TherapistCard, TherapistInformationComponent, Toggle, userAppTypes_d as UserAppTypes, UsersPsychologistScrollList, UsersPsychologistScrollListPropsType, YourLocalTimeBlock, toast };
618
+ declare type AppHeaderProps = {
619
+ fullwidth?: boolean;
620
+ };
621
+ declare const AppHeader: FC<AppHeaderProps>;
622
+
623
+ declare const Container: FC;
624
+
625
+ declare type SegmentType = {
626
+ id: string;
627
+ label: string;
628
+ };
629
+
630
+ declare type SegmentProps = {
631
+ segments: SegmentType[];
632
+ selected?: string;
633
+ onChange?: (id: string) => void;
634
+ };
635
+ declare const Segment: FC<SegmentProps>;
636
+
637
+ export { AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, ImageWithFallback, ImageWithFallbackProps, ImpressionEmojiEnum, Input, _default$1 as LetterAvatar, LetterAvatarProps, ListButton, ListItemType, ListSelect, ModalCalendar, NavigationBar, NoInternetConnection, NotesCardText, NotesCardTextProps, NotesEditor, _default as PersonDateTimeCard, Range, RangeValue, RowItemType, RowSelect, ScrollTabs, Segment, SegmentType, _default$2 as SelectImpressionEmoji, SelectImpressionEmojiProps, TabBar, TherapistCard, TherapistInformationComponent, Toggle, userAppTypes_d as UserAppTypes, UsersPsychologistScrollList, UsersPsychologistScrollListPropsType, YourLocalTimeBlock, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",