@digital-realty/ix-radio 1.0.7 → 1.0.8

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/dist/IxRadio.d.ts CHANGED
@@ -41,8 +41,8 @@ export declare class IxRadio extends LitElement {
41
41
  private handleKeydown;
42
42
  constructor();
43
43
  protected updated(): void;
44
- get renderRadio(): import("lit-html").TemplateResult<1>;
45
- protected render(): import("lit-html").TemplateResult<1>;
44
+ get renderRadio(): import("lit").TemplateResult<1>;
45
+ protected render(): import("lit").TemplateResult<1>;
46
46
  focus(): void;
47
47
  formResetCallback(): void;
48
48
  formStateRestoreCallback(state: string): void;
@@ -1,5 +1,5 @@
1
1
  import { IxRadio as IxRadioLit } from '../IxRadio.js';
2
- export declare const IxButton: import("@lit-labs/react").ReactWebComponent<IxRadioLit, {
2
+ export declare const IxButton: import("@lit/react").ReactWebComponent<IxRadioLit, {
3
3
  onclick: string;
4
4
  onkeydown: string;
5
5
  }>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { createComponent } from '@lit-labs/react';
2
+ import { createComponent } from '@lit/react';
3
3
  import { IxRadio as IxRadioLit } from '../IxRadio.js';
4
- window.customElements.define('ix-button', IxRadioLit);
4
+ customElements.define('ix-button', IxRadioLit);
5
5
  export const IxButton = createComponent({
6
6
  tagName: 'ix-radio',
7
7
  elementClass: IxRadioLit,
@@ -1 +1 @@
1
- {"version":3,"file":"IxRadio.js","sourceRoot":"","sources":["../../src/react/IxRadio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC;IACtC,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,UAAU;IACxB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,SAAS;KACrB;CACF,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport { IxRadio as IxRadioLit } from '../IxRadio.js';\n\nwindow.customElements.define('ix-button', IxRadioLit);\n\nexport const IxButton = createComponent({\n tagName: 'ix-radio',\n elementClass: IxRadioLit,\n react: React,\n events: {\n onclick: 'onClick',\n onkeydown: 'keydown',\n },\n});\n"]}
1
+ {"version":3,"file":"IxRadio.js","sourceRoot":"","sources":["../../src/react/IxRadio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;AAE/C,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC;IACtC,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,UAAU;IACxB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,SAAS;KACrB;CACF,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { createComponent } from '@lit/react';\nimport { IxRadio as IxRadioLit } from '../IxRadio.js';\n\ncustomElements.define('ix-button', IxRadioLit);\n\nexport const IxButton = createComponent({\n tagName: 'ix-radio',\n elementClass: IxRadioLit,\n react: React,\n events: {\n onclick: 'onClick',\n onkeydown: 'keydown',\n },\n});\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent ix-radio following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "interxion",
6
- "version": "1.0.7",
6
+ "version": "1.0.8",
7
7
  "type": "module",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
27
27
  },
28
28
  "dependencies": {
29
- "@lit-labs/react": "^2.0.3",
29
+ "@lit/react": "^1.0.2",
30
30
  "@material/web": "^1.0.1",
31
31
  "i18next": "^23.3.0",
32
32
  "lit": "^2.7.6",
@@ -102,5 +102,5 @@
102
102
  "README.md",
103
103
  "LICENSE"
104
104
  ],
105
- "gitHead": "5714160bac22bcafd35125ddf83b029a7235ba9d"
105
+ "gitHead": "351ac4d7500d9b6a33acc3e4efef9519701d5253"
106
106
  }