Releases: souporserious/mdxts
Releases · souporserious/mdxts
mdxts@0.6.0
Minor Changes
- dfea828: Use stable generated filename based on Code value.
- 47c8ee1: Replaces
summary
export from remark plugin withdescription
which is now used to calculate datadescription
field. - b2d9324: Account for standard
@internal
JSDoc tag instead of@private
ingetExportedSourceFiles
. - d7ac97a: Pass processed entry declarations to determine implicit internal exports in
getAllData
. - e89116e: Reduces the number of times the shiki highlighter is initialized to prevent
memory access out of bounds
errors. - 4303ce5: Add support for
examples
directory. - 3fff302: Add default MDX components to
next
plugin forcode
andpre
elements. - f66aaa2: Adds
ExportedTypes
component for gathering types from a file or source code. - 3a6fe9b: Add support for following index file exports when gathering exported types.
- 8671ff8: Add global timer to
QuickInfo
for better hover interactions. - 66edade: Add support for ordered
Code
blocks using a numbered filename prefix. - 57d8a29: Rename
MDX
toMDXContent
andmdxComponents
toMDXComponents
. - f66aaa2: Use smaller generated
filename
forCodeBlock
. UsingBuffer.from(props.value).toString('base64')
was causing anENAMETOOLONG
error. - e5fe316: Fixes
QuickInfo
tooltip by keeping it in view and accounting for scroll offset. - 97c0861: Introduces preconfigured examples starting with a blog example.
- 3109b2d: Remove
PackageExports
component, this information is accessible from the data returned increateSource
. - b948305: Split up
Code
component intoCodeBlock
andCodeInline
components. - cc3b831: Add
style
prop toPackageInstall
. - 5c0c635: Account for
@internal
JSDoc tag ingetExportedTypes
. - 8c13479: Always split highlighter tokens by identifier.
Patch Changes
- 1f3875d: Fix
Symbol
highlighted state when hoveringQuickInfo
. - 3dd1cf3: Fix
QuickInfo
paragraph color. - 0465092: Fix relative
createSource
paths by using absolute paths for imports and adding webpack file dependencies. - 204bba5: Use cross-platform file path separator in
Code
. - 1f45a78: Fix
QuickInfo
erroring when parsing documentation by handling links properly. - a272add: Fix
CodeBlock
filename label when complex filename. The regex was only accounting for strings that begin with numbers. - daf9550: Handle all exported declarations in
getExportedTypes
. - eac632c: Add text-wrap pretty to
QuickInfo
paragraphs. - f9d8e48: Compute
Module
type so quick info is cleaner. - 1fd91d3: Fix metadata erroring when front matter is available.
create-mdxts@0.2.2
Patch Changes
- 40790ea: Add list of all dependencies installed by CLI.
create-mdxts@0.2.1
Patch Changes
- 75ce1e5: Add codemod for next-compose-plugins in CLI onboarding.
create-mdxts@0.2.0
Minor Changes
- 0f24dfa: Use default config when file contents is empty. This is unlikely to happen, but improves the experience by avoiding erroring.
- 4dda95e: Implement example CLI flag.
- 8af7ab4: Add create source and app page CLI step.
- 1c329b6: Revamps the CLI to add better colors and present steps as questions.
- 8d59ffd: Handle Next functional configs in CLI codemod.
- ed57144: Make sure TypeScript is installed before proceeding in CLI.
Patch Changes
- 8a02067: Check if mdxts/next plugin is already configured before prompting.
mdxts@0.5.0
Minor Changes
- f8b71d6: Implement specific allowed errors.
- 2f1cdbe: Add
toolbar
prop toCode
for controlling rendering of toolbar. - 63939ac: Improve
Navigation
renderItem
prop types. - 20182d4: Default to common root for now when no exports field found.
- 0d91905: Add
style
prop toCode
. - 515d727: Add diagnostic error code in
QuickInfo
tooltip. - bfc8b40: Add plaintext language option to highlighter.
- b501e32: Add example source text to examples metadata.
- 86c32e3: Rename
getMetadataFromClassName
->getClassNameMetadata
. - ad4fd02: Use package json path when calculating entry source files.
- 61e72cd: Add
MDX
component for rendering mdx source code. - d77a29a: Use box shadow instead of border in
Code
to prevent adding to layout. - 606c25d: Render quick info documentation text as MDX.
- 50dc93d: Only require working directory in
Code
when using relative paths. - 79e7e5d: Fix file path to pathname slugs for all caps e.g.
MDX.tsx
->mdx
andMDXProvider.tsx
->mdx-provider
. - ffd4512: Add exhaustive type documentation generation accounting for template literal and call expressions.
Patch Changes
- cf73027: Fix navigation order by filtering out private files.
- 5f30ed1: Collapse
Code
toolbar grid row when not used. - a4cc4c3: Fixes code blocks being treated as global scope when no imports or exports are present.
- 2876946: Improve quick info tooltip type wrapping instead of overflowing.
- e392e3c: Infer
Code
language from filename if provided. - 42eea84: Fix parsing directory base name to title.
mdxts@0.4.1
Patch Changes
- 6c64d70: Throw error when no files found for
createSource
file pattern.
create-mdxts@0.1.1
Patch Changes
- c396612: Fix bad next dependency conditional.
create-mdxts@0.1.0
create-mdxts@0.0.1
Patch Changes
- f5ad5ab: Add
create-mdxts
cli package.
mdxts@0.4.0
Minor Changes
- 913fc68: Add Node polyfill plugin for Editor.
- e3ed63f: Rename
createDataSource
->createSource
andmergeDataSources
->mergeSources
- 4bbb048: Add
allowCopy
Code
prop for controlling the rendering of the copy button. - cb95470: Add cli tool to scaffold initial project.
Patch Changes
- 576b808: Fix loading shiki themes.