A React Native Windows library to use XAML / WinUI controls
Перейти к файлу
dependabot[bot] 40a439c468
Bump @babel/traverse from 7.20.13 to 7.23.9 (#274)
Bumps
[@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse)
from 7.20.13 to 7.23.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/babel/babel/releases"><code>@​babel/traverse</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v7.23.9 (2024-01-25)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helper-transform-fixture-test-runner</code>,
<code>babel-plugin-transform-function-name</code>,
<code>babel-plugin-transform-modules-systemjs</code>,
<code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16225">#16225</a>
fix: <code>systemjs</code> re-traverses helpers (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>,
<code>babel-plugin-proposal-decorators</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16226">#16226</a>
Improve decorated private method check (<a
href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-decorators</code>,
<code>babel-plugin-transform-async-generator-functions</code>,
<code>babel-plugin-transform-runtime</code>,
<code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16224">#16224</a>
Properly sort <code>core-js@3</code> imports (<a
href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15383">#15383</a>
fix: Don't throw in <code>getTypeAnnotation</code> when using
TS+inference (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16210">#16210</a>
[eslint] Fix <code>no-use-before-define</code> for class ref in fields
(<a
href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-core</code>, <code>babel-parser</code>,
<code>babel-template</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16222">#16222</a>
Migrate <code>eslint-parser</code> to cts (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16213">#16213</a>
Remove <code>@babel/types</code> props that are not produced by the
parser (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16072">#16072</a>
perf: Improve parser performance for typescript (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🔬 Output optimization</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>,
<code>babel-plugin-proposal-decorators</code>,
<code>babel-plugin-proposal-destructuring-private</code>,
<code>babel-plugin-proposal-pipeline-operator</code>,
<code>babel-plugin-transform-class-properties</code>,
<code>babel-plugin-transform-class-static-block</code>,
<code>babel-plugin-transform-new-target</code>,
<code>babel-plugin-transform-parameters</code>,
<code>babel-plugin-transform-private-methods</code>,
<code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16218">#16218</a>
Improve temporary variables for decorators (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-explicit-resource-management</code>,
<code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>,
<code>babel-runtime</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15959">#15959</a>
Improve output of <code>using</code> (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 4</h4>
<ul>
<li>Babel Bot (<a
href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li>
<li>Huáng Jùnliàng (<a
href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>Nicolò Ribaudo (<a
href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
<li><a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a></li>
</ul>
<h2>v7.23.8 (2024-01-08)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16181">#16181</a>
fix: <code>preset-env</code> throws exception for <code>export * as
x</code> (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-decorators</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16201">#16201</a>
fix: decorator binds <code>getter/setter</code> to
<code>ctx.access</code> for public fields (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
<li><a
href="https://redirect.github.com/babel/babel/pull/16199">#16199</a>
fix: Class decorator correctly passes return value (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>↩️ Revert</h4>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16202">#16202</a>
Revert &quot;chore: Update artifact tools (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16184">#16184</a>)&quot;
(<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
<h4>🔬 Output optimization</h4>
<ul>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-decorators</code>,
<code>babel-plugin-transform-class-properties</code>,
<code>babel-plugin-transform-classes</code>,
<code>babel-plugin-transform-function-name</code>,
<code>babel-plugin-transform-parameters</code>,
<code>babel-plugin-transform-react-jsx</code>,
<code>babel-plugin-transform-runtime</code>,
<code>babel-plugin-transform-spread</code>,
<code>babel-plugin-transform-typescript</code>,
<code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>,
<code>babel-runtime-corejs3</code>, <code>babel-runtime</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/traverse</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>v7.23.9 (2024-01-25)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helper-transform-fixture-test-runner</code>,
<code>babel-plugin-transform-function-name</code>,
<code>babel-plugin-transform-modules-systemjs</code>,
<code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16225">#16225</a>
fix: <code>systemjs</code> re-traverses helpers (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>,
<code>babel-plugin-proposal-decorators</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16226">#16226</a>
Improve decorated private method check (<a
href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-decorators</code>,
<code>babel-plugin-transform-async-generator-functions</code>,
<code>babel-plugin-transform-runtime</code>,
<code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16224">#16224</a>
Properly sort <code>core-js@3</code> imports (<a
href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15383">#15383</a>
fix: Don't throw in <code>getTypeAnnotation</code> when using
TS+inference (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16210">#16210</a>
[eslint] Fix <code>no-use-before-define</code> for class ref in fields
(<a
href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-core</code>, <code>babel-parser</code>,
<code>babel-template</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16222">#16222</a>
Migrate <code>eslint-parser</code> to cts (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16213">#16213</a>
Remove <code>@babel/types</code> props that are not produced by the
parser (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16072">#16072</a>
perf: Improve parser performance for typescript (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🔬 Output optimization</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>,
<code>babel-plugin-proposal-decorators</code>,
<code>babel-plugin-proposal-destructuring-private</code>,
<code>babel-plugin-proposal-pipeline-operator</code>,
<code>babel-plugin-transform-class-properties</code>,
<code>babel-plugin-transform-class-static-block</code>,
<code>babel-plugin-transform-new-target</code>,
<code>babel-plugin-transform-parameters</code>,
<code>babel-plugin-transform-private-methods</code>,
<code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16218">#16218</a>
Improve temporary variables for decorators (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-explicit-resource-management</code>,
<code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>,
<code>babel-runtime</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15959">#15959</a>
Improve output of <code>using</code> (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.23.8 (2024-01-08)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16181">#16181</a>
fix: <code>preset-env</code> throws exception for <code>export * as
x</code> (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-decorators</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16201">#16201</a>
fix: decorator binds <code>getter/setter</code> to
<code>ctx.access</code> for public fields (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
<li><a
href="https://redirect.github.com/babel/babel/pull/16199">#16199</a>
fix: Class decorator correctly passes return value (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>↩️ Revert</h4>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16202">#16202</a>
Revert &quot;chore: Update artifact tools (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16184">#16184</a>)&quot;
(<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
<h4>🔬 Output optimization</h4>
<ul>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-decorators</code>,
<code>babel-plugin-transform-class-properties</code>,
<code>babel-plugin-transform-classes</code>,
<code>babel-plugin-transform-function-name</code>,
<code>babel-plugin-transform-parameters</code>,
<code>babel-plugin-transform-react-jsx</code>,
<code>babel-plugin-transform-runtime</code>,
<code>babel-plugin-transform-spread</code>,
<code>babel-plugin-transform-typescript</code>,
<code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>,
<code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16194">#16194</a>
Improve output of <code>super()</code> (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.23.7 (2023-12-29)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-traverse</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16191">#16191</a>
fix: Crash when removing without <code>Program</code> (<a
href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-decorators</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a0dd614d12"><code>a0dd614</code></a>
v7.23.9</li>
<li><a
href="1200542a44"><code>1200542</code></a>
fix: Don't throw in <code>getTypeAnnotation</code> when using
TS+inference (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/15383">#15383</a>)</li>
<li><a
href="e428a6d5f9"><code>e428a6d</code></a>
v7.23.7</li>
<li><a
href="d2928229f6"><code>d292822</code></a>
fix: Crash when removing without <code>Program</code> (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16191">#16191</a>)</li>
<li><a
href="d02c1f76ac"><code>d02c1f7</code></a>
v7.23.6</li>
<li><a
href="cce807f1eb"><code>cce807f</code></a>
Bump debug to ^4.3.1 (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16164">#16164</a>)</li>
<li><a
href="8479012ee7"><code>8479012</code></a>
v7.23.5</li>
<li><a
href="da7dc40fda"><code>da7dc40</code></a>
Do not remove bindings when removing assignment expression path (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16131">#16131</a>)</li>
<li><a
href="fadc081db1"><code>fadc081</code></a>
fix: Unexpected duplication of comments (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16110">#16110</a>)</li>
<li><a
href="13a5c83807"><code>13a5c83</code></a>
v7.23.4</li>
<li>Additional commits viewable in <a
href="https://github.com/babel/babel/commits/v7.23.9/packages/babel-traverse">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/traverse&package-manager=npm_and_yarn&previous-version=7.20.13&new-version=7.23.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/microsoft/react-native-xaml/network/alerts).

</details>
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/react-native-xaml/pull/274)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 15:11:24 -08:00
.github Upgrade to RNW 0.73 (#273) 2024-02-05 13:58:19 -08:00
.vscode Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
change Upgrade to RNW 0.73 (#273) 2024-02-05 13:58:19 -08:00
example Upgrade to RNW 0.73 (#273) 2024-02-05 13:58:19 -08:00
examplenuget Upgrade to RNW 0.73 (#273) 2024-02-05 13:58:19 -08:00
package Upgrade to RNW 0.73 (#273) 2024-02-05 13:58:19 -08:00
.clang-format Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
.cspell.json Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
.gitattributes Fix line ending generation 2022-01-26 13:04:37 -08:00
.gitignore gitignore 2021-02-27 22:26:06 -08:00
.spelling Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
CONTRIBUTING.md Fix memory mismanagement bug with EventAttachInfo (#268) 2024-02-02 23:25:18 +00:00
LICENSE Upgrade to WinUI 2.7 (#246) 2023-03-01 17:20:08 -08:00
README.md Updated README to point to Contribution guide 2022-02-09 16:29:37 -08:00
SECURITY.md Microsoft mandatory file 2022-08-17 14:46:43 +00:00
TechnicalGuide.md Update TechnicalGuide.md 2021-03-14 01:51:03 -08:00
USAGE.md Clean up formatting, spelling, and licenses (#262) 2023-08-21 12:21:35 -07:00
directory.build.props fix build when running from CLI 2022-11-11 11:03:29 -08:00
package.json Add support for MenuFlyoutSubitem 2022-06-21 11:26:36 -07:00
yarn.lock Bump @babel/traverse from 7.20.13 to 7.23.9 (#274) 2024-02-05 15:11:24 -08:00

README.md

CI

react-native-xaml

A React Native Windows view manager that allows directly using the Windows XAML framework.

Cheat sheet

To see examples of the syntax and available controls, check out the Usage guide.

Main advantages

  • Allows developers writing react-native-windows apps (React Native apps targeting Windows 10) to quickly get started, if they are familiar with XAML.
  • Developers are not limited by the set of controls present today in RNW and community modules that support Windows.
  • Best of all, this solution is available today!
  • The set of types/properties/events are the XAML ones, however JS libraries can wrap those to expose the Windows control in a platform-agnostic way (e.g. as a way to implement a cross-plat control for Windows).

react-native-xaml works by leveraging metadata for XAML properties, types and events. This metadata is automatically generated (code-gen) from the Windows SDK. This means we can have a full projection of all of XAML – or any WinRT components written by app devs, that export a UserControl – without manual intervention.

Technical details

See Technical Guide.

Contributing

Pull Requests are welcome. See Contribution Guide for details.

Demo

react-native-xaml demo