@trops/dash-core 0.1.478 → 0.1.480

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
@@ -55047,6 +55047,16 @@ var DashSidebar = function DashSidebar(_ref2) {
55047
55047
  }),
55048
55048
  onClick: onOpenCommandPalette,
55049
55049
  children: "Search"
55050
+ }), /*#__PURE__*/jsx(Sidebar.Group, {
55051
+ label: "Dashboards",
55052
+ children: /*#__PURE__*/jsx(Sidebar.Item, {
55053
+ icon: /*#__PURE__*/jsx(FontAwesomeIcon, {
55054
+ icon: "plus",
55055
+ className: "h-3.5 w-3.5"
55056
+ }),
55057
+ onClick: onNewDashboard,
55058
+ children: "New Dashboard"
55059
+ })
55050
55060
  }), /*#__PURE__*/jsx(CollapsibleContent, {
55051
55061
  children: visibleRecents.length > 0 && /*#__PURE__*/jsx(Sidebar.Group, {
55052
55062
  label: "Recents",
@@ -55069,16 +55079,6 @@ var DashSidebar = function DashSidebar(_ref2) {
55069
55079
  }, recent.workspaceId);
55070
55080
  })
55071
55081
  })
55072
- }), /*#__PURE__*/jsx(Sidebar.Group, {
55073
- label: "Dashboards",
55074
- children: /*#__PURE__*/jsx(Sidebar.Item, {
55075
- icon: /*#__PURE__*/jsx(FontAwesomeIcon, {
55076
- icon: "plus",
55077
- className: "h-3.5 w-3.5"
55078
- }),
55079
- onClick: onNewDashboard,
55080
- children: "New Dashboard"
55081
- })
55082
55082
  }), /*#__PURE__*/jsxs(CollapsibleContent, {
55083
55083
  children: [menuItems.map(function (menuItem) {
55084
55084
  var folderWorkspaces = workspacesForFolder(menuItem.id);