@etsoo/materialui 1.5.2 → 1.5.3

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 (422) hide show
  1. package/lib/cjs/AddresSelector.d.ts +1 -1
  2. package/lib/cjs/AddresSelector.js +4 -3
  3. package/lib/cjs/AuditDisplay.d.ts +1 -1
  4. package/lib/cjs/AuditDisplay.js +8 -5
  5. package/lib/cjs/AutocompleteExtendedProps.d.ts +1 -1
  6. package/lib/cjs/BackButton.d.ts +1 -1
  7. package/lib/cjs/BackButton.js +4 -3
  8. package/lib/cjs/BridgeCloseButton.d.ts +2 -1
  9. package/lib/cjs/BridgeCloseButton.js +3 -2
  10. package/lib/cjs/ButtonLink.d.ts +1 -1
  11. package/lib/cjs/ButtonLink.js +7 -4
  12. package/lib/cjs/ButtonPopover.d.ts +1 -1
  13. package/lib/cjs/ButtonPopover.js +2 -2
  14. package/lib/cjs/ComboBox.js +6 -4
  15. package/lib/cjs/ComboBoxMultiple.js +4 -3
  16. package/lib/cjs/ComboBoxPro.d.ts +1 -1
  17. package/lib/cjs/ComboBoxPro.js +2 -2
  18. package/lib/cjs/CountdownButton.d.ts +1 -1
  19. package/lib/cjs/CountdownButton.js +4 -3
  20. package/lib/cjs/DataGridEx.js +15 -11
  21. package/lib/cjs/DataGridRenderers.js +2 -2
  22. package/lib/cjs/DataSteps.d.ts +1 -1
  23. package/lib/cjs/DataSteps.js +9 -6
  24. package/lib/cjs/DataTable.d.ts +1 -1
  25. package/lib/cjs/DataTable.js +2 -2
  26. package/lib/cjs/DialogButton.d.ts +2 -1
  27. package/lib/cjs/DialogButton.js +9 -3
  28. package/lib/cjs/DnDList.d.ts +2 -2
  29. package/lib/cjs/DnDList.js +4 -3
  30. package/lib/cjs/DraggablePaperComponent.d.ts +1 -1
  31. package/lib/cjs/DraggablePaperComponent.js +2 -2
  32. package/lib/cjs/EmailInput.d.ts +1 -1
  33. package/lib/cjs/EmailInput.js +7 -6
  34. package/lib/cjs/ErrorAlert.d.ts +1 -1
  35. package/lib/cjs/ErrorAlert.js +5 -2
  36. package/lib/cjs/FabBox.d.ts +2 -1
  37. package/lib/cjs/FabBox.js +6 -4
  38. package/lib/cjs/FieldSetEx.d.ts +1 -1
  39. package/lib/cjs/FieldSetEx.js +5 -3
  40. package/lib/cjs/FileUploadButton.d.ts +1 -1
  41. package/lib/cjs/FileUploadButton.js +5 -2
  42. package/lib/cjs/FlexBox.d.ts +1 -1
  43. package/lib/cjs/FlexBox.js +7 -4
  44. package/lib/cjs/HiSelector.d.ts +2 -1
  45. package/lib/cjs/HiSelector.js +3 -2
  46. package/lib/cjs/HiSelectorTL.d.ts +2 -1
  47. package/lib/cjs/HiSelectorTL.js +3 -2
  48. package/lib/cjs/IconButtonLink.d.ts +1 -1
  49. package/lib/cjs/IconButtonLink.js +5 -2
  50. package/lib/cjs/InputField.d.ts +4 -4
  51. package/lib/cjs/InputField.js +2 -2
  52. package/lib/cjs/InputTipField.js +8 -5
  53. package/lib/cjs/IntInputField.d.ts +1 -1
  54. package/lib/cjs/IntInputField.js +8 -6
  55. package/lib/cjs/ItemList.js +10 -4
  56. package/lib/cjs/LineChart.js +2 -2
  57. package/lib/cjs/ListChooser.d.ts +2 -1
  58. package/lib/cjs/ListChooser.js +8 -4
  59. package/lib/cjs/ListItemRightIcon.d.ts +1 -1
  60. package/lib/cjs/ListItemRightIcon.js +6 -2
  61. package/lib/cjs/ListMoreDisplay.d.ts +1 -1
  62. package/lib/cjs/ListMoreDisplay.js +7 -3
  63. package/lib/cjs/LoadingButton.d.ts +2 -1
  64. package/lib/cjs/LoadingButton.js +4 -3
  65. package/lib/cjs/MUGlobal.d.ts +2 -1
  66. package/lib/cjs/MaskInput.d.ts +1 -1
  67. package/lib/cjs/MaskInput.js +2 -2
  68. package/lib/cjs/MenuButton.d.ts +2 -1
  69. package/lib/cjs/MenuButton.js +5 -3
  70. package/lib/cjs/MobileListItemRenderer.js +14 -5
  71. package/lib/cjs/MoreFab.d.ts +2 -1
  72. package/lib/cjs/MoreFab.js +10 -4
  73. package/lib/cjs/NotifierMU.js +45 -22
  74. package/lib/cjs/NotifierPopupProps.d.ts +1 -1
  75. package/lib/cjs/NumberInputField.js +15 -13
  76. package/lib/cjs/OptionGroup.d.ts +1 -1
  77. package/lib/cjs/OptionGroup.js +15 -7
  78. package/lib/cjs/OptionGroupFlag.d.ts +1 -1
  79. package/lib/cjs/OptionGroupFlag.js +12 -6
  80. package/lib/cjs/PercentCircularProgress.d.ts +2 -1
  81. package/lib/cjs/PercentCircularProgress.js +8 -3
  82. package/lib/cjs/PercentLinearProgress.d.ts +2 -1
  83. package/lib/cjs/PercentLinearProgress.js +7 -2
  84. package/lib/cjs/ProgressCount.js +7 -4
  85. package/lib/cjs/QuickList.d.ts +3 -1
  86. package/lib/cjs/QuickList.js +6 -2
  87. package/lib/cjs/ResponsibleContainer.d.ts +1 -1
  88. package/lib/cjs/ResponsibleContainer.js +8 -6
  89. package/lib/cjs/ResponsiveStyleValue.d.ts +1 -1
  90. package/lib/cjs/ScrollTopFab.js +5 -3
  91. package/lib/cjs/ScrollerListEx.js +2 -2
  92. package/lib/cjs/SearchBar.js +9 -5
  93. package/lib/cjs/SearchField.d.ts +1 -1
  94. package/lib/cjs/SearchField.js +2 -2
  95. package/lib/cjs/SelectEx.d.ts +1 -1
  96. package/lib/cjs/SelectEx.js +18 -9
  97. package/lib/cjs/ShowDataComparison.js +9 -2
  98. package/lib/cjs/Switch.d.ts +1 -1
  99. package/lib/cjs/Switch.js +2 -2
  100. package/lib/cjs/SwitchAnt.js +5 -4
  101. package/lib/cjs/SwitchField.d.ts +1 -1
  102. package/lib/cjs/SwitchField.js +6 -3
  103. package/lib/cjs/TabBox.d.ts +3 -1
  104. package/lib/cjs/TabBox.js +5 -3
  105. package/lib/cjs/TableEx.d.ts +1 -1
  106. package/lib/cjs/TableEx.js +20 -10
  107. package/lib/cjs/TagList.d.ts +1 -1
  108. package/lib/cjs/TagList.js +5 -3
  109. package/lib/cjs/TagListPro.d.ts +1 -1
  110. package/lib/cjs/TagListPro.js +5 -3
  111. package/lib/cjs/TextFieldEx.d.ts +4 -4
  112. package/lib/cjs/TextFieldEx.js +7 -4
  113. package/lib/cjs/Tiplist.js +2 -2
  114. package/lib/cjs/TiplistPro.d.ts +1 -1
  115. package/lib/cjs/TiplistPro.js +2 -2
  116. package/lib/cjs/TooltipClick.d.ts +1 -1
  117. package/lib/cjs/TooltipClick.js +3 -2
  118. package/lib/cjs/TwoFieldInput.js +4 -3
  119. package/lib/cjs/UserAvatar.js +5 -2
  120. package/lib/cjs/UserAvatarEditor.js +8 -3
  121. package/lib/cjs/ViewContainer.d.ts +5 -4
  122. package/lib/cjs/ViewContainer.js +4 -3
  123. package/lib/cjs/custom/CustomFieldUtils.d.ts +1 -1
  124. package/lib/cjs/custom/CustomFieldUtils.js +5 -4
  125. package/lib/cjs/custom/CustomFieldViewer.d.ts +3 -2
  126. package/lib/cjs/custom/CustomFieldViewer.js +7 -3
  127. package/lib/cjs/custom/CustomFieldWindow.d.ts +2 -2
  128. package/lib/cjs/custom/CustomFieldWindow.js +3 -2
  129. package/lib/cjs/custom/FieldAmountLabel.js +3 -2
  130. package/lib/cjs/custom/FieldCheckbox.js +2 -2
  131. package/lib/cjs/custom/FieldCombobox.js +2 -2
  132. package/lib/cjs/custom/FieldDateInput.js +2 -2
  133. package/lib/cjs/custom/FieldDivider.js +2 -2
  134. package/lib/cjs/custom/FieldInput.js +2 -2
  135. package/lib/cjs/custom/FieldJson.js +2 -2
  136. package/lib/cjs/custom/FieldNumberInput.js +2 -2
  137. package/lib/cjs/custom/FieldRadio.js +2 -2
  138. package/lib/cjs/custom/FieldSelect.js +2 -2
  139. package/lib/cjs/custom/FieldSwitch.js +2 -2
  140. package/lib/cjs/custom/FieldTexarea.js +2 -2
  141. package/lib/cjs/pages/CommonPage.d.ts +2 -1
  142. package/lib/cjs/pages/CommonPage.js +6 -4
  143. package/lib/cjs/pages/DataGridPage.js +3 -2
  144. package/lib/cjs/pages/DrawerHeader.d.ts +1 -1
  145. package/lib/cjs/pages/DrawerHeader.js +2 -2
  146. package/lib/cjs/pages/EditPage.js +4 -3
  147. package/lib/cjs/pages/FixedListPage.js +4 -3
  148. package/lib/cjs/pages/LeftDrawer.js +8 -3
  149. package/lib/cjs/pages/ListPage.js +3 -2
  150. package/lib/cjs/pages/TablePage.js +3 -2
  151. package/lib/cjs/pages/UserMenu.js +3 -2
  152. package/lib/cjs/pages/ViewPage.js +4 -3
  153. package/lib/cjs/texts/DateText.d.ts +1 -1
  154. package/lib/cjs/texts/DateText.js +5 -2
  155. package/lib/cjs/texts/MoneyText.js +5 -2
  156. package/lib/cjs/texts/NumberText.d.ts +1 -1
  157. package/lib/cjs/texts/NumberText.js +5 -2
  158. package/lib/cjs/useCurrentBreakpoint.d.ts +1 -1
  159. package/lib/cjs/useCurrentBreakpoint.js +11 -7
  160. package/lib/mjs/AddresSelector.d.ts +1 -1
  161. package/lib/mjs/AddresSelector.js +4 -3
  162. package/lib/mjs/AuditDisplay.d.ts +1 -1
  163. package/lib/mjs/AuditDisplay.js +4 -1
  164. package/lib/mjs/AutocompleteExtendedProps.d.ts +1 -1
  165. package/lib/mjs/BackButton.d.ts +1 -1
  166. package/lib/mjs/BackButton.js +2 -1
  167. package/lib/mjs/BridgeCloseButton.d.ts +2 -1
  168. package/lib/mjs/BridgeCloseButton.js +2 -1
  169. package/lib/mjs/ButtonLink.d.ts +1 -1
  170. package/lib/mjs/ButtonLink.js +2 -2
  171. package/lib/mjs/ButtonPopover.d.ts +1 -1
  172. package/lib/mjs/ButtonPopover.js +1 -1
  173. package/lib/mjs/ComboBox.js +4 -2
  174. package/lib/mjs/ComboBoxMultiple.js +2 -1
  175. package/lib/mjs/ComboBoxPro.d.ts +1 -1
  176. package/lib/mjs/ComboBoxPro.js +1 -1
  177. package/lib/mjs/CountdownButton.d.ts +1 -1
  178. package/lib/mjs/CountdownButton.js +2 -1
  179. package/lib/mjs/DataGridEx.js +5 -1
  180. package/lib/mjs/DataGridRenderers.js +1 -1
  181. package/lib/mjs/DataSteps.d.ts +1 -1
  182. package/lib/mjs/DataSteps.js +4 -1
  183. package/lib/mjs/DataTable.d.ts +1 -1
  184. package/lib/mjs/DataTable.js +1 -1
  185. package/lib/mjs/DialogButton.d.ts +2 -1
  186. package/lib/mjs/DialogButton.js +7 -1
  187. package/lib/mjs/DnDList.d.ts +2 -2
  188. package/lib/mjs/DnDList.js +2 -1
  189. package/lib/mjs/DraggablePaperComponent.d.ts +1 -1
  190. package/lib/mjs/DraggablePaperComponent.js +1 -1
  191. package/lib/mjs/EmailInput.d.ts +1 -1
  192. package/lib/mjs/EmailInput.js +4 -6
  193. package/lib/mjs/ErrorAlert.d.ts +1 -1
  194. package/lib/mjs/ErrorAlert.js +1 -1
  195. package/lib/mjs/FabBox.d.ts +2 -1
  196. package/lib/mjs/FabBox.js +3 -1
  197. package/lib/mjs/FieldSetEx.d.ts +1 -1
  198. package/lib/mjs/FieldSetEx.js +3 -1
  199. package/lib/mjs/FileUploadButton.d.ts +1 -1
  200. package/lib/mjs/FileUploadButton.js +1 -1
  201. package/lib/mjs/FlexBox.d.ts +1 -1
  202. package/lib/mjs/FlexBox.js +1 -1
  203. package/lib/mjs/HiSelector.d.ts +2 -1
  204. package/lib/mjs/HiSelector.js +3 -2
  205. package/lib/mjs/HiSelectorTL.d.ts +2 -1
  206. package/lib/mjs/HiSelectorTL.js +3 -2
  207. package/lib/mjs/IconButtonLink.d.ts +1 -1
  208. package/lib/mjs/IconButtonLink.js +1 -1
  209. package/lib/mjs/InputField.d.ts +1 -1
  210. package/lib/mjs/InputField.js +1 -1
  211. package/lib/mjs/InputTipField.js +4 -1
  212. package/lib/mjs/IntInputField.d.ts +1 -1
  213. package/lib/mjs/IntInputField.js +3 -1
  214. package/lib/mjs/ItemList.js +7 -1
  215. package/lib/mjs/LineChart.js +1 -1
  216. package/lib/mjs/ListChooser.d.ts +2 -1
  217. package/lib/mjs/ListChooser.js +6 -2
  218. package/lib/mjs/ListItemRightIcon.d.ts +1 -1
  219. package/lib/mjs/ListItemRightIcon.js +2 -1
  220. package/lib/mjs/ListMoreDisplay.d.ts +1 -1
  221. package/lib/mjs/ListMoreDisplay.js +5 -1
  222. package/lib/mjs/LoadingButton.d.ts +2 -1
  223. package/lib/mjs/LoadingButton.js +2 -1
  224. package/lib/mjs/MUGlobal.d.ts +2 -1
  225. package/lib/mjs/MaskInput.d.ts +1 -1
  226. package/lib/mjs/MaskInput.js +1 -1
  227. package/lib/mjs/MenuButton.d.ts +2 -1
  228. package/lib/mjs/MenuButton.js +3 -1
  229. package/lib/mjs/MobileListItemRenderer.js +8 -2
  230. package/lib/mjs/MoreFab.d.ts +2 -1
  231. package/lib/mjs/MoreFab.js +7 -1
  232. package/lib/mjs/NotifierMU.js +32 -9
  233. package/lib/mjs/NotifierPopupProps.d.ts +1 -1
  234. package/lib/mjs/NumberInputField.js +15 -13
  235. package/lib/mjs/OptionGroup.d.ts +1 -1
  236. package/lib/mjs/OptionGroup.js +9 -1
  237. package/lib/mjs/OptionGroupFlag.d.ts +1 -1
  238. package/lib/mjs/OptionGroupFlag.js +7 -1
  239. package/lib/mjs/PercentCircularProgress.d.ts +2 -1
  240. package/lib/mjs/PercentCircularProgress.js +3 -1
  241. package/lib/mjs/PercentLinearProgress.d.ts +2 -1
  242. package/lib/mjs/PercentLinearProgress.js +3 -1
  243. package/lib/mjs/ProgressCount.js +4 -1
  244. package/lib/mjs/QuickList.d.ts +3 -1
  245. package/lib/mjs/QuickList.js +5 -1
  246. package/lib/mjs/ResponsibleContainer.d.ts +1 -1
  247. package/lib/mjs/ResponsibleContainer.js +3 -1
  248. package/lib/mjs/ResponsiveStyleValue.d.ts +1 -1
  249. package/lib/mjs/ScrollTopFab.js +3 -1
  250. package/lib/mjs/ScrollerListEx.js +1 -1
  251. package/lib/mjs/SearchBar.js +5 -1
  252. package/lib/mjs/SearchField.d.ts +1 -1
  253. package/lib/mjs/SearchField.js +1 -1
  254. package/lib/mjs/SelectEx.d.ts +1 -1
  255. package/lib/mjs/SelectEx.js +11 -2
  256. package/lib/mjs/ShowDataComparison.js +5 -1
  257. package/lib/mjs/Switch.d.ts +1 -1
  258. package/lib/mjs/Switch.js +1 -1
  259. package/lib/mjs/SwitchAnt.js +3 -2
  260. package/lib/mjs/SwitchField.d.ts +1 -1
  261. package/lib/mjs/SwitchField.js +4 -1
  262. package/lib/mjs/TabBox.d.ts +3 -1
  263. package/lib/mjs/TabBox.js +3 -1
  264. package/lib/mjs/TableEx.d.ts +1 -1
  265. package/lib/mjs/TableEx.js +11 -1
  266. package/lib/mjs/TagList.d.ts +1 -1
  267. package/lib/mjs/TagList.js +3 -1
  268. package/lib/mjs/TagListPro.d.ts +1 -1
  269. package/lib/mjs/TagListPro.js +3 -1
  270. package/lib/mjs/TextFieldEx.d.ts +1 -1
  271. package/lib/mjs/TextFieldEx.js +6 -3
  272. package/lib/mjs/Tiplist.js +1 -1
  273. package/lib/mjs/TiplistPro.d.ts +1 -1
  274. package/lib/mjs/TiplistPro.js +1 -1
  275. package/lib/mjs/TooltipClick.d.ts +1 -1
  276. package/lib/mjs/TooltipClick.js +2 -1
  277. package/lib/mjs/TwoFieldInput.js +2 -1
  278. package/lib/mjs/UserAvatar.js +1 -1
  279. package/lib/mjs/UserAvatarEditor.js +6 -1
  280. package/lib/mjs/ViewContainer.d.ts +5 -4
  281. package/lib/mjs/ViewContainer.js +4 -3
  282. package/lib/mjs/custom/CustomFieldUtils.d.ts +1 -1
  283. package/lib/mjs/custom/CustomFieldUtils.js +4 -3
  284. package/lib/mjs/custom/CustomFieldViewer.d.ts +3 -2
  285. package/lib/mjs/custom/CustomFieldViewer.js +4 -3
  286. package/lib/mjs/custom/CustomFieldWindow.d.ts +2 -2
  287. package/lib/mjs/custom/CustomFieldWindow.js +3 -2
  288. package/lib/mjs/custom/FieldAmountLabel.js +2 -1
  289. package/lib/mjs/custom/FieldCheckbox.js +1 -1
  290. package/lib/mjs/custom/FieldCombobox.js +1 -1
  291. package/lib/mjs/custom/FieldDateInput.js +1 -1
  292. package/lib/mjs/custom/FieldDivider.js +1 -1
  293. package/lib/mjs/custom/FieldInput.js +1 -1
  294. package/lib/mjs/custom/FieldJson.js +1 -1
  295. package/lib/mjs/custom/FieldNumberInput.js +1 -1
  296. package/lib/mjs/custom/FieldRadio.js +1 -1
  297. package/lib/mjs/custom/FieldSelect.js +1 -1
  298. package/lib/mjs/custom/FieldSwitch.js +1 -1
  299. package/lib/mjs/custom/FieldTexarea.js +1 -1
  300. package/lib/mjs/pages/CommonPage.d.ts +2 -1
  301. package/lib/mjs/pages/CommonPage.js +3 -1
  302. package/lib/mjs/pages/DataGridPage.js +2 -1
  303. package/lib/mjs/pages/DrawerHeader.js +1 -1
  304. package/lib/mjs/pages/EditPage.js +3 -2
  305. package/lib/mjs/pages/FixedListPage.js +2 -1
  306. package/lib/mjs/pages/LeftDrawer.js +6 -1
  307. package/lib/mjs/pages/ListPage.js +2 -1
  308. package/lib/mjs/pages/TablePage.js +2 -1
  309. package/lib/mjs/pages/UserMenu.js +2 -1
  310. package/lib/mjs/pages/ViewPage.js +2 -1
  311. package/lib/mjs/texts/DateText.d.ts +1 -1
  312. package/lib/mjs/texts/DateText.js +1 -1
  313. package/lib/mjs/texts/MoneyText.js +1 -1
  314. package/lib/mjs/texts/NumberText.d.ts +1 -1
  315. package/lib/mjs/texts/NumberText.js +1 -1
  316. package/lib/mjs/useCurrentBreakpoint.d.ts +1 -1
  317. package/lib/mjs/useCurrentBreakpoint.js +2 -1
  318. package/package.json +9 -9
  319. package/src/AddresSelector.tsx +12 -11
  320. package/src/AuditDisplay.tsx +4 -1
  321. package/src/AutocompleteExtendedProps.ts +1 -1
  322. package/src/BackButton.tsx +2 -1
  323. package/src/BridgeCloseButton.tsx +2 -1
  324. package/src/ButtonLink.tsx +3 -3
  325. package/src/ButtonPopover.tsx +1 -1
  326. package/src/ComboBox.tsx +6 -7
  327. package/src/ComboBoxMultiple.tsx +4 -6
  328. package/src/ComboBoxPro.tsx +1 -1
  329. package/src/CountdownButton.tsx +2 -1
  330. package/src/CultureDataTable.tsx +1 -1
  331. package/src/DataGridEx.tsx +5 -8
  332. package/src/DataGridRenderers.tsx +1 -1
  333. package/src/DataSteps.tsx +4 -7
  334. package/src/DataTable.tsx +4 -7
  335. package/src/DialogButton.tsx +8 -11
  336. package/src/DnDList.tsx +9 -10
  337. package/src/DraggablePaperComponent.tsx +1 -1
  338. package/src/EmailInput.tsx +4 -8
  339. package/src/ErrorAlert.tsx +1 -1
  340. package/src/FabBox.tsx +3 -1
  341. package/src/FieldSetEx.tsx +3 -6
  342. package/src/FileUploadButton.tsx +1 -1
  343. package/src/FlexBox.tsx +1 -1
  344. package/src/HiSelector.tsx +13 -11
  345. package/src/HiSelectorTL.tsx +16 -17
  346. package/src/IconButtonLink.tsx +1 -2
  347. package/src/InputField.tsx +1 -1
  348. package/src/InputTipField.tsx +4 -1
  349. package/src/IntInputField.tsx +3 -1
  350. package/src/ItemList.tsx +7 -9
  351. package/src/LineChart.tsx +1 -1
  352. package/src/ListChooser.tsx +8 -10
  353. package/src/ListItemRightIcon.tsx +2 -1
  354. package/src/ListMoreDisplay.tsx +5 -8
  355. package/src/LoadingButton.tsx +3 -5
  356. package/src/MUGlobal.ts +2 -1
  357. package/src/MaskInput.tsx +1 -1
  358. package/src/MenuButton.tsx +3 -1
  359. package/src/MobileListItemRenderer.tsx +8 -3
  360. package/src/MoreFab.tsx +9 -11
  361. package/src/NotifierMU.tsx +34 -34
  362. package/src/NotifierPopupProps.ts +1 -1
  363. package/src/NumberInputField.tsx +21 -20
  364. package/src/OptionGroup.tsx +9 -12
  365. package/src/OptionGroupFlag.tsx +7 -10
  366. package/src/PercentCircularProgress.tsx +5 -8
  367. package/src/PercentLinearProgress.tsx +5 -8
  368. package/src/ProgressCount.tsx +4 -6
  369. package/src/QuickList.tsx +8 -10
  370. package/src/ResponsibleContainer.tsx +4 -1
  371. package/src/ResponsiveStyleValue.ts +1 -1
  372. package/src/ScrollTopFab.tsx +3 -1
  373. package/src/ScrollerListEx.tsx +1 -1
  374. package/src/SearchBar.tsx +5 -8
  375. package/src/SearchField.tsx +1 -1
  376. package/src/SearchOptionGroup.tsx +0 -1
  377. package/src/SelectEx.tsx +11 -15
  378. package/src/ShowDataComparison.tsx +5 -7
  379. package/src/Switch.tsx +3 -1
  380. package/src/SwitchAnt.tsx +3 -2
  381. package/src/SwitchField.tsx +4 -7
  382. package/src/TabBox.tsx +3 -1
  383. package/src/TableEx.tsx +11 -15
  384. package/src/TagList.tsx +3 -1
  385. package/src/TagListPro.tsx +3 -1
  386. package/src/TextFieldEx.tsx +7 -9
  387. package/src/Tiplist.tsx +3 -1
  388. package/src/TiplistPro.tsx +1 -1
  389. package/src/TooltipClick.tsx +2 -1
  390. package/src/TwoFieldInput.tsx +2 -1
  391. package/src/UserAvatar.tsx +1 -1
  392. package/src/UserAvatarEditor.tsx +6 -8
  393. package/src/ViewContainer.tsx +16 -14
  394. package/src/custom/CustomFieldUtils.tsx +6 -6
  395. package/src/custom/CustomFieldViewer.tsx +7 -6
  396. package/src/custom/CustomFieldWindow.tsx +5 -4
  397. package/src/custom/FieldAmountLabel.tsx +2 -1
  398. package/src/custom/FieldCheckbox.tsx +1 -1
  399. package/src/custom/FieldCombobox.tsx +1 -1
  400. package/src/custom/FieldDateInput.tsx +1 -1
  401. package/src/custom/FieldDivider.tsx +1 -1
  402. package/src/custom/FieldInput.tsx +1 -1
  403. package/src/custom/FieldJson.tsx +1 -1
  404. package/src/custom/FieldNumberInput.tsx +1 -1
  405. package/src/custom/FieldRadio.tsx +1 -1
  406. package/src/custom/FieldSelect.tsx +1 -1
  407. package/src/custom/FieldSwitch.tsx +1 -1
  408. package/src/custom/FieldTexarea.tsx +1 -1
  409. package/src/pages/CommonPage.tsx +3 -1
  410. package/src/pages/DataGridPage.tsx +2 -1
  411. package/src/pages/DrawerHeader.tsx +1 -1
  412. package/src/pages/EditPage.tsx +6 -10
  413. package/src/pages/FixedListPage.tsx +2 -1
  414. package/src/pages/LeftDrawer.tsx +6 -8
  415. package/src/pages/ListPage.tsx +2 -1
  416. package/src/pages/TablePage.tsx +2 -1
  417. package/src/pages/UserMenu.tsx +2 -1
  418. package/src/pages/ViewPage.tsx +2 -1
  419. package/src/texts/DateText.tsx +1 -2
  420. package/src/texts/MoneyText.tsx +1 -2
  421. package/src/texts/NumberText.tsx +1 -2
  422. package/src/useCurrentBreakpoint.ts +2 -1
