@selfdecode/sd-component-library 2.45.0 → 2.45.3
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/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +0 -1
- package/lib/components/bicolor-badge/interfaces.d.ts +0 -1
- package/lib/components/buttons/logos/logo/interfaces.d.ts +1 -1
- package/lib/components/buttons/logos/navbar-logo/interfaces.d.ts +1 -1
- package/lib/components/buttons/round-icon-button/interfaces.d.ts +4 -0
- package/lib/components/checkboxes/checkbox/checkbox.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +0 -1
- package/lib/components/complex/footer/presentational/footer-presentational.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons/icon-buttons.d.ts +3 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/interfaces.d.ts +4 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +0 -1
- package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +0 -1
- package/lib/components/complex/updated-navbar/constants.d.ts +59 -0
- package/lib/components/complex/updated-navbar/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/interfaces.d.ts +6 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/interfaces.d.ts +4 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/interfaces.d.ts +14 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/updated-menu-box.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/interfaces.d.ts +11 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/updated-menu-row.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/interfaces.d.ts +11 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/updated-navbar-item.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/interfaces.d.ts +4 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/v2-to-legacy-switch-desktop.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/updated-navbar-desktop.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/interfaces.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/interfaces.d.ts +5 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/unfolded-navbar-container.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/interfaces.d.ts +5 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/updated-navbar-folded.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/interfaces.d.ts +6 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/interfaces.d.ts +11 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/item-row.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/interfaces.d.ts +8 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/primary-folded-item.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/interfaces.d.ts +10 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/secondary-folded-item.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/interfaces.d.ts +9 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/unfolded-item.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/interfaces.d.ts +9 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/unfolded-item-row.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/updated-navbar-navigation.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/interfaces.d.ts +6 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/updated-navbar-search.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/interfaces.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/v2-to-legacy-switch-mobile.d.ts +3 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/updated-navbar-mobile.d.ts +3 -0
- package/lib/components/complex/updated-navbar/updated-navbar.d.ts +3 -0
- package/lib/components/containers/flex-center/flex-center.d.ts +3 -0
- package/lib/components/containers/flex-center/index.d.ts +1 -0
- package/lib/components/containers/max-width-container/max-width-container.d.ts +0 -1
- package/lib/components/containers/max-width-container-v2/index.d.ts +1 -0
- package/lib/components/containers/max-width-container-v2/interfaces.d.ts +2 -0
- package/lib/components/containers/max-width-container-v2/max-width-container-v2.d.ts +3 -0
- package/lib/components/containers/section-container/section-container.d.ts +0 -1
- package/lib/components/custom-scrollbar-box/interfaces.d.ts +4 -0
- package/lib/components/dividers/divider/interfaces.d.ts +9 -0
- package/lib/components/dividers/horizontal-divider/interfaces.d.ts +1 -1
- package/lib/components/dividers/vertical-divider/interfaces.d.ts +1 -1
- package/lib/components/feature-explanation/feature-explanation.d.ts +0 -1
- package/lib/components/inputs/multi-row-secondary-text-input/interfaces.d.ts +3 -0
- package/lib/components/inputs/search-autocomplete-input/index.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/interfaces.d.ts +26 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/index.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/interfaces.d.ts +11 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +6 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/index.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/interfaces.d.ts +9 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +6 -0
- package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +6 -0
- package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +0 -1
- package/lib/components/inputs/search-input/presentational/interfaces.d.ts +22 -1
- package/lib/components/inputs/secondary-text-input/interfaces.d.ts +6 -1
- package/lib/components/interfaces.d.ts +5 -5
- package/lib/components/labels/base-label/base-label.d.ts +0 -1
- package/lib/components/links/link/interfaces.d.ts +6 -2
- package/lib/components/links/primary-link/interfaces.d.ts +1 -6
- package/lib/components/menus/actions-menu/actions-menu.d.ts +3 -0
- package/lib/components/menus/actions-menu/index.d.ts +1 -0
- package/lib/components/menus/actions-menu/interfaces.d.ts +16 -0
- package/lib/components/meters/outline-meter/interfaces.d.ts +5 -0
- package/lib/components/meters/smiley-meter-v2/interfaces.d.ts +1 -1
- package/lib/components/modals/modal/interfaces.d.ts +8 -4
- package/lib/components/modals/primary-modal/interfaces.d.ts +0 -4
- package/lib/components/radio-button/radio-button.d.ts +0 -1
- package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +0 -1
- package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +0 -1
- package/lib/components/selectors/primary-selector/primary-selector.d.ts +0 -1
- package/lib/components/selectors/secondary-custom-selector/index.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/interfaces.d.ts +6 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-option-row/index.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-option-row/interfaces.d.ts +5 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-option-row/secondary-custom-selector-option-row.d.ts +3 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/index.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/interfaces.d.ts +5 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +2 -0
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +2 -0
- package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +0 -1
- package/lib/components/selectors/selector/selector.d.ts +0 -1
- package/lib/components/selectors/selector-v2/interfaces.d.ts +1 -1
- package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +0 -1
- package/lib/components/selectors/selector-v2/partials/base-selector-v2/interfaces.d.ts +4 -0
- package/lib/components/selectors/selector-v2/selector-v2.d.ts +0 -1
- package/lib/components/selectors/tertiary-custom-selector/index.d.ts +1 -0
- package/lib/components/selectors/tertiary-custom-selector/interfaces.d.ts +3 -0
- package/lib/components/selectors/tertiary-custom-selector/tertiary-custom-selector.d.ts +3 -0
- package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +0 -1
- package/lib/components/slider/partials/step-circles/step-circles.d.ts +0 -1
- package/lib/components/slider/slider.d.ts +0 -1
- package/lib/components/switches/toggle-switch/index.d.ts +1 -0
- package/lib/components/switches/toggle-switch/interfaces.d.ts +4 -0
- package/lib/components/switches/toggle-switch/toggle-switch.d.ts +3 -0
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
- package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
- package/lib/components/tabs/tab-bar-v2/interfaces.d.ts +5 -0
- package/lib/components/tabs/tab-bar-v2/partials/tab-v2/interfaces.d.ts +3 -1
- package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +0 -1
- package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
- package/lib/components/texts/base-text/base-text.d.ts +0 -1
- package/lib/components/texts/base-text/interfaces.d.ts +2 -2
- package/lib/components/texts/base-text-v2/interfaces.d.ts +4 -0
- package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +0 -1
- package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +0 -1
- package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +0 -1
- package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +0 -1
- package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +0 -1
- package/lib/components/texts/fourty-bold/fourty-bold.d.ts +0 -1
- package/lib/components/texts/no-translate/no-translate.d.ts +0 -1
- package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +0 -1
- package/lib/components/texts/ten-sb/ten-sb.d.ts +0 -1
- package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +0 -1
- package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +0 -1
- package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +0 -1
- package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +0 -1
- package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +0 -1
- package/lib/components/texts/twelve-regular/twelve-regular.d.ts +0 -1
- package/lib/components/texts/twelve-sb/twelve-sb.d.ts +0 -1
- package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +0 -1
- package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +0 -1
- package/lib/components/tooltips/base-tooltip/interfaces.d.ts +1 -1
- package/lib/components/tooltips/primary-info-tooltip/interfaces.d.ts +2 -1
- package/lib/components/tooltips/radio-info-button-tooltip/interfaces.d.ts +4 -0
- package/lib/components/tooltips/star-tooltip/partials/toltip-text-modal/interfaces.d.ts +2 -1
- package/lib/components/utils/anchor/interfaces.d.ts +6 -1
- package/lib/components/utils/anchor/refs-manager.d.ts +2 -1
- package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +0 -1
- package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -1
- package/lib/core/theme.d.ts +20 -7
- package/lib/index.d.ts +9 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from "../../button";
|
|
2
|
-
export declare type BaseButtonProps = Pick<ButtonProps, "variant" | "children" | "bg" | "m" | "mt" | "mr" | "mb" | "ml">;
|
|
2
|
+
export declare type BaseButtonProps = Pick<ButtonProps, "variant" | "children" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "minWidth">;
|
|
3
3
|
export interface LogoProps extends BaseButtonProps {
|
|
4
4
|
}
|
|
5
5
|
export declare type WrapperLogoProps = Pick<LogoProps, "bg" | "m" | "mt" | "mr" | "mb" | "ml">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LogoProps } from "../logo";
|
|
2
|
-
export declare type NavbarLogoProps = Pick<LogoProps, "bg" | "m" | "mt" | "mr" | "mb" | "ml">;
|
|
2
|
+
export declare type NavbarLogoProps = Pick<LogoProps, "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "minWidth">;
|
|
@@ -53,6 +53,10 @@ export interface RoundIconButtonProps extends Omit<ButtonProps, "borderRadius" |
|
|
|
53
53
|
* Whether to show tooltip.
|
|
54
54
|
*/
|
|
55
55
|
showTooltip?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Max width of the tooltip content.
|
|
58
|
+
*/
|
|
59
|
+
tooltipContentMaxWidth?: string | string[];
|
|
56
60
|
}
|
|
57
61
|
export interface Slot {
|
|
58
62
|
content: React.ReactNode;
|
|
@@ -4,6 +4,6 @@ export declare const IconButton: React.FC<IconButtonProps>;
|
|
|
4
4
|
export declare const ShortArrowIconButton: React.FC<ShortArrowIconButtonProps>;
|
|
5
5
|
export declare const DropDownIconButton: React.FC<BasicButtonProps>;
|
|
6
6
|
export declare const DropUpIconButton: React.FC<BasicButtonProps>;
|
|
7
|
-
export declare const SearchIconButton: React.FC<
|
|
8
|
-
export declare const CrossIconButton: React.FC<
|
|
9
|
-
export declare const HamburgerIconButton: React.FC<
|
|
7
|
+
export declare const SearchIconButton: React.FC<Omit<IconButtonProps, "IconComponent">>;
|
|
8
|
+
export declare const CrossIconButton: React.FC<Omit<IconButtonProps, "IconComponent" | "iconHeight">>;
|
|
9
|
+
export declare const HamburgerIconButton: React.FC<Omit<IconButtonProps, "IconComponent">>;
|
|
@@ -8,6 +8,10 @@ export declare type NavItem = {
|
|
|
8
8
|
* Optional mobile title
|
|
9
9
|
*/
|
|
10
10
|
mobileTitle?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Optional title in toggled state.
|
|
13
|
+
*/
|
|
14
|
+
toggledTitle?: string;
|
|
11
15
|
/**
|
|
12
16
|
* The links that should be displayed when:
|
|
13
17
|
* - in desktop view, the user hovers this NavItem
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const professionalToolsItem: {
|
|
3
|
+
title: string;
|
|
4
|
+
items: {
|
|
5
|
+
title: string;
|
|
6
|
+
url: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
export declare const legacyToolsItem: {
|
|
10
|
+
title: string;
|
|
11
|
+
items: ({
|
|
12
|
+
title: string;
|
|
13
|
+
url: string;
|
|
14
|
+
isInternal: boolean;
|
|
15
|
+
} | {
|
|
16
|
+
title: string;
|
|
17
|
+
url: string;
|
|
18
|
+
items?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
title: string;
|
|
21
|
+
items: {
|
|
22
|
+
title: string;
|
|
23
|
+
url: string;
|
|
24
|
+
isInternal: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
url?: undefined;
|
|
27
|
+
})[];
|
|
28
|
+
};
|
|
29
|
+
export declare const myAccountItem: {
|
|
30
|
+
Icon: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
31
|
+
title?: string | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
mobileTitle: string;
|
|
34
|
+
items: ({
|
|
35
|
+
title: string;
|
|
36
|
+
url: string;
|
|
37
|
+
isInternal?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
title: string;
|
|
40
|
+
url: string;
|
|
41
|
+
isInternal: boolean;
|
|
42
|
+
})[];
|
|
43
|
+
};
|
|
44
|
+
export declare const regularUserItems: ({
|
|
45
|
+
title: string;
|
|
46
|
+
url: string;
|
|
47
|
+
items?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
title: string;
|
|
50
|
+
items: ({
|
|
51
|
+
title: string;
|
|
52
|
+
url: string;
|
|
53
|
+
} | {
|
|
54
|
+
url: string;
|
|
55
|
+
isInternal: boolean;
|
|
56
|
+
title: string;
|
|
57
|
+
})[];
|
|
58
|
+
url?: undefined;
|
|
59
|
+
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedNavbar } from "./updated-navbar";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NavbarProps } from "../navbar/presentational/interfaces";
|
|
2
|
+
export interface UpdatedNavbarProps extends Pick<NavbarProps, "history" | "searchValue" | "onClickSearch" | "langCodes" | "selectedLangCode" | "onLanguageSwitch" | "hideSearch">, Partial<Pick<NavbarProps, "onSearch" | "searchResults">> {
|
|
3
|
+
isProfessional?: boolean;
|
|
4
|
+
isV2User?: boolean;
|
|
5
|
+
isOnLegacy?: boolean;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedNavbarDesktop } from "./updated-navbar-desktop";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedMenuBox } from "./updated-menu-box";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UpdatedMenuRowProps } from "../updated-menu-row/interfaces";
|
|
2
|
+
export interface ProMenuBoxProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
isSubmenu?: boolean;
|
|
5
|
+
rows: UpdatedMenuRowProps[];
|
|
6
|
+
width?: string | string[];
|
|
7
|
+
maxWidth?: string | string[];
|
|
8
|
+
minWidth?: string | string[];
|
|
9
|
+
/**
|
|
10
|
+
* Position props.
|
|
11
|
+
*/
|
|
12
|
+
top?: string | string[];
|
|
13
|
+
right?: string | string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedMenuRow } from "./updated-menu-row";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedNavbarItem } from "./updated-navbar-item";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UpdatedMenuRowProps } from "../updated-menu-row/interfaces";
|
|
2
|
+
import { FC, SVGProps } from "react";
|
|
3
|
+
export interface ProNavbarItemProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
6
|
+
items?: UpdatedMenuRowProps[];
|
|
7
|
+
isLast?: boolean;
|
|
8
|
+
menuBoxRight?: string | string[];
|
|
9
|
+
menuBoxWidth?: string | string[];
|
|
10
|
+
menuBoxMaxWidth?: string | string[];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { V2ToLegacySwitchDesktop } from "./v2-to-legacy-switch-desktop";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedNavbarMobile } from "./updated-navbar-mobile";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UnfoldedNavbarContainer } from "./unfolded-navbar-container";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedNavbarFolded } from "./updated-navbar-folded";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedNavbarNavigation } from "./updated-navbar-navigation";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UpdatedNavbarMobileProps } from "../../interfaces";
|
|
2
|
+
import { UnfoldedNavbarContainerProps } from "../unfolded-navbar-container/interfaces";
|
|
3
|
+
export interface UpdatedNavbarNavigationProps extends Pick<UpdatedNavbarMobileProps, "isOnLegacy" | "onSwitchClick" | "isProfessional" | "isV2User" | "selectedLangCode" | "langCodes" | "onLanguageSwitch" | "hideSearch">, Pick<UnfoldedNavbarContainerProps, "onMaskClick"> {
|
|
4
|
+
hideNavigation: () => void;
|
|
5
|
+
showSearch: () => void;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ItemRow } from "./item-row";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SxProps } from "rebass";
|
|
2
|
+
import { FC, SVGProps } from "react";
|
|
3
|
+
export interface ItemRowProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
textColor?: string;
|
|
8
|
+
iconColor?: string;
|
|
9
|
+
iconDirection?: "up" | "down";
|
|
10
|
+
sx?: SxProps["sx"];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PrimaryFoldedItem } from "./primary-folded-item";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UpdatedMenuRowProps } from "../../../../../updated-navbar-desktop/partials/updated-menu-row/interfaces";
|
|
2
|
+
export interface PrimaryFoldedItemProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
isInternal?: boolean;
|
|
6
|
+
items?: UpdatedMenuRowProps[];
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SecondaryFoldedItem } from "./secondary-folded-item";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, SVGProps } from "react";
|
|
2
|
+
import { UpdatedMenuRowProps } from "../../../../../updated-navbar-desktop/partials/updated-menu-row/interfaces";
|
|
3
|
+
export interface SecondaryFoldedItemProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
7
|
+
items?: UpdatedMenuRowProps[];
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
mt?: string | string[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UnfoldedItem } from "./unfolded-item";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UpdatedMenuRowProps } from "../../../../../updated-navbar-desktop/partials/updated-menu-row/interfaces";
|
|
2
|
+
import { FC, SVGProps } from "react";
|
|
3
|
+
export interface UnfoldedItemProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
toggledTitle?: string;
|
|
6
|
+
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
7
|
+
items?: UpdatedMenuRowProps[];
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UnfoldedItemRow } from "./unfolded-item-row";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UpdatedMenuRowProps } from "../../../../../updated-navbar-desktop/partials/updated-menu-row/interfaces";
|
|
2
|
+
export interface UnfoldedItemRowProps {
|
|
3
|
+
title: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
isInternal?: boolean;
|
|
6
|
+
items?: UpdatedMenuRowProps[];
|
|
7
|
+
isUnfolded?: boolean;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedNavbarSearch } from "./updated-navbar-search";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UnfoldedNavbarContainerProps } from "../unfolded-navbar-container/interfaces";
|
|
2
|
+
import { UpdatedNavbarProps } from "../../../../interfaces";
|
|
3
|
+
export interface UpdatedNavbarSearchProps extends Pick<UpdatedNavbarProps, "searchResults" | "searchValue" | "onSearch">, Pick<UnfoldedNavbarContainerProps, "onMaskClick"> {
|
|
4
|
+
hideSearch: () => void;
|
|
5
|
+
showNavigation: () => void;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { V2ToLegacySwitchMobile } from "./v2-to-legacy-switch-mobile";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FlexCenter } from "./flex-center";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MaxWidthContainerV2 } from "./max-width-container-v2";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseComponentProps } from "../../interfaces";
|
|
2
|
+
import { SxProps } from "rebass";
|
|
2
3
|
export interface DividerProps extends BaseComponentProps {
|
|
3
4
|
/**
|
|
4
5
|
* The divider's width
|
|
@@ -16,4 +17,12 @@ export interface DividerProps extends BaseComponentProps {
|
|
|
16
17
|
* The opacity of the divider
|
|
17
18
|
*/
|
|
18
19
|
opacity?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Prop to customize divider.
|
|
22
|
+
*/
|
|
23
|
+
sx?: SxProps["sx"];
|
|
24
|
+
/**
|
|
25
|
+
* Divider transform.
|
|
26
|
+
*/
|
|
27
|
+
transform?: string;
|
|
19
28
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DividerProps } from "../divider";
|
|
2
|
-
export declare type HorizontalDividerProps =
|
|
2
|
+
export declare type HorizontalDividerProps = Omit<DividerProps, "variant">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DividerProps } from "../divider";
|
|
2
|
-
export declare type VerticalDividerProps =
|
|
2
|
+
export declare type VerticalDividerProps = Omit<DividerProps, "variant">;
|
|
@@ -2,6 +2,9 @@ import { SecondaryTextInputProps } from "../secondary-text-input";
|
|
|
2
2
|
export interface MultiRowSecondaryTextInputProps extends Omit<SecondaryTextInputProps, "value" | "onChange"> {
|
|
3
3
|
value: string;
|
|
4
4
|
onChange: (value: string) => void;
|
|
5
|
+
fontSize?: number;
|
|
6
|
+
fontWeight?: number;
|
|
5
7
|
rows?: number;
|
|
6
8
|
lineHeight?: number;
|
|
9
|
+
underlineColor?: string;
|
|
7
10
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SearchAutocompleteInput } from "./search-autocomplete-input";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SxProps } from "rebass";
|
|
2
|
+
import { SecondaryTextInputProps } from "../secondary-text-input";
|
|
3
|
+
export interface SearchAutocompleteInputProps<T extends {
|
|
4
|
+
id: string;
|
|
5
|
+
} = {
|
|
6
|
+
id: string;
|
|
7
|
+
}> extends Omit<SecondaryTextInputProps, "sx"> {
|
|
8
|
+
searchValue: string;
|
|
9
|
+
onSearch: (newSearchValue: string) => void;
|
|
10
|
+
onSelect: (newValue: SearchAutocompleteOption<T>) => void;
|
|
11
|
+
hasSelection: boolean;
|
|
12
|
+
results: SearchAutocompleteOption<T>[];
|
|
13
|
+
rowsDisplayed?: number;
|
|
14
|
+
rowHeight?: number;
|
|
15
|
+
containerSx?: SxProps["sx"];
|
|
16
|
+
inputSx?: SxProps["sx"];
|
|
17
|
+
}
|
|
18
|
+
export interface SearchAutocompleteOption<T extends {
|
|
19
|
+
id: string;
|
|
20
|
+
} = {
|
|
21
|
+
id: string;
|
|
22
|
+
}> {
|
|
23
|
+
id: string;
|
|
24
|
+
title: string;
|
|
25
|
+
value: T;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SearchAutocompleteResultsBox } from "./search-autocomplete-results-box";
|