@adhese/sdk-devtools 0.2.0 → 0.3.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/cjs/devtools.js +14 -10
- package/dist/cjs/devtools.js.map +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/devtools.js +14 -9
- package/dist/es/devtools.js.map +1 -1
- package/dist/es/index.js +3 -3
- package/dist/es/index.js.map +1 -1
- package/dist/style.css +1314 -9
- package/package.json +2 -2
package/dist/cjs/devtools.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
2
|
const require$$0 = require("react");
|
|
4
3
|
const require$$0$1 = require("react-dom");
|
|
5
4
|
const clsx = require("clsx");
|
|
@@ -1663,13 +1662,10 @@ function FronttailSettings({
|
|
|
1663
1662
|
id: `fronttailDebugKey${id}`,
|
|
1664
1663
|
value: fronttailDebugKey,
|
|
1665
1664
|
onChange: onFronttailDebugKeyChange,
|
|
1666
|
-
className: cn(
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
"border-destructive": fronttailDebugKey.length < 4
|
|
1671
|
-
}
|
|
1672
|
-
)
|
|
1665
|
+
className: cn("max-w-60", {
|
|
1666
|
+
// eslint-disable-next-line ts/naming-convention
|
|
1667
|
+
"border-destructive": fronttailDebugKey.length < 4
|
|
1668
|
+
})
|
|
1673
1669
|
}
|
|
1674
1670
|
),
|
|
1675
1671
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -1775,6 +1771,10 @@ function Devtools({ adheseContext }) {
|
|
|
1775
1771
|
/* @__PURE__ */ jsxRuntimeExports.jsx(PreviewButton, {})
|
|
1776
1772
|
] }) });
|
|
1777
1773
|
}
|
|
1774
|
+
const Devtools$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1775
|
+
__proto__: null,
|
|
1776
|
+
Devtools
|
|
1777
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1778
1778
|
function createAdheseDevtools(element, context) {
|
|
1779
1779
|
const root = createRoot(element);
|
|
1780
1780
|
root.render(/* @__PURE__ */ jsxRuntimeExports.jsx(Devtools, { adheseContext: context }));
|
|
@@ -1782,6 +1782,10 @@ function createAdheseDevtools(element, context) {
|
|
|
1782
1782
|
root.unmount();
|
|
1783
1783
|
};
|
|
1784
1784
|
}
|
|
1785
|
-
|
|
1786
|
-
|
|
1785
|
+
const main = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1786
|
+
__proto__: null,
|
|
1787
|
+
createAdheseDevtools
|
|
1788
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1789
|
+
exports.Devtools = Devtools$1;
|
|
1790
|
+
exports.main = main;
|
|
1787
1791
|
//# sourceMappingURL=devtools.js.map
|