iguazio.dashboard-react-controls 2.2.5 → 2.2.7

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.
@@ -38,6 +38,7 @@ const Modal = _ref => {
38
38
  actions = [],
39
39
  children,
40
40
  className,
41
+ noHeader = false,
41
42
  onClose,
42
43
  previewText = '',
43
44
  size = _constants.MODAL_MD,
@@ -68,7 +69,7 @@ const Modal = _ref => {
68
69
  })
69
70
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
70
71
  className: "modal__content",
71
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
72
+ children: [!noHeader && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
72
73
  className: "modal__header",
73
74
  children: [previewText && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
74
75
  className: "modal__header-preview-text",
@@ -158,6 +158,7 @@ const Tooltip = _ref => {
158
158
  in: show,
159
159
  timeout: duration,
160
160
  unmountOnExit: true,
161
+ nodeRef: tooltipRef,
161
162
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
162
163
  "data-testid": id ? "".concat(id, "-tooltip") : 'tooltip',
163
164
  ref: tooltipRef,
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M19.41 16.59L14.83 12L19.41 7.41L18 6L12 12L18 18L19.41 16.59Z" fill="#7F7989"/>
3
+ <path d="M13.41 16.59L8.83 12L13.41 7.41L12 6L6 12L12 18L13.41 16.59Z" fill="#7F7989"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 16.59L12.58 12L8 7.41L9.41 6L15.41 12L9.41 18L8 16.59Z" fill="#7F7989"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5 16.59L9.58 12L5 7.41L6.41 6L12.41 12L6.41 18L5 16.59Z" fill="#7F7989"/>
3
+ <path d="M11 16.59L15.58 12L11 7.41L12.41 6L18.41 12L12.41 18L11 16.59Z" fill="#7F7989"/>
4
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",