@mindly/ui-components 1.15.13 → 2.0.0

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.
Files changed (32) hide show
  1. package/dist/cjs/index.js +2 -2
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/index.d.ts +9 -2
  4. package/dist/cjs/types/lib/Filters/ListSelect/ListSelect.d.ts +13 -0
  5. package/dist/cjs/types/lib/Filters/ListSelect/ListSelect.style.d.ts +14 -0
  6. package/dist/cjs/types/lib/Filters/ListSelect/index.d.ts +1 -0
  7. package/dist/cjs/types/lib/Filters/Range/Range.d.ts +15 -0
  8. package/dist/cjs/types/lib/Filters/Range/Range.style.d.ts +3 -0
  9. package/dist/cjs/types/lib/Filters/Range/index.d.ts +1 -0
  10. package/dist/cjs/types/lib/Filters/RowSelect/RowSelect.d.ts +13 -0
  11. package/dist/cjs/types/lib/Filters/RowSelect/RowSelect.style.d.ts +7 -0
  12. package/dist/cjs/types/lib/Filters/RowSelect/index.d.ts +1 -0
  13. package/dist/cjs/types/lib/Filters/Toggle/Toggle.d.ts +8 -0
  14. package/dist/cjs/types/lib/Filters/Toggle/Toggle.style.d.ts +2 -0
  15. package/dist/cjs/types/lib/Filters/Toggle/index.d.ts +1 -0
  16. package/dist/esm/index.js +3 -3
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/types/index.d.ts +9 -2
  19. package/dist/esm/types/lib/Filters/ListSelect/ListSelect.d.ts +13 -0
  20. package/dist/esm/types/lib/Filters/ListSelect/ListSelect.style.d.ts +14 -0
  21. package/dist/esm/types/lib/Filters/ListSelect/index.d.ts +1 -0
  22. package/dist/esm/types/lib/Filters/Range/Range.d.ts +15 -0
  23. package/dist/esm/types/lib/Filters/Range/Range.style.d.ts +3 -0
  24. package/dist/esm/types/lib/Filters/Range/index.d.ts +1 -0
  25. package/dist/esm/types/lib/Filters/RowSelect/RowSelect.d.ts +13 -0
  26. package/dist/esm/types/lib/Filters/RowSelect/RowSelect.style.d.ts +7 -0
  27. package/dist/esm/types/lib/Filters/RowSelect/index.d.ts +1 -0
  28. package/dist/esm/types/lib/Filters/Toggle/Toggle.d.ts +8 -0
  29. package/dist/esm/types/lib/Filters/Toggle/Toggle.style.d.ts +2 -0
  30. package/dist/esm/types/lib/Filters/Toggle/index.d.ts +1 -0
  31. package/dist/index.d.ts +47 -2
  32. package/package.json +1 -1
@@ -26,8 +26,15 @@ import * as UserAppTypes from './lib/userAppTypes';
26
26
  import { UsersPsychologistScrollList, UsersPsychologistScrollListPropsType } from './lib/UsersPsychologistScrollList/UsersPsychologistScrollList';
27
27
  import NotesEditor from './lib/notes-editor/NotesEditor';
28
28
  import NotesCardText, { NotesCardTextProps } from './lib/notes-card-text/NotesCardText';
29
- export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, ModalCalendar, HorizontalCalendar, SelectImpressionEmoji, ImpressionEmojiEnum, LetterAvatar, ImageWithFallback, PersonDateTimeCard, UsersPsychologistScrollList, NotesEditor, NotesCardText, };
30
- export type { SelectImpressionEmojiProps, DayToRender, LetterAvatarProps, ImageWithFallbackProps, UserAppTypes, UsersPsychologistScrollListPropsType, NotesCardTextProps, };
29
+ import { ListItemType } from './lib/Filters/ListSelect/ListSelect';
30
+ import ListSelect from './lib/Filters/ListSelect';
31
+ import { RangeValue } from './lib/Filters/Range/Range';
32
+ import Range from './lib/Filters/Range';
33
+ import { RowItemType } from './lib/Filters/RowSelect/RowSelect';
34
+ import RowSelect from './lib/Filters/RowSelect';
35
+ import Toggle from './lib/Filters/Toggle';
36
+ export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, YourLocalTimeBlock, ModalCalendar, HorizontalCalendar, SelectImpressionEmoji, ImpressionEmojiEnum, LetterAvatar, ImageWithFallback, PersonDateTimeCard, UsersPsychologistScrollList, NotesEditor, NotesCardText, ListSelect, Range, RowSelect, Toggle, };
37
+ export type { SelectImpressionEmojiProps, DayToRender, LetterAvatarProps, ImageWithFallbackProps, UserAppTypes, UsersPsychologistScrollListPropsType, NotesCardTextProps, ListItemType, RangeValue, RowItemType, };
31
38
  export * from './lib/EntryNotFound';
32
39
  export * from './lib/consultation-card';
33
40
  export * from './lib/Avatar';
