@selfdecode/sd-component-library 2.46.22 → 2.46.25
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.
- package/lib/components/containers/grid-containers/grid-container-v2/index.d.ts +1 -0
- package/lib/components/containers/grid-containers/index.d.ts +1 -0
- package/lib/components/inputs/date-inputs/primary-date-range-input/interfaces.d.ts +5 -0
- package/lib/components/meters/bars-meter/bars-meter.d.ts +2 -2
- package/lib/components/meters/bars-meter/interfaces.d.ts +4 -0
- package/lib/components/tooltips/index.d.ts +8 -0
- package/lib/components/tooltips/tooltip-with-pointer/index.d.ts +1 -0
- package/lib/components/tooltips/tooltip-with-pointer/interfaces.d.ts +10 -1
- package/lib/index.d.ts +1 -8
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -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";
|
|
@@ -6,6 +6,7 @@ export interface PrimaryDateRangeInputProps extends Omit<BaseDateRangeInputProps
|
|
|
6
6
|
*/
|
|
7
7
|
label?: string;
|
|
8
8
|
labelColor?: string;
|
|
9
|
+
labelFontSize?: number;
|
|
9
10
|
/**
|
|
10
11
|
* Text to be displayed inside of input.
|
|
11
12
|
*/
|
|
@@ -22,4 +23,8 @@ export interface PrimaryDateRangeInputProps extends Omit<BaseDateRangeInputProps
|
|
|
22
23
|
* Color of the arrow icon.
|
|
23
24
|
*/
|
|
24
25
|
arrowColor?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Distance between text and underline.
|
|
28
|
+
*/
|
|
29
|
+
pb?: string | string[];
|
|
25
30
|
}
|
|
@@ -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:
|
|
6
|
+
export declare const BarsMeter: React.FC<Props>;
|
|
@@ -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,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,12 @@ 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"];
|
|
20
|
+
/**
|
|
21
|
+
* Sx prop of the tooltip pointer.
|
|
22
|
+
*/
|
|
23
|
+
pointerSx?: SxProps["sx"];
|
|
15
24
|
}
|
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
|
|
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";
|