@verdaccio/ui-components 5.0.0-next-9.8 → 5.0.0-next-9.10

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 (261) hide show
  1. package/build/Theme/ResetStyles.d.ts +1 -1
  2. package/build/Theme/StyleBaseline.d.ts +1 -2
  3. package/build/Theme/ThemeProvider.d.ts +1 -1
  4. package/build/Theme/modes.d.ts +13 -1
  5. package/build/Theme/modes.js +18 -3
  6. package/build/Theme/modes.js.map +1 -1
  7. package/build/Theme/modes.mjs +16 -2
  8. package/build/Theme/modes.mjs.map +1 -1
  9. package/build/Theme/theme.d.ts +27 -3
  10. package/build/Theme/theme.js.map +1 -1
  11. package/build/Theme/theme.mjs.map +1 -1
  12. package/build/api/use-data-mutation.d.ts +3 -3
  13. package/build/api/use-data.d.ts +2 -2
  14. package/build/components/ActionBar/ActionBar.d.ts +1 -1
  15. package/build/components/ActionBar/ActionBarAction.d.ts +7 -2
  16. package/build/components/ActionBar/ActionBarAction.mjs +2 -2
  17. package/build/components/ActionBar/ActionBarAction.mjs.map +1 -1
  18. package/build/components/AppRoute/AppRoute.d.ts +1 -1
  19. package/build/components/AppRoute/AppRoute.js +54 -47
  20. package/build/components/AppRoute/AppRoute.js.map +1 -1
  21. package/build/components/AppRoute/AppRoute.mjs +54 -47
  22. package/build/components/AppRoute/AppRoute.mjs.map +1 -1
  23. package/build/components/Author/Author.d.ts +1 -1
  24. package/build/components/Author/styles.d.ts +9 -2
  25. package/build/components/CopyClipboard/CopyToClipBoard.d.ts +1 -1
  26. package/build/components/CopyClipboard/utils.d.ts +1 -1
  27. package/build/components/Dependencies/Dependencies.d.ts +1 -1
  28. package/build/components/Dependencies/DependencyBlock.d.ts +15 -7
  29. package/build/components/Dependencies/DependencyBlock.mjs +2 -2
  30. package/build/components/Dependencies/DependencyBlock.mjs.map +1 -1
  31. package/build/components/Dependencies/index.js +1 -1
  32. package/build/components/Dependencies/types.d.ts +1 -1
  33. package/build/components/Deprecated/Deprecated.d.ts +1 -1
  34. package/build/components/Developers/Developers.d.ts +8 -3
  35. package/build/components/Developers/Title.d.ts +1 -1
  36. package/build/components/Developers/Title.mjs +2 -2
  37. package/build/components/Developers/Title.mjs.map +1 -1
  38. package/build/components/Developers/get-unique-developer-values.d.ts +1 -1
  39. package/build/components/Distribution/Dist.d.ts +2 -2
  40. package/build/components/Distribution/styles.d.ts +12 -3
  41. package/build/components/Distribution/styles.mjs +2 -2
  42. package/build/components/Distribution/styles.mjs.map +1 -1
  43. package/build/components/Engines/Engines.d.ts +2 -2
  44. package/build/components/Engines/styles.d.ts +9 -2
  45. package/build/components/Engines/styles.mjs +2 -2
  46. package/build/components/Engines/styles.mjs.map +1 -1
  47. package/build/components/ErrorBoundary/ErrorBoundary.d.ts +1 -2
  48. package/build/components/Forbidden/Forbidden.d.ts +1 -1
  49. package/build/components/FundButton/FundButton.d.ts +1 -1
  50. package/build/components/FundButton/FundButton.js +1 -1
  51. package/build/components/FundButton/FundButton.js.map +1 -1
  52. package/build/components/FundButton/FundButton.mjs +1 -1
  53. package/build/components/FundButton/FundButton.mjs.map +1 -1
  54. package/build/components/HeaderInfoDialog/HeaderInfoDialog.d.ts +1 -1
  55. package/build/components/Heading/Heading.d.ts +2 -2
  56. package/build/components/Heading/Heading.mjs +2 -2
  57. package/build/components/Heading/Heading.mjs.map +1 -1
  58. package/build/components/Help/Help.d.ts +1 -1
  59. package/build/components/Help/Help.mjs +3 -3
  60. package/build/components/Help/Help.mjs.map +1 -1
  61. package/build/components/Help/styles.d.ts +3 -1
  62. package/build/components/Icons/DevsIcons/CommonJS.d.ts +1 -1
  63. package/build/components/Icons/DevsIcons/ES6Module.d.ts +1 -1
  64. package/build/components/Icons/DevsIcons/Git.d.ts +1 -1
  65. package/build/components/Icons/DevsIcons/NodeJS.d.ts +1 -1
  66. package/build/components/Icons/DevsIcons/TypeScript.d.ts +1 -1
  67. package/build/components/Icons/DevsIcons/commonjs.svg +4 -0
  68. package/build/components/Icons/DevsIcons/es6module.svg +4 -0
  69. package/build/components/Icons/DevsIcons/git.svg +4 -0
  70. package/build/components/Icons/DevsIcons/nodejs.svg +6 -0
  71. package/build/components/Icons/DevsIcons/typescript.svg +4 -0
  72. package/build/components/Icons/Earth.d.ts +1 -1
  73. package/build/components/Icons/FileBinary.d.ts +1 -1
  74. package/build/components/Icons/Law.d.ts +1 -1
  75. package/build/components/Icons/License.d.ts +1 -1
  76. package/build/components/Icons/Managers/Npm.d.ts +1 -1
  77. package/build/components/Icons/Managers/Pnpm.d.ts +1 -1
  78. package/build/components/Icons/Managers/Yarn.d.ts +1 -1
  79. package/build/components/Icons/Managers/npm.svg +15 -0
  80. package/build/components/Icons/Managers/pnpm.svg +1 -0
  81. package/build/components/Icons/Managers/yarn.svg +1 -0
  82. package/build/components/Icons/SvgIcon.d.ts +2 -2
  83. package/build/components/Icons/Time.d.ts +1 -1
  84. package/build/components/Icons/Version.d.ts +1 -1
  85. package/build/components/Install/Install.d.ts +3 -3
  86. package/build/components/Install/InstallListItem.d.ts +1 -1
  87. package/build/components/Keywords/KeywordListItems.d.ts +1 -1
  88. package/build/components/Keywords/Keywords.d.ts +2 -2
  89. package/build/components/Keywords/Keywords.mjs +2 -2
  90. package/build/components/Keywords/Keywords.mjs.map +1 -1
  91. package/build/components/Label/Label.d.ts +2 -2
  92. package/build/components/Link/Link.d.ts +1 -1
  93. package/build/components/Link/Link.mjs +2 -2
  94. package/build/components/Link/Link.mjs.map +1 -1
  95. package/build/components/LinkExternal/LinkExternal.d.ts +1 -1
  96. package/build/components/Loading/Loading.d.ts +1 -1
  97. package/build/components/Loading/Spinner/Spinner.d.ts +1 -1
  98. package/build/components/Loading/styles.d.ts +7 -7
  99. package/build/components/LoginDialog/LoginDialog.d.ts +1 -1
  100. package/build/components/LoginDialog/LoginDialogCloseButton.d.ts +1 -1
  101. package/build/components/LoginDialog/LoginDialogCloseButton.js +2 -2
  102. package/build/components/LoginDialog/LoginDialogCloseButton.js.map +1 -1
  103. package/build/components/LoginDialog/LoginDialogCloseButton.mjs +2 -2
  104. package/build/components/LoginDialog/LoginDialogCloseButton.mjs.map +1 -1
  105. package/build/components/LoginDialog/LoginDialogForm.d.ts +1 -1
  106. package/build/components/LoginDialog/LoginDialogFormError.d.ts +1 -1
  107. package/build/components/LoginForm/Login.d.ts +2 -2
  108. package/build/components/LoginForm/Login.mjs +2 -2
  109. package/build/components/LoginForm/Login.mjs.map +1 -1
  110. package/build/components/LoginForm/PasswordField.d.ts +3 -3
  111. package/build/components/LoginForm/UsernameField.d.ts +3 -3
  112. package/build/components/LoginForm/styles.d.ts +1 -1
  113. package/build/components/LoginForm/styles.js +2 -2
  114. package/build/components/LoginForm/styles.js.map +1 -1
  115. package/build/components/LoginForm/styles.mjs +2 -2
  116. package/build/components/LoginForm/styles.mjs.map +1 -1
  117. package/build/components/LoginForm/useLoginForm.d.ts +17 -17
  118. package/build/components/Logo/Logo.d.ts +1 -1
  119. package/build/components/Logo/img/logo-black-and-white.svg +1 -0
  120. package/build/components/Logo/img/logo.svg +1 -0
  121. package/build/components/MenuItem/MenuItem.d.ts +2 -2
  122. package/build/components/NoItems/NoItems.d.ts +1 -1
  123. package/build/components/NoItems/NoItems.mjs +2 -2
  124. package/build/components/NoItems/NoItems.mjs.map +1 -1
  125. package/build/components/NotFound/NotFound.d.ts +1 -1
  126. package/build/components/NotFound/img/package.svg +1 -0
  127. package/build/components/Package/Package.d.ts +3 -3
  128. package/build/components/Package/Package.js.map +1 -1
  129. package/build/components/Package/Package.mjs +2 -2
  130. package/build/components/Package/Package.mjs.map +1 -1
  131. package/build/components/Package/styles.d.ts +39 -29
  132. package/build/components/PackageList/PackageList.d.ts +2 -2
  133. package/build/components/Person/Person.d.ts +2 -2
  134. package/build/components/Person/PersonTooltip.d.ts +2 -2
  135. package/build/components/Person/PersonTooltip.mjs +2 -2
  136. package/build/components/Person/PersonTooltip.mjs.map +1 -1
  137. package/build/components/Person/utils.d.ts +1 -1
  138. package/build/components/RawViewer/RawViewer.d.ts +1 -1
  139. package/build/components/Readme/Readme.d.ts +2 -5
  140. package/build/components/Readme/Readme.js +6 -6
  141. package/build/components/Readme/Readme.js.map +1 -1
  142. package/build/components/Readme/Readme.mjs +6 -6
  143. package/build/components/Readme/Readme.mjs.map +1 -1
  144. package/build/components/Readme/github-markdown.css +1592 -0
  145. package/build/components/Readme/hljs-github-dark.css +117 -0
  146. package/build/components/Readme/hljs-github-light.css +117 -0
  147. package/build/components/RegistryInfoDialog/RegistryInfoDialog.d.ts +2 -2
  148. package/build/components/RegistryInfoDialog/styles.d.ts +11 -7
  149. package/build/components/RegistryInfoDialog/types.d.ts +1 -1
  150. package/build/components/Repository/Repository.d.ts +1 -1
  151. package/build/components/Repository/Repository.mjs +2 -2
  152. package/build/components/Repository/Repository.mjs.map +1 -1
  153. package/build/components/Search/AutoComplete/AutoComplete.d.ts +2 -3
  154. package/build/components/Search/AutoComplete/styles.d.ts +3 -3
  155. package/build/components/Search/Search.d.ts +1 -1
  156. package/build/components/Search/SearchItem.d.ts +4 -4
  157. package/build/components/Search/styles.d.ts +10 -6
  158. package/build/components/SettingsMenu/SettingsMenu.d.ts +1 -1
  159. package/build/components/SideBarTitle/SideBarTitle.d.ts +1 -1
  160. package/build/components/UnAuthorized/UnAuthorized.d.ts +1 -1
  161. package/build/components/UpLinks/UpLinks.d.ts +1 -1
  162. package/build/components/UpLinks/UplinkLink.d.ts +1 -1
  163. package/build/components/UpLinks/index.js +1 -1
  164. package/build/components/UpLinks/styles.d.ts +11 -7
  165. package/build/components/UpLinks/styles.mjs +2 -2
  166. package/build/components/UpLinks/styles.mjs.map +1 -1
  167. package/build/components/Versions/HistoryList.d.ts +2 -2
  168. package/build/components/Versions/TagList.d.ts +2 -2
  169. package/build/components/Versions/Versions.d.ts +7 -2
  170. package/build/components/Versions/Versions.mjs +2 -2
  171. package/build/components/Versions/Versions.mjs.map +1 -1
  172. package/build/components/Versions/index.js +1 -1
  173. package/build/components/Versions/styles.d.ts +6 -6
  174. package/build/components/Versions/types.d.ts +1 -1
  175. package/build/configuration.d.ts +1 -1
  176. package/build/hooks/useOnClickOutside.d.ts +1 -1
  177. package/build/index.d.ts +0 -3
  178. package/build/index.js +59 -62
  179. package/build/index.mjs +2 -6
  180. package/build/layouts/Security/Dialog.d.ts +1 -1
  181. package/build/layouts/Version/Version.d.ts +1 -1
  182. package/build/pages/Front/index.js +1 -1
  183. package/build/pages/Version/Version.d.ts +1 -1
  184. package/build/pages/Version/index.js +1 -1
  185. package/build/providers/AppConfigurationProvider/AppConfigurationProvider.d.ts +2 -2
  186. package/build/providers/AuthProvider/AuthProvider.d.ts +2 -3
  187. package/build/providers/AuthProvider/AuthProvider.js +11 -10
  188. package/build/providers/AuthProvider/AuthProvider.js.map +1 -1
  189. package/build/providers/AuthProvider/AuthProvider.mjs +12 -11
  190. package/build/providers/AuthProvider/AuthProvider.mjs.map +1 -1
  191. package/build/providers/AuthProvider/types.d.ts +1 -1
  192. package/build/providers/AuthProvider/utils.d.ts +1 -1
  193. package/build/providers/DownloadProvider/DownloadProvider.d.ts +1 -2
  194. package/build/providers/ManifestsProvider/ManifestsProvider.d.ts +2 -3
  195. package/build/providers/ManifestsProvider/README.md +22 -0
  196. package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.d.ts +1 -2
  197. package/build/providers/SearchProvider/SearchProvider.d.ts +2 -3
  198. package/build/providers/TranslatorProvider/TranslatorProvider.d.ts +2 -3
  199. package/build/providers/VersionProvider/README.md +22 -0
  200. package/build/providers/VersionProvider/VersionProvider.d.ts +2 -2
  201. package/build/routes/SecurityRoutes.d.ts +1 -1
  202. package/build/sections/Detail/ContainerContent.d.ts +1 -1
  203. package/build/sections/Detail/Detail.d.ts +1 -1
  204. package/build/sections/Detail/ReadmeSection.d.ts +1 -1
  205. package/build/sections/Detail/Tabs.d.ts +1 -1
  206. package/build/sections/Footer/Footer.d.ts +1 -1
  207. package/build/sections/Footer/styles.d.ts +17 -17
  208. package/build/sections/Header/Header.d.ts +1 -1
  209. package/build/sections/Header/HeaderGreetings.d.ts +1 -1
  210. package/build/sections/Header/HeaderLeft.d.ts +1 -1
  211. package/build/sections/Header/HeaderMenu.d.ts +1 -2
  212. package/build/sections/Header/HeaderMenu.js +10 -11
  213. package/build/sections/Header/HeaderMenu.js.map +1 -1
  214. package/build/sections/Header/HeaderMenu.mjs +10 -11
  215. package/build/sections/Header/HeaderMenu.mjs.map +1 -1
  216. package/build/sections/Header/HeaderRight.d.ts +1 -1
  217. package/build/sections/Header/HeaderSettingsDialog.d.ts +1 -1
  218. package/build/sections/Header/HeaderToolTip.d.ts +2 -2
  219. package/build/sections/Header/HeaderToolTipIcon.d.ts +1 -1
  220. package/build/sections/Header/LanguageSwitch.d.ts +12 -3
  221. package/build/sections/Header/LanguageSwitch.mjs +2 -2
  222. package/build/sections/Header/LanguageSwitch.mjs.map +1 -1
  223. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +7 -8
  224. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs +5 -5
  225. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs.map +1 -1
  226. package/build/sections/Header/RegistryInfoContent/styles.d.ts +7 -7
  227. package/build/sections/Header/styles.d.ts +33 -19
  228. package/build/sections/Home/Home.d.ts +1 -1
  229. package/build/sections/Security/AddUser.d.ts +1 -1
  230. package/build/sections/Security/AddUser.js +0 -1
  231. package/build/sections/Security/AddUser.js.map +1 -1
  232. package/build/sections/Security/AddUser.mjs +0 -1
  233. package/build/sections/Security/AddUser.mjs.map +1 -1
  234. package/build/sections/Security/ChangePassword.d.ts +1 -1
  235. package/build/sections/Security/ChangePassword.js +0 -1
  236. package/build/sections/Security/ChangePassword.js.map +1 -1
  237. package/build/sections/Security/ChangePassword.mjs +0 -1
  238. package/build/sections/Security/ChangePassword.mjs.map +1 -1
  239. package/build/sections/Security/Login.d.ts +1 -1
  240. package/build/sections/Security/Login.js +4 -6
  241. package/build/sections/Security/Login.js.map +1 -1
  242. package/build/sections/Security/Login.mjs +5 -7
  243. package/build/sections/Security/Login.mjs.map +1 -1
  244. package/build/sections/Security/Success.d.ts +1 -1
  245. package/build/sections/Security/styles.d.ts +5 -3
  246. package/build/sections/Security/styles.js +1 -1
  247. package/build/sections/Security/styles.js.map +1 -1
  248. package/build/sections/Security/styles.mjs +1 -1
  249. package/build/sections/Security/styles.mjs.map +1 -1
  250. package/build/sections/SideBar/Sidebar.d.ts +1 -1
  251. package/build/types/index.d.ts +1 -1
  252. package/build/types/packageMeta.d.ts +1 -1
  253. package/build/ui-components.css +941 -313
  254. package/build/utils/cli-utils.d.ts +1 -1
  255. package/build/utils/loadable.d.ts +1 -1
  256. package/build/utils/utils.d.ts +2 -2
  257. package/package.json +7 -8
  258. package/build/pages/Security/index.js +0 -4
  259. package/build/pages/Security/index.mjs +0 -4
  260. package/build/test/i18n-config.d.ts +0 -2
  261. package/build/test/test-react-testing-library.d.ts +0 -23
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const License: {
3
3
  ({ ref, ...props }: {
4
4
  [x: string]: any;
@@ -1,2 +1,2 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare function Npm(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare function Pnpm(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare function Yarn(): React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
2
+ viewBox="0 0 256 256" enable-background="new 0 0 256 256" xml:space="preserve">
3
+ <polygon fill="#CC0000" points="23,65.6 130,3.3 237,65.6 237,190.1 130,252.4 23,190.1 "/>
4
+ <polygon fill="#FFFFFF" points="133,127.8 232.5,70.5 236.5,186 133,248.5 "/>
5
+ <g>
6
+ <path fill="#CC0000" d="M234,67l-0.3,122.4l-103.8,60.2l-0.5-120.3L234,67z M146.7,139.3l0.3,80.4l34.5-20.1l-0.1-60.6l17.4-10.3
7
+ l0,60.8l17.4-10.2l0.1-81.4L146.7,139.3z"/>
8
+ </g>
9
+ <path fill="#910505" d="M136.8,4.2c-4.8-2.7-12.5-2.7-17.3,0L24.7,58.7c-4.8,2.7-8.6,9.5-8.6,14.9v109c0,5.5,3.9,12.2,8.6,14.9
10
+ l94.8,54.5c4.8,2.7,12.5,2.7,17.3,0l94.8-54.5c4.8-2.7,8.6-9.5,8.6-14.9v-109c0-5.5-3.9-12.2-8.6-14.9L136.8,4.2z M220.9,61.2
11
+ c4.8,2.7,4.8,7.2,0,9.9l-83,47.7c-4.8,2.7-12.5,2.7-17.3,0L36.4,70.4c-4.8-2.7-4.8-7.2,0-9.9l83-47.7c4.8-2.7,12.5-2.7,17.3,0
12
+ L220.9,61.2z M23.5,81.5c0-5.5,3.9-7.7,8.6-5l84.9,48.8c4.8,2.7,8.6,9.5,8.6,14.9V237c0,5.5-3.9,7.7-8.6,5l-84.9-48.8
13
+ c-4.8-2.7-8.6-9.5-8.6-14.9V81.5z M141.8,240.5c-4.8,2.7-8.6,0.5-8.6-5v-95.3c0-5.5,3.9-12.2,8.6-14.9L224.2,78
14
+ c4.8-2.7,8.6-0.5,8.6,5v95.3c0,5.5-3.9,12.2-8.6,14.9L141.8,240.5z"/>
15
+ </svg>
@@ -0,0 +1 @@
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid meet" viewBox="66.09157809474142 33.5 184.5 184.49999999999997" width="180" height="180"><defs><path d="M67.59 35L247.59 35L247.59 215L67.59 215L67.59 35Z" id="b2JZZcA3fT"></path><path d="M237.6 95L187.6 95L187.6 45L237.6 45L237.6 95Z" id="bj0tb0Y8q"></path><path d="M182.59 95L132.59 95L132.59 45L182.59 45L182.59 95Z" id="dkDSTzPj3"></path><path d="M127.59 95L77.59 95L77.59 45L127.59 45L127.59 95Z" id="a4vNdcNLpF"></path><path d="M237.6 150L187.6 150L187.6 100L237.6 100L237.6 150Z" id="h2t4Zj1jSU"></path><path d="M182.59 150L132.59 150L132.59 100L182.59 100L182.59 150Z" id="b4t5pngwvT"></path><path d="M182.59 205L132.59 205L132.59 155L182.59 155L182.59 205Z" id="b9s1gd5m2"></path><path d="M237.6 205L187.6 205L187.6 155L237.6 155L237.6 205Z" id="cmt9WLvz7"></path><path d="M127.59 205L77.59 205L77.59 155L127.59 155L127.59 205Z" id="bJUNqgFSg"></path></defs><g><g><use xlink:href="#b2JZZcA3fT" opacity="1" fill="#ffffff" fill-opacity="1"></use></g><g><use xlink:href="#bj0tb0Y8q" opacity="1" fill="#f9ad00" fill-opacity="1"></use></g><g><use xlink:href="#dkDSTzPj3" opacity="1" fill="#f9ad00" fill-opacity="1"></use></g><g><use xlink:href="#a4vNdcNLpF" opacity="1" fill="#f9ad00" fill-opacity="1"></use></g><g><use xlink:href="#h2t4Zj1jSU" opacity="1" fill="#f9ad00" fill-opacity="1"></use></g><g><use xlink:href="#b4t5pngwvT" opacity="1" fill="#4e4e4e" fill-opacity="1"></use></g><g><use xlink:href="#b9s1gd5m2" opacity="1" fill="#4e4e4e" fill-opacity="1"></use></g><g><use xlink:href="#cmt9WLvz7" opacity="1" fill="#4e4e4e" fill-opacity="1"></use></g><g><use xlink:href="#bJUNqgFSg" opacity="1" fill="#4e4e4e" fill-opacity="1"></use></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 518 518"><style>.st0{fill:#2c8ebb}.st1{fill:#fff}</style><path class="st0" d="M259 0c143 0 259 116 259 259S402 518 259 518 0 402 0 259 116 0 259 0z"/><path class="st1" d="M435.2 337.5c-1.8-14.2-13.8-24-29.2-23.8-23 .3-42.3 12.2-55.1 20.1-5 3.1-9.3 5.4-13 7.1.8-11.6.1-26.8-5.9-43.5-7.3-20-17.1-32.3-24.1-39.4 8.1-11.8 19.2-29 24.4-55.6 4.5-22.7 3.1-58-7.2-77.8-2.1-4-5.6-6.9-10-8.1-1.8-.5-5.2-1.5-11.9.4C293.1 96 289.6 93.8 286.9 92c-5.6-3.6-12.2-4.4-18.4-2.1-8.3 3-15.4 11-22.1 25.2-1 2.1-1.9 4.1-2.7 6.1-12.7.9-32.7 5.5-49.6 23.8-2.1 2.3-6.2 4-10.5 5.6h.1c-8.8 3.1-12.8 10.3-17.7 23.3-6.8 18.2.2 36.1 7.1 47.7-9.4 8.4-21.9 21.8-28.5 37.5-8.2 19.4-9.1 38.4-8.8 48.7-7 7.4-17.8 21.3-19 36.9-1.6 21.8 6.3 36.6 9.8 42 1 1.6 2.1 2.9 3.3 4.2-.4 2.7-.5 5.6.1 8.6 1.3 7 5.7 12.7 12.4 16.3 13.2 7 31.6 10 45.8 2.9 5.1 5.4 14.4 10.6 31.3 10.6h1c4.3 0 58.9-2.9 74.8-6.8 7.1-1.7 12-4.7 15.2-7.4 10.2-3.2 38.4-12.8 65-30 18.8-12.2 25.3-14.8 39.3-18.2 13.6-3.3 22.1-15.7 20.4-29.4zm-23.8 14.7c-16 3.8-24.1 7.3-43.9 20.2-30.9 20-64.7 29.3-64.7 29.3s-2.8 4.2-10.9 6.1c-14 3.4-66.7 6.3-71.5 6.4-12.9.1-20.8-3.3-23-8.6-6.7-16 9.6-23 9.6-23s-3.6-2.2-5.7-4.2c-1.9-1.9-3.9-5.7-4.5-4.3-2.5 6.1-3.8 21-10.5 27.7-9.2 9.3-26.6 6.2-36.9.8-11.3-6 .8-20.1.8-20.1s-6.1 3.6-11-3.8c-4.4-6.8-8.5-18.4-7.4-32.7 1.2-16.3 19.4-32.1 19.4-32.1s-3.2-24.1 7.3-48.8c9.5-22.5 35.1-40.6 35.1-40.6s-21.5-23.8-13.5-45.2c5.2-14 7.3-13.9 9-14.5 6-2.3 11.8-4.8 16.1-9.5 21.5-23.2 48.9-18.8 48.9-18.8s13-39.5 25-31.8c3.7 2.4 17 32 17 32s14.2-8.3 15.8-5.2c8.6 16.7 9.6 48.6 5.8 68-6.4 32-22.4 49.2-28.8 60-1.5 2.5 17.2 10.4 29 43.1 10.9 29.9 1.2 55 2.9 57.8.3.5.4.7.4.7s12.5 1 37.6-14.5c13.4-8.3 29.3-17.6 47.4-17.8 17.5-.3 18.4 20.2 5.2 23.4z"/></svg>
@@ -1,5 +1,5 @@
1
- import type { SvgIconProps } from '@mui/material/SvgIcon';
2
- import React from 'react';
1
+ import { SvgIconProps } from '@mui/material/SvgIcon';
2
+ import { default as React } from 'react';
3
3
  type Size = 'sm' | 'md';
4
4
  type Props = Omit<SvgIconProps, 'color' | 'fontsize' | 'name'> & {
5
5
  size?: Size;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SvgIcon } from './SvgIcon';
3
3
  declare const Time: {
4
4
  ({ ref, ...props }: React.ComponentProps<typeof SvgIcon>): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SvgIcon } from './SvgIcon';
3
3
  declare const Version: {
4
4
  ({ ref, ...props }: React.ComponentProps<typeof SvgIcon>): React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import type { TemplateUIOptions } from '@verdaccio/types';
3
- import type { PackageMetaInterface } from '../../types/packageMeta';
1
+ import { default as React } from 'react';
2
+ import { TemplateUIOptions } from '@verdaccio/types';
3
+ import { PackageMetaInterface } from '../../types/packageMeta';
4
4
  export type Props = {
5
5
  packageMeta: PackageMetaInterface;
6
6
  packageName: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare enum DependencyManager {
3
3
  NPM = "npm",
4
4
  YARN = "yarn",
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const KeywordListItems: React.FC<{
3
3
  keywords: undefined | string | string[];
4
4
  }>;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import type { PackageMetaInterface } from '../../types/packageMeta';
1
+ import { default as React } from 'react';
2
+ import { PackageMetaInterface } from '../../types/packageMeta';
3
3
  declare const Keywords: React.FC<{
4
4
  packageMeta: PackageMetaInterface;
5
5
  }>;
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
4
4
  import { useTheme } from "@mui/material/styles";
5
5
  import { useTranslation } from "react-i18next";
6
6
  import List from "@mui/material/List";
7
- import MaterialUITypography from "@mui/material/Typography";
7
+ import Typography from "@mui/material/Typography";
8
8
  //#region src/components/Keywords/Keywords.tsx
9
9
  var Keywords = ({ packageMeta }) => {
10
10
  const { t } = useTranslation();
@@ -12,7 +12,7 @@ var Keywords = ({ packageMeta }) => {
12
12
  if (!packageMeta?.latest?.keywords) return null;
13
13
  return /* @__PURE__ */ jsx(List, {
14
14
  "data-testid": "keyword-list",
15
- subheader: /* @__PURE__ */ jsx(MaterialUITypography, {
15
+ subheader: /* @__PURE__ */ jsx(Typography, {
16
16
  sx: {
17
17
  fontWeight: theme.fontWeight.bold,
18
18
  textTransform: "capitalize"
@@ -1 +1 @@
1
- {"version":3,"file":"Keywords.mjs","names":[],"sources":["../../../src/components/Keywords/Keywords.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport Typography from '@mui/material/Typography';\nimport { useTheme } from '@mui/material/styles';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport KeywordListItems from './KeywordListItems';\n\nconst Keywords: React.FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n const theme: Theme = useTheme();\n\n if (!packageMeta?.latest?.keywords) {\n return null;\n }\n\n return (\n <List\n data-testid=\"keyword-list\"\n subheader={\n <Typography\n sx={{ fontWeight: theme.fontWeight.bold, textTransform: 'capitalize' }}\n variant=\"subtitle1\"\n >\n {t('sidebar.keywords.title')}\n </Typography>\n }\n >\n <KeywordListItems keywords={packageMeta?.latest?.keywords} />\n </List>\n );\n};\n\nexport default Keywords;\n"],"mappings":";;;;;;;;AAUA,IAAM,YAA6D,EAAE,kBAAkB;CACrF,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,QAAe,UAAU;AAE/B,KAAI,CAAC,aAAa,QAAQ,SACxB,QAAO;AAGT,QACE,oBAAC,MAAD;EACE,eAAY;EACZ,WACE,oBAAC,sBAAD;GACE,IAAI;IAAE,YAAY,MAAM,WAAW;IAAM,eAAe;IAAc;GACtE,SAAQ;aAEP,EAAE,yBAAyB;GACjB,CAAA;YAGf,oBAAC,kBAAD,EAAkB,UAAU,aAAa,QAAQ,UAAY,CAAA;EACxD,CAAA"}
1
+ {"version":3,"file":"Keywords.mjs","names":[],"sources":["../../../src/components/Keywords/Keywords.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport Typography from '@mui/material/Typography';\nimport { useTheme } from '@mui/material/styles';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport KeywordListItems from './KeywordListItems';\n\nconst Keywords: React.FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n const theme: Theme = useTheme();\n\n if (!packageMeta?.latest?.keywords) {\n return null;\n }\n\n return (\n <List\n data-testid=\"keyword-list\"\n subheader={\n <Typography\n sx={{ fontWeight: theme.fontWeight.bold, textTransform: 'capitalize' }}\n variant=\"subtitle1\"\n >\n {t('sidebar.keywords.title')}\n </Typography>\n }\n >\n <KeywordListItems keywords={packageMeta?.latest?.keywords} />\n </List>\n );\n};\n\nexport default Keywords;\n"],"mappings":";;;;;;;;AAUA,IAAM,YAA6D,EAAE,kBAAkB;CACrF,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,QAAe,UAAU;AAE/B,KAAI,CAAC,aAAa,QAAQ,SACxB,QAAO;AAGT,QACE,oBAAC,MAAD;EACE,eAAY;EACZ,WACE,oBAAC,YAAD;GACE,IAAI;IAAE,YAAY,MAAM,WAAW;IAAM,eAAe;IAAc;GACtE,SAAQ;aAEP,EAAE,yBAAyB;GACjB,CAAA;YAGf,oBAAC,kBAAD,EAAkB,UAAU,aAAa,QAAQ,UAAY,CAAA;EACxD,CAAA"}
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import type { FontWeight } from '../../';
1
+ import { default as React } from 'react';
2
+ import { FontWeight } from '../../';
3
3
  interface Props {
4
4
  text: string;
5
5
  capitalize?: boolean;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const Link: ({ ref, to, children, variant, className, onClick, }: any & {
3
3
  ref?: React.RefObject<HTMLAnchorElement | null>;
4
4
  }) => React.JSX.Element;
@@ -2,7 +2,7 @@ import styled from "@emotion/styled";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Link } from "react-router";
5
- import MaterialUITypography from "@mui/material/Typography";
5
+ import Typography from "@mui/material/Typography";
6
6
  //#region src/components/Link/Link.tsx
7
7
  var CustomRouterLink = styled(Link)`
8
8
  text-decoration: none;
@@ -17,7 +17,7 @@ var Link$1 = function LinkFunction({ ref, to, children, variant, className, onCl
17
17
  onClick,
18
18
  ref,
19
19
  to,
20
- children: /* @__PURE__ */ jsx(MaterialUITypography, {
20
+ children: /* @__PURE__ */ jsx(Typography, {
21
21
  color: "primary",
22
22
  variant,
23
23
  children
@@ -1 +1 @@
1
- {"version":3,"file":"Link.mjs","names":[],"sources":["../../../src/components/Link/Link.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { Link as RouterLink } from 'react-router';\n\nconst CustomRouterLink = styled(RouterLink)`\n text-decoration: none;\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n`;\n\nconst Link = function LinkFunction({\n ref,\n to,\n children,\n variant,\n className,\n onClick,\n}: any & { ref?: React.RefObject<HTMLAnchorElement | null> }) {\n return (\n <CustomRouterLink className={className} onClick={onClick} ref={ref} to={to}>\n <Typography color=\"primary\" variant={variant}>\n {children}\n </Typography>\n </CustomRouterLink>\n );\n};\n\nexport default Link;\n"],"mappings":";;;;;;AAKA,IAAM,mBAAmB,OAAO,KAAW;;;;;;;AAQ3C,IAAM,SAAO,SAAS,aAAa,EACjC,KACA,IACA,UACA,SACA,WACA,WAC4D;AAC5D,QACE,oBAAC,kBAAD;EAA6B;EAAoB;EAAc;EAAS;YACtE,oBAAC,sBAAD;GAAY,OAAM;GAAmB;GAClC;GACU,CAAA;EACI,CAAA"}
1
+ {"version":3,"file":"Link.mjs","names":[],"sources":["../../../src/components/Link/Link.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { Link as RouterLink } from 'react-router';\n\nconst CustomRouterLink = styled(RouterLink)`\n text-decoration: none;\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n`;\n\nconst Link = function LinkFunction({\n ref,\n to,\n children,\n variant,\n className,\n onClick,\n}: any & { ref?: React.RefObject<HTMLAnchorElement | null> }) {\n return (\n <CustomRouterLink className={className} onClick={onClick} ref={ref} to={to}>\n <Typography color=\"primary\" variant={variant}>\n {children}\n </Typography>\n </CustomRouterLink>\n );\n};\n\nexport default Link;\n"],"mappings":";;;;;;AAKA,IAAM,mBAAmB,OAAO,KAAW;;;;;;;AAQ3C,IAAM,SAAO,SAAS,aAAa,EACjC,KACA,IACA,UACA,SACA,WACA,WAC4D;AAC5D,QACE,oBAAC,kBAAD;EAA6B;EAAoB;EAAc;EAAS;YACtE,oBAAC,YAAD;GAAY,OAAM;GAAmB;GAClC;GACU,CAAA;EACI,CAAA"}
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const LinkExternal: ({ ref, ...props }: any & {
3
3
  ref?: React.RefObject<HTMLAnchorElement | null>;
4
4
  }) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const Loading: React.FC;
3
3
  export default Loading;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface Props {
3
3
  size?: number;
4
4
  centered?: boolean;
@@ -1,11 +1,11 @@
1
- import type { Theme } from '../../';
2
- export declare const Wrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
1
+ import { Theme } from '../../';
2
+ export declare const Wrapper: import('@emotion/styled').StyledComponent<{
3
+ theme?: import('@emotion/react').Theme;
4
4
  as?: React.ElementType;
5
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const Badge: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme;
5
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const Badge: import('@emotion/styled').StyledComponent<{
7
+ theme?: import('@emotion/react').Theme;
8
8
  as?: React.ElementType;
9
9
  } & {
10
10
  theme?: Theme;
11
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface Props {
3
3
  open?: boolean;
4
4
  onClose: () => void;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface Props {
3
3
  onClose: () => void;
4
4
  }
@@ -14,8 +14,8 @@ let react_i18next = require("react-i18next");
14
14
  //#region src/components/LoginDialog/LoginDialogCloseButton.tsx
15
15
  var StyledIconButton = (0, _emotion_styled.default)(_mui_material_IconButton.default)(({ theme }) => ({
16
16
  position: "absolute",
17
- right: theme.spacing() / 2,
18
- top: theme.spacing() / 2,
17
+ right: theme.spacing(.5),
18
+ top: theme.spacing(.5),
19
19
  color: theme.palette.grey[500],
20
20
  zIndex: 99
21
21
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"LoginDialogCloseButton.js","names":[],"sources":["../../../src/components/LoginDialog/LoginDialogCloseButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport CloseIcon from '@mui/icons-material/Close';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport IconButton from '@mui/material/IconButton';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\n\nconst StyledIconButton = styled(IconButton)<{ theme?: Theme }>(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing() / 2,\n top: theme.spacing() / 2,\n color: theme.palette.grey[500],\n zIndex: 99,\n}));\n\ninterface Props {\n onClose: () => void;\n}\n\nconst LoginDialogCloseButton: React.FC<Props> = ({ onClose }) => {\n const { t } = useTranslation();\n return (\n <DialogTitle>\n <StyledIconButton data-testid=\"close-login-dialog-button\" onClick={onClose}>\n <CloseIcon titleAccess={t('button.close')} />\n </StyledIconButton>\n </DialogTitle>\n );\n};\n\nexport default LoginDialogCloseButton;\n"],"mappings":";;;;;;;;;;;;;;AASA,IAAM,oBAAA,GAAA,gBAAA,SAA0B,yBAAA,QAAW,EAAqB,EAAE,aAAa;CAC7E,UAAU;CACV,OAAO,MAAM,SAAS,GAAG;CACzB,KAAK,MAAM,SAAS,GAAG;CACvB,OAAO,MAAM,QAAQ,KAAK;CAC1B,QAAQ;CACT,EAAE;AAMH,IAAM,0BAA2C,EAAE,cAAc;CAC/D,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;AAC9B,QACE,iBAAA,GAAA,kBAAA,KAAC,0BAAA,SAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAAC,kBAAD;EAAkB,eAAY;EAA4B,SAAS;YACjE,iBAAA,GAAA,kBAAA,KAAC,0BAAA,SAAD,EAAW,aAAa,EAAE,eAAe,EAAI,CAAA;EAC5B,CAAA,EACP,CAAA"}
1
+ {"version":3,"file":"LoginDialogCloseButton.js","names":[],"sources":["../../../src/components/LoginDialog/LoginDialogCloseButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport CloseIcon from '@mui/icons-material/Close';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport IconButton from '@mui/material/IconButton';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\n\nconst StyledIconButton = styled(IconButton)<{ theme?: Theme }>(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing(0.5),\n top: theme.spacing(0.5),\n color: theme.palette.grey[500],\n zIndex: 99,\n}));\n\ninterface Props {\n onClose: () => void;\n}\n\nconst LoginDialogCloseButton: React.FC<Props> = ({ onClose }) => {\n const { t } = useTranslation();\n return (\n <DialogTitle>\n <StyledIconButton data-testid=\"close-login-dialog-button\" onClick={onClose}>\n <CloseIcon titleAccess={t('button.close')} />\n </StyledIconButton>\n </DialogTitle>\n );\n};\n\nexport default LoginDialogCloseButton;\n"],"mappings":";;;;;;;;;;;;;;AASA,IAAM,oBAAA,GAAA,gBAAA,SAA0B,yBAAA,QAAW,EAAqB,EAAE,aAAa;CAC7E,UAAU;CACV,OAAO,MAAM,QAAQ,GAAI;CACzB,KAAK,MAAM,QAAQ,GAAI;CACvB,OAAO,MAAM,QAAQ,KAAK;CAC1B,QAAQ;CACT,EAAE;AAMH,IAAM,0BAA2C,EAAE,cAAc;CAC/D,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;AAC9B,QACE,iBAAA,GAAA,kBAAA,KAAC,0BAAA,SAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAAC,kBAAD;EAAkB,eAAY;EAA4B,SAAS;YACjE,iBAAA,GAAA,kBAAA,KAAC,0BAAA,SAAD,EAAW,aAAa,EAAE,eAAe,EAAI,CAAA;EAC5B,CAAA,EACP,CAAA"}
@@ -8,8 +8,8 @@ import { useTranslation } from "react-i18next";
8
8
  //#region src/components/LoginDialog/LoginDialogCloseButton.tsx
9
9
  var StyledIconButton = styled(IconButton)(({ theme }) => ({
10
10
  position: "absolute",
11
- right: theme.spacing() / 2,
12
- top: theme.spacing() / 2,
11
+ right: theme.spacing(.5),
12
+ top: theme.spacing(.5),
13
13
  color: theme.palette.grey[500],
14
14
  zIndex: 99
15
15
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"LoginDialogCloseButton.mjs","names":[],"sources":["../../../src/components/LoginDialog/LoginDialogCloseButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport CloseIcon from '@mui/icons-material/Close';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport IconButton from '@mui/material/IconButton';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\n\nconst StyledIconButton = styled(IconButton)<{ theme?: Theme }>(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing() / 2,\n top: theme.spacing() / 2,\n color: theme.palette.grey[500],\n zIndex: 99,\n}));\n\ninterface Props {\n onClose: () => void;\n}\n\nconst LoginDialogCloseButton: React.FC<Props> = ({ onClose }) => {\n const { t } = useTranslation();\n return (\n <DialogTitle>\n <StyledIconButton data-testid=\"close-login-dialog-button\" onClick={onClose}>\n <CloseIcon titleAccess={t('button.close')} />\n </StyledIconButton>\n </DialogTitle>\n );\n};\n\nexport default LoginDialogCloseButton;\n"],"mappings":";;;;;;;;AASA,IAAM,mBAAmB,OAAO,WAAW,EAAqB,EAAE,aAAa;CAC7E,UAAU;CACV,OAAO,MAAM,SAAS,GAAG;CACzB,KAAK,MAAM,SAAS,GAAG;CACvB,OAAO,MAAM,QAAQ,KAAK;CAC1B,QAAQ;CACT,EAAE;AAMH,IAAM,0BAA2C,EAAE,cAAc;CAC/D,MAAM,EAAE,MAAM,gBAAgB;AAC9B,QACE,oBAAC,aAAD,EAAA,UACE,oBAAC,kBAAD;EAAkB,eAAY;EAA4B,SAAS;YACjE,oBAAC,WAAD,EAAW,aAAa,EAAE,eAAe,EAAI,CAAA;EAC5B,CAAA,EACP,CAAA"}
1
+ {"version":3,"file":"LoginDialogCloseButton.mjs","names":[],"sources":["../../../src/components/LoginDialog/LoginDialogCloseButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport CloseIcon from '@mui/icons-material/Close';\nimport DialogTitle from '@mui/material/DialogTitle';\nimport IconButton from '@mui/material/IconButton';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\n\nconst StyledIconButton = styled(IconButton)<{ theme?: Theme }>(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing(0.5),\n top: theme.spacing(0.5),\n color: theme.palette.grey[500],\n zIndex: 99,\n}));\n\ninterface Props {\n onClose: () => void;\n}\n\nconst LoginDialogCloseButton: React.FC<Props> = ({ onClose }) => {\n const { t } = useTranslation();\n return (\n <DialogTitle>\n <StyledIconButton data-testid=\"close-login-dialog-button\" onClick={onClose}>\n <CloseIcon titleAccess={t('button.close')} />\n </StyledIconButton>\n </DialogTitle>\n );\n};\n\nexport default LoginDialogCloseButton;\n"],"mappings":";;;;;;;;AASA,IAAM,mBAAmB,OAAO,WAAW,EAAqB,EAAE,aAAa;CAC7E,UAAU;CACV,OAAO,MAAM,QAAQ,GAAI;CACzB,KAAK,MAAM,QAAQ,GAAI;CACvB,OAAO,MAAM,QAAQ,KAAK;CAC1B,QAAQ;CACT,EAAE;AAMH,IAAM,0BAA2C,EAAE,cAAc;CAC/D,MAAM,EAAE,MAAM,gBAAgB;AAC9B,QACE,oBAAC,aAAD,EAAA,UACE,oBAAC,kBAAD;EAAkB,eAAY;EAA4B,SAAS;YACjE,oBAAC,WAAD,EAAW,aAAa,EAAE,eAAe,EAAI,CAAA;EAC5B,CAAA,EACP,CAAA"}
@@ -1,3 +1,3 @@
1
- import type { FC } from 'react';
1
+ import { FC } from 'react';
2
2
  declare const LoginDialogForm: FC;
3
3
  export default LoginDialogForm;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface Props {
3
3
  error: any;
4
4
  }
@@ -1,5 +1,5 @@
1
- import type { FC } from 'react';
2
- import type { FieldErrors, UseFormHandleSubmit, UseFormRegister } from 'react-hook-form';
1
+ import { FC } from 'react';
2
+ import { FieldErrors, UseFormHandleSubmit, UseFormRegister } from 'react-hook-form';
3
3
  export interface LoginFormValues {
4
4
  username: string;
5
5
  password: string;
@@ -9,7 +9,7 @@ import "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import { useTranslation } from "react-i18next";
11
11
  import Link from "@mui/material/Link";
12
- import MaterialUITypography from "@mui/material/Typography";
12
+ import Typography from "@mui/material/Typography";
13
13
  import Button from "@mui/material/Button";
14
14
  //#region src/components/LoginForm/Login.tsx
15
15
  var StyledForm = styled("form")(({ theme }) => ({ marginTop: theme.spacing(1) }));
@@ -41,7 +41,7 @@ var LoginForm = ({ register, handleSubmit, onSubmit, errors, isValid }) => {
41
41
  variant: "contained",
42
42
  children: t("button.login")
43
43
  }),
44
- changePasswordEnabled && /* @__PURE__ */ jsx(MaterialUITypography, {
44
+ changePasswordEnabled && /* @__PURE__ */ jsx(Typography, {
45
45
  align: "center",
46
46
  sx: {
47
47
  mt: 2,
@@ -1 +1 @@
1
- {"version":3,"file":"Login.mjs","names":[],"sources":["../../../src/components/LoginForm/Login.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Button from '@mui/material/Button';\nimport Link from '@mui/material/Link';\nimport Typography from '@mui/material/Typography';\nimport type { FC } from 'react';\nimport React from 'react';\nimport type { FieldErrors, UseFormHandleSubmit, UseFormRegister } from 'react-hook-form';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\nimport { getConfiguration } from '../../configuration';\nimport { Route } from '../../utils';\nimport LoginDialogFormError from '../LoginDialog/LoginDialogFormError';\nimport PasswordField from './PasswordField';\nimport UsernameField from './UsernameField';\n\nconst StyledForm = styled('form')<{ theme?: Theme }>(({ theme }) => ({\n marginTop: theme.spacing(1),\n}));\n\nconst StyledButton = styled(Button)<{ theme?: Theme }>(({ theme }) => ({\n margin: theme.spacing(3, 0, 2),\n}));\n\nexport interface LoginFormValues {\n username: string;\n password: string;\n}\n\ninterface Props {\n register: UseFormRegister<LoginFormValues>;\n handleSubmit: UseFormHandleSubmit<LoginFormValues>;\n onSubmit: (data: LoginFormValues) => void;\n errors: FieldErrors<LoginFormValues>;\n isValid: boolean;\n}\n\nconst LoginForm: FC<Props> = ({ register, handleSubmit, onSubmit, errors, isValid }) => {\n const { t } = useTranslation();\n const configuration = getConfiguration();\n const changePasswordEnabled = configuration?.flags?.changePassword;\n\n return (\n <StyledForm noValidate={true} onSubmit={handleSubmit(onSubmit)}>\n <UsernameField errors={errors} register={register} />\n <PasswordField errors={errors} register={register} />\n\n {errors.root && <LoginDialogFormError error={errors.root} />}\n\n <StyledButton\n color=\"primary\"\n data-testid=\"login-dialog-form-login-button\"\n disabled={!isValid}\n fullWidth={true}\n id=\"login--dialog-button-submit\"\n size=\"large\"\n type=\"submit\"\n variant=\"contained\"\n >\n {t('button.login')}\n </StyledButton>\n {changePasswordEnabled && (\n <Typography align=\"center\" sx={{ mt: 2, fontSize: 12 }} variant=\"body2\">\n <Link href={Route.CHANGE_PASSWORD} sx={{ ml: 1 }}>\n {t('security.changePassword.title')}\n </Link>\n </Typography>\n )}\n </StyledForm>\n );\n};\n\nexport default LoginForm;\n"],"mappings":";;;;;;;;;;;;;;AAgBA,IAAM,aAAa,OAAO,OAAO,EAAqB,EAAE,aAAa,EACnE,WAAW,MAAM,QAAQ,EAAE,EAC5B,EAAE;AAEH,IAAM,eAAe,OAAO,OAAO,EAAqB,EAAE,aAAa,EACrE,QAAQ,MAAM,QAAQ,GAAG,GAAG,EAAE,EAC/B,EAAE;AAeH,IAAM,aAAwB,EAAE,UAAU,cAAc,UAAU,QAAQ,cAAc;CACtF,MAAM,EAAE,MAAM,gBAAgB;CAE9B,MAAM,wBADgB,kBAAkB,EACK,OAAO;AAEpD,QACE,qBAAC,YAAD;EAAY,YAAY;EAAM,UAAU,aAAa,SAAS;YAA9D;GACE,oBAAC,eAAD;IAAuB;IAAkB;IAAY,CAAA;GACrD,oBAAC,eAAD;IAAuB;IAAkB;IAAY,CAAA;GAEpD,OAAO,QAAQ,oBAAC,sBAAD,EAAsB,OAAO,OAAO,MAAQ,CAAA;GAE5D,oBAAC,cAAD;IACE,OAAM;IACN,eAAY;IACZ,UAAU,CAAC;IACX,WAAW;IACX,IAAG;IACH,MAAK;IACL,MAAK;IACL,SAAQ;cAEP,EAAE,eAAe;IACL,CAAA;GACd,yBACC,oBAAC,sBAAD;IAAY,OAAM;IAAS,IAAI;KAAE,IAAI;KAAG,UAAU;KAAI;IAAE,SAAQ;cAC9D,oBAAC,MAAD;KAAM,MAAM,MAAM;KAAiB,IAAI,EAAE,IAAI,GAAG;eAC7C,EAAE,gCAAgC;KAC9B,CAAA;IACI,CAAA;GAEJ"}
1
+ {"version":3,"file":"Login.mjs","names":[],"sources":["../../../src/components/LoginForm/Login.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Button from '@mui/material/Button';\nimport Link from '@mui/material/Link';\nimport Typography from '@mui/material/Typography';\nimport type { FC } from 'react';\nimport React from 'react';\nimport type { FieldErrors, UseFormHandleSubmit, UseFormRegister } from 'react-hook-form';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\nimport { getConfiguration } from '../../configuration';\nimport { Route } from '../../utils';\nimport LoginDialogFormError from '../LoginDialog/LoginDialogFormError';\nimport PasswordField from './PasswordField';\nimport UsernameField from './UsernameField';\n\nconst StyledForm = styled('form')<{ theme?: Theme }>(({ theme }) => ({\n marginTop: theme.spacing(1),\n}));\n\nconst StyledButton = styled(Button)<{ theme?: Theme }>(({ theme }) => ({\n margin: theme.spacing(3, 0, 2),\n}));\n\nexport interface LoginFormValues {\n username: string;\n password: string;\n}\n\ninterface Props {\n register: UseFormRegister<LoginFormValues>;\n handleSubmit: UseFormHandleSubmit<LoginFormValues>;\n onSubmit: (data: LoginFormValues) => void;\n errors: FieldErrors<LoginFormValues>;\n isValid: boolean;\n}\n\nconst LoginForm: FC<Props> = ({ register, handleSubmit, onSubmit, errors, isValid }) => {\n const { t } = useTranslation();\n const configuration = getConfiguration();\n const changePasswordEnabled = configuration?.flags?.changePassword;\n\n return (\n <StyledForm noValidate={true} onSubmit={handleSubmit(onSubmit)}>\n <UsernameField errors={errors} register={register} />\n <PasswordField errors={errors} register={register} />\n\n {errors.root && <LoginDialogFormError error={errors.root} />}\n\n <StyledButton\n color=\"primary\"\n data-testid=\"login-dialog-form-login-button\"\n disabled={!isValid}\n fullWidth={true}\n id=\"login--dialog-button-submit\"\n size=\"large\"\n type=\"submit\"\n variant=\"contained\"\n >\n {t('button.login')}\n </StyledButton>\n {changePasswordEnabled && (\n <Typography align=\"center\" sx={{ mt: 2, fontSize: 12 }} variant=\"body2\">\n <Link href={Route.CHANGE_PASSWORD} sx={{ ml: 1 }}>\n {t('security.changePassword.title')}\n </Link>\n </Typography>\n )}\n </StyledForm>\n );\n};\n\nexport default LoginForm;\n"],"mappings":";;;;;;;;;;;;;;AAgBA,IAAM,aAAa,OAAO,OAAO,EAAqB,EAAE,aAAa,EACnE,WAAW,MAAM,QAAQ,EAAE,EAC5B,EAAE;AAEH,IAAM,eAAe,OAAO,OAAO,EAAqB,EAAE,aAAa,EACrE,QAAQ,MAAM,QAAQ,GAAG,GAAG,EAAE,EAC/B,EAAE;AAeH,IAAM,aAAwB,EAAE,UAAU,cAAc,UAAU,QAAQ,cAAc;CACtF,MAAM,EAAE,MAAM,gBAAgB;CAE9B,MAAM,wBADgB,kBAAkB,EACK,OAAO;AAEpD,QACE,qBAAC,YAAD;EAAY,YAAY;EAAM,UAAU,aAAa,SAAS;YAA9D;GACE,oBAAC,eAAD;IAAuB;IAAkB;IAAY,CAAA;GACrD,oBAAC,eAAD;IAAuB;IAAkB;IAAY,CAAA;GAEpD,OAAO,QAAQ,oBAAC,sBAAD,EAAsB,OAAO,OAAO,MAAQ,CAAA;GAE5D,oBAAC,cAAD;IACE,OAAM;IACN,eAAY;IACZ,UAAU,CAAC;IACX,WAAW;IACX,IAAG;IACH,MAAK;IACL,MAAK;IACL,SAAQ;cAEP,EAAE,eAAe;IACL,CAAA;GACd,yBACC,oBAAC,YAAD;IAAY,OAAM;IAAS,IAAI;KAAE,IAAI;KAAG,UAAU;KAAI;IAAE,SAAQ;cAC9D,oBAAC,MAAD;KAAM,MAAM,MAAM;KAAiB,IAAI,EAAE,IAAI,GAAG;eAC7C,EAAE,gCAAgC;KAC9B,CAAA;IACI,CAAA;GAEJ"}
@@ -1,6 +1,6 @@
1
- import type { FC } from 'react';
2
- import type { FieldErrors } from 'react-hook-form';
3
- import type { AddUserFormValues, LoginFormValues } from '../../utils/schemas';
1
+ import { FC } from 'react';
2
+ import { FieldErrors } from 'react-hook-form';
3
+ import { AddUserFormValues, LoginFormValues } from '../../utils/schemas';
4
4
  interface Props {
5
5
  register: any;
6
6
  errors: FieldErrors<LoginFormValues | AddUserFormValues>;
@@ -1,6 +1,6 @@
1
- import type { FC } from 'react';
2
- import type { FieldErrors } from 'react-hook-form';
3
- import type { AddUserFormValues, LoginFormValues } from '../../utils/schemas';
1
+ import { FC } from 'react';
2
+ import { FieldErrors } from 'react-hook-form';
3
+ import { AddUserFormValues, LoginFormValues } from '../../utils/schemas';
4
4
  interface Props {
5
5
  register: any;
6
6
  errors: FieldErrors<LoginFormValues | AddUserFormValues>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface Props {
3
3
  onClose?: () => void;
4
4
  }
@@ -44,8 +44,8 @@ var StyledAvatar = (0, _emotion_styled.default)(_mui_material_Avatar.default)(({
44
44
  }));
45
45
  var StyledIconButton = (0, _emotion_styled.default)(_mui_material_IconButton.default)(({ theme }) => ({
46
46
  position: "absolute",
47
- right: theme.spacing() / 2,
48
- top: theme.spacing() / 2,
47
+ right: theme.spacing(.5),
48
+ top: theme.spacing(.5),
49
49
  color: theme.palette.grey[500]
50
50
  }));
51
51
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":[],"sources":["../../../src/components/LoginForm/styles.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport CloseIcon from '@mui/icons-material/Close';\nimport LockOutlined from '@mui/icons-material/LockOutlined';\nimport Avatar from '@mui/material/Avatar';\nimport Box from '@mui/material/Box';\nimport IconButton from '@mui/material/IconButton';\nimport { common } from '@mui/material/colors';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\nimport { Heading } from '../../';\n\ninterface Props {\n onClose?: () => void;\n}\n\nconst LoginFormHeader: React.FC<Props> = ({ onClose }) => {\n const { t } = useTranslation();\n\n return (\n <Box alignItems=\"center\" display=\"flex\" flexDirection=\"column\" position=\"relative\">\n {onClose && (\n <StyledIconButton aria-label={t('button.close')} onClick={onClose}>\n <CloseIcon />\n </StyledIconButton>\n )}\n <StyledAvatar>\n <LockOutlined />\n </StyledAvatar>\n <Heading>{t('button.login')}</Heading>\n </Box>\n );\n};\n\nconst StyledAvatar = styled(Avatar)<{ theme?: Theme }>(({ theme }) => ({\n margin: theme.spacing(1),\n backgroundColor:\n theme.palette.mode === 'light' ? theme.palette.primary.main : theme.palette.cyanBlue,\n color: common.white,\n}));\n\nconst StyledIconButton = styled(IconButton)<{ theme?: Theme }>(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing() / 2,\n top: theme.spacing() / 2,\n color: theme.palette.grey[500],\n}));\n\nexport default LoginFormHeader;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAiBA,IAAM,mBAAoC,EAAE,cAAc;CACxD,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;AAE9B,QACE,iBAAA,GAAA,kBAAA,MAAC,kBAAA,SAAD;EAAK,YAAW;EAAS,SAAQ;EAAO,eAAc;EAAS,UAAS;YAAxE;GACG,WACC,iBAAA,GAAA,kBAAA,KAAC,kBAAD;IAAkB,cAAY,EAAE,eAAe;IAAE,SAAS;cACxD,iBAAA,GAAA,kBAAA,KAAC,0BAAA,SAAD,EAAa,CAAA;IACI,CAAA;GAErB,iBAAA,GAAA,kBAAA,KAAC,cAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAAC,iCAAA,SAAD,EAAgB,CAAA,EACH,CAAA;GACf,iBAAA,GAAA,kBAAA,KAAC,gBAAA,SAAD,EAAA,UAAU,EAAE,eAAe,EAAW,CAAA;GAClC;;;AAIV,IAAM,gBAAA,GAAA,gBAAA,SAAsB,qBAAA,QAAO,EAAqB,EAAE,aAAa;CACrE,QAAQ,MAAM,QAAQ,EAAE;CACxB,iBACE,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAO,MAAM,QAAQ;CAC9E,OAAO,qBAAA,OAAO;CACf,EAAE;AAEH,IAAM,oBAAA,GAAA,gBAAA,SAA0B,yBAAA,QAAW,EAAqB,EAAE,aAAa;CAC7E,UAAU;CACV,OAAO,MAAM,SAAS,GAAG;CACzB,KAAK,MAAM,SAAS,GAAG;CACvB,OAAO,MAAM,QAAQ,KAAK;CAC3B,EAAE"}
1
+ {"version":3,"file":"styles.js","names":[],"sources":["../../../src/components/LoginForm/styles.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport CloseIcon from '@mui/icons-material/Close';\nimport LockOutlined from '@mui/icons-material/LockOutlined';\nimport Avatar from '@mui/material/Avatar';\nimport Box from '@mui/material/Box';\nimport IconButton from '@mui/material/IconButton';\nimport { common } from '@mui/material/colors';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\nimport { Heading } from '../../';\n\ninterface Props {\n onClose?: () => void;\n}\n\nconst LoginFormHeader: React.FC<Props> = ({ onClose }) => {\n const { t } = useTranslation();\n\n return (\n <Box alignItems=\"center\" display=\"flex\" flexDirection=\"column\" position=\"relative\">\n {onClose && (\n <StyledIconButton aria-label={t('button.close')} onClick={onClose}>\n <CloseIcon />\n </StyledIconButton>\n )}\n <StyledAvatar>\n <LockOutlined />\n </StyledAvatar>\n <Heading>{t('button.login')}</Heading>\n </Box>\n );\n};\n\nconst StyledAvatar = styled(Avatar)<{ theme?: Theme }>(({ theme }) => ({\n margin: theme.spacing(1),\n backgroundColor:\n theme.palette.mode === 'light' ? theme.palette.primary.main : theme.palette.cyanBlue,\n color: common.white,\n}));\n\nconst StyledIconButton = styled(IconButton)<{ theme?: Theme }>(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing(0.5),\n top: theme.spacing(0.5),\n color: theme.palette.grey[500],\n}));\n\nexport default LoginFormHeader;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAiBA,IAAM,mBAAoC,EAAE,cAAc;CACxD,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;AAE9B,QACE,iBAAA,GAAA,kBAAA,MAAC,kBAAA,SAAD;EAAK,YAAW;EAAS,SAAQ;EAAO,eAAc;EAAS,UAAS;YAAxE;GACG,WACC,iBAAA,GAAA,kBAAA,KAAC,kBAAD;IAAkB,cAAY,EAAE,eAAe;IAAE,SAAS;cACxD,iBAAA,GAAA,kBAAA,KAAC,0BAAA,SAAD,EAAa,CAAA;IACI,CAAA;GAErB,iBAAA,GAAA,kBAAA,KAAC,cAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAAC,iCAAA,SAAD,EAAgB,CAAA,EACH,CAAA;GACf,iBAAA,GAAA,kBAAA,KAAC,gBAAA,SAAD,EAAA,UAAU,EAAE,eAAe,EAAW,CAAA;GAClC;;;AAIV,IAAM,gBAAA,GAAA,gBAAA,SAAsB,qBAAA,QAAO,EAAqB,EAAE,aAAa;CACrE,QAAQ,MAAM,QAAQ,EAAE;CACxB,iBACE,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAO,MAAM,QAAQ;CAC9E,OAAO,qBAAA,OAAO;CACf,EAAE;AAEH,IAAM,oBAAA,GAAA,gBAAA,SAA0B,yBAAA,QAAW,EAAqB,EAAE,aAAa;CAC7E,UAAU;CACV,OAAO,MAAM,QAAQ,GAAI;CACzB,KAAK,MAAM,QAAQ,GAAI;CACvB,OAAO,MAAM,QAAQ,KAAK;CAC3B,EAAE"}
@@ -36,8 +36,8 @@ var StyledAvatar = styled(Avatar)(({ theme }) => ({
36
36
  }));
37
37
  var StyledIconButton = styled(IconButton)(({ theme }) => ({
38
38
  position: "absolute",
39
- right: theme.spacing() / 2,
40
- top: theme.spacing() / 2,
39
+ right: theme.spacing(.5),
40
+ top: theme.spacing(.5),
41
41
  color: theme.palette.grey[500]
42
42
  }));
43
43
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"styles.mjs","names":[],"sources":["../../../src/components/LoginForm/styles.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport CloseIcon from '@mui/icons-material/Close';\nimport LockOutlined from '@mui/icons-material/LockOutlined';\nimport Avatar from '@mui/material/Avatar';\nimport Box from '@mui/material/Box';\nimport IconButton from '@mui/material/IconButton';\nimport { common } from '@mui/material/colors';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\nimport { Heading } from '../../';\n\ninterface Props {\n onClose?: () => void;\n}\n\nconst LoginFormHeader: React.FC<Props> = ({ onClose }) => {\n const { t } = useTranslation();\n\n return (\n <Box alignItems=\"center\" display=\"flex\" flexDirection=\"column\" position=\"relative\">\n {onClose && (\n <StyledIconButton aria-label={t('button.close')} onClick={onClose}>\n <CloseIcon />\n </StyledIconButton>\n )}\n <StyledAvatar>\n <LockOutlined />\n </StyledAvatar>\n <Heading>{t('button.login')}</Heading>\n </Box>\n );\n};\n\nconst StyledAvatar = styled(Avatar)<{ theme?: Theme }>(({ theme }) => ({\n margin: theme.spacing(1),\n backgroundColor:\n theme.palette.mode === 'light' ? theme.palette.primary.main : theme.palette.cyanBlue,\n color: common.white,\n}));\n\nconst StyledIconButton = styled(IconButton)<{ theme?: Theme }>(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing() / 2,\n top: theme.spacing() / 2,\n color: theme.palette.grey[500],\n}));\n\nexport default LoginFormHeader;\n"],"mappings":";;;;;;;;;;;;;AAiBA,IAAM,mBAAoC,EAAE,cAAc;CACxD,MAAM,EAAE,MAAM,gBAAgB;AAE9B,QACE,qBAAC,KAAD;EAAK,YAAW;EAAS,SAAQ;EAAO,eAAc;EAAS,UAAS;YAAxE;GACG,WACC,oBAAC,kBAAD;IAAkB,cAAY,EAAE,eAAe;IAAE,SAAS;cACxD,oBAAC,WAAD,EAAa,CAAA;IACI,CAAA;GAErB,oBAAC,cAAD,EAAA,UACE,oBAAC,cAAD,EAAgB,CAAA,EACH,CAAA;GACf,oBAAC,SAAD,EAAA,UAAU,EAAE,eAAe,EAAW,CAAA;GAClC;;;AAIV,IAAM,eAAe,OAAO,OAAO,EAAqB,EAAE,aAAa;CACrE,QAAQ,MAAM,QAAQ,EAAE;CACxB,iBACE,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAO,MAAM,QAAQ;CAC9E,OAAO,OAAO;CACf,EAAE;AAEH,IAAM,mBAAmB,OAAO,WAAW,EAAqB,EAAE,aAAa;CAC7E,UAAU;CACV,OAAO,MAAM,SAAS,GAAG;CACzB,KAAK,MAAM,SAAS,GAAG;CACvB,OAAO,MAAM,QAAQ,KAAK;CAC3B,EAAE"}
1
+ {"version":3,"file":"styles.mjs","names":[],"sources":["../../../src/components/LoginForm/styles.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport CloseIcon from '@mui/icons-material/Close';\nimport LockOutlined from '@mui/icons-material/LockOutlined';\nimport Avatar from '@mui/material/Avatar';\nimport Box from '@mui/material/Box';\nimport IconButton from '@mui/material/IconButton';\nimport { common } from '@mui/material/colors';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../';\nimport { Heading } from '../../';\n\ninterface Props {\n onClose?: () => void;\n}\n\nconst LoginFormHeader: React.FC<Props> = ({ onClose }) => {\n const { t } = useTranslation();\n\n return (\n <Box alignItems=\"center\" display=\"flex\" flexDirection=\"column\" position=\"relative\">\n {onClose && (\n <StyledIconButton aria-label={t('button.close')} onClick={onClose}>\n <CloseIcon />\n </StyledIconButton>\n )}\n <StyledAvatar>\n <LockOutlined />\n </StyledAvatar>\n <Heading>{t('button.login')}</Heading>\n </Box>\n );\n};\n\nconst StyledAvatar = styled(Avatar)<{ theme?: Theme }>(({ theme }) => ({\n margin: theme.spacing(1),\n backgroundColor:\n theme.palette.mode === 'light' ? theme.palette.primary.main : theme.palette.cyanBlue,\n color: common.white,\n}));\n\nconst StyledIconButton = styled(IconButton)<{ theme?: Theme }>(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing(0.5),\n top: theme.spacing(0.5),\n color: theme.palette.grey[500],\n}));\n\nexport default LoginFormHeader;\n"],"mappings":";;;;;;;;;;;;;AAiBA,IAAM,mBAAoC,EAAE,cAAc;CACxD,MAAM,EAAE,MAAM,gBAAgB;AAE9B,QACE,qBAAC,KAAD;EAAK,YAAW;EAAS,SAAQ;EAAO,eAAc;EAAS,UAAS;YAAxE;GACG,WACC,oBAAC,kBAAD;IAAkB,cAAY,EAAE,eAAe;IAAE,SAAS;cACxD,oBAAC,WAAD,EAAa,CAAA;IACI,CAAA;GAErB,oBAAC,cAAD,EAAA,UACE,oBAAC,cAAD,EAAgB,CAAA,EACH,CAAA;GACf,oBAAC,SAAD,EAAA,UAAU,EAAE,eAAe,EAAW,CAAA;GAClC;;;AAIV,IAAM,eAAe,OAAO,OAAO,EAAqB,EAAE,aAAa;CACrE,QAAQ,MAAM,QAAQ,EAAE;CACxB,iBACE,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAO,MAAM,QAAQ;CAC9E,OAAO,OAAO;CACf,EAAE;AAEH,IAAM,mBAAmB,OAAO,WAAW,EAAqB,EAAE,aAAa;CAC7E,UAAU;CACV,OAAO,MAAM,QAAQ,GAAI;CACzB,KAAK,MAAM,QAAQ,GAAI;CACvB,OAAO,MAAM,QAAQ,KAAK;CAC3B,EAAE"}
@@ -1,76 +1,76 @@
1
- import type { LoginFormValues } from '../../utils/schemas';
1
+ import { LoginFormValues } from '../../utils/schemas';
2
2
  type Options = {
3
3
  onSuccess?: () => void;
4
4
  };
5
5
  export declare function useLoginForm({ onSuccess }?: Options): {
6
6
  onSubmit: (data: LoginFormValues) => Promise<void>;
7
- watch: import("react-hook-form").UseFormWatch<{
7
+ watch: import('react-hook-form').UseFormWatch<{
8
8
  username: string;
9
9
  password: string;
10
10
  }>;
11
- getValues: import("react-hook-form").UseFormGetValues<{
11
+ getValues: import('react-hook-form').UseFormGetValues<{
12
12
  username: string;
13
13
  password: string;
14
14
  }>;
15
- getFieldState: import("react-hook-form").UseFormGetFieldState<{
15
+ getFieldState: import('react-hook-form').UseFormGetFieldState<{
16
16
  username: string;
17
17
  password: string;
18
18
  }>;
19
- setError: import("react-hook-form").UseFormSetError<{
19
+ setError: import('react-hook-form').UseFormSetError<{
20
20
  username: string;
21
21
  password: string;
22
22
  }>;
23
- clearErrors: import("react-hook-form").UseFormClearErrors<{
23
+ clearErrors: import('react-hook-form').UseFormClearErrors<{
24
24
  username: string;
25
25
  password: string;
26
26
  }>;
27
- setValue: import("react-hook-form").UseFormSetValue<{
27
+ setValue: import('react-hook-form').UseFormSetValue<{
28
28
  username: string;
29
29
  password: string;
30
30
  }>;
31
- trigger: import("react-hook-form").UseFormTrigger<{
31
+ trigger: import('react-hook-form').UseFormTrigger<{
32
32
  username: string;
33
33
  password: string;
34
34
  }>;
35
- formState: import("react-hook-form").FormState<{
35
+ formState: import('react-hook-form').FormState<{
36
36
  username: string;
37
37
  password: string;
38
38
  }>;
39
- resetField: import("react-hook-form").UseFormResetField<{
39
+ resetField: import('react-hook-form').UseFormResetField<{
40
40
  username: string;
41
41
  password: string;
42
42
  }>;
43
- reset: import("react-hook-form").UseFormReset<{
43
+ reset: import('react-hook-form').UseFormReset<{
44
44
  username: string;
45
45
  password: string;
46
46
  }>;
47
- handleSubmit: import("react-hook-form").UseFormHandleSubmit<{
47
+ handleSubmit: import('react-hook-form').UseFormHandleSubmit<{
48
48
  username: string;
49
49
  password: string;
50
50
  }, {
51
51
  username: string;
52
52
  password: string;
53
53
  }>;
54
- unregister: import("react-hook-form").UseFormUnregister<{
54
+ unregister: import('react-hook-form').UseFormUnregister<{
55
55
  username: string;
56
56
  password: string;
57
57
  }>;
58
- control: import("react-hook-form").Control<{
58
+ control: import('react-hook-form').Control<{
59
59
  username: string;
60
60
  password: string;
61
61
  }, any, {
62
62
  username: string;
63
63
  password: string;
64
64
  }>;
65
- register: import("react-hook-form").UseFormRegister<{
65
+ register: import('react-hook-form').UseFormRegister<{
66
66
  username: string;
67
67
  password: string;
68
68
  }>;
69
- setFocus: import("react-hook-form").UseFormSetFocus<{
69
+ setFocus: import('react-hook-form').UseFormSetFocus<{
70
70
  username: string;
71
71
  password: string;
72
72
  }>;
73
- subscribe: import("react-hook-form").UseFormSubscribe<{
73
+ subscribe: import('react-hook-form').UseFormSubscribe<{
74
74
  username: string;
75
75
  password: string;
76
76
  }>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const sizes: {
3
3
  'x-small': string;
4
4
  small: string;
@@ -0,0 +1 @@
1
+ <svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter x="-19.8%" y="-11.7%" width="139.6%" height="140.4%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="2.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0906646286 0" in="shadowBlurOuter1"/></filter><filter x="-33.9%" y="-50%" width="167.9%" height="272.7%" filterUnits="objectBoundingBox" id="c"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="2.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0906646286 0" in="shadowBlurOuter1"/></filter><path id="b" d="M48 16.729L32.672 47h-8.874L0 0h15.328l12.907 25.492 4.437-8.763H48z"/><path d="M35.2 11H28V8.643h8.4l1.2-2.357H32V3.929h6.8l.8-1.572H36V0h20l-5.6 11H35.2z" id="d"/></defs><g fill="none" fill-rule="evenodd"><rect fill="#000" width="100" height="100" rx="37"/><g transform="translate(22 30)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill-opacity=".6" fill="#FFF" xlink:href="#b"/></g><g transform="translate(22 30)"><use fill="#000" filter="url(#c)" xlink:href="#d"/><use fill="#FFF" xlink:href="#d"/></g><path fill="#FFF" d="M54.785 77H45.88L22 30h15.38L58 70.718z"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="verdaccio"><Title>Verdaccio</Title><defs><path id="b" d="M48 17.6L32.8 48H24L.4.8h15.2l12.8 25.6 4.4-8.8H48z"/><filter x="-20%" y="-11.7%" width="139.9%" height="140.3%" filterUnits="objectBoundingBox" id="a"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="2.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0906646286 0" in="shadowBlurOuter1"/></filter><path id="d" d="M50.8 12H35.6L41.2.8h15.2L50.8 12z"/><filter x="-45.7%" y="-49.1%" width="191.3%" height="269.6%" filterUnits="objectBoundingBox" id="c"><feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="2.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0906646286 0" in="shadowBlurOuter1"/></filter></defs><g fill="none" fill-rule="evenodd"><rect fill="#F7F8F6" width="100" height="100" rx="37"/><g transform="translate(22 29)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><path stroke="#405236" stroke-width="2.4" d="M46.058 18.8H33.542L28.4 29.083 14.858 2H2.342l22.4 44.8h7.316l14-28z" stroke-linejoin="square" fill="#405236"/></g><g transform="translate(22 29)"><use fill="#000" filter="url(#c)" xlink:href="#d"/><path stroke="#CD4000" stroke-width="2.4" d="M50.058 10.8l4.4-8.8H41.942l-4.4 8.8h12.516z" stroke-linejoin="square" fill="#CD4000"/></g><path d="M54.06 75.8l2.575-5.112L36.857 31H24.342l22.4 44.8h7.319z" stroke="#405236" stroke-width="2.4" fill="#4A5E3F"/><path d="M59.6 31h15.221M55.6 35h15.221M51.6 39.8h15.221" stroke="#CD4000" stroke-width="2.4" stroke-linecap="square"/></g></svg>
@@ -1,5 +1,5 @@
1
- import type { MenuItemProps } from '@mui/material/MenuItem';
2
- import React from 'react';
1
+ import { MenuItemProps } from '@mui/material/MenuItem';
2
+ import { default as React } from 'react';
3
3
  type HTMLElementTagName = keyof HTMLElementTagNameMap;
4
4
  type MenuItemRef = HTMLElementTagNameMap[HTMLElementTagName];
5
5
  interface Props extends Omit<MenuItemProps, 'component'> {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface Props {
3
3
  text: string;
4
4
  }
@@ -1,11 +1,11 @@
1
1
  import "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import MaterialUITypography from "@mui/material/Typography";
3
+ import Typography from "@mui/material/Typography";
4
4
  import Alert from "@mui/material/Alert";
5
5
  //#region src/components/NoItems/NoItems.tsx
6
6
  var NoItems = ({ text, ...props }) => /* @__PURE__ */ jsx(Alert, {
7
7
  severity: "info",
8
- children: /* @__PURE__ */ jsx(MaterialUITypography, {
8
+ children: /* @__PURE__ */ jsx(Typography, {
9
9
  ...props,
10
10
  children: text
11
11
  })
@@ -1 +1 @@
1
- {"version":3,"file":"NoItems.mjs","names":[],"sources":["../../../src/components/NoItems/NoItems.tsx"],"sourcesContent":["import Alert from '@mui/material/Alert';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\n\ninterface Props {\n text: string;\n}\n\nconst NoItems: React.FC<Props> = ({ text, ...props }) => (\n // @ts-ignore - Alert does accept children despite the type error\n <Alert severity=\"info\">\n <Typography {...props}>{text}</Typography>\n </Alert>\n);\n\nexport default NoItems;\n"],"mappings":";;;;;AAQA,IAAM,WAA4B,EAAE,MAAM,GAAG,YAE3C,oBAAC,OAAD;CAAO,UAAS;WACd,oBAAC,sBAAD;EAAY,GAAI;YAAQ;EAAkB,CAAA;CACpC,CAAA"}
1
+ {"version":3,"file":"NoItems.mjs","names":[],"sources":["../../../src/components/NoItems/NoItems.tsx"],"sourcesContent":["import Alert from '@mui/material/Alert';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\n\ninterface Props {\n text: string;\n}\n\nconst NoItems: React.FC<Props> = ({ text, ...props }) => (\n // @ts-ignore - Alert does accept children despite the type error\n <Alert severity=\"info\">\n <Typography {...props}>{text}</Typography>\n </Alert>\n);\n\nexport default NoItems;\n"],"mappings":";;;;;AAQA,IAAM,WAA4B,EAAE,MAAM,GAAG,YAE3C,oBAAC,OAAD;CAAO,UAAS;WACd,oBAAC,YAAD;EAAY,GAAI;YAAQ;EAAkB,CAAA;CACpC,CAAA"}