@scheels-softdev/kendoreact-generics 2.1.1 → 2.1.2

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.
@@ -13,7 +13,7 @@ separator, // optional separator to use for concatenating text values
13
13
  disabled, // boolean to disable the dropdown
14
14
  idField, title, }) {
15
15
  if (selectedId !== undefined && selectedData !== undefined) {
16
- throw new Error("You cannot provide both selectedObject and selectedId to GenericDropdown.");
16
+ throw new Error("You cannot provide both selectedData and selectedId to GenericDropdown.");
17
17
  }
18
18
  if (selectedId === undefined && selectedData === undefined) {
19
19
  throw new Error("You must provide either selectedId or selectedObject to GenericDropdown.");
@@ -1,6 +1,5 @@
1
1
  import { ComboBoxChangeEvent } from "@progress/kendo-react-dropdowns";
2
- import { CommonProps } from "../PropTypes";
3
- export declare function CommandCellDDWithoutId<T extends CommonProps>(props: {
2
+ export declare function CommandCellDDWithoutId<T>(props: {
4
3
  data: T[];
5
4
  selectedData: T;
6
5
  textFields: (keyof T)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scheels-softdev/kendoreact-generics",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",