@trops/dash-core 0.1.229 → 0.1.230

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 CHANGED
@@ -37886,9 +37886,9 @@ var DashboardsSection = function DashboardsSection(_ref) {
37886
37886
  className: "flex flex-col h-full",
37887
37887
  children: [/*#__PURE__*/jsxs("div", {
37888
37888
  className: "flex-shrink-0 flex flex-col gap-2 px-3 py-2 ".concat(headerStyles.backgroundColor || ""),
37889
- children: [/*#__PURE__*/jsx("div", {
37889
+ children: [/*#__PURE__*/jsxs("div", {
37890
37890
  className: "flex items-center gap-2",
37891
- children: /*#__PURE__*/jsx("div", {
37891
+ children: [/*#__PURE__*/jsx("div", {
37892
37892
  className: "flex-1",
37893
37893
  children: /*#__PURE__*/jsx(SearchInput, {
37894
37894
  value: searchQuery,
@@ -37896,7 +37896,15 @@ var DashboardsSection = function DashboardsSection(_ref) {
37896
37896
  placeholder: "Search dashboards...",
37897
37897
  inputClassName: "py-1.5 text-xs"
37898
37898
  })
37899
- })
37899
+ }), onOpenWizard && /*#__PURE__*/jsx("button", {
37900
+ onClick: onOpenWizard,
37901
+ className: "flex-shrink-0 p-1.5 rounded opacity-60 hover:opacity-100 transition-opacity",
37902
+ title: "Dashboard Wizard",
37903
+ children: /*#__PURE__*/jsx(FontAwesomeIcon, {
37904
+ icon: "wand-magic-sparkles",
37905
+ className: "h-3.5 w-3.5"
37906
+ })
37907
+ })]
37900
37908
  }), /*#__PURE__*/jsx(Tabs3, {
37901
37909
  value: installMode === "marketplace" ? "marketplace" : viewMode,
37902
37910
  onValueChange: function onValueChange(val) {
@@ -37925,14 +37933,6 @@ var DashboardsSection = function DashboardsSection(_ref) {
37925
37933
  value: "marketplace",
37926
37934
  className: "flex-1",
37927
37935
  children: "Marketplace"
37928
- }), onOpenWizard && /*#__PURE__*/jsx(Tabs3.Trigger, {
37929
- value: "wizard",
37930
- className: "flex-1",
37931
- onClick: function onClick(e) {
37932
- e.preventDefault();
37933
- onOpenWizard();
37934
- },
37935
- children: "Wizard"
37936
37936
  })]
37937
37937
  })
37938
37938
  })]