@@ -1,5 +1,6 @@
1
- import { IconButton, IconButtonProps, useTheme } from "@mui/material";
2
1
  import ArrowBackIcon from "@mui/icons-material/ArrowBack";
2
+ import IconButton, { IconButtonProps } from "@mui/material/IconButton";
3
+ import { useTheme } from "@mui/material/styles";
3
4
  import React from "react";
4
5
  import { useNavigate } from "react-router";
5
6
 
@@ -1,8 +1,9 @@
1
1
  import { BridgeUtils, IBridgeHost } from "@etsoo/appscript";
2
2
  import CloseIcon from "@mui/icons-material/Close";
3
- import { Box, BoxProps, IconButton, IconButtonProps } from "@mui/material";
4
3
  import React from "react";
5
4
  import { useAppContext } from "./app/ReactApp";
5
+ import IconButton, { IconButtonProps } from "@mui/material/IconButton";
6
+ import Box, { BoxProps } from "@mui/material/Box";
6
7
 
7
8
  /**
8
9
  * Bridge close button props
@@ -1,6 +1,6 @@
1
- import { Button, ButtonProps } from "@mui/material";
2
- import React from "react";
3
- import { useNavigate } from "react-router";
1
+ import Button, { ButtonProps } from "@mui/material/Button";
2
+ import { useNavigate } from "react-router-dom";
3
+
4
4
  /**
5
5
  * ButtonLink props
6
6
  */
