@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.
Files changed (133) hide show
  1. package/lib/components/accordions/base-accordion/index.d.ts +1 -2
  2. package/lib/components/accordions/index.d.ts +3 -0
  3. package/lib/components/accordions/sublist-accordion/index.d.ts +1 -2
  4. package/lib/components/badges/badge/index.d.ts +1 -2
  5. package/lib/components/badges/index.d.ts +4 -0
  6. package/lib/components/bicolor-badge/index.d.ts +1 -2
  7. package/lib/components/boolean-feedback/index.d.ts +2 -0
  8. package/lib/components/breadcrumbs/breadcrumb/crumb/index.d.ts +1 -2
  9. package/lib/components/breadcrumbs/breadcrumb/index.d.ts +2 -2
  10. package/lib/components/breadcrumbs/index.d.ts +3 -0
  11. package/lib/components/buttons/button/interfaces.d.ts +8 -0
  12. package/lib/components/buttons/cta/text-cta-button/index.d.ts +1 -2
  13. package/lib/components/buttons/index.d.ts +3 -9
  14. package/lib/components/cards/index.d.ts +1 -0
  15. package/lib/components/carousels/index.d.ts +1 -0
  16. package/lib/components/checkboxes/index.d.ts +2 -0
  17. package/lib/components/checkboxes/partial-checkbox/index.d.ts +1 -0
  18. package/lib/components/complex/index.d.ts +2 -0
  19. package/lib/components/containers/index.d.ts +4 -4
  20. package/lib/components/containers/max-width-container/index.d.ts +1 -0
  21. package/lib/components/containers/max-width-container-v2/max-width-container-v2.d.ts +1 -1
  22. package/lib/components/containers/section-container/index.d.ts +1 -0
  23. package/lib/components/custom-scrollbar-box/index.d.ts +1 -2
  24. package/lib/components/dividers/index.d.ts +2 -0
  25. package/lib/components/dropdowns/dropdown/index.d.ts +1 -2
  26. package/lib/components/dropdowns/index.d.ts +2 -0
  27. package/lib/components/feedback/index.d.ts +2 -0
  28. package/lib/components/feedback/multiple-options-feedback/index.d.ts +1 -0
  29. package/lib/components/feedback/yes-no-feedback-block/index.d.ts +1 -0
  30. package/lib/components/inputs/autocomplete-input/index.d.ts +1 -0
  31. package/lib/components/inputs/boxy-number-input/index.d.ts +1 -2
  32. package/lib/components/inputs/date-inputs/base-date-range-input/utils.d.ts +4 -4
  33. package/lib/components/inputs/date-inputs/index.d.ts +6 -0
  34. package/lib/components/inputs/index.d.ts +14 -0
  35. package/lib/components/inputs/number-input/index.d.ts +1 -2
  36. package/lib/components/inputs/search-autocomplete-input/index.d.ts +1 -0
  37. package/lib/components/inputs/search-input/index.d.ts +1 -0
  38. package/lib/components/inputs/search-input/partials/index.d.ts +1 -0
  39. package/lib/components/inputs/search-input/partials/search-box/index.d.ts +1 -0
  40. package/lib/components/inputs/secondary-text-input/index.d.ts +1 -2
  41. package/lib/components/links/index.d.ts +2 -0
  42. package/lib/components/links/link/index.d.ts +1 -2
  43. package/lib/components/lists/index.d.ts +2 -0
  44. package/lib/components/lists/list/index.d.ts +1 -2
  45. package/lib/components/lists/primary-list/index.d.ts +1 -2
  46. package/lib/components/menus/actions-menu/index.d.ts +1 -0
  47. package/lib/components/menus/index.d.ts +1 -0
  48. package/lib/components/meters/people-meter/index.d.ts +1 -0
  49. package/lib/components/modals/index.d.ts +2 -0
  50. package/lib/components/modals/modal/index.d.ts +1 -2
  51. package/lib/components/page-selectors/index.d.ts +1 -0
  52. package/lib/components/page-selectors/page-selector/index.d.ts +1 -2
  53. package/lib/components/pagination-bars/index.d.ts +1 -0
  54. package/lib/components/pagination-bars/pagination-bar/index.d.ts +1 -2
  55. package/lib/components/progress-bars/index.d.ts +4 -0
  56. package/lib/components/progress-bars/line-progress-bar/index.d.ts +1 -2
  57. package/lib/components/progress-bars/progress-bar/index.d.ts +1 -2
  58. package/lib/components/progress-steps/index.d.ts +1 -2
  59. package/lib/components/ratings/five-stars-rating/index.d.ts +1 -2
  60. package/lib/components/ratings/index.d.ts +1 -0
  61. package/lib/components/selectors/index.d.ts +18 -21
  62. package/lib/components/slider/index.d.ts +1 -2
  63. package/lib/components/switches/index.d.ts +3 -0
  64. package/lib/components/switches/text-switch/index.d.ts +1 -2
  65. package/lib/components/switches/text-switch/interfaces.d.ts +1 -1
  66. package/lib/components/tabs/index.d.ts +5 -0
  67. package/lib/components/tabs/tab-bar/index.d.ts +1 -0
  68. package/lib/components/tabs/tab-bar-v2/index.d.ts +1 -0
  69. package/lib/components/text-boxes/index.d.ts +2 -0
  70. package/lib/components/texts/index.d.ts +23 -0
  71. package/lib/components/texts/responsive-text/index.d.ts +1 -2
  72. package/lib/components/tooltips/tooltip-with-pointer/interfaces.d.ts +1 -0
  73. package/lib/components/utils/anchor/index.d.ts +1 -0
  74. package/lib/components/utils/index.d.ts +4 -0
  75. package/lib/components/utils/page-tracker/index.d.ts +1 -2
  76. package/lib/index.d.ts +32 -127
  77. package/lib/index.js +1 -1
  78. package/package.json +5 -3
  79. package/lib/components/complex/updated-navbar/constants.d.ts +0 -60
  80. package/lib/components/complex/updated-navbar/index.d.ts +0 -2
  81. package/lib/components/complex/updated-navbar/interfaces.d.ts +0 -6
  82. package/lib/components/complex/updated-navbar/partials/index.d.ts +0 -2
  83. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/index.d.ts +0 -1
  84. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/interfaces.d.ts +0 -4
  85. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/index.d.ts +0 -1
  86. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/interfaces.d.ts +0 -14
  87. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/updated-menu-box.d.ts +0 -3
  88. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/index.d.ts +0 -1
  89. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/interfaces.d.ts +0 -11
  90. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/updated-menu-row.d.ts +0 -3
  91. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/index.d.ts +0 -1
  92. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/interfaces.d.ts +0 -11
  93. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/updated-navbar-item.d.ts +0 -3
  94. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/index.d.ts +0 -1
  95. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/interfaces.d.ts +0 -4
  96. 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
  97. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/updated-navbar-desktop.d.ts +0 -3
  98. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/index.d.ts +0 -2
  99. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/interfaces.d.ts +0 -3
  100. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/index.d.ts +0 -4
  101. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/index.d.ts +0 -1
  102. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/interfaces.d.ts +0 -5
  103. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/unfolded-navbar-container.d.ts +0 -3
  104. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/index.d.ts +0 -1
  105. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/interfaces.d.ts +0 -5
  106. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/updated-navbar-folded.d.ts +0 -3
  107. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/index.d.ts +0 -2
  108. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/interfaces.d.ts +0 -6
  109. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/index.d.ts +0 -5
  110. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/index.d.ts +0 -1
  111. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/interfaces.d.ts +0 -11
  112. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/item-row.d.ts +0 -3
  113. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/index.d.ts +0 -1
  114. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/interfaces.d.ts +0 -11
  115. 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
  116. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/index.d.ts +0 -1
  117. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/interfaces.d.ts +0 -10
  118. 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
  119. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/index.d.ts +0 -1
  120. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/interfaces.d.ts +0 -9
  121. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/unfolded-item.d.ts +0 -3
  122. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/index.d.ts +0 -1
  123. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/interfaces.d.ts +0 -8
  124. 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
  125. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/updated-navbar-navigation.d.ts +0 -3
  126. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/index.d.ts +0 -1
  127. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/interfaces.d.ts +0 -7
  128. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/updated-navbar-search.d.ts +0 -3
  129. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/index.d.ts +0 -1
  130. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/interfaces.d.ts +0 -3
  131. 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
  132. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/updated-navbar-mobile.d.ts +0 -3
  133. 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.1",
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": "^5.0.0",
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": "^6.3.0",
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,2 +0,0 @@
1
- export { UpdatedNavbar } from "./updated-navbar";
2
- export * from "./partials";
@@ -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,2 +0,0 @@
1
- export * from "./updated-navbar-mobile";
2
- export * from "./updated-navbar-desktop";
@@ -1 +0,0 @@
1
- export { UpdatedNavbarDesktop } from "./updated-navbar-desktop";
@@ -1,4 +0,0 @@
1
- import { UpdatedNavbarProps } from "../../interfaces";
2
- export interface UpdatedNavbarDesktopProps extends UpdatedNavbarProps {
3
- onSwitchClick: () => void;
4
- }
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { ProMenuBoxProps as Props } from "./interfaces";
3
- export declare const UpdatedMenuBox: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { UpdatedMenuRow } from "./updated-menu-row";
@@ -1,11 +0,0 @@
1
- export interface UpdatedMenuRowProps {
2
- title: string;
3
- url?: string;
4
- isInternal?: boolean;
5
- dontTranslate?: boolean;
6
- items?: UpdatedMenuRowProps[];
7
- /**
8
- * Whether it's a last row.
9
- */
10
- isLast?: boolean;
11
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { UpdatedMenuRowProps as Props } from "./interfaces";
3
- export declare const UpdatedMenuRow: React.FC<Props>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { ProNavbarItemProps as Props } from "./interfaces";
3
- export declare const UpdatedNavbarItem: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { V2ToLegacySwitchDesktop } from "./v2-to-legacy-switch-desktop";
@@ -1,4 +0,0 @@
1
- export interface V2ToLegacySwitchDesktopProps {
2
- onClick: () => void;
3
- isOnLegacy?: boolean;
4
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { V2ToLegacySwitchDesktopProps as Props } from "./interfaces";
3
- export declare const V2ToLegacySwitchDesktop: React.FC<Props>;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { UpdatedNavbarDesktopProps as Props } from "./interfaces";
3
- export declare const UpdatedNavbarDesktop: React.FC<Props>;
@@ -1,2 +0,0 @@
1
- export { UpdatedNavbarMobile } from "./updated-navbar-mobile";
2
- export * from "./partials";
@@ -1,3 +0,0 @@
1
- import { UpdatedNavbarDesktopProps } from "../updated-navbar-desktop/interfaces";
2
- export interface UpdatedNavbarMobileProps extends UpdatedNavbarDesktopProps {
3
- }
@@ -1,4 +0,0 @@
1
- export * from "./unfolded-navbar-container";
2
- export * from "./updated-navbar-folded";
3
- export * from "./updated-navbar-search";
4
- export * from "./updated-navbar-navigation";
@@ -1 +0,0 @@
1
- export { UnfoldedNavbarContainer } from "./unfolded-navbar-container";
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface UnfoldedNavbarContainerProps {
3
- children: React.ReactNode;
4
- onMaskClick?: () => void;
5
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { UnfoldedNavbarContainerProps as Props } from "./interfaces";
3
- export declare const UnfoldedNavbarContainer: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { UpdatedNavbarFolded } from "./updated-navbar-folded";
@@ -1,5 +0,0 @@
1
- export interface UpdatedNavbarFoldedProps {
2
- hideSearch?: boolean;
3
- showSearch: () => void;
4
- showNavigation: () => void;
5
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { UpdatedNavbarFoldedProps as Props } from "./interfaces";
3
- export declare const UpdatedNavbarFolded: React.FC<Props>;
@@ -1,2 +0,0 @@
1
- export { UpdatedNavbarNavigation } from "./updated-navbar-navigation";
2
- export * from "./partials";
@@ -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,5 +0,0 @@
1
- export { UnfoldedItemRow } from "./unfolded-item-row";
2
- export { ItemRow } from "./item-row";
3
- export { UnfoldedItem } from "./unfolded-item";
4
- export { SecondaryFoldedItem } from "./secondary-folded-item";
5
- export { PrimaryFoldedItem } from "./primary-folded-item";
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { ItemRowProps as Props } from "./interfaces";
3
- export declare const ItemRow: React.FC<Props>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { PrimaryFoldedItemProps as Props } from "./interfaces";
3
- export declare const PrimaryFoldedItem: React.FC<Props>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { SecondaryFoldedItemProps as Props } from "./interfaces";
3
- export declare const SecondaryFoldedItem: React.FC<Props>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { UnfoldedItemProps as Props } from "./interfaces";
3
- export declare const UnfoldedItem: React.FC<Props>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { UnfoldedItemRowProps as Props } from "./interfaces";
3
- export declare const UnfoldedItemRow: React.FC<Props>;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { UpdatedNavbarNavigationProps as Props } from "./interfaces";
3
- export declare const UpdatedNavbarNavigation: React.FC<Props>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { UpdatedNavbarSearchProps as Props } from "./interfaces";
3
- export declare const UpdatedNavbarSearch: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { V2ToLegacySwitchMobile } from "./v2-to-legacy-switch-mobile";
@@ -1,3 +0,0 @@
1
- import { V2ToLegacySwitchDesktopProps } from "../../../updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/interfaces";
2
- export interface V2ToLegacySwitchMobileProps extends V2ToLegacySwitchDesktopProps {
3
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { V2ToLegacySwitchMobileProps as Props } from "./interfaces";
3
- export declare const V2ToLegacySwitchMobile: React.FC<Props>;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { UpdatedNavbarMobileProps as Props } from "./interfaces";
3
- export declare const UpdatedNavbarMobile: React.FC<Props>;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { UpdatedNavbarProps as Props } from "./interfaces";
3
- export declare const UpdatedNavbar: React.FC<Props>;