@variocube/app-ui 1.14.5 → 1.16.0

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 (323) hide show
  1. package/esm/AppShell/AppShell.js +12 -12
  2. package/esm/AppShell/AppShell.js.map +1 -1
  3. package/esm/AppShell/index.js.map +1 -1
  4. package/esm/Input/ActionsMenu.js +1 -1
  5. package/esm/Input/ActionsMenu.js.map +1 -1
  6. package/esm/Input/EmailSenderField.js +3 -3
  7. package/esm/Input/EmailSenderField.js.map +1 -1
  8. package/esm/Input/Selector.js +2 -2
  9. package/esm/Input/Selector.js.map +1 -1
  10. package/esm/Paging/Paging.d.ts +1 -1
  11. package/esm/Paging/Paging.js +5 -5
  12. package/esm/Paging/Paging.js.map +1 -1
  13. package/esm/Paging/index.d.ts +2 -1
  14. package/esm/Paging/index.js.map +1 -1
  15. package/esm/VCThemeProvider/JetbrainsMonoFont.js +8 -8
  16. package/esm/VCThemeProvider/JetbrainsMonoFont.js.map +1 -1
  17. package/esm/VCThemeProvider/RobotoFont.js +8 -8
  18. package/esm/VCThemeProvider/RobotoFont.js.map +1 -1
  19. package/esm/VCThemeProvider/ThemeModeSwitcher.js +5 -5
  20. package/esm/VCThemeProvider/ThemeModeSwitcher.js.map +1 -1
  21. package/esm/VCThemeProvider/VCThemeProvider.d.ts +1 -1
  22. package/esm/VCThemeProvider/VCThemeProvider.js +21 -21
  23. package/esm/VCThemeProvider/VCThemeProvider.js.map +1 -1
  24. package/esm/audit/AuditChanges.js +9 -5
  25. package/esm/audit/AuditChanges.js.map +1 -1
  26. package/esm/audit/AuditTimeline.js +1 -1
  27. package/esm/audit/AuditTimeline.js.map +1 -1
  28. package/esm/audit/AuditTimelineItem.js +3 -3
  29. package/esm/audit/AuditTimelineItem.js.map +1 -1
  30. package/esm/audit/index.d.ts +1 -1
  31. package/esm/audit/index.js +1 -1
  32. package/esm/audit/index.js.map +1 -1
  33. package/esm/breadcrumbs.d.ts +2 -2
  34. package/esm/breadcrumbs.js +3 -3
  35. package/esm/breadcrumbs.js.map +1 -1
  36. package/esm/code/CodeBlock.d.ts +1 -1
  37. package/esm/code/CodeBlock.js +1 -1
  38. package/esm/code/CodeBlock.js.map +1 -1
  39. package/esm/confirm/ConfirmButton.js.map +1 -1
  40. package/esm/confirm/ConfirmDialog.js +1 -1
  41. package/esm/confirm/ConfirmDialog.js.map +1 -1
  42. package/esm/confirm/ConfirmMenuItem.js +1 -1
  43. package/esm/confirm/ConfirmMenuItem.js.map +1 -1
  44. package/esm/container/ContainerLayout.d.ts +1 -1
  45. package/esm/container/ContainerLayout.js +5 -5
  46. package/esm/container/ContainerLayout.js.map +1 -1
  47. package/esm/container/ContainerSettingsContext.d.ts +2 -2
  48. package/esm/container/ContainerSettingsContext.js +6 -6
  49. package/esm/container/ContainerSettingsContext.js.map +1 -1
  50. package/esm/container/ContainerWidthControl.js +2 -2
  51. package/esm/container/ContainerWidthControl.js.map +1 -1
  52. package/esm/container/index.d.ts +1 -1
  53. package/esm/container/index.js +1 -1
  54. package/esm/container/index.js.map +1 -1
  55. package/esm/content-table/ContentTable.d.ts +1 -1
  56. package/esm/content-table/ContentTable.js +26 -19
  57. package/esm/content-table/ContentTable.js.map +1 -1
  58. package/esm/content-table/UndrawEmpty.js.map +1 -1
  59. package/esm/content-table/index.js.map +1 -1
  60. package/esm/country/country-select.js.map +1 -1
  61. package/esm/country/index.d.ts +3 -3
  62. package/esm/country/index.js +3 -3
  63. package/esm/country/index.js.map +1 -1
  64. package/esm/country/locale-select.js +1 -1
  65. package/esm/country/locale-select.js.map +1 -1
  66. package/esm/country/locales.js +1 -1
  67. package/esm/country/locales.js.map +1 -1
  68. package/esm/country/phone-prefix-select.js +1 -1
  69. package/esm/country/phone-prefix-select.js.map +1 -1
  70. package/esm/cube/accessibility.js +2 -1
  71. package/esm/cube/accessibility.js.map +1 -1
  72. package/esm/data-table/DataTableColumnSettings.d.ts +1 -1
  73. package/esm/data-table/DataTableColumnSettings.js +2 -2
  74. package/esm/data-table/DataTableColumnSettings.js.map +1 -1
  75. package/esm/data-table/DataTableHeader.js +1 -1
  76. package/esm/data-table/DataTableHeader.js.map +1 -1
  77. package/esm/data-table/DataTableToolbar.js +1 -1
  78. package/esm/data-table/DataTableToolbar.js.map +1 -1
  79. package/esm/data-table/index.d.ts +4 -4
  80. package/esm/data-table/index.js +4 -4
  81. package/esm/data-table/index.js.map +1 -1
  82. package/esm/data-table/useDataTableColumnStorage.d.ts +9 -1
  83. package/esm/data-table/useDataTableColumnStorage.js +12 -5
  84. package/esm/data-table/useDataTableColumnStorage.js.map +1 -1
  85. package/esm/data-table/useDataTableStorage.d.ts +31 -6
  86. package/esm/data-table/useDataTableStorage.js +25 -5
  87. package/esm/data-table/useDataTableStorage.js.map +1 -1
  88. package/esm/date-pickers/PlainAdapterCommon.d.ts +1 -1
  89. package/esm/date-pickers/PlainAdapterCommon.js.map +1 -1
  90. package/esm/date-pickers/PlainDateAdapter.js.map +1 -1
  91. package/esm/date-pickers/PlainDatePicker.js +1 -1
  92. package/esm/date-pickers/PlainDatePicker.js.map +1 -1
  93. package/esm/date-pickers/PlainDatePicker.spec.js +2 -2
  94. package/esm/date-pickers/PlainDatePicker.spec.js.map +1 -1
  95. package/esm/date-pickers/PlainDateTimeAdapter.js.map +1 -1
  96. package/esm/date-pickers/PlainDateTimePicker.js +2 -2
  97. package/esm/date-pickers/PlainDateTimePicker.js.map +1 -1
  98. package/esm/date-pickers/PlainDateTimePicker.spec.js +2 -2
  99. package/esm/date-pickers/PlainDateTimePicker.spec.js.map +1 -1
  100. package/esm/date-pickers/PlainTimeAdapter.js.map +1 -1
  101. package/esm/date-pickers/PlainTimePicker.js +2 -2
  102. package/esm/date-pickers/PlainTimePicker.js.map +1 -1
  103. package/esm/date-pickers/PlainTimePicker.spec.js +2 -2
  104. package/esm/date-pickers/PlainTimePicker.spec.js.map +1 -1
  105. package/esm/date-pickers/TemporalAdapter.d.ts +1 -1
  106. package/esm/date-pickers/TemporalAdapter.js +1 -1
  107. package/esm/date-pickers/TemporalAdapter.js.map +1 -1
  108. package/esm/date-pickers/TimezoneSelect.js +348 -348
  109. package/esm/date-pickers/TimezoneSelect.js.map +1 -1
  110. package/esm/date-pickers/getFormatString.js.map +1 -1
  111. package/esm/date-pickers/index.d.ts +2 -1
  112. package/esm/date-pickers/index.js +1 -1
  113. package/esm/date-pickers/index.js.map +1 -1
  114. package/esm/date-pickers/parse.js.map +1 -1
  115. package/esm/date-pickers/timeframe-picker.js +7 -7
  116. package/esm/date-pickers/timeframe-picker.js.map +1 -1
  117. package/esm/date-pickers/useLocale.js.map +1 -1
  118. package/esm/date-pickers/useRenderInput.js +5 -3
  119. package/esm/date-pickers/useRenderInput.js.map +1 -1
  120. package/esm/fetch.d.ts +2 -3
  121. package/esm/fetch.js +4 -4
  122. package/esm/fetch.js.map +1 -1
  123. package/esm/formats/CompactFormat.js +1 -1
  124. package/esm/formats/CompactFormat.js.map +1 -1
  125. package/esm/formats/CompactFormat.spec.js +1 -1
  126. package/esm/formats/CompactFormat.spec.js.map +1 -1
  127. package/esm/formats/CurrencyFormat.js +1 -1
  128. package/esm/formats/CurrencyFormat.js.map +1 -1
  129. package/esm/formats/CurrencyFormat.spec.js +1 -1
  130. package/esm/formats/CurrencyFormat.spec.js.map +1 -1
  131. package/esm/formats/DecimalFormat.js +1 -1
  132. package/esm/formats/DecimalFormat.js.map +1 -1
  133. package/esm/formats/DecimalFormat.spec.js +1 -1
  134. package/esm/formats/DecimalFormat.spec.js.map +1 -1
  135. package/esm/formats/DurationFormat.js +2 -2
  136. package/esm/formats/DurationFormat.js.map +1 -1
  137. package/esm/formats/DurationFormat.spec.js +2 -2
  138. package/esm/formats/DurationFormat.spec.js.map +1 -1
  139. package/esm/formats/TemporalFormat.spec.js +2 -2
  140. package/esm/formats/TemporalFormat.spec.js.map +1 -1
  141. package/esm/formats/TemporalRangeFormat.js +1 -1
  142. package/esm/formats/TemporalRangeFormat.js.map +1 -1
  143. package/esm/formats/TemporalRangeFormat.spec.js +2 -2
  144. package/esm/formats/TemporalRangeFormat.spec.js.map +1 -1
  145. package/esm/formats/useDateTimeFormat.js +5 -2
  146. package/esm/formats/useDateTimeFormat.js.map +1 -1
  147. package/esm/formats/useNumberFormat.js +1 -1
  148. package/esm/formats/useNumberFormat.js.map +1 -1
  149. package/esm/formats/useRelativeTimeFormat.js +4 -2
  150. package/esm/formats/useRelativeTimeFormat.js.map +1 -1
  151. package/esm/forms/SearchForm.js +1 -1
  152. package/esm/forms/SearchForm.js.map +1 -1
  153. package/esm/getNavigatorLanguages.js.map +1 -1
  154. package/esm/getSupportedFormatLocale.js.map +1 -1
  155. package/esm/help/HelpDrawer.js +12 -8
  156. package/esm/help/HelpDrawer.js.map +1 -1
  157. package/esm/help/index.d.ts +1 -1
  158. package/esm/help/index.js +1 -1
  159. package/esm/help/index.js.map +1 -1
  160. package/esm/icons.d.ts +13 -13
  161. package/esm/icons.js +13 -13
  162. package/esm/icons.js.map +1 -1
  163. package/esm/layout/ErrorBoundary.js +36 -36
  164. package/esm/layout/ErrorBoundary.js.map +1 -1
  165. package/esm/layout/NotFound.js +6 -6
  166. package/esm/layout/NotFound.js.map +1 -1
  167. package/esm/layout/NotFoundSvg.js.map +1 -1
  168. package/esm/layout/UserNav.js +18 -18
  169. package/esm/layout/UserNav.js.map +1 -1
  170. package/esm/layout/index.d.ts +2 -2
  171. package/esm/layout/index.js +2 -2
  172. package/esm/layout/index.js.map +1 -1
  173. package/esm/logo/Logo.js +2 -2
  174. package/esm/logo/Logo.js.map +1 -1
  175. package/esm/logo/VCAppLogo.js +1 -1
  176. package/esm/logo/VCAppLogo.js.map +1 -1
  177. package/esm/logo/index.d.ts +3 -3
  178. package/esm/logo/index.js +3 -3
  179. package/esm/logo/index.js.map +1 -1
  180. package/esm/splash/index.js +2 -2
  181. package/esm/splash/index.js.map +1 -1
  182. package/esm/storage/MemoryStorage.d.ts +6 -4
  183. package/esm/storage/MemoryStorage.js +13 -4
  184. package/esm/storage/MemoryStorage.js.map +1 -1
  185. package/esm/storage/index.d.ts +2 -1
  186. package/esm/storage/index.js +1 -1
  187. package/esm/storage/index.js.map +1 -1
  188. package/esm/storage/storage.d.ts +6 -4
  189. package/esm/storage/storage.js +35 -15
  190. package/esm/storage/storage.js.map +1 -1
  191. package/esm/storage/types.d.ts +6 -0
  192. package/esm/storage/types.js +2 -0
  193. package/esm/storage/types.js.map +1 -0
  194. package/esm/storage/useStorage.d.ts +10 -1
  195. package/esm/storage/useStorage.js +18 -6
  196. package/esm/storage/useStorage.js.map +1 -1
  197. package/esm/tabs/Tabs.d.ts +2 -2
  198. package/esm/tabs/Tabs.js +15 -15
  199. package/esm/tabs/Tabs.js.map +1 -1
  200. package/esm/tabs/index.js.map +1 -1
  201. package/esm/temporal/index.d.ts +1 -1
  202. package/esm/temporal/index.js +1 -1
  203. package/esm/temporal/index.js.map +1 -1
  204. package/esm/temporal/parse.js.map +1 -1
  205. package/esm/temporal/polyfill.d.ts +1 -1
  206. package/esm/temporal/polyfill.js +3 -3
  207. package/esm/temporal/polyfill.js.map +1 -1
  208. package/esm/utils/defined.js.map +1 -1
  209. package/esm/utils/index.d.ts +1 -1
  210. package/esm/utils/index.js +1 -1
  211. package/esm/utils/index.js.map +1 -1
  212. package/esm/utils/useFlag.js.map +1 -1
  213. package/esm/utils/useIsMounted.js.map +1 -1
  214. package/package.json +8 -9
  215. package/src/AppShell/AppShell.tsx +147 -140
  216. package/src/AppShell/index.tsx +1 -1
  217. package/src/Input/ActionsMenu.tsx +70 -73
  218. package/src/Input/EmailSenderField.tsx +59 -52
  219. package/src/Input/Selector.tsx +15 -15
  220. package/src/LanguageSwitcher/index.ts +1 -1
  221. package/src/Paging/Paging.ts +56 -57
  222. package/src/Paging/index.ts +2 -1
  223. package/src/VCThemeProvider/JetbrainsMonoFont.tsx +52 -42
  224. package/src/VCThemeProvider/RobotoFont.tsx +47 -39
  225. package/src/VCThemeProvider/ThemeModeSwitcher.tsx +17 -17
  226. package/src/VCThemeProvider/VCThemeProvider.tsx +149 -145
  227. package/src/audit/AuditChanges.tsx +18 -12
  228. package/src/audit/AuditTimeline.tsx +16 -17
  229. package/src/audit/AuditTimelineItem.tsx +58 -61
  230. package/src/audit/index.ts +2 -2
  231. package/src/audit/types.ts +27 -28
  232. package/src/breadcrumbs.tsx +11 -15
  233. package/src/code/CodeBlock.tsx +10 -10
  234. package/src/confirm/ConfirmButton.tsx +56 -56
  235. package/src/confirm/ConfirmDialog.tsx +54 -54
  236. package/src/confirm/ConfirmMenuItem.tsx +51 -53
  237. package/src/container/ContainerLayout.tsx +7 -8
  238. package/src/container/ContainerSettingsContext.tsx +49 -46
  239. package/src/container/ContainerWidthControl.tsx +11 -9
  240. package/src/container/index.ts +8 -3
  241. package/src/content-table/ContentTable.tsx +235 -197
  242. package/src/content-table/UndrawEmpty.tsx +281 -281
  243. package/src/content-table/index.ts +1 -1
  244. package/src/country/country-select.tsx +0 -1
  245. package/src/country/index.ts +3 -3
  246. package/src/country/locale-select.tsx +36 -36
  247. package/src/country/locales.ts +185 -187
  248. package/src/country/phone-prefix-select.tsx +4 -5
  249. package/src/cube/accessibility.tsx +2 -1
  250. package/src/data-table/DataTableColumnSettings.tsx +181 -181
  251. package/src/data-table/DataTableHeader.tsx +6 -6
  252. package/src/data-table/DataTableToolbar.tsx +6 -6
  253. package/src/data-table/index.tsx +4 -4
  254. package/src/data-table/useDataTableColumnStorage.ts +30 -19
  255. package/src/data-table/useDataTableStorage.spec.ts +108 -0
  256. package/src/data-table/useDataTableStorage.ts +91 -36
  257. package/src/date-pickers/PlainAdapterCommon.ts +118 -120
  258. package/src/date-pickers/PlainDateAdapter.spec.ts +44 -46
  259. package/src/date-pickers/PlainDateAdapter.ts +130 -132
  260. package/src/date-pickers/PlainDatePicker.spec.tsx +17 -18
  261. package/src/date-pickers/PlainDatePicker.tsx +33 -36
  262. package/src/date-pickers/PlainDateTimeAdapter.spec.ts +44 -46
  263. package/src/date-pickers/PlainDateTimeAdapter.ts +141 -134
  264. package/src/date-pickers/PlainDateTimePicker.spec.tsx +17 -18
  265. package/src/date-pickers/PlainDateTimePicker.tsx +35 -36
  266. package/src/date-pickers/PlainTimeAdapter.ts +219 -221
  267. package/src/date-pickers/PlainTimePicker.spec.tsx +17 -18
  268. package/src/date-pickers/PlainTimePicker.tsx +35 -34
  269. package/src/date-pickers/TemporalAdapter.ts +110 -111
  270. package/src/date-pickers/TimezoneSelect.tsx +375 -375
  271. package/src/date-pickers/getFormatString.ts +29 -29
  272. package/src/date-pickers/index.ts +6 -5
  273. package/src/date-pickers/parse.spec.ts +37 -40
  274. package/src/date-pickers/parse.ts +44 -47
  275. package/src/date-pickers/timeframe-picker.tsx +16 -17
  276. package/src/date-pickers/useLocale.ts +1 -1
  277. package/src/date-pickers/useRenderInput.tsx +24 -15
  278. package/src/fetch.ts +4 -5
  279. package/src/formats/CompactFormat.spec.tsx +18 -20
  280. package/src/formats/CompactFormat.tsx +30 -30
  281. package/src/formats/CurrencyFormat.spec.tsx +18 -20
  282. package/src/formats/CurrencyFormat.tsx +52 -52
  283. package/src/formats/DecimalFormat.spec.tsx +18 -20
  284. package/src/formats/DecimalFormat.tsx +47 -47
  285. package/src/formats/DurationFormat.spec.tsx +48 -49
  286. package/src/formats/DurationFormat.tsx +51 -51
  287. package/src/formats/TemporalFormat.spec.tsx +93 -95
  288. package/src/formats/TemporalRangeFormat.spec.tsx +143 -144
  289. package/src/formats/TemporalRangeFormat.tsx +54 -54
  290. package/src/formats/types.ts +1 -3
  291. package/src/formats/useDateTimeFormat.ts +5 -2
  292. package/src/formats/useNumberFormat.ts +3 -3
  293. package/src/formats/useRelativeTimeFormat.ts +5 -3
  294. package/src/forms/SearchForm.tsx +37 -38
  295. package/src/getNavigatorLanguages.ts +4 -5
  296. package/src/getSupportedFormatLocale.ts +10 -10
  297. package/src/help/HelpDrawer.tsx +76 -55
  298. package/src/help/index.ts +3 -3
  299. package/src/icons.ts +21 -21
  300. package/src/layout/ErrorBoundary.tsx +226 -215
  301. package/src/layout/NotFound.tsx +36 -39
  302. package/src/layout/NotFoundSvg.tsx +193 -169
  303. package/src/layout/UserNav.tsx +98 -98
  304. package/src/layout/index.ts +3 -3
  305. package/src/logo/Logo.tsx +6 -7
  306. package/src/logo/VCAppLogo.tsx +22 -20
  307. package/src/logo/index.tsx +3 -3
  308. package/src/splash/index.tsx +25 -25
  309. package/src/storage/MemoryStorage.ts +22 -15
  310. package/src/storage/index.ts +2 -1
  311. package/src/storage/storage.spec.ts +184 -0
  312. package/src/storage/storage.ts +37 -15
  313. package/src/storage/types.ts +6 -0
  314. package/src/storage/useStorage.ts +21 -6
  315. package/src/tabs/Tabs.tsx +172 -170
  316. package/src/tabs/index.ts +1 -1
  317. package/src/temporal/index.ts +1 -1
  318. package/src/temporal/parse.ts +1 -2
  319. package/src/temporal/polyfill.ts +11 -11
  320. package/src/utils/defined.ts +2 -3
  321. package/src/utils/index.ts +1 -1
  322. package/src/utils/useFlag.ts +5 -5
  323. package/src/utils/useIsMounted.ts +9 -9
