Commit Graph

88 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
8e6e81efe3 rm package-lock.json (#7184) 2024-09-23 16:23:19 -04: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
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
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
dependabot[bot]
4b7843ae39 Bump urijs from 1.19.7 to 1.19.10 (#4446)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.7 to 1.19.10.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.7...v1.19.10)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 10:33:44 +05:30
dependabot[bot]
6bd09fe682 Bump url-parse from 1.5.3 to 1.5.10 (#4391)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-27 16:14:40 +05:30
dependabot[bot]
9776f11f58 Bump object-path from 0.11.5 to 0.11.8 (#3917) 2021-09-21 08:00:11 +00:00
dependabot[bot]
57f5924ac4 Bump prismjs from 1.21.0 to 1.25.0 (#3916) 2021-09-21 06:27:16 +00:00
dependabot[bot]
a11c253406 Bump tar from 6.0.5 to 6.1.11 (#3884) 2021-09-01 08:24:05 +00:00
dependabot[bot]
95e15d063b Bump url-parse from 1.4.7 to 1.5.3 (#3849) 2021-08-13 06:38:59 +00:00
dependabot[bot]
401904d392 Bump path-parse from 1.0.6 to 1.0.7 (#3847) 2021-08-13 06:26:50 +00:00
dependabot[bot]
71d794dece Bump urijs from 1.19.2 to 1.19.7 (#3802) 2021-07-20 07:35:14 +00:00
dependabot[bot]
f3baa6d075 Bump ws from 5.2.2 to 5.2.3 (#3735) 2021-06-13 20:02:22 +00:00
dependabot[bot]
bb3702da72 Bump dns-packet from 1.3.1 to 1.3.4 (#3700) 2021-06-13 19:48:40 +00:00
dependabot[bot]
f6c2e0690e Bump browserslist from 4.14.3 to 4.16.6 (#3699) 2021-05-26 20:56:56 +00:00
dependabot[bot]
5201abf69c Bump lodash from 4.17.20 to 4.17.21 (#3680) 2021-05-12 08:00:14 +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
dependabot[bot]
f45c5d4d2b Bump socket.io from 2.3.0 to 2.4.1 (#3494)
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 12:00:49 -05:00
dependabot[bot]
6349ec18a0 Bump ini from 1.3.5 to 1.3.8 (#3450) 2020-12-13 09:54:17 +00:00
Dan Abramov
433acaa34d Update to 17.0.1 2020-10-22 13:27:57 +01:00
dependabot[bot]
4c9a1b7da0 Bump object-path from 0.11.4 to 0.11.5 (#3344)
Bumps [object-path](https://github.com/mariocasciaro/object-path) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/mariocasciaro/object-path/releases)
- [Commits](https://github.com/mariocasciaro/object-path/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 22:16:05 +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
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