Skip to content

Commit

Permalink
update pi-ui, rename styles prop to customStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
bgptr committed Feb 2, 2022
1 parent 2dc092f commit c39b315
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/components/inputs/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Select = ({ styles, selectWithBigFont, ariaLabelledBy, ...props }) => {

return (
<PiUiSelect
styles={customStyles}
customStyles={customStyles}
maxMenuHeight={200}
aria-labelledby={ariaLabelledBy}
{...props}
Expand Down
8 changes: 4 additions & 4 deletions test/unit/components/views/GetStaredPage/CreateWallet.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ test("create wallet button must be disabled if any of the inputs are invalid", a
);
fillSeedWordEntryUsingEnterKey(comboboxArray[0], testSeedArray[0]);
await wait(() => expect(createWallet).not.toHaveAttribute("disabled"));
});
}, 30000);

test("test POSITION_ERROR handling on restore view (missing words)", async () => {
await goToExistingSeedView();
Expand All @@ -519,7 +519,7 @@ test("test POSITION_ERROR handling on restore view (missing words)", async () =>
await wait(() =>
expect(screen.getByText("3.").parentNode.className).toMatch(/error/)
);
});
}, 30000);

test("test POSITION_ERROR handling on restore view (mismatch error)", async () => {
await goToExistingSeedView();
Expand Down Expand Up @@ -551,7 +551,7 @@ test("test POSITION_ERROR handling on restore view (mismatch error)", async () =
await wait(() =>
expect(screen.getByText("6.").parentNode.className).toMatch(/populated/)
);
});
}, 30000);

test("test invalid POSITION_ERROR msg format handling on restore view", async () => {
await goToExistingSeedView();
Expand All @@ -568,7 +568,7 @@ test("test invalid POSITION_ERROR msg format handling on restore view", async ()
await wait(() =>
expect(screen.getByText("4.").parentNode.className).toMatch(/populated/)
);
});
}, 30000);

test("test hex input tab on restore view", async () => {
await goToExistingSeedView();
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9773,7 +9773,7 @@ performance-now@^2.1.0:

"pi-ui@https://github.com/bgptr/pi-ui#select":
version "1.0.0"
resolved "https://github.com/bgptr/pi-ui#9d2e78dc05020e04077e58d9e1a1639b40db793d"
resolved "https://github.com/bgptr/pi-ui#b9e44533ad9719e5e073c973596b1580bcced3c1"
dependencies:
clamp-js-main "^0.11.5"
lodash "^4.17.15"
Expand Down

0 comments on commit c39b315

Please sign in to comment.