@verdaccio/ui-components 5.0.0-next-9.7 → 5.0.0-next-9.9

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/AppRoute/AppRoute.d.ts +1 -1
  17. package/build/components/Author/Author.d.ts +1 -1
  18. package/build/components/Author/styles.d.ts +9 -2
  19. package/build/components/CopyClipboard/CopyToClipBoard.d.ts +1 -1
  20. package/build/components/CopyClipboard/utils.d.ts +1 -1
  21. package/build/components/Dependencies/Dependencies.d.ts +1 -1
  22. package/build/components/Dependencies/DependencyBlock.d.ts +15 -7
  23. package/build/components/Dependencies/DependencyBlock.mjs +2 -2
  24. package/build/components/Dependencies/DependencyBlock.mjs.map +1 -1
  25. package/build/components/Dependencies/index.js +1 -1
  26. package/build/components/Dependencies/types.d.ts +1 -1
  27. package/build/components/Deprecated/Deprecated.d.ts +1 -1
  28. package/build/components/Developers/Developers.d.ts +8 -3
  29. package/build/components/Developers/Title.d.ts +1 -1
  30. package/build/components/Developers/Title.mjs +2 -2
  31. package/build/components/Developers/Title.mjs.map +1 -1
  32. package/build/components/Developers/get-unique-developer-values.d.ts +1 -1
  33. package/build/components/Distribution/Dist.d.ts +2 -2
  34. package/build/components/Distribution/styles.d.ts +12 -3
  35. package/build/components/Distribution/styles.mjs +2 -2
  36. package/build/components/Distribution/styles.mjs.map +1 -1
  37. package/build/components/Engines/Engines.d.ts +2 -2
  38. package/build/components/Engines/styles.d.ts +9 -2
  39. package/build/components/Engines/styles.mjs +2 -2
  40. package/build/components/Engines/styles.mjs.map +1 -1
  41. package/build/components/ErrorBoundary/ErrorBoundary.d.ts +2 -3
  42. package/build/components/Forbidden/Forbidden.d.ts +1 -1
  43. package/build/components/FundButton/FundButton.d.ts +1 -1
  44. package/build/components/FundButton/FundButton.js +1 -1
  45. package/build/components/FundButton/FundButton.js.map +1 -1
  46. package/build/components/FundButton/FundButton.mjs +1 -1
  47. package/build/components/FundButton/FundButton.mjs.map +1 -1
  48. package/build/components/HeaderInfoDialog/HeaderInfoDialog.d.ts +1 -1
  49. package/build/components/Heading/Heading.d.ts +2 -2
  50. package/build/components/Heading/Heading.mjs +2 -2
  51. package/build/components/Heading/Heading.mjs.map +1 -1
  52. package/build/components/Help/Help.d.ts +1 -1
  53. package/build/components/Help/Help.mjs +3 -3
  54. package/build/components/Help/Help.mjs.map +1 -1
  55. package/build/components/Help/styles.d.ts +3 -1
  56. package/build/components/Icons/DevsIcons/CommonJS.d.ts +1 -1
  57. package/build/components/Icons/DevsIcons/ES6Module.d.ts +1 -1
  58. package/build/components/Icons/DevsIcons/Git.d.ts +1 -1
  59. package/build/components/Icons/DevsIcons/NodeJS.d.ts +1 -1
  60. package/build/components/Icons/DevsIcons/TypeScript.d.ts +1 -1
  61. package/build/components/Icons/DevsIcons/commonjs.svg +4 -0
  62. package/build/components/Icons/DevsIcons/es6module.svg +4 -0
  63. package/build/components/Icons/DevsIcons/git.svg +4 -0
  64. package/build/components/Icons/DevsIcons/nodejs.svg +6 -0
  65. package/build/components/Icons/DevsIcons/typescript.svg +4 -0
  66. package/build/components/Icons/Earth.d.ts +1 -1
  67. package/build/components/Icons/FileBinary.d.ts +1 -1
  68. package/build/components/Icons/Law.d.ts +1 -1
  69. package/build/components/Icons/License.d.ts +1 -1
  70. package/build/components/Icons/Managers/Npm.d.ts +1 -1
  71. package/build/components/Icons/Managers/Pnpm.d.ts +1 -1
  72. package/build/components/Icons/Managers/Yarn.d.ts +1 -1
  73. package/build/components/Icons/Managers/npm.svg +15 -0
  74. package/build/components/Icons/Managers/pnpm.svg +1 -0
  75. package/build/components/Icons/Managers/yarn.svg +1 -0
  76. package/build/components/Icons/SvgIcon.d.ts +2 -2
  77. package/build/components/Icons/Time.d.ts +1 -1
  78. package/build/components/Icons/Version.d.ts +1 -1
  79. package/build/components/Install/Install.d.ts +3 -3
  80. package/build/components/Install/InstallListItem.d.ts +1 -1
  81. package/build/components/Install/InstallListItem.mjs +2 -2
  82. package/build/components/Install/InstallListItem.mjs.map +1 -1
  83. package/build/components/Keywords/KeywordListItems.d.ts +1 -1
  84. package/build/components/Keywords/Keywords.d.ts +2 -2
  85. package/build/components/Keywords/Keywords.mjs +2 -2
  86. package/build/components/Keywords/Keywords.mjs.map +1 -1
  87. package/build/components/Label/Label.d.ts +2 -2
  88. package/build/components/Link/Link.d.ts +1 -1
  89. package/build/components/Link/Link.mjs +2 -2
  90. package/build/components/Link/Link.mjs.map +1 -1
  91. package/build/components/LinkExternal/LinkExternal.d.ts +1 -1
  92. package/build/components/Loading/Loading.d.ts +1 -1
  93. package/build/components/Loading/Spinner/Spinner.d.ts +1 -1
  94. package/build/components/Loading/styles.d.ts +7 -7
  95. package/build/components/LoginDialog/LoginDialog.d.ts +1 -1
  96. package/build/components/LoginDialog/LoginDialogCloseButton.d.ts +1 -1
  97. package/build/components/LoginDialog/LoginDialogCloseButton.js +2 -2
  98. package/build/components/LoginDialog/LoginDialogCloseButton.js.map +1 -1
  99. package/build/components/LoginDialog/LoginDialogCloseButton.mjs +2 -2
  100. package/build/components/LoginDialog/LoginDialogCloseButton.mjs.map +1 -1
  101. package/build/components/LoginDialog/LoginDialogForm.d.ts +1 -1
  102. package/build/components/LoginDialog/LoginDialogFormError.d.ts +1 -1
  103. package/build/components/LoginForm/Login.d.ts +2 -2
  104. package/build/components/LoginForm/Login.mjs +2 -2
  105. package/build/components/LoginForm/Login.mjs.map +1 -1
  106. package/build/components/LoginForm/PasswordField.d.ts +3 -3
  107. package/build/components/LoginForm/UsernameField.d.ts +3 -3
  108. package/build/components/LoginForm/styles.d.ts +1 -1
  109. package/build/components/LoginForm/styles.js +2 -2
  110. package/build/components/LoginForm/styles.js.map +1 -1
  111. package/build/components/LoginForm/styles.mjs +2 -2
  112. package/build/components/LoginForm/styles.mjs.map +1 -1
  113. package/build/components/LoginForm/useLoginForm.d.ts +17 -17
  114. package/build/components/Logo/Logo.d.ts +1 -1
  115. package/build/components/Logo/img/logo-black-and-white.svg +1 -0
  116. package/build/components/Logo/img/logo.svg +1 -0
  117. package/build/components/MenuItem/MenuItem.d.ts +2 -2
  118. package/build/components/NoItems/NoItems.d.ts +1 -1
  119. package/build/components/NoItems/NoItems.mjs +2 -2
  120. package/build/components/NoItems/NoItems.mjs.map +1 -1
  121. package/build/components/NotFound/NotFound.d.ts +1 -1
  122. package/build/components/NotFound/img/package.svg +1 -0
  123. package/build/components/Package/Package.d.ts +3 -3
  124. package/build/components/Package/Package.js.map +1 -1
  125. package/build/components/Package/Package.mjs.map +1 -1
  126. package/build/components/Package/styles.d.ts +39 -29
  127. package/build/components/Package/styles.mjs +2 -2
  128. package/build/components/Package/styles.mjs.map +1 -1
  129. package/build/components/PackageList/PackageList.d.ts +2 -2
  130. package/build/components/Person/Person.d.ts +2 -2
  131. package/build/components/Person/PersonTooltip.d.ts +2 -2
  132. package/build/components/Person/PersonTooltip.mjs +2 -2
  133. package/build/components/Person/PersonTooltip.mjs.map +1 -1
  134. package/build/components/Person/utils.d.ts +1 -1
  135. package/build/components/RawViewer/RawViewer.d.ts +1 -1
  136. package/build/components/Readme/Readme.d.ts +2 -5
  137. package/build/components/Readme/Readme.js +6 -6
  138. package/build/components/Readme/Readme.js.map +1 -1
  139. package/build/components/Readme/Readme.mjs +6 -6
  140. package/build/components/Readme/Readme.mjs.map +1 -1
  141. package/build/components/Readme/github-markdown.css +1654 -0
  142. package/build/components/Readme/hljs-github-dark.css +117 -0
  143. package/build/components/Readme/hljs-github-light.css +117 -0
  144. package/build/components/RegistryInfoDialog/RegistryInfoDialog.d.ts +2 -2
  145. package/build/components/RegistryInfoDialog/styles.d.ts +11 -7
  146. package/build/components/RegistryInfoDialog/types.d.ts +1 -1
  147. package/build/components/Repository/Repository.d.ts +1 -1
  148. package/build/components/Repository/Repository.mjs +4 -4
  149. package/build/components/Repository/Repository.mjs.map +1 -1
  150. package/build/components/Search/AutoComplete/AutoComplete.d.ts +2 -3
  151. package/build/components/Search/AutoComplete/styles.d.ts +3 -3
  152. package/build/components/Search/Search.d.ts +1 -1
  153. package/build/components/Search/Search.js +15 -30
  154. package/build/components/Search/Search.js.map +1 -1
  155. package/build/components/Search/Search.mjs +15 -30
  156. package/build/components/Search/Search.mjs.map +1 -1
  157. package/build/components/Search/SearchItem.d.ts +4 -4
  158. package/build/components/Search/styles.d.ts +10 -6
  159. package/build/components/Search/utils.d.ts +21 -0
  160. package/build/components/Search/utils.js +37 -0
  161. package/build/components/Search/utils.js.map +1 -1
  162. package/build/components/Search/utils.mjs +37 -1
  163. package/build/components/Search/utils.mjs.map +1 -1
  164. package/build/components/SettingsMenu/SettingsMenu.d.ts +1 -1
  165. package/build/components/SideBarTitle/SideBarTitle.d.ts +1 -1
  166. package/build/components/UnAuthorized/UnAuthorized.d.ts +1 -1
  167. package/build/components/UpLinks/UpLinks.d.ts +1 -1
  168. package/build/components/UpLinks/UplinkLink.d.ts +1 -1
  169. package/build/components/UpLinks/index.js +1 -1
  170. package/build/components/UpLinks/styles.d.ts +11 -7
  171. package/build/components/UpLinks/styles.mjs +5 -5
  172. package/build/components/UpLinks/styles.mjs.map +1 -1
  173. package/build/components/Versions/HistoryList.d.ts +2 -2
  174. package/build/components/Versions/TagList.d.ts +2 -2
  175. package/build/components/Versions/Versions.d.ts +7 -2
  176. package/build/components/Versions/Versions.mjs +2 -2
  177. package/build/components/Versions/Versions.mjs.map +1 -1
  178. package/build/components/Versions/index.js +1 -1
  179. package/build/components/Versions/styles.d.ts +6 -6
  180. package/build/components/Versions/styles.mjs +3 -3
  181. package/build/components/Versions/styles.mjs.map +1 -1
  182. package/build/components/Versions/types.d.ts +1 -1
  183. package/build/configuration.d.ts +1 -1
  184. package/build/hooks/useOnClickOutside.d.ts +1 -1
  185. package/build/index.d.ts +0 -3
  186. package/build/index.js +59 -62
  187. package/build/index.mjs +2 -6
  188. package/build/layouts/Security/Dialog.d.ts +1 -1
  189. package/build/layouts/Version/Version.d.ts +1 -1
  190. package/build/pages/Front/index.js +1 -1
  191. package/build/pages/Version/Version.d.ts +1 -1
  192. package/build/pages/Version/index.js +1 -1
  193. package/build/providers/AppConfigurationProvider/AppConfigurationProvider.d.ts +2 -2
  194. package/build/providers/AuthProvider/AuthProvider.d.ts +2 -3
  195. package/build/providers/AuthProvider/types.d.ts +1 -1
  196. package/build/providers/AuthProvider/utils.d.ts +1 -1
  197. package/build/providers/DownloadProvider/DownloadProvider.d.ts +1 -2
  198. package/build/providers/ManifestsProvider/ManifestsProvider.d.ts +2 -3
  199. package/build/providers/ManifestsProvider/README.md +22 -0
  200. package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.d.ts +1 -2
  201. package/build/providers/SearchProvider/SearchProvider.d.ts +2 -3
  202. package/build/providers/TranslatorProvider/TranslatorProvider.d.ts +2 -3
  203. package/build/providers/VersionProvider/README.md +22 -0
  204. package/build/providers/VersionProvider/VersionProvider.d.ts +2 -2
  205. package/build/routes/SecurityRoutes.d.ts +1 -1
  206. package/build/sections/Detail/ContainerContent.d.ts +1 -1
  207. package/build/sections/Detail/Detail.d.ts +1 -1
  208. package/build/sections/Detail/ReadmeSection.d.ts +1 -1
  209. package/build/sections/Detail/Tabs.d.ts +1 -1
  210. package/build/sections/Footer/Footer.d.ts +1 -1
  211. package/build/sections/Footer/styles.d.ts +17 -17
  212. package/build/sections/Header/Header.d.ts +1 -1
  213. package/build/sections/Header/HeaderGreetings.d.ts +1 -1
  214. package/build/sections/Header/HeaderLeft.d.ts +1 -1
  215. package/build/sections/Header/HeaderMenu.d.ts +1 -2
  216. package/build/sections/Header/HeaderMenu.js +10 -11
  217. package/build/sections/Header/HeaderMenu.js.map +1 -1
  218. package/build/sections/Header/HeaderMenu.mjs +10 -11
  219. package/build/sections/Header/HeaderMenu.mjs.map +1 -1
  220. package/build/sections/Header/HeaderRight.d.ts +1 -1
  221. package/build/sections/Header/HeaderSettingsDialog.d.ts +1 -1
  222. package/build/sections/Header/HeaderToolTip.d.ts +2 -2
  223. package/build/sections/Header/HeaderToolTipIcon.d.ts +1 -1
  224. package/build/sections/Header/LanguageSwitch.d.ts +12 -3
  225. package/build/sections/Header/LanguageSwitch.mjs +2 -2
  226. package/build/sections/Header/LanguageSwitch.mjs.map +1 -1
  227. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +7 -8
  228. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs +5 -5
  229. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs.map +1 -1
  230. package/build/sections/Header/RegistryInfoContent/styles.d.ts +7 -7
  231. package/build/sections/Header/styles.d.ts +33 -19
  232. package/build/sections/Home/Home.d.ts +1 -1
  233. package/build/sections/Security/AddUser.d.ts +1 -1
  234. package/build/sections/Security/AddUser.js +0 -1
  235. package/build/sections/Security/AddUser.js.map +1 -1
  236. package/build/sections/Security/AddUser.mjs +0 -1
  237. package/build/sections/Security/AddUser.mjs.map +1 -1
  238. package/build/sections/Security/ChangePassword.d.ts +1 -1
  239. package/build/sections/Security/ChangePassword.js +0 -1
  240. package/build/sections/Security/ChangePassword.js.map +1 -1
  241. package/build/sections/Security/ChangePassword.mjs +0 -1
  242. package/build/sections/Security/ChangePassword.mjs.map +1 -1
  243. package/build/sections/Security/Login.d.ts +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 +1024 -334
  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 +5 -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 ResetStyles: React.FC<{
3
3
  children?: React.ReactNode;
4
4
  }>;
