@docusaurus/theme-classic 0.0.0-4111 → 0.0.0-4118

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.
@@ -0,0 +1,62 @@
1
+ {
2
+ "theme.AnnouncementBar.closeButtonAriaLabel": "Затвори",
3
+ "theme.BackToTopButton.buttonAriaLabel": "Иди горе",
4
+ "theme.CodeBlock.copied": "Копирано",
5
+ "theme.CodeBlock.copy": "Копирај",
6
+ "theme.CodeBlock.copyButtonAriaLabel": "Копирај код у меморију",
7
+ "theme.NotFound.p1": "Тражени резултат не постоји.",
8
+ "theme.NotFound.p2": "Молимо вас да контактирате власника сајта који вас је упутио овде и обавестите га да је њихова веза нетачна.",
9
+ "theme.NotFound.title": "Страница није пронађена",
10
+ "theme.Playground.liveEditor": "Уређивач",
11
+ "theme.Playground.result": "Резултат",
12
+ "theme.PwaReloadPopup.closeButtonAriaLabel": "Затвори",
13
+ "theme.PwaReloadPopup.info": "Постоји нова верзија",
14
+ "theme.PwaReloadPopup.refreshButtonText": "Освежи",
15
+ "theme.SearchBar.label": "Тражи",
16
+ "theme.SearchPage.algoliaLabel": "Претрага из Algolia",
17
+ "theme.SearchPage.documentsFound.plurals": "Један пронађен документ|{count} пронађених докумената",
18
+ "theme.SearchPage.emptyResultsTitle": "Тражи документацију",
19
+ "theme.SearchPage.existingResultsTitle": "Резултати за \"{query}\"",
20
+ "theme.SearchPage.fetchingNewResults": "Траже се нови резултати...",
21
+ "theme.SearchPage.inputLabel": "Тражи",
22
+ "theme.SearchPage.inputPlaceholder": "Овде унесите термин",
23
+ "theme.SearchPage.noResultsText": "Резултати нису пронађени",
24
+ "theme.TOCCollapsible.toggleButtonLabel": "На овој страници",
25
+ "theme.blog.archive.description": "Архива",
26
+ "theme.blog.archive.title": "Архива",
27
+ "theme.blog.paginator.navAriaLabel": "Навигација за странице блога",
28
+ "theme.blog.paginator.newerEntries": "Нови постови",
29
+ "theme.blog.paginator.olderEntries": "Стари постови",
30
+ "theme.blog.post.paginator.navAriaLabel": "Навигација за странице блога",
31
+ "theme.blog.post.paginator.newerPost": "Нови пост",
32
+ "theme.blog.post.paginator.olderPost": "Стари пост",
33
+ "theme.blog.post.plurals": "Један пост|{count} постова",
34
+ "theme.blog.post.readMore": "Прочитајте више",
35
+ "theme.blog.post.readingTime.plurals": "Једноминутно читање|{readingTime} минута читања",
36
+ "theme.blog.sidebar.navAriaLabel": "Недавни постови на блогу",
37
+ "theme.blog.tagTitle": "{nPosts} означени са \"{tagName}\"",
38
+ "theme.common.editThisPage": "Уреди ову страницу",
39
+ "theme.common.headingLinkTitle": "Веза до наслова",
40
+ "theme.common.skipToMainContent": "Пређи на главни садржај",
41
+ "theme.docs.paginator.navAriaLabel": "Навигација по документима",
42
+ "theme.docs.paginator.next": "Даље",
43
+ "theme.docs.paginator.previous": "Назад",
44
+ "theme.docs.sidebar.collapseButtonAriaLabel": "Сакриј бочну листу",
45
+ "theme.docs.sidebar.collapseButtonTitle": "Сакриј бочну листу",
46
+ "theme.docs.sidebar.expandButtonAriaLabel": "Прошири бочну листу",
47
+ "theme.docs.sidebar.expandButtonTitle": "Прошири бочну листу",
48
+ "theme.docs.tagDocListPageTitle": "{nDocsTagged} означени са \"{tagName}\"",
49
+ "theme.docs.tagDocListPageTitle.nDocsTagged": "Један документ означен|{count} означених докумената",
50
+ "theme.docs.versions.latestVersionLinkLabel": "Најновија верзија",
51
+ "theme.docs.versions.latestVersionSuggestionLabel": "За најновију верзију документације погледајте {latestVersionLink} ({versionLabel}).",
52
+ "theme.docs.versions.unmaintainedVersionLabel": "Ово је документација за {siteTitle} {versionLabel}, која се више не одржава",
53
+ "theme.docs.versions.unreleasedVersionLabel": "Ово је необјављена документација за верзију {siteTitle} {versionLabel}.",
54
+ "theme.lastUpdated.atDate": " на {date}",
55
+ "theme.lastUpdated.byUser": " од {user}",
56
+ "theme.lastUpdated.lastUpdatedAtBy": "Последња измена {atDate}{byUser}",
57
+ "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": "← Назад на главни мени",
58
+ "theme.navbar.mobileVersionsDropdown.label": "Верзије",
59
+ "theme.tags.tagsListLabel": "Ознаке:",
60
+ "theme.tags.tagsPageLink": "Погледај све ознаке",
61
+ "theme.tags.tagsPageTitle": "Ознаке"
62
+ }
@@ -52,10 +52,9 @@ function useWindowSize() {
52
52
  (0, _react.useEffect)(() => {
53
53
  function updateWindowSize() {
54
54
  setWindowSize(getWindowSize());
55
- } // @ts-expect-error: annoying TS setTimeout typing...
56
-
55
+ }
57
56
 
58
- const timeout = DevSimulateSSR ? setTimeout(updateWindowSize, 1000) : undefined;
57
+ const timeout = DevSimulateSSR ? window.setTimeout(updateWindowSize, 1000) : undefined;
59
58
  window.addEventListener('resize', updateWindowSize);
60
59
  return () => {
61
60
  window.removeEventListener('resize', updateWindowSize);
package/lib/types.d.ts CHANGED
@@ -778,7 +778,7 @@ declare module '@theme/TagsListByLetter' {
778
778
  }
779
779
 
780
780
  declare module '@theme/TagsListInline' {
781
- export type Tag = Readonly<{label: string; permalink}>;
781
+ export type Tag = Readonly<{label: string; permalink: string}>;
782
782
  export interface Props {
783
783
  readonly tags: readonly Tag[];
784
784
  }
@@ -42,10 +42,10 @@ function useWindowSize() {
42
42
  useEffect(() => {
43
43
  function updateWindowSize() {
44
44
  setWindowSize(getWindowSize());
45
- } // @ts-expect-error: annoying TS setTimeout typing...
45
+ }
46
46
 
47
47
  const timeout = DevSimulateSSR
48
- ? setTimeout(updateWindowSize, 1000)
48
+ ? window.setTimeout(updateWindowSize, 1000)
49
49
  : undefined;
50
50
  window.addEventListener('resize', updateWindowSize);
51
51
  return () => {
@@ -778,7 +778,7 @@ declare module '@theme/TagsListByLetter' {
778
778
  }
779
779
 
780
780
  declare module '@theme/TagsListInline' {
781
- export type Tag = Readonly<{label: string; permalink}>;
781
+ export type Tag = Readonly<{label: string; permalink: string}>;
782
782
  export interface Props {
783
783
  readonly tags: readonly Tag[];
784
784
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-classic",
3
- "version": "0.0.0-4111",
3
+ "version": "0.0.0-4118",
4
4
  "description": "Classic theme for Docusaurus",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/types.d.ts",
@@ -23,15 +23,15 @@
23
23
  "update-code-translations": "node -e 'require(\"./update-code-translations.js\").run()'"
24
24
  },
25
25
  "dependencies": {
26
- "@docusaurus/core": "0.0.0-4111",
27
- "@docusaurus/plugin-content-blog": "0.0.0-4111",
28
- "@docusaurus/plugin-content-docs": "0.0.0-4111",
29
- "@docusaurus/plugin-content-pages": "0.0.0-4111",
30
- "@docusaurus/theme-common": "0.0.0-4111",
31
- "@docusaurus/types": "0.0.0-4111",
32
- "@docusaurus/utils": "0.0.0-4111",
33
- "@docusaurus/utils-common": "0.0.0-4111",
34
- "@docusaurus/utils-validation": "0.0.0-4111",
26
+ "@docusaurus/core": "0.0.0-4118",
27
+ "@docusaurus/plugin-content-blog": "0.0.0-4118",
28
+ "@docusaurus/plugin-content-docs": "0.0.0-4118",
29
+ "@docusaurus/plugin-content-pages": "0.0.0-4118",
30
+ "@docusaurus/theme-common": "0.0.0-4118",
31
+ "@docusaurus/types": "0.0.0-4118",
32
+ "@docusaurus/utils": "0.0.0-4118",
33
+ "@docusaurus/utils-common": "0.0.0-4118",
34
+ "@docusaurus/utils-validation": "0.0.0-4118",
35
35
  "@mdx-js/mdx": "^1.6.21",
36
36
  "@mdx-js/react": "^1.6.21",
37
37
  "chalk": "^4.1.2",
@@ -50,7 +50,7 @@
50
50
  "rtlcss": "^3.3.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@docusaurus/module-type-aliases": "0.0.0-4111",
53
+ "@docusaurus/module-type-aliases": "0.0.0-4118",
54
54
  "@types/mdx-js__react": "^1.5.4",
55
55
  "@types/parse-numeric-range": "^0.0.1",
56
56
  "@types/rtlcss": "^3.1.1",
@@ -64,5 +64,5 @@
64
64
  "engines": {
65
65
  "node": ">=12.13.0"
66
66
  },
67
- "gitHead": "f5eae7eebd534f26c5fbd6973c6a927dc720e272"
67
+ "gitHead": "88d35d9d1a4abf6c7ff4b5d7d6bac2826cbc0dfd"
68
68
  }
@@ -51,9 +51,8 @@ function useWindowSize(): WindowSize {
51
51
  setWindowSize(getWindowSize());
52
52
  }
53
53
 
54
- // @ts-expect-error: annoying TS setTimeout typing...
55
- const timeout: number | undefined = DevSimulateSSR
56
- ? setTimeout(updateWindowSize, 1000)
54
+ const timeout = DevSimulateSSR
55
+ ? window.setTimeout(updateWindowSize, 1000)
57
56
  : undefined;
58
57
 
59
58
  window.addEventListener('resize', updateWindowSize);
package/src/types.d.ts CHANGED
@@ -778,7 +778,7 @@ declare module '@theme/TagsListByLetter' {
778
778
  }
779
779
 
780
780
  declare module '@theme/TagsListInline' {
781
- export type Tag = Readonly<{label: string; permalink}>;
781
+ export type Tag = Readonly<{label: string; permalink: string}>;
782
782
  export interface Props {
783
783
  readonly tags: readonly Tag[];
784
784
  }