@g-ui-core/react 0.1.0 → 0.1.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/dist/button.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { GButton } from '@g-ui-core/core';
2
- export declare const Button: import("@lit/react").ReactWebComponent<GButton, {
1
+ import { GButton as GButtonElement } from '@g-ui-core/core';
2
+ export declare const GButton: import("@lit/react").ReactWebComponent<GButtonElement, {
3
3
  onClick: string;
4
4
  }>;
5
5
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../src/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAM1C,eAAO,MAAM,MAAM;;EAOjB,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../src/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAM5D,eAAO,MAAM,OAAO;;EAOlB,CAAC"}
package/dist/button.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { createComponent } from '@lit/react';
2
- import { GButton } from '@g-ui-core/core';
2
+ import { GButton as GButtonElement } from '@g-ui-core/core';
3
3
  import { getNamespace } from '@g-ui-core/shared';
4
4
  import React from 'react';
5
5
  const tag = `${getNamespace()}-button`;
6
- export const Button = createComponent({
6
+ export const GButton = createComponent({
7
7
  tagName: tag,
8
- elementClass: GButton,
8
+ elementClass: GButtonElement,
9
9
  react: React,
10
10
  events: {
11
11
  onClick: 'click',
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../src/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,GAAG,GAAG,GAAG,YAAY,EAAE,SAAS,CAAC;AAEvC,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC;IACpC,OAAO,EAAE,GAAG;IACZ,YAAY,EAAE,OAAO;IACrB,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,OAAO,EAAE,OAAO;KACjB;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"button.js","sourceRoot":"","sources":["../src/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,GAAG,GAAG,GAAG,YAAY,EAAE,SAAS,CAAC;AAEvC,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;IACrC,OAAO,EAAE,GAAG;IACZ,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,OAAO,EAAE,OAAO;KACjB;CACF,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { Button } from './button';
1
+ export { GButton } from './button';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Button } from './button';
1
+ export { GButton } from './button';
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,31 +1,33 @@
1
- {
2
- "name": "@g-ui-core/react",
3
- "version": "0.1.0",
4
- "description": "React wrappers for g-ui-core components",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": ["dist"],
8
- "scripts": {
9
- "build": "tsc",
10
- "clean": "rm -rf dist"
11
- },
12
- "dependencies": {
13
- "@lit/react": "^1.0.0",
14
- "@g-ui-core/core": "workspace:*",
15
- "@g-ui-core/shared": "workspace:*"
16
- },
17
- "peerDependencies": {
18
- "react": ">=17",
19
- "react-dom": ">=17"
20
- },
21
- "devDependencies": {
22
- "@types/react": "^18.2.0",
23
- "@types/react-dom": "^18.2.0",
24
- "react": "^18.2.0",
25
- "react-dom": "^18.2.0",
26
- "typescript": "^5.4.0"
27
- },
28
- "publishConfig": {
29
- "access": "public"
30
- }
31
- }
1
+ {
2
+ "name": "@g-ui-core/react",
3
+ "version": "0.1.2",
4
+ "description": "React wrappers for g-ui-core components",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "dependencies": {
11
+ "@lit/react": "^1.0.0",
12
+ "@g-ui-core/core": "^0.1.0",
13
+ "@g-ui-core/shared": "^0.1.0"
14
+ },
15
+ "peerDependencies": {
16
+ "react": ">=17",
17
+ "react-dom": ">=17"
18
+ },
19
+ "devDependencies": {
20
+ "@types/react": "^18.2.0",
21
+ "@types/react-dom": "^18.2.0",
22
+ "react": "^18.2.0",
23
+ "react-dom": "^18.2.0",
24
+ "typescript": "^5.4.0"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "scripts": {
30
+ "build": "tsc",
31
+ "clean": "rm -rf dist"
32
+ }
33
+ }