@selfdecode/sd-component-library 4.0.34 → 4.0.35
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
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RiskAssessmentAccordion } from "./risk-assessment-accordion";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseComponentProps } from "../../../components/interfaces";
|
|
3
|
-
export interface RAAccordionProps extends BaseComponentProps {
|
|
4
|
-
/**
|
|
5
|
-
* Header text of the accordion.
|
|
6
|
-
*/
|
|
7
|
-
headerText: string;
|
|
8
|
-
/**
|
|
9
|
-
* Hidden content of the accordion. Should be wrapped inside the component.
|
|
10
|
-
*/
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { RAAccordionProps } from "./interfaces";
|
|
3
|
-
/**
|
|
4
|
-
* Accordion to be used for answers of Risk-Assessment questionnaires.
|
|
5
|
-
* Only functions as an accordion at < 1280px width.
|
|
6
|
-
*/
|
|
7
|
-
export declare const RiskAssessmentAccordion: React.FunctionComponent<RAAccordionProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ScrollOnHoverBox } from "./scroll-on-hover-box";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ScrollOnHoverBoxProps {
|
|
3
|
-
/**
|
|
4
|
-
* Dimensions of the mask.
|
|
5
|
-
*/
|
|
6
|
-
width: string | string[];
|
|
7
|
-
height: string | string[];
|
|
8
|
-
/**
|
|
9
|
-
* Animation duration (in seconds)
|
|
10
|
-
*/
|
|
11
|
-
animationDuration?: number;
|
|
12
|
-
/**
|
|
13
|
-
* Box content.
|
|
14
|
-
*/
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./navbar-mobile-v1";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { LabsItem } from "./labs-item";
|
package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarDesktopV1Presentational as NavbarDesktopV1 } from "./presentational";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MenuBox } from "./menu-box";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MenuRow } from "./menu-row";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { NavMenuItem } from "../../../../../navbar-v2/partials/interfaces";
|
|
2
|
-
export interface MenuRowProps {
|
|
3
|
-
/**
|
|
4
|
-
* The unique row details
|
|
5
|
-
*/
|
|
6
|
-
row: NavMenuItem;
|
|
7
|
-
/**
|
|
8
|
-
* Callback function to be called when the row is hovered
|
|
9
|
-
*/
|
|
10
|
-
onHoverMenuRow: () => void;
|
|
11
|
-
/**
|
|
12
|
-
* Flags if this MenuRow forms part of a SubMenu
|
|
13
|
-
* (a Menu that is inside another Menu)
|
|
14
|
-
*/
|
|
15
|
-
isFromNestedMenu?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Tells if the MenuRow should be considered as "hovered",
|
|
18
|
-
* even if it's actually not. This is useful when you want
|
|
19
|
-
* to keep this MenuRow hovered at the same time another
|
|
20
|
-
* element is hovered
|
|
21
|
-
*/
|
|
22
|
-
isHovered?: boolean;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MyGeneticsItem } from "./my-genetics-item";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarItem } from "./navbar-item";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NewAppsItem } from "./new-apps";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ReactComponent as ProfileIcon } from "./profile-icon.svg";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19 19">
|
|
2
|
-
<path d="M3051.5,2185.63a4.569,4.569,0,0,0,4.26-4.82c0-3.69-1.91-4.82-4.26-4.82s-4.26,1.13-4.26,4.82A4.569,4.569,0,0,0,3051.5,2185.63Zm9.4,7.92-2.14-3.85a1.1,1.1,0,0,0-.49-0.51l-3.34-1.67a0.216,0.216,0,0,0-.22.01,5.39,5.39,0,0,1-6.42,0,0.233,0.233,0,0,0-.23-0.01l-3.33,1.67a1.055,1.055,0,0,0-.49.51l-2.15,3.85a1.057,1.057,0,0,0,.08.99,1.1,1.1,0,0,0,.91.47h16.84a1.086,1.086,0,0,0,.9-0.47A1,1,0,0,0,3060.9,2193.55Z" transform="translate(-3042 -2176)"/>
|
|
3
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PersonalAreaItem } from "./personal-area-item";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarDesktopV1Presentational } from "./navbar-desktop-v1-presentational";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { NavMenuItem } from "../../../../../navbar-v2/partials/interfaces";
|
|
2
|
-
/**
|
|
3
|
-
* Defines the ColoredBackgrounList component's properties.
|
|
4
|
-
*/
|
|
5
|
-
export declare type ColoredBackgroundListProps = {
|
|
6
|
-
/**
|
|
7
|
-
* The elements to be shown in the list, which would be displayed
|
|
8
|
-
* as clickable link buttons
|
|
9
|
-
*/
|
|
10
|
-
elements: NavMenuItem[];
|
|
11
|
-
};
|
|
12
|
-
export declare type NonNestedNavItem = Pick<NavMenuItem, "title" | "url" | "badgeText" | "isInternal" | "sideDecor" | "onClick">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DropUpNavbarItem } from "./drop-up-navbar-item";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ColoredBackgroundListProps } from "../colored-background-list";
|
|
2
|
-
/**
|
|
3
|
-
* Defines the NavbarSomeViewProps component's properties.
|
|
4
|
-
*/
|
|
5
|
-
export declare type DropUpNavbarItemProps = ColoredBackgroundListProps & {
|
|
6
|
-
/**
|
|
7
|
-
* Text to be show at the top-left corner, opposite to the X icon button
|
|
8
|
-
*/
|
|
9
|
-
title: string;
|
|
10
|
-
/**
|
|
11
|
-
* Boolean value: if true, show the list of elements
|
|
12
|
-
*/
|
|
13
|
-
isUnfolded: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Callback function to be called when the "arrow-down" icon button is clicked
|
|
16
|
-
*/
|
|
17
|
-
onDropClick: () => void;
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ShortArrowIconButton, DropDownIconButton, DropUpIconButton, SearchIconButton, HamburgerIconButton, CrossIconButton, } from "./icon-buttons";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./icon-buttons";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileFolded } from "./navbar-mobile-folded";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the NavbarMobileFolded component's properties.
|
|
3
|
-
*/
|
|
4
|
-
export declare type NavbarMobileFoldedProps = {
|
|
5
|
-
/**
|
|
6
|
-
* Callback function to be called when user press on the search icon
|
|
7
|
-
*/
|
|
8
|
-
onSearchClick: () => void;
|
|
9
|
-
/**
|
|
10
|
-
* Callback function to be called when user press on the hamburger icon
|
|
11
|
-
*/
|
|
12
|
-
onNavigationClick: () => void;
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileUnfoldedBox } from "./navbar-mobile-unfolded-box";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { NavbarMobileV2PresentationalProps } from "../../../../../navbar-v2/partials/navbar-mobile-v2/presentational/interfaces";
|
|
3
|
-
export declare type NavbarMobileUnfoldedBoxProps = Pick<NavbarMobileV2PresentationalProps, "itemsInCart" | "onClickCartIcon" | "isLegacy" | "hideSearch"> & {
|
|
4
|
-
/**
|
|
5
|
-
* Text to be show at the top-left corner, opposite to the X icon button
|
|
6
|
-
*/
|
|
7
|
-
title: string;
|
|
8
|
-
/**
|
|
9
|
-
* Callback function to be called when the X icon button is clicked
|
|
10
|
-
*/
|
|
11
|
-
onClickClose: () => void;
|
|
12
|
-
/**
|
|
13
|
-
* Callback function to be called when user press on the search icon
|
|
14
|
-
*/
|
|
15
|
-
onSearchClick?: () => void;
|
|
16
|
-
/**
|
|
17
|
-
* Container overflow.
|
|
18
|
-
*/
|
|
19
|
-
overflow?: string;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileUnfoldedNavigation } from "./navbar-mobile-unfolded-navigation";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NavbarLink } from "../../../../interfaces";
|
|
2
|
-
/**
|
|
3
|
-
* Defines the NavigationUnfolded component's properties.
|
|
4
|
-
*/
|
|
5
|
-
export declare type NavbarMobileUnfoldedNavigationProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Callback function to be called when the X icon button is clicked
|
|
8
|
-
*/
|
|
9
|
-
onClickClose: () => void;
|
|
10
|
-
};
|
|
11
|
-
export declare type FoldableLink = {
|
|
12
|
-
/**
|
|
13
|
-
* The title of the foldable link
|
|
14
|
-
*/
|
|
15
|
-
title: string;
|
|
16
|
-
/**
|
|
17
|
-
* The elements to be shown when the link is unfolded
|
|
18
|
-
*/
|
|
19
|
-
elements: NavbarLink[];
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileUnfoldedSearch } from "./navbar-mobile-unfolded-search";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SearchResult } from "../../../../../../../../inputs/search-input/partials/search-box/interfaces";
|
|
2
|
-
import { NavbarMobileV2PresentationalProps } from "../../../../../navbar-v2/partials/navbar-mobile-v2/presentational/interfaces";
|
|
3
|
-
/**
|
|
4
|
-
* Defines the SearchUnfolded component's properties.
|
|
5
|
-
*/
|
|
6
|
-
export declare type NavbarMobileUnfoldedSearchProps = Pick<NavbarMobileV2PresentationalProps, "itemsInCart" | "onClickCartIcon" | "onClickSearch" | "useRouterLinks"> & {
|
|
7
|
-
/**
|
|
8
|
-
* Callback function to be called when the X icon button is clicked
|
|
9
|
-
*/
|
|
10
|
-
onClickClose: () => void;
|
|
11
|
-
/**
|
|
12
|
-
* The callback for the search query change
|
|
13
|
-
*/
|
|
14
|
-
onSearch: (query: string) => void;
|
|
15
|
-
/**
|
|
16
|
-
* The returned search results
|
|
17
|
-
*/
|
|
18
|
-
searchResults: Array<SearchResult>;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavigationItemText } from "./navigation-item-text";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarMobileV1Presentational } from "./navbar-mobile-v1-presentational";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarV1Presentational } from "./navbar-v1-presentational";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { NavbarV1PresentationalProps as Props } from "./interfaces";
|
|
3
|
-
/**
|
|
4
|
-
* This component is responsive: it will render the NavbarMobileV1 or
|
|
5
|
-
* the NavbarDesktopV1 commponent depending of the screen size (theme breakpoints)
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
export declare const NavbarV1Presentational: React.FC<Props>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { NavItem as NavItemConfig } from "./interfaces";
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { FC, SVGProps } from "react";
|
|
2
|
-
export declare type NavItem = {
|
|
3
|
-
/**
|
|
4
|
-
* The text to be shown in the link
|
|
5
|
-
*/
|
|
6
|
-
title: string;
|
|
7
|
-
/**
|
|
8
|
-
* Optional mobile title
|
|
9
|
-
*/
|
|
10
|
-
mobileTitle?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Optional title in toggled state.
|
|
13
|
-
*/
|
|
14
|
-
toggledTitle?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The links that should be displayed when:
|
|
17
|
-
* - in desktop view, the user hovers this NavItem
|
|
18
|
-
* - in mobile view, the user clicks this NavItem
|
|
19
|
-
*/
|
|
20
|
-
children: Array<NavMenuItem>;
|
|
21
|
-
/**
|
|
22
|
-
* Flag to decide if the title should be inside a SecondaryBadge
|
|
23
|
-
*/
|
|
24
|
-
titleInBadge?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Optional color prop to override the default
|
|
27
|
-
*/
|
|
28
|
-
badgeColor?: string;
|
|
29
|
-
/**
|
|
30
|
-
* An SVG Component to be placed to the left of the title
|
|
31
|
-
*/
|
|
32
|
-
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
33
|
-
/**
|
|
34
|
-
* Whether or not to hide arrow
|
|
35
|
-
*/
|
|
36
|
-
hideArrow?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Whether to include icon in mobile navbar menu
|
|
39
|
-
*/
|
|
40
|
-
mobileShowIcon?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Whether weglot should translate text
|
|
43
|
-
*/
|
|
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;
|
|
57
|
-
};
|
|
58
|
-
export declare type NavMenuItem = {
|
|
59
|
-
/**
|
|
60
|
-
* The url of the link. It should be set to ""----"
|
|
61
|
-
* when it has children NavMenuItems
|
|
62
|
-
*/
|
|
63
|
-
url?: string;
|
|
64
|
-
/**
|
|
65
|
-
* The text to be shown in the link
|
|
66
|
-
*/
|
|
67
|
-
title: string;
|
|
68
|
-
/**
|
|
69
|
-
* Flag to decide if the URL is internal.
|
|
70
|
-
*
|
|
71
|
-
* It means the url points to some page within the react app
|
|
72
|
-
* and react router's `Link` can be used to navigate to that page.
|
|
73
|
-
*/
|
|
74
|
-
isInternal: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Text that should be shown next to the title, inside a SecondaryBadge
|
|
77
|
-
*/
|
|
78
|
-
badgeText?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Optional element (usually icon) to show to the left of the title
|
|
81
|
-
*/
|
|
82
|
-
sideDecor?: JSX.Element;
|
|
83
|
-
/**
|
|
84
|
-
* The links that should be displayed when:
|
|
85
|
-
* - in desktop view, the user hovers this nav item
|
|
86
|
-
* - in mobile view, these links will be shown as children of the root NavItem
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
children: NavMenuItem[];
|
|
90
|
-
/**
|
|
91
|
-
* What to do instead of redirecting to a url.
|
|
92
|
-
*/
|
|
93
|
-
onClick?: () => void;
|
|
94
|
-
/**
|
|
95
|
-
* Whether item is currenly selected (and hence should be highlighted)
|
|
96
|
-
*/
|
|
97
|
-
isSelected?: boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Whether weglot should translate text
|
|
100
|
-
*/
|
|
101
|
-
dontTranslate?: boolean;
|
|
102
|
-
};
|
package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarDesktopV2Presentational as NavbarDesktopV2 } from "./presentational/navbar-desktop-v2-presentational";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CartItem } from "./cart-item";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MenuBox } from "./menu-box";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarItem } from "./navbar-item";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavbarItemWithMenu } from "./navbar-item-with-menu";
|