@douyinfe/semi-ui 2.7.0 → 2.7.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.
@@ -27133,7 +27133,7 @@ class tooltip_Tooltip extends baseComponent_BaseComponent {
27133
27133
  willUpdateStates.visible = visible;
27134
27134
  }
27135
27135
 
27136
- this.setState(willUpdateStates, () => {
27136
+ this.mounted && this.setState(willUpdateStates, () => {
27137
27137
  cb();
27138
27138
  });
27139
27139
  },
@@ -62169,6 +62169,8 @@ const HookModal = (_a, ref) => {
62169
62169
  const {
62170
62170
  motion
62171
62171
  } = props;
62172
+ /* istanbul ignore next */
62173
+
62172
62174
  const mergedMotion = typeof motion === 'undefined' || motion ? assign_default()(assign_default()({}, motion), {
62173
62175
  didLeave: function () {
62174
62176
  const didLeave = get_default()(props.motion, 'didLeave');