@umbraco-ui/uui-card-content-node 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.
- package/lib/index.js +12 -1
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -74,7 +74,9 @@ renderContent_fn = function() {
|
|
|
74
74
|
<slot name="icon" @slotchange=${this._onSlotIconChange}></slot>
|
|
75
75
|
${this._iconSlotHasContent === false ? this._renderFallbackIcon() : ""}
|
|
76
76
|
</span>
|
|
77
|
-
<div
|
|
77
|
+
<div title="${this.name}" id="name">
|
|
78
|
+
${this.name}<slot name="name"></slot>
|
|
79
|
+
</div>
|
|
78
80
|
</span>
|
|
79
81
|
${this.renderDetail()}
|
|
80
82
|
</span>
|
|
@@ -156,6 +158,15 @@ UUICardContentNodeElement.styles = [
|
|
|
156
158
|
padding: var(--uui-size-space-4,12px) var(--uui-size-space-5,18px);
|
|
157
159
|
}
|
|
158
160
|
|
|
161
|
+
#open-part #name {
|
|
162
|
+
display: -webkit-box;
|
|
163
|
+
-webkit-line-clamp: 2;
|
|
164
|
+
-webkit-box-orient: vertical;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
overflow-wrap: anywhere;
|
|
168
|
+
}
|
|
169
|
+
|
|
159
170
|
#content {
|
|
160
171
|
align-self: stretch;
|
|
161
172
|
display: flex;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-card-content-node",
|
|
3
|
-
"version": "1.13.0
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.13.0
|
|
34
|
-
"@umbraco-ui/uui-card": "1.13.0
|
|
35
|
-
"@umbraco-ui/uui-icon": "1.13.0
|
|
33
|
+
"@umbraco-ui/uui-base": "1.13.0",
|
|
34
|
+
"@umbraco-ui/uui-card": "1.13.0",
|
|
35
|
+
"@umbraco-ui/uui-icon": "1.13.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-card-content-node",
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "f57b1fdfea3678b843fbec706cecb3a220f6046f"
|
|
47
47
|
}
|