@mindly/ui-components 5.96.0 → 5.96.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 +6 -6
- package/dist/cjs/lib2/features/TabsToolbarFeature/types.d.ts +5 -2
- package/dist/cjs/lib2/shared/types/specialistTypes.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/lib2/features/TabsToolbarFeature/types.d.ts +5 -2
- package/dist/esm/lib2/shared/types/specialistTypes.d.ts +1 -1
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Specialist, UserType } from '../../shared';
|
|
3
|
-
export type TabsToolbarItemIcon = 'schedule' | 'list' | 'profile';
|
|
3
|
+
export type TabsToolbarItemIcon = 'schedule' | 'list' | 'profile' | 'chat';
|
|
4
4
|
export type TabsToolbarItem = {
|
|
5
5
|
label: string;
|
|
6
6
|
icon: string | React.JSX.Element;
|
|
7
7
|
iconSelected?: string | React.JSX.Element;
|
|
8
8
|
href: string;
|
|
9
|
+
badge?: number;
|
|
9
10
|
selected?: boolean;
|
|
10
11
|
};
|
|
11
12
|
export type TabsToolbarProps = {
|
|
@@ -15,5 +16,7 @@ export type TabsToolbarProps = {
|
|
|
15
16
|
slot?: 'bottom' | 'top';
|
|
16
17
|
items: TabsToolbarItem[];
|
|
17
18
|
selectedTab: string;
|
|
18
|
-
|
|
19
|
+
onTabWillChange?(e: CustomEvent<{
|
|
20
|
+
tab: string;
|
|
21
|
+
}>): void;
|
|
19
22
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1673,7 +1673,7 @@ type Specialist = {
|
|
|
1673
1673
|
reviews_count_by_stars: {
|
|
1674
1674
|
[key: string]: number;
|
|
1675
1675
|
};
|
|
1676
|
-
percent_match
|
|
1676
|
+
percent_match?: number;
|
|
1677
1677
|
session_count_by_3_days?: number;
|
|
1678
1678
|
favourite?: boolean;
|
|
1679
1679
|
app_lang?: string;
|
|
@@ -3228,6 +3228,7 @@ type TabsToolbarItem = {
|
|
|
3228
3228
|
icon: string | React.JSX.Element;
|
|
3229
3229
|
iconSelected?: string | React.JSX.Element;
|
|
3230
3230
|
href: string;
|
|
3231
|
+
badge?: number;
|
|
3231
3232
|
selected?: boolean;
|
|
3232
3233
|
};
|
|
3233
3234
|
type TabsToolbarProps = {
|
|
@@ -3237,7 +3238,9 @@ type TabsToolbarProps = {
|
|
|
3237
3238
|
slot?: 'bottom' | 'top';
|
|
3238
3239
|
items: TabsToolbarItem[];
|
|
3239
3240
|
selectedTab: string;
|
|
3240
|
-
|
|
3241
|
+
onTabWillChange?(e: CustomEvent<{
|
|
3242
|
+
tab: string;
|
|
3243
|
+
}>): void;
|
|
3241
3244
|
};
|
|
3242
3245
|
|
|
3243
3246
|
declare const TabsToolbarFeature: React__default.FC<TabsToolbarProps>;
|