@umbraco-ui/uui-color-swatch 1.8.0-rc.0 → 1.9.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 +2 -4
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -11,8 +11,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
11
11
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
12
12
|
if (decorator = decorators[i])
|
|
13
13
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
14
|
-
if (kind && result)
|
|
15
|
-
__defProp(target, key, result);
|
|
14
|
+
if (kind && result) __defProp(target, key, result);
|
|
16
15
|
return result;
|
|
17
16
|
};
|
|
18
17
|
let UUIColorSwatchElement = class extends LabelMixin(
|
|
@@ -81,8 +80,7 @@ let UUIColorSwatchElement = class extends LabelMixin(
|
|
|
81
80
|
`;
|
|
82
81
|
}
|
|
83
82
|
_renderWithLabel() {
|
|
84
|
-
if (!this.showLabel)
|
|
85
|
-
return nothing;
|
|
83
|
+
if (!this.showLabel) return nothing;
|
|
86
84
|
return html`<div class="color-swatch__label">
|
|
87
85
|
<strong>${this.renderLabel()}</strong>
|
|
88
86
|
${this.value}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-color-swatch",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0-rc.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.
|
|
34
|
-
"@umbraco-ui/uui-icon-registry-essential": "1.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.9.0-rc.0",
|
|
34
|
+
"@umbraco-ui/uui-icon-registry-essential": "1.9.0-rc.0",
|
|
35
35
|
"colord": "^2.9.3"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-color-swatch",
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "e3e398e07b6ff9874aa0656cb7767df42f58a4ce"
|
|
47
47
|
}
|