@nordhealth/components 2.15.2 → 2.16.0
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/custom-elements.json +263 -244
- package/lib/Avatar.js +1 -1
- package/lib/Avatar.js.map +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.js.map +1 -1
- package/lib/src/avatar/Avatar.d.ts +8 -3
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { LitElement, nothing } from "lit";
|
|
2
2
|
import "../visually-hidden/VisuallyHidden.js";
|
|
3
|
+
import "../icon/Icon.js";
|
|
3
4
|
/**
|
|
4
|
-
* Avatar is used for showing a thumbnail representation of a user or entity.
|
|
5
|
+
* Avatar is used for showing a thumbnail representation of a single user or entity.
|
|
5
6
|
* Default avatar illustration is displayed when no src is specified.
|
|
6
7
|
*
|
|
7
8
|
* @status ready
|
|
@@ -16,15 +17,19 @@ export default class Avatar extends LitElement {
|
|
|
16
17
|
/**
|
|
17
18
|
* The size of the avatar.
|
|
18
19
|
*/
|
|
19
|
-
size: "s" | "m" | "l" | "xl" | "xxl";
|
|
20
|
+
size: "s" | "m" | "l" | "xl" | "xxl" | "xxxl";
|
|
20
21
|
/**
|
|
21
22
|
* The URL of the avatar image uploaded by the user.
|
|
22
23
|
*/
|
|
23
24
|
src?: string;
|
|
24
25
|
/**
|
|
25
|
-
* The name of the person.
|
|
26
|
+
* The name of the person or entity.
|
|
26
27
|
*/
|
|
27
28
|
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* The fallback icon.
|
|
31
|
+
*/
|
|
32
|
+
icon: string;
|
|
28
33
|
/**
|
|
29
34
|
* The style variant of the avatar.
|
|
30
35
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nordhealth/components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.0",
|
|
4
4
|
"description": "This package includes Nord Design System web components",
|
|
5
5
|
"author": "Nordhealth <support@nordhealth.design>",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -180,5 +180,5 @@
|
|
|
180
180
|
}
|
|
181
181
|
]
|
|
182
182
|
},
|
|
183
|
-
"gitHead": "
|
|
183
|
+
"gitHead": "f54f66cb130d617669512dc1142fa95076dfd754"
|
|
184
184
|
}
|