ece-docs-components 1.0.19 → 1.0.20

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 (850) hide show
  1. package/dist/cjs/_virtual/_commonjsHelpers.js +8 -0
  2. package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  3. package/dist/cjs/_virtual/hoist-non-react-statics.cjs.js +6 -0
  4. package/dist/cjs/_virtual/hoist-non-react-statics.cjs.js.map +1 -0
  5. package/dist/cjs/_virtual/index.js +12 -0
  6. package/dist/cjs/_virtual/index.js.map +1 -0
  7. package/dist/cjs/_virtual/index2.js +8 -0
  8. package/dist/cjs/_virtual/index2.js.map +1 -0
  9. package/dist/cjs/_virtual/index3.js +6 -0
  10. package/dist/cjs/_virtual/index3.js.map +1 -0
  11. package/dist/cjs/_virtual/index4.js +6 -0
  12. package/dist/cjs/_virtual/index4.js.map +1 -0
  13. package/dist/cjs/_virtual/index5.js +6 -0
  14. package/dist/cjs/_virtual/index5.js.map +1 -0
  15. package/dist/cjs/_virtual/index6.js +6 -0
  16. package/dist/cjs/_virtual/index6.js.map +1 -0
  17. package/dist/cjs/_virtual/jsx-runtime.js +8 -0
  18. package/dist/cjs/_virtual/jsx-runtime.js.map +1 -0
  19. package/dist/cjs/_virtual/jsx-runtime2.js +6 -0
  20. package/dist/cjs/_virtual/jsx-runtime2.js.map +1 -0
  21. package/dist/cjs/_virtual/react-is.development.js +6 -0
  22. package/dist/cjs/_virtual/react-is.development.js.map +1 -0
  23. package/dist/cjs/_virtual/react-is.development2.js +6 -0
  24. package/dist/cjs/_virtual/react-is.development2.js.map +1 -0
  25. package/dist/cjs/_virtual/react-is.development3.js +6 -0
  26. package/dist/cjs/_virtual/react-is.development3.js.map +1 -0
  27. package/dist/cjs/_virtual/react-is.production.js +6 -0
  28. package/dist/cjs/_virtual/react-is.production.js.map +1 -0
  29. package/dist/cjs/_virtual/react-is.production.min.js +6 -0
  30. package/dist/cjs/_virtual/react-is.production.min.js.map +1 -0
  31. package/dist/cjs/_virtual/react-is.production.min2.js +6 -0
  32. package/dist/cjs/_virtual/react-is.production.min2.js.map +1 -0
  33. package/dist/cjs/_virtual/react-jsx-runtime.development.js +6 -0
  34. package/dist/cjs/_virtual/react-jsx-runtime.development.js.map +1 -0
  35. package/dist/cjs/_virtual/react-jsx-runtime.production.js +6 -0
  36. package/dist/cjs/_virtual/react-jsx-runtime.production.js.map +1 -0
  37. package/dist/cjs/_virtual/react-jsx-runtime.production.min.js +6 -0
  38. package/dist/cjs/_virtual/react-jsx-runtime.production.min.js.map +1 -0
  39. package/dist/cjs/components/AcknowledgementBox.js.map +1 -1
  40. package/dist/cjs/components/ActionButton.js.map +1 -1
  41. package/dist/cjs/components/Alert.js.map +1 -1
  42. package/dist/cjs/components/Breadcrumb.js +39 -33
  43. package/dist/cjs/components/Breadcrumb.js.map +1 -1
  44. package/dist/cjs/components/Button.js +0 -1
  45. package/dist/cjs/components/Button.js.map +1 -1
  46. package/dist/cjs/components/Card.js.map +1 -1
  47. package/dist/cjs/components/Checkbox.js +4 -8
  48. package/dist/cjs/components/Checkbox.js.map +1 -1
  49. package/dist/cjs/components/Concertina.js.map +1 -1
  50. package/dist/cjs/components/DefinitionBox.js +16 -30
  51. package/dist/cjs/components/DefinitionBox.js.map +1 -1
  52. package/dist/cjs/components/ExpandingBox.js.map +1 -1
  53. package/dist/cjs/components/FileUploadButton.js +22 -0
  54. package/dist/cjs/components/FileUploadButton.js.map +1 -0
  55. package/dist/cjs/components/Header.js.map +1 -1
  56. package/dist/cjs/components/Input.js +10 -7
  57. package/dist/cjs/components/Input.js.map +1 -1
  58. package/dist/cjs/components/Modal.js +5 -0
  59. package/dist/cjs/components/Modal.js.map +1 -1
  60. package/dist/cjs/components/NoteBox.js.map +1 -1
  61. package/dist/cjs/components/PopoverMenu.js.map +1 -1
  62. package/dist/cjs/components/Progress.js +35 -14
  63. package/dist/cjs/components/Progress.js.map +1 -1
  64. package/dist/cjs/components/Radio.js.map +1 -1
  65. package/dist/cjs/components/ReadBy.js.map +1 -1
  66. package/dist/cjs/components/RichTextArea.js +50 -0
  67. package/dist/cjs/components/RichTextArea.js.map +1 -0
  68. package/dist/cjs/components/Select.js +2 -12
  69. package/dist/cjs/components/Select.js.map +1 -1
  70. package/dist/cjs/components/Sidebar.js.map +1 -1
  71. package/dist/cjs/components/SimpleModal.js.map +1 -1
  72. package/dist/cjs/components/StatusBar.js.map +1 -1
  73. package/dist/cjs/components/TableOfContents.js.map +1 -1
  74. package/dist/cjs/components/Tabs.js.map +1 -1
  75. package/dist/cjs/components/Toggle.js.map +1 -1
  76. package/dist/cjs/index.js +4 -0
  77. package/dist/cjs/index.js.map +1 -1
  78. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +11 -0
  79. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
  80. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +16 -0
  81. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
  82. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +12 -0
  83. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
  84. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +16 -0
  85. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
  86. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +12 -0
  87. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
  88. package/dist/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +504 -0
  89. package/dist/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -0
  90. package/dist/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +60 -0
  91. package/dist/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
  92. package/dist/cjs/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +21 -0
  93. package/dist/cjs/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -0
  94. package/dist/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +14 -0
  95. package/dist/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
  96. package/dist/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +172 -0
  97. package/dist/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js.map +1 -0
  98. package/dist/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +181 -0
  99. package/dist/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -0
  100. package/dist/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +215 -0
  101. package/dist/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +1 -0
  102. package/dist/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +141 -0
  103. package/dist/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -0
  104. package/dist/cjs/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +208 -0
  105. package/dist/cjs/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js.map +1 -0
  106. package/dist/cjs/node_modules/@emotion/styled/dist/emotion-styled.esm.js +18 -0
  107. package/dist/cjs/node_modules/@emotion/styled/dist/emotion-styled.esm.js.map +1 -0
  108. package/dist/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +57 -0
  109. package/dist/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -0
  110. package/dist/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +36 -0
  111. package/dist/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -0
  112. package/dist/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +59 -0
  113. package/dist/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -0
  114. package/dist/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +21 -0
  115. package/dist/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -0
  116. package/dist/cjs/node_modules/@mui/icons-material/esm/AddBoxRounded.js +14 -0
  117. package/dist/cjs/node_modules/@mui/icons-material/esm/AddBoxRounded.js.map +1 -0
  118. package/dist/cjs/node_modules/@mui/icons-material/esm/ChevronLeftRounded.js +14 -0
  119. package/dist/cjs/node_modules/@mui/icons-material/esm/ChevronLeftRounded.js.map +1 -0
  120. package/dist/cjs/node_modules/@mui/icons-material/esm/ChevronRightRounded.js +14 -0
  121. package/dist/cjs/node_modules/@mui/icons-material/esm/ChevronRightRounded.js.map +1 -0
  122. package/dist/cjs/node_modules/@mui/icons-material/esm/CloseRounded.js +14 -0
  123. package/dist/cjs/node_modules/@mui/icons-material/esm/CloseRounded.js.map +1 -0
  124. package/dist/cjs/node_modules/@mui/icons-material/esm/EditRounded.js +14 -0
  125. package/dist/cjs/node_modules/@mui/icons-material/esm/EditRounded.js.map +1 -0
  126. package/dist/cjs/node_modules/@mui/icons-material/esm/ErrorOutlineRounded.js +14 -0
  127. package/dist/cjs/node_modules/@mui/icons-material/esm/ErrorOutlineRounded.js.map +1 -0
  128. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandCircleDownOutlined.js +14 -0
  129. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandCircleDownOutlined.js.map +1 -0
  130. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandLessRounded.js +14 -0
  131. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandLessRounded.js.map +1 -0
  132. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandMoreRounded.js +14 -0
  133. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandMoreRounded.js.map +1 -0
  134. package/dist/cjs/node_modules/@mui/icons-material/esm/HelpOutlineRounded.js +14 -0
  135. package/dist/cjs/node_modules/@mui/icons-material/esm/HelpOutlineRounded.js.map +1 -0
  136. package/dist/cjs/node_modules/@mui/icons-material/esm/HighlightOffRounded.js +14 -0
  137. package/dist/cjs/node_modules/@mui/icons-material/esm/HighlightOffRounded.js.map +1 -0
  138. package/dist/cjs/node_modules/@mui/icons-material/esm/HomeRounded.js +14 -0
  139. package/dist/cjs/node_modules/@mui/icons-material/esm/HomeRounded.js.map +1 -0
  140. package/dist/cjs/node_modules/@mui/icons-material/esm/IndeterminateCheckBoxRounded.js +14 -0
  141. package/dist/cjs/node_modules/@mui/icons-material/esm/IndeterminateCheckBoxRounded.js.map +1 -0
  142. package/dist/cjs/node_modules/@mui/icons-material/esm/InfoOutlineRounded.js +14 -0
  143. package/dist/cjs/node_modules/@mui/icons-material/esm/InfoOutlineRounded.js.map +1 -0
  144. package/dist/cjs/node_modules/@mui/icons-material/esm/PieChartRounded.js +14 -0
  145. package/dist/cjs/node_modules/@mui/icons-material/esm/PieChartRounded.js.map +1 -0
  146. package/dist/cjs/node_modules/@mui/icons-material/esm/SchoolRounded.js +14 -0
  147. package/dist/cjs/node_modules/@mui/icons-material/esm/SchoolRounded.js.map +1 -0
  148. package/dist/cjs/node_modules/@mui/icons-material/esm/SearchRounded.js +14 -0
  149. package/dist/cjs/node_modules/@mui/icons-material/esm/SearchRounded.js.map +1 -0
  150. package/dist/cjs/node_modules/@mui/icons-material/esm/StickyNote2Rounded.js +14 -0
  151. package/dist/cjs/node_modules/@mui/icons-material/esm/StickyNote2Rounded.js.map +1 -0
  152. package/dist/cjs/node_modules/@mui/icons-material/esm/TaskAltRounded.js +14 -0
  153. package/dist/cjs/node_modules/@mui/icons-material/esm/TaskAltRounded.js.map +1 -0
  154. package/dist/cjs/node_modules/@mui/icons-material/esm/TextSnippetRounded.js +14 -0
  155. package/dist/cjs/node_modules/@mui/icons-material/esm/TextSnippetRounded.js.map +1 -0
  156. package/dist/cjs/node_modules/@mui/material/esm/Alert/Alert.js +407 -0
  157. package/dist/cjs/node_modules/@mui/material/esm/Alert/Alert.js.map +1 -0
  158. package/dist/cjs/node_modules/@mui/material/esm/Alert/alertClasses.js +15 -0
  159. package/dist/cjs/node_modules/@mui/material/esm/Alert/alertClasses.js.map +1 -0
  160. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.js +231 -0
  161. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.js.map +1 -0
  162. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/backdropClasses.js +12 -0
  163. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/backdropClasses.js.map +1 -0
  164. package/dist/cjs/node_modules/@mui/material/esm/Box/Box.js +41 -0
  165. package/dist/cjs/node_modules/@mui/material/esm/Box/Box.js.map +1 -0
  166. package/dist/cjs/node_modules/@mui/material/esm/Box/boxClasses.js +10 -0
  167. package/dist/cjs/node_modules/@mui/material/esm/Box/boxClasses.js.map +1 -0
  168. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/BreadcrumbCollapsed.js +98 -0
  169. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -0
  170. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js +263 -0
  171. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
  172. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/breadcrumbsClasses.js +15 -0
  173. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/breadcrumbsClasses.js.map +1 -0
  174. package/dist/cjs/node_modules/@mui/material/esm/Button/Button.js +710 -0
  175. package/dist/cjs/node_modules/@mui/material/esm/Button/Button.js.map +1 -0
  176. package/dist/cjs/node_modules/@mui/material/esm/Button/buttonClasses.js +15 -0
  177. package/dist/cjs/node_modules/@mui/material/esm/Button/buttonClasses.js.map +1 -0
  178. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +472 -0
  179. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js.map +1 -0
  180. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.js +109 -0
  181. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.js.map +1 -0
  182. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +353 -0
  183. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js.map +1 -0
  184. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/buttonBaseClasses.js +15 -0
  185. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/buttonBaseClasses.js.map +1 -0
  186. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js +10 -0
  187. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js.map +1 -0
  188. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js +36 -0
  189. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js.map +1 -0
  190. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js +36 -0
  191. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js.map +1 -0
  192. package/dist/cjs/node_modules/@mui/material/esm/Checkbox/Checkbox.js +304 -0
  193. package/dist/cjs/node_modules/@mui/material/esm/Checkbox/Checkbox.js.map +1 -0
  194. package/dist/cjs/node_modules/@mui/material/esm/Checkbox/checkboxClasses.js +15 -0
  195. package/dist/cjs/node_modules/@mui/material/esm/Checkbox/checkboxClasses.js.map +1 -0
  196. package/dist/cjs/node_modules/@mui/material/esm/Chip/Chip.js +652 -0
  197. package/dist/cjs/node_modules/@mui/material/esm/Chip/Chip.js.map +1 -0
  198. package/dist/cjs/node_modules/@mui/material/esm/Chip/chipClasses.js +15 -0
  199. package/dist/cjs/node_modules/@mui/material/esm/Chip/chipClasses.js.map +1 -0
  200. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +337 -0
  201. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js.map +1 -0
  202. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/circularProgressClasses.js +12 -0
  203. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/circularProgressClasses.js.map +1 -0
  204. package/dist/cjs/node_modules/@mui/material/esm/Collapse/Collapse.js +435 -0
  205. package/dist/cjs/node_modules/@mui/material/esm/Collapse/Collapse.js.map +1 -0
  206. package/dist/cjs/node_modules/@mui/material/esm/Collapse/collapseClasses.js +12 -0
  207. package/dist/cjs/node_modules/@mui/material/esm/Collapse/collapseClasses.js.map +1 -0
  208. package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +187 -0
  209. package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js.map +1 -0
  210. package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +28 -0
  211. package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -0
  212. package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.js +535 -0
  213. package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.js.map +1 -0
  214. package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.js +33 -0
  215. package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.js.map +1 -0
  216. package/dist/cjs/node_modules/@mui/material/esm/Dialog/dialogClasses.js +15 -0
  217. package/dist/cjs/node_modules/@mui/material/esm/Dialog/dialogClasses.js.map +1 -0
  218. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.js +134 -0
  219. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.js.map +1 -0
  220. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/dialogContentClasses.js +12 -0
  221. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/dialogContentClasses.js.map +1 -0
  222. package/dist/cjs/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js +105 -0
  223. package/dist/cjs/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js.map +1 -0
  224. package/dist/cjs/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js +15 -0
  225. package/dist/cjs/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js.map +1 -0
  226. package/dist/cjs/node_modules/@mui/material/esm/Divider/dividerClasses.js +10 -0
  227. package/dist/cjs/node_modules/@mui/material/esm/Divider/dividerClasses.js.map +1 -0
  228. package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.js +234 -0
  229. package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.js.map +1 -0
  230. package/dist/cjs/node_modules/@mui/material/esm/FilledInput/FilledInput.js +540 -0
  231. package/dist/cjs/node_modules/@mui/material/esm/FilledInput/FilledInput.js.map +1 -0
  232. package/dist/cjs/node_modules/@mui/material/esm/FilledInput/filledInputClasses.js +19 -0
  233. package/dist/cjs/node_modules/@mui/material/esm/FilledInput/filledInputClasses.js.map +1 -0
  234. package/dist/cjs/node_modules/@mui/material/esm/FormControl/FormControl.js +330 -0
  235. package/dist/cjs/node_modules/@mui/material/esm/FormControl/FormControl.js.map +1 -0
  236. package/dist/cjs/node_modules/@mui/material/esm/FormControl/FormControlContext.js +36 -0
  237. package/dist/cjs/node_modules/@mui/material/esm/FormControl/FormControlContext.js.map +1 -0
  238. package/dist/cjs/node_modules/@mui/material/esm/FormControl/formControlClasses.js +12 -0
  239. package/dist/cjs/node_modules/@mui/material/esm/FormControl/formControlClasses.js.map +1 -0
  240. package/dist/cjs/node_modules/@mui/material/esm/FormControl/formControlState.js +22 -0
  241. package/dist/cjs/node_modules/@mui/material/esm/FormControl/formControlState.js.map +1 -0
  242. package/dist/cjs/node_modules/@mui/material/esm/FormControl/useFormControl.js +33 -0
  243. package/dist/cjs/node_modules/@mui/material/esm/FormControl/useFormControl.js.map +1 -0
  244. package/dist/cjs/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js +308 -0
  245. package/dist/cjs/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js.map +1 -0
  246. package/dist/cjs/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js +15 -0
  247. package/dist/cjs/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js.map +1 -0
  248. package/dist/cjs/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js +211 -0
  249. package/dist/cjs/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js.map +1 -0
  250. package/dist/cjs/node_modules/@mui/material/esm/FormHelperText/formHelperTextClasses.js +15 -0
  251. package/dist/cjs/node_modules/@mui/material/esm/FormHelperText/formHelperTextClasses.js.map +1 -0
  252. package/dist/cjs/node_modules/@mui/material/esm/FormLabel/FormLabel.js +207 -0
  253. package/dist/cjs/node_modules/@mui/material/esm/FormLabel/FormLabel.js.map +1 -0
  254. package/dist/cjs/node_modules/@mui/material/esm/FormLabel/formLabelClasses.js +15 -0
  255. package/dist/cjs/node_modules/@mui/material/esm/FormLabel/formLabelClasses.js.map +1 -0
  256. package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +32 -0
  257. package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js.map +1 -0
  258. package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.js +287 -0
  259. package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.js.map +1 -0
  260. package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.js +345 -0
  261. package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.js.map +1 -0
  262. package/dist/cjs/node_modules/@mui/material/esm/IconButton/iconButtonClasses.js +15 -0
  263. package/dist/cjs/node_modules/@mui/material/esm/IconButton/iconButtonClasses.js.map +1 -0
  264. package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +62 -0
  265. package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js.map +1 -0
  266. package/dist/cjs/node_modules/@mui/material/esm/Input/Input.js +385 -0
  267. package/dist/cjs/node_modules/@mui/material/esm/Input/Input.js.map +1 -0
  268. package/dist/cjs/node_modules/@mui/material/esm/Input/inputClasses.js +19 -0
  269. package/dist/cjs/node_modules/@mui/material/esm/Input/inputClasses.js.map +1 -0
  270. package/dist/cjs/node_modules/@mui/material/esm/InputBase/InputBase.js +779 -0
  271. package/dist/cjs/node_modules/@mui/material/esm/InputBase/InputBase.js.map +1 -0
  272. package/dist/cjs/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js +15 -0
  273. package/dist/cjs/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js.map +1 -0
  274. package/dist/cjs/node_modules/@mui/material/esm/InputBase/utils.js +37 -0
  275. package/dist/cjs/node_modules/@mui/material/esm/InputBase/utils.js.map +1 -0
  276. package/dist/cjs/node_modules/@mui/material/esm/InputLabel/InputLabel.js +309 -0
  277. package/dist/cjs/node_modules/@mui/material/esm/InputLabel/InputLabel.js.map +1 -0
  278. package/dist/cjs/node_modules/@mui/material/esm/InputLabel/inputLabelClasses.js +12 -0
  279. package/dist/cjs/node_modules/@mui/material/esm/InputLabel/inputLabelClasses.js.map +1 -0
  280. package/dist/cjs/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js +480 -0
  281. package/dist/cjs/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js.map +1 -0
  282. package/dist/cjs/node_modules/@mui/material/esm/LinearProgress/linearProgressClasses.js +12 -0
  283. package/dist/cjs/node_modules/@mui/material/esm/LinearProgress/linearProgressClasses.js.map +1 -0
  284. package/dist/cjs/node_modules/@mui/material/esm/List/List.js +159 -0
  285. package/dist/cjs/node_modules/@mui/material/esm/List/List.js.map +1 -0
  286. package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.js +36 -0
  287. package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.js.map +1 -0
  288. package/dist/cjs/node_modules/@mui/material/esm/List/listClasses.js +12 -0
  289. package/dist/cjs/node_modules/@mui/material/esm/List/listClasses.js.map +1 -0
  290. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +289 -0
  291. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js.map +1 -0
  292. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js +15 -0
  293. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js.map +1 -0
  294. package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js +10 -0
  295. package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js.map +1 -0
  296. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.js +253 -0
  297. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.js.map +1 -0
  298. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js +15 -0
  299. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js.map +1 -0
  300. package/dist/cjs/node_modules/@mui/material/esm/Menu/Menu.js +364 -0
  301. package/dist/cjs/node_modules/@mui/material/esm/Menu/Menu.js.map +1 -0
  302. package/dist/cjs/node_modules/@mui/material/esm/Menu/menuClasses.js +12 -0
  303. package/dist/cjs/node_modules/@mui/material/esm/Menu/menuClasses.js.map +1 -0
  304. package/dist/cjs/node_modules/@mui/material/esm/MenuItem/MenuItem.js +308 -0
  305. package/dist/cjs/node_modules/@mui/material/esm/MenuItem/MenuItem.js.map +1 -0
  306. package/dist/cjs/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js +15 -0
  307. package/dist/cjs/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js.map +1 -0
  308. package/dist/cjs/node_modules/@mui/material/esm/MenuList/MenuList.js +315 -0
  309. package/dist/cjs/node_modules/@mui/material/esm/MenuList/MenuList.js.map +1 -0
  310. package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.js +415 -0
  311. package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.js.map +1 -0
  312. package/dist/cjs/node_modules/@mui/material/esm/Modal/ModalManager.js +220 -0
  313. package/dist/cjs/node_modules/@mui/material/esm/Modal/ModalManager.js.map +1 -0
  314. package/dist/cjs/node_modules/@mui/material/esm/Modal/modalClasses.js +12 -0
  315. package/dist/cjs/node_modules/@mui/material/esm/Modal/modalClasses.js.map +1 -0
  316. package/dist/cjs/node_modules/@mui/material/esm/Modal/useModal.js +218 -0
  317. package/dist/cjs/node_modules/@mui/material/esm/Modal/useModal.js.map +1 -0
  318. package/dist/cjs/node_modules/@mui/material/esm/NativeSelect/NativeSelectInput.js +271 -0
  319. package/dist/cjs/node_modules/@mui/material/esm/NativeSelect/NativeSelectInput.js.map +1 -0
  320. package/dist/cjs/node_modules/@mui/material/esm/NativeSelect/nativeSelectClasses.js +15 -0
  321. package/dist/cjs/node_modules/@mui/material/esm/NativeSelect/nativeSelectClasses.js.map +1 -0
  322. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/NotchedOutline.js +163 -0
  323. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/NotchedOutline.js.map +1 -0
  324. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/OutlinedInput.js +454 -0
  325. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/OutlinedInput.js.map +1 -0
  326. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/outlinedInputClasses.js +19 -0
  327. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/outlinedInputClasses.js.map +1 -0
  328. package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.js +196 -0
  329. package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.js.map +1 -0
  330. package/dist/cjs/node_modules/@mui/material/esm/Paper/paperClasses.js +12 -0
  331. package/dist/cjs/node_modules/@mui/material/esm/Paper/paperClasses.js.map +1 -0
  332. package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.js +610 -0
  333. package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.js.map +1 -0
  334. package/dist/cjs/node_modules/@mui/material/esm/Popover/popoverClasses.js +12 -0
  335. package/dist/cjs/node_modules/@mui/material/esm/Popover/popoverClasses.js.map +1 -0
  336. package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.js +117 -0
  337. package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.js.map +1 -0
  338. package/dist/cjs/node_modules/@mui/material/esm/Select/Select.js +324 -0
  339. package/dist/cjs/node_modules/@mui/material/esm/Select/Select.js.map +1 -0
  340. package/dist/cjs/node_modules/@mui/material/esm/Select/SelectInput.js +701 -0
  341. package/dist/cjs/node_modules/@mui/material/esm/Select/SelectInput.js.map +1 -0
  342. package/dist/cjs/node_modules/@mui/material/esm/Select/selectClasses.js +15 -0
  343. package/dist/cjs/node_modules/@mui/material/esm/Select/selectClasses.js.map +1 -0
  344. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +259 -0
  345. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js.map +1 -0
  346. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js +12 -0
  347. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js.map +1 -0
  348. package/dist/cjs/node_modules/@mui/material/esm/TextField/TextField.js +481 -0
  349. package/dist/cjs/node_modules/@mui/material/esm/TextField/TextField.js.map +1 -0
  350. package/dist/cjs/node_modules/@mui/material/esm/TextField/textFieldClasses.js +12 -0
  351. package/dist/cjs/node_modules/@mui/material/esm/TextField/textFieldClasses.js.map +1 -0
  352. package/dist/cjs/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js +281 -0
  353. package/dist/cjs/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js.map +1 -0
  354. package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.js +295 -0
  355. package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.js.map +1 -0
  356. package/dist/cjs/node_modules/@mui/material/esm/Typography/typographyClasses.js +15 -0
  357. package/dist/cjs/node_modules/@mui/material/esm/Typography/typographyClasses.js.map +1 -0
  358. package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +357 -0
  359. package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js.map +1 -0
  360. package/dist/cjs/node_modules/@mui/material/esm/colors/blue.js +13 -0
  361. package/dist/cjs/node_modules/@mui/material/esm/colors/blue.js.map +1 -0
  362. package/dist/cjs/node_modules/@mui/material/esm/colors/common.js +11 -0
  363. package/dist/cjs/node_modules/@mui/material/esm/colors/common.js.map +1 -0
  364. package/dist/cjs/node_modules/@mui/material/esm/colors/green.js +14 -0
  365. package/dist/cjs/node_modules/@mui/material/esm/colors/green.js.map +1 -0
  366. package/dist/cjs/node_modules/@mui/material/esm/colors/grey.js +23 -0
  367. package/dist/cjs/node_modules/@mui/material/esm/colors/grey.js.map +1 -0
  368. package/dist/cjs/node_modules/@mui/material/esm/colors/lightBlue.js +13 -0
  369. package/dist/cjs/node_modules/@mui/material/esm/colors/lightBlue.js.map +1 -0
  370. package/dist/cjs/node_modules/@mui/material/esm/colors/orange.js +13 -0
  371. package/dist/cjs/node_modules/@mui/material/esm/colors/orange.js.map +1 -0
  372. package/dist/cjs/node_modules/@mui/material/esm/colors/purple.js +14 -0
  373. package/dist/cjs/node_modules/@mui/material/esm/colors/purple.js.map +1 -0
  374. package/dist/cjs/node_modules/@mui/material/esm/colors/red.js +13 -0
  375. package/dist/cjs/node_modules/@mui/material/esm/colors/red.js.map +1 -0
  376. package/dist/cjs/node_modules/@mui/material/esm/internal/SwitchBase.js +383 -0
  377. package/dist/cjs/node_modules/@mui/material/esm/internal/SwitchBase.js.map +1 -0
  378. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ArrowDropDown.js +15 -0
  379. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ArrowDropDown.js.map +1 -0
  380. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Cancel.js +15 -0
  381. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Cancel.js.map +1 -0
  382. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/CheckBox.js +15 -0
  383. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/CheckBox.js.map +1 -0
  384. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/CheckBoxOutlineBlank.js +15 -0
  385. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/CheckBoxOutlineBlank.js.map +1 -0
  386. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Close.js +15 -0
  387. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Close.js.map +1 -0
  388. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ErrorOutline.js +15 -0
  389. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ErrorOutline.js.map +1 -0
  390. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/IndeterminateCheckBox.js +15 -0
  391. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/IndeterminateCheckBox.js.map +1 -0
  392. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/InfoOutlined.js +15 -0
  393. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/InfoOutlined.js.map +1 -0
  394. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/MoreHoriz.js +15 -0
  395. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/MoreHoriz.js.map +1 -0
  396. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ReportProblemOutlined.js +15 -0
  397. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ReportProblemOutlined.js.map +1 -0
  398. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/SuccessOutlined.js +15 -0
  399. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/SuccessOutlined.js.map +1 -0
  400. package/dist/cjs/node_modules/@mui/material/esm/internal/switchBaseClasses.js +12 -0
  401. package/dist/cjs/node_modules/@mui/material/esm/internal/switchBaseClasses.js.map +1 -0
  402. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProvider.js +66 -0
  403. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProvider.js.map +1 -0
  404. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProviderNoVars.js +24 -0
  405. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProviderNoVars.js.map +1 -0
  406. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProviderWithVars.js +67 -0
  407. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProviderWithVars.js.map +1 -0
  408. package/dist/cjs/node_modules/@mui/material/esm/styles/createColorScheme.js +56 -0
  409. package/dist/cjs/node_modules/@mui/material/esm/styles/createColorScheme.js.map +1 -0
  410. package/dist/cjs/node_modules/@mui/material/esm/styles/createGetSelector.js +68 -0
  411. package/dist/cjs/node_modules/@mui/material/esm/styles/createGetSelector.js.map +1 -0
  412. package/dist/cjs/node_modules/@mui/material/esm/styles/createMixins.js +23 -0
  413. package/dist/cjs/node_modules/@mui/material/esm/styles/createMixins.js.map +1 -0
  414. package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.js +340 -0
  415. package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.js.map +1 -0
  416. package/dist/cjs/node_modules/@mui/material/esm/styles/createTheme.js +106 -0
  417. package/dist/cjs/node_modules/@mui/material/esm/styles/createTheme.js.map +1 -0
  418. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.js +157 -0
  419. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.js.map +1 -0
  420. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.js +428 -0
  421. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.js.map +1 -0
  422. package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.js +98 -0
  423. package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.js.map +1 -0
  424. package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.js +100 -0
  425. package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.js.map +1 -0
  426. package/dist/cjs/node_modules/@mui/material/esm/styles/defaultTheme.js +11 -0
  427. package/dist/cjs/node_modules/@mui/material/esm/styles/defaultTheme.js.map +1 -0
  428. package/dist/cjs/node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js +11 -0
  429. package/dist/cjs/node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js.map +1 -0
  430. package/dist/cjs/node_modules/@mui/material/esm/styles/getOverlayAlpha.js +17 -0
  431. package/dist/cjs/node_modules/@mui/material/esm/styles/getOverlayAlpha.js.map +1 -0
  432. package/dist/cjs/node_modules/@mui/material/esm/styles/identifier.js +8 -0
  433. package/dist/cjs/node_modules/@mui/material/esm/styles/identifier.js.map +1 -0
  434. package/dist/cjs/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js +10 -0
  435. package/dist/cjs/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js.map +1 -0
  436. package/dist/cjs/node_modules/@mui/material/esm/styles/shadows.js +16 -0
  437. package/dist/cjs/node_modules/@mui/material/esm/styles/shadows.js.map +1 -0
  438. package/dist/cjs/node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js +12 -0
  439. package/dist/cjs/node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js.map +1 -0
  440. package/dist/cjs/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js +11 -0
  441. package/dist/cjs/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js.map +1 -0
  442. package/dist/cjs/node_modules/@mui/material/esm/styles/stringifyTheme.js +60 -0
  443. package/dist/cjs/node_modules/@mui/material/esm/styles/stringifyTheme.js.map +1 -0
  444. package/dist/cjs/node_modules/@mui/material/esm/styles/styled.js +19 -0
  445. package/dist/cjs/node_modules/@mui/material/esm/styles/styled.js.map +1 -0
  446. package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.js +41 -0
  447. package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.js.map +1 -0
  448. package/dist/cjs/node_modules/@mui/material/esm/styles/zIndex.js +19 -0
  449. package/dist/cjs/node_modules/@mui/material/esm/styles/zIndex.js.map +1 -0
  450. package/dist/cjs/node_modules/@mui/material/esm/transitions/utils.js +19 -0
  451. package/dist/cjs/node_modules/@mui/material/esm/transitions/utils.js.map +1 -0
  452. package/dist/cjs/node_modules/@mui/material/esm/useLazyRipple/useLazyRipple.js +112 -0
  453. package/dist/cjs/node_modules/@mui/material/esm/useLazyRipple/useLazyRipple.js.map +1 -0
  454. package/dist/cjs/node_modules/@mui/material/esm/useMediaQuery/index.js +13 -0
  455. package/dist/cjs/node_modules/@mui/material/esm/useMediaQuery/index.js.map +1 -0
  456. package/dist/cjs/node_modules/@mui/material/esm/utils/capitalize.js +10 -0
  457. package/dist/cjs/node_modules/@mui/material/esm/utils/capitalize.js.map +1 -0
  458. package/dist/cjs/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js +48 -0
  459. package/dist/cjs/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js.map +1 -0
  460. package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.js +48 -0
  461. package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.js.map +1 -0
  462. package/dist/cjs/node_modules/@mui/material/esm/utils/debounce.js +10 -0
  463. package/dist/cjs/node_modules/@mui/material/esm/utils/debounce.js.map +1 -0
  464. package/dist/cjs/node_modules/@mui/material/esm/utils/getScrollbarSize.js +10 -0
  465. package/dist/cjs/node_modules/@mui/material/esm/utils/getScrollbarSize.js.map +1 -0
  466. package/dist/cjs/node_modules/@mui/material/esm/utils/isMuiElement.js +10 -0
  467. package/dist/cjs/node_modules/@mui/material/esm/utils/isMuiElement.js.map +1 -0
  468. package/dist/cjs/node_modules/@mui/material/esm/utils/memoTheme.js +10 -0
  469. package/dist/cjs/node_modules/@mui/material/esm/utils/memoTheme.js.map +1 -0
  470. package/dist/cjs/node_modules/@mui/material/esm/utils/mergeSlotProps.js +82 -0
  471. package/dist/cjs/node_modules/@mui/material/esm/utils/mergeSlotProps.js.map +1 -0
  472. package/dist/cjs/node_modules/@mui/material/esm/utils/ownerDocument.js +10 -0
  473. package/dist/cjs/node_modules/@mui/material/esm/utils/ownerDocument.js.map +1 -0
  474. package/dist/cjs/node_modules/@mui/material/esm/utils/ownerWindow.js +10 -0
  475. package/dist/cjs/node_modules/@mui/material/esm/utils/ownerWindow.js.map +1 -0
  476. package/dist/cjs/node_modules/@mui/material/esm/utils/unsupportedProp.js +10 -0
  477. package/dist/cjs/node_modules/@mui/material/esm/utils/unsupportedProp.js.map +1 -0
  478. package/dist/cjs/node_modules/@mui/material/esm/utils/useControlled.js +11 -0
  479. package/dist/cjs/node_modules/@mui/material/esm/utils/useControlled.js.map +1 -0
  480. package/dist/cjs/node_modules/@mui/material/esm/utils/useEnhancedEffect.js +11 -0
  481. package/dist/cjs/node_modules/@mui/material/esm/utils/useEnhancedEffect.js.map +1 -0
  482. package/dist/cjs/node_modules/@mui/material/esm/utils/useEventCallback.js +11 -0
  483. package/dist/cjs/node_modules/@mui/material/esm/utils/useEventCallback.js.map +1 -0
  484. package/dist/cjs/node_modules/@mui/material/esm/utils/useForkRef.js +11 -0
  485. package/dist/cjs/node_modules/@mui/material/esm/utils/useForkRef.js.map +1 -0
  486. package/dist/cjs/node_modules/@mui/material/esm/utils/useId.js +11 -0
  487. package/dist/cjs/node_modules/@mui/material/esm/utils/useId.js.map +1 -0
  488. package/dist/cjs/node_modules/@mui/material/esm/utils/useSlot.js +87 -0
  489. package/dist/cjs/node_modules/@mui/material/esm/utils/useSlot.js.map +1 -0
  490. package/dist/cjs/node_modules/@mui/material/esm/zero-styled/index.js +30 -0
  491. package/dist/cjs/node_modules/@mui/material/esm/zero-styled/index.js.map +1 -0
  492. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +93 -0
  493. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js.map +1 -0
  494. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/nested.js +9 -0
  495. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/nested.js.map +1 -0
  496. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js +33 -0
  497. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js.map +1 -0
  498. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.js +38 -0
  499. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.js.map +1 -0
  500. package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +30 -0
  501. package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js.map +1 -0
  502. package/dist/cjs/node_modules/@mui/styled-engine/esm/index.js +65 -0
  503. package/dist/cjs/node_modules/@mui/styled-engine/esm/index.js.map +1 -0
  504. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +55 -0
  505. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -0
  506. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +68 -0
  507. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -0
  508. package/dist/cjs/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js +89 -0
  509. package/dist/cjs/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js.map +1 -0
  510. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js +45 -0
  511. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -0
  512. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +125 -0
  513. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -0
  514. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js +55 -0
  515. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js.map +1 -0
  516. package/dist/cjs/node_modules/@mui/system/esm/borders/borders.js +67 -0
  517. package/dist/cjs/node_modules/@mui/system/esm/borders/borders.js.map +1 -0
  518. package/dist/cjs/node_modules/@mui/system/esm/breakpoints/breakpoints.js +90 -0
  519. package/dist/cjs/node_modules/@mui/system/esm/breakpoints/breakpoints.js.map +1 -0
  520. package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +326 -0
  521. package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +1 -0
  522. package/dist/cjs/node_modules/@mui/system/esm/compose/compose.js +31 -0
  523. package/dist/cjs/node_modules/@mui/system/esm/compose/compose.js.map +1 -0
  524. package/dist/cjs/node_modules/@mui/system/esm/createBox/createBox.js +62 -0
  525. package/dist/cjs/node_modules/@mui/system/esm/createBox/createBox.js.map +1 -0
  526. package/dist/cjs/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js +87 -0
  527. package/dist/cjs/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js.map +1 -0
  528. package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.js +298 -0
  529. package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.js.map +1 -0
  530. package/dist/cjs/node_modules/@mui/system/esm/createTheme/applyStyles.js +94 -0
  531. package/dist/cjs/node_modules/@mui/system/esm/createTheme/applyStyles.js.map +1 -0
  532. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.js +38 -0
  533. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -0
  534. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createTheme.js +56 -0
  535. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createTheme.js.map +1 -0
  536. package/dist/cjs/node_modules/@mui/system/esm/createTheme/shape.js +10 -0
  537. package/dist/cjs/node_modules/@mui/system/esm/createTheme/shape.js.map +1 -0
  538. package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +80 -0
  539. package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +1 -0
  540. package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.js +100 -0
  541. package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +1 -0
  542. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +365 -0
  543. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -0
  544. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createGetCssVar.js +29 -0
  545. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createGetCssVar.js.map +1 -0
  546. package/dist/cjs/node_modules/@mui/system/esm/cssVars/cssVarsParser.js +138 -0
  547. package/dist/cjs/node_modules/@mui/system/esm/cssVars/cssVarsParser.js.map +1 -0
  548. package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +31 -0
  549. package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +1 -0
  550. package/dist/cjs/node_modules/@mui/system/esm/cssVars/localStorageManager.js +57 -0
  551. package/dist/cjs/node_modules/@mui/system/esm/cssVars/localStorageManager.js.map +1 -0
  552. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareCssVars.js +171 -0
  553. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareCssVars.js.map +1 -0
  554. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js +18 -0
  555. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js.map +1 -0
  556. package/dist/cjs/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js +256 -0
  557. package/dist/cjs/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js.map +1 -0
  558. package/dist/cjs/node_modules/@mui/system/esm/memoTheme.js +35 -0
  559. package/dist/cjs/node_modules/@mui/system/esm/memoTheme.js.map +1 -0
  560. package/dist/cjs/node_modules/@mui/system/esm/memoize/memoize.js +16 -0
  561. package/dist/cjs/node_modules/@mui/system/esm/memoize/memoize.js.map +1 -0
  562. package/dist/cjs/node_modules/@mui/system/esm/merge/merge.js +17 -0
  563. package/dist/cjs/node_modules/@mui/system/esm/merge/merge.js.map +1 -0
  564. package/dist/cjs/node_modules/@mui/system/esm/palette/palette.js +34 -0
  565. package/dist/cjs/node_modules/@mui/system/esm/palette/palette.js.map +1 -0
  566. package/dist/cjs/node_modules/@mui/system/esm/preprocessStyles.js +33 -0
  567. package/dist/cjs/node_modules/@mui/system/esm/preprocessStyles.js.map +1 -0
  568. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +10 -0
  569. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js.map +1 -0
  570. package/dist/cjs/node_modules/@mui/system/esm/sizing/sizing.js +76 -0
  571. package/dist/cjs/node_modules/@mui/system/esm/sizing/sizing.js.map +1 -0
  572. package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.js +165 -0
  573. package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.js.map +1 -0
  574. package/dist/cjs/node_modules/@mui/system/esm/style/style.js +84 -0
  575. package/dist/cjs/node_modules/@mui/system/esm/style/style.js.map +1 -0
  576. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +301 -0
  577. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js.map +1 -0
  578. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +59 -0
  579. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js.map +1 -0
  580. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +142 -0
  581. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js.map +1 -0
  582. package/dist/cjs/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js +144 -0
  583. package/dist/cjs/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js.map +1 -0
  584. package/dist/cjs/node_modules/@mui/system/esm/useTheme/useTheme.js +16 -0
  585. package/dist/cjs/node_modules/@mui/system/esm/useTheme/useTheme.js.map +1 -0
  586. package/dist/cjs/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +20 -0
  587. package/dist/cjs/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js.map +1 -0
  588. package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +37 -0
  589. package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js.map +1 -0
  590. package/dist/cjs/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +23 -0
  591. package/dist/cjs/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js.map +1 -0
  592. package/dist/cjs/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +21 -0
  593. package/dist/cjs/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js.map +1 -0
  594. package/dist/cjs/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +34 -0
  595. package/dist/cjs/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js.map +1 -0
  596. package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.js +19 -0
  597. package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -0
  598. package/dist/cjs/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +15 -0
  599. package/dist/cjs/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js.map +1 -0
  600. package/dist/cjs/node_modules/@mui/utils/esm/clamp/clamp.js +10 -0
  601. package/dist/cjs/node_modules/@mui/utils/esm/clamp/clamp.js.map +1 -0
  602. package/dist/cjs/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +60 -0
  603. package/dist/cjs/node_modules/@mui/utils/esm/composeClasses/composeClasses.js.map +1 -0
  604. package/dist/cjs/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js +24 -0
  605. package/dist/cjs/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js.map +1 -0
  606. package/dist/cjs/node_modules/@mui/utils/esm/debounce/debounce.js +24 -0
  607. package/dist/cjs/node_modules/@mui/utils/esm/debounce/debounce.js.map +1 -0
  608. package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +91 -0
  609. package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.js.map +1 -0
  610. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +49 -0
  611. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -0
  612. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +48 -0
  613. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -0
  614. package/dist/cjs/node_modules/@mui/utils/esm/exactProp/exactProp.js +27 -0
  615. package/dist/cjs/node_modules/@mui/utils/esm/exactProp/exactProp.js.map +1 -0
  616. package/dist/cjs/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +24 -0
  617. package/dist/cjs/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js.map +1 -0
  618. package/dist/cjs/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +22 -0
  619. package/dist/cjs/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js.map +1 -0
  620. package/dist/cjs/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +28 -0
  621. package/dist/cjs/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js.map +1 -0
  622. package/dist/cjs/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +16 -0
  623. package/dist/cjs/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js.map +1 -0
  624. package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +46 -0
  625. package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js.map +1 -0
  626. package/dist/cjs/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js +44 -0
  627. package/dist/cjs/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js.map +1 -0
  628. package/dist/cjs/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js +14 -0
  629. package/dist/cjs/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js.map +1 -0
  630. package/dist/cjs/node_modules/@mui/utils/esm/integerPropType/integerPropType.js +52 -0
  631. package/dist/cjs/node_modules/@mui/utils/esm/integerPropType/integerPropType.js.map +1 -0
  632. package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +22 -0
  633. package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +1 -0
  634. package/dist/cjs/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +13 -0
  635. package/dist/cjs/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js.map +1 -0
  636. package/dist/cjs/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js +35 -0
  637. package/dist/cjs/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js.map +1 -0
  638. package/dist/cjs/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +97 -0
  639. package/dist/cjs/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js.map +1 -0
  640. package/dist/cjs/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +24 -0
  641. package/dist/cjs/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js.map +1 -0
  642. package/dist/cjs/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +10 -0
  643. package/dist/cjs/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js.map +1 -0
  644. package/dist/cjs/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +13 -0
  645. package/dist/cjs/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js.map +1 -0
  646. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js +10 -0
  647. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js.map +1 -0
  648. package/dist/cjs/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +17 -0
  649. package/dist/cjs/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js.map +1 -0
  650. package/dist/cjs/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +62 -0
  651. package/dist/cjs/node_modules/@mui/utils/esm/resolveProps/resolveProps.js.map +1 -0
  652. package/dist/cjs/node_modules/@mui/utils/esm/setRef/setRef.js +27 -0
  653. package/dist/cjs/node_modules/@mui/utils/esm/setRef/setRef.js.map +1 -0
  654. package/dist/cjs/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js +17 -0
  655. package/dist/cjs/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js.map +1 -0
  656. package/dist/cjs/node_modules/@mui/utils/esm/useControlled/useControlled.js +69 -0
  657. package/dist/cjs/node_modules/@mui/utils/esm/useControlled/useControlled.js.map +1 -0
  658. package/dist/cjs/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +37 -0
  659. package/dist/cjs/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js.map +1 -0
  660. package/dist/cjs/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +44 -0
  661. package/dist/cjs/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js.map +1 -0
  662. package/dist/cjs/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +85 -0
  663. package/dist/cjs/node_modules/@mui/utils/esm/useForkRef/useForkRef.js.map +1 -0
  664. package/dist/cjs/node_modules/@mui/utils/esm/useId/useId.js +71 -0
  665. package/dist/cjs/node_modules/@mui/utils/esm/useId/useId.js.map +1 -0
  666. package/dist/cjs/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js +45 -0
  667. package/dist/cjs/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js.map +1 -0
  668. package/dist/cjs/node_modules/@mui/utils/esm/useOnMount/useOnMount.js +40 -0
  669. package/dist/cjs/node_modules/@mui/utils/esm/useOnMount/useOnMount.js.map +1 -0
  670. package/dist/cjs/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +44 -0
  671. package/dist/cjs/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js.map +1 -0
  672. package/dist/cjs/node_modules/@mui/utils/esm/useTimeout/useTimeout.js +43 -0
  673. package/dist/cjs/node_modules/@mui/utils/esm/useTimeout/useTimeout.js.map +1 -0
  674. package/dist/cjs/node_modules/clsx/dist/clsx.js +9 -0
  675. package/dist/cjs/node_modules/clsx/dist/clsx.js.map +1 -0
  676. package/dist/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +117 -0
  677. package/dist/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
  678. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +193 -0
  679. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  680. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +29 -0
  681. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  682. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +22 -0
  683. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -0
  684. package/dist/cjs/node_modules/object-assign/index.js +102 -0
  685. package/dist/cjs/node_modules/object-assign/index.js.map +1 -0
  686. package/dist/cjs/node_modules/prop-types/checkPropTypes.js +118 -0
  687. package/dist/cjs/node_modules/prop-types/checkPropTypes.js.map +1 -0
  688. package/dist/cjs/node_modules/prop-types/factoryWithThrowingShims.js +77 -0
  689. package/dist/cjs/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  690. package/dist/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +628 -0
  691. package/dist/cjs/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  692. package/dist/cjs/node_modules/prop-types/index.js +36 -0
  693. package/dist/cjs/node_modules/prop-types/index.js.map +1 -0
  694. package/dist/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +24 -0
  695. package/dist/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  696. package/dist/cjs/node_modules/prop-types/lib/has.js +14 -0
  697. package/dist/cjs/node_modules/prop-types/lib/has.js.map +1 -0
  698. package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +193 -0
  699. package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  700. package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +29 -0
  701. package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  702. package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +22 -0
  703. package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  704. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.development.js +1328 -0
  705. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
  706. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.js +47 -0
  707. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
  708. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.min.js +27 -0
  709. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
  710. package/dist/cjs/node_modules/react/jsx-runtime.js +22 -0
  711. package/dist/cjs/node_modules/react/jsx-runtime.js.map +1 -0
  712. package/dist/cjs/node_modules/react-is/cjs/react-is.development.js +145 -0
  713. package/dist/cjs/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  714. package/dist/cjs/node_modules/react-is/cjs/react-is.production.js +142 -0
  715. package/dist/cjs/node_modules/react-is/cjs/react-is.production.js.map +1 -0
  716. package/dist/cjs/node_modules/react-is/index.js +22 -0
  717. package/dist/cjs/node_modules/react-is/index.js.map +1 -0
  718. package/dist/cjs/node_modules/react-router/dist/development/chunk-OIYGIGL5.js +1794 -0
  719. package/dist/cjs/node_modules/react-router/dist/development/chunk-OIYGIGL5.js.map +1 -0
  720. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +637 -0
  721. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js.map +1 -0
  722. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js +195 -0
  723. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -0
  724. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroupContext.js +10 -0
  725. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +1 -0
  726. package/dist/cjs/node_modules/react-transition-group/esm/config.js +10 -0
  727. package/dist/cjs/node_modules/react-transition-group/esm/config.js.map +1 -0
  728. package/dist/cjs/node_modules/react-transition-group/esm/utils/ChildMapping.js +149 -0
  729. package/dist/cjs/node_modules/react-transition-group/esm/utils/ChildMapping.js.map +1 -0
  730. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +24 -0
  731. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -0
  732. package/dist/cjs/node_modules/react-transition-group/esm/utils/reflow.js +8 -0
  733. package/dist/cjs/node_modules/react-transition-group/esm/utils/reflow.js.map +1 -0
  734. package/dist/cjs/node_modules/stylis/src/Enum.js +23 -0
  735. package/dist/cjs/node_modules/stylis/src/Enum.js.map +1 -0
  736. package/dist/cjs/node_modules/stylis/src/Middleware.js +36 -0
  737. package/dist/cjs/node_modules/stylis/src/Middleware.js.map +1 -0
  738. package/dist/cjs/node_modules/stylis/src/Parser.js +200 -0
  739. package/dist/cjs/node_modules/stylis/src/Parser.js.map +1 -0
  740. package/dist/cjs/node_modules/stylis/src/Serializer.js +42 -0
  741. package/dist/cjs/node_modules/stylis/src/Serializer.js.map +1 -0
  742. package/dist/cjs/node_modules/stylis/src/Tokenizer.js +242 -0
  743. package/dist/cjs/node_modules/stylis/src/Tokenizer.js.map +1 -0
  744. package/dist/cjs/node_modules/stylis/src/Utility.js +133 -0
  745. package/dist/cjs/node_modules/stylis/src/Utility.js.map +1 -0
  746. package/dist/esm/components/AcknowledgementBox.js.map +1 -1
  747. package/dist/esm/components/ActionButton.js.map +1 -1
  748. package/dist/esm/components/Alert.js.map +1 -1
  749. package/dist/esm/components/Breadcrumb.d.ts +3 -2
  750. package/dist/esm/components/Breadcrumb.js +41 -35
  751. package/dist/esm/components/Breadcrumb.js.map +1 -1
  752. package/dist/esm/components/Button.js +0 -1
  753. package/dist/esm/components/Button.js.map +1 -1
  754. package/dist/esm/components/Card.js.map +1 -1
  755. package/dist/esm/components/Checkbox.js +4 -8
  756. package/dist/esm/components/Checkbox.js.map +1 -1
  757. package/dist/esm/components/Concertina.js.map +1 -1
  758. package/dist/esm/components/DefinitionBox.d.ts +1 -3
  759. package/dist/esm/components/DefinitionBox.js +17 -31
  760. package/dist/esm/components/DefinitionBox.js.map +1 -1
  761. package/dist/esm/components/ExpandingBox.js.map +1 -1
  762. package/dist/esm/components/FileUploadButton.d.ts +11 -0
  763. package/dist/esm/components/FileUploadButton.js +20 -0
  764. package/dist/esm/components/FileUploadButton.js.map +1 -0
  765. package/dist/esm/components/Header.js.map +1 -1
  766. package/dist/esm/components/Input.d.ts +1 -0
  767. package/dist/esm/components/Input.js +10 -8
  768. package/dist/esm/components/Input.js.map +1 -1
  769. package/dist/esm/components/Modal.js +6 -1
  770. package/dist/esm/components/Modal.js.map +1 -1
  771. package/dist/esm/components/NoteBox.js.map +1 -1
  772. package/dist/esm/components/PopoverMenu.js.map +1 -1
  773. package/dist/esm/components/Progress.js +35 -14
  774. package/dist/esm/components/Progress.js.map +1 -1
  775. package/dist/esm/components/Radio.js.map +1 -1
  776. package/dist/esm/components/ReadBy.js.map +1 -1
  777. package/dist/esm/components/RichTextArea.d.ts +16 -0
  778. package/dist/esm/components/RichTextArea.js +48 -0
  779. package/dist/esm/components/RichTextArea.js.map +1 -0
  780. package/dist/esm/components/Select.js +3 -13
  781. package/dist/esm/components/Select.js.map +1 -1
  782. package/dist/esm/components/Sidebar.js.map +1 -1
  783. package/dist/esm/components/SimpleModal.js.map +1 -1
  784. package/dist/esm/components/StatusBar.js.map +1 -1
  785. package/dist/esm/components/TableOfContents.js.map +1 -1
  786. package/dist/esm/components/Tabs.js.map +1 -1
  787. package/dist/esm/components/Toggle.js.map +1 -1
  788. package/dist/esm/components/index.d.ts +2 -0
  789. package/dist/esm/index.d.ts +2 -0
  790. package/dist/esm/index.js +2 -0
  791. package/dist/esm/index.js.map +1 -1
  792. package/dist/esm/node_modules/react-router/dist/development/chunk-OIYGIGL5.js +1743 -0
  793. package/dist/esm/node_modules/react-router/dist/development/chunk-OIYGIGL5.js.map +1 -0
  794. package/package.json +56 -56
  795. package/dist/ThemeProvider.d.ts +0 -118
  796. package/dist/ThemeProvider.d.ts.map +0 -1
  797. package/dist/components/ActionButton.d.ts +0 -12
  798. package/dist/components/ActionButton.d.ts.map +0 -1
  799. package/dist/components/Alert.d.ts +0 -12
  800. package/dist/components/Alert.d.ts.map +0 -1
  801. package/dist/components/Breadcrumb.d.ts +0 -14
  802. package/dist/components/Breadcrumb.d.ts.map +0 -1
  803. package/dist/components/Button.d.ts +0 -9
  804. package/dist/components/Button.d.ts.map +0 -1
  805. package/dist/components/Card.d.ts +0 -12
  806. package/dist/components/Card.d.ts.map +0 -1
  807. package/dist/components/Checkbox.d.ts +0 -9
  808. package/dist/components/Checkbox.d.ts.map +0 -1
  809. package/dist/components/Concertina.d.ts +0 -11
  810. package/dist/components/Concertina.d.ts.map +0 -1
  811. package/dist/components/DefinitionBox.d.ts +0 -9
  812. package/dist/components/DefinitionBox.d.ts.map +0 -1
  813. package/dist/components/Header.d.ts +0 -8
  814. package/dist/components/Header.d.ts.map +0 -1
  815. package/dist/components/Input.d.ts +0 -8
  816. package/dist/components/Input.d.ts.map +0 -1
  817. package/dist/components/Modal.d.ts +0 -21
  818. package/dist/components/Modal.d.ts.map +0 -1
  819. package/dist/components/NoteBox.d.ts +0 -11
  820. package/dist/components/NoteBox.d.ts.map +0 -1
  821. package/dist/components/Progress.d.ts +0 -16
  822. package/dist/components/Progress.d.ts.map +0 -1
  823. package/dist/components/Radio.d.ts +0 -15
  824. package/dist/components/Radio.d.ts.map +0 -1
  825. package/dist/components/ReadBy.d.ts +0 -7
  826. package/dist/components/ReadBy.d.ts.map +0 -1
  827. package/dist/components/Select.d.ts +0 -20
  828. package/dist/components/Select.d.ts.map +0 -1
  829. package/dist/components/Sidebar.d.ts +0 -11
  830. package/dist/components/Sidebar.d.ts.map +0 -1
  831. package/dist/components/SimpleModal.d.ts +0 -10
  832. package/dist/components/SimpleModal.d.ts.map +0 -1
  833. package/dist/components/StatusBar.d.ts +0 -10
  834. package/dist/components/StatusBar.d.ts.map +0 -1
  835. package/dist/components/TableOfContents.d.ts +0 -12
  836. package/dist/components/TableOfContents.d.ts.map +0 -1
  837. package/dist/components/Tabs.d.ts +0 -13
  838. package/dist/components/Tabs.d.ts.map +0 -1
  839. package/dist/components/Toggle.d.ts +0 -9
  840. package/dist/components/Toggle.d.ts.map +0 -1
  841. package/dist/components/index.d.ts +0 -23
  842. package/dist/components/index.d.ts.map +0 -1
  843. package/dist/index.cjs +0 -1935
  844. package/dist/index.cjs.map +0 -1
  845. package/dist/index.d.ts +0 -26
  846. package/dist/index.d.ts.map +0 -1
  847. package/dist/index.js +0 -1890
  848. package/dist/index.js.map +0 -1
  849. package/dist/theme-types.d.ts +0 -40
  850. package/dist/theme-types.d.ts.map +0 -1
