@true-engineering/true-react-common-ui-kit 3.14.0 → 3.14.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/README.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  # Release Notes
12
12
 
13
+ ## v3.14.1
14
+
15
+ ### Changes
16
+
17
+ - **WithPopup**: исправлен баг с невозможностью закрытия popup при нажатии на элемент
18
+
13
19
  ## v3.14.0
14
20
 
15
21
  ### Changes
@@ -30281,16 +30281,15 @@ var WithPopup = function(param) {
30281
30281
  enabled: eventType === "click",
30282
30282
  ancestorScroll: shouldHideOnScroll
30283
30283
  });
30284
- var _useInteractions = useInteractions([
30284
+ var getFloatingProps = useInteractions([
30285
30285
  hover,
30286
30286
  click,
30287
30287
  dismiss
30288
- ]), getReferenceProps = _useInteractions.getReferenceProps, getFloatingProps = _useInteractions.getFloatingProps;
30289
- return /* @__PURE__ */ jsxs("div", _object_spread_props$1(_object_spread$1(_object_spread_props$1(_object_spread$1({
30290
- ref: refs.setReference
30291
- }, getReferenceProps()), {
30288
+ ]).getFloatingProps;
30289
+ return /* @__PURE__ */ jsxs("div", _object_spread_props$1(_object_spread$1({
30290
+ ref: refs.setReference,
30292
30291
  className: clsx(classes.root, _define_property$1({}, classes.disabled, isDisabled))
30293
- }), addDataTestId(testId), addDataAttributes(data)), {
30292
+ }, addDataTestId(testId), addDataAttributes(data)), {
30294
30293
  children: [
30295
30294
  /* @__PURE__ */ jsx("div", _object_spread_props$1(_object_spread$1({
30296
30295
  className: classes.trigger,