ece-docs-components 1.0.45 → 1.0.47

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 (837) hide show
  1. package/dist/ThemeProvider.d.ts +118 -0
  2. package/dist/ThemeProvider.d.ts.map +1 -0
  3. package/dist/cjs/_virtual/index8.js +2 -2
  4. package/dist/cjs/_virtual/index9.js +2 -2
  5. package/dist/cjs/components/AcknowledgementBox.js.map +1 -1
  6. package/dist/cjs/components/ActionButton.js.map +1 -1
  7. package/dist/cjs/components/Alert.js.map +1 -1
  8. package/dist/cjs/components/Breadcrumb.js.map +1 -1
  9. package/dist/cjs/components/Button.js.map +1 -1
  10. package/dist/cjs/components/Card.js.map +1 -1
  11. package/dist/cjs/components/Checkbox.js.map +1 -1
  12. package/dist/cjs/components/Concertina.js.map +1 -1
  13. package/dist/cjs/components/DefinitionBox.js +30 -16
  14. package/dist/cjs/components/DefinitionBox.js.map +1 -1
  15. package/dist/cjs/components/ExpandingBox.js.map +1 -1
  16. package/dist/cjs/components/ExpandingBoxToggle.js.map +1 -1
  17. package/dist/cjs/components/FileUploadButton.js.map +1 -1
  18. package/dist/cjs/components/Header.js +4 -4
  19. package/dist/cjs/components/Header.js.map +1 -1
  20. package/dist/cjs/components/Input.js +4 -4
  21. package/dist/cjs/components/Input.js.map +1 -1
  22. package/dist/cjs/components/Modal.js.map +1 -1
  23. package/dist/cjs/components/NoteBox.js.map +1 -1
  24. package/dist/cjs/components/PopoverMenu.js.map +1 -1
  25. package/dist/cjs/components/Progress.js.map +1 -1
  26. package/dist/cjs/components/Radio.js.map +1 -1
  27. package/dist/cjs/components/ReadBy.js.map +1 -1
  28. package/dist/cjs/components/RichTextArea.js.map +1 -1
  29. package/dist/cjs/components/Select.js.map +1 -1
  30. package/dist/cjs/components/Sidebar.js +1 -1
  31. package/dist/cjs/components/Sidebar.js.map +1 -1
  32. package/dist/cjs/components/SimpleModal.js.map +1 -1
  33. package/dist/cjs/components/StatusBar.js.map +1 -1
  34. package/dist/cjs/components/TableOfContents.js.map +1 -1
  35. package/dist/cjs/components/Tabs.js.map +1 -1
  36. package/dist/cjs/components/Toggle.js.map +1 -1
  37. package/dist/cjs/helpers/variableProcessing.js.map +1 -1
  38. package/dist/cjs/node_modules/domhandler/lib/index.js +1 -1
  39. package/dist/cjs/node_modules/domutils/lib/index.js +1 -1
  40. package/dist/cjs/node_modules/html-dom-parser/lib/index.js +1 -1
  41. package/dist/cjs/node_modules/style-to-object/cjs/index.js +1 -1
  42. package/dist/cjs/types/variable.js.map +1 -1
  43. package/dist/components/ActionButton.d.ts +12 -0
  44. package/dist/components/ActionButton.d.ts.map +1 -0
  45. package/dist/components/Alert.d.ts +12 -0
  46. package/dist/components/Alert.d.ts.map +1 -0
  47. package/dist/components/Breadcrumb.d.ts +14 -0
  48. package/dist/components/Breadcrumb.d.ts.map +1 -0
  49. package/dist/components/Button.d.ts +9 -0
  50. package/dist/components/Button.d.ts.map +1 -0
  51. package/dist/components/Card.d.ts +12 -0
  52. package/dist/components/Card.d.ts.map +1 -0
  53. package/dist/components/Checkbox.d.ts +9 -0
  54. package/dist/components/Checkbox.d.ts.map +1 -0
  55. package/dist/components/Concertina.d.ts +11 -0
  56. package/dist/components/Concertina.d.ts.map +1 -0
  57. package/dist/components/DefinitionBox.d.ts +9 -0
  58. package/dist/components/DefinitionBox.d.ts.map +1 -0
  59. package/dist/components/Header.d.ts +8 -0
  60. package/dist/components/Header.d.ts.map +1 -0
  61. package/dist/components/Input.d.ts +8 -0
  62. package/dist/components/Input.d.ts.map +1 -0
  63. package/dist/components/Modal.d.ts +21 -0
  64. package/dist/components/Modal.d.ts.map +1 -0
  65. package/dist/components/NoteBox.d.ts +11 -0
  66. package/dist/components/NoteBox.d.ts.map +1 -0
  67. package/dist/components/Progress.d.ts +16 -0
  68. package/dist/components/Progress.d.ts.map +1 -0
  69. package/dist/components/Radio.d.ts +15 -0
  70. package/dist/components/Radio.d.ts.map +1 -0
  71. package/dist/components/ReadBy.d.ts +7 -0
  72. package/dist/components/ReadBy.d.ts.map +1 -0
  73. package/dist/components/Select.d.ts +20 -0
  74. package/dist/components/Select.d.ts.map +1 -0
  75. package/dist/components/Sidebar.d.ts +11 -0
  76. package/dist/components/Sidebar.d.ts.map +1 -0
  77. package/dist/components/SimpleModal.d.ts +10 -0
  78. package/dist/components/SimpleModal.d.ts.map +1 -0
  79. package/dist/components/StatusBar.d.ts +10 -0
  80. package/dist/components/StatusBar.d.ts.map +1 -0
  81. package/dist/components/TableOfContents.d.ts +12 -0
  82. package/dist/components/TableOfContents.d.ts.map +1 -0
  83. package/dist/components/Tabs.d.ts +13 -0
  84. package/dist/components/Tabs.d.ts.map +1 -0
  85. package/dist/components/Toggle.d.ts +9 -0
  86. package/dist/components/Toggle.d.ts.map +1 -0
  87. package/dist/components/index.d.ts +23 -0
  88. package/dist/components/index.d.ts.map +1 -0
  89. package/dist/esm/components/AcknowledgementBox.js.map +1 -1
  90. package/dist/esm/components/ActionButton.js.map +1 -1
  91. package/dist/esm/components/Alert.js.map +1 -1
  92. package/dist/esm/components/Breadcrumb.js.map +1 -1
  93. package/dist/esm/components/Button.js.map +1 -1
  94. package/dist/esm/components/Card.js.map +1 -1
  95. package/dist/esm/components/Checkbox.js.map +1 -1
  96. package/dist/esm/components/Concertina.js.map +1 -1
  97. package/dist/esm/components/DefinitionBox.d.ts +3 -1
  98. package/dist/esm/components/DefinitionBox.js +31 -17
  99. package/dist/esm/components/DefinitionBox.js.map +1 -1
  100. package/dist/esm/components/ExpandingBox.js.map +1 -1
  101. package/dist/esm/components/ExpandingBoxToggle.js.map +1 -1
  102. package/dist/esm/components/FileUploadButton.js.map +1 -1
  103. package/dist/esm/components/Header.js +4 -4
  104. package/dist/esm/components/Header.js.map +1 -1
  105. package/dist/esm/components/Input.js +4 -4
  106. package/dist/esm/components/Input.js.map +1 -1
  107. package/dist/esm/components/Modal.js.map +1 -1
  108. package/dist/esm/components/NoteBox.js.map +1 -1
  109. package/dist/esm/components/PopoverMenu.js.map +1 -1
  110. package/dist/esm/components/Progress.js.map +1 -1
  111. package/dist/esm/components/Radio.js.map +1 -1
  112. package/dist/esm/components/ReadBy.js.map +1 -1
  113. package/dist/esm/components/RichTextArea.js.map +1 -1
  114. package/dist/esm/components/Select.js.map +1 -1
  115. package/dist/esm/components/Sidebar.d.ts +1 -0
  116. package/dist/esm/components/Sidebar.js +1 -1
  117. package/dist/esm/components/Sidebar.js.map +1 -1
  118. package/dist/esm/components/SimpleModal.js.map +1 -1
  119. package/dist/esm/components/StatusBar.js.map +1 -1
  120. package/dist/esm/components/TableOfContents.js.map +1 -1
  121. package/dist/esm/components/Tabs.js.map +1 -1
  122. package/dist/esm/components/Toggle.js.map +1 -1
  123. package/dist/esm/helpers/variableProcessing.js.map +1 -1
  124. package/dist/esm/node_modules/domhandler/lib/index.js +1 -1
  125. package/dist/esm/node_modules/html-dom-parser/lib/index.js +1 -1
  126. package/dist/esm/types/variable.js.map +1 -1
  127. package/dist/index.cjs +1935 -0
  128. package/dist/index.cjs.map +1 -0
  129. package/dist/index.d.ts +26 -0
  130. package/dist/index.d.ts.map +1 -0
  131. package/dist/index.js +1890 -0
  132. package/dist/index.js.map +1 -0
  133. package/dist/theme-types.d.ts +40 -0
  134. package/dist/theme-types.d.ts.map +1 -0
  135. package/package.json +65 -65
  136. package/dist/cjs/_virtual/hoist-non-react-statics.cjs.js +0 -6
  137. package/dist/cjs/_virtual/hoist-non-react-statics.cjs.js.map +0 -1
  138. package/dist/cjs/_virtual/jsx-runtime.js +0 -8
  139. package/dist/cjs/_virtual/jsx-runtime.js.map +0 -1
  140. package/dist/cjs/_virtual/jsx-runtime2.js +0 -6
  141. package/dist/cjs/_virtual/jsx-runtime2.js.map +0 -1
  142. package/dist/cjs/_virtual/react-is.development.js +0 -6
  143. package/dist/cjs/_virtual/react-is.development.js.map +0 -1
  144. package/dist/cjs/_virtual/react-is.development2.js +0 -6
  145. package/dist/cjs/_virtual/react-is.development2.js.map +0 -1
  146. package/dist/cjs/_virtual/react-is.development3.js +0 -6
  147. package/dist/cjs/_virtual/react-is.development3.js.map +0 -1
  148. package/dist/cjs/_virtual/react-is.production.js +0 -6
  149. package/dist/cjs/_virtual/react-is.production.js.map +0 -1
  150. package/dist/cjs/_virtual/react-is.production.min.js +0 -6
  151. package/dist/cjs/_virtual/react-is.production.min.js.map +0 -1
  152. package/dist/cjs/_virtual/react-is.production.min2.js +0 -6
  153. package/dist/cjs/_virtual/react-is.production.min2.js.map +0 -1
  154. package/dist/cjs/_virtual/react-jsx-runtime.development.js +0 -6
  155. package/dist/cjs/_virtual/react-jsx-runtime.development.js.map +0 -1
  156. package/dist/cjs/_virtual/react-jsx-runtime.production.js +0 -6
  157. package/dist/cjs/_virtual/react-jsx-runtime.production.js.map +0 -1
  158. package/dist/cjs/_virtual/react-jsx-runtime.production.min.js +0 -6
  159. package/dist/cjs/_virtual/react-jsx-runtime.production.min.js.map +0 -1
  160. package/dist/cjs/images/PrimaryLogo_Variation_Cream.svg +0 -18
  161. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -11
  162. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +0 -1
  163. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
  164. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  165. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -12
  166. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
  167. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -16
  168. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  169. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -12
  170. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
  171. package/dist/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -504
  172. package/dist/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +0 -1
  173. package/dist/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -60
  174. package/dist/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
  175. package/dist/cjs/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -21
  176. package/dist/cjs/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +0 -1
  177. package/dist/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -14
  178. package/dist/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
  179. package/dist/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -172
  180. package/dist/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js.map +0 -1
  181. package/dist/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -181
  182. package/dist/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js.map +0 -1
  183. package/dist/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -215
  184. package/dist/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +0 -1
  185. package/dist/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -141
  186. package/dist/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +0 -1
  187. package/dist/cjs/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +0 -208
  188. package/dist/cjs/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js.map +0 -1
  189. package/dist/cjs/node_modules/@emotion/styled/dist/emotion-styled.esm.js +0 -18
  190. package/dist/cjs/node_modules/@emotion/styled/dist/emotion-styled.esm.js.map +0 -1
  191. package/dist/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -57
  192. package/dist/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +0 -1
  193. package/dist/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -36
  194. package/dist/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +0 -1
  195. package/dist/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -59
  196. package/dist/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +0 -1
  197. package/dist/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -21
  198. package/dist/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +0 -1
  199. package/dist/cjs/node_modules/@mui/icons-material/esm/AddBoxRounded.js +0 -14
  200. package/dist/cjs/node_modules/@mui/icons-material/esm/AddBoxRounded.js.map +0 -1
  201. package/dist/cjs/node_modules/@mui/icons-material/esm/ChevronLeftRounded.js +0 -14
  202. package/dist/cjs/node_modules/@mui/icons-material/esm/ChevronLeftRounded.js.map +0 -1
  203. package/dist/cjs/node_modules/@mui/icons-material/esm/ChevronRightRounded.js +0 -14
  204. package/dist/cjs/node_modules/@mui/icons-material/esm/ChevronRightRounded.js.map +0 -1
  205. package/dist/cjs/node_modules/@mui/icons-material/esm/CloseRounded.js +0 -14
  206. package/dist/cjs/node_modules/@mui/icons-material/esm/CloseRounded.js.map +0 -1
  207. package/dist/cjs/node_modules/@mui/icons-material/esm/EditRounded.js +0 -14
  208. package/dist/cjs/node_modules/@mui/icons-material/esm/EditRounded.js.map +0 -1
  209. package/dist/cjs/node_modules/@mui/icons-material/esm/ErrorOutlineRounded.js +0 -14
  210. package/dist/cjs/node_modules/@mui/icons-material/esm/ErrorOutlineRounded.js.map +0 -1
  211. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandCircleDownOutlined.js +0 -14
  212. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandCircleDownOutlined.js.map +0 -1
  213. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandLessRounded.js +0 -14
  214. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandLessRounded.js.map +0 -1
  215. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandMoreRounded.js +0 -14
  216. package/dist/cjs/node_modules/@mui/icons-material/esm/ExpandMoreRounded.js.map +0 -1
  217. package/dist/cjs/node_modules/@mui/icons-material/esm/HelpOutlineRounded.js +0 -14
  218. package/dist/cjs/node_modules/@mui/icons-material/esm/HelpOutlineRounded.js.map +0 -1
  219. package/dist/cjs/node_modules/@mui/icons-material/esm/HighlightOffRounded.js +0 -14
  220. package/dist/cjs/node_modules/@mui/icons-material/esm/HighlightOffRounded.js.map +0 -1
  221. package/dist/cjs/node_modules/@mui/icons-material/esm/HomeRounded.js +0 -14
  222. package/dist/cjs/node_modules/@mui/icons-material/esm/HomeRounded.js.map +0 -1
  223. package/dist/cjs/node_modules/@mui/icons-material/esm/IndeterminateCheckBoxRounded.js +0 -14
  224. package/dist/cjs/node_modules/@mui/icons-material/esm/IndeterminateCheckBoxRounded.js.map +0 -1
  225. package/dist/cjs/node_modules/@mui/icons-material/esm/InfoOutlineRounded.js +0 -14
  226. package/dist/cjs/node_modules/@mui/icons-material/esm/InfoOutlineRounded.js.map +0 -1
  227. package/dist/cjs/node_modules/@mui/icons-material/esm/PieChartRounded.js +0 -14
  228. package/dist/cjs/node_modules/@mui/icons-material/esm/PieChartRounded.js.map +0 -1
  229. package/dist/cjs/node_modules/@mui/icons-material/esm/SchoolRounded.js +0 -14
  230. package/dist/cjs/node_modules/@mui/icons-material/esm/SchoolRounded.js.map +0 -1
  231. package/dist/cjs/node_modules/@mui/icons-material/esm/SearchRounded.js +0 -14
  232. package/dist/cjs/node_modules/@mui/icons-material/esm/SearchRounded.js.map +0 -1
  233. package/dist/cjs/node_modules/@mui/icons-material/esm/StickyNote2Rounded.js +0 -14
  234. package/dist/cjs/node_modules/@mui/icons-material/esm/StickyNote2Rounded.js.map +0 -1
  235. package/dist/cjs/node_modules/@mui/icons-material/esm/TaskAltRounded.js +0 -14
  236. package/dist/cjs/node_modules/@mui/icons-material/esm/TaskAltRounded.js.map +0 -1
  237. package/dist/cjs/node_modules/@mui/icons-material/esm/TextSnippetRounded.js +0 -14
  238. package/dist/cjs/node_modules/@mui/icons-material/esm/TextSnippetRounded.js.map +0 -1
  239. package/dist/cjs/node_modules/@mui/material/esm/Alert/Alert.js +0 -407
  240. package/dist/cjs/node_modules/@mui/material/esm/Alert/Alert.js.map +0 -1
  241. package/dist/cjs/node_modules/@mui/material/esm/Alert/alertClasses.js +0 -15
  242. package/dist/cjs/node_modules/@mui/material/esm/Alert/alertClasses.js.map +0 -1
  243. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.js +0 -231
  244. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.js.map +0 -1
  245. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/backdropClasses.js +0 -12
  246. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/backdropClasses.js.map +0 -1
  247. package/dist/cjs/node_modules/@mui/material/esm/Box/Box.js +0 -41
  248. package/dist/cjs/node_modules/@mui/material/esm/Box/Box.js.map +0 -1
  249. package/dist/cjs/node_modules/@mui/material/esm/Box/boxClasses.js +0 -10
  250. package/dist/cjs/node_modules/@mui/material/esm/Box/boxClasses.js.map +0 -1
  251. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/BreadcrumbCollapsed.js +0 -98
  252. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/BreadcrumbCollapsed.js.map +0 -1
  253. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js +0 -263
  254. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js.map +0 -1
  255. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/breadcrumbsClasses.js +0 -15
  256. package/dist/cjs/node_modules/@mui/material/esm/Breadcrumbs/breadcrumbsClasses.js.map +0 -1
  257. package/dist/cjs/node_modules/@mui/material/esm/Button/Button.js +0 -710
  258. package/dist/cjs/node_modules/@mui/material/esm/Button/Button.js.map +0 -1
  259. package/dist/cjs/node_modules/@mui/material/esm/Button/buttonClasses.js +0 -15
  260. package/dist/cjs/node_modules/@mui/material/esm/Button/buttonClasses.js.map +0 -1
  261. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +0 -472
  262. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js.map +0 -1
  263. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.js +0 -109
  264. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.js.map +0 -1
  265. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +0 -353
  266. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js.map +0 -1
  267. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/buttonBaseClasses.js +0 -15
  268. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/buttonBaseClasses.js.map +0 -1
  269. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js +0 -10
  270. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js.map +0 -1
  271. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js +0 -36
  272. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js.map +0 -1
  273. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js +0 -36
  274. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js.map +0 -1
  275. package/dist/cjs/node_modules/@mui/material/esm/Checkbox/Checkbox.js +0 -304
  276. package/dist/cjs/node_modules/@mui/material/esm/Checkbox/Checkbox.js.map +0 -1
  277. package/dist/cjs/node_modules/@mui/material/esm/Checkbox/checkboxClasses.js +0 -15
  278. package/dist/cjs/node_modules/@mui/material/esm/Checkbox/checkboxClasses.js.map +0 -1
  279. package/dist/cjs/node_modules/@mui/material/esm/Chip/Chip.js +0 -652
  280. package/dist/cjs/node_modules/@mui/material/esm/Chip/Chip.js.map +0 -1
  281. package/dist/cjs/node_modules/@mui/material/esm/Chip/chipClasses.js +0 -15
  282. package/dist/cjs/node_modules/@mui/material/esm/Chip/chipClasses.js.map +0 -1
  283. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +0 -337
  284. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js.map +0 -1
  285. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/circularProgressClasses.js +0 -12
  286. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/circularProgressClasses.js.map +0 -1
  287. package/dist/cjs/node_modules/@mui/material/esm/Collapse/Collapse.js +0 -435
  288. package/dist/cjs/node_modules/@mui/material/esm/Collapse/Collapse.js.map +0 -1
  289. package/dist/cjs/node_modules/@mui/material/esm/Collapse/collapseClasses.js +0 -12
  290. package/dist/cjs/node_modules/@mui/material/esm/Collapse/collapseClasses.js.map +0 -1
  291. package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +0 -187
  292. package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js.map +0 -1
  293. package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -28
  294. package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +0 -1
  295. package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.js +0 -535
  296. package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.js.map +0 -1
  297. package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.js +0 -33
  298. package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.js.map +0 -1
  299. package/dist/cjs/node_modules/@mui/material/esm/Dialog/dialogClasses.js +0 -15
  300. package/dist/cjs/node_modules/@mui/material/esm/Dialog/dialogClasses.js.map +0 -1
  301. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.js +0 -134
  302. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.js.map +0 -1
  303. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/dialogContentClasses.js +0 -12
  304. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/dialogContentClasses.js.map +0 -1
  305. package/dist/cjs/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js +0 -105
  306. package/dist/cjs/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js.map +0 -1
  307. package/dist/cjs/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js +0 -15
  308. package/dist/cjs/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js.map +0 -1
  309. package/dist/cjs/node_modules/@mui/material/esm/Divider/dividerClasses.js +0 -10
  310. package/dist/cjs/node_modules/@mui/material/esm/Divider/dividerClasses.js.map +0 -1
  311. package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.js +0 -234
  312. package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.js.map +0 -1
  313. package/dist/cjs/node_modules/@mui/material/esm/FilledInput/FilledInput.js +0 -540
  314. package/dist/cjs/node_modules/@mui/material/esm/FilledInput/FilledInput.js.map +0 -1
  315. package/dist/cjs/node_modules/@mui/material/esm/FilledInput/filledInputClasses.js +0 -19
  316. package/dist/cjs/node_modules/@mui/material/esm/FilledInput/filledInputClasses.js.map +0 -1
  317. package/dist/cjs/node_modules/@mui/material/esm/FormControl/FormControl.js +0 -330
  318. package/dist/cjs/node_modules/@mui/material/esm/FormControl/FormControl.js.map +0 -1
  319. package/dist/cjs/node_modules/@mui/material/esm/FormControl/FormControlContext.js +0 -36
  320. package/dist/cjs/node_modules/@mui/material/esm/FormControl/FormControlContext.js.map +0 -1
  321. package/dist/cjs/node_modules/@mui/material/esm/FormControl/formControlClasses.js +0 -12
  322. package/dist/cjs/node_modules/@mui/material/esm/FormControl/formControlClasses.js.map +0 -1
  323. package/dist/cjs/node_modules/@mui/material/esm/FormControl/formControlState.js +0 -22
  324. package/dist/cjs/node_modules/@mui/material/esm/FormControl/formControlState.js.map +0 -1
  325. package/dist/cjs/node_modules/@mui/material/esm/FormControl/useFormControl.js +0 -33
  326. package/dist/cjs/node_modules/@mui/material/esm/FormControl/useFormControl.js.map +0 -1
  327. package/dist/cjs/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js +0 -308
  328. package/dist/cjs/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js.map +0 -1
  329. package/dist/cjs/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js +0 -15
  330. package/dist/cjs/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js.map +0 -1
  331. package/dist/cjs/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js +0 -211
  332. package/dist/cjs/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js.map +0 -1
  333. package/dist/cjs/node_modules/@mui/material/esm/FormHelperText/formHelperTextClasses.js +0 -15
  334. package/dist/cjs/node_modules/@mui/material/esm/FormHelperText/formHelperTextClasses.js.map +0 -1
  335. package/dist/cjs/node_modules/@mui/material/esm/FormLabel/FormLabel.js +0 -207
  336. package/dist/cjs/node_modules/@mui/material/esm/FormLabel/FormLabel.js.map +0 -1
  337. package/dist/cjs/node_modules/@mui/material/esm/FormLabel/formLabelClasses.js +0 -15
  338. package/dist/cjs/node_modules/@mui/material/esm/FormLabel/formLabelClasses.js.map +0 -1
  339. package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +0 -32
  340. package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js.map +0 -1
  341. package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.js +0 -287
  342. package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.js.map +0 -1
  343. package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.js +0 -345
  344. package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.js.map +0 -1
  345. package/dist/cjs/node_modules/@mui/material/esm/IconButton/iconButtonClasses.js +0 -15
  346. package/dist/cjs/node_modules/@mui/material/esm/IconButton/iconButtonClasses.js.map +0 -1
  347. package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +0 -62
  348. package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js.map +0 -1
  349. package/dist/cjs/node_modules/@mui/material/esm/Input/Input.js +0 -385
  350. package/dist/cjs/node_modules/@mui/material/esm/Input/Input.js.map +0 -1
  351. package/dist/cjs/node_modules/@mui/material/esm/Input/inputClasses.js +0 -19
  352. package/dist/cjs/node_modules/@mui/material/esm/Input/inputClasses.js.map +0 -1
  353. package/dist/cjs/node_modules/@mui/material/esm/InputBase/InputBase.js +0 -779
  354. package/dist/cjs/node_modules/@mui/material/esm/InputBase/InputBase.js.map +0 -1
  355. package/dist/cjs/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js +0 -15
  356. package/dist/cjs/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js.map +0 -1
  357. package/dist/cjs/node_modules/@mui/material/esm/InputBase/utils.js +0 -37
  358. package/dist/cjs/node_modules/@mui/material/esm/InputBase/utils.js.map +0 -1
  359. package/dist/cjs/node_modules/@mui/material/esm/InputLabel/InputLabel.js +0 -309
  360. package/dist/cjs/node_modules/@mui/material/esm/InputLabel/InputLabel.js.map +0 -1
  361. package/dist/cjs/node_modules/@mui/material/esm/InputLabel/inputLabelClasses.js +0 -12
  362. package/dist/cjs/node_modules/@mui/material/esm/InputLabel/inputLabelClasses.js.map +0 -1
  363. package/dist/cjs/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js +0 -480
  364. package/dist/cjs/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js.map +0 -1
  365. package/dist/cjs/node_modules/@mui/material/esm/LinearProgress/linearProgressClasses.js +0 -12
  366. package/dist/cjs/node_modules/@mui/material/esm/LinearProgress/linearProgressClasses.js.map +0 -1
  367. package/dist/cjs/node_modules/@mui/material/esm/List/List.js +0 -159
  368. package/dist/cjs/node_modules/@mui/material/esm/List/List.js.map +0 -1
  369. package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.js +0 -36
  370. package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.js.map +0 -1
  371. package/dist/cjs/node_modules/@mui/material/esm/List/listClasses.js +0 -12
  372. package/dist/cjs/node_modules/@mui/material/esm/List/listClasses.js.map +0 -1
  373. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +0 -289
  374. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js.map +0 -1
  375. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js +0 -15
  376. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js.map +0 -1
  377. package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js +0 -10
  378. package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js.map +0 -1
  379. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.js +0 -253
  380. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.js.map +0 -1
  381. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js +0 -15
  382. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js.map +0 -1
  383. package/dist/cjs/node_modules/@mui/material/esm/Menu/Menu.js +0 -364
  384. package/dist/cjs/node_modules/@mui/material/esm/Menu/Menu.js.map +0 -1
  385. package/dist/cjs/node_modules/@mui/material/esm/Menu/menuClasses.js +0 -12
  386. package/dist/cjs/node_modules/@mui/material/esm/Menu/menuClasses.js.map +0 -1
  387. package/dist/cjs/node_modules/@mui/material/esm/MenuItem/MenuItem.js +0 -308
  388. package/dist/cjs/node_modules/@mui/material/esm/MenuItem/MenuItem.js.map +0 -1
  389. package/dist/cjs/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js +0 -15
  390. package/dist/cjs/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js.map +0 -1
  391. package/dist/cjs/node_modules/@mui/material/esm/MenuList/MenuList.js +0 -315
  392. package/dist/cjs/node_modules/@mui/material/esm/MenuList/MenuList.js.map +0 -1
  393. package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.js +0 -415
  394. package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.js.map +0 -1
  395. package/dist/cjs/node_modules/@mui/material/esm/Modal/ModalManager.js +0 -220
  396. package/dist/cjs/node_modules/@mui/material/esm/Modal/ModalManager.js.map +0 -1
  397. package/dist/cjs/node_modules/@mui/material/esm/Modal/modalClasses.js +0 -12
  398. package/dist/cjs/node_modules/@mui/material/esm/Modal/modalClasses.js.map +0 -1
  399. package/dist/cjs/node_modules/@mui/material/esm/Modal/useModal.js +0 -218
  400. package/dist/cjs/node_modules/@mui/material/esm/Modal/useModal.js.map +0 -1
  401. package/dist/cjs/node_modules/@mui/material/esm/NativeSelect/NativeSelectInput.js +0 -271
  402. package/dist/cjs/node_modules/@mui/material/esm/NativeSelect/NativeSelectInput.js.map +0 -1
  403. package/dist/cjs/node_modules/@mui/material/esm/NativeSelect/nativeSelectClasses.js +0 -15
  404. package/dist/cjs/node_modules/@mui/material/esm/NativeSelect/nativeSelectClasses.js.map +0 -1
  405. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/NotchedOutline.js +0 -163
  406. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/NotchedOutline.js.map +0 -1
  407. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/OutlinedInput.js +0 -454
  408. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/OutlinedInput.js.map +0 -1
  409. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/outlinedInputClasses.js +0 -19
  410. package/dist/cjs/node_modules/@mui/material/esm/OutlinedInput/outlinedInputClasses.js.map +0 -1
  411. package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.js +0 -196
  412. package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.js.map +0 -1
  413. package/dist/cjs/node_modules/@mui/material/esm/Paper/paperClasses.js +0 -12
  414. package/dist/cjs/node_modules/@mui/material/esm/Paper/paperClasses.js.map +0 -1
  415. package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.js +0 -610
  416. package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.js.map +0 -1
  417. package/dist/cjs/node_modules/@mui/material/esm/Popover/popoverClasses.js +0 -12
  418. package/dist/cjs/node_modules/@mui/material/esm/Popover/popoverClasses.js.map +0 -1
  419. package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.js +0 -117
  420. package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.js.map +0 -1
  421. package/dist/cjs/node_modules/@mui/material/esm/Select/Select.js +0 -324
  422. package/dist/cjs/node_modules/@mui/material/esm/Select/Select.js.map +0 -1
  423. package/dist/cjs/node_modules/@mui/material/esm/Select/SelectInput.js +0 -701
  424. package/dist/cjs/node_modules/@mui/material/esm/Select/SelectInput.js.map +0 -1
  425. package/dist/cjs/node_modules/@mui/material/esm/Select/selectClasses.js +0 -15
  426. package/dist/cjs/node_modules/@mui/material/esm/Select/selectClasses.js.map +0 -1
  427. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +0 -259
  428. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js.map +0 -1
  429. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js +0 -12
  430. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js.map +0 -1
  431. package/dist/cjs/node_modules/@mui/material/esm/TextField/TextField.js +0 -481
  432. package/dist/cjs/node_modules/@mui/material/esm/TextField/TextField.js.map +0 -1
  433. package/dist/cjs/node_modules/@mui/material/esm/TextField/textFieldClasses.js +0 -12
  434. package/dist/cjs/node_modules/@mui/material/esm/TextField/textFieldClasses.js.map +0 -1
  435. package/dist/cjs/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js +0 -281
  436. package/dist/cjs/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js.map +0 -1
  437. package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.js +0 -295
  438. package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.js.map +0 -1
  439. package/dist/cjs/node_modules/@mui/material/esm/Typography/typographyClasses.js +0 -15
  440. package/dist/cjs/node_modules/@mui/material/esm/Typography/typographyClasses.js.map +0 -1
  441. package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +0 -357
  442. package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js.map +0 -1
  443. package/dist/cjs/node_modules/@mui/material/esm/colors/blue.js +0 -13
  444. package/dist/cjs/node_modules/@mui/material/esm/colors/blue.js.map +0 -1
  445. package/dist/cjs/node_modules/@mui/material/esm/colors/common.js +0 -11
  446. package/dist/cjs/node_modules/@mui/material/esm/colors/common.js.map +0 -1
  447. package/dist/cjs/node_modules/@mui/material/esm/colors/green.js +0 -14
  448. package/dist/cjs/node_modules/@mui/material/esm/colors/green.js.map +0 -1
  449. package/dist/cjs/node_modules/@mui/material/esm/colors/grey.js +0 -23
  450. package/dist/cjs/node_modules/@mui/material/esm/colors/grey.js.map +0 -1
  451. package/dist/cjs/node_modules/@mui/material/esm/colors/lightBlue.js +0 -13
  452. package/dist/cjs/node_modules/@mui/material/esm/colors/lightBlue.js.map +0 -1
  453. package/dist/cjs/node_modules/@mui/material/esm/colors/orange.js +0 -13
  454. package/dist/cjs/node_modules/@mui/material/esm/colors/orange.js.map +0 -1
  455. package/dist/cjs/node_modules/@mui/material/esm/colors/purple.js +0 -14
  456. package/dist/cjs/node_modules/@mui/material/esm/colors/purple.js.map +0 -1
  457. package/dist/cjs/node_modules/@mui/material/esm/colors/red.js +0 -13
  458. package/dist/cjs/node_modules/@mui/material/esm/colors/red.js.map +0 -1
  459. package/dist/cjs/node_modules/@mui/material/esm/internal/SwitchBase.js +0 -383
  460. package/dist/cjs/node_modules/@mui/material/esm/internal/SwitchBase.js.map +0 -1
  461. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ArrowDropDown.js +0 -15
  462. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ArrowDropDown.js.map +0 -1
  463. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Cancel.js +0 -15
  464. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Cancel.js.map +0 -1
  465. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/CheckBox.js +0 -15
  466. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/CheckBox.js.map +0 -1
  467. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/CheckBoxOutlineBlank.js +0 -15
  468. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/CheckBoxOutlineBlank.js.map +0 -1
  469. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Close.js +0 -15
  470. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Close.js.map +0 -1
  471. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ErrorOutline.js +0 -15
  472. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ErrorOutline.js.map +0 -1
  473. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/IndeterminateCheckBox.js +0 -15
  474. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/IndeterminateCheckBox.js.map +0 -1
  475. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/InfoOutlined.js +0 -15
  476. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/InfoOutlined.js.map +0 -1
  477. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/MoreHoriz.js +0 -15
  478. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/MoreHoriz.js.map +0 -1
  479. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ReportProblemOutlined.js +0 -15
  480. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/ReportProblemOutlined.js.map +0 -1
  481. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/SuccessOutlined.js +0 -15
  482. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/SuccessOutlined.js.map +0 -1
  483. package/dist/cjs/node_modules/@mui/material/esm/internal/switchBaseClasses.js +0 -12
  484. package/dist/cjs/node_modules/@mui/material/esm/internal/switchBaseClasses.js.map +0 -1
  485. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProvider.js +0 -66
  486. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProvider.js.map +0 -1
  487. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProviderNoVars.js +0 -24
  488. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProviderNoVars.js.map +0 -1
  489. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProviderWithVars.js +0 -67
  490. package/dist/cjs/node_modules/@mui/material/esm/styles/ThemeProviderWithVars.js.map +0 -1
  491. package/dist/cjs/node_modules/@mui/material/esm/styles/createColorScheme.js +0 -56
  492. package/dist/cjs/node_modules/@mui/material/esm/styles/createColorScheme.js.map +0 -1
  493. package/dist/cjs/node_modules/@mui/material/esm/styles/createGetSelector.js +0 -68
  494. package/dist/cjs/node_modules/@mui/material/esm/styles/createGetSelector.js.map +0 -1
  495. package/dist/cjs/node_modules/@mui/material/esm/styles/createMixins.js +0 -23
  496. package/dist/cjs/node_modules/@mui/material/esm/styles/createMixins.js.map +0 -1
  497. package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.js +0 -340
  498. package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.js.map +0 -1
  499. package/dist/cjs/node_modules/@mui/material/esm/styles/createTheme.js +0 -106
  500. package/dist/cjs/node_modules/@mui/material/esm/styles/createTheme.js.map +0 -1
  501. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.js +0 -157
  502. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.js.map +0 -1
  503. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.js +0 -428
  504. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.js.map +0 -1
  505. package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.js +0 -98
  506. package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.js.map +0 -1
  507. package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.js +0 -100
  508. package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.js.map +0 -1
  509. package/dist/cjs/node_modules/@mui/material/esm/styles/defaultTheme.js +0 -11
  510. package/dist/cjs/node_modules/@mui/material/esm/styles/defaultTheme.js.map +0 -1
  511. package/dist/cjs/node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js +0 -11
  512. package/dist/cjs/node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js.map +0 -1
  513. package/dist/cjs/node_modules/@mui/material/esm/styles/getOverlayAlpha.js +0 -17
  514. package/dist/cjs/node_modules/@mui/material/esm/styles/getOverlayAlpha.js.map +0 -1
  515. package/dist/cjs/node_modules/@mui/material/esm/styles/identifier.js +0 -8
  516. package/dist/cjs/node_modules/@mui/material/esm/styles/identifier.js.map +0 -1
  517. package/dist/cjs/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js +0 -10
  518. package/dist/cjs/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js.map +0 -1
  519. package/dist/cjs/node_modules/@mui/material/esm/styles/shadows.js +0 -16
  520. package/dist/cjs/node_modules/@mui/material/esm/styles/shadows.js.map +0 -1
  521. package/dist/cjs/node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js +0 -12
  522. package/dist/cjs/node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js.map +0 -1
  523. package/dist/cjs/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js +0 -11
  524. package/dist/cjs/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js.map +0 -1
  525. package/dist/cjs/node_modules/@mui/material/esm/styles/stringifyTheme.js +0 -60
  526. package/dist/cjs/node_modules/@mui/material/esm/styles/stringifyTheme.js.map +0 -1
  527. package/dist/cjs/node_modules/@mui/material/esm/styles/styled.js +0 -19
  528. package/dist/cjs/node_modules/@mui/material/esm/styles/styled.js.map +0 -1
  529. package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.js +0 -41
  530. package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.js.map +0 -1
  531. package/dist/cjs/node_modules/@mui/material/esm/styles/zIndex.js +0 -19
  532. package/dist/cjs/node_modules/@mui/material/esm/styles/zIndex.js.map +0 -1
  533. package/dist/cjs/node_modules/@mui/material/esm/transitions/utils.js +0 -19
  534. package/dist/cjs/node_modules/@mui/material/esm/transitions/utils.js.map +0 -1
  535. package/dist/cjs/node_modules/@mui/material/esm/useLazyRipple/useLazyRipple.js +0 -112
  536. package/dist/cjs/node_modules/@mui/material/esm/useLazyRipple/useLazyRipple.js.map +0 -1
  537. package/dist/cjs/node_modules/@mui/material/esm/useMediaQuery/index.js +0 -13
  538. package/dist/cjs/node_modules/@mui/material/esm/useMediaQuery/index.js.map +0 -1
  539. package/dist/cjs/node_modules/@mui/material/esm/utils/capitalize.js +0 -10
  540. package/dist/cjs/node_modules/@mui/material/esm/utils/capitalize.js.map +0 -1
  541. package/dist/cjs/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js +0 -48
  542. package/dist/cjs/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js.map +0 -1
  543. package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.js +0 -48
  544. package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.js.map +0 -1
  545. package/dist/cjs/node_modules/@mui/material/esm/utils/debounce.js +0 -10
  546. package/dist/cjs/node_modules/@mui/material/esm/utils/debounce.js.map +0 -1
  547. package/dist/cjs/node_modules/@mui/material/esm/utils/getScrollbarSize.js +0 -10
  548. package/dist/cjs/node_modules/@mui/material/esm/utils/getScrollbarSize.js.map +0 -1
  549. package/dist/cjs/node_modules/@mui/material/esm/utils/isMuiElement.js +0 -10
  550. package/dist/cjs/node_modules/@mui/material/esm/utils/isMuiElement.js.map +0 -1
  551. package/dist/cjs/node_modules/@mui/material/esm/utils/memoTheme.js +0 -10
  552. package/dist/cjs/node_modules/@mui/material/esm/utils/memoTheme.js.map +0 -1
  553. package/dist/cjs/node_modules/@mui/material/esm/utils/mergeSlotProps.js +0 -82
  554. package/dist/cjs/node_modules/@mui/material/esm/utils/mergeSlotProps.js.map +0 -1
  555. package/dist/cjs/node_modules/@mui/material/esm/utils/ownerDocument.js +0 -10
  556. package/dist/cjs/node_modules/@mui/material/esm/utils/ownerDocument.js.map +0 -1
  557. package/dist/cjs/node_modules/@mui/material/esm/utils/ownerWindow.js +0 -10
  558. package/dist/cjs/node_modules/@mui/material/esm/utils/ownerWindow.js.map +0 -1
  559. package/dist/cjs/node_modules/@mui/material/esm/utils/unsupportedProp.js +0 -10
  560. package/dist/cjs/node_modules/@mui/material/esm/utils/unsupportedProp.js.map +0 -1
  561. package/dist/cjs/node_modules/@mui/material/esm/utils/useControlled.js +0 -11
  562. package/dist/cjs/node_modules/@mui/material/esm/utils/useControlled.js.map +0 -1
  563. package/dist/cjs/node_modules/@mui/material/esm/utils/useEnhancedEffect.js +0 -11
  564. package/dist/cjs/node_modules/@mui/material/esm/utils/useEnhancedEffect.js.map +0 -1
  565. package/dist/cjs/node_modules/@mui/material/esm/utils/useEventCallback.js +0 -11
  566. package/dist/cjs/node_modules/@mui/material/esm/utils/useEventCallback.js.map +0 -1
  567. package/dist/cjs/node_modules/@mui/material/esm/utils/useForkRef.js +0 -11
  568. package/dist/cjs/node_modules/@mui/material/esm/utils/useForkRef.js.map +0 -1
  569. package/dist/cjs/node_modules/@mui/material/esm/utils/useId.js +0 -11
  570. package/dist/cjs/node_modules/@mui/material/esm/utils/useId.js.map +0 -1
  571. package/dist/cjs/node_modules/@mui/material/esm/utils/useSlot.js +0 -87
  572. package/dist/cjs/node_modules/@mui/material/esm/utils/useSlot.js.map +0 -1
  573. package/dist/cjs/node_modules/@mui/material/esm/zero-styled/index.js +0 -30
  574. package/dist/cjs/node_modules/@mui/material/esm/zero-styled/index.js.map +0 -1
  575. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +0 -93
  576. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js.map +0 -1
  577. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/nested.js +0 -9
  578. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/nested.js.map +0 -1
  579. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js +0 -33
  580. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js.map +0 -1
  581. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.js +0 -38
  582. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.js.map +0 -1
  583. package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +0 -30
  584. package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js.map +0 -1
  585. package/dist/cjs/node_modules/@mui/styled-engine/esm/index.js +0 -65
  586. package/dist/cjs/node_modules/@mui/styled-engine/esm/index.js.map +0 -1
  587. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -55
  588. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +0 -1
  589. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +0 -68
  590. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +0 -1
  591. package/dist/cjs/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js +0 -89
  592. package/dist/cjs/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js.map +0 -1
  593. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js +0 -45
  594. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js.map +0 -1
  595. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +0 -125
  596. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +0 -1
  597. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js +0 -55
  598. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js.map +0 -1
  599. package/dist/cjs/node_modules/@mui/system/esm/borders/borders.js +0 -67
  600. package/dist/cjs/node_modules/@mui/system/esm/borders/borders.js.map +0 -1
  601. package/dist/cjs/node_modules/@mui/system/esm/breakpoints/breakpoints.js +0 -90
  602. package/dist/cjs/node_modules/@mui/system/esm/breakpoints/breakpoints.js.map +0 -1
  603. package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +0 -326
  604. package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +0 -1
  605. package/dist/cjs/node_modules/@mui/system/esm/compose/compose.js +0 -31
  606. package/dist/cjs/node_modules/@mui/system/esm/compose/compose.js.map +0 -1
  607. package/dist/cjs/node_modules/@mui/system/esm/createBox/createBox.js +0 -62
  608. package/dist/cjs/node_modules/@mui/system/esm/createBox/createBox.js.map +0 -1
  609. package/dist/cjs/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js +0 -87
  610. package/dist/cjs/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js.map +0 -1
  611. package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.js +0 -298
  612. package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.js.map +0 -1
  613. package/dist/cjs/node_modules/@mui/system/esm/createTheme/applyStyles.js +0 -94
  614. package/dist/cjs/node_modules/@mui/system/esm/createTheme/applyStyles.js.map +0 -1
  615. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.js +0 -38
  616. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +0 -1
  617. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createTheme.js +0 -56
  618. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createTheme.js.map +0 -1
  619. package/dist/cjs/node_modules/@mui/system/esm/createTheme/shape.js +0 -10
  620. package/dist/cjs/node_modules/@mui/system/esm/createTheme/shape.js.map +0 -1
  621. package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -80
  622. package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +0 -1
  623. package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.js +0 -100
  624. package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +0 -1
  625. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +0 -365
  626. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +0 -1
  627. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createGetCssVar.js +0 -29
  628. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createGetCssVar.js.map +0 -1
  629. package/dist/cjs/node_modules/@mui/system/esm/cssVars/cssVarsParser.js +0 -138
  630. package/dist/cjs/node_modules/@mui/system/esm/cssVars/cssVarsParser.js.map +0 -1
  631. package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -31
  632. package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +0 -1
  633. package/dist/cjs/node_modules/@mui/system/esm/cssVars/localStorageManager.js +0 -57
  634. package/dist/cjs/node_modules/@mui/system/esm/cssVars/localStorageManager.js.map +0 -1
  635. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareCssVars.js +0 -171
  636. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareCssVars.js.map +0 -1
  637. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js +0 -18
  638. package/dist/cjs/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js.map +0 -1
  639. package/dist/cjs/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js +0 -256
  640. package/dist/cjs/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js.map +0 -1
  641. package/dist/cjs/node_modules/@mui/system/esm/memoTheme.js +0 -35
  642. package/dist/cjs/node_modules/@mui/system/esm/memoTheme.js.map +0 -1
  643. package/dist/cjs/node_modules/@mui/system/esm/memoize/memoize.js +0 -16
  644. package/dist/cjs/node_modules/@mui/system/esm/memoize/memoize.js.map +0 -1
  645. package/dist/cjs/node_modules/@mui/system/esm/merge/merge.js +0 -17
  646. package/dist/cjs/node_modules/@mui/system/esm/merge/merge.js.map +0 -1
  647. package/dist/cjs/node_modules/@mui/system/esm/palette/palette.js +0 -34
  648. package/dist/cjs/node_modules/@mui/system/esm/palette/palette.js.map +0 -1
  649. package/dist/cjs/node_modules/@mui/system/esm/preprocessStyles.js +0 -33
  650. package/dist/cjs/node_modules/@mui/system/esm/preprocessStyles.js.map +0 -1
  651. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +0 -10
  652. package/dist/cjs/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js.map +0 -1
  653. package/dist/cjs/node_modules/@mui/system/esm/sizing/sizing.js +0 -76
  654. package/dist/cjs/node_modules/@mui/system/esm/sizing/sizing.js.map +0 -1
  655. package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.js +0 -165
  656. package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.js.map +0 -1
  657. package/dist/cjs/node_modules/@mui/system/esm/style/style.js +0 -84
  658. package/dist/cjs/node_modules/@mui/system/esm/style/style.js.map +0 -1
  659. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -301
  660. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js.map +0 -1
  661. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +0 -59
  662. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js.map +0 -1
  663. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +0 -142
  664. package/dist/cjs/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js.map +0 -1
  665. package/dist/cjs/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js +0 -144
  666. package/dist/cjs/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js.map +0 -1
  667. package/dist/cjs/node_modules/@mui/system/esm/useTheme/useTheme.js +0 -16
  668. package/dist/cjs/node_modules/@mui/system/esm/useTheme/useTheme.js.map +0 -1
  669. package/dist/cjs/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +0 -20
  670. package/dist/cjs/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js.map +0 -1
  671. package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +0 -37
  672. package/dist/cjs/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js.map +0 -1
  673. package/dist/cjs/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +0 -23
  674. package/dist/cjs/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js.map +0 -1
  675. package/dist/cjs/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +0 -21
  676. package/dist/cjs/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js.map +0 -1
  677. package/dist/cjs/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +0 -34
  678. package/dist/cjs/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js.map +0 -1
  679. package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.js +0 -19
  680. package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +0 -1
  681. package/dist/cjs/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +0 -15
  682. package/dist/cjs/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js.map +0 -1
  683. package/dist/cjs/node_modules/@mui/utils/esm/clamp/clamp.js +0 -10
  684. package/dist/cjs/node_modules/@mui/utils/esm/clamp/clamp.js.map +0 -1
  685. package/dist/cjs/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -60
  686. package/dist/cjs/node_modules/@mui/utils/esm/composeClasses/composeClasses.js.map +0 -1
  687. package/dist/cjs/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js +0 -24
  688. package/dist/cjs/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js.map +0 -1
  689. package/dist/cjs/node_modules/@mui/utils/esm/debounce/debounce.js +0 -24
  690. package/dist/cjs/node_modules/@mui/utils/esm/debounce/debounce.js.map +0 -1
  691. package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +0 -91
  692. package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.js.map +0 -1
  693. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +0 -49
  694. package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +0 -1
  695. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +0 -48
  696. package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +0 -1
  697. package/dist/cjs/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -27
  698. package/dist/cjs/node_modules/@mui/utils/esm/exactProp/exactProp.js.map +0 -1
  699. package/dist/cjs/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +0 -24
  700. package/dist/cjs/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js.map +0 -1
  701. package/dist/cjs/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -22
  702. package/dist/cjs/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js.map +0 -1
  703. package/dist/cjs/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -28
  704. package/dist/cjs/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js.map +0 -1
  705. package/dist/cjs/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +0 -16
  706. package/dist/cjs/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js.map +0 -1
  707. package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +0 -46
  708. package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js.map +0 -1
  709. package/dist/cjs/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js +0 -44
  710. package/dist/cjs/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js.map +0 -1
  711. package/dist/cjs/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js +0 -14
  712. package/dist/cjs/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js.map +0 -1
  713. package/dist/cjs/node_modules/@mui/utils/esm/integerPropType/integerPropType.js +0 -52
  714. package/dist/cjs/node_modules/@mui/utils/esm/integerPropType/integerPropType.js.map +0 -1
  715. package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -22
  716. package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +0 -1
  717. package/dist/cjs/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +0 -13
  718. package/dist/cjs/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js.map +0 -1
  719. package/dist/cjs/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js +0 -35
  720. package/dist/cjs/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js.map +0 -1
  721. package/dist/cjs/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +0 -97
  722. package/dist/cjs/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js.map +0 -1
  723. package/dist/cjs/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +0 -24
  724. package/dist/cjs/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js.map +0 -1
  725. package/dist/cjs/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -10
  726. package/dist/cjs/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js.map +0 -1
  727. package/dist/cjs/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +0 -13
  728. package/dist/cjs/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js.map +0 -1
  729. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js +0 -10
  730. package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js.map +0 -1
  731. package/dist/cjs/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +0 -17
  732. package/dist/cjs/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js.map +0 -1
  733. package/dist/cjs/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +0 -62
  734. package/dist/cjs/node_modules/@mui/utils/esm/resolveProps/resolveProps.js.map +0 -1
  735. package/dist/cjs/node_modules/@mui/utils/esm/setRef/setRef.js +0 -27
  736. package/dist/cjs/node_modules/@mui/utils/esm/setRef/setRef.js.map +0 -1
  737. package/dist/cjs/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js +0 -17
  738. package/dist/cjs/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js.map +0 -1
  739. package/dist/cjs/node_modules/@mui/utils/esm/useControlled/useControlled.js +0 -69
  740. package/dist/cjs/node_modules/@mui/utils/esm/useControlled/useControlled.js.map +0 -1
  741. package/dist/cjs/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -37
  742. package/dist/cjs/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js.map +0 -1
  743. package/dist/cjs/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +0 -44
  744. package/dist/cjs/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js.map +0 -1
  745. package/dist/cjs/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -85
  746. package/dist/cjs/node_modules/@mui/utils/esm/useForkRef/useForkRef.js.map +0 -1
  747. package/dist/cjs/node_modules/@mui/utils/esm/useId/useId.js +0 -71
  748. package/dist/cjs/node_modules/@mui/utils/esm/useId/useId.js.map +0 -1
  749. package/dist/cjs/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js +0 -45
  750. package/dist/cjs/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js.map +0 -1
  751. package/dist/cjs/node_modules/@mui/utils/esm/useOnMount/useOnMount.js +0 -40
  752. package/dist/cjs/node_modules/@mui/utils/esm/useOnMount/useOnMount.js.map +0 -1
  753. package/dist/cjs/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +0 -44
  754. package/dist/cjs/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js.map +0 -1
  755. package/dist/cjs/node_modules/@mui/utils/esm/useTimeout/useTimeout.js +0 -43
  756. package/dist/cjs/node_modules/@mui/utils/esm/useTimeout/useTimeout.js.map +0 -1
  757. package/dist/cjs/node_modules/clsx/dist/clsx.js +0 -9
  758. package/dist/cjs/node_modules/clsx/dist/clsx.js.map +0 -1
  759. package/dist/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -117
  760. package/dist/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +0 -1
  761. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -193
  762. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  763. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -29
  764. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  765. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -22
  766. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +0 -1
  767. package/dist/cjs/node_modules/object-assign/index.js +0 -102
  768. package/dist/cjs/node_modules/object-assign/index.js.map +0 -1
  769. package/dist/cjs/node_modules/prop-types/checkPropTypes.js +0 -118
  770. package/dist/cjs/node_modules/prop-types/checkPropTypes.js.map +0 -1
  771. package/dist/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -77
  772. package/dist/cjs/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  773. package/dist/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -628
  774. package/dist/cjs/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  775. package/dist/cjs/node_modules/prop-types/index.js +0 -36
  776. package/dist/cjs/node_modules/prop-types/index.js.map +0 -1
  777. package/dist/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -24
  778. package/dist/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  779. package/dist/cjs/node_modules/prop-types/lib/has.js +0 -14
  780. package/dist/cjs/node_modules/prop-types/lib/has.js.map +0 -1
  781. package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -193
  782. package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  783. package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -29
  784. package/dist/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  785. package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -22
  786. package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  787. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1328
  788. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  789. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.js +0 -47
  790. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
  791. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -27
  792. package/dist/cjs/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
  793. package/dist/cjs/node_modules/react/jsx-runtime.js +0 -22
  794. package/dist/cjs/node_modules/react/jsx-runtime.js.map +0 -1
  795. package/dist/cjs/node_modules/react-is/cjs/react-is.development.js +0 -145
  796. package/dist/cjs/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  797. package/dist/cjs/node_modules/react-is/cjs/react-is.production.js +0 -142
  798. package/dist/cjs/node_modules/react-is/cjs/react-is.production.js.map +0 -1
  799. package/dist/cjs/node_modules/react-is/index.js +0 -22
  800. package/dist/cjs/node_modules/react-is/index.js.map +0 -1
  801. package/dist/cjs/node_modules/react-router/dist/development/chunk-OIYGIGL5.js +0 -1794
  802. package/dist/cjs/node_modules/react-router/dist/development/chunk-OIYGIGL5.js.map +0 -1
  803. package/dist/cjs/node_modules/react-toastify/dist/index.js +0 -16
  804. package/dist/cjs/node_modules/react-toastify/dist/index.js.map +0 -1
  805. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +0 -637
  806. package/dist/cjs/node_modules/react-transition-group/esm/Transition.js.map +0 -1
  807. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js +0 -195
  808. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js.map +0 -1
  809. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -10
  810. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +0 -1
  811. package/dist/cjs/node_modules/react-transition-group/esm/config.js +0 -10
  812. package/dist/cjs/node_modules/react-transition-group/esm/config.js.map +0 -1
  813. package/dist/cjs/node_modules/react-transition-group/esm/utils/ChildMapping.js +0 -149
  814. package/dist/cjs/node_modules/react-transition-group/esm/utils/ChildMapping.js.map +0 -1
  815. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -24
  816. package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js.map +0 -1
  817. package/dist/cjs/node_modules/react-transition-group/esm/utils/reflow.js +0 -8
  818. package/dist/cjs/node_modules/react-transition-group/esm/utils/reflow.js.map +0 -1
  819. package/dist/cjs/node_modules/stylis/src/Enum.js +0 -23
  820. package/dist/cjs/node_modules/stylis/src/Enum.js.map +0 -1
  821. package/dist/cjs/node_modules/stylis/src/Middleware.js +0 -36
  822. package/dist/cjs/node_modules/stylis/src/Middleware.js.map +0 -1
  823. package/dist/cjs/node_modules/stylis/src/Parser.js +0 -200
  824. package/dist/cjs/node_modules/stylis/src/Parser.js.map +0 -1
  825. package/dist/cjs/node_modules/stylis/src/Serializer.js +0 -42
  826. package/dist/cjs/node_modules/stylis/src/Serializer.js.map +0 -1
  827. package/dist/cjs/node_modules/stylis/src/Tokenizer.js +0 -242
  828. package/dist/cjs/node_modules/stylis/src/Tokenizer.js.map +0 -1
  829. package/dist/cjs/node_modules/stylis/src/Utility.js +0 -133
  830. package/dist/cjs/node_modules/stylis/src/Utility.js.map +0 -1
  831. package/dist/esm/images/PrimaryLogo_Variation_Cream.svg +0 -18
  832. package/dist/esm/node_modules/clsx/dist/clsx.js +0 -4
  833. package/dist/esm/node_modules/clsx/dist/clsx.js.map +0 -1
  834. package/dist/esm/node_modules/react-router/dist/development/chunk-OIYGIGL5.js +0 -1743
  835. package/dist/esm/node_modules/react-router/dist/development/chunk-OIYGIGL5.js.map +0 -1
  836. package/dist/esm/node_modules/react-toastify/dist/index.js +0 -9
  837. package/dist/esm/node_modules/react-toastify/dist/index.js.map +0 -1
package/dist/index.cjs ADDED
@@ -0,0 +1,1935 @@
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