@umbraco-ui/uui-card-user 1.13.0-rc.0 → 1.13.0-rc.2

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.
Files changed (2) hide show
  1. package/lib/index.js +8 -1
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -80,7 +80,7 @@ renderContent_fn = function() {
80
80
  name="avatar"
81
81
  class="avatar"
82
82
  @slotchange=${this._avatarSlotChanged}></slot>
83
- <span>${this.name}</span>
83
+ <span title="${this.name}">${this.name}</span>
84
84
  <slot></slot>
85
85
  </div>`;
86
86
  };
@@ -152,12 +152,19 @@ UUICardUserElement.styles = [
152
152
  position: relative;
153
153
  align-items: center;
154
154
  margin: 0 0 3px 0;
155
+ height: 100%;
155
156
  }
156
157
 
157
158
  #content > span {
159
+ display: -webkit-box;
160
+ -webkit-line-clamp: 2;
161
+ -webkit-box-orient: vertical;
162
+ overflow: hidden;
163
+ text-overflow: ellipsis;
158
164
  vertical-align: center;
159
165
  margin-top: 3px;
160
166
  font-weight: 700;
167
+ overflow-wrap: anywhere;
161
168
  }
162
169
 
163
170
  .avatar {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-card-user",
3
- "version": "1.13.0-rc.0",
3
+ "version": "1.13.0-rc.2",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -31,9 +31,9 @@
31
31
  "custom-elements.json"
32
32
  ],
33
33
  "dependencies": {
34
- "@umbraco-ui/uui-avatar": "1.13.0-rc.0",
35
- "@umbraco-ui/uui-base": "1.13.0-rc.0",
36
- "@umbraco-ui/uui-card": "1.13.0-rc.0"
34
+ "@umbraco-ui/uui-avatar": "1.13.0-rc.2",
35
+ "@umbraco-ui/uui-base": "1.13.0-rc.2",
36
+ "@umbraco-ui/uui-card": "1.13.0-rc.2"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
@@ -44,5 +44,5 @@
44
44
  "access": "public"
45
45
  },
46
46
  "homepage": "https://uui.umbraco.com/?path=/story/uui-card-user",
47
- "gitHead": "864afa6c182c2a73c479237732dadc1abc69a4a0"
47
+ "gitHead": "b7efeca91b64cfb5b59e1fcacafcfee23b861b79"
48
48
  }