Skip to content

Commit 1df8bd3

Browse files
committed
more fixes
1 parent 8815085 commit 1df8bd3

File tree

2 files changed

+114
-4
lines changed

2 files changed

+114
-4
lines changed

src/app/Inventory/Inventory.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
import * as React from "react";
22
import {ISupportProps} from "@app/Resources/Resources";
33
import {
4-
EmptyState,
5-
EmptyStateBody,
6-
EmptyStateFooter,
74
Button,
85
Bullseye,
6+
EmptyState,
97
EmptyStateActions,
8+
EmptyStateBody,
9+
EmptyStateFooter,
1010
Menu,
1111
MenuContent,
1212
MenuList,
1313
MenuItem,
1414
MenuToggle,
1515
MenuToggleCheckbox,
16+
MenuToggleElement,
1617
Popper,
1718
Pagination,
1819
SearchInput,
@@ -22,7 +23,6 @@ import {
2223
} from '@patternfly/react-core';
2324
import { Table, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
2425
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
25-
import {MenuToggleElement} from "@patternfly/react-core/dist/esm/components/MenuToggle/MenuToggle";
2626

2727
interface Repository {
2828
name: string;

src/app/__snapshots__/app.test.tsx.snap

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,116 @@ exports[`App tests should render default App component 1`] = `
144144
</svg>
145145
</span>
146146
</div>
147+
<div
148+
class="pf-v5-c-masthead__content"
149+
>
150+
<div
151+
class="pf-v5-c-toolbar"
152+
data-ouia-component-id="OUIA-Generated-Toolbar-1"
153+
data-ouia-component-type="PF5/Toolbar"
154+
data-ouia-safe="true"
155+
id="pf-random-id-0"
156+
>
157+
<div
158+
class="pf-v5-c-toolbar__content"
159+
>
160+
<div
161+
class="pf-v5-c-toolbar__content-section"
162+
>
163+
<div
164+
class="pf-v5-c-toolbar__item"
165+
>
166+
<div
167+
aria-label="Dark theme toggle group"
168+
class="pf-v5-c-toggle-group"
169+
role="group"
170+
>
171+
<div
172+
class="pf-v5-c-toggle-group__item"
173+
>
174+
<button
175+
aria-label="light theme toggle"
176+
aria-pressed="true"
177+
class="pf-v5-c-toggle-group__button pf-m-selected"
178+
type="button"
179+
>
180+
<span
181+
class="pf-v5-c-toggle-group__icon"
182+
>
183+
<span
184+
class="pf-v5-c-icon pf-m-md"
185+
>
186+
<span
187+
class="pf-v5-c-icon__content"
188+
>
189+
<svg
190+
aria-hidden="true"
191+
class="pf-v5-svg"
192+
fill="currentColor"
193+
height="1em"
194+
role="img"
195+
viewBox="0 0 512 512"
196+
width="1em"
197+
>
198+
<path
199+
d="M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z"
200+
/>
201+
</svg>
202+
</span>
203+
</span>
204+
</span>
205+
</button>
206+
</div>
207+
<div
208+
class="pf-v5-c-toggle-group__item"
209+
>
210+
<button
211+
aria-label="dark theme toggle"
212+
aria-pressed="false"
213+
class="pf-v5-c-toggle-group__button"
214+
type="button"
215+
>
216+
<span
217+
class="pf-v5-c-toggle-group__icon"
218+
>
219+
<span
220+
class="pf-v5-c-icon pf-m-md"
221+
>
222+
<span
223+
class="pf-v5-c-icon__content"
224+
>
225+
<svg
226+
aria-hidden="true"
227+
class="pf-v5-svg"
228+
fill="currentColor"
229+
height="1em"
230+
role="img"
231+
viewBox="0 0 512 512"
232+
width="1em"
233+
>
234+
<path
235+
d="M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"
236+
/>
237+
</svg>
238+
</span>
239+
</span>
240+
</span>
241+
</button>
242+
</div>
243+
</div>
244+
</div>
245+
</div>
246+
</div>
247+
<div
248+
class="pf-v5-c-toolbar__content pf-m-hidden"
249+
hidden=""
250+
>
251+
<div
252+
class="pf-v5-c-toolbar__group"
253+
/>
254+
</div>
255+
</div>
256+
</div>
147257
</header>
148258
<div
149259
aria-hidden="false"

0 commit comments

Comments
 (0)