godown 1.1.5 → 1.2.0

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.
Files changed (142) hide show
  1. package/LICENSE +9 -9
  2. package/conf.d.ts +17 -18
  3. package/conf.d.ts.map +1 -1
  4. package/conf.js +24 -22
  5. package/deps.d.ts +7 -7
  6. package/deps.d.ts.map +1 -1
  7. package/deps.js +7 -7
  8. package/effect/index.d.ts +3 -3
  9. package/effect/index.js +3 -3
  10. package/effect/ov-effect.d.ts +23 -23
  11. package/effect/ov-effect.js +85 -85
  12. package/effect/ro-effect.d.ts +19 -19
  13. package/effect/ro-effect.js +76 -76
  14. package/effect/std.d.ts +3 -3
  15. package/effect/std.js +3 -3
  16. package/effect/tw-effect.d.ts +21 -21
  17. package/effect/tw-effect.js +90 -90
  18. package/glob.d.ts +11 -8
  19. package/glob.d.ts.map +1 -1
  20. package/glob.js +20 -9
  21. package/group/avatar-group.d.ts +20 -20
  22. package/group/avatar-group.js +88 -88
  23. package/group/button-group.d.ts +12 -12
  24. package/group/button-group.js +26 -26
  25. package/group/details-group.d.ts +16 -16
  26. package/group/details-group.js +51 -51
  27. package/group/index.d.ts +3 -3
  28. package/group/index.js +3 -3
  29. package/group/std.d.ts +3 -3
  30. package/group/std.js +3 -3
  31. package/index.d.ts +7 -7
  32. package/index.js +7 -7
  33. package/input-form/base-input.d.ts +33 -32
  34. package/input-form/base-input.d.ts.map +1 -1
  35. package/input-form/base-input.js +129 -129
  36. package/input-form/exp-input.d.ts +23 -22
  37. package/input-form/exp-input.d.ts.map +1 -1
  38. package/input-form/exp-input.js +67 -67
  39. package/input-form/index.d.ts +8 -8
  40. package/input-form/index.js +8 -8
  41. package/input-form/label-input.d.ts +22 -21
  42. package/input-form/label-input.d.ts.map +1 -1
  43. package/input-form/label-input.js +69 -69
  44. package/input-form/search-input.d.ts +37 -36
  45. package/input-form/search-input.d.ts.map +1 -1
  46. package/input-form/search-input.js +163 -163
  47. package/input-form/select-input.d.ts +35 -31
  48. package/input-form/select-input.d.ts.map +1 -1
  49. package/input-form/select-input.js +290 -259
  50. package/input-form/sign-form.d.ts +26 -25
  51. package/input-form/sign-form.d.ts.map +1 -1
  52. package/input-form/sign-form.js +147 -147
  53. package/input-form/split-input.d.ts +27 -26
  54. package/input-form/split-input.d.ts.map +1 -1
  55. package/input-form/split-input.js +127 -127
  56. package/input-form/std.d.ts +20 -19
  57. package/input-form/std.d.ts.map +1 -1
  58. package/input-form/std.js +56 -55
  59. package/input-form/switch-input.d.ts +23 -22
  60. package/input-form/switch-input.d.ts.map +1 -1
  61. package/input-form/switch-input.js +73 -73
  62. package/items/alert-item.d.ts +16 -16
  63. package/items/alert-item.js +69 -69
  64. package/items/avatar-anchor.d.ts +19 -19
  65. package/items/avatar-anchor.js +71 -71
  66. package/items/base-button.d.ts +16 -16
  67. package/items/base-button.js +117 -117
  68. package/items/dialog-item.d.ts +24 -24
  69. package/items/dialog-item.js +92 -92
  70. package/items/index.d.ts +7 -7
  71. package/items/index.js +7 -7
  72. package/items/link-a.d.ts +19 -19
  73. package/items/link-a.js +76 -76
  74. package/items/load-track.d.ts +21 -20
  75. package/items/load-track.d.ts.map +1 -1
  76. package/items/load-track.js +76 -76
  77. package/items/std.d.ts +3 -3
  78. package/items/std.js +3 -3
  79. package/items/super-a.d.ts +15 -15
  80. package/items/super-a.js +46 -46
  81. package/layout/div-line.d.ts +15 -15
  82. package/layout/div-line.js +39 -39
  83. package/layout/drag-box.d.ts +25 -25
  84. package/layout/drag-box.js +88 -88
  85. package/layout/flex-flow.d.ts +13 -13
  86. package/layout/flex-flow.js +32 -32
  87. package/layout/index.d.ts +5 -5
  88. package/layout/index.js +5 -5
  89. package/layout/nav-aside.d.ts +14 -13
  90. package/layout/nav-aside.d.ts.map +1 -1
  91. package/layout/nav-aside.js +38 -38
  92. package/layout/nav-layout.d.ts +17 -16
  93. package/layout/nav-layout.d.ts.map +1 -1
  94. package/layout/nav-layout.js +51 -51
  95. package/layout/std.d.ts +4 -4
  96. package/layout/std.js +4 -4
  97. package/package.json +17 -13
  98. package/react/effect.d.ts +9 -9
  99. package/react/effect.d.ts.map +1 -1
  100. package/react/effect.js +33 -33
  101. package/react/group.d.ts +4 -4
  102. package/react/group.d.ts.map +1 -1
  103. package/react/group.js +19 -19
  104. package/react/index.d.ts +7 -7
  105. package/react/index.d.ts.map +1 -1
  106. package/react/index.js +7 -7
  107. package/react/input-form.d.ts +32 -32
  108. package/react/input-form.d.ts.map +1 -1
  109. package/react/input-form.js +65 -65
  110. package/react/items.d.ts +8 -8
  111. package/react/items.d.ts.map +1 -1
  112. package/react/items.js +39 -39
  113. package/react/layout.d.ts +6 -6
  114. package/react/layout.d.ts.map +1 -1
  115. package/react/layout.js +29 -29
  116. package/react/view.d.ts +6 -6
  117. package/react/view.d.ts.map +1 -1
  118. package/react/view.js +29 -29
  119. package/view/details-expand.d.ts +19 -18
  120. package/view/details-expand.d.ts.map +1 -1
  121. package/view/details-expand.js +53 -53
  122. package/view/down-drop.d.ts +19 -18
  123. package/view/down-drop.d.ts.map +1 -1
  124. package/view/down-drop.js +71 -71
  125. package/view/index.d.ts +5 -5
  126. package/view/index.js +5 -5
  127. package/view/menu-list.d.ts +17 -16
  128. package/view/menu-list.d.ts.map +1 -1
  129. package/view/menu-list.js +48 -48
  130. package/view/route-view.d.ts +46 -57
  131. package/view/route-view.d.ts.map +1 -1
  132. package/view/route-view.js +256 -257
  133. package/view/scroll-x.d.ts +14 -14
  134. package/view/scroll-x.js +47 -47
  135. package/view/std.d.ts +4 -4
  136. package/view/std.js +4 -4
  137. package/with.d.ts +23 -27
  138. package/with.d.ts.map +1 -1
  139. package/with.js +70 -77
  140. package/items/no-support.d.ts +0 -7
  141. package/items/no-support.d.ts.map +0 -1
  142. package/items/no-support.js +0 -23
