@selfdecode/sd-component-library 2.46.21 → 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.
- 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/selectors/index.d.ts +1 -0
- package/lib/components/selectors/updated-secondary-selector-v2/index.d.ts +1 -0
- package/lib/components/selectors/updated-secondary-selector-v2/interfaces.d.ts +3 -0
- package/lib/components/selectors/updated-secondary-selector-v2/updated-secondary-selector-v2.d.ts +3 -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 +6 -1
- package/lib/core/theme.d.ts +29 -0
- 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>;
|
|
@@ -19,3 +19,4 @@ export { PrimarySelectorV2 } from "./primary-selector-v2";
|
|
|
19
19
|
export { CombinedSecondarySelectorV2 } from "./combined-secondary-selector-v2";
|
|
20
20
|
export { CustomScrollableSelector } from "./custom-scrollable-selector";
|
|
21
21
|
export { PrimaryCustomScrollableSelector } from "./primary-custom-scrollable-selector";
|
|
22
|
+
export { UpdatedSecondarySelectorV2 } from "./updated-secondary-selector-v2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdatedSecondarySelectorV2 } from "./updated-secondary-selector-v2";
|
|
@@ -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,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/core/theme.d.ts
CHANGED
|
@@ -350,6 +350,13 @@ declare const _default: {
|
|
|
350
350
|
textTransform: string;
|
|
351
351
|
color: string;
|
|
352
352
|
};
|
|
353
|
+
updatedSecondary: {
|
|
354
|
+
fontSize: string;
|
|
355
|
+
fontWeight: number;
|
|
356
|
+
letterSpacing: string;
|
|
357
|
+
textTransform: string;
|
|
358
|
+
color: string;
|
|
359
|
+
};
|
|
353
360
|
};
|
|
354
361
|
iconButton: {
|
|
355
362
|
marginRight: string;
|
|
@@ -484,6 +491,28 @@ declare const _default: {
|
|
|
484
491
|
borderColor: string;
|
|
485
492
|
outline: string;
|
|
486
493
|
};
|
|
494
|
+
updatedSecondary: {
|
|
495
|
+
fontFamily: string;
|
|
496
|
+
textTransform: string;
|
|
497
|
+
fontSize: string;
|
|
498
|
+
lineHeight: string;
|
|
499
|
+
fontWeight: number;
|
|
500
|
+
letterSpacing: number;
|
|
501
|
+
color: string;
|
|
502
|
+
paddingLeft: number;
|
|
503
|
+
border: string;
|
|
504
|
+
outline: string;
|
|
505
|
+
borderBottomColor: string;
|
|
506
|
+
borderBottomStyle: string;
|
|
507
|
+
borderBottomWidth: number;
|
|
508
|
+
borderRadius: number;
|
|
509
|
+
py: string;
|
|
510
|
+
pr: string;
|
|
511
|
+
"& + svg": {
|
|
512
|
+
fill: string;
|
|
513
|
+
transform: string;
|
|
514
|
+
};
|
|
515
|
+
};
|
|
487
516
|
};
|
|
488
517
|
};
|
|
489
518
|
text: {
|
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";
|