@digital-realty/ix-button 3.2.9 → 3.2.10

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.
@@ -53,5 +53,5 @@ export declare class IxButton extends LitElement implements FormSubmitter {
53
53
  constructor();
54
54
  private readonly handleActivationClick;
55
55
  private readonly tags;
56
- protected render(): import("lit-html").TemplateResult;
56
+ protected render(): import("lit").TemplateResult;
57
57
  }
@@ -1,2 +1,2 @@
1
1
  import { IxButton as IxButtonLit } from '../IxButton.js';
2
- export declare const IxButton: import("@lit-labs/react").ReactWebComponent<IxButtonLit, {}>;
2
+ export declare const IxButton: import("@lit/react").ReactWebComponent<IxButtonLit, {}>;
@@ -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 { IxButton as IxButtonLit } from '../IxButton.js';
4
- window.customElements.define('ix-button', IxButtonLit);
4
+ customElements.define('ix-button', IxButtonLit);
5
5
  export const IxButton = createComponent({
6
6
  tagName: 'ix-button',
7
7
  elementClass: IxButtonLit,
@@ -1 +1 @@
1
- {"version":3,"file":"IxButton.js","sourceRoot":"","sources":["../../src/react/IxButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEzD,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAEvD,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC;IACtC,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,WAAW;IACzB,KAAK,EAAE,KAAK;CACb,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport { IxButton as IxButtonLit } from '../IxButton.js';\n\nwindow.customElements.define('ix-button', IxButtonLit);\n\nexport const IxButton = createComponent({\n tagName: 'ix-button',\n elementClass: IxButtonLit,\n react: React,\n});\n"]}
1
+ {"version":3,"file":"IxButton.js","sourceRoot":"","sources":["../../src/react/IxButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEzD,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC;IACtC,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,WAAW;IACzB,KAAK,EAAE,KAAK;CACb,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { createComponent } from '@lit/react';\nimport { IxButton as IxButtonLit } from '../IxButton.js';\n\ncustomElements.define('ix-button', IxButtonLit);\n\nexport const IxButton = createComponent({\n tagName: 'ix-button',\n elementClass: IxButtonLit,\n react: React,\n});\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent ix-button following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "Digital Realty",
6
- "version": "3.2.9",
6
+ "version": "3.2.10",
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.1.0",
29
+ "@lit/react": "^1.0.2",
30
30
  "@material/web": "^1.0.0",
31
31
  "lit": "^2.0.2",
32
32
  "react": "^18.2.0"
@@ -102,5 +102,5 @@
102
102
  "README.md",
103
103
  "LICENSE"
104
104
  ],
105
- "gitHead": "22907facb6faf6308fa1ea46a7faf875bcb26422"
105
+ "gitHead": "351ac4d7500d9b6a33acc3e4efef9519701d5253"
106
106
  }