@trops/dash-core 0.1.542 → 0.1.543

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
@@ -2,7 +2,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import _typeof from '@babel/runtime/helpers/typeof';
3
3
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
4
4
  import * as DashReact from '@trops/dash-react';
5
- import { isObject, ThemeContext, deepCopy, MainSection, getUUID, getStylesForItem, themeObjects, Heading, SearchInput, ButtonIcon, SubHeading3, InputText, Button, FontAwesomeIcon, Tag, Modal, Button3, Button2, Paragraph, Sidebar, Panel, Stepper, Tag3, Card2, Card3, Heading3, MenuItem3, FormLabel, SelectMenu, Switch, SelectInput, CodeEditorVS, SettingsModal, SubHeading2, tailwindHeightFractions, Menu3, Panel3, ButtonIcon2, DropdownPanel, MenuItem2, DragComponent, ConfirmationModal, DropComponent, getStyleName, capitalizeFirstLetter, colorTypes, getCSSStyleForClassname, Panel2, Heading2, SubHeading, Paragraph2, Paragraph3, MenuItem, Tag2, ButtonIcon3, DashPanel, colorNames, shades, themeVariants, Tabs3, DataList, Checkbox, StatCard, Card, Tabs, Accordion, Alert, Toast, ProgressBar, Toggle, Breadcrumbs, Tabs2, Accordion2, Alert2, Toast2, ProgressBar2, Toggle2, Breadcrumbs2, Accordion3, Alert3, Toast3, ProgressBar3, Toggle3, Breadcrumbs3, ThemeFromUrlPane, TextArea, CodeEditorInline, Icon2, AlgoliaSearchBox, CommandPalette, useSidebar, EmptyState, Navbar, withRouter, Menu as Menu$1 } from '@trops/dash-react';
5
+ import { isObject, ThemeContext, deepCopy, MainSection, getUUID, getStylesForItem, themeObjects, Heading, SearchInput, ButtonIcon, SubHeading3, InputText, Button, FontAwesomeIcon, Tag, Modal, Button3, Button2, Paragraph, Sidebar, Panel, Stepper, Tag3, Card2, Card3, Heading3, MenuItem3, FormLabel, SelectMenu, Switch, SelectInput, CodeEditorVS, SettingsModal, SubHeading2, tailwindHeightFractions, Menu3, Panel3, ButtonIcon2, DropdownPanel, MenuItem2, DragComponent, ConfirmationModal, DropComponent, getStyleName, capitalizeFirstLetter, colorTypes, getCSSStyleForClassname, Panel2, Heading2, SubHeading, Paragraph2, Paragraph3, MenuItem, Tag2, ButtonIcon3, DashPanel, colorNames, shades, themeVariants, Tabs3, DataList, Checkbox, StatCard, Card, Tabs, Accordion, Alert, Toast, ProgressBar, Toggle, Breadcrumbs, Tabs2, Accordion2, Alert2, Toast2, ProgressBar2, Toggle2, Breadcrumbs2, Accordion3, Alert3, Toast3, ProgressBar3, Toggle3, Breadcrumbs3, ThemeFromUrlPane, TextArea, CodeEditorInline, Icon2, AlgoliaSearchBox, CommandPalette, useSidebar, Divider, EmptyState, Navbar, withRouter, Menu as Menu$1 } from '@trops/dash-react';
6
6
  export * from '@trops/dash-react';
7
7
  export { ThemeContext } from '@trops/dash-react';
