@livechat/design-system-react-components 2.4.5 → 2.4.7
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/dist/components/AppFrame/components/NavigationTopBar/types.d.ts +13 -1
- package/dist/components/Tooltip/types.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1148 -1144
- package/dist/style.css +1 -1
- package/dist/utils/chromatic-story-helpers.d.ts +1 -0
- package/package.json +3 -3
|
@@ -8,15 +8,23 @@ export interface INavigationTopBarProps extends ComponentCoreProps {
|
|
|
8
8
|
*/
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Nodes placed under the children.
|
|
12
12
|
*/
|
|
13
13
|
additionalNodes?: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* The CSS class name
|
|
16
|
+
*/
|
|
17
|
+
className?: string;
|
|
14
18
|
}
|
|
15
19
|
export interface ITopBarTitleProps extends ComponentCoreProps {
|
|
16
20
|
/**
|
|
17
21
|
* Content of the title.
|
|
18
22
|
*/
|
|
19
23
|
children: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* The CSS class name
|
|
26
|
+
*/
|
|
27
|
+
className?: string;
|
|
20
28
|
}
|
|
21
29
|
type CTAProps = {
|
|
22
30
|
label: string;
|
|
@@ -55,5 +63,9 @@ export interface ITopBarAlertProps extends ComponentCoreProps {
|
|
|
55
63
|
* Show or hide the alert, defaults to `true`. Changes to this prop are animated - the alert will enter and leave smoothly.
|
|
56
64
|
* */
|
|
57
65
|
isVisible?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* The CSS class name
|
|
68
|
+
* */
|
|
69
|
+
className?: string;
|
|
58
70
|
}
|
|
59
71
|
export {};
|
|
@@ -133,6 +133,11 @@ export interface ITooltipProps {
|
|
|
133
133
|
* https://floating-ui.com/docs/usefloating#strategy
|
|
134
134
|
*/
|
|
135
135
|
floatingStrategy?: Strategy;
|
|
136
|
+
/**
|
|
137
|
+
* Set to hide the tooltip when reference element is hidden
|
|
138
|
+
* IMPORTANT: This prop enables the `hide` middleware from `floating-ui` library: https://floating-ui.com/docs/hide. But for some reason, it doesn't work in tests because always returns `true` in `referenceHidden` check.
|
|
139
|
+
*/
|
|
140
|
+
hideWhenReferenceHidden?: boolean;
|
|
136
141
|
}
|
|
137
142
|
export interface ITooltipInfoProps {
|
|
138
143
|
/**
|