@spaced-out/ui-design-system 0.1.84 → 0.1.85

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.85](https://github.com/spaced-out/ui-design-system/compare/v0.1.84...v0.1.85) (2024-04-18)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * floating dom issue tooltip ([#188](https://github.com/spaced-out/ui-design-system/issues/188)) ([8ad85e2](https://github.com/spaced-out/ui-design-system/commit/8ad85e2d683a8bba4ae6ec013e110e4ebdccec81))
11
+
5
12
  ### [0.1.84](https://github.com/spaced-out/ui-design-system/compare/v0.1.83...v0.1.84) (2024-04-10)
6
13
 
7
14
 
@@ -88,7 +88,7 @@ const Tooltip = _ref => {
88
88
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.cloneElement(children, getReferenceProps({
89
89
  ref,
90
90
  ...children.props
91
- })), /*#__PURE__*/React.createElement(_react2.FloatingPortal, null, isOpen && /*#__PURE__*/React.createElement(React.Fragment, null, !hidden && /*#__PURE__*/React.createElement("div", _extends({
91
+ })), isOpen && /*#__PURE__*/React.createElement(_react2.FloatingPortal, null, /*#__PURE__*/React.createElement(React.Fragment, null, !hidden && /*#__PURE__*/React.createElement("div", _extends({
92
92
  ref: refs.setFloating,
93
93
  className: (0, _classify.classify)(_TooltipModule.default.tooltip, classNames?.tooltip),
94
94
  style: {
@@ -158,8 +158,9 @@ export const Tooltip = ({
158
158
  ...children.props,
159
159
  }),
160
160
  )}
161
- <FloatingPortal>
162
- {isOpen && (
161
+
162
+ {isOpen && (
163
+ <FloatingPortal>
163
164
  <>
164
165
  {!hidden && (
165
166
  <div
@@ -198,8 +199,8 @@ export const Tooltip = ({
198
199
  </div>
199
200
  )}
200
201
  </>
201
- )}
202
- </FloatingPortal>
202
+ </FloatingPortal>
203
+ )}
203
204
  </>
204
205
  );
205
206
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.1.84",
3
+ "version": "0.1.85",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {