@trops/dash-core 0.1.132 → 0.1.133

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.js CHANGED
@@ -3621,6 +3621,36 @@ var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
3621
3621
  children: tag
3622
3622
  }, tag);
3623
3623
  })
3624
+ }), pkg.theme && /*#__PURE__*/jsxRuntime.jsxs("div", {
3625
+ children: [/*#__PURE__*/jsxRuntime.jsx("span", {
3626
+ className: "text-xs font-semibold opacity-50 mb-1 block",
3627
+ children: "INCLUDES THEME"
3628
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
3629
+ className: "p-3 rounded ".concat(currentTheme["bg-primary-medium"], " flex items-center gap-3"),
3630
+ children: [/*#__PURE__*/jsxRuntime.jsx(DashReact.FontAwesomeIcon, {
3631
+ icon: "palette",
3632
+ className: "h-4 w-4 opacity-60"
3633
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
3634
+ className: "flex-1",
3635
+ children: [/*#__PURE__*/jsxRuntime.jsx("span", {
3636
+ className: "text-sm font-medium",
3637
+ children: pkg.theme.name || pkg.theme.key || "Bundled Theme"
3638
+ }), /*#__PURE__*/jsxRuntime.jsx("span", {
3639
+ className: "text-xs opacity-40 ml-2",
3640
+ children: "Will be auto-installed"
3641
+ })]
3642
+ }), pkg.theme.colors && /*#__PURE__*/jsxRuntime.jsx("div", {
3643
+ className: "flex items-center gap-1",
3644
+ children: [pkg.theme.colors.primary, pkg.theme.colors.secondary, pkg.theme.colors.tertiary].filter(Boolean).map(function (color, i) {
3645
+ return /*#__PURE__*/jsxRuntime.jsx("div", {
3646
+ className: "h-4 w-4 rounded-full border border-white/20",
3647
+ style: {
3648
+ backgroundColor: color
3649
+ }
3650
+ }, i);
3651
+ })
3652
+ })]
3653
+ })]
3624
3654
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
3625
3655
  children: [/*#__PURE__*/jsxRuntime.jsx("span", {
3626
3656
  className: "text-xs font-semibold opacity-50 mb-1 block",