@cgi-learning-hub/ui 1.3.5-dev.1736345385 → 1.3.5-dev.1736843283
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),t=require("../../createSvgIcon-B-TuJjUa.cjs"),i=require("@mui/material"),a=require("../../Dialog-BydVKebY.cjs"),u=t.createSvgIcon(n.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded"),r=({children:s,showCloseButton:l=!0,...e})=>{const o=()=>{var c;return(c=e.onClose)==null?void 0:c.call(e,{},"escapeKeyDown")};return n.jsxs(a.Dialog,{...e,children:[l?n.jsx(i.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),t=require("../../createSvgIcon-B-TuJjUa.cjs"),i=require("@mui/material"),a=require("../../Dialog-BydVKebY.cjs"),u=t.createSvgIcon(n.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded"),r=({children:s,showCloseButton:l=!0,...e})=>{const o=()=>{var c;return(c=e.onClose)==null?void 0:c.call(e,{},"escapeKeyDown")};return n.jsxs(a.Dialog,{...e,children:[l?n.jsx(i.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:24,top:24},children:n.jsx(u,{})}):null,s]})};module.exports=r;
|
|
@@ -17,7 +17,7 @@ const d = s(/* @__PURE__ */ l("path", {
|
|
|
17
17
|
var n;
|
|
18
18
|
return (n = o.onClose) == null ? void 0 : n.call(o, {}, "escapeKeyDown");
|
|
19
19
|
},
|
|
20
|
-
sx: { position: "absolute", right:
|
|
20
|
+
sx: { position: "absolute", right: 24, top: 24 },
|
|
21
21
|
children: /* @__PURE__ */ l(d, {})
|
|
22
22
|
}
|
|
23
23
|
) : null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgi-learning-hub/ui",
|
|
3
|
-
"version": "1.3.5-dev.
|
|
3
|
+
"version": "1.3.5-dev.1736843283",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "CGI Learning-hub Team",
|
|
6
6
|
"description": "@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@emotion/react": "^11",
|
|
46
46
|
"@emotion/styled": "^11",
|
|
47
47
|
"@mui/material": "^6",
|
|
48
|
-
"react": "^19",
|
|
49
|
-
"react-dom": "^19"
|
|
48
|
+
"react": "^18 || ^19",
|
|
49
|
+
"react-dom": "^18 || ^19"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"dev": "vite",
|