@selfdecode/sd-component-library 2.45.1 → 2.45.4

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 (139) hide show
  1. package/lib/components/animations/up-down-arrow/up-down-arrow.d.ts +0 -1
  2. package/lib/components/bicolor-badge/interfaces.d.ts +0 -1
  3. package/lib/components/buttons/logos/logo/interfaces.d.ts +1 -1
  4. package/lib/components/buttons/logos/navbar-logo/interfaces.d.ts +1 -1
  5. package/lib/components/buttons/round-icon-button/interfaces.d.ts +4 -0
  6. package/lib/components/checkboxes/checkbox/checkbox.d.ts +0 -1
  7. package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +0 -1
  8. package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +0 -1
  9. package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +0 -1
  10. package/lib/components/complex/footer/presentational/footer-presentational.d.ts +0 -1
  11. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -1
  12. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -1
  13. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-mobile-v1/partials/icon-buttons/icon-buttons.d.ts +3 -3
  14. package/lib/components/complex/navbar/partials/navbar-v2/partials/interfaces.d.ts +4 -0
  15. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +0 -1
  16. package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +0 -1
  17. package/lib/components/complex/updated-navbar/constants.d.ts +59 -0
  18. package/lib/components/complex/updated-navbar/index.d.ts +1 -0
  19. package/lib/components/complex/updated-navbar/interfaces.d.ts +6 -0
  20. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/index.d.ts +1 -0
  21. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/interfaces.d.ts +4 -0
  22. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/index.d.ts +1 -0
  23. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/interfaces.d.ts +14 -0
  24. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-box/updated-menu-box.d.ts +3 -0
  25. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/index.d.ts +1 -0
  26. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/interfaces.d.ts +11 -0
  27. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-menu-row/updated-menu-row.d.ts +3 -0
  28. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/index.d.ts +1 -0
  29. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/interfaces.d.ts +11 -0
  30. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/updated-navbar-item/updated-navbar-item.d.ts +3 -0
  31. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/index.d.ts +1 -0
  32. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/interfaces.d.ts +4 -0
  33. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/partials/v2-to-legacy-switch-desktop/v2-to-legacy-switch-desktop.d.ts +3 -0
  34. package/lib/components/complex/updated-navbar/partials/updated-navbar-desktop/updated-navbar-desktop.d.ts +3 -0
  35. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/index.d.ts +1 -0
  36. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/interfaces.d.ts +3 -0
  37. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/index.d.ts +1 -0
  38. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/interfaces.d.ts +5 -0
  39. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/unfolded-navbar-container/unfolded-navbar-container.d.ts +3 -0
  40. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/index.d.ts +1 -0
  41. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/interfaces.d.ts +5 -0
  42. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-folded/updated-navbar-folded.d.ts +3 -0
  43. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/index.d.ts +1 -0
  44. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/interfaces.d.ts +6 -0
  45. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/index.d.ts +1 -0
  46. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/interfaces.d.ts +11 -0
  47. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/item-row/item-row.d.ts +3 -0
  48. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/index.d.ts +1 -0
  49. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/interfaces.d.ts +8 -0
  50. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/primary-folded-item/primary-folded-item.d.ts +3 -0
  51. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/index.d.ts +1 -0
  52. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/interfaces.d.ts +10 -0
  53. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/secondary-folded-item/secondary-folded-item.d.ts +3 -0
  54. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/index.d.ts +1 -0
  55. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/interfaces.d.ts +9 -0
  56. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item/unfolded-item.d.ts +3 -0
  57. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/index.d.ts +1 -0
  58. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/interfaces.d.ts +9 -0
  59. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/partials/unfolded-item-row/unfolded-item-row.d.ts +3 -0
  60. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-navigation/updated-navbar-navigation.d.ts +3 -0
  61. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/index.d.ts +1 -0
  62. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/interfaces.d.ts +6 -0
  63. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/updated-navbar-search/updated-navbar-search.d.ts +3 -0
  64. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/index.d.ts +1 -0
  65. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/interfaces.d.ts +3 -0
  66. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/partials/v2-to-legacy-switch-mobile/v2-to-legacy-switch-mobile.d.ts +3 -0
  67. package/lib/components/complex/updated-navbar/partials/updated-navbar-mobile/updated-navbar-mobile.d.ts +3 -0
  68. package/lib/components/complex/updated-navbar/updated-navbar.d.ts +3 -0
  69. package/lib/components/containers/flex-center/flex-center.d.ts +3 -0
  70. package/lib/components/containers/flex-center/index.d.ts +1 -0
  71. package/lib/components/containers/max-width-container/max-width-container.d.ts +0 -1
  72. package/lib/components/containers/max-width-container-v2/index.d.ts +1 -0
  73. package/lib/components/containers/max-width-container-v2/interfaces.d.ts +2 -0
  74. package/lib/components/containers/max-width-container-v2/max-width-container-v2.d.ts +3 -0
  75. package/lib/components/containers/section-container/section-container.d.ts +0 -1
  76. package/lib/components/dividers/divider/interfaces.d.ts +4 -0
  77. package/lib/components/feature-explanation/feature-explanation.d.ts +0 -1
  78. package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.d.ts +0 -1
  79. package/lib/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.d.ts +0 -1
  80. package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.d.ts +0 -1
  81. package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +0 -1
  82. package/lib/components/inputs/search-input/presentational/interfaces.d.ts +22 -1
  83. package/lib/components/interfaces.d.ts +5 -5
  84. package/lib/components/labels/base-label/base-label.d.ts +0 -1
  85. package/lib/components/links/link/interfaces.d.ts +6 -2
  86. package/lib/components/links/primary-link/interfaces.d.ts +1 -6
  87. package/lib/components/menus/actions-menu/actions-menu.d.ts +3 -0
  88. package/lib/components/menus/actions-menu/index.d.ts +1 -0
  89. package/lib/components/menus/actions-menu/interfaces.d.ts +16 -0
  90. package/lib/components/radio-button/radio-button.d.ts +0 -1
  91. package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +0 -1
  92. package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +0 -1
  93. package/lib/components/selectors/primary-selector/primary-selector.d.ts +0 -1
  94. package/lib/components/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.d.ts +0 -1
  95. package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.d.ts +0 -1
  96. package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +0 -1
  97. package/lib/components/selectors/selector/selector.d.ts +0 -1
  98. package/lib/components/selectors/selector-v2/interfaces.d.ts +1 -1
  99. package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +0 -1
  100. package/lib/components/selectors/selector-v2/partials/base-selector-v2/interfaces.d.ts +4 -0
  101. package/lib/components/selectors/selector-v2/selector-v2.d.ts +0 -1
  102. package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +0 -1
  103. package/lib/components/slider/partials/step-circles/step-circles.d.ts +0 -1
  104. package/lib/components/slider/slider.d.ts +0 -1
  105. package/lib/components/switches/toggle-switch/index.d.ts +1 -0
  106. package/lib/components/switches/toggle-switch/interfaces.d.ts +4 -0
  107. package/lib/components/switches/toggle-switch/toggle-switch.d.ts +3 -0
  108. package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
  109. package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
  110. package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +0 -1
  111. package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
  112. package/lib/components/texts/base-text/base-text.d.ts +0 -1
  113. package/lib/components/texts/base-text/interfaces.d.ts +2 -2
  114. package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +0 -1
  115. package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +0 -1
  116. package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +0 -1
  117. package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +0 -1
  118. package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +0 -1
  119. package/lib/components/texts/fourty-bold/fourty-bold.d.ts +0 -1
  120. package/lib/components/texts/no-translate/no-translate.d.ts +0 -1
  121. package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +0 -1
  122. package/lib/components/texts/ten-sb/ten-sb.d.ts +0 -1
  123. package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +0 -1
  124. package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +0 -1
  125. package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +0 -1
  126. package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +0 -1
  127. package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +0 -1
  128. package/lib/components/texts/twelve-regular/twelve-regular.d.ts +0 -1
  129. package/lib/components/texts/twelve-sb/twelve-sb.d.ts +0 -1
  130. package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +0 -1
  131. package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +0 -1
  132. package/lib/components/tooltips/radio-info-button-tooltip/interfaces.d.ts +8 -0
  133. package/lib/components/utils/anchor/interfaces.d.ts +6 -1
  134. package/lib/components/utils/anchor/refs-manager.d.ts +2 -1
  135. package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +0 -1
  136. package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -1
  137. package/lib/index.d.ts +5 -0
  138. package/lib/index.js +1 -1
  139. package/package.json +1 -1
@@ -7,23 +7,23 @@ export interface BaseComponentProps {
7
7
  /**
8
8
  * The margin property
9
9
  */
10
- m?: string[];
10
+ m?: string | string[];
11
11
  /**
12
12
  * The margin property top
13
13
  */
14
- mt?: string[];
14
+ mt?: string | string[];
15
15
  /**
16
16
  * The margin property right
17
17
  */
18
- mr?: string[];
18
+ mr?: string | string[];
19
19
  /**
20
20
  * The margin property bottom
21
21
  */
22
- mb?: string[];
22
+ mb?: string | string[];
23
23
  /**
24
24
  * The margin property left
25
25
  */
26
- ml?: string[];
26
+ ml?: string | string[];
27
27
  /**
28
28
  * Z-index of the component
29
29
  */
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { BaseLabelProps } from "./interfaces";
3
2
  export declare const BaseLabel: (props: BaseLabelProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
- import { BaseComponentProps } from "../../interfaces";
2
- export interface LinkProps extends BaseComponentProps {
1
+ import { LinkProps as RebassLinkProps } from "rebass";
2
+ export interface LinkProps extends RebassLinkProps {
3
3
  /**
4
4
  * The text of the link
5
5
  */
@@ -18,4 +18,8 @@ export interface LinkProps extends BaseComponentProps {
18
18
  * Color of the text in the link
19
19
  */
20
20
  color?: string;
21
+ /**
22
+ * Whether to block auto-translation for link content.
23
+ */
24
+ dontTranslate?: boolean;
21
25
  }
@@ -1,7 +1,2 @@
1
1
  import { LinkProps } from "../link";
2
- export declare type PrimaryLinkProps = Pick<LinkProps, "href" | "title" | "internal" | "m" | "mt" | "mr" | "mb" | "ml"> & {
3
- /**
4
- * Default value: ["#9E1CB5"] (the same as ["purple"] and ["cl_purple"])
5
- */
6
- color?: LinkProps["color"];
7
- };
2
+ export declare type PrimaryLinkProps = Omit<LinkProps, "variant">;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { ActionsMenuProps as Props } from "./interfaces";
3
+ export declare const ActionsMenu: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { ActionsMenu } from "./actions-menu";
@@ -0,0 +1,16 @@
1
+ import { SxProps } from "rebass";
2
+ export interface ActionsMenuProps {
3
+ actions: ActionConfig[];
4
+ actionsBoxWidth?: string;
5
+ actionBoxPx?: string | string[];
6
+ actionBoxPy?: string | string[];
7
+ containerSx?: SxProps["sx"];
8
+ /**
9
+ * Whether to hide options box after selection.
10
+ */
11
+ closeAfterSelection?: boolean;
12
+ }
13
+ export interface ActionConfig {
14
+ text: string;
15
+ onClick: () => void;
16
+ }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { RadioButtonProps } from "./interfaces";
3
2
  export declare const RadioButton: (props: RadioButtonProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FiveStarsRatingProps } from "./interfaces";
3
2
  export declare const FiveStarsRating: (props: FiveStarsRatingProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { CompactPrimarySelectorProps as Props } from "./interfaces";
3
2
  export declare const CompactPrimarySelector: <T extends string = string>(props: Pick<import("../selector").SelectorProps<T>, "width" | "m" | "mt" | "mr" | "mb" | "ml" | "onChange" | "name" | "defaultValue" | "textTransform" | "selectorLabel" | "options" | "disabledTextValue" | "hideDefaultOnSelect" | "labelMargin" | "translateSelect">) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PrimarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * The PrimarySelector.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SecondaryCustomSelectorOptionsBoxProps as Props } from "./interfaces";
3
2
  export declare const SecondaryCustomSelectorOptionsBox: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SecondaryCustomSelectorProps as Props } from "./interfaces";
3
2
  export declare const SecondaryCustomSelector: <T extends string = string>(props: Props<T>) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SecondarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * The SecondarySelector.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectorProps as Props } from "./interfaces";
3
2
  export declare const getNoTranslateClass: (flag: boolean) => "no-translate" | undefined;
4
3
  export declare const Selector: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -8,7 +8,7 @@ export declare type SelectorOptionV2<T extends string | null = string> = {
8
8
  /**
9
9
  * Defines the selector component's properties.
10
10
  */
11
- export interface SelectorV2Props<T extends string = string> extends Omit<SelectorProps, "onChange" | "defaultValue" | "options">, Pick<BaseSelectorV2Props, "pl" | "containerVariant" | "labelContainerAlignItems"> {
11
+ export interface SelectorV2Props<T extends string = string> extends Omit<SelectorProps, "onChange" | "defaultValue" | "options">, Pick<BaseSelectorV2Props, "pl" | "containerVariant" | "labelContainerAlignItems" | "disabled"> {
12
12
  /**
13
13
  * Default value of the selector.
14
14
  */
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { BaseSelectorV2Props as Props } from "./interfaces";
3
2
  export declare const BaseSelectorV2: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -30,4 +30,8 @@ export interface BaseSelectorV2Props<T extends string = string> extends Omit<Sel
30
30
  * Variant for the selector container.
31
31
  */
32
32
  containerVariant?: string;
33
+ /**
34
+ * Whether to force disabling of the select element.
35
+ */
36
+ disabled?: boolean;
33
37
  }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SelectorV2Props as Props } from "./interfaces";
3
2
  export declare const SelectorV2: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TertiarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * The TertiarySelector.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { StepCirclesProps } from "./interfaces";
3
2
  export declare const StepCircles: (props: StepCirclesProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SliderProps } from "./interfaces";
3
2
  export declare const Slider: (props: SliderProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { ToggleSwitch } from "./toggle-switch";
@@ -0,0 +1,4 @@
1
+ export interface ToggleSwitchProps {
2
+ initialState?: boolean;
3
+ onClick?: () => void;
4
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { ToggleSwitchProps as Props } from "./interfaces";
3
+ export declare const ToggleSwitch: React.FC<Props>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TabProps } from "./interfaces";
3
2
  export declare const Ribbon: ({ active, activeColor, color, }: {
4
3
  active?: boolean | undefined;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TabBarProps } from "./interfaces";
3
2
  export declare function TabBar<T>({ tabs, selectedTabId, onTabSelect, activeColor, color, displayBorder, tabPadding, tabWidth, tabHeight, tabMaxWidth, }: TabBarProps<T>): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TabbedViewProps } from "./interfaces";
3
2
  export declare function TabbedView({ tabs, color, activeColor, contentPadding, tabPadding, }: TabbedViewProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TabsMenuProps } from "./interfaces";
3
2
  /**
4
3
  * TabsMenu component.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { BaseTextProps } from "./interfaces";
3
2
  export declare const BaseText: (props: BaseTextProps) => JSX.Element;
@@ -44,11 +44,11 @@ interface CommonBaseTextProps extends Pick<BaseComponentProps, "m" | "mt" | "mr"
44
44
  /**
45
45
  * Possible letter spacing
46
46
  */
47
- letterSpacing?: Array<string>;
47
+ letterSpacing?: string | string[];
48
48
  /**
49
49
  * Possible line height adjustments
50
50
  */
51
- lineHeight?: Array<string>;
51
+ lineHeight?: string | string[];
52
52
  /**
53
53
  * Possible bg color for the text
54
54
  */
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { EighteenBoldProps } from "./interfaces";
3
2
  export declare const EighteenBold: (props: EighteenBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { EighteenRegularProps } from "./interfaces";
3
2
  export declare const EighteenRegular: (props: EighteenRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FiftyFiveSbProps } from "./interfaces";
3
2
  export declare const FiftyFiveSb: (props: FiftyFiveSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FourteenRegularProps } from "./interfaces";
3
2
  export declare const FourteenRegular: (props: FourteenRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FourteenSbProps } from "./interfaces";
3
2
  export declare const FourteenSb: (props: FourteenSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FourtyBoldProps } from "./interfaces";
3
2
  export declare const FourtyBold: (props: FourtyBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TextProps } from "rebass";
3
2
  export declare const NoTranslate: (props: TextProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SixteenRegularProps } from "./interfaces";
3
2
  export declare const SixteenRegular: (props: SixteenRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TenSbProps } from "./interfaces";
3
2
  export declare const TenSb: (props: TenSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirteenBoldProps } from "./interfaces";
3
2
  export declare const ThirteenBold: (props: ThirteenBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirteenRegularProps } from "./interfaces";
3
2
  export declare const ThirteenRegular: (props: ThirteenRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirteenSbProps } from "./interfaces";
3
2
  export declare const ThirteenSb: (props: ThirteenSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirtyTwoBoldProps } from "./interfaces";
3
2
  export declare const ThirtyTwoBold: (props: ThirtyTwoBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ThirtyTwoRegularProps } from "./interfaces";
3
2
  export declare const ThirtyTwoRegular: (props: ThirtyTwoRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TwelveRegularProps } from "./interfaces";
3
2
  export declare const TwelveRegular: (props: TwelveRegularProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TwelveSbProps } from "./interfaces";
3
2
  export declare const TwelveSb: (props: TwelveSbProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TwentyFourBoldProps } from "./interfaces";
3
2
  export declare const TwentyFourBold: (props: TwentyFourBoldProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TwentyFourRegularProps } from "./interfaces";
3
2
  export declare const TwentyFourRegular: (props: TwentyFourRegularProps) => JSX.Element;
@@ -20,4 +20,12 @@ export interface RadioInfoButtonTooltipProps extends Omit<RadioInfoButtonProps,
20
20
  * Position of the tooltip in the horizontal plane (right by default).
21
21
  */
22
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;
23
31
  }
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { BoxProps } from "rebass";
2
3
  /**
3
4
  * Type for the refsMap to be stored in reference manager.
4
5
  */
@@ -8,7 +9,7 @@ export declare type refsMap = {
8
9
  /**
9
10
  * Interface for Anchor props.
10
11
  */
11
- export interface AnchorProps {
12
+ export interface AnchorProps extends BoxProps {
12
13
  /**
13
14
  * Hash id of the component.
14
15
  */
@@ -30,4 +31,8 @@ export interface AnchorProps {
30
31
  * Children of Anchor component.
31
32
  */
32
33
  children: React.ReactNode;
34
+ /**
35
+ * Scroll behavior for the anchor.
36
+ */
37
+ scrollBehavior?: "auto" | "smooth";
33
38
  }
@@ -27,8 +27,9 @@ declare class RefsManager {
27
27
  * Scroll the component with provided ID into the view.
28
28
  *
29
29
  * @param id ID for the component.
30
+ * @param behavior Scroll behavior.
30
31
  */
31
- scrollToRef(id: string): void;
32
+ scrollToRef(id: string, behavior?: "smooth" | "auto"): void;
32
33
  }
33
34
  export declare const refsManager: RefsManager;
34
35
  export {};
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ScrollToTopProps } from "./interfaces";
3
2
  export declare const ScrollToTop: (props: ScrollToTopProps) => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const ScrollToTopOnMount: () => JSX.Element;
package/lib/index.d.ts CHANGED
@@ -54,7 +54,9 @@ export { MaxFrContainer } from "./components/containers/grid-containers/max-fr-c
54
54
  export { MaxMaxContainer } from "./components/containers/grid-containers/max-max-container";
55
55
  export { SectionContainer } from "./components/containers/section-container";
56
56
  export { MaxWidthContainer } from "./components/containers/max-width-container";
57
+ export { MaxWidthContainerV2 as MaxWidth } from "./components/containers/max-width-container-v2";
57
58
  export { GridContainerV2 as Grid } from "./components/containers/grid-containers/grid-container-v2";
59
+ export { FlexCenter } from "./components/containers/flex-center";
58
60
  export { CarouselSectionContainer } from "./components/carousels/carousel-section-container";
59
61
  export { ResponsiveGridContainerT1 } from "./components/containers/responsive-containers/responsive-container-t1";
60
62
  export { ResponsiveGridContainerT2 } from "./components/containers/responsive-containers/responsive-container-t2";
@@ -102,6 +104,7 @@ export { PrimaryLink } from "./components/links/primary-link";
102
104
  export { List } from "./components/lists/list";
103
105
  export declare type ListProps = BaseListProps;
104
106
  export { PrimaryList } from "./components/lists/primary-list";
107
+ export { ActionsMenu } from "./components/menus/actions-menu";
105
108
  export { BaseOutlineMeter } from "./components/meters/base-outline-meter";
106
109
  export declare type BaseOutlineMeterProps = BaseBaseOutlineMeterProps;
107
110
  export { DiscreteOutlineMeter } from "./components/meters/discrete-outline-meter";
@@ -153,6 +156,7 @@ export { TextSwitch } from "./components/switches/text-switch";
153
156
  export declare type TextSwitchProps = BaseTextSwitchProps;
154
157
  export { CarouselSwitch } from "./components/switches/carousel-switch";
155
158
  export declare type CarouselSwitchProps = BaseCarouselSwitchProps;
159
+ export { ToggleSwitch } from "./components/switches/toggle-switch";
156
160
  export { TabsMenu } from "./components/tabs/tabs-menu";
157
161
  export { TabBar } from "./components/tabs/tab-bar";
158
162
  export { TabbedView } from "./components/tabs/tabbed-view";
@@ -195,6 +199,7 @@ export { ActionsTooltip } from "./components/tooltips/actions-tooltip";
195
199
  export { TooltipWithPointer } from "./components/tooltips/tooltip-with-pointer";
196
200
  export { Footer } from "./components/complex/footer";
197
201
  export { Navbar, getLabShopsUrlProps } from "./components/complex/navbar";
202
+ export { UpdatedNavbar } from "./components/complex/updated-navbar";
198
203
  export { Anchor } from "./components/utils/anchor";
199
204
  export { PageTracker } from "./components/utils/page-tracker";
200
205
  export { ScrollToTop } from "./components/utils/scroll-to-top";