@@ -1,24 +1,24 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html, css, property, define, cssvar } from "../deps.js";
8
- import "../view/down-drop.js";
9
- import STD, { navstyle } from "./std.js";
10
- let NavLayout = class NavLayout extends STD {
11
- constructor() {
12
- super(...arguments);
13
- this.host = "";
14
- this.subhead = "";
15
- this.set = 0;
16
- }
17
- render() {
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, css, property, define, cssvar } from "../deps.js";
8
+ import "../view/down-drop.js";
9
+ import STD, { navstyle } from "./std.js";
10
+ let NavLayout = class NavLayout extends STD {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.host = "";
14
+ this.subhead = "";
15
+ this.set = 0;
16
+ }
17
+ render() {
18
18
  return html `<nav>
19
19
  <h1>
20
20
  <slot name="host"></slot>
21
- <a href="/">${this.host}</a>${this.subhead &&
21
+ <a href="/">${this.host}</a>${this.subhead &&
22
22
  html `<span></span>
23
23
  <div>${this.subhead}</div>`}
24
24
  </h1>
@@ -28,19 +28,19 @@ let NavLayout = class NavLayout extends STD {
28
28
  </div>
29
29
  </nav>
30
30
  <main><slot></slot></main>
31
- <slot name="footer"></slot>`;
32
- }
33
- opt() {
34
- const result = [];
35
- for (let i = 0; i <= this.set - 1; i++) {
36
- opts[i] && result.unshift(opts[i]);
37
- }
38
- return result;
39
- }
40
- };
41
- NavLayout.styles = [
42
- STD.styles,
43
- navstyle,
31
+ <slot name="footer"></slot>`;
32
+ }
33
+ opt() {
34
+ const result = [];
35
+ for (let i = 0; i <= this.set - 1; i++) {
36
+ opts[i] && result.unshift(opts[i]);
37
+ }
38
+ return result;
39
+ }
40
+ };
41
+ NavLayout.styles = [
42
+ STD.styles,
43
+ navstyle,
44
44
  css `
45
45
  :host {
46
46
  ${cssvar}--nav-height:2.4em;
@@ -136,32 +136,32 @@ NavLayout.styles = [
136
136
  display: none;
137
137
  }
138
138
  }
139
- `,
140
- ];
141
- __decorate([
142
- property()
143
- ], NavLayout.prototype, "host", void 0);
144
- __decorate([
145
- property()
146
- ], NavLayout.prototype, "subhead", void 0);
147
- __decorate([
148
- property({ type: Number })
149
- ], NavLayout.prototype, "set", void 0);
150
- NavLayout = __decorate([
151
- define("nav-layout")
152
- ], NavLayout);
153
- export { NavLayout };
154
- const opts = [
139
+ `,
140
+ ];
141
+ __decorate([
142
+ property()
143
+ ], NavLayout.prototype, "host", void 0);
144
+ __decorate([
145
+ property()
146
+ ], NavLayout.prototype, "subhead", void 0);
147
+ __decorate([
148
+ property({ type: Number })
149
+ ], NavLayout.prototype, "set", void 0);
150
+ NavLayout = __decorate([
151
+ define("nav-layout")
152
+ ], NavLayout);
153
+ export { NavLayout };
154
+ const opts = [
155
155
  html `<down-drop>
156
156
  <a slot="hover">
157
157
  <svg viewBox="0 0 1024 1024" width="1.8em" height="1.8em"><path fill="currentColor" d="M588.8 128l12 83.2 4.8 34.4 31.2 14.4c12.8 6.4 26.4 13.6 38.4 21.6l28 18.4 31.2-12 81.6-32 76 127.2-67.2 51.2-28 21.6 3.2 35.2c0.8 7.2 0.8 14.4 0.8 20.8s0 13.6-0.8 20.8l-3.2 35.2 28 21.6 67.2 51.2-75.2 127.2-82.4-32-31.2-12-28 18.4c-12.8 8.8-25.6 16-38.4 21.6l-31.2 14.4-4.8 33.6-12 84H435.2l-12-83.2-4.8-34.4-31.2-14.4c-12.8-6.4-26.4-13.6-38.4-21.6l-28-18.4-31.2 12L208 768l-76-127.2 67.2-51.2 28-21.6-3.2-35.2c-0.8-7.2-0.8-14.4-0.8-20.8s0-13.6 0.8-20.8l3.2-35.2-28-21.6-67.2-51.2L207.2 256l82.4 32 31.2 12 28-18.4c12.8-8.8 25.6-16 38.4-21.6l31.2-14.4 4.8-33.6L435.2 128h153.6m8.8-64H426.4c-27.2 0-49.6 19.2-53.6 44.8L360 201.6c-16 7.2-31.2 16-47.2 26.4l-90.4-35.2c-6.4-2.4-12.8-3.2-19.2-3.2-19.2 0-37.6 9.6-46.4 26.4L71.2 360c-13.6 22.4-8 52 12.8 68l76 57.6c-0.8 9.6-1.6 18.4-1.6 26.4s0 16.8 1.6 26.4l-76 57.6c-20.8 16-26.4 44-12.8 68l84.8 143.2c9.6 16.8 28 27.2 47.2 27.2 6.4 0 12-0.8 18.4-3.2L312 796c15.2 10.4 31.2 19.2 47.2 26.4l13.6 92c3.2 25.6 26.4 45.6 53.6 45.6h171.2c27.2 0 49.6-19.2 53.6-44.8l13.6-92.8c16-7.2 31.2-16 47.2-26.4l90.4 35.2c6.4 2.4 12.8 3.2 19.2 3.2 19.2 0 37.6-9.6 46.4-26.4l85.6-144.8c12.8-23.2 7.2-51.2-13.6-67.2l-76-57.6c0.8-8 1.6-16.8 1.6-26.4 0-9.6-0.8-18.4-1.6-26.4l76-57.6c20.8-16 26.4-44 12.8-68l-84.8-143.2c-9.6-16.8-28-27.2-47.2-27.2-6.4 0-12 0.8-18.4 3.2L712 228c-15.2-10.4-31.2-19.2-47.2-26.4l-13.6-92c-4-26.4-26.4-45.6-53.6-45.6zM512 384c70.4 0 128 57.6 128 128s-57.6 128-128 128-128-57.6-128-128 57.6-128 128-128m0-64c-105.6 0-192 86.4-192 192s86.4 192 192 192 192-86.4 192-192-86.4-192-192-192z"></path></svg>
158
158
  </a>
159
159
  <div class="option"><a href="/zh">简体中文</a><a href="/en">English</a><a href="/ru">Русский</a></div>
160
- </down-drop>`,
160
+ </down-drop>`,
161
161
  html `<down-drop>
162
162
  <a href="/account" slot="hover">
163
163
  <svg viewBox="0 0 1024 1024" width="1.8em" height="1.8em"><path fill="currentColor" d="M870.314 877.39C777.938 967.975 651.552 1024 512 1024 229.24 1024 0.018 794.742 0.018 511.981 0.018 229.221 229.24 0 512 0s511.982 229.222 511.982 511.982c0 143.21-58.914 272.485-153.668 365.41zM512 950.86c103.932 0 199.307-36.314 274.496-96.728C746.45 740.398 639.447 658.262 512 658.262c-127.447 0-234.451 82.136-274.496 195.87C312.693 914.546 408.068 950.86 512 950.86z m0-877.684c-242.35 0-438.842 196.492-438.842 438.842 0 109.528 40.374 209.4 106.712 286.308C237.724 672.597 364.513 585.158 512 585.158c147.45 0 274.276 87.44 332.13 213.168 66.338-76.87 106.712-176.78 106.712-286.308 0-242.35-196.492-438.842-438.842-438.842z m0 475.412c-101.007 0-182.85-81.88-182.85-182.85 0-101.007 81.843-182.851 182.85-182.851 100.97 0 182.85 81.844 182.85 182.85 0 100.97-81.88 182.851-182.85 182.851z m0-292.561c-60.597 0-109.71 49.114-109.71 109.674 0 60.596 49.113 109.71 109.71 109.71 60.597 0 109.71-49.114 109.71-109.71 0-60.56-49.113-109.674-109.71-109.674z"></path></svg>
164
164
  </a>
165
- </down-drop>`,
166
- ];
167
- export default NavLayout;
165
+ </down-drop>`,
166
+ ];
167
+ export default NavLayout;
package/layout/std.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { GLOBSTD } from "../deps.js";
2
- export default class LayoutSTD extends GLOBSTD {
3
- }
4
- export declare const navstyle: import("lit").CSSResult;
1
+ import { GLOBSTD } from "../deps.js";
2
+ export default class LayoutSTD extends GLOBSTD {
3
+ }
4
+ export declare const navstyle: import("lit").CSSResult;
5
5
  //# sourceMappingURL=std.d.ts.map
