Commit Graph

101 Commits

Author SHA1 Message Date
dan
af0358f1d2 Revert "feat: migrate React.dev to the App Router (#7437)" (#7466)
This reverts commit 0eb0f889b1.
2025-02-01 19:21:43 +00:00
Jimmy Lai
0eb0f889b1 feat: migrate React.dev to the App Router (#7437)
* update version to latest + move folders around

* getting home page working

* make the mdx setup work

* bypass mdxname

* split out mdx components

* re-add meta mdx logic

* replace mdxName usage

* fix code blocks

* fix max width

* convert mdx post processing to actual plugins

* fix tailwind

* fix incorrect iframe props

* cleanup mdx dic

* make it actually build

* align fonts

* fix uwu script

* fix search

* remove _app

* make it actually build

* replace next-watch-remote with custom setup

* clean up logs + clean up inline scripts

* add rss handler

* remove rss generation

* remove rss generation

* support MDX components for TOC

* clean up log + bump cache

* fix toc

* add back translations + add new overlay

* use MDX link instead of Next.js links for translation

* fix analytics

* add myself to the contributors

* fix blinking sidebar

* avoid rendering toc on the client

* plugin metadata

* simplify metadata

* fix title

* clean up metadata

* add back error decoder

* Update src/content/learn/index.md

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
2025-02-01 11:35:16 -05:00
Phanendra Guptha Katta
066b6c1ee8 bumped up the versions of docsearch packages (#7458) 2025-01-27 12:33:37 -05:00
lauren
316230adfc Update React compiler and install eslint plugin (#7428) 2025-01-13 17:53:40 -05:00
Matt Carroll
855ce2373d Upgrade to React 19, Next 15.1 and enable React Compiler (#6996)
Co-authored-by: Sebastian Markbåge <sebastian@calyptus.eu>
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>
Co-authored-by: eps1lon <sebastian.silbermann@vercel.com>
2025-01-13 08:48:01 -08:00
Ricky
e2f089d7bd Fix search results ranking and grouping (#7183) 2024-09-23 15:51:24 -04:00
Ricky
169d5c1820 Add branding context menu (#6986) 2024-06-20 10:56:59 -04:00
Batuhan Tomo
b7bf6c16fb Fix Node.js version update at package.json (#6855)
* Fix #6854: node.js version upgrade

* Fix #6854: node.js version update
2024-05-10 20:03:45 +05:30
Ricky
cf53cb5d52 Add rss feed (#6803)
* Add rss feed

* Add rss feed

* rss readers don't like å characters
2024-04-26 11:56:47 -04:00
Faridul Islam
9748943432 Update Node.js version in engines into package.json file (^21.0.0) (#6728)
Signed-off-by: Faridul Islam <foridpathan45@gmail.com>
2024-03-31 11:38:56 -04:00
Danilo Woznica
5de85198a3 fix: Update sandpack-react version to 2.13.5 (#6668) 2024-03-08 10:05:50 -05:00
Danilo Woznica
6d8e094d33 fix: Update @codesandbox/sandpack-react version to 2.13.4 (#6664)
* fix: Update @codesandbox/sandpack-react version to 2.13.3

* fix: Fixed bundlerURL  to use the correct URL

* fix: Update @codesandbox/sandpack-react to version 2.13.4

* style: Hide span element in sp-icon-standalone when loading
2024-02-28 00:59:37 +05:30
Strek
9ceb0572c9 Revert "fix(sandpack): clear up bundler timeout when there's a syntax error (…" (#6663)
This reverts commit 081d1008dd.
2024-02-26 23:41:23 +05:30
Danilo Woznica
081d1008dd fix(sandpack): clear up bundler timeout when there's a syntax error (#6659)
* fix: Update @codesandbox/sandpack-react version to 2.13.1

* fix: Updated the bundlerURL  to use a new URL
2024-02-24 11:11:15 -05:00
Prajwal Kulkarni
9c316b206f Upgrade tailwind version (#6550)
* Fix overflowing text content in footer link

Add an ellipsis to overflowing text in the footer section for navigating between different references.

* Add min and max width to nextlink class

* Add minwidth to tailwind config

* Wrap string beyond max width

* Remove title attribute from span element

* Upgrade tailwind to 3.4.1

* Remove manual width config from minWidth

* Remove minWidth from tailwind config and preserve default value of min-w-xs
2024-01-17 20:59:40 -05:00
Kathryn Middleton
717f9b5da0 Remove unsupported ga-lite and update existing calls to GA4 (#6366)
* Cleanup old ga-lite tag and refactor GA4

* cleanup

* cleanup2
2023-10-24 07:35:15 -07:00
Rogin Farrer
900a6693ef Upgrade react-collapsed (#5893)
* Upgrade react-collapsed

* 4.0.4

---------

Co-authored-by: Rogin Farrer <rfarrer@wayfair.com>
2023-10-10 21:50:12 -04:00
Danilo Woznica
43ada1f1b1 Sandpack 2.0: upgrade playgrounds (#5917)
* Update 17 files

* remove: legacy react devtool

* Update 3 files

* fix(editor): allow horizontal scroll

* Update SandpackRoot.tsx
2023-09-12 13:49:14 -04:00
Ahmed Abdelbaset
819518cfe3 RTL Languages Support (#6138)
* Update TailwindCSS & Install rtl-detect
1- Update TailwindCSS to use the logical properities such as `ps-1` instead of `pl-1`.
there are logical properities for margin, padding, inset, and text direction.

2- Install `rtl-detect` detect if the language is RTL direction.
Note: this might be uninstalled if we use the manual way to specify rtl language.

* add `siteConfig.isRTL`

* add `dir` attribute to the root element

* edit some tw classes to utilize logical properties
instead of directions properties
(e.g. `pr-0` to `pe-0`)

* edit some tw classes to utilize logical properties
instead of directions properties
(e.g. `pr-0` to `pe-0`)

* edit some tw classes to utilize logical properties
instead of directions properties
(e.g. `pr-0` to `pe-0`)

* edit some tw classes to utilize logical properties
instead of directions properties
(e.g. `pr-0` to `pe-0`)

* Refactor TW classes: Use logical properties over directional properties.

* Revert "Refactor TW classes: Use logical properties over directional properties."

This reverts commit df9620d944.

* Refactor TW classes: Use logical properties over directional properties.

* Refactor TW classes: Use logical properties over directional properties.

* Refactor TW classes: Use logical properties over directional properties.

* Add `start` and `end` directions to the `IconNavArrow`

* Add Note about `isRTL` prop

* Refactor TW classes: Use logical properties over directional properties.

* Refactor TW classes: Use logical properties over directional properties.

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* set dir attr of `CodeBlock` to `ltr` even the page dir is `rtl`

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Add `start` and `end` directions to some icons

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* set dir attr of `ConsoleBlock` to `ltr` to overwrite the dir of root element

* Refactor TW classes: use logical properties over directional properties

* set dir=ltr on inline code blocks to overwrite <html dir="rtl"> in some languages

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* set translate=no, dir=ltr on `TerminalBlock` to overwrite <html dir="rtl"> in rtl languages

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* Refactor TW classes: use logical properties over directional properties

* fix some direction styles

* fix arrow directions in rtl

* remove `rtl-detect` and set `siteConfig.isRTL` manually

* fix `Breadcrumbs`'s arrow direction in rtl languages

* fix some directions of the search modal for RTL languages

* hard setting dir=ltr to Sandpack to overwrite rtl languages dir

* Refactor TW classes: use logical properties over directional properties

* remove my notes

* fix: rerverse space-x-* in rtl

* rebase with the main branch

* remove unnecessary alt

* add `start` & `end` display directions to the Chevron Icon

* rebase with the main branch
2023-08-11 15:42:12 -04:00
Sophie Alpert
1b5e8861ab Upgrade React and Next (#6011)
* Upgrade React and Next

* Fix bug in useNestedScrollLock

I guess refs get disconnected before passive effect cleanup runs. useLayoutEffect would also fix it but maybe this is better.
2023-05-19 17:44:58 +01:00
Dan Abramov
5e1ec56701 Download all fonts 2023-03-29 22:54:03 +01:00
Dan Abramov
a77fa5589c Fix Git hooks 2023-03-20 23:15:12 +00:00
Dan Abramov
dd65dcac3b Move beta to top level 2023-03-18 22:35:53 +00:00
dan
4c2503a83e Move the old site to another repo (#5739)
* Delete the old site from this repo

* Remove old GH workflow

* Remove other files
2023-03-18 22:28:17 +00:00
dan
ebf94d3da9 Override sharp version (#4554) 2022-04-06 19:33:36 +01:00
dependabot[bot]
61a6cd7722 Bump prismjs from 1.25.0 to 1.27.0 (#4386)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 16:45:22 +05:30
Nathan Somsa-ard
aeb17885d7 add the current LTS Node version (#4367) 2022-02-21 11:49:24 +00:00
Rachel Nabors
926dbeeb7c Re-add public folder 2021-10-28 22:27:24 +01:00
Dan Abramov
b62e4475d6 Kick off build 2021-10-21 22:53:47 +01:00
Dan Abramov
064aed8d1c Add build-ci alias 2021-10-21 22:51:44 +01:00
dependabot[bot]
57f5924ac4 Bump prismjs from 1.21.0 to 1.25.0 (#3916) 2021-09-21 06:27:16 +00:00
Dan Abramov
f5784cb138 Use React 17.0.2 (#3590) 2021-03-22 23:00:32 +00:00
rod
5e2a231e02 Updated eslint-plugin-react to 7.21.5 & eslint-plugin-jsx-a11y to 6.4.1 (#3370)
These updates fix issue #3120. The real problem was in jsx-ast-utils
which is a dependency of both eslint-plugin-react &
eslint-plugin-jsx-a11y
2021-01-27 12:06:49 -05:00
Dan Abramov
433acaa34d Update to 17.0.1 2020-10-22 13:27:57 +01:00
Dan Abramov
55f1662337 Update to React 17 (#3343) 2020-10-20 21:57:29 +01:00
Dan Abramov
b5003c10d1 Update for the new releases 2020-10-14 21:05:59 +01:00
Dan Abramov
491f7acb31 Tweak build command 2020-10-09 02:31:58 +01:00
Dan Abramov
4136a135ad Update to React 17 RC2 (#3276) 2020-09-22 14:50:37 +01:00
Vladimir Razuvaev
81bfee964d Fix issues on Windows (#3213)
* Upgrade gatsby-remark-code-repls

* fix path issue on Windows

Gatsby uses `slash` to normalize paths. Because of this `path.join` causes an issue on Windows
2020-08-19 14:12:35 -04:00
Dan Abramov
80c16779a7 Regenerate lockfile 2020-08-07 21:20:41 +01:00
Andrew Clark
e9cdc81ff3 Update for 16.13.1 (#2845) 2020-03-19 14:42:53 -07:00
Fran Zekan
91ffdb0812 Upgrade to Node 12 LTS (#2831)
* Upgrade to node 12 LTS

* Run prettier
2020-03-14 13:24:39 +00:00
Sunil Pai
1b5c6d3d13 Blog post for v16.13.0 (#2779)
* Blogpost for v16.13.0

* Tweak

* Update 2020-03-02-react-v16.13.0.md

* update react/react-dom versions

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2020-02-26 20:44:54 +00:00
Luna Ruan
0fb4b10aeb Update for 16.12 (#2568) 2019-11-14 19:03:35 -08:00
Andrew Clark
b3ff55f163 Update for 16.10.2 (#2392) 2019-10-03 14:59:19 -07:00
Andrew Clark
855bd6d893 Update for 16.10 (#2373) 2019-09-27 14:00:02 -07:00
Brian Vaughn
4867765f37 Update website to v16.9 (#2210) 2019-08-08 14:35:09 -07:00
Brian Vaughn
129df30d2c Profiler API docs (#2176)
* First pass at Profiler API docs
2019-08-08 14:17:59 -07:00
Dante Calderón
1ed0ecb989 Open external links in a new Tab (#1380)
Add this functionality with gatsby-remark-external-links plugin
2019-04-26 21:43:02 +03:00
Dan Abramov
2753191ee2 Bump React versions 2019-03-28 00:17:49 -07:00