@umbraco-ui/uui-avatar-group 0.0.19 → 0.1.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/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-avatar-group?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-avatar-group)
4
4
 
5
+ ### See it in action
6
+
7
+ Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-avatar-group)
8
+
5
9
  ## Installation
6
10
 
7
11
  ### ES imports
@@ -30,7 +30,7 @@
30
30
  "slots": [
31
31
  {
32
32
  "name": "",
33
- "description": "for uui-avatar elements"
33
+ "description": "Insert the `<uui-avatar>` elements in the default slot"
34
34
  }
35
35
  ]
36
36
  }
package/lib/index.js CHANGED
@@ -71,8 +71,7 @@ UUIAvatarGroupElement.styles = [
71
71
  ];
72
72
  __decorateClass([
73
73
  queryAssignedElements({
74
- slot: void 0,
75
- selector: "uui-avatar",
74
+ selector: "uui-avatar, [uui-avatar]",
76
75
  flatten: true
77
76
  })
78
77
  ], UUIAvatarGroupElement.prototype, "_avatarNodes", 2);
@@ -2,7 +2,7 @@ import { LitElement } from 'lit';
2
2
  /**
3
3
  * Group a set of avatars, set a limit to minimize the visual space.
4
4
  * @element uui-avatar-group
5
- * @slot for uui-avatar elements
5
+ * @slot - Insert the `<uui-avatar>` elements in the default slot
6
6
  */
7
7
  export declare class UUIAvatarGroupElement extends LitElement {
8
8
  static styles: import("lit").CSSResult[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-avatar-group",
3
- "version": "0.0.19",
3
+ "version": "0.1.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -30,7 +30,8 @@
30
30
  "custom-elements.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@umbraco-ui/uui-base": "0.0.17"
33
+ "@umbraco-ui/uui-avatar": "0.1.0",
34
+ "@umbraco-ui/uui-base": "0.1.0"
34
35
  },
35
36
  "scripts": {
36
37
  "build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
@@ -41,5 +42,5 @@
41
42
  "access": "public"
42
43
  },
43
44
  "homepage": "https://uui.umbraco.com/?path=/story/uui-avatar-group",
44
- "gitHead": "3b7c6cf892e89054b2980b19d8c2f8bead2752e8"
45
+ "gitHead": "9ed7860ce865d310b85bd1718f37b59db873aefd"
45
46
  }