@patternfly/react-core 4.183.8 → 4.184.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/esm/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/esm/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/components/Dropdown/DropdownToggle.d.ts +2 -0
- package/dist/esm/components/Dropdown/DropdownToggle.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/DropdownToggle.js +3 -3
- package/dist/esm/components/Dropdown/DropdownToggle.js.map +1 -1
- package/dist/esm/components/Dropdown/DropdownWithContext.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/DropdownWithContext.js +4 -2
- package/dist/esm/components/Dropdown/DropdownWithContext.js.map +1 -1
- package/dist/esm/components/Dropdown/Toggle.d.ts +2 -0
- package/dist/esm/components/Dropdown/Toggle.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/Toggle.js +4 -3
- package/dist/esm/components/Dropdown/Toggle.js.map +1 -1
- package/dist/esm/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/esm/components/Tabs/Tabs.js +0 -2
- package/dist/esm/components/Tabs/Tabs.js.map +1 -1
- package/dist/js/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/js/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/js/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/js/components/Dropdown/DropdownToggle.d.ts +2 -0
- package/dist/js/components/Dropdown/DropdownToggle.d.ts.map +1 -1
- package/dist/js/components/Dropdown/DropdownToggle.js +3 -3
- package/dist/js/components/Dropdown/DropdownToggle.js.map +1 -1
- package/dist/js/components/Dropdown/DropdownWithContext.d.ts.map +1 -1
- package/dist/js/components/Dropdown/DropdownWithContext.js +4 -2
- package/dist/js/components/Dropdown/DropdownWithContext.js.map +1 -1
- package/dist/js/components/Dropdown/Toggle.d.ts +2 -0
- package/dist/js/components/Dropdown/Toggle.d.ts.map +1 -1
- package/dist/js/components/Dropdown/Toggle.js +4 -3
- package/dist/js/components/Dropdown/Toggle.js.map +1 -1
- package/dist/js/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/js/components/Tabs/Tabs.js +0 -2
- package/dist/js/components/Tabs/Tabs.js.map +1 -1
- package/dist/umd/react-core.css +1 -0
- package/dist/umd/react-core.js +11 -10
- package/dist/umd/react-core.min.css +180 -179
- package/dist/umd/react-core.min.js +2 -2
- package/package.json +6 -6
- package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncher.test.tsx.snap +1 -0
- package/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +18 -0
- package/src/components/Dropdown/Dropdown.tsx +2 -0
- package/src/components/Dropdown/DropdownToggle.tsx +4 -0
- package/src/components/Dropdown/DropdownWithContext.tsx +3 -0
- package/src/components/Dropdown/Toggle.tsx +5 -0
- package/src/components/Dropdown/__tests__/DropdownToggle.test.tsx +11 -0
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/Dropdown.test.tsx.snap +1 -0
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +1 -0
- package/src/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +45 -0
- package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +94 -8
- package/src/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +2 -0
- package/src/components/Dropdown/examples/Dropdown.md +57 -0
- package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenu.test.tsx.snap +1 -0
- package/src/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +31 -0
- package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +1 -0
- package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +47 -0
- package/src/components/Tabs/Tabs.tsx +0 -2
- package/src/components/Tabs/examples/Tabs.md +6 -6
- package/src/components/TextInputGroup/examples/TextInputGroup.md +4 -123
- package/src/components/TextInputGroup/examples/TextInputGroupBasic.tsx +8 -0
- package/src/components/TextInputGroup/examples/TextInputGroupDisabled.tsx +8 -0
- package/src/components/TextInputGroup/examples/TextInputGroupFilters.tsx +69 -0
- package/src/components/TextInputGroup/examples/TextInputGroupUtilitiesAndIcon.tsx +34 -0
- package/src/demos/TextInputGroupDemo.md +2 -2
- package/src/demos/examples/TextInputGroup/{AttributeValueFiltering.js → AttributeValueFiltering.tsx} +22 -18
- package/src/demos/examples/TextInputGroup/{AutoCompleteSearch.js → AutoCompleteSearch.tsx} +18 -18
|
@@ -26,7 +26,7 @@ exports[`state action split button - renders primary variant 1`] = `
|
|
|
26
26
|
aria-label="Select"
|
|
27
27
|
bubbleEvent={false}
|
|
28
28
|
className=""
|
|
29
|
-
data-ouia-component-id="OUIA-Generated-DropdownToggle-
|
|
29
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-11"
|
|
30
30
|
data-ouia-component-type="PF4/DropdownToggle"
|
|
31
31
|
data-ouia-safe={true}
|
|
32
32
|
getMenuRef={null}
|
|
@@ -37,6 +37,7 @@ exports[`state action split button - renders primary variant 1`] = `
|
|
|
37
37
|
isPlain={false}
|
|
38
38
|
isPrimary={false}
|
|
39
39
|
isSplitButton={true}
|
|
40
|
+
isText={false}
|
|
40
41
|
onEnter={[Function]}
|
|
41
42
|
onToggle={[Function]}
|
|
42
43
|
parentRef={<div />}
|
|
@@ -46,7 +47,7 @@ exports[`state action split button - renders primary variant 1`] = `
|
|
|
46
47
|
aria-expanded={false}
|
|
47
48
|
aria-label="Select"
|
|
48
49
|
className="pf-c-dropdown__toggle-button pf-m-primary"
|
|
49
|
-
data-ouia-component-id="OUIA-Generated-DropdownToggle-
|
|
50
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-11"
|
|
50
51
|
data-ouia-component-type="PF4/DropdownToggle"
|
|
51
52
|
data-ouia-safe={true}
|
|
52
53
|
disabled={false}
|
|
@@ -114,6 +115,7 @@ exports[`state active 1`] = `
|
|
|
114
115
|
isPlain={false}
|
|
115
116
|
isPrimary={false}
|
|
116
117
|
isSplitButton={false}
|
|
118
|
+
isText={false}
|
|
117
119
|
onEnter={[Function]}
|
|
118
120
|
onToggle={[Function]}
|
|
119
121
|
parentRef={<div />}
|
|
@@ -189,6 +191,7 @@ exports[`state button variant - primary 1`] = `
|
|
|
189
191
|
isPlain={false}
|
|
190
192
|
isPrimary={false}
|
|
191
193
|
isSplitButton={false}
|
|
194
|
+
isText={false}
|
|
192
195
|
onEnter={[Function]}
|
|
193
196
|
onToggle={[Function]}
|
|
194
197
|
parentRef={<div />}
|
|
@@ -264,6 +267,7 @@ exports[`state button variant - secondary 1`] = `
|
|
|
264
267
|
isPlain={false}
|
|
265
268
|
isPrimary={false}
|
|
266
269
|
isSplitButton={false}
|
|
270
|
+
isText={false}
|
|
267
271
|
onEnter={[Function]}
|
|
268
272
|
onToggle={[Function]}
|
|
269
273
|
parentRef={<div />}
|
|
@@ -319,6 +323,83 @@ exports[`state button variant - secondary 1`] = `
|
|
|
319
323
|
</DropdownToggle>
|
|
320
324
|
`;
|
|
321
325
|
|
|
326
|
+
exports[`state button variant - secondary 2`] = `
|
|
327
|
+
<DropdownToggle
|
|
328
|
+
id="Dropdown Toggle"
|
|
329
|
+
isPlain={true}
|
|
330
|
+
isText={true}
|
|
331
|
+
parentRef={<div />}
|
|
332
|
+
>
|
|
333
|
+
<Toggle
|
|
334
|
+
bubbleEvent={false}
|
|
335
|
+
className=""
|
|
336
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-10"
|
|
337
|
+
data-ouia-component-type="PF4/DropdownToggle"
|
|
338
|
+
data-ouia-safe={true}
|
|
339
|
+
getMenuRef={null}
|
|
340
|
+
id="Dropdown Toggle"
|
|
341
|
+
isActive={false}
|
|
342
|
+
isDisabled={false}
|
|
343
|
+
isOpen={false}
|
|
344
|
+
isPlain={true}
|
|
345
|
+
isPrimary={false}
|
|
346
|
+
isSplitButton={false}
|
|
347
|
+
isText={true}
|
|
348
|
+
onEnter={[Function]}
|
|
349
|
+
onToggle={[Function]}
|
|
350
|
+
parentRef={<div />}
|
|
351
|
+
toggleVariant="default"
|
|
352
|
+
>
|
|
353
|
+
<button
|
|
354
|
+
aria-expanded={false}
|
|
355
|
+
className="pf-c-dropdown__toggle pf-m-plain pf-m-text"
|
|
356
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-10"
|
|
357
|
+
data-ouia-component-type="PF4/DropdownToggle"
|
|
358
|
+
data-ouia-safe={true}
|
|
359
|
+
disabled={false}
|
|
360
|
+
id="Dropdown Toggle"
|
|
361
|
+
onClick={[Function]}
|
|
362
|
+
onKeyDown={[Function]}
|
|
363
|
+
type="button"
|
|
364
|
+
>
|
|
365
|
+
<span
|
|
366
|
+
className=""
|
|
367
|
+
>
|
|
368
|
+
Dropdown
|
|
369
|
+
</span>
|
|
370
|
+
<span
|
|
371
|
+
className=""
|
|
372
|
+
>
|
|
373
|
+
<CaretDownIcon
|
|
374
|
+
color="currentColor"
|
|
375
|
+
noVerticalAlign={false}
|
|
376
|
+
size="sm"
|
|
377
|
+
>
|
|
378
|
+
<svg
|
|
379
|
+
aria-hidden={true}
|
|
380
|
+
aria-labelledby={null}
|
|
381
|
+
fill="currentColor"
|
|
382
|
+
height="1em"
|
|
383
|
+
role="img"
|
|
384
|
+
style={
|
|
385
|
+
Object {
|
|
386
|
+
"verticalAlign": "-0.125em",
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
viewBox="0 0 320 512"
|
|
390
|
+
width="1em"
|
|
391
|
+
>
|
|
392
|
+
<path
|
|
393
|
+
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
394
|
+
/>
|
|
395
|
+
</svg>
|
|
396
|
+
</CaretDownIcon>
|
|
397
|
+
</span>
|
|
398
|
+
</button>
|
|
399
|
+
</Toggle>
|
|
400
|
+
</DropdownToggle>
|
|
401
|
+
`;
|
|
402
|
+
|
|
322
403
|
exports[`state class changes 1`] = `
|
|
323
404
|
<DropdownToggle
|
|
324
405
|
id="Dropdown Toggle"
|
|
@@ -327,7 +408,7 @@ exports[`state class changes 1`] = `
|
|
|
327
408
|
<Toggle
|
|
328
409
|
bubbleEvent={false}
|
|
329
410
|
className=""
|
|
330
|
-
data-ouia-component-id="OUIA-Generated-DropdownToggle-
|
|
411
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-13"
|
|
331
412
|
data-ouia-component-type="PF4/DropdownToggle"
|
|
332
413
|
data-ouia-safe={true}
|
|
333
414
|
getMenuRef={null}
|
|
@@ -338,6 +419,7 @@ exports[`state class changes 1`] = `
|
|
|
338
419
|
isPlain={false}
|
|
339
420
|
isPrimary={false}
|
|
340
421
|
isSplitButton={false}
|
|
422
|
+
isText={false}
|
|
341
423
|
onEnter={[Function]}
|
|
342
424
|
onToggle={[Function]}
|
|
343
425
|
parentRef={<div />}
|
|
@@ -346,7 +428,7 @@ exports[`state class changes 1`] = `
|
|
|
346
428
|
<button
|
|
347
429
|
aria-expanded={false}
|
|
348
430
|
className="pf-c-dropdown__toggle"
|
|
349
|
-
data-ouia-component-id="OUIA-Generated-DropdownToggle-
|
|
431
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-13"
|
|
350
432
|
data-ouia-component-type="PF4/DropdownToggle"
|
|
351
433
|
data-ouia-safe={true}
|
|
352
434
|
disabled={false}
|
|
@@ -401,7 +483,7 @@ exports[`state class changes 2`] = `
|
|
|
401
483
|
<Toggle
|
|
402
484
|
bubbleEvent={false}
|
|
403
485
|
className=""
|
|
404
|
-
data-ouia-component-id="OUIA-Generated-DropdownToggle-
|
|
486
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-14"
|
|
405
487
|
data-ouia-component-type="PF4/DropdownToggle"
|
|
406
488
|
data-ouia-safe={true}
|
|
407
489
|
getMenuRef={null}
|
|
@@ -412,6 +494,7 @@ exports[`state class changes 2`] = `
|
|
|
412
494
|
isPlain={false}
|
|
413
495
|
isPrimary={false}
|
|
414
496
|
isSplitButton={false}
|
|
497
|
+
isText={false}
|
|
415
498
|
onEnter={[Function]}
|
|
416
499
|
onToggle={[Function]}
|
|
417
500
|
parentRef={<div />}
|
|
@@ -420,7 +503,7 @@ exports[`state class changes 2`] = `
|
|
|
420
503
|
<button
|
|
421
504
|
aria-expanded={false}
|
|
422
505
|
className="pf-c-dropdown__toggle"
|
|
423
|
-
data-ouia-component-id="OUIA-Generated-DropdownToggle-
|
|
506
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-14"
|
|
424
507
|
data-ouia-component-type="PF4/DropdownToggle"
|
|
425
508
|
data-ouia-safe={true}
|
|
426
509
|
disabled={false}
|
|
@@ -486,6 +569,7 @@ exports[`state focus 1`] = `
|
|
|
486
569
|
isPlain={false}
|
|
487
570
|
isPrimary={false}
|
|
488
571
|
isSplitButton={false}
|
|
572
|
+
isText={false}
|
|
489
573
|
onEnter={[Function]}
|
|
490
574
|
onToggle={[Function]}
|
|
491
575
|
parentRef={<div />}
|
|
@@ -560,6 +644,7 @@ exports[`state hover 1`] = `
|
|
|
560
644
|
isPlain={false}
|
|
561
645
|
isPrimary={false}
|
|
562
646
|
isSplitButton={false}
|
|
647
|
+
isText={false}
|
|
563
648
|
onEnter={[Function]}
|
|
564
649
|
onToggle={[Function]}
|
|
565
650
|
parentRef={<div />}
|
|
@@ -640,7 +725,7 @@ exports[`state split button - does not render primary variant 1`] = `
|
|
|
640
725
|
aria-label="Select"
|
|
641
726
|
bubbleEvent={false}
|
|
642
727
|
className=""
|
|
643
|
-
data-ouia-component-id="OUIA-Generated-DropdownToggle-
|
|
728
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-12"
|
|
644
729
|
data-ouia-component-type="PF4/DropdownToggle"
|
|
645
730
|
data-ouia-safe={true}
|
|
646
731
|
getMenuRef={null}
|
|
@@ -651,6 +736,7 @@ exports[`state split button - does not render primary variant 1`] = `
|
|
|
651
736
|
isPlain={false}
|
|
652
737
|
isPrimary={false}
|
|
653
738
|
isSplitButton={true}
|
|
739
|
+
isText={false}
|
|
654
740
|
onEnter={[Function]}
|
|
655
741
|
onToggle={[Function]}
|
|
656
742
|
parentRef={<div />}
|
|
@@ -660,7 +746,7 @@ exports[`state split button - does not render primary variant 1`] = `
|
|
|
660
746
|
aria-expanded={false}
|
|
661
747
|
aria-label="Select"
|
|
662
748
|
className="pf-c-dropdown__toggle-button pf-m-primary"
|
|
663
|
-
data-ouia-component-id="OUIA-Generated-DropdownToggle-
|
|
749
|
+
data-ouia-component-id="OUIA-Generated-DropdownToggle-12"
|
|
664
750
|
data-ouia-component-type="PF4/DropdownToggle"
|
|
665
751
|
data-ouia-safe={true}
|
|
666
752
|
disabled={false}
|
|
@@ -18,6 +18,7 @@ exports[`Dropdown toggle 1`] = `
|
|
|
18
18
|
isPlain={false}
|
|
19
19
|
isPrimary={false}
|
|
20
20
|
isSplitButton={false}
|
|
21
|
+
isText={false}
|
|
21
22
|
onEnter={[Function]}
|
|
22
23
|
onToggle={[Function]}
|
|
23
24
|
parentRef={null}
|
|
@@ -89,6 +90,7 @@ exports[`Kebab toggle 1`] = `
|
|
|
89
90
|
isPlain={false}
|
|
90
91
|
isPrimary={false}
|
|
91
92
|
isSplitButton={false}
|
|
93
|
+
isText={false}
|
|
92
94
|
onEnter={[Function]}
|
|
93
95
|
onToggle={[Function]}
|
|
94
96
|
parentRef={null}
|
|
@@ -402,6 +402,63 @@ const SecondaryDropdown = () => {
|
|
|
402
402
|
};
|
|
403
403
|
```
|
|
404
404
|
|
|
405
|
+
### Plain with text toggle
|
|
406
|
+
|
|
407
|
+
```ts
|
|
408
|
+
import React from 'react';
|
|
409
|
+
import { Dropdown, DropdownToggle, DropdownItem, DropdownSeparator } from '@patternfly/react-core';
|
|
410
|
+
import CaretDownIcon from '@patternfly/react-icons/dist/esm/icons/caret-down-icon';
|
|
411
|
+
|
|
412
|
+
const SecondaryDropdown = () => {
|
|
413
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
414
|
+
|
|
415
|
+
const onFocus = () => {
|
|
416
|
+
const element = document.getElementById('toggle-id-plain-text');
|
|
417
|
+
element.focus();
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
const dropdownItems = [
|
|
421
|
+
<DropdownItem key="link">Link</DropdownItem>,
|
|
422
|
+
<DropdownItem key="action" component="button">
|
|
423
|
+
Action
|
|
424
|
+
</DropdownItem>,
|
|
425
|
+
<DropdownItem key="disabled link" isDisabled>
|
|
426
|
+
Disabled link
|
|
427
|
+
</DropdownItem>,
|
|
428
|
+
<DropdownItem key="disabled action" isDisabled component="button">
|
|
429
|
+
Disabled action
|
|
430
|
+
</DropdownItem>,
|
|
431
|
+
<DropdownSeparator key="separator" />,
|
|
432
|
+
<DropdownItem key="separated link">Separated link</DropdownItem>,
|
|
433
|
+
<DropdownItem key="separated action" component="button">
|
|
434
|
+
Separated action
|
|
435
|
+
</DropdownItem>
|
|
436
|
+
];
|
|
437
|
+
|
|
438
|
+
return (
|
|
439
|
+
<Dropdown
|
|
440
|
+
isText
|
|
441
|
+
isPlain
|
|
442
|
+
onSelect={() => {
|
|
443
|
+
setIsOpen(!isOpen);
|
|
444
|
+
onFocus();
|
|
445
|
+
}}
|
|
446
|
+
toggle={
|
|
447
|
+
<DropdownToggle
|
|
448
|
+
onToggle={next => setIsOpen(next)}
|
|
449
|
+
toggleIndicator={CaretDownIcon}
|
|
450
|
+
id="toggle-id-plain-text"
|
|
451
|
+
>
|
|
452
|
+
Dropdown
|
|
453
|
+
</DropdownToggle>
|
|
454
|
+
}
|
|
455
|
+
isOpen={isOpen}
|
|
456
|
+
dropdownItems={dropdownItems}
|
|
457
|
+
/>
|
|
458
|
+
);
|
|
459
|
+
};
|
|
460
|
+
```
|
|
461
|
+
|
|
405
462
|
### Position right
|
|
406
463
|
|
|
407
464
|
```js
|
|
@@ -86,6 +86,7 @@ exports[`optionsMenu expanded 1`] = `
|
|
|
86
86
|
isGrouped={false}
|
|
87
87
|
isOpen={true}
|
|
88
88
|
isPlain={false}
|
|
89
|
+
isText={false}
|
|
89
90
|
menuAppendTo="inline"
|
|
90
91
|
onSelect={[Function]}
|
|
91
92
|
position="left"
|
|
@@ -108,6 +109,7 @@ exports[`optionsMenu expanded 1`] = `
|
|
|
108
109
|
id="pf-dropdown-toggle-id-4"
|
|
109
110
|
isOpen={true}
|
|
110
111
|
isPlain={false}
|
|
112
|
+
isText={false}
|
|
111
113
|
key=".0"
|
|
112
114
|
onEnter={[Function]}
|
|
113
115
|
parentRef={
|
|
@@ -306,6 +308,7 @@ exports[`optionsMenu expanded 1`] = `
|
|
|
306
308
|
isDisabled={false}
|
|
307
309
|
isOpen={true}
|
|
308
310
|
isPlain={false}
|
|
311
|
+
isText={false}
|
|
309
312
|
onEnter={[Function]}
|
|
310
313
|
parentRef={
|
|
311
314
|
Object {
|
|
@@ -510,6 +513,7 @@ exports[`optionsMenu expanded 1`] = `
|
|
|
510
513
|
isPlain={false}
|
|
511
514
|
isPrimary={false}
|
|
512
515
|
isSplitButton={false}
|
|
516
|
+
isText={false}
|
|
513
517
|
onEnter={[Function]}
|
|
514
518
|
onToggle={[Function]}
|
|
515
519
|
parentRef={
|
|
@@ -1311,6 +1315,7 @@ exports[`optionsMenu isDisabled 1`] = `
|
|
|
1311
1315
|
isGrouped={false}
|
|
1312
1316
|
isOpen={false}
|
|
1313
1317
|
isPlain={false}
|
|
1318
|
+
isText={false}
|
|
1314
1319
|
menuAppendTo="inline"
|
|
1315
1320
|
onSelect={[Function]}
|
|
1316
1321
|
position="left"
|
|
@@ -1336,6 +1341,7 @@ exports[`optionsMenu isDisabled 1`] = `
|
|
|
1336
1341
|
isDisabled={true}
|
|
1337
1342
|
isOpen={false}
|
|
1338
1343
|
isPlain={false}
|
|
1344
|
+
isText={false}
|
|
1339
1345
|
key=".0"
|
|
1340
1346
|
onEnter={[Function]}
|
|
1341
1347
|
parentRef={
|
|
@@ -1394,6 +1400,7 @@ exports[`optionsMenu isDisabled 1`] = `
|
|
|
1394
1400
|
isDisabled={true}
|
|
1395
1401
|
isOpen={false}
|
|
1396
1402
|
isPlain={false}
|
|
1403
|
+
isText={false}
|
|
1397
1404
|
onEnter={[Function]}
|
|
1398
1405
|
parentRef={
|
|
1399
1406
|
Object {
|
|
@@ -1458,6 +1465,7 @@ exports[`optionsMenu isDisabled 1`] = `
|
|
|
1458
1465
|
isPlain={false}
|
|
1459
1466
|
isPrimary={false}
|
|
1460
1467
|
isSplitButton={false}
|
|
1468
|
+
isText={false}
|
|
1461
1469
|
onEnter={[Function]}
|
|
1462
1470
|
onToggle={[Function]}
|
|
1463
1471
|
parentRef={
|
|
@@ -1647,6 +1655,7 @@ exports[`optionsMenu open up 1`] = `
|
|
|
1647
1655
|
isGrouped={false}
|
|
1648
1656
|
isOpen={false}
|
|
1649
1657
|
isPlain={false}
|
|
1658
|
+
isText={false}
|
|
1650
1659
|
menuAppendTo="inline"
|
|
1651
1660
|
onSelect={[Function]}
|
|
1652
1661
|
position="left"
|
|
@@ -1669,6 +1678,7 @@ exports[`optionsMenu open up 1`] = `
|
|
|
1669
1678
|
id="pf-dropdown-toggle-id-2"
|
|
1670
1679
|
isOpen={false}
|
|
1671
1680
|
isPlain={false}
|
|
1681
|
+
isText={false}
|
|
1672
1682
|
key=".0"
|
|
1673
1683
|
onEnter={[Function]}
|
|
1674
1684
|
parentRef={
|
|
@@ -1726,6 +1736,7 @@ exports[`optionsMenu open up 1`] = `
|
|
|
1726
1736
|
isDisabled={false}
|
|
1727
1737
|
isOpen={false}
|
|
1728
1738
|
isPlain={false}
|
|
1739
|
+
isText={false}
|
|
1729
1740
|
onEnter={[Function]}
|
|
1730
1741
|
parentRef={
|
|
1731
1742
|
Object {
|
|
@@ -1789,6 +1800,7 @@ exports[`optionsMenu open up 1`] = `
|
|
|
1789
1800
|
isPlain={false}
|
|
1790
1801
|
isPrimary={false}
|
|
1791
1802
|
isSplitButton={false}
|
|
1803
|
+
isText={false}
|
|
1792
1804
|
onEnter={[Function]}
|
|
1793
1805
|
onToggle={[Function]}
|
|
1794
1806
|
parentRef={
|
|
@@ -1977,6 +1989,7 @@ exports[`optionsMenu plain 1`] = `
|
|
|
1977
1989
|
isGrouped={false}
|
|
1978
1990
|
isOpen={false}
|
|
1979
1991
|
isPlain={true}
|
|
1992
|
+
isText={false}
|
|
1980
1993
|
menuAppendTo="inline"
|
|
1981
1994
|
onSelect={[Function]}
|
|
1982
1995
|
position="left"
|
|
@@ -1999,6 +2012,7 @@ exports[`optionsMenu plain 1`] = `
|
|
|
1999
2012
|
id="pf-dropdown-toggle-id-5"
|
|
2000
2013
|
isOpen={false}
|
|
2001
2014
|
isPlain={true}
|
|
2015
|
+
isText={false}
|
|
2002
2016
|
key=".0"
|
|
2003
2017
|
onEnter={[Function]}
|
|
2004
2018
|
parentRef={
|
|
@@ -2037,6 +2051,7 @@ exports[`optionsMenu plain 1`] = `
|
|
|
2037
2051
|
isDisabled={false}
|
|
2038
2052
|
isOpen={false}
|
|
2039
2053
|
isPlain={true}
|
|
2054
|
+
isText={false}
|
|
2040
2055
|
onEnter={[Function]}
|
|
2041
2056
|
parentRef={
|
|
2042
2057
|
Object {
|
|
@@ -2082,6 +2097,7 @@ exports[`optionsMenu plain 1`] = `
|
|
|
2082
2097
|
isPlain={true}
|
|
2083
2098
|
isPrimary={false}
|
|
2084
2099
|
isSplitButton={false}
|
|
2100
|
+
isText={false}
|
|
2085
2101
|
onEnter={[Function]}
|
|
2086
2102
|
onToggle={[Function]}
|
|
2087
2103
|
parentRef={
|
|
@@ -2222,6 +2238,7 @@ exports[`optionsMenu regular 1`] = `
|
|
|
2222
2238
|
isGrouped={false}
|
|
2223
2239
|
isOpen={false}
|
|
2224
2240
|
isPlain={false}
|
|
2241
|
+
isText={false}
|
|
2225
2242
|
menuAppendTo="inline"
|
|
2226
2243
|
onSelect={[Function]}
|
|
2227
2244
|
position="left"
|
|
@@ -2244,6 +2261,7 @@ exports[`optionsMenu regular 1`] = `
|
|
|
2244
2261
|
id="pf-dropdown-toggle-id-0"
|
|
2245
2262
|
isOpen={false}
|
|
2246
2263
|
isPlain={false}
|
|
2264
|
+
isText={false}
|
|
2247
2265
|
key=".0"
|
|
2248
2266
|
onEnter={[Function]}
|
|
2249
2267
|
parentRef={
|
|
@@ -2301,6 +2319,7 @@ exports[`optionsMenu regular 1`] = `
|
|
|
2301
2319
|
isDisabled={false}
|
|
2302
2320
|
isOpen={false}
|
|
2303
2321
|
isPlain={false}
|
|
2322
|
+
isText={false}
|
|
2304
2323
|
onEnter={[Function]}
|
|
2305
2324
|
parentRef={
|
|
2306
2325
|
Object {
|
|
@@ -2364,6 +2383,7 @@ exports[`optionsMenu regular 1`] = `
|
|
|
2364
2383
|
isPlain={false}
|
|
2365
2384
|
isPrimary={false}
|
|
2366
2385
|
isSplitButton={false}
|
|
2386
|
+
isText={false}
|
|
2367
2387
|
onEnter={[Function]}
|
|
2368
2388
|
onToggle={[Function]}
|
|
2369
2389
|
parentRef={
|
|
@@ -2553,6 +2573,7 @@ exports[`optionsMenu right aligned + open up 1`] = `
|
|
|
2553
2573
|
isGrouped={false}
|
|
2554
2574
|
isOpen={false}
|
|
2555
2575
|
isPlain={false}
|
|
2576
|
+
isText={false}
|
|
2556
2577
|
menuAppendTo="inline"
|
|
2557
2578
|
onSelect={[Function]}
|
|
2558
2579
|
position="right"
|
|
@@ -2575,6 +2596,7 @@ exports[`optionsMenu right aligned + open up 1`] = `
|
|
|
2575
2596
|
id="pf-dropdown-toggle-id-3"
|
|
2576
2597
|
isOpen={false}
|
|
2577
2598
|
isPlain={false}
|
|
2599
|
+
isText={false}
|
|
2578
2600
|
key=".0"
|
|
2579
2601
|
onEnter={[Function]}
|
|
2580
2602
|
parentRef={
|
|
@@ -2632,6 +2654,7 @@ exports[`optionsMenu right aligned + open up 1`] = `
|
|
|
2632
2654
|
isDisabled={false}
|
|
2633
2655
|
isOpen={false}
|
|
2634
2656
|
isPlain={false}
|
|
2657
|
+
isText={false}
|
|
2635
2658
|
onEnter={[Function]}
|
|
2636
2659
|
parentRef={
|
|
2637
2660
|
Object {
|
|
@@ -2695,6 +2718,7 @@ exports[`optionsMenu right aligned + open up 1`] = `
|
|
|
2695
2718
|
isPlain={false}
|
|
2696
2719
|
isPrimary={false}
|
|
2697
2720
|
isSplitButton={false}
|
|
2721
|
+
isText={false}
|
|
2698
2722
|
onEnter={[Function]}
|
|
2699
2723
|
onToggle={[Function]}
|
|
2700
2724
|
parentRef={
|
|
@@ -2883,6 +2907,7 @@ exports[`optionsMenu right aligned 1`] = `
|
|
|
2883
2907
|
isGrouped={false}
|
|
2884
2908
|
isOpen={false}
|
|
2885
2909
|
isPlain={false}
|
|
2910
|
+
isText={false}
|
|
2886
2911
|
menuAppendTo="inline"
|
|
2887
2912
|
onSelect={[Function]}
|
|
2888
2913
|
position="right"
|
|
@@ -2905,6 +2930,7 @@ exports[`optionsMenu right aligned 1`] = `
|
|
|
2905
2930
|
id="pf-dropdown-toggle-id-1"
|
|
2906
2931
|
isOpen={false}
|
|
2907
2932
|
isPlain={false}
|
|
2933
|
+
isText={false}
|
|
2908
2934
|
key=".0"
|
|
2909
2935
|
onEnter={[Function]}
|
|
2910
2936
|
parentRef={
|
|
@@ -2962,6 +2988,7 @@ exports[`optionsMenu right aligned 1`] = `
|
|
|
2962
2988
|
isDisabled={false}
|
|
2963
2989
|
isOpen={false}
|
|
2964
2990
|
isPlain={false}
|
|
2991
|
+
isText={false}
|
|
2965
2992
|
onEnter={[Function]}
|
|
2966
2993
|
parentRef={
|
|
2967
2994
|
Object {
|
|
@@ -3025,6 +3052,7 @@ exports[`optionsMenu right aligned 1`] = `
|
|
|
3025
3052
|
isPlain={false}
|
|
3026
3053
|
isPrimary={false}
|
|
3027
3054
|
isSplitButton={false}
|
|
3055
|
+
isText={false}
|
|
3028
3056
|
onEnter={[Function]}
|
|
3029
3057
|
onToggle={[Function]}
|
|
3030
3058
|
parentRef={
|
|
@@ -3217,6 +3245,7 @@ exports[`optionsMenu text 1`] = `
|
|
|
3217
3245
|
isGrouped={false}
|
|
3218
3246
|
isOpen={false}
|
|
3219
3247
|
isPlain={false}
|
|
3248
|
+
isText={false}
|
|
3220
3249
|
menuAppendTo="inline"
|
|
3221
3250
|
onSelect={[Function]}
|
|
3222
3251
|
position="left"
|
|
@@ -3244,6 +3273,7 @@ exports[`optionsMenu text 1`] = `
|
|
|
3244
3273
|
id="pf-dropdown-toggle-id-6"
|
|
3245
3274
|
isOpen={false}
|
|
3246
3275
|
isPlain={false}
|
|
3276
|
+
isText={false}
|
|
3247
3277
|
key=".0"
|
|
3248
3278
|
onEnter={[Function]}
|
|
3249
3279
|
parentRef={
|
|
@@ -3292,6 +3322,7 @@ exports[`optionsMenu text 1`] = `
|
|
|
3292
3322
|
className="pf-c-options-menu__toggle pf-m-text"
|
|
3293
3323
|
getMenuRef={[Function]}
|
|
3294
3324
|
id="pf-dropdown-toggle-id-6"
|
|
3325
|
+
isText={false}
|
|
3295
3326
|
>
|
|
3296
3327
|
<span
|
|
3297
3328
|
className="pf-c-options-menu__toggle-text"
|