@cgi-learning-hub/ui 1.3.5-dev.1739378027 → 1.3.5-dev.1739974341

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 (158) hide show
  1. package/dist/{Backdrop-Cvbj4YKG.cjs → Backdrop-BY124k9Q.cjs} +1 -1
  2. package/dist/{Backdrop-DZHacmMU.js → Backdrop-CZ3ay4ta.js} +2 -2
  3. package/dist/{Button-DovfjBkz.js → Button-Bqcf-Wrh.js} +1 -2
  4. package/dist/{Button-COTy9ASL.cjs → Button-qwUFZs87.cjs} +1 -1
  5. package/dist/{ButtonBase-DKNIY_Ve.cjs → ButtonBase-C9D6EAt-.cjs} +2 -2
  6. package/dist/{ButtonBase-eQU9HVgU.js → ButtonBase-ylADCBW1.js} +66 -66
  7. package/dist/CardContent-BMiRcSGk.cjs +1 -0
  8. package/dist/CardContent-CHoWb0DR.js +226 -0
  9. package/dist/{Checkbox-y6Kts0Hm.js → Checkbox-92V5IqYF.js} +2 -2
  10. package/dist/{Checkbox-YCpJS_3E.cjs → Checkbox-DVRfGO8D.cjs} +1 -1
  11. package/dist/{Chip-FQbM3QKF.cjs → Chip-Ch7Ec9PJ.cjs} +1 -1
  12. package/dist/{Chip-DT0H_Vjk.js → Chip-I3ytWE-R.js} +2 -2
  13. package/dist/{CloseRounded-Cu-sn6XC.cjs → CloseRounded-BpiJGsCY.cjs} +1 -1
  14. package/dist/{CloseRounded-Df8vYhLX.js → CloseRounded-Di7N75zk.js} +1 -1
  15. package/dist/{DatePicker-CYvDKr4R.js → DatePicker-ByvIBsyI.js} +48 -46
  16. package/dist/{DatePicker-BroG1y5g.cjs → DatePicker-D3AfDdBL.cjs} +11 -11
  17. package/dist/{Dialog-BFZeovlo.cjs → Dialog-DouQwf1_.cjs} +1 -1
  18. package/dist/{Dialog-D0fzD-TX.js → Dialog-GVgQOV8v.js} +2 -2
  19. package/dist/{DialogTitle-CXRmRtja.cjs → DialogTitle-BTBnlhmM.cjs} +1 -1
  20. package/dist/{DialogTitle-BXGok8k-.js → DialogTitle-Bw1Q-9PX.js} +1 -1
  21. package/dist/{Grow-EpJy9qdL.js → Grow-BL8Bx4y5.js} +1 -1
  22. package/dist/{Grow-BK4rGn4x.cjs → Grow-BjcgF7nV.cjs} +1 -1
  23. package/dist/{IconButton-CZvDgqOc.js → IconButton-C4GFAbeH.js} +1 -1
  24. package/dist/{IconButton-BUCTqOFa.cjs → IconButton-loyqjXrR.cjs} +1 -1
  25. package/dist/{Menu-_4rLUzDf.js → Menu-CtlPVqJo.js} +5 -5
  26. package/dist/{Menu-NuheFzLD.cjs → Menu-DiQ9wnM_.cjs} +1 -1
  27. package/dist/{MenuItem-D9Hs7HRQ.js → MenuItem-BCyMn0B-.js} +2 -2
  28. package/dist/{MenuItem-CNUAbgnE.cjs → MenuItem-DuLNR389.cjs} +1 -1
  29. package/dist/{Modal-a-cSzSt8.js → Modal-BBc68t3R.js} +5 -5
  30. package/dist/{Modal-BhIbbbzx.cjs → Modal-CGCKjoqp.cjs} +2 -2
  31. package/dist/{Popper-CPstdcBG.cjs → Popper-CyMmAyHW.cjs} +1 -1
  32. package/dist/{Popper-BcaTNUvi.js → Popper-Dotov0nV.js} +2 -2
  33. package/dist/{Portal-BL8eg_0C.cjs → Portal-BC_MWv30.cjs} +1 -1
  34. package/dist/{Portal-B8inUnB_.js → Portal-DvgoZfYl.js} +1 -1
  35. package/dist/Radio-BmCVKlgN.js +568 -0
  36. package/dist/Radio-Cta61QrN.cjs +1 -0
  37. package/dist/RadioGroup-BoBajGjF.js +190 -0
  38. package/dist/RadioGroup-CA-GTAeR.cjs +1 -0
  39. package/dist/Select-Bm-ZcxRN.cjs +3 -0
  40. package/dist/{Select-D4pmgfdb.js → Select-DCbhewsz.js} +71 -67
  41. package/dist/Switch-BMjiyNyB.cjs +1 -0
  42. package/dist/Switch-JIoNRv7S.js +330 -0
  43. package/dist/{SwitchBase-VA100mrf.cjs → SwitchBase-CaXyAuEt.cjs} +1 -1
  44. package/dist/{SwitchBase-ynQQkTVh.js → SwitchBase-Ccit_gYg.js} +1 -1
  45. package/dist/{Tabs-DzbNYi2v.js → Tabs-Bhy2g9Y0.js} +3 -3
  46. package/dist/{Tabs-Bg_Zi8UV.cjs → Tabs-ll24SDcl.cjs} +1 -1
  47. package/dist/{TextField-BcAZk2Rx.cjs → TextField-C5lHwquP.cjs} +1 -1
  48. package/dist/{TextField-dvVq-1Hp.js → TextField-FNS4AqVd.js} +2 -2
  49. package/dist/ToggleButtonGroup-CEPDUgtK.cjs +167 -0
  50. package/dist/ToggleButtonGroup-qi5MsGIW.js +10602 -0
  51. package/dist/{Tooltip-CVvaAqh7.js → Tooltip-AHSVG6xQ.js} +5 -5
  52. package/dist/{Tooltip-DL2i_lGL.cjs → Tooltip-C2KS56xn.cjs} +1 -1
  53. package/dist/components/Alert/Alert.es.js +13 -4
  54. package/dist/components/Button/Button.cjs.js +1 -1
  55. package/dist/components/Button/Button.d.ts +1 -2
  56. package/dist/components/Button/Button.es.js +20 -4
  57. package/dist/components/Button/index.cjs.js +1 -1
  58. package/dist/components/Button/index.es.js +2 -2
  59. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  60. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  61. package/dist/components/DatePicker/index.cjs.js +1 -1
  62. package/dist/components/DatePicker/index.es.js +1 -1
  63. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  64. package/dist/components/Dialog/Dialog.es.js +2 -2
  65. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  66. package/dist/components/Dropzone/Dropzone.es.js +1 -1
  67. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  68. package/dist/components/FileList/FileIcon.es.js +1 -1
  69. package/dist/components/FileList/FileList.cjs.js +1 -1
  70. package/dist/components/FileList/FileList.es.js +15 -17
  71. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  72. package/dist/components/FileList/FileListItem.es.js +95 -88
  73. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  74. package/dist/components/ImagePicker/ImagePicker.es.js +47 -23
  75. package/dist/components/Loader/Loader.d.ts +1 -2
  76. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  77. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  78. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +1 -1
  79. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  80. package/dist/components/PasswordInput/PasswordInput.es.js +10 -9
  81. package/dist/components/QueryError/QueryError.d.ts +2 -2
  82. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  83. package/dist/components/ResourceCard/ResourceCard.d.ts +2 -2
  84. package/dist/components/ResourceCard/ResourceCard.es.js +73 -79
  85. package/dist/components/ResourceCard/style.es.js +65 -57
  86. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  87. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  88. package/dist/components/SearchInput/SearchInput.es.js +1 -1
  89. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  90. package/dist/components/TextInput/TextInput.es.js +1 -1
  91. package/dist/components/index.cjs.js +1 -1
  92. package/dist/components/index.d.ts +34 -0
  93. package/dist/components/index.es.js +347 -296
  94. package/dist/components/stories/Button.stories.cjs.js +1 -1
  95. package/dist/components/stories/Button.stories.es.js +2 -2
  96. package/dist/components/stories/Card.stories.cjs.js +1 -1
  97. package/dist/components/stories/Card.stories.es.js +17 -168
  98. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  99. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  100. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  101. package/dist/components/stories/Chip.stories.es.js +1 -1
  102. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  103. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  104. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  105. package/dist/components/stories/Dialog.stories.es.js +2 -2
  106. package/dist/components/stories/FileList.stories.cjs.js +1 -1
  107. package/dist/components/stories/FileList.stories.es.js +5 -7
  108. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  109. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  110. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  111. package/dist/components/stories/Heading.stories.es.js +1 -1
  112. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  113. package/dist/components/stories/IconButton.stories.es.js +2 -2
  114. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  115. package/dist/components/stories/Menu.stories.es.js +3 -3
  116. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  117. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  118. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  119. package/dist/components/stories/ResourceCard.stories.es.js +10 -4
  120. package/dist/components/stories/Select.stories.cjs.js +1 -1
  121. package/dist/components/stories/Select.stories.es.js +2 -2
  122. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  123. package/dist/components/stories/TabList.stories.es.js +1 -1
  124. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  125. package/dist/components/stories/TextField.stories.es.js +1 -1
  126. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  127. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  128. package/dist/{createSvgIcon-Cd6y8E9W.js → createSvgIcon-CIearCnQ.js} +44 -42
  129. package/dist/createSvgIcon-DKtSalut.cjs +1 -0
  130. package/dist/index.cjs.js +1 -1
  131. package/dist/index.es.js +347 -296
  132. package/dist/resolveComponentProps-CGmtduHt.cjs +1 -0
  133. package/dist/{mergeSlotProps-DwgGXvkj.js → resolveComponentProps-kRRJ79Kv.js} +6 -6
  134. package/dist/useSlot-BYekfmak.cjs +1 -0
  135. package/dist/{useSlot-BYfmyYXv.js → useSlot-CQW01GLa.js} +1 -1
  136. package/dist/useSlotProps-NZH6_nAj.cjs +1 -0
  137. package/dist/{useSlotProps-r0vmrJvl.js → useSlotProps-pX6ti4cn.js} +1 -1
  138. package/dist/utils-C6YMiaf0.cjs +1 -0
  139. package/dist/{utils-D4djO_Ph.js → utils-CSBYZkoB.js} +40 -40
  140. package/package.json +1 -1
  141. package/dist/Button-C-bZSJCq.cjs +0 -28
  142. package/dist/Button-CSNPv43f.js +0 -542
  143. package/dist/Card-B7MHmB_Y.js +0 -74
  144. package/dist/Card-CwE6nm11.cjs +0 -1
  145. package/dist/FormControlLabel-BjbkwHC0.js +0 -262
  146. package/dist/FormControlLabel-BjlJz2oa.cjs +0 -1
  147. package/dist/FormGroup-DdwFGMq2.js +0 -95
  148. package/dist/FormGroup-x7hlLAv1.cjs +0 -1
  149. package/dist/Radio-8fNX60rb.cjs +0 -1
  150. package/dist/Radio-DgedCGZw.js +0 -313
  151. package/dist/Select-DtrvYyJ3.cjs +0 -3
  152. package/dist/TableSortLabel-BXto8Tc7.js +0 -6440
  153. package/dist/TableSortLabel-h3un69IU.cjs +0 -98
  154. package/dist/createSvgIcon-CWNQW6u6.cjs +0 -1
  155. package/dist/mergeSlotProps-DJgEFzGv.cjs +0 -1
  156. package/dist/useSlot-CMUEd7j7.cjs +0 -1
  157. package/dist/useSlotProps-D0jr2eYF.cjs +0 -1
  158. package/dist/utils-BWXB1haV.cjs +0 -1
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as o, Fragment as c } from "react/jsx-runtime";
2
- import { c as a } from "../../createSvgIcon-Cd6y8E9W.js";
2
+ import { c as a } from "../../createSvgIcon-CIearCnQ.js";
3
3
  import { Box as n } from "@mui/material";
