docusaurus/packages/docusaurus-theme-common/src/utils
Joshua Chen 24c205a835
refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080)
* refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type

* fix
2022-03-31 19:16:07 +08:00
..
__tests__ refactor(core): refactor routes generation logic (#7054) 2022-03-29 16:37:29 +08:00
ThemeClassNames.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
codeBlockUtils.ts fix(theme): add bash style to Markdown comment styles (#7049) 2022-03-29 09:23:03 +08:00
docsUtils.tsx refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080) 2022-03-31 19:16:07 +08:00
footerUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
generalUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
historyUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
jsUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
metadataUtils.tsx refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080) 2022-03-31 19:16:07 +08:00
navbarUtils.tsx feat(theme-classic): show blog sidebar on mobile (#7012) 2022-03-30 09:15:54 +08:00
reactUtils.tsx feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
regexpUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
routesUtils.ts refactor(core): refactor routes generation logic (#7054) 2022-03-29 16:37:29 +08:00
scrollUtils.tsx fix(theme-common): use native scrolling when smooth behavior set in CSS (#7057) 2022-03-29 18:02:09 +08:00
searchUtils.ts refactor(theme-classic): extract doc-related navbar items' logic to theme-common (#7067) 2022-03-30 14:50:04 +08:00
storageUtils.ts refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080) 2022-03-31 19:16:07 +08:00
tagsUtils.ts refactor: ensure all types are using index signature instead of Record (#6995) 2022-03-25 18:06:30 +08:00
tocUtils.ts refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080) 2022-03-31 19:16:07 +08:00
useAlternatePageUtils.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
useLocalPathname.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
useLocationChange.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
usePluralForm.ts feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
useThemeConfig.ts refactor: ensure all types are using index signature instead of Record (#6995) 2022-03-25 18:06:30 +08:00