package/dist/index.cjs DELETED
@@ -1,1935 +0,0 @@
1
- 'use client';
2
- 'use strict';
3
-
4
- var styles = require('@mui/material/styles');
5
- var jsxRuntime = require('react/jsx-runtime');
6
- var utils = require('@mui/utils');
7
- var React = require('react');
8
- var material = require('@mui/material');
9
- var iconsMaterial = require('@mui/icons-material');
10
-
11
- function _interopNamespaceDefault(e) {
12
- var n = Object.create(null);
13
- if (e) {
14
- Object.keys(e).forEach(function (k) {
15
- if (k !== 'default') {
16
- var d = Object.getOwnPropertyDescriptor(e, k);
17
- Object.defineProperty(n, k, d.get ? d : {
18
- enumerable: true,
19
- get: function () { return e[k]; }
20
- });
21
- }
22
- });
23
- }
24
- n.default = e;
25
- return Object.freeze(n);
26
- }
27
-
28
- var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
29
-
30
- const baseTheme = styles.createTheme({
31
- palette: {
32
- text: {
33
- primary: '#4D3019',
34
- secondary: '#826E5C',
35
- }
36
- },
37
- typography: {
38
- fontFamily: ['Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'].join(','),
39
- allVariants: {
40
- color: '#4D3019'
41
- }
42
- },
43
- components: {
44
- MuiTypography: {
45
- styleOverrides: {
46
- root: {
47
- color: '#4D3019',
48
- },
49
- },
50
- },
51
- MuiCssBaseline: {
52
- styleOverrides: {
53
- body: {
54
- WebkitFontSmoothing: 'antialiased',
55
- MozOsxFontSmoothing: 'grayscale',
56
- backgroundColor: '#FDFCEE',
57
- color: '#4D3019',
58
- },
59
- 'input[type="checkbox"], input[type="radio"]': {
60
- accentColor: '#D79AFC',
61
- },
62
- },
63
- },
64
- },
65
- breakpoints: {
66
- values: {
67
- xs: 320,
68
- sm: 640,
69
- md: 768,
70
- lg: 1024,
71
- xl: 1280,
72
- },
73
- },
74
- });
75
- const themeConfigs = {
76
- default: {
77
- palette: {
78
- primary: { main: '#AD46FF' },
79
- secondary: { main: '#D79AFC' },
80
- accent: { main: '#FFEDD1' },
81
- dark: { main: '#4D3019' },
82
- light: { main: '#FEFDF7' },
83
- markedRead: { main: '#A3D977' },
84
- text: {
85
- primary: '#4D3019',
86
- secondary: '#826E5C',
87
- },
88
- custom: {
89
- iconColor: '#ebc7ff',
90
- primaryButtonTextColor: '#FFFFFF',
91
- readByBackgroundColor: '#ebc7ff',
92
- stepIndicatorTextColor: '#FFFFFF',
93
- markAsReadBackgroundColor: '#ebc7ff',
94
- tabBackgroundColor: '#F8F0FC',
95
- },
96
- },
97
- appName: 'ECE Docs',
98
- },
99
- school: {
100
- palette: {
101
- primary: { main: '#386e41' },
102
- secondary: { main: '#8fc790' },
103
- accent: { main: '#d5ebde' },
104
- dark: { main: '#4D3019' },
105
- light: { main: '#FEFDF7' },
106
- markedRead: { main: '#A3D977' },
107
- text: {
108
- primary: '#4D3019',
109
- secondary: '#826E5C',
110
- },
111
- custom: {
112
- primaryButtonTextColor: '#FFFFFF',
113
- stepIndicatorTextColor: '#FFFFFF',
114
- },
115
- },
116
- appName: 'School Docs',
117
- },
118
- health: {
119
- palette: {
120
- primary: { main: '#4871cf' },
121
- secondary: { main: '#a4d6ff' },
122
- accent: { main: '#FF9ecb' },
123
- dark: { main: '#4D3019' },
124
- light: { main: '#FEFDF7' },
125
- markedRead: { main: '#A3D977' },
126
- text: {
127
- primary: '#4D3019',
128
- secondary: '#826E5C',
129
- },
130
- custom: {
131
- iconColor: '#a4d6ff',
132
- primaryButtonTextColor: '#FFFFFF',
133
- markAsReadBorderColor: '#FF9ecb',
134
- readByBackgroundColor: '#a4d6ff',
135
- stepIndicatorTextColor: '#FFFFFF',
136
- tabBackgroundColor: '#a4d6ff',
137
- },
138
- },
139
- appName: 'GP Docs',
140
- },
141
- };
142
- const createMuiTheme = (key) => {
143
- return styles.createTheme(utils.deepmerge(baseTheme, themeConfigs[key]));
144
- };
145
- const ThemeContext = React__namespace.createContext(undefined);
146
- const ThemeProvider = ({ children }) => {
147
- const [currentTheme, setCurrentTheme] = React__namespace.useState('default');
148
- const theme = React__namespace.useMemo(() => createMuiTheme(currentTheme), [currentTheme]);
149
- return (jsxRuntime.jsx(ThemeContext.Provider, { value: { currentTheme, setTheme: setCurrentTheme, theme }, children: jsxRuntime.jsx(styles.ThemeProvider, { theme: theme, children: children }) }));
150
- };
151
- const useTheme = () => {
152
- const context = React__namespace.useContext(ThemeContext);
153
- if (context === undefined) {
154
- throw new Error('useTheme must be used within a ThemeProvider');
155
- }
156
- return context;
157
- };
158
-
159
- const StyledButton = styles.styled(material.Button, {
160
- shouldForwardProp: (prop) => prop !== 'customVariant' && prop !== 'customSize',
161
- })(({ theme, customVariant, customSize }) => {
162
- const currentTheme = theme.palette;
163
- // Size styles
164
- const sizeStyles = {
165
- sm: {
166
- padding: '6px 12px',
167
- fontSize: '0.875rem',
168
- },
169
- md: {
170
- padding: '10px 16px',
171
- fontSize: '1rem',
172
- },
173
- lg: {
174
- padding: '12px 24px',
175
- fontSize: '1.125rem',
176
- },
177
- };
178
- // Base styles
179
- const baseStyles = {
180
- fontWeight: 500,
181
- borderRadius: '8px',
182
- textTransform: 'none',
183
- transition: 'all 0.2s',
184
- boxShadow: 'none',
185
- '&:hover': {
186
- boxShadow: 'none',
187
- },
188
- '&.Mui-disabled': {
189
- opacity: 0.5,
190
- cursor: 'not-allowed',
191
- },
192
- ...sizeStyles[customSize],
193
- };
194
- // Variant styles
195
- const variantStyles = {
196
- primary: {
197
- backgroundColor: currentTheme.primary.main,
198
- color: currentTheme.custom?.primaryButtonTextColor || '#FFFFFF',
199
- boxShadow: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
200
- '&:hover': {
201
- backgroundColor: currentTheme.primary.main,
202
- opacity: 0.9,
203
- },
204
- },
205
- secondary: {
206
- backgroundColor: currentTheme.secondary.main,
207
- color: currentTheme.dark.main,
208
- boxShadow: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
209
- '&:hover': {
210
- backgroundColor: currentTheme.secondary.main,
211
- opacity: 0.9,
212
- },
213
- },
214
- outline: {
215
- backgroundColor: currentTheme.light.main,
216
- border: `2px solid rgba(77, 48, 25, 0.2)`,
217
- color: currentTheme.dark.main,
218
- '&:hover': {
219
- backgroundColor: 'rgba(77, 48, 25, 0.05)',
220
- borderColor: 'rgba(77, 48, 25, 0.3)',
221
- },
222
- },
223
- 'marked-read': {
224
- backgroundColor: 'rgba(163, 217, 119, 0.1)',
225
- border: `2px solid ${currentTheme.markedRead.main}`,
226
- color: currentTheme.dark.main,
227
- isDisabled: true,
228
- '&:hover': {
229
- backgroundColor: 'rgba(163, 217, 119, 0.2)',
230
- cursor: 'not-allowed',
231
- },
232
- },
233
- 'mark-read': {
234
- backgroundColor: currentTheme.custom?.markAsReadBackgroundColor || currentTheme.accent.main,
235
- border: `2px solid ${currentTheme.custom?.markAsReadBorderColor || currentTheme.secondary.main}`,
236
- color: currentTheme.dark.main,
237
- '&:hover': {
238
- opacity: 0.9,
239
- },
240
- },
241
- danger: {
242
- backgroundColor: '#D32F2F', // Material-UI red
243
- color: '#FFFFFF',
244
- boxShadow: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
245
- '&:hover': {
246
- backgroundColor: '#B71C1C',
247
- opacity: 0.9,
248
- },
249
- },
250
- };
251
- return {
252
- ...baseStyles,
253
- ...variantStyles[customVariant],
254
- };
255
- });
256
- const Button = ({ variant = 'primary', size = 'md', children, fullWidth = false, ...props }) => {
257
- return (jsxRuntime.jsx(StyledButton, { customVariant: variant, customSize: size, fullWidth: fullWidth, disableRipple: true, ...props, children: children }));
258
- };
259
-
260
- const InputWrapper = material.styled('div')(({ theme }) => ({
261
- width: '100%',
262
- }));
263
- const StyledLabel$1 = material.styled(material.InputLabel)(({ theme }) => ({
264
- fontSize: '0.875rem',
265
- fontWeight: 500,
266
- color: theme.palette.dark.main,
267
- marginBottom: theme.spacing(0.75),
268
- display: 'block',
269
- position: 'static',
270
- transform: 'none',
271
- '&.Mui-focused': {
272
- color: theme.palette.dark.main,
273
- },
274
- }));
275
- const StyledTextField$1 = material.styled(material.TextField, {
276
- shouldForwardProp: (prop) => !['errorMessage'].includes(prop),
277
- })(({ theme, errorMessage }) => ({
278
- width: '100%',
279
- '& .MuiInputBase-root': {
280
- backgroundColor: theme.palette.light.main,
281
- borderRadius: (typeof theme.shape.borderRadius === 'string'
282
- ? parseInt(theme.shape.borderRadius, 10)
283
- : theme.shape.borderRadius || 4) * 2,
284
- fontSize: '1rem',
285
- color: theme.palette.dark.main,
286
- minWidth: 0,
287
- padding: theme.spacing(0, 3),
288
- [theme.breakpoints.up('sm')]: {
289
- padding: theme.spacing(0, 4),
290
- },
291
- '& .MuiInputBase-input': {
292
- padding: theme.spacing(1, 0),
293
- [theme.breakpoints.up('sm')]: {
294
- padding: theme.spacing(1.25, 0),
295
- },
296
- },
297
- '&:focus-within': {
298
- outline: `2px solid ${errorMessage ? theme.palette.accent.main : theme.palette.primary.main}`,
299
- outlineOffset: 0,
300
- },
301
- '& .MuiOutlinedInput-notchedOutline': {
302
- borderColor: errorMessage ? theme.palette.accent.main : `${theme.palette.dark.main}33`,
303
- },
304
- '&:hover .MuiOutlinedInput-notchedOutline': {
305
- borderColor: errorMessage ? theme.palette.accent.main : theme.palette.primary.main,
306
- },
307
- '&.Mui-disabled': {
308
- backgroundColor: `${theme.palette.dark.main}0D`,
309
- '& .MuiInputBase-input': {
310
- color: `${theme.palette.dark.main}80`,
311
- cursor: 'not-allowed',
312
- },
313
- '& .MuiOutlinedInput-notchedOutline': {
314
- borderColor: `${theme.palette.dark.main}33`,
315
- },
316
- },
317
- },
318
- '& .MuiFormHelperText-root': {
319
- marginTop: theme.spacing(0.75),
320
- fontSize: '0.875rem',
321
- color: errorMessage ? theme.palette.accent.main : `${theme.palette.dark.main}99`,
322
- },
323
- }));
324
- const Input = ({ error, fullWidth = false, id, label, ...props }) => {
325
- const inputId = id || `input-${Math.random().toString(36).substr(2, 9)}`;
326
- return (jsxRuntime.jsxs(InputWrapper, { sx: { ...(!fullWidth && { width: 'auto' }) }, children: [label && (jsxRuntime.jsx(StyledLabel$1, { htmlFor: inputId, children: label })), jsxRuntime.jsx(StyledTextField$1, { id: inputId, error: !!error, helperText: error || props.helperText, errorMessage: error, fullWidth: fullWidth, variant: "outlined", ...props })] }));
327
- };
328
-
329
- const StyledCard = material.styled(material.Box, {
330
- shouldForwardProp: (prop) => prop !== 'customPadding' && prop !== 'customVariant',
331
- })(({ theme, customPadding, customVariant }) => {
332
- const paddingStyles = {
333
- none: { padding: 0 },
334
- sm: { padding: theme.spacing(2) }, // 16px
335
- md: { padding: theme.spacing(3) }, // 24px
336
- lg: { padding: theme.spacing(4) }, // 32px
337
- };
338
- const variantStyles = {
339
- default: {
340
- border: `1px solid ${theme.palette.dark.main}10`, // dark.main with 10% opacity
341
- },
342
- bordered: {
343
- border: `2px solid ${theme.palette.dark.main}20`, // dark.main with 20% opacity
344
- },
345
- elevated: {
346
- border: `1px solid ${theme.palette.dark.main}05`, // dark.main with 5% opacity
347
- boxShadow: theme.shadows[4], // MUI shadow level 4 for "elevated"
348
- },
349
- };
350
- const borderRadiusValue = typeof theme.shape.borderRadius === 'string'
351
- ? parseInt(theme.shape.borderRadius, 10)
352
- : theme.shape.borderRadius || 4;
353
- return {
354
- borderRadius: borderRadiusValue * 2, // Matches rounded-xl (approx 12px)
355
- overflow: 'visible',
356
- backgroundColor: theme.palette.light.main, // Matches #FEFDF7
357
- ...paddingStyles[customPadding],
358
- ...variantStyles[customVariant],
359
- };
360
- });
361
- const Card = ({ children, className = '', padding = 'md', variant = 'default', sx, // Destructure sx prop
362
- }) => {
363
- return (jsxRuntime.jsx(StyledCard, { className: className, customPadding: padding, customVariant: variant, sx: sx, children: children }));
364
- };
365
-
366
- const StyledSelect = material.styled(material.Select)(({ theme, error }) => ({
367
- backgroundColor: theme.palette.light.main,
368
- borderRadius: (typeof theme.shape.borderRadius === 'string'
369
- ? parseInt(theme.shape.borderRadius, 10)
370
- : theme.shape.borderRadius || 4) * 2,
371
- fontSize: '1rem',
372
- color: theme.palette.dark.main,
373
- '& .MuiOutlinedInput-notchedOutline': {
374
- borderColor: error ? theme.palette.accent.main : `${theme.palette.dark.main}33`,
375
- },
376
- '&:hover .MuiOutlinedInput-notchedOutline': {
377
- borderColor: error ? theme.palette.accent.main : theme.palette.primary.main,
378
- },
379
- '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
380
- borderWidth: 2,
381
- borderColor: error ? theme.palette.accent.main : theme.palette.primary.main,
382
- },
383
- '&.Mui-disabled': {
384
- backgroundColor: `${theme.palette.dark.main}0D`,
385
- '& .MuiSelect-select': {
386
- color: `${theme.palette.dark.main}80`,
387
- cursor: 'not-allowed',
388
- },
389
- },
390
- '& .MuiSelect-icon': {
391
- color: `${theme.palette.dark.main}66`,
392
- },
393
- }));
394
- const StyledInputLabel = material.styled(material.InputLabel)(({ theme }) => ({
395
- fontSize: '0.875rem',
396
- fontWeight: 500,
397
- color: theme.palette.dark.main,
398
- position: 'relative',
399
- transform: 'none',
400
- marginBottom: theme.spacing(0.75),
401
- '&.Mui-focused': {
402
- color: theme.palette.dark.main,
403
- },
404
- }));
405
- const Select = ({ label, error, helperText, fullWidth = false, options, className = '', id, value, onChange, disabled, name, }) => {
406
- const { theme } = useTheme();
407
- const selectId = id || `select-${Math.random().toString(36).substr(2, 9)}`;
408
- const handleChange = (event) => {
409
- if (onChange) {
410
- // Create a synthetic event that matches React.ChangeEvent<HTMLSelectElement>
411
- const syntheticEvent = {
412
- target: {
413
- value: event.target.value,
414
- name: name || '',
415
- },
416
- currentTarget: event.currentTarget,
417
- };
418
- onChange(syntheticEvent);
419
- }
420
- };
421
- return (jsxRuntime.jsxs(material.FormControl, { fullWidth: fullWidth, error: !!error, className: className, children: [label && (jsxRuntime.jsx(StyledInputLabel, { htmlFor: selectId, shrink: false, children: label })), jsxRuntime.jsx(StyledSelect, { id: selectId, name: name, value: value || '', onChange: handleChange, disabled: disabled, error: !!error, IconComponent: iconsMaterial.ExpandMoreRounded, MenuProps: {
422
- PaperProps: {
423
- sx: {
424
- mt: 1,
425
- borderRadius: 2,
426
- boxShadow: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
427
- },
428
- },
429
- }, children: options.map((option) => (jsxRuntime.jsx(material.MenuItem, { value: option.value, sx: {
430
- fontSize: '1rem',
431
- color: theme.palette.dark.main,
432
- '&:hover': {
433
- backgroundColor: `${theme.palette.primary.main}1A`,
434
- },
435
- '&.Mui-selected': {
436
- backgroundColor: `${theme.palette.primary.main}26`,
437
- '&:hover': {
438
- backgroundColor: `${theme.palette.primary.main}33`,
439
- },
440
- },
441
- }, children: option.label }, option.value))) }), error && (jsxRuntime.jsx(material.FormHelperText, { sx: {
442
- mt: 0.75,
443
- fontSize: '0.875rem',
444
- color: theme.palette.accent.main,
445
- }, children: error })), helperText && !error && (jsxRuntime.jsx(material.FormHelperText, { sx: {
446
- mt: 0.75,
447
- fontSize: '0.875rem',
448
- color: `${theme.palette.dark.main}99`,
449
- }, children: helperText }))] }));
450
- };
451
-
452
- const CustomRadioIcon = material.styled('span')(({ theme, checked }) => ({
453
- width: 20,
454
- height: 20,
455
- borderRadius: '50%',
456
- border: checked ? `5px solid ${theme.palette.secondary.main}` : `2px solid ${theme.palette.dark.main}4D`,
457
- transition: 'all 0.2s',
458
- backgroundColor: 'transparent',
459
- display: 'flex',
460
- alignItems: 'center',
461
- justifyContent: 'center',
462
- }));
463
- const Radio = ({ label, description, className = '', id, checked, ...props }) => {
464
- const radioId = id || `radio-${Math.random().toString(36).substr(2, 9)}`;
465
- const { theme } = useTheme();
466
- return (jsxRuntime.jsx(material.FormControlLabel, { className: className, control: jsxRuntime.jsxs(material.Box, { sx: { display: 'flex', alignItems: 'center', height: 24, mr: 1.5 }, children: [jsxRuntime.jsx("input", { id: radioId, type: "radio", style: { display: 'none' }, checked: checked, ...props }), jsxRuntime.jsx(CustomRadioIcon, { checked: checked, onClick: (e) => {
467
- const input = document.getElementById(radioId);
468
- if (input && !props.disabled) {
469
- input.click();
470
- }
471
- }, sx: {
472
- cursor: props.disabled ? 'not-allowed' : 'pointer',
473
- opacity: props.disabled ? 0.5 : 1,
474
- } })] }), label: jsxRuntime.jsxs(material.Box, { sx: { ml: 0 }, children: [jsxRuntime.jsx(material.Typography, { component: "label", htmlFor: radioId, sx: {
475
- fontSize: '1rem',
476
- fontWeight: 500,
477
- color: theme.palette.dark.main,
478
- cursor: props.disabled ? 'not-allowed' : 'pointer',
479
- opacity: props.disabled ? 0.5 : 1,
480
- }, children: label }), description && (jsxRuntime.jsx(material.Typography, { variant: "body2", sx: {
481
- fontSize: '0.875rem',
482
- color: `${theme.palette.dark.main}99`,
483
- mt: 0.25,
484
- }, children: description }))] }), sx: { alignItems: 'flex-start', ml: 0 } }));
485
- };
486
- const RadioGroup = ({ label, error, children, className = '' }) => {
487
- const { theme } = useTheme();
488
- return (jsxRuntime.jsxs(material.FormControl, { component: "fieldset", className: className, error: !!error, fullWidth: true, children: [label && (jsxRuntime.jsx(material.FormLabel, { component: "legend", sx: {
489
- fontSize: '0.875rem',
490
- fontWeight: 500,
491
- color: theme.palette.dark.main,
492
- mb: 1.5,
493
- '&.Mui-focused': {
494
- color: theme.palette.dark.main,
495
- },
496
- }, children: label })), jsxRuntime.jsx(material.Box, { sx: { display: 'flex', flexDirection: 'column', gap: 1.5 }, children: children }), error && (jsxRuntime.jsx(material.FormHelperText, { sx: {
497
- mt: 1,
498
- fontSize: '0.875rem',
499
- color: theme.palette.accent.main,
500
- }, children: error }))] }));
501
- };
502
-
503
- const StyledWrapper$1 = material.styled(material.Box)(({ theme }) => ({
504
- display: 'flex',
505
- alignItems: 'flex-start',
506
- }));
507
- const StyledCheckbox = material.styled(material.Checkbox)(({ theme }) => ({
508
- width: 16, // Matches Tailwind's w-4 (16px)
509
- height: 16, // Matches Tailwind's h-4 (16px)
510
- color: theme.palette.dark.main + '33', // dark.main with 20% opacity (border-dark/20)
511
- '&.Mui-checked': {
512
- color: theme.palette.primary.main, // text-primary
513
- },
514
- '&:focus': {
515
- outline: `2px solid ${theme.palette.primary.main}`, // focus:ring-2 focus:ring-primary
516
- outlineOffset: 2,
517
- },
518
- borderRadius: theme.shape.borderRadius, // Matches rounded
519
- cursor: 'pointer',
520
- }));
521
- const StyledLabel = material.styled(material.Typography)(({ theme }) => ({
522
- fontSize: '1rem', // text-base (16px)
523
- fontWeight: 500, // font-medium
524
- color: theme.palette.dark.main, // text-dark
525
- cursor: 'pointer',
526
- }));
527
- const StyledDescription = material.styled(material.Typography)(({ theme }) => ({
528
- fontSize: '0.875rem', // text-sm (14px)
529
- color: theme.palette.dark.main + '99', // dark.main with 60% opacity (text-dark/60)
530
- marginTop: theme.spacing(0.5), // mt-0.5
531
- }));
532
- const Checkbox = ({ label, description, className = '', id, ...props }) => {
533
- const checkboxId = id || `checkbox-${Math.random().toString(36).substr(2, 9)}`;
534
- return (jsxRuntime.jsx(StyledWrapper$1, { className: className, children: jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(StyledCheckbox, { id: checkboxId, ...props }), label: jsxRuntime.jsxs(material.Box, { sx: { ml: 1.5, display: 'flex', flexDirection: 'column' }, children: [jsxRuntime.jsx(StyledLabel, { children: label }), description && jsxRuntime.jsx(StyledDescription, { children: description })] }) }) }));
535
- };
536
-
537
- const StyledLinearProgress = material.styled(material.LinearProgress)(({ theme }) => ({
538
- height: 10,
539
- borderRadius: 9999,
540
- backgroundColor: `${theme.palette.dark.main}1A`,
541
- '& .MuiLinearProgress-bar': {
542
- borderRadius: 9999,
543
- backgroundColor: theme.palette.primary.main,
544
- transition: 'transform 0.3s ease-out',
545
- },
546
- }));
547
- const Progress = ({ current, total, showLabel = true, className = '' }) => {
548
- const percentage = Math.min(Math.max((current / total) * 100, 0), 100);
549
- return (jsxRuntime.jsxs(material.Box, { className: className, children: [showLabel && (jsxRuntime.jsxs(material.Box, { sx: { display: 'flex', justifyContent: 'space-between', alignItems: 'center', mb: 1 }, children: [jsxRuntime.jsxs(material.Typography, { variant: "body2", fontWeight: 500, children: ["Step ", current, " of ", total] }), jsxRuntime.jsxs(material.Typography, { variant: "body2", fontWeight: 500, children: [Math.round(percentage), "%"] })] })), jsxRuntime.jsx(StyledLinearProgress, { variant: "determinate", value: percentage })] }));
550
- };
551
- const StepNumber = material.styled(material.Box)(({ theme, isActive, isCompleted }) => ({
552
- width: 40,
553
- height: 40,
554
- borderRadius: '50%',
555
- display: 'flex',
556
- alignItems: 'center',
557
- justifyContent: 'center',
558
- fontWeight: 600,
559
- fontSize: '0.875rem',
560
- transition: 'all 0.2s',
561
- backgroundColor: isCompleted || isActive
562
- ? theme.palette.primary.main
563
- : `${theme.palette.dark.main}1A`,
564
- color: isCompleted || isActive
565
- ? (theme.palette.custom?.stepIndicatorTextColor || theme.palette.dark.main)
566
- : `${theme.palette.dark.main}99`,
567
- boxShadow: isActive ? `0 0 0 4px ${theme.palette.primary.main}33` : 'none',
568
- [theme.breakpoints.down('sm')]: {
569
- width: 32,
570
- height: 32,
571
- fontSize: '0.75rem',
572
- },
573
- }));
574
- const StepLine = material.styled(material.Box)(({ theme, isCompleted }) => ({
575
- flex: 1,
576
- height: 4,
577
- borderRadius: 2,
578
- margin: '0 8px',
579
- minWidth: '1rem',
580
- transition: 'background-color 0.2s',
581
- backgroundColor: isCompleted ? theme.palette.primary.main : `${theme.palette.dark.main}1A`,
582
- [theme.breakpoints.down('sm')]: {
583
- height: 2,
584
- margin: '0 4px',
585
- },
586
- }));
587
- const StepIndicator = ({ steps, currentStep, className = '' }) => {
588
- const { theme } = useTheme();
589
- return (jsxRuntime.jsx(material.Box, { className: className, sx: {
590
- display: 'flex',
591
- alignItems: 'center',
592
- justifyContent: 'space-between',
593
- overflowX: 'auto',
594
- pb: 1,
595
- }, children: steps.map((step, index) => {
596
- const stepNumber = index + 1;
597
- const isActive = stepNumber === currentStep;
598
- const isCompleted = stepNumber < currentStep;
599
- return (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs(material.Box, { sx: { display: 'flex', flexDirection: 'column', alignItems: 'center', flexShrink: 0 }, children: [jsxRuntime.jsx(StepNumber, { isActive: isActive, isCompleted: isCompleted, children: stepNumber }), jsxRuntime.jsx(material.Typography, { sx: {
600
- mt: { xs: 0.5, sm: 1 },
601
- fontSize: { xs: '10px', sm: '12px' },
602
- fontWeight: 500,
603
- whiteSpace: 'nowrap',
604
- color: isActive ? theme.palette.primary.main : `${theme.palette.dark.main}99`,
605
- }, children: step })] }), index < steps.length - 1 && (jsxRuntime.jsx(StepLine, { isCompleted: isCompleted }))] }, index));
606
- }) }));
607
- };
608
-
609
- const StyledAlert = material.styled(material.Alert)(({ theme, customvariant }) => {
610
- const variants = {
611
- info: {
612
- backgroundColor: '#eff6ff',
613
- borderColor: '#bfdbfe',
614
- color: '#1e3a8a',
615
- },
616
- success: {
617
- backgroundColor: '#f0fdf4',
618
- borderColor: '#bbf7d0',
619
- color: '#14532d',
620
- },
621
- warning: {
622
- backgroundColor: '#fefce8',
623
- borderColor: '#fef08a',
624
- color: '#713f12',
625
- },
626
- error: {
627
- backgroundColor: '#fef2f2',
628
- borderColor: '#fecaca',
629
- color: '#7f1d1d',
630
- },
631
- custom: {
632
- backgroundColor: theme.palette.light.main,
633
- borderColor: `${theme.palette.dark.main}33`,
634
- color: theme.palette.dark.main,
635
- },
636
- };
637
- const variantKey = customvariant || 'info';
638
- const style = variants[variantKey];
639
- return {
640
- display: 'flex',
641
- alignItems: 'flex-start',
642
- gap: theme.spacing(1.5),
643
- padding: theme.spacing(2),
644
- border: `1px solid ${style.borderColor}`,
645
- borderRadius: (typeof theme.shape.borderRadius === 'string'
646
- ? parseInt(theme.shape.borderRadius, 10)
647
- : theme.shape.borderRadius || 4) * 2,
648
- backgroundColor: style.backgroundColor,
649
- color: style.color,
650
- '& .MuiAlert-icon': {
651
- marginRight: 0,
652
- padding: 0,
653
- marginTop: '2px',
654
- },
655
- '& .MuiAlert-message': {
656
- padding: 0,
657
- flex: 1,
658
- },
659
- };
660
- });
661
- const Alert = ({ variant = 'info', children, className = '', icon = true, sx, }) => {
662
- const iconMap = {
663
- info: jsxRuntime.jsx(iconsMaterial.InfoOutlineRounded, { sx: { fontSize: 20 } }),
664
- success: jsxRuntime.jsx(iconsMaterial.TaskAltRounded, { sx: { fontSize: 20 } }),
665
- warning: jsxRuntime.jsx(iconsMaterial.ErrorOutlineRounded, { sx: { fontSize: 20 } }),
666
- error: jsxRuntime.jsx(iconsMaterial.HighlightOffRounded, { sx: { fontSize: 20 } }),
667
- custom: jsxRuntime.jsx(iconsMaterial.InfoOutlineRounded, { sx: { fontSize: 20 } }),
668
- };
669
- const severityMap = {
670
- info: 'info',
671
- success: 'success',
672
- warning: 'warning',
673
- error: 'error',
674
- custom: 'info',
675
- };
676
- return (jsxRuntime.jsx(StyledAlert, { customvariant: variant, severity: severityMap[variant], icon: icon ? iconMap[variant] : false, className: className, sx: sx, children: children }));
677
- };
678
-
679
- const NoteContainer = material.styled(material.Box)({
680
- position: 'relative',
681
- maxWidth: '100%',
682
- });
683
- const EditButton = material.styled(material.IconButton)(({ theme }) => ({
684
- position: 'absolute',
685
- right: -4,
686
- top: '50%',
687
- transform: 'translateY(-50%)',
688
- width: 24,
689
- height: 24,
690
- backgroundColor: '#4D3019',
691
- opacity: 0,
692
- transition: 'all 0.2s ease',
693
- boxShadow: '0 1px 3px rgba(0,0,0,0.12)',
694
- '&:hover': {
695
- backgroundColor: '#4D3019',
696
- transform: 'translateY(-50%) scale(1.1)',
697
- },
698
- }));
699
- const HighlightWrapper = material.styled(material.Box)(({ isHovered, highlightColor, highlightSelectedColor, isCustom }) => ({
700
- position: 'relative',
701
- display: 'inline-block',
702
- maxWidth: '100%',
703
- '&:hover .edit-button': {
704
- opacity: 1,
705
- },
706
- '& .highlight-span': {
707
- background: isCustom ? highlightColor : (isHovered ? highlightSelectedColor : highlightColor),
708
- padding: '2px 4px',
709
- boxDecorationBreak: 'clone',
710
- WebkitBoxDecorationBreak: 'clone',
711
- transition: isCustom ? 'none' : 'background 0.2s ease',
712
- cursor: isCustom ? 'default' : 'pointer',
713
- fontSize: '13px',
714
- wordWrap: 'break-word',
715
- overflowWrap: 'break-word',
716
- display: 'inline',
717
- color: '#4D3019',
718
- },
719
- }));
720
- const NoteBox = ({ variant = 'default', label, children, className = '', onEditClick, }) => {
721
- const [isHovered, setIsHovered] = React.useState(false);
722
- const variants = {
723
- default: {
724
- highlight: '#FFEACD',
725
- highlightSelected: '#FFC365',
726
- label: '',
727
- labelColor: '',
728
- },
729
- mandatory: {
730
- highlight: '#FFEACD',
731
- highlightSelected: '#FFC365',
732
- label: 'Not Answered (Mandatory)',
733
- labelColor: 'var(--color-secondary)',
734
- },
735
- optional: {
736
- highlight: '#FFF6D1',
737
- highlightSelected: '#FDE58E',
738
- label: 'Not Answered (Optional)',
739
- labelColor: 'var(--color-secondary)',
740
- },
741
- pending: {
742
- highlight: '#F5E2FF',
743
- highlightSelected: '#EBC7FF',
744
- label: 'Pending',
745
- labelColor: 'var(--color-secondary)',
746
- },
747
- accepted: {
748
- highlight: '#EDF9CD',
749
- highlightSelected: '#DBF59A',
750
- label: 'Accepted',
751
- labelColor: '#2D5016',
752
- },
753
- 'action-required': {
754
- highlight: '#FBEEEE',
755
- highlightSelected: '#FFBCB3',
756
- label: 'Action required before approval',
757
- labelColor: '#CC0000',
758
- },
759
- custom: {
760
- highlight: '#D9EDF8',
761
- highlightSelected: '#B3E0F2',
762
- label: 'Custom Text',
763
- labelColor: 'var(--color-secondary)',
764
- },
765
- };
766
- const style = variants[variant];
767
- const displayLabel = label || style.label;
768
- return (jsxRuntime.jsxs(NoteContainer, { className: className, children: [displayLabel && (jsxRuntime.jsx(material.Box, { sx: { mb: 1 }, children: jsxRuntime.jsx(material.Typography, { component: "span", sx: {
769
- fontSize: '13px',
770
- fontWeight: 500,
771
- color: style.labelColor || 'rgba(0, 0, 0, 0.6)',
772
- }, children: displayLabel }) })), jsxRuntime.jsxs(HighlightWrapper, { isHovered: isHovered, highlightColor: style.highlight, highlightSelectedColor: style.highlightSelected, isCustom: variant === 'custom', onMouseEnter: () => variant !== 'custom' && setIsHovered(true), onMouseLeave: () => variant !== 'custom' && setIsHovered(false), children: [jsxRuntime.jsx("span", { className: "highlight-span", children: children }), jsxRuntime.jsx(EditButton, { className: "edit-button", onClick: (e) => {
773
- e.stopPropagation();
774
- if (onEditClick) {
775
- onEditClick();
776
- }
777
- }, title: "Edit variable highlight", size: "small", children: jsxRuntime.jsx(iconsMaterial.EditRounded, { sx: { fontSize: 14, color: "#FFFFFF", strokeWidth: 2 } }) })] })] }));
778
- };
779
-
780
- const StyledDialog$1 = material.styled(material.Dialog)(({ theme }) => ({
781
- '& .MuiDialog-paper': {
782
- borderRadius: theme.shape.borderRadius,
783
- maxWidth: '896px',
784
- width: '100%',
785
- maxHeight: '90vh',
786
- },
787
- }));
788
- const NavButton = material.styled(material.IconButton)(({ theme }) => ({
789
- width: '40px',
790
- height: '40px',
791
- border: `2px solid ${theme.palette.dark.main}`,
792
- backgroundColor: theme.palette.light.main,
793
- '&:hover': {
794
- backgroundColor: theme.palette.dark.main,
795
- color: theme.palette.light.main,
796
- },
797
- }));
798
- const Modal = ({ isOpen, onClose, status, description, defaultText, note, acceptSuggestion: initialAcceptSuggestion = true, onAcceptSuggestionChange, onSave, onSubmit, onDeclineWording, onPrevious, onNext, currentPage = 1, totalPages = 1, }) => {
799
- const [textValue, setTextValue] = React.useState(defaultText);
800
- const [acceptSuggestion, setAcceptSuggestion] = React.useState(initialAcceptSuggestion);
801
- const statusConfig = {
802
- mandatory: {
803
- color: '#F5A623',
804
- label: 'Mandatory',
805
- },
806
- optional: {
807
- color: '#F5D76E',
808
- label: 'Optional',
809
- },
810
- accepted: {
811
- color: '#A3D977',
812
- label: 'Accepted',
813
- },
814
- 'action-required': {
815
- color: '#F56B6B',
816
- label: 'Action Required',
817
- },
818
- 'action-required-note': {
819
- color: '#F56B6B',
820
- label: 'Action Required',
821
- },
822
- 'accepted-note': {
823
- color: '#A3D977',
824
- label: 'Accepted',
825
- },
826
- };
827
- const statusStyle = statusConfig[status];
828
- return (jsxRuntime.jsxs(StyledDialog$1, { open: isOpen, onClose: onClose, maxWidth: "md", fullWidth: true, children: [jsxRuntime.jsx(material.IconButton, { onClick: onClose, sx: {
829
- position: 'absolute',
830
- top: 16,
831
- right: 16,
832
- zIndex: 1,
833
- }, children: jsxRuntime.jsx(iconsMaterial.CloseRounded, { sx: { fontSize: 24 } }) }), jsxRuntime.jsxs(material.DialogContent, { sx: { p: { xs: 3, sm: 4, md: 6 } }, children: [jsxRuntime.jsx(material.Box, { sx: { mb: 3 }, children: jsxRuntime.jsx(material.Chip, { label: statusStyle.label, sx: {
834
- backgroundColor: statusStyle.color,
835
- color: status === 'optional' ? '#4D3019' : '#fff',
836
- fontWeight: 600,
837
- fontSize: '0.875rem',
838
- height: 'auto',
839
- py: 1,
840
- px: 2,
841
- } }) }), jsxRuntime.jsx(material.Typography, { sx: { mb: 3, lineHeight: 1.6 }, children: description }), status === 'action-required-note' && note && (jsxRuntime.jsx(material.Alert, { icon: jsxRuntime.jsx(iconsMaterial.ErrorOutlineRounded, { sx: { fontSize: 20 } }), severity: "error", sx: {
842
- mb: 2,
843
- backgroundColor: '#FFE6E6',
844
- borderLeft: '4px solid #F56B6B',
845
- '& .MuiAlert-icon': {
846
- color: '#F56B6B',
847
- },
848
- '& .MuiAlert-message': {
849
- color: '#4D3019',
850
- },
851
- }, children: note })), status === 'accepted-note' && note && (jsxRuntime.jsx(material.Alert, { icon: jsxRuntime.jsx(iconsMaterial.StickyNote2Rounded, { sx: { fontSize: 20 } }), severity: "warning", sx: {
852
- mb: 2,
853
- backgroundColor: '#FFF9E6',
854
- borderLeft: '4px solid #F5D76E',
855
- '& .MuiAlert-icon': {
856
- color: '#F5A623',
857
- },
858
- '& .MuiAlert-message': {
859
- color: '#4D3019',
860
- },
861
- }, children: note })), jsxRuntime.jsx(material.TextField, { multiline: true, rows: 4, fullWidth: true, value: textValue, onChange: (e) => setTextValue(e.target.value), disabled: acceptSuggestion, sx: {
862
- mb: 2,
863
- '& .MuiOutlinedInput-root': {
864
- backgroundColor: acceptSuggestion ? 'rgba(0, 0, 0, 0.05)' : '#fff',
865
- },
866
- } }), jsxRuntime.jsxs(material.Box, { sx: {
867
- display: 'flex',
868
- flexDirection: { xs: 'column', sm: 'row' },
869
- alignItems: { xs: 'stretch', sm: 'center' },
870
- justifyContent: 'space-between',
871
- gap: 2,
872
- pt: 3,
873
- borderTop: '1px solid',
874
- borderColor: 'divider',
875
- }, children: [jsxRuntime.jsxs(material.Box, { sx: { display: 'flex', gap: 1.5 }, children: [jsxRuntime.jsx(Button, { onClick: onSave, variant: "secondary", size: "md", children: "Save" }), jsxRuntime.jsx(Button, { onClick: onSubmit, variant: "primary", size: "md", children: "Submit for review" }), jsxRuntime.jsx(Button, { onClick: onDeclineWording, variant: "danger", size: "md", children: "Decline Wording" })] }), jsxRuntime.jsxs(material.Box, { sx: {
876
- display: 'flex',
877
- alignItems: 'center',
878
- gap: 2,
879
- justifyContent: { xs: 'space-between', sm: 'flex-end' },
880
- }, children: [jsxRuntime.jsxs(material.Box, { sx: { display: 'flex', gap: 1.5 }, children: [jsxRuntime.jsx(NavButton, { onClick: onPrevious, "aria-label": "Previous", children: jsxRuntime.jsx(iconsMaterial.ChevronLeftRounded, { sx: { fontSize: 20 } }) }), jsxRuntime.jsx(NavButton, { onClick: onNext, "aria-label": "Next", children: jsxRuntime.jsx(iconsMaterial.ChevronRightRounded, { sx: { fontSize: 20 } }) })] }), jsxRuntime.jsxs(material.Typography, { fontWeight: 500, fontSize: "1.125rem", sx: { ml: 1 }, children: [currentPage, "/", totalPages] })] })] })] })] }));
881
- };
882
-
883
- const StyledConcertina = material.styled(material.Box)(({ theme }) => ({
884
- width: '100%',
885
- display: 'flex',
886
- flexDirection: 'column',
887
- gap: theme.spacing(1), // space-y-2
888
- }));
889
- const StyledSection = material.styled(material.Box)(({ theme }) => ({
890
- border: `1px solid ${theme.palette.grey[200]}`, // border-gray-200
891
- borderRadius: (typeof theme.shape.borderRadius === 'string'
892
- ? parseInt(theme.shape.borderRadius, 10)
893
- : theme.shape.borderRadius || 4) * 2, // rounded-lg
894
- overflow: 'hidden',
895
- }));
896
- const StyledHeader$1 = material.styled(material.Box)(({ theme }) => ({
897
- display: 'flex',
898
- alignItems: 'center',
899
- justifyContent: 'space-between',
900
- padding: theme.spacing(3), // p-3 sm:p-4 md:p-6
901
- cursor: 'pointer',
902
- transition: 'background-color 0.2s',
903
- gap: theme.spacing(2), // gap-2
904
- '&:hover': {
905
- backgroundColor: theme.palette.light.main, // hover:bg-[#FDFCEE]
906
- },
907
- [theme.breakpoints.up('sm')]: {
908
- padding: theme.spacing(4),
909
- },
910
- [theme.breakpoints.up('md')]: {
911
- padding: theme.spacing(6),
912
- },
913
- }));
914
- const StyledTitleWrapper = material.styled(material.Box)(({ theme }) => ({
915
- display: 'flex',
916
- alignItems: 'center',
917
- gap: theme.spacing(3), // sm:gap-3
918
- flex: 1,
919
- minWidth: 0,
920
- [theme.breakpoints.down('sm')]: {
921
- gap: theme.spacing(2), // gap-2
922
- },
923
- }));
924
- const StyledTitle = material.styled(material.Typography, {
925
- shouldForwardProp: (prop) => prop !== 'isHovered',
926
- })(({ theme, isHovered }) => ({
927
- fontWeight: 700, // font-bold
928
- fontSize: '1.5rem', // text-2xl
929
- lineHeight: 1.2, // leading-tight
930
- color: theme.palette.dark.main, // text-[#4D3019]
931
- wordBreak: 'break-word', // break-words
932
- position: 'relative',
933
- '&:after': {
934
- content: '""',
935
- position: 'absolute',
936
- bottom: 0,
937
- left: 0,
938
- width: '100%',
939
- height: 1,
940
- backgroundColor: theme.palette.accent.main, // bg-orange-500
941
- display: isHovered ? 'block' : 'none',
942
- },
943
- [theme.breakpoints.down('lg')]: {
944
- fontSize: '1.25rem', // lg:text-[28px]
945
- },
946
- [theme.breakpoints.down('md')]: {
947
- fontSize: '1.125rem', // md:text-xl
948
- },
949
- [theme.breakpoints.down('sm')]: {
950
- fontSize: '1rem', // sm:text-lg
951
- },
952
- }));
953
- const StyledLinkButton = material.styled(material.IconButton)(({ theme }) => ({
954
- color: theme.palette.accent.main, // text-orange-500
955
- '&:hover': {
956
- color: theme.palette.accent.dark || theme.palette.accent.main, // hover:text-orange-600
957
- },
958
- padding: 0,
959
- }));
960
- const StyledTooltip = material.styled(material.Box)(({ theme }) => ({
961
- position: 'absolute',
962
- top: -40, // -top-10
963
- left: '50%',
964
- transform: 'translateX(-50%)',
965
- backgroundColor: theme.palette.grey[900], // bg-gray-900
966
- color: theme.palette.common.white, // text-white
967
- fontSize: '0.75rem', // text-xs
968
- padding: theme.spacing(1, 2), // px-2 py-1
969
- borderRadius: theme.shape.borderRadius, // rounded
970
- whiteSpace: 'nowrap',
971
- zIndex: 10,
972
- [theme.breakpoints.up('sm')]: {
973
- fontSize: '0.875rem', // sm:text-sm
974
- padding: theme.spacing(1.5, 3), // sm:px-3 sm:py-1.5
975
- },
976
- }));
977
- const StyledChevron = material.styled(iconsMaterial.ExpandMoreRounded)(({ theme }) => ({
978
- color: theme.palette.grey[500], // text-gray-500
979
- transition: 'transform 0.2s', // transition-transform duration-200
980
- width: 24, // sm:w-6
981
- height: 24, // sm:h-6
982
- [theme.breakpoints.down('sm')]: {
983
- width: 20,
984
- height: 20,
985
- },
986
- }));
987
- const StyledContent = material.styled(material.Box)(({ theme }) => ({
988
- padding: theme.spacing(2, 3, 3), // px-3 pb-3 pt-2
989
- [theme.breakpoints.up('sm')]: {
990
- padding: theme.spacing(2, 4, 4), // sm:px-4 sm:pb-4
991
- },
992
- [theme.breakpoints.up('md')]: {
993
- padding: theme.spacing(2, 6, 6), // md:px-6 md:pb-6
994
- },
995
- }));
996
- const StyledContentText = material.styled(material.Typography)(({ theme }) => ({
997
- color: theme.palette.dark.main, // text-[#4D3019]
998
- lineHeight: 1.5, // leading-relaxed
999
- wordBreak: 'break-word', // break-words
1000
- fontSize: 13, // style={{ fontSize: '13px' }}
1001
- }));
1002
- function Concertina({ sections }) {
1003
- const [openSections, setOpenSections] = React.useState(new Set());
1004
- const [hoveredTitle, setHoveredTitle] = React.useState(null);
1005
- const [copiedId, setCopiedId] = React.useState(null);
1006
- const toggleSection = (id) => {
1007
- const newOpenSections = new Set(openSections);
1008
- if (newOpenSections.has(id)) {
1009
- newOpenSections.delete(id);
1010
- }
1011
- else {
1012
- newOpenSections.add(id);
1013
- }
1014
- setOpenSections(newOpenSections);
1015
- };
1016
- const copyJumpLink = (id, e) => {
1017
- e.stopPropagation();
1018
- const url = `${window.location.origin}${window.location.pathname}#${id}`;
1019
- navigator.clipboard.writeText(url);
1020
- setCopiedId(id);
1021
- setTimeout(() => setCopiedId(null), 2000);
1022
- };
1023
- return (jsxRuntime.jsx(StyledConcertina, { children: sections.map((section) => (jsxRuntime.jsxs(StyledSection, { id: section.id, children: [jsxRuntime.jsxs(StyledHeader$1, { onClick: () => toggleSection(section.id), onMouseEnter: () => setHoveredTitle(section.id), onMouseLeave: () => setHoveredTitle(null), children: [jsxRuntime.jsxs(StyledTitleWrapper, { children: [jsxRuntime.jsx(StyledTitle, { isHovered: hoveredTitle === section.id, variant: "h3", children: section.title }), hoveredTitle === section.id && (jsxRuntime.jsxs(material.Box, { sx: { position: 'relative', flexShrink: 0 }, children: [jsxRuntime.jsx(StyledLinkButton, { onClick: (e) => copyJumpLink(section.id, e), "aria-label": "Copy link", children: jsxRuntime.jsx(iconsMaterial.LinkRounded, { sx: { fontSize: 20 } }) }), copiedId === section.id && (jsxRuntime.jsx(StyledTooltip, { children: "Link copied" }))] }))] }), jsxRuntime.jsx(StyledChevron, { sx: { fontSize: 20, transform: openSections.has(section.id) ? 'rotate(180deg)' : 'none' } })] }), jsxRuntime.jsx(material.Collapse, { in: openSections.has(section.id), children: jsxRuntime.jsx(StyledContent, { children: jsxRuntime.jsx(StyledContentText, { children: section.content }) }) })] }, section.id))) }));
1024
- }
1025
-
1026
- const ReadByContainer = material.styled(material.Box)(({ theme }) => ({
1027
- display: 'flex',
1028
- flexDirection: 'row',
1029
- alignItems: 'flex-start',
1030
- gap: theme.spacing(2),
1031
- padding: theme.spacing(2),
1032
- borderLeft: `4px solid ${theme.palette.primary.main}`,
1033
- borderRadius: '0 8px 8px 0',
1034
- backgroundColor: theme.palette.custom?.readByBackgroundColor || theme.palette.accent.main,
1035
- [theme.breakpoints.down('sm')]: {
1036
- flexDirection: 'column',
1037
- padding: theme.spacing(1.5),
1038
- },
1039
- }));
1040
- const ExpandButton = material.styled(material.IconButton)(({ theme }) => ({
1041
- width: 32,
1042
- height: 32,
1043
- backgroundColor: '#4d3019',
1044
- color: '#fff',
1045
- flexShrink: 0,
1046
- '&:hover': {
1047
- backgroundColor: '#4d3019',
1048
- opacity: 0.8,
1049
- },
1050
- [theme.breakpoints.down('sm')]: {
1051
- alignSelf: 'flex-end',
1052
- },
1053
- }));
1054
- const ReadBy = ({ names }) => {
1055
- const { theme } = useTheme();
1056
- const [isExpanded, setIsExpanded] = React.useState(false);
1057
- const displayText = isExpanded
1058
- ? names.join(', ')
1059
- : names.length > 5
1060
- ? `${names.slice(0, 5).join(', ')}...`
1061
- : names.join(', ');
1062
- return (jsxRuntime.jsxs(ReadByContainer, { children: [jsxRuntime.jsxs(material.Box, { sx: { flex: 1, minWidth: 0, wordBreak: 'break-word' }, children: [jsxRuntime.jsx(material.Typography, { component: "span", sx: {
1063
- fontSize: { xs: '13px', sm: '14px' },
1064
- fontWeight: 700,
1065
- color: theme.palette.dark.main,
1066
- }, children: "Read by:" }), jsxRuntime.jsx(material.Typography, { component: "span", sx: {
1067
- fontSize: { xs: '13px', sm: '14px' },
1068
- color: theme.palette.dark.main,
1069
- ml: 1,
1070
- }, children: displayText })] }), names.length > 5 && (jsxRuntime.jsx(ExpandButton, { onClick: () => setIsExpanded(!isExpanded), "aria-label": isExpanded ? 'Collapse' : 'Expand', size: "small", children: isExpanded ? (jsxRuntime.jsx(iconsMaterial.ExpandLessRounded, { sx: { fontSize: 16 } })) : (jsxRuntime.jsx(iconsMaterial.ExpandMoreRounded, { sx: { fontSize: 16 } })) }))] }));
1071
- };
1072
-
1073
- const StatusBarContainer = material.styled(material.Box)(({ theme }) => ({
1074
- width: '100%',
1075
- backgroundColor: '#F5C98E',
1076
- padding: theme.spacing(1.5, 3),
1077
- display: 'flex',
1078
- alignItems: 'center',
1079
- justifyContent: 'space-between',
1080
- gap: theme.spacing(3),
1081
- flexDirection: 'row',
1082
- [theme.breakpoints.down('sm')]: {
1083
- flexDirection: 'column',
1084
- padding: theme.spacing(1.25, 2),
1085
- },
1086
- }));
1087
- const ContentWrapper = material.styled(material.Box)(({ theme }) => ({
1088
- display: 'flex',
1089
- alignItems: 'center',
1090
- gap: theme.spacing(1.5),
1091
- flex: 1,
1092
- minWidth: 0,
1093
- justifyContent: 'flex-start',
1094
- [theme.breakpoints.down('sm')]: {
1095
- justifyContent: 'center',
1096
- gap: theme.spacing(1),
1097
- },
1098
- }));
1099
- const NextButton = material.styled(material.IconButton)(({ theme }) => ({
1100
- width: 40,
1101
- height: 40,
1102
- border: `2px solid rgba(77, 48, 25, 0.25)`,
1103
- backgroundColor: '#fff',
1104
- '&:hover': {
1105
- backgroundColor: '#4D3019',
1106
- color: '#fff',
1107
- },
1108
- [theme.breakpoints.down('sm')]: {
1109
- width: 36,
1110
- height: 36,
1111
- },
1112
- }));
1113
- const StatusBar = ({ itemCount, variant = 'actionstarted', onTailorClick, onNextClick }) => {
1114
- const message = `There are ${itemCount} items that need attention.`;
1115
- return (jsxRuntime.jsxs(StatusBarContainer, { children: [jsxRuntime.jsxs(ContentWrapper, { children: [jsxRuntime.jsx(iconsMaterial.PieChartRounded, { sx: {
1116
- fontSize: 24,
1117
- color: "#4D3019",
1118
- flexShrink: 0,
1119
- } }), jsxRuntime.jsx(material.Typography, { sx: {
1120
- fontSize: { xs: '14px', sm: '15px', md: '16px' },
1121
- color: '#4D3019',
1122
- wordBreak: 'break-word',
1123
- textAlign: { xs: 'center', sm: 'left' },
1124
- }, children: variant === 'actionstarted' ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(material.Box, { component: "span", sx: { fontWeight: 700 }, children: "Incomplete." }), " ", message] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(material.Box, { component: "span", sx: { fontWeight: 700 }, children: "Not started." }), " ", message] })) })] }), variant === 'actionstarted' ? (jsxRuntime.jsx(material.Box, { sx: { display: 'flex', gap: 1.5, flexShrink: 0 }, children: jsxRuntime.jsx(NextButton, { onClick: onNextClick, "aria-label": "Next", children: jsxRuntime.jsx(iconsMaterial.ChevronRightRounded, { sx: { fontSize: 20 } }) }) })) : (jsxRuntime.jsx(material.Box, { sx: { flexShrink: 0 }, children: jsxRuntime.jsx(Button, { variant: "outline", size: "sm", onClick: onTailorClick, children: "Tailor policies" }) }))] }));
1125
- };
1126
-
1127
- const TabsContainer = material.styled(material.Box)({
1128
- display: 'none',
1129
- '@media (min-width: 900px)': {
1130
- display: 'block',
1131
- },
1132
- });
1133
- const TabButtonsWrapper = material.styled(material.Box)({
1134
- display: 'flex',
1135
- gap: '4px',
1136
- backgroundColor: '#FDFCEE',
1137
- });
1138
- const TabButton = material.styled(material.Button)(({ theme, isActive }) => ({
1139
- padding: theme.spacing(2, 3),
1140
- fontSize: '16px',
1141
- fontWeight: 500,
1142
- textTransform: 'none',
1143
- color: isActive ? '#4D3019' : '#826E5C',
1144
- backgroundColor: isActive ? theme.palette.custom?.tabBackgroundColor || theme.palette.accent.main : 'transparent',
1145
- borderRadius: 0,
1146
- position: 'relative',
1147
- minWidth: 'auto',
1148
- '&:hover': {
1149
- backgroundColor: isActive ? theme.palette.custom?.tabBackgroundColor || theme.palette.accent.main : 'rgba(77, 48, 25, 0.05)',
1150
- color: '#4D3019',
1151
- },
1152
- '&::after': isActive ? {
1153
- content: '""',
1154
- position: 'absolute',
1155
- bottom: 0,
1156
- left: 0,
1157
- right: 0,
1158
- height: '4px',
1159
- backgroundColor: theme.palette.primary.main,
1160
- } : {},
1161
- }));
1162
- const TabContent = material.styled(material.Box)(({ theme }) => ({
1163
- padding: theme.spacing(3),
1164
- color: '#4D3019',
1165
- backgroundColor: theme.palette.custom?.tabBackgroundColor || theme.palette.accent.main,
1166
- }));
1167
- const MobileContainer = material.styled(material.Box)({
1168
- backgroundColor: '#FDFCEE',
1169
- '@media (min-width: 900px)': {
1170
- display: 'none',
1171
- },
1172
- });
1173
- const MobileTabButton = material.styled(material.Button)(({ theme, isExpanded }) => ({
1174
- width: '100%',
1175
- display: 'flex',
1176
- alignItems: 'center',
1177
- justifyContent: 'space-between',
1178
- padding: theme.spacing(2, 2),
1179
- textAlign: 'left',
1180
- textTransform: 'none',
1181
- borderRadius: 0,
1182
- backgroundColor: isExpanded ? theme.palette.custom?.tabBackgroundColor || theme.palette.accent.main : 'transparent',
1183
- '&:hover': {
1184
- backgroundColor: isExpanded ? theme.palette.custom?.tabBackgroundColor || theme.palette.accent.main : 'rgba(77, 48, 25, 0.05)',
1185
- },
1186
- }));
1187
- const MobileTabContent = material.styled(material.Box)(({ theme }) => ({
1188
- padding: theme.spacing(2, 2, 3, 2),
1189
- color: '#4D3019',
1190
- backgroundColor: theme.palette.custom?.tabBackgroundColor || theme.palette.accent.main,
1191
- }));
1192
- const Tabs = ({ tabs, defaultTab }) => {
1193
- const [activeTab, setActiveTab] = React.useState(defaultTab || tabs[0]?.id);
1194
- const [mobileExpandedTab, setMobileExpandedTab] = React.useState(null);
1195
- const activeTabContent = tabs.find(tab => tab.id === activeTab)?.content;
1196
- const handleMobileTabClick = (tabId) => {
1197
- setActiveTab(tabId);
1198
- setMobileExpandedTab(mobileExpandedTab === tabId ? null : tabId);
1199
- };
1200
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(TabsContainer, { children: [jsxRuntime.jsx(TabButtonsWrapper, { children: tabs.map((tab) => (jsxRuntime.jsx(TabButton, { onClick: () => setActiveTab(tab.id), isActive: activeTab === tab.id, children: tab.label }, tab.id))) }), jsxRuntime.jsx(TabContent, { children: activeTabContent })] }), jsxRuntime.jsx(MobileContainer, { children: tabs.map((tab, index) => (jsxRuntime.jsxs(material.Box, { sx: {
1201
- borderTop: index !== 0 ? '2px solid #e5e7eb' : 'none',
1202
- }, children: [jsxRuntime.jsxs(MobileTabButton, { onClick: () => handleMobileTabClick(tab.id), isExpanded: mobileExpandedTab === tab.id, children: [jsxRuntime.jsx(material.Box, { component: "span", sx: {
1203
- fontSize: '16px',
1204
- fontWeight: 500,
1205
- color: activeTab === tab.id ? '#4D3019' : '#826E5C',
1206
- }, children: tab.label }), jsxRuntime.jsx(iconsMaterial.ExpandMoreRounded, { sx: {
1207
- fontSize: 20,
1208
- color: activeTab === tab.id ? '#4D3019' : '#826E5C',
1209
- transform: mobileExpandedTab === tab.id ? 'rotate(180deg)' : 'rotate(0deg)',
1210
- transition: 'transform 0.2s',
1211
- } })] }), jsxRuntime.jsx(material.Collapse, { in: mobileExpandedTab === tab.id, children: jsxRuntime.jsx(MobileTabContent, { children: tab.content }) })] }, tab.id))) })] }));
1212
- };
1213
-
1214
- const SidebarContainer = material.styled(material.Box)(({ theme, isOpen }) => ({
1215
- height: '100vh',
1216
- position: 'sticky',
1217
- top: 0,
1218
- backgroundColor: '#fff',
1219
- borderRight: `1px solid ${theme.palette.dark.main}1A`,
1220
- flexShrink: 0,
1221
- transition: 'all 0.3s ease-in-out',
1222
- width: isOpen ? '288px' : '64px',
1223
- zIndex: 50,
1224
- [theme.breakpoints.down('md')]: {
1225
- position: 'fixed',
1226
- left: isOpen ? 0 : '-288px',
1227
- width: '288px',
1228
- },
1229
- [theme.breakpoints.up('sm')]: {
1230
- width: isOpen ? '288px' : '80px',
1231
- },
1232
- }));
1233
- const ToggleButton$1 = material.styled(material.IconButton)(({ theme }) => ({
1234
- width: 40,
1235
- height: 40,
1236
- borderRadius: theme.shape.borderRadius,
1237
- backgroundColor: '#4D3019',
1238
- color: '#fff',
1239
- '&:hover': {
1240
- backgroundColor: '#3d2614',
1241
- },
1242
- }));
1243
- const MenuItemButton = material.styled(material.ListItemButton)(({ theme, isActive, isOpen }) => ({
1244
- borderRadius: theme.shape.borderRadius,
1245
- padding: isOpen ? '10px 8px' : '12px 0',
1246
- justifyContent: isOpen ? 'flex-start' : 'center',
1247
- gap: isOpen ? theme.spacing(1) : 0,
1248
- '&:hover': {
1249
- backgroundColor: `${theme.palette.dark.main}0D`,
1250
- },
1251
- ...(isActive && {
1252
- backgroundColor: `${theme.palette.dark.main}1A`,
1253
- }),
1254
- }));
1255
- const IconWrapper = material.styled(material.Box)(({ theme, isOpen }) => ({
1256
- width: isOpen ? 32 : 40,
1257
- height: isOpen ? 32 : 40,
1258
- borderRadius: theme.shape.borderRadius,
1259
- display: 'flex',
1260
- alignItems: 'center',
1261
- justifyContent: 'center',
1262
- flexShrink: 0,
1263
- backgroundColor: theme.palette.custom?.iconColor || theme.palette.accent.main,
1264
- }));
1265
- const Sidebar = ({ isOpen, onToggle, centreName = "Centre name goes here \n across two lines", activePage = 'dashboard', onPageChange }) => {
1266
- const { theme } = useTheme();
1267
- const [expandedItems, setExpandedItems] = React.useState([]);
1268
- const [expandedSubItems, setExpandedSubItems] = React.useState([]);
1269
- const handlePageClick = (pageId) => {
1270
- if (onPageChange) {
1271
- onPageChange(pageId);
1272
- }
1273
- };
1274
- const menuItems = [
1275
- {
1276
- id: 'dashboard',
1277
- label: 'Dashboard',
1278
- icon: jsxRuntime.jsx(iconsMaterial.HomeRounded, { sx: { fontSize: 20, color: "#4D3019" } }),
1279
- },
1280
- {
1281
- id: 'policies',
1282
- label: 'Policies',
1283
- icon: jsxRuntime.jsx(iconsMaterial.TextSnippetRounded, { sx: { fontSize: 20, color: "#4D3019" } }),
1284
- hasChildren: true,
1285
- children: [
1286
- { id: 'legislation', label: 'Legislation' },
1287
- { id: 'service-assurances', label: 'Service Assurances / Compliance Checklist' },
1288
- {
1289
- id: 'governance',
1290
- label: 'Governance, Management, and Administration',
1291
- hasChildren: true,
1292
- children: [
1293
- 'Philosophy and Values',
1294
- 'Te Tiriti o Waitangi – policy options',
1295
- 'Self-Review and Internal Evaluation',
1296
- ],
1297
- },
1298
- {
1299
- id: 'curriculum',
1300
- label: 'Curriculum and Learning V1',
1301
- hasChildren: true,
1302
- children: [],
1303
- },
1304
- ],
1305
- },
1306
- {
1307
- id: 'support',
1308
- label: 'Support',
1309
- icon: jsxRuntime.jsx(iconsMaterial.HelpOutlineRounded, { sx: { fontSize: 20, color: "#4D3019" } }),
1310
- },
1311
- ];
1312
- const toggleItem = (itemId) => {
1313
- if (!isOpen) {
1314
- onToggle();
1315
- setExpandedItems([itemId]);
1316
- }
1317
- else {
1318
- setExpandedItems((prev) => prev.includes(itemId) ? prev.filter((id) => id !== itemId) : [...prev, itemId]);
1319
- }
1320
- };
1321
- const toggleSubItem = (subItemId) => {
1322
- setExpandedSubItems((prev) => prev.includes(subItemId) ? prev.filter((id) => id !== subItemId) : [...prev, subItemId]);
1323
- };
1324
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [isOpen && (jsxRuntime.jsx(material.Box, { sx: {
1325
- position: 'fixed',
1326
- inset: 0,
1327
- bgcolor: 'rgba(0, 0, 0, 0.5)',
1328
- zIndex: 40,
1329
- display: { xs: 'block', md: 'none' },
1330
- }, onClick: onToggle })), jsxRuntime.jsx(SidebarContainer, { isOpen: isOpen, children: jsxRuntime.jsxs(material.Box, { sx: { display: 'flex', flexDirection: 'column', height: '100%' }, children: [isOpen && (jsxRuntime.jsxs(material.Box, { sx: {
1331
- px: 2,
1332
- py: 3,
1333
- borderBottom: `1px solid ${theme.palette.dark.main}1A`,
1334
- flexShrink: 0,
1335
- position: 'relative',
1336
- }, children: [jsxRuntime.jsx(material.Typography, { variant: "h6", sx: {
1337
- fontSize: '18px',
1338
- fontWeight: 700,
1339
- color: '#4D3019',
1340
- lineHeight: 1.3,
1341
- whiteSpace: 'pre-line',
1342
- pr: 7,
1343
- }, children: centreName }), jsxRuntime.jsx(ToggleButton$1, { onClick: onToggle, sx: { position: 'absolute', top: 24, right: 16 }, "aria-label": "Collapse sidebar", children: jsxRuntime.jsx(iconsMaterial.ChevronLeftRounded, { sx: { fontSize: 20 } }) })] })), !isOpen && (jsxRuntime.jsx(material.Box, { sx: {
1344
- px: 1,
1345
- py: 3,
1346
- borderBottom: `1px solid ${theme.palette.dark.main}1A`,
1347
- display: 'flex',
1348
- justifyContent: 'center',
1349
- }, children: jsxRuntime.jsx(ToggleButton$1, { onClick: onToggle, "aria-label": "Expand sidebar", children: jsxRuntime.jsx(iconsMaterial.ChevronRightRounded, { sx: { fontSize: 20 } }) }) })), jsxRuntime.jsx(material.Box, { sx: {
1350
- flex: 1,
1351
- overflowY: 'auto',
1352
- px: isOpen ? 1.5 : 1,
1353
- py: 3,
1354
- }, children: jsxRuntime.jsx(material.List, { sx: { p: 0 }, children: menuItems.map((item) => (jsxRuntime.jsxs(material.Box, { sx: { mb: 1 }, children: [jsxRuntime.jsxs(MenuItemButton, { isOpen: isOpen, isActive: activePage === item.id, onClick: () => {
1355
- if (item.hasChildren) {
1356
- toggleItem(item.id);
1357
- }
1358
- else {
1359
- if (!isOpen) {
1360
- onToggle();
1361
- }
1362
- handlePageClick(item.id);
1363
- }
1364
- }, title: !isOpen ? item.label : undefined, children: [jsxRuntime.jsx(IconWrapper, { isOpen: isOpen, children: item.icon }), isOpen && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(material.ListItemText, { primary: item.label, primaryTypographyProps: {
1365
- fontSize: '1rem',
1366
- fontWeight: 600,
1367
- }, sx: { flex: 1 } }), item.hasChildren && (jsxRuntime.jsx(material.Box, { children: expandedItems.includes(item.id) ? (jsxRuntime.jsx(iconsMaterial.ExpandLessRounded, { sx: { fontSize: 20, color: "#4D3019" } })) : (jsxRuntime.jsx(iconsMaterial.ExpandMoreRounded, { sx: { fontSize: 20, color: "#4D3019" } })) }))] }))] }), item.hasChildren && expandedItems.includes(item.id) && item.children && isOpen && (jsxRuntime.jsx(material.Collapse, { in: true, timeout: "auto", children: jsxRuntime.jsx(material.List, { sx: { p: 0, mt: 0.5 }, children: item.children.map((subItem) => (jsxRuntime.jsxs(material.Box, { children: [jsxRuntime.jsxs(material.Box, { sx: { display: 'flex', alignItems: 'stretch' }, children: [jsxRuntime.jsx(material.ListItemButton, { onClick: () => handlePageClick(subItem.id), sx: {
1368
- flex: 1,
1369
- pl: 8,
1370
- py: 1.25,
1371
- borderRadius: `${theme.shape.borderRadius}px 0 0 ${theme.shape.borderRadius}px`,
1372
- '&:hover': {
1373
- backgroundColor: `${theme.palette.dark.main}0D`,
1374
- },
1375
- ...(activePage === subItem.id && {
1376
- backgroundColor: `${theme.palette.dark.main}1A`,
1377
- }),
1378
- }, children: jsxRuntime.jsx(material.ListItemText, { primary: subItem.label, primaryTypographyProps: {
1379
- fontSize: '0.875rem',
1380
- } }) }), subItem.hasChildren && subItem.children && subItem.children.length > 0 && (jsxRuntime.jsx(material.IconButton, { onClick: () => toggleSubItem(subItem.id), sx: {
1381
- px: 1,
1382
- borderRadius: `0 ${theme.shape.borderRadius}px ${theme.shape.borderRadius}px 0`,
1383
- '&:hover': {
1384
- backgroundColor: `${theme.palette.dark.main}0D`,
1385
- },
1386
- }, children: jsxRuntime.jsx(iconsMaterial.ChevronRightRounded, { sx: {
1387
- fontSize: 16,
1388
- color: '#4D3019',
1389
- transition: 'transform 0.2s',
1390
- transform: expandedSubItems.includes(subItem.id) ? 'rotate(90deg)' : 'rotate(0deg)',
1391
- } }) }))] }), subItem.hasChildren && expandedSubItems.includes(subItem.id) && subItem.children && (jsxRuntime.jsx(material.Collapse, { in: true, timeout: "auto", children: jsxRuntime.jsx(material.List, { sx: { p: 0, mt: 0.5 }, children: subItem.children.map((nestedItem, index) => {
1392
- const nestedPageId = `${subItem.id}-${index}`;
1393
- return (jsxRuntime.jsx(material.ListItemButton, { onClick: () => handlePageClick(nestedPageId), sx: {
1394
- pl: 10,
1395
- py: 1,
1396
- borderRadius: theme.shape.borderRadius,
1397
- '&:hover': {
1398
- backgroundColor: `${theme.palette.dark.main}0D`,
1399
- },
1400
- ...(activePage === nestedPageId && {
1401
- backgroundColor: `${theme.palette.dark.main}1A`,
1402
- }),
1403
- }, children: jsxRuntime.jsx(material.ListItemText, { primary: nestedItem, primaryTypographyProps: {
1404
- fontSize: '0.875rem',
1405
- } }) }, index));
1406
- }) }) }))] }, subItem.id))) }) }))] }, item.id))) }) })] }) })] }));
1407
- };
1408
-
1409
- const StyledHeader = material.styled(material.Box)(({ theme }) => ({
1410
- padding: theme.spacing(1.5, 4), // px-4 py-3
1411
- display: 'flex',
1412
- alignItems: 'center',
1413
- justifyContent: 'space-between',
1414
- gap: theme.spacing(2), // gap-2
1415
- backgroundColor: theme.palette.primary.main, // var(--color-primary)
1416
- [theme.breakpoints.up('sm')]: {
1417
- padding: theme.spacing(2, 6), // sm:px-6
1418
- },
1419
- [theme.breakpoints.up('md')]: {
1420
- padding: theme.spacing(2, 8), // md:px-8
1421
- gap: theme.spacing(4), // md:gap-4
1422
- },
1423
- }));
1424
- const StyledLogoWrapper = material.styled(material.Box)(({ theme }) => ({
1425
- display: 'flex',
1426
- alignItems: 'center',
1427
- gap: theme.spacing(2), // md:gap-2
1428
- [theme.breakpoints.down('md')]: {
1429
- gap: theme.spacing(1.5), // gap-1.5
1430
- },
1431
- }));
1432
- const StyledLogoIcon = material.styled(material.Box)(({ theme }) => ({
1433
- width: 32, // md:w-8 md:h-8
1434
- height: 32,
1435
- color: theme.palette.light.main, // text-[#FDFCEE]
1436
- [theme.breakpoints.down('md')]: {
1437
- width: 24, // w-6
1438
- height: 24, // h-6
1439
- },
1440
- }));
1441
- const StyledLogoText = material.styled(material.Typography)(({ theme }) => ({
1442
- color: theme.palette.light.main, // text-[#FDFCEE]
1443
- fontWeight: 700, // font-bold
1444
- letterSpacing: '0.05em', // tracking-wide
1445
- fontSize: '1.5rem', // text-2xl
1446
- [theme.breakpoints.down('md')]: {
1447
- fontSize: '1.25rem', // sm:text-xl
1448
- },
1449
- [theme.breakpoints.down('sm')]: {
1450
- fontSize: '1.125rem', // text-lg
1451
- },
1452
- }));
1453
- const StyledSearchContainer = material.styled(material.Box)(({ theme }) => ({
1454
- flex: 1,
1455
- maxWidth: '32rem', // max-w-2xl
1456
- margin: theme.spacing(0, 8), // mx-8
1457
- position: 'relative',
1458
- [theme.breakpoints.down('md')]: {
1459
- margin: theme.spacing(0, 4), // sm:mx-4
1460
- },
1461
- [theme.breakpoints.down('sm')]: {
1462
- margin: theme.spacing(0, 2), // mx-2
1463
- },
1464
- }));
1465
- const StyledTextField = material.styled(material.TextField)(({ theme }) => ({
1466
- '& .MuiInputBase-root': {
1467
- backgroundColor: theme.palette.light.main, // bg-[#FDFCEE]
1468
- color: theme.palette.dark.main, // text-[#4D3019]
1469
- borderRadius: '9999px', // rounded-full
1470
- paddingRight: theme.spacing(6), // pr-12
1471
- fontSize: '1rem', // text-base
1472
- [theme.breakpoints.down('md')]: {
1473
- paddingRight: theme.spacing(5), // sm:pr-10
1474
- fontSize: '0.875rem', // text-sm
1475
- },
1476
- },
1477
- '& .MuiInputBase-input': {
1478
- padding: theme.spacing(1.5, 3), // px-4 py-2
1479
- [theme.breakpoints.up('md')]: {
1480
- padding: theme.spacing(1.5, 4), // md:px-6 md:py-3
1481
- },
1482
- [theme.breakpoints.down('sm')]: {
1483
- padding: theme.spacing(1.5, 2.5), // sm:px-5
1484
- },
1485
- },
1486
- '& .MuiInputBase-input::placeholder': {
1487
- color: `${theme.palette.dark.main}99`, // placeholder-[#4D3019]/60
1488
- opacity: 1,
1489
- },
1490
- '& .MuiInputBase-root:focus-within': {
1491
- outline: `2px solid ${theme.palette.light.main}`, // focus:ring-2 focus:ring-[#FDFCEE]
1492
- outlineOffset: 0,
1493
- },
1494
- }));
1495
- const StyledSearchButton = material.styled(material.IconButton)(({ theme }) => ({
1496
- position: 'absolute',
1497
- right: theme.spacing(2), // md:right-2
1498
- top: '50%',
1499
- transform: 'translateY(-50%)',
1500
- width: theme.spacing(5), // md:w-10
1501
- height: theme.spacing(5), // md:h-10
1502
- borderRadius: '50%', // rounded-full
1503
- backgroundColor: theme.palette.primary.main, // var(--color-primary)
1504
- '&:hover': {
1505
- opacity: 0.9, // hover:opacity-90
1506
- backgroundColor: theme.palette.primary.main,
1507
- },
1508
- [theme.breakpoints.down('md')]: {
1509
- right: theme.spacing(1), // right-1
1510
- width: theme.spacing(4), // w-8
1511
- height: theme.spacing(4), // h-8
1512
- },
1513
- }));
1514
- const StyledSearchIcon = material.styled(material.Box)(({ theme }) => ({
1515
- width: 20, // md:w-5 md:h-5
1516
- height: 20,
1517
- color: theme.palette.light.main, // text-[#FDFCEE]
1518
- [theme.breakpoints.down('md')]: {
1519
- width: 16, // w-4
1520
- height: 16, // h-4
1521
- },
1522
- }));
1523
- const StyledUserContainer = material.styled(material.Box)(({ theme }) => ({
1524
- display: 'flex',
1525
- alignItems: 'center',
1526
- gap: theme.spacing(3), // md:gap-3
1527
- [theme.breakpoints.down('md')]: {
1528
- gap: theme.spacing(2), // gap-2
1529
- },
1530
- }));
1531
- const StyledAvatar = material.styled(material.Box)(({ theme }) => ({
1532
- width: theme.spacing(6), // md:w-12
1533
- height: theme.spacing(6), // md:h-12
1534
- borderRadius: '50%', // rounded-full
1535
- backgroundColor: theme.palette.light.main, // bg-[#FDFCEE]
1536
- display: 'flex',
1537
- alignItems: 'center',
1538
- justifyContent: 'center',
1539
- flexShrink: 0,
1540
- [theme.breakpoints.down('md')]: {
1541
- width: theme.spacing(5), // sm:w-10
1542
- height: theme.spacing(5), // sm:h-10
1543
- },
1544
- [theme.breakpoints.down('sm')]: {
1545
- width: theme.spacing(4), // w-8
1546
- height: theme.spacing(4), // h-8
1547
- },
1548
- }));
1549
- const StyledAvatarText = material.styled(material.Typography)(({ theme }) => ({
1550
- color: theme.palette.dark.main, // text-[#4D3019]
1551
- fontWeight: 700, // font-bold
1552
- fontSize: '1.125rem', // text-lg
1553
- [theme.breakpoints.down('md')]: {
1554
- fontSize: '0.875rem', // text-sm
1555
- },
1556
- }));
1557
- const StyledUserName = material.styled(material.Typography)(({ theme }) => ({
1558
- color: theme.palette.light.main, // text-[#FDFCEE]
1559
- fontWeight: 500, // font-medium
1560
- fontSize: '1.125rem', // text-lg
1561
- display: 'none', // hidden
1562
- [theme.breakpoints.up('sm')]: {
1563
- display: 'inline', // sm:inline
1564
- },
1565
- [theme.breakpoints.down('md')]: {
1566
- fontSize: '0.875rem', // text-sm
1567
- },
1568
- }));
1569
- const Header = ({ userName = 'John Doe', userInitials = 'JD', }) => {
1570
- const { theme } = useTheme();
1571
- return (jsxRuntime.jsxs(StyledHeader, { children: [jsxRuntime.jsxs(StyledLogoWrapper, { children: [jsxRuntime.jsx(StyledLogoIcon, { children: jsxRuntime.jsx(iconsMaterial.SchoolRounded, { sx: { fontSize: 32, color: 'currentColor' } }) }), jsxRuntime.jsx(StyledLogoText, { variant: "h1", children: theme.appName })] }), jsxRuntime.jsx(StyledSearchContainer, { children: jsxRuntime.jsx(StyledTextField, { placeholder: "Search for a policy", variant: "outlined", fullWidth: true, InputProps: {
1572
- endAdornment: (jsxRuntime.jsx(StyledSearchButton, { children: jsxRuntime.jsx(StyledSearchIcon, { children: jsxRuntime.jsx(iconsMaterial.SearchRounded, { sx: { fontSize: 20 } }) }) })),
1573
- } }) }), jsxRuntime.jsxs(StyledUserContainer, { children: [jsxRuntime.jsx(StyledAvatar, { children: jsxRuntime.jsx(StyledAvatarText, { children: userInitials }) }), jsxRuntime.jsx(StyledUserName, { children: userName })] })] }));
1574
- };
1575
-
1576
- const Container = material.styled(material.Box)(({ theme }) => ({
1577
- width: '100%',
1578
- [theme.breakpoints.up('md')]: {
1579
- position: 'sticky',
1580
- right: 0,
1581
- top: 0,
1582
- width: '224px',
1583
- float: 'right',
1584
- marginLeft: theme.spacing(1.5),
1585
- marginBottom: 0,
1586
- },
1587
- [theme.breakpoints.up('lg')]: {
1588
- width: '256px',
1589
- marginLeft: theme.spacing(2),
1590
- },
1591
- marginBottom: theme.spacing(2),
1592
- }));
1593
- const ContentBox = material.styled(material.Box)(({ theme }) => ({
1594
- backgroundColor: '#FEFDF7',
1595
- borderRadius: (typeof theme.shape.borderRadius === 'string'
1596
- ? parseInt(theme.shape.borderRadius, 10)
1597
- : theme.shape.borderRadius || 4) * 2,
1598
- padding: theme.spacing(2.5),
1599
- boxShadow: '0 1px 3px 0 rgba(0, 0, 0, 0.1)',
1600
- [theme.breakpoints.up('md')]: {
1601
- padding: theme.spacing(3),
1602
- },
1603
- }));
1604
- const NavLink = material.styled(material.Link)(({ theme, isActive }) => ({
1605
- display: 'block',
1606
- padding: theme.spacing(1, 2),
1607
- fontSize: '0.875rem',
1608
- textDecoration: 'none',
1609
- color: '#4D3019',
1610
- transition: 'background-color 0.2s',
1611
- borderLeft: isActive ? '4px solid #FFC365' : '4px solid transparent',
1612
- backgroundColor: isActive ? '#FFEDD1' : 'transparent',
1613
- fontWeight: isActive ? 700 : 400,
1614
- '&:hover': {
1615
- backgroundColor: '#FFEDD1',
1616
- },
1617
- }));
1618
- const TableOfContents = ({ sections, activeSection = 'current-section', }) => {
1619
- return (jsxRuntime.jsx(Container, { children: jsxRuntime.jsxs(ContentBox, { children: [jsxRuntime.jsx(material.Typography, { variant: "h6", sx: {
1620
- color: '#4D3019',
1621
- fontWeight: 600,
1622
- fontSize: '16px',
1623
- mb: 3,
1624
- }, children: "In this policy" }), jsxRuntime.jsx(material.Box, { component: "nav", sx: { display: 'flex', flexDirection: 'column', gap: 0.25 }, children: sections.map((section) => {
1625
- const isActive = section.id === activeSection;
1626
- return (jsxRuntime.jsx(NavLink, { href: `#${section.id}`, isActive: isActive, children: section.title }, section.id));
1627
- }) })] }) }));
1628
- };
1629
-
1630
- const ToggleButton = material.styled(material.Box)(({ theme }) => ({
1631
- display: 'inline-flex',
1632
- alignItems: 'center',
1633
- gap: theme.spacing(1.5),
1634
- padding: theme.spacing(0.75, 1.5),
1635
- borderRadius: (typeof theme.shape.borderRadius === 'string'
1636
- ? parseInt(theme.shape.borderRadius, 10)
1637
- : theme.shape.borderRadius || 4) * 2,
1638
- backgroundColor: '#fff',
1639
- border: `1px solid ${theme.palette.dark.main}33`,
1640
- cursor: 'pointer',
1641
- transition: 'border-color 0.2s',
1642
- '&:hover': {
1643
- borderColor: `${theme.palette.dark.main}4D`,
1644
- },
1645
- }));
1646
- const ToggleTrack = material.styled(material.Box)(({ theme, isChecked }) => ({
1647
- position: 'relative',
1648
- width: '56px',
1649
- height: '32px',
1650
- borderRadius: '9999px',
1651
- backgroundColor: isChecked ? theme.palette.secondary.main : '#e5e7eb',
1652
- transition: 'background-color 0.2s',
1653
- }));
1654
- const ToggleThumb = material.styled(material.Box)(({ isChecked }) => ({
1655
- position: 'absolute',
1656
- top: '4px',
1657
- width: '24px',
1658
- height: '24px',
1659
- backgroundColor: '#fff',
1660
- borderRadius: '9999px',
1661
- transition: 'transform 0.2s',
1662
- transform: isChecked ? 'translateX(28px)' : 'translateX(4px)',
1663
- }));
1664
- const Toggle = ({ label = 'Admin view', checked = false, onChange, }) => {
1665
- const [isChecked, setIsChecked] = React.useState(checked);
1666
- const handleToggle = () => {
1667
- const newValue = !isChecked;
1668
- setIsChecked(newValue);
1669
- onChange?.(newValue);
1670
- };
1671
- React.useEffect(() => {
1672
- setIsChecked(checked);
1673
- }, [checked]);
1674
- return (jsxRuntime.jsxs(ToggleButton, { onClick: handleToggle, children: [jsxRuntime.jsx(ToggleTrack, { isChecked: isChecked, children: jsxRuntime.jsx(ToggleThumb, { isChecked: isChecked }) }), jsxRuntime.jsx(material.Typography, { sx: {
1675
- color: '#4D3019',
1676
- fontWeight: 500,
1677
- fontSize: '0.875rem',
1678
- }, children: label })] }));
1679
- };
1680
-
1681
- const StyledDialog = material.styled(material.Dialog)(({ theme }) => ({
1682
- '& .MuiDialog-paper': {
1683
- borderRadius: (typeof theme.shape.borderRadius === 'string'
1684
- ? parseInt(theme.shape.borderRadius, 10)
1685
- : theme.shape.borderRadius || 4) * 2,
1686
- maxWidth: '448px',
1687
- width: '100%',
1688
- },
1689
- }));
1690
- const StyledDialogTitle = material.styled(material.DialogTitle)(({ theme }) => ({
1691
- display: 'flex',
1692
- alignItems: 'center',
1693
- justifyContent: 'space-between',
1694
- padding: theme.spacing(3),
1695
- borderBottom: `1px solid ${theme.palette.divider}`,
1696
- fontSize: '1.125rem',
1697
- fontWeight: 600,
1698
- color: theme.palette.dark.main,
1699
- }));
1700
- const CloseButton = material.styled(material.IconButton)(({ theme }) => ({
1701
- padding: theme.spacing(0.5),
1702
- '&:hover': {
1703
- backgroundColor: `${theme.palette.dark.main}0D`,
1704
- },
1705
- }));
1706
- const SimpleModal = ({ isOpen, onClose, title, children, }) => {
1707
- const { theme } = useTheme();
1708
- return (jsxRuntime.jsxs(StyledDialog, { open: isOpen, onClose: onClose, maxWidth: "sm", fullWidth: true, children: [jsxRuntime.jsxs(StyledDialogTitle, { children: [title, jsxRuntime.jsx(CloseButton, { onClick: onClose, "aria-label": "Close", children: jsxRuntime.jsx(iconsMaterial.CloseRounded, { sx: { fontSize: 20, color: theme.palette.dark.main } }) })] }), jsxRuntime.jsx(material.DialogContent, { sx: { p: 3 }, children: children })] }));
1709
- };
1710
-
1711
- const StyledIconButton = material.styled(material.IconButton)(({ theme }) => ({
1712
- width: 48,
1713
- height: 48,
1714
- borderRadius: (typeof theme.shape.borderRadius === 'string'
1715
- ? parseInt(theme.shape.borderRadius, 10)
1716
- : theme.shape.borderRadius || 4) * 2,
1717
- backgroundColor: '#fff',
1718
- border: `1px solid ${theme.palette.dark.main}1A`,
1719
- '&:hover': {
1720
- backgroundColor: '#f9fafb',
1721
- },
1722
- '& svg': {
1723
- color: '#4D3019',
1724
- transition: 'color 0.2s',
1725
- },
1726
- '&:hover svg': {
1727
- color: theme.palette.primary.main,
1728
- },
1729
- }));
1730
- const ActionButton = ({ icon: Icon, onClick, label, sx, }) => {
1731
- return (jsxRuntime.jsx(StyledIconButton, { onClick: onClick, "aria-label": label, sx: sx, children: jsxRuntime.jsx(Icon, {}) }));
1732
- };
1733
-
1734
- const StyledWrapper = material.styled(material.Box)(({ theme }) => ({
1735
- // No specific wrapper styles needed, just a container
1736
- }));
1737
- const StyledParagraph = material.styled(material.Typography)(({ theme }) => ({
1738
- fontSize: '14px', // text-[14px]
1739
- color: theme.palette.dark.main, // text-[#4D3019]
1740
- display: 'inline-flex',
1741
- alignItems: 'center',
1742
- }));
1743
- const StyledTermWrapper = material.styled(material.Box)(({ theme }) => ({
1744
- position: 'relative',
1745
- display: 'inline-flex',
1746
- alignItems: 'center',
1747
- cursor: 'pointer',
1748
- marginLeft: theme.spacing(0.5), // ml-1
1749
- }));
1750
- const StyledTerm = material.styled('span', {
1751
- shouldForwardProp: (prop) => prop !== 'isOpen',
1752
- })(({ theme, isOpen }) => ({
1753
- paddingBottom: '1px', // style={{ paddingBottom: '1px' }}
1754
- borderBottom: `2px solid ${isOpen ? theme.palette.secondary.main : theme.palette.dark.main}`, // border-b-2
1755
- transition: 'border-bottom-color 0.2s', // transition-colors
1756
- '&:hover': {
1757
- borderBottomColor: theme.palette.secondary.main, // hover effect
1758
- },
1759
- }));
1760
- const StyledIconWrapper = material.styled(material.Box)(({ theme }) => ({
1761
- display: 'inline-flex',
1762
- alignItems: 'center',
1763
- justifyContent: 'center',
1764
- marginLeft: theme.spacing(0.5), // ml-1
1765
- transition: 'color 0.2s', // transition-colors
1766
- }));
1767
- const StyledDefinitionBox = material.styled(material.Box)(({ theme }) => ({
1768
- marginTop: theme.spacing(2), // mt-4
1769
- padding: theme.spacing(2), // p-4
1770
- borderRadius: (typeof theme.shape.borderRadius === 'string'
1771
- ? parseInt(theme.shape.borderRadius, 10)
1772
- : theme.shape.borderRadius || 4) * 2, // rounded-lg
1773
- border: `1px solid ${theme.palette.dark.main}33`, // border-[#4D3019]/20
1774
- borderRight: `4px solid ${theme.palette.dark.main}33`, // border-r-4
1775
- backgroundColor: theme.palette.light.main, // style={{ backgroundColor: '#FDFCEE' }}
1776
- }));
1777
- const StyledDefinitionText = material.styled(material.Typography)(({ theme }) => ({
1778
- fontSize: '14px', // text-[14px]
1779
- color: theme.palette.dark.main, // text-[#4D3019]
1780
- lineHeight: 1.5, // leading-relaxed
1781
- }));
1782
- function DefinitionBox({ term, definition, children }) {
1783
- const { theme } = useTheme();
1784
- const [isOpen, setIsOpen] = React.useState(false);
1785
- return (jsxRuntime.jsxs(StyledWrapper, { children: [jsxRuntime.jsxs(StyledParagraph, { children: [children, jsxRuntime.jsxs(StyledTermWrapper, { onClick: () => setIsOpen(!isOpen), children: [jsxRuntime.jsx(StyledTerm, { isOpen: isOpen, onMouseEnter: (e) => (e.currentTarget.style.borderBottomColor = theme.palette.secondary.main), onMouseLeave: (e) => (e.currentTarget.style.borderBottomColor = isOpen ? theme.palette.secondary.main : theme.palette.dark.main), children: term }), jsxRuntime.jsx(StyledIconWrapper, { children: isOpen ? (jsxRuntime.jsx(iconsMaterial.CloseRounded, { sx: {
1786
- fontSize: 16,
1787
- color: isOpen ? theme.palette.secondary.main : theme.palette.dark.main,
1788
- '&:hover': {
1789
- color: theme.palette.secondary.main
1790
- }
1791
- } })) : (jsxRuntime.jsx(iconsMaterial.AddRounded, { sx: {
1792
- fontSize: 16,
1793
- color: theme.palette.dark.main,
1794
- '&:hover': {
1795
- color: theme.palette.secondary.main
1796
- }
1797
- } })) })] })] }), isOpen && (jsxRuntime.jsx(StyledDefinitionBox, { children: jsxRuntime.jsx(StyledDefinitionText, { children: definition }) }))] }));
1798
- }
1799
-
1800
- const HomeButton = material.styled(material.IconButton)(({ theme }) => ({
1801
- width: 40,
1802
- height: 40,
1803
- borderRadius: (typeof theme.shape.borderRadius === 'string'
1804
- ? parseInt(theme.shape.borderRadius, 10)
1805
- : theme.shape.borderRadius || 4) * 2,
1806
- backgroundColor: theme.palette.custom?.iconColor || theme.palette.accent.main,
1807
- flexShrink: 0,
1808
- display: 'none',
1809
- [theme.breakpoints.up('md')]: {
1810
- display: 'flex',
1811
- },
1812
- '&:hover': {
1813
- backgroundColor: theme.palette.custom?.iconColor || theme.palette.accent.main,
1814
- opacity: 0.8,
1815
- },
1816
- }));
1817
- const DropdownButton = material.styled('button')(({ theme }) => ({
1818
- display: 'flex',
1819
- alignItems: 'center',
1820
- gap: theme.spacing(1),
1821
- padding: theme.spacing(0.75, 2),
1822
- borderRadius: (typeof theme.shape.borderRadius === 'string'
1823
- ? parseInt(theme.shape.borderRadius, 10)
1824
- : theme.shape.borderRadius || 4) * 2,
1825
- border: `1px solid ${theme.palette.dark.main}33`,
1826
- backgroundColor: '#fff',
1827
- color: theme.palette.dark.main,
1828
- fontWeight: 500,
1829
- whiteSpace: 'nowrap',
1830
- cursor: 'pointer',
1831
- transition: 'border-color 0.2s',
1832
- fontSize: '0.875rem',
1833
- '&:hover': {
1834
- borderColor: `${theme.palette.dark.main}4D`,
1835
- },
1836
- [theme.breakpoints.down('sm')]: {
1837
- padding: theme.spacing(0.75, 1),
1838
- gap: theme.spacing(0.5),
1839
- },
1840
- }));
1841
- const StyledMenu = material.styled(material.Menu)(({ theme }) => ({
1842
- '& .MuiPaper-root': {
1843
- marginTop: theme.spacing(1),
1844
- width: '256px',
1845
- borderRadius: (typeof theme.shape.borderRadius === 'string'
1846
- ? parseInt(theme.shape.borderRadius, 10)
1847
- : theme.shape.borderRadius || 4) * 2,
1848
- border: `1px solid ${theme.palette.dark.main}33`,
1849
- boxShadow: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
1850
- },
1851
- }));
1852
- const StyledMenuItem = material.styled(material.MenuItem)(({ theme, isActive }) => ({
1853
- padding: theme.spacing(1.25, 2),
1854
- fontSize: '0.875rem',
1855
- color: isActive ? theme.palette.primary.main : '#4D3019',
1856
- fontWeight: isActive ? 500 : 400,
1857
- backgroundColor: isActive ? '#F5F1ED' : 'transparent',
1858
- '&:hover': {
1859
- backgroundColor: '#F5F1ED',
1860
- },
1861
- }));
1862
- const Breadcrumb = ({ items, currentItem, dropdownItems = [], onItemSelect, }) => {
1863
- const { theme } = useTheme();
1864
- const [anchorEl, setAnchorEl] = React.useState(null);
1865
- const isDropdownOpen = Boolean(anchorEl);
1866
- const handleDropdownToggle = (event) => {
1867
- setAnchorEl(event.currentTarget);
1868
- };
1869
- const handleClose = () => {
1870
- setAnchorEl(null);
1871
- };
1872
- const handleItemClick = (item) => {
1873
- onItemSelect?.(item);
1874
- handleClose();
1875
- };
1876
- return (jsxRuntime.jsxs(material.Box, { component: "nav", sx: {
1877
- display: 'flex',
1878
- alignItems: 'center',
1879
- gap: { xs: 0.5, sm: 1 },
1880
- fontSize: { xs: '0.75rem', sm: '0.875rem' },
1881
- overflow: 'visible',
1882
- }, children: [jsxRuntime.jsx(HomeButton, { "aria-label": "Home", children: jsxRuntime.jsx(iconsMaterial.HomeRounded, { sx: { fontSize: 20, color: "#4D3019" } }) }), jsxRuntime.jsx(material.Breadcrumbs, { separator: "/", sx: {
1883
- display: { xs: 'none', md: 'flex' },
1884
- '& .MuiBreadcrumbs-separator': {
1885
- color: `${theme.palette.dark.main}66`,
1886
- },
1887
- }, children: items.map((item, index) => (jsxRuntime.jsx(material.Typography, { sx: {
1888
- color: theme.palette.dark.main,
1889
- fontWeight: 500,
1890
- px: { xs: 0.5, sm: 1 },
1891
- whiteSpace: 'nowrap',
1892
- fontSize: 'inherit',
1893
- }, children: item.label }, index))) }), jsxRuntime.jsx(material.Typography, { sx: {
1894
- display: { xs: 'none', md: 'inline' },
1895
- color: `${theme.palette.dark.main}66`,
1896
- }, children: "/" }), jsxRuntime.jsxs(material.Box, { sx: { position: 'relative', flexShrink: 0 }, children: [jsxRuntime.jsxs(DropdownButton, { type: "button", onClick: handleDropdownToggle, children: [jsxRuntime.jsx("span", { children: currentItem }), jsxRuntime.jsx(iconsMaterial.ExpandMoreRounded, { sx: {
1897
- fontSize: 20,
1898
- transition: 'transform 0.2s',
1899
- transform: isDropdownOpen ? 'rotate(180deg)' : 'rotate(0deg)',
1900
- } })] }), dropdownItems.length > 0 && (jsxRuntime.jsx(StyledMenu, { anchorEl: anchorEl, open: isDropdownOpen, onClose: handleClose, anchorOrigin: {
1901
- vertical: 'bottom',
1902
- horizontal: 'left',
1903
- }, transformOrigin: {
1904
- vertical: 'top',
1905
- horizontal: 'left',
1906
- }, children: dropdownItems.map((item, index) => (jsxRuntime.jsx(StyledMenuItem, { onClick: () => handleItemClick(item), isActive: item === currentItem, children: item }, index))) }))] })] }));
1907
- };
1908
-
1909
- exports.ActionButton = ActionButton;
1910
- exports.Alert = Alert;
1911
- exports.Breadcrumb = Breadcrumb;
1912
- exports.Button = Button;
1913
- exports.Card = Card;
1914
- exports.Checkbox = Checkbox;
1915
- exports.Concertina = Concertina;
1916
- exports.DefinitionBox = DefinitionBox;
1917
- exports.Header = Header;
1918
- exports.Input = Input;
1919
- exports.Modal = Modal;
1920
- exports.NoteBox = NoteBox;
1921
- exports.Progress = Progress;
1922
- exports.Radio = Radio;
1923
- exports.RadioGroup = RadioGroup;
1924
- exports.ReadBy = ReadBy;
1925
- exports.Select = Select;
1926
- exports.Sidebar = Sidebar;
1927
- exports.SimpleModal = SimpleModal;
1928
- exports.StatusBar = StatusBar;
1929
- exports.StepIndicator = StepIndicator;
1930
- exports.TableOfContents = TableOfContents;
1931
- exports.Tabs = Tabs;
1932
- exports.ThemeProvider = ThemeProvider;
1933
- exports.Toggle = Toggle;
1934
- exports.useTheme = useTheme;
1935
- //# sourceMappingURL=index.cjs.map