@selfdecode/sd-component-library 2.46.23 → 2.46.24

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.
@@ -1 +1,2 @@
1
1
  export { GridContainerV2 } from "./grid-container-v2";
2
+ export type { GridContainerV2Props } from "./interfaces";
@@ -3,5 +3,6 @@ export type { BaseGridContainerProps } from "./base-grid-container";
3
3
  export { FrFrContainer } from "./fr-fr-container";
4
4
  export { FrMaxContainer } from "./fr-max-container";
5
5
  export { GridContainerV2 as Grid } from "./grid-container-v2";
6
+ export type { GridContainerV2Props as GridProps } from "./grid-container-v2";
6
7
  export { MaxFrContainer } from "./max-fr-container";
7
8
  export { MaxMaxContainer } from "./max-max-container";
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { BarsMeterProps } from "./interfaces";
2
+ import { BarsMeterProps as Props } from "./interfaces";
3
3
  /**
4
4
  * BarsMeter component.
5
5
  */
6
- export declare const BarsMeter: (props: BarsMeterProps) => React.ReactElement<BarsMeterProps>;
6
+ export declare const BarsMeter: React.FC<Props>;
@@ -1,5 +1,9 @@
1
1
  import { BaseComponentProps } from "../../interfaces";
2
2
  export interface BarsMeterProps extends BaseComponentProps {
3
+ /**
4
+ * Minimal height of the bar.
5
+ */
6
+ minHeight?: number;
3
7
  /**
4
8
  * height of the meter
5
9
  */
@@ -0,0 +1,8 @@
1
+ export * from "./actions-tooltip";
2
+ export * from "./base-info-tooltip";
3
+ export * from "./base-tooltip";
4
+ export * from "./primary-info-tooltip";
5
+ export * from "./radio-info-button-tooltip";
6
+ export * from "./react-element-tooltip";
7
+ export * from "./star-tooltip";
8
+ export * from "./tooltip-with-pointer";
@@ -1 +1,2 @@
1
1
  export { TooltipWithPointer } from "./tooltip-with-pointer";
2
+ export type { TooltipWithPointerProps } from "./interfaces";
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
+ import { SxProps } from "rebass";
2
3
  export interface TooltipWithPointerProps {
3
4
  children: React.ReactNode;
4
- tooltipText: string;
5
+ tooltipText: string | React.ReactNode;
5
6
  tooltipWidth?: string | string[];
6
7
  placement?: "left" | "right";
7
8
  tooltipOffset?: number;
@@ -12,4 +13,8 @@ export interface TooltipWithPointerProps {
12
13
  * Whether to show tooltip.
13
14
  */
14
15
  tooltipVisible: boolean;
16
+ /**
17
+ * Sx prop of the tooltip container.
18
+ */
19
+ containerSx?: SxProps["sx"];
15
20
  }
package/lib/index.d.ts CHANGED
@@ -124,14 +124,7 @@ export { FiftyFiveSb } from "./components/texts/fifty-five-sb";
124
124
  export { NoTranslate } from "./components/texts/no-translate";
125
125
  export { DividedTextBox } from "./components/text-boxes/divided-text-box";
126
126
  export { TableOfContent } from "./components/text-boxes/table-of-content";
127
- export { BaseTooltip } from "./components/tooltips/base-tooltip";
128
- export { BaseInfoTooltip } from "./components/tooltips/base-info-tooltip";
129
- export { PrimaryInfoTooltip } from "./components/tooltips/primary-info-tooltip";
130
- export { StarTooltip } from "./components/tooltips/star-tooltip";
131
- export { RadioInfoButtonTooltip } from "./components/tooltips/radio-info-button-tooltip";
132
- export { ReactElementTooltip } from "./components/tooltips/react-element-tooltip";
133
- export { ActionsTooltip } from "./components/tooltips/actions-tooltip";
134
- export { TooltipWithPointer } from "./components/tooltips/tooltip-with-pointer";
127
+ export * from "./components/tooltips";
135
128
  export { Footer } from "./components/complex/footer";
136
129
  export * from "./components/complex/navbar";
137
130
  export * from "./components/complex/updated-navbar";