@cgi-learning-hub/ui 1.4.0-dev.1742200292 → 1.4.0-dev.1742204063

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.
Files changed (210) hide show
  1. package/dist/{Alert-BCd1tHk0.js → Alert-DdpAZix8.js} +9 -9
  2. package/dist/{Backdrop-CjDitjBW.js → Backdrop-BctCVgLy.js} +19 -20
  3. package/dist/Backdrop-DWp3AktL.cjs +1 -0
  4. package/dist/{Box-GMNejc_m.js → Box-DgqaLb7j.js} +7 -7
  5. package/dist/{Button-x5rtZxJN.js → Button-B7kOjNW1.js} +6 -6
  6. package/dist/{ButtonBase-CU1npQuI.js → ButtonBase-IZ_QjbpE.js} +4 -4
  7. package/dist/{CardContent-CL_61cm-.js → CardContent-F4-KcZH8.js} +3 -3
  8. package/dist/{Checkbox-CtRSDqOe.js → Checkbox-qUSjau0g.js} +7 -7
  9. package/dist/{Chip-ZIBpWC4I.js → Chip-OpRIs-sL.js} +6 -6
  10. package/dist/{CircularProgress-B28FKeiH.js → CircularProgress-CQxzJquv.js} +4 -4
  11. package/dist/{CloseRounded-pP8asZiP.js → CloseRounded-BMEGLs8y.js} +1 -1
  12. package/dist/DatePicker-DrLKgvkx.cjs +14 -0
  13. package/dist/{DatePicker-XdCuICxv.js → DatePicker-fFsWvNFc.js} +2535 -2117
  14. package/dist/{DefaultPropsProvider-CQixa6JQ.js → DefaultPropsProvider-Cqcb4sws.js} +7 -7
  15. package/dist/{Dialog-CgEvhrbZ.cjs → Dialog-B1wnk5BT.cjs} +1 -1
  16. package/dist/{Dialog-C-Ptqtq-.js → Dialog-CKS7yjT5.js} +9 -9
  17. package/dist/{DialogContent-1sjO2rQK.js → DialogContent-BzPaz5G8.js} +3 -3
  18. package/dist/{DialogTitle-CGpa_QH9.js → DialogTitle-D3E_lDHD.js} +5 -5
  19. package/dist/{DialogTitle-F6JD1f_z.cjs → DialogTitle-mr9xn4JZ.cjs} +1 -1
  20. package/dist/{Divider-CNGfzZqD.js → Divider-D-pZeQTm.js} +8 -8
  21. package/dist/{FormLabel-BlaPVlwX.js → FormLabel-3-CC-ZGw.js} +76 -67
  22. package/dist/FormLabel-BV7-a0i5.cjs +2 -0
  23. package/dist/{Grow-D5UIC41W.js → Grow-DKgYCxiY.js} +13 -14
  24. package/dist/Grow-Z3KzFaK5.cjs +1 -0
  25. package/dist/{IconButton-CFUIddNg.js → IconButton-CCNUMz2l.js} +6 -6
  26. package/dist/{InputAdornment-GcbiriFv.js → InputAdornment-DL8XIM8r.js} +5 -5
  27. package/dist/{InputBase-DJuF09Rf.js → InputBase-By7jMrFP.js} +7 -7
  28. package/dist/{Link-DtsZ0d_s.js → Link-C_GPIs0q.js} +7 -7
  29. package/dist/{Menu-DD_bqi6q.js → Menu-BunOW0ot.js} +428 -306
  30. package/dist/Menu-Cngt8Va9.cjs +7 -0
  31. package/dist/MenuItem-Bha8aBMr.cjs +1 -0
  32. package/dist/{MenuItem-Byj-2QQd.js → MenuItem-Cu3FTLl8.js} +77 -72
  33. package/dist/{Modal-S2P14Nsp.js → Modal-DTJd7JJ6.js} +8 -8
  34. package/dist/{Modal-BG3hPYyH.cjs → Modal-u82Ss4h_.cjs} +1 -1
  35. package/dist/MoreVert-CrM_1EkN.js +8 -0
  36. package/dist/MoreVert-CxgmXooO.cjs +1 -0
  37. package/dist/{Paper-BrsaeLlu.js → Paper-BiZq6EF2.js} +4 -4
  38. package/dist/Popper-BVYscbsI.cjs +4 -0
  39. package/dist/{Popper-BNftxeQ5.js → Popper-DjwR55WH.js} +30 -31
  40. package/dist/{Portal-BLEnzj1v.js → Portal-BByeByPq.js} +2 -2
  41. package/dist/Portal-DUHpWdY1.cjs +1 -0
  42. package/dist/{Radio-CRTKwNe5.js → Radio-DSRS-tjj.js} +9 -9
  43. package/dist/{RadioGroup-NjI5PlIb.js → RadioGroup-cPdOWdYD.js} +3 -3
  44. package/dist/{Select-C0jrZLRg.js → Select-CZnKFG3o.js} +30 -30
  45. package/dist/{Select-8kBUq_SZ.cjs → Select-DZAzJA0y.cjs} +1 -1
  46. package/dist/{Stack-Bm7M81n8.js → Stack-hbAJHQhq.js} +22 -22
  47. package/dist/{Switch-D5FnE7HW.js → Switch-B9uT9-d0.js} +6 -6
  48. package/dist/{SwitchBase-91Mand9t.js → SwitchBase-CDkmnGAP.js} +5 -5
  49. package/dist/Tabs-AyJ_tKtV.cjs +4 -0
  50. package/dist/{Tabs-C5VIdTSp.js → Tabs-BYfDlOR9.js} +24 -25
  51. package/dist/{TextField-D5jS5WjF.js → TextField-BKfXjPdH.js} +8 -8
  52. package/dist/{TextField-BzqflYRV.cjs → TextField-CwcPgdgD.cjs} +1 -1
  53. package/dist/{ToggleButtonGroup-CipWZLXf.js → ToggleButtonGroup-B1yghh29.js} +3886 -2652
  54. package/dist/ToggleButtonGroup-NqurNgWT.cjs +140 -0
  55. package/dist/{Tooltip-DgTrUaHJ.js → Tooltip-B1NGvrJP.js} +10 -10
  56. package/dist/Tooltip-oNmnF7Bc.cjs +4 -0
  57. package/dist/{Typography-Ct2Sc9KM.js → Typography-SIQ6eleU.js} +5 -5
  58. package/dist/{capitalize-BJ0FEsU7.js → capitalize-3KLkrEtk.js} +1 -1
  59. package/dist/components/Alert/Alert.es.js +1 -1
  60. package/dist/components/Alert/index.es.js +1 -1
  61. package/dist/components/Button/Button.es.js +2 -2
  62. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  63. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  64. package/dist/components/DatePicker/index.cjs.js +1 -1
  65. package/dist/components/DatePicker/index.es.js +1 -1
  66. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  67. package/dist/components/Dialog/Dialog.es.js +2 -2
  68. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  69. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  70. package/dist/components/FileList/FileIcon.es.js +1 -1
  71. package/dist/components/FileList/FileListItem.es.js +4 -4
  72. package/dist/components/FolderCard/FolderCard.cjs.js +1 -0
  73. package/dist/components/FolderCard/FolderCard.d.ts +10 -0
  74. package/dist/components/FolderCard/FolderCard.es.js +80 -0
  75. package/dist/components/FolderCard/index.cjs.js +1 -0
  76. package/dist/components/FolderCard/index.d.ts +2 -0
  77. package/dist/components/FolderCard/index.es.js +4 -0
  78. package/dist/components/FolderCard/styles.cjs.js +1 -0
  79. package/dist/components/FolderCard/styles.d.ts +10 -0
  80. package/dist/components/FolderCard/styles.es.js +13 -0
  81. package/dist/components/FolderCard/types.cjs.js +1 -0
  82. package/dist/components/FolderCard/types.d.ts +11 -0
  83. package/dist/components/FolderCard/types.es.js +14 -0
  84. package/dist/components/Heading/Heading.es.js +2 -2
  85. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  86. package/dist/components/ImagePicker/ImagePicker.es.js +46 -45
  87. package/dist/components/Loader/Loader.es.js +1 -1
  88. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  89. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  90. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  91. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  92. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  93. package/dist/components/ResourceCard/ResourceCard.es.js +16 -18
  94. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  95. package/dist/components/index.cjs.js +1 -1
  96. package/dist/components/index.d.ts +1 -0
  97. package/dist/components/index.es.js +299 -302
  98. package/dist/components/stories/Alert.stories.es.js +1 -1
  99. package/dist/components/stories/Button.stories.es.js +1 -1
  100. package/dist/components/stories/Card.stories.es.js +2 -2
  101. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  102. package/dist/components/stories/Chip.stories.es.js +1 -1
  103. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  104. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  105. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  106. package/dist/components/stories/Dialog.stories.es.js +2 -2
  107. package/dist/components/stories/Divider.stories.es.js +1 -1
  108. package/dist/components/stories/FolderCard.stories.cjs.js +1 -0
  109. package/dist/components/stories/FolderCard.stories.d.ts +7 -0
  110. package/dist/components/stories/FolderCard.stories.es.js +71 -0
  111. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  112. package/dist/components/stories/Heading.stories.es.js +2 -2
  113. package/dist/components/stories/IconButton.stories.es.js +2 -2
  114. package/dist/components/stories/Link.stories.es.js +1 -1
  115. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  116. package/dist/components/stories/Menu.stories.es.js +2 -2
  117. package/dist/components/stories/Paper.stories.es.js +1 -1
  118. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  119. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  120. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  121. package/dist/components/stories/Select.stories.cjs.js +1 -1
  122. package/dist/components/stories/Select.stories.es.js +3 -3
  123. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  124. package/dist/components/stories/TabList.stories.es.js +4 -4
  125. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  126. package/dist/components/stories/TextField.stories.es.js +1 -1
  127. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  128. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  129. package/dist/components/stories/Typography.stories.es.js +1 -1
  130. package/dist/{createSvgIcon-B62eln-G.js → createSvgIcon-K2ZAdASa.js} +6 -6
  131. package/dist/{dividerClasses-DjJZQ2Lt.js → dividerClasses-afsB3Yy1.js} +1 -1
  132. package/dist/{elementTypeAcceptingRef-B04tk6ag.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
  133. package/dist/{extendSxProp-CgS-3O19.js → extendSxProp-dlShX1xL.js} +1 -1
  134. package/dist/{generateUtilityClasses-EXBFO7eY.js → generateUtilityClasses-DotvgSDH.js} +9 -9
  135. package/dist/{index-DcwdJ8a_.js → index-B1u7G33_.js} +1 -1
  136. package/dist/{index-BZ7ldAwE.js → index-DTTmpNYg.js} +4 -4
  137. package/dist/index.cjs.js +1 -1
  138. package/dist/index.es.js +299 -302
  139. package/dist/{memoTheme-DJWQ754x.js → memoTheme-CqmIydD-.js} +1 -1
  140. package/dist/{refType-Bpj8bod6.js → refType-C210ipRY.js} +1 -1
  141. package/dist/{resolveComponentProps-CIdMNno4.js → resolveComponentProps-CPmhKPdH.js} +1 -1
  142. package/dist/{useSlot-RbAtahZu.js → useSlot-GZu0V5wJ.js} +1 -1
  143. package/dist/useSlotProps-C9tsxDNg.js +45 -0
  144. package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
  145. package/dist/useTheme-BA7tMglY.js +11 -0
  146. package/dist/{useTheme-CUKf8NYA.js → useTheme-tdgDVH1p.js} +1 -1
  147. package/dist/{useThemeProps-Bxjrhw9q.js → useThemeProps-BQlPXzo3.js} +2 -2
  148. package/dist/useThemeProps-BTfGtNci.js +17 -0
  149. package/dist/utils-CFI_-FMV.cjs +1 -0
  150. package/dist/{utils-B2jSugkj.js → utils-CXhh35wP.js} +104 -76
  151. package/package.json +1 -2
  152. package/dist/Backdrop-DOdBqGqq.cjs +0 -1
  153. package/dist/Collapse-Bvxtq7n-.cjs +0 -1
  154. package/dist/Collapse-wS8A5zc5.js +0 -334
  155. package/dist/CustomTreeItem-dmAy1wfu.cjs +0 -3
  156. package/dist/CustomTreeItem-kFMLEWpp.js +0 -1003
  157. package/dist/DatePicker-64gpvkmk.cjs +0 -13
  158. package/dist/Delete-BQA9--_t.js +0 -8
  159. package/dist/Delete-DmeDAs0n.cjs +0 -1
  160. package/dist/FormLabel-XpwTqbs8.cjs +0 -2
  161. package/dist/Grow-wjlsaPJ-.cjs +0 -1
  162. package/dist/List-BTPrBGqY.js +0 -130
  163. package/dist/List-Bo4pzQqG.cjs +0 -1
  164. package/dist/ListItem-C9OfYRAP.js +0 -423
  165. package/dist/ListItem-CB4JyjSb.cjs +0 -1
  166. package/dist/ListItemText-B_hEVsaT.js +0 -928
  167. package/dist/ListItemText-Bjd08uk4.cjs +0 -1
  168. package/dist/Menu-XypIRgTl.cjs +0 -7
  169. package/dist/MenuItem-vb36Ljmd.cjs +0 -1
  170. package/dist/Popper-BaxEpkdE.cjs +0 -4
  171. package/dist/Portal-Bw9XOIah.cjs +0 -1
  172. package/dist/Tabs-Csp29aqN.cjs +0 -4
  173. package/dist/ToggleButtonGroup-Bpi3kmko.cjs +0 -140
  174. package/dist/Tooltip-DJmbLjU6.cjs +0 -4
  175. package/dist/components/TreeView/TreeView.cjs.js +0 -7
  176. package/dist/components/TreeView/TreeView.d.ts +0 -4
  177. package/dist/components/TreeView/TreeView.es.js +0 -1892
  178. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +0 -1
  179. package/dist/components/TreeView/components/CustomTreeItem.d.ts +0 -3
  180. package/dist/components/TreeView/components/CustomTreeItem.es.js +0 -9
  181. package/dist/components/TreeView/index.cjs.js +0 -1
  182. package/dist/components/TreeView/index.d.ts +0 -2
  183. package/dist/components/TreeView/index.es.js +0 -6
  184. package/dist/components/TreeView/style.cjs.js +0 -1
  185. package/dist/components/TreeView/style.d.ts +0 -12
  186. package/dist/components/TreeView/style.es.js +0 -24
  187. package/dist/components/TreeView/types.cjs.js +0 -1
  188. package/dist/components/TreeView/types.d.ts +0 -37
  189. package/dist/components/TreeView/types.es.js +0 -4
  190. package/dist/components/TreeView/utils.cjs.js +0 -1
  191. package/dist/components/TreeView/utils.d.ts +0 -6
  192. package/dist/components/TreeView/utils.es.js +0 -51
  193. package/dist/components/stories/TreeView.stories.cjs.js +0 -63
  194. package/dist/components/stories/TreeView.stories.d.ts +0 -12
  195. package/dist/components/stories/TreeView.stories.es.js +0 -663
  196. package/dist/getReactElementRef-CTRMtaOQ.cjs +0 -1
  197. package/dist/getReactElementRef-DjLvttrJ.js +0 -31
  198. package/dist/index-Cr54V0sz.cjs +0 -1
  199. package/dist/index-D_xl88AE.js +0 -22
  200. package/dist/isMuiElement-BzDAj3yJ.cjs +0 -1
  201. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  202. package/dist/listItemTextClasses-BCuJjsDp.cjs +0 -1
  203. package/dist/listItemTextClasses-Kxu3VILo.js +0 -9
  204. package/dist/useSlotProps-BTRhbYwP.cjs +0 -1
  205. package/dist/useSlotProps-U2Iu6E0j.js +0 -25
  206. package/dist/useTheme-Czi7oO55.js +0 -11
  207. package/dist/useThemeProps-v-SfXuGn.js +0 -17
  208. package/dist/utils-lBmb5bp_.cjs +0 -1
  209. package/dist/warning-C8W811fV.js +0 -11
  210. package/dist/warning-DMUNDgRg.cjs +0 -2
@@ -1,4 +1,4 @@
1
- import { p as s } from "./DefaultPropsProvider-CQixa6JQ.js";
1
+ import { p as s } from "./DefaultPropsProvider-Cqcb4sws.js";
2
2
  const l = {
3
3
  theme: void 0
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as e } from "./generateUtilityClasses-EXBFO7eY.js";
1
+ import { P as e } from "./generateUtilityClasses-DotvgSDH.js";
2
2
  const p = e.oneOfType([e.func, e.object]);
3
3
  export {
4
4
  p as r
@@ -1,4 +1,4 @@
1
- import { I as l } from "./generateUtilityClasses-EXBFO7eY.js";
1
+ import { G as l } from "./generateUtilityClasses-DotvgSDH.js";
2
2
  function O(s) {
3
3
  return typeof s == "string";
4
4
  }
@@ -1,4 +1,4 @@
1
- import { r as y, m as T, a as g } from "./resolveComponentProps-CIdMNno4.js";
1
+ import { r as y, m as T, a as g } from "./resolveComponentProps-CPmhKPdH.js";
2
2
  import { u as h } from "./useForkRef-C_4o__cU.js";
3
3
  function E(o, n) {
4
4
  const {
@@ -0,0 +1,45 @@
1
+ import * as p from "react";
2
+ import { P as n } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { jsx as P } from "react/jsx-runtime";
4
+ import { r as d, m as v, a as R } from "./resolveComponentProps-CPmhKPdH.js";
5
+ import { u as x } from "./useForkRef-C_4o__cU.js";
6
+ const a = /* @__PURE__ */ p.createContext();
7
+ function S({
8
+ value: o,
9
+ ...r
10
+ }) {
11
+ return /* @__PURE__ */ P(a.Provider, {
12
+ value: o ?? !0,
13
+ ...r
14
+ });
15
+ }
16
+ process.env.NODE_ENV !== "production" && (S.propTypes = {
17
+ children: n.node,
18
+ value: n.bool
19
+ });
20
+ const k = () => p.useContext(a) ?? !1;
21
+ function w(o) {
22
+ var s;
23
+ const {
24
+ elementType: r,
25
+ externalSlotProps: l,
26
+ ownerState: t,
27
+ skipResolvingSlotProps: i = !1,
28
+ ...u
29
+ } = o, e = i ? {} : d(l, t), {
30
+ props: c,
31
+ internalRef: f
32
+ } = v({
33
+ ...u,
34
+ externalSlotProps: e
35
+ }), m = x(f, e == null ? void 0 : e.ref, (s = o.additionalProps) == null ? void 0 : s.ref);
36
+ return R(r, {
37
+ ...c,
38
+ ref: m
39
+ }, t);
40
+ }
41
+ export {
42
+ S as R,
43
+ w as a,
44
+ k as u
45
+ };
@@ -0,0 +1 @@
1
+ "use strict";const R=require("react"),c=require("./generateUtilityClasses-De8NU9_E.cjs"),S=require("react/jsx-runtime"),s=require("./resolveComponentProps-PuUs-PsA.cjs"),g=require("./useForkRef-CTI33h-3.cjs");function m(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const u=m(R),p=u.createContext();function i({value:e,...t}){return S.jsx(p.Provider,{value:e??!0,...t})}process.env.NODE_ENV!=="production"&&(i.propTypes={children:c.PropTypes.node,value:c.PropTypes.bool});const y=()=>u.useContext(p)??!1;function b(e){var l;const{elementType:t,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:a=!1,...f}=e,n=a?{}:s.resolveComponentProps(o,r),{props:P,internalRef:d}=s.mergeSlotProps({...f,externalSlotProps:n}),v=g.useForkRef(d,n==null?void 0:n.ref,(l=e.additionalProps)==null?void 0:l.ref);return s.appendOwnerState(t,{...P,ref:v},r)}exports.RtlProvider=i;exports.useRtl=y;exports.useSlotProps=b;
@@ -0,0 +1,11 @@
1
+ import * as o from "react";
2
+ import { d as r } from "./DefaultPropsProvider-Cqcb4sws.js";
3
+ import { T as m } from "./generateUtilityClasses-DotvgSDH.js";
4
+ import { u as t } from "./useTheme-tdgDVH1p.js";
5
+ function f() {
6
+ const e = t(r);
7
+ return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e[m] || e;
8
+ }
9
+ export {
10
+ f as u
11
+ };
@@ -1,4 +1,4 @@
1
- import { M as n } from "./generateUtilityClasses-EXBFO7eY.js";
1
+ import { M as n } from "./generateUtilityClasses-DotvgSDH.js";
2
2
  import * as o from "react";
3
3
  import { ThemeContext as m } from "@emotion/react";
4
4
  function r(e) {
@@ -1,5 +1,5 @@
1
- import { a as n } from "./DefaultPropsProvider-CQixa6JQ.js";
2
- import { u as p } from "./useTheme-CUKf8NYA.js";
1
+ import { a as n } from "./DefaultPropsProvider-Cqcb4sws.js";
2
+ import { u as p } from "./useTheme-tdgDVH1p.js";
3
3
  function m(t) {
4
4
  const {
5
5
  theme: e,
@@ -0,0 +1,17 @@
1
+ import { d as m } from "./DefaultPropsProvider-Cqcb4sws.js";
2
+ import { T as o } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { u as s } from "./useThemeProps-BQlPXzo3.js";
4
+ function a({
5
+ props: e,
6
+ name: r
7
+ }) {
8
+ return s({
9
+ props: e,
10
+ name: r,
11
+ defaultTheme: m,
12
+ themeId: o
13
+ });
14
+ }
15
+ export {
16
+ a as u
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";const n=require("./generateUtilityClasses-De8NU9_E.cjs"),N=require("./chainPropTypes-CEUi6Jb4.cjs"),m=require("react"),v=require("./TransitionGroupContext-Zt4NoR0u.cjs"),x=require("react-dom");function C(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const o in s)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(s,o);Object.defineProperty(a,o,i.get?i:{enumerable:!0,get:()=>s[o]})}}return a.default=s,Object.freeze(a)}const k=C(m);function w(s){const{prototype:a={}}=s;return!!a.isReactComponent}function R(s,a,o,i,t){const e=s[a],r=t||a;if(e==null||typeof window>"u")return null;let p;const u=e.type;return typeof u=="function"&&!w(u)&&(p="Did you accidentally use a plain function component for an element instead?"),p!==void 0?new Error(`Invalid ${i} \`${r}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const O=N.chainPropTypes(n.PropTypes.element,R);O.isRequired=N.chainPropTypes(n.PropTypes.element.isRequired,R);function q(s){var a;return parseInt(k.version,10)>=19?((a=s==null?void 0:s.props)==null?void 0:a.ref)||null:(s==null?void 0:s.ref)||null}const b={disabled:!1};var M=process.env.NODE_ENV!=="production"?n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.shape({enter:n.PropTypes.number,exit:n.PropTypes.number,appear:n.PropTypes.number}).isRequired]):null,I=process.env.NODE_ENV!=="production"?n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.shape({enter:n.PropTypes.string,exit:n.PropTypes.string,active:n.PropTypes.string}),n.PropTypes.shape({enter:n.PropTypes.string,enterDone:n.PropTypes.string,enterActive:n.PropTypes.string,exit:n.PropTypes.string,exitDone:n.PropTypes.string,exitActive:n.PropTypes.string})]):null,S=function(a){return a.scrollTop},y="unmounted",l="exited",f="entering",h="entered",P="exiting",c=function(s){v._inheritsLoose(a,s);function a(i,t){var e;e=s.call(this,i,t)||this;var r=t,p=r&&!r.isMounting?i.enter:i.appear,u;return e.appearStatus=null,i.in?p?(u=l,e.appearStatus=f):u=h:i.unmountOnExit||i.mountOnEnter?u=y:u=l,e.state={status:u},e.nextCallback=null,e}a.getDerivedStateFromProps=function(t,e){var r=t.in;return r&&e.status===y?{status:l}:null};var o=a.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==f&&r!==h&&(e=f):(r===f||r===h)&&(e=P)}this.updateStatus(!1,e)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var t=this.props.timeout,e,r,p;return e=r=p=t,t!=null&&typeof t!="number"&&(e=t.exit,r=t.enter,p=t.appear!==void 0?t.appear:r),{exit:e,enter:r,appear:p}},o.updateStatus=function(t,e){if(t===void 0&&(t=!1),e!==null)if(this.cancelNextCallback(),e===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:x.findDOMNode(this);r&&S(r)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:y})},o.performEnter=function(t){var e=this,r=this.props.enter,p=this.context?this.context.isMounting:t,u=this.props.nodeRef?[p]:[x.findDOMNode(this),p],d=u[0],T=u[1],g=this.getTimeouts(),D=p?g.appear:g.enter;if(!t&&!r||b.disabled){this.safeSetState({status:h},function(){e.props.onEntered(d)});return}this.props.onEnter(d,T),this.safeSetState({status:f},function(){e.props.onEntering(d,T),e.onTransitionEnd(D,function(){e.safeSetState({status:h},function(){e.props.onEntered(d,T)})})})},o.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),p=this.props.nodeRef?void 0:x.findDOMNode(this);if(!e||b.disabled){this.safeSetState({status:l},function(){t.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:P},function(){t.props.onExiting(p),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:l},function(){t.props.onExited(p)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},o.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(p){r&&(r=!1,e.nextCallback=null,t(p))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},o.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:x.findDOMNode(this),p=t==null&&!this.props.addEndListener;if(!r||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],d=u[0],T=u[1];this.props.addEndListener(d,T)}t!=null&&setTimeout(this.nextCallback,t)},o.render=function(){var t=this.state.status;if(t===y)return null;var e=this.props,r=e.children;e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef;var p=v._objectWithoutPropertiesLoose(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(v.TransitionGroupContext.Provider,{value:null},typeof r=="function"?r(t,p):m.cloneElement(m.Children.only(r),p))},a}(m.Component);c.contextType=v.TransitionGroupContext;c.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:n.PropTypes.shape({current:typeof Element>"u"?n.PropTypes.any:function(s,a,o,i,t,e){var r=s[a];return n.PropTypes.instanceOf(r&&"ownerDocument"in r?r.ownerDocument.defaultView.Element:Element)(s,a,o,i,t,e)}}),children:n.PropTypes.oneOfType([n.PropTypes.func.isRequired,n.PropTypes.element.isRequired]).isRequired,in:n.PropTypes.bool,mountOnEnter:n.PropTypes.bool,unmountOnExit:n.PropTypes.bool,appear:n.PropTypes.bool,enter:n.PropTypes.bool,exit:n.PropTypes.bool,timeout:function(a){var o=M;a.addEndListener||(o=o.isRequired);for(var i=arguments.length,t=new Array(i>1?i-1:0),e=1;e<i;e++)t[e-1]=arguments[e];return o.apply(void 0,[a].concat(t))},addEndListener:n.PropTypes.func,onEnter:n.PropTypes.func,onEntering:n.PropTypes.func,onEntered:n.PropTypes.func,onExit:n.PropTypes.func,onExiting:n.PropTypes.func,onExited:n.PropTypes.func}:{};function E(){}c.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E};c.UNMOUNTED=y;c.EXITED=l;c.ENTERING=f;c.ENTERED=h;c.EXITING=P;const L=s=>s.scrollTop;function U(s,a){const{timeout:o,easing:i,style:t={}}=s;return{duration:t.transitionDuration??(typeof o=="number"?o:o[a.mode]||0),easing:t.transitionTimingFunction??(typeof i=="object"?i[a.mode]:i),delay:t.transitionDelay}}exports.Transition=c;exports.classNamesShape=I;exports.elementAcceptingRef=O;exports.forceReflow=S;exports.getReactElementRef=q;exports.getTransitionProps=U;exports.reflow=L;
@@ -1,15 +1,41 @@
1
- import { _ as D, a as C, T as S } from "./TransitionGroupContext-DbLioz_6.js";
2
- import { P as n } from "./generateUtilityClasses-EXBFO7eY.js";
1
+ import { P as n } from "./generateUtilityClasses-DotvgSDH.js";
2
+ import { c as R } from "./chainPropTypes-D9lkm76m.js";
3
+ import * as y from "react";
3
4
  import v from "react";
4
- import b from "react-dom";
5
+ import { _ as C, a as k, T as S } from "./TransitionGroupContext-DbLioz_6.js";
6
+ import g from "react-dom";
7
+ function w(u) {
8
+ const {
9
+ prototype: s = {}
10
+ } = u;
11
+ return !!s.isReactComponent;
12
+ }
13
+ function O(u, s, a, r, e) {
14
+ const t = u[s], i = e || s;
15
+ if (t == null || // When server-side rendering React doesn't warn either.
16
+ // This is not an accurate check for SSR.
17
+ // This is only in place for Emotion compat.
18
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
19
+ typeof window > "u")
20
+ return null;
21
+ let o;
22
+ const p = t.type;
23
+ return typeof p == "function" && !w(p) && (o = "Did you accidentally use a plain function component for an element instead?"), o !== void 0 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${o} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
24
+ }
25
+ const I = R(n.element, O);
26
+ I.isRequired = R(n.element.isRequired, O);
27
+ function A(u) {
28
+ var s;
29
+ return parseInt(y.version, 10) >= 19 ? ((s = u == null ? void 0 : u.props) == null ? void 0 : s.ref) || null : (u == null ? void 0 : u.ref) || null;
30
+ }
5
31
  const N = {
6
32
  disabled: !1
7
33
  };
8
- var R = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
34
+ var M = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
9
35
  enter: n.number,
10
36
  exit: n.number,
11
37
  appear: n.number
12
- }).isRequired]) : null, I = process.env.NODE_ENV !== "production" ? n.oneOfType([n.string, n.shape({
38
+ }).isRequired]) : null, F = process.env.NODE_ENV !== "production" ? n.oneOfType([n.string, n.shape({
13
39
  enter: n.string,
14
40
  exit: n.string,
15
41
  active: n.string
@@ -20,58 +46,58 @@ var R = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
20
46
  exit: n.string,
21
47
  exitDone: n.string,
22
48
  exitActive: n.string
23
- })]) : null, y = function(a) {
24
- return a.scrollTop;
25
- }, x = "unmounted", f = "exited", c = "entering", h = "entered", g = "exiting", l = /* @__PURE__ */ function(u) {
26
- D(a, u);
27
- function a(r, e) {
49
+ })]) : null, P = function(s) {
50
+ return s.scrollTop;
51
+ }, x = "unmounted", l = "exited", c = "entering", h = "entered", T = "exiting", f = /* @__PURE__ */ function(u) {
52
+ C(s, u);
53
+ function s(r, e) {
28
54
  var t;
29
55
  t = u.call(this, r, e) || this;
30
- var i = e, s = i && !i.isMounting ? r.enter : r.appear, p;
31
- return t.appearStatus = null, r.in ? s ? (p = f, t.appearStatus = c) : p = h : r.unmountOnExit || r.mountOnEnter ? p = x : p = f, t.state = {
56
+ var i = e, o = i && !i.isMounting ? r.enter : r.appear, p;
57
+ return t.appearStatus = null, r.in ? o ? (p = l, t.appearStatus = c) : p = h : r.unmountOnExit || r.mountOnEnter ? p = x : p = l, t.state = {
32
58
  status: p
33
59
  }, t.nextCallback = null, t;
34
60
  }
35
- a.getDerivedStateFromProps = function(e, t) {
61
+ s.getDerivedStateFromProps = function(e, t) {
36
62
  var i = e.in;
37
63
  return i && t.status === x ? {
38
- status: f
64
+ status: l
39
65
  } : null;
40
66
  };
41
- var o = a.prototype;
42
- return o.componentDidMount = function() {
67
+ var a = s.prototype;
68
+ return a.componentDidMount = function() {
43
69
  this.updateStatus(!0, this.appearStatus);
44
- }, o.componentDidUpdate = function(e) {
70
+ }, a.componentDidUpdate = function(e) {
45
71
  var t = null;
46
72
  if (e !== this.props) {
47
73
  var i = this.state.status;
48
- this.props.in ? i !== c && i !== h && (t = c) : (i === c || i === h) && (t = g);
74
+ this.props.in ? i !== c && i !== h && (t = c) : (i === c || i === h) && (t = T);
49
75
  }
50
76
  this.updateStatus(!1, t);
51
- }, o.componentWillUnmount = function() {
77
+ }, a.componentWillUnmount = function() {
52
78
  this.cancelNextCallback();
53
- }, o.getTimeouts = function() {
54
- var e = this.props.timeout, t, i, s;
55
- return t = i = s = e, e != null && typeof e != "number" && (t = e.exit, i = e.enter, s = e.appear !== void 0 ? e.appear : i), {
79
+ }, a.getTimeouts = function() {
80
+ var e = this.props.timeout, t, i, o;
81
+ return t = i = o = e, e != null && typeof e != "number" && (t = e.exit, i = e.enter, o = e.appear !== void 0 ? e.appear : i), {
56
82
  exit: t,
57
83
  enter: i,
58
- appear: s
84
+ appear: o
59
85
  };
60
- }, o.updateStatus = function(e, t) {
86
+ }, a.updateStatus = function(e, t) {
61
87
  if (e === void 0 && (e = !1), t !== null)
62
88
  if (this.cancelNextCallback(), t === c) {
63
89
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
64
- var i = this.props.nodeRef ? this.props.nodeRef.current : b.findDOMNode(this);
65
- i && y(i);
90
+ var i = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this);
91
+ i && P(i);
66
92
  }
67
93
  this.performEnter(e);
68
94
  } else
69
95
  this.performExit();
70
- else this.props.unmountOnExit && this.state.status === f && this.setState({
96
+ else this.props.unmountOnExit && this.state.status === l && this.setState({
71
97
  status: x
72
98
  });
73
- }, o.performEnter = function(e) {
74
- var t = this, i = this.props.enter, s = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [s] : [b.findDOMNode(this), s], d = p[0], m = p[1], T = this.getTimeouts(), O = s ? T.appear : T.enter;
99
+ }, a.performEnter = function(e) {
100
+ var t = this, i = this.props.enter, o = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [o] : [g.findDOMNode(this), o], d = p[0], m = p[1], b = this.getTimeouts(), D = o ? b.appear : b.enter;
75
101
  if (!e && !i || N.disabled) {
76
102
  this.safeSetState({
77
103
  status: h
@@ -83,7 +109,7 @@ var R = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
83
109
  this.props.onEnter(d, m), this.safeSetState({
84
110
  status: c
85
111
  }, function() {
86
- t.props.onEntering(d, m), t.onTransitionEnd(O, function() {
112
+ t.props.onEntering(d, m), t.onTransitionEnd(D, function() {
87
113
  t.safeSetState({
88
114
  status: h
89
115
  }, function() {
@@ -91,42 +117,42 @@ var R = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
91
117
  });
92
118
  });
93
119
  });
94
- }, o.performExit = function() {
95
- var e = this, t = this.props.exit, i = this.getTimeouts(), s = this.props.nodeRef ? void 0 : b.findDOMNode(this);
120
+ }, a.performExit = function() {
121
+ var e = this, t = this.props.exit, i = this.getTimeouts(), o = this.props.nodeRef ? void 0 : g.findDOMNode(this);
96
122
  if (!t || N.disabled) {
97
123
  this.safeSetState({
98
- status: f
124
+ status: l
99
125
  }, function() {
100
- e.props.onExited(s);
126
+ e.props.onExited(o);
101
127
  });
102
128
  return;
103
129
  }
104
- this.props.onExit(s), this.safeSetState({
105
- status: g
130
+ this.props.onExit(o), this.safeSetState({
131
+ status: T
106
132
  }, function() {
107
- e.props.onExiting(s), e.onTransitionEnd(i.exit, function() {
133
+ e.props.onExiting(o), e.onTransitionEnd(i.exit, function() {
108
134
  e.safeSetState({
109
- status: f
135
+ status: l
110
136
  }, function() {
111
- e.props.onExited(s);
137
+ e.props.onExited(o);
112
138
  });
113
139
  });
114
140
  });
115
- }, o.cancelNextCallback = function() {
141
+ }, a.cancelNextCallback = function() {
116
142
  this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
117
- }, o.safeSetState = function(e, t) {
143
+ }, a.safeSetState = function(e, t) {
118
144
  t = this.setNextCallback(t), this.setState(e, t);
119
- }, o.setNextCallback = function(e) {
145
+ }, a.setNextCallback = function(e) {
120
146
  var t = this, i = !0;
121
- return this.nextCallback = function(s) {
122
- i && (i = !1, t.nextCallback = null, e(s));
147
+ return this.nextCallback = function(o) {
148
+ i && (i = !1, t.nextCallback = null, e(o));
123
149
  }, this.nextCallback.cancel = function() {
124
150
  i = !1;
125
151
  }, this.nextCallback;
126
- }, o.onTransitionEnd = function(e, t) {
152
+ }, a.onTransitionEnd = function(e, t) {
127
153
  this.setNextCallback(t);
128
- var i = this.props.nodeRef ? this.props.nodeRef.current : b.findDOMNode(this), s = e == null && !this.props.addEndListener;
129
- if (!i || s) {
154
+ var i = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this), o = e == null && !this.props.addEndListener;
155
+ if (!i || o) {
130
156
  setTimeout(this.nextCallback, 0);
131
157
  return;
132
158
  }
@@ -135,23 +161,23 @@ var R = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
135
161
  this.props.addEndListener(d, m);
136
162
  }
137
163
  e != null && setTimeout(this.nextCallback, e);
138
- }, o.render = function() {
164
+ }, a.render = function() {
139
165
  var e = this.state.status;
140
166
  if (e === x)
141
167
  return null;
142
168
  var t = this.props, i = t.children;
143
169
  t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
144
- var s = C(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
170
+ var o = k(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
145
171
  return (
146
172
  // allows for nested Transitions
147
173
  /* @__PURE__ */ v.createElement(S.Provider, {
148
174
  value: null
149
- }, typeof i == "function" ? i(e, s) : v.cloneElement(v.Children.only(i), s))
175
+ }, typeof i == "function" ? i(e, o) : v.cloneElement(v.Children.only(i), o))
150
176
  );
151
- }, a;
177
+ }, s;
152
178
  }(v.Component);
153
- l.contextType = S;
154
- l.propTypes = process.env.NODE_ENV !== "production" ? {
179
+ f.contextType = S;
180
+ f.propTypes = process.env.NODE_ENV !== "production" ? {
155
181
  /**
156
182
  * A React reference to DOM element that need to transition:
157
183
  * https://stackoverflow.com/a/51127130/4671932
@@ -164,9 +190,9 @@ l.propTypes = process.env.NODE_ENV !== "production" ? {
164
190
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
165
191
  */
166
192
  nodeRef: n.shape({
167
- current: typeof Element > "u" ? n.any : function(u, a, o, r, e, t) {
168
- var i = u[a];
169
- return n.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(u, a, o, r, e, t);
193
+ current: typeof Element > "u" ? n.any : function(u, s, a, r, e, t) {
194
+ var i = u[s];
195
+ return n.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(u, s, a, r, e, t);
170
196
  }
171
197
  }),
172
198
  /**
@@ -246,12 +272,12 @@ l.propTypes = process.env.NODE_ENV !== "production" ? {
246
272
  *
247
273
  * @type {number | { enter?: number, exit?: number, appear?: number }}
248
274
  */
249
- timeout: function(a) {
250
- var o = R;
251
- a.addEndListener || (o = o.isRequired);
275
+ timeout: function(s) {
276
+ var a = M;
277
+ s.addEndListener || (a = a.isRequired);
252
278
  for (var r = arguments.length, e = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
253
279
  e[t - 1] = arguments[t];
254
- return o.apply(void 0, [a].concat(e));
280
+ return a.apply(void 0, [s].concat(e));
255
281
  },
256
282
  /**
257
283
  * Add a custom transition end trigger. Called with the transitioning
@@ -322,7 +348,7 @@ l.propTypes = process.env.NODE_ENV !== "production" ? {
322
348
  } : {};
323
349
  function E() {
324
350
  }
325
- l.defaultProps = {
351
+ f.defaultProps = {
326
352
  in: !1,
327
353
  mountOnEnter: !1,
328
354
  unmountOnExit: !1,
@@ -336,28 +362,30 @@ l.defaultProps = {
336
362
  onExiting: E,
337
363
  onExited: E
338
364
  };
339
- l.UNMOUNTED = x;
340
- l.EXITED = f;
341
- l.ENTERING = c;
342
- l.ENTERED = h;
343
- l.EXITING = g;
344
- const P = (u) => u.scrollTop;
345
- function U(u, a) {
365
+ f.UNMOUNTED = x;
366
+ f.EXITED = l;
367
+ f.ENTERING = c;
368
+ f.ENTERED = h;
369
+ f.EXITING = T;
370
+ const X = (u) => u.scrollTop;
371
+ function $(u, s) {
346
372
  const {
347
- timeout: o,
373
+ timeout: a,
348
374
  easing: r,
349
375
  style: e = {}
350
376
  } = u;
351
377
  return {
352
- duration: e.transitionDuration ?? (typeof o == "number" ? o : o[a.mode] || 0),
353
- easing: e.transitionTimingFunction ?? (typeof r == "object" ? r[a.mode] : r),
378
+ duration: e.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
379
+ easing: e.transitionTimingFunction ?? (typeof r == "object" ? r[s.mode] : r),
354
380
  delay: e.transitionDelay
355
381
  };
356
382
  }
357
383
  export {
358
- l as T,
359
- I as c,
360
- y as f,
361
- U as g,
362
- P as r
384
+ f as T,
385
+ $ as a,
386
+ F as c,
387
+ I as e,
388
+ P as f,
389
+ A as g,
390
+ X as r
363
391
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.4.0-dev.1742200292",
3
+ "version": "1.4.0-dev.1742204063",
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",
@@ -33,7 +33,6 @@
33
33
  "@mui/icons-material": "6.4.5",
34
34
  "@mui/lab": "6.0.0-beta.28",
35
35
  "@mui/x-date-pickers": "7.27.0",
36
- "@mui/x-tree-view": "^7.26.0",
37
36
  "dayjs": "1.11.13",
38
37
  "react-dropzone": "14.3.5"
39
38
  },
@@ -1 +0,0 @@
1
- "use strict";const H=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),N=require("./useSlot-CC2AaOjN.cjs"),q=require("react/jsx-runtime"),B=require("./DefaultPropsProvider-wpBXjN8r.cjs"),W=require("./useTheme-CIf2b2wK.cjs"),b=require("./utils-lBmb5bp_.cjs"),G=require("./useForkRef-CTI33h-3.cjs"),F=require("./getReactElementRef-CTRMtaOQ.cjs");function I(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const s in n)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>n[s]})}}return r.default=n,Object.freeze(r)}const g=I(H),J={entering:{opacity:1},entered:{opacity:1}},D=g.forwardRef(function(r,s){const t=W.useTheme(),E={enter:t.transitions.duration.enteringScreen,exit:t.transitions.duration.leavingScreen},{addEndListener:u,appear:h=!0,children:d,easing:T,in:P,onEnter:f,onEntered:x,onEntering:R,onExit:m,onExited:k,onExiting:v,style:a,timeout:y=E,TransitionComponent:C=b.Transition,...j}=r,c=g.useRef(null),O=G.useForkRef(c,F.getReactElementRef(d),s),i=o=>p=>{if(o){const l=c.current;p===void 0?o(l):o(l,p)}},S=i(R),w=i((o,p)=>{b.reflow(o);const l=b.getTransitionProps({style:a,timeout:y,easing:T},{mode:"enter"});o.style.webkitTransition=t.transitions.create("opacity",l),o.style.transition=t.transitions.create("opacity",l),f&&f(o,p)}),_=i(x),L=i(v),z=i(o=>{const p=b.getTransitionProps({style:a,timeout:y,easing:T},{mode:"exit"});o.style.webkitTransition=t.transitions.create("opacity",p),o.style.transition=t.transitions.create("opacity",p),m&&m(o)}),V=i(k),A=o=>{u&&u(c.current,o)};return q.jsx(C,{appear:h,in:P,nodeRef:c,onEnter:w,onEntered:_,onEntering:S,onExit:z,onExited:V,onExiting:L,addEndListener:A,timeout:y,...j,children:(o,{ownerState:p,...l})=>g.cloneElement(d,{style:{opacity:0,visibility:o==="exited"&&!P?"hidden":void 0,...J[o],...a,...d.props.style},ref:O,...l})})});process.env.NODE_ENV!=="production"&&(D.propTypes={addEndListener:e.PropTypes.func,appear:e.PropTypes.bool,children:F.elementAcceptingRef.isRequired,easing:e.PropTypes.oneOfType([e.PropTypes.shape({enter:e.PropTypes.string,exit:e.PropTypes.string}),e.PropTypes.string]),in:e.PropTypes.bool,onEnter:e.PropTypes.func,onEntered:e.PropTypes.func,onEntering:e.PropTypes.func,onExit:e.PropTypes.func,onExited:e.PropTypes.func,onExiting:e.PropTypes.func,style:e.PropTypes.object,timeout:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});function U(n){return e.generateUtilityClass("MuiBackdrop",n)}const K=e.generateUtilityClasses("MuiBackdrop",["root","invisible"]),Q=n=>{const{classes:r,invisible:s}=n,t={root:["root",s&&"invisible"]};return B.composeClasses(t,U,r)},X=B.styled("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(n,r)=>{const{ownerState:s}=n;return[r.root,s.invisible&&r.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),M=g.forwardRef(function(r,s){const t=B.useDefaultProps({props:r,name:"MuiBackdrop"}),{children:E,className:u,component:h="div",invisible:d=!1,open:T,components:P={},componentsProps:f={},slotProps:x={},slots:R={},TransitionComponent:m,transitionDuration:k,...v}=t,a={...t,component:h,invisible:d},y=Q(a),C={transition:m,root:P.Root,...R},j={...f,...x},c={slots:C,slotProps:j},[O,i]=N.useSlot("root",{elementType:X,externalForwardedProps:c,className:e.clsx(y.root,u),ownerState:a}),[S,w]=N.useSlot("transition",{elementType:D,externalForwardedProps:c,ownerState:a});return q.jsx(S,{in:T,timeout:k,...v,...w,children:q.jsx(O,{"aria-hidden":!0,...i,classes:y,ref:s,children:E})})});process.env.NODE_ENV!=="production"&&(M.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,components:e.PropTypes.shape({Root:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({root:e.PropTypes.object}),invisible:e.PropTypes.bool,open:e.PropTypes.bool.isRequired,slotProps:e.PropTypes.shape({root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),transition:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({root:e.PropTypes.elementType,transition:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),TransitionComponent:e.PropTypes.elementType,transitionDuration:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});exports.Backdrop=M;exports.Fade=D;exports.backdropClasses=K;exports.getBackdropUtilityClass=U;
@@ -1 +0,0 @@
1
- "use strict";const te=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),ne=require("./useTheme-CIf2b2wK.cjs"),w=require("react/jsx-runtime"),h=require("./DefaultPropsProvider-wpBXjN8r.cjs"),oe=require("./memoTheme-DrjvJtTP.cjs"),b=require("./utils-lBmb5bp_.cjs"),re=require("./useTimeout-COCrDKz-.cjs"),se=require("./useForkRef-CTI33h-3.cjs"),ie=require("./elementTypeAcceptingRef-BjgxF5Bq.cjs");function pe(o){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const p=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(n,r,p.get?p:{enumerable:!0,get:()=>o[r]})}}return n.default=o,Object.freeze(n)}const E=pe(te);function U(o){return e.generateUtilityClass("MuiCollapse",o)}const ae=e.generateUtilityClasses("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),le=o=>{const{orientation:n,classes:r}=o,p={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return h.composeClasses(p,U,r)},ce=h.styled("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(o,n)=>{const{ownerState:r}=o;return[n.root,n[r.orientation],r.state==="entered"&&n.entered,r.state==="exited"&&!r.in&&r.collapsedSize==="0px"&&n.hidden]}})(oe.memoTheme(({theme:o})=>({height:0,overflow:"hidden",transition:o.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:o.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:n})=>n.state==="exited"&&!n.in&&n.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),ue=h.styled("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(o,n)=>n.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),de=h.styled("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(o,n)=>n.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),C=E.forwardRef(function(n,r){const p=h.useDefaultProps({props:n,name:"MuiCollapse"}),{addEndListener:S,children:A,className:H,collapsedSize:T="0px",component:L,easing:O,in:D,onEnter:j,onEntered:q,onEntering:$,onExit:N,onExited:_,onExiting:M,orientation:W="vertical",style:v,timeout:a=e.duration.standard,TransitionComponent:k=b.Transition,...V}=p,m={...p,orientation:W,collapsedSize:T},u=le(m),F=ne.useTheme(),B=re.useTimeout(),l=E.useRef(null),z=E.useRef(),g=typeof T=="number"?`${T}px`:T,d=W==="horizontal",y=d?"width":"height",P=E.useRef(null),G=se.useForkRef(r,P),c=t=>s=>{if(t){const i=P.current;s===void 0?t(i):t(i,s)}},R=()=>l.current?l.current[d?"clientWidth":"clientHeight"]:0,J=c((t,s)=>{l.current&&d&&(l.current.style.position="absolute"),t.style[y]=g,j&&j(t,s)}),K=c((t,s)=>{const i=R();l.current&&d&&(l.current.style.position="");const{duration:f,easing:x}=b.getTransitionProps({style:v,timeout:a,easing:O},{mode:"enter"});if(a==="auto"){const I=F.transitions.getAutoHeightDuration(i);t.style.transitionDuration=`${I}ms`,z.current=I}else t.style.transitionDuration=typeof f=="string"?f:`${f}ms`;t.style[y]=`${i}px`,t.style.transitionTimingFunction=x,$&&$(t,s)}),Q=c((t,s)=>{t.style[y]="auto",q&&q(t,s)}),X=c(t=>{t.style[y]=`${R()}px`,N&&N(t)}),Y=c(_),Z=c(t=>{const s=R(),{duration:i,easing:f}=b.getTransitionProps({style:v,timeout:a,easing:O},{mode:"exit"});if(a==="auto"){const x=F.transitions.getAutoHeightDuration(s);t.style.transitionDuration=`${x}ms`,z.current=x}else t.style.transitionDuration=typeof i=="string"?i:`${i}ms`;t.style[y]=g,t.style.transitionTimingFunction=f,M&&M(t)}),ee=t=>{a==="auto"&&B.start(z.current||0,t),S&&S(P.current,t)};return w.jsx(k,{in:D,onEnter:J,onEntered:Q,onEntering:K,onExit:X,onExited:Y,onExiting:Z,addEndListener:ee,nodeRef:P,timeout:a==="auto"?null:a,...V,children:(t,{ownerState:s,...i})=>w.jsx(ce,{as:L,className:e.clsx(u.root,H,{entered:u.entered,exited:!D&&g==="0px"&&u.hidden}[t]),style:{[d?"minWidth":"minHeight"]:g,...v},ref:G,ownerState:{...m,state:t},...i,children:w.jsx(ue,{ownerState:{...m,state:t},className:u.wrapper,ref:l,children:w.jsx(de,{ownerState:{...m,state:t},className:u.wrapperInner,children:A})})})})});process.env.NODE_ENV!=="production"&&(C.propTypes={addEndListener:e.PropTypes.func,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,collapsedSize:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),component:ie.elementTypeAcceptingRef,easing:e.PropTypes.oneOfType([e.PropTypes.shape({enter:e.PropTypes.string,exit:e.PropTypes.string}),e.PropTypes.string]),in:e.PropTypes.bool,onEnter:e.PropTypes.func,onEntered:e.PropTypes.func,onEntering:e.PropTypes.func,onExit:e.PropTypes.func,onExited:e.PropTypes.func,onExiting:e.PropTypes.func,orientation:e.PropTypes.oneOf(["horizontal","vertical"]),style:e.PropTypes.object,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),timeout:e.PropTypes.oneOfType([e.PropTypes.oneOf(["auto"]),e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});C&&(C.muiSupportAuto=!0);exports.Collapse=C;exports.collapseClasses=ae;exports.getCollapseUtilityClass=U;