@@ -0,0 +1,13 @@
1
+ import { FC, ReactText } from 'react';
2
+ export declare type ListItemType = {
3
+ id: ReactText;
4
+ label: string;
5
+ };
6
+ declare type ListSelectProps = {
7
+ title: string;
8
+ listItems: ListItemType[];
9
+ selected?: ReactText;
10
+ onChange: (item: ListItemType) => void;
11
+ };
12
+ export declare const ListSelect: FC<ListSelectProps>;
13
+ export {};
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ export declare const ListTitle: import("styled-components").StyledComponent<"h3", any, {}, never>;
3
+ export declare const ItemsList: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonList & Pick<import("react").HTMLAttributes<HTMLIonListElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonListElement>>, any, {}, never>;
4
+ export declare const ListItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonItem, "button" | "type" | "disabled" | "color" | "download" | "href" | "rel" | "target" | "mode" | "lines" | "routerAnimation" | "detail" | "detailIcon"> & {
5
+ routerLink?: string | undefined;
6
+ routerDirection?: "none" | "root" | "forward" | "back" | undefined;
7
+ routerOptions?: import("@ionic/react").RouterOptions | undefined;
8
+ routerAnimation?: import("@ionic/react").AnimationBuilder | undefined;
9
+ } & Pick<import("react").HTMLAttributes<HTMLIonItemElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonItemElement>>, any, {}, never>;
10
+ declare type ItemLabelProps = {
11
+ selected: boolean;
12
+ };
13
+ export declare const ItemLabel: import("styled-components").StyledComponent<"span", any, ItemLabelProps, never>;
14
+ export {};
@@ -0,0 +1 @@
1
+ export { ListSelect as default } from './ListSelect';
@@ -0,0 +1,15 @@
1
+ import { FC } from 'react';
2
+ export declare type RangeValue = {
3
+ lower: number;
4
+ upper: number;
5
+ };
6
+ declare type RangeProps = {
7
+ title: string;
8
+ rangeTitleValues?: string;
9
+ min: number;
10
+ max: number;
11
+ value: RangeValue;
12
+ onChange: (value: RangeValue) => void;
13
+ };
14
+ export declare const Range: FC<RangeProps>;
15
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const RangeStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonRange & Pick<import("react").HTMLAttributes<HTMLIonRangeElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonRangeElement>>, any, {}, never>;
3
+ export declare const RangeHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1 @@
1
+ export { Range as default } from './Range';
@@ -0,0 +1,13 @@
1
+ import { FC, ReactText } from 'react';
2
+ export declare type RowItemType = {
3
+ id: ReactText;
4
+ label: string;
5
+ };
6
+ declare type RowSelectProps = {
7
+ title: string;
8
+ rowItems: RowItemType[];
9
+ selected?: ReactText;
10
+ onChange: (value: RowItemType) => void;
11
+ };
12
+ export declare const RowSelect: FC<RowSelectProps>;
13
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const RowWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ declare type RowButtonProps = {
3
+ selected: boolean;
4
+ };
5
+ export declare const RowButton: import("styled-components").StyledComponent<"button", any, RowButtonProps, never>;
6
+ export declare const RowTitle: import("styled-components").StyledComponent<"h3", any, {}, never>;
7
+ export {};
@@ -0,0 +1 @@
1
+ export { RowSelect as default } from './RowSelect';
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ declare type ToggleProps = {
3
+ title: string;
4
+ checked?: boolean;
5
+ onChange: (checked: boolean) => void;
6
+ };
7
+ export declare const Toggle: FC<ToggleProps>;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const ToggleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const ToggleTitle: import("styled-components").StyledComponent<"h3", any, {}, never>;
@@ -0,0 +1 @@
1
+ export { Toggle as default } from './Toggle';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC } from 'react';
2
+ import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, ReactText, FC } from 'react';
3
3
  import { JSX as JSX$1 } from '@ionic/core';
4
4
 
5
5
  interface ButtonProps {
@@ -524,6 +524,51 @@ declare type NotesCardTextProps = {
524
524
  };
525
525
  declare const NotesCardText: React.FC<NotesCardTextProps>;
526
526
 
527
+ declare type ListItemType = {
528
+ id: ReactText;
529
+ label: string;
530
+ };
531
+ declare type ListSelectProps = {
532
+ title: string;
533
+ listItems: ListItemType[];
534
+ selected?: ReactText;
535
+ onChange: (item: ListItemType) => void;
536
+ };
537
+ declare const ListSelect: FC<ListSelectProps>;
538
+
539
+ declare type RangeValue = {
540
+ lower: number;
541
+ upper: number;
542
+ };
543
+ declare type RangeProps = {
544
+ title: string;
545
+ rangeTitleValues?: string;
546
+ min: number;
547
+ max: number;
548
+ value: RangeValue;
549
+ onChange: (value: RangeValue) => void;
550
+ };
551
+ declare const Range: FC<RangeProps>;
552
+
553
+ declare type RowItemType = {
554
+ id: ReactText;
555
+ label: string;
556
+ };
557
+ declare type RowSelectProps = {
558
+ title: string;
559
+ rowItems: RowItemType[];
560
+ selected?: ReactText;
561
+ onChange: (value: RowItemType) => void;
562
+ };
563
+ declare const RowSelect: FC<RowSelectProps>;
564
+
565
+ declare type ToggleProps = {
566
+ title: string;
567
+ checked?: boolean;
568
+ onChange: (checked: boolean) => void;
569
+ };
570
+ declare const Toggle: FC<ToggleProps>;
571
+
527
572
  declare type EntryNotFoundProps = {
528
573
  title?: string;
529
574
  };
@@ -570,4 +615,4 @@ declare type AvatarProps = {
570
615
  };
571
616
  declare const Avatar: FC<AvatarProps>;
572
617
 
573
- 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, ModalCalendar, NavigationBar, NoInternetConnection, NotesCardText, NotesCardTextProps, NotesEditor, _default as PersonDateTimeCard, ScrollTabs, _default$2 as SelectImpressionEmoji, SelectImpressionEmojiProps, TabBar, TherapistCard, TherapistInformationComponent, userAppTypes_d as UserAppTypes, UsersPsychologistScrollList, UsersPsychologistScrollListPropsType, YourLocalTimeBlock, toast };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "1.15.13",
3
+ "version": "2.0.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",