@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.
@@ -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 { Dispatch, SetStateAction, FC } from 'react';
1
+ import { type Dispatch, type SetStateAction, type FC } from 'react';
2
2
  export interface JsonGridViewerProps {
3
3
  /** Whether the viewer is in full screen mode */
4
4
  isFullScreen: boolean;
@@ -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,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { JsonValue } from './types';
2
+ import { type JsonValue } from './types';
3
3
  export declare const JsonValueDisplay: FC<{
4
4
  value: JsonValue;
5
5
  path: string;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { JsonArray, JsonObject, JsonValue } from './types';
2
+ import { type JsonArray, type JsonObject, type JsonValue } from './types';
3
3
  export declare const NestedJsonGrid: FC<{
4
4
  data: JsonObject | JsonArray;
5
5
  path: string;
@@ -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;