@docusaurus/theme-classic 0.0.0-4901 → 0.0.0-4910

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.
@@ -22,12 +22,12 @@ function filterItems(items) {
22
22
 
23
23
  export default function DocCardList({items, className}) {
24
24
  return (
25
- <div className={clsx('row', className)}>
25
+ <section className={clsx('row', className)}>
26
26
  {filterItems(items).map((item, index) => (
27
27
  <article key={index} className="col col--6 margin-bottom--lg">
28
28
  <DocCard key={index} item={item} />
29
29
  </article>
30
30
  ))}
31
- </div>
31
+ </section>
32
32
  );
33
33
  }
@@ -51,9 +51,9 @@ function DocCategoryGeneratedIndexPageContent({categoryGeneratedIndex}) {
51
51
  <p>{categoryGeneratedIndex.description}</p>
52
52
  )}
53
53
  </header>
54
- <main className="margin-top--lg">
54
+ <article className="margin-top--lg">
55
55
  <DocCardList items={category.items} className={styles.list} />
56
- </main>
56
+ </article>
57
57
  <footer className="margin-top--lg">
58
58
  <DocPaginator
59
59
  previous={categoryGeneratedIndex.navigation.previous}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-classic",
3
- "version": "0.0.0-4901",
3
+ "version": "0.0.0-4910",
4
4
  "description": "Classic theme for Docusaurus",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/theme-classic.d.ts",
@@ -21,15 +21,15 @@
21
21
  "format:lib-next": "prettier --config ../../.prettierrc --write \"lib-next/**/*.{js,ts,jsx,tsc}\""
22
22
  },
23
23
  "dependencies": {
24
- "@docusaurus/core": "0.0.0-4901",
25
- "@docusaurus/plugin-content-blog": "0.0.0-4901",
26
- "@docusaurus/plugin-content-docs": "0.0.0-4901",
27
- "@docusaurus/plugin-content-pages": "0.0.0-4901",
28
- "@docusaurus/theme-common": "0.0.0-4901",
29
- "@docusaurus/theme-translations": "0.0.0-4901",
30
- "@docusaurus/utils": "0.0.0-4901",
31
- "@docusaurus/utils-common": "0.0.0-4901",
32
- "@docusaurus/utils-validation": "0.0.0-4901",
24
+ "@docusaurus/core": "0.0.0-4910",
25
+ "@docusaurus/plugin-content-blog": "0.0.0-4910",
26
+ "@docusaurus/plugin-content-docs": "0.0.0-4910",
27
+ "@docusaurus/plugin-content-pages": "0.0.0-4910",
28
+ "@docusaurus/theme-common": "0.0.0-4910",
29
+ "@docusaurus/theme-translations": "0.0.0-4910",
30
+ "@docusaurus/utils": "0.0.0-4910",
31
+ "@docusaurus/utils-common": "0.0.0-4910",
32
+ "@docusaurus/utils-validation": "0.0.0-4910",
33
33
  "@mdx-js/react": "^1.6.22",
34
34
  "clsx": "^1.1.1",
35
35
  "copy-text-to-clipboard": "^3.0.1",
@@ -37,7 +37,7 @@
37
37
  "lodash": "^4.17.21",
38
38
  "postcss": "^8.4.12",
39
39
  "prism-react-renderer": "^1.3.1",
40
- "prismjs": "^1.27.0",
40
+ "prismjs": "^1.28.0",
41
41
  "react-router-dom": "^5.2.0",
42
42
  "rtlcss": "^3.5.0"
43
43
  },
@@ -45,8 +45,8 @@
45
45
  "@babel/cli": "^7.17.6",
46
46
  "@babel/core": "^7.17.9",
47
47
  "@babel/preset-typescript": "^7.16.7",
48
- "@docusaurus/module-type-aliases": "0.0.0-4901",
49
- "@docusaurus/types": "0.0.0-4901",
48
+ "@docusaurus/module-type-aliases": "0.0.0-4910",
49
+ "@docusaurus/types": "0.0.0-4910",
50
50
  "@types/mdx-js__react": "^1.5.5",
51
51
  "@types/prismjs": "^1.26.0",
52
52
  "@types/rtlcss": "^3.1.4",
@@ -62,5 +62,5 @@
62
62
  "engines": {
63
63
  "node": ">=14"
64
64
  },
65
- "gitHead": "6dd77ca6acf315addc7252112093a4ac4ebfe7f7"
65
+ "gitHead": "66b77d0f73ba920dd871d3fc7c2c98f90b06224e"
66
66
  }
@@ -25,12 +25,12 @@ function filterItems(items: PropSidebarItem[]): PropSidebarItem[] {
25
25
 
26
26
  export default function DocCardList({items, className}: Props): JSX.Element {
27
27
  return (
28
- <div className={clsx('row', className)}>
28
+ <section className={clsx('row', className)}>
29
29
  {filterItems(items).map((item, index) => (
30
30
  <article key={index} className="col col--6 margin-bottom--lg">
31
31
  <DocCard key={index} item={item} />
32
32
  </article>
33
33
  ))}
34
- </div>
34
+ </section>
35
35
  );
36
36
  }
@@ -60,9 +60,9 @@ function DocCategoryGeneratedIndexPageContent({
60
60
  <p>{categoryGeneratedIndex.description}</p>
61
61
  )}
62
62
  </header>
63
- <main className="margin-top--lg">
63
+ <article className="margin-top--lg">
64
64
  <DocCardList items={category.items} className={styles.list} />
65
- </main>
65
+ </article>
66
66
  <footer className="margin-top--lg">
67
67
  <DocPaginator
68
68
  previous={categoryGeneratedIndex.navigation.previous}