@vizzly/dashboard 0.14.4-dev-c25428d42db56a9b153be528febab668cec55785 → 0.14.4-dev-b4a15896ec5f2fffd81b6585e16fac81b314a1f1

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,5 +1,6 @@
1
1
  import { Component } from '../../../../shared-logic/src/Component/types';
2
2
  import { Result as ResultType } from '../../../../shared-logic/src/Result/types';
3
+ import * as ConditionalFormatting from '../../../../shared-logic/src/ConditionalFormatting/utils';
3
4
  export declare type ConditionalFormattingBoundary = Component.ConditionalFormatting.Rule & {
4
5
  boundaries?: number[];
5
6
  };
@@ -1,14 +1,8 @@
1
1
  import React from 'react';
2
2
  import { Component } from '../../../shared-logic/src/Component/types';
3
- import { QueryAttributes } from '../../../shared-logic/src/QueryAttributes/types';
3
+ import * as ConditionalFormatting from '../../../shared-logic/src/ConditionalFormatting/utils';
4
4
  export declare function getFormattedByRule({ type, value }: Component.ConditionalFormatting.DisplayRule): React.CSSProperties;
5
- export declare type ComparisonFilter = {
6
- op: QueryAttributes.Operator;
7
- value: QueryAttributes.Filter['value'];
8
- };
9
- export declare const compare: (filter: ComparisonFilter, recordValue: unknown) => any;
10
- export declare const conditionIsMet: (filter: ComparisonFilter, value: number | string | boolean) => boolean;
11
5
  export declare function getFormattedCellClass({ filter, cellValue, type, value, }: Component.ConditionalFormatting.DisplayRule & {
12
6
  cellValue: number | string;
13
- filter: ComparisonFilter;
7
+ filter: ConditionalFormatting.ComparisonFilter;
14
8
  }): React.CSSProperties;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vizzly/dashboard",
3
3
  "author": "james@vizzly.co",
4
- "version": "0.14.4-dev-c25428d42db56a9b153be528febab668cec55785",
4
+ "version": "0.14.4-dev-b4a15896ec5f2fffd81b6585e16fac81b314a1f1",
5
5
  "source": "src/index.tsx",
6
6
  "types": "./dist/dashboard/src/index.d.ts",
7
7
  "module": "./dist/dashboard.esm.js",
@@ -1,9 +0,0 @@
1
- import { LineChartRepresentation } from '../../../../../shared-logic/src/LineChartV2/types';
2
- export declare const buildMargin: (chart: LineChartRepresentation, showYAxisLabels: boolean) => {
3
- top: number;
4
- right: number;
5
- bottom: number;
6
- left: number;
7
- bottomTitleOffset: number;
8
- leftTitleOffset: number;
9
- };