@public-ui/react 3.0.0-rc.0 → 3.0.0-rc.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/README.md +8 -0
- package/dist/index.cjs +0 -10
- package/dist/index.d.ts +1 -6
- package/dist/index.mjs +1 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# KoliBri - React-Adapter
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@public-ui/components)
|
|
4
|
+
[](https://github.com/public-ui/kolibri/blob/main/LICENSE)
|
|
5
|
+
[](https://www.npmjs.com/package/@public-ui/react)
|
|
6
|
+
[](https://github.com/public-ui/kolibri/issues)
|
|
7
|
+
[](https://github.com/public-ui/kolibri/pulls)
|
|
8
|
+
[](https://bundlephobia.com/result?p=@public-ui/react)
|
|
9
|
+

|
|
10
|
+
|
|
3
11
|
## Motivation
|
|
4
12
|
|
|
5
13
|
Provide an adapter for [React](https://reactjs.org) to use the KoliBri components.
|
package/dist/index.cjs
CHANGED
|
@@ -189,7 +189,6 @@ const KolAvatar = /* @__PURE__ */ createReactComponent("kol-avatar");
|
|
|
189
189
|
const KolBadge = /* @__PURE__ */ createReactComponent("kol-badge");
|
|
190
190
|
const KolBreadcrumb = /* @__PURE__ */ createReactComponent("kol-breadcrumb");
|
|
191
191
|
const KolButton = /* @__PURE__ */ createReactComponent("kol-button");
|
|
192
|
-
const KolButtonGroup = /* @__PURE__ */ createReactComponent("kol-button-group");
|
|
193
192
|
const KolButtonLink = /* @__PURE__ */ createReactComponent("kol-button-link");
|
|
194
193
|
const KolCard = /* @__PURE__ */ createReactComponent("kol-card");
|
|
195
194
|
const KolCombobox = /* @__PURE__ */ createReactComponent("kol-combobox");
|
|
@@ -199,7 +198,6 @@ const KolForm = /* @__PURE__ */ createReactComponent("kol-form");
|
|
|
199
198
|
const KolHeading = /* @__PURE__ */ createReactComponent("kol-heading");
|
|
200
199
|
const KolIcon = /* @__PURE__ */ createReactComponent("kol-icon");
|
|
201
200
|
const KolImage = /* @__PURE__ */ createReactComponent("kol-image");
|
|
202
|
-
const KolIndentedText = /* @__PURE__ */ createReactComponent("kol-indented-text");
|
|
203
201
|
const KolInputCheckbox = /* @__PURE__ */ createReactComponent("kol-input-checkbox");
|
|
204
202
|
const KolInputColor = /* @__PURE__ */ createReactComponent("kol-input-color");
|
|
205
203
|
const KolInputDate = /* @__PURE__ */ createReactComponent("kol-input-date");
|
|
@@ -213,8 +211,6 @@ const KolInputText = /* @__PURE__ */ createReactComponent("kol-input-text");
|
|
|
213
211
|
const KolKolibri = /* @__PURE__ */ createReactComponent("kol-kolibri");
|
|
214
212
|
const KolLink = /* @__PURE__ */ createReactComponent("kol-link");
|
|
215
213
|
const KolLinkButton = /* @__PURE__ */ createReactComponent("kol-link-button");
|
|
216
|
-
const KolLinkGroup = /* @__PURE__ */ createReactComponent("kol-link-group");
|
|
217
|
-
const KolLogo = /* @__PURE__ */ createReactComponent("kol-logo");
|
|
218
214
|
const KolModal = /* @__PURE__ */ createReactComponent("kol-modal");
|
|
219
215
|
const KolNav = /* @__PURE__ */ createReactComponent("kol-nav");
|
|
220
216
|
const KolPagination = /* @__PURE__ */ createReactComponent("kol-pagination");
|
|
@@ -226,7 +222,6 @@ const KolSkipNav = /* @__PURE__ */ createReactComponent("kol-skip-nav");
|
|
|
226
222
|
const KolSpin = /* @__PURE__ */ createReactComponent("kol-spin");
|
|
227
223
|
const KolSplitButton = /* @__PURE__ */ createReactComponent("kol-split-button");
|
|
228
224
|
const KolSymbol = /* @__PURE__ */ createReactComponent("kol-symbol");
|
|
229
|
-
const KolTable = /* @__PURE__ */ createReactComponent("kol-table");
|
|
230
225
|
const KolTableStateful = /* @__PURE__ */ createReactComponent("kol-table-stateful");
|
|
231
226
|
const KolTableStateless = /* @__PURE__ */ createReactComponent("kol-table-stateless");
|
|
232
227
|
const KolTabs = /* @__PURE__ */ createReactComponent("kol-tabs");
|
|
@@ -253,7 +248,6 @@ exports.KolAvatar = KolAvatar;
|
|
|
253
248
|
exports.KolBadge = KolBadge;
|
|
254
249
|
exports.KolBreadcrumb = KolBreadcrumb;
|
|
255
250
|
exports.KolButton = KolButton;
|
|
256
|
-
exports.KolButtonGroup = KolButtonGroup;
|
|
257
251
|
exports.KolButtonLink = KolButtonLink;
|
|
258
252
|
exports.KolCard = KolCard;
|
|
259
253
|
exports.KolCombobox = KolCombobox;
|
|
@@ -263,7 +257,6 @@ exports.KolForm = KolForm;
|
|
|
263
257
|
exports.KolHeading = KolHeading;
|
|
264
258
|
exports.KolIcon = KolIcon;
|
|
265
259
|
exports.KolImage = KolImage;
|
|
266
|
-
exports.KolIndentedText = KolIndentedText;
|
|
267
260
|
exports.KolInputCheckbox = KolInputCheckbox;
|
|
268
261
|
exports.KolInputColor = KolInputColor;
|
|
269
262
|
exports.KolInputDate = KolInputDate;
|
|
@@ -277,8 +270,6 @@ exports.KolInputText = KolInputText;
|
|
|
277
270
|
exports.KolKolibri = KolKolibri;
|
|
278
271
|
exports.KolLink = KolLink;
|
|
279
272
|
exports.KolLinkButton = KolLinkButton;
|
|
280
|
-
exports.KolLinkGroup = KolLinkGroup;
|
|
281
|
-
exports.KolLogo = KolLogo;
|
|
282
273
|
exports.KolModal = KolModal;
|
|
283
274
|
exports.KolNav = KolNav;
|
|
284
275
|
exports.KolPagination = KolPagination;
|
|
@@ -290,7 +281,6 @@ exports.KolSkipNav = KolSkipNav;
|
|
|
290
281
|
exports.KolSpin = KolSpin;
|
|
291
282
|
exports.KolSplitButton = KolSplitButton;
|
|
292
283
|
exports.KolSymbol = KolSymbol;
|
|
293
|
-
exports.KolTable = KolTable;
|
|
294
284
|
exports.KolTableStateful = KolTableStateful;
|
|
295
285
|
exports.KolTableStateless = KolTableStateless;
|
|
296
286
|
exports.KolTabs = KolTabs;
|
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ declare const KolAvatar: react.ForwardRefExoticComponent<JSX.KolAvatar & Omit<re
|
|
|
19
19
|
declare const KolBadge: react.ForwardRefExoticComponent<JSX.KolBadge & Omit<react.HTMLAttributes<HTMLKolBadgeElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolBadgeElement>>;
|
|
20
20
|
declare const KolBreadcrumb: react.ForwardRefExoticComponent<JSX.KolBreadcrumb & Omit<react.HTMLAttributes<HTMLKolBreadcrumbElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolBreadcrumbElement>>;
|
|
21
21
|
declare const KolButton: react.ForwardRefExoticComponent<JSX.KolButton & Omit<react.HTMLAttributes<HTMLKolButtonElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolButtonElement>>;
|
|
22
|
-
declare const KolButtonGroup: react.ForwardRefExoticComponent<JSX.KolButtonGroup & Omit<react.HTMLAttributes<HTMLKolButtonGroupElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolButtonGroupElement>>;
|
|
23
22
|
declare const KolButtonLink: react.ForwardRefExoticComponent<JSX.KolButtonLink & Omit<react.HTMLAttributes<HTMLKolButtonLinkElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolButtonLinkElement>>;
|
|
24
23
|
declare const KolCard: react.ForwardRefExoticComponent<JSX.KolCard & Omit<react.HTMLAttributes<HTMLKolCardElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolCardElement>>;
|
|
25
24
|
declare const KolCombobox: react.ForwardRefExoticComponent<JSX.KolCombobox & Omit<react.HTMLAttributes<HTMLKolComboboxElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolComboboxElement>>;
|
|
@@ -29,7 +28,6 @@ declare const KolForm: react.ForwardRefExoticComponent<JSX.KolForm & Omit<react.
|
|
|
29
28
|
declare const KolHeading: react.ForwardRefExoticComponent<JSX.KolHeading & Omit<react.HTMLAttributes<HTMLKolHeadingElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolHeadingElement>>;
|
|
30
29
|
declare const KolIcon: react.ForwardRefExoticComponent<JSX.KolIcon & Omit<react.HTMLAttributes<HTMLKolIconElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolIconElement>>;
|
|
31
30
|
declare const KolImage: react.ForwardRefExoticComponent<JSX.KolImage & Omit<react.HTMLAttributes<HTMLKolImageElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolImageElement>>;
|
|
32
|
-
declare const KolIndentedText: react.ForwardRefExoticComponent<JSX.KolIndentedText & Omit<react.HTMLAttributes<HTMLKolIndentedTextElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolIndentedTextElement>>;
|
|
33
31
|
declare const KolInputCheckbox: react.ForwardRefExoticComponent<JSX.KolInputCheckbox & Omit<react.HTMLAttributes<HTMLKolInputCheckboxElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolInputCheckboxElement>>;
|
|
34
32
|
declare const KolInputColor: react.ForwardRefExoticComponent<JSX.KolInputColor & Omit<react.HTMLAttributes<HTMLKolInputColorElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolInputColorElement>>;
|
|
35
33
|
declare const KolInputDate: react.ForwardRefExoticComponent<JSX.KolInputDate & Omit<react.HTMLAttributes<HTMLKolInputDateElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolInputDateElement>>;
|
|
@@ -43,8 +41,6 @@ declare const KolInputText: react.ForwardRefExoticComponent<JSX.KolInputText & O
|
|
|
43
41
|
declare const KolKolibri: react.ForwardRefExoticComponent<JSX.KolKolibri & Omit<react.HTMLAttributes<HTMLKolKolibriElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolKolibriElement>>;
|
|
44
42
|
declare const KolLink: react.ForwardRefExoticComponent<JSX.KolLink & Omit<react.HTMLAttributes<HTMLKolLinkElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolLinkElement>>;
|
|
45
43
|
declare const KolLinkButton: react.ForwardRefExoticComponent<JSX.KolLinkButton & Omit<react.HTMLAttributes<HTMLKolLinkButtonElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolLinkButtonElement>>;
|
|
46
|
-
declare const KolLinkGroup: react.ForwardRefExoticComponent<JSX.KolLinkGroup & Omit<react.HTMLAttributes<HTMLKolLinkGroupElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolLinkGroupElement>>;
|
|
47
|
-
declare const KolLogo: react.ForwardRefExoticComponent<JSX.KolLogo & Omit<react.HTMLAttributes<HTMLKolLogoElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolLogoElement>>;
|
|
48
44
|
declare const KolModal: react.ForwardRefExoticComponent<JSX.KolModal & Omit<react.HTMLAttributes<HTMLKolModalElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolModalElement>>;
|
|
49
45
|
declare const KolNav: react.ForwardRefExoticComponent<JSX.KolNav & Omit<react.HTMLAttributes<HTMLKolNavElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolNavElement>>;
|
|
50
46
|
declare const KolPagination: react.ForwardRefExoticComponent<JSX.KolPagination & Omit<react.HTMLAttributes<HTMLKolPaginationElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolPaginationElement>>;
|
|
@@ -56,7 +52,6 @@ declare const KolSkipNav: react.ForwardRefExoticComponent<JSX.KolSkipNav & Omit<
|
|
|
56
52
|
declare const KolSpin: react.ForwardRefExoticComponent<JSX.KolSpin & Omit<react.HTMLAttributes<HTMLKolSpinElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolSpinElement>>;
|
|
57
53
|
declare const KolSplitButton: react.ForwardRefExoticComponent<JSX.KolSplitButton & Omit<react.HTMLAttributes<HTMLKolSplitButtonElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolSplitButtonElement>>;
|
|
58
54
|
declare const KolSymbol: react.ForwardRefExoticComponent<JSX.KolSymbol & Omit<react.HTMLAttributes<HTMLKolSymbolElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolSymbolElement>>;
|
|
59
|
-
declare const KolTable: react.ForwardRefExoticComponent<JSX.KolTable & Omit<react.HTMLAttributes<HTMLKolTableElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolTableElement>>;
|
|
60
55
|
declare const KolTableStateful: react.ForwardRefExoticComponent<JSX.KolTableStateful & Omit<react.HTMLAttributes<HTMLKolTableStatefulElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolTableStatefulElement>>;
|
|
61
56
|
declare const KolTableStateless: react.ForwardRefExoticComponent<JSX.KolTableStateless & Omit<react.HTMLAttributes<HTMLKolTableStatelessElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolTableStatelessElement>>;
|
|
62
57
|
declare const KolTabs: react.ForwardRefExoticComponent<JSX.KolTabs & Omit<react.HTMLAttributes<HTMLKolTabsElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolTabsElement>>;
|
|
@@ -70,4 +65,4 @@ declare const KolVersion: react.ForwardRefExoticComponent<JSX.KolVersion & Omit<
|
|
|
70
65
|
|
|
71
66
|
declare function createReactRenderElement(hostElement: HTMLElement): HTMLDivElement;
|
|
72
67
|
|
|
73
|
-
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton,
|
|
68
|
+
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton, KolButtonLink, KolCard, KolCombobox, KolDetails, KolDrawer, KolForm, KolHeading, KolIcon, KolImage, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolModal, KolNav, KolPagination, KolProgress, KolQuote, KolSelect, KolSingleSelect, KolSkipNav, KolSpin, KolSplitButton, KolSymbol, KolTableStateful, KolTableStateless, KolTabs, KolTextarea, KolToastContainer, KolToolbar, KolTree, KolTreeItem, KolTreeItemWc, KolVersion, createReactRenderElement, setTagNameTransformer };
|
package/dist/index.mjs
CHANGED
|
@@ -183,7 +183,6 @@ const KolAvatar = /* @__PURE__ */ createReactComponent("kol-avatar");
|
|
|
183
183
|
const KolBadge = /* @__PURE__ */ createReactComponent("kol-badge");
|
|
184
184
|
const KolBreadcrumb = /* @__PURE__ */ createReactComponent("kol-breadcrumb");
|
|
185
185
|
const KolButton = /* @__PURE__ */ createReactComponent("kol-button");
|
|
186
|
-
const KolButtonGroup = /* @__PURE__ */ createReactComponent("kol-button-group");
|
|
187
186
|
const KolButtonLink = /* @__PURE__ */ createReactComponent("kol-button-link");
|
|
188
187
|
const KolCard = /* @__PURE__ */ createReactComponent("kol-card");
|
|
189
188
|
const KolCombobox = /* @__PURE__ */ createReactComponent("kol-combobox");
|
|
@@ -193,7 +192,6 @@ const KolForm = /* @__PURE__ */ createReactComponent("kol-form");
|
|
|
193
192
|
const KolHeading = /* @__PURE__ */ createReactComponent("kol-heading");
|
|
194
193
|
const KolIcon = /* @__PURE__ */ createReactComponent("kol-icon");
|
|
195
194
|
const KolImage = /* @__PURE__ */ createReactComponent("kol-image");
|
|
196
|
-
const KolIndentedText = /* @__PURE__ */ createReactComponent("kol-indented-text");
|
|
197
195
|
const KolInputCheckbox = /* @__PURE__ */ createReactComponent("kol-input-checkbox");
|
|
198
196
|
const KolInputColor = /* @__PURE__ */ createReactComponent("kol-input-color");
|
|
199
197
|
const KolInputDate = /* @__PURE__ */ createReactComponent("kol-input-date");
|
|
@@ -207,8 +205,6 @@ const KolInputText = /* @__PURE__ */ createReactComponent("kol-input-text");
|
|
|
207
205
|
const KolKolibri = /* @__PURE__ */ createReactComponent("kol-kolibri");
|
|
208
206
|
const KolLink = /* @__PURE__ */ createReactComponent("kol-link");
|
|
209
207
|
const KolLinkButton = /* @__PURE__ */ createReactComponent("kol-link-button");
|
|
210
|
-
const KolLinkGroup = /* @__PURE__ */ createReactComponent("kol-link-group");
|
|
211
|
-
const KolLogo = /* @__PURE__ */ createReactComponent("kol-logo");
|
|
212
208
|
const KolModal = /* @__PURE__ */ createReactComponent("kol-modal");
|
|
213
209
|
const KolNav = /* @__PURE__ */ createReactComponent("kol-nav");
|
|
214
210
|
const KolPagination = /* @__PURE__ */ createReactComponent("kol-pagination");
|
|
@@ -220,7 +216,6 @@ const KolSkipNav = /* @__PURE__ */ createReactComponent("kol-skip-nav");
|
|
|
220
216
|
const KolSpin = /* @__PURE__ */ createReactComponent("kol-spin");
|
|
221
217
|
const KolSplitButton = /* @__PURE__ */ createReactComponent("kol-split-button");
|
|
222
218
|
const KolSymbol = /* @__PURE__ */ createReactComponent("kol-symbol");
|
|
223
|
-
const KolTable = /* @__PURE__ */ createReactComponent("kol-table");
|
|
224
219
|
const KolTableStateful = /* @__PURE__ */ createReactComponent("kol-table-stateful");
|
|
225
220
|
const KolTableStateless = /* @__PURE__ */ createReactComponent("kol-table-stateless");
|
|
226
221
|
const KolTabs = /* @__PURE__ */ createReactComponent("kol-tabs");
|
|
@@ -240,4 +235,4 @@ function createReactRenderElement(hostElement) {
|
|
|
240
235
|
return renderElement;
|
|
241
236
|
}
|
|
242
237
|
|
|
243
|
-
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton,
|
|
238
|
+
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton, KolButtonLink, KolCard, KolCombobox, KolDetails, KolDrawer, KolForm, KolHeading, KolIcon, KolImage, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolModal, KolNav, KolPagination, KolProgress, KolQuote, KolSelect, KolSingleSelect, KolSkipNav, KolSpin, KolSplitButton, KolSymbol, KolTableStateful, KolTableStateless, KolTabs, KolTextarea, KolToastContainer, KolToolbar, KolTree, KolTreeItem, KolTreeItemWc, KolVersion, createReactRenderElement, setTagNameTransformer };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/react",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -49,17 +49,17 @@
|
|
|
49
49
|
"@types/minimist": "1.2.5",
|
|
50
50
|
"@types/normalize-package-data": "2.4.4",
|
|
51
51
|
"@types/react": "18.3.4",
|
|
52
|
-
"@types/react-dom": "18.3.
|
|
52
|
+
"@types/react-dom": "18.3.5",
|
|
53
53
|
"react": "18.2.0",
|
|
54
54
|
"react-dom": "18.2.0",
|
|
55
|
-
"typescript": "5.
|
|
55
|
+
"typescript": "5.7.2",
|
|
56
56
|
"unbuild": "1.2.1",
|
|
57
|
-
"@public-ui/components": "3.0.0-rc.
|
|
57
|
+
"@public-ui/components": "3.0.0-rc.2"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"react": ">=16.14.0",
|
|
61
61
|
"react-dom": ">=16.14.0",
|
|
62
|
-
"@public-ui/components": "3.0.0-rc.
|
|
62
|
+
"@public-ui/components": "3.0.0-rc.2"
|
|
63
63
|
},
|
|
64
64
|
"sideEffects": false,
|
|
65
65
|
"type": "module",
|