@digital-realty/ix-switch 2.1.6 → 2.1.7
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/IxSwitch.d.ts
CHANGED
package/dist/react/IxSwitch.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IxSwitch as LitComp } from '../IxSwitch.js';
|
|
2
|
-
export declare const IxSwitch: import("@lit
|
|
2
|
+
export declare const IxSwitch: import("@lit/react").ReactWebComponent<LitComp, {}>;
|
package/dist/react/IxSwitch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { createComponent } from '@lit
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
3
|
import { IxSwitch as LitComp } from '../IxSwitch.js';
|
|
4
|
-
|
|
4
|
+
customElements.define('ix-switch', LitComp);
|
|
5
5
|
export const IxSwitch = createComponent({
|
|
6
6
|
tagName: 'ix-switch',
|
|
7
7
|
elementClass: LitComp,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IxSwitch.js","sourceRoot":"","sources":["../../src/react/IxSwitch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IxSwitch.js","sourceRoot":"","sources":["../../src/react/IxSwitch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,QAAQ,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAErD,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;AAE5C,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC;IACtC,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,OAAO;IACrB,KAAK,EAAE,KAAK;CACb,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { createComponent } from '@lit/react';\nimport { IxSwitch as LitComp } from '../IxSwitch.js';\n\ncustomElements.define('ix-switch', LitComp);\n\nexport const IxSwitch = createComponent({\n tagName: 'ix-switch',\n elementClass: LitComp,\n react: React,\n});\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent ix-switch following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Digital Realty",
|
|
6
|
-
"version": "2.1.
|
|
6
|
+
"version": "2.1.7",
|
|
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
|
|
29
|
+
"@lit/react": "^1.0.2",
|
|
30
30
|
"@material/web": "^1.0.1",
|
|
31
31
|
"lit": "^2.0.2",
|
|
32
32
|
"react": "^18.2.0"
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"README.md",
|
|
100
100
|
"LICENSE"
|
|
101
101
|
],
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "351ac4d7500d9b6a33acc3e4efef9519701d5253"
|
|
103
103
|
}
|