@@ -1,172 +1,196 @@
1
1
  import React, {SVGProps} from "react";
2
2
 
3
3
  export function NotFoundSvg(props: SVGProps<SVGSVGElement>) {
4
-
5
- return (
6
- <svg
7
- xmlns="http://www.w3.org/2000/svg"
8
- width="1120.592"
9
- height="777.916"
10
- data-name="Layer 1"
11
- viewBox="0 0 1120.592 777.916"
12
- {...props}
13
- >
14
- <circle cx="212.592" cy="103" r="64" fill="#ff6584"></circle>
15
- <path
16
- fill="#f2f2f2"
17
- d="M563.68 404.164c0 151.011-89.774 203.739-200.515 203.739s-200.516-52.728-200.516-203.74 200.516-343.12 200.516-343.12 200.515 192.11 200.515 343.12z"
18
- transform="translate(-39.704 -61.042)"
19
- ></path>
20
- <path
21
- fill="#3f3d56"
22
- d="M316.156 523.761L318.21 397.378 403.674 241.024 318.532 377.552 319.455 320.725 378.357 207.605 319.699 305.687 319.699 305.687 321.359 203.481 384.433 113.423 321.621 187.409 322.658 0 316.138 248.096 316.674 237.861 252.547 139.704 315.646 257.508 309.671 371.654 309.493 368.625 235.565 265.329 309.269 379.328 308.522 393.603 308.388 393.818 308.449 394.99 293.29 684.589 313.544 684.589 315.974 535.005 389.496 421.285 316.156 523.761z"
23
- ></path>
24
- <path
25
- fill="#f2f2f2"
26
- d="M1160.296 466.014c0 123.61-73.484 166.77-164.131 166.77s-164.132-43.16-164.132-166.77 164.132-280.862 164.132-280.862 164.131 157.252 164.131 280.862z"
27
- transform="translate(-39.704 -61.042)"
28
- ></path>
29
- <path
30
- fill="#3f3d56"
31
- d="M950.482 552.833L952.162 449.383 1022.119 321.4 952.426 433.154 953.182 386.639 1001.396 294.044 953.382 374.329 953.382 374.329 954.741 290.669 1006.369 216.952 954.954 277.514 955.804 124.11 950.467 327.188 950.906 318.811 898.414 238.464 950.064 334.893 945.173 428.327 945.027 425.847 884.514 341.294 944.844 434.608 944.232 446.293 944.123 446.469 944.173 447.428 931.764 684.478 948.343 684.478 950.332 562.037 1010.514 468.952 950.482 552.833z"
32
- ></path>
33
- <ellipse
34
- cx="554.592"
35
- cy="680.479"
36
- fill="#3f3d56"
37
- rx="554.592"
38
- ry="28.034"
39
- ></ellipse>
40
- <ellipse
41
- cx="892.445"
42
- cy="726.797"
43
- fill="#3f3d56"
44
- rx="94.989"
45
- ry="4.802"
46
- ></ellipse>
47
- <ellipse
48
- cx="548.72"
49
- cy="773.114"
50
- fill="#3f3d56"
51
- rx="94.989"
52
- ry="4.802"
53
- ></ellipse>
54
- <ellipse
55
- cx="287.944"
56
- cy="734.279"
57
- fill="#3f3d56"
58
- rx="217.014"
59
- ry="10.97"
60
- ></ellipse>
61
- <circle cx="97.084" cy="566.27" r="79" fill="#2f2e41"></circle>
62
- <path
63
- fill="#2f2e41"
64
- d="M99.805 689.023H123.805V732.023H99.805z"
65
- transform="rotate(.675 5272.615 -2689.677)"
66
- ></path>
67
- <path
68
- fill="#2f2e41"
69
- d="M147.802 689.589H171.802V732.589H147.802z"
70
- transform="rotate(.675 5320.612 -2689.112)"
71
- ></path>
72
- <ellipse
73
- cx="119.546"
74
- cy="732.616"
75
- fill="#2f2e41"
76
- rx="7.5"
77
- ry="20"
78
- transform="rotate(-89.325 68.811 722.182)"
79
- ></ellipse>
80
- <ellipse
81
- cx="167.554"
82
- cy="732.182"
83
- fill="#2f2e41"
84
- rx="7.5"
85
- ry="20"
86
- transform="rotate(-89.325 116.82 721.748)"
87
- ></ellipse>
88
- <circle cx="99.319" cy="546.295" r="27" fill="#fff"></circle>
89
- <circle cx="99.319" cy="546.295" r="9" fill="#3f3d56"></circle>
90
- <path
91
- fill="#ff6a00"
92
- d="M61.026 552.946c-6.042-28.64 14.687-57.264 46.3-63.933s62.139 11.143 68.18 39.783-14.978 38.93-46.59 45.6-61.848 7.191-67.89-21.45z"
93
- transform="translate(-39.704 -61.042)"
94
- ></path>
95
- <path
96
- fill="#ff6a00"
97
- d="M257.296 671.384c0 55.076-32.74 74.306-73.13 74.306q-1.403 0-2.802-.03c-1.872-.04-3.725-.13-5.557-.255-36.451-2.58-64.77-22.8-64.77-74.02 0-53.01 67.738-119.897 72.826-124.847l.009-.01.294-.284s73.13 70.064 73.13 125.14z"
98
- transform="translate(-39.704 -61.042)"
99
- ></path>
100
- <path
101
- fill="#3f3d56"
102
- d="M181.502 737.265l26.747-37.374-26.814 41.477-.071 4.291c-1.872-.04-3.725-.129-5.557-.254l2.883-55.102-.022-.428.049-.08.272-5.204-26.881-41.58 26.965 37.676.063 1.105 2.179-41.633-23.014-42.965 23.294 35.658 2.268-86.314.009-.294v.285l-.379 68.064 22.911-26.983-23.004 32.847-.606 37.275 21.391-35.774-21.48 41.259-.339 20.723 31.056-49.791-31.172 57.023z"
103
- transform="translate(-39.704 -61.042)"
104
- ></path>
105
- <circle cx="712.485" cy="565.415" r="79" fill="#2f2e41"></circle>
106
- <path
107
- fill="#2f2e41"
108
- d="M741.777 691.824H765.777V734.824H741.777z"
109
- transform="rotate(-17.083 530.717 814.976)"
110
- ></path>
111
- <path
112
- fill="#2f2e41"
113
- d="M787.659 677.723H811.659V720.723H787.659z"
114
- transform="rotate(-17.083 576.611 800.885)"
115
- ></path>
116
- <ellipse
117
- cx="767.887"
118
- cy="732.003"
119
- fill="#2f2e41"
120
- rx="20"
121
- ry="7.5"
122
- transform="rotate(-17.083 544.826 833.656)"
123
- ></ellipse>
124
- <ellipse
125
- cx="813.475"
126
- cy="716.946"
127
- fill="#2f2e41"
128
- rx="20"
129
- ry="7.5"
130
- transform="rotate(-17.083 590.415 818.599)"
131
- ></ellipse>
132
- <circle cx="708.522" cy="545.71" r="27" fill="#fff"></circle>
133
- <circle cx="708.522" cy="545.71" r="9" fill="#3f3d56"></circle>
134
- <path
135
- fill="#ff6a00"
136
- d="M657.355 578.743c-14.49-25.433-3.478-59.016 24.594-75.009s62.576-8.34 77.066 17.093-2.39 41.643-30.463 57.636-56.707 25.713-71.197.28zM611.296 661.299c0 50.557-30.054 68.21-67.13 68.21q-1.288 0-2.572-.03a109.57 109.57 0 01-5.1-.232c-33.461-2.368-59.458-20.929-59.458-67.948 0-48.66 62.181-110.06 66.852-114.603l.008-.009.27-.261s67.13 64.316 67.13 114.873z"
137
- transform="translate(-39.704 -61.042)"
138
- ></path>
139
- <path
140
- fill="#3f3d56"
141
- d="M541.72 721.774l24.553-34.307-24.614 38.074-.065 3.939a109.57 109.57 0 01-5.1-.233l2.645-50.582-.02-.393.045-.073.25-4.777-24.676-38.169 24.753 34.586.058 1.014 2-38.217-21.126-39.44 21.383 32.732 2.082-79.232.008-.27v.261l-.347 62.48 21.03-24.77-21.116 30.152-.557 34.218 19.637-32.84-19.718 37.875-.311 19.023 28.507-45.707-28.614 52.345z"
142
- transform="translate(-39.704 -61.042)"
143
- ></path>
144
- <path
145
- fill="#ff6a00"
146
- d="M875.296 682.384c0 55.076-32.74 74.306-73.13 74.306q-1.403 0-2.802-.03c-1.872-.04-3.725-.13-5.557-.255-36.451-2.58-64.77-22.8-64.77-74.02 0-53.01 67.738-119.897 72.826-124.847l.009-.01.294-.284s73.13 70.064 73.13 125.14z"
147
- transform="translate(-39.704 -61.042)"
148
- ></path>
149
- <path
150
- fill="#3f3d56"
151
- d="M799.502 748.265l26.747-37.374-26.814 41.477-.071 4.291c-1.872-.04-3.725-.129-5.557-.254l2.883-55.102-.022-.428.049-.08.272-5.204-26.881-41.58 26.965 37.676.063 1.105 2.179-41.633-23.014-42.965 23.294 35.658 2.268-86.314.01-.294v.285l-.38 68.064 22.911-26.983-23.004 32.847-.606 37.275 21.391-35.774-21.48 41.259-.339 20.723 31.056-49.791-31.172 57.023z"
152
- transform="translate(-39.704 -61.042)"
153
- ></path>
154
- <ellipse
155
- cx="721.517"
156
- cy="656.822"
157
- fill="#2f2e41"
158
- rx="12.4"
159
- ry="39.5"
160
- transform="rotate(-64.626 653.41 657.688)"
161
- ></ellipse>
162
- <ellipse
163
- cx="112.517"
164
- cy="651.822"
165
- fill="#2f2e41"
166
- rx="12.4"
167
- ry="39.5"
168
- transform="rotate(-68.158 47.55 650.645)"
169
- ></ellipse>
170
- </svg>
171
- )
172
- }
4
+ return (
5
+ <svg
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ width="1120.592"
8
+ height="777.916"
9
+ data-name="Layer 1"
10
+ viewBox="0 0 1120.592 777.916"
11
+ {...props}
12
+ >
13
+ <circle cx="212.592" cy="103" r="64" fill="#ff6584"></circle>
14
+ <path
15
+ fill="#f2f2f2"
16
+ d="M563.68 404.164c0 151.011-89.774 203.739-200.515 203.739s-200.516-52.728-200.516-203.74 200.516-343.12 200.516-343.12 200.515 192.11 200.515 343.12z"
17
+ transform="translate(-39.704 -61.042)"
18
+ >
19
+ </path>
20
+ <path
21
+ fill="#3f3d56"
22
+ d="M316.156 523.761L318.21 397.378 403.674 241.024 318.532 377.552 319.455 320.725 378.357 207.605 319.699 305.687 319.699 305.687 321.359 203.481 384.433 113.423 321.621 187.409 322.658 0 316.138 248.096 316.674 237.861 252.547 139.704 315.646 257.508 309.671 371.654 309.493 368.625 235.565 265.329 309.269 379.328 308.522 393.603 308.388 393.818 308.449 394.99 293.29 684.589 313.544 684.589 315.974 535.005 389.496 421.285 316.156 523.761z"
23
+ >
24
+ </path>
25
+ <path
26
+ fill="#f2f2f2"
27
+ d="M1160.296 466.014c0 123.61-73.484 166.77-164.131 166.77s-164.132-43.16-164.132-166.77 164.132-280.862 164.132-280.862 164.131 157.252 164.131 280.862z"
28
+ transform="translate(-39.704 -61.042)"
29
+ >
30
+ </path>
31
+ <path
32
+ fill="#3f3d56"
33
+ d="M950.482 552.833L952.162 449.383 1022.119 321.4 952.426 433.154 953.182 386.639 1001.396 294.044 953.382 374.329 953.382 374.329 954.741 290.669 1006.369 216.952 954.954 277.514 955.804 124.11 950.467 327.188 950.906 318.811 898.414 238.464 950.064 334.893 945.173 428.327 945.027 425.847 884.514 341.294 944.844 434.608 944.232 446.293 944.123 446.469 944.173 447.428 931.764 684.478 948.343 684.478 950.332 562.037 1010.514 468.952 950.482 552.833z"
34
+ >
35
+ </path>
36
+ <ellipse
37
+ cx="554.592"
38
+ cy="680.479"
39
+ fill="#3f3d56"
40
+ rx="554.592"
41
+ ry="28.034"
42
+ >
43
+ </ellipse>
44
+ <ellipse
45
+ cx="892.445"
46
+ cy="726.797"
47
+ fill="#3f3d56"
48
+ rx="94.989"
49
+ ry="4.802"
50
+ >
51
+ </ellipse>
52
+ <ellipse
53
+ cx="548.72"
54
+ cy="773.114"
55
+ fill="#3f3d56"
56
+ rx="94.989"
57
+ ry="4.802"
58
+ >
59
+ </ellipse>
60
+ <ellipse
61
+ cx="287.944"
62
+ cy="734.279"
63
+ fill="#3f3d56"
64
+ rx="217.014"
65
+ ry="10.97"
66
+ >
67
+ </ellipse>
68
+ <circle cx="97.084" cy="566.27" r="79" fill="#2f2e41"></circle>
69
+ <path
70
+ fill="#2f2e41"
71
+ d="M99.805 689.023H123.805V732.023H99.805z"
72
+ transform="rotate(.675 5272.615 -2689.677)"
73
+ >
74
+ </path>
75
+ <path
76
+ fill="#2f2e41"
77
+ d="M147.802 689.589H171.802V732.589H147.802z"
78
+ transform="rotate(.675 5320.612 -2689.112)"
79
+ >
80
+ </path>
81
+ <ellipse
82
+ cx="119.546"
83
+ cy="732.616"
84
+ fill="#2f2e41"
85
+ rx="7.5"
86
+ ry="20"
87
+ transform="rotate(-89.325 68.811 722.182)"
88
+ >
89
+ </ellipse>
90
+ <ellipse
91
+ cx="167.554"
92
+ cy="732.182"
93
+ fill="#2f2e41"
94
+ rx="7.5"
95
+ ry="20"
96
+ transform="rotate(-89.325 116.82 721.748)"
97
+ >
98
+ </ellipse>
99
+ <circle cx="99.319" cy="546.295" r="27" fill="#fff"></circle>
100
+ <circle cx="99.319" cy="546.295" r="9" fill="#3f3d56"></circle>
101
+ <path
102
+ fill="#ff6a00"
103
+ d="M61.026 552.946c-6.042-28.64 14.687-57.264 46.3-63.933s62.139 11.143 68.18 39.783-14.978 38.93-46.59 45.6-61.848 7.191-67.89-21.45z"
104
+ transform="translate(-39.704 -61.042)"
105
+ >
106
+ </path>
107
+ <path
108
+ fill="#ff6a00"
109
+ d="M257.296 671.384c0 55.076-32.74 74.306-73.13 74.306q-1.403 0-2.802-.03c-1.872-.04-3.725-.13-5.557-.255-36.451-2.58-64.77-22.8-64.77-74.02 0-53.01 67.738-119.897 72.826-124.847l.009-.01.294-.284s73.13 70.064 73.13 125.14z"
110
+ transform="translate(-39.704 -61.042)"
111
+ >
112
+ </path>
113
+ <path
114
+ fill="#3f3d56"
115
+ d="M181.502 737.265l26.747-37.374-26.814 41.477-.071 4.291c-1.872-.04-3.725-.129-5.557-.254l2.883-55.102-.022-.428.049-.08.272-5.204-26.881-41.58 26.965 37.676.063 1.105 2.179-41.633-23.014-42.965 23.294 35.658 2.268-86.314.009-.294v.285l-.379 68.064 22.911-26.983-23.004 32.847-.606 37.275 21.391-35.774-21.48 41.259-.339 20.723 31.056-49.791-31.172 57.023z"
116
+ transform="translate(-39.704 -61.042)"
117
+ >
118
+ </path>
119
+ <circle cx="712.485" cy="565.415" r="79" fill="#2f2e41"></circle>
120
+ <path
121
+ fill="#2f2e41"
122
+ d="M741.777 691.824H765.777V734.824H741.777z"
123
+ transform="rotate(-17.083 530.717 814.976)"
124
+ >
125
+ </path>
126
+ <path
127
+ fill="#2f2e41"
128
+ d="M787.659 677.723H811.659V720.723H787.659z"
129
+ transform="rotate(-17.083 576.611 800.885)"
130
+ >
131
+ </path>
132
+ <ellipse
133
+ cx="767.887"
134
+ cy="732.003"
135
+ fill="#2f2e41"
136
+ rx="20"
137
+ ry="7.5"
138
+ transform="rotate(-17.083 544.826 833.656)"
139
+ >
140
+ </ellipse>
141
+ <ellipse
142
+ cx="813.475"
143
+ cy="716.946"
144
+ fill="#2f2e41"
145
+ rx="20"
146
+ ry="7.5"
147
+ transform="rotate(-17.083 590.415 818.599)"
148
+ >
149
+ </ellipse>
150
+ <circle cx="708.522" cy="545.71" r="27" fill="#fff"></circle>
151
+ <circle cx="708.522" cy="545.71" r="9" fill="#3f3d56"></circle>
152
+ <path
153
+ fill="#ff6a00"
154
+ d="M657.355 578.743c-14.49-25.433-3.478-59.016 24.594-75.009s62.576-8.34 77.066 17.093-2.39 41.643-30.463 57.636-56.707 25.713-71.197.28zM611.296 661.299c0 50.557-30.054 68.21-67.13 68.21q-1.288 0-2.572-.03a109.57 109.57 0 01-5.1-.232c-33.461-2.368-59.458-20.929-59.458-67.948 0-48.66 62.181-110.06 66.852-114.603l.008-.009.27-.261s67.13 64.316 67.13 114.873z"
155
+ transform="translate(-39.704 -61.042)"
156
+ >
157
+ </path>
158
+ <path
159
+ fill="#3f3d56"
160
+ d="M541.72 721.774l24.553-34.307-24.614 38.074-.065 3.939a109.57 109.57 0 01-5.1-.233l2.645-50.582-.02-.393.045-.073.25-4.777-24.676-38.169 24.753 34.586.058 1.014 2-38.217-21.126-39.44 21.383 32.732 2.082-79.232.008-.27v.261l-.347 62.48 21.03-24.77-21.116 30.152-.557 34.218 19.637-32.84-19.718 37.875-.311 19.023 28.507-45.707-28.614 52.345z"
161
+ transform="translate(-39.704 -61.042)"
162
+ >
163
+ </path>
164
+ <path
165
+ fill="#ff6a00"
166
+ d="M875.296 682.384c0 55.076-32.74 74.306-73.13 74.306q-1.403 0-2.802-.03c-1.872-.04-3.725-.13-5.557-.255-36.451-2.58-64.77-22.8-64.77-74.02 0-53.01 67.738-119.897 72.826-124.847l.009-.01.294-.284s73.13 70.064 73.13 125.14z"
167
+ transform="translate(-39.704 -61.042)"
168
+ >
169
+ </path>
170
+ <path
171
+ fill="#3f3d56"
172
+ d="M799.502 748.265l26.747-37.374-26.814 41.477-.071 4.291c-1.872-.04-3.725-.129-5.557-.254l2.883-55.102-.022-.428.049-.08.272-5.204-26.881-41.58 26.965 37.676.063 1.105 2.179-41.633-23.014-42.965 23.294 35.658 2.268-86.314.01-.294v.285l-.38 68.064 22.911-26.983-23.004 32.847-.606 37.275 21.391-35.774-21.48 41.259-.339 20.723 31.056-49.791-31.172 57.023z"
173
+ transform="translate(-39.704 -61.042)"
174
+ >
175
+ </path>
176
+ <ellipse
177
+ cx="721.517"
178
+ cy="656.822"
179
+ fill="#2f2e41"
180
+ rx="12.4"
181
+ ry="39.5"
182
+ transform="rotate(-64.626 653.41 657.688)"
183
+ >
184
+ </ellipse>
185
+ <ellipse
186
+ cx="112.517"
187
+ cy="651.822"
188
+ fill="#2f2e41"
189
+ rx="12.4"
190
+ ry="39.5"
191
+ transform="rotate(-68.158 47.55 650.645)"
192
+ >
193
+ </ellipse>
194
+ </svg>
195
+ );
196
+ }
@@ -1,107 +1,107 @@
1
- import React, {Fragment, useCallback, useState} from "react";
1
+ import DarkModeIcon from "@mui/icons-material/DarkMode";
2
+ import LockIcon from "@mui/icons-material/Lock";
3
+ import PersonIcon from "@mui/icons-material/Person";
4
+ import LogoutIcon from "@mui/icons-material/PowerSettingsNew";
5
+ import SettingsIcon from "@mui/icons-material/Settings";
2
6
  import {Avatar, Divider, ListItemIcon, ListItemText, Menu, MenuItem, useTheme} from "@mui/material";
