@trackunit/react-components 0.0.96 → 0.0.98
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/components/Collapse/Collapse.d.ts +1 -1
- package/components/Tip/Tip.d.ts +6 -0
- package/index.js +2 -2
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export interface CollapseProps extends CommonProps {
|
|
|
20
20
|
label: React.ReactNode;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* The Collapse component is
|
|
23
|
+
* The Collapse component is used to condense non-important information.
|
|
24
24
|
*
|
|
25
25
|
* @param {CollapseProps} props - The props for the Collapse component
|
|
26
26
|
* @returns {JSX.Element} Collapse component
|
package/components/Tip/Tip.d.ts
CHANGED
|
@@ -7,7 +7,13 @@ export interface TipProps extends CommonProps {
|
|
|
7
7
|
* Child nodes to render inside the tip.
|
|
8
8
|
*/
|
|
9
9
|
children: React.ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* The props for setting the icon on this tip.
|
|
12
|
+
*/
|
|
10
13
|
iconProps?: Partial<IconProps>;
|
|
14
|
+
/**
|
|
15
|
+
* The props for setting the tooltip on this tip.
|
|
16
|
+
*/
|
|
11
17
|
tooltipProps?: Partial<TooltipProps>;
|
|
12
18
|
}
|
|
13
19
|
/**
|
package/index.js
CHANGED
|
@@ -1579,7 +1579,7 @@ ${({
|
|
|
1579
1579
|
`;
|
|
1580
1580
|
|
|
1581
1581
|
/**
|
|
1582
|
-
* The Collapse component is
|
|
1582
|
+
* The Collapse component is used to condense non-important information.
|
|
1583
1583
|
*
|
|
1584
1584
|
* @param {CollapseProps} props - The props for the Collapse component
|
|
1585
1585
|
* @returns {JSX.Element} Collapse component
|
|
@@ -2433,7 +2433,7 @@ const Tip = _a => {
|
|
|
2433
2433
|
label: children,
|
|
2434
2434
|
dataTestId: `${dataTestId}-tooltip`
|
|
2435
2435
|
}, tooltipProps, {
|
|
2436
|
-
className: `${(_b = tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.className) !== null && _b !== void 0 ? _b : ""}
|
|
2436
|
+
className: `${(_b = tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.className) !== null && _b !== void 0 ? _b : ""} tu-tip-tooltip`
|
|
2437
2437
|
}, {
|
|
2438
2438
|
children: jsx(Icon$1, Object.assign({
|
|
2439
2439
|
name: "QuestionMarkCircleIcon",
|