react-semaphor 0.1.282 → 0.1.284

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.
Files changed (33) hide show
  1. package/dist/chunks/{dashboard-controls-XX9__V-e.js → dashboard-controls-4pDdG3me.js} +1 -1
  2. package/dist/chunks/{dashboard-controls-B_F5f_BF.js → dashboard-controls-Dhry2k8x.js} +102 -102
  3. package/dist/chunks/{dashboard-filter-controls-button-DVLBLHga.js → dashboard-filter-controls-button-BZXrmJP2.js} +115 -103
  4. package/dist/chunks/{dashboard-filter-controls-button-DZpvfXwU.js → dashboard-filter-controls-button-DEUvxIWD.js} +2 -2
  5. package/dist/chunks/dashboard-json-CYnf5rdp.js +1 -0
  6. package/dist/chunks/dashboard-json-D-KsLEGl.js +61 -0
  7. package/dist/chunks/{dashboard-summary-settings-dialog-zdacBYZZ.js → dashboard-summary-settings-dialog-B4jsBFro.js} +15 -15
  8. package/dist/chunks/{dashboard-summary-settings-dialog-BjdrHb1l.js → dashboard-summary-settings-dialog-Cn4-fB2h.js} +1 -1
  9. package/dist/chunks/{edit-dashboard-visual-DQts3aun.js → edit-dashboard-visual-BDIt_S2F.js} +4978 -5049
  10. package/dist/chunks/edit-dashboard-visual-BQnApBvr.js +193 -0
  11. package/dist/chunks/{index-BY0YEY92.js → index-DBuN9Zf6.js} +281 -250
  12. package/dist/chunks/{index-Bgn4zTsp.js → index-y1uW2fuZ.js} +29740 -28419
  13. package/dist/chunks/{resource-management-panel--xIMLPdz.js → resource-management-panel-BC-cvjI9.js} +2 -2
  14. package/dist/chunks/{resource-management-panel-w7afzaPB.js → resource-management-panel-PSvKnmq5.js} +1 -1
  15. package/dist/chunks/use-create-flow-overlay-state-COe7Ekru.js +21 -0
  16. package/dist/chunks/use-create-flow-overlay-state-Cr9AFdXx.js +1597 -0
  17. package/dist/chunks/use-visual-utils-Ccmzx7-m.js +353 -0
  18. package/dist/chunks/use-visual-utils-DNp8XO6G.js +1 -0
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +5 -5
  23. package/dist/style.css +1 -1
  24. package/dist/surfboard/index.cjs +1 -1
  25. package/dist/surfboard/index.js +2 -2
  26. package/package.json +3 -2
  27. package/dist/chunks/dashboard-json-CexNQg-E.js +0 -1
  28. package/dist/chunks/dashboard-json-Dd9Q2bZm.js +0 -66
  29. package/dist/chunks/edit-dashboard-visual-Bi9pQx6G.js +0 -193
  30. package/dist/chunks/use-create-flow-overlay-state-AsQy4tbh.js +0 -21
  31. package/dist/chunks/use-create-flow-overlay-state-COsIHnQp.js +0 -1523
  32. package/dist/chunks/use-visual-utils-BCWNcaWk.js +0 -347
  33. package/dist/chunks/use-visual-utils-CI-7TNJI.js +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/index-BY0YEY92.js"),e=require("../types/index.cjs"),r=require("../chunks/dashboard-summary-settings-dialog-BjdrHb1l.js");exports.Surfboard=a.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=r.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=r.DashboardSummarySettingsDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/index-DBuN9Zf6.js"),e=require("../types/index.cjs"),r=require("../chunks/dashboard-summary-settings-dialog-Cn4-fB2h.js");exports.Surfboard=a.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=r.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=r.DashboardSummarySettingsDialog;
@@ -1,6 +1,6 @@
1
- import { a as o } from "../chunks/index-Bgn4zTsp.js";
1
+ import { a as o } from "../chunks/index-y1uW2fuZ.js";
2
2
  import { CONTROL_CARD_DEFAULT_VALUE as s, EMPTY_SELECTION as D } from "../types/index.js";
