naive-ui 2.40.0 → 2.40.1

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/index.js CHANGED
@@ -66220,8 +66220,10 @@
66220
66220
  const row = /* @__PURE__ */ vue.h(
66221
66221
  "tr",
66222
66222
  {
66223
- onMouseenter: () => {
66223
+ ...props,
66224
+ onMouseenter: (e) => {
66224
66225
  this.hoverKey = rowKey;
66226
+ props?.onMouseenter?.(e);
66225
66227
  },
66226
66228
  key: rowKey,
66227
66229
  class: [
@@ -66232,8 +66234,10 @@
66232
66234
  mergedRowClassName,
66233
66235
  props?.class
66234
66236
  ],
66235
- style: props?.style,
66236
- ...props
66237
+ style: [
66238
+ props?.style,
66239
+ isVirtualX && { height: virtualXRowHeight }
66240
+ ]
66237
66241
  },
66238
66242
  cells
66239
66243
  );
@@ -108917,7 +108921,7 @@
108917
108921
  watermarkProps: watermarkProps
108918
108922
  });
108919
108923
 
108920
- var version = "2.40.0";
108924
+ var version = "2.40.1";
108921
108925
 
108922
108926
  function create({
108923
108927
  componentPrefix = "N",
package/dist/index.mjs CHANGED
@@ -66216,8 +66216,10 @@ var TableBody = defineComponent({
66216
66216
  const row = /* @__PURE__ */ h(
66217
66217
  "tr",
66218
66218
  {
66219
- onMouseenter: () => {
66219
+ ...props,
66220
+ onMouseenter: (e) => {
66220
66221
  this.hoverKey = rowKey;
66222
+ props?.onMouseenter?.(e);
66221
66223
  },
66222
66224
  key: rowKey,
66223
66225
  class: [
@@ -66228,8 +66230,10 @@ var TableBody = defineComponent({
66228
66230
  mergedRowClassName,
66229
66231
  props?.class
66230
66232
  ],
66231
- style: props?.style,
66232
- ...props
66233
+ style: [
66234
+ props?.style,
66235
+ isVirtualX && { height: virtualXRowHeight }
66236
+ ]
66233
66237
  },
66234
66238
  cells
66235
66239
  );
@@ -108913,7 +108917,7 @@ var components = /*#__PURE__*/Object.freeze({
108913
108917
  watermarkProps: watermarkProps
108914
108918
  });
108915
108919
 
108916
- var version = "2.40.0";
108920
+ var version = "2.40.1";
108917
108921
 
108918
108922
  function create({
108919
108923
  componentPrefix = "N",