@selfdecode/sd-component-library 2.43.15 → 2.43.19

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 (79) 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 -0
  4. package/lib/components/buttons/cta/cta-button/interfaces.d.ts +1 -1
  5. package/lib/components/buttons/cta/primary-blue-button/interfaces.d.ts +1 -1
  6. package/lib/components/buttons/cta/primary-text-button/interfaces.d.ts +1 -1
  7. package/lib/components/buttons/cta/secondary-blue-button/interfaces.d.ts +1 -1
  8. package/lib/components/checkboxes/checkbox/checkbox.d.ts +0 -1
  9. package/lib/components/complex/footer/partials/footer-link/footer-link.d.ts +0 -1
  10. package/lib/components/complex/footer/partials/footer-section/footer-section.d.ts +0 -1
  11. package/lib/components/complex/footer/partials/footer-social/footer-social.d.ts +0 -1
  12. package/lib/components/complex/footer/presentational/footer-presentational.d.ts +0 -1
  13. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/menu-row/menu-row.d.ts +0 -1
  14. package/lib/components/complex/navbar/partials/navbar-v1/partials/navbar-desktop-v1/partials/new-apps/new-apps.d.ts +0 -1
  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/containers/max-width-container/max-width-container.d.ts +0 -1
  18. package/lib/components/containers/section-container/section-container.d.ts +0 -1
  19. package/lib/components/feature-explanation/feature-explanation.d.ts +0 -1
  20. package/lib/components/feedback/base-feedback-button/interfaces.d.ts +1 -1
  21. package/lib/components/feedback/multiple-options-feedback/interfaces.d.ts +1 -0
  22. package/lib/components/feedback/yes-no-feedback-block/interfaces.d.ts +1 -0
  23. package/lib/components/inputs/date-inputs/outlined-date-range-input/interfaces.d.ts +5 -0
  24. package/lib/components/inputs/input/interfaces.d.ts +2 -2
  25. package/lib/components/inputs/multi-row-secondary-text-input/index.d.ts +1 -0
  26. package/lib/components/inputs/multi-row-secondary-text-input/interfaces.d.ts +7 -0
  27. package/lib/components/inputs/multi-row-secondary-text-input/multi-row-secondary-text-input.d.ts +3 -0
  28. package/lib/components/inputs/search-input/partials/search-box/search-box.d.ts +0 -1
  29. package/lib/components/labels/base-label/base-label.d.ts +0 -1
  30. package/lib/components/meters/multi-option-discrete-outline-meter/interfaces.d.ts +1 -0
  31. package/lib/components/radio-button/radio-button.d.ts +0 -1
  32. package/lib/components/ratings/five-stars-rating/five-stars-rating.d.ts +0 -1
  33. package/lib/components/selectors/combined-secondary-selector-v2/combined-secondary-selector-v2.d.ts +3 -0
  34. package/lib/components/selectors/combined-secondary-selector-v2/index.d.ts +1 -0
  35. package/lib/components/selectors/combined-secondary-selector-v2/interfaces.d.ts +5 -0
  36. package/lib/components/selectors/compact-primary-selector/compact-primary-selector.d.ts +0 -1
  37. package/lib/components/selectors/primary-selector/primary-selector.d.ts +0 -1
  38. package/lib/components/selectors/secondary-selector/secondary-selector.d.ts +0 -1
  39. package/lib/components/selectors/selector/selector.d.ts +0 -1
  40. package/lib/components/selectors/selector-v2/interfaces.d.ts +2 -1
  41. package/lib/components/selectors/selector-v2/partials/base-selector-v2/base-selector-v2.d.ts +0 -1
  42. package/lib/components/selectors/selector-v2/partials/base-selector-v2/interfaces.d.ts +8 -0
  43. package/lib/components/selectors/selector-v2/selector-v2.d.ts +0 -1
  44. package/lib/components/selectors/tertiary-selector/tertiary-selector.d.ts +0 -1
  45. package/lib/components/slider/partials/step-circles/step-circles.d.ts +0 -1
  46. package/lib/components/slider/slider.d.ts +0 -1
  47. package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
  48. package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
  49. package/lib/components/tabs/tab-bar-v2/partials/tab-v2/interfaces.d.ts +4 -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/eighteen-bold/eighteen-bold.d.ts +0 -1
  54. package/lib/components/texts/eighteen-regular/eighteen-regular.d.ts +0 -1
  55. package/lib/components/texts/fifty-five-sb/fifty-five-sb.d.ts +0 -1
  56. package/lib/components/texts/fourteen-regular/fourteen-regular.d.ts +0 -1
  57. package/lib/components/texts/fourteen-sb/fourteen-sb.d.ts +0 -1
  58. package/lib/components/texts/fourty-bold/fourty-bold.d.ts +0 -1
  59. package/lib/components/texts/no-translate/no-translate.d.ts +0 -1
  60. package/lib/components/texts/sixteen-regular/sixteen-regular.d.ts +0 -1
  61. package/lib/components/texts/ten-sb/ten-sb.d.ts +0 -1
  62. package/lib/components/texts/thirteen-bold/thirteen-bold.d.ts +0 -1
  63. package/lib/components/texts/thirteen-regular/thirteen-regular.d.ts +0 -1
  64. package/lib/components/texts/thirteen-sb/thirteen-sb.d.ts +0 -1
  65. package/lib/components/texts/thirty-two-bold/thirty-two-bold.d.ts +0 -1
  66. package/lib/components/texts/thirty-two-regular/thirty-two-regular.d.ts +0 -1
  67. package/lib/components/texts/twelve-regular/twelve-regular.d.ts +0 -1
  68. package/lib/components/texts/twelve-sb/twelve-sb.d.ts +0 -1
  69. package/lib/components/texts/twenty-four-bold/twenty-four-bold.d.ts +0 -1
  70. package/lib/components/texts/twenty-four-regular/twenty-four-regular.d.ts +0 -1
  71. package/lib/components/tooltips/tooltip-with-pointer/index.d.ts +1 -0
  72. package/lib/components/tooltips/tooltip-with-pointer/interfaces.d.ts +11 -0
  73. package/lib/components/tooltips/tooltip-with-pointer/tooltip-with-pointer.d.ts +3 -0
  74. package/lib/components/utils/scroll-to-top/scroll-to-top.d.ts +0 -1
  75. package/lib/components/utils/scroll-to-top-on-mount/scroll-to-top-on-mount.d.ts +0 -1
  76. package/lib/core/theme.d.ts +3 -0
  77. package/lib/index.d.ts +3 -0
  78. package/lib/index.js +1 -1
  79. package/package.json +2 -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
