@mindly/ui-components 5.91.17 → 5.92.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.
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/lib2/features/AppHeaderPageFeature/AppHeaderPageFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/AppHeaderPageFeature/AppHeaderPageFeature.stories.d.ts +7 -0
- package/dist/cjs/lib2/features/AppHeaderPageFeature/AppHeaderPageSkeletonFeature.d.ts +3 -0
- package/dist/cjs/lib2/features/AppHeaderPageFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/AppHeaderPageFeature/types.d.ts +5 -0
- package/dist/cjs/lib2/features/SpecialistPreviewFeature/SpecialistPreviewFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/SpecialistPreviewFeature/SpecialistPreviewFeatureSkeleton.d.ts +3 -0
- package/dist/cjs/lib2/features/SpecialistPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistPreviewFeature/types.d.ts +10 -0
- package/dist/cjs/lib2/features/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconEmptyList.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Divider/Divider.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/Divider/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/Divider/styles.d.ts +49 -0
- package/dist/cjs/lib2/shared/ui/Divider/types.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/EmptyList/EmptyList.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/EmptyList/EmptyList.stories.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/EmptyList/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/EmptyList/types.d.ts +5 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +2 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.stories.d.ts +7 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidgetSkeleton.d.ts +3 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/types.d.ts +11 -0
- package/dist/cjs/lib2/widgets/index.d.ts +1 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/AppHeaderPageFeature/AppHeaderPageFeature.d.ts +4 -0
- package/dist/esm/lib2/features/AppHeaderPageFeature/AppHeaderPageFeature.stories.d.ts +7 -0
- package/dist/esm/lib2/features/AppHeaderPageFeature/AppHeaderPageSkeletonFeature.d.ts +3 -0
- package/dist/esm/lib2/features/AppHeaderPageFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/AppHeaderPageFeature/types.d.ts +5 -0
- package/dist/esm/lib2/features/SpecialistPreviewFeature/SpecialistPreviewFeature.d.ts +4 -0
- package/dist/esm/lib2/features/SpecialistPreviewFeature/SpecialistPreviewFeatureSkeleton.d.ts +3 -0
- package/dist/esm/lib2/features/SpecialistPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistPreviewFeature/types.d.ts +10 -0
- package/dist/esm/lib2/features/index.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconEmptyList.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Divider/Divider.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/Divider/index.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/Divider/styles.d.ts +49 -0
- package/dist/esm/lib2/shared/ui/Divider/types.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/EmptyList/EmptyList.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/EmptyList/EmptyList.stories.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/EmptyList/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/EmptyList/types.d.ts +5 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +2 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.d.ts +4 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.stories.d.ts +7 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidgetSkeleton.d.ts +3 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/types.d.ts +11 -0
- package/dist/esm/lib2/widgets/index.d.ts +1 -0
- package/dist/index.d.ts +47 -2
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import AppHeaderPage from './AppHeaderPageFeature';
|
|
3
|
+
declare const meta: Meta<typeof AppHeaderPage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeaderPage>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Loading: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AppHeaderPageFeature } from './AppHeaderPageFeature';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistPreviewFeature } from './SpecialistPreviewFeature';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { Specialist } from '../../shared/types';
|
|
3
|
+
export type SpecialistPreviewFeatureProps = {
|
|
4
|
+
specialist?: Specialist;
|
|
5
|
+
className?: string;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
onClick?(specialist: Specialist): void;
|
|
8
|
+
onToggleFavourite?(specialist: Specialist): void;
|
|
9
|
+
t?: WithTranslation['t'];
|
|
10
|
+
};
|
|
@@ -3,7 +3,7 @@ import { JSX } from '@ionic/core/components';
|
|
|
3
3
|
export type ButtonProps = {
|
|
4
4
|
fill?: 'outline' | 'clear';
|
|
5
5
|
size?: 'default' | 'large' | 'small';
|
|
6
|
-
customSize?: 'smaller';
|
|
6
|
+
customSize?: 'smaller' | 'auto';
|
|
7
7
|
withDefaultState?: boolean;
|
|
8
8
|
color?: undefined;
|
|
9
9
|
fullWidth?: boolean;
|
|
@@ -7,7 +7,7 @@ export declare const ButtonStyled: import("styled-components").StyledComponent<i
|
|
|
7
7
|
} & Pick<import("react").HTMLAttributes<HTMLIonButtonElement>, "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" | "children" | "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" | "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<HTMLIonButtonElement>>, any, {
|
|
8
8
|
fill?: "clear" | "outline" | undefined;
|
|
9
9
|
size?: "small" | "default" | "large" | undefined;
|
|
10
|
-
customSize?: "smaller" | undefined;
|
|
10
|
+
customSize?: "auto" | "smaller" | undefined;
|
|
11
11
|
withDefaultState?: boolean | undefined;
|
|
12
12
|
color?: undefined;
|
|
13
13
|
fullWidth?: boolean | undefined;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const dividerStyles: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
default: {
|
|
4
|
+
root: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
root: string;
|
|
9
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
10
|
+
variant: {
|
|
11
|
+
default: {
|
|
12
|
+
root: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
variant: {
|
|
17
|
+
default: {
|
|
18
|
+
root: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
}>, {
|
|
22
|
+
variant: {
|
|
23
|
+
default: {
|
|
24
|
+
root: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
root: string;
|
|
29
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
30
|
+
variant: {
|
|
31
|
+
default: {
|
|
32
|
+
root: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
root: string;
|
|
37
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
38
|
+
variant: {
|
|
39
|
+
default: {
|
|
40
|
+
root: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
variant: {
|
|
45
|
+
default: {
|
|
46
|
+
root: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EmptyList } from './EmptyList';
|
package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.stories.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistPreviewListWidget from './SpecialistPreviewListWidget';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistPreviewListWidget>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistPreviewListWidget>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Loading: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistPreviewListWidget } from './SpecialistPreviewListWidget';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { Specialist } from '../../shared';
|
|
3
|
+
export type SpecialistPreviewListWidgetProps = {
|
|
4
|
+
specialists: Specialist[];
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
onToggleFavourite?(specialist: Specialist): void;
|
|
9
|
+
onCardClick?(specialist: Specialist): void;
|
|
10
|
+
t?: WithTranslation['t'];
|
|
11
|
+
};
|