@mindly/ui-components 2.2.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.
- package/dist/cjs/index.js +139 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +6 -0
- package/dist/cjs/types/lib/AppHeader/AppHeader.d.ts +6 -0
- package/dist/cjs/types/lib/AppHeader/AppHeader.style.d.ts +7 -0
- package/dist/cjs/types/lib/AppHeader/index.d.ts +1 -0
- package/dist/cjs/types/lib/Container/Container.d.ts +3 -0
- package/dist/cjs/types/lib/Container/Container.styled.d.ts +5 -0
- package/dist/cjs/types/lib/Container/index.d.ts +1 -0
- package/dist/cjs/types/lib/Filters/ListSelect/ListSelect.style.d.ts +2 -7
- package/dist/cjs/types/lib/Filters/Range/Range.d.ts +3 -4
- package/dist/cjs/types/lib/Filters/Range/Range.style.d.ts +1 -1
- package/dist/cjs/types/lib/Segment/Segment.d.ts +9 -0
- package/dist/cjs/types/lib/Segment/Segment.style.d.ts +3 -0
- package/dist/cjs/types/lib/Segment/index.d.ts +2 -0
- package/dist/cjs/types/lib/Segment/types.d.ts +4 -0
- package/dist/cjs/types/lib/Theme/mindly_constants.d.ts +1 -0
- package/dist/cjs/types/lib/button/Button.d.ts +0 -1
- package/dist/cjs/types/lib/content-card/ContentCard.style.d.ts +1 -1
- package/dist/cjs/types/lib/input/Input.style.d.ts +1 -1
- package/dist/cjs/types/lib/navigation-bar/NavigationBar.style.d.ts +1 -1
- package/dist/cjs/types/lib/notes-editor/NotesEditor.d.ts +1 -1
- package/dist/cjs/types/lib/notes-editor/NotesEditor.styled.d.ts +1 -1
- package/dist/cjs/types/lib/scroll-tabs/ScrollTabs.style.d.ts +2 -2
- package/dist/esm/index.js +140 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +6 -0
- package/dist/esm/types/lib/AppHeader/AppHeader.d.ts +6 -0
- package/dist/esm/types/lib/AppHeader/AppHeader.style.d.ts +7 -0
- package/dist/esm/types/lib/AppHeader/index.d.ts +1 -0
- package/dist/esm/types/lib/Container/Container.d.ts +3 -0
- package/dist/esm/types/lib/Container/Container.styled.d.ts +5 -0
- package/dist/esm/types/lib/Container/index.d.ts +1 -0
- package/dist/esm/types/lib/Filters/ListSelect/ListSelect.style.d.ts +2 -7
- package/dist/esm/types/lib/Filters/Range/Range.d.ts +3 -4
- package/dist/esm/types/lib/Filters/Range/Range.style.d.ts +1 -1
- package/dist/esm/types/lib/Segment/Segment.d.ts +9 -0
- package/dist/esm/types/lib/Segment/Segment.style.d.ts +3 -0
- package/dist/esm/types/lib/Segment/index.d.ts +2 -0
- package/dist/esm/types/lib/Segment/types.d.ts +4 -0
- package/dist/esm/types/lib/Theme/mindly_constants.d.ts +1 -0
- package/dist/esm/types/lib/button/Button.d.ts +0 -1
- package/dist/esm/types/lib/content-card/ContentCard.style.d.ts +1 -1
- package/dist/esm/types/lib/input/Input.style.d.ts +1 -1
- package/dist/esm/types/lib/navigation-bar/NavigationBar.style.d.ts +1 -1
- package/dist/esm/types/lib/notes-editor/NotesEditor.d.ts +1 -1
- package/dist/esm/types/lib/notes-editor/NotesEditor.styled.d.ts +1 -1
- package/dist/esm/types/lib/scroll-tabs/ScrollTabs.style.d.ts +2 -2
- package/dist/index.d.ts +24 -6
- package/package.json +4 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, ReactText, FC } from 'react';
|
|
3
|
-
import { JSX as JSX$1 } from '@ionic/core';
|
|
3
|
+
import { JSX as JSX$1 } from '@ionic/core/components';
|
|
4
4
|
|
|
5
5
|
interface ButtonProps {
|
|
6
6
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
@@ -544,10 +544,9 @@ declare type RangeValue = {
|
|
|
544
544
|
declare type RangeProps = {
|
|
545
545
|
title: string;
|
|
546
546
|
rangeTitleValues?: string;
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
value: RangeValue;
|
|
550
|
-
onChange: (value: RangeValue) => void;
|
|
547
|
+
initialValue: RangeValue;
|
|
548
|
+
onChange?: (value: RangeValue) => void;
|
|
549
|
+
onKnobMoveEnd?: (value: RangeValue) => void;
|
|
551
550
|
};
|
|
552
551
|
declare const Range: FC<RangeProps>;
|
|
553
552
|
|
|
@@ -616,4 +615,23 @@ declare type AvatarProps = {
|
|
|
616
615
|
};
|
|
617
616
|
declare const Avatar: FC<AvatarProps>;
|
|
618
617
|
|
|
619
|
-
|
|
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
|
+
"version": "3.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "react-scripts start",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"test:ts": "tsc --noEmit --skipLibCheck",
|
|
10
10
|
"coverage": "npm test -- --env=jsdom --coverage --coverageDirectory=jest-coverage --passWithNoTests",
|
|
11
11
|
"test:lint": "eslint \"./src/**/*{ts,tsx}\" --ignore-pattern \"*.d.ts\" --fix",
|
|
12
|
-
"test": "react-scripts test --
|
|
12
|
+
"test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!(@ionic/react|@ionic/react-router|@ionic/core|@stencil/core|ionicons)/)'",
|
|
13
13
|
"eject": "react-scripts eject",
|
|
14
14
|
"storybook": "start-storybook -p 6006 -s public",
|
|
15
15
|
"build-storybook": "build-storybook -s public",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"-": "^0.0.1",
|
|
20
20
|
"@babel/polyfill": "^7.12.1",
|
|
21
21
|
"@capacitor/keyboard": "^1.2.2",
|
|
22
|
-
"@ionic/react": "^
|
|
23
|
-
"@ionic/react-router": "^
|
|
22
|
+
"@ionic/react": "^6.1.11",
|
|
23
|
+
"@ionic/react-router": "^6.1.11",
|
|
24
24
|
"@storybook/addon-viewport": "^6.3.10",
|
|
25
25
|
"@storybook/cli": "^6.4.20",
|
|
26
26
|
"@testing-library/jest-dom": "^5.14.1",
|
|
@@ -43,8 +43,6 @@
|
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@babel/polyfill": "^7.12.1",
|
|
46
|
-
"@ionic/react": "^5.8.0",
|
|
47
|
-
"@ionic/react-router": "^5.8.0",
|
|
48
46
|
"@testing-library/jest-dom": "^5.14.1",
|
|
49
47
|
"@testing-library/react": "^11.2.7",
|
|
50
48
|
"@testing-library/user-event": "^12.8.3",
|