3
- import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-zdacBYZZ.js";
3
+ import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-B4jsBFro.js";
4
4
  export {
5
5
  s as CONTROL_CARD_DEFAULT_VALUE,
6
6
  m as CalendarPreferencesDialog,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.282",
8
+ "version": "0.1.284",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",
@@ -84,7 +84,6 @@
84
84
  "@dnd-kit/sortable": "^10.0.0",
85
85
  "@dnd-kit/utilities": "^3.2.2",
86
86
  "@headlessui/react": "^2.2.0",
87
- "@monaco-editor/react": "^4.7.0-rc.0",
88
87
  "@r2wc/react-to-web-component": "^2.0.4",
89
88
  "@radix-ui/react-accordion": "^1.2.2",
90
89
  "@radix-ui/react-alert-dialog": "^1.1.4",
@@ -134,6 +133,7 @@
134
133
  "ms": "^2.1.3",
135
134
  "next-themes": "^0.4.4",
136
135
  "prism-react-renderer": "^2.4.1",
136
+ "prismjs": "^1.30.0",
137
137
  "react-day-picker": "^9.9.0",
138
138
  "react-error-boundary": "^4.1.2",
139
139
  "react-grid-layout": "^1.5.0",
@@ -141,6 +141,7 @@
141
141
  "react-markdown": "^9.0.1",
142
142
  "react-resizable-panels": "^2.1.7",
143
143
  "react-select": "^5.9.0",
144
+ "react-simple-code-editor": "^0.14.1",
144
145
  "remark-gfm": "^4.0.1",
145
146
  "sonner": "^1.5.0",
146
147
  "tailwind-merge": "^2.1.0",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("./index-BY0YEY92.js");require("react");require("react-dom");function i(){const o=a.useDashboardStore(e=>e.dashboard),r=a.useDashboardStore(e=>e.actions.setDashboard),t=a.useDashboardStore(e=>e.showDashboardJSON),n=a.useDashboardStore(e=>e.actions.setShowDashboardJSON);return s.jsxs("div",{className:a.cn("relative p-2",{hidden:!t}),children:[s.jsxs(a.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>n(!1),children:[s.jsx(a.X,{className:"mr-2 h-4 w-4"}),"Close"]}),s.jsx(a.de,{onChange:e=>{if(e)try{JSON.parse(e),r(JSON.parse(e))}catch{}},defaultLanguage:"json",className:"h-[550px] overflow-y-auto",value:JSON.stringify(o,null,2),options:{minimap:{enabled:!1},glyphMargin:!1,wordWrap:"on",scrollbar:{verticalScrollbarSize:0,horizontalScrollbarSize:0},fontSize:12,renderLineHighlight:"none"}})]})}exports.default=i;
@@ -1,66 +0,0 @@
1
- import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
- import { u as s, c as l, B as h, X as d, d as c } from "./index-Bgn4zTsp.js";
3
- import "react";
4
- import "react-dom";
5
- function N() {
6
- const e = s((a) => a.dashboard), t = s((a) => a.actions.setDashboard), n = s(
7
- (a) => a.showDashboardJSON
8
- ), i = s(
9
- (a) => a.actions.setShowDashboardJSON
10
- );
11
- return /* @__PURE__ */ o(
12
- "div",
13
- {
14
- className: l("relative p-2", {
15
- hidden: !n
16
- }),
17
- children: [
18
- /* @__PURE__ */ o(
19
- h,
20
- {
21
- variant: "secondary",
22
- size: "sm",
23
- className: "absolute right-2 top-2 z-10 h-8",
24
- onClick: () => i(!1),
25
- children: [
26
- /* @__PURE__ */ r(d, { className: "mr-2 h-4 w-4" }),
27
- "Close"
28
- ]
29
- }
30
- ),
31
- /* @__PURE__ */ r(
32
- c,
33
- {
34
- onChange: (a) => {
35
- if (a)
36
- try {
37
- JSON.parse(a), t(JSON.parse(a));
38
- } catch {
39
- }
40
- },
41
- defaultLanguage: "json",
42
- className: "h-[550px] overflow-y-auto",
43
- value: JSON.stringify(e, null, 2),
44
- options: {
45
- minimap: {
46
- enabled: !1
47
- },
48
- // lineNumbers: 'off',
49
- glyphMargin: !1,
50
- wordWrap: "on",
51
- scrollbar: {
52
- verticalScrollbarSize: 0,
53
- horizontalScrollbarSize: 0
54
- },
55
- fontSize: 12,
56
- renderLineHighlight: "none"
57
- }
58
- }
59
- )
60
- ]
61
- }
62
- );
63
- }
64
- export {
65
- N as default
66
- };