@openfin/ui-library 0.15.6-alpha.1683639648 → 0.15.6-alpha.1683642646
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/layout/DefinitionList/definitionList.d.ts +6 -1
- package/dist/components/templates/ContactCard/ContactStatusIcon.d.ts +7 -0
- package/dist/components/templates/ContactCard/PresenceIcons.d.ts +4 -0
- package/dist/components/templates/ContactCard/contactCard.d.ts +7 -1
- package/dist/index.js +49 -28
- package/package.json +1 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface DefinitionListProps extends React.HTMLAttributes<HTMLDListElement> {
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* A map of key-value pairs to be displayed in the list.
|
|
5
|
+
*
|
|
6
|
+
* Using a `Map` is deprecated and will be removed in a future release.
|
|
7
|
+
*/
|
|
8
|
+
definitions: Map<string, string> | [string, string][];
|
|
4
9
|
}
|
|
5
10
|
export declare const DefinitionList: React.FC<DefinitionListProps>;
|
|
@@ -18,7 +18,13 @@ export interface ContactCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
18
18
|
useInitials?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* An array of detail list objects that can be used for logical grouping of contact details.
|
|
21
|
+
*
|
|
22
|
+
* Passing a Map is deprecated and will be removed in a future release.
|
|
21
23
|
*/
|
|
22
|
-
details: Map<string, string>[];
|
|
24
|
+
details: Map<string, string>[] | [string, string][][];
|
|
25
|
+
/**
|
|
26
|
+
* The contact's online status.
|
|
27
|
+
*/
|
|
28
|
+
onlineStatus?: 'offline' | 'do-not-disturb' | 'busy' | 'away' | 'available';
|
|
23
29
|
}
|
|
24
30
|
export declare const ContactCard: React.FC<ContactCardProps>;
|