@selfdecode/sd-component-library 4.0.34 → 4.0.35-test
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/components/accordions/index.d.ts +0 -1
- package/lib/components/boxes/index.d.ts +0 -1
- package/lib/components/breadcrumbs/breadcrumb/crumb/crumb.d.ts +1 -1
- package/lib/components/breadcrumbs/breadcrumb/functions.d.ts +1 -1
- package/lib/components/breadcrumbs/breadcrumb/interfaces.d.ts +1 -1
- package/lib/components/breadcrumbs/primary-breadcrumb/primary-breadcrumb.d.ts +1 -1
- package/lib/components/complex/navbar/index.d.ts +1 -1
- package/lib/components/complex/navbar/{presentational/language-mapping.d.ts → language-mapping.d.ts} +0 -0
- package/lib/components/complex/navbar/partials/{navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons → icon-buttons}/icon-buttons.d.ts +1 -3
- package/lib/components/complex/navbar/partials/icon-buttons/index.d.ts +1 -0
- package/lib/components/complex/navbar/partials/{navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons → icon-buttons}/interfaces.d.ts +0 -0
- package/lib/components/complex/navbar/partials/index.d.ts +1 -2
- package/lib/components/containers/{flex-center → flex-containers/flex-center}/flex-center.d.ts +0 -0
- package/lib/components/containers/{flex-center → flex-containers/flex-center}/index.d.ts +0 -0
- package/lib/components/containers/{flex-center-space-between → flex-containers/flex-center-space-between}/flex-center-space-between.d.ts +0 -0
- package/lib/components/containers/{flex-center-space-between → flex-containers/flex-center-space-between}/index.d.ts +0 -0
- package/lib/components/containers/{flex-items-center → flex-containers/flex-items-center}/flex-items-center.d.ts +0 -0
- package/lib/components/containers/{flex-items-center → flex-containers/flex-items-center}/index.d.ts +0 -0
- package/lib/components/containers/flex-containers/flex-space-between/flex-space-between.d.ts +3 -0
- package/lib/components/containers/flex-containers/flex-space-between/index.d.ts +1 -0
- package/lib/components/containers/flex-containers/index.d.ts +4 -0
- package/lib/components/containers/index.d.ts +1 -3
- package/lib/components/containers/section-container/interfaces.d.ts +2 -2
- package/lib/components/containers/section-container/section-container.d.ts +3 -3
- package/lib/components/dividers/divider/divider.d.ts +2 -2
- package/lib/components/dividers/horizontal-divider/horizontal-divider.d.ts +2 -2
- package/lib/components/dividers/vertical-divider/vertical-divider.d.ts +2 -2
- package/lib/components/tabs/tab-bar-v2/partials/index.d.ts +1 -0
- package/lib/components/texts/index.d.ts +1 -0
- package/lib/components/texts/uppercase-text/index.d.ts +1 -0
- package/lib/components/texts/uppercase-text/uppercase-text.d.ts +3 -0
- package/lib/components/tooltips/base-info-tooltip/base-info-tooltip.d.ts +2 -1
- package/lib/components/tooltips/base-tooltip/base-tooltip.d.ts +2 -1
- package/lib/components/tooltips/index.d.ts +0 -1
- package/lib/components/tooltips/primary-info-tooltip/primary-info-tooltip.d.ts +2 -1
- package/lib/components/utils/index.d.ts +0 -1
- package/lib/index.d.ts +0 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/lib/components/accordions/risk-assessment-accordion/index.d.ts +0 -1
- package/lib/components/accordions/risk-assessment-accordion/interfaces.d.ts +0 -12
- package/lib/components/accordions/risk-assessment-accordion/risk-assessment-accordion.d.ts +0 -7
- package/lib/components/boxes/scroll-on-hover-box/index.d.ts +0 -1
- package/lib/components/boxes/scroll-on-hover-box/interfaces.d.ts +0 -16
- package/lib/components/boxes/scroll-on-hover-box/scroll-on-hover-box.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/constants.d.ts +0 -5
- package/lib/components/complex/navbar/partials/navbar-v1/index.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/interfaces.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/partials/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/labs-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/labs-item/labs-item.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-box/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-box/interfaces.d.ts +0 -7
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-box/menu-box.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/interfaces.d.ts +0 -23
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/my-genetics-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/my-genetics-item/my-genetics-item.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/navbar-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/navbar-item/navbar-item.d.ts +0 -7
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/interfaces.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/assets/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/assets/profile-icon.svg +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/interfaces.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/personal-area-item.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/presentational/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/presentational/interfaces.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/presentational/navbar-desktop-v1-presentational.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/index.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/colored-background-list.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/colored-background-list.utils.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/index.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/interfaces.d.ts +0 -12
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/drop-up-navbar-item/drop-up-navbar-item.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/drop-up-navbar-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/drop-up-navbar-item/interfaces.d.ts +0 -18
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-folded/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-folded/interfaces.d.ts +0 -13
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-folded/navbar-mobile-folded.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-box/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-box/interfaces.d.ts +0 -21
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-box/navbar-mobile-unfolded-box.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-navigation/constants.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-navigation/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-navigation/interfaces.d.ts +0 -20
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-navigation/navbar-mobile-unfolded-navigation.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-search/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-search/interfaces.d.ts +0 -19
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-search/navbar-mobile-unfolded-search.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navigation-item-text/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navigation-item-text/navigation-item-text.d.ts +0 -4
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/presentational/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/presentational/interfaces.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/presentational/navbar-mobile-v1-presentational.d.ts +0 -6
- package/lib/components/complex/navbar/partials/navbar-v1/presentational/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v1/presentational/interfaces.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v1/presentational/navbar-v1-presentational.d.ts +0 -8
- package/lib/components/complex/navbar/partials/navbar-v2/index.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v2/partials/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/interfaces.d.ts +0 -102
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/cart-item/cart-item.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/cart-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/cart-item/interfaces.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/interfaces.d.ts +0 -7
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item/interfaces.d.ts +0 -7
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item/navbar-item.d.ts +0 -6
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-with-menu/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-with-menu/intefaces.d.ts +0 -7
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-with-menu/navbar-item-with-menu.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/intefaces.d.ts +0 -7
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/navbar-item-without-menu.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/personal-area-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/personal-area-item/interfaces.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/personal-area-item/personal-area-item.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/what-is-this/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/what-is-this/interfaces.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/what-is-this/what-is-this.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/presentational/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/presentational/interfaces.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/presentational/navbar-desktop-v2-presentational.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/drop-up-navbar-item/drop-up-navbar-item.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/drop-up-navbar-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/drop-up-navbar-item/interfaces.d.ts +0 -18
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-list/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-list/interfaces.d.ts +0 -4
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-list/navbar-list.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-folded/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-folded/interfaces.d.ts +0 -18
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-folded/navbar-mobile-folded.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-unfolded-navigation/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-unfolded-navigation/interfaces.d.ts +0 -14
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-unfolded-navigation/navbar-mobile-unfolded-navigation.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/secondary-drop-up-nav-item/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/secondary-drop-up-nav-item/interfaces.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/secondary-drop-up-nav-item/secondary-drop-up-nav-item.d.ts +0 -3
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/presentational/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/presentational/interfaces.d.ts +0 -2
- package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/presentational/navbar-mobile-v2-presentational.d.ts +0 -6
- package/lib/components/complex/navbar/partials/navbar-v2/presentational/index.d.ts +0 -1
- package/lib/components/complex/navbar/partials/navbar-v2/presentational/interfaces.d.ts +0 -25
- package/lib/components/complex/navbar/partials/navbar-v2/presentational/navbar-v2-presentational.d.ts +0 -8
- package/lib/components/complex/navbar/presentational/constants-v2.d.ts +0 -6
- package/lib/components/complex/navbar/presentational/constants-v3.d.ts +0 -6
- package/lib/components/complex/navbar/presentational/index.d.ts +0 -4
- package/lib/components/complex/navbar/presentational/interfaces.d.ts +0 -101
- package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +0 -6
- package/lib/components/complex/navbar/presentational/url-utils.d.ts +0 -4
- package/lib/components/radio-button/index.d.ts +0 -1
- package/lib/components/radio-button/interfaces.d.ts +0 -31
- package/lib/components/radio-button/radio-button.d.ts +0 -3
- package/lib/components/text-boxes/divided-text-box/divided-text-box.d.ts +0 -3
- package/lib/components/text-boxes/divided-text-box/index.d.ts +0 -1
- package/lib/components/text-boxes/divided-text-box/interfaces.d.ts +0 -22
- package/lib/components/text-boxes/index.d.ts +0 -2
- package/lib/components/text-boxes/table-of-content/index.d.ts +0 -1
- package/lib/components/text-boxes/table-of-content/interfaces.d.ts +0 -25
- package/lib/components/text-boxes/table-of-content/table-of-content.d.ts +0 -3
- package/lib/components/tooltips/radio-info-button-tooltip/index.d.ts +0 -1
- package/lib/components/tooltips/radio-info-button-tooltip/interfaces.d.ts +0 -31
- package/lib/components/tooltips/radio-info-button-tooltip/radio-info-button-tooltip.d.ts +0 -3
- package/lib/components/utils/scroll-to-top-on-mount/index.d.ts +0 -1
- package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarItemWithoutMenu } from "./navbar-item-without-menu";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PersonalAreaItem } from "./personal-area-item";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WhatIsThis } from "./what-is-this";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarDesktopV2Presentational } from "./navbar-desktop-v2-presentational";
|
package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileV2Presentational as NavbarMobileV2 } from "./presentational";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DropUpNavbarItem } from "./drop-up-navbar-item";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NavItem } from "../../../interfaces";
|
|
2
|
-
/**
|
|
3
|
-
* Defines the DropUpNavbarItem component's properties.
|
|
4
|
-
*/
|
|
5
|
-
export interface DropUpNavbarItemProps {
|
|
6
|
-
/**
|
|
7
|
-
* Boolean value: if true, show the list of elements
|
|
8
|
-
*/
|
|
9
|
-
isUnfolded: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Callback function to be called when the "arrow-down" icon button is clicked
|
|
12
|
-
*/
|
|
13
|
-
onDropClick: () => void;
|
|
14
|
-
/**
|
|
15
|
-
* The navItem to be rendered
|
|
16
|
-
*/
|
|
17
|
-
item: NavItem;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarList } from "./navbar-list";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileFolded } from "./navbar-mobile-folded";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NavbarMobileV2PresentationalProps } from "../../presentational/interfaces";
|
|
2
|
-
/**
|
|
3
|
-
* Defines the NavbarMobileFolded component's properties.
|
|
4
|
-
*/
|
|
5
|
-
export declare type NavbarMobileFoldedProps = Pick<NavbarMobileV2PresentationalProps, "itemsInCart" | "onClickCartIcon" | "unsubscribedUser" | "isLegacy" | "hideSearch"> & {
|
|
6
|
-
/**
|
|
7
|
-
* Callback function to be called when user press on the search icon
|
|
8
|
-
*/
|
|
9
|
-
onSearchClick: () => void;
|
|
10
|
-
/**
|
|
11
|
-
* Callback function to be called when user press on the hamburger icon
|
|
12
|
-
*/
|
|
13
|
-
onNavigationClick: () => void;
|
|
14
|
-
/**
|
|
15
|
-
* If true, the Legacy badge won't be rendered
|
|
16
|
-
*/
|
|
17
|
-
newVersion: boolean;
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileUnfoldedNavigation } from "./navbar-mobile-unfolded-navigation";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NavbarMobileV2PresentationalProps } from "../../presentational/interfaces";
|
|
2
|
-
/**
|
|
3
|
-
* Defines the NavigationUnfolded component's properties.
|
|
4
|
-
*/
|
|
5
|
-
export declare type NavbarMobileUnfoldedNavigationProps = Pick<NavbarMobileV2PresentationalProps, "itemsInCart" | "onClickCartIcon" | "unsubscribedUser" | "accountNavItem" | "navItems" | "hideSearch" | "languageNavItem"> & {
|
|
6
|
-
/**
|
|
7
|
-
* Callback function to be called when the X icon button is clicked
|
|
8
|
-
*/
|
|
9
|
-
onClickClose: () => void;
|
|
10
|
-
/**
|
|
11
|
-
* Callback function to be called when the Search Icon is clicked
|
|
12
|
-
*/
|
|
13
|
-
onClickSearch: () => void;
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SecondaryDropUpNavItem } from "./secondary-drop-up-nav-item";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileV2Presentational } from "./navbar-mobile-v2-presentational";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarV2Presentational } from "./navbar-v2-presentational";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NavbarProps } from "../../../presentational";
|
|
2
|
-
import { NavItem } from "../partials/interfaces";
|
|
3
|
-
export declare type NavbarV2PresentationalProps = Pick<NavbarProps, "history" | "unsubscribedUser" | "onSearch" | "searchResults" | "itemsInCart" | "onClickCartIcon" | "isLegacy" | "borderBottomColor" | "onClickSearch" | "useRouterLinks" | "hideSearch" | "searchValue"> & {
|
|
4
|
-
/**
|
|
5
|
-
* If true, the "Legacy" badge and the "What's this" hoverable text
|
|
6
|
-
* (both shown to the right of SelfDecode logo, in the left corner
|
|
7
|
-
* of the navbar) won't be rendered
|
|
8
|
-
*
|
|
9
|
-
* Default value: false
|
|
10
|
-
*/
|
|
11
|
-
newVersion?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Navigation items to show to the left of the PersonalAreaItem component
|
|
14
|
-
*/
|
|
15
|
-
navItems: NavItem[];
|
|
16
|
-
/**
|
|
17
|
-
* An object that contains in a "children" props the rows that should be
|
|
18
|
-
* rendered when hovering on the PersonalAreaItem component
|
|
19
|
-
*/
|
|
20
|
-
accountNavItem: NavItem;
|
|
21
|
-
/**
|
|
22
|
-
* A language selector item
|
|
23
|
-
*/
|
|
24
|
-
languageNavItem: NavItem;
|
|
25
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { NavbarV2PresentationalProps as Props } from "./interfaces";
|
|
3
|
-
/**
|
|
4
|
-
* This is the navbar v2 component.
|
|
5
|
-
* This component is responsive: it will render the NavbarMobileV2 or
|
|
6
|
-
* the NavbarDesktopV2 component depending of the screen size (theme breakpoints)
|
|
7
|
-
*/
|
|
8
|
-
export declare const NavbarV2Presentational: React.FC<Props>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NavItem, NavMenuItem } from "../partials/navbar-v2/partials/interfaces";
|
|
2
|
-
export declare const myLabsNavItem: NavMenuItem;
|
|
3
|
-
export declare const getBetaNavItem: (isPractitioner: boolean) => NavItem;
|
|
4
|
-
export declare const myGeneticsNavItem: NavMenuItem;
|
|
5
|
-
export declare const legacyNavItem: NavItem;
|
|
6
|
-
export declare const getMyAccountNavItem: (isPractitioner: boolean, onLogout?: () => void) => NavItem;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NavItem } from "../partials/navbar-v2/partials/interfaces";
|
|
2
|
-
export declare const getgeneticsNavItem: (isPractitioner: boolean) => NavItem;
|
|
3
|
-
export declare const labsNavItem: NavItem;
|
|
4
|
-
export declare const lifestyleAnalyzerNavItem: NavItem;
|
|
5
|
-
export declare const getMyAccountNavItem: (isPractitioner: boolean, onLogout?: (() => void) | undefined) => NavItem;
|
|
6
|
-
export declare const getLanguageNavItem: (selectedLangCode: string, langCodes: string[], onLanguageSwitch: (langCode: string) => void) => NavItem;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { History } from "history";
|
|
2
|
-
import { SearchResult } from "../../../inputs/search-input/partials/search-box/interfaces";
|
|
3
|
-
export declare type NavbarProps = {
|
|
4
|
-
/**
|
|
5
|
-
* The history object
|
|
6
|
-
*/
|
|
7
|
-
history: History;
|
|
8
|
-
/**
|
|
9
|
-
* Boolean to indicate that navbar-v2 should be rendered.
|
|
10
|
-
* Default value: true
|
|
11
|
-
*/
|
|
12
|
-
v2?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Boolean to indicate that navbar-v3 should be rendered.
|
|
15
|
-
* If true, v2 prop will be ignored.
|
|
16
|
-
*
|
|
17
|
-
* Default value: false
|
|
18
|
-
*/
|
|
19
|
-
v3?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Is the user unsubscribed? Used to hide elements that shouldn't show
|
|
22
|
-
*/
|
|
23
|
-
unsubscribedUser?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Whether the authenticated user is a practitioner. If it is, instead
|
|
26
|
-
* of showing a link to "Dashboard", we will show a link to "My Clients"
|
|
27
|
-
* in both v2 and v3 versions of the Navbar
|
|
28
|
-
*
|
|
29
|
-
* Default value: false
|
|
30
|
-
*/
|
|
31
|
-
isPractitioner?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Controlled value of the search input.
|
|
34
|
-
*/
|
|
35
|
-
searchValue?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The callback for the search query change
|
|
38
|
-
*/
|
|
39
|
-
onSearch: (query: string) => void;
|
|
40
|
-
/**
|
|
41
|
-
* The returned search results
|
|
42
|
-
*/
|
|
43
|
-
searchResults: Array<SearchResult>;
|
|
44
|
-
/**
|
|
45
|
-
* The amount of items in the shopping cart. If not provided or provided
|
|
46
|
-
* value is lower than zero, the cart icon will not be shown in the navbar
|
|
47
|
-
*/
|
|
48
|
-
itemsInCart?: number;
|
|
49
|
-
/**
|
|
50
|
-
* Callback function to use when user clicks on the cart icon in the navbar
|
|
51
|
-
*/
|
|
52
|
-
onClickCartIcon?: () => void;
|
|
53
|
-
/**
|
|
54
|
-
* Tells if this should be considered a "legacy" navbar.
|
|
55
|
-
*
|
|
56
|
-
* If false, the search icon won't be shown in the navbar and the
|
|
57
|
-
* badge displayed next to the SelfDecode logo will contain the
|
|
58
|
-
* text "2.0 BETA"
|
|
59
|
-
*
|
|
60
|
-
* Default value: false
|
|
61
|
-
*/
|
|
62
|
-
isLegacy?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* The color of the bottom border (style: "solid", widht: "1px") of
|
|
65
|
-
* the navbar in desktop screens. If undefined, no styles will be
|
|
66
|
-
* applied to the bottom border.
|
|
67
|
-
*/
|
|
68
|
-
borderBottomColor?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Callback to be executed after clicking on the search button.
|
|
71
|
-
*/
|
|
72
|
-
onClickSearch?: (query?: string | number | readonly string[]) => void;
|
|
73
|
-
/**
|
|
74
|
-
* Whether to use react-router links for search results.
|
|
75
|
-
*/
|
|
76
|
-
useRouterLinks?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Whether to hide search functionality from the user.
|
|
79
|
-
*/
|
|
80
|
-
hideSearch?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* What to do when the logout button has been pressed.
|
|
83
|
-
*
|
|
84
|
-
* Default value: () => {
|
|
85
|
-
* window.location.href = "/service/account/logout";
|
|
86
|
-
* }
|
|
87
|
-
*/
|
|
88
|
-
onLogout?: () => void;
|
|
89
|
-
/**
|
|
90
|
-
* User current selected language code
|
|
91
|
-
*/
|
|
92
|
-
selectedLangCode: string;
|
|
93
|
-
/**
|
|
94
|
-
* List of selectable language codes
|
|
95
|
-
*/
|
|
96
|
-
langCodes: string[];
|
|
97
|
-
/**
|
|
98
|
-
* What to do on language switch
|
|
99
|
-
*/
|
|
100
|
-
onLanguageSwitch: (langCode: string) => void;
|
|
101
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RadioButton } from "./radio-button";
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface RadioButtonProps {
|
|
3
|
-
/**
|
|
4
|
-
* The name of this specific button
|
|
5
|
-
*/
|
|
6
|
-
name: string;
|
|
7
|
-
/**
|
|
8
|
-
* The id of this specific button
|
|
9
|
-
*/
|
|
10
|
-
id: string;
|
|
11
|
-
/**
|
|
12
|
-
* The value of this specific button
|
|
13
|
-
*/
|
|
14
|
-
value: string;
|
|
15
|
-
/**
|
|
16
|
-
* Is it checked
|
|
17
|
-
*/
|
|
18
|
-
checked?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* The callback to run when the button element changes.
|
|
21
|
-
*/
|
|
22
|
-
onChange: () => void;
|
|
23
|
-
/**
|
|
24
|
-
* The children components for the button
|
|
25
|
-
*/
|
|
26
|
-
children?: React.ReactNode;
|
|
27
|
-
/**
|
|
28
|
-
* The color of the button
|
|
29
|
-
*/
|
|
30
|
-
color?: string;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DividedTextBox } from "./divided-text-box";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../interfaces";
|
|
2
|
-
/**
|
|
3
|
-
* Text Box props.
|
|
4
|
-
*/
|
|
5
|
-
export interface DividedTextBoxProps extends BaseComponentProps {
|
|
6
|
-
/**
|
|
7
|
-
* Main text to be displayed
|
|
8
|
-
*/
|
|
9
|
-
mainText: string;
|
|
10
|
-
/**
|
|
11
|
-
* Sub-text to be displayed
|
|
12
|
-
*/
|
|
13
|
-
subText: string;
|
|
14
|
-
/**
|
|
15
|
-
* Color of the divider at the start
|
|
16
|
-
*/
|
|
17
|
-
dividerColor: string;
|
|
18
|
-
/**
|
|
19
|
-
* Height of the box
|
|
20
|
-
*/
|
|
21
|
-
height?: string[];
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TableOfContent } from "./table-of-content";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../interfaces";
|
|
2
|
-
declare type linkObject = {
|
|
3
|
-
text: string;
|
|
4
|
-
link?: string;
|
|
5
|
-
target?: string;
|
|
6
|
-
translate?: boolean;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Text Box props.
|
|
10
|
-
*/
|
|
11
|
-
export interface TableOfContentProps extends BaseComponentProps {
|
|
12
|
-
/**
|
|
13
|
-
* Title of the table-of-content.
|
|
14
|
-
*/
|
|
15
|
-
title: string;
|
|
16
|
-
/**
|
|
17
|
-
* Text items to be listed.
|
|
18
|
-
*/
|
|
19
|
-
textItems: linkObject[];
|
|
20
|
-
/**
|
|
21
|
-
* Should the title of table be responsive.
|
|
22
|
-
*/
|
|
23
|
-
isTitleResponsive?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RadioInfoButtonTooltip } from "./radio-info-button-tooltip";
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { RadioInfoButtonProps } from "../../buttons/radio-info-button/interfaces";
|
|
2
|
-
export interface RadioInfoButtonTooltipProps extends Omit<RadioInfoButtonProps, "onHover"> {
|
|
3
|
-
/**
|
|
4
|
-
* Header of the tooltip (blue).
|
|
5
|
-
*/
|
|
6
|
-
header: string;
|
|
7
|
-
/**
|
|
8
|
-
* Subheader of the tooltip (grey).
|
|
9
|
-
*/
|
|
10
|
-
subHeader?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Text of the tooltip (dark grey).
|
|
13
|
-
*/
|
|
14
|
-
text?: string[];
|
|
15
|
-
/**
|
|
16
|
-
* Position of the tooltip in the vertical plane (top by default).
|
|
17
|
-
*/
|
|
18
|
-
tooltipVerticalPosition?: "top" | "bottom";
|
|
19
|
-
/**
|
|
20
|
-
* Position of the tooltip in the horizontal plane (right by default).
|
|
21
|
-
*/
|
|
22
|
-
tooltipHorizontalPosition?: "left" | "right";
|
|
23
|
-
/**
|
|
24
|
-
* Max width of tooltip content.
|
|
25
|
-
*/
|
|
26
|
-
tooltipContentMaxWidth?: string | string[];
|
|
27
|
-
/**
|
|
28
|
-
* Tooltip line size.
|
|
29
|
-
*/
|
|
30
|
-
totalLineSize?: number;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ScrollToTopOnMount } from "./scroll-to-top-on-mount";
|