@@ -2,6 +2,7 @@ import { ReactNode } from "react";
2
2
  import { History } from "history";
3
3
  import { BaseComponentProps } from "../../interfaces";
4
4
  import { LoadingSpinnerProps as LoadingIconProps } from "../../animations/loading-spinner/interfaces";
5
+ import { SxProps } from "rebass";
5
6
  /**
6
7
  * Defines the button component's properties. You cannot pass
7
8
  * both onClick and link props at the same time
@@ -74,6 +75,8 @@ export interface ButtonProps extends BaseComponentProps {
74
75
  * The button's height
75
76
  */
76
77
  height?: string | string[];
78
+ minHeight?: string | string[];
79
+ maxHeight?: string | string[];
77
80
  /**
78
81
  * The border style to apply to the button.
79
82
  */
@@ -162,4 +165,8 @@ export interface ButtonProps extends BaseComponentProps {
162
165
  * Style props passed to the loadingIcon when loading is true
163
166
  */
164
167
  loadingIconProps?: LoadingIconProps;
168
+ /**
169
+ * Button component sx.
170
+ */
171
+ sx?: SxProps["sx"];
165
172
  }
@@ -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" | "minWidth" | "maxWidth">;
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" | "minHeight" | "maxHeight" | "letterSpacing" | "sx">;
@@ -1,2 +1,2 @@
1
1
  import { CtaButtonProps } from "../cta-button";
2
- export declare type PrimaryBlueButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "height" | "borderRadius" | "v1" | "m" | "mt" | "mr" | "mb" | "ml" | "loading" | "loadingIconProps">;
2
+ export declare type PrimaryBlueButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "height" | "borderRadius" | "v1" | "m" | "mt" | "mr" | "mb" | "ml" | "loading" | "loadingIconProps" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "sx">;
@@ -1,2 +1,2 @@
1
1
  import { CtaButtonProps } from "../cta-button";
2
- export declare type PrimaryTextButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "color" | "borderRadius" | "m" | "mt" | "mr" | "mb" | "ml" | "height" | "padding" | "loading" | "loadingIconProps">;
2
+ export declare type PrimaryTextButtonProps = Pick<CtaButtonProps, "children" | "disabled" | "history" | "link" | "isInternal" | "onClick" | "scrollTo" | "width" | "color" | "borderRadius" | "m" | "mt" | "mr" | "mb" | "ml" | "height" | "padding" | "loading" | "loadingIconProps" | "letterSpacing">;
@@ -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" | "minWidth" | "maxWidth">;
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" | "minHeight" | "maxHeight" | "sx">;
@@ -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,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,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
@@ -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,4 +1,4 @@
1
1
  import { ButtonProps } from "../../buttons/button";
