Skip to content

Commit

Permalink
Bump @headlessui/react from 1.7.19 to 2.0.4 in /src/javascript/fitbit…
Browse files Browse the repository at this point in the history
…-challenges/frontend (#118)

Bumps
[@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react)
from 1.7.19 to 2.0.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tailwindlabs/headlessui/releases"><code>@​headlessui/react</code>'s
releases</a>.</em></p>
<blockquote>
<h2><code>@​headlessui/react</code><a
href="https://github.com/v2"><code>@​v2</code></a>.0.4</h2>
<h3>Fixed</h3>
<ul>
<li>[internal] Don’t set a focus fallback for Dialog’s in demo mode (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3194">#3194</a>)</li>
<li>Ensure page doesn't scroll down when pressing <code>Escape</code> to
close the <code>Dialog</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3218">#3218</a>)</li>
<li>Fix crash when toggling between <code>virtual</code> and non-virtual
mode in <code>Combobox</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3236">#3236</a>)</li>
<li>Ensure tabbing to a portalled <code>&lt;PopoverPanel&gt;</code>
component moves focus inside (without using
<code>&lt;PortalGroup&gt;</code>) (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3239">#3239</a>)</li>
<li>Only handle form reset when <code>defaultValue</code> is used (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3240">#3240</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>Mark <code>SwitchGroup</code> as deprecated, prefer
<code>Field</code> instead (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3232">#3232</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Use native <code>fieldset</code> instead of <code>div</code> by
default for <code>&lt;Fieldset /&gt;</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3237">#3237</a>)</li>
</ul>
<h2><code>@​headlessui/react</code><a
href="https://github.com/v2"><code>@​v2</code></a>.0.3</h2>
<h3>Fixed</h3>
<ul>
<li>Make sure disabling demo mode on <code>&lt;Combobox&gt;</code> works
(<a
href="hhttps://redirect.github.com/tailwindlabs/headlessui/pull/3182">#3182</a>)</li>
</ul>
<h2><code>@​headlessui/react</code><a
href="https://github.com/v2"><code>@​v2</code></a>.0.2</h2>
<h3>Fixed</h3>
<ul>
<li>Improve performance of internal <code>useInertOthers</code> hook (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3181">#3181</a>)</li>
</ul>
<h2><code>@​headlessui/react</code><a
href="https://github.com/v2"><code>@​v2</code></a>.0.1</h2>
<h3>Fixed</h3>
<ul>
<li>Remove accidental deprecation comments on
<code>&lt;DialogPanel&gt;</code> and <code>&lt;DialogTitle&gt;</code>
(<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3176">#3176</a>)</li>
</ul>
<h2><code>@​headlessui/react</code><a
href="https://github.com/v2"><code>@​v2</code></a>.0.0</h2>
<p><a href="https://headlessui.com/"><img
src="https://github.com/tailwindlabs/headlessui/assets/882133/86225241-6e5e-4c64-97a9-b10b61af9f4e"
alt="Headless UI v2.0" /></a></p>
<p>We just released Headless UI v2.0 for React which includes a ton of
new stuff:</p>
<ul>
<li><strong>Built-in anchor positioning</strong> — using <a
href="https://floating-ui.com/">Floating UI</a>, components like
<code>Menu</code>, <code>Listbox</code>, and more can now automatically
position their popovers to be anchored to their trigger, adapting as
needed to changes in the viewport.</li>
<li><strong>Headless checkbox component</strong> — we've added a
headless <code>Checkbox</code> component to complement our existing
<code>RadioGroup</code> component, making it easy to build totally
custom checkbox controls.</li>
<li><strong>HTML form components</strong> — we've added
<code>Input</code>, <code>Select</code>, <code>Textarea</code>,
<code>Label</code>, <code>Description</code>, <code>Fieldset</code>, and
<code>Legend</code> components that handle all of the ID generation and
<code>aria-*</code> attribute mapping you need to do to connect form
fields together.</li>
<li><strong>Improved hover and focus-visible detection</strong> — using
hooks from the awesome <a
href="https://react-spectrum.adobe.com/react-aria/hooks.html">React
Aria</a> library under the hood, Headless UI now adds smarter
<code>data-hover</code> and <code>data-focus</code> attributes to your
controls that behave more consistently across different devices than the
native pseudo-classes.</li>
<li><strong>Combobox list virtualization</strong> — the
<code>Combobox</code> component can now handle giant lists of options
with no performance issues.</li>
</ul>
<h2>Changelog</h2>
<h3>Added</h3>
<ul>
<li>Add new <code>Checkbox</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2962">#2962</a>)</li>
<li>Add new <code>Button</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>)</li>
<li>Add new <code>Input</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2902">#2902</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2940">#2940</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md"><code>@​headlessui/react</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>[2.0.4] - 2024-05-25</h2>
<h3>Fixed</h3>
<ul>
<li>[internal] Don’t set a focus fallback for Dialog’s in demo mode (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3194">#3194</a>)</li>
<li>Ensure page doesn't scroll down when pressing <code>Escape</code> to
close the <code>Dialog</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3218">#3218</a>)</li>
<li>Fix crash when toggling between <code>virtual</code> and non-virtual
mode in <code>Combobox</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3236">#3236</a>)</li>
<li>Ensure tabbing to a portalled <code>&lt;PopoverPanel&gt;</code>
component moves focus inside (without using
<code>&lt;PortalGroup&gt;</code>) (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3239">#3239</a>)</li>
<li>Only handle form reset when <code>defaultValue</code> is used (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3240">#3240</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>Mark <code>SwitchGroup</code> as deprecated, prefer
<code>Field</code> instead (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3232">#3232</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Use native <code>fieldset</code> instead of <code>div</code> by
default for <code>&lt;Fieldset /&gt;</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3237">#3237</a>)</li>
</ul>
<h2>[2.0.3] - 2024-05-07</h2>
<h3>Fixed</h3>
<ul>
<li>Make sure disabling demo mode on <code>&lt;Combobox&gt;</code> works
(<a
href="hhttps://redirect.github.com/tailwindlabs/headlessui/pull/3182">#3182</a>)</li>
</ul>
<h2>[2.0.2] - 2024-05-07</h2>
<h3>Fixed</h3>
<ul>
<li>Improve performance of internal <code>useInertOthers</code> hook (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3181">#3181</a>)</li>
</ul>
<h2>[2.0.1] - 2024-05-06</h2>
<h3>Fixed</h3>
<ul>
<li>Remove accidental deprecation comments on
<code>&lt;DialogPanel&gt;</code> and <code>&lt;DialogTitle&gt;</code>
(<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/3176">#3176</a>)</li>
</ul>
<h2>[2.0.0] - 2024-05-06</h2>
<h3>Added</h3>
<ul>
<li>Add new <code>Checkbox</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2962">#2962</a>)</li>
<li>Add new <code>Button</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>)</li>
<li>Add new <code>Input</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2902">#2902</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2940">#2940</a>)</li>
<li>Add new <code>Textarea</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2902">#2902</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2940">#2940</a>)</li>
<li>Add new <code>Select</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2902">#2902</a>)</li>
<li>Add new <code>Fieldset</code> and <code>Legend</code> components (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>)</li>
<li>Add new <code>Field</code>, <code>Label</code>, and
<code>Description</code> components (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>,
<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2941">#2941</a>)</li>
<li>Add new <code>MenuSection</code>, <code>MenuHeading</code>, and
<code>MenuSeparator</code> components (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>)</li>
<li>Add new <code>ListboxSelectedOption</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>)</li>
<li>Add new <code>DataInteractive</code> component (<a
href="https://redirect.github.com/tailwindlabs/headlessui/pull/2887">#2887</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/7be23e5c7e2e71218cdba405ea4f4aca7924acc8"><code>7be23e5</code></a>
2.0.4 - <code>@​headlessui/react</code></li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/f740050c2a1995a1a1e73d8cff6f46efdacb1f0d"><code>f740050</code></a>
Use native <code>fieldset</code> instead of <code>div</code> by default
for <code>\&lt;Fieldset /&gt;</code> componen...</li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/8c3499cc8d67960f0002d45d05627841bfe70341"><code>8c3499c</code></a>
Only handle form reset when <code>defaultValue</code> is used (<a
href="https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react/issues/3240">#3240</a>)</li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/c2754bcb168f3656a68f404ec013eefc7ac1eaa4"><code>c2754bc</code></a>
Ensure tabbing to a portalled <code>\&lt;PopoverPanel&gt;</code>
component moves focus inside (...</li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/b822c8a400b0fd755893e4f4116660c5f6e53743"><code>b822c8a</code></a>
Fix crash when toggling between <code>virtual</code> and non-virtual
mode in <code>Combobox</code> ...</li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/b478189fad48a64aa14959fc33142a130eec2ccf"><code>b478189</code></a>
Mark <code>SwitchGroup</code> as deprecated, prefer <code>Field</code>
instead (<a
href="https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react/issues/3232">#3232</a>)</li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/7fcb410be487017cde3b02c19adc7815a35b8ed9"><code>7fcb410</code></a>
do not apply <code>aria-modal</code> in demo mode (<a
href="https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react/issues/3227">#3227</a>)</li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/045f2bc761be3d30ef203ccb3da2c0292c8a5397"><code>045f2bc</code></a>
Ensure page doesn't scroll down when pressing <code>Escape</code> to
close the <code>Dialog</code> ...</li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/300e9eb95777210fd43570d31aae7da5b87d381f"><code>300e9eb</code></a>
Update changelog</li>
<li><a
href="https://github.com/tailwindlabs/headlessui/commit/3407625c511e55771b219209bb9219a3f55a5e09"><code>3407625</code></a>
Use same tense</li>
<li>Additional commits viewable in <a
href="https://github.com/tailwindlabs/headlessui/commits/@headlessui/[email protected]/packages/@headlessui-react">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@headlessui/react&package-manager=npm_and_yarn&previous-version=1.7.19&new-version=2.0.4)](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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 10, 2024
1 parent 1da52b9 commit 9e24a93
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 21 deletions.
183 changes: 163 additions & 20 deletions src/javascript/fitbit-challenges/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/javascript/fitbit-challenges/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@apollo/client": "^3.10.4",
"@apollo/react-testing": "^4.0.0",
"@headlessui/react": "^1.7.19",
"@headlessui/react": "^2.0.4",
"@heroicons/react": "^2.1.3",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
Expand Down

0 comments on commit 9e24a93

Please sign in to comment.