@umbraco-ui/uui-color-picker 1.14.0-rc.4 → 1.14.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 +1 -1
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -357,7 +357,7 @@ let UUIColorPickerElement = class extends LabelMixin("label", LitElement) {
357
357
  `;
358
358
  }
359
359
  _renderSwatches() {
360
- if (!this.swatches) return nothing;
360
+ if (!this.swatches?.length) return nothing;
361
361
  return html`<uui-color-swatches
362
362
  id="swatches"
363
363
  class="color-picker__swatches"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-color-picker",
3
- "version": "1.14.0-rc.4",
3
+ "version": "1.14.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.14.0-rc.4",
34
- "@umbraco-ui/uui-popover-container": "1.14.0-rc.4",
33
+ "@umbraco-ui/uui-base": "1.14.0",
34
+ "@umbraco-ui/uui-popover-container": "1.14.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-picker",
46
- "gitHead": "8f89db559dfdb60e8afd8a0dc297e2f248f2fb9d"
46
+ "gitHead": "ce9a4d14f93b626822ebed268f92cf44295f13bd"
47
47
  }