docusaurus/packages/docusaurus-theme-common/src/utils
Sébastien Lorber ac630f8279
fix(theme): Fix CSS `scroll-margin-top` when clicking footnote items, factorize code (#11466)
2025-10-09 12:34:54 +02:00
..
__tests__ feat(core): Add `i18n.localeConfigs[locale].{url,baseUrl}` config options (#11316) 2025-07-28 17:04:34 +02:00
IntlUtils.ts refactor(theme): dates should be formatted on the client-side instead of in nodejs code (#9868) 2024-02-23 18:30:05 +01:00
ThemeClassNames.ts feat(theme): Add theme-tabs-container stable className (#11426) 2025-09-23 14:58:23 +02:00
accessibilityUtils.ts fix(theme): fix collapsible sidebar behavior when prefers-reduced-motion (#8971) 2023-05-12 12:18:34 +02:00
admonitionUtils.tsx refactor: prepare types for React 19 (#10746) 2024-12-06 18:03:04 +01:00
anchorUtils.module.css fix(theme): Fix CSS `scroll-margin-top` when clicking footnote items, factorize code (#11466) 2025-10-09 12:34:54 +02:00
anchorUtils.ts fix(theme): Fix CSS `scroll-margin-top` when clicking footnote items, factorize code (#11466) 2025-10-09 12:34:54 +02:00
codeBlockUtils.tsx fix(theme): restore former code block theme-common internal APIs (#11153) 2025-05-06 11:34:19 +02:00
errorBoundaryUtils.module.css feat(theme-mermaid): upgrade Mermaid to v10.4 - handle async rendering (#9305) 2023-09-14 17:23:07 +02:00
errorBoundaryUtils.tsx refactor: prepare types for React 19 (#10746) 2024-12-06 18:03:04 +01:00
footerUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
historyUtils.ts feat(core): Add `i18n.localeConfigs[locale].{url,baseUrl}` config options (#11316) 2025-07-28 17:04:34 +02:00
jsUtils.ts feat(blog): group sidebar items by year (`themeConfig.blog.sidebar.groupByYear`) (#10252) 2024-06-28 16:59:35 +02:00
metadataUtils.tsx feat(theme): make it possible to provide your own page title formatter (#11090) 2025-04-11 19:16:17 +02:00
navbarUtils.tsx refactor: prepare types for React 19 (#10746) 2024-12-06 18:03:04 +01:00
reactUtils.tsx chore: add `eslint-plugin-react-compiler` (#10969) 2025-03-07 18:04:40 +01:00
regexpUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
routesUtils.ts refactor: fix a lot of errors in type-aware linting (#7477) 2022-05-24 15:40:26 +08:00
scrollUtils.tsx chore: add `eslint-plugin-react-compiler` (#10969) 2025-03-07 18:04:40 +01:00
searchUtils.ts refactor(docs): theme-common shouldn't depend on docs content (#10316) 2024-07-23 10:50:07 +02:00
skipToContentUtils.tsx refactor: prepare types for React 19 (#10746) 2024-12-06 18:03:04 +01:00
storageUtils.ts chore: add `eslint-plugin-react-compiler` (#10969) 2025-03-07 18:04:40 +01:00
tabsUtils.tsx feat: React 18 + automatic JSX runtime + build --dev (#8961) 2023-06-08 19:40:15 +02:00
tagsUtils.ts refactor(types): move non-core, non-public types out of the types package (#7293) 2022-05-03 17:15:48 +08:00
titleFormatterUtils.tsx feat(theme): make it possible to provide your own page title formatter (#11090) 2025-04-11 19:16:17 +02:00
tocUtils.ts refactor: fix a lot of errors in type-aware linting (#7477) 2022-05-24 15:40:26 +08:00
useAlternatePageUtils.ts feat(core): Add `i18n.localeConfigs[locale].{url,baseUrl}` config options (#11316) 2025-07-28 17:04:34 +02:00
useLocalPathname.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
useLocationChange.ts refactor(theme-common): rename useDynamicCallback to useEvent (#7671) 2022-06-24 12:10:03 +02:00
usePluralForm.ts chore: Rename Twitter links/labels to X (#10509) 2024-09-19 11:30:57 +02:00
useThemeConfig.ts refactor: remove unnecessary undefined & use optional chain (#11192) 2025-05-26 13:07:56 +02:00