@umbraco-ui/uui-table 1.2.1 → 1.3.0-rc.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 +5 -4
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __decorateClass$5 = (decorators, target, key, kind) => {
|
|
|
15
15
|
return result;
|
|
16
16
|
};
|
|
17
17
|
let UUITableElement = class extends LitElement {
|
|
18
|
+
/* consider select-only attribute on this level? */
|
|
18
19
|
connectedCallback() {
|
|
19
20
|
super.connectedCallback();
|
|
20
21
|
this.setAttribute("role", "table");
|
|
@@ -28,7 +29,7 @@ UUITableElement.styles = [
|
|
|
28
29
|
:host {
|
|
29
30
|
display: table;
|
|
30
31
|
width: 100%;
|
|
31
|
-
border-radius: var(--uui-border-radius,
|
|
32
|
+
border-radius: var(--uui-border-radius,var(--uui-size-1));
|
|
32
33
|
background-color: var(--uui-color-surface,#fff);
|
|
33
34
|
cursor: default;
|
|
34
35
|
}
|
|
@@ -297,14 +298,14 @@ UUITableRowElement.styles = [
|
|
|
297
298
|
|
|
298
299
|
:host(:focus) {
|
|
299
300
|
outline: calc(2px * var(--uui-show-focus-outline, 1)) solid
|
|
300
|
-
var(--uui-color-focus
|
|
301
|
+
var(--uui-color-focus,var(--uui-palette-malibu));
|
|
301
302
|
}
|
|
302
303
|
:host([selected]) {
|
|
303
304
|
outline: 2px solid
|
|
304
|
-
var(--uui-table-row-color-selected, var(--uui-color-selected
|
|
305
|
+
var(--uui-table-row-color-selected, var(--uui-color-selected,var(--uui-palette-violet-blue)));
|
|
305
306
|
}
|
|
306
307
|
:host([selected]:focus) {
|
|
307
|
-
outline-color: var(--uui-color-focus
|
|
308
|
+
outline-color: var(--uui-color-focus,var(--uui-palette-malibu));
|
|
308
309
|
}
|
|
309
310
|
`
|
|
310
311
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-table",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.3.0-rc.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
|
|
37
|
-
"clean": "tsc --build --clean && rimraf dist lib/*.js lib/**/*.js custom-elements.json",
|
|
37
|
+
"clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js custom-elements.json",
|
|
38
38
|
"analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-table",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "45c3824056586d9817efb3f61dc0bef5478747f0"
|
|
45
45
|
}
|