@devtron-labs/devtron-fe-common-lib 0.1.15-beta-21 → 0.1.15-beta-22
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/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +2 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-a74dafbc.js → cssMode-42dd1db0.js} +1 -1
- package/dist/{freemarker2-b45a2328.js → freemarker2-d693d966.js} +1 -1
- package/dist/{handlebars-453ae9ba.js → handlebars-a63d65ef.js} +1 -1
- package/dist/{html-268417b9.js → html-adfdbc7c.js} +1 -1
- package/dist/{htmlMode-ea630b21.js → htmlMode-5368bfab.js} +1 -1
- package/dist/{index-7fc0c1f1.js → index-5bebdd4a.js} +3900 -3906
- package/dist/index.js +1 -1
- package/dist/{javascript-ae545a9e.js → javascript-f68f78d4.js} +1 -1
- package/dist/{jsonMode-d5aabc68.js → jsonMode-79fc93ee.js} +1 -1
- package/dist/{liquid-31b21c0c.js → liquid-05a4c269.js} +1 -1
- package/dist/{mdx-5d5ddbca.js → mdx-6266adee.js} +1 -1
- package/dist/{python-2b5ad29c.js → python-32f3e9ef.js} +1 -1
- package/dist/{razor-62a906be.js → razor-5a81e786.js} +1 -1
- package/dist/{tsMode-ad34b589.js → tsMode-a20b5ec7.js} +1 -1
- package/dist/{typescript-f9398063.js → typescript-5e2b7e53.js} +1 -1
- package/dist/{xml-40fe01b9.js → xml-b62dd809.js} +1 -1
- package/dist/{yaml-7076dc9d.js → yaml-af897132.js} +1 -1
- package/package.json +1 -1
|
@@ -83,10 +83,11 @@ export interface KeyValueTableProps<K extends string> {
|
|
|
83
83
|
/**
|
|
84
84
|
* The function to use to validate the value of the cell.
|
|
85
85
|
* @param value - The value to validate.
|
|
86
|
+
* @param key - The row key of the value.
|
|
86
87
|
* @returns Return true if the value is valid, otherwise false
|
|
87
88
|
* and set `showError` to `true` and provide errorMessages array to show error message.
|
|
88
89
|
*/
|
|
89
|
-
validationSchema?: (value: string) => boolean;
|
|
90
|
+
validationSchema?: (value: string, key: K) => boolean;
|
|
90
91
|
/**
|
|
91
92
|
* An array of error messages to be displayed in the cell error tooltip.
|
|
92
93
|
*/
|