@livechat/design-system-react-components 1.33.2 → 1.33.3
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/NavigationItem/types.d.ts +6 -6
- package/dist/components/AppFrame/stories-helpers.d.ts +3 -0
- package/dist/components/ProductSwitcher/types.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1099 -1068
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@ export interface INavigationItemProps extends ComponentCoreProps {
|
|
|
8
8
|
/**
|
|
9
9
|
* The label of the item visible in the tooltip
|
|
10
10
|
*/
|
|
11
|
-
label
|
|
11
|
+
label?: string;
|
|
12
12
|
/**
|
|
13
13
|
* Container for the icon or any other element
|
|
14
14
|
*/
|
|
@@ -16,15 +16,15 @@ export interface INavigationItemProps extends ComponentCoreProps {
|
|
|
16
16
|
/**
|
|
17
17
|
* The URL to navigate to
|
|
18
18
|
*/
|
|
19
|
-
url
|
|
20
|
-
/**
|
|
21
|
-
* Specify whether the tooltip should be disabled after hover
|
|
22
|
-
*/
|
|
23
|
-
disableTooltip?: boolean;
|
|
19
|
+
url?: string;
|
|
24
20
|
/**
|
|
25
21
|
* Set if you are preparing a custom element as a button icon and you do not want it to be semi-transparent without hover
|
|
26
22
|
*/
|
|
27
23
|
disableOpacity?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Specify whether the navigation item is disabled
|
|
26
|
+
*/
|
|
27
|
+
disabled?: boolean;
|
|
28
28
|
/**
|
|
29
29
|
* Specify whether the badge should be visible and what type it should be
|
|
30
30
|
*/
|
|
@@ -3,10 +3,13 @@ interface ExampleAppContentProps {
|
|
|
3
3
|
showToggle: boolean;
|
|
4
4
|
alerts?: boolean[];
|
|
5
5
|
setAlerts?: (alerts: boolean[]) => void;
|
|
6
|
+
topBarVisible: boolean;
|
|
7
|
+
setTopBarVisible: (visible: boolean) => void;
|
|
6
8
|
}
|
|
7
9
|
export declare const ExampleAppContent: React.FC<ExampleAppContentProps>;
|
|
8
10
|
export declare const ExampleTopBar: React.FC<{
|
|
9
11
|
visibleAlerts: boolean[];
|
|
12
|
+
topBarVisible: boolean;
|
|
10
13
|
setAlerts: (alerts: boolean[]) => void;
|
|
11
14
|
}>;
|
|
12
15
|
export declare const getBadgeContent: (item: string) => "dot" | "alert" | 5 | undefined;
|
|
@@ -5,6 +5,7 @@ export type ProductName = 'LiveChat' | 'HelpDesk' | 'ChatBot' | 'OpenWidget' | '
|
|
|
5
5
|
export interface ProductSwitcherProps {
|
|
6
6
|
mainProductId: ProductId;
|
|
7
7
|
productOptions: ProductOption[];
|
|
8
|
+
textURL?: string;
|
|
8
9
|
openedOnInit?: boolean;
|
|
9
10
|
isVisible?: boolean;
|
|
10
11
|
onOpen?: (event?: Event) => void;
|