@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.
Files changed (175) hide show
  1. package/lib/components/accordions/index.d.ts +0 -1
  2. package/lib/components/boxes/index.d.ts +0 -1
  3. package/lib/components/breadcrumbs/breadcrumb/crumb/crumb.d.ts +1 -1
  4. package/lib/components/breadcrumbs/breadcrumb/functions.d.ts +1 -1
  5. package/lib/components/breadcrumbs/breadcrumb/interfaces.d.ts +1 -1
  6. package/lib/components/breadcrumbs/primary-breadcrumb/primary-breadcrumb.d.ts +1 -1
  7. package/lib/components/complex/navbar/index.d.ts +1 -1
  8. package/lib/components/complex/navbar/{presentational/language-mapping.d.ts → language-mapping.d.ts} +0 -0
  9. package/lib/components/complex/navbar/partials/{navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons → icon-buttons}/icon-buttons.d.ts +1 -3
  10. package/lib/components/complex/navbar/partials/icon-buttons/index.d.ts +1 -0
  11. package/lib/components/complex/navbar/partials/{navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons → icon-buttons}/interfaces.d.ts +0 -0
  12. package/lib/components/complex/navbar/partials/index.d.ts +1 -2
  13. package/lib/components/containers/{flex-center → flex-containers/flex-center}/flex-center.d.ts +0 -0
  14. package/lib/components/containers/{flex-center → flex-containers/flex-center}/index.d.ts +0 -0
  15. package/lib/components/containers/{flex-center-space-between → flex-containers/flex-center-space-between}/flex-center-space-between.d.ts +0 -0
  16. package/lib/components/containers/{flex-center-space-between → flex-containers/flex-center-space-between}/index.d.ts +0 -0
  17. package/lib/components/containers/{flex-items-center → flex-containers/flex-items-center}/flex-items-center.d.ts +0 -0
  18. package/lib/components/containers/{flex-items-center → flex-containers/flex-items-center}/index.d.ts +0 -0
  19. package/lib/components/containers/flex-containers/flex-space-between/flex-space-between.d.ts +3 -0
  20. package/lib/components/containers/flex-containers/flex-space-between/index.d.ts +1 -0
  21. package/lib/components/containers/flex-containers/index.d.ts +4 -0
  22. package/lib/components/containers/index.d.ts +1 -3
  23. package/lib/components/containers/section-container/interfaces.d.ts +2 -2
  24. package/lib/components/containers/section-container/section-container.d.ts +3 -3
  25. package/lib/components/dividers/divider/divider.d.ts +2 -2
  26. package/lib/components/dividers/horizontal-divider/horizontal-divider.d.ts +2 -2
  27. package/lib/components/dividers/vertical-divider/vertical-divider.d.ts +2 -2
  28. package/lib/components/tabs/tab-bar-v2/partials/index.d.ts +1 -0
  29. package/lib/components/texts/index.d.ts +1 -0
  30. package/lib/components/texts/uppercase-text/index.d.ts +1 -0
  31. package/lib/components/texts/uppercase-text/uppercase-text.d.ts +3 -0
  32. package/lib/components/tooltips/base-info-tooltip/base-info-tooltip.d.ts +2 -1
  33. package/lib/components/tooltips/base-tooltip/base-tooltip.d.ts +2 -1
  34. package/lib/components/tooltips/index.d.ts +0 -1
  35. package/lib/components/tooltips/primary-info-tooltip/primary-info-tooltip.d.ts +2 -1
  36. package/lib/components/utils/index.d.ts +0 -1
  37. package/lib/index.d.ts +0 -2
  38. package/lib/index.js +1 -1
  39. package/package.json +1 -1
  40. package/lib/components/accordions/risk-assessment-accordion/index.d.ts +0 -1
  41. package/lib/components/accordions/risk-assessment-accordion/interfaces.d.ts +0 -12
  42. package/lib/components/accordions/risk-assessment-accordion/risk-assessment-accordion.d.ts +0 -7
  43. package/lib/components/boxes/scroll-on-hover-box/index.d.ts +0 -1
  44. package/lib/components/boxes/scroll-on-hover-box/interfaces.d.ts +0 -16
  45. package/lib/components/boxes/scroll-on-hover-box/scroll-on-hover-box.d.ts +0 -3
  46. package/lib/components/complex/navbar/partials/navbar-v1/constants.d.ts +0 -5
  47. package/lib/components/complex/navbar/partials/navbar-v1/index.d.ts +0 -2
  48. package/lib/components/complex/navbar/partials/navbar-v1/interfaces.d.ts +0 -2
  49. package/lib/components/complex/navbar/partials/navbar-v1/partials/index.d.ts +0 -1
  50. package/lib/components/complex/navbar/partials/navbar-v1/partials/labs-item/index.d.ts +0 -1
  51. package/lib/components/complex/navbar/partials/navbar-v1/partials/labs-item/labs-item.d.ts +0 -2
  52. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/index.d.ts +0 -1
  53. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-box/index.d.ts +0 -1
  54. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-box/interfaces.d.ts +0 -7
  55. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-box/menu-box.d.ts +0 -3
  56. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/index.d.ts +0 -1
  57. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/interfaces.d.ts +0 -23
  58. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -3
  59. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/my-genetics-item/index.d.ts +0 -1
  60. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/my-genetics-item/my-genetics-item.d.ts +0 -2
  61. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/navbar-item/index.d.ts +0 -1
  62. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/navbar-item/navbar-item.d.ts +0 -7
  63. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/index.d.ts +0 -1
  64. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/interfaces.d.ts +0 -2
  65. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -3
  66. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/assets/index.d.ts +0 -1
  67. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/assets/profile-icon.svg +0 -3
  68. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/index.d.ts +0 -1
  69. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/interfaces.d.ts +0 -2
  70. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/personal-area-item/personal-area-item.d.ts +0 -3
  71. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/presentational/index.d.ts +0 -1
  72. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/presentational/interfaces.d.ts +0 -3
  73. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/presentational/navbar-desktop-v1-presentational.d.ts +0 -3
  74. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/index.d.ts +0 -2
  75. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/colored-background-list.d.ts +0 -3
  76. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/colored-background-list.utils.d.ts +0 -3
  77. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/index.d.ts +0 -2
  78. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/colored-background-list/interfaces.d.ts +0 -12
  79. 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
  80. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/drop-up-navbar-item/index.d.ts +0 -1
  81. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/drop-up-navbar-item/interfaces.d.ts +0 -18
  82. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons/index.d.ts +0 -1
  83. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/index.d.ts +0 -1
  84. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-folded/index.d.ts +0 -1
  85. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-folded/interfaces.d.ts +0 -13
  86. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-folded/navbar-mobile-folded.d.ts +0 -3
  87. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-box/index.d.ts +0 -1
  88. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-box/interfaces.d.ts +0 -21
  89. 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
  90. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-navigation/constants.d.ts +0 -2
  91. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-navigation/index.d.ts +0 -1
  92. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-navigation/interfaces.d.ts +0 -20
  93. 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
  94. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-search/index.d.ts +0 -1
  95. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navbar-mobile-unfolded-search/interfaces.d.ts +0 -19
  96. 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
  97. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navigation-item-text/index.d.ts +0 -1
  98. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/navigation-item-text/navigation-item-text.d.ts +0 -4
  99. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/presentational/index.d.ts +0 -1
  100. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/presentational/interfaces.d.ts +0 -3
  101. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/presentational/navbar-mobile-v1-presentational.d.ts +0 -6
  102. package/lib/components/complex/navbar/partials/navbar-v1/presentational/index.d.ts +0 -1
  103. package/lib/components/complex/navbar/partials/navbar-v1/presentational/interfaces.d.ts +0 -2
  104. package/lib/components/complex/navbar/partials/navbar-v1/presentational/navbar-v1-presentational.d.ts +0 -8
  105. package/lib/components/complex/navbar/partials/navbar-v2/index.d.ts +0 -2
  106. package/lib/components/complex/navbar/partials/navbar-v2/partials/index.d.ts +0 -1
  107. package/lib/components/complex/navbar/partials/navbar-v2/partials/interfaces.d.ts +0 -102
  108. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/index.d.ts +0 -1
  109. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/cart-item/cart-item.d.ts +0 -3
  110. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/cart-item/index.d.ts +0 -1
  111. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/cart-item/interfaces.d.ts +0 -2
  112. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/index.d.ts +0 -1
  113. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/interfaces.d.ts +0 -7
  114. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +0 -3
  115. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item/index.d.ts +0 -1
  116. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item/interfaces.d.ts +0 -7
  117. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item/navbar-item.d.ts +0 -6
  118. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-with-menu/index.d.ts +0 -1
  119. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-with-menu/intefaces.d.ts +0 -7
  120. 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
  121. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/index.d.ts +0 -1
  122. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/navbar-item-without-menu/intefaces.d.ts +0 -7
  123. 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
  124. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/personal-area-item/index.d.ts +0 -1
  125. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/personal-area-item/interfaces.d.ts +0 -2
  126. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/personal-area-item/personal-area-item.d.ts +0 -3
  127. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/what-is-this/index.d.ts +0 -1
  128. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/what-is-this/interfaces.d.ts +0 -3
  129. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/what-is-this/what-is-this.d.ts +0 -3
  130. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/presentational/index.d.ts +0 -1
  131. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/presentational/interfaces.d.ts +0 -2
  132. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/presentational/navbar-desktop-v2-presentational.d.ts +0 -3
  133. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/index.d.ts +0 -1
  134. 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
  135. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/drop-up-navbar-item/index.d.ts +0 -1
  136. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/drop-up-navbar-item/interfaces.d.ts +0 -18
  137. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-list/index.d.ts +0 -1
  138. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-list/interfaces.d.ts +0 -4
  139. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-list/navbar-list.d.ts +0 -3
  140. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-folded/index.d.ts +0 -1
  141. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-folded/interfaces.d.ts +0 -18
  142. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-folded/navbar-mobile-folded.d.ts +0 -3
  143. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-unfolded-navigation/index.d.ts +0 -1
  144. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/navbar-mobile-unfolded-navigation/interfaces.d.ts +0 -14
  145. 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
  146. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/secondary-drop-up-nav-item/index.d.ts +0 -1
  147. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/partials/secondary-drop-up-nav-item/interfaces.d.ts +0 -3
  148. 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
  149. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/presentational/index.d.ts +0 -1
  150. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/presentational/interfaces.d.ts +0 -2
  151. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-mobile-v2/presentational/navbar-mobile-v2-presentational.d.ts +0 -6
  152. package/lib/components/complex/navbar/partials/navbar-v2/presentational/index.d.ts +0 -1
  153. package/lib/components/complex/navbar/partials/navbar-v2/presentational/interfaces.d.ts +0 -25
  154. package/lib/components/complex/navbar/partials/navbar-v2/presentational/navbar-v2-presentational.d.ts +0 -8
  155. package/lib/components/complex/navbar/presentational/constants-v2.d.ts +0 -6
  156. package/lib/components/complex/navbar/presentational/constants-v3.d.ts +0 -6
  157. package/lib/components/complex/navbar/presentational/index.d.ts +0 -4
  158. package/lib/components/complex/navbar/presentational/interfaces.d.ts +0 -101
  159. package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +0 -6
  160. package/lib/components/complex/navbar/presentational/url-utils.d.ts +0 -4
  161. package/lib/components/radio-button/index.d.ts +0 -1
  162. package/lib/components/radio-button/interfaces.d.ts +0 -31
  163. package/lib/components/radio-button/radio-button.d.ts +0 -3
  164. package/lib/components/text-boxes/divided-text-box/divided-text-box.d.ts +0 -3
  165. package/lib/components/text-boxes/divided-text-box/index.d.ts +0 -1
  166. package/lib/components/text-boxes/divided-text-box/interfaces.d.ts +0 -22
  167. package/lib/components/text-boxes/index.d.ts +0 -2
  168. package/lib/components/text-boxes/table-of-content/index.d.ts +0 -1
  169. package/lib/components/text-boxes/table-of-content/interfaces.d.ts +0 -25
  170. package/lib/components/text-boxes/table-of-content/table-of-content.d.ts +0 -3
  171. package/lib/components/tooltips/radio-info-button-tooltip/index.d.ts +0 -1
  172. package/lib/components/tooltips/radio-info-button-tooltip/interfaces.d.ts +0 -31
  173. package/lib/components/tooltips/radio-info-button-tooltip/radio-info-button-tooltip.d.ts +0 -3
  174. package/lib/components/utils/scroll-to-top-on-mount/index.d.ts +0 -1
  175. package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -2