8
8
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
@@ -56088,7 +56088,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
56088
56088
  return /*#__PURE__*/jsxs("div", {
56089
56089
  className: "flex flex-col h-full min-h-0",
56090
56090
  children: [/*#__PURE__*/jsxs("div", {
56091
- className: "flex-shrink-0 flex flex-row items-center justify-between gap-2 pb-3 border-b border-white/10",
56091
+ className: "flex-shrink-0 flex flex-row items-center justify-between gap-2 pb-3",
56092
56092
  children: [/*#__PURE__*/jsxs("div", {
56093
56093
  className: "flex flex-col",
56094
56094
  children: [/*#__PURE__*/jsxs("span", {
@@ -56112,7 +56112,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
56112
56112
  size: "sm"
56113
56113
  })]
56114
56114
  })]
56115
- }), error && /*#__PURE__*/jsx("div", {
56115
+ }), /*#__PURE__*/jsx(Divider, {}), error && /*#__PURE__*/jsx("div", {
56116
56116
  className: "flex-shrink-0 text-xs text-red-400 bg-red-900/20 border border-red-700 rounded p-2 mt-3",
56117
56117
  children: error
56118
56118
  }), /*#__PURE__*/jsx("div", {
@@ -56684,7 +56684,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref) {
56684
56684
  children: /*#__PURE__*/jsxs("div", {
56685
56685
  className: "flex flex-col h-full w-full rounded-lg overflow-clip border ".concat(panelStyles.backgroundColor || "", " ").concat(panelStyles.borderColor || "", " ").concat(panelStyles.textColor || ""),
56686
56686
  children: [/*#__PURE__*/jsxs("div", {
56687
- className: "flex-shrink-0 flex flex-row items-center justify-between p-4 border-b border-white/10",
56687
+ className: "flex-shrink-0 flex flex-row items-center justify-between p-4",
56688
56688
  children: [/*#__PURE__*/jsxs("div", {
56689
56689
  className: "flex items-center gap-3",
56690
56690
  children: [/*#__PURE__*/jsx(FontAwesomeIcon, {
@@ -56706,8 +56706,8 @@ var DashboardConfigModal = function DashboardConfigModal(_ref) {
56706
56706
  className: "h-5 w-5"
56707
56707
  })
56708
56708
  })]
56709
- }), /*#__PURE__*/jsxs("div", {
56710
- className: "flex-shrink-0 flex flex-row items-center gap-2 px-4 pt-3 border-b border-white/10",
56709
+ }), /*#__PURE__*/jsx(Divider, {}), /*#__PURE__*/jsxs("div", {
56710
+ className: "flex-shrink-0 flex flex-row items-center gap-2 px-4 pt-3",
56711
56711
  children: [/*#__PURE__*/jsxs("button", {
56712
56712
  type: "button",
56713
56713
  onClick: function onClick() {
@@ -56758,7 +56758,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref) {
56758
56758
  className: "ml-1 inline-block h-1.5 w-1.5 rounded-full bg-amber-400 align-middle"
56759
56759
  })]
56760
56760
  })]
56761
- }), /*#__PURE__*/jsxs("div", {
56761
+ }), /*#__PURE__*/jsx(Divider, {}), /*#__PURE__*/jsxs("div", {
56762
56762
  className: "flex-1 min-h-0 ".concat(activeTab === "widgets" ? "" : "p-5"),
56763
56763
  children: [activeTab === "listeners" && /*#__PURE__*/jsx(ListenersTab, {
56764
56764
  emitters: emitters,
@@ -56784,8 +56784,8 @@ var DashboardConfigModal = function DashboardConfigModal(_ref) {
56784
56784
  }), activeTab === "dependencies" && /*#__PURE__*/jsx(DependenciesTab, {
56785
56785
  dependencies: dependencies
56786
56786
  })]
56787
- }), /*#__PURE__*/jsxs("div", {
56788
- className: "flex-shrink-0 flex flex-row justify-end gap-2 p-4 border-t border-white/10",
56787
+ }), /*#__PURE__*/jsx(Divider, {}), /*#__PURE__*/jsxs("div", {
56788
+ className: "flex-shrink-0 flex flex-row justify-end gap-2 p-4",
56789
56789
  children: [/*#__PURE__*/jsx(Button3, {
56790
56790
  title: "Cancel",
56791
56791
  onClick: handleCancel