package/layout/std.js CHANGED
@@ -1,10 +1,10 @@
1
- import { GLOBSTD, css, cssvar } from "../deps.js";
2
- export default class LayoutSTD extends GLOBSTD {
3
- }
1
+ import { GLOBSTD, css, cssvar } from "../deps.js";
2
+ export default class LayoutSTD extends GLOBSTD {
3
+ }
4
4
  export const navstyle = css `
5
5
  :host {
6
6
  ${cssvar}--nav-text: rgb(240 240 240);
7
7
  ${cssvar}--nav-background: rgb(28 28 30);
8
8
  ${cssvar}--nav-super-background: rgb(16 136 138);
9
9
  }
10
- `;
10
+ `;
package/package.json CHANGED
@@ -1,15 +1,10 @@
1
1
  {
2
2
  "name": "godown",
3
- "version": "1.1.5",
3
+ "version": "1.2.0",
4
4
  "main": "./index.js",
5
5
  "type": "module",
6
- "scripts": {
7
- "dev": "node ./dev.js",
8
- "build": "tsc --watch",
9
- "pub": "node ./pub.js",
10
- "roll": "tsc && rollup -c",
11
- "fmt": "prettier --write .",
12
- "lint": "eslint --ext .ts ./src/"
6
+ "publishConfig": {
7
+ "access": "public"
13
8
  },
14
9
  "keywords": [
15
10
  "godown",
@@ -27,9 +22,9 @@
27
22
  "url": "https://github.com/startracex/godown.git"
28
23
  },
29
24
  "dependencies": {
30
- "@lit-labs/react": "*",
31
- "lit": "*",
32
- "react": "*"
25
+ "@lit/react": "^1.0.0",
26
+ "lit": "^3.0.0",
27
+ "react": "latest"
33
28
  },
34
29
  "devDependencies": {
35
30
  "@rollup/plugin-node-resolve": "^15.2.1",
@@ -42,6 +37,15 @@
42
37
  "eslint": "^8.50.0",
43
38
  "prettier": "^3.0.3",
44
39
  "rollup": "^3.29.4",
45
- "rollup-plugin-minify-html-literals": "^1.2.6"
40
+ "rollup-plugin-minify-html-literals": "^1.2.6",
41
+ "typescript": "^5.2.2"
42
+ },
43
+ "scripts": {
44
+ "dev": "node ./scripts/dev.js",
45
+ "watch": "tsc --watch",
46
+ "build": "tsc && node ./scripts/pub.js",
47
+ "roll": "tsc && rollup -c",
48
+ "fmt": "prettier --write .",
49
+ "lint": "eslint --ext .ts ./src/"
46
50
  }
47
- }
51
+ }
package/react/effect.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import * as X from "../effect/index.js";
2
- export declare const OVText: import("@lit-labs/react").ReactWebComponent<X.OVText, {}>;
3
- export declare const OVPort: import("@lit-labs/react").ReactWebComponent<X.OVPort, {}>;
4
- export declare const OVButton: import("@lit-labs/react").ReactWebComponent<X.OVButton, {}>;
5
- export declare const ROPort: import("@lit-labs/react").ReactWebComponent<X.ROPort, {}>;
6
- export declare const TWText: import("@lit-labs/react").ReactWebComponent<X.TWText, {
7
- onChange: string;
8
- onDone: string;
9
- }>;
1
+ import * as X from "../effect/index.js";
2
+ export declare const OVText: import("@lit/react").ReactWebComponent<X.OVText, {}>;
3
+ export declare const OVPort: import("@lit/react").ReactWebComponent<X.OVPort, {}>;
4
+ export declare const OVButton: import("@lit/react").ReactWebComponent<X.OVButton, {}>;
5
+ export declare const ROPort: import("@lit/react").ReactWebComponent<X.ROPort, {}>;
6
+ export declare const TWText: import("@lit/react").ReactWebComponent<X.TWText, {
7
+ onChange: string;
8
+ onDone: string;
9
+ }>;
10
10
  //# sourceMappingURL=effect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"effect.d.ts","sourceRoot":"","sources":["../../src/react/effect.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AAExC,eAAO,MAAM,MAAM,2DAIjB,CAAC;AACH,eAAO,MAAM,MAAM,2DAIjB,CAAC;AACH,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,MAAM,2DAIjB,CAAC;AACH,eAAO,MAAM,MAAM;;;EAQjB,CAAC"}
1
+ {"version":3,"file":"effect.d.ts","sourceRoot":"","sources":["../../src/react/effect.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AAExC,eAAO,MAAM,MAAM,sDAIjB,CAAC;AACH,eAAO,MAAM,MAAM,sDAIjB,CAAC;AACH,eAAO,MAAM,QAAQ,wDAInB,CAAC;AACH,eAAO,MAAM,MAAM,sDAIjB,CAAC;AACH,eAAO,MAAM,MAAM;;;EAQjB,CAAC"}
package/react/effect.js CHANGED
@@ -1,33 +1,33 @@
1
- "use client";
2
- import * as React from "react";
3
- import * as X from "../effect/index.js";
4
- import { createComponent } from "@lit-labs/react";
5
- export const OVText = createComponent({
6
- tagName: "ov-text",
7
- elementClass: X.OVText,
8
- react: React,
9
- });
10
- export const OVPort = createComponent({
11
- tagName: "ov-port",
12
- elementClass: X.OVPort,
13
- react: React,
14
- });
15
- export const OVButton = createComponent({
16
- tagName: "ov-button",
17
- elementClass: X.OVButton,
18
- react: React,
19
- });
20
- export const ROPort = createComponent({
21
- tagName: "ro-port",
22
- elementClass: X.ROPort,
23
- react: React,
24
- });
25
- export const TWText = createComponent({
26
- tagName: "tw-text",
27
- elementClass: X.TWText,
28
- react: React,
29
- events: {
30
- onChange: "change",
31
- onDone: "done",
32
- },
33
- });
1
+ "use client";
2
+ import * as React from "react";
3
+ import * as X from "../effect/index.js";
4
+ import { createComponent } from "@lit/react";
5
+ export const OVText = createComponent({
6
+ tagName: "ov-text",
7
+ elementClass: X.OVText,
8
+ react: React,
9
+ });
10
+ export const OVPort = createComponent({
11
+ tagName: "ov-port",
12
+ elementClass: X.OVPort,
13
+ react: React,
14
+ });
15
+ export const OVButton = createComponent({
16
+ tagName: "ov-button",
17
+ elementClass: X.OVButton,
18
+ react: React,
19
+ });
20
+ export const ROPort = createComponent({
21
+ tagName: "ro-port",
22
+ elementClass: X.ROPort,
23
+ react: React,
24
+ });
25
+ export const TWText = createComponent({
26
+ tagName: "tw-text",
27
+ elementClass: X.TWText,
28
+ react: React,
29
+ events: {
30
+ onChange: "change",
31
+ onDone: "done",
32
+ },
33
+ });
package/react/group.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as X from "../group/index.js";
2
- export declare const AvatarGroup: import("@lit-labs/react").ReactWebComponent<X.AvatarGroup, {}>;
3
- export declare const ButtonGroup: import("@lit-labs/react").ReactWebComponent<X.ButtonGroup, {}>;
4
- export declare const DetailsGroup: import("@lit-labs/react").ReactWebComponent<X.DetailsGroup, {}>;
1
+ import * as X from "../group/index.js";
2
+ export declare const AvatarGroup: import("@lit/react").ReactWebComponent<X.AvatarGroup, {}>;
3
+ export declare const ButtonGroup: import("@lit/react").ReactWebComponent<X.ButtonGroup, {}>;
4
+ export declare const DetailsGroup: import("@lit/react").ReactWebComponent<X.DetailsGroup, {}>;
5
5
  //# sourceMappingURL=group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../src/react/group.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,mBAAmB,CAAC;AAEvC,eAAO,MAAM,WAAW,gEAItB,CAAC;AACH,eAAO,MAAM,WAAW,gEAItB,CAAC;AACH,eAAO,MAAM,YAAY,iEAIvB,CAAC"}
1
+ {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../src/react/group.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,mBAAmB,CAAC;AAEvC,eAAO,MAAM,WAAW,2DAItB,CAAC;AACH,eAAO,MAAM,WAAW,2DAItB,CAAC;AACH,eAAO,MAAM,YAAY,4DAIvB,CAAC"}
package/react/group.js CHANGED
@@ -1,19 +1,19 @@
1
- "use client";
2
- import * as React from "react";
3
- import * as X from "../group/index.js";
4
- import { createComponent } from "@lit-labs/react";
5
- export const AvatarGroup = createComponent({
6
- tagName: "avatar-group",
7
- elementClass: X.AvatarGroup,
8
- react: React,
9
- });
10
- export const ButtonGroup = createComponent({
11
- tagName: "button-group",
12
- elementClass: X.ButtonGroup,
13
- react: React,
14
- });
15
- export const DetailsGroup = createComponent({
16
- tagName: "details-group",
17
- elementClass: X.DetailsGroup,
18
- react: React,
19
- });
1
+ "use client";
2
+ import * as React from "react";
3
+ import * as X from "../group/index.js";
4
+ import { createComponent } from "@lit/react";
5
+ export const AvatarGroup = createComponent({
6
+ tagName: "avatar-group",
7
+ elementClass: X.AvatarGroup,
8
+ react: React,
9
+ });
10
+ export const ButtonGroup = createComponent({
11
+ tagName: "button-group",
12
+ elementClass: X.ButtonGroup,
13
+ react: React,
14
+ });
15
+ export const DetailsGroup = createComponent({
16
+ tagName: "details-group",
17
+ elementClass: X.DetailsGroup,
18
+ react: React,
19
+ });
package/react/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export { createComponent } from "@lit-labs/react";
2
- export * from "./effect.js";
3
- export * from "./group.js";
4
- export * from "./input-form.js";
5
- export * from "./items.js";
6
- export * from "./layout.js";
7
- export * from "./view.js";
1
+ export { createComponent } from "@lit/react";
2
+ export * from "./effect.js";
3
+ export * from "./group.js";
4
+ export * from "./input-form.js";
5
+ export * from "./items.js";
6
+ export * from "./layout.js";
7
+ export * from "./view.js";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
package/react/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { createComponent } from "@lit-labs/react";
2
- export * from "./effect.js";
3
- export * from "./group.js";
4
- export * from "./input-form.js";
5
- export * from "./items.js";
6
- export * from "./layout.js";
7
- export * from "./view.js";
1
+ export { createComponent } from "@lit/react";
2
+ export * from "./effect.js";
3
+ export * from "./group.js";
4
+ export * from "./input-form.js";
5
+ export * from "./items.js";
6
+ export * from "./layout.js";
7
+ export * from "./view.js";
@@ -1,33 +1,33 @@
1
- import * as X from "../input-form/index.js";
2
- export declare const BaseForm: import("@lit-labs/react").ReactWebComponent<X.BaseForm, {}>;
3
- export declare const BaseInput: import("@lit-labs/react").ReactWebComponent<X.BaseInput, {
4
- onInput: string;
5
- onChange: string;
6
- }>;
7
- export declare const ExpInput: import("@lit-labs/react").ReactWebComponent<X.ExpInput, {
8
- onInput: string;
9
- onChange: string;
10
- }>;
11
- export declare const LabelInput: import("@lit-labs/react").ReactWebComponent<X.LabelInput, {
12
- onInput: string;
13
- onChange: string;
14
- }>;
15
- export declare const SearchInput: import("@lit-labs/react").ReactWebComponent<X.SearchInput, {
16
- onInput: string;
17
- onChange: string;
18
- }>;
19
- export declare const SearchW: import("@lit-labs/react").ReactWebComponent<X.SearchW, {}>;
20
- export declare const SelectInput: import("@lit-labs/react").ReactWebComponent<X.SelectInput, {
21
- onInput: string;
22
- onChange: string;
23
- }>;
24
- export declare const SignForm: import("@lit-labs/react").ReactWebComponent<X.SignForm, {}>;
25
- export declare const SplitInput: import("@lit-labs/react").ReactWebComponent<X.SplitInput, {
26
- onInput: string;
27
- onChange: string;
28
- }>;
29
- export declare const SwitchInput: import("@lit-labs/react").ReactWebComponent<X.SwitchInput, {
30
- onInput: string;
31
- onChange: string;
32
- }>;
1
+ import * as X from "../input-form/index.js";
2
+ export declare const BaseForm: import("@lit/react").ReactWebComponent<X.BaseForm, {}>;
3
+ export declare const BaseInput: import("@lit/react").ReactWebComponent<X.BaseInput, {
4
+ onInput: string;
5
+ onChange: string;
6
+ }>;
7
+ export declare const ExpInput: import("@lit/react").ReactWebComponent<X.ExpInput, {
8
+ onInput: string;
9
+ onChange: string;
10
+ }>;
11
+ export declare const LabelInput: import("@lit/react").ReactWebComponent<X.LabelInput, {
12
+ onInput: string;
13
+ onChange: string;
14
+ }>;
15
+ export declare const SearchInput: import("@lit/react").ReactWebComponent<X.SearchInput, {
16
+ onInput: string;
17
+ onChange: string;
18
+ }>;
19
+ export declare const SearchW: import("@lit/react").ReactWebComponent<X.SearchW, {}>;
20
+ export declare const SelectInput: import("@lit/react").ReactWebComponent<X.SelectInput, {
21
+ onInput: string;
22
+ onChange: string;
23
+ }>;
24
+ export declare const SignForm: import("@lit/react").ReactWebComponent<X.SignForm, {}>;
25
+ export declare const SplitInput: import("@lit/react").ReactWebComponent<X.SplitInput, {
26
+ onInput: string;
27
+ onChange: string;
28
+ }>;
29
+ export declare const SwitchInput: import("@lit/react").ReactWebComponent<X.SwitchInput, {
30
+ onInput: string;
31
+ onChange: string;
32
+ }>;
33
33
  //# sourceMappingURL=input-form.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-form.d.ts","sourceRoot":"","sources":["../../src/react/input-form.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,wBAAwB,CAAC;AAM5C,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,SAAS;;;EAKpB,CAAC;AACH,eAAO,MAAM,QAAQ;;;EAKnB,CAAC;AACH,eAAO,MAAM,UAAU;;;EAKrB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC;AACH,eAAO,MAAM,OAAO,4DAIlB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC;AACH,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,UAAU;;;EAKrB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC"}
1
+ {"version":3,"file":"input-form.d.ts","sourceRoot":"","sources":["../../src/react/input-form.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,wBAAwB,CAAC;AAM5C,eAAO,MAAM,QAAQ,wDAInB,CAAC;AACH,eAAO,MAAM,SAAS;;;EAKpB,CAAC;AACH,eAAO,MAAM,QAAQ;;;EAKnB,CAAC;AACH,eAAO,MAAM,UAAU;;;EAKrB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC;AACH,eAAO,MAAM,OAAO,uDAIlB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC;AACH,eAAO,MAAM,QAAQ,wDAInB,CAAC;AACH,eAAO,MAAM,UAAU;;;EAKrB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC"}
@@ -1,65 +1,65 @@
1
- "use client";
2
- import * as React from "react";
3
- import * as X from "../input-form/index.js";
4
- import { createComponent } from "@lit-labs/react";
5
- const stdevent = {
6
- onInput: "input",
7
- onChange: "change",
8
- };
9
- export const BaseForm = createComponent({
10
- tagName: "base-form",
11
- elementClass: X.BaseForm,
12
- react: React,
13
- });
14
- export const BaseInput = createComponent({
15
- tagName: "base-input",
16
- elementClass: X.BaseInput,
17
- react: React,
18
- events: stdevent,
19
- });
20
- export const ExpInput = createComponent({
21
- tagName: "exp-input",
22
- elementClass: X.ExpInput,
23
- react: React,
24
- events: stdevent,
25
- });
26
- export const LabelInput = createComponent({
27
- tagName: "label-input",
28
- elementClass: X.LabelInput,
29
- react: React,
30
- events: stdevent,
31
- });
32
- export const SearchInput = createComponent({
33
- tagName: "search-input",
34
- elementClass: X.SearchInput,
35
- react: React,
36
- events: stdevent,
37
- });
38
- export const SearchW = createComponent({
39
- tagName: "search-w",
40
- elementClass: X.SearchW,
41
- react: React,
42
- });
43
- export const SelectInput = createComponent({
44
- tagName: "select-input",
45
- elementClass: X.SelectInput,
46
- react: React,
47
- events: stdevent,
48
- });
49
- export const SignForm = createComponent({
50
- tagName: "sign-form",
51
- elementClass: X.SignForm,
52
- react: React,
53
- });
54
- export const SplitInput = createComponent({
55
- tagName: "split-input",
56
- elementClass: X.SplitInput,
57
- react: React,
58
- events: stdevent,
59
- });
60
- export const SwitchInput = createComponent({
61
- tagName: "switch-input",
62
- elementClass: X.SwitchInput,
63
- react: React,
64
- events: stdevent,
65
- });
1
+ "use client";
2
+ import * as React from "react";
3
+ import * as X from "../input-form/index.js";
4
+ import { createComponent } from "@lit/react";
5
+ const stdevent = {
6
+ onInput: "input",
7
+ onChange: "change",
8
+ };
9
+ export const BaseForm = createComponent({
10
+ tagName: "base-form",
11
+ elementClass: X.BaseForm,
12
+ react: React,
13
+ });
14
+ export const BaseInput = createComponent({
15
+ tagName: "base-input",
16
+ elementClass: X.BaseInput,
17
+ react: React,
18
+ events: stdevent,
19
+ });
20
+ export const ExpInput = createComponent({
21
+ tagName: "exp-input",
22
+ elementClass: X.ExpInput,
23
+ react: React,
24
+ events: stdevent,
25
+ });
26
+ export const LabelInput = createComponent({
27
+ tagName: "label-input",
28
+ elementClass: X.LabelInput,
29
+ react: React,
30
+ events: stdevent,
31
+ });
32
+ export const SearchInput = createComponent({
33
+ tagName: "search-input",
34
+ elementClass: X.SearchInput,
35
+ react: React,
36
+ events: stdevent,
37
+ });
38
+ export const SearchW = createComponent({
39
+ tagName: "search-w",
40
+ elementClass: X.SearchW,
41
+ react: React,
42
+ });
43
+ export const SelectInput = createComponent({
44
+ tagName: "select-input",
45
+ elementClass: X.SelectInput,
46
+ react: React,
47
+ events: stdevent,
48
+ });
49
+ export const SignForm = createComponent({
50
+ tagName: "sign-form",
51
+ elementClass: X.SignForm,
52
+ react: React,
53
+ });
54
+ export const SplitInput = createComponent({
55
+ tagName: "split-input",
56
+ elementClass: X.SplitInput,
57
+ react: React,
58
+ events: stdevent,
59
+ });
60
+ export const SwitchInput = createComponent({
61
+ tagName: "switch-input",
62
+ elementClass: X.SwitchInput,
63
+ react: React,
64
+ events: stdevent,
65
+ });
package/react/items.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import * as X from "../items/index.js";
2
- export declare const AvatarAnchor: import("@lit-labs/react").ReactWebComponent<X.AvatarAnchor, {}>;
3
- export declare const BaseButton: import("@lit-labs/react").ReactWebComponent<X.BaseButton, {}>;
4
- export declare const AlertItem: import("@lit-labs/react").ReactWebComponent<X.AlertItem, {}>;
5
- export declare const DialogItem: import("@lit-labs/react").ReactWebComponent<X.DialogItem, {}>;
6
- export declare const LinkAnchor: import("@lit-labs/react").ReactWebComponent<X.LinkAnchor, {}>;
7
- export declare const LoadTrack: import("@lit-labs/react").ReactWebComponent<X.LoadTrack, {}>;
8
- export declare const SuperAnchor: import("@lit-labs/react").ReactWebComponent<X.SuperAnchor, {}>;
1
+ import * as X from "../items/index.js";
2
+ export declare const AvatarAnchor: import("@lit/react").ReactWebComponent<X.AvatarAnchor, {}>;
3
+ export declare const BaseButton: import("@lit/react").ReactWebComponent<X.BaseButton, {}>;
4
+ export declare const AlertItem: import("@lit/react").ReactWebComponent<X.AlertItem, {}>;
5
+ export declare const DialogItem: import("@lit/react").ReactWebComponent<X.DialogItem, {}>;
6
+ export declare const LinkAnchor: import("@lit/react").ReactWebComponent<X.LinkAnchor, {}>;
7
+ export declare const LoadTrack: import("@lit/react").ReactWebComponent<X.LoadTrack, {}>;
8
+ export declare const SuperAnchor: import("@lit/react").ReactWebComponent<X.SuperAnchor, {}>;
9
9
  //# sourceMappingURL=items.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../src/react/items.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,mBAAmB,CAAC;AAEvC,eAAO,MAAM,YAAY,iEAIvB,CAAC;AACH,eAAO,MAAM,UAAU,+DAIrB,CAAC;AACH,eAAO,MAAM,SAAS,8DAIpB,CAAC;AACH,eAAO,MAAM,UAAU,+DAIrB,CAAC;AACH,eAAO,MAAM,UAAU,+DAIrB,CAAC;AACH,eAAO,MAAM,SAAS,8DAIpB,CAAC;AACH,eAAO,MAAM,WAAW,gEAItB,CAAC"}
1
+ {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../src/react/items.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,mBAAmB,CAAC;AAEvC,eAAO,MAAM,YAAY,4DAIvB,CAAC;AACH,eAAO,MAAM,UAAU,0DAIrB,CAAC;AACH,eAAO,MAAM,SAAS,yDAIpB,CAAC;AACH,eAAO,MAAM,UAAU,0DAIrB,CAAC;AACH,eAAO,MAAM,UAAU,0DAIrB,CAAC;AACH,eAAO,MAAM,SAAS,yDAIpB,CAAC;AACH,eAAO,MAAM,WAAW,2DAItB,CAAC"}