@daikin-oss/design-system-web-components 1.3.1 → 1.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @daikin-oss/design-system-web-components
2
2
 
3
+ ## 1.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#300](https://github.com/dsv-rp/DDS/pull/300) [`f244353`](https://github.com/dsv-rp/DDS/commit/f24435366601fda911fc934a736b9cc3a1c91599) Thanks [@yodas7](https://github.com/yodas7)! - Menu: Prevent multiple registrations of CSS custom properties.
8
+ Tooltip: Prevent multiple registrations of CSS custom properties.
9
+
3
10
  ## 1.3.1
4
11
 
5
12
  ### Patch Changes
@@ -3,6 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const lit = require("lit");
4
4
  const _DDSElement = class _DDSElement extends lit.LitElement {
5
5
  };
6
- _DDSElement.version = "1.3.1";
6
+ _DDSElement.version = "1.3.2";
7
7
  let DDSElement = _DDSElement;
8
8
  exports.DDSElement = DDSElement;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const ddsElement = require("./dds-element.cjs");
4
4
  const currentVersion = ddsElement.DDSElement.version;
5
5
  function defineDDSElement(ctor, name) {
6
+ var _a;
6
7
  const existing = customElements.get(name);
7
8
  if (existing) {
8
9
  const existingVersion = existing.version ?? "unknown version";
@@ -13,6 +14,7 @@ function defineDDSElement(ctor, name) {
13
14
  }
14
15
  return;
15
16
  }
17
+ (_a = ctor.registerCSSCustomProperties) == null ? void 0 : _a.call(ctor);
16
18
  customElements.define(name, ctor);
17
19
  }
18
20
  exports.defineDDSElement = defineDDSElement;
@@ -203,4 +203,3 @@ __decorateClass([
203
203
  exports.DaikinMenu = __decorateClass([
204
204
  decorators.ddsElement("daikin-menu")
205
205
  ], exports.DaikinMenu);
206
- exports.DaikinMenu.registerCSSCustomProperties();
@@ -213,4 +213,3 @@ __decorateClass([
213
213
  exports.DaikinTooltip = __decorateClass([
214
214
  decorators.ddsElement("daikin-tooltip")
215
215
  ], exports.DaikinTooltip);
216
- exports.DaikinTooltip.registerCSSCustomProperties();
@@ -3,6 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const lit = require("lit");
4
4
  const _DDSElement = class _DDSElement extends lit.LitElement {
5
5
  };
6
- _DDSElement.version = "1.3.1";
6
+ _DDSElement.version = "1.3.2";
7
7
  let DDSElement = _DDSElement;
8
8
  exports.DDSElement = DDSElement;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const ddsElement = require("./dds-element.cjs");
4
4
  const currentVersion = ddsElement.DDSElement.version;
5
5
  function defineDDSElement(ctor, name) {
6
+ var _a;
6
7
  const existing = customElements.get(name);
7
8
  if (existing) {
8
9
  const existingVersion = existing.version ?? "unknown version";
@@ -13,6 +14,7 @@ function defineDDSElement(ctor, name) {
13
14
  }
14
15
  return;
15
16
  }
17
+ (_a = ctor.registerCSSCustomProperties) == null ? void 0 : _a.call(ctor);
16
18
  customElements.define(name, ctor);
17
19
  }
18
20
  exports.defineDDSElement = defineDDSElement;
@@ -203,4 +203,3 @@ __decorateClass([
203
203
  exports.DaikinMenu = __decorateClass([
204
204
  decorators.ddsElement("daikin-menu")
205
205
  ], exports.DaikinMenu);
206
- exports.DaikinMenu.registerCSSCustomProperties();
@@ -213,4 +213,3 @@ __decorateClass([
213
213
  exports.DaikinTooltip = __decorateClass([
214
214
  decorators.ddsElement("daikin-tooltip")
215
215
  ], exports.DaikinTooltip);
216
- exports.DaikinTooltip.registerCSSCustomProperties();
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from "lit";
2
2
  const _DDSElement = class _DDSElement extends LitElement {
3
3
  };
4
- _DDSElement.version = "1.3.1";
4
+ _DDSElement.version = "1.3.2";
5
5
  let DDSElement = _DDSElement;
6
6
  export {
7
7
  DDSElement
@@ -1,6 +1,7 @@
1
1
  import { DDSElement } from "./dds-element.js";
2
2
  const currentVersion = DDSElement.version;
3
3
  function defineDDSElement(ctor, name) {
4
+ var _a;
4
5
  const existing = customElements.get(name);
5
6
  if (existing) {
6
7
  const existingVersion = existing.version ?? "unknown version";
@@ -11,6 +12,7 @@ function defineDDSElement(ctor, name) {
11
12
  }
12
13
  return;
13
14
  }
15
+ (_a = ctor.registerCSSCustomProperties) == null ? void 0 : _a.call(ctor);
14
16
  customElements.define(name, ctor);
15
17
  }
16
18
  export {
@@ -201,7 +201,6 @@ __decorateClass([
201
201
  DaikinMenu = __decorateClass([
202
202
  ddsElement("daikin-menu")
203
203
  ], DaikinMenu);
204
- DaikinMenu.registerCSSCustomProperties();
205
204
  export {
206
205
  DaikinMenu
207
206
  };
@@ -211,7 +211,6 @@ __decorateClass([
211
211
  DaikinTooltip = __decorateClass([
212
212
  ddsElement("daikin-tooltip")
213
213
  ], DaikinTooltip);
214
- DaikinTooltip.registerCSSCustomProperties();
215
214
  export {
216
215
  DaikinTooltip
217
216
  };
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from "lit";
2
2
  const _DDSElement = class _DDSElement extends LitElement {
3
3
  };
4
- _DDSElement.version = "1.3.1";
4
+ _DDSElement.version = "1.3.2";
5
5
  let DDSElement = _DDSElement;
6
6
  export {
7
7
  DDSElement
@@ -1,6 +1,7 @@
1
1
  import { DDSElement } from "./dds-element.js";
2
2
  const currentVersion = DDSElement.version;
3
3
  function defineDDSElement(ctor, name) {
4
+ var _a;
4
5
  const existing = customElements.get(name);
5
6
  if (existing) {
6
7
  const existingVersion = existing.version ?? "unknown version";
@@ -11,6 +12,7 @@ function defineDDSElement(ctor, name) {
11
12
  }
12
13
  return;
13
14
  }
15
+ (_a = ctor.registerCSSCustomProperties) == null ? void 0 : _a.call(ctor);
14
16
  customElements.define(name, ctor);
15
17
  }
16
18
  export {
@@ -201,7 +201,6 @@ __decorateClass([
201
201
  DaikinMenu = __decorateClass([
202
202
  ddsElement("daikin-menu")
203
203
  ], DaikinMenu);
204
- DaikinMenu.registerCSSCustomProperties();
205
204
  export {
206
205
  DaikinMenu
207
206
  };
@@ -211,7 +211,6 @@ __decorateClass([
211
211
  DaikinTooltip = __decorateClass([
212
212
  ddsElement("daikin-tooltip")
213
213
  ], DaikinTooltip);
214
- DaikinTooltip.registerCSSCustomProperties();
215
214
  export {
216
215
  DaikinTooltip
217
216
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daikin-oss/design-system-web-components",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Design system using web components",
5
5
  "type": "module",
6
6
  "files": [