@selfdecode/sd-component-library 2.45.13 → 2.45.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/193805683b5b1e117aab667b99dc2e4d.svg +15 -0
- package/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +0 -1
- package/lib/components/bicolor-badge/interfaces.d.ts +0 -1
- package/lib/components/buttons/cta/cta-button/interfaces.d.ts +1 -1
- package/lib/components/buttons/cta/primary-blue-button/interfaces.d.ts +1 -1
- package/lib/components/buttons/cta/primary-blue-button/primary-blue-button.d.ts +2 -2
- package/lib/components/buttons/cta/primary-orange-button/interfaces.d.ts +1 -1
- package/lib/components/buttons/cta/primary-text-button/interfaces.d.ts +1 -1
- package/lib/components/buttons/cta/primary-text-button/primary-text-button.d.ts +2 -2
- package/lib/components/buttons/cta/secondary-blue-button/interfaces.d.ts +1 -1
- package/lib/components/buttons/cta/secondary-orange-button/interfaces.d.ts +1 -1
- package/lib/components/buttons/index.d.ts +25 -0
- package/lib/components/checkboxes/checkbox/checkbox.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +0 -1
- package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +0 -1
- package/lib/components/complex/footer/presentational/footer-presentational.d.ts +0 -1
- package/lib/components/complex/navbar/index.d.ts +2 -1
- package/lib/components/complex/navbar/partials/index.d.ts +2 -0
- package/lib/components/complex/navbar/partials/navbar-v1/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/interfaces.d.ts +12 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/intefaces.d.ts +7 -0
- 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
- package/lib/components/complex/navbar/partials/navbar-v2/presentational/interfaces.d.ts +1 -1
- package/lib/components/complex/navbar/presentational/constants-v3.d.ts +1 -0
- package/lib/components/complex/navbar/presentational/index.d.ts +3 -1
- package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +0 -1
- package/lib/components/complex/updated-navbar/constants.d.ts +5 -5
- package/lib/components/complex/updated-navbar/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/index.d.ts +2 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/index.d.ts +4 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/index.d.ts +1 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/index.d.ts +5 -0
- package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/interfaces.d.ts +1 -0
- package/lib/components/containers/max-width-container/max-width-container.d.ts +0 -1
- package/lib/components/containers/section-container/section-container.d.ts +0 -1
- package/lib/components/feature-explanation/feature-explanation.d.ts +0 -1
- package/lib/components/icons/environment-icon/environment.svg +15 -0
- package/lib/components/icons/environment-icon/index.d.ts +1 -0
- package/lib/components/icons/index.d.ts +1 -0
- package/lib/components/icons/round-bordered-star/interfaces.d.ts +2 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +0 -1
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +0 -1
- package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +0 -1
- package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +0 -1
- package/lib/components/labels/base-label/base-label.d.ts +0 -1
- package/lib/components/menus/actions-menu/interfaces.d.ts +4 -0
- package/lib/components/radio-button/radio-button.d.ts +0 -1
- package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +0 -1
- package/lib/components/selectors/combined-secondary-custom-selector/combined-secondary-custom-selector.d.ts +3 -0
- package/lib/components/selectors/combined-secondary-custom-selector/index.d.ts +1 -0
- package/lib/components/selectors/combined-secondary-custom-selector/interfaces.d.ts +3 -0
- package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +0 -1
- package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.d.ts +2 -0
- package/lib/components/selectors/custom-scrollable-selector/index.d.ts +1 -0
- package/lib/components/selectors/custom-scrollable-selector/interfaces.d.ts +3 -0
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +2 -0
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/index.d.ts +1 -0
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/interfaces.d.ts +3 -0
- package/lib/components/selectors/index.d.ts +21 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/index.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/interfaces.d.ts +5 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +2 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/index.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/interfaces.d.ts +4 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/index.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/interfaces.d.ts +5 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/option-row.d.ts +2 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.d.ts +2 -0
- package/lib/components/selectors/primary-selector/primary-selector.d.ts +0 -1
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +0 -1
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +0 -1
- package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +0 -1
- package/lib/components/selectors/selector/selector.d.ts +0 -1
- package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +0 -1
- package/lib/components/selectors/selector-v2/selector-v2.d.ts +0 -1
- package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +0 -1
- package/lib/components/slider/partials/step-circles/step-circles.d.ts +0 -1
- package/lib/components/slider/slider.d.ts +0 -1
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
- package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
- package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +0 -1
- package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
- package/lib/components/texts/base-text/base-text.d.ts +0 -1
- package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +0 -1
- package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +0 -1
- package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +0 -1
- package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +0 -1
- package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +0 -1
- package/lib/components/texts/fourty-bold/fourty-bold.d.ts +0 -1
- package/lib/components/texts/no-translate/no-translate.d.ts +0 -1
- package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +0 -1
- package/lib/components/texts/ten-sb/ten-sb.d.ts +0 -1
- package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +0 -1
- package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +0 -1
- package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +0 -1
- package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +0 -1
- package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +0 -1
- package/lib/components/texts/twelve-regular/twelve-regular.d.ts +0 -1
- package/lib/components/texts/twelve-sb/twelve-sb.d.ts +0 -1
- package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +0 -1
- package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +0 -1
- package/lib/components/tooltips/tooltip-with-pointer/interfaces.d.ts +4 -0
- package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +0 -1
- package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -1
- package/lib/core/custom-hooks.d.ts +1 -1
- package/lib/core/theme.d.ts +10 -0
- package/lib/index.d.ts +5 -41
- package/lib/index.js +1 -1
- 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>
|
|
@@ -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 =
|
|
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 =
|
|
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.
|
|
6
|
+
export declare const PrimaryBlueButton: React.FC<Props>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CtaButtonProps } from "../cta-button";
|
|
2
|
-
export declare type PrimaryOrangeButtonProps =
|
|
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 =
|
|
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.
|
|
6
|
+
export declare const PrimaryTextButton: React.FC<Props>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CtaButtonProps } from "../cta-button";
|
|
2
|
-
export declare type SecondaryBlueButtonProps =
|
|
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 =
|
|
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 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./presentational";
|
|
2
|
+
export * from "./partials";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./navbar-mobile-v1";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./icon-buttons";
|
|
@@ -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
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NavbarItemWithoutMenu } from "./navbar-item-without-menu";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavbarProps } from "../../../presentational
|
|
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";
|
|
@@ -26,7 +26,7 @@ export declare const legacyToolsItem: {
|
|
|
26
26
|
url?: undefined;
|
|
27
27
|
})[];
|
|
28
28
|
};
|
|
29
|
-
export declare const
|
|
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
|
})[];
|
|
@@ -3,4 +3,5 @@ import { UnfoldedNavbarContainerProps } from "../unfolded-navbar-container/inter
|
|
|
3
3
|
export interface UpdatedNavbarSearchProps extends Pick<UpdatedNavbarProps, "searchResults" | "searchValue" | "onSearch">, Pick<UnfoldedNavbarContainerProps, "onMaskClick"> {
|
|
4
4
|
hideSearch: () => void;
|
|
5
5
|
showNavigation: () => void;
|
|
6
|
+
title?: string;
|
|
6
7
|
}
|
|
@@ -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,10 +1,14 @@
|
|
|
1
1
|
import { SxProps } from "rebass";
|
|
2
2
|
export interface ActionsMenuProps {
|
|
3
|
+
iconSize?: string;
|
|
4
|
+
iconBorderWidth?: string;
|
|
5
|
+
activeScale?: number;
|
|
3
6
|
actions: ActionConfig[];
|
|
4
7
|
actionsBoxWidth?: string;
|
|
5
8
|
actionBoxPx?: string | string[];
|
|
6
9
|
actionBoxPy?: string | string[];
|
|
7
10
|
containerSx?: SxProps["sx"];
|
|
11
|
+
menuBoxZIndex?: number;
|
|
8
12
|
/**
|
|
9
13
|
* Whether to hide options box after selection.
|
|
10
14
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CombinedSecondaryCustomSelector } from "./combined-secondary-custom-selector";
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CompactPrimarySelectorProps as Props } from "./interfaces";
|
|
3
2
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CustomScrollableSelector } from "./custom-scrollable-selector";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CustomScrollableOptionsBox } from "./custom-scrollable-options-box";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SecondaryCustomSelectorOptionsBoxProps } from "../../../secondary-custom-selector/partials/secondary-custom-selector-options-box/interfaces";
|
|
2
|
+
export interface CustomScrollableOptionsBoxProps<T extends string = string> extends SecondaryCustomSelectorOptionsBoxProps<T> {
|
|
3
|
+
}
|
|
@@ -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 @@
|
|
|
1
|
+
export { CustomScrollableOptionsBox } from "./custom-scrollable-options-box";
|
package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { OptionRow } from "./option-row";
|