Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/yellow-meteors-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@easypost/easy-ui": minor
---

Supports react 19
28 changes: 14 additions & 14 deletions easy-ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,40 +31,40 @@
"dependencies": {
"@easypost/easy-ui-icons": "1.0.0-alpha.53",
"@easypost/easy-ui-tokens": "1.0.0-alpha.17",
"@react-aria/toast": "^3.0.9",
"@react-aria/utils": "^3.32.0",
"@react-stately/toast": "^3.1.2",
"@react-aria/toast": "^3.0.10",
"@react-aria/utils": "^3.33.0",
"@react-stately/toast": "^3.1.3",
"@react-types/shared": "^3.32.1",
"@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.45.0",
"react-aria-components": "^1.14.0",
"react-is": "^18.3.1",
"react-stately": "^3.43.0",
"react-aria": "^3.46.0",
"react-aria-components": "^1.15.1",
"react-is": "^19.2.4",
"react-stately": "^3.44.0",
"react-syntax-highlighter": "^15.6.1",
"react-transition-group": "^4.4.5",
"use-clipboard-copy": "^0.2.0"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/lodash": "^4.17.18",
"@types/react-is": "^18.3.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/react-transition-group": "^4.4.12",
"@vitejs/plugin-react": "^4.6.0",
"glob": "^10.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"sass": "^1.89.2",
"vite-plugin-react-remove-attributes": "^1.0.3",
"vite-plugin-static-copy": "^3.1.2"
Expand Down
2 changes: 1 addition & 1 deletion easy-ui-react/src/ColorPicker/ColorPicker.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ describe("<ColorPicker />", () => {
expect(screen.getAllByLabelText("Color picker").length).toBeGreaterThan(0);
await userTab(user);
await userKeyboard(user, "{ArrowRight}{ArrowUp}{ArrowLeft}{ArrowDown}");
expect(screen.getByText("hsla(0, 100%, 49.5%, 1)")).toBeInTheDocument();
expect(screen.getByText("hsla(0, 98.02%, 50%, 1)")).toBeInTheDocument();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ describe("<ColorPickerInputField />", () => {
await userTab(user);
await userKeyboard(user, "{ArrowRight}{ArrowUp}{ArrowLeft}{ArrowDown}");
expect(handleChange).toHaveBeenCalled();
expect(screen.getByLabelText("Primary color")).toHaveValue("#FC0000");
expect(screen.getByLabelText("Primary color")).toHaveValue("#FC0303");
});
});
2 changes: 1 addition & 1 deletion easy-ui-react/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default defineConfig({
removeReactAttributes({
attributes: ["data-testid"],
}),
react({ jsxRuntime: "classic" }),
react(),
viteStaticCopy({
targets: [
{ src: "package.json", dest: ".", transform: cleanPkgJsonForDist },
Expand Down
Loading