semaphor 0.0.90 → 0.0.92

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.
@@ -3,11 +3,12 @@ import { FontSpec } from 'chart.js';
3
3
  export declare type AggregateCalc = 'AVG' | 'MIN' | 'MAX' | 'SUM' | 'COUNT' | 'COUNT_DISTINCT';
4
4
 
5
5
  export declare type AIScopeTable = {
6
- connectinonId: string;
6
+ connectionId: string;
7
7
  connectionType: string;
8
8
  databaseName?: string;
9
9
  schemaName?: string;
10
- tableName: string;
10
+ tableName?: string;
11
+ datamodelName?: string;
11
12
  };
12
13
 
13
14
  export declare type AuthToken = {
@@ -95,6 +96,10 @@ export declare type DashboardProps = {
95
96
  * Placeholders for the dashboard.
96
97
  */
97
98
  placeholders?: Placeholders;
99
+ /**
100
+ * The id of the sheet to be selected when the dashboard is loaded.
101
+ */
102
+ selectedSheetId?: string;
98
103
  };
99
104
 
100
105
  export declare type DateOptions = {
@@ -480,8 +485,3 @@ export declare type TStyle = {
480
485
  };
481
486
 
482
487
  export { }
483
-
484
-
485
- declare namespace Calendar {
486
- var displayName: string;
487
- }
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.90",
8
+ "version": "0.0.92",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",
@@ -45,7 +45,7 @@
45
45
  "preview": "vite preview"
46
46
  },
47
47
  "dependencies": {
48
- "@ai-sdk/react": "^1.0.12",
48
+ "@ai-sdk/react": "^1.1.18",
49
49
  "@headlessui/react": "^2.2.0",
50
50
  "@monaco-editor/react": "^4.7.0-rc.0",
51
51
  "@r2wc/react-to-web-component": "^2.0.4",
@@ -71,7 +71,7 @@
71
71
  "@tailwindcss/container-queries": "^0.1.1",
72
72
  "@tanstack/react-query": "^5.62.15",
73
73
  "@tanstack/react-table": "^8.11.7",
74
- "ai": "^3.3.0",
74
+ "ai": "^4.1.46",
75
75
  "chart.js": "^4.4.1",
76
76
  "chartjs-chart-geo": "^4.3.4",
77
77
  "chartjs-plugin-datalabels": "^2.2.0",
@@ -79,13 +79,13 @@
79
79
  "clsx": "^2.0.0",
80
80
  "cmdk": "^1.0.4",
81
81
  "date-fns": "^3.3.1",
82
- "dompurify": "^3.1.6",
83
82
  "immer": "^10.0.3",
84
83
  "jwt-decode": "^4.0.0",
85
- "lodash": "^4.17.21",
84
+ "lodash.merge": "^4.6.2",
86
85
  "lucide-react": "^0.453.0",
87
86
  "ms": "^2.1.3",
88
87
  "next-themes": "^0.4.4",
88
+ "prism-react-renderer": "^2.4.1",
89
89
  "react-day-picker": "^8.10.0",
90
90
  "react-error-boundary": "^4.1.2",
91
91
  "react-grid-layout": "^1.5.0",
@@ -100,8 +100,8 @@
100
100
  "zustand": "^4.4.7"
101
101
  },
102
102
  "peerDependencies": {
103
- "react": "^17.0.0 || ^18.0.0",
104
- "react-dom": "^17.0.0 || ^18.0.0"
103
+ "react": "^18.0.0 || ^19.0.0",
104
+ "react-dom": "^18.0.0 || ^19.0.0"
105
105
  },
106
106
  "devDependencies": {
107
107
  "@microsoft/api-extractor": "^7.49.1",
@@ -109,7 +109,7 @@
109
109
  "@types/chart.js": "^2.9.41",
110
110
  "@types/dompurify": "^3.0.5",
111
111
  "@types/jsoneditor": "^9.9.5",
112
- "@types/lodash": "^4.14.202",
112
+ "@types/lodash.merge": "^4.6.9",
113
113
  "@types/ms": "^0.7.34",
114
114
  "@types/node": "^20.14.2",
115
115
  "@types/postcss-prefix-selector": "^1.16.3",