@selfdecode/sd-component-library 2.45.1 → 2.45.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 (139) hide show
  1. package/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +0 -1
  2. package/lib/components/bicolor-badge/interfaces.d.ts +0 -1
  3. package/lib/components/buttons/logos/logo/interfaces.d.ts +1 -1
  4. package/lib/components/buttons/logos/navbar-logo/interfaces.d.ts +1 -1
  5. package/lib/components/buttons/round-icon-button/interfaces.d.ts +4 -0
  6. package/lib/components/checkboxes/checkbox/checkbox.d.ts +0 -1
  7. package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +0 -1
  8. package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +0 -1
  9. package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +0 -1
  10. package/lib/components/complex/footer/presentational/footer-presentational.d.ts +0 -1
  11. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -1
  12. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -1
  13. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons/icon-buttons.d.ts +3 -3
  14. package/lib/components/complex/navbar/partials/navbar-v2/partials/interfaces.d.ts +4 -0
  15. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +0 -1
  16. package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +0 -1
  17. package/lib/components/complex/updated-navbar/constants.d.ts +59 -0
  18. package/lib/components/complex/updated-navbar/index.d.ts +1 -0
  19. package/lib/components/complex/updated-navbar/interfaces.d.ts +6 -0
  20. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/index.d.ts +1 -0
  21. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/interfaces.d.ts +4 -0
  22. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/index.d.ts +1 -0
  23. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/interfaces.d.ts +14 -0
  24. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/updated-menu-box.d.ts +3 -0
  25. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/index.d.ts +1 -0
  26. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/interfaces.d.ts +11 -0
  27. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/updated-menu-row.d.ts +3 -0
  28. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/index.d.ts +1 -0
  29. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/interfaces.d.ts +11 -0
  30. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/updated-navbar-item.d.ts +3 -0
  31. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/index.d.ts +1 -0
  32. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/interfaces.d.ts +4 -0
  33. 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
  34. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/updated-navbar-desktop.d.ts +3 -0
  35. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/index.d.ts +1 -0
  36. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/interfaces.d.ts +3 -0
  37. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/index.d.ts +1 -0
  38. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/interfaces.d.ts +5 -0
  39. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/unfolded-navbar-container.d.ts +3 -0
  40. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/index.d.ts +1 -0
  41. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/interfaces.d.ts +5 -0
  42. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/updated-navbar-folded.d.ts +3 -0
  43. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/index.d.ts +1 -0
  44. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/interfaces.d.ts +6 -0
  45. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/index.d.ts +1 -0
  46. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/interfaces.d.ts +11 -0
  47. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/item-row.d.ts +3 -0
  48. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/index.d.ts +1 -0
  49. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/interfaces.d.ts +8 -0
  50. 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
  51. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/index.d.ts +1 -0
  52. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/interfaces.d.ts +10 -0
  53. 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
  54. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/index.d.ts +1 -0
  55. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/interfaces.d.ts +9 -0
  56. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/unfolded-item.d.ts +3 -0
  57. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/index.d.ts +1 -0
  58. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/interfaces.d.ts +9 -0
  59. 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
  60. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/updated-navbar-navigation.d.ts +3 -0
  61. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/index.d.ts +1 -0
  62. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/interfaces.d.ts +6 -0
  63. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/updated-navbar-search.d.ts +3 -0
  64. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/index.d.ts +1 -0
  65. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/interfaces.d.ts +3 -0
  66. 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
  67. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/updated-navbar-mobile.d.ts +3 -0
  68. package/lib/components/complex/updated-navbar/updated-navbar.d.ts +3 -0
  69. package/lib/components/containers/flex-center/flex-center.d.ts +3 -0
  70. package/lib/components/containers/flex-center/index.d.ts +1 -0
  71. package/lib/components/containers/max-width-container/max-width-container.d.ts +0 -1
  72. package/lib/components/containers/max-width-container-v2/index.d.ts +1 -0
  73. package/lib/components/containers/max-width-container-v2/interfaces.d.ts +2 -0
  74. package/lib/components/containers/max-width-container-v2/max-width-container-v2.d.ts +3 -0
  75. package/lib/components/containers/section-container/section-container.d.ts +0 -1
  76. package/lib/components/dividers/divider/interfaces.d.ts +4 -0
  77. package/lib/components/feature-explanation/feature-explanation.d.ts +0 -1
  78. package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +0 -1
  79. package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +0 -1
  80. package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +0 -1
  81. package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +0 -1
  82. package/lib/components/inputs/search-input/presentational/interfaces.d.ts +22 -1
  83. package/lib/components/interfaces.d.ts +5 -5
  84. package/lib/components/labels/base-label/base-label.d.ts +0 -1
  85. package/lib/components/links/link/interfaces.d.ts +6 -2
  86. package/lib/components/links/primary-link/interfaces.d.ts +1 -6
  87. package/lib/components/menus/actions-menu/actions-menu.d.ts +3 -0
  88. package/lib/components/menus/actions-menu/index.d.ts +1 -0
  89. package/lib/components/menus/actions-menu/interfaces.d.ts +16 -0
  90. package/lib/components/radio-button/radio-button.d.ts +0 -1
  91. package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +0 -1
  92. package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +0 -1
  93. package/lib/components/selectors/primary-selector/primary-selector.d.ts +0 -1
  94. package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +0 -1
  95. package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +0 -1
  96. package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +0 -1
  97. package/lib/components/selectors/selector/selector.d.ts +0 -1
  98. package/lib/components/selectors/selector-v2/interfaces.d.ts +1 -1
  99. package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +0 -1
  100. package/lib/components/selectors/selector-v2/partials/base-selector-v2/interfaces.d.ts +4 -0
  101. package/lib/components/selectors/selector-v2/selector-v2.d.ts +0 -1
  102. package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +0 -1
  103. package/lib/components/slider/partials/step-circles/step-circles.d.ts +0 -1
  104. package/lib/components/slider/slider.d.ts +0 -1
  105. package/lib/components/switches/toggle-switch/index.d.ts +1 -0
  106. package/lib/components/switches/toggle-switch/interfaces.d.ts +4 -0
  107. package/lib/components/switches/toggle-switch/toggle-switch.d.ts +3 -0
  108. package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
  109. package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
  110. package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +0 -1
  111. package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
  112. package/lib/components/texts/base-text/base-text.d.ts +0 -1
  113. package/lib/components/texts/base-text/interfaces.d.ts +2 -2
  114. package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +0 -1
  115. package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +0 -1
  116. package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +0 -1
  117. package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +0 -1
  118. package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +0 -1
  119. package/lib/components/texts/fourty-bold/fourty-bold.d.ts +0 -1
  120. package/lib/components/texts/no-translate/no-translate.d.ts +0 -1
  121. package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +0 -1
  122. package/lib/components/texts/ten-sb/ten-sb.d.ts +0 -1
  123. package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +0 -1
  124. package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +0 -1
  125. package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +0 -1
  126. package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +0 -1
  127. package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +0 -1
  128. package/lib/components/texts/twelve-regular/twelve-regular.d.ts +0 -1
  129. package/lib/components/texts/twelve-sb/twelve-sb.d.ts +0 -1
  130. package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +0 -1
  131. package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +0 -1
  132. package/lib/components/tooltips/radio-info-button-tooltip/interfaces.d.ts +8 -0
  133. package/lib/components/utils/anchor/interfaces.d.ts +6 -1
  134. package/lib/components/utils/anchor/refs-manager.d.ts +2 -1
  135. package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +0 -1
  136. package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -1
  137. package/lib/index.d.ts +5 -0
  138. package/lib/index.js +1 -1
  139. package/package.json +1 -1
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { UpDownArrowProps } from "./interfaces";
3
2
  export declare function UpDownArrow(props: UpDownArrowProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface BicolorBadgeProps {
3
2
  /**
4
3
  * Color of the left section
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from "./interfaces";
3
2
  /**
4
3
  * Base checkbox component. Other checkbox components should be built from this.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FooterLinkProps } from "./interfaces";
3
2
  export declare function FooterLink(props: FooterLinkProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FooterSectionProps } from "./interfaces";
3
2
  export declare function FooterSection(props: FooterSectionProps): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function FooterSocial(): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FooterPresentationalProps } from "./interfaces";
3
2
  export declare function FooterPresentational(props: FooterPresentationalProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { MenuRowProps } from "./interfaces";
3
2
  export declare function MenuRow(props: MenuRowProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { NewAppsItemProps } from "./interfaces";
3
2
  export declare function NewAppsItem(props: NewAppsItemProps): JSX.Element;
@@ -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<BasicButtonProps>;
8
- export declare const CrossIconButton: React.FC<BasicButtonProps>;
9
- export declare const HamburgerIconButton: React.FC<BasicButtonProps>;
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
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { MenuBoxProps } from "./interfaces";
3
2
  export declare function MenuBox(props: MenuBoxProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NavbarProps } from "./interfaces";
3
2
  /**
4
3
  * Renders either navbar-v1 or navbar-v2, depeding on the v2 prop
@@ -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,4 @@
1
+ import { UpdatedNavbarProps } from "../../interfaces";
2
+ export interface UpdatedNavbarDesktopProps extends UpdatedNavbarProps {
3
+ onSwitchClick: () => void;
4
+ }
@@ -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,3 @@
1
+ import React from "react";
2
+ import { ProMenuBoxProps as Props } from "./interfaces";
3
+ export declare const UpdatedMenuBox: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { UpdatedMenuRow } from "./updated-menu-row";
@@ -0,0 +1,11 @@
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
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { UpdatedMenuRowProps as Props } from "./interfaces";
3
+ export declare const UpdatedMenuRow: React.FC<Props>;
@@ -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,3 @@
1
+ import React from "react";
2
+ import { ProNavbarItemProps as Props } from "./interfaces";
3
+ export declare const UpdatedNavbarItem: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { V2ToLegacySwitchDesktop } from "./v2-to-legacy-switch-desktop";
@@ -0,0 +1,4 @@
1
+ export interface V2ToLegacySwitchDesktopProps {
2
+ onClick: () => void;
3
+ isOnLegacy?: boolean;
4
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { V2ToLegacySwitchDesktopProps as Props } from "./interfaces";
3
+ export declare const V2ToLegacySwitchDesktop: React.FC<Props>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { UpdatedNavbarDesktopProps as Props } from "./interfaces";
3
+ export declare const UpdatedNavbarDesktop: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { UpdatedNavbarMobile } from "./updated-navbar-mobile";
@@ -0,0 +1,3 @@
1
+ import { UpdatedNavbarDesktopProps } from "../updated-navbar-desktop/interfaces";
2
+ export interface UpdatedNavbarMobileProps extends UpdatedNavbarDesktopProps {
3
+ }
@@ -0,0 +1 @@
1
+ export { UnfoldedNavbarContainer } from "./unfolded-navbar-container";
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface UnfoldedNavbarContainerProps {
3
+ children: React.ReactNode;
4
+ onMaskClick?: () => void;
5
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { UnfoldedNavbarContainerProps as Props } from "./interfaces";
3
+ export declare const UnfoldedNavbarContainer: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { UpdatedNavbarFolded } from "./updated-navbar-folded";
@@ -0,0 +1,5 @@
1
+ export interface UpdatedNavbarFoldedProps {
2
+ hideSearch?: boolean;
3
+ showSearch: () => void;
4
+ showNavigation: () => void;
5
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { UpdatedNavbarFoldedProps as Props } from "./interfaces";
3
+ export declare const UpdatedNavbarFolded: React.FC<Props>;
@@ -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,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,3 @@
1
+ import React from "react";
2
+ import { ItemRowProps as Props } from "./interfaces";
3
+ export declare const ItemRow: React.FC<Props>;
@@ -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,3 @@
1
+ import React from "react";
2
+ import { PrimaryFoldedItemProps as Props } from "./interfaces";
3
+ export declare const PrimaryFoldedItem: React.FC<Props>;
@@ -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,3 @@
1
+ import React from "react";
2
+ import { SecondaryFoldedItemProps as Props } from "./interfaces";
3
+ export declare const SecondaryFoldedItem: React.FC<Props>;
@@ -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,3 @@
1
+ import React from "react";
2
+ import { UnfoldedItemProps as Props } from "./interfaces";
3
+ export declare const UnfoldedItem: React.FC<Props>;
@@ -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,3 @@
1
+ import React from "react";
2
+ import { UnfoldedItemRowProps as Props } from "./interfaces";
3
+ export declare const UnfoldedItemRow: React.FC<Props>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { UpdatedNavbarNavigationProps as Props } from "./interfaces";
3
+ export declare const UpdatedNavbarNavigation: React.FC<Props>;
@@ -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,3 @@
1
+ import React from "react";
2
+ import { UpdatedNavbarSearchProps as Props } from "./interfaces";
3
+ export declare const UpdatedNavbarSearch: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { V2ToLegacySwitchMobile } from "./v2-to-legacy-switch-mobile";
@@ -0,0 +1,3 @@
1
+ import { V2ToLegacySwitchDesktopProps } from "../../../updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/interfaces";
2
+ export interface V2ToLegacySwitchMobileProps extends V2ToLegacySwitchDesktopProps {
3
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { V2ToLegacySwitchMobileProps as Props } from "./interfaces";
3
+ export declare const V2ToLegacySwitchMobile: React.FC<Props>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { UpdatedNavbarMobileProps as Props } from "./interfaces";
3
+ export declare const UpdatedNavbarMobile: React.FC<Props>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { UpdatedNavbarProps as Props } from "./interfaces";
3
+ export declare const UpdatedNavbar: React.FC<Props>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { BoxProps } from "rebass";
3
+ export declare const FlexCenter: React.FC<BoxProps>;
@@ -0,0 +1 @@
1
+ export { FlexCenter } from "./flex-center";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { MaxWidthContainerProps } from "./interfaces";
3
2
  export declare const MaxWidthContainer: (props: MaxWidthContainerProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { MaxWidthContainerV2 } from "./max-width-container-v2";
@@ -0,0 +1,2 @@
1
+ import { MaxWidthContainerProps } from "../max-width-container/interfaces";
2
+ export declare type MaxWidthContainerV2Props = MaxWidthContainerProps;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { MaxWidthContainerV2Props as Props } from "./interfaces";
3
+ export declare const MaxWidthContainerV2: React.FC<Props>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SectionContainerProps } from "./interfaces";
3
2
  /**
4
3
  * The SectionContainer has responsive behavior
@@ -21,4 +21,8 @@ export interface DividerProps extends BaseComponentProps {
21
21
  * Prop to customize divider.
22
22
  */
23
23
  sx?: SxProps["sx"];
24
+ /**
25
+ * Divider transform.
26
+ */
27
+ transform?: string;
24
28
  }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FeatureExplanationProps } from "./interfaces";
