@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.esm.js
CHANGED
|
@@ -38072,24 +38072,17 @@ var RandomPreview = function RandomPreview(_ref1) {
|
|
|
38072
38072
|
setDS(s);
|
|
38073
38073
|
setDL(l);
|
|
38074
38074
|
}
|
|
38075
|
-
}), /*#__PURE__*/jsx(
|
|
38076
|
-
|
|
38077
|
-
|
|
38075
|
+
}), /*#__PURE__*/jsx(Button, {
|
|
38076
|
+
title: "\u21BB Regenerate Colors",
|
|
38077
|
+
onClick: handleRegenerate,
|
|
38078
|
+
block: true
|
|
38078
38079
|
}), /*#__PURE__*/jsxs("div", {
|
|
38079
|
-
className: "flex flex-col gap-2
|
|
38080
|
-
children: [/*#__PURE__*/
|
|
38081
|
-
className: "
|
|
38082
|
-
children:
|
|
38083
|
-
className: "text-xs opacity-50",
|
|
38084
|
-
children: "Generated Palette"
|
|
38085
|
-
}), /*#__PURE__*/jsx("button", {
|
|
38086
|
-
type: "button",
|
|
38087
|
-
onClick: handleRegenerate,
|
|
38088
|
-
className: "text-xs px-2 py-0.5 rounded bg-gray-700 text-gray-300 hover:bg-gray-600",
|
|
38089
|
-
children: "\u21BB Regenerate"
|
|
38090
|
-
})]
|
|
38080
|
+
className: "flex flex-col gap-2 flex-1 min-h-0",
|
|
38081
|
+
children: [/*#__PURE__*/jsx("span", {
|
|
38082
|
+
className: "text-xs opacity-50 shrink-0",
|
|
38083
|
+
children: "Generated Palette"
|
|
38091
38084
|
}), previewTheme && /*#__PURE__*/jsxs("div", {
|
|
38092
|
-
className: "flex flex-row gap-2 h-
|
|
38085
|
+
className: "flex flex-row gap-2 flex-1 min-h-0",
|
|
38093
38086
|
children: [/*#__PURE__*/jsx(PaletteSwatch, {
|
|
38094
38087
|
value: previewTheme.primary,
|
|
38095
38088
|
label: "Primary"
|