@preply/ds-docs-toolkit
TypeScript icon, indicating that this package has built-in type declarations

0.88.0 • Public • Published

@preply/ds-docs-toolkit

Components and helpers for stories and doc pages.

Used in MDX pages:

Also used by @preply/ds-docs-context.

Using the Design System in your application or library?

Follow the instructions in @preply/ds-workspace.

Tooling

Documentation entry point is in @preply/ds-docs.

Details about tools and configurations in @preply/ds-workspace.

Development

  • classes/ model the instrumentation data and metadata collected by fe-tools
  • components/ can be used in any MDX file to:
    • render prop option tables, component metadata, ...
    • decorate examples with lorem ipsum, placeholders, ...
  • providers/ and hooks/ to use metadata context MDX files (used by ds-docs DocContext)

Dependencies

We want to preserve portability of these components in case we want to used them in a non-storybook environment.

Do NOT add dependencies on:

  • anything Storybook
  • anything Preply

/@preply/ds-docs-toolkit/

    Package Sidebar

    Install

    npm i @preply/ds-docs-toolkit

    Weekly Downloads

    1,636

    Version

    0.88.0

    License

    none

    Unpacked Size

    1.66 MB

    Total Files

    269

    Last publish

    Collaborators

    • preply-admin
    • eugenegodun
    • heiets-preply
    • erebus1
    • liss-mouse
    • grebenyuksv
    • alex.semeniuk