Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(react-docs): add reusable ui components based on shadcn/ui (#531)
* feat(components): initialize components page * feat(components): create example component page * feat(components): setup ui components section in the docs * fix(build): add global env to turbo config * feat(components): add syntax highlighting * display other ui component dependencies correctly * removed syntax highlighter, use nextra mdx highlighter * Improve texts * Improve introduction * migrated ui project to web repo * fix typo * fix turbo.json * try to load files from file system instead of url * add test to see if build succeeds * add ui-components as dependency * update lockfile * add test to see if build succeeds * remove test * add discussions template * remove discussion template * remove some parts * chore(build): update turbo * refactor(components): cleanup zoom slider component * change ui-component request url * feat(components): add noindex,nofollow and overview page * removed from navbar * modified navbar, changed url from ui to components * changed wording from ui to component * adjusted styling of logos * fix(components): typos * fixed styling of pro site * renamed previous components to built-in components * reorganized sections * feat(components): add tracking * change * changed build outputs * chore(build): use separate task for generating the components registry * fix(build): create a separate task for generating the registry * feat(components): configure tracking * added lucide as dependency * adjust navbar for svelteflow.dev * style(navbar): re-add shortcuts to docsearch * fix merge issues with main * delete unused whats new script * moved configs out of packages folder * removed xy-stylguide app * reinstalled * updated dependencies * reinstalled dependencies * updated next dependencies and moved mdx-compile code to xy-shared * cleaned up global styles * fixed up xyflow.com * moved fonts to xy-shared * moved references out of page-data * get rid of styles folder * moved all of the getmdxunderroute functions to xy-shared * implemented useConfigContext and remove -with-frontmatter wrappers * moved sites to layouts, got rid of a couple of components * fix imports * remove last -with-frontmatter components and move contents of sites to layouts * updated to a single typescript version * updated to a single eslint version * updated to a single react version * updated all dependencies of xy-ui * chore(components): minor text adjustments * fix(zoom-slider): add button as a dep * updated all dependencies and removed all unsused dependencies * updated some more dependencies * fixed lint error * reworked the way routes are handled for the RemoteCodeViewer * added static code viewer * cleaned up some more code and added scrollable tablist * use npm2yarn for our codeblock * fix(react-docs): remove duplicate pro label from example pages * fix style * use new code viewer everywhere * fix huge import sizes * activate turbo tui * fix showcase border * update turbo and pnpm * updated dependencies one last time :) * fix title rendering & remove head component * remove falsey export * upgrade npm2yarn, now npx commands are also transformed * feat(ui-components): add PlaceholderNode component * feat(ui-components): add new placeholder node page and link * fix big bundle size * feat(ui-components): create new annotation component * refactor(ui-components): improvements to export function placeholder node * fix(placeholderNode): typo * tried to make it look nices * fix(ui-components): missing display name * 📝 Create a blog post announcing our new components release. * 📝 Create a whats-new entry for the components release on reactflow.dev . * updated turbo.json to reflect build dependencies * removed scrollbar styling for code viewer * fix(build): change import * refactor(blog): fix some typos * update turbo.json * feat(ui-components): create labeled group node * re-added code viewer options, and refined styles for horizontal and vertical layouts * updated turbo.json * updated turbo.json * docs: add abbey to team description :) * add open in stackblitz button to new code viewer * feat(ui-components): create zoom select component * style(ui-components): fix placeholder node appearance * add open in codesanbox button * feat(ui-components): create devtools component * remove warning from tailwind example, it works now * remove old code viewer, clean up some code * fetch latest svelte flow version * register env variable * added npm2yarn to components * removed inter & favicon * typo * fixed node inspector * changed code viewer for devtools * style(ui-components): darkmode support labeled group node * refactor(ui-components): rename annotation node and add darkmode support * style(ui-components): fix placeholder node pixel offset * restructured menu * feat(ui-components): connect annotations to parent nodes * refactor(components): group components in the sidebar * make button-edge a little more general * refactor(ui-components): export all loggers; pass as props to DevTools; NodeInspector func. fixes; export all loggers -> pass as props of DevTools Component darkmode styling * fix(ui-components): remove extra import * refactor(navbar): hide elements of the navbar on smaller screens * style(ui-components): devtools button color adjustment * add floating edges to annotation example * 🔧 Change imports to use 'with' syntax for compat with recent nodejs versions. * 🔧 Include ui components demo site in xyflow.com env. * 📝 Add images and embeds to components blog post. * little bit better annotation nodes * remove console output * refactor(components): add beta callout, remove motivation in favor of blog * refactor(ui-components): add togglegroup devtools; separate tools; update docs * style(ui-components): devtools darkmode fix * perf(ui-components): add nodeClickDistance to placeholder node * Create `AnimatedSvgEdge` component. (#549) * 🔧 Change imports to use 'with' syntax for compat with recent nodejs versions. * 🔧 Include ui components demo site in xyflow.com env. * 📝 Add images and embeds to components blog post. * ✨ Create an AnimatedSvgEdge component. * ♻️ Use a package icon from lucide in demo. * 📝 Add page for animated svg edge component. * roll back changes to annotation node * refactor(components): put components into subfolders (#559) * refactor(tooltip-node): add handles and position option * refactor(components): fix typo * fix(components): use latest version of shadcn cli for init and installation * refactor(components): use component id in the url too * fix(ui-components): move zoom select calculation to inside selector * style(components): add some spacing * change date on whats new article * simplified labeled handle * change shadcn.config.js to components.json * refactor(components): remove beta callout from components page * fix(annotation-node): added flexibility for arrowStyles with CSSProperties * 📝 Address blog post feedback. --------- Co-authored-by: peterkogo <[email protected]> Co-authored-by: moklick <[email protected]> Co-authored-by: Peter Kogo <[email protected]> Co-authored-by: Abbey Yacoe <[email protected]> Co-authored-by: Hayleigh Thompson <[email protected]>
- Loading branch information