@@ -1,4 +1,4 @@
1
- import { Popover, PopoverOrigin } from "@mui/material";
1
+ import Popover, { PopoverOrigin } from "@mui/material/Popover";
2
2
  import React from "react";
3
3
 
4
4
  /**
package/src/ComboBox.tsx CHANGED
@@ -5,20 +5,19 @@ import {
5
5
  LabelDefaultType,
6
6
  ListType
7
7
  } from "@etsoo/shared";
8
- import {
9
- Autocomplete,
10
- AutocompleteRenderInputParams,
11
- IconButton,
12
- Stack
13
- } from "@mui/material";
14
8
  import React from "react";
15
9
  import { Utils as SharedUtils } from "@etsoo/shared";
16
10
  import { ReactUtils } from "@etsoo/react";
17
- import AddIcon from "@mui/icons-material/Add";
18
11
  import type { AutocompleteExtendedProps } from "./AutocompleteExtendedProps";
19
12
  import { SearchField } from "./SearchField";
20
13
  import { InputField } from "./InputField";
21
14
  import { useAppContext } from "./app/ReactApp";
15
+ import Autocomplete, {
16
+ AutocompleteRenderInputParams
17
+ } from "@mui/material/Autocomplete";
18
+ import Stack from "@mui/material/Stack";
19
+ import IconButton from "@mui/material/IconButton";
20
+ import AddIcon from "@mui/icons-material/Add";
22
21
 
23
22
  /**
24
23
  * ComboBox props
@@ -5,21 +5,19 @@ import {
5
5
  LabelDefaultType,
6
6
  ListType
7
7
  } from "@etsoo/shared";
8
- import {
9
- Autocomplete,
10
- AutocompleteRenderInputParams,
11
- Checkbox
12
- } from "@mui/material";
13
8
  import React from "react";
14
9
  import { Utils as SharedUtils } from "@etsoo/shared";
15
10
  import { ReactUtils } from "@etsoo/react";
16
-
17
11
  import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank";
18
12
  import CheckBoxIcon from "@mui/icons-material/CheckBox";
19
13
  import type { AutocompleteExtendedProps } from "./AutocompleteExtendedProps";
20
14
  import { SearchField } from "./SearchField";
21
15
  import { InputField } from "./InputField";
22
16
  import { useAppContext } from "./app/ReactApp";
17
+ import Checkbox from "@mui/material/Checkbox";
18
+ import Autocomplete, {
19
+ AutocompleteRenderInputParams
20
+ } from "@mui/material/Autocomplete";
23
21
 
24
22
  const icon = <CheckBoxOutlineBlankIcon fontSize="small" />;
25
23
  const checkedIcon = <CheckBoxIcon fontSize="small" />;
@@ -1,8 +1,8 @@
1
- import { Autocomplete, AutocompleteProps } from "@mui/material";
2
1
  import React from "react";
3
2
  import { InputField, InputFieldProps } from "./InputField";
4
3
  import { DataTypes, ListType2 } from "@etsoo/shared";
5
4
  import { useAppContext } from "./app/ReactApp";
5
+ import Autocomplete, { AutocompleteProps } from "@mui/material/Autocomplete";
6
6
 
7
7
  export type ComboBoxProProps<D extends ListType2 = ListType2> = Omit<
8
8
  AutocompleteProps<D, false, false, true>,
@@ -1,4 +1,5 @@
1
- import { Button, ButtonProps, CircularProgress } from "@mui/material";
1
+ import Button, { ButtonProps } from "@mui/material/Button";
2
+ import CircularProgress from "@mui/material/CircularProgress";
2
3
  import React from "react";
3
4
 
4
5
  /**
@@ -1,8 +1,8 @@
1
1
  import { DataTable, DataTableProps } from "./DataTable";
2
2
  import React from "react";
3
3
  import { ListType1 } from "@etsoo/shared";
4
- import { GridRenderCellParams } from "@mui/x-data-grid";
5
4
  import { useAppContext } from "./app/ReactApp";
5
+ import { GridRenderCellParams } from "@mui/x-data-grid/models/params/gridCellParams";
6
6
 
7
7
  /**
8
8
  * Culture table props
@@ -16,17 +16,14 @@ import {
16
16
  useCombinedRefs
17
17
  } from "@etsoo/react";
18
18
  import { DataTypes, Utils } from "@etsoo/shared";
19
- import {
20
- Box,
21
- BoxProps,
22
- Checkbox,
23
- Paper,
24
- TableSortLabel,
25
- useTheme
26
- } from "@mui/material";
27
19
  import React from "react";
28
20
  import { DataGridRenderers } from "./DataGridRenderers";
29
21
  import { MouseEventWithDataHandler } from "./MUGlobal";
22
+ import { useTheme } from "@mui/material/styles";
23
+ import Box, { BoxProps } from "@mui/material/Box";
24
+ import TableSortLabel from "@mui/material/TableSortLabel";
25
+ import Checkbox from "@mui/material/Checkbox";
26
+ import Paper from "@mui/material/Paper";
30
27
 
31
28
  /**
32
29
  * Footer item renderer props
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
- import { CircularProgress } from "@mui/material";
3
2
  import { DateUtils, NumberUtils } from "@etsoo/shared";
4
3
  import CheckIcon from "@mui/icons-material/Check";
5
4
  import ClearIcon from "@mui/icons-material/Clear";
6
5
  import { DataGridExFooterItemRendererProps } from "./DataGridEx";
7
6
  import { DateText } from "./texts/DateText";
8
7
  import { GridCellRendererProps, GridDataType } from "@etsoo/react";
8
+ import CircularProgress from "@mui/material/CircularProgress";
9
9
 
10
10
  /**
11
11
  * Data grid renderers
package/src/DataSteps.tsx CHANGED
@@ -1,10 +1,3 @@
1
- import {
2
- Button,
3
- IconButton,
4
- InputAdornment,
5
- TextField,
6
- TextFieldProps
7
- } from "@mui/material";
8
1
  import CloseIcon from "@mui/icons-material/Close";
9
2
  import NavigateNextIcon from "@mui/icons-material/NavigateNext";
10
3
  import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";
@@ -15,6 +8,10 @@ import React from "react";
15
8
  import { HBox } from "./FlexBox";
16
9
  import { MUGlobal } from "./MUGlobal";
17
10
  import { useRequiredAppContext } from "./app/ReactApp";
11
+ import Button from "@mui/material/Button";
12
+ import TextField, { TextFieldProps } from "@mui/material/TextField";
13
+ import InputAdornment from "@mui/material/InputAdornment";
14
+ import IconButton from "@mui/material/IconButton";
18
15
 
19
16
  /**
20
17
  * Data step
package/src/DataTable.tsx CHANGED
@@ -1,12 +1,9 @@
1
- import {
2
- DataGrid,
3
- GridCellModesModel,
4
- GridRowId,
5
- GridValidRowModel
6
- } from "@mui/x-data-grid";
7
- import { DataGridProps } from "@mui/x-data-grid/models/props/DataGridProps";
8
1
  import React from "react";
9
2
  import { useAppContext } from "./app/ReactApp";
3
+ import { GridRowId, GridValidRowModel } from "@mui/x-data-grid/models/gridRows";
4
+ import { DataGridProps } from "@mui/x-data-grid/models/props/DataGridProps";
5
+ import { GridCellModesModel } from "@mui/x-data-grid/models/api/gridEditingApi";
6
+ import { DataGrid } from "@mui/x-data-grid/DataGrid/DataGrid";
10
7
 
11
8
  /**
12
9
  * Data table selected cell params
@@ -1,16 +1,13 @@
1
- import {
2
- Breakpoint,
3
- Button,
4
- ButtonProps,
5
- Dialog,
6
- DialogActions,
7
- DialogContent,
8
- DialogContentText,
9
- DialogTitle,
10
- IconButton
11
- } from "@mui/material";
12
1
  import React from "react";
13
2
  import { Labels } from "./app/Labels";
3
+ import Button, { ButtonProps } from "@mui/material/Button";
4
+ import { Breakpoint } from "@mui/material/styles";
5
+ import IconButton from "@mui/material/IconButton";
6
+ import Dialog from "@mui/material/Dialog";
7
+ import DialogTitle from "@mui/material/DialogTitle";
8
+ import DialogContent from "@mui/material/DialogContent";
9
+ import DialogContentText from "@mui/material/DialogContentText";
10
+ import DialogActions from "@mui/material/DialogActions";
14
11
 
15
12
  export interface DialogButtonProps extends ButtonProps {
16
13
  /**
package/src/DnDList.tsx CHANGED
@@ -4,18 +4,17 @@ import type {
4
4
  DragStartEvent,
5
5
  UniqueIdentifier
6
6
  } from "@dnd-kit/core";
7
- import {
8
- SortableContext,
9
- SortingStrategy,
10
- horizontalListSortingStrategy,
11
- rectSortingStrategy,
12
- rectSwappingStrategy,
13
- useSortable,
14
- verticalListSortingStrategy
15
- } from "@dnd-kit/sortable";
7
+ import { SortableContext } from "@dnd-kit/sortable/dist/components/SortableContext";
8
+ import { useSortable } from "@dnd-kit/sortable/dist/hooks/useSortable";
9
+ import { horizontalListSortingStrategy } from "@dnd-kit/sortable/dist/strategies/horizontalListSorting";
10
+ import { rectSortingStrategy } from "@dnd-kit/sortable/dist/strategies/rectSorting";
11
+ import { rectSwappingStrategy } from "@dnd-kit/sortable/dist/strategies/rectSwapping";
12
+ import { verticalListSortingStrategy } from "@dnd-kit/sortable/dist/strategies/verticalListSorting";
13
+ import { SortingStrategy } from "@dnd-kit/sortable/dist/types/strategies";
16
14
  import type { CSS } from "@dnd-kit/utilities";
17
15
  import { DataTypes } from "@etsoo/shared";
18
- import { Skeleton, Theme, useTheme } from "@mui/material";
16
+ import Skeleton from "@mui/material/Skeleton";
17
+ import { Theme, useTheme } from "@mui/material/styles";
19
18
  import React, { CSSProperties } from "react";
20
19
 
21
20
  function SortableItem(props: {
@@ -1,4 +1,4 @@
1
- import { Paper, PaperProps } from "@mui/material";
1
+ import Paper, { PaperProps } from "@mui/material/Paper";
2
2
  import React from "react";
3
3
  import Draggable from "react-draggable";
4
4
 
@@ -1,5 +1,4 @@
1
- import { TextField, TextFieldProps } from "@mui/material";
2
- import React from "react";
1
+ import TextField, { TextFieldProps } from "@mui/material/TextField";
3
2
 
4
3
  /**
5
4
  * Email input props
@@ -11,12 +10,9 @@ export type EmailInputProps = Omit<TextFieldProps, "type"> & {};
11
10
  * @param props Props
12
11
  */
