Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[react] Updates to View Transition - #72339

Merged
eps1lon merged 5 commits into
masterfrom
react/vt-updates
Apr 2, 2025
Merged

[react] Updates to View Transition#72339
eps1lon merged 5 commits into
masterfrom
react/vt-updates

Conversation


declare module "react" {
interface ViewTransitionInstance {
getComputedStyle: () => CSSStyleDeclaration;

@sebmarkbage sebmarkbage Apr 1, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. This is on each Animatable below.

It's more like an interface that extends implements Animatable. Kind of like an Element, a PsuedoElement if you will.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eps1lon
eps1lon force-pushed the react/vt-updates branch from 34d56f3 to dad3d85 Compare April 1, 2025 17:35
@eps1lon eps1lon changed the title [react] Remove ViewTransition#layout and ViewTransition#onLayout [react] Update ViewTransition types Apr 1, 2025
@eps1lon eps1lon changed the title [react] Update ViewTransition types [react] Update View Transition types Apr 1, 2025
@eps1lon eps1lon changed the title [react] Update View Transition types [react] Updates to View Transition Apr 1, 2025
@eps1lon
eps1lon requested a review from sebmarkbage April 1, 2025 17:44
@eps1lon
eps1lon marked this pull request as ready for review April 1, 2025 17:44
@typescript-bot

typescript-bot commented Apr 1, 2025

Copy link
Copy Markdown
Contributor

@eps1lon Thank you for submitting this PR!

This is a live comment that I will keep updated.

2 packages in this PR

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ❌ Continuous integration tests have failed
  • 🕐 A DT maintainer needs to approve changes that affect more than one package

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 72339,
  "author": "eps1lon",
  "headCommitOid": "dad3d859a49490ac8fbd67f60055ec0b6cbdd66b",
  "mergeBaseOid": "5d7e8c0570c4c64da0133593c0e83edbce4a1b98",
  "lastPushDate": "2025-04-01T15:25:34.000Z",
  "lastActivityDate": "2025-04-01T18:35:49.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "react-dom",
      "kind": "edit",
      "files": [
        {
          "path": "types/react-dom/experimental.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/react-dom/test/experimental-tests.tsx",
          "kind": "test"
        }
      ],
      "owners": [
        "MartynasZilinskas",
        "theruther4d",
        "Jessidhia",
        "eps1lon"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    },
    {
      "name": "react",
      "kind": "edit",
      "files": [
        {
          "path": "types/react/experimental.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/react/test/experimental.tsx",
          "kind": "test"
        },
        {
          "path": "types/react/ts5.0/experimental.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/react/ts5.0/test/experimental.tsx",
          "kind": "test"
        }
      ],
      "owners": [
        "johnnyreilly",
        "bbenezech",
        "pzavolinsky",
        "ericanderson",
        "DovydasNavickas",
        "theruther4d",
        "guilhermehubner",
        "ferdaber",
        "jrakotoharisoa",
        "pascaloliv",
        "hotell",
        "franklixuefei",
        "Jessidhia",
        "saranshkataria",
        "lukyth",
        "eps1lon",
        "zieka",
        "dancerphil",
        "dimitropoulos",
        "disjukr",
        "vhfmag",
        "priyanshurav",
        "Semigradsky",
        "mattpocock"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "sebmarkbage",
      "date": "2025-04-01T18:35:49.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 2770385389,
  "ciResult": "fail",
  "ciUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/commit/dad3d859a49490ac8fbd67f60055ec0b6cbdd66b/checks?check_suite_id=36539648299"
}

@typescript-bot typescript-bot added The CI failed When GH Actions fails Other Approved This PR was reviewed and signed-off by a community member. Critical package Edits multiple packages Author is Owner The author of this PR is a listed owner of the package. labels Apr 1, 2025
@typescript-bot

Copy link
Copy Markdown
Contributor

@typescript-bot

Copy link
Copy Markdown
Contributor

@eps1lon The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds that are failing do not end up on the list of PRs for the DT maintainers to review.

@eps1lon

eps1lon commented Apr 2, 2025

Copy link
Copy Markdown
Collaborator Author

Failures are unrelated

@eps1lon
eps1lon merged commit d1aa9dc into master Apr 2, 2025
@eps1lon
eps1lon deleted the react/vt-updates branch April 2, 2025 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author is Owner The author of this PR is a listed owner of the package. Critical package Edits multiple packages Other Approved This PR was reviewed and signed-off by a community member. The CI failed When GH Actions fails

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants