@selfdecode/sd-component-library 2.43.6 → 2.43.10

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 (84) 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/button/interfaces.d.ts +7 -5
  4. package/lib/components/buttons/cta/cta-button/interfaces.d.ts +1 -1
  5. package/lib/components/buttons/cta/secondary-blue-button/interfaces.d.ts +1 -1
  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/index.d.ts +1 -1
  12. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -1
  13. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -1
  14. package/lib/components/complex/navbar/partials/navbar-v2/partials/navbar-desktop-v2/partials/menu-box/menu-box.d.ts +0 -1
  15. package/lib/components/complex/navbar/presentational/index.d.ts +1 -0
  16. package/lib/components/complex/navbar/presentational/interfaces.d.ts +0 -1
  17. package/lib/components/complex/navbar/presentational/navbar-presentational.d.ts +0 -1
  18. package/lib/components/containers/grid-containers/grid-container-v2/grid-container-v2.d.ts +3 -0
  19. package/lib/components/containers/grid-containers/grid-container-v2/index.d.ts +1 -0
  20. package/lib/components/containers/grid-containers/grid-container-v2/interfaces.d.ts +15 -0
  21. package/lib/components/containers/max-width-container/max-width-container.d.ts +0 -1
  22. package/lib/components/containers/section-container/section-container.d.ts +0 -1
  23. package/lib/components/feature-explanation/feature-explanation.d.ts +0 -1
  24. package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +0 -1
  25. package/lib/components/labels/base-label/base-label.d.ts +0 -1
  26. package/lib/components/progress-bars/progress-bar/interfaces.d.ts +2 -2
  27. package/lib/components/progress-bars/rounded-progress-bar/index.d.ts +1 -0
  28. package/lib/components/progress-bars/rounded-progress-bar/interfaces.d.ts +24 -0
  29. package/lib/components/progress-bars/rounded-progress-bar/rounded-progress-bar.d.ts +3 -0
  30. package/lib/components/radio-button/radio-button.d.ts +0 -1
  31. package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +0 -1
  32. package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +0 -1
  33. package/lib/components/selectors/primary-selector/primary-selector.d.ts +0 -1
  34. package/lib/components/selectors/primary-selector-v2/index.d.ts +1 -0
  35. package/lib/components/selectors/primary-selector-v2/interfaces.d.ts +2 -0
  36. package/lib/components/selectors/primary-selector-v2/primary-selector-v2.d.ts +3 -0
  37. package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +0 -1
  38. package/lib/components/selectors/secondary-selector-v2/interfaces.d.ts +1 -1
  39. package/lib/components/selectors/selector/selector.d.ts +0 -1
  40. package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +0 -1
  41. package/lib/components/selectors/selector-v2/selector-v2.d.ts +0 -1
  42. package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +0 -1
  43. package/lib/components/selectors/tertiary-selector-v2/interfaces.d.ts +1 -1
  44. package/lib/components/slider/partials/step-circles/step-circles.d.ts +0 -1
  45. package/lib/components/slider/slider.d.ts +0 -1
  46. package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
  47. package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
  48. package/lib/components/tabs/tab-bar-v2/interfaces.d.ts +0 -4
  49. package/lib/components/tabs/tab-bar-v2/partials/tab-v2/interfaces.d.ts +1 -0
  50. package/lib/components/tabs/tabbed-view/tabbed-view.d.ts +0 -1
  51. package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
  52. package/lib/components/texts/base-text/base-text.d.ts +0 -1
  53. package/lib/components/texts/base-text-v2/base-text-v2.d.ts +3 -0
  54. package/lib/components/texts/base-text-v2/index.d.ts +2 -0
  55. package/lib/components/texts/base-text-v2/interfaces.d.ts +2 -0
  56. package/lib/components/texts/eighteen-bold/eighteen-bold.d.ts +0 -1
  57. package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +0 -1
  58. package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +0 -1
  59. package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +0 -1
  60. package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +0 -1
  61. package/lib/components/texts/fourty-bold/fourty-bold.d.ts +0 -1
  62. package/lib/components/texts/no-translate/no-translate.d.ts +0 -1
  63. package/lib/components/texts/responsive-text/interfaces.d.ts +1 -1
  64. package/lib/components/texts/responsive-text-v2/index.d.ts +2 -0
  65. package/lib/components/texts/responsive-text-v2/interfaces.d.ts +5 -0
  66. package/lib/components/texts/responsive-text-v2/responsive-text-v2.d.ts +3 -0
  67. package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +0 -1
  68. package/lib/components/texts/ten-sb/ten-sb.d.ts +0 -1
  69. package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +0 -1
  70. package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +0 -1
  71. package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +0 -1
  72. package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +0 -1
  73. package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +0 -1
  74. package/lib/components/texts/twelve-regular/twelve-regular.d.ts +0 -1
  75. package/lib/components/texts/twelve-sb/twelve-sb.d.ts +0 -1
  76. package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +0 -1
  77. package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +0 -1
  78. package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +0 -1
  79. package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -1
  80. package/lib/core/custom-hooks.d.ts +8 -0
  81. package/lib/core/theme.d.ts +25 -0
  82. package/lib/index.d.ts +6 -1
  83. package/lib/index.js +1 -1
  84. package/package.json +1 -1
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { UpDownArrowProps } from "./interfaces";
3
2
  export declare function UpDownArrow(props: UpDownArrowProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface BicolorBadgeProps {
3
2
  /**
4
3
  * Color of the left section
@@ -14,7 +14,7 @@ export interface ButtonProps extends BaseComponentProps {
14
14
  */
15
15
  link?: string;
16
16
  /**
17
- * Indicates wheter the url provided in the link prop can be
17
+ * Indicates whether the url provided in the link prop can be
18
18
  * handled by React-Router or not.
19
19
  *
20
20
  * Default value: true
@@ -47,7 +47,7 @@ export interface ButtonProps extends BaseComponentProps {
47
47
  /**
48
48
  * padding for the button
49
49
  */
50
- padding?: Array<string>;
50
+ padding?: string | string[];
51
51
  /**
52
52
  * The font-size css property
53
53
  */
@@ -57,9 +57,9 @@ export interface ButtonProps extends BaseComponentProps {
57
57
  */
58
58
  fontWeight?: string;
59
59
  /**
60
- * The leter-spacing css property
60
+ * The letter-spacing css property
61
61
  */
62
- letterSpacing?: Array<string>;
62
+ letterSpacing?: string | string[];
63
63
  /**
64
64
  * The border radius for the button.
65
65
  */
@@ -68,10 +68,12 @@ export interface ButtonProps extends BaseComponentProps {
68
68
  * The button's width
69
69
  */
70
70
  width?: string | string[];
71
+ minWidth?: string | string[];
72
+ maxWidth?: string | string[];
71
73
  /**
72
74
  * The button's height
73
75
  */
74
- height?: Array<string>;
76
+ height?: string | string[];
75
77
  /**
76
78
  * The border style to apply to the button.
77
79
  */
@@ -2,4 +2,4 @@ import { ButtonProps } from "../../button";
2
2
  /**
3
3
  * Additional props we want to add
4
4
  */
5
- export declare type CtaButtonProps = Pick<ButtonProps, "link" | "isInternal" | "scrollTo" | "width" | "height" | "history" | "onClick" | "children" | "disabled" | "color" | "bg" | "borderColor" | "borderWidth" | "borderRadius" | "hoverBorderColor" | "hoverColor" | "hoverBg" | "v1" | "transition" | "m" | "mt" | "mr" | "mb" | "ml" | "padding" | "loading" | "loadingIconProps">;
5
+ export declare type CtaButtonProps = Pick<ButtonProps, "link" | "isInternal" | "scrollTo" | "width" | "height" | "history" | "onClick" | "children" | "disabled" | "color" | "bg" | "borderColor" | "borderWidth" | "borderRadius" | "hoverBorderColor" | "hoverColor" | "hoverBg" | "v1" | "transition" | "m" | "mt" | "mr" | "mb" | "ml" | "padding" | "loading" | "loadingIconProps" | "minWidth" | "maxWidth">;
@@ -1,2 +1,2 @@
1
1
  import { CtaButtonProps } from "../cta-button";
2
- export declare type SecondaryBlueButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "height" | "borderRadius" | "v1" | "m" | "mt" | "mr" | "mb" | "ml" | "loading" | "loadingIconProps">;
2
+ export declare type SecondaryBlueButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "height" | "borderRadius" | "v1" | "m" | "mt" | "mr" | "mb" | "ml" | "loading" | "loadingIconProps" | "minWidth" | "maxWidth">;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from "./interfaces";
3
2
  /**
4
3
  * Base checkbox component. Other checkbox components should be built from this.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FooterLinkProps } from "./interfaces";
3
2
  export declare function FooterLink(props: FooterLinkProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FooterSectionProps } from "./interfaces";
3
2
  export declare function FooterSection(props: FooterSectionProps): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function FooterSocial(): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FooterPresentationalProps } from "./interfaces";
3
2
  export declare function FooterPresentational(props: FooterPresentationalProps): JSX.Element;
@@ -1 +1 @@
1
- export { NavbarPresentational as Navbar } from "./presentational";
1
+ export { NavbarPresentational as Navbar, getLabShopsUrlProps, } from "./presentational";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { MenuRowProps } from "./interfaces";
3
2
  export declare function MenuRow(props: MenuRowProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { NewAppsItemProps } from "./interfaces";
3
2
  export declare function NewAppsItem(props: NewAppsItemProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { MenuBoxProps } from "./interfaces";
3
2
  export declare function MenuBox(props: MenuBoxProps): JSX.Element;
@@ -1 +1,2 @@
1
1
  export { NavbarPresentational } from "./navbar-presentational";
2
+ export { getLabShopsUrlProps } from "./url-utils";
@@ -82,7 +82,6 @@ export declare type NavbarProps = {
82
82
  * What to do when the logout button has been pressed.
83
83
  *
84
84
  * Default value: () => {
85
- * window.localStorage.setItem("hideDecody", "false");
86
85
  * window.location.href = "/account/logout";
87
86
  * }
88
87
  */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NavbarProps } from "./interfaces";
3
2
  /**
4
3
  * Renders either navbar-v1 or navbar-v2, depeding on the v2 prop
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { GridContainerV2Props as Props } from "./interfaces";
3
+ export declare const GridContainerV2: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { GridContainerV2 } from "./grid-container-v2";
@@ -0,0 +1,15 @@
1
+ import { BoxProps } from "rebass";
2
+ export interface GridContainerV2Props extends Omit<BoxProps, "display"> {
3
+ /**
4
+ * Grid columns template.
5
+ */
6
+ gridTemplateColumns?: string | string[];
7
+ /**
8
+ * Grid rows template.
9
+ */
10
+ gridTemplateRows?: string | string[];
11
+ /**
12
+ * Gap between elements.
13
+ */
14
+ gap?: string | string[];
15
+ }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { MaxWidthContainerProps } from "./interfaces";
3
2
  export declare const MaxWidthContainer: (props: MaxWidthContainerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SectionContainerProps } from "./interfaces";
3
2
  /**
4
3
  * The SectionContainer has responsive behavior
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FeatureExplanationProps } from "./interfaces";
3
2
  export declare const FeatureExplanation: (props: FeatureExplanationProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SearchBoxProps } from "./interfaces";
3
2
  export declare const SearchBox: (props: SearchBoxProps) => JSX.Element;
@@ -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,8 +1,8 @@
1
1
  import { BaseComponentProps } from "../../interfaces";
2
2
  /**
3
- * Defines the ProgpressBar component's properties.
3
+ * Defines the ProgressBar component's properties.
4
4
  */
5
- interface CommonProgressBarProps extends BaseComponentProps {
5
+ export interface CommonProgressBarProps extends BaseComponentProps {
6
6
  /**
7
7
  * The total amount of steps in our total progress
8
8
  */
@@ -0,0 +1 @@
1
+ export { RoundedProgressBar } from "./rounded-progress-bar";
@@ -0,0 +1,24 @@
1
+ import { SxProps } from "rebass";
2
+ import { CommonProgressBarProps } from "../progress-bar/interfaces";
3
+ export interface RoundedProgressBarProps extends Pick<CommonProgressBarProps, "currentStep" | "totalSteps"> {
4
+ /**
5
+ * Bar height.
6
+ */
7
+ height?: string | string[];
8
+ /**
9
+ * Border radius of the bars.
10
+ */
11
+ borderRadius?: string | string[];
12
+ /**
13
+ * Color of the not active part.
14
+ */
15
+ baseColor?: string;
16
+ /**
17
+ * Color of the active part.
18
+ */
19
+ activeColor?: string;
20
+ /**
21
+ * Sx prop to customize container.
22
+ */
23
+ containerSx?: SxProps["sx"];
24
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { RoundedProgressBarProps as Props } from "./interfaces";
3
+ export declare const RoundedProgressBar: React.FC<Props>;
@@ -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">) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PrimarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * The PrimarySelector.
@@ -0,0 +1 @@
1
+ export { PrimarySelectorV2 } from "./primary-selector-v2";
@@ -0,0 +1,2 @@
1
+ import { SelectorV2Props } from "../selector-v2";
2
+ export declare type PrimarySelectorV2Props<T extends string = string> = Omit<SelectorV2Props<T>, "variant">;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { PrimarySelectorV2Props as Props } from "./interfaces";
3
+ export declare const PrimarySelectorV2: React.FC<Props>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SecondarySelectorProps as Props } from "./interfaces";
3
2
  /**
4
3
  * The SecondarySelector.
@@ -1,2 +1,2 @@
1
1
  import { SelectorV2Props } from "../selector-v2";
2
- export declare type SecondarySelectorV2Props = Omit<SelectorV2Props, "variant" | "labelContainerAlignItems">;
2
+ export declare type SecondarySelectorV2Props<T extends string = string> = Omit<SelectorV2Props<T>, "variant" | "labelContainerAlignItems">;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { SelectorProps as Props } from "./interfaces";
3
2
  export declare const Selector: <T extends string = string>(props: Props<T>) => JSX.Element;
@@ -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;
@@ -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,3 @@
1
1
  import { SelectorV2Props } from "../selector-v2";
2
- export interface TertiarySelectorV2Props extends Omit<SelectorV2Props, "variant"> {
2
+ export interface TertiarySelectorV2Props<T extends string = string> extends Omit<SelectorV2Props<T>, "variant"> {
3
3
  }
@@ -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;
@@ -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, }: TabBarProps<T>): JSX.Element;
@@ -31,10 +31,6 @@ export interface TabBarV2Props {
31
31
  * Border radius of the tab bar (in px).
32
32
  */
33
33
  borderRadius?: number;
34
- /**
35
- * Side padding of the tab bar.
36
- */
37
- paddingX?: string;
38
34
  /**
39
35
  * Side padding of the tab.
40
36
  */
@@ -20,4 +20,5 @@ export interface TabV2Props extends TabV2Config, Required<Omit<TabBarV2Props, "t
20
20
  * Side padding of the tab
21
21
  */
22
22
  px?: string | string[];
23
+ observer?: IntersectionObserver;
23
24
  }
@@ -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;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { BaseTextV2Props as Props } from "./interfaces";
3
+ export declare const BaseTextV2: React.FC<Props>;
@@ -0,0 +1,2 @@
1
+ export { BaseTextV2 } from "./base-text-v2";
2
+ export type { BaseTextV2Props } from "./interfaces";
@@ -0,0 +1,2 @@
1
+ import { TextProps } from "rebass";
2
+ export declare type BaseTextV2Props = TextProps;
@@ -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;
@@ -6,7 +6,7 @@ declare type PropsFromBaseText = Pick<BaseTextProps, "children" | "color" | "dis
6
6
  /**
7
7
  * SelfDecode's combinations of fontSize and fontWeight.
8
8
  */
9
- declare type SDFontSizeWeight = [number, "semi-bold" | "regular" | "bold"];
9
+ export declare type SDFontSizeWeight = [number, "semi-bold" | "regular" | "bold"];
10
10
  export interface ResponsiveTextProps extends PropsFromBaseText {
11
11
  fontSizeWeight: SDFontSizeWeight[];
12
12
  /**
@@ -0,0 +1,2 @@
1
+ export { ResponsiveTextV2 } from "./responsive-text-v2";
2
+ export type { ResponsiveTextV2Props } from "./interfaces";
@@ -0,0 +1,5 @@
1
+ import { BaseTextV2Props } from "../base-text-v2";
2
+ import { SDFontSizeWeight } from "../responsive-text/interfaces";
3
+ export interface ResponsiveTextV2Props extends Omit<BaseTextV2Props, "variant"> {
4
+ fontSizeWeight: SDFontSizeWeight[];
5
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { ResponsiveTextV2Props as Props } from "./interfaces";
3
+ export declare const ResponsiveTextV2: React.FC<Props>;
@@ -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;
@@ -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;
@@ -41,3 +41,11 @@ export declare function useBreakPoints(): {
41
41
  isTab: boolean;
42
42
  isDesktop: boolean;
43
43
  };
44
+ /**
45
+ * Provided intersection observer for the specified elements.
46
+ *
47
+ * @param rootRef Ref for the root element.
48
+ * @param rootMargin Margin for the root element area.
49
+ * @param callback Function to process intersection changes.
50
+ */
51
+ export declare function useIntersectionObserver(rootRef: RefObject<HTMLElement>, rootMargin: string, callback: IntersectionObserverCallback): IntersectionObserver | undefined;
@@ -309,6 +309,21 @@ declare const _default: {
309
309
  color: string;
310
310
  fontSize: string;
311
311
  };
312
+ primaryV2: {
313
+ position: string;
314
+ left: string;
315
+ top: string;
316
+ height: string;
317
+ fontFamily: string;
318
+ fontWeight: number;
319
+ color: string;
320
+ fontSize: string;
321
+ letterSpacing: string;
322
+ textTransform: string;
323
+ width: string;
324
+ bg: string;
325
+ px: string;
326
+ };
312
327
  };
313
328
  iconButton: {
314
329
  marginRight: string;
@@ -433,6 +448,16 @@ declare const _default: {
433
448
  transform: string;
434
449
  };
435
450
  };
451
+ primaryV2: {
452
+ fontFamily: string;
453
+ fontSize: string;
454
+ color: string;
455
+ px: string;
456
+ py: string;
457
+ borderRadius: string;
458
+ borderColor: string;
459
+ outline: string;
460
+ };
436
461
  };
437
462
  };
438
463
  text: {