@@ -1,4 +1,3 @@
1
- import 'normalize.css';
2
- import React from 'react';
1
+ import { default as React } from 'react';
3
2
  declare const StyleBaseline: React.FC;
4
3
  export default StyleBaseline;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface Props {
3
3
  isDarkMode: boolean;
4
4
  setIsDarkMode: (isDarkMode: boolean) => void;
@@ -1,3 +1,15 @@
1
- import type { PaletteOptions } from '@mui/material/styles';
1
+ import { PaletteOptions } from '@mui/material/styles';
2
2
  export type ThemeMode = 'light' | 'dark';
3
+ export declare const customPaletteColors: {
4
+ readonly black: "#000";
5
+ readonly cyanBlue: "#253341";
6
+ readonly greyLight: "#d3d3d3";
7
+ readonly greyLight2: "#908ba1";
8
+ readonly greyDark2: "#586069";
9
+ readonly greyGainsboro: "#e3e3e3";
10
+ readonly greyAthens: "#d3dddd";
11
+ readonly snow: "#f9f9f9";
12
+ readonly love: "#e25555";
13
+ readonly nobel01: "#999999";
14
+ };
3
15
  export declare const getModePalette: (mode: ThemeMode, primaryColor?: string) => PaletteOptions;
@@ -1,7 +1,20 @@
1
1
  require("../_virtual/_rolldown/runtime.js");
2
2
  const require_colors = require("./colors.js");
3
+ let _mui_material_colors = require("@mui/material/colors");
3
4
  //#region src/Theme/modes.ts
4
- var DARK_MODE_PRIMARY = require("@mui/material/colors").common.white;
5
+ var customPaletteColors = {
6
+ black: "#000",
7
+ cyanBlue: "#253341",
8
+ greyLight: "#d3d3d3",
9
+ greyLight2: "#908ba1",
10
+ greyDark2: "#586069",
11
+ greyGainsboro: "#e3e3e3",
12
+ greyAthens: "#d3dddd",
13
+ snow: "#f9f9f9",
14
+ love: "#e25555",
15
+ nobel01: "#999999"
16
+ };
17
+ var DARK_MODE_PRIMARY = _mui_material_colors.common.white;
5
18
  var getModePalette = (mode, primaryColor) => {
6
19
  const basePrimary = primaryColor || require_colors.baseColors.primary.main;
7
20
  const primary = mode === "dark" ? { main: DARK_MODE_PRIMARY } : { main: basePrimary };
@@ -12,7 +25,8 @@ var getModePalette = (mode, primaryColor) => {
12
25
  background: {
13
26
  default: "#1a202c",
14
27
  paper: "#2d3748"
15
- }
28
+ },
29
+ ...customPaletteColors
16
30
  };
17
31
  return {
18
32
  mode,
@@ -21,7 +35,8 @@ var getModePalette = (mode, primaryColor) => {
21
35
  background: {
22
36
  default: "#f4f4f4",
23
37
  paper: "#ffffff"
24
- }
38
+ },
39
+ ...customPaletteColors
25
40
  };
26
41
  };
