@selfdecode/sd-component-library 2.46.5 → 2.46.8

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 (105) hide show
  1. package/lib/193805683b5b1e117aab667b99dc2e4d.svg +15 -0
  2. package/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +1 -0
  3. package/lib/components/bicolor-badge/interfaces.d.ts +1 -0
  4. package/lib/components/buttons/cta/cta-button/interfaces.d.ts +1 -1
  5. package/lib/components/buttons/cta/primary-blue-button/interfaces.d.ts +1 -1
  6. package/lib/components/buttons/cta/primary-blue-button/primary-blue-button.d.ts +2 -2
  7. package/lib/components/buttons/cta/primary-orange-button/interfaces.d.ts +1 -1
  8. package/lib/components/buttons/cta/primary-text-button/interfaces.d.ts +1 -1
  9. package/lib/components/buttons/cta/primary-text-button/primary-text-button.d.ts +2 -2
  10. package/lib/components/buttons/cta/secondary-blue-button/interfaces.d.ts +1 -1
  11. package/lib/components/buttons/cta/secondary-orange-button/interfaces.d.ts +1 -1
  12. package/lib/components/buttons/index.d.ts +25 -0
  13. package/lib/components/checkboxes/checkbox/checkbox.d.ts +1 -0
  14. package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +1 -0
  15. package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +1 -0
  16. package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +1 -0
  17. package/lib/components/complex/footer/presentational/footer-presentational.d.ts +1 -0
  18. package/lib/components/complex/navbar/index.d.ts +1 -1
  19. package/lib/components/complex/navbar/partials/index.d.ts +1 -0
  20. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +1 -0
  21. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +1 -0
  22. package/lib/components/complex/navbar/partials/navbar-v2/index.d.ts +1 -0
  23. package/lib/components/complex/navbar/partials/navbar-v2/partials/index.d.ts +1 -0
  24. package/lib/components/complex/navbar/partials/navbar-v2/partials/interfaces.d.ts +12 -0
  25. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +1 -0
  26. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/index.d.ts +1 -0
  27. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/intefaces.d.ts +7 -0
  28. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/navbar-item-without-menu.d.ts +3 -0
  29. package/lib/components/complex/navbar/partials/navbar-v2/presentational/interfaces.d.ts +1 -1
  30. package/lib/components/complex/navbar/presentational/constants-v3.d.ts +1 -0
  31. package/lib/components/complex/navbar/presentational/index.d.ts +3 -1
  32. package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +1 -0
  33. package/lib/components/complex/updated-navbar/constants.d.ts +5 -5
  34. package/lib/components/containers/max-width-container/max-width-container.d.ts +1 -0
  35. package/lib/components/containers/section-container/section-container.d.ts +1 -0
  36. package/lib/components/feature-explanation/feature-explanation.d.ts +1 -0
  37. package/lib/components/icons/environment-icon/environment.svg +15 -0
  38. package/lib/components/icons/environment-icon/index.d.ts +1 -0
  39. package/lib/components/icons/index.d.ts +1 -0
  40. package/lib/components/icons/round-bordered-star/interfaces.d.ts +2 -0
  41. package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +1 -0
  42. package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +1 -0
  43. package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +1 -0
  44. package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +1 -0
  45. package/lib/components/labels/base-label/base-label.d.ts +1 -0
  46. package/lib/components/meters/dashed-meter/interfaces.d.ts +1 -0
  47. package/lib/components/progress-bars/line-progress-bar/interfaces.d.ts +2 -1
  48. package/lib/components/progress-bars/progress-bar/interfaces.d.ts +1 -1
  49. package/lib/components/radio-button/radio-button.d.ts +1 -0
  50. package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +1 -0
  51. package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +1 -0
  52. package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.d.ts +1 -0
  53. package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +1 -0
  54. package/lib/components/selectors/index.d.ts +21 -0
  55. package/lib/components/selectors/primary-custom-scrollable-selector/index.d.ts +1 -0
  56. package/lib/components/selectors/primary-custom-scrollable-selector/interfaces.d.ts +5 -0
  57. package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +3 -0
  58. package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/index.d.ts +1 -0
  59. package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/interfaces.d.ts +4 -0
  60. package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/index.d.ts +1 -0
  61. package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/interfaces.d.ts +5 -0
  62. package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/option-row.d.ts +3 -0
  63. package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.d.ts +3 -0
  64. package/lib/components/selectors/primary-selector/primary-selector.d.ts +1 -0
  65. package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +1 -0
  66. package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +1 -0
  67. package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +1 -0
  68. package/lib/components/selectors/selector/selector.d.ts +1 -0
  69. package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +1 -0
  70. package/lib/components/selectors/selector-v2/selector-v2.d.ts +1 -0
  71. package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +1 -0
  72. package/lib/components/slider/partials/step-circles/step-circles.d.ts +1 -0
  73. package/lib/components/slider/slider.d.ts +1 -0
  74. package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +1 -0
  75. package/lib/components/tabs/tab-bar/tab-bar.d.ts +1 -0
  76. package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +1 -0
  77. package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +1 -0
  78. package/lib/components/texts/base-text/base-text.d.ts +1 -0
  79. package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +1 -0
  80. package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +1 -0
  81. package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +1 -0
  82. package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +1 -0
  83. package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +1 -0
  84. package/lib/components/texts/fourty-bold/fourty-bold.d.ts +1 -0
  85. package/lib/components/texts/no-translate/no-translate.d.ts +1 -0
  86. package/lib/components/texts/responsive-text/interfaces.d.ts +1 -1
  87. package/lib/components/texts/responsive-text-v2/interfaces.d.ts +1 -1
  88. package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +1 -0
  89. package/lib/components/texts/ten-sb/ten-sb.d.ts +1 -0
  90. package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +1 -0
  91. package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +1 -0
  92. package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +1 -0
  93. package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +1 -0
  94. package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +1 -0
  95. package/lib/components/texts/twelve-regular/twelve-regular.d.ts +1 -0
  96. package/lib/components/texts/twelve-sb/twelve-sb.d.ts +1 -0
  97. package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +1 -0
  98. package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +1 -0
  99. package/lib/components/tooltips/tooltip-with-pointer/interfaces.d.ts +4 -0
  100. package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +1 -0
  101. package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +1 -0
  102. package/lib/core/custom-hooks.d.ts +1 -1
  103. package/lib/index.d.ts +3 -41
  104. package/lib/index.js +1 -1
  105. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ width="34.594"