3
- import PersonIcon from '@mui/icons-material/Person';
4
- import SettingsIcon from '@mui/icons-material/Settings';
5
- import LockIcon from '@mui/icons-material/Lock';
6
- import DarkModeIcon from '@mui/icons-material/DarkMode';
7
- import LogoutIcon from '@mui/icons-material/PowerSettingsNew';
7
+ import React, {Fragment, useCallback, useState} from "react";
8
8
  import {usePaletteMode} from "../VCThemeProvider";
9
9
 
10
10
  type Props = {
11
- onSettingClick?: () => void,
12
- onChangePasswordClick?: () => void,
13
- onLogoutClick?: () => void,
14
- showDarkModeSwitch?: boolean,
15
- i18n?: {
16
- settings?: string,
17
- changePassword?: string,
18
- darkMode?: string,
19
- logout?: string
20
- }
21
- }
11
+ onSettingClick?: () => void;
12
+ onChangePasswordClick?: () => void;
13
+ onLogoutClick?: () => void;
14
+ showDarkModeSwitch?: boolean;
15
+ i18n?: {
16
+ settings?: string;
17
+ changePassword?: string;
18
+ darkMode?: string;
19
+ logout?: string;
20
+ };
21
+ };
22
22
 
23
23
  export function UserNav(props: Props) {
24
- const {
25
- onSettingClick,
26
- onChangePasswordClick,
27
- onLogoutClick,
28
- showDarkModeSwitch,
29
- i18n: {
30
- settings,
31
- changePassword,
32
- darkMode,
33
- logout
34
- } = {}
35
- } = props;
24
+ const {
25
+ onSettingClick,
26
+ onChangePasswordClick,
27
+ onLogoutClick,
28
+ showDarkModeSwitch,
29
+ i18n: {
30
+ settings,
31
+ changePassword,
32
+ darkMode,
33
+ logout,
34
+ } = {},
35
+ } = props;
36
36
 
37
- const theme = useTheme();
38
- const {mode, setMode} = usePaletteMode();
37
+ const theme = useTheme();
38
+ const {mode, setMode} = usePaletteMode();
39
39
 
40
- const [anchorEl, setAnchorEl] = useState<HTMLElement|null>(null);
40
+ const [anchorEl, setAnchorEl] = useState<HTMLElement | null>(null);
41
41
 
42
- return (
43
- <Fragment>
44
- <Avatar
45
- sx={{
46
- bgcolor: theme.palette.grey["500"],
47
- width: 30,
48
- height: 30,
49
- cursor: 'pointer'
50
- }}
51
- variant="circular"
52
- onClick={ev => setAnchorEl(ev.currentTarget)}
53
- >
54
- <PersonIcon />
55
- </Avatar>
56
- <Menu
57
- open={anchorEl !== null}
58
- anchorEl={anchorEl}
59
- onClose={() => setAnchorEl(null)}
60
- anchorOrigin={{
61
- vertical: 'bottom',
62
- horizontal: 'right'
63
- }}
64
- transformOrigin={{
65
- vertical: 'top',
66
- horizontal: 'right'
67
- }}
68
- >
69
- {onSettingClick && (
70
- <MenuItem onClick={onSettingClick}>
71
- <ListItemIcon>
72
- <SettingsIcon fontSize="small" />
73
- </ListItemIcon>
74
- <ListItemText>{settings ?? 'Settings'}</ListItemText>
75
- </MenuItem>
76
- )}
77
- {onChangePasswordClick && (
78
- <MenuItem onClick={onChangePasswordClick}>
79
- <ListItemIcon>
80
- <LockIcon fontSize="small" />
81
- </ListItemIcon>
82
- <ListItemText>{changePassword ?? 'Change password'}</ListItemText>
83
- </MenuItem>
84
- )}
85
- {showDarkModeSwitch && (
86
- <MenuItem onClick={() => setMode((mode === 'dark') ? "light" : "dark")}>
87
- <ListItemIcon>
88
- <DarkModeIcon fontSize="small" />
89
- </ListItemIcon>
90
- <ListItemText>{darkMode ?? 'Dark Mode'}: {mode === 'dark' ? 'ON' : 'OFF'}</ListItemText>
91
- </MenuItem>
92
- )}
93
- {onLogoutClick && (
94
- <Fragment>
95
- <Divider />
96
- <MenuItem onClick={onLogoutClick}>
97
- <ListItemIcon>
98
- <LogoutIcon fontSize="small" sx={{ color: theme.palette.error.main }} />
99
- </ListItemIcon>
100
- <ListItemText sx={{ color: theme.palette.error.main }}>{logout ?? 'Logout'}</ListItemText>
101
- </MenuItem>
102
- </Fragment>
103
- )}
104
- </Menu>
105
- </Fragment>
106
- )
107
- }
42
+ return (
43
+ <Fragment>
44
+ <Avatar
45
+ sx={{
46
+ bgcolor: theme.palette.grey["500"],
47
+ width: 30,
48
+ height: 30,
49
+ cursor: "pointer",
50
+ }}
51
+ variant="circular"
52
+ onClick={ev => setAnchorEl(ev.currentTarget)}
53
+ >
54
+ <PersonIcon />
55
+ </Avatar>
56
+ <Menu
57
+ open={anchorEl !== null}
58
+ anchorEl={anchorEl}
59
+ onClose={() => setAnchorEl(null)}
60
+ anchorOrigin={{
61
+ vertical: "bottom",
62
+ horizontal: "right",
63
+ }}
64
+ transformOrigin={{
65
+ vertical: "top",
66
+ horizontal: "right",
67
+ }}
68
+ >
69
+ {onSettingClick && (
70
+ <MenuItem onClick={onSettingClick}>
71
+ <ListItemIcon>
72
+ <SettingsIcon fontSize="small" />
73
+ </ListItemIcon>
74
+ <ListItemText>{settings ?? "Settings"}</ListItemText>
75
+ </MenuItem>
76
+ )}
77
+ {onChangePasswordClick && (
78
+ <MenuItem onClick={onChangePasswordClick}>
79
+ <ListItemIcon>
80
+ <LockIcon fontSize="small" />
81
+ </ListItemIcon>
82
+ <ListItemText>{changePassword ?? "Change password"}</ListItemText>
83
+ </MenuItem>
84
+ )}
85
+ {showDarkModeSwitch && (
86
+ <MenuItem onClick={() => setMode((mode === "dark") ? "light" : "dark")}>
87
+ <ListItemIcon>
88
+ <DarkModeIcon fontSize="small" />
89
+ </ListItemIcon>
90
+ <ListItemText>{darkMode ?? "Dark Mode"}: {mode === "dark" ? "ON" : "OFF"}</ListItemText>
91
+ </MenuItem>
92
+ )}
93
+ {onLogoutClick && (
94
+ <Fragment>
95
+ <Divider />
96
+ <MenuItem onClick={onLogoutClick}>
97
+ <ListItemIcon>
98
+ <LogoutIcon fontSize="small" sx={{color: theme.palette.error.main}} />
99
+ </ListItemIcon>
100
+ <ListItemText sx={{color: theme.palette.error.main}}>{logout ?? "Logout"}</ListItemText>
101
+ </MenuItem>
102
+ </Fragment>
103
+ )}
104
+ </Menu>
105
+ </Fragment>
106
+ );
107
+ }
@@ -1,5 +1,5 @@
1
1
  export * from "./ErrorBoundary";
