@selfdecode/sd-component-library 3.0.1 → 3.0.4
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/accordions/base-accordion/index.d.ts +1 -2
- package/lib/components/accordions/index.d.ts +3 -0
- package/lib/components/accordions/sublist-accordion/index.d.ts +1 -2
- package/lib/components/badges/badge/index.d.ts +1 -2
- package/lib/components/badges/index.d.ts +4 -0
- package/lib/components/bicolor-badge/index.d.ts +1 -2
- package/lib/components/boolean-feedback/index.d.ts +2 -0
- package/lib/components/breadcrumbs/breadcrumb/crumb/index.d.ts +1 -2
- package/lib/components/breadcrumbs/breadcrumb/index.d.ts +2 -2
- package/lib/components/breadcrumbs/index.d.ts +3 -0
- package/lib/components/buttons/button/interfaces.d.ts +8 -0
- package/lib/components/buttons/cta/text-cta-button/index.d.ts +1 -2
- package/lib/components/buttons/index.d.ts +3 -9
- package/lib/components/cards/index.d.ts +1 -0
- package/lib/components/carousels/index.d.ts +1 -0
- package/lib/components/checkboxes/index.d.ts +2 -0
- package/lib/components/checkboxes/partial-checkbox/index.d.ts +1 -0
- package/lib/components/complex/index.d.ts +2 -0
- package/lib/components/containers/index.d.ts +4 -4
- package/lib/components/containers/max-width-container/index.d.ts +1 -0
- package/lib/components/containers/max-width-container-v2/max-width-container-v2.d.ts +1 -1
- package/lib/components/containers/section-container/index.d.ts +1 -0
- package/lib/components/custom-scrollbar-box/index.d.ts +1 -2
- package/lib/components/dividers/index.d.ts +2 -0
- package/lib/components/dropdowns/dropdown/index.d.ts +1 -2
- package/lib/components/dropdowns/index.d.ts +2 -0
- package/lib/components/feedback/index.d.ts +2 -0
- package/lib/components/feedback/multiple-options-feedback/index.d.ts +1 -0
- package/lib/components/feedback/yes-no-feedback-block/index.d.ts +1 -0
- package/lib/components/inputs/autocomplete-input/index.d.ts +1 -0
- package/lib/components/inputs/boxy-number-input/index.d.ts +1 -2
- package/lib/components/inputs/date-inputs/base-date-range-input/utils.d.ts +4 -4
- package/lib/components/inputs/date-inputs/index.d.ts +6 -0
- package/lib/components/inputs/index.d.ts +14 -0
- package/lib/components/inputs/number-input/index.d.ts +1 -2
- package/lib/components/inputs/search-autocomplete-input/index.d.ts +1 -0
- package/lib/components/inputs/search-input/index.d.ts +1 -0
- package/lib/components/inputs/search-input/partials/index.d.ts +1 -0
- package/lib/components/inputs/search-input/partials/search-box/index.d.ts +1 -0
- package/lib/components/inputs/secondary-text-input/index.d.ts +1 -2
- package/lib/components/links/index.d.ts +2 -0
- package/lib/components/links/link/index.d.ts +1 -2
- package/lib/components/lists/index.d.ts +2 -0
- package/lib/components/lists/list/index.d.ts +1 -2
- package/lib/components/lists/primary-list/index.d.ts +1 -2
- package/lib/components/menus/actions-menu/index.d.ts +1 -0
- package/lib/components/menus/index.d.ts +1 -0
- package/lib/components/meters/people-meter/index.d.ts +1 -0
- package/lib/components/modals/index.d.ts +2 -0
- package/lib/components/modals/modal/index.d.ts +1 -2
- package/lib/components/page-selectors/index.d.ts +1 -0
- package/lib/components/page-selectors/page-selector/index.d.ts +1 -2
- package/lib/components/pagination-bars/index.d.ts +1 -0
- package/lib/components/pagination-bars/pagination-bar/index.d.ts +1 -2
- package/lib/components/progress-bars/index.d.ts +4 -0
- package/lib/components/progress-bars/line-progress-bar/index.d.ts +1 -2
- package/lib/components/progress-bars/progress-bar/index.d.ts +1 -2
- package/lib/components/progress-steps/index.d.ts +1 -2
- package/lib/components/ratings/five-stars-rating/index.d.ts +1 -2
- package/lib/components/ratings/index.d.ts +1 -0
- package/lib/components/selectors/index.d.ts +18 -21
- package/lib/components/slider/index.d.ts +1 -2
- package/lib/components/switches/index.d.ts +3 -0
- package/lib/components/switches/text-switch/index.d.ts +1 -2
- package/lib/components/switches/text-switch/interfaces.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +5 -0
- package/lib/components/tabs/tab-bar/index.d.ts +1 -0
- package/lib/components/tabs/tab-bar-v2/index.d.ts +1 -0
- package/lib/components/text-boxes/index.d.ts +2 -0
- package/lib/components/texts/index.d.ts +23 -0
- package/lib/components/texts/responsive-text/index.d.ts +1 -2
- package/lib/components/tooltips/tooltip-with-pointer/interfaces.d.ts +1 -0
- package/lib/components/utils/anchor/index.d.ts +1 -0
- package/lib/components/utils/index.d.ts +4 -0
- package/lib/components/utils/page-tracker/index.d.ts +1 -2
- package/lib/index.d.ts +32 -127
- package/lib/index.js +1 -1
- package/package.json +5 -3
- package/lib/components/complex/updated-navbar/constants.d.ts +0 -60
- package/lib/components/complex/updated-navbar/index.d.ts +0 -2
- package/lib/components/complex/updated-navbar/interfaces.d.ts +0 -6
- package/lib/components/complex/updated-navbar/partials/index.d.ts +0 -2
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/interfaces.d.ts +0 -4
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/interfaces.d.ts +0 -14
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/updated-menu-box.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/interfaces.d.ts +0 -11
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/updated-menu-row.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/interfaces.d.ts +0 -11
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/updated-navbar-item.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/interfaces.d.ts +0 -4
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/v2-to-legacy-switch-desktop.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/updated-navbar-desktop.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/index.d.ts +0 -2
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/interfaces.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/index.d.ts +0 -4
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/interfaces.d.ts +0 -5
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/unfolded-navbar-container.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/interfaces.d.ts +0 -5
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/updated-navbar-folded.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/index.d.ts +0 -2
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/interfaces.d.ts +0 -6
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/index.d.ts +0 -5
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/interfaces.d.ts +0 -11
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/item-row.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/interfaces.d.ts +0 -11
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/primary-folded-item.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/interfaces.d.ts +0 -10
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/secondary-folded-item.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/interfaces.d.ts +0 -9
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/unfolded-item.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/interfaces.d.ts +0 -8
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/unfolded-item-row.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/updated-navbar-navigation.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/interfaces.d.ts +0 -7
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/updated-navbar-search.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/index.d.ts +0 -1
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/interfaces.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/v2-to-legacy-switch-mobile.d.ts +0 -3
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/updated-navbar-mobile.d.ts +0 -3
- package/lib/components/complex/updated-navbar/updated-navbar.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfdecode/sd-component-library",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"eslint-webpack-plugin": "^3.1.1",
|
|
45
45
|
"file-loader": "^6.2.0",
|
|
46
46
|
"fs-extra": "^10.0.0",
|
|
47
|
-
"history": "^
|
|
47
|
+
"history": "^4.10.1",
|
|
48
48
|
"html-webpack-plugin": "^5.5.0",
|
|
49
49
|
"identity-obj-proxy": "^3.0.0",
|
|
50
50
|
"jest": "^27.4.3",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"react-dev-utils": "^12.0.1",
|
|
67
67
|
"react-dom": "^16.13.1",
|
|
68
68
|
"react-refresh": "^0.11.0",
|
|
69
|
-
"react-router-dom": "^
|
|
69
|
+
"react-router-dom": "^5.3.3",
|
|
70
70
|
"react-share": "^4.2.1",
|
|
71
71
|
"react-transition-group": "^4.4.1",
|
|
72
72
|
"rebass": "^4.0.7",
|
|
@@ -127,7 +127,9 @@
|
|
|
127
127
|
"@trivago/prettier-plugin-sort-imports": "^3.1.1",
|
|
128
128
|
"@types/enzyme": "^3.10.5",
|
|
129
129
|
"@types/enzyme-adapter-react-16": "^1.0.6",
|
|
130
|
+
"@types/history": "^4.7.11",
|
|
130
131
|
"@types/lodash": "^4.14.182",
|
|
132
|
+
"@types/react-router-dom": "^5.3.3",
|
|
131
133
|
"@types/react-transition-group": "^4.4.1",
|
|
132
134
|
"@types/rebass": "^4.0.6",
|
|
133
135
|
"@types/rebass__forms": "^4.0.2",
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Routes } from "../../../core/routes";
|
|
3
|
-
export declare const professionalToolsItem: {
|
|
4
|
-
title: string;
|
|
5
|
-
items: {
|
|
6
|
-
title: string;
|
|
7
|
-
url: string;
|
|
8
|
-
}[];
|
|
9
|
-
};
|
|
10
|
-
export declare const legacyToolsItem: {
|
|
11
|
-
title: string;
|
|
12
|
-
items: ({
|
|
13
|
-
title: string;
|
|
14
|
-
url: string;
|
|
15
|
-
isInternal: boolean;
|
|
16
|
-
} | {
|
|
17
|
-
title: string;
|
|
18
|
-
url: string;
|
|
19
|
-
items?: undefined;
|
|
20
|
-
} | {
|
|
21
|
-
title: string;
|
|
22
|
-
items: {
|
|
23
|
-
title: string;
|
|
24
|
-
url: string;
|
|
25
|
-
isInternal: boolean;
|
|
26
|
-
}[];
|
|
27
|
-
url?: undefined;
|
|
28
|
-
})[];
|
|
29
|
-
};
|
|
30
|
-
export declare const getMyAccountItem: (isProfessional?: boolean, isLegacy?: boolean) => {
|
|
31
|
-
Icon: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
32
|
-
title?: string | undefined;
|
|
33
|
-
}>;
|
|
34
|
-
mobileTitle: string;
|
|
35
|
-
items: ({
|
|
36
|
-
title: string;
|
|
37
|
-
url: string;
|
|
38
|
-
isInternal?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
title: string;
|
|
41
|
-
url: Routes;
|
|
42
|
-
isInternal: boolean;
|
|
43
|
-
})[];
|
|
44
|
-
};
|
|
45
|
-
export declare const regularUserItems: ({
|
|
46
|
-
title: string;
|
|
47
|
-
items: ({
|
|
48
|
-
title: string;
|
|
49
|
-
url: string;
|
|
50
|
-
} | {
|
|
51
|
-
url: string;
|
|
52
|
-
isInternal: boolean;
|
|
53
|
-
title: string;
|
|
54
|
-
})[];
|
|
55
|
-
url?: undefined;
|
|
56
|
-
} | {
|
|
57
|
-
title: string;
|
|
58
|
-
url: string;
|
|
59
|
-
items?: undefined;
|
|
60
|
-
})[];
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UpdatedNavbarDesktop } from "./updated-navbar-desktop";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UpdatedMenuBox } from "./updated-menu-box";
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UpdatedMenuRow } from "./updated-menu-row";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UpdatedNavbarItem } from "./updated-navbar-item";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, SVGProps } from "react";
|
|
2
|
-
import { UpdatedMenuRowProps } from "../updated-menu-row/interfaces";
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { V2ToLegacySwitchDesktop } from "./v2-to-legacy-switch-desktop";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UnfoldedNavbarContainer } from "./unfolded-navbar-container";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UpdatedNavbarFolded } from "./updated-navbar-folded";
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ItemRow } from "./item-row";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, SVGProps } from "react";
|
|
2
|
-
import { SxProps } from "rebass";
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PrimaryFoldedItem } from "./primary-folded-item";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, SVGProps } from "react";
|
|
2
|
-
import { UpdatedMenuRowProps } from "../../../../../updated-navbar-desktop/partials/updated-menu-row/interfaces";
|
|
3
|
-
export interface PrimaryFoldedItemProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
url?: string;
|
|
6
|
-
isInternal?: boolean;
|
|
7
|
-
items?: UpdatedMenuRowProps[];
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
active?: boolean;
|
|
10
|
-
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SecondaryFoldedItem } from "./secondary-folded-item";
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UnfoldedItem } from "./unfolded-item";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FC, SVGProps } from "react";
|
|
2
|
-
import { UpdatedMenuRowProps } from "../../../../../updated-navbar-desktop/partials/updated-menu-row/interfaces";
|
|
3
|
-
export interface UnfoldedItemProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
toggledTitle?: string;
|
|
6
|
-
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
7
|
-
items?: UpdatedMenuRowProps[];
|
|
8
|
-
onClick: () => void;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UnfoldedItemRow } from "./unfolded-item-row";
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { UpdatedNavbarSearch } from "./updated-navbar-search";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { UpdatedNavbarProps } from "../../../../interfaces";
|
|
2
|
-
import { UnfoldedNavbarContainerProps } from "../unfolded-navbar-container/interfaces";
|
|
3
|
-
export interface UpdatedNavbarSearchProps extends Pick<UpdatedNavbarProps, "searchResults" | "searchValue" | "onSearch">, Pick<UnfoldedNavbarContainerProps, "onMaskClick"> {
|
|
4
|
-
hideSearch: () => void;
|
|
5
|
-
showNavigation: () => void;
|
|
6
|
-
title?: string;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { V2ToLegacySwitchMobile } from "./v2-to-legacy-switch-mobile";
|