@verdaccio/ui-theme 6.0.0-6-next.13 → 6.0.0-6-next.14

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 (105) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/jest/server-handlers.ts +1 -1
  3. package/package.json +26 -28
  4. package/src/App/Header/HeaderMenu.tsx +6 -3
  5. package/src/App/Header/HeaderToolTipIcon.tsx +4 -2
  6. package/src/App/Header/LoginDialog/LoginDialog.tsx +2 -1
  7. package/src/App/Header/LoginDialog/LoginDialogForm.tsx +2 -1
  8. package/src/App/Header/RegistryInfoContent/RegistryInfoContent.tsx +6 -3
  9. package/src/App/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +2 -1
  10. package/src/App/Header/Search/__snapshots__/Search.test.tsx.snap +5 -1
  11. package/src/components/AutoComplete/AutoCompleteV2.tsx +10 -4
  12. package/src/components/Link.tsx +2 -1
  13. package/src/components/NotFound/NotFound.tsx +2 -1
  14. package/src/components/NotFound/__snapshots__/Notfound.test.tsx.snap +1 -1
  15. package/src/components/TextField/__snapshots__/TextField.test.tsx.snap +2 -0
  16. package/src/i18n/download_translations/cs-CZ/ui.json +92 -92
  17. package/src/i18n/download_translations/es-ES/ui.json +23 -23
  18. package/src/i18n/download_translations/fr-FR/ui.json +66 -66
  19. package/src/i18n/download_translations/gl-ES/ui.json +28 -28
  20. package/src/i18n/download_translations/ja-JP/ui.json +71 -71
  21. package/src/i18n/download_translations/km-KH/ui.json +73 -73
  22. package/src/i18n/download_translations/pt-BR/ui.json +69 -69
  23. package/src/i18n/download_translations/ru-RU/ui.json +70 -70
  24. package/src/i18n/download_translations/tr-TR/ui.json +65 -65
  25. package/src/i18n/download_translations/uk-UA/ui.json +68 -68
  26. package/src/i18n/download_translations/zh-CN/ui.json +66 -66
  27. package/src/i18n/download_translations/zh-TW/ui.json +60 -60
  28. package/src/pages/Version/DetailContainer/DetailContainerTabs.tsx +2 -1
  29. package/src/pages/Version/DetailContainer/UpLinks/__snapshots__/UpLinks.test.tsx.snap +2 -2
  30. package/src/pages/Version/DetailSidebar/DetailSidebarFundButton.tsx +2 -1
  31. package/src/pages/Version/DetailSidebar/Dist/Dist.tsx +2 -1
  32. package/src/pages/Version/DetailSidebar/Engines/Engines.tsx +4 -2
  33. package/src/pages/Version/DetailSidebar/Install/Install.tsx +2 -1
  34. package/src/pages/Version/DetailSidebar/Repository/Repository.tsx +2 -1
  35. package/src/pages/Version/Version.test.tsx +2 -1
  36. package/src/pages/Version/VersionContextProvider.tsx +2 -1
  37. package/src/pages/home/PackageList/Help/__snapshots__/Help.test.tsx.snap +1 -1
  38. package/src/pages/home/PackageList/Package/Package.tsx +6 -3
  39. package/src/store/models/login.ts +11 -7
  40. package/src/store/models/manifest.ts +2 -2
  41. package/src/store/models/packages.ts +1 -1
  42. package/src/store/models/search.ts +1 -1
  43. package/static/Dependencies.915355f5a928b489259e.js +2 -0
  44. package/static/{Dependencies.15768a14646212b71166.js.LICENSE.txt → Dependencies.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  45. package/static/Dist.915355f5a928b489259e.js +2 -0
  46. package/static/{Dist.15768a14646212b71166.js.LICENSE.txt → Dist.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  47. package/static/Engines.915355f5a928b489259e.js +2 -0
  48. package/static/{Engines.15768a14646212b71166.js.LICENSE.txt → Engines.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  49. package/static/Home.915355f5a928b489259e.js +2 -0
  50. package/static/{Home.15768a14646212b71166.js.LICENSE.txt → Home.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  51. package/static/Install.915355f5a928b489259e.js +2 -0
  52. package/static/{Install.15768a14646212b71166.js.LICENSE.txt → Install.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  53. package/static/NotFound.915355f5a928b489259e.js +2 -0
  54. package/static/{NotFound.15768a14646212b71166.js.LICENSE.txt → NotFound.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  55. package/static/{Provider.15768a14646212b71166.js → Provider.915355f5a928b489259e.js} +1 -1
  56. package/static/{Provider.15768a14646212b71166.js.LICENSE.txt → Provider.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  57. package/static/Repository.915355f5a928b489259e.js +2 -0
  58. package/static/{Repository.15768a14646212b71166.js.LICENSE.txt → Repository.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  59. package/static/UpLinks.915355f5a928b489259e.js +2 -0
  60. package/static/{UpLinks.15768a14646212b71166.js.LICENSE.txt → UpLinks.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  61. package/static/Version.915355f5a928b489259e.js +2 -0
  62. package/static/{Version.15768a14646212b71166.js.LICENSE.txt → Version.915355f5a928b489259e.js.LICENSE.txt} +2 -22
  63. package/static/Versions.915355f5a928b489259e.js +2 -0
  64. package/static/{Versions.15768a14646212b71166.js.LICENSE.txt → Versions.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  65. package/static/index.html +1 -1
  66. package/static/main.915355f5a928b489259e.js +2 -0
  67. package/static/{main.15768a14646212b71166.js.LICENSE.txt → main.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  68. package/static/manifest.json +17 -17
  69. package/static/{runtime.15768a14646212b71166.js → runtime.915355f5a928b489259e.js} +2 -2
  70. package/static/{runtime.15768a14646212b71166.js.LICENSE.txt → runtime.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  71. package/static/vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-03c9e7.915355f5a928b489259e.js +2 -0
  72. package/static/{vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-123400.15768a14646212b71166.js.LICENSE.txt → vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-03c9e7.915355f5a928b489259e.js.LICENSE.txt} +20 -20
  73. package/static/{vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-d2b578.15768a14646212b71166.js → vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-e72974.915355f5a928b489259e.js} +2 -2
  74. package/static/{vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-d2b578.15768a14646212b71166.js.LICENSE.txt → vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-e72974.915355f5a928b489259e.js.LICENSE.txt} +31 -31
  75. package/static/vendors-node_modules_pnpm_mui_material_5_2_8_f5341c4d41f1e34c3a73251df9f98a19_node_modules_mu-6057aa.915355f5a928b489259e.js +2 -0
  76. package/static/{vendors-node_modules_pnpm_mui_material_5_0_6_033766d34292bd5d464212fd95cb4b6d_node_modules_mu-1fb115.15768a14646212b71166.js.LICENSE.txt → vendors-node_modules_pnpm_mui_material_5_2_8_f5341c4d41f1e34c3a73251df9f98a19_node_modules_mu-6057aa.915355f5a928b489259e.js.LICENSE.txt} +7 -7
  77. package/static/vendors.915355f5a928b489259e.js +103 -0
  78. package/static/{vendors.15768a14646212b71166.js.LICENSE.txt → vendors.915355f5a928b489259e.js.LICENSE.txt} +362 -364
  79. package/src/i18n/deprecated_translations_dont_use/cs-CZ.json +0 -168
  80. package/src/i18n/deprecated_translations_dont_use/de-DE.json +0 -168
  81. package/src/i18n/deprecated_translations_dont_use/en-US.json +0 -170
  82. package/src/i18n/deprecated_translations_dont_use/es-ES.json +0 -168
  83. package/src/i18n/deprecated_translations_dont_use/fr-FR.json +0 -168
  84. package/src/i18n/deprecated_translations_dont_use/ja-JP.json +0 -168
  85. package/src/i18n/deprecated_translations_dont_use/km-KH.json +0 -168
  86. package/src/i18n/deprecated_translations_dont_use/pt-BR.json +0 -168
  87. package/src/i18n/deprecated_translations_dont_use/ru-RU.json +0 -168
  88. package/src/i18n/deprecated_translations_dont_use/tr-TR.json +0 -168
  89. package/src/i18n/deprecated_translations_dont_use/uk-UA.json +0 -168
  90. package/src/i18n/deprecated_translations_dont_use/zh-CN.json +0 -168
  91. package/src/i18n/deprecated_translations_dont_use/zh-TW.json +0 -165
  92. package/static/Dependencies.15768a14646212b71166.js +0 -2
  93. package/static/Dist.15768a14646212b71166.js +0 -2
  94. package/static/Engines.15768a14646212b71166.js +0 -2
  95. package/static/Home.15768a14646212b71166.js +0 -2
  96. package/static/Install.15768a14646212b71166.js +0 -2
  97. package/static/NotFound.15768a14646212b71166.js +0 -2
  98. package/static/Repository.15768a14646212b71166.js +0 -2
  99. package/static/UpLinks.15768a14646212b71166.js +0 -2
  100. package/static/Version.15768a14646212b71166.js +0 -2
  101. package/static/Versions.15768a14646212b71166.js +0 -2
  102. package/static/main.15768a14646212b71166.js +0 -2
  103. package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-123400.15768a14646212b71166.js +0 -2
  104. package/static/vendors-node_modules_pnpm_mui_material_5_0_6_033766d34292bd5d464212fd95cb4b6d_node_modules_mu-1fb115.15768a14646212b71166.js +0 -2
  105. package/static/vendors.15768a14646212b71166.js +0 -103
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @verdaccio/ui-theme
2
2
 
3
+ ## 6.0.0-6-next.14
4
+
5
+ ### Minor Changes
6
+
7
+ - 048ac95e: feat: align with v5 ui endpoints and ui small bugfix
8
+
3
9
  ## 6.0.0-6-next.13
4
10
 
5
11
  ### Major Changes
@@ -3,7 +3,7 @@ import { rest } from 'msw';
3
3
  const packagesPayload = require('./api/packages.json');
4
4
 
5
5
  export const handlers = [
6
- rest.get('http://localhost:9000/-/verdaccio/packages', (req, res, ctx) => {
6
+ rest.get('http://localhost:9000/-/verdaccio/data/packages', (req, res, ctx) => {
7
7
  return res(ctx.json(packagesPayload));
8
8
  }),
9
9
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/ui-theme",
3
- "version": "6.0.0-6-next.13",
3
+ "version": "6.0.0-6-next.14",
4
4
  "description": "Verdaccio User Interface",
5
5
  "author": {
6
6
  "name": "Verdaccio Contributors",
@@ -17,27 +17,27 @@
17
17
  "npm": ">=6"
18
18
  },
19
19
  "devDependencies": {
20
- "@types/react": "17.0.37",
20
+ "@types/react": "17.0.38",
21
21
  "@types/react-autosuggest": "10.1.5",
22
22
  "@types/react-dom": "17.0.11",
23
- "@types/react-helmet": "6.1.4",
23
+ "@types/react-helmet": "6.1.5",
24
24
  "@types/redux": "3.6.0",
25
25
  "@types/react-router-dom": "5.3.2",
26
- "@types/react-virtualized": "9.21.15",
27
- "@emotion/react": "11.5.0",
28
- "@emotion/jest": "11.5.0",
29
- "@emotion/styled": "11.3.0",
30
- "@emotion/css": "11.5.0",
31
- "@emotion/babel-plugin": "11.0.0",
32
- "@mui/icons-material": "5.0.5",
33
- "@mui/material": "5.0.6",
34
- "@mui/styles": "5.0.2",
26
+ "@types/react-virtualized": "9.21.16",
27
+ "@emotion/react": "11.7.1",
28
+ "@emotion/jest": "11.7.1",
29
+ "@emotion/styled": "11.6.0",
30
+ "@emotion/css": "11.7.1",
31
+ "@emotion/babel-plugin": "11.7.2",
32
+ "@mui/icons-material": "5.2.5",
33
+ "@mui/material": "5.2.8",
34
+ "@mui/styles": "5.2.3",
35
35
  "@rematch/core": "2.2.0",
36
36
  "@rematch/loading": "2.1.2",
37
37
  "@testing-library/dom": "8.11.1",
38
38
  "@testing-library/jest-dom": "5.16.1",
39
39
  "@testing-library/react": "12.1.2",
40
- "@verdaccio/node-api": "6.0.0-6-next.25",
40
+ "@verdaccio/node-api": "6.0.0-6-next.26",
41
41
  "@verdaccio/types": "11.0.0-6-next.10",
42
42
  "babel-loader": "8.2.3",
43
43
  "babel-plugin-dynamic-import-node": "2.3.3",
@@ -48,7 +48,7 @@
48
48
  "github-markdown-css": "4.0.0",
49
49
  "harmony-reflect": "1.6.2",
50
50
  "history": "4.10.1",
51
- "html-webpack-plugin": "5.4.0",
51
+ "html-webpack-plugin": "5.5.0",
52
52
  "i18next": "20.6.1",
53
53
  "in-publish": "2.0.1",
54
54
  "country-flag-icons": "1.4.19",
@@ -56,42 +56,40 @@
56
56
  "js-yaml": "3.14.1",
57
57
  "localstorage-memory": "1.0.3",
58
58
  "lodash": "4.17.21",
59
- "mini-css-extract-plugin": "2.2.2",
59
+ "mini-css-extract-plugin": "2.4.6",
60
60
  "mutationobserver-shim": "0.3.7",
61
- "node-mocks-http": "1.10.1",
61
+ "node-mocks-http": "1.11.0",
62
62
  "normalize.css": "8.0.1",
63
63
  "optimize-css-assets-webpack-plugin": "6.0.1",
64
64
  "ora": "5.4.1",
65
- "prop-types": "15.7.2",
66
65
  "react": "17.0.2",
67
66
  "react-dom": "17.0.2",
68
- "react-hook-form": "7.15.3",
67
+ "react-hook-form": "7.23.0",
69
68
  "react-hot-loader": "4.13.0",
70
- "react-i18next": "11.12.0",
69
+ "react-i18next": "11.15.3",
71
70
  "react-router": "5.2.1",
72
71
  "react-router-dom": "5.3.0",
73
72
  "react-virtualized": "9.22.3",
74
73
  "react-redux": "7.2.6",
75
74
  "redux": "4.1.2",
76
75
  "rimraf": "3.0.2",
77
- "msw": "0.35.0",
78
- "standard-version": "9.3.1",
79
- "style-loader": "3.2.1",
76
+ "msw": "0.36.4",
77
+ "style-loader": "3.3.1",
80
78
  "stylelint": "13.13.1",
81
79
  "stylelint-config-recommended": "5.0.0",
82
80
  "stylelint-config-styled-components": "0.1.1",
83
81
  "stylelint-processor-styled-components": "1.10.0",
84
- "stylelint-webpack-plugin": "3.0.1",
85
- "supertest": "6.1.6",
86
- "terser-webpack-plugin": "5.2.5",
82
+ "stylelint-webpack-plugin": "3.1.0",
83
+ "supertest": "6.2.1",
84
+ "terser-webpack-plugin": "5.3.0",
87
85
  "url-loader": "4.1.1",
88
86
  "validator": "13.7.0",
89
- "webpack": "5.64.0",
90
- "webpack-bundle-analyzer": "4.4.2",
87
+ "webpack": "5.66.0",
88
+ "webpack-bundle-analyzer": "4.5.0",
91
89
  "webpack-bundle-size-analyzer": "3.1.0",
92
90
  "webpack-cli": "^4.7.2",
93
91
  "webpack-dev-server": "3.11.3",
94
- "webpack-manifest-plugin": "4.0.2",
92
+ "webpack-manifest-plugin": "4.1.1",
95
93
  "webpack-merge": "5.8.0",
96
94
  "whatwg-fetch": "3.6.2",
97
95
  "xss": "1.0.10"
@@ -32,7 +32,8 @@ const HeaderMenu: React.FC<Props> = ({
32
32
  data-testid="logInDialogIcon"
33
33
  id="header--button-account"
34
34
  onClick={onLoggedInMenu}
35
- size="large">
35
+ size="large"
36
+ >
36
37
  <AccountCircle />
37
38
  </IconButton>
38
39
  <Menu
@@ -46,7 +47,8 @@ const HeaderMenu: React.FC<Props> = ({
46
47
  transformOrigin={{
47
48
  vertical: 'top',
48
49
  horizontal: 'right',
49
- }}>
50
+ }}
51
+ >
50
52
  <MenuItem>
51
53
  <HeaderGreetings username={username} />
52
54
  </MenuItem>
@@ -54,7 +56,8 @@ const HeaderMenu: React.FC<Props> = ({
54
56
  button={true}
55
57
  data-testid="logOutDialogIcon"
56
58
  id="logOutDialogIcon"
57
- onClick={onLogout}>
59
+ onClick={onLogout}
60
+ >
58
61
  {t('button.logout')}
59
62
  </MenuItem>
60
63
  </Menu>
@@ -28,7 +28,8 @@ const HeaderToolTipIcon = forwardRef<HeaderToolTipIconRef, Props>(function Heade
28
28
  <StyledLink
29
29
  data-testid={'header--tooltip-documentation'}
30
30
  external={true}
31
- to={'https://verdaccio.org/docs/en/installation'}>
31
+ to={'https://verdaccio.org/docs/en/installation'}
32
+ >
32
33
  <IconButton color={'inherit'} size="large">
33
34
  <Help />
34
35
  </IconButton>
@@ -42,7 +43,8 @@ const HeaderToolTipIcon = forwardRef<HeaderToolTipIconRef, Props>(function Heade
42
43
  id="header--button-registryInfo"
43
44
  onClick={onClick}
44
45
  ref={ref}
45
- size="large">
46
+ size="large"
47
+ >
46
48
  <Info />
47
49
  </IconButton>
48
50
  );
@@ -66,7 +66,8 @@ const LoginDialog: React.FC<Props> = ({ onClose, open = false }) => {
66
66
  id="login--dialog"
67
67
  maxWidth="sm"
68
68
  onClose={onClose}
69
- open={open}>
69
+ open={open}
70
+ >
70
71
  <LoginDialogCloseButton onClose={onClose} />
71
72
  <DialogContent data-testid="dialogContentLogin">
72
73
  <LoginDialogHeader />
@@ -86,7 +86,8 @@ const LoginDialogForm = memo(({ onSubmit, error }: Props) => {
86
86
  id="login--dialog-button-submit"
87
87
  size="large"
88
88
  type="submit"
89
- variant="contained">
89
+ variant="contained"
90
+ >
90
91
  {t('button.login')}
91
92
  </StyledButton>
92
93
  </StyledForm>
@@ -102,7 +102,8 @@ const RegistryInfoContent: FC<Props> = ({ scope, registryUrl }) => {
102
102
  <AccordionSummary
103
103
  aria-controls="panel1a-content"
104
104
  expandIcon={<ExpandMoreIcon />}
105
- id="panel1a-header">
105
+ id="panel1a-header"
106
+ >
106
107
  <Typography className={classes.heading}>{'npm'}</Typography>
107
108
  </AccordionSummary>
108
109
  <AccordionDetails>
@@ -117,7 +118,8 @@ const RegistryInfoContent: FC<Props> = ({ scope, registryUrl }) => {
117
118
  <AccordionSummary
118
119
  aria-controls="panel2a-content"
119
120
  expandIcon={<ExpandMoreIcon />}
120
- id="panel2a-header">
121
+ id="panel2a-header"
122
+ >
121
123
  <Typography className={classes.heading}>{'yarn'}</Typography>
122
124
  </AccordionSummary>
123
125
  <AccordionDetails>
@@ -132,7 +134,8 @@ const RegistryInfoContent: FC<Props> = ({ scope, registryUrl }) => {
132
134
  <AccordionSummary
133
135
  aria-controls="panel3a-content"
134
136
  expandIcon={<ExpandMoreIcon />}
135
- id="panel3a-header">
137
+ id="panel3a-header"
138
+ >
136
139
  {'pnpm'}
137
140
  </AccordionSummary>
138
141
  <AccordionDetails>
@@ -14,7 +14,8 @@ const RegistryInfoDialog: React.FC<Props> = ({ open = false, children, onClose }
14
14
  data-testid={'registryInfo--dialog'}
15
15
  id="registryInfo--dialog-container"
16
16
  onClose={onClose}
17
- open={open}>
17
+ open={open}
18
+ >
18
19
  <Title disableTypography={true}>{t('dialog.registry-info.title')}</Title>
19
20
  <Content>{children}</Content>
20
21
  <DialogActions>
@@ -118,6 +118,10 @@ exports[`<Search /> component should load the component in default state 1`] = `
118
118
  padding: 2.5px 4px;
119
119
  }
120
120
 
121
+ .emotion-2 .MuiInputBase-hiddenLabel {
122
+ padding-top: 8px;
123
+ }
124
+
121
125
  .emotion-2 .MuiAutocomplete-input {
122
126
  -webkit-box-flex: 1;
123
127
  -webkit-flex-grow: 1;
@@ -448,7 +452,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-9:focus::-ms-input-p
448
452
  aria-invalid="false"
449
453
  autocapitalize="none"
450
454
  autocomplete="off"
451
- class="MuiInput-input MuiInputBase-input MuiInputBase-inputAdornedStart MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused MuiAutocomplete-input MuiAutocomplete-inputFocused emotion-9"
455
+ class="MuiInput-input MuiInputBase-input MuiInputBase-inputAdornedStart MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused emotion-9"
452
456
  id="search-header-suggest"
453
457
  placeholder="Search Packages"
454
458
  spellcheck="false"
@@ -171,7 +171,8 @@ const AutoComplete = <Option extends {}>({
171
171
  isSelected={index === activeOption}
172
172
  key={index}
173
173
  onClick={handleClickOption(option)}
174
- tabIndex={0}>
174
+ tabIndex={0}
175
+ >
175
176
  {renderOptionProp(option)}
176
177
  </Option>
177
178
  ));
@@ -183,7 +184,8 @@ const AutoComplete = <Option extends {}>({
183
184
  key={index}
184
185
  onClick={handleClickOption(option)}
185
186
  selected={index === activeOption}
186
- tabIndex={0}>
187
+ tabIndex={0}
188
+ >
187
189
  {getOptionLabel(option)}
188
190
  </MenuItem>
189
191
  ));
@@ -202,7 +204,8 @@ const AutoComplete = <Option extends {}>({
202
204
  color="inherit"
203
205
  onClick={handleClear}
204
206
  size="small"
205
- title={t('autoComplete.clear')}>
207
+ title={t('autoComplete.clear')}
208
+ >
206
209
  <CloseIcon fontSize="small" />
207
210
  </IconButton>
208
211
  )}
@@ -211,7 +214,8 @@ const AutoComplete = <Option extends {}>({
211
214
  onClick={handleToggleShowOptions}
212
215
  showOptions={showOptions}
213
216
  size="small"
214
- title={showOptions ? t('autoComplete.collapse') : t('autoComplete.expand')}>
217
+ title={showOptions ? t('autoComplete.collapse') : t('autoComplete.expand')}
218
+ >
215
219
  <ExpandMoreIcon fontSize="small" />
216
220
  </ExpandButton>
217
221
  </EndAdornment>
@@ -286,9 +290,11 @@ const Option = styled('div')<{ isSelected: boolean }>(({ isSelected }) => ({
286
290
  const StyledPaper = withStyles((theme: Theme) => ({
287
291
  root: {
288
292
  marginTop: theme?.spacing(0.5),
293
+ position: 'absolute',
289
294
  borderRadius: 3,
290
295
  maxHeight: 165,
291
296
  overflowY: 'scroll',
297
+ zIndex: 10000,
292
298
  overflowX: 'hidden',
293
299
  },
294
300
  }))(Paper);
@@ -26,7 +26,8 @@ const Link = React.forwardRef<LinkRef, Props>(function Link(
26
26
  ref={ref}
27
27
  rel="noopener noreferrer"
28
28
  target="_blank"
29
- {...props}>
29
+ {...props}
30
+ >
30
31
  {LinkTextContent}
31
32
  </a>
32
33
  ) : (
@@ -25,7 +25,8 @@ const NotFound: React.FC = () => {
25
25
  flexDirection="column"
26
26
  flexGrow={1}
27
27
  justifyContent="center"
28
- p={2}>
28
+ p={2}
29
+ >
29
30
  <EmptyPackage alt={t('error.404.page-not-found')} src={PackageImg} />
30
31
  <StyledHeading className="not-found-text" variant="h4">
31
32
  {t('error.404.sorry-we-could-not-find-it')}
@@ -157,7 +157,7 @@ exports[`<NotFound /> component should load the component in default state 1`] =
157
157
  Sorry, we couldn't find it...
158
158
  </h4>
159
159
  <button
160
- class="MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButtonBase-root emotion-5"
160
+ class="MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButtonBase-root emotion-5"
161
161
  data-testid="not-found-go-to-home-button"
162
162
  tabindex="0"
163
163
  type="button"
@@ -194,6 +194,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-2:focus::-ms-input-p
194
194
  }
195
195
 
196
196
  .emotion-4 {
197
+ float: unset;
197
198
  padding: 0;
198
199
  line-height: 11px;
199
200
  -webkit-transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
@@ -209,6 +210,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-2:focus::-ms-input-p
209
210
  <input
210
211
  aria-invalid="false"
211
212
  class="MuiOutlinedInput-input MuiInputBase-input emotion-2"
213
+ id="mui-1"
212
214
  name="test"
213
215
  type="text"
214
216
  value="test"
@@ -1,170 +1,170 @@
1
1
  {
2
- "copy-to-clipboard": "Copy to clipboard",
3
- "author-anonymous": "Anonymous",
4
- "author-unknown": "Unknown",
2
+ "copy-to-clipboard": "Zkopírovat do schránky",
3
+ "author-anonymous": "Anonymní",
4
+ "author-unknown": "Neznámý",
5
5
  "action-bar-action": {
6
- "visit-home-page": "Visit homepage",
7
- "open-an-issue": "Open an issue",
8
- "download-tarball": "Download tarball"
6
+ "visit-home-page": "Navštívit domovskou stránku",
7
+ "open-an-issue": "Otevřít otázku",
8
+ "download-tarball": "Stáhnout archív (Tar)"
9
9
  },
10
10
  "dialog": {
11
11
  "registry-info": {
12
- "title": "Registry Info"
12
+ "title": "Informace o registru"
13
13
  }
14
14
  },
15
15
  "header": {
16
- "documentation": "Documentation",
17
- "registry-info": "Registry Information",
18
- "registry-info-link": "Learn more",
19
- "registry-no-conf": "No configurations available",
16
+ "documentation": "Dokumentace",
17
+ "registry-info": "Informace o registru",
18
+ "registry-info-link": "Více informací",
19
+ "registry-no-conf": "Hledat balíčky",
20
20
  "greetings": "Hi "
21
21
  },
22
22
  "search": {
23
- "packages": "Search Packages"
23
+ "packages": "Hledat balíčky"
24
24
  },
25
25
  "autoComplete": {
26
- "loading": "Loading...",
27
- "no-results-found": "No results found",
28
- "clear": "Clear",
29
- "expand": "Expand",
30
- "collapse": "Collapse"
26
+ "loading": "Načítání...",
27
+ "no-results-found": "Nebyly nalezeny žádné výsledky",
28
+ "clear": "Vyčistit",
29
+ "expand": "Otevřít",
30
+ "collapse": "Zavřít"
31
31
  },
32
32
  "tab": {
33
- "uplinks": "Uplinks",
34
- "versions": "Versions",
35
- "dependencies": "Dependencies",
36
- "readme": "Readme"
33
+ "uplinks": "Uplinky",
34
+ "versions": "Verze",
35
+ "dependencies": "Závislosti",
36
+ "readme": "Přečti si mě"
37
37
  },
38
38
  "uplinks": {
39
- "title": "Uplinks",
40
- "no-items": "{{name}} has no uplinks."
39
+ "title": "Uplinky",
40
+ "no-items": "{{name}} nemá žádné uplinky."
41
41
  },
42
42
  "versions": {
43
- "current-tags": "Current Tags",
44
- "version-history": "Version history",
45
- "not-available": "Not available"
43
+ "current-tags": "Aktuální značky",
44
+ "version-history": "Historie verzí",
45
+ "not-available": "Nedostupné"
46
46
  },
47
47
  "package": {
48
- "published-on": "Published on {{time}} •",
48
+ "published-on": "Zveřejněno v {{time}} •",
49
49
  "version": "v{{version}}",
50
- "visit-home-page": "Visit homepage",
51
- "homepage": "Homepage",
52
- "open-an-issue": "Open an issue",
53
- "bugs": "Bugs",
54
- "download": "Download {{what}}",
55
- "the-tar-file": "the tar file",
56
- "tarball": "Tarball"
50
+ "visit-home-page": "Navštívit domovskou stránku",
51
+ "homepage": "Domovská stránka",
52
+ "open-an-issue": "Otevřít otázku",
53
+ "bugs": "Chyby",
54
+ "download": "Stáhnout {{what}}",
55
+ "the-tar-file": "tar soubor",
56
+ "tarball": "Archív (Tar)"
57
57
  },
58
58
  "dependencies": {
59
- "has-no-dependencies": "{{package}} has no dependencies.",
59
+ "has-no-dependencies": "{{package}} nemá žádné závislosti.",
60
60
  "dependency-block": "{{package}}@{{version}}"
61
61
  },
62
62
  "form": {
63
- "username": "Username",
64
- "password": "Password"
63
+ "username": "Uživatelské jméno",
64
+ "password": "Heslo"
65
65
  },
66
66
  "form-placeholder": {
67
- "username": "Your username",
68
- "password": "Your strong password"
67
+ "username": "Vaše uživatelské jméno",
68
+ "password": "Vaše silné heslo\""
69
69
  },
70
70
  "form-validation": {
71
- "required-field": "This field is required",
72
- "required-min-length": "This field required the min length of {{length}}",
73
- "unable-to-sign-in": "Unable to sign in",
74
- "username-or-password-cant-be-empty": "Username or password can't be empty!"
71
+ "required-field": "Toto pole je povinné",
72
+ "required-min-length": "Toto pole vyžaduje zadání alespoň {{length}} znaků",
73
+ "unable-to-sign-in": "Přihlášení se nezdařilo",
74
+ "username-or-password-cant-be-empty": "Uživatelské jméno nebo heslo nemohou být prázdné!"
75
75
  },
76
76
  "help": {
77
- "title": "No Package Published Yet.",
78
- "sub-title": "To publish your first package just:",
79
- "first-step": "1. Login",
77
+ "title": "Zatím nebyl zveřejně žádný balíček.",
78
+ "sub-title": "Pro zveřejnění vašeho prvního balíčku proveďte následující:",
79
+ "first-step": "1. Přihlašte se",
80
80
  "first-step-command-line": "npm adduser --registry {{registryUrl}}",
81
- "second-step": "2. Publish",
81
+ "second-step": "2. Zveřejněte balíček",
82
82
  "second-step-command-line": "npm publish --registry {{registryUrl}}",
83
- "third-step": "3. Refresh this page"
83
+ "third-step": "3. Obnovte tuto stránku."
84
84
  },
85
85
  "sidebar": {
86
86
  "detail": {
87
- "latest-version": "Latest v{{version}}",
87
+ "latest-version": "Nejnovější v{{version}}",
88
88
  "version": "v{{version}}"
89
89
  },
90
90
  "installation": {
91
- "title": "Installation",
92
- "install-using-yarn": "Install using yarn",
91
+ "title": "Instalace",
92
+ "install-using-yarn": "Instalace pomocí yarn",
93
93
  "install-using-yarn-command": "yarn add {{packageName}}",
94
- "install-using-npm": "Install using npm",
94
+ "install-using-npm": "Instalace pomocí npm",
95
95
  "install-using-npm-command": "npm install {{packageName}}",
96
- "install-using-pnpm": "Install using pnpm",
96
+ "install-using-pnpm": "Instalace pomocí pnpm",
97
97
  "install-using-pnpm-command": "pnpm install {{packageName}}"
98
98
  },
99
99
  "repository": {
100
- "title": "Repository"
100
+ "title": "Repozitář"
101
101
  },
102
102
  "author": {
103
- "title": "Author"
103
+ "title": "Autor"
104
104
  },
105
105
  "distribution": {
106
- "title": "Latest Distribution",
107
- "license": "License",
108
- "size": "Size",
109
- "file-count": "file count"
106
+ "title": "Nejnovější distribuce",
107
+ "license": "Licence",
108
+ "size": "Velikost",
109
+ "file-count": "počet souborů"
110
110
  },
111
111
  "maintainers": {
112
- "title": "Maintainers"
112
+ "title": "Správci"
113
113
  },
114
114
  "contributors": {
115
- "title": "Contributors"
115
+ "title": "Přispěvatelé"
116
116
  },
117
117
  "engines": {
118
- "npm-version": "NPM Version",
118
+ "npm-version": "NPM verze",
119
119
  "node-js": "NODE JS"
120
120
  }
121
121
  },
122
122
  "footer": {
123
- "powered-by": "Powered by",
124
- "made-with-love-on": "Made with <0>♥</0> on"
123
+ "powered-by": "Pohání",
124
+ "made-with-love-on": "Tvořeno s <0>♥</0> na"
125
125
  },
126
126
  "button": {
127
- "close": "Close",
128
- "cancel": "Cancel",
129
- "login": "Login",
130
- "logout": "Logout",
131
- "go-to-the-home-page": "Go to the home page",
132
- "learn-more": "Learn More",
133
- "fund-this-package": "<0>Fund</0> this package"
127
+ "close": "Zavřít",
128
+ "cancel": "Zrušit",
129
+ "login": "Přihlásit se",
130
+ "logout": "Odhlásit se",
131
+ "go-to-the-home-page": "Přejít na domovskou stránku",
132
+ "learn-more": "Více informací",
133
+ "fund-this-package": "<0>Sponzorovat</0> tento balíček"
134
134
  },
135
135
  "error": {
136
- "unspecific": "Something went wrong.",
136
+ "unspecific": "Něco se pokazilo.",
137
137
  "404": {
138
- "page-not-found": "404 - Page not found",
139
- "sorry-we-could-not-find-it": "Sorry, we couldn't find it..."
138
+ "page-not-found": "404 - Stránka nebyla nalezena",
139
+ "sorry-we-could-not-find-it": "Omlouváme se, ale nepodařilo se nám to najít..."
140
140
  },
141
- "app-context-not-correct-used": "The app context was not used correctly",
142
- "theme-context-not-correct-used": "The theme context was not used correctly",
143
- "package-meta-is-required-at-detail-context": "packageMeta is required at DetailContext"
141
+ "app-context-not-correct-used": "Kontext aplikace nebyl použit správným způsobem",
142
+ "theme-context-not-correct-used": "Kontext šablony nebyl použit správným způsobem",
143
+ "package-meta-is-required-at-detail-context": "packageMeta je vyžadováno v DetailContext"
144
144
  },
145
145
  "lng": {
146
146
  "english": "Anglicky",
147
- "czech": "Czech",
147
+ "czech": "Čeština",
148
148
  "japanese": "Japonština",
149
- "portuguese": "Portuguese",
149
+ "portuguese": "Portugalština",
150
150
  "spanish": "Španělsky",
151
151
  "german": "Německy",
152
152
  "chinese": "Čínsky",
153
- "chineseTraditional": "Chinese (Traditional)",
153
+ "chineseTraditional": "Čínština (tradiční)",
154
154
  "french": "Francouzsky",
155
- "russian": "Russian",
156
- "turkish": "Turkish",
157
- "ukraine": "Ukraine",
158
- "khmer": "Khmer"
155
+ "russian": "Ruský",
156
+ "turkish": "Turečtina",
157
+ "ukraine": "Ukrajinština",
158
+ "khmer": "Khmerština"
159
159
  },
160
160
  "flag": {
161
- "austria": "Austria",
162
- "brazil": "Brazil",
163
- "spain": "Spain",
164
- "nicaragua": "Nicaragua",
165
- "india": "India",
166
- "china": "China",
167
- "germany": "Germany",
168
- "taiwan": "Taiwan"
161
+ "austria": "Rakousko",
162
+ "brazil": "Brazílie",
163
+ "spain": "Španělsko",
164
+ "nicaragua": "Nikaragua",
165
+ "india": "Indie",
166
+ "china": "Čína",
167
+ "germany": "Německo",
168
+ "taiwan": "Tchaj-wan"
169
169
  }
170
170
  }