4
+ height="35.279"
5
+ viewBox="0 0 34.594 35.279"
6
+ >
7
+ <path
8
+ d="M25.735,32.908a19.412,19.412,0,0,1-3.72-2.553c-1.238-.932-1.179-2.021-1.179-3.394.97.035,2.349-.268,2.992.505.2.246.9,1.345,1.369.955.379-.32-.283-1.6-.412-1.895-.4-.925.9-1.286,1.564-1.912.865-.819,2.721-2.1,2.574-2.688s-1.857-2.247-2.856-1.984c-.15.039-1.477,1.429-1.732,1.642.006-.453.014-.907.02-1.36,0-.287-.534-.581-.505-.765.063-.467,1.363-1.314,1.686-1.686-.226-.141-1-.806-1.233-.707-.566.236-1.206.4-1.768.632a3.649,3.649,0,0,0-.052-.563A13.923,13.923,0,0,1,26.057,16.1l1.112.447.786.932.783.808.685.221,1.088-1.026-.284-.734v-.659a13.922,13.922,0,0,1,5.962,2.352c-.318.029-.668.076-1.062.126a3.556,3.556,0,0,0-.549-.207c.515,1.109,1.053,2.2,1.6,3.3.584,1.168,1.878,2.421,2.106,3.656a26.917,26.917,0,0,1,.189,3.774.436.436,0,0,0,.552.4c3.621-1.21,4.9-5.735,2.453-9.068A16.412,16.412,0,1,0,22.763,45.507,1.164,1.164,0,0,0,24.3,44.357v-.025a1.165,1.165,0,0,0-.795-1.052,14.062,14.062,0,0,1-6.047-22.4,15.577,15.577,0,0,1,.159,1.909c-.126,1.878-.315,3.054.784,4.64a7.67,7.67,0,0,1,.741,2.217c.2.7,1.018,1.066,1.58,1.5,1.137.869,2.218,1.88,3.421,2.644.793.505,1.288.758,1.056,1.724a6.126,6.126,0,0,1-.642,1.952,3.928,3.928,0,0,0,.339,1.148,11.817,11.817,0,0,1,3.567-5.807c-.908.03-2.019.413-2.732.1"
9
+ transform="translate(-11.752 -13.596)"
10
+ />
11
+ <path
12
+ d="M41.973,27.31a1.471,1.471,0,0,0-1.926-.8,1.44,1.44,0,0,0-.729.657,4.851,4.851,0,0,1-4.225,2.471H32.377a7.442,7.442,0,0,0-7.434,7.435.947.947,0,1,0,1.895,0,5.546,5.546,0,0,1,5.539-5.54H35.1a6.744,6.744,0,0,0,5.423-2.746,11.229,11.229,0,0,1,.642,3.769c0,5.464-3.431,9.678-8.19,10.023a5.557,5.557,0,0,1-4.593-1.689A14.284,14.284,0,0,1,36.108,36.5a.947.947,0,0,0-.435-1.844C27.228,36.647,24.835,42.53,24.3,44.284a.947.947,0,1,0,1.813.551,10.419,10.419,0,0,1,1.127-2.416,7.433,7.433,0,0,0,5.128,2.089,7.135,7.135,0,0,0,.769-.042c5.746-.417,9.916-5.425,9.916-11.91a13.116,13.116,0,0,0-1.081-5.246"
13
+ transform="translate(-8.46 -10.227)"
14
+ />
15
+ </svg>
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { UpDownArrowProps } from "./interfaces";
2
3
  export declare function UpDownArrow(props: UpDownArrowProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface BicolorBadgeProps {
2
3
  /**
3
4
  * Color of the left section
@@ -2,4 +2,4 @@ import { ButtonProps } from "../../button";
2
2
  /**
3
3
  * Additional props we want to add
4
4
  */
5
- export declare type CtaButtonProps = Pick<ButtonProps, "link" | "isInternal" | "scrollTo" | "width" | "height" | "history" | "onClick" | "children" | "disabled" | "color" | "bg" | "borderColor" | "borderWidth" | "borderRadius" | "hoverBorderColor" | "hoverColor" | "hoverBg" | "v1" | "transition" | "m" | "mt" | "mr" | "mb" | "ml" | "padding" | "loading" | "loadingIconProps" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "letterSpacing" | "sx">;
5
+ export declare type CtaButtonProps = Omit<ButtonProps, "variant" | "borderStyle" | "hoverBorderStyle">;
@@ -1,2 +1,2 @@
1
1
  import { CtaButtonProps } from "../cta-button";
2
- export declare type PrimaryBlueButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "height" | "borderRadius" | "v1" | "m" | "mt" | "mr" | "mb" | "ml" | "loading" | "loadingIconProps" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "sx">;
2
+ export declare type PrimaryBlueButtonProps = Omit<CtaButtonProps, "borderColor" | "color" | "bg" | "hoverBorderColor" | "hoverColor" | "hoverBg">;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { PrimaryBlueButtonProps } from "./interfaces";
2
+ import { PrimaryBlueButtonProps as Props } from "./interfaces";
3
3
  /**
4
4
  * The primary button.
5
5
  */
6
- export declare const PrimaryBlueButton: React.FunctionComponent<PrimaryBlueButtonProps>;
6
+ export declare const PrimaryBlueButton: React.FC<Props>;
@@ -1,2 +1,2 @@
1
1
  import { CtaButtonProps } from "../cta-button";
2
- export declare type PrimaryOrangeButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "height" | "borderRadius" | "v1" | "m" | "mt" | "mr" | "mb" | "ml" | "loading" | "loadingIconProps">;
2
+ export declare type PrimaryOrangeButtonProps = Omit<CtaButtonProps, "borderColor" | "color" | "bg" | "hoverBorderColor" | "hoverColor" | "hoverBg">;
@@ -1,2 +1,2 @@
1
1
  import { CtaButtonProps } from "../cta-button";
2
- export declare type PrimaryTextButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "color" | "borderRadius" | "m" | "mt" | "mr" | "mb" | "ml" | "height" | "padding" | "loading" | "loadingIconProps" | "letterSpacing">;
2
+ export declare type PrimaryTextButtonProps = Omit<CtaButtonProps, "borderWidth" | "bg" | "hoverBg">;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { PrimaryTextButtonProps } from "./interfaces";
2
+ import { PrimaryTextButtonProps as Props } from "./interfaces";
3
3
  /**
4
4
  * The primary button.
5
5
  */
6
- export declare const PrimaryTextButton: React.FunctionComponent<PrimaryTextButtonProps>;
6
+ export declare const PrimaryTextButton: React.FC<Props>;
@@ -1,2 +1,2 @@
1
1
  import { CtaButtonProps } from "../cta-button";
2
- export declare type SecondaryBlueButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "height" | "borderRadius" | "v1" | "m" | "mt" | "mr" | "mb" | "ml" | "loading" | "loadingIconProps" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "sx">;
2
+ export declare type SecondaryBlueButtonProps = Omit<CtaButtonProps, "borderColor" | "color" | "bg" | "hoverBorderColor" | "hoverBg">;
@@ -1,2 +1,2 @@
1
1
  import { CtaButtonProps } from "../cta-button";
2
- export declare type SecondaryOrangeButtonProps = Pick<CtaButtonProps, "link" | "isInternal" | "children" | "disabled" | "history" | "onClick" | "scrollTo" | "height" | "width" | "borderRadius" | "v1" | "m" | "mt" | "mr" | "mb" | "ml" | "loading" | "loadingIconProps">;
2
+ export declare type SecondaryOrangeButtonProps = Omit<CtaButtonProps, "borderColor" | "color" | "bg" | "hoverBorderColor" | "hoverBg">;
@@ -0,0 +1,25 @@
1
+ import { ButtonProps } from "./button";
2
+ import { CtaButtonProps } from "./cta/cta-button";
3
+ import { TextCtaButtonProps } from "./cta/text-cta-button";
4
+ export { Button } from "../buttons/button";
5
+ export type { ButtonProps };
6
+ export { CtaButton } from "../buttons/cta/cta-button";
7
+ export type { CtaButtonProps };
8
+ export { TextCtaButton } from "../buttons/cta/text-cta-button";
9
+ export type { TextCtaButtonProps };
10
+ export { PrimaryBlueButton } from "../buttons/cta/primary-blue-button";
11
+ export { PrimaryOrangeButton } from "../buttons/cta/primary-orange-button";
12
+ export { SecondaryBlueButton } from "../buttons/cta/secondary-blue-button";
13
+ export { SecondaryOrangeButton } from "../buttons/cta/secondary-orange-button";
14
+ export { PrimaryTextButton } from "../buttons/cta/primary-text-button";
15
+ export { GoToButton } from "../buttons/partials/goto-button";
16
+ export { NextButton } from "../buttons/cta/next-button";
17
+ export { ShareButton } from "../buttons/cta/share-button";
18
+ export { IconButton } from "../buttons/partials/icon-button";
19
+ export { TickButton } from "../buttons/partials/tick-button";
20
+ export { CrossButton } from "../buttons/partials/cross-button";
21
+ export { PoweredByGreyLogoButton } from "../buttons/logos/powered-by-grey-logo";
22
+ export { PoweredByWhiteLogoButton } from "../buttons/logos/powered-by-white-logo";
23
+ export { RadioInfoButton } from "../buttons/radio-info-button";
24
+ export { RoundIconButton } from "../buttons/round-icon-button";
25
+ export { NavbarLogoButton } from "../buttons/logos/navbar-logo";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CheckboxProps } from "./interfaces";
2
3
  /**
3
4
  * Base checkbox component. Other checkbox components should be built from this.
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FooterLinkProps } from "./interfaces";
2
3
  export declare function FooterLink(props: FooterLinkProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FooterSectionProps } from "./interfaces";
2
3
  export declare function FooterSection(props: FooterSectionProps): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function FooterSocial(): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FooterPresentationalProps } from "./interfaces";
2
3
  export declare function FooterPresentational(props: FooterPresentationalProps): JSX.Element;
@@ -1,2 +1,2 @@
1
- export { NavbarPresentational as Navbar, getLabShopsUrlProps, } from "./presentational";
1
+ export * from "./presentational";
2
2
  export * from "./partials";
@@ -1 +1,2 @@
1
1
  export * from "./navbar-v1";
2
+ export * from "./navbar-v2";
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MenuRowProps } from "./interfaces";
2
3
  export declare function MenuRow(props: MenuRowProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { NewAppsItemProps } from "./interfaces";
2
3
  export declare function NewAppsItem(props: NewAppsItemProps): JSX.Element;
@@ -1 +1,2 @@
1
1
  export { NavbarV2Presentational as NavbarV2 } from "./presentational";
2
+ export * from "./partials";
@@ -0,0 +1 @@
1
+ export type { NavItem as NavItemConfig } from "./interfaces";
@@ -42,6 +42,18 @@ export declare type NavItem = {
42
42
  * Whether weglot should translate text
43
43
  */
44
44
  dontTranslate?: boolean;
45
+ /**
46
+ * The url of the link. It should be set to undefined
47
+ * when it has children NavMenuItems
48
+ */
49
+ url?: string;
50
+ /**
51
+ * Flag to decide if the URL is internal.
52
+ *
53
+ * It means the url points to some page within the react app
54
+ * and react router's `Link` can be used to navigate to that page.
55
+ */
56
+ isInternal?: boolean;
45
57
  };