27
42
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"modes.js","names":[],"sources":["../../src/Theme/modes.ts"],"sourcesContent":["import { common } from '@mui/material/colors';\nimport type { PaletteOptions } from '@mui/material/styles';\n\nimport { baseColors } from './colors';\n\nexport type ThemeMode = 'light' | 'dark';\n\nconst DARK_MODE_PRIMARY = common.white;\n\nexport const getModePalette = (mode: ThemeMode, primaryColor?: string): PaletteOptions => {\n const basePrimary = primaryColor || baseColors.primary.main;\n const primary = mode === 'dark' ? { main: DARK_MODE_PRIMARY } : { main: basePrimary };\n\n if (mode === 'dark') {\n return {\n mode,\n primary,\n secondary: { main: '#424242' },\n background: {\n default: '#1a202c',\n paper: '#2d3748',\n },\n };\n }\n\n return {\n mode,\n primary,\n secondary: baseColors.secondary,\n background: {\n default: '#f4f4f4',\n paper: '#ffffff',\n },\n };\n};\n"],"mappings":";;;AAOA,IAAM,oDAAoB,OAAO;AAEjC,IAAa,kBAAkB,MAAiB,iBAA0C;CACxF,MAAM,cAAc,gBAAgB,eAAA,WAAW,QAAQ;CACvD,MAAM,UAAU,SAAS,SAAS,EAAE,MAAM,mBAAmB,GAAG,EAAE,MAAM,aAAa;AAErF,KAAI,SAAS,OACX,QAAO;EACL;EACA;EACA,WAAW,EAAE,MAAM,WAAW;EAC9B,YAAY;GACV,SAAS;GACT,OAAO;GACR;EACF;AAGH,QAAO;EACL;EACA;EACA,WAAW,eAAA,WAAW;EACtB,YAAY;GACV,SAAS;GACT,OAAO;GACR;EACF"}
1
+ {"version":3,"file":"modes.js","names":[],"sources":["../../src/Theme/modes.ts"],"sourcesContent":["import { common } from '@mui/material/colors';\nimport type { PaletteOptions } from '@mui/material/styles';\n\nimport { baseColors } from './colors';\n\nexport type ThemeMode = 'light' | 'dark';\n\nexport const customPaletteColors = {\n black: '#000',\n cyanBlue: '#253341',\n greyLight: '#d3d3d3',\n greyLight2: '#908ba1',\n greyDark2: '#586069',\n greyGainsboro: '#e3e3e3',\n greyAthens: '#d3dddd',\n snow: '#f9f9f9',\n love: '#e25555',\n nobel01: '#999999',\n} as const;\n\nconst DARK_MODE_PRIMARY = common.white;\n\nexport const getModePalette = (mode: ThemeMode, primaryColor?: string): PaletteOptions => {\n const basePrimary = primaryColor || baseColors.primary.main;\n const primary = mode === 'dark' ? { main: DARK_MODE_PRIMARY } : { main: basePrimary };\n\n if (mode === 'dark') {\n return {\n mode,\n primary,\n secondary: { main: '#424242' },\n background: {\n default: '#1a202c',\n paper: '#2d3748',\n },\n ...customPaletteColors,\n };\n }\n\n return {\n mode,\n primary,\n secondary: baseColors.secondary,\n background: {\n default: '#f4f4f4',\n paper: '#ffffff',\n },\n ...customPaletteColors,\n };\n};\n"],"mappings":";;;;AAOA,IAAa,sBAAsB;CACjC,OAAO;CACP,UAAU;CACV,WAAW;CACX,YAAY;CACZ,WAAW;CACX,eAAe;CACf,YAAY;CACZ,MAAM;CACN,MAAM;CACN,SAAS;CACV;AAED,IAAM,oBAAoB,qBAAA,OAAO;AAEjC,IAAa,kBAAkB,MAAiB,iBAA0C;CACxF,MAAM,cAAc,gBAAgB,eAAA,WAAW,QAAQ;CACvD,MAAM,UAAU,SAAS,SAAS,EAAE,MAAM,mBAAmB,GAAG,EAAE,MAAM,aAAa;AAErF,KAAI,SAAS,OACX,QAAO;EACL;EACA;EACA,WAAW,EAAE,MAAM,WAAW;EAC9B,YAAY;GACV,SAAS;GACT,OAAO;GACR;EACD,GAAG;EACJ;AAGH,QAAO;EACL;EACA;EACA,WAAW,eAAA,WAAW;EACtB,YAAY;GACV,SAAS;GACT,OAAO;GACR;EACD,GAAG;EACJ"}
@@ -1,6 +1,18 @@
1
1
  import { baseColors } from "./colors.mjs";
2
2
  import { common } from "@mui/material/colors";
3
3
  //#region src/Theme/modes.ts
4
+ var customPaletteColors = {
5
+ black: "#000",
6
+ cyanBlue: "#253341",
7
+ greyLight: "#d3d3d3",
8
+ greyLight2: "#908ba1",
9
+ greyDark2: "#586069",
10
+ greyGainsboro: "#e3e3e3",
11
+ greyAthens: "#d3dddd",
12
+ snow: "#f9f9f9",
13
+ love: "#e25555",
14
+ nobel01: "#999999"
15
+ };
4
16
  var DARK_MODE_PRIMARY = common.white;
5
17
  var getModePalette = (mode, primaryColor) => {
6
18
  const basePrimary = primaryColor || baseColors.primary.main;
@@ -12,7 +24,8 @@ var getModePalette = (mode, primaryColor) => {
12
24
  background: {
13
25
  default: "#1a202c",
14
26
  paper: "#2d3748"
15
- }
27
+ },
28
+ ...customPaletteColors
16
29
  };
17
30
  return {
18
31
  mode,
@@ -21,7 +34,8 @@ var getModePalette = (mode, primaryColor) => {
21
34
  background: {
22
35
  default: "#f4f4f4",
23
36
  paper: "#ffffff"
24
- }
37
+ },
38
+ ...customPaletteColors
25
39
  };
26
40
  };