2
- export * from "./UserNav";
3
- export * from "./NotFound";
4
2
  export * from "./layout-context";
5
- export * from "./page-title"
3
+ export * from "./NotFound";
4
+ export * from "./page-title";
5
+ export * from "./UserNav";
package/src/logo/Logo.tsx CHANGED
@@ -1,6 +1,6 @@
1
- import {useCustomLogo} from "../VCThemeProvider";
2
- import React from "react";
3
1
  import {Box, BoxProps} from "@mui/material";
2
+ import React from "react";
3
+ import {useCustomLogo} from "../VCThemeProvider";
4
4
  import {VCLogo} from "./VCLogo";
5
5
 
6
6
  interface LogoProps extends Omit<BoxProps, "height"> {
@@ -8,7 +8,7 @@ interface LogoProps extends Omit<BoxProps, "height"> {
8
8
  }
9
9
 
10
10
  export function Logo(props: LogoProps) {
11
- const {height= 52, ...rest} = props;
11
+ const {height = 52, ...rest} = props;
12
12
  const customLogo = useCustomLogo();
13
13
  if (customLogo) {
14
14
  const {url, paddingX, paddingY} = customLogo;
@@ -23,12 +23,11 @@ export function Logo(props: LogoProps) {
23
23
  width="auto"
24
24
  />
25
25
  </Box>
26
- )
27
- }
28
- else {
26
+ );
27
+ } else {
29
28
  return (
30
29
  <Box {...rest}>
31
- <VCLogo height={height} width="auto"/>
30
+ <VCLogo height={height} width="auto" />
32
31
  </Box>
33
32
  );
34
33
  }