@umbraco-ui/uui-color-swatches 1.6.0-rc.4 → 1.7.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.
Files changed (2) hide show
  1. package/lib/index.js +4 -17
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -4,25 +4,12 @@ import { LitElement, html, css } from 'lit';
4
4
  import { property, queryAssignedElements } from 'lit/decorators.js';
5
5
  import { LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';
6
6
 
7
- var __defProp$1 = Object.defineProperty;
8
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
- var __hasOwnProp = Object.prototype.hasOwnProperty;
10
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
- var __spreadValues = (a, b) => {
13
- for (var prop in b || (b = {}))
14
- if (__hasOwnProp.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- if (__getOwnPropSymbols)
17
- for (var prop of __getOwnPropSymbols(b)) {
18
- if (__propIsEnum.call(b, prop))
19
- __defNormalProp(a, prop, b[prop]);
20
- }
21
- return a;
22
- };
23
7
  class UUIColorSwatchesEvent extends UUIEvent {
24
8
  constructor(evName, eventInit = {}) {
25
- super(evName, __spreadValues(__spreadValues({}, { bubbles: true }), eventInit));
9
+ super(evName, {
10
+ ...{ bubbles: true },
11
+ ...eventInit
12
+ });
26
13
  }
27
14
  }
28
15
  UUIColorSwatchesEvent.CHANGE = "change";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-color-swatches",
3
- "version": "1.6.0-rc.4",
3
+ "version": "1.7.0-rc.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -30,11 +30,11 @@
30
30
  "custom-elements.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@umbraco-ui/uui-base": "1.6.0-rc.4",
34
- "@umbraco-ui/uui-color-swatch": "1.6.0-rc.4"
33
+ "@umbraco-ui/uui-base": "1.7.0-rc.0",
34
+ "@umbraco-ui/uui-color-swatch": "1.7.0-rc.0"
35
35
  },
36
36
  "scripts": {
37
- "build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
37
+ "build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
38
38
  "clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js *.tgz lib/**/*.d.ts custom-elements.json",
39
39
  "analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json"
40
40
  },
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "homepage": "https://uui.umbraco.com/?path=/story/uui-color-swatches",
45
- "gitHead": "ae00cf3a0d7be2827491b435c1a40f5d7649a504"
45
+ "gitHead": "a7166e62b37b609e74b96821d397c694a5f42458"
46
46
  }