27
41
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"modes.mjs","names":[],"sources":["../../src/Theme/modes.ts"],"sourcesContent":["import { common } from '@mui/material/colors';\nimport type { PaletteOptions } from '@mui/material/styles';\n\nimport { baseColors } from './colors';\n\nexport type ThemeMode = 'light' | 'dark';\n\nconst DARK_MODE_PRIMARY = common.white;\n\nexport const getModePalette = (mode: ThemeMode, primaryColor?: string): PaletteOptions => {\n const basePrimary = primaryColor || baseColors.primary.main;\n const primary = mode === 'dark' ? { main: DARK_MODE_PRIMARY } : { main: basePrimary };\n\n if (mode === 'dark') {\n return {\n mode,\n primary,\n secondary: { main: '#424242' },\n background: {\n default: '#1a202c',\n paper: '#2d3748',\n },\n };\n }\n\n return {\n mode,\n primary,\n secondary: baseColors.secondary,\n background: {\n default: '#f4f4f4',\n paper: '#ffffff',\n },\n };\n};\n"],"mappings":";;;AAOA,IAAM,oBAAoB,OAAO;AAEjC,IAAa,kBAAkB,MAAiB,iBAA0C;CACxF,MAAM,cAAc,gBAAgB,WAAW,QAAQ;CACvD,MAAM,UAAU,SAAS,SAAS,EAAE,MAAM,mBAAmB,GAAG,EAAE,MAAM,aAAa;AAErF,KAAI,SAAS,OACX,QAAO;EACL;EACA;EACA,WAAW,EAAE,MAAM,WAAW;EAC9B,YAAY;GACV,SAAS;GACT,OAAO;GACR;EACF;AAGH,QAAO;EACL;EACA;EACA,WAAW,WAAW;EACtB,YAAY;GACV,SAAS;GACT,OAAO;GACR;EACF"}
1
+ {"version":3,"file":"modes.mjs","names":[],"sources":["../../src/Theme/modes.ts"],"sourcesContent":["import { common } from '@mui/material/colors';\nimport type { PaletteOptions } from '@mui/material/styles';\n\nimport { baseColors } from './colors';\n\nexport type ThemeMode = 'light' | 'dark';\n\nexport const customPaletteColors = {\n black: '#000',\n cyanBlue: '#253341',\n greyLight: '#d3d3d3',\n greyLight2: '#908ba1',\n greyDark2: '#586069',\n greyGainsboro: '#e3e3e3',\n greyAthens: '#d3dddd',\n snow: '#f9f9f9',\n love: '#e25555',\n nobel01: '#999999',\n} as const;\n\nconst DARK_MODE_PRIMARY = common.white;\n\nexport const getModePalette = (mode: ThemeMode, primaryColor?: string): PaletteOptions => {\n const basePrimary = primaryColor || baseColors.primary.main;\n const primary = mode === 'dark' ? { main: DARK_MODE_PRIMARY } : { main: basePrimary };\n\n if (mode === 'dark') {\n return {\n mode,\n primary,\n secondary: { main: '#424242' },\n background: {\n default: '#1a202c',\n paper: '#2d3748',\n },\n ...customPaletteColors,\n };\n }\n\n return {\n mode,\n primary,\n secondary: baseColors.secondary,\n background: {\n default: '#f4f4f4',\n paper: '#ffffff',\n },\n ...customPaletteColors,\n };\n};\n"],"mappings":";;;AAOA,IAAa,sBAAsB;CACjC,OAAO;CACP,UAAU;CACV,WAAW;CACX,YAAY;CACZ,WAAW;CACX,eAAe;CACf,YAAY;CACZ,MAAM;CACN,MAAM;CACN,SAAS;CACV;AAED,IAAM,oBAAoB,OAAO;AAEjC,IAAa,kBAAkB,MAAiB,iBAA0C;CACxF,MAAM,cAAc,gBAAgB,WAAW,QAAQ;CACvD,MAAM,UAAU,SAAS,SAAS,EAAE,MAAM,mBAAmB,GAAG,EAAE,MAAM,aAAa;AAErF,KAAI,SAAS,OACX,QAAO;EACL;EACA;EACA,WAAW,EAAE,MAAM,WAAW;EAC9B,YAAY;GACV,SAAS;GACT,OAAO;GACR;EACD,GAAG;EACJ;AAGH,QAAO;EACL;EACA;EACA,WAAW,WAAW;EACtB,YAAY;GACV,SAAS;GACT,OAAO;GACR;EACD,GAAG;EACJ"}
@@ -1,12 +1,36 @@
1
- import type { Theme as MuiTheme } from '@mui/material/styles';
2
- import type { ThemeMode } from './modes';
3
- import type { CustomTheme, CustomizedTheme } from './tokens';
1
+ import { Theme as MuiTheme } from '@mui/material/styles';
2
+ import { ThemeMode } from './modes';
3
+ import { CustomTheme, CustomizedTheme } from './tokens';
4
4
  export type Theme = MuiTheme & CustomizedTheme;
5
5
  declare module '@mui/material/styles' {
6
6
  interface Theme extends CustomTheme {
7
7
  }
8
8
  interface ThemeOptions extends CustomTheme {
9
9
  }
10
+ interface Palette {
11
+ black: string;
12
+ cyanBlue: string;
13
+ greyLight: string;
14
+ greyLight2: string;
15
+ greyDark2: string;
16
+ greyGainsboro: string;
17
+ greyAthens: string;
18
+ snow: string;
19
+ love: string;
20
+ nobel01: string;
21
+ }
22
+ interface PaletteOptions {
23
+ black?: string;
24
+ cyanBlue?: string;
25
+ greyLight?: string;
26
+ greyLight2?: string;
27
+ greyDark2?: string;
28
+ greyGainsboro?: string;
29
+ greyAthens?: string;
30
+ snow?: string;
31
+ love?: string;
32
+ nobel01?: string;
33
+ }
10
34
  }
