[Documentation] Imports from the docs failing & missing TS decls.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 41k
- Forks
- 7.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 11
Description
Environment
Vuetify Version: 3.0.0-beta.0
Vue Version: 3.2.31
Browsers: Firefox 98.0, Google Chrome
OS: Linux x86_64
Steps to reproduce
I took a look at public APIs from the docs:
- On CSS/Transitions page:
import { createSimpleTransition } from 'vuetify/lib/components/transitions/createTransition'
const myTransition = createSimpleTransition('my-transition')
createSimpleTransition was renamed createCssTransition
- On Features/Internationalization page:
import { createVueI18nAdapter } from 'vuetify/locale/adapters/vue-i18n'
No typescript declarations available.
Expected Behavior
- New exports should be:
import { createCssTransition, createJavascriptTransition } from 'vuetify/lib/components/transitions/createTransition.mjs'.
-
createJavascriptTransitionshould be documented -
createVueI18nAdaptershould be available in typescript declaration files -
The package should publish (or re-export) declarations from
components/transitions/createTransition.d.tsandlocale/adapters/vue-i18n.d.ts. Havingutil/colors.d.tswould be nice too (even if it's no longer in the docs).
Actual Behavior
Export from the docs fail, missing typescript declarations.
Reproduction Link
https://next.vuetifyjs.com/en/styles/transitions/#create-your-own
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.