@trops/dash-core 0.1.582 → 0.1.583
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.esm.js +7 -11
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38090,19 +38090,15 @@ var RandomPreview = function RandomPreview(_ref1) {
|
|
|
38090
38090
|
setDS(s);
|
|
38091
38091
|
setDL(l);
|
|
38092
38092
|
}
|
|
38093
|
+
}), /*#__PURE__*/jsxRuntime.jsx(DashReact.Button, {
|
|
38094
|
+
title: "\u21BB Regenerate Colors",
|
|
38095
|
+
onClick: handleRegenerate,
|
|
38096
|
+
block: true
|
|
38093
38097
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
38094
38098
|
className: "flex flex-col gap-2 flex-1 min-h-0",
|
|
38095
|
-
children: [/*#__PURE__*/jsxRuntime.
|
|
38096
|
-
className: "
|
|
38097
|
-
children:
|
|
38098
|
-
className: "text-xs opacity-50",
|
|
38099
|
-
children: "Generated Palette"
|
|
38100
|
-
}), /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
38101
|
-
type: "button",
|
|
38102
|
-
onClick: handleRegenerate,
|
|
38103
|
-
className: "text-xs px-2 py-0.5 rounded bg-gray-700 text-gray-300 hover:bg-gray-600",
|
|
38104
|
-
children: "\u21BB Regenerate"
|
|
38105
|
-
})]
|
|
38099
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|
|
38100
|
+
className: "text-xs opacity-50 shrink-0",
|
|
38101
|
+
children: "Generated Palette"
|
|
38106
38102
|
}), previewTheme && /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
38107
38103
|
className: "flex flex-row gap-2 flex-1 min-h-0",
|
|
38108
38104
|
children: [/*#__PURE__*/jsxRuntime.jsx(PaletteSwatch, {
|