diff --git a/.yarn-offline-mirror/@vueuse-core-4.8.1.tgz b/.yarn-offline-mirror/@vueuse-core-4.8.1.tgz new file mode 100644 index 000000000..8e2ccf6be Binary files /dev/null and b/.yarn-offline-mirror/@vueuse-core-4.8.1.tgz differ diff --git a/.yarn-offline-mirror/@vueuse-shared-4.8.1.tgz b/.yarn-offline-mirror/@vueuse-shared-4.8.1.tgz new file mode 100644 index 000000000..74d3eb0ef Binary files /dev/null and b/.yarn-offline-mirror/@vueuse-shared-4.8.1.tgz differ diff --git a/.yarn-offline-mirror/vue-demi-0.7.4.tgz b/.yarn-offline-mirror/vue-demi-0.7.4.tgz new file mode 100644 index 000000000..a2c2a46ad Binary files /dev/null and b/.yarn-offline-mirror/vue-demi-0.7.4.tgz differ diff --git a/packages/core/src/components/cv-data-table/cv-data-table-notes.md b/packages/core/src/components/cv-data-table/cv-data-table-notes.md index b2d3e9dd7..c520010af 100644 --- a/packages/core/src/components/cv-data-table/cv-data-table-notes.md +++ b/packages/core/src/components/cv-data-table/cv-data-table-notes.md @@ -114,6 +114,7 @@ Like sorting and filtering it is the users responsibility to deal with edited da ## Events +- row-expanded: Supplies row component of expanded row, where if value is set it can be accessed to get the index of the row - pagination: re-raises CvPageination change event. - row-select-change: Supplies { value: rowValue, selected: rowSelected }. Raised on row select/deselect - row-select-changes: Supplies array of selected row values. diff --git a/packages/core/src/components/cv-data-table/cv-data-table.vue b/packages/core/src/components/cv-data-table/cv-data-table.vue index 9700a425d..df548d8df 100644 --- a/packages/core/src/components/cv-data-table/cv-data-table.vue +++ b/packages/core/src/components/cv-data-table/cv-data-table.vue @@ -507,6 +507,7 @@ export default { } else { this.dataExpandAll = false; } + this.$emit('row-expanded', row); }, }, }; diff --git a/packages/core/yarn.lock b/packages/core/yarn.lock index a677b36d5..7b55bb15d 100644 --- a/packages/core/yarn.lock +++ b/packages/core/yarn.lock @@ -1254,7 +1254,7 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001038, caniuse-lite@^1.0.30001039: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001040.tgz#103fc8e6eb1d7397e95134cd0e996743353d58ea" integrity sha512-Ep0tEPeI5wCvmJNrXjE3etgfI+lkl1fTDU6Y3ZH1mhrjkPlVI9W4pcKbMo+BQLpEWKVYYp2EmYaRsqpPC3k7lQ== -carbon-components@^10.30.0: +carbon-components@10.30.0: version "10.30.0" resolved "https://registry.yarnpkg.com/carbon-components/-/carbon-components-10.30.0.tgz#c572620361ffdc8f4f67ed84b19ca2e29a912330" integrity sha512-pHnrPcICl7L8vUHEXks4ZfAtyaGIP01aX7O/szg45/7Po2pQ3hXW1TBppYaUsw3UD+qGOF/CW7ID9Op6IQK4dA==