Skip to content

Commit

Permalink
Merge branch 'main' of github.com:evergreen-ci/ui into dependabot/npm…
Browse files Browse the repository at this point in the history
…_and_yarn/leafygreen-ui/loading-indicator-2.0.12
  • Loading branch information
SupaJoon committed May 29, 2024
2 parents 3a9cffb + 4f7141e commit b90634f
Show file tree
Hide file tree
Showing 488 changed files with 3,479 additions and 1,136 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ yarn test

To run a particular workspace's unit tests from root:
```bash
yarn test --selectProjects [workspace-name]
yarn test --project [workspace-name]
```
4 changes: 2 additions & 2 deletions apps/parsley/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"deploy:prod": "env-cmd -e production ts-node scripts/deploy/run-deploy",
"deploy:do-not-use": ". ./scripts/deploy/deploy.sh",
"dev": "env-cmd -e devLocal -r .env-cmdrc.local.json vite",
"evg-db-ops": "yarn --cwd='../..' evg-db-ops",
"evg-db-ops": "../../scripts/evg-db-ops.sh",
"staging": "env-cmd -e devStaging -r .env-cmdrc.local.json vite",
"prod": "env-cmd -e devProduction -r .env-cmdrc.local.json vite",
"eslint:fix": "yarn eslint:strict --fix",
Expand Down Expand Up @@ -60,7 +60,7 @@
"@leafygreen-ui/select": "12.0.0",
"@leafygreen-ui/side-nav": "14.1.0",
"@leafygreen-ui/tabs": "11.1.13",
"@leafygreen-ui/text-input": "12.1.12",
"@leafygreen-ui/text-input": "13.0.2",
"@leafygreen-ui/toast": "6.1.24",
"@leafygreen-ui/toggle": "10.0.4",
"@leafygreen-ui/tooltip": "10.0.10",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,51 +121,67 @@
class="css-500t56-RangeInputWrapper egajxj62"
>
<div
class="css-1esou8m-RangeInput egajxj61 leafygreen-ui-90q1a7"
aria-labelledby="Range Lower Bound"
class="leafygreen-ui-1br9h7w css-1esou8m-RangeInput egajxj61"
data-lgid="lg-text_input"
>
<div
class="leafygreen-ui-lzja97"
class="leafygreen-ui-1iyoj2o"
/>
<div
class="leafygreen-ui-1c0ck9t"
>
<input
aria-invalid="false"
aria-labelledby="Range Lower Bound"
autocomplete="on"
class="leafygreen-ui-lkup3q"
data-cy="range-lower-bound"
id="textinput-3"
min="0"
placeholder="0"
required=""
type="number"
value=""
/>
<div
class="lg-ui-icon-selector-0000 leafygreen-ui-dhxvhh"
/>
class="leafygreen-ui-1ago99h"
>
<input
aria-describedby=""
aria-disabled="false"
aria-invalid="false"
aria-labelledby="Range Lower Bound"
autocomplete="on"
class="lg-ui-form-field-input-0000 leafygreen-ui-1ago99h"
data-cy="range-lower-bound"
id="lg-form-field-input-27"
min="0"
placeholder="0"
required=""
type="number"
value=""
/>
</div>
</div>
</div>
<div
class="css-1esou8m-RangeInput egajxj61 leafygreen-ui-90q1a7"
aria-labelledby="Range Upper Bound"
class="leafygreen-ui-1br9h7w css-1esou8m-RangeInput egajxj61"
data-lgid="lg-text_input"
>
<div
class="leafygreen-ui-lzja97"
class="leafygreen-ui-1iyoj2o"
/>
<div
class="leafygreen-ui-1c0ck9t"
>
<input
aria-invalid="false"
aria-labelledby="Range Upper Bound"
autocomplete="on"
class="leafygreen-ui-lkup3q"
data-cy="range-upper-bound"
id="textinput-4"
min="0"
placeholder="100"
required=""
type="number"
value=""
/>
<div
class="lg-ui-icon-selector-0000 leafygreen-ui-dhxvhh"
/>
class="leafygreen-ui-1ago99h"
>
<input
aria-describedby=""
aria-disabled="false"
aria-invalid="false"
aria-labelledby="Range Upper Bound"
autocomplete="on"
class="lg-ui-form-field-input-0000 leafygreen-ui-1ago99h"
data-cy="range-upper-bound"
id="lg-form-field-input-31"
min="0"
placeholder="100"
required=""
type="number"
value=""
/>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
role="tablist"
>
<button
aria-controls="tab-panel-23"
aria-controls="tab-panel-39"
aria-selected="true"
class="leafygreen-ui-oq6if2"
data-cy="search-and-filter-tab"
data-text="Search & Filter"
id="tab-24"
id="tab-40"
name="Search & Filter"
role="tab"
tabindex="0"
Expand All @@ -39,12 +39,12 @@
</div>
</button>
<button
aria-controls="tab-panel-25"
aria-controls="tab-panel-41"
aria-selected="false"
class="leafygreen-ui-1vvp6ij"
data-cy="log-viewing-tab"
data-text="Log Viewing"
id="tab-26"
id="tab-42"
name="Log Viewing"
role="tab"
tabindex="-1"
Expand All @@ -66,9 +66,9 @@
</div>
<div>
<div
aria-labelledby="tab-24"
aria-labelledby="tab-40"
data-cy="search-and-filter-tab"
id="tab-panel-23"
id="tab-panel-39"
role="tabpanel"
>
<div
Expand Down Expand Up @@ -121,51 +121,67 @@
class="css-500t56-RangeInputWrapper egajxj62"
>
<div
class="css-1esou8m-RangeInput egajxj61 leafygreen-ui-90q1a7"
aria-labelledby="Range Lower Bound"
class="leafygreen-ui-1br9h7w css-1esou8m-RangeInput egajxj61"
data-lgid="lg-text_input"
>
<div
class="leafygreen-ui-lzja97"
class="leafygreen-ui-1iyoj2o"
/>
<div
class="leafygreen-ui-1c0ck9t"
>
<input
aria-invalid="false"
aria-labelledby="Range Lower Bound"
autocomplete="on"
class="leafygreen-ui-lkup3q"
data-cy="range-lower-bound"
id="textinput-7"
min="0"
placeholder="0"
required=""
type="number"
value=""
/>
<div
class="lg-ui-icon-selector-0000 leafygreen-ui-dhxvhh"
/>
class="leafygreen-ui-1ago99h"
>
<input
aria-describedby=""
aria-disabled="false"
aria-invalid="false"
aria-labelledby="Range Lower Bound"
autocomplete="on"
class="lg-ui-form-field-input-0000 leafygreen-ui-1ago99h"
data-cy="range-lower-bound"
id="lg-form-field-input-63"
min="0"
placeholder="0"
required=""
type="number"
value=""
/>
</div>
</div>
</div>
<div
class="css-1esou8m-RangeInput egajxj61 leafygreen-ui-90q1a7"
aria-labelledby="Range Upper Bound"
class="leafygreen-ui-1br9h7w css-1esou8m-RangeInput egajxj61"
data-lgid="lg-text_input"
>
<div
class="leafygreen-ui-lzja97"
class="leafygreen-ui-1iyoj2o"
/>
<div
class="leafygreen-ui-1c0ck9t"
>
<input
aria-invalid="false"
aria-labelledby="Range Upper Bound"
autocomplete="on"
class="leafygreen-ui-lkup3q"
data-cy="range-upper-bound"
id="textinput-8"
min="0"
placeholder="100"
required=""
type="number"
value=""
/>
<div
class="lg-ui-icon-selector-0000 leafygreen-ui-dhxvhh"
/>
class="leafygreen-ui-1ago99h"
>
<input
aria-describedby=""
aria-disabled="false"
aria-invalid="false"
aria-labelledby="Range Upper Bound"
autocomplete="on"
class="lg-ui-form-field-input-0000 leafygreen-ui-1ago99h"
data-cy="range-upper-bound"
id="lg-form-field-input-67"
min="0"
placeholder="100"
required=""
type="number"
value=""
/>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -566,9 +582,9 @@
</div>
</div>
<div
aria-labelledby="tab-26"
aria-labelledby="tab-42"
data-cy="log-viewing-tab"
id="tab-panel-25"
id="tab-panel-41"
role="tabpanel"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { getTestUtils } from "@leafygreen-ui/text-input";
import { DIRECTION } from "context/LogContext/types";
import { render, screen, userEvent, waitFor } from "test_utils";
import SearchBar from ".";
Expand All @@ -9,11 +10,12 @@ describe("searchbar", () => {

it("disables properly", () => {
render(<SearchBar disabled />);
const { isDisabled } = getTestUtils();
expect(screen.getByDataCy("searchbar-select")).toHaveAttribute(
"aria-disabled",
"true",
);
expect(screen.getByDataCy("searchbar-input")).toBeDisabled();
expect(isDisabled()).toBe(true);
});
it("should be able to paginate forwards by pressing Enter and keep focus", async () => {
const user = userEvent.setup();
Expand Down
Loading

0 comments on commit b90634f

Please sign in to comment.