@umbraco-ui/uui-card-block-type 1.13.0-rc.0 → 1.13.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.
Files changed (2) hide show
  1. package/lib/index.js +11 -2
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -83,8 +83,8 @@ renderMedia_fn = function() {
83
83
  renderContent_fn = function() {
84
84
  return html`
85
85
  <div id="content">
86
- <span id="name">${this.name}</span>
87
- <small>${this.description}<slot name="description"></slot></small>
86
+ <span title="${this.name}" id="name">${this.name}</span>
87
+ <small title="${this.description}">${this.description}<slot name="description"></slot></small>
88
88
  </div></div>
89
89
  `;
90
90
  };
@@ -162,6 +162,15 @@ UUICardBlockTypeElement.styles = [
162
162
  #open-part:hover #name {
163
163
  text-decoration: underline;
164
164
  }
165
+ #open-part #name,
166
+ #open-part small {
167
+ display: -webkit-box;
168
+ -webkit-line-clamp: 1;
169
+ -webkit-box-orient: vertical;
170
+ overflow: hidden;
171
+ text-overflow: ellipsis;
172
+ overflow-wrap: anywhere;
173
+ }
165
174
 
166
175
  :host([image]:not([image=''])) #open-part {
167
176
  transition: opacity 0.5s 0.5s;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-card-block-type",
3
- "version": "1.13.0-rc.0",
3
+ "version": "1.13.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -30,8 +30,8 @@
30
30
  "custom-elements.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@umbraco-ui/uui-base": "1.13.0-rc.0",
34
- "@umbraco-ui/uui-card": "1.13.0-rc.0"
33
+ "@umbraco-ui/uui-base": "1.13.0",
34
+ "@umbraco-ui/uui-card": "1.13.0"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "homepage": "https://uui.umbraco.com/?path=/story/uui-card-block-type",
45
- "gitHead": "864afa6c182c2a73c479237732dadc1abc69a4a0"
45
+ "gitHead": "f57b1fdfea3678b843fbec706cecb3a220f6046f"
46
46
  }