@vuu-ui/vuu-utils 3.1.0 → 3.2.0

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.1.0",
2
+ "version": "3.2.0",
3
3
  "author": "heswell",
4
4
  "main": "./src/index.js",
5
5
  "license": "Apache-2.0",
@@ -15,14 +15,14 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@dnd-kit/react": "^0.1.21",
18
- "@vuu-ui/vuu-data-types": "3.1.0",
19
- "@vuu-ui/vuu-table-types": "3.1.0",
20
- "@vuu-ui/vuu-filter-types": "3.1.0",
21
- "@vuu-ui/vuu-protocol-types": "3.1.0"
18
+ "@vuu-ui/vuu-data-types": "3.2.0",
19
+ "@vuu-ui/vuu-table-types": "3.2.0",
20
+ "@vuu-ui/vuu-filter-types": "3.2.0",
21
+ "@vuu-ui/vuu-protocol-types": "3.2.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@internationalized/date": "^3.0.0",
25
- "@vuu-ui/vuu-filter-parser": "3.1.0",
25
+ "@vuu-ui/vuu-filter-parser": "3.2.0",
26
26
  "clsx": "^2.0.0",
27
27
  "react": "^19.2.3",
28
28
  "react-dom": "^19.2.3"
@@ -71,7 +71,7 @@ const isSortChanged = (config, newConfig)=>{
71
71
  const isVisualLinkChanged = ({ visualLink: v1 }, { visualLink: v2 })=>{
72
72
  if (exactlyTheSame(v1, v2)) return false;
73
73
  if (void 0 === v1 || void 0 === v2) return true;
74
- return v1.label !== v2.label || v2.parentVpId !== v2.parentVpId;
74
+ return v1.label !== v2.label || v1.parentVpId !== v2.parentVpId;
75
75
  };
76
76
  const NO_CONFIG_CHANGES = {
77
77
  aggregationsChanged: false,
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from "react";
1
+ import { type ReactNode } from "react";
2
2
  export declare const DEFAULT_DENSITY: Density;
3
3
  export declare const DEFAULT_THEME = "salt-theme";
4
4
  export declare const DEFAULT_THEME_MODE: ThemeMode;
@@ -10,7 +10,7 @@ export interface ThemeContextProps {
10
10
  theme: string;
11
11
  themeMode: ThemeMode;
12
12
  }
13
- export declare const ThemeContext: React.Context<ThemeContextProps>;
13
+ export declare const ThemeContext: import("react").Context<ThemeContextProps>;
14
14
  export type ThemeClasses = [string, string, ThemeMode];
15
15
  export type ThemeAttributes = {
16
16
  themeClass: string;
@@ -1,7 +1,7 @@
1
- import { ConnectionQualityMetrics, DataSourceCallbackMessage, DataSourceConfig, DataSourceDataMessage, DataSourceRow, DataSourceVisualLinksMessage, TypeaheadSuggestionProvider, VuuUIMessageIn, VuuUIMessageInRPC, VuuUIMessageInTableMeta, VuuUIMessageOutViewport, WithBaseFilter, WithFilter, WithFullConfig, WithGroupBy, WithSort } from "@vuu-ui/vuu-data-types";
2
- import { LinkDescriptorWithLabel, VuuCreateVisualLink, VuuFilter, VuuRemoveVisualLink, VuuRowDataItemType, VuuSort } from "@vuu-ui/vuu-protocol-types";
3
- import { ColumnMap } from "../column-utils";
4
- import { ConfigWithVisualLink } from "./BaseDataSource";
1
+ import type { ConnectionQualityMetrics, DataSourceCallbackMessage, DataSourceConfig, DataSourceDataMessage, DataSourceRow, DataSourceVisualLinksMessage, TypeaheadSuggestionProvider, VuuUIMessageIn, VuuUIMessageInRPC, VuuUIMessageInTableMeta, VuuUIMessageOutViewport, WithBaseFilter, WithFilter, WithFullConfig, WithGroupBy, WithSort } from "@vuu-ui/vuu-data-types";
2
+ import type { LinkDescriptorWithLabel, VuuCreateVisualLink, VuuFilter, VuuRemoveVisualLink, VuuRowDataItemType, VuuSort } from "@vuu-ui/vuu-protocol-types";
3
+ import type { ColumnMap } from "../column-utils";
4
+ import type { ConfigWithVisualLink } from "./BaseDataSource";
5
5
  export declare const NoFilter: VuuFilter;
6
6
  export declare const NoSort: VuuSort;
7
7
  export declare const vanillaConfig: WithFullConfig;