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