13
12
  export function EmailInput(props: EmailInputProps) {
14
- // Destruct
15
- const { inputProps = {}, ...rest } = props;
16
-
17
- // Default max length
18
- inputProps.maxLength ??= 128;
13
+ props.slotProps ??= {};
14
+ props.slotProps.htmlInput ??= { maxLength: 128 };
19
15
 
20
16
  // Layout
21
- return <TextField type="email" fullWidth inputProps={inputProps} {...rest} />;
17
+ return <TextField type="email" fullWidth {...props} />;
22
18
  }
@@ -1,4 +1,4 @@
1
- import { Alert, AlertProps } from "@mui/material";
1
+ import Alert, { AlertProps } from "@mui/material/Alert";
2
2
  import { useAppContext } from "./app/ReactApp";
3
3
 
4
4
  /**
package/src/FabBox.tsx CHANGED
@@ -1,4 +1,6 @@
1
- import { Box, BoxProps, Paper, PaperProps, useTheme } from "@mui/material";
1
+ import Box, { BoxProps } from "@mui/material/Box";
2
+ import Paper, { PaperProps } from "@mui/material/Paper";
3
+ import { useTheme } from "@mui/material/styles";
2
4
  import React from "react";
3
5
 
4
6
  type SharedProps = keyof BoxProps & keyof PaperProps;
@@ -1,9 +1,6 @@
1
- import {
2
- FormControl,
3
- FormControlProps,
4
- FormHelperText,
5
- InputLabel
6
- } from "@mui/material";
1
+ import FormControl, { FormControlProps } from "@mui/material/FormControl";
2
+ import FormHelperText from "@mui/material/FormHelperText";
3
+ import InputLabel from "@mui/material/InputLabel";
7
4
  import NotchedOutline from "@mui/material/OutlinedInput";
8
5
  import React from "react";
9
6
 
@@ -1,4 +1,4 @@
1
- import { Button, ButtonProps } from "@mui/material";
1
+ import Button, { ButtonProps } from "@mui/material/Button";
2
2
  import React from "react";
3
3
 
4
4
  /**
package/src/FlexBox.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { Stack, StackProps } from "@mui/material";
1
+ import Stack, { StackProps } from "@mui/material/Stack";
2
2
 
3
3
  /**
4
4
  * Horizonal box
@@ -1,8 +1,10 @@
1
1
  import { DataTypes, IdDefaultType, LabelDefaultType } from "@etsoo/shared";
2
- import { FormLabel, Grid2, GridSize, SelectChangeEvent } from "@mui/material";
3
2
  import React from "react";
4
3
  import { SelectEx } from "./SelectEx";
5
4
  import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
5
+ import Grid, { GridSize } from "@mui/material/Grid";
6
+ import { SelectChangeEvent } from "@mui/material/Select";
7
+ import FormLabel from "@mui/material/FormLabel";
6
8
 
7
9
  /**
8
10
  * Hierarchy selector props
@@ -161,17 +163,17 @@ export function HiSelector<
161
163
  return (
162
164
  <React.Fragment>
163
165
  {label && (
164
- <Grid2 size={{ xs: 12 }}>
166
+ <Grid size={{ xs: 12 }}>
165
167
  <FormLabel
166
168
  required={required}
167
169
  sx={{ fontSize: (theme) => theme.typography.caption }}
168
170
  >
169
171
  {label}
170
172
  </FormLabel>
171
- </Grid2>
173
+ </Grid>
172
174
  )}
173
175
  <input type="hidden" name={name} value={`${currentValue ?? ""}`} />
174
- <Grid2 size={breakPoints}>
176
+ <Grid size={breakPoints}>
175
177
  <SelectEx<T, D, L>
176
178
  idField={idField}
177
179
  label={labels[0]}
@@ -188,9 +190,9 @@ export function HiSelector<
188
190
  helperText={helperText}
189
191
  variant={variant}
190
192
  />
191
- </Grid2>
193
+ </Grid>
192
194
  {localValues[0] != null && (
193
- <Grid2 size={breakPoints}>
195
+ <Grid size={breakPoints}>
194
196
  <SelectEx<T, D, L>
195
197
  key={`${localValues[0]}`}
196
198
  idField={idField}
@@ -205,10 +207,10 @@ export function HiSelector<
205
207
  onItemChange={doItemChange}
206
208
  variant={variant}
207
209
  />
208
- </Grid2>
210
+ </Grid>
209
211
  )}
210
212
  {localValues[1] != null && (
211
- <Grid2 size={breakPoints}>
213
+ <Grid size={breakPoints}>
212
214
  <SelectEx<T, D, L>
213
215
  key={`${localValues[1]}`}
214
216
  idField={idField}
@@ -223,10 +225,10 @@ export function HiSelector<
223
225
  onItemChange={doItemChange}
224
226
  variant={variant}
225
227
  />
226
- </Grid2>
228
+ </Grid>
227
229
  )}
228
230
  {localValues[2] != null && (
229
- <Grid2 size={breakPoints}>
231
+ <Grid size={breakPoints}>
230
232
  <SelectEx<T, D, L>
231
233
  key={`${localValues[2]}`}
232
234
  idField={idField}
@@ -241,7 +243,7 @@ export function HiSelector<
241
243
  onItemChange={doItemChange}
242
244
  variant={variant}
243
245
  />
244
- </Grid2>
246
+ </Grid>
245
247
  )}
246
248
  </React.Fragment>
247
249
  );
@@ -1,14 +1,13 @@
1
1
  import { DataTypes, IdDefaultType } from "@etsoo/shared";
2
- import {
3
- AutocompleteChangeReason,
4
- AutocompleteValue,
5
- FormLabel,
6
- Grid2,
7
- GridSize
8
- } from "@mui/material";
9
2
  import React from "react";
10
3
  import { Tiplist } from "./Tiplist";
11
4
  import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
5
+ import Grid, { GridSize } from "@mui/material/Grid";
6
+ import {
7
+ AutocompleteChangeReason,
8
+ AutocompleteValue
9
+ } from "@mui/material/Autocomplete";
10
+ import FormLabel from "@mui/material/FormLabel";
12
11
 
13
12
  /**
14
13
  * Hierarchy tiplist selector props
@@ -155,17 +154,17 @@ export function HiSelectorTL<
155
154
  return (
156
155
  <React.Fragment>
157
156
  {label && (
158
- <Grid2 size={{ xs: 12 }}>
157
+ <Grid size={{ xs: 12 }}>
159
158
  <FormLabel
160
159
  required={required}
161
160
  sx={{ fontSize: (theme) => theme.typography.caption }}
162
161
  >
163
162
  {label}
164
163
  </FormLabel>
165
- </Grid2>
164
+ </Grid>
166
165
  )}
167
166
  <input type="hidden" name={name} value={`${currentValue ?? ""}`} />
168
- <Grid2 size={breakPoints}>
167
+ <Grid size={breakPoints}>
169
168
  <Tiplist<T, D>
170
169
  idField={idField}
171
170
  label={labels[0]}
@@ -179,9 +178,9 @@ export function HiSelectorTL<
179
178
  inputHelperText={helperText}
180
179
  onChange={(event, value, reason) => doChange(0, event, value, reason)}
181
180
  />
182
- </Grid2>
181
+ </Grid>
183
182
  {localValues[0] != null && (
184
- <Grid2 size={breakPoints}>
183
+ <Grid size={breakPoints}>
185
184
  <Tiplist<T, D>
186
185
  key={`${localValues[0]}`}
187
186
  label={labels[1]}
@@ -197,10 +196,10 @@ export function HiSelectorTL<
197
196
  doChange(1, event, value, reason)
198
197
  }
199
198
  />
200
- </Grid2>
199
+ </Grid>
201
200
  )}
202
201
  {localValues[1] != null && (
203
- <Grid2 size={breakPoints}>
202
+ <Grid size={breakPoints}>
204
203
  <Tiplist<T, D>
205
204
  key={`${localValues[1]}`}
206
205
  label={labels[2]}
@@ -216,10 +215,10 @@ export function HiSelectorTL<
216
215
  doChange(2, event, value, reason)
217
216
  }
218
217
  />
219
- </Grid2>
218
+ </Grid>
220
219
  )}
221
220
  {localValues[2] != null && (
222
- <Grid2 size={breakPoints}>
221
+ <Grid size={breakPoints}>
223
222
  <Tiplist<T, D>
224
223
  key={`${localValues[2]}`}
225
224
  label={labels[3]}
@@ -235,7 +234,7 @@ export function HiSelectorTL<
235
234
  doChange(3, event, value, reason)
236
235
  }
237
236
  />
238
- </Grid2>
237
+ </Grid>
239
238
  )}
240
239
  </React.Fragment>
241
240
  );
@@ -1,5 +1,4 @@
1
- import { IconButton, IconButtonProps } from "@mui/material";
2
- import React from "react";
1
+ import IconButton, { IconButtonProps } from "@mui/material/IconButton";
3
2
  import { useNavigate } from "react-router";
4
3
 
5
4
  /**
@@ -1,7 +1,7 @@
1
1
  import { useDelayedExecutor } from "@etsoo/react";
2
- import { TextField, TextFieldProps } from "@mui/material";
3
2
  import React from "react";
4
3
  import { MUGlobal } from "./MUGlobal";
4
+ import TextField, { TextFieldProps } from "@mui/material/TextField";
5
5
 
6
6
  /**
7
7
  * Input field props
@@ -1,9 +1,12 @@
1
1
  import { DataTypes } from "@etsoo/shared";
2
- import { InputAdornment, List, ListItem, Popover } from "@mui/material";
3
2
  import Typography, { TypographyProps } from "@mui/material/Typography";
4
3
  import React from "react";
5
4
  import { InputField, InputFieldProps } from "./InputField";
6
5
  import { useAppContext } from "./app/ReactApp";
6
+ import ListItem from "@mui/material/ListItem";
7
+ import Popover from "@mui/material/Popover";
8
+ import List from "@mui/material/List";
9
+ import InputAdornment from "@mui/material/InputAdornment";
7
10
 
8
11
  type ItemType = DataTypes.IdLabelItem<string | number>;
9
12
 
@@ -1,9 +1,11 @@
1
- import { Box, BoxProps, IconButton, InputAdornment } from "@mui/material";
2
1
  import AddIcon from "@mui/icons-material/Add";
3
2
  import RemoveIcon from "@mui/icons-material/Remove";
4
3
  import React from "react";
5
4
  import { NumberUtils } from "@etsoo/shared";
6
5
  import { InputField, InputFieldProps } from "./InputField";
6
+ import Box, { BoxProps } from "@mui/material/Box";
7
+ import InputAdornment from "@mui/material/InputAdornment";
8
+ import IconButton from "@mui/material/IconButton";
7
9
 
8
10
  /**
9
11
  * Integer input field props
package/src/ItemList.tsx CHANGED
@@ -1,19 +1,17 @@
1
1
  import React from "react";
2
- import {
3
- Dialog,
4
- DialogTitle,
5
- List,
6
- ListItemText,
7
- DialogContent,
8
- Button,
9
- ListItemButton
10
- } from "@mui/material";
11
2
  import {
12
3
  DataTypes,
13
4
  IdDefaultType,
14
5
  LabelDefaultType,
15
6
  ListType
16
7
  } from "@etsoo/shared";
8
+ import Button from "@mui/material/Button";
9
+ import Dialog from "@mui/material/Dialog";
10
+ import DialogTitle from "@mui/material/DialogTitle";
11
+ import DialogContent from "@mui/material/DialogContent";
12
+ import List from "@mui/material/List";
13
+ import ListItemButton from "@mui/material/ListItemButton";
14
+ import ListItemText from "@mui/material/ListItemText";
17
15
 
18
16
  /**
19
17
  * Item list properties
package/src/LineChart.tsx CHANGED
@@ -1,7 +1,7 @@
1
- import { LinearProgress } from "@mui/material";
2
1
  import React from "react";
3
2
  import type { ChartData, LineControllerChartOptions } from "chart.js" with { "resolution-mode": "import" };
4
3
  import type { Line } from "react-chartjs-2" with { "resolution-mode": "import" };
4
+ import LinearProgress from "@mui/material/LinearProgress";
5
5
 
6
6
  /**
7
7
  * Line chart
@@ -1,17 +1,15 @@
1
1
  import { useDelayedExecutor } from "@etsoo/react";
2
2
  import { DataTypes, DelayedExecutorType, IdDefaultType } from "@etsoo/shared";
3
- import {
4
- List,
5
- ListItem,
6
- ListItemButton,
7
- ListItemButtonProps,
8
- ListItemText,
9
- ListProps,
10
- TextField
11
- } from "@mui/material";
12
3
  import CheckBoxIcon from "@mui/icons-material/CheckBox";
13
4
  import React from "react";
14
5
  import { VBox } from "./FlexBox";
6
+ import ListItemButton, {
7
+ ListItemButtonProps
8
+ } from "@mui/material/ListItemButton";
9
+ import List, { ListProps } from "@mui/material/List";
10
+ import TextField from "@mui/material/TextField";
11
+ import ListItem from "@mui/material/ListItem";
12
+ import ListItemText from "@mui/material/ListItemText";
15
13
 
16
14
  type QueryData = {
17
15
  title?: string;
@@ -130,7 +128,7 @@ export function ListChooser<
130
128
  label={title}
131
129
  fullWidth
132
130
  variant="standard"
133
- inputProps={{ maxLength: 128 }}
131
+ slotProps={{ htmlInput: { maxLength: 128 } }}
134
132
  onChange={(event) => {
135
133
  Reflect.set(rq, "title", event.target.value);
136
134
  delayed.call();
@@ -1,4 +1,5 @@
1
- import { ListItemIcon, styled } from "@mui/material";
1
+ import ListItemIcon from "@mui/material/ListItemIcon";
2
+ import { styled } from "@mui/material/styles";
2
3
 
3
4
  /**
4
5
  * List item right icon component
@@ -1,11 +1,3 @@
1
- import {
2
- Card,
3
- CardActions,
4
- CardContent,
5
- CardHeader,
6
- CardProps,
7
- CircularProgress
8
- } from "@mui/material";
9
1
  import React from "react";
10
2
  import {
11
3
  GridData,
@@ -16,6 +8,11 @@ import {
16
8
  } from "@etsoo/react";
17
9
  import { LoadingButton } from "./LoadingButton";
18
10
  import { useAppContext } from "./app/ReactApp";
11
+ import Card, { CardProps } from "@mui/material/Card";
12
+ import CardHeader from "@mui/material/CardHeader";
13
+ import CardContent from "@mui/material/CardContent";
14
+ import CircularProgress from "@mui/material/CircularProgress";
15
+ import CardActions from "@mui/material/CardActions";
19
16
 
20
17
  /**
21
18
  * ListMoreDisplay props