react-semaphor 0.0.688 → 0.0.690

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-BxKFGvfL.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-BS6U2aw8.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { D as f } from "../chunks/dashboard-plus-szKmVTpB.js";
1
+ import { D as f } from "../chunks/dashboard-plus-CbCN1k1x.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -18,6 +18,7 @@ import { MetricField as MetricField_2 } from '../types/explorer-types';
18
18
  import { PaginationMetadata as PaginationMetadata_2 } from '../types/explorer-types';
19
19
  import { PivotByField as PivotByField_2 } from '../types/explorer-types';
20
20
  import { QueryObserverResult } from '@tanstack/query-core';
21
+ import * as React_2 from 'react';
21
22
  import { RefetchOptions } from '@tanstack/query-core';
22
23
  import { StoreApi } from 'zustand';
23
24
  import { TBaseQuery as TBaseQuery_2 } from '..';
@@ -454,6 +455,22 @@ declare type ColumnSettingsMap = Record<string, ColumnSettings>;
454
455
 
455
456
  export declare type ColumnType = 'string' | 'number' | 'date';
456
457
 
458
+ export declare function Combobox({ name, items, value, onChange, isLoading, isError, refetch, className, icon, showNone, }: {
459
+ icon?: React_2.ReactNode;
460
+ name?: string;
461
+ items: {
462
+ id: string;
463
+ name: string;
464
+ }[];
465
+ value: string;
466
+ onChange: (value: string) => void;
467
+ isLoading: boolean;
468
+ isError: boolean;
469
+ refetch: () => void;
470
+ className?: string;
471
+ showNone?: boolean;
472
+ }): JSX_2.Element;
473
+
457
474
  declare type ComboBoxOption = {
458
475
  id: number | string;
459
476
  value: string;
@@ -1316,31 +1333,10 @@ export declare function ScheduleDashboard({ triggerButtonClassName, }: {
1316
1333
 
1317
1334
  export declare type SchemaItem = DropdownItem;
1318
1335
 
1319
- export declare function SelectComponent({ title, items, value, isLoading, isError, refetch, onChange, showNone, className, disabled, type, }: SelectProps): JSX_2.Element;
1320
-
1321
1336
  export declare type SelectedEntities = DatabaseEntityReference[] | DataModelEntityReference[] | FileEntityReference[];
1322
1337
 
1323
1338
  export declare type SelectionState = Record<Level, string | null>;
1324
1339
 
1325
- declare type SelectProps = {
1326
- title: string;
1327
- items: {
1328
- id: string;
1329
- name: string;
1330
- }[];
1331
- value: string;
1332
- isLoading: boolean;
1333
- isError: boolean;
1334
- refetch: () => void;
1335
- onChange?: (value: string) => void;
1336
- showNone?: boolean;
1337
- className?: string;
1338
- showIcon?: boolean;
1339
- connectionTooltip?: string;
1340
- disabled?: boolean;
1341
- type?: 'select' | 'combobox';
1342
- };
1343
-
1344
1340
  export declare const SemaphorContextProvider: ({ children, dashboardProps, }: {
1345
1341
  children: React.ReactNode;
1346
1342
  dashboardProps: DashboardProps;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.688",
8
+ "version": "0.0.690",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",