@vaadin/react-components 24.4.0-beta1 → 24.4.0-beta2
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/LICENSE +201 -0
- package/README.md +1 -1
- package/generated/GridColumnGroup.d.ts +1 -1
- package/index.d.ts +0 -12
- package/index.js +0 -12
- package/package.json +59 -126
- package/utils/createComponent.js +1 -1
- package/utils/createComponent.js.map +1 -1
- package/Board.d.ts +0 -12
- package/Board.d.ts.map +0 -1
- package/Board.js +0 -12
- package/Board.js.map +0 -7
- package/BoardRow.d.ts +0 -12
- package/BoardRow.d.ts.map +0 -1
- package/BoardRow.js +0 -12
- package/BoardRow.js.map +0 -7
- package/Chart.d.ts +0 -12
- package/Chart.d.ts.map +0 -1
- package/Chart.js +0 -12
- package/Chart.js.map +0 -7
- package/ChartSeries.d.ts +0 -17
- package/ChartSeries.d.ts.map +0 -1
- package/ChartSeries.js +0 -12
- package/ChartSeries.js.map +0 -7
- package/CookieConsent.d.ts +0 -17
- package/CookieConsent.d.ts.map +0 -1
- package/CookieConsent.js +0 -12
- package/CookieConsent.js.map +0 -7
- package/Crud.d.ts +0 -32
- package/Crud.d.ts.map +0 -1
- package/Crud.js +0 -12
- package/Crud.js.map +0 -7
- package/CrudEdit.d.ts +0 -12
- package/CrudEdit.d.ts.map +0 -1
- package/CrudEdit.js +0 -12
- package/CrudEdit.js.map +0 -7
- package/CrudEditColumn.d.ts +0 -12
- package/CrudEditColumn.d.ts.map +0 -1
- package/CrudEditColumn.js +0 -12
- package/CrudEditColumn.js.map +0 -7
- package/GridPro.d.ts +0 -20
- package/GridPro.d.ts.map +0 -1
- package/GridPro.js +0 -12
- package/GridPro.js.map +0 -7
- package/GridProEditColumn.d.ts +0 -25
- package/GridProEditColumn.d.ts.map +0 -1
- package/GridProEditColumn.js +0 -12
- package/GridProEditColumn.js.map +0 -7
- package/Map.d.ts +0 -12
- package/Map.d.ts.map +0 -1
- package/Map.js +0 -12
- package/Map.js.map +0 -7
- package/RichTextEditor.d.ts +0 -12
- package/RichTextEditor.d.ts.map +0 -1
- package/RichTextEditor.js +0 -12
- package/RichTextEditor.js.map +0 -7
- package/generated/Board.d.ts +0 -11
- package/generated/Board.d.ts.map +0 -1
- package/generated/BoardRow.d.ts +0 -11
- package/generated/BoardRow.d.ts.map +0 -1
- package/generated/Chart.d.ts +0 -72
- package/generated/Chart.d.ts.map +0 -1
- package/generated/ChartSeries.d.ts +0 -11
- package/generated/ChartSeries.d.ts.map +0 -1
- package/generated/CookieConsent.d.ts +0 -11
- package/generated/CookieConsent.d.ts.map +0 -1
- package/generated/Crud.d.ts +0 -20
- package/generated/Crud.d.ts.map +0 -1
- package/generated/CrudEdit.d.ts +0 -14
- package/generated/CrudEdit.d.ts.map +0 -1
- package/generated/CrudEditColumn.d.ts +0 -11
- package/generated/CrudEditColumn.d.ts.map +0 -1
- package/generated/GridPro.d.ts +0 -28
- package/generated/GridPro.d.ts.map +0 -1
- package/generated/GridProEditColumn.d.ts +0 -12
- package/generated/GridProEditColumn.d.ts.map +0 -1
- package/generated/Map.d.ts +0 -9
- package/generated/Map.d.ts.map +0 -1
- package/generated/RichTextEditor.d.ts +0 -18
- package/generated/RichTextEditor.d.ts.map +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ export * from "@vaadin/grid/vaadin-grid-column-group.js";
|
|
|
5
5
|
export { GridColumnGroupElement, };
|
|
6
6
|
export type GridColumnGroupEventMap = Readonly<{}>;
|
|
7
7
|
export type GridColumnGroupProps = WebComponentProps<GridColumnGroupElement, GridColumnGroupEventMap>;
|
|
8
|
-
export declare const GridColumnGroup: (props: Partial<Omit<React.HTMLAttributes<GridColumnGroupElement<unknown>>, "autofocus" | "header" | "
|
|
8
|
+
export declare const GridColumnGroup: (props: Partial<Omit<React.HTMLAttributes<GridColumnGroupElement<unknown>>, "autofocus" | "header" | "resizable" | "headerRenderer" | "footerRenderer" | "width" | "flexGrow" | "frozen" | "frozenToEnd" | "rowHeader" | "textAlign" | "headerPartName" | "footerPartName"> & {} & Partial<Omit<GridColumnGroupElement<unknown>, keyof HTMLElement>> & {
|
|
9
9
|
autofocus?: boolean | undefined;
|
|
10
10
|
}> & React.RefAttributes<GridColumnGroupElement<unknown>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
11
11
|
//# sourceMappingURL=GridColumnGroup.d.ts.map
|
package/index.d.ts
CHANGED
|
@@ -5,21 +5,13 @@ export * from "./AppLayout.js";
|
|
|
5
5
|
export * from "./DrawerToggle.js";
|
|
6
6
|
export * from "./Avatar.js";
|
|
7
7
|
export * from "./AvatarGroup.js";
|
|
8
|
-
export * from "./BoardRow.js";
|
|
9
|
-
export * from "./Board.js";
|
|
10
8
|
export * from "./Button.js";
|
|
11
|
-
export * from "./Chart.js";
|
|
12
|
-
export * from "./ChartSeries.js";
|
|
13
9
|
export * from "./Checkbox.js";
|
|
14
10
|
export * from "./CheckboxGroup.js";
|
|
15
11
|
export * from "./ComboBoxLight.js";
|
|
16
12
|
export * from "./ComboBox.js";
|
|
17
13
|
export * from "./ConfirmDialog.js";
|
|
18
14
|
export * from "./ContextMenu.js";
|
|
19
|
-
export * from "./CookieConsent.js";
|
|
20
|
-
export * from "./CrudEdit.js";
|
|
21
|
-
export * from "./CrudEditColumn.js";
|
|
22
|
-
export * from "./Crud.js";
|
|
23
15
|
export * from "./CustomField.js";
|
|
24
16
|
export * from "./DatePickerLight.js";
|
|
25
17
|
export * from "./DatePicker.js";
|
|
@@ -40,8 +32,6 @@ export * from "./GridSortColumn.js";
|
|
|
40
32
|
export * from "./GridTreeToggle.js";
|
|
41
33
|
export * from "./GridTreeColumn.js";
|
|
42
34
|
export * from "./Grid.js";
|
|
43
|
-
export * from "./GridProEditColumn.js";
|
|
44
|
-
export * from "./GridPro.js";
|
|
45
35
|
export * from "./HorizontalLayout.js";
|
|
46
36
|
export * from "./Iconset.js";
|
|
47
37
|
export * from "./Icon.js";
|
|
@@ -50,7 +40,6 @@ export * from "./Item.js";
|
|
|
50
40
|
export * from "./ListBox.js";
|
|
51
41
|
export * from "./LoginForm.js";
|
|
52
42
|
export * from "./LoginOverlay.js";
|
|
53
|
-
export * from "./Map.js";
|
|
54
43
|
export * from "./MenuBar.js";
|
|
55
44
|
export * from "./MessageInput.js";
|
|
56
45
|
export * from "./Message.js";
|
|
@@ -62,7 +51,6 @@ export * from "./PasswordField.js";
|
|
|
62
51
|
export * from "./ProgressBar.js";
|
|
63
52
|
export * from "./RadioButton.js";
|
|
64
53
|
export * from "./RadioGroup.js";
|
|
65
|
-
export * from "./RichTextEditor.js";
|
|
66
54
|
export * from "./Scroller.js";
|
|
67
55
|
export * from "./Select.js";
|
|
68
56
|
export * from "./SideNavItem.js";
|
package/index.js
CHANGED
|
@@ -5,21 +5,13 @@ export * from "./AppLayout.js";
|
|
|
5
5
|
export * from "./DrawerToggle.js";
|
|
6
6
|
export * from "./Avatar.js";
|
|
7
7
|
export * from "./AvatarGroup.js";
|
|
8
|
-
export * from "./BoardRow.js";
|
|
9
|
-
export * from "./Board.js";
|
|
10
8
|
export * from "./Button.js";
|
|
11
|
-
export * from "./Chart.js";
|
|
12
|
-
export * from "./ChartSeries.js";
|
|
13
9
|
export * from "./Checkbox.js";
|
|
14
10
|
export * from "./CheckboxGroup.js";
|
|
15
11
|
export * from "./ComboBoxLight.js";
|
|
16
12
|
export * from "./ComboBox.js";
|
|
17
13
|
export * from "./ConfirmDialog.js";
|
|
18
14
|
export * from "./ContextMenu.js";
|
|
19
|
-
export * from "./CookieConsent.js";
|
|
20
|
-
export * from "./CrudEdit.js";
|
|
21
|
-
export * from "./CrudEditColumn.js";
|
|
22
|
-
export * from "./Crud.js";
|
|
23
15
|
export * from "./CustomField.js";
|
|
24
16
|
export * from "./DatePickerLight.js";
|
|
25
17
|
export * from "./DatePicker.js";
|
|
@@ -40,8 +32,6 @@ export * from "./GridSortColumn.js";
|
|
|
40
32
|
export * from "./GridTreeToggle.js";
|
|
41
33
|
export * from "./GridTreeColumn.js";
|
|
42
34
|
export * from "./Grid.js";
|
|
43
|
-
export * from "./GridProEditColumn.js";
|
|
44
|
-
export * from "./GridPro.js";
|
|
45
35
|
export * from "./HorizontalLayout.js";
|
|
46
36
|
export * from "./Iconset.js";
|
|
47
37
|
export * from "./Icon.js";
|
|
@@ -50,7 +40,6 @@ export * from "./Item.js";
|
|
|
50
40
|
export * from "./ListBox.js";
|
|
51
41
|
export * from "./LoginForm.js";
|
|
52
42
|
export * from "./LoginOverlay.js";
|
|
53
|
-
export * from "./Map.js";
|
|
54
43
|
export * from "./MenuBar.js";
|
|
55
44
|
export * from "./MessageInput.js";
|
|
56
45
|
export * from "./Message.js";
|
|
@@ -62,7 +51,6 @@ export * from "./PasswordField.js";
|
|
|
62
51
|
export * from "./ProgressBar.js";
|
|
63
52
|
export * from "./RadioButton.js";
|
|
64
53
|
export * from "./RadioGroup.js";
|
|
65
|
-
export * from "./RichTextEditor.js";
|
|
66
54
|
export * from "./Scroller.js";
|
|
67
55
|
export * from "./Select.js";
|
|
68
56
|
export * from "./SideNavItem.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/react-components",
|
|
3
|
-
"version": "24.4.0-
|
|
3
|
+
"version": "24.4.0-beta2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -27,73 +27,66 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@lit/react": "^1.0.0",
|
|
30
|
-
"@vaadin/a11y-base": "24.4.0-
|
|
31
|
-
"@vaadin/accordion": "24.4.0-
|
|
32
|
-
"@vaadin/app-layout": "24.4.0-
|
|
33
|
-
"@vaadin/avatar": "24.4.0-
|
|
34
|
-
"@vaadin/avatar-group": "24.4.0-
|
|
35
|
-
"@vaadin/button": "24.4.0-
|
|
36
|
-
"@vaadin/
|
|
37
|
-
"@vaadin/
|
|
38
|
-
"@vaadin/
|
|
39
|
-
"@vaadin/
|
|
40
|
-
"@vaadin/
|
|
41
|
-
"@vaadin/
|
|
42
|
-
"@vaadin/
|
|
43
|
-
"@vaadin/
|
|
44
|
-
"@vaadin/
|
|
45
|
-
"@vaadin/
|
|
46
|
-
"@vaadin/
|
|
47
|
-
"@vaadin/
|
|
48
|
-
"@vaadin/
|
|
49
|
-
"@vaadin/
|
|
50
|
-
"@vaadin/
|
|
51
|
-
"@vaadin/
|
|
52
|
-
"@vaadin/
|
|
53
|
-
"@vaadin/
|
|
54
|
-
"@vaadin/
|
|
55
|
-
"@vaadin/
|
|
56
|
-
"@vaadin/
|
|
57
|
-
"@vaadin/
|
|
58
|
-
"@vaadin/
|
|
59
|
-
"@vaadin/
|
|
60
|
-
"@vaadin/
|
|
61
|
-
"@vaadin/
|
|
62
|
-
"@vaadin/
|
|
63
|
-
"@vaadin/list
|
|
64
|
-
"@vaadin/
|
|
65
|
-
"@vaadin/
|
|
66
|
-
"@vaadin/
|
|
67
|
-
"@vaadin/
|
|
68
|
-
"@vaadin/
|
|
69
|
-
"@vaadin/
|
|
70
|
-
"@vaadin/
|
|
71
|
-
"@vaadin/
|
|
72
|
-
"@vaadin/
|
|
73
|
-
"@vaadin/
|
|
74
|
-
"@vaadin/
|
|
75
|
-
"@vaadin/
|
|
76
|
-
"@vaadin/
|
|
77
|
-
"@vaadin/
|
|
78
|
-
"@vaadin/
|
|
79
|
-
"@vaadin/
|
|
80
|
-
"@vaadin/
|
|
81
|
-
"@vaadin/
|
|
82
|
-
"@vaadin/
|
|
83
|
-
"@vaadin/
|
|
84
|
-
"@vaadin/
|
|
85
|
-
"@vaadin/
|
|
86
|
-
"@vaadin/
|
|
87
|
-
"@vaadin/tooltip": "24.4.0-beta1",
|
|
88
|
-
"@vaadin/upload": "24.4.0-beta1",
|
|
89
|
-
"@vaadin/vaadin-lumo-styles": "24.4.0-beta1",
|
|
90
|
-
"@vaadin/vaadin-material-styles": "24.4.0-beta1",
|
|
91
|
-
"@vaadin/vaadin-themable-mixin": "24.4.0-beta1",
|
|
92
|
-
"@vaadin/vertical-layout": "24.4.0-beta1",
|
|
93
|
-
"@vaadin/virtual-list": "24.4.0-beta1"
|
|
30
|
+
"@vaadin/a11y-base": "24.4.0-beta2",
|
|
31
|
+
"@vaadin/accordion": "24.4.0-beta2",
|
|
32
|
+
"@vaadin/app-layout": "24.4.0-beta2",
|
|
33
|
+
"@vaadin/avatar": "24.4.0-beta2",
|
|
34
|
+
"@vaadin/avatar-group": "24.4.0-beta2",
|
|
35
|
+
"@vaadin/button": "24.4.0-beta2",
|
|
36
|
+
"@vaadin/checkbox": "24.4.0-beta2",
|
|
37
|
+
"@vaadin/checkbox-group": "24.4.0-beta2",
|
|
38
|
+
"@vaadin/combo-box": "24.4.0-beta2",
|
|
39
|
+
"@vaadin/component-base": "24.4.0-beta2",
|
|
40
|
+
"@vaadin/confirm-dialog": "24.4.0-beta2",
|
|
41
|
+
"@vaadin/context-menu": "24.4.0-beta2",
|
|
42
|
+
"@vaadin/custom-field": "24.4.0-beta2",
|
|
43
|
+
"@vaadin/date-picker": "24.4.0-beta2",
|
|
44
|
+
"@vaadin/date-time-picker": "24.4.0-beta2",
|
|
45
|
+
"@vaadin/details": "24.4.0-beta2",
|
|
46
|
+
"@vaadin/dialog": "24.4.0-beta2",
|
|
47
|
+
"@vaadin/email-field": "24.4.0-beta2",
|
|
48
|
+
"@vaadin/field-base": "24.4.0-beta2",
|
|
49
|
+
"@vaadin/field-highlighter": "24.4.0-beta2",
|
|
50
|
+
"@vaadin/form-layout": "24.4.0-beta2",
|
|
51
|
+
"@vaadin/grid": "24.4.0-beta2",
|
|
52
|
+
"@vaadin/horizontal-layout": "24.4.0-beta2",
|
|
53
|
+
"@vaadin/icon": "24.4.0-beta2",
|
|
54
|
+
"@vaadin/icons": "24.4.0-beta2",
|
|
55
|
+
"@vaadin/input-container": "24.4.0-beta2",
|
|
56
|
+
"@vaadin/integer-field": "24.4.0-beta2",
|
|
57
|
+
"@vaadin/item": "24.4.0-beta2",
|
|
58
|
+
"@vaadin/list-box": "24.4.0-beta2",
|
|
59
|
+
"@vaadin/lit-renderer": "24.4.0-beta2",
|
|
60
|
+
"@vaadin/login": "24.4.0-beta2",
|
|
61
|
+
"@vaadin/menu-bar": "24.4.0-beta2",
|
|
62
|
+
"@vaadin/message-input": "24.4.0-beta2",
|
|
63
|
+
"@vaadin/message-list": "24.4.0-beta2",
|
|
64
|
+
"@vaadin/multi-select-combo-box": "24.4.0-beta2",
|
|
65
|
+
"@vaadin/notification": "24.4.0-beta2",
|
|
66
|
+
"@vaadin/number-field": "24.4.0-beta2",
|
|
67
|
+
"@vaadin/overlay": "24.4.0-beta2",
|
|
68
|
+
"@vaadin/password-field": "24.4.0-beta2",
|
|
69
|
+
"@vaadin/progress-bar": "24.4.0-beta2",
|
|
70
|
+
"@vaadin/radio-group": "24.4.0-beta2",
|
|
71
|
+
"@vaadin/scroller": "24.4.0-beta2",
|
|
72
|
+
"@vaadin/select": "24.4.0-beta2",
|
|
73
|
+
"@vaadin/side-nav": "24.4.0-beta2",
|
|
74
|
+
"@vaadin/split-layout": "24.4.0-beta2",
|
|
75
|
+
"@vaadin/tabs": "24.4.0-beta2",
|
|
76
|
+
"@vaadin/tabsheet": "24.4.0-beta2",
|
|
77
|
+
"@vaadin/text-area": "24.4.0-beta2",
|
|
78
|
+
"@vaadin/text-field": "24.4.0-beta2",
|
|
79
|
+
"@vaadin/time-picker": "24.4.0-beta2",
|
|
80
|
+
"@vaadin/tooltip": "24.4.0-beta2",
|
|
81
|
+
"@vaadin/upload": "24.4.0-beta2",
|
|
82
|
+
"@vaadin/vaadin-lumo-styles": "24.4.0-beta2",
|
|
83
|
+
"@vaadin/vaadin-material-styles": "24.4.0-beta2",
|
|
84
|
+
"@vaadin/vaadin-themable-mixin": "24.4.0-beta2",
|
|
85
|
+
"@vaadin/vertical-layout": "24.4.0-beta2",
|
|
86
|
+
"@vaadin/virtual-list": "24.4.0-beta2"
|
|
94
87
|
},
|
|
95
88
|
"author": "Vaadin Ltd.",
|
|
96
|
-
"license": "
|
|
89
|
+
"license": "Apache-2.0",
|
|
97
90
|
"peerDependencies": {
|
|
98
91
|
"@types/react": "^18.2.37",
|
|
99
92
|
"@types/react-dom": "^18.2.15",
|
|
@@ -149,26 +142,10 @@
|
|
|
149
142
|
"types": "./AvatarGroup.d.ts",
|
|
150
143
|
"default": "./AvatarGroup.js"
|
|
151
144
|
},
|
|
152
|
-
"./Board.js": {
|
|
153
|
-
"types": "./Board.d.ts",
|
|
154
|
-
"default": "./Board.js"
|
|
155
|
-
},
|
|
156
|
-
"./BoardRow.js": {
|
|
157
|
-
"types": "./BoardRow.d.ts",
|
|
158
|
-
"default": "./BoardRow.js"
|
|
159
|
-
},
|
|
160
145
|
"./Button.js": {
|
|
161
146
|
"types": "./Button.d.ts",
|
|
162
147
|
"default": "./Button.js"
|
|
163
148
|
},
|
|
164
|
-
"./Chart.js": {
|
|
165
|
-
"types": "./Chart.d.ts",
|
|
166
|
-
"default": "./Chart.js"
|
|
167
|
-
},
|
|
168
|
-
"./ChartSeries.js": {
|
|
169
|
-
"types": "./ChartSeries.d.ts",
|
|
170
|
-
"default": "./ChartSeries.js"
|
|
171
|
-
},
|
|
172
149
|
"./Checkbox.js": {
|
|
173
150
|
"types": "./Checkbox.d.ts",
|
|
174
151
|
"default": "./Checkbox.js"
|
|
@@ -193,22 +170,6 @@
|
|
|
193
170
|
"types": "./ContextMenu.d.ts",
|
|
194
171
|
"default": "./ContextMenu.js"
|
|
195
172
|
},
|
|
196
|
-
"./CookieConsent.js": {
|
|
197
|
-
"types": "./CookieConsent.d.ts",
|
|
198
|
-
"default": "./CookieConsent.js"
|
|
199
|
-
},
|
|
200
|
-
"./Crud.js": {
|
|
201
|
-
"types": "./Crud.d.ts",
|
|
202
|
-
"default": "./Crud.js"
|
|
203
|
-
},
|
|
204
|
-
"./CrudEdit.js": {
|
|
205
|
-
"types": "./CrudEdit.d.ts",
|
|
206
|
-
"default": "./CrudEdit.js"
|
|
207
|
-
},
|
|
208
|
-
"./CrudEditColumn.js": {
|
|
209
|
-
"types": "./CrudEditColumn.d.ts",
|
|
210
|
-
"default": "./CrudEditColumn.js"
|
|
211
|
-
},
|
|
212
173
|
"./CustomField.js": {
|
|
213
174
|
"types": "./CustomField.d.ts",
|
|
214
175
|
"default": "./CustomField.js"
|
|
@@ -273,14 +234,6 @@
|
|
|
273
234
|
"types": "./GridFilterColumn.d.ts",
|
|
274
235
|
"default": "./GridFilterColumn.js"
|
|
275
236
|
},
|
|
276
|
-
"./GridPro.js": {
|
|
277
|
-
"types": "./GridPro.d.ts",
|
|
278
|
-
"default": "./GridPro.js"
|
|
279
|
-
},
|
|
280
|
-
"./GridProEditColumn.js": {
|
|
281
|
-
"types": "./GridProEditColumn.d.ts",
|
|
282
|
-
"default": "./GridProEditColumn.js"
|
|
283
|
-
},
|
|
284
237
|
"./GridSelectionColumn.js": {
|
|
285
238
|
"types": "./GridSelectionColumn.d.ts",
|
|
286
239
|
"default": "./GridSelectionColumn.js"
|
|
@@ -333,10 +286,6 @@
|
|
|
333
286
|
"types": "./LoginOverlay.d.ts",
|
|
334
287
|
"default": "./LoginOverlay.js"
|
|
335
288
|
},
|
|
336
|
-
"./Map.js": {
|
|
337
|
-
"types": "./Map.d.ts",
|
|
338
|
-
"default": "./Map.js"
|
|
339
|
-
},
|
|
340
289
|
"./MenuBar.js": {
|
|
341
290
|
"types": "./MenuBar.d.ts",
|
|
342
291
|
"default": "./MenuBar.js"
|
|
@@ -381,10 +330,6 @@
|
|
|
381
330
|
"types": "./RadioGroup.d.ts",
|
|
382
331
|
"default": "./RadioGroup.js"
|
|
383
332
|
},
|
|
384
|
-
"./RichTextEditor.js": {
|
|
385
|
-
"types": "./RichTextEditor.d.ts",
|
|
386
|
-
"default": "./RichTextEditor.js"
|
|
387
|
-
},
|
|
388
333
|
"./Scroller.js": {
|
|
389
334
|
"types": "./Scroller.d.ts",
|
|
390
335
|
"default": "./Scroller.js"
|
|
@@ -451,21 +396,13 @@
|
|
|
451
396
|
"./AppLayout": "./AppLayout.js",
|
|
452
397
|
"./Avatar": "./Avatar.js",
|
|
453
398
|
"./AvatarGroup": "./AvatarGroup.js",
|
|
454
|
-
"./Board": "./Board.js",
|
|
455
|
-
"./BoardRow": "./BoardRow.js",
|
|
456
399
|
"./Button": "./Button.js",
|
|
457
|
-
"./Chart": "./Chart.js",
|
|
458
|
-
"./ChartSeries": "./ChartSeries.js",
|
|
459
400
|
"./Checkbox": "./Checkbox.js",
|
|
460
401
|
"./CheckboxGroup": "./CheckboxGroup.js",
|
|
461
402
|
"./ComboBox": "./ComboBox.js",
|
|
462
403
|
"./ComboBoxLight": "./ComboBoxLight.js",
|
|
463
404
|
"./ConfirmDialog": "./ConfirmDialog.js",
|
|
464
405
|
"./ContextMenu": "./ContextMenu.js",
|
|
465
|
-
"./CookieConsent": "./CookieConsent.js",
|
|
466
|
-
"./Crud": "./Crud.js",
|
|
467
|
-
"./CrudEdit": "./CrudEdit.js",
|
|
468
|
-
"./CrudEditColumn": "./CrudEditColumn.js",
|
|
469
406
|
"./CustomField": "./CustomField.js",
|
|
470
407
|
"./DatePicker": "./DatePicker.js",
|
|
471
408
|
"./DatePickerLight": "./DatePickerLight.js",
|
|
@@ -482,8 +419,6 @@
|
|
|
482
419
|
"./GridColumnGroup": "./GridColumnGroup.js",
|
|
483
420
|
"./GridFilter": "./GridFilter.js",
|
|
484
421
|
"./GridFilterColumn": "./GridFilterColumn.js",
|
|
485
|
-
"./GridPro": "./GridPro.js",
|
|
486
|
-
"./GridProEditColumn": "./GridProEditColumn.js",
|
|
487
422
|
"./GridSelectionColumn": "./GridSelectionColumn.js",
|
|
488
423
|
"./GridSortColumn": "./GridSortColumn.js",
|
|
489
424
|
"./GridSorter": "./GridSorter.js",
|
|
@@ -497,7 +432,6 @@
|
|
|
497
432
|
"./ListBox": "./ListBox.js",
|
|
498
433
|
"./LoginForm": "./LoginForm.js",
|
|
499
434
|
"./LoginOverlay": "./LoginOverlay.js",
|
|
500
|
-
"./Map": "./Map.js",
|
|
501
435
|
"./MenuBar": "./MenuBar.js",
|
|
502
436
|
"./Message": "./Message.js",
|
|
503
437
|
"./MessageInput": "./MessageInput.js",
|
|
@@ -509,7 +443,6 @@
|
|
|
509
443
|
"./ProgressBar": "./ProgressBar.js",
|
|
510
444
|
"./RadioButton": "./RadioButton.js",
|
|
511
445
|
"./RadioGroup": "./RadioGroup.js",
|
|
512
|
-
"./RichTextEditor": "./RichTextEditor.js",
|
|
513
446
|
"./Scroller": "./Scroller.js",
|
|
514
447
|
"./Select": "./Select.js",
|
|
515
448
|
"./SideNav": "./SideNav.js",
|
package/utils/createComponent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createComponent as n}from"@lit/react";window.Vaadin??={},window.Vaadin.registrations??=[],window.Vaadin.registrations.push({is:"@vaadin/react-components",version:"24.4.0-
|
|
1
|
+
import{createComponent as n}from"@lit/react";window.Vaadin??={},window.Vaadin.registrations??=[],window.Vaadin.registrations.push({is:"@vaadin/react-components",version:"24.4.0-beta2"});function s(e){const{elementClass:t}=e;return n("_properties"in t?{...e,elementClass:{name:t.name,prototype:{...t._properties,hidden:Boolean}}}:e)}export{s as createComponent};
|
|
2
2
|
//# sourceMappingURL=createComponent.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/utils/createComponent.ts"],
|
|
4
|
-
"sourcesContent": ["import { createComponent as _createComponent, type EventName } from '@lit/react';\nimport type { ThemePropertyMixinClass } from '@vaadin/vaadin-themable-mixin/vaadin-theme-property-mixin.js';\nimport type React from 'react';\nimport type { RefAttributes } from 'react';\n\ndeclare const __VERSION__: string;\n\ndeclare global {\n interface VaadinRegistration {\n is: string;\n version: string;\n }\n\n interface Vaadin {\n registrations?: VaadinRegistration[];\n }\n\n interface Window {\n // @ts-expect-error: Different declaration from one of the dependencies.\n Vaadin?: Vaadin;\n }\n}\n\nwindow.Vaadin ??= {};\nwindow.Vaadin.registrations ??= [];\nwindow.Vaadin.registrations.push({\n is: '@vaadin/react-components',\n version: /* updated-by-script */ '24.4.0-
|
|
4
|
+
"sourcesContent": ["import { createComponent as _createComponent, type EventName } from '@lit/react';\nimport type { ThemePropertyMixinClass } from '@vaadin/vaadin-themable-mixin/vaadin-theme-property-mixin.js';\nimport type React from 'react';\nimport type { RefAttributes } from 'react';\n\ndeclare const __VERSION__: string;\n\ndeclare global {\n interface VaadinRegistration {\n is: string;\n version: string;\n }\n\n interface Vaadin {\n registrations?: VaadinRegistration[];\n }\n\n interface Window {\n // @ts-expect-error: Different declaration from one of the dependencies.\n Vaadin?: Vaadin;\n }\n}\n\nwindow.Vaadin ??= {};\nwindow.Vaadin.registrations ??= [];\nwindow.Vaadin.registrations.push({\n is: '@vaadin/react-components',\n version: /* updated-by-script */ '24.4.0-beta2',\n});\n\n// TODO: Remove when types from @lit-labs/react are exported\nexport type EventNames = Record<string, EventName | string>;\ntype Constructor<T> = { new (): T; name: string };\ntype PolymerConstructor<T> = Constructor<T> & { _properties: Record<string, unknown> };\ntype Options<I extends HTMLElement, E extends EventNames = {}> = Readonly<{\n displayName?: string;\n elementClass: Constructor<I> | PolymerConstructor<I>;\n events?: E;\n react: typeof window.React;\n tagName: string;\n}>;\n\n// A map of expected event listener types based on EventNames.\ntype EventListeners<R extends EventNames> = {\n [K in keyof R]?: R[K] extends EventName ? (e: R[K]['__eventType']) => void : (e: Event) => void;\n};\n\n// Props derived from custom element class. Currently has limitations of making\n// all properties optional and also surfaces life cycle methods in autocomplete.\n// TODO: LoginOverlay has \"autofocus\" property, so we add it back manually.\ntype ElementProps<I> = Partial<Omit<I, keyof HTMLElement>> & { autofocus?: boolean };\n\n// Acceptable props to the React component.\ntype ComponentProps<I, E extends EventNames = {}> = Omit<\n React.HTMLAttributes<I>,\n // Prefer type of provided event handler props or those on element over\n // built-in HTMLAttributes\n keyof E | keyof ElementProps<I>\n> &\n EventListeners<E> &\n ElementProps<I>;\n\nexport type ThemedWebComponentProps<\n I extends ThemePropertyMixinClass & HTMLElement,\n E extends EventNames = {},\n> = ComponentProps<I, E> & {\n /**\n * Attribute that can be used by the component to apply built-in style variants,\n * or to propagate its value to the sub-components in Shadow DOM.\n *\n * @see ThemePropertyMixinClass#_theme\n */\n theme?: string;\n};\n\ntype AllWebComponentProps<I extends HTMLElement, E extends EventNames = {}> = I extends ThemePropertyMixinClass\n ? ThemedWebComponentProps<I, E>\n : ComponentProps<I, E>;\n\nexport type WebComponentProps<I extends HTMLElement, E extends EventNames = {}> = Partial<AllWebComponentProps<I, E>>;\n\n// We need a separate declaration here; otherwise, the TypeScript fails into the\n// endless loop trying to resolve the typings.\nexport function createComponent<I extends HTMLElement, E extends EventNames = {}>(\n options: Options<I, E>,\n): (props: WebComponentProps<I, E> & RefAttributes<I>) => React.ReactElement | null;\n\nexport function createComponent<I extends HTMLElement, E extends EventNames = {}>(options: Options<I, E>): any {\n const { elementClass } = options;\n\n return _createComponent(\n '_properties' in elementClass\n ? {\n ...options,\n // TODO: improve or remove the Polymer workaround\n // 'createComponent' relies on key presence on the custom element class,\n // but Polymer defines properties on the prototype when the first element\n // is created. Workaround: pass a mock object with properties in\n // the prototype.\n elementClass: {\n // @ts-expect-error: it is a specific workaround for Polymer classes.\n name: elementClass.name,\n prototype: { ...elementClass._properties, hidden: Boolean },\n },\n }\n : options,\n );\n}\n"],
|
|
5
5
|
"mappings": "AAAA,OAAS,mBAAmBA,MAAwC,aAuBpE,OAAO,SAAW,CAAC,EACnB,OAAO,OAAO,gBAAkB,CAAC,EACjC,OAAO,OAAO,cAAc,KAAK,CAC/B,GAAI,2BACJ,QAAiC,cACnC,CAAC,EA2DM,SAASC,EAAkEC,EAA6B,CAC7G,KAAM,CAAE,aAAAC,CAAa,EAAID,EAEzB,OAAOF,EACL,gBAAiBG,EACb,CACE,GAAGD,EAMH,aAAc,CAEZ,KAAMC,EAAa,KACnB,UAAW,CAAE,GAAGA,EAAa,YAAa,OAAQ,OAAQ,CAC5D,CACF,EACAD,CACN,CACF",
|
|
6
6
|
"names": ["_createComponent", "createComponent", "options", "elementClass"]
|
|
7
7
|
}
|
package/Board.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2000 - 2024 Vaadin Ltd.
|
|
4
|
-
*
|
|
5
|
-
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
-
* license.
|
|
10
|
-
*/
|
|
11
|
-
export * from './generated/Board.js';
|
|
12
|
-
//# sourceMappingURL=Board.d.ts.map
|
package/Board.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Board.d.ts","sourceRoot":"","sources":["src/Board.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,sBAAsB,CAAC"}
|