@lax-wp/design-system 0.5.26 → 0.5.27
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/dist/components/data-display/json-grid-viewer/JsonGridCore.d.ts +2 -2
- package/dist/components/data-display/json-grid-viewer/JsonGridViewer.d.ts +1 -1
- package/dist/components/data-display/json-grid-viewer/JsonGridViewerContext.d.ts +1 -1
- package/dist/components/data-display/json-grid-viewer/JsonValueDisplay.d.ts +1 -1
- package/dist/components/data-display/json-grid-viewer/NestedJsonGrid.d.ts +1 -1
- package/dist/components/data-display/json-grid-viewer/hooks.d.ts +1 -1
- package/dist/components/data-display/json-grid-viewer/utils.d.ts +1 -1
- package/dist/index.es.js +5264 -5164
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +24 -24
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IJsonGridProps } from './types';
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type IJsonGridProps } from './types';
|
|
3
3
|
export declare const JsonGridCore: FC<IJsonGridProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IJsonGridViewerContext } from './types';
|
|
1
|
+
import type { IJsonGridViewerContext } from './types';
|
|
2
2
|
export declare const JsonGridViewerContext: import("react").Context<IJsonGridViewerContext | null>;
|
|
3
3
|
export declare const JsonGridViewerContextProvider: import("react").Provider<IJsonGridViewerContext | null>;
|
|
4
4
|
export declare const useJsonGridViewerContext: () => IJsonGridViewerContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JsonArray, JsonObject, JsonValue } from './types';
|
|
1
|
+
import { type JsonArray, type JsonObject, type JsonValue } from './types';
|
|
2
2
|
export declare const useCheckboxSelection: (selectedPaths: string[], setSelectedPaths: (paths: string[]) => void) => {
|
|
3
3
|
handleCheckboxChange: (fullPath: string, isChecked: boolean, value: JsonValue, isExpandable: boolean) => void;
|
|
4
4
|
isPathSelected: (path: string) => boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JsonValue } from './types';
|
|
1
|
+
import { type JsonValue } from './types';
|
|
2
2
|
export declare const getDataType: (value: JsonValue) => string;
|
|
3
3
|
export declare const filterTopLevelPaths: (paths: string[]) => string[];
|
|
4
4
|
export declare const parseJson: (value: string) => any;
|