4
4
  import { useState as w } from "react";
5
5
  import { u as D } from "../../index-OesDQygc.js";
@@ -13,12 +13,16 @@ const m = a(/* @__PURE__ */ e("path", {
13
13
  d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
14
14
  }), "Delete"), P = () => /* @__PURE__ */ o(l, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
15
15
  /* @__PURE__ */ e(n, { component: "span", fontWeight: "bold", children: "Glissez-déposez" }),
16
- " ou ",
16
+ " ",
17
+ "ou",
18
+ " ",
17
19
  /* @__PURE__ */ e(n, { component: "span", fontWeight: "bold", children: "cliquez" }),
18
- " pour choisir une image"
20
+ " ",
21
+ "pour choisir une image"
19
22
  ] }), M = () => /* @__PURE__ */ o(l, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
20
23
  /* @__PURE__ */ e(n, { component: "span", fontWeight: "bold", children: "Glissez" }),
21
- " une image"
24
+ " ",
25
+ "une image"
22
26
  ] }), U = ({
23
27
  defaultLabel: g = /* @__PURE__ */ e(P, {}),
24
28
  dragLabel: u = /* @__PURE__ */ e(M, {}),
@@ -30,7 +34,9 @@ const m = a(/* @__PURE__ */ e("path", {
30
34
  initialFile: y = null,
31
35
  ...b
32
36
  }) => {
33
- const [t, d] = w(y), z = (r) => {
37
+ const [t, d] = w(
38
+ y
39
+ ), z = (r) => {
34
40
  const h = r[0] || null;
35
41
  d(h), s(h);
36
42
  }, k = (r) => {
@@ -147,26 +153,44 @@ const m = a(/* @__PURE__ */ e("path", {
147
153
  }
148
154
  )
149
155
  ] }) : /* @__PURE__ */ e(c, { children: S ? /* @__PURE__ */ o(c, { children: [
150
- /* @__PURE__ */ e(m, { color: "primary", style: {
151
- width: "2.5rem",
152
- height: "2.5rem"
153
- } }),
156
+ /* @__PURE__ */ e(
157
+ m,
158
+ {
159
+ color: "primary",
160
+ style: {
161
+ width: "2.5rem",
162
+ height: "2.5rem"
163
+ }
164
+ }
165
+ ),
154
166
  u,
155
167
  i && /* @__PURE__ */ e(l, { textAlign: "center", fontSize: "12px", color: "grey", children: i })
156
- ] }) : /* @__PURE__ */ o(n, { sx: {
157
- display: "flex",
158
- flexDirection: "column",
159
- alignItems: "center",
160
- padding: "0.5rem",
161
- gap: "0.3rem"
162
- }, children: [
163
- /* @__PURE__ */ e(m, { color: "primary", style: {
164
- width: "2.5rem",
165
- height: "2.5rem"
166
- } }),
167
- g,
168
- i && /* @__PURE__ */ e(l, { textAlign: "center", fontSize: "12px", color: "grey", children: i })
169
- ] }) })
168
+ ] }) : /* @__PURE__ */ o(
169
+ n,
170
+ {
171
+ sx: {
172
+ display: "flex",
173
+ flexDirection: "column",
174
+ alignItems: "center",
175
+ padding: "0.5rem",
176
+ gap: "0.3rem"
177
+ },
178
+ children: [
179
+ /* @__PURE__ */ e(
180
+ m,
181
+ {
182
+ color: "primary",
183
+ style: {
184
+ width: "2.5rem",
185
+ height: "2.5rem"
186
+ }
187
+ }
188
+ ),
189
+ g,
190
+ i && /* @__PURE__ */ e(l, { textAlign: "center", fontSize: "12px", color: "grey", children: i })
191
+ ]
192
+ }
193
+ ) })
170
194
  ]
