tldraw/apps/docs/components
alex 64e1fac897
[5/5] Move bemo from dotcom to examples (#4135)
Move our bemo playground from dotcom to the examples app. In preparation
for more multiplayer examples, I built our a little bit of chrome around
example room IDs: if you create an example with `multiplayer: true`, the
examples app will render a little room ID picker above your example. The
room IDs are scoped to each example, and each deploy of the examples
app. By default people on the same example will be in the same room, but
the default ID changes every hour.

As I was doing this, I noticed you could get an ugly situation where the
docs site was in dark mode, tldraw was in dark mode, but the little bit
of examples chrome was in light mode. To fix this I through together an
extremely rough dark mode for the examples which switches on whenever
the tldraw instance inside is in dark mode.

### Change type

- [x] `other`

---------

Co-authored-by: David Sheldrick <d.j.sheldrick@gmail.com>
2024-07-12 10:36:31 +00:00
..
article-components Add docs (#2470) 2024-01-15 12:33:15 +00:00
mdx-components fix vec docs (#4107) 2024-07-09 10:32:26 +00:00
ArticleDetails.tsx Force interface instead of type for better docs (#3815) 2024-05-22 15:55:49 +00:00
ArticleDocsPage.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
ArticleHeadingLinks.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
ArticleNavLinks.tsx Force interface instead of type for better docs (#3815) 2024-05-22 15:55:49 +00:00
ArticleReferenceDocsPage.tsx Generated docs cleanup (#3935) 2024-06-13 16:04:12 +00:00
Autocomplete.css [docs] Small style changes (#2805) 2024-02-13 10:07:29 +00:00
Autocomplete.tsx Force interface instead of type for better docs (#3815) 2024-05-22 15:55:49 +00:00
AutoRefresh.tsx children: any -> children: ReactNode (#3061) 2024-03-04 14:48:40 +00:00
Breadcrumb.tsx Add docs (#2470) 2024-01-15 12:33:15 +00:00
CategoryDocsPage.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
ExampleCodeBlock.tsx [5/5] Move bemo from dotcom to examples (#4135) 2024-07-12 10:36:31 +00:00
ExampleDocsPage.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
FancyBox.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
Footer.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
Header.tsx security: enforce use of our fetch function and its default referrerpolicy (#3884) 2024-06-11 13:59:25 +00:00
HeroImage.tsx Add docs (#2470) 2024-01-15 12:33:15 +00:00
Icon.tsx Add docs (#2470) 2024-01-15 12:33:15 +00:00
Icons.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
Mdx.tsx Add editor notes to the docs (#3832) 2024-06-04 12:01:10 +00:00
Search.tsx fix docs build (#3201) 2024-03-18 15:59:29 +00:00
SectionDocsPage.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
Sidebar.tsx [docs] design shuffle (#2951) 2024-02-29 16:28:45 +00:00
SidebarCloseButton.tsx Add docs (#2470) 2024-01-15 12:33:15 +00:00
Spinner.tsx [docs] Autocomplete styling tweaks (#2732) 2024-02-05 20:46:07 +00:00
ThemeSwitcher.tsx Add docs (#2470) 2024-01-15 12:33:15 +00:00
ToggleMenuButton.tsx Add docs (#2470) 2024-01-15 12:33:15 +00:00