46
58
  export declare type NavMenuItem = {
47
59
  /**
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MenuBoxProps } from "./interfaces";
2
3
  export declare function MenuBox(props: MenuBoxProps): JSX.Element;
@@ -0,0 +1 @@
1
+ export { NavbarItemWithoutMenu } from "./navbar-item-without-menu";
@@ -0,0 +1,7 @@
1
+ import { NavItem } from "../../../interfaces";
2
+ export interface NavbarItemWithMenuProps {
3
+ /**
4
+ * The navItem to be rendered
5
+ */
6
+ item: NavItem;
7
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { NavbarItemWithMenuProps } from "./intefaces";
3
+ export declare const NavbarItemWithoutMenu: React.FC<NavbarItemWithMenuProps>;
@@ -1,4 +1,4 @@
1
- import { NavbarProps } from "../../../presentational/interfaces";
1
+ import { NavbarProps } from "../../../presentational";
2
2
  import { NavItem } from "../partials/interfaces";
3
3
  export declare type NavbarV2PresentationalProps = Pick<NavbarProps, "history" | "unsubscribedUser" | "onSearch" | "searchResults" | "itemsInCart" | "onClickCartIcon" | "isLegacy" | "borderBottomColor" | "onClickSearch" | "useRouterLinks" | "hideSearch" | "searchValue"> & {
4
4
  /**
@@ -1,5 +1,6 @@
1
1
  import { NavItem } from "../partials/navbar-v2/partials/interfaces";
2
2
  export declare const getgeneticsNavItem: (isPractitioner: boolean) => NavItem;
3
3
  export declare const labsNavItem: NavItem;
4
+ export declare const lifestyleAnalyzerNavItem: NavItem;
4
5
  export declare const getMyAccountNavItem: (isPractitioner: boolean, onLogout?: (() => void) | undefined) => NavItem;
5
6
  export declare const getLanguageNavItem: (selectedLangCode: string, langCodes: string[], onLanguageSwitch: (langCode: string) => void) => NavItem;
@@ -1,2 +1,4 @@
1
- export { NavbarPresentational } from "./navbar-presentational";
1
+ export { NavbarPresentational as Navbar } from "./navbar-presentational";
2
2
  export { getLabShopsUrlProps } from "./url-utils";
3
+ export type { NavbarProps } from "./interfaces";
4
+ export { getNativeLanguageName } from "./language-mapping";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { NavbarProps } from "./interfaces";
2
3
  /**
3
4
  * Renders either navbar-v1 or navbar-v2, depeding on the v2 prop
@@ -26,7 +26,7 @@ export declare const legacyToolsItem: {
26
26
  url?: undefined;
27
27
  })[];
28
28
  };
29
- export declare const myAccountItem: {
29
+ export declare const getMyAccountItem: (isProfessional?: boolean, isLegacy?: boolean) => {
30
30
  Icon: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
31
31
  title?: string | undefined;
32
32
  }>;
@@ -42,10 +42,6 @@ export declare const myAccountItem: {
42
42
  })[];
43
43
  };
44
44
  export declare const regularUserItems: ({
45
- title: string;
46
- url: string;
47
- items?: undefined;
48
- } | {
49
45
  title: string;
50
46
  items: ({
51
47
  title: string;
@@ -56,4 +52,8 @@ export declare const regularUserItems: ({
56
52
  title: string;
57
53
  })[];
58
54
  url?: undefined;
55
+ } | {
56
+ title: string;
57
+ url: string;
58
+ items?: undefined;
59
59
  })[];
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MaxWidthContainerProps } from "./interfaces";
2
3
  export declare const MaxWidthContainer: (props: MaxWidthContainerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SectionContainerProps } from "./interfaces";
2
3
  /**
3
4
  * The SectionContainer has responsive behavior
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FeatureExplanationProps } from "./interfaces";
2
3
  export declare const FeatureExplanation: (props: FeatureExplanationProps) => JSX.Element;
@@ -0,0 +1,15 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ width="34.594"
4
+ height="35.279"
5
+ viewBox="0 0 34.594 35.279"
6
+ >
7
+ <path
8
+ d="M25.735,32.908a19.412,19.412,0,0,1-3.72-2.553c-1.238-.932-1.179-2.021-1.179-3.394.97.035,2.349-.268,2.992.505.2.246.9,1.345,1.369.955.379-.32-.283-1.6-.412-1.895-.4-.925.9-1.286,1.564-1.912.865-.819,2.721-2.1,2.574-2.688s-1.857-2.247-2.856-1.984c-.15.039-1.477,1.429-1.732,1.642.006-.453.014-.907.02-1.36,0-.287-.534-.581-.505-.765.063-.467,1.363-1.314,1.686-1.686-.226-.141-1-.806-1.233-.707-.566.236-1.206.4-1.768.632a3.649,3.649,0,0,0-.052-.563A13.923,13.923,0,0,1,26.057,16.1l1.112.447.786.932.783.808.685.221,1.088-1.026-.284-.734v-.659a13.922,13.922,0,0,1,5.962,2.352c-.318.029-.668.076-1.062.126a3.556,3.556,0,0,0-.549-.207c.515,1.109,1.053,2.2,1.6,3.3.584,1.168,1.878,2.421,2.106,3.656a26.917,26.917,0,0,1,.189,3.774.436.436,0,0,0,.552.4c3.621-1.21,4.9-5.735,2.453-9.068A16.412,16.412,0,1,0,22.763,45.507,1.164,1.164,0,0,0,24.3,44.357v-.025a1.165,1.165,0,0,0-.795-1.052,14.062,14.062,0,0,1-6.047-22.4,15.577,15.577,0,0,1,.159,1.909c-.126,1.878-.315,3.054.784,4.64a7.67,7.67,0,0,1,.741,2.217c.2.7,1.018,1.066,1.58,1.5,1.137.869,2.218,1.88,3.421,2.644.793.505,1.288.758,1.056,1.724a6.126,6.126,0,0,1-.642,1.952,3.928,3.928,0,0,0,.339,1.148,11.817,11.817,0,0,1,3.567-5.807c-.908.03-2.019.413-2.732.1"
9
+ transform="translate(-11.752 -13.596)"
10
+ />
11
+ <path
12
+ d="M41.973,27.31a1.471,1.471,0,0,0-1.926-.8,1.44,1.44,0,0,0-.729.657,4.851,4.851,0,0,1-4.225,2.471H32.377a7.442,7.442,0,0,0-7.434,7.435.947.947,0,1,0,1.895,0,5.546,5.546,0,0,1,5.539-5.54H35.1a6.744,6.744,0,0,0,5.423-2.746,11.229,11.229,0,0,1,.642,3.769c0,5.464-3.431,9.678-8.19,10.023a5.557,5.557,0,0,1-4.593-1.689A14.284,14.284,0,0,1,36.108,36.5a.947.947,0,0,0-.435-1.844C27.228,36.647,24.835,42.53,24.3,44.284a.947.947,0,1,0,1.813.551,10.419,10.419,0,0,1,1.127-2.416,7.433,7.433,0,0,0,5.128,2.089,7.135,7.135,0,0,0,.769-.042c5.746-.417,9.916-5.425,9.916-11.91a13.116,13.116,0,0,0-1.081-5.246"
13
+ transform="translate(-8.46 -10.227)"
14
+ />
15
+ </svg>
@@ -0,0 +1 @@
1
+ export { ReactComponent as EnvironmentIcon } from "./environment.svg";
@@ -17,3 +17,4 @@ export { StarIcon } from "./star-icon";
17
17
  export { VialIcon } from "./vial-icon";
18
18
  export { WarningCircleIcon } from "./warning-circle-icon";
19
19
  export { TriangularPointerIcon } from "./triangular-pointer-icon";
20
+ export { EnvironmentIcon } from "./environment-icon";
@@ -1,4 +1,6 @@
1
+ import { SxProps } from "rebass";
1
2
  export interface RoundBorderedStarProps {
3
+ sx?: SxProps["sx"];
2
4
  /**
3
5
  * Icon size (20px by default)
4
6
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SearchAutocompleteResultsBoxProps as Props } from "./interfaces";
2
3
  export declare const SearchAutocompleteResultsBox: <T extends {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SearchAutocompleteRowProps as Props } from "./interfaces";
2
3
  export declare const SearchAutocompleteRow: <T extends {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SearchAutocompleteInputProps as Props } from "./interfaces";
2
3
  export declare const SearchAutocompleteInput: <T extends {
3
4
  id: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SearchBoxProps } from "./interfaces";
2
3
  export declare const SearchBox: (props: SearchBoxProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { BaseLabelProps } from "./interfaces";
2
3
  export declare const BaseLabel: (props: BaseLabelProps) => JSX.Element;
@@ -14,4 +14,5 @@ export interface DashedMeterProps extends BaseComponentProps, Pick<BaseGridConta
14
14
  dashHeight?: string;
15
15
  verticalDashHeight?: string;
16
16
  dashBorderRadius?: string;
17
+ activeColor?: string;
17
18
  }
@@ -1,2 +1,3 @@
1
1
  import { ProgressBarProps } from "../progress-bar";
2
- export declare type LineProgressBarProps = Pick<ProgressBarProps, "totalSteps" | "currentStep" | "m" | "mt" | "mr" | "mb" | "ml">;
2
+ import { BackgroundColorProps } from "../progress-bar/interfaces";
3
+ export declare type LineProgressBarProps = Pick<ProgressBarProps, "totalSteps" | "currentStep" | "m" | "mt" | "mr" | "mb" | "ml"> & Pick<BackgroundColorProps, "completedColor" | "reaminsColor">;
@@ -31,7 +31,7 @@ interface BackgroundProps {
31
31
  * The following props are used if we just want to provide some color to the
32
32
  * background of progress bar and don't want additional effects.
33
33
  */
34
- interface BackgroundColorProps {
34
+ export interface BackgroundColorProps {
35
35
  withBackgroundProps?: false;
36
36
  /**
37
37
  * The color of the completed part of our progress.
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { RadioButtonProps } from "./interfaces";
2
3
  export declare const RadioButton: (props: RadioButtonProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FiveStarsRatingProps } from "./interfaces";
2
3
  export declare const FiveStarsRating: (props: FiveStarsRatingProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { CompactPrimarySelectorProps as Props } from "./interfaces";
2
3
  export declare const CompactPrimarySelector: <T extends string = string>(props: Pick<import("../selector").SelectorProps<T>, "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onChange" | "name" | "defaultValue" | "textTransform" | "selectorLabel" | "options" | "disabledTextValue" | "hideDefaultOnSelect" | "labelMargin" | "translateSelect">) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { CustomScrollableSelectorProps as Props } from "./interfaces";
2
3
  export declare const CustomScrollableSelector: <T extends string = string>(props: Props<T>) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { CustomScrollableOptionsBoxProps as Props } from "./interfaces";
2
3
  export declare const CustomScrollableOptionsBox: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { BaseCompactSelectorProps, BaseSelectorProps, SelectorOptionType } from "../../interfaces";
2
+ export type { SelectorOptionType as SelectorOption };
3
+ export { Selector } from "./selector";
4
+ export type { BaseSelectorProps as SelectorProps };
5
+ export { TertiarySelector } from "./tertiary-selector";
6
+ export { PrimarySelector } from "./primary-selector";
7
+ export { SecondarySelector } from "./secondary-selector";
8
+ export { CompactPrimarySelector } from "./compact-primary-selector";
9
+ export declare type CompactPrimarySelectorProps<T extends string = string> = BaseCompactSelectorProps<T>;
10
+ export { CustomSelector } from "./custom-selector";
11
+ export { SecondaryCustomSelector } from "./secondary-custom-selector";
12
+ export { TertiaryCustomSelector } from "./tertiary-custom-selector";
13
+ export { CombinedSecondaryCustomSelector } from "./combined-secondary-custom-selector";
14
+ export { SelectorV2 } from "./selector-v2";
15
+ export type { SelectorV2Props, SelectorOptionV2 } from "./selector-v2";
16
+ export { TertiarySelectorV2 } from "./tertiary-selector-v2";
17
+ export { SecondarySelectorV2 } from "./secondary-selector-v2";
18
+ export { PrimarySelectorV2 } from "./primary-selector-v2";
19
+ export { CombinedSecondarySelectorV2 } from "./combined-secondary-selector-v2";
20
+ export { CustomScrollableSelector } from "./custom-scrollable-selector";
21
+ export { PrimaryCustomScrollableSelector } from "./primary-custom-scrollable-selector";
@@ -0,0 +1 @@
1
+ export { PrimaryCustomScrollableSelector } from "./primary-custom-scrollable-selector";
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { SecondaryCustomSelectorProps } from "../secondary-custom-selector/interfaces";
3
+ export interface PrimaryCustomScrollableSelectorProps<T extends string = string> extends Omit<SecondaryCustomSelectorProps<T>, "variant"> {
4
+ leftSlot?: React.ReactNode;
5
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { CustomScrollableOptionsBoxProps as Props } from "./interfaces";
3
+ export declare const CustomScrollableOptionsBox: <T extends string = string>(props: Props<T>) => JSX.Element | null;
@@ -0,0 +1 @@
1
+ export { CustomScrollableOptionsBox } from "./custom-scrollable-options-box";
@@ -0,0 +1,4 @@
1
+ import { PrimaryCustomScrollableSelectorProps } from "../../interfaces";
2
+ export interface CustomScrollableOptionsBoxProps<T extends string = string> extends Pick<PrimaryCustomScrollableSelectorProps<T>, "value" | "options" | "onChange"> {
3
+ isVisible: boolean;
4
+ }
@@ -0,0 +1 @@
1
+ export { OptionRow } from "./option-row";
@@ -0,0 +1,5 @@
1
+ import { SelectorOptionV2 } from "../../../selector-v2";
2
+ export interface OptionRowProps<T extends string = string> extends SelectorOptionV2<T> {
3
+ currentSelection?: boolean;
4
+ onClick: () => void;
5
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { OptionRowProps as Props } from "./interfaces";
3
+ export declare const OptionRow: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { PrimaryCustomScrollableSelectorProps as Props } from "./interfaces";
3
+ export declare const PrimaryCustomScrollableSelector: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PrimarySelectorProps as Props } from "./interfaces";
2
3
  /**
3
4
  * The PrimarySelector.
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SecondaryCustomSelectorOptionsBoxProps as Props } from "./interfaces";
2
3
  export declare const SecondaryCustomSelectorOptionsBox: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SecondaryCustomSelectorProps as Props } from "./interfaces";
2
3
  export declare const SecondaryCustomSelector: <T extends string = string>(props: Props<T>) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SecondarySelectorProps as Props } from "./interfaces";
2
3
  /**
3
4
  * The SecondarySelector.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectorProps as Props } from "./interfaces";
2
3
  export declare const getNoTranslateClass: (flag: boolean) => "no-translate" | undefined;
3
4
  export declare const Selector: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { BaseSelectorV2Props as Props } from "./interfaces";
2
3
  export declare const BaseSelectorV2: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SelectorV2Props as Props } from "./interfaces";
2
3
  export declare const SelectorV2: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TertiarySelectorProps as Props } from "./interfaces";
2
3
  /**
3
4
  * The TertiarySelector.
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { StepCirclesProps } from "./interfaces";
2
3
  export declare const StepCircles: (props: StepCirclesProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SliderProps } from "./interfaces";
2
3
  export declare const Slider: (props: SliderProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TabProps } from "./interfaces";
2
3
  export declare const Ribbon: ({ active, activeColor, color, }: {
3
4
  active?: boolean | undefined;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { TabBarProps } from "./interfaces";
2
3
  export declare function TabBar<T>({ tabs, selectedTabId, onTabSelect, activeColor, color, displayBorder, tabPadding, tabWidth, tabHeight, tabMaxWidth, }: TabBarProps<T>): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { TabbedViewProps } from "./interfaces";
2
3
  export declare function TabbedView({ tabs, color, activeColor, contentPadding, tabPadding, }: TabbedViewProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TabsMenuProps } from "./interfaces";
2
3
  /**
3
4
  * TabsMenu component.
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { BaseTextProps } from "./interfaces";
2
3
  export declare const BaseText: (props: BaseTextProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { EighteenBoldProps } from "./interfaces";
2
3
  export declare const EighteenBold: (props: EighteenBoldProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { EighteenRegularProps } from "./interfaces";
2
3
  export declare const EighteenRegular: (props: EighteenRegularProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FiftyFiveSbProps } from "./interfaces";
2
3
  export declare const FiftyFiveSb: (props: FiftyFiveSbProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FourteenRegularProps } from "./interfaces";
2
3
  export declare const FourteenRegular: (props: FourteenRegularProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { FourteenSbProps } from "./interfaces";
2
3
  export declare const FourteenSb: (props: FourteenSbProps) => JSX.Element;