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",
|
|
@@ -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,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.
|
|
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",
|