@public-ui/react 2.0.10 → 2.0.12-rc.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.
- package/dist/index.cjs +9 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +9 -1
- package/package.json +8 -5
package/dist/index.cjs
CHANGED
|
@@ -234,6 +234,14 @@ const KolTreeItemWc = /* @__PURE__ */ createReactComponent("kol-tree-item-wc");
|
|
|
234
234
|
const KolTreeWc = /* @__PURE__ */ createReactComponent("kol-tree-wc");
|
|
235
235
|
const KolVersion = /* @__PURE__ */ createReactComponent("kol-version");
|
|
236
236
|
|
|
237
|
+
function createReactRenderElement(hostElement) {
|
|
238
|
+
const renderElement = document.createElement("div");
|
|
239
|
+
renderElement.setAttribute("role", "presentation");
|
|
240
|
+
hostElement.innerHTML = "";
|
|
241
|
+
hostElement.appendChild(renderElement);
|
|
242
|
+
return renderElement;
|
|
243
|
+
}
|
|
244
|
+
|
|
237
245
|
exports.KolAbbr = KolAbbr;
|
|
238
246
|
exports.KolAccordion = KolAccordion;
|
|
239
247
|
exports.KolAlert = KolAlert;
|
|
@@ -285,4 +293,5 @@ exports.KolTreeItem = KolTreeItem;
|
|
|
285
293
|
exports.KolTreeItemWc = KolTreeItemWc;
|
|
286
294
|
exports.KolTreeWc = KolTreeWc;
|
|
287
295
|
exports.KolVersion = KolVersion;
|
|
296
|
+
exports.createReactRenderElement = createReactRenderElement;
|
|
288
297
|
exports.setTagNameTransformer = setTagNameTransformer;
|
package/dist/index.d.ts
CHANGED
|
@@ -64,4 +64,6 @@ declare const KolTreeItemWc: react.ForwardRefExoticComponent<JSX.KolTreeItemWc &
|
|
|
64
64
|
declare const KolTreeWc: react.ForwardRefExoticComponent<JSX.KolTreeWc & Omit<react.HTMLAttributes<HTMLKolTreeWcElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolTreeWcElement>>;
|
|
65
65
|
declare const KolVersion: react.ForwardRefExoticComponent<JSX.KolVersion & Omit<react.HTMLAttributes<HTMLKolVersionElement>, "style"> & StyleReactProps & react.RefAttributes<HTMLKolVersionElement>>;
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
declare function createReactRenderElement(hostElement: HTMLElement): HTMLDivElement;
|
|
68
|
+
|
|
69
|
+
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton, KolButtonGroup, KolButtonLink, KolCard, KolDetails, KolForm, KolHeading, KolIcon, KolImage, KolIndentedText, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolLinkGroup, KolLogo, KolModal, KolNav, KolPagination, KolProgress, KolQuote, KolSelect, KolSkipNav, KolSpan, KolSpin, KolSplitButton, KolSymbol, KolTable, KolTabs, KolTextarea, KolToastContainer, KolTree, KolTreeItem, KolTreeItemWc, KolTreeWc, KolVersion, createReactRenderElement, setTagNameTransformer };
|
package/dist/index.mjs
CHANGED
|
@@ -228,4 +228,12 @@ const KolTreeItemWc = /* @__PURE__ */ createReactComponent("kol-tree-item-wc");
|
|
|
228
228
|
const KolTreeWc = /* @__PURE__ */ createReactComponent("kol-tree-wc");
|
|
229
229
|
const KolVersion = /* @__PURE__ */ createReactComponent("kol-version");
|
|
230
230
|
|
|
231
|
-
|
|
231
|
+
function createReactRenderElement(hostElement) {
|
|
232
|
+
const renderElement = document.createElement("div");
|
|
233
|
+
renderElement.setAttribute("role", "presentation");
|
|
234
|
+
hostElement.innerHTML = "";
|
|
235
|
+
hostElement.appendChild(renderElement);
|
|
236
|
+
return renderElement;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export { KolAbbr, KolAccordion, KolAlert, KolAvatar, KolBadge, KolBreadcrumb, KolButton, KolButtonGroup, KolButtonLink, KolCard, KolDetails, KolForm, KolHeading, KolIcon, KolImage, KolIndentedText, KolInputCheckbox, KolInputColor, KolInputDate, KolInputEmail, KolInputFile, KolInputNumber, KolInputPassword, KolInputRadio, KolInputRange, KolInputText, KolKolibri, KolLink, KolLinkButton, KolLinkGroup, KolLogo, KolModal, KolNav, KolPagination, KolProgress, KolQuote, KolSelect, KolSkipNav, KolSpan, KolSpin, KolSplitButton, KolSymbol, KolTable, KolTabs, KolTextarea, KolToastContainer, KolTree, KolTreeItem, KolTreeItemWc, KolTreeWc, KolVersion, createReactRenderElement, setTagNameTransformer };
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12-rc.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
|
-
"repository":
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/public-ui/kolibri"
|
|
9
|
+
},
|
|
7
10
|
"bugs": {
|
|
8
11
|
"url": "https://github.com/public-ui/kolibri/issues",
|
|
9
12
|
"email": "kolibri@itzbund.de"
|
|
@@ -42,12 +45,12 @@
|
|
|
42
45
|
"react"
|
|
43
46
|
],
|
|
44
47
|
"devDependencies": {
|
|
45
|
-
"@public-ui/components": "2.0.
|
|
48
|
+
"@public-ui/components": "2.0.12-rc.0",
|
|
46
49
|
"@types/minimatch": "5.1.2",
|
|
47
50
|
"@types/minimist": "1.2.5",
|
|
48
51
|
"@types/node": "ts5.4",
|
|
49
52
|
"@types/normalize-package-data": "2.4.4",
|
|
50
|
-
"@types/react": "18.2.
|
|
53
|
+
"@types/react": "18.2.73",
|
|
51
54
|
"@types/react-dom": "18.2.22",
|
|
52
55
|
"react": "18.2.0",
|
|
53
56
|
"react-dom": "18.2.0",
|
|
@@ -55,7 +58,7 @@
|
|
|
55
58
|
"unbuild": "1.2.1"
|
|
56
59
|
},
|
|
57
60
|
"peerDependencies": {
|
|
58
|
-
"@public-ui/components": "2.0.
|
|
61
|
+
"@public-ui/components": "2.0.12-rc.0",
|
|
59
62
|
"react": ">=16.14.0",
|
|
60
63
|
"react-dom": ">=16.14.0"
|
|
61
64
|
},
|