3
2
  export declare const FeatureExplanation: (props: FeatureExplanationProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SearchAutocompleteResultsBoxProps as Props } from "./interfaces";
3
2
  export declare const SearchAutocompleteResultsBox: <T extends {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SearchAutocompleteRowProps as Props } from "./interfaces";
3
2
  export declare const SearchAutocompleteRow: <T extends {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SearchAutocompleteInputProps as Props } from "./interfaces";
3
2
  export declare const SearchAutocompleteInput: <T extends {
4
3
  id: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SearchBoxProps } from "./interfaces";
3
2
  export declare const SearchBox: (props: SearchBoxProps) => JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { PrimaryTextInputProps } from "../../primary-text-input";
2
2
  import { SearchResult } from "../partials/search-box/interfaces";
3
+ import { SxProps } from "rebass";
3
4
  /**
4
5
  * Defines SearchInput component's properties.
5
6
  */
@@ -26,12 +27,32 @@ export interface SearchInputProps extends BaseInputProps {
26
27
  * should be placed when the X icon is not visible (hideX=true)
27
28
  */
28
29
  searchRight?: string;
30
+ /**
31
+ * Bottom offset of the search icon.
32
+ */
33
+ searchBottom?: string;
29
34
  /**
30
35
  * The array of results
31
36
  */
32
- searchResults?: Array<SearchResult>;
37
+ searchResults?: SearchResult[];
33
38
  /**
34
39
  * Whether to use react-router links.
35
40
  */
36
41
  useRouterLinks?: boolean;
42
+ /**
43
+ * Sx prop of the container.
44
+ */
45
+ containerSx?: SxProps["sx"];
46
+ /**
47
+ * Color of the x icon.
48
+ */
49
+ xColor?: string;
50
+ /**
51
+ * Bottom offset of x icon.
52
+ */
53
+ xBottom?: string;
54
+ /**
55
+ * Container max width.
56
+ */
57
+ maxWidth?: string | string[];
37
58
  }