2
- export interface BaseFeedbackButtonProps extends Pick<ButtonProps, "children" | "onClick"> {
2
+ export interface BaseFeedbackButtonProps extends Pick<ButtonProps, "children" | "onClick" | "disabled"> {
3
3
  active?: boolean;
4
4
  }
@@ -3,6 +3,7 @@ export interface MultipleOptionsFeedbackProps extends Omit<BaseFeedbackBlockProp
3
3
  options: FeedbackOption[];
4
4
  selectedOptionId?: string;
5
5
  onFeedback: (id: string) => void;
6
+ disabled?: boolean;
6
7
  }
7
8
  export interface FeedbackOption {
8
9
  id: string;
@@ -2,5 +2,6 @@ import { BaseFeedbackBlockProps } from "../base-feedback-container/interfaces";
2
2
  export interface YesNoFeedbackBlockProps extends Omit<BaseFeedbackBlockProps, "children"> {
3
3
  selectedOption?: YesNoOption;
4
4
  onFeedback: (option: YesNoOption) => void;
5
+ disabled?: boolean;
5
6
  }
6
7
  export declare type YesNoOption = "yes" | "no";
@@ -1,4 +1,5 @@
1
1
  import { BaseDateRangeInputProps } from "../base-date-range-input";
2
+ import { SxProps } from "rebass";
2
3
  export interface OutlinedDateRangeInputProps extends Omit<BaseDateRangeInputProps, "showCalendar" | "children" | "onClose"> {
3
4
  /**
4
5
  * Text to be displayed inside of button.
@@ -43,4 +44,8 @@ export interface OutlinedDateRangeInputProps extends Omit<BaseDateRangeInputProp
43
44
  * Default value: **undefined**
44
45
  */
45
46
  labelText?: string;
47
+ /**
48
+ * Prop to apply styles for the container.
49
+ */
50
+ containerSx?: SxProps["sx"];
46
51
  }
@@ -16,7 +16,7 @@ export declare type InputProps = BaseComponentProps & {
16
16
  /**
17
17
  * The padding to apply to the input.
18
18
  */
19
- padding?: Array<string>;
19
+ padding?: string | string[];
20
20
  /**
21
21
  * The text alignment to use for the input
22
22
  */
@@ -24,7 +24,7 @@ export declare type InputProps = BaseComponentProps & {
24
24
  /**
25
25
  * The width of the input element
26
26
  */
27
- width?: Array<string>;
27
+ width?: string | string[];
28
28
  /**
29
29
  * The input's placeholder
30
30
  */
@@ -0,0 +1 @@
1
+ export { MultiRowSecondaryTextInput } from "./multi-row-secondary-text-input";
@@ -0,0 +1,7 @@
1
+ import { SecondaryTextInputProps } from "../secondary-text-input";
2
+ export interface MultiRowSecondaryTextInputProps extends Omit<SecondaryTextInputProps, "value" | "onChange"> {
3
+ value: string;
4
+ onChange: (value: string) => void;
5
+ rows?: number;
6
+ lineHeight?: number;
7
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { MultiRowSecondaryTextInputProps as Props } from "./interfaces";
3
+ export declare const MultiRowSecondaryTextInput: React.FC<Props>;
@@ -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;
@@ -9,5 +9,6 @@ export interface MultiOptionDiscreteOutlineMeterProps<T> extends Omit<OutlineMet
9
9
  export interface DiscreteOutlineMeterOption<T> {
10
10
  label?: string;
11
11
  value: T;
12
+ labelColor?: string;
12
13
  }
13
14
  export declare type SmallMultiOptionDiscreteOutlineMeterProps<T> = MultiOptionDiscreteOutlineMeterProps<T>;
@@ -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;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { CombinedSecondarySelectorV2Props as Props } from "./interfaces";
3
+ export declare const CombinedSecondarySelectorV2: React.FC<Props>;
@@ -0,0 +1 @@
1
+ export { CombinedSecondarySelectorV2 } from "./combined-secondary-selector-v2";
@@ -0,0 +1,5 @@
1
+ import { SelectorV2Props } from "../selector-v2";
2
+ export interface CombinedSecondarySelectorV2Props extends Omit<SelectorV2Props, "variant" | "selectorLabel" | "labelMargin" | "labelContainerAlignItems" | "secondLabel" | "gap"> {
3
+ selectorLabel: string;
4
+ gap?: number;
5
+ }
@@ -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,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;
@@ -1,4 +1,5 @@
1
1
  import { SelectorProps } from "../selector";
2
+ import { BaseSelectorV2Props } from "./partials/base-selector-v2";
2
3
  export declare type SelectorOptionV2<T extends string | null = string> = {
3
4
  id: string;
4
5
  title: string;
@@ -7,7 +8,7 @@ export declare type SelectorOptionV2<T extends string | null = string> = {
7
8
  /**
8
9
  * Defines the selector component's properties.
9
10
  */
10
- export interface SelectorV2Props<T extends string = string> extends Omit<SelectorProps, "onChange" | "defaultValue" | "options"> {
11
+ export interface SelectorV2Props<T extends string = string> extends Omit<SelectorProps, "onChange" | "defaultValue" | "options">, Pick<BaseSelectorV2Props, "pl" | "containerVariant" | "labelContainerAlignItems"> {
11
12
  /**
12
13
  * Default value of the selector.
13
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;
@@ -22,4 +22,12 @@ export interface BaseSelectorV2Props<T extends string = string> extends Omit<Sel
22
22
  * How to align items in label container.
23
23
  */
24
24
  labelContainerAlignItems?: string;
25
+ /**
26
+ * Left padding of the select element.
27
+ */
28
+ pl?: string | string[];
29
+ /**
30
+ * Variant for the selector container.
31
+ */
32
+ containerVariant?: string;
25
33
  }
@@ -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;
@@ -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;
@@ -8,6 +8,10 @@ export interface TabV2Props extends TabV2Config, Required<Omit<TabBarV2Props, "t
8
8
  * Index of the current tab.
9
9
  */
10
10
  idx: number;
11
+ /**
12
+ * Total number of tabs.
13
+ */
14
+ totalTabs: number;
11
15
  /**
12
16
  * Width of the dash under selected tab.
13
17
  */
@@ -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;
@@ -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;
@@ -0,0 +1 @@
1
+ export { TooltipWithPointer } from "./tooltip-with-pointer";
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export interface TooltipWithPointerProps {
3
+ children: React.ReactNode;
4
+ tooltipText: string;
5
+ tooltipWidth?: string | string[];
6
+ placement?: "left" | "right";
7
+ tooltipOffset?: number;
8
+ pointerSize?: number;
9
+ tooltipPx?: string | string[];
10
+ tooltipPy?: string | string[];
11
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { TooltipWithPointerProps as Props } from "./interfaces";
3
+ export declare const TooltipWithPointer: React.FC<Props>;
@@ -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;
@@ -58,6 +58,9 @@ declare const _default: {
58
58
  gridTemplateColumns: string;
59
59
  alignItems: string;
60
60
  };
61
+ combined: {
62
+ display: string;
63
+ };
61
64
  };
62
65
  };
63
66
  _dropdowns: {
package/lib/index.d.ts CHANGED
@@ -92,6 +92,7 @@ export { BaseDateRangeInput } from "./components/inputs/date-inputs/base-date-ra
92
92
  export type { BaseDateRangeInputProps };
93
93
  export { OutlinedDateRangeInput } from "./components/inputs/date-inputs/outlined-date-range-input";
94
94
  export type { OutlinedDateRangeInputProps };
95
+ export { MultiRowSecondaryTextInput } from "./components/inputs/multi-row-secondary-text-input";
95
96
  export { Link } from "./components/links/link";
96
97
  export declare type LinkProps = BaseLinkProps;
97
98
  export { PrimaryLink } from "./components/links/primary-link";
@@ -140,6 +141,7 @@ export type { SelectorV2Props, SelectorOptionV2, } from "./components/selectors/
140
141
  export { TertiarySelectorV2 } from "./components/selectors/tertiary-selector-v2";
141
142
  export { SecondarySelectorV2 } from "./components/selectors/secondary-selector-v2";
142
143
  export { PrimarySelectorV2 } from "./components/selectors/primary-selector-v2";
144
+ export { CombinedSecondarySelectorV2 } from "./components/selectors/combined-secondary-selector-v2";
143
145
  export { Slider } from "./components/slider";
144
146
  export declare type SlideSettings = SlideSettingsType;
145
147
  export { TextSwitch } from "./components/switches/text-switch";
@@ -185,6 +187,7 @@ export { StarTooltip } from "./components/tooltips/star-tooltip";
185
187
  export { RadioInfoButtonTooltip } from "./components/tooltips/radio-info-button-tooltip";
186
188
  export { ReactElementTooltip } from "./components/tooltips/react-element-tooltip";
187
189
  export { ActionsTooltip } from "./components/tooltips/actions-tooltip";
190
+ export { TooltipWithPointer } from "./components/tooltips/tooltip-with-pointer";
188
191
  export { Footer } from "./components/complex/footer";
189
192
  export { Navbar, getLabShopsUrlProps } from "./components/complex/navbar";
190
193
  export { Anchor } from "./components/utils/anchor";