Skip to content

Commit

Permalink
build(deps): Bump react-aria-components from 1.4.1 to 1.5.0 (#1489)
Browse files Browse the repository at this point in the history
Bumps [react-aria-components](https://github.com/adobe/react-spectrum)
from 1.4.1 to 1.5.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/adobe/react-spectrum/commit/17358f7938148f521bc73f636d75304c21ab2b63"><code>17358f7</code></a>
Publish</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/a53033504cff509c9fa35fb950163a7121ca2709"><code>a530335</code></a>
chore: revert export provider context (<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7416">#7416</a>)</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/c6bd2cb0808838a9f1f850b6c1ffe88465254222"><code>c6bd2cb</code></a>
chore: Update dialog examples to be more generic (<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7415">#7415</a>)</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/2e1dd2204541a53d4a8f70ec38977bcf794c06f5"><code>2e1dd22</code></a>
fix: Handle more BC date cases (<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7410">#7410</a>)</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/917009338e12bfc8c311b5a49d782417646d69ab"><code>9170093</code></a>
fix(<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7399">#7399</a>):
DatePicker.test fails with daylight savings change (<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7401">#7401</a>)</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/52bf91bc54d5193bce73c2453cd09a69e37d02f3"><code>52bf91b</code></a>
feat: Add codemod for ActionGroup (<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7396">#7396</a>)</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/baa330f0597b40cb74feb6b5183a78dcbad07249"><code>baa330f</code></a>
feat: Add RAC example of Menu nested in popover dialog (<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7402">#7402</a>)</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/62718d412fef43cdff70e490ea59752254d876fd"><code>62718d4</code></a>
Document RAC Dialog close button slot (<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7405">#7405</a>)</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/16153ed3e072d238f276da9a06ee68d5e1460268"><code>16153ed</code></a>
chore: Add ActionButtonGroup and ToggleButtonGroup to example apps and
tailwi...</li>
<li><a
href="https://github.com/adobe/react-spectrum/commit/65e3a52a39696c1bd62d7c641492bd417afd8857"><code>65e3a52</code></a>
Improve error message for missing Provider error (<a
href="https://redirect.github.com/adobe/react-spectrum/issues/7404">#7404</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/adobe/react-spectrum/compare/[email protected]@1.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-aria-components&package-manager=npm_and_yarn&previous-version=1.4.1&new-version=1.5.0)](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>
Co-authored-by: Stephen Watkins <[email protected]>
  • Loading branch information
dependabot[bot] and stephenjwatkins authored Nov 27, 2024
1 parent a5bc8ac commit e9aa13e
Show file tree
Hide file tree
Showing 6 changed files with 1,349 additions and 1,452 deletions.
8 changes: 4 additions & 4 deletions easy-ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
"dependencies": {
"@easypost/easy-ui-icons": "1.0.0-alpha.28",
"@easypost/easy-ui-tokens": "1.0.0-alpha.13",
"@react-aria/toast": "^3.0.0-beta.12",
"@react-aria/toast": "^3.0.0-beta.18",
"@react-aria/utils": "^3.26.0",
"@react-stately/toast": "^3.0.0-beta.6",
"@react-stately/toast": "^3.0.0-beta.7",
"@react-types/shared": "^3.26.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"lodash": "^4.17.21",
"overlayscrollbars": "^2.3.0",
"overlayscrollbars-react": "^0.5.6",
"react-aria": "^3.35.1",
"react-aria-components": "^1.4.1",
"react-aria": "^3.36.0",
"react-aria-components": "^1.5.0",
"react-is": "^18.3.1",
"react-stately": "^3.34.0",
"react-syntax-highlighter": "^15.6.1",
Expand Down
2 changes: 1 addition & 1 deletion easy-ui-react/src/InputField/useInputField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function useInputField(
descriptionProps: helperTextProps,
errorMessageProps: errorTextProps,
} = useTextField(
{ ...props, inputElementType: getElementType(isMultiline) },
{ ...props, inputElementType: getElementType(isMultiline) as "input" },
ref,
);

Expand Down
8 changes: 4 additions & 4 deletions easy-ui-react/src/Notification/Notification.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("<Notification />", () => {
</NotificationProvider>,
);
await clickNotification(user, screen.getByRole("button"));
expect(screen.getByRole("alert")).toBeInTheDocument();
expect(screen.getByRole("alertdialog")).toBeInTheDocument();
});

it("should render a toast notification", async () => {
Expand Down Expand Up @@ -75,7 +75,7 @@ describe("<Notification />", () => {
);
await clickNotification(user, screen.getByRole("button"));
await clickNotification(user, screen.getAllByRole("button")[1]);
expect(screen.queryByRole("alert")).not.toBeInTheDocument();
expect(screen.queryByRole("alertdialog")).not.toBeInTheDocument();
});

it("should render a notification with appropriate status styles applied", async () => {
Expand All @@ -89,7 +89,7 @@ describe("<Notification />", () => {
</NotificationProvider>,
);
await clickNotification(user, screen.getByRole("button"));
expect(screen.getByRole("alert")).toHaveAttribute(
expect(screen.getByRole("alertdialog")).toHaveAttribute(
"class",
expect.stringContaining("statusPromotional"),
);
Expand All @@ -102,7 +102,7 @@ describe("<Notification />", () => {
</NotificationProvider>,
);
await clickNotification(user, screen.getByRole("button"));
expect(screen.getByRole("alert")).toHaveAttribute(
expect(screen.getByRole("alertdialog")).toHaveAttribute(
"class",
expect.stringContaining("typeAlert"),
);
Expand Down
2 changes: 1 addition & 1 deletion easy-ui-react/src/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function TooltipInner(props: TooltipInnerProps) {
<span
ref={tooltipRef}
{...tooltipProps}
className={classNames(styles.Tooltip, styles[placement])}
className={classNames(styles.Tooltip, placement && styles[placement])}
data-placement={placement}
style={style}
>
Expand Down
4 changes: 2 additions & 2 deletions easy-ui-react/vite.config.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="vitest" />
/// <reference types="vitest/config" />

import react from "@vitejs/plugin-react";
import { glob } from "glob";
Expand Down Expand Up @@ -50,7 +50,7 @@ export default defineConfig({
]),
},
rollupOptions: {
external: ["react", "react-dom", "@react-aria/ssr"],
external: ["react", "react-dom"],
output: [
{
format: "cjs",
Expand Down
Loading

0 comments on commit e9aa13e

Please sign in to comment.