11
35
  declare module '@mui/material/styles/createTheme' {
12
36
  interface Theme extends CustomizedTheme {
@@ -1 +1 @@
1
- {"version":3,"file":"theme.js","names":[],"sources":["../../src/Theme/theme.ts"],"sourcesContent":["import type { Theme as MuiTheme } from '@mui/material/styles';\nimport { createTheme } from '@mui/material/styles';\n\nimport type { ThemeMode } from './modes';\nimport { getModePalette } from './modes';\nimport type { CustomTheme, CustomizedTheme } from './tokens';\nimport { customizedTheme } from './tokens';\n\nexport type Theme = MuiTheme & CustomizedTheme;\n\ndeclare module '@mui/material/styles' {\n interface Theme extends CustomTheme {}\n interface ThemeOptions extends CustomTheme {}\n}\ndeclare module '@mui/material/styles/createTheme' {\n interface Theme extends CustomizedTheme {}\n\n interface DeprecatedThemeOptions extends CustomizedTheme {}\n}\n\nexport const getTheme = (mode: ThemeMode, primaryColor?: string): Theme => {\n return createTheme({\n palette: getModePalette(mode, primaryColor),\n\n typography: {\n fontFamily: [\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n ].join(','),\n },\n\n components: {\n MuiPaper: {\n styleOverrides: {\n root: {\n backgroundImage: 'unset',\n },\n },\n },\n },\n\n ...customizedTheme,\n });\n};\n"],"mappings":";;;;;AAoBA,IAAa,YAAY,MAAiB,iBAAiC;AACzE,SAAA,GAAA,qBAAA,aAAmB;EACjB,SAAS,cAAA,eAAe,MAAM,aAAa;EAE3C,YAAY,EACV,YAAY;GACV;GACA;GACA;GACA;GACA;GACD,CAAC,KAAK,IAAI,EACZ;EAED,YAAY,EACV,UAAU,EACR,gBAAgB,EACd,MAAM,EACJ,iBAAiB,SAClB,EACF,EACF,EACF;EAED,GAAG,eAAA;EACJ,CAAC"}
1
+ {"version":3,"file":"theme.js","names":[],"sources":["../../src/Theme/theme.ts"],"sourcesContent":["import type { Theme as MuiTheme } from '@mui/material/styles';\nimport { createTheme } from '@mui/material/styles';\n\nimport type { ThemeMode } from './modes';\nimport { getModePalette } from './modes';\nimport type { CustomTheme, CustomizedTheme } from './tokens';\nimport { customizedTheme } from './tokens';\n\nexport type Theme = MuiTheme & CustomizedTheme;\n\ndeclare module '@mui/material/styles' {\n interface Theme extends CustomTheme {}\n interface ThemeOptions extends CustomTheme {}\n interface Palette {\n black: string;\n cyanBlue: string;\n greyLight: string;\n greyLight2: string;\n greyDark2: string;\n greyGainsboro: string;\n greyAthens: string;\n snow: string;\n love: string;\n nobel01: string;\n }\n interface PaletteOptions {\n black?: string;\n cyanBlue?: string;\n greyLight?: string;\n greyLight2?: string;\n greyDark2?: string;\n greyGainsboro?: string;\n greyAthens?: string;\n snow?: string;\n love?: string;\n nobel01?: string;\n }\n}\n\ndeclare module '@mui/material/styles/createTheme' {\n interface Theme extends CustomizedTheme {}\n\n interface DeprecatedThemeOptions extends CustomizedTheme {}\n}\n\nexport const getTheme = (mode: ThemeMode, primaryColor?: string): Theme => {\n return createTheme({\n palette: getModePalette(mode, primaryColor),\n\n typography: {\n fontFamily: [\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n ].join(','),\n },\n\n components: {\n MuiPaper: {\n styleOverrides: {\n root: {\n backgroundImage: 'unset',\n },\n },\n },\n },\n\n ...customizedTheme,\n });\n};\n"],"mappings":";;;;;AA6CA,IAAa,YAAY,MAAiB,iBAAiC;AACzE,SAAA,GAAA,qBAAA,aAAmB;EACjB,SAAS,cAAA,eAAe,MAAM,aAAa;EAE3C,YAAY,EACV,YAAY;GACV;GACA;GACA;GACA;GACA;GACD,CAAC,KAAK,IAAI,EACZ;EAED,YAAY,EACV,UAAU,EACR,gBAAgB,EACd,MAAM,EACJ,iBAAiB,SAClB,EACF,EACF,EACF;EAED,GAAG,eAAA;EACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"theme.mjs","names":[],"sources":["../../src/Theme/theme.ts"],"sourcesContent":["import type { Theme as MuiTheme } from '@mui/material/styles';\nimport { createTheme } from '@mui/material/styles';\n\nimport type { ThemeMode } from './modes';\nimport { getModePalette } from './modes';\nimport type { CustomTheme, CustomizedTheme } from './tokens';\nimport { customizedTheme } from './tokens';\n\nexport type Theme = MuiTheme & CustomizedTheme;\n\ndeclare module '@mui/material/styles' {\n interface Theme extends CustomTheme {}\n interface ThemeOptions extends CustomTheme {}\n}\ndeclare module '@mui/material/styles/createTheme' {\n interface Theme extends CustomizedTheme {}\n\n interface DeprecatedThemeOptions extends CustomizedTheme {}\n}\n\nexport const getTheme = (mode: ThemeMode, primaryColor?: string): Theme => {\n return createTheme({\n palette: getModePalette(mode, primaryColor),\n\n typography: {\n fontFamily: [\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n ].join(','),\n },\n\n components: {\n MuiPaper: {\n styleOverrides: {\n root: {\n backgroundImage: 'unset',\n },\n },\n },\n },\n\n ...customizedTheme,\n });\n};\n"],"mappings":";;;;AAoBA,IAAa,YAAY,MAAiB,iBAAiC;AACzE,QAAO,YAAY;EACjB,SAAS,eAAe,MAAM,aAAa;EAE3C,YAAY,EACV,YAAY;GACV;GACA;GACA;GACA;GACA;GACD,CAAC,KAAK,IAAI,EACZ;EAED,YAAY,EACV,UAAU,EACR,gBAAgB,EACd,MAAM,EACJ,iBAAiB,SAClB,EACF,EACF,EACF;EAED,GAAG;EACJ,CAAC"}
1
+ {"version":3,"file":"theme.mjs","names":[],"sources":["../../src/Theme/theme.ts"],"sourcesContent":["import type { Theme as MuiTheme } from '@mui/material/styles';\nimport { createTheme } from '@mui/material/styles';\n\nimport type { ThemeMode } from './modes';\nimport { getModePalette } from './modes';\nimport type { CustomTheme, CustomizedTheme } from './tokens';\nimport { customizedTheme } from './tokens';\n\nexport type Theme = MuiTheme & CustomizedTheme;\n\ndeclare module '@mui/material/styles' {\n interface Theme extends CustomTheme {}\n interface ThemeOptions extends CustomTheme {}\n interface Palette {\n black: string;\n cyanBlue: string;\n greyLight: string;\n greyLight2: string;\n greyDark2: string;\n greyGainsboro: string;\n greyAthens: string;\n snow: string;\n love: string;\n nobel01: string;\n }\n interface PaletteOptions {\n black?: string;\n cyanBlue?: string;\n greyLight?: string;\n greyLight2?: string;\n greyDark2?: string;\n greyGainsboro?: string;\n greyAthens?: string;\n snow?: string;\n love?: string;\n nobel01?: string;\n }\n}\n\ndeclare module '@mui/material/styles/createTheme' {\n interface Theme extends CustomizedTheme {}\n\n interface DeprecatedThemeOptions extends CustomizedTheme {}\n}\n\nexport const getTheme = (mode: ThemeMode, primaryColor?: string): Theme => {\n return createTheme({\n palette: getModePalette(mode, primaryColor),\n\n typography: {\n fontFamily: [\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n ].join(','),\n },\n\n components: {\n MuiPaper: {\n styleOverrides: {\n root: {\n backgroundImage: 'unset',\n },\n },\n },\n },\n\n ...customizedTheme,\n });\n};\n"],"mappings":";;;;AA6CA,IAAa,YAAY,MAAiB,iBAAiC;AACzE,QAAO,YAAY;EACjB,SAAS,eAAe,MAAM,aAAa;EAE3C,YAAY,EACV,YAAY;GACV;GACA;GACA;GACA;GACA;GACD,CAAC,KAAK,IAAI,EACZ;EAED,YAAY,EACV,UAAU,EACR,gBAAgB,EACd,MAAM,EACJ,iBAAiB,SAClB,EACF,EACF,EACF;EAED,GAAG;EACJ,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { APIRoute } from '../store/routes';
1
+ import { APIRoute } from '../store/routes';
2
2
  export declare const fetcher: <T>(url: string, method: string, body: any, options?: {
3
3
  signal?: AbortSignal;
4
4
  }) => Promise<T>;
@@ -8,10 +8,10 @@ export declare function useDataMutation<T>(basePath: string, route: APIRoute | s
8
8
  data: T | undefined;
9
9
  error: any;
10
10
  isMutating: boolean;
11
- trigger: import("swr/mutation").TriggerWithOptionsArgs<T, any, string, any>;
11
+ trigger: import('swr/dist/mutation').TriggerWithOptionsArgs<T, any, string, any>;
12
12
  };
13
13
  export declare function useTarballDownload(): {
14
- download: import("swr/mutation").TriggerWithArgs<Blob, any, string, {
14
+ download: import('swr/dist/mutation').TriggerWithArgs<Blob, any, string, {
15
15
  link: string;
16
16
  }>;
17
17
  isDownloading: boolean;
@@ -1,3 +1,3 @@
1
- import type { SWRResponse } from 'swr';
2
- import type { APIRoute } from '../store/routes';
1
+ import { SWRResponse } from 'swr';
2
+ import { APIRoute } from '../store/routes';
3
3
  export declare function useData<T>(basePath: string, route: APIRoute, packageName?: string, packageVersion?: string): Pick<SWRResponse<T>, 'data' | 'error' | 'isLoading' | 'mutate'>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export type Props = {
3
3
  showRaw?: boolean;
4
4
  showDownloadTarball?: boolean;
@@ -1,5 +1,10 @@
1
- import React from 'react';
2
- export declare const Fab: import("@emotion/styled").StyledComponent<any, {}, {}>;
1
+ import { default as React } from 'react';
2
+ import { Theme } from '../../Theme';
3
+ export declare const Fab: import('@emotion/styled').StyledComponent<import('@mui/material/Fab').FabOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children" | "style" | "color" | "className" | "classes" | "sx" | "variant" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableFocusRipple" | "size"> & {
4
+ theme?: import('@emotion/react').Theme;
5
+ } & {
6
+ theme?: Theme;
7
+ }, {}, {}>;
3
8
  type ActionType = 'VISIT_HOMEPAGE' | 'OPEN_AN_ISSUE' | 'DOWNLOAD_TARBALL' | 'RAW_DATA';
4
9
  export interface ActionBarActionProps {
5
10
  type: ActionType;
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const AppRoute: React.FC;
3
3
  export default AppRoute;
@@ -1,4 +1,4 @@
1
- import type { FC } from 'react';
1
+ import { FC } from 'react';
2
2
  declare const Author: FC<{
3
3
  packageMeta: any;
4
4
  }>;
@@ -1,2 +1,9 @@
1
- export declare const StyledText: import("@emotion/styled").StyledComponent<any, {}, {}>;
2
- export declare const AuthorListItem: import("@emotion/styled").StyledComponent<any, {}, {}>;
1
+ import { Theme } from '../../Theme';
2
+ export declare const StyledText: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "p" | "style" | "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "classes" | "sx" | "variant" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
3
+ theme?: import('@emotion/react').Theme;
4
+ } & {
5
+ theme?: Theme;
6
+ }, {}, {}>;
7
+ export declare const AuthorListItem: import('@emotion/styled').StyledComponent<import('@mui/material').ListItemOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "children" | "style" | "components" | "alignItems" | "className" | "classes" | "sx" | "componentsProps" | "slots" | "slotProps" | "divider" | "ContainerComponent" | "ContainerProps" | "dense" | "disableGutters" | "disablePadding" | "secondaryAction"> & {
8
+ theme?: import('@emotion/react').Theme;
9
+ }, {}, {}>;
@@ -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
  title?: string;
@@ -1,2 +1,2 @@
1
- import type { SyntheticEvent } from 'react';
1
+ import { SyntheticEvent } from 'react';
2
2
  export declare const copyToClipBoardUtility: (str: string) => ((e: SyntheticEvent<HTMLElement>) => void);
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const Dependencies: React.FC<{
3
3
  packageMeta: any;
4
4
  }>;
@@ -1,17 +1,25 @@
1
- import React from 'react';
2
- import type { Theme } from '../../Theme';
3
- import type { PackageDependencies } from '../../types/packageMeta';
1
+ import { default as React } from 'react';
2
+ import { Theme } from '../../Theme';
3
+ import { PackageDependencies } from '../../types/packageMeta';
4
4
  interface DependencyBlockProps {
5
5
  title: string;
6
6
  dependencies: PackageDependencies;
7
7
  }
8
- export declare const StyledText: import("@emotion/styled").StyledComponent<any, {}, {}>;
9
- export declare const Tags: import("@emotion/styled").StyledComponent<{
10
- theme?: import("@emotion/react").Theme;
8
+ export declare const StyledText: import('@emotion/styled').StyledComponent<import('@mui/material/Typography').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "p" | "style" | "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "classes" | "sx" | "variant" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
9
+ theme?: import('@emotion/react').Theme;
10
+ } & {
11
+ theme?: Theme;
12
+ }, {}, {}>;
13
+ export declare const Tags: import('@emotion/styled').StyledComponent<{
14
+ theme?: import('@emotion/react').Theme;
11
15
  as?: React.ElementType;
12
16
  } & {
13
17
  theme?: Theme;
14
18
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
- export declare const Tag: import("@emotion/styled").StyledComponent<any, {}, {}>;
19
+ export declare const Tag: import('@emotion/styled').StyledComponent<import('@mui/material/Chip').ChipOwnProps & import('@mui/material/Chip').ChipSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "label" | "style" | "color" | "className" | "classes" | "sx" | "variant" | "tabIndex" | "disabled" | "size" | "slots" | "slotProps" | "avatar" | "clickable" | "deleteIcon" | "icon" | "onDelete" | "skipFocusWhenDisabled"> & {
20
+ theme?: import('@emotion/react').Theme;
21
+ } & {
22
+ theme?: Theme;
23
+ }, {}, {}>;
16
24
  export declare const DependencyBlock: React.FC<DependencyBlockProps>;
17
25
  export {};
@@ -6,10 +6,10 @@ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import Box from "@mui/material/Box";
7
7
  import { useTranslation } from "react-i18next";
8
8
  import { useNavigate } from "react-router";
9
- import MaterialUITypography from "@mui/material/Typography";
9
+ import Typography from "@mui/material/Typography";
10
10
  import Chip from "@mui/material/Chip";
11
11
  //#region src/components/Dependencies/DependencyBlock.tsx
12
- var StyledText = styled(MaterialUITypography)((props) => ({
12
+ var StyledText = styled(Typography)((props) => ({
13
13
  fontWeight: props.theme.fontWeight.bold,
14
14
  textTransform: "capitalize"
15
15
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"DependencyBlock.mjs","names":[],"sources":["../../../src/components/Dependencies/DependencyBlock.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Box from '@mui/material/Box';\nimport Chip from '@mui/material/Chip';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageDependencies } from '../../types/packageMeta';\nimport { Route } from '../../utils';\n\ninterface DependencyBlockProps {\n title: string;\n dependencies: PackageDependencies;\n}\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const Tags = styled('div')<{ theme?: Theme }>((props) => ({\n display: 'flex',\n justifyContent: 'start',\n flexWrap: 'wrap',\n // force title to be on the same line as the title\n // could be better to avoid margin on the first element\n // but it is a bit tricky to do with flexbox\n marginLeft: props.theme.spacing(-0.6),\n}));\n\nexport const Tag = styled(Chip)<{ theme?: Theme }>((props) => ({\n margin: props.theme.spacing(0.6),\n}));\n\nexport const DependencyBlock: React.FC<DependencyBlockProps> = ({ title, dependencies }) => {\n const navigate = useNavigate();\n const { t } = useTranslation();\n const deps = Object.entries(dependencies);\n\n function handleClick(name: string): void {\n navigate(`${Route.DETAIL}${name}`);\n }\n\n function labelText(title: string, name: string, version: string): string {\n if (title === 'bundleDependencies') {\n return t('dependencies.dependency-block-bundle', { package: name });\n } else {\n return t('dependencies.dependency-block', { package: name, version });\n }\n }\n\n return (\n <Box data-testid={title} sx={{ margin: 2 }}>\n <StyledText sx={{ marginBottom: 1 }} variant=\"subtitle1\">\n {`${title} (${deps.length})`}\n </StyledText>\n <Tags>\n {deps.map(([name, version]: [string, string]) => {\n // Bundle dependencies are stored as array, for example [ 0: \"semver\" ]\n // so the package name arrives here in the version field\n const packageName = title == 'bundleDependencies' ? version : name;\n return (\n <Tag\n className={'dep-tag'}\n clickable={true}\n data-testid={packageName}\n key={packageName}\n label={labelText(title, packageName, version)}\n onClick={() => {\n handleClick(packageName);\n }}\n />\n );\n })}\n </Tags>\n </Box>\n );\n};\n"],"mappings":";;;;;;;;;;;AAiBA,IAAa,aAAa,OAAO,qBAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,OAAO,OAAO,MAAM,EAAqB,WAAW;CAC/D,SAAS;CACT,gBAAgB;CAChB,UAAU;CAIV,YAAY,MAAM,MAAM,QAAQ,IAAK;CACtC,EAAE;AAEH,IAAa,MAAM,OAAO,KAAK,EAAqB,WAAW,EAC7D,QAAQ,MAAM,MAAM,QAAQ,GAAI,EACjC,EAAE;AAEH,IAAa,mBAAmD,EAAE,OAAO,mBAAmB;CAC1F,MAAM,WAAW,aAAa;CAC9B,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,OAAO,OAAO,QAAQ,aAAa;CAEzC,SAAS,YAAY,MAAoB;AACvC,WAAS,GAAG,QAAM,SAAS,OAAO;;CAGpC,SAAS,UAAU,OAAe,MAAc,SAAyB;AACvE,MAAI,UAAU,qBACZ,QAAO,EAAE,wCAAwC,EAAE,SAAS,MAAM,CAAC;MAEnE,QAAO,EAAE,iCAAiC;GAAE,SAAS;GAAM;GAAS,CAAC;;AAIzE,QACE,qBAAC,KAAD;EAAK,eAAa;EAAO,IAAI,EAAE,QAAQ,GAAG;YAA1C,CACE,oBAAC,YAAD;GAAY,IAAI,EAAE,cAAc,GAAG;GAAE,SAAQ;aAC1C,GAAG,MAAM,IAAI,KAAK,OAAO;GACf,CAAA,EACb,oBAAC,MAAD,EAAA,UACG,KAAK,KAAK,CAAC,MAAM,aAA+B;GAG/C,MAAM,cAAc,SAAS,uBAAuB,UAAU;AAC9D,UACE,oBAAC,KAAD;IACE,WAAW;IACX,WAAW;IACX,eAAa;IAEb,OAAO,UAAU,OAAO,aAAa,QAAQ;IAC7C,eAAe;AACb,iBAAY,YAAY;;IAE1B,EALK,YAKL;IAEJ,EACG,CAAA,CACH"}
1
+ {"version":3,"file":"DependencyBlock.mjs","names":[],"sources":["../../../src/components/Dependencies/DependencyBlock.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Box from '@mui/material/Box';\nimport Chip from '@mui/material/Chip';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageDependencies } from '../../types/packageMeta';\nimport { Route } from '../../utils';\n\ninterface DependencyBlockProps {\n title: string;\n dependencies: PackageDependencies;\n}\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const Tags = styled('div')<{ theme?: Theme }>((props) => ({\n display: 'flex',\n justifyContent: 'start',\n flexWrap: 'wrap',\n // force title to be on the same line as the title\n // could be better to avoid margin on the first element\n // but it is a bit tricky to do with flexbox\n marginLeft: props.theme.spacing(-0.6),\n}));\n\nexport const Tag = styled(Chip)<{ theme?: Theme }>((props) => ({\n margin: props.theme.spacing(0.6),\n}));\n\nexport const DependencyBlock: React.FC<DependencyBlockProps> = ({ title, dependencies }) => {\n const navigate = useNavigate();\n const { t } = useTranslation();\n const deps = Object.entries(dependencies);\n\n function handleClick(name: string): void {\n navigate(`${Route.DETAIL}${name}`);\n }\n\n function labelText(title: string, name: string, version: string): string {\n if (title === 'bundleDependencies') {\n return t('dependencies.dependency-block-bundle', { package: name });\n } else {\n return t('dependencies.dependency-block', { package: name, version });\n }\n }\n\n return (\n <Box data-testid={title} sx={{ margin: 2 }}>\n <StyledText sx={{ marginBottom: 1 }} variant=\"subtitle1\">\n {`${title} (${deps.length})`}\n </StyledText>\n <Tags>\n {deps.map(([name, version]: [string, string]) => {\n // Bundle dependencies are stored as array, for example [ 0: \"semver\" ]\n // so the package name arrives here in the version field\n const packageName = title == 'bundleDependencies' ? version : name;\n return (\n <Tag\n className={'dep-tag'}\n clickable={true}\n data-testid={packageName}\n key={packageName}\n label={labelText(title, packageName, version)}\n onClick={() => {\n handleClick(packageName);\n }}\n />\n );\n })}\n </Tags>\n </Box>\n );\n};\n"],"mappings":";;;;;;;;;;;AAiBA,IAAa,aAAa,OAAO,WAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,OAAO,OAAO,MAAM,EAAqB,WAAW;CAC/D,SAAS;CACT,gBAAgB;CAChB,UAAU;CAIV,YAAY,MAAM,MAAM,QAAQ,IAAK;CACtC,EAAE;AAEH,IAAa,MAAM,OAAO,KAAK,EAAqB,WAAW,EAC7D,QAAQ,MAAM,MAAM,QAAQ,GAAI,EACjC,EAAE;AAEH,IAAa,mBAAmD,EAAE,OAAO,mBAAmB;CAC1F,MAAM,WAAW,aAAa;CAC9B,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,OAAO,OAAO,QAAQ,aAAa;CAEzC,SAAS,YAAY,MAAoB;AACvC,WAAS,GAAG,QAAM,SAAS,OAAO;;CAGpC,SAAS,UAAU,OAAe,MAAc,SAAyB;AACvE,MAAI,UAAU,qBACZ,QAAO,EAAE,wCAAwC,EAAE,SAAS,MAAM,CAAC;MAEnE,QAAO,EAAE,iCAAiC;GAAE,SAAS;GAAM;GAAS,CAAC;;AAIzE,QACE,qBAAC,KAAD;EAAK,eAAa;EAAO,IAAI,EAAE,QAAQ,GAAG;YAA1C,CACE,oBAAC,YAAD;GAAY,IAAI,EAAE,cAAc,GAAG;GAAE,SAAQ;aAC1C,GAAG,MAAM,IAAI,KAAK,OAAO;GACf,CAAA,EACb,oBAAC,MAAD,EAAA,UACG,KAAK,KAAK,CAAC,MAAM,aAA+B;GAG/C,MAAM,cAAc,SAAS,uBAAuB,UAAU;AAC9D,UACE,oBAAC,KAAD;IACE,WAAW;IACX,WAAW;IACX,eAAa;IAEb,OAAO,UAAU,OAAO,aAAa,QAAQ;IAC7C,eAAe;AACb,iBAAY,YAAY;;IAE1B,EALK,YAKL;IAEJ,EACG,CAAA,CACH"}
@@ -1,2 +1,2 @@
1
1
  const require_Dependencies = require("./Dependencies.js");
2
- exports.default = require_Dependencies;
2
+ exports.default = require_Dependencies.default;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export interface Props {
3
3
  children: ReactNode;
4
4
  open: boolean;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export type Props = {
3
3
  message: string;
4
4
  };
@@ -1,6 +1,11 @@
1
- import React from 'react';
2
- import type { DeveloperType } from './DeveloperType';
3
- export declare const Fab: import("@emotion/styled").StyledComponent<any, {}, {}>;
1
+ import { default as React } from 'react';
2
+ import { Theme } from '../../Theme';
3
+ import { DeveloperType } from './DeveloperType';
4
+ export declare const Fab: import('@emotion/styled').StyledComponent<import('@mui/material/Fab').FabOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children" | "style" | "color" | "className" | "classes" | "sx" | "variant" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableFocusRipple" | "size"> & {
5
+ theme?: import('@emotion/react').Theme;
6
+ } & {
7
+ theme?: Theme;
8
+ }, {}, {}>;
4
9
  interface Props {
5
10
  type: DeveloperType;
6
11
  visibleMax?: number;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { DeveloperType } from './';
3
3
  interface Props {
4
4
  type: DeveloperType;
@@ -4,7 +4,7 @@ import styled from "@emotion/styled";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import { useTranslation } from "react-i18next";
7
- import MaterialUITypography from "@mui/material/Typography";
7
+ import Typography from "@mui/material/Typography";
8
8
  //#region src/components/Developers/Title.tsx
9
9
  var Title = ({ type }) => {
10
10
  const { t } = useTranslation();
@@ -19,7 +19,7 @@ var Title = ({ type }) => {
19
19
  });
20
20
  }
21
21
  };
22
- var StyledText = styled(MaterialUITypography)(({ theme }) => ({
22
+ var StyledText = styled(Typography)(({ theme }) => ({
23
23
  fontWeight: theme.fontWeight.bold,
24
24
  marginBottom: "10px"
25
25
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"Title.mjs","names":[],"sources":["../../../src/components/Developers/Title.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport { DeveloperType } from './';\n\ninterface Props {\n type: DeveloperType;\n}\n\nconst Title: React.FC<Props> = ({ type }) => {\n const { t } = useTranslation();\n switch (type) {\n case DeveloperType.CONTRIBUTORS:\n return <StyledText variant={'subtitle1'}>{t('sidebar.contributors.title')}</StyledText>;\n case DeveloperType.MAINTAINERS:\n return <StyledText variant={'subtitle1'}>{t('sidebar.maintainers.title')}</StyledText>;\n }\n};\n\nexport default Title;\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>(({ theme }) => ({\n fontWeight: theme.fontWeight.bold,\n marginBottom: '10px',\n}));\n"],"mappings":";;;;;;;;AAYA,IAAM,SAA0B,EAAE,WAAW;CAC3C,MAAM,EAAE,MAAM,gBAAgB;AAC9B,SAAQ,MAAR;EACE,KAAK,cAAc,aACjB,QAAO,oBAAC,YAAD;GAAY,SAAS;aAAc,EAAE,6BAA6B;GAAc,CAAA;EACzF,KAAK,cAAc,YACjB,QAAO,oBAAC,YAAD;GAAY,SAAS;aAAc,EAAE,4BAA4B;GAAc,CAAA;;;AAM5F,IAAM,aAAa,OAAO,qBAAW,EAAqB,EAAE,aAAa;CACvE,YAAY,MAAM,WAAW;CAC7B,cAAc;CACf,EAAE"}
1
+ {"version":3,"file":"Title.mjs","names":[],"sources":["../../../src/components/Developers/Title.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport { DeveloperType } from './';\n\ninterface Props {\n type: DeveloperType;\n}\n\nconst Title: React.FC<Props> = ({ type }) => {\n const { t } = useTranslation();\n switch (type) {\n case DeveloperType.CONTRIBUTORS:\n return <StyledText variant={'subtitle1'}>{t('sidebar.contributors.title')}</StyledText>;\n case DeveloperType.MAINTAINERS:\n return <StyledText variant={'subtitle1'}>{t('sidebar.maintainers.title')}</StyledText>;\n }\n};\n\nexport default Title;\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>(({ theme }) => ({\n fontWeight: theme.fontWeight.bold,\n marginBottom: '10px',\n}));\n"],"mappings":";;;;;;;;AAYA,IAAM,SAA0B,EAAE,WAAW;CAC3C,MAAM,EAAE,MAAM,gBAAgB;AAC9B,SAAQ,MAAR;EACE,KAAK,cAAc,aACjB,QAAO,oBAAC,YAAD;GAAY,SAAS;aAAc,EAAE,6BAA6B;GAAc,CAAA;EACzF,KAAK,cAAc,YACjB,QAAO,oBAAC,YAAD;GAAY,SAAS;aAAc,EAAE,4BAA4B;GAAc,CAAA;;;AAM5F,IAAM,aAAa,OAAO,WAAW,EAAqB,EAAE,aAAa;CACvE,YAAY,MAAM,WAAW;CAC7B,cAAc;CACf,EAAE"}
@@ -1,3 +1,3 @@
1
- import type { Developer } from '../../types/packageMeta';
1
+ import { Developer } from '../../types/packageMeta';
2
2
  declare function getUniqueDeveloperValues(developers?: Developer[]): Developer[];
3
3
  export default getUniqueDeveloperValues;
@@ -1,5 +1,5 @@
1
- import type { FC } from 'react';
2
- import type { PackageMetaInterface } from '../../types/packageMeta';
1
+ import { FC } from 'react';
2
+ import { PackageMetaInterface } from '../../types/packageMeta';
3
3
  declare const Dist: FC<{
4
4
  packageMeta: PackageMetaInterface;
5
5
  }>;
@@ -1,3 +1,12 @@
1
- export declare const StyledText: import("@emotion/styled").StyledComponent<any, {}, {}>;
2
- export declare const DistListItem: import("@emotion/styled").StyledComponent<any, {}, {}>;
3
- export declare const DistChips: import("@emotion/styled").StyledComponent<any, {}, {}>;
1
+ import { Theme } from '../../Theme';
2
+ export declare const StyledText: import('@emotion/styled').StyledComponent<import('@mui/material/Typography').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "p" | "style" | "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "classes" | "sx" | "variant" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
3
+ theme?: import('@emotion/react').Theme;
4
+ } & {
5
+ theme?: Theme;
6
+ }, {}, {}>;
7
+ export declare const DistListItem: import('@emotion/styled').StyledComponent<import('@mui/material/ListItem').ListItemOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "children" | "style" | "components" | "alignItems" | "className" | "classes" | "sx" | "componentsProps" | "slots" | "slotProps" | "divider" | "ContainerComponent" | "ContainerProps" | "dense" | "disableGutters" | "disablePadding" | "secondaryAction"> & {
8
+ theme?: import('@emotion/react').Theme;
9
+ }, {}, {}>;
10
+ export declare const DistChips: import('@emotion/styled').StyledComponent<import('@mui/material/Chip').ChipOwnProps & import('@mui/material/Chip').ChipSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "label" | "style" | "color" | "className" | "classes" | "sx" | "variant" | "tabIndex" | "disabled" | "size" | "slots" | "slotProps" | "avatar" | "clickable" | "deleteIcon" | "icon" | "onDelete" | "skipFocusWhenDisabled"> & {
11
+ theme?: import('@emotion/react').Theme;
12
+ }, {}, {}>;
@@ -1,9 +1,9 @@
1
1
  import styled from "@emotion/styled";
2
- import MaterialUITypography from "@mui/material/Typography";
2
+ import Typography from "@mui/material/Typography";
3
3
  import ListItem from "@mui/material/ListItem";
4
4
  import Chip from "@mui/material/Chip";
5
5
  //#region src/components/Distribution/styles.ts
6
- var StyledText = styled(MaterialUITypography)((props) => ({
6
+ var StyledText = styled(Typography)((props) => ({
7
7
  fontWeight: props.theme.fontWeight.bold,
8
8
  textTransform: "capitalize"
9
9
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"styles.mjs","names":[],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":";;;;;AAOA,IAAa,aAAa,OAAO,qBAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,eAAe,OAAO,SAAS,CAAC;CAC3C,aAAa;CACb,cAAc;CACd,UAAU;CACX,CAAC;AAEF,IAAa,YAAY,OAAO,KAAK,CAAC;CACpC,aAAa;CACb,eAAe;CACf,WAAW;CACZ,CAAC"}
1
+ {"version":3,"file":"styles.mjs","names":[],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":";;;;;AAOA,IAAa,aAAa,OAAO,WAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,eAAe,OAAO,SAAS,CAAC;CAC3C,aAAa;CACb,cAAc;CACd,UAAU;CACX,CAAC;AAEF,IAAa,YAAY,OAAO,KAAK,CAAC;CACpC,aAAa;CACb,eAAe;CACf,WAAW;CACZ,CAAC"}
@@ -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
  interface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {
4
4
  latest: {
5
5
  engines?: {
@@ -1,2 +1,9 @@
1
- export declare const StyledText: import("@emotion/styled").StyledComponent<any, {}, {}>;
2
- export declare const EngineListItem: import("@emotion/styled").StyledComponent<any, {}, {}>;
1
+ import { Theme } from '../../Theme';
2
+ export declare const StyledText: import('@emotion/styled').StyledComponent<import('@mui/material/Typography').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "p" | "style" | "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "classes" | "sx" | "variant" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
3
+ theme?: import('@emotion/react').Theme;
4
+ } & {
5
+ theme?: Theme;
6
+ }, {}, {}>;
7
+ export declare const EngineListItem: import('@emotion/styled').StyledComponent<import('@mui/material/ListItem').ListItemOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "children" | "style" | "components" | "alignItems" | "className" | "classes" | "sx" | "componentsProps" | "slots" | "slotProps" | "divider" | "ContainerComponent" | "ContainerProps" | "dense" | "disableGutters" | "disablePadding" | "secondaryAction"> & {
8
+ theme?: import('@emotion/react').Theme;
9
+ }, {}, {}>;
@@ -1,8 +1,8 @@
1
1
  import styled from "@emotion/styled";
2
- import MaterialUITypography from "@mui/material/Typography";
2
+ import Typography from "@mui/material/Typography";
3
3
  import ListItem from "@mui/material/ListItem";
4
4
  //#region src/components/Engines/styles.ts
5
- var StyledText = styled(MaterialUITypography)((props) => ({
5
+ var StyledText = styled(Typography)((props) => ({
6
6
  fontWeight: props.theme.fontWeight.bold,
7
7
  textTransform: "capitalize"
8
8
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"styles.mjs","names":[],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":";;;;AAMA,IAAa,aAAa,OAAO,qBAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,iBAAiB,OAAO,SAAS,CAAC,EAC7C,SAAS,GACV,CAAC"}
1
+ {"version":3,"file":"styles.mjs","names":[],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":";;;;AAMA,IAAa,aAAa,OAAO,WAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,iBAAiB,OAAO,SAAS,CAAC,EAC7C,SAAS,GACV,CAAC"}
@@ -1,5 +1,4 @@
1
- import type { ErrorInfo, ReactNode } from 'react';
2
- import React, { Component } from 'react';
1
+ import { ErrorInfo, ReactNode, default as React, Component } from 'react';
3
2
  interface ErrorBoundaryProps {
4
3
  children: ReactNode;
5
4
  }
@@ -11,6 +10,6 @@ export default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBo
11
10
  state: ErrorBoundaryState;
12
11
  static getDerivedStateFromError(error: Error): ErrorBoundaryState;
13
12
  componentDidCatch(error: Error, info: ErrorInfo): void;
14
- render(): string | number | boolean | Iterable<ReactNode> | React.JSX.Element | null | undefined;
13
+ render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
15
14
  }
16
15
  export {};
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const Forbidden: React.FC;
3
3
  export default Forbidden;
4
4
  export { Forbidden };
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  declare const FundButton: React.FC<{
3
3
  packageMeta: any;
4
4
  }>;