@mindly/ui-components 3.0.0 → 3.1.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.
@@ -38,6 +38,11 @@ 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';
47
+ export { default as Modal } from './lib/Modal';
48
+ export * from './lib/Modal';
@@ -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';
@@ -0,0 +1,7 @@
1
+ import { ModalOptions } from '@ionic/react';
2
+ import { FC } from 'react';
3
+ interface ModalProps extends ModalOptions {
4
+ fullwidth?: boolean;
5
+ }
6
+ declare const Modal: FC<ModalProps>;
7
+ export default Modal;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ declare type ModalStyledProps = {
3
+ isFullWidth: boolean;
4
+ };
5
+ export declare const ModalStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonModal & Pick<import("react").HTMLAttributes<HTMLIonModalElement>, "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<HTMLIonModalElement>>, any, ModalStyledProps, never>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './Modal';
@@ -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
+ };