@cgi-learning-hub/ui 1.3.4-dev.1734368837 → 1.3.4-dev.1734424019

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-eUfAcV0x.cjs"),i=require("@mui/material"),a=require("../../Dialog-qbfcFmb5.cjs"),u=t.createSvgIcon(n.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),r=({children:c,showCloseButton:l=!0,...e})=>{const o=()=>{var s;return(s=e.onClose)==null?void 0:s.call(e,{},"escapeKeyDown")};return n.jsxs(a.Dialog,{...e,children:[l?n.jsx(i.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:16,top:16},children:n.jsx(u,{})}):null,c]})};module.exports=r;
1
+ "use strict";const n=require("react/jsx-runtime"),t=require("../../createSvgIcon-eUfAcV0x.cjs"),i=require("@mui/material"),a=require("../../Dialog-qbfcFmb5.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:16,top:16},children:n.jsx(u,{})}):null,s]})};module.exports=r;
@@ -1,16 +1,16 @@
1
- import { jsx as l, jsxs as s } from "react/jsx-runtime";
2
- import { c as t } from "../../createSvgIcon-CeuAoIMQ.js";
3
- import { IconButton as c } from "@mui/material";
1
+ import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
+ import { c as s } from "../../createSvgIcon-CeuAoIMQ.js";
3
+ import { IconButton as t } from "@mui/material";
4
4
  import { D as i } from "../../Dialog-DPCCWdDJ.js";
5
- const m = t(/* @__PURE__ */ l("path", {
6
- d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
7
- }), "Close"), g = ({
5
+ const d = s(/* @__PURE__ */ l("path", {
6
+ 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"
7
+ }), "CloseRounded"), g = ({
8
8
  children: e,
9
9
  showCloseButton: a = !0,
10
10
  ...o
11
- }) => /* @__PURE__ */ s(i, { ...o, children: [
11
+ }) => /* @__PURE__ */ c(i, { ...o, children: [
12
12
  a ? /* @__PURE__ */ l(
13
- c,
13
+ t,
14
14
  {
15
15
  "aria-label": "close",
16
16
  onClick: () => {
@@ -18,7 +18,7 @@ const m = t(/* @__PURE__ */ l("path", {
18
18
  return (n = o.onClose) == null ? void 0 : n.call(o, {}, "escapeKeyDown");
19
19
  },
20
20
  sx: { position: "absolute", right: 16, top: 16 },
21
- children: /* @__PURE__ */ l(m, {})
21
+ children: /* @__PURE__ */ l(d, {})
22
22
  }
23
23
  ) : null,
24
24
  e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.3.4-dev.1734368837",
3
+ "version": "1.3.4-dev.1734424019",
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",