@selfdecode/sd-component-library 2.45.14 → 2.45.15
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 +1 -0
- package/lib/components/bicolor-badge/interfaces.d.ts +1 -0
- package/lib/components/checkboxes/checkbox/checkbox.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +1 -0
- package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +1 -0
- package/lib/components/complex/footer/presentational/footer-presentational.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +1 -0
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.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 +1 -0
- 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/presentational/constants-v3.d.ts +1 -0
- package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +1 -0
- package/lib/components/containers/max-width-container/max-width-container.d.ts +1 -0
- package/lib/components/containers/section-container/section-container.d.ts +1 -0
- package/lib/components/feature-explanation/feature-explanation.d.ts +1 -0
- 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/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +1 -0
- package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +1 -0
- package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +1 -0
- package/lib/components/labels/base-label/base-label.d.ts +1 -0
- package/lib/components/radio-button/radio-button.d.ts +1 -0
- package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +1 -0
- package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +1 -0
- package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.d.ts +1 -0
- package/lib/components/selectors/custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/custom-scrollable-options-box/custom-scrollable-options-box.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/partials/option-row/option-row.d.ts +1 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.d.ts +1 -0
- package/lib/components/selectors/primary-selector/primary-selector.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +1 -0
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +1 -0
- package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +1 -0
- package/lib/components/selectors/selector/selector.d.ts +1 -0
- package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +1 -0
- package/lib/components/selectors/selector-v2/selector-v2.d.ts +1 -0
- package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +1 -0
- package/lib/components/slider/partials/step-circles/step-circles.d.ts +1 -0
- package/lib/components/slider/slider.d.ts +1 -0
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +1 -0
- package/lib/components/tabs/tab-bar/tab-bar.d.ts +1 -0
- package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +1 -0
- package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +1 -0
- package/lib/components/texts/base-text/base-text.d.ts +1 -0
- package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +1 -0
- package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +1 -0
- package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +1 -0
- package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +1 -0
- package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +1 -0
- package/lib/components/texts/fourty-bold/fourty-bold.d.ts +1 -0
- package/lib/components/texts/no-translate/no-translate.d.ts +1 -0
- package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +1 -0
- package/lib/components/texts/ten-sb/ten-sb.d.ts +1 -0
- package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +1 -0
- package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +1 -0
- package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +1 -0
- package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +1 -0
- package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +1 -0
- package/lib/components/texts/twelve-regular/twelve-regular.d.ts +1 -0
- package/lib/components/texts/twelve-sb/twelve-sb.d.ts +1 -0
- package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +1 -0
- package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +1 -0
- package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +1 -0
- package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +1 -0
- 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>
|
|
@@ -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,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;
|
|
@@ -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,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;
|