@@ -1,7 +0,0 @@
1
- import { NavItem } from "../../../interfaces";
2
- export interface NavbarItemWithMenuProps {
3
- /**
4
- * The navItem to be rendered
5
- */
6
- item: NavItem;
7
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { NavbarItemWithMenuProps } from "./intefaces";
3
- export declare const NavbarItemWithMenu: React.FC<NavbarItemWithMenuProps>;
@@ -1 +0,0 @@
1
- export { NavbarItemWithoutMenu } from "./navbar-item-without-menu";
@@ -1,7 +0,0 @@
1
- import { NavItem } from "../../../interfaces";
2
- export interface NavbarItemWithMenuProps {
3
- /**
4
- * The navItem to be rendered
5
- */
6
- item: NavItem;
7
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { NavbarItemWithMenuProps } from "./intefaces";
3
- export declare const NavbarItemWithoutMenu: React.FC<NavbarItemWithMenuProps>;
@@ -1 +0,0 @@
1
- export { PersonalAreaItem } from "./personal-area-item";
@@ -1,2 +0,0 @@
1
- import { MenuBoxProps } from "../menu-box/interfaces";
2
- export declare type PersonalAreaItemProps = Pick<MenuBoxProps, "menuRows">;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PersonalAreaItemProps as Props } from "./interfaces";
3
- export declare const PersonalAreaItem: React.FC<Props>;
@@ -1,3 +0,0 @@
1
- export declare type WhatIsThisProps = {
2
- isLegacy: boolean;
3
- };
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { WhatIsThisProps } from "./interfaces";
3
- export declare const WhatIsThis: React.FC<WhatIsThisProps>;
@@ -1 +0,0 @@
1
- export { NavbarDesktopV2Presentational } from "./navbar-desktop-v2-presentational";
@@ -1,2 +0,0 @@
1
- import { NavbarV2PresentationalProps } from "../../../presentational/interfaces";
2
- export declare type NavbarDesktopV2PresentationalProps = NavbarV2PresentationalProps;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { NavbarDesktopV2PresentationalProps as Props } from "./interfaces";
3
- export declare const NavbarDesktopV2Presentational: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { NavbarMobileV2Presentational as NavbarMobileV2 } from "./presentational";
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { DropUpNavbarItemProps } from "./interfaces";
3
- export declare const DropUpNavbarItem: React.FC<DropUpNavbarItemProps>;
@@ -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,4 +0,0 @@
1
- import { NavMenuItem } from "../../../interfaces";
2
- export interface NavbarListProps {
3
- elements: NavMenuItem[];
4
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { NavbarListProps as Props } from "./interfaces";
3
- export declare const NavbarList: React.FC<Props>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { NavbarMobileFoldedProps } from "./interfaces";
3
- export declare const NavbarMobileFolded: React.FC<NavbarMobileFoldedProps>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { NavbarMobileUnfoldedNavigationProps as Props } from "./interfaces";
3
- export declare const NavbarMobileUnfoldedNavigation: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { SecondaryDropUpNavItem } from "./secondary-drop-up-nav-item";
@@ -1,3 +0,0 @@
1
- import { DropUpNavbarItemProps } from "../drop-up-navbar-item/interfaces";
2
- export interface SecondaryDropUpNavItemProps extends DropUpNavbarItemProps {
3
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { SecondaryDropUpNavItemProps as Props } from "./interfaces";
3
- export declare const SecondaryDropUpNavItem: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { NavbarMobileV2Presentational } from "./navbar-mobile-v2-presentational";
@@ -1,2 +0,0 @@
1
- import { NavbarDesktopV2PresentationalProps } from "../../navbar-desktop-v2/presentational/interfaces";
2
- export declare type NavbarMobileV2PresentationalProps = NavbarDesktopV2PresentationalProps;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import { NavbarMobileV2PresentationalProps as Props } from "./interfaces";
3
- /**
4
- * This component will not be visible in screen with desktop size.
5
- */
6
- export declare const NavbarMobileV2Presentational: React.FC<Props>;
@@ -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,4 +0,0 @@
1
- export { NavbarPresentational as Navbar } from "./navbar-presentational";
2
- export { getLabShopsUrlProps } from "./url-utils";
3
- export type { NavbarProps } from "./interfaces";
4
- export { getNativeLanguageName } from "./language-mapping";
@@ -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,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { NavbarProps } from "./interfaces";
3
- /**
4
- * Renders either navbar-v1 or navbar-v2, depeding on the v2 prop
5
- */
6
- export declare function NavbarPresentational(props: NavbarProps): JSX.Element;
@@ -1,4 +0,0 @@
1
- export declare const getLabShopsUrlProps: () => {
2
- url: string;
3
- isInternal: boolean;
4
- };
@@ -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,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { RadioButtonProps } from "./interfaces";
3
- export declare const RadioButton: (props: RadioButtonProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { DividedTextBoxProps } from "./interfaces";
3
- export declare const DividedTextBox: React.FunctionComponent<DividedTextBoxProps>;
@@ -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,2 +0,0 @@
1
- export * from "./divided-text-box";
2
- export * from "./table-of-content";
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { TableOfContentProps } from "./interfaces";
3
- export declare const TableOfContent: React.FC<TableOfContentProps>;
@@ -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,3 +0,0 @@
1
- import React from "react";
2
- import { RadioInfoButtonTooltipProps as Props } from "./interfaces";
3
- export declare const RadioInfoButtonTooltip: React.FC<Props>;
@@ -1 +0,0 @@
1
- export { ScrollToTopOnMount } from "./scroll-to-top-on-mount";
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ScrollToTopOnMount: () => JSX.Element;