Releases: doczjs/docz
v2.4.0
Bug Fixes
- babel-plugin-export-metadata: fix
hasOwnProperty
method call (#1581) (9067ffb) - dev-env/basic: building and running development (#1646) (7baaaf2)
- docz: dependency issues (#1647) (5bdca48)
- docz-utils: fix closing tag detection in
removeTags
(#1696) (bfcd923) - examples: import alert component by correct lib name. (#1605) (fadb6dd)
- gatsby-theme-docz: wrong imports (ed169cf)
- add functions never to eslint rule (#1487) (becd589)
Features
v2.3.1
v2.3.0
Bug Fixes
babel-plugin-export-metadata
docz-core
- always use custom prop filter if it's provideded (#1415) (53063ff)
- pass down host when running serve (#1384) (80a0e1e)
- be explicit about cli args (6f5b4ee)
- parse port when running serve (29d0edd)
- prevent falsy error code on cli (#1332) (1437b59)
- revert ts auto-detect (f0ce584)
- forward cli status code properly (#1319) (99ebf82)
- properly support node_modules for multiple file patterns (#1315) (4d9f9b3)
- use docz-utils for get and mergeWith (f222083)
gatsby-theme-docz
- add pre-wrap to error (#1406) (ca6b02d)
- content overflowing issue (#1437) (56f4cb8)
- flex component aligmItems -> alignItems (#1391) (b80524f)
- use sx instead of style prop in Playgro… (#1389) (98f3311)
- removed unused gatsby-plugin-manifest (#1368) (44edc68)
- fix playground react-resize-detector usage (#1350) (f0baf67)
- src -> gatsbyRoot for file system source (71dd572)
- make Props isToggle work again (#1326) (4921ef5)
- fix preview padding (ebebd1c), closes #1325
docz
- pass useScoping to theme Playground (6ec7315), closes #1390
- fix capitalization of ts interfaces (9e950eb)
Features
docz-core
- pass down cli args to Gatsby + fix open flag (385b006)
- add hook to find docgen props (#1371) (8fffa26)
- add the ability to hide a document from the menu (#1354) (95b0d7f)
- introduce gatsbyRoot to use for fs sourcing (8e89d64)
- allow custom pattern for globbing components with docgenConfig.searchPatterns (#1316) (29e0165)
- support kebab & pascal case component file name pattern (#1314) (9d5b129)
docz
gatsby-theme-docz
docz-utils:
- add exports parser to add to Playground scope (9c564d0), closes #1247
- export mergeWith and get from lodash@4 (53fbde0), closes #1313
rehype-docz
v2.2.0
Features
-
gatsby-theme-docz: add optional iframe for preview and ed… (#1305) (9c5082e), closes #1306
-
gatsby-theme-docz: add showMarkdownEditButton flag (8fd04e8), closes #1291
-
docz-core: copy .env (51f7027)
-
docz-core: add all gatsby node apis to generated gatsby-node (918b44c), closes #1285
Bug Fixes
-
gatsby-theme-docz: fix infinite renders in playground on hot reload (3451fd1), closes #1299
-
gatsby-theme-docz: fix horizontal code overflow (a0b7823)
-
gatsby-theme-docz: fix tsx parsing in code blocks (b321ff8)
-
docz-core: re-sync .docz on build (dfd4262)
-
docz-core: log errors that happen in gatsby-config (fe1e2da)
-
gatsby-theme-docz: remove typo from the theme styles (a25da88)
-
gatsby-theme-docz: set gatsby root from doczrc src (e6b1521)
v2.1.0
- feat(gatsby-theme-docz): use mdxExtensions from config - @rakannimer
- feat(docz-core): add mdxExtensions to config - @rakannimer
- fix(gatsby-theme-docz): allow empty ts prop defaultValue - @rakannimer
- fix(docz): remove lowercasing of enum ts prop type - @rakannimer
- feat(docz): spread remaining props to Props component (#1276) - @selbekk
v2.0.0-rc.77
- fix(gatsby-theme-docz): remove webpack custom module resolution… (#1275) - @rakannimer
v2.0.0-rc.76
-
fix(gatsby-theme-docz): fix large apps reload performance - @rakannimer
-
fix(gatsby-theme-docz): fix can't read route of undefined - @rakannimer
-
feat(gatsby-theme-docz): add jsxFrag pragma (#1269) - @tamagokun
-
fix(gatsby-theme-docz): fix search svg icon in firefox #1262 - @rakannimer
v2.0.0-rc.75
-
fix(gatsby-theme-docz): sidebar mobile position (#1258) - @mickaelzhang
-
style(gatsby-theme-docz): update Playground margin (#1257) - @mickaelzhang