@umbraco-ui/uui-table 1.12.0 → 1.12.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.
package/lib/index.js
CHANGED
|
@@ -259,20 +259,19 @@ let UUITableRowElement = class extends SelectOnlyMixin(
|
|
|
259
259
|
this.setAttribute("role", "row");
|
|
260
260
|
}
|
|
261
261
|
updated(changedProperties) {
|
|
262
|
-
if (changedProperties.has("selectOnly"))
|
|
262
|
+
if (changedProperties.has("selectOnly")) {
|
|
263
|
+
this.updateChildSelectOnly();
|
|
264
|
+
}
|
|
263
265
|
}
|
|
264
266
|
updateChildSelectOnly() {
|
|
265
267
|
if (this.slotCellNodes) {
|
|
266
268
|
this.slotCellNodes.forEach((el) => {
|
|
267
|
-
if (
|
|
269
|
+
if (el.disableChildInteraction !== void 0) {
|
|
268
270
|
el.disableChildInteraction = this.selectOnly;
|
|
269
271
|
}
|
|
270
272
|
});
|
|
271
273
|
}
|
|
272
274
|
}
|
|
273
|
-
elementIsTableCell(element) {
|
|
274
|
-
return element instanceof UUITableCellElement;
|
|
275
|
-
}
|
|
276
275
|
render() {
|
|
277
276
|
return html` <slot @slotchanged=${this.updateChildSelectOnly}></slot> `;
|
|
278
277
|
}
|
|
@@ -2,6 +2,7 @@ import '.';
|
|
|
2
2
|
import '@umbraco-ui/uui-avatar/lib';
|
|
3
3
|
import '@umbraco-ui/uui-box/lib';
|
|
4
4
|
import '@umbraco-ui/uui-button/lib';
|
|
5
|
+
import '@umbraco-ui/uui-checkbox/lib';
|
|
5
6
|
import '@umbraco-ui/uui-icon/lib';
|
|
6
7
|
import '@umbraco-ui/uui-progress-bar/lib';
|
|
7
8
|
import '@umbraco-ui/uui-tag/lib';
|
|
@@ -12,7 +12,6 @@ export declare class UUITableRowElement extends UUITableRowElement_base {
|
|
|
12
12
|
private slotCellNodes?;
|
|
13
13
|
protected updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
14
14
|
private updateChildSelectOnly;
|
|
15
|
-
private elementIsTableCell;
|
|
16
15
|
render(): import("lit-html").TemplateResult<1>;
|
|
17
16
|
static styles: import("lit").CSSResult[];
|
|
18
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-table",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.12.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.12.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-table",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "207119ec53a655eeddfa1d626155490490336753"
|
|
45
45
|
}
|