171
195
  }
172
196
  );
@@ -1,4 +1,3 @@
1
- export interface LoaderProps {
2
- }
1
+ export type LoaderProps = {};
3
2
  declare const Loader: React.FunctionComponent<LoaderProps>;
4
3
  export default Loader;
@@ -1 +1 @@
1
- "use strict";require('../../assets/styles2.css');const r=require("react/jsx-runtime");;/* empty css */const e=require("../../Backdrop-Cvbj4YKG.cjs"),c=require("../../Box-CVaz7diG.cjs"),l=({})=>r.jsx(e.Backdrop,{open:!0,sx:{bgcolor:"background.default"},children:r.jsxs(c.Box,{className:"cs-loader-backdrop-inner",color:"primary.main",children:[r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"})]})});module.exports=l;
1
+ "use strict";require('../../assets/styles2.css');const r=require("react/jsx-runtime");;/* empty css */const e=require("../../Backdrop-BY124k9Q.cjs"),c=require("../../Box-CVaz7diG.cjs"),l=({})=>r.jsx(e.Backdrop,{open:!0,sx:{bgcolor:"background.default"},children:r.jsxs(c.Box,{className:"cs-loader-backdrop-inner",color:"primary.main",children:[r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"})]})});module.exports=l;
@@ -1,4 +1,3 @@
1
- export interface LoaderBackdropProps {
2
- }
1
+ export type LoaderBackdropProps = {};
3
2
  declare const LoaderBackdrop: React.FunctionComponent<LoaderBackdropProps>;
4
3
  export default LoaderBackdrop;
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
2
  import '../../assets/styles2.css';/* empty css */
3
- import { B as e } from "../../Backdrop-DZHacmMU.js";
3
+ import { B as e } from "../../Backdrop-CZ3ay4ta.js";
4
4
  import { B as l } from "../../Box-Cpg9IWKr.js";
5
5
  const n = ({}) => /* @__PURE__ */ r(e, { open: !0, sx: { bgcolor: "background.default" }, children: /* @__PURE__ */ o(l, { className: "cs-loader-backdrop-inner", color: "primary.main", children: [
6
6
  /* @__PURE__ */ r("label", { children: "●" }),
@@ -1 +1 @@
1
- "use strict";require('../../assets/styles2.css');require('../../assets/styles.css');const e=require("react/jsx-runtime"),u=require("react"),l=require("../TextInput/TextInput.cjs.js");require("../Alert/Alert.cjs.js");require("../../Button-C-bZSJCq.cjs");require("../../fr-JE-1WKP6.cjs");require("@mui/material");;/* empty css */;/* empty css */require("../ResourceCard/style.cjs.js");require("../SearchInput/SearchInput.cjs.js");const a=require("../../InputAdornment-CLIvW7Gk.cjs"),d=require("../../IconButton-BUCTqOFa.cjs"),r=require("../../createSvgIcon-CWNQW6u6.cjs"),p=r.createSvgIcon(e.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),q=r.createSvgIcon(e.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),w=s=>{const[n,i]=u.useState(!1),o=()=>i(t=>!t),c=t=>{t.preventDefault()};return e.jsx(l,{...s,variant:"outlined",label:s.label,type:n?"text":"password",InputProps:{endAdornment:e.jsx(a.InputAdornment,{position:"end",children:e.jsx(d.IconButton,{"aria-label":"toggle password visibility",onClick:o,onMouseDown:c,edge:"end",children:n?e.jsx(q,{}):e.jsx(p,{})})})}})};module.exports=w;
1
+ "use strict";require('../../assets/styles2.css');require('../../assets/styles.css');const e=require("react/jsx-runtime"),u=require("react");require("../Alert/Alert.cjs.js");require("../Button/Button.cjs.js");require("../../fr-JE-1WKP6.cjs");require("@mui/material");require("../FileList/FileListItem.cjs.js");;/* empty css */;/* empty css */require("../ResourceCard/style.cjs.js");require("../SearchInput/SearchInput.cjs.js");const l=require("../TextInput/TextInput.cjs.js"),a=require("../../InputAdornment-CLIvW7Gk.cjs"),d=require("../../IconButton-loyqjXrR.cjs"),n=require("../../createSvgIcon-DKtSalut.cjs"),q=n.createSvgIcon(e.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),p=n.createSvgIcon(e.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),w=s=>{const[r,i]=u.useState(!1),o=()=>i(t=>!t),c=t=>{t.preventDefault()};return e.jsx(l,{...s,variant:"outlined",label:s.label,type:r?"text":"password",InputProps:{endAdornment:e.jsx(a.InputAdornment,{position:"end",children:e.jsx(d.IconButton,{"aria-label":"toggle password visibility",onClick:o,onMouseDown:c,edge:"end",children:r?e.jsx(p,{}):e.jsx(q,{})})})}})};module.exports=w;
@@ -1,22 +1,23 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useState as a } from "react";
3
- import p from "../TextInput/TextInput.es.js";
4
3
  import "../Alert/Alert.es.js";
5
- import "../../Button-CSNPv43f.js";
4
+ import "../Button/Button.es.js";
6
5
  import "../../fr-B3qrCNcK.js";
7
6
  import "@mui/material";
7
+ import "../FileList/FileListItem.es.js";
8
8
  import '../../assets/styles2.css';import '../../assets/styles.css';/* empty css */
9
9
  /* empty css */
10
10
  import "../ResourceCard/style.es.js";
11
11
  import "../SearchInput/SearchInput.es.js";
12
- import { I as c } from "../../InputAdornment-XfxRdI9K.js";
13
- import { I as m } from "../../IconButton-CZvDgqOc.js";
14
- import { c as r } from "../../createSvgIcon-Cd6y8E9W.js";
12
+ import p from "../TextInput/TextInput.es.js";
13
+ import { I as m } from "../../InputAdornment-XfxRdI9K.js";
14
+ import { I as c } from "../../IconButton-C4GFAbeH.js";
15
+ import { c as r } from "../../createSvgIcon-CIearCnQ.js";
15
16
  const d = r(/* @__PURE__ */ o("path", {
16
17
  d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
17
18
  }), "Visibility"), f = r(/* @__PURE__ */ o("path", {
18
19
  d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"
19
- }), "VisibilityOff"), D = (i) => {
20
+ }), "VisibilityOff"), k = (i) => {
20
21
  const [s, e] = a(!1), n = () => e((t) => !t), l = (t) => {
21
22
  t.preventDefault();
22
23
  };
@@ -28,8 +29,8 @@ const d = r(/* @__PURE__ */ o("path", {
28
29
  label: i.label,
29
30
  type: s ? "text" : "password",
30
31
  InputProps: {
31
- endAdornment: /* @__PURE__ */ o(c, { position: "end", children: /* @__PURE__ */ o(
32
- m,
32
+ endAdornment: /* @__PURE__ */ o(m, { position: "end", children: /* @__PURE__ */ o(
33
+ c,
33
34
  {
34
35
  "aria-label": "toggle password visibility",
35
36
  onClick: n,
@@ -43,5 +44,5 @@ const d = r(/* @__PURE__ */ o("path", {
43
44
  );
44
45
  };
45
46
  export {
46
- D as default
47
+ k as default
47
48
  };
@@ -1,8 +1,8 @@
1
1
  import { SerializedError } from '@reduxjs/toolkit';
2
2
  import { FetchBaseQueryError } from '@reduxjs/toolkit/query';
3
- export interface QueryErrorProps {
3
+ export type QueryErrorProps = {
4
4
  error: FetchBaseQueryError | SerializedError | undefined;
5
5
  statusPrefix?: string;
6
- }
6
+ };
7
7
  declare const QueryError: React.FunctionComponent<QueryErrorProps>;
8
8
  export default QueryError;
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),d=require("@mui/material"),m=require("../../createSvgIcon-CWNQW6u6.cjs"),o=require("./style.cjs.js"),b=require("../EllipsisWithTooltip/EllipsisWithTooltip.cjs.js"),j=m.createSvgIcon(r.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert"),g=({isSelected:l=!1,onSelect:x=()=>{},image:u,title:n,defaultImage:h,propertyItems:i=[],infoIcons:s=[],size:t="md",width:p,onClick:c=()=>{}})=>(s=s.slice(0,3),r.jsx(d.Box,{sx:{width:p&&t==="md"?p:"320px"},children:r.jsxs(o.StyledCard,{selected:l,size:t,onClick:c,onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),c==null||c())},role:"button",tabIndex:0,"aria-label":`Resource card for ${n}`,children:[r.jsx(o.SelectedIcon,{onClick:e=>{e.preventDefault(),e.stopPropagation(),x()},onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),x())},className:"selected-icon",selected:l,role:"button",tabIndex:0,"aria-label":l?"Unselect card":"Select card",children:r.jsx(j,{})}),r.jsx(d.Stack,{sx:{width:t=="sm"?110:"100%",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box"},children:r.jsx(o.ResourceCardImage,{image:u,defaultImage:h,size:t,role:"img","aria-label":`Image for ${n}`})}),r.jsxs(o.ResourceCardBody,{size:t,children:[r.jsx(b,{typographyProps:{fontWeight:"700",fontSize:"1.1rem"},tooltipProps:{placement:"bottom",arrow:!0},children:n}),i.length>0&&i.map((e,a)=>r.jsxs(o.ResourcePropertyItem,{size:t,role:"group","aria-label":`Property ${a}`,children:[e.icon,r.jsx(o.ResourcePropertyText,{isLast:a===i.length-1,size:t,width:p,children:e.text})]},`property-${a}`)),r.jsx(o.PublicIconWrapper,{size:t,children:s.length>0&&s.map((e,a)=>r.jsx(d.Tooltip,{title:e.text,placement:"top",arrow:!0,children:r.jsx(o.ResourceIconItem,{size:t,role:"button",tabIndex:0,"aria-label":e.text,children:e.icon})},`info-${a}`))})]})]})}));module.exports=g;
1
+ "use strict";const r=require("react/jsx-runtime"),m=require("../../createSvgIcon-DKtSalut.cjs"),d=require("@mui/material"),b=require("../EllipsisWithTooltip/EllipsisWithTooltip.cjs.js"),o=require("./style.cjs.js"),j=m.createSvgIcon(r.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert"),g=({isSelected:l=!1,onSelect:x=()=>{},image:u,title:n,defaultImage:h,propertyItems:i=[],infoIcons:s=[],size:t="md",width:p,onClick:c=()=>{}})=>(s=s.slice(0,3),r.jsx(d.Box,{sx:{width:p&&t==="md"?p:"320px"},children:r.jsxs(o.StyledCard,{selected:l,size:t,onClick:c,onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),c==null||c())},role:"button",tabIndex:0,"aria-label":`Resource card for ${n}`,children:[r.jsx(o.SelectedIcon,{onClick:e=>{e.preventDefault(),e.stopPropagation(),x()},onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),x())},className:"selected-icon",selected:l,role:"button",tabIndex:0,"aria-label":l?"Unselect card":"Select card",children:r.jsx(j,{})}),r.jsx(d.Stack,{sx:{width:t=="sm"?110:"100%",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box"},children:r.jsx(o.ResourceCardImage,{image:u,defaultImage:h,size:t,role:"img","aria-label":`Image for ${n}`})}),r.jsxs(o.ResourceCardBody,{size:t,children:[r.jsx(b,{typographyProps:{fontWeight:"700",fontSize:"1.1rem"},tooltipProps:{placement:"bottom",arrow:!0},children:n}),i.length>0&&i.map((e,a)=>r.jsxs(o.ResourcePropertyItem,{size:t,role:"group","aria-label":`Property ${a}`,children:[e.icon,r.jsx(o.ResourcePropertyText,{isLast:a===i.length-1,size:t,width:p,children:e.text})]},`property-${a}`)),r.jsx(o.PublicIconWrapper,{size:t,children:s.length>0&&s.map((e,a)=>r.jsx(d.Tooltip,{title:e.text,placement:"top",arrow:!0,children:r.jsx(o.ResourceIconItem,{size:t,role:"button",tabIndex:0,"aria-label":e.text,children:e.icon})},`info-${a}`))})]})]})}));module.exports=g;
@@ -8,7 +8,7 @@ export type InfoItem = {
8
8
  icon: ReactNode;
9
9
  };
10
10
  export type ResourceCardSize = "md" | "sm";
11
- export interface ResourceCardProps {
11
+ export type ResourceCardProps = {
12
12
  isSelected?: boolean;
13
13
  onSelect?: () => void;
14
14
  image?: string;
@@ -19,6 +19,6 @@ export interface ResourceCardProps {
19
19
  size?: ResourceCardSize;
20
20
  width?: string;
21
21
  onClick?: () => void;
22
- }
22
+ };
23
23
  declare const ResourceCard: React.FunctionComponent<ResourceCardProps>;
24
24
  export default ResourceCard;
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
- import { Box as h, Stack as b, Tooltip as x } from "@mui/material";
3
- import { c as f } from "../../createSvgIcon-Cd6y8E9W.js";
4
- import { StyledCard as g, SelectedIcon as y, ResourceCardImage as P, ResourceCardBody as R, ResourcePropertyItem as I, ResourcePropertyText as D, PublicIconWrapper as $, ResourceIconItem as v } from "./style.es.js";
5
- import w from "../EllipsisWithTooltip/EllipsisWithTooltip.es.js";
6
- const S = f(/* @__PURE__ */ r("path", {
2
+ import { c as h } from "../../createSvgIcon-CIearCnQ.js";
3
+ import { Box as b, Stack as x, Tooltip as f } from "@mui/material";
4
+ import g from "../EllipsisWithTooltip/EllipsisWithTooltip.es.js";
5
+ import { StyledCard as y, SelectedIcon as P, ResourceCardImage as R, ResourceCardBody as I, ResourcePropertyItem as D, ResourcePropertyText as $, PublicIconWrapper as v, ResourceIconItem as w } from "./style.es.js";
6
+ const S = h(/* @__PURE__ */ r("path", {
7
7
  d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
8
8
  }), "MoreVert"), B = ({
9
9
  isSelected: c = !1,
@@ -18,8 +18,8 @@ const S = f(/* @__PURE__ */ r("path", {
18
18
  width: d,
19
19
  onClick: l = () => {
20
20
  }
21
- }) => (a = a.slice(0, 3), /* @__PURE__ */ r(h, { sx: { width: d && t === "md" ? d : "320px" }, children: /* @__PURE__ */ i(
22
- g,
21
+ }) => (a = a.slice(0, 3), /* @__PURE__ */ r(b, { sx: { width: d && t === "md" ? d : "320px" }, children: /* @__PURE__ */ i(
22
+ y,
23
23
  {
24
24
  selected: c,
25
25
  size: t,
@@ -32,7 +32,7 @@ const S = f(/* @__PURE__ */ r("path", {
32
32
  "aria-label": `Resource card for ${n}`,
33
33
  children: [
34
34
  /* @__PURE__ */ r(
35
- y,
35
+ P,
36
36
  {
37
37
  onClick: (e) => {
38
38
  e.preventDefault(), e.stopPropagation(), m();
@@ -48,84 +48,78 @@ const S = f(/* @__PURE__ */ r("path", {
48
48
  children: /* @__PURE__ */ r(S, {})
49
49
  }
50
50
  ),
51
- /* @__PURE__ */ r(b, { sx: {
52
- width: t == "sm" ? 110 : "100%",
53
- display: "flex",
54
- alignItems: "center",
55
- justifyContent: "center",
56
- boxSizing: "border-box"
57
- }, children: /* @__PURE__ */ r(
58
- P,
51
+ /* @__PURE__ */ r(
52
+ x,
59
53
  {
60
- image: s,
61
- defaultImage: u,
62
- size: t,
63
- role: "img",
64
- "aria-label": `Image for ${n}`
54
+ sx: {
55
+ width: t == "sm" ? 110 : "100%",
56
+ display: "flex",
57
+ alignItems: "center",
58
+ justifyContent: "center",
59
+ boxSizing: "border-box"
60
+ },
61
+ children: /* @__PURE__ */ r(
62
+ R,
63
+ {
64
+ image: s,
65
+ defaultImage: u,
66
+ size: t,
67
+ role: "img",
68
+ "aria-label": `Image for ${n}`
69
+ }
70
+ )
65
71
  }
66
- ) }),
67
- /* @__PURE__ */ i(
68
- R,
69
- {
70
- size: t,
71
- children: [
72
- /* @__PURE__ */ r(
72
+ ),
73
+ /* @__PURE__ */ i(I, { size: t, children: [
74
+ /* @__PURE__ */ r(
75
+ g,
76
+ {
77
+ typographyProps: { fontWeight: "700", fontSize: "1.1rem" },
78
+ tooltipProps: { placement: "bottom", arrow: !0 },
79
+ children: n
80
+ }
81
+ ),
82
+ p.length > 0 && p.map((e, o) => /* @__PURE__ */ i(
83
+ D,
84
+ {
85
+ size: t,
86
+ role: "group",
87
+ "aria-label": `Property ${o}`,
88
+ children: [
89
+ e.icon,
90
+ /* @__PURE__ */ r(
91
+ $,
92
+ {
93
+ isLast: o === p.length - 1,
94
+ size: t,
95
+ width: d,
96
+ children: e.text
97
+ }
98
+ )
99
+ ]
100
+ },
101
+ `property-${o}`
102
+ )),
103
+ /* @__PURE__ */ r(v, { size: t, children: a.length > 0 && a.map((e, o) => /* @__PURE__ */ r(
104
+ f,
105
+ {
106
+ title: e.text,
107
+ placement: "top",
108
+ arrow: !0,
109
+ children: /* @__PURE__ */ r(
73
110
  w,
74
- {
75
- typographyProps: { fontWeight: "700", fontSize: "1.1rem" },
76
- tooltipProps: { placement: "bottom", arrow: !0 },
77
- children: n
78
- }
79
- ),
80
- p.length > 0 && p.map((e, o) => /* @__PURE__ */ i(
81
- I,
82
- {
83
- size: t,
84
- role: "group",
85
- "aria-label": `Property ${o}`,
86
- children: [
87
- e.icon,
88
- /* @__PURE__ */ r(
89
- D,
90
- {
91
- isLast: o === p.length - 1,
92
- size: t,
93
- width: d,
94
- children: e.text
95
- }
96
- )
97
- ]
98
- },
99
- `property-${o}`
100
- )),
101
- /* @__PURE__ */ r(
102
- $,
103
111
  {
104
112
  size: t,
105
- children: a.length > 0 && a.map((e, o) => /* @__PURE__ */ r(
106
- x,
107
- {
108
- title: e.text,
109
- placement: "top",
110
- arrow: !0,
111
- children: /* @__PURE__ */ r(
112
- v,
113
- {
114
- size: t,
115
- role: "button",
116
- tabIndex: 0,
117
- "aria-label": e.text,
118
- children: e.icon
119
- }
120
- )
121
- },
122
- `info-${o}`
123
- ))
113
+ role: "button",
114
+ tabIndex: 0,
115
+ "aria-label": e.text,
116
+ children: e.icon
124
117
  }
125
118
  )
126
- ]
127
- }
128
- )
119
+ },
120
+ `info-${o}`
121
+ )) })
122
+ ] })
129
123
  ]
130
124
  }
131
125
  ) }));
@@ -19,35 +19,37 @@ const c = t(a)(({ theme: e, selected: o, size: i }) => ({
19
19
  visibility: "visible"
20
20
  }
21
21
  }
22
- })), m = t(r)(({ theme: e, selected: o }) => ({
23
- position: "absolute",
24
- top: 0,
25
- right: 0,
26
- width: "2rem",
27
- height: "2rem",
28
- background: e.palette.common.white,
29
- display: "flex",
30
- justifyContent: "center",
31
- alignItems: "center",
32
- padding: ".8rem",
33
- borderRadius: ".5rem",
34
- visibility: "visible",
35
- opacity: 0,
36
- cursor: "pointer",
37
- transition: "opacity 0.2s ease-in-out, visibility 0.2s ease-in-out",
38
- ...o && {
39
- background: e.palette.primary.lighter,
40
- opacity: 1,
41
- visibility: "visible"
42
- },
43
- "&:hover, &:focus": {
44
- background: e.palette.primary.lighter,
45
- opacity: 1
46
- },
47
- "& .MuiSvgIcon-root": {
48
- color: e.palette.primary.main
49
- }
50
- })), d = t(p)(({ size: e, image: o, defaultImage: i }) => ({
22
+ })), m = t(r)(
23
+ ({ theme: e, selected: o }) => ({
24
+ position: "absolute",
25
+ top: 0,
26
+ right: 0,
27
+ width: "2rem",
28
+ height: "2rem",
29
+ background: e.palette.common.white,
30
+ display: "flex",
31
+ justifyContent: "center",
32
+ alignItems: "center",
33
+ padding: ".8rem",
34
+ borderRadius: ".5rem",
35
+ visibility: "visible",
36
+ opacity: 0,
37
+ cursor: "pointer",
38
+ transition: "opacity 0.2s ease-in-out, visibility 0.2s ease-in-out",
39
+ ...o && {
40
+ background: e.palette.primary.lighter,
41
+ opacity: 1,
42
+ visibility: "visible"
43
+ },
44
+ "&:hover, &:focus": {
45
+ background: e.palette.primary.lighter,
46
+ opacity: 1
47
+ },
48
+ "& .MuiSvgIcon-root": {
49
+ color: e.palette.primary.main
50
+ }
51
+ })
52
+ ), d = t(p)(({ size: e, image: o, defaultImage: i }) => ({
51
53
  height: e == "sm" ? 85 : 180,
52
54
  width: e == "sm" ? 85 : "calc(100% - 2rem)",
53
55
  objectFit: "cover",
@@ -63,17 +65,19 @@ const c = t(a)(({ theme: e, selected: o, size: i }) => ({
63
65
  })), l = t(n)(({ size: e }) => ({
64
66
  padding: e == "sm" ? ".7rem 5px .7rem 0 !important" : "0 16px 16px 16px !important",
65
67
  width: e === "sm" ? "calc(100% - 110px)" : "100%"
66
- })), g = t(r)(({ size: e }) => ({
67
- display: "flex",
68
- alignItems: "center",
69
- marginTop: "0.5rem",
70
- ...e === "sm" && {
71
- svg: {
72
- width: ".8em",
73
- height: ".8em"
68
+ })), g = t(r)(
69
+ ({ size: e }) => ({
70
+ display: "flex",
71
+ alignItems: "center",
72
+ marginTop: "0.5rem",
73
+ ...e === "sm" && {
74
+ svg: {
75
+ width: ".8em",
76
+ height: ".8em"
77
+ }
74
78
  }
75
- }
76
- })), x = t(r)(({ size: e, width: o, isLast: i }) => ({
79
+ })
80
+ ), x = t(r)(({ size: e, width: o, isLast: i }) => ({
77
81
  marginLeft: e === "sm" ? ".3rem" : ".5rem",
78
82
  fontSize: e === "sm" ? "12px" : "15px",
79
83
  "& .MuiTypography-root": {
@@ -86,25 +90,29 @@ const c = t(a)(({ theme: e, selected: o, size: i }) => ({
86
90
  overflow: "hidden",
87
91
  maxWidth: e === "sm" ? "110px" : "172px"
88
92
  }
89
- })), u = t(r)(({ size: e }) => ({
90
- display: "inline-flex",
91
- alignItems: "center",
92
- justifyContent: "center",
93
- width: "fit-content",
94
- height: "fit-content",
95
- ...e === "sm" && {
96
- svg: {
97
- width: ".8em",
98
- height: ".8em"
93
+ })), u = t(r)(
94
+ ({ size: e }) => ({
95
+ display: "inline-flex",
96
+ alignItems: "center",
97
+ justifyContent: "center",
98
+ width: "fit-content",
99
+ height: "fit-content",
100
+ ...e === "sm" && {
101
+ svg: {
102
+ width: ".8em",
103
+ height: ".8em"
104
+ }
99
105
  }
100
- }
101
- })), h = t(r)(({ size: e }) => ({
102
- position: "absolute",
103
- bottom: e === "sm" ? ".65rem" : "16px",
104
- right: e === "sm" ? "8px" : "16px",
105
- display: "flex",
106
- gap: ".2rem"
107
- }));
106
+ })
107
+ ), h = t(r)(
108
+ ({ size: e }) => ({
109
+ position: "absolute",
110
+ bottom: e === "sm" ? ".65rem" : "16px",
111
+ right: e === "sm" ? "8px" : "16px",
112
+ display: "flex",
113
+ gap: ".2rem"
114
+ })
115
+ );
108
116
  export {
109
117
  h as PublicIconWrapper,
110
118
  l as ResourceCardBody,
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),n=require("../../DefaultPropsProvider-PRhNsS_3.cjs"),o=require("../../InputBase-BXcShs87.cjs"),s=require("../../InputAdornment-CLIvW7Gk.cjs"),u=require("../../createSvgIcon-CWNQW6u6.cjs"),a=u.createSvgIcon(t.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),c=n.styled(o.InputBase)(({theme:e})=>({width:"auto",padding:"0px 12px",backgroundColor:e.palette.grey[50],borderRadius:30,"& .MuiInputBase-input":{padding:"8px 0px"},"&:hover, &.Mui-focused":{"& .MuiInputAdornment-root":{color:e.palette.primary.main}}})),p=({placeholder:e="Rechercher",...r})=>t.jsx(c,{...r,placeholder:e,startAdornment:t.jsx(s.InputAdornment,{position:"start",disablePointerEvents:!0,children:t.jsx(a,{})}),type:"search",autoComplete:"off",autoCorrect:"off",spellCheck:!1});module.exports=p;
1
+ "use strict";const t=require("react/jsx-runtime"),n=require("../../DefaultPropsProvider-PRhNsS_3.cjs"),o=require("../../InputBase-BXcShs87.cjs"),s=require("../../InputAdornment-CLIvW7Gk.cjs"),u=require("../../createSvgIcon-DKtSalut.cjs"),a=u.createSvgIcon(t.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),c=n.styled(o.InputBase)(({theme:e})=>({width:"auto",padding:"0px 12px",backgroundColor:e.palette.grey[50],borderRadius:30,"& .MuiInputBase-input":{padding:"8px 0px"},"&:hover, &.Mui-focused":{"& .MuiInputAdornment-root":{color:e.palette.primary.main}}})),p=({placeholder:e="Rechercher",...r})=>t.jsx(c,{...r,placeholder:e,startAdornment:t.jsx(s.InputAdornment,{position:"start",disablePointerEvents:!0,children:t.jsx(a,{})}),type:"search",autoComplete:"off",autoCorrect:"off",spellCheck:!1});module.exports=p;
@@ -1,5 +1,4 @@
1
1
  import { InputBaseProps } from '@mui/material/InputBase';
2
- export interface SearchInputProps extends InputBaseProps {
3
- }
2
+ export type SearchInputProps = InputBaseProps & {};
4
3
  declare const SearchInput: React.FunctionComponent<SearchInputProps>;
5
4
  export default SearchInput;
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
2
2
  import { s as e } from "../../DefaultPropsProvider-CmOKr9hq.js";
3
3
  import { I as a } from "../../InputBase-DBsV_L3Y.js";
4
4
  import { I as p } from "../../InputAdornment-XfxRdI9K.js";
5
- import { c as n } from "../../createSvgIcon-Cd6y8E9W.js";
5
+ import { c as n } from "../../createSvgIcon-CIearCnQ.js";
6
6
  const s = n(/* @__PURE__ */ r("path", {
7
7
  d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
8
8
  }), "Search"), i = e(a)(({ theme: t }) => ({
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),r=require("../../TextField-BcAZk2Rx.cjs"),n=t=>e.jsx(r.TextField,{...t,variant:t.variant||"standard"});module.exports=n;
1
+ "use strict";const e=require("react/jsx-runtime"),r=require("../../TextField-C5lHwquP.cjs"),n=t=>e.jsx(r.TextField,{...t,variant:t.variant||"standard"});module.exports=n;
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { T as r } from "../../TextField-dvVq-1Hp.js";
2
+ import { T as r } from "../../TextField-FNS4AqVd.js";
3
3
  const i = (t) => /* @__PURE__ */ a(r, { ...t, variant: t.variant || "standard" });
4
4
  export {
5
5
  i as default