@vuu-ui/vuu-data-editing 4.0.0 → 4.1.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": "4.0.0",
2
+ "version": "4.1.0",
3
3
  "description": "Shared data editing APIs and React components for VUU UI",
4
4
  "main": "./src/index.js",
5
5
  "author": "heswell",
@@ -12,13 +12,13 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@salt-ds/core": "1.74.0",
15
- "@vuu-ui/vuu-ui-controls": "4.0.0",
16
- "@vuu-ui/vuu-utils": "4.0.0"
15
+ "@vuu-ui/vuu-ui-controls": "4.1.0",
16
+ "@vuu-ui/vuu-utils": "4.1.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@vuu-ui/vuu-data-types": "4.0.0",
20
- "@vuu-ui/vuu-protocol-types": "4.0.0",
21
- "@vuu-ui/vuu-table-types": "4.0.0"
19
+ "@vuu-ui/vuu-data-types": "4.1.0",
20
+ "@vuu-ui/vuu-protocol-types": "4.1.0",
21
+ "@vuu-ui/vuu-table-types": "4.1.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^19.2.3"
@@ -4,7 +4,7 @@ import type { TableEditSession } from "./TableEditSession";
4
4
  export declare const DataEditingProvider: ({ children, editSession, }: {
5
5
  children: ReactNode;
6
6
  editSession: TableEditSession;
7
- }) => import("react/jsx-runtime").JSX.Element;
7
+ }) => import("react").JSX.Element;
8
8
  /**
9
9
  * Returns the EditSession provided by an enclosing DataEditingProvider. If the
10
10
  * provider holds some other TableEditSession (e.g. DirectEditSession), there is
@@ -11,4 +11,4 @@ export interface EditButtonProps {
11
11
  confirmSave?: () => boolean | Promise<boolean>;
12
12
  confirmCancel?: () => boolean | Promise<boolean>;
13
13
  }
14
- export declare const EditButtons: ({ canCancel, canSave, confirmCancel, confirmSave, editSession, hasSelection, onCancel, onDelete, onSave, saveLabel, }: EditButtonProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const EditButtons: ({ canCancel, canSave, confirmCancel, confirmSave, editSession, hasSelection, onCancel, onDelete, onSave, saveLabel, }: EditButtonProps) => import("react").JSX.Element;
@@ -10,5 +10,5 @@ export interface EditModeContextProps {
10
10
  export declare const EditModeProvider: ({ children, isEditMode: isEditModeProp, }: {
11
11
  children: ReactNode;
12
12
  isEditMode?: boolean;
13
- }) => import("react/jsx-runtime").JSX.Element;
13
+ }) => import("react").JSX.Element;
14
14
  export declare const useEditMode: () => EditModeContextProps;
@@ -9,4 +9,4 @@ export declare const getUndoButtonContent: (componentProps?: UndoCellRendererCom
9
9
  text: string | undefined;
10
10
  };
11
11
  export declare const getUndoTooltipContent: (action: unknown) => "Undo delete row" | "Undo insert row" | "Undo row edits" | undefined;
12
- export declare const UndoCellRenderer: ({ column, dataRow, }: TableCellRendererProps) => import("react/jsx-runtime").JSX.Element | null;
12
+ export declare const UndoCellRenderer: ({ column, dataRow, }: TableCellRendererProps) => import("react").JSX.Element | null;
@@ -18,4 +18,4 @@ export interface DropdownEditFieldProps extends EditFieldProps {
18
18
  optionMap: OptionMap;
19
19
  table: VuuTable;
20
20
  }
21
- export declare const EditField: ({ dataRow, deferNewRow, label, name, readOnly, required, type, ...options }: EditFieldProps | DropdownEditFieldProps) => import("react/jsx-runtime").JSX.Element;
21
+ export declare const EditField: ({ dataRow, deferNewRow, label, name, readOnly, required, type, ...options }: EditFieldProps | DropdownEditFieldProps) => import("react").JSX.Element;
@@ -2,4 +2,4 @@ import type { DataRow, RuntimeColumnDescriptor } from "@vuu-ui/vuu-table-types";
2
2
  export { isInlineEditingSession } from "@vuu-ui/vuu-utils";
3
3
  export declare const isEditRowReadOnly: (dataRow: DataRow) => boolean;
4
4
  export declare const withDataRowEditErrors: <T extends DataRow>(dataRow: T, errors: Record<string, string>) => T;
5
- export declare const getVuuEditMessage: (dataRow: DataRow, column: RuntimeColumnDescriptor, originalValue: string) => string | import("react/jsx-runtime").JSX.Element | undefined;
5
+ export declare const getVuuEditMessage: (dataRow: DataRow, column: RuntimeColumnDescriptor, originalValue: string) => string | import("react").JSX.Element | undefined;