@zealicsolutions/web-ui 0.2.66 → 0.2.67
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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Buttons/Button.d.ts +1 -3
- package/dist/cjs/src/atoms/Buttons/Button.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +5 -3
- package/dist/cjs/src/{molecules → atoms}/Tab/Tab.d.ts +2 -2
- package/dist/cjs/src/atoms/Tab/Tab.stories.d.ts +12 -0
- package/dist/cjs/src/{molecules → atoms}/Tab/styles.d.ts +1 -1
- package/dist/{esm/src/molecules → cjs/src/atoms}/Tab/utils.d.ts +1 -1
- package/dist/cjs/src/atoms/index.d.ts +1 -0
- package/dist/cjs/src/molecules/Columns/styles.d.ts +4 -2
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +2 -2
- package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +2 -2
- package/dist/cjs/src/molecules/TabGroup/styles.d.ts +1 -1
- package/dist/cjs/src/molecules/index.d.ts +0 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Buttons/Button.d.ts +1 -3
- package/dist/esm/src/atoms/Buttons/Button.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Buttons/TextButton.d.ts +5 -3
- package/dist/esm/src/{molecules → atoms}/Tab/Tab.d.ts +2 -2
- package/dist/esm/src/atoms/Tab/Tab.stories.d.ts +12 -0
- package/dist/esm/src/{molecules → atoms}/Tab/styles.d.ts +1 -1
- package/dist/{cjs/src/molecules → esm/src/atoms}/Tab/utils.d.ts +1 -1
- package/dist/esm/src/atoms/index.d.ts +1 -0
- package/dist/esm/src/molecules/Columns/styles.d.ts +4 -2
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +2 -2
- package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +2 -2
- package/dist/esm/src/molecules/TabGroup/styles.d.ts +1 -1
- package/dist/esm/src/molecules/index.d.ts +0 -1
- package/dist/index.d.ts +44 -44
- package/package.json +1 -1
@@ -8,8 +8,6 @@ export declare type BaseButtonProps = PropsWithChildren<{
|
|
8
8
|
disabled?: boolean;
|
9
9
|
fullWidth?: boolean;
|
10
10
|
size?: 'medium' | 'small';
|
11
|
-
activeOpacity?: number;
|
12
|
-
withoutOpacityEffect?: boolean;
|
13
11
|
}>;
|
14
12
|
export declare type ButtonProps = BaseButtonProps & {
|
15
13
|
fullWidth?: boolean;
|
@@ -21,4 +19,4 @@ export declare type ButtonProps = BaseButtonProps & {
|
|
21
19
|
containerStyle?: CSSProperties;
|
22
20
|
buttonStyle?: CSSProperties;
|
23
21
|
};
|
24
|
-
export declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children,
|
22
|
+
export declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, }: ButtonProps) => JSX.Element | null;
|
@@ -6,7 +6,7 @@ import { IconButton as IconButtonComponent } from './IconButton';
|
|
6
6
|
import { TouchableOpacityProps } from './TouchableOpacity';
|
7
7
|
declare const _default: {
|
8
8
|
title: string;
|
9
|
-
component: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children,
|
9
|
+
component: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, }: import("./Button").ButtonProps) => JSX.Element | null;
|
10
10
|
};
|
11
11
|
export default _default;
|
12
12
|
export declare const Button: ComponentStory<typeof ButtonComponent>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { BaseButtonProps } from './Button';
|
3
|
-
export declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | '
|
3
|
+
export declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClick' | 'children'> & {
|
4
4
|
buttonLink?: string;
|
5
5
|
elementId?: string;
|
6
6
|
};
|
@@ -10,7 +10,9 @@ export declare const TextButton: import("styled-components").StyledComponent<"di
|
|
10
10
|
disabled?: boolean | undefined;
|
11
11
|
} & {
|
12
12
|
children?: import("react").ReactNode;
|
13
|
-
} &
|
13
|
+
} & {
|
14
|
+
withoutOpacityEffect: boolean;
|
15
|
+
} & Pick<BaseButtonProps, "children" | "onClick" | "disabled"> & {
|
14
16
|
buttonLink?: string | undefined;
|
15
17
|
elementId?: string | undefined;
|
16
|
-
},
|
18
|
+
}, "withoutOpacityEffect">;
|
@@ -1,7 +1,7 @@
|
|
1
|
+
import { MenuItem } from 'molecules';
|
1
2
|
import React from 'react';
|
2
3
|
import { FontSizesTypes, SizesTypes, ThemeColors } from 'theme';
|
3
4
|
import { StylesType } from 'typescript';
|
4
|
-
import { MenuItem } from '..';
|
5
5
|
export declare type TabOption<T = string> = {
|
6
6
|
menuText: string;
|
7
7
|
menuKey: T;
|
@@ -22,7 +22,7 @@ export declare type TabProps<T = string, K = string> = {
|
|
22
22
|
tabTheme?: TabTheme;
|
23
23
|
divider?: boolean;
|
24
24
|
tabFont?: FontSizesTypes;
|
25
|
-
textSize?:
|
25
|
+
textSize?: number;
|
26
26
|
tabPadding?: SizesTypes | number;
|
27
27
|
textColor?: ThemeColors | string;
|
28
28
|
selectedTabTextColor?: ThemeColors | string;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
2
|
+
import React from 'react';
|
3
|
+
import { Tab as TabComponent } from './Tab';
|
4
|
+
declare const _default: {
|
5
|
+
title: string;
|
6
|
+
component: <T, K>(props: import("atoms").TabProps<T, K> & {
|
7
|
+
ref?: React.ForwardedRef<HTMLDivElement | null> | undefined;
|
8
|
+
}) => JSX.Element;
|
9
|
+
};
|
10
|
+
export default _default;
|
11
|
+
declare type Story = StoryObj<typeof TabComponent>;
|
12
|
+
export declare const Tab: Story;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { TabProps } from '
|
1
|
+
import { TabProps } from 'atoms/Tab/Tab';
|
2
2
|
declare type TabContainerProps = Pick<TabProps, 'isActive' | 'disabled' | 'tabTheme' | 'selectedTabTextColor' | 'styles' | 'textColor'>;
|
3
3
|
declare type TabTextProps = Pick<TabProps, 'tabTheme' | 'textSize' | 'textColor' | 'tabPadding'>;
|
4
4
|
export declare const TabText: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").BoxTypeMap<{}, "div">>, import("styled-components").DefaultTheme, import("atoms").TextWrapperProps & TabTextProps, never>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { TabTheme } from '
|
1
|
+
import { TabTheme } from 'atoms/Tab/Tab';
|
2
2
|
import { ThemeColors } from 'theme';
|
3
3
|
export declare const getColorForCaretDownIcon: (color?: ThemeColors | string, tabTheme?: TabTheme, disabled?: boolean) => string;
|
4
4
|
export declare const getSelectionIndicatorColor: (selectedTabIndicatorColor?: ThemeColors | string, isActiveTab?: boolean, tabTheme?: TabTheme) => string;
|
@@ -9,10 +9,12 @@ export declare const Link: import("styled-components").StyledComponent<"div", im
|
|
9
9
|
disabled?: boolean | undefined;
|
10
10
|
} & {
|
11
11
|
children?: import("react").ReactNode;
|
12
|
-
} &
|
12
|
+
} & {
|
13
|
+
withoutOpacityEffect: boolean;
|
14
|
+
} & Pick<import("atoms").BaseButtonProps, "children" | "onClick" | "disabled"> & {
|
13
15
|
buttonLink?: string | undefined;
|
14
16
|
elementId?: string | undefined;
|
15
|
-
},
|
17
|
+
}, "withoutOpacityEffect">;
|
16
18
|
export declare const ColumnCardWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
17
19
|
isMobile: boolean;
|
18
20
|
}, never>;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { TabProps, TabTheme } from 'atoms';
|
2
3
|
import { CSSProperties } from 'styled-components';
|
3
4
|
import { FontSizesTypes, SizesTypes, ThemeColors } from 'theme/types';
|
4
5
|
import { StylesType } from 'typescript';
|
5
|
-
import { TabProps, TabTheme } from '../Tab/Tab';
|
6
6
|
export declare type TabGroupProps<T = string, K = string> = {
|
7
7
|
tabs: Pick<TabProps<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>[];
|
8
8
|
activeTabKey: T;
|
@@ -12,7 +12,7 @@ export declare type TabGroupProps<T = string, K = string> = {
|
|
12
12
|
vertical?: boolean;
|
13
13
|
tabTheme?: TabTheme;
|
14
14
|
tabFont?: FontSizesTypes;
|
15
|
-
textSize?:
|
15
|
+
textSize?: number;
|
16
16
|
tabPadding?: SizesTypes | number;
|
17
17
|
tabSpacing?: SizesTypes;
|
18
18
|
textColor?: ThemeColors | string;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type {
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
3
3
|
import { TabGroup as TabGroupComponent } from './TabGroup';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
6
|
component: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, containerStyle, containerProps, tabSpacing, ...props }: import("./TabGroup").TabGroupProps<T, K>) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
|
-
export declare const TabGroup:
|
9
|
+
export declare const TabGroup: StoryFn<typeof TabGroupComponent>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { TabTheme } from '
|
2
|
+
import { TabTheme } from 'atoms/Tab/Tab';
|
3
3
|
import { SizesTypes, ThemeColors } from 'theme/types';
|
4
4
|
export declare const TabsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
5
5
|
spacing: SizesTypes;
|
@@ -10,7 +10,6 @@ export * from './Drawer/Drawer';
|
|
10
10
|
export * from './Columns/Columns';
|
11
11
|
export * from './MenuItems/MenuItems';
|
12
12
|
export * from './AvatarDropdown/AvatarDropdown';
|
13
|
-
export * from './Tab/Tab';
|
14
13
|
export * from './TabGroup/TabGroup';
|
15
14
|
export * from './FieldSection/FieldSection';
|
16
15
|
export * from './MenuNavigation/MenuNavigation';
|
package/dist/index.d.ts
CHANGED
@@ -15,12 +15,12 @@ import { FeedContentTemplateTypes as FeedContentTemplateTypes$1, FeedContentProp
|
|
15
15
|
import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
|
16
16
|
import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
|
17
17
|
import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
|
18
|
-
import { IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, InputProps as InputProps$1, ImageProps as ImageProps$1, ButtonProps as ButtonProps$1, TextButtonProps as TextButtonProps$1, RadioButtonsProps as RadioButtonsProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1, AvatarProps as AvatarProps$1 } from 'atoms';
|
18
|
+
import { IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, InputProps as InputProps$1, ImageProps as ImageProps$1, ButtonProps as ButtonProps$1, TextButtonProps as TextButtonProps$1, TabProps as TabProps$1, TabTheme as TabTheme$1, RadioButtonsProps as RadioButtonsProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1, AvatarProps as AvatarProps$1 } from 'atoms';
|
19
|
+
import { MenuItem as MenuItem$1, FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, TabProps as TabProps$2, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1 } from 'molecules';
|
19
20
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
20
21
|
import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
|
21
22
|
import { ControllerProps as ControllerProps$1, DeepPartial, FieldValues, FormState, Control as Control$1 } from 'react-hook-form';
|
22
23
|
import { ProcessTrackerStatus as ProcessTrackerStatus$1, FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
|
23
|
-
import { FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, TabProps as TabProps$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1 } from 'molecules';
|
24
24
|
import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
|
25
25
|
import { UIFields as UIFields$2 } from 'fieldsConfiguration';
|
26
26
|
import { ConsentProps as ConsentProps$2 } from 'organisms/Consent/Consent';
|
@@ -45,8 +45,6 @@ declare type BaseButtonProps = PropsWithChildren<{
|
|
45
45
|
disabled?: boolean;
|
46
46
|
fullWidth?: boolean;
|
47
47
|
size?: 'medium' | 'small';
|
48
|
-
activeOpacity?: number;
|
49
|
-
withoutOpacityEffect?: boolean;
|
50
48
|
}>;
|
51
49
|
declare type ButtonProps = BaseButtonProps & {
|
52
50
|
fullWidth?: boolean;
|
@@ -58,7 +56,7 @@ declare type ButtonProps = BaseButtonProps & {
|
|
58
56
|
containerStyle?: CSSProperties;
|
59
57
|
buttonStyle?: CSSProperties;
|
60
58
|
};
|
61
|
-
declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children,
|
59
|
+
declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, }: ButtonProps) => JSX.Element | null;
|
62
60
|
|
63
61
|
declare type TouchableOpacityProps = PropsWithChildren<{
|
64
62
|
activeOpacity?: number;
|
@@ -188,7 +186,7 @@ declare type ImageProps = {
|
|
188
186
|
declare const Image: styled_components.StyledComponent<"img", styled_components.DefaultTheme, ImageProps, never>;
|
189
187
|
declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, ImageProps, never>;
|
190
188
|
|
191
|
-
declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | '
|
189
|
+
declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClick' | 'children'> & {
|
192
190
|
buttonLink?: string;
|
193
191
|
elementId?: string;
|
194
192
|
};
|
@@ -198,10 +196,12 @@ declare const TextButton: styled_components.StyledComponent<"div", styled_compon
|
|
198
196
|
disabled?: boolean | undefined;
|
199
197
|
} & {
|
200
198
|
children?: React$1.ReactNode;
|
201
|
-
} &
|
199
|
+
} & {
|
200
|
+
withoutOpacityEffect: boolean;
|
201
|
+
} & Pick<BaseButtonProps, "children" | "onClick" | "disabled"> & {
|
202
202
|
buttonLink?: string | undefined;
|
203
203
|
elementId?: string | undefined;
|
204
|
-
},
|
204
|
+
}, "withoutOpacityEffect">;
|
205
205
|
|
206
206
|
declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
|
207
207
|
declare type ValidationTagProps = {
|
@@ -344,6 +344,38 @@ declare type IconButtonProps = {
|
|
344
344
|
};
|
345
345
|
declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => JSX.Element;
|
346
346
|
|
347
|
+
declare type TabOption<T = string> = {
|
348
|
+
menuText: string;
|
349
|
+
menuKey: T;
|
350
|
+
onMenuClick?: (key: T) => void;
|
351
|
+
isSelected?: boolean;
|
352
|
+
};
|
353
|
+
declare type TabElement = HTMLDivElement | null;
|
354
|
+
declare type TabTheme = 'light' | 'dark';
|
355
|
+
declare type TabProps<T = string, K = string> = {
|
356
|
+
tabKey: T;
|
357
|
+
text: string;
|
358
|
+
disabled?: boolean;
|
359
|
+
vertical?: boolean;
|
360
|
+
isActive?: boolean;
|
361
|
+
onClick?: (key: T) => void;
|
362
|
+
options?: MenuItem$1<K>[];
|
363
|
+
onOptionClick?: (optionKey: K) => void;
|
364
|
+
tabTheme?: TabTheme;
|
365
|
+
divider?: boolean;
|
366
|
+
tabFont?: FontSizesTypes$2;
|
367
|
+
textSize?: number;
|
368
|
+
tabPadding?: SizesTypes$1 | number;
|
369
|
+
textColor?: ThemeColors$2 | string;
|
370
|
+
selectedTabTextColor?: ThemeColors$2 | string;
|
371
|
+
selectedTabIndicatorColor?: ThemeColors$2 | string;
|
372
|
+
styles?: StylesType;
|
373
|
+
};
|
374
|
+
declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize, textColor, ...tabProps }: TabProps<T, K>, ref: React__default.ForwardedRef<TabElement>) => JSX.Element;
|
375
|
+
declare const Tab: <T, K>(props: TabProps<T, K> & {
|
376
|
+
ref?: React__default.ForwardedRef<TabElement> | undefined;
|
377
|
+
}) => ReturnType<typeof ZealTab>;
|
378
|
+
|
347
379
|
declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
|
348
380
|
declare type FieldLabelsProps = {
|
349
381
|
label: string;
|
@@ -530,48 +562,16 @@ declare type AvatarDropdownProps<T> = {
|
|
530
562
|
};
|
531
563
|
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
532
564
|
|
533
|
-
declare type TabOption<T = string> = {
|
534
|
-
menuText: string;
|
535
|
-
menuKey: T;
|
536
|
-
onMenuClick?: (key: T) => void;
|
537
|
-
isSelected?: boolean;
|
538
|
-
};
|
539
|
-
declare type TabElement = HTMLDivElement | null;
|
540
|
-
declare type TabTheme = 'light' | 'dark';
|
541
|
-
declare type TabProps<T = string, K = string> = {
|
542
|
-
tabKey: T;
|
543
|
-
text: string;
|
544
|
-
disabled?: boolean;
|
545
|
-
vertical?: boolean;
|
546
|
-
isActive?: boolean;
|
547
|
-
onClick?: (key: T) => void;
|
548
|
-
options?: MenuItem<K>[];
|
549
|
-
onOptionClick?: (optionKey: K) => void;
|
550
|
-
tabTheme?: TabTheme;
|
551
|
-
divider?: boolean;
|
552
|
-
tabFont?: FontSizesTypes$2;
|
553
|
-
textSize?: SizesTypes$1 | number;
|
554
|
-
tabPadding?: SizesTypes$1 | number;
|
555
|
-
textColor?: ThemeColors$2 | string;
|
556
|
-
selectedTabTextColor?: ThemeColors$2 | string;
|
557
|
-
selectedTabIndicatorColor?: ThemeColors$2 | string;
|
558
|
-
styles?: StylesType;
|
559
|
-
};
|
560
|
-
declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize, textColor, ...tabProps }: TabProps<T, K>, ref: React__default.ForwardedRef<TabElement>) => JSX.Element;
|
561
|
-
declare const Tab: <T, K>(props: TabProps<T, K> & {
|
562
|
-
ref?: React__default.ForwardedRef<TabElement> | undefined;
|
563
|
-
}) => ReturnType<typeof ZealTab>;
|
564
|
-
|
565
565
|
declare type TabGroupProps<T = string, K = string> = {
|
566
|
-
tabs: Pick<TabProps<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>[];
|
566
|
+
tabs: Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>[];
|
567
567
|
activeTabKey: T;
|
568
568
|
onTabChange?: (tabKey: T) => void;
|
569
569
|
onOptionClick?: (optionKey: K) => void;
|
570
570
|
styles?: StylesType;
|
571
571
|
vertical?: boolean;
|
572
|
-
tabTheme?: TabTheme;
|
572
|
+
tabTheme?: TabTheme$1;
|
573
573
|
tabFont?: FontSizesTypes$1;
|
574
|
-
textSize?:
|
574
|
+
textSize?: number;
|
575
575
|
tabPadding?: SizesTypes$2 | number;
|
576
576
|
tabSpacing?: SizesTypes$2;
|
577
577
|
textColor?: ThemeColors$1 | string;
|
@@ -813,7 +813,7 @@ declare type FooterLink = {
|
|
813
813
|
declare type ProfileInformationProps<TabKeys extends string> = {
|
814
814
|
backgroundImageUrl: string;
|
815
815
|
avatarProps: AvatarProps$1;
|
816
|
-
tabs: TabProps$
|
816
|
+
tabs: TabProps$2<string, TabKeys>[];
|
817
817
|
tabContents: Record<TabKeys, () => ReactNode>;
|
818
818
|
initialTabKey: TabKeys;
|
819
819
|
title: string;
|