highsoft-ui 1.0.100 → 1.0.101

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.
@@ -1,10 +1,10 @@
1
1
  import { hydrateRoot as r } from "react-dom/client";
2
- function m(e) {
3
- Object.entries(e).map(([o, n]) => {
4
- const t = document.getElementById(`hsui-${o}`);
5
- t && r(t, n);
2
+ function d(i) {
3
+ Object.entries(i).map(([e, o]) => {
4
+ const t = document.getElementById(`hsui-${e}`);
5
+ t && r(t, o, { identifierPrefix: `hsui-${e}-` });
6
6
  });
7
7
  }
8
8
  export {
9
- m as hydrate
9
+ d as hydrate
10
10
  };
package/dist/php.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { writeFileSync as o } from "node:fs";
2
2
  import { renderToString as p } from "react-dom/server";
3
- function d(i, t) {
4
- const r = Object.entries(t).map(([n, e]) => `function hsui_${n}() {
5
- ?><div id="hsui-${n}" style="display: contents;">${p(e)}</div><?php
3
+ function d(n, r) {
4
+ const t = Object.entries(r).map(([i, e]) => `function hsui_${i}() {
5
+ ?><div id="hsui-${i}" style="display: contents;">${p(e, { identifierPrefix: `hsui-${i}-` })}</div><?php
6
6
  }`);
7
7
  o(
8
- i,
8
+ n,
9
9
  `<?php
10
10
 
11
- ${r.join(`
11
+ ${t.join(`
12
12
 
13
13
  `)}`
14
14
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "highsoft-ui",
3
- "version": "1.0.100",
3
+ "version": "1.0.101",
4
4
  "description": "Highsoft UI",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",