Skip to content

Releases: souporserious/mdxts

mdxts@0.6.0

21 Feb 02:40
ddf20b1
Compare
Choose a tag to compare

Minor Changes

  • dfea828: Use stable generated filename based on Code value.
  • 47c8ee1: Replaces summary export from remark plugin with description which is now used to calculate data description field.
  • b2d9324: Account for standard @internal JSDoc tag instead of @private in getExportedSourceFiles.
  • 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 for code and pre 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 to MDXContent and mdxComponents to MDXComponents.
  • f66aaa2: Use smaller generated filename for CodeBlock. Using Buffer.from(props.value).toString('base64') was causing an ENAMETOOLONG 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 in createSource.
  • b948305: Split up Code component into CodeBlock and CodeInline components.
  • cc3b831: Add style prop to PackageInstall.
  • 5c0c635: Account for @internal JSDoc tag in getExportedTypes.
  • 8c13479: Always split highlighter tokens by identifier.

Patch Changes

  • 1f3875d: Fix Symbol highlighted state when hovering QuickInfo.
  • 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

21 Feb 20:24
9a6a0ec
Compare
Choose a tag to compare

Patch Changes

  • 40790ea: Add list of all dependencies installed by CLI.

create-mdxts@0.2.1

21 Feb 19:43
30efccf
Compare
Choose a tag to compare

Patch Changes

  • 75ce1e5: Add codemod for next-compose-plugins in CLI onboarding.

create-mdxts@0.2.0

21 Feb 02:40
ddf20b1
Compare
Choose a tag to compare

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

28 Jan 08:42
0a5b90f
Compare
Choose a tag to compare

Minor Changes

  • f8b71d6: Implement specific allowed errors.
  • 2f1cdbe: Add toolbar prop to Code 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 to Code.
  • 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
    and MDXProvider.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

09 Jan 03:41
5f17515
Compare
Choose a tag to compare

Patch Changes

  • 6c64d70: Throw error when no files found for createSource file pattern.

create-mdxts@0.1.1

09 Jan 10:32
ff429e3
Compare
Choose a tag to compare

Patch Changes

  • c396612: Fix bad next dependency conditional.

create-mdxts@0.1.0

09 Jan 10:19
5f907d6
Compare
Choose a tag to compare

Minor Changes

  • 7311b67: Add codemods for Next js and mjs configs.

Patch Changes

  • 66a0442: Create mjs next config if no config exists.
  • f84e05e: Add shiki and prettier to package install.
  • 23eda0b: Fix esm error from update-notifier.

create-mdxts@0.0.1

09 Jan 03:41
5f17515
Compare
Choose a tag to compare

Patch Changes

  • f5ad5ab: Add create-mdxts cli package.

mdxts@0.4.0

08 Jan 07:43
9c0719f
Compare
Choose a tag to compare

Minor Changes

  • 913fc68: Add Node polyfill plugin for Editor.
  • e3ed63f: Rename createDataSource -> createSource and mergeDataSources -> 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.