@patternfly/react-core 5.0.0-alpha.57 → 5.0.0-alpha.59
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 +10 -0
- package/dist/esm/components/Switch/Switch.js +2 -2
- package/dist/esm/components/Switch/Switch.js.map +1 -1
- package/dist/js/components/Switch/Switch.js +2 -2
- package/dist/js/components/Switch/Switch.js.map +1 -1
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +3 -3
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +3 -9
- package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionCloseButton.test.tsx.snap +1 -3
- package/src/components/Alert/__tests__/Generated/__snapshots__/AlertIcon.test.tsx.snap +1 -3
- package/src/components/Alert/__tests__/__snapshots__/AlertActionCloseButton.test.tsx.snap +1 -3
- package/src/components/BackToTop/__tests__/__snapshots__/BackToTop.test.tsx.snap +1 -3
- package/src/components/Breadcrumb/__tests__/__snapshots__/Breadcrumb.test.tsx.snap +1 -3
- package/src/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +1 -3
- package/src/components/Card/__tests__/__snapshots__/CardHeader.test.tsx.snap +1 -3
- package/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +4 -12
- package/src/components/ChipGroup/__tests__/__snapshots__/ChipGroup.test.tsx.snap +5 -15
- package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopy.test.tsx.snap +1 -3
- package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap +1 -3
- package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyToggle.test.tsx.snap +1 -3
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListToggle.test.tsx.snap +1 -3
- package/src/components/DataList/__tests__/__snapshots__/DataList.test.tsx.snap +1 -3
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +5 -15
- package/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +6 -18
- package/src/components/DualListSelector/__tests__/__snapshots__/DualListSelector.test.tsx.snap +27 -81
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +0 -3
- package/src/components/EmptyState/__tests__/__snapshots__/EmptyState.test.tsx.snap +0 -3
- package/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap +6 -18
- package/src/components/FileUpload/examples/FileUploadCustomPreview.tsx +1 -1
- package/src/components/Form/__tests__/__snapshots__/FormFieldGroup.test.tsx.snap +1 -3
- package/src/components/Form/examples/FormBasic.tsx +1 -1
- package/src/components/Form/examples/FormGroupLabelInfo.tsx +1 -1
- package/src/components/Form/examples/FormLimitWidth.tsx +1 -1
- package/src/components/HelperText/__tests__/__snapshots__/HelperText.test.tsx.snap +2 -6
- package/src/components/Icon/__tests__/__snapshots__/Icon.test.tsx.snap +3 -9
- package/src/components/JumpLinks/__tests__/__snapshots__/JumpLinks.test.tsx.snap +1 -3
- package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +3 -9
- package/src/components/LabelGroup/__tests__/__snapshots__/LabelGroup.test.tsx.snap +1 -3
- package/src/components/List/__tests__/__snapshots__/List.test.tsx.snap +6 -18
- package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +1 -3
- package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +10 -30
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +6 -18
- package/src/components/Modal/__tests__/__snapshots__/ModalContent.test.tsx.snap +8 -24
- package/src/components/Modal/examples/ModalWithForm.tsx +3 -3
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatus.test.tsx.snap +5 -15
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatusItem.test.tsx.snap +17 -51
- package/src/components/Nav/__tests__/Generated/__snapshots__/NavExpandable.test.tsx.snap +1 -3
- package/src/components/Nav/__tests__/__snapshots__/Nav.test.tsx.snap +14 -42
- package/src/components/NotificationBadge/__tests__/__snapshots__/NotificationBadge.test.tsx.snap +1 -3
- package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerGroup.test.tsx.snap +4 -12
- package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerListItemHeader.test.tsx.snap +5 -15
- package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +26 -78
- package/src/components/Page/__tests__/__snapshots__/Page.test.tsx.snap +33 -99
- package/src/components/Pagination/__tests__/Generated/__snapshots__/Navigation.test.tsx.snap +4 -12
- package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +1 -3
- package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +102 -306
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverCloseButton.test.tsx.snap +1 -3
- package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressContainer.test.tsx.snap +1 -3
- package/src/components/Progress/__tests__/__snapshots__/Progress.test.tsx.snap +3 -9
- package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +23 -69
- package/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +27 -102
- package/src/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +1 -3
- package/src/components/Select/__tests__/__snapshots__/SelectToggle.test.tsx.snap +1 -3
- package/src/components/Switch/Switch.tsx +2 -2
- package/src/components/Switch/__tests__/__snapshots__/Switch.test.tsx.snap +4 -8
- package/src/components/Tabs/__tests__/__snapshots__/OverflowTab.test.tsx.snap +2 -6
- package/src/components/Tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +1 -3
- package/src/components/Tile/__tests__/__snapshots__/Tile.test.tsx.snap +3 -9
- package/src/components/Timestamp/__tests__/__snapshots__/Timestamp.test.tsx.snap +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/Toolbar.test.tsx.snap +4 -12
- package/src/components/TreeView/__tests__/__snapshots__/TreeView.test.tsx.snap +68 -204
- package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardToggle.test.tsx.snap +1 -3
- package/src/components/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +6 -18
- package/src/demos/Filters/examples/FilterAttributeSearch.tsx +1 -1
- package/src/demos/Filters/examples/FilterCheckboxSelect.tsx +1 -1
- package/src/demos/Filters/examples/FilterFaceted.tsx +1 -1
- package/src/demos/Filters/examples/FilterMixedSelectGroup.tsx +1 -1
- package/src/demos/Filters/examples/FilterSameSelectGroup.tsx +1 -1
- package/src/demos/Filters/examples/FilterSearchInput.tsx +1 -1
- package/src/demos/Filters/examples/FilterSingleSelect.tsx +1 -1
- package/src/demos/PasswordStrength.md +1 -1
- package/src/deprecated/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +7 -21
- package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +7 -21
- package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorToggle.test.tsx.snap +5 -15
- package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +1 -3
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +16 -48
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +9 -27
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +2 -6
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggle.test.tsx.snap +1 -3
- package/src/deprecated/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +7 -21
|
@@ -28,12 +28,10 @@ exports[`Dropdown Renders in strict mode 1`] = `
|
|
|
28
28
|
>
|
|
29
29
|
<svg
|
|
30
30
|
aria-hidden="true"
|
|
31
|
+
class="pf-svg"
|
|
31
32
|
fill="currentColor"
|
|
32
|
-
height="1em"
|
|
33
33
|
role="img"
|
|
34
|
-
style="vertical-align: -0.125em;"
|
|
35
34
|
viewBox="0 0 320 512"
|
|
36
|
-
width="1em"
|
|
37
35
|
>
|
|
38
36
|
<path
|
|
39
37
|
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"
|
|
@@ -153,12 +151,10 @@ exports[`Dropdown alignment breakpoints 1`] = `
|
|
|
153
151
|
>
|
|
154
152
|
<svg
|
|
155
153
|
aria-hidden="true"
|
|
154
|
+
class="pf-svg"
|
|
156
155
|
fill="currentColor"
|
|
157
|
-
height="1em"
|
|
158
156
|
role="img"
|
|
159
|
-
style="vertical-align: -0.125em;"
|
|
160
157
|
viewBox="0 0 320 512"
|
|
161
|
-
width="1em"
|
|
162
158
|
>
|
|
163
159
|
<path
|
|
164
160
|
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"
|
|
@@ -277,12 +273,10 @@ exports[`Dropdown basic 1`] = `
|
|
|
277
273
|
>
|
|
278
274
|
<svg
|
|
279
275
|
aria-hidden="true"
|
|
276
|
+
class="pf-svg"
|
|
280
277
|
fill="currentColor"
|
|
281
|
-
height="1em"
|
|
282
278
|
role="img"
|
|
283
|
-
style="vertical-align: -0.125em;"
|
|
284
279
|
viewBox="0 0 320 512"
|
|
285
|
-
width="1em"
|
|
286
280
|
>
|
|
287
281
|
<path
|
|
288
282
|
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"
|
|
@@ -329,12 +323,10 @@ exports[`Dropdown dropup + right aligned 1`] = `
|
|
|
329
323
|
>
|
|
330
324
|
<svg
|
|
331
325
|
aria-hidden="true"
|
|
326
|
+
class="pf-svg"
|
|
332
327
|
fill="currentColor"
|
|
333
|
-
height="1em"
|
|
334
328
|
role="img"
|
|
335
|
-
style="vertical-align: -0.125em;"
|
|
336
329
|
viewBox="0 0 320 512"
|
|
337
|
-
width="1em"
|
|
338
330
|
>
|
|
339
331
|
<path
|
|
340
332
|
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"
|
|
@@ -374,12 +366,10 @@ exports[`Dropdown dropup 1`] = `
|
|
|
374
366
|
>
|
|
375
367
|
<svg
|
|
376
368
|
aria-hidden="true"
|
|
369
|
+
class="pf-svg"
|
|
377
370
|
fill="currentColor"
|
|
378
|
-
height="1em"
|
|
379
371
|
role="img"
|
|
380
|
-
style="vertical-align: -0.125em;"
|
|
381
372
|
viewBox="0 0 320 512"
|
|
382
|
-
width="1em"
|
|
383
373
|
>
|
|
384
374
|
<path
|
|
385
375
|
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"
|
|
@@ -420,12 +410,10 @@ exports[`Dropdown expanded 1`] = `
|
|
|
420
410
|
>
|
|
421
411
|
<svg
|
|
422
412
|
aria-hidden="true"
|
|
413
|
+
class="pf-svg"
|
|
423
414
|
fill="currentColor"
|
|
424
|
-
height="1em"
|
|
425
415
|
role="img"
|
|
426
|
-
style="vertical-align: -0.125em;"
|
|
427
416
|
viewBox="0 0 320 512"
|
|
428
|
-
width="1em"
|
|
429
417
|
>
|
|
430
418
|
<path
|
|
431
419
|
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"
|
|
@@ -544,12 +532,10 @@ exports[`Dropdown primary 1`] = `
|
|
|
544
532
|
>
|
|
545
533
|
<svg
|
|
546
534
|
aria-hidden="true"
|
|
535
|
+
class="pf-svg"
|
|
547
536
|
fill="currentColor"
|
|
548
|
-
height="1em"
|
|
549
537
|
role="img"
|
|
550
|
-
style="vertical-align: -0.125em;"
|
|
551
538
|
viewBox="0 0 320 512"
|
|
552
|
-
width="1em"
|
|
553
539
|
>
|
|
554
540
|
<path
|
|
555
541
|
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"
|
|
@@ -589,12 +575,10 @@ exports[`Dropdown regular 1`] = `
|
|
|
589
575
|
>
|
|
590
576
|
<svg
|
|
591
577
|
aria-hidden="true"
|
|
578
|
+
class="pf-svg"
|
|
592
579
|
fill="currentColor"
|
|
593
|
-
height="1em"
|
|
594
580
|
role="img"
|
|
595
|
-
style="vertical-align: -0.125em;"
|
|
596
581
|
viewBox="0 0 320 512"
|
|
597
|
-
width="1em"
|
|
598
582
|
>
|
|
599
583
|
<path
|
|
600
584
|
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"
|
|
@@ -634,12 +618,10 @@ exports[`Dropdown right aligned 1`] = `
|
|
|
634
618
|
>
|
|
635
619
|
<svg
|
|
636
620
|
aria-hidden="true"
|
|
621
|
+
class="pf-svg"
|
|
637
622
|
fill="currentColor"
|
|
638
|
-
height="1em"
|
|
639
623
|
role="img"
|
|
640
|
-
style="vertical-align: -0.125em;"
|
|
641
624
|
viewBox="0 0 320 512"
|
|
642
|
-
width="1em"
|
|
643
625
|
>
|
|
644
626
|
<path
|
|
645
627
|
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"
|
|
@@ -669,12 +651,10 @@ exports[`KebabToggle basic 1`] = `
|
|
|
669
651
|
>
|
|
670
652
|
<svg
|
|
671
653
|
aria-hidden="true"
|
|
654
|
+
class="pf-svg"
|
|
672
655
|
fill="currentColor"
|
|
673
|
-
height="1em"
|
|
674
656
|
role="img"
|
|
675
|
-
style="vertical-align: -0.125em;"
|
|
676
657
|
viewBox="0 0 192 512"
|
|
677
|
-
width="1em"
|
|
678
658
|
>
|
|
679
659
|
<path
|
|
680
660
|
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
|
|
@@ -710,12 +690,10 @@ exports[`KebabToggle dropup + right aligned 1`] = `
|
|
|
710
690
|
>
|
|
711
691
|
<svg
|
|
712
692
|
aria-hidden="true"
|
|
693
|
+
class="pf-svg"
|
|
713
694
|
fill="currentColor"
|
|
714
|
-
height="1em"
|
|
715
695
|
role="img"
|
|
716
|
-
style="vertical-align: -0.125em;"
|
|
717
696
|
viewBox="0 0 192 512"
|
|
718
|
-
width="1em"
|
|
719
697
|
>
|
|
720
698
|
<path
|
|
721
699
|
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
|
|
@@ -744,12 +722,10 @@ exports[`KebabToggle dropup 1`] = `
|
|
|
744
722
|
>
|
|
745
723
|
<svg
|
|
746
724
|
aria-hidden="true"
|
|
725
|
+
class="pf-svg"
|
|
747
726
|
fill="currentColor"
|
|
748
|
-
height="1em"
|
|
749
727
|
role="img"
|
|
750
|
-
style="vertical-align: -0.125em;"
|
|
751
728
|
viewBox="0 0 192 512"
|
|
752
|
-
width="1em"
|
|
753
729
|
>
|
|
754
730
|
<path
|
|
755
731
|
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
|
|
@@ -779,12 +755,10 @@ exports[`KebabToggle expanded 1`] = `
|
|
|
779
755
|
>
|
|
780
756
|
<svg
|
|
781
757
|
aria-hidden="true"
|
|
758
|
+
class="pf-svg"
|
|
782
759
|
fill="currentColor"
|
|
783
|
-
height="1em"
|
|
784
760
|
role="img"
|
|
785
|
-
style="vertical-align: -0.125em;"
|
|
786
761
|
viewBox="0 0 192 512"
|
|
787
|
-
width="1em"
|
|
788
762
|
>
|
|
789
763
|
<path
|
|
790
764
|
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
|
|
@@ -892,12 +866,10 @@ exports[`KebabToggle plain 1`] = `
|
|
|
892
866
|
>
|
|
893
867
|
<svg
|
|
894
868
|
aria-hidden="true"
|
|
869
|
+
class="pf-svg"
|
|
895
870
|
fill="currentColor"
|
|
896
|
-
height="1em"
|
|
897
871
|
role="img"
|
|
898
|
-
style="vertical-align: -0.125em;"
|
|
899
872
|
viewBox="0 0 192 512"
|
|
900
|
-
width="1em"
|
|
901
873
|
>
|
|
902
874
|
<path
|
|
903
875
|
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
|
|
@@ -927,12 +899,10 @@ exports[`KebabToggle regular 1`] = `
|
|
|
927
899
|
>
|
|
928
900
|
<svg
|
|
929
901
|
aria-hidden="true"
|
|
902
|
+
class="pf-svg"
|
|
930
903
|
fill="currentColor"
|
|
931
|
-
height="1em"
|
|
932
904
|
role="img"
|
|
933
|
-
style="vertical-align: -0.125em;"
|
|
934
905
|
viewBox="0 0 192 512"
|
|
935
|
-
width="1em"
|
|
936
906
|
>
|
|
937
907
|
<path
|
|
938
908
|
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
|
|
@@ -961,12 +931,10 @@ exports[`KebabToggle right aligned 1`] = `
|
|
|
961
931
|
>
|
|
962
932
|
<svg
|
|
963
933
|
aria-hidden="true"
|
|
934
|
+
class="pf-svg"
|
|
964
935
|
fill="currentColor"
|
|
965
|
-
height="1em"
|
|
966
936
|
role="img"
|
|
967
|
-
style="vertical-align: -0.125em;"
|
|
968
937
|
viewBox="0 0 192 512"
|
|
969
|
-
width="1em"
|
|
970
938
|
>
|
|
971
939
|
<path
|
|
972
940
|
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
|
package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap
CHANGED
|
@@ -28,12 +28,10 @@ exports[`DropdownToggle state action split button - renders primary variant 1`]
|
|
|
28
28
|
>
|
|
29
29
|
<svg
|
|
30
30
|
aria-hidden="true"
|
|
31
|
+
class="pf-svg"
|
|
31
32
|
fill="currentColor"
|
|
32
|
-
height="1em"
|
|
33
33
|
role="img"
|
|
34
|
-
style="vertical-align: -0.125em;"
|
|
35
34
|
viewBox="0 0 320 512"
|
|
36
|
-
width="1em"
|
|
37
35
|
>
|
|
38
36
|
<path
|
|
39
37
|
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"
|
|
@@ -66,12 +64,10 @@ exports[`DropdownToggle state active 1`] = `
|
|
|
66
64
|
>
|
|
67
65
|
<svg
|
|
68
66
|
aria-hidden="true"
|
|
67
|
+
class="pf-svg"
|
|
69
68
|
fill="currentColor"
|
|
70
|
-
height="1em"
|
|
71
69
|
role="img"
|
|
72
|
-
style="vertical-align: -0.125em;"
|
|
73
70
|
viewBox="0 0 320 512"
|
|
74
|
-
width="1em"
|
|
75
71
|
>
|
|
76
72
|
<path
|
|
77
73
|
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"
|
|
@@ -103,12 +99,10 @@ exports[`DropdownToggle state button variant - plain with text 1`] = `
|
|
|
103
99
|
>
|
|
104
100
|
<svg
|
|
105
101
|
aria-hidden="true"
|
|
102
|
+
class="pf-svg"
|
|
106
103
|
fill="currentColor"
|
|
107
|
-
height="1em"
|
|
108
104
|
role="img"
|
|
109
|
-
style="vertical-align: -0.125em;"
|
|
110
105
|
viewBox="0 0 320 512"
|
|
111
|
-
width="1em"
|
|
112
106
|
>
|
|
113
107
|
<path
|
|
114
108
|
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"
|
|
@@ -140,12 +134,10 @@ exports[`DropdownToggle state button variant - primary 1`] = `
|
|
|
140
134
|
>
|
|
141
135
|
<svg
|
|
142
136
|
aria-hidden="true"
|
|
137
|
+
class="pf-svg"
|
|
143
138
|
fill="currentColor"
|
|
144
|
-
height="1em"
|
|
145
139
|
role="img"
|
|
146
|
-
style="vertical-align: -0.125em;"
|
|
147
140
|
viewBox="0 0 320 512"
|
|
148
|
-
width="1em"
|
|
149
141
|
>
|
|
150
142
|
<path
|
|
151
143
|
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"
|
|
@@ -177,12 +169,10 @@ exports[`DropdownToggle state button variant - secondary 1`] = `
|
|
|
177
169
|
>
|
|
178
170
|
<svg
|
|
179
171
|
aria-hidden="true"
|
|
172
|
+
class="pf-svg"
|
|
180
173
|
fill="currentColor"
|
|
181
|
-
height="1em"
|
|
182
174
|
role="img"
|
|
183
|
-
style="vertical-align: -0.125em;"
|
|
184
175
|
viewBox="0 0 320 512"
|
|
185
|
-
width="1em"
|
|
186
176
|
>
|
|
187
177
|
<path
|
|
188
178
|
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"
|
|
@@ -214,12 +204,10 @@ exports[`DropdownToggle state class changes 1`] = `
|
|
|
214
204
|
>
|
|
215
205
|
<svg
|
|
216
206
|
aria-hidden="true"
|
|
207
|
+
class="pf-svg"
|
|
217
208
|
fill="currentColor"
|
|
218
|
-
height="1em"
|
|
219
209
|
role="img"
|
|
220
|
-
style="vertical-align: -0.125em;"
|
|
221
210
|
viewBox="0 0 320 512"
|
|
222
|
-
width="1em"
|
|
223
211
|
>
|
|
224
212
|
<path
|
|
225
213
|
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"
|
|
@@ -251,12 +239,10 @@ exports[`DropdownToggle state focus 1`] = `
|
|
|
251
239
|
>
|
|
252
240
|
<svg
|
|
253
241
|
aria-hidden="true"
|
|
242
|
+
class="pf-svg"
|
|
254
243
|
fill="currentColor"
|
|
255
|
-
height="1em"
|
|
256
244
|
role="img"
|
|
257
|
-
style="vertical-align: -0.125em;"
|
|
258
245
|
viewBox="0 0 320 512"
|
|
259
|
-
width="1em"
|
|
260
246
|
>
|
|
261
247
|
<path
|
|
262
248
|
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"
|
|
@@ -288,12 +274,10 @@ exports[`DropdownToggle state hover 1`] = `
|
|
|
288
274
|
>
|
|
289
275
|
<svg
|
|
290
276
|
aria-hidden="true"
|
|
277
|
+
class="pf-svg"
|
|
291
278
|
fill="currentColor"
|
|
292
|
-
height="1em"
|
|
293
279
|
role="img"
|
|
294
|
-
style="vertical-align: -0.125em;"
|
|
295
280
|
viewBox="0 0 320 512"
|
|
296
|
-
width="1em"
|
|
297
281
|
>
|
|
298
282
|
<path
|
|
299
283
|
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"
|
|
@@ -332,12 +316,10 @@ exports[`DropdownToggle state split button - does not render primary variant 1`]
|
|
|
332
316
|
>
|
|
333
317
|
<svg
|
|
334
318
|
aria-hidden="true"
|
|
319
|
+
class="pf-svg"
|
|
335
320
|
fill="currentColor"
|
|
336
|
-
height="1em"
|
|
337
321
|
role="img"
|
|
338
|
-
style="vertical-align: -0.125em;"
|
|
339
322
|
viewBox="0 0 320 512"
|
|
340
|
-
width="1em"
|
|
341
323
|
>
|
|
342
324
|
<path
|
|
343
325
|
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"
|
|
@@ -21,12 +21,10 @@ exports[`Dropdown toggle 1`] = `
|
|
|
21
21
|
>
|
|
22
22
|
<svg
|
|
23
23
|
aria-hidden="true"
|
|
24
|
+
class="pf-svg"
|
|
24
25
|
fill="currentColor"
|
|
25
|
-
height="1em"
|
|
26
26
|
role="img"
|
|
27
|
-
style="vertical-align: -0.125em;"
|
|
28
27
|
viewBox="0 0 320 512"
|
|
29
|
-
width="1em"
|
|
30
28
|
>
|
|
31
29
|
<path
|
|
32
30
|
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"
|
|
@@ -48,12 +46,10 @@ exports[`Kebab toggle 1`] = `
|
|
|
48
46
|
>
|
|
49
47
|
<svg
|
|
50
48
|
aria-hidden="true"
|
|
49
|
+
class="pf-svg"
|
|
51
50
|
fill="currentColor"
|
|
52
|
-
height="1em"
|
|
53
51
|
role="img"
|
|
54
|
-
style="vertical-align: -0.125em;"
|
|
55
52
|
viewBox="0 0 192 512"
|
|
56
|
-
width="1em"
|
|
57
53
|
>
|
|
58
54
|
<path
|
|
59
55
|
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
|
|
@@ -25,12 +25,10 @@ exports[`OptionsMenuToggle should match snapshot (auto-generated) 1`] = `
|
|
|
25
25
|
>
|
|
26
26
|
<svg
|
|
27
27
|
aria-hidden="true"
|
|
28
|
+
class="pf-svg"
|
|
28
29
|
fill="currentColor"
|
|
29
|
-
height="1em"
|
|
30
30
|
role="img"
|
|
31
|
-
style="vertical-align: -0.125em;"
|
|
32
31
|
viewBox="0 0 320 512"
|
|
33
|
-
width="1em"
|
|
34
32
|
>
|
|
35
33
|
<path
|
|
36
34
|
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"
|
package/src/deprecated/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap
CHANGED
|
@@ -28,12 +28,10 @@ exports[`optionsMenu expanded 1`] = `
|
|
|
28
28
|
>
|
|
29
29
|
<svg
|
|
30
30
|
aria-hidden="true"
|
|
31
|
+
class="pf-svg"
|
|
31
32
|
fill="currentColor"
|
|
32
|
-
height="1em"
|
|
33
33
|
role="img"
|
|
34
|
-
style="vertical-align: -0.125em;"
|
|
35
34
|
viewBox="0 0 320 512"
|
|
36
|
-
width="1em"
|
|
37
35
|
>
|
|
38
36
|
<path
|
|
39
37
|
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"
|
|
@@ -225,12 +223,10 @@ exports[`optionsMenu isDisabled 1`] = `
|
|
|
225
223
|
>
|
|
226
224
|
<svg
|
|
227
225
|
aria-hidden="true"
|
|
226
|
+
class="pf-svg"
|
|
228
227
|
fill="currentColor"
|
|
229
|
-
height="1em"
|
|
230
228
|
role="img"
|
|
231
|
-
style="vertical-align: -0.125em;"
|
|
232
229
|
viewBox="0 0 320 512"
|
|
233
|
-
width="1em"
|
|
234
230
|
>
|
|
235
231
|
<path
|
|
236
232
|
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"
|
|
@@ -270,12 +266,10 @@ exports[`optionsMenu open up 1`] = `
|
|
|
270
266
|
>
|
|
271
267
|
<svg
|
|
272
268
|
aria-hidden="true"
|
|
269
|
+
class="pf-svg"
|
|
273
270
|
fill="currentColor"
|
|
274
|
-
height="1em"
|
|
275
271
|
role="img"
|
|
276
|
-
style="vertical-align: -0.125em;"
|
|
277
272
|
viewBox="0 0 320 512"
|
|
278
|
-
width="1em"
|
|
279
273
|
>
|
|
280
274
|
<path
|
|
281
275
|
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"
|
|
@@ -341,12 +335,10 @@ exports[`optionsMenu regular 1`] = `
|
|
|
341
335
|
>
|
|
342
336
|
<svg
|
|
343
337
|
aria-hidden="true"
|
|
338
|
+
class="pf-svg"
|
|
344
339
|
fill="currentColor"
|
|
345
|
-
height="1em"
|
|
346
340
|
role="img"
|
|
347
|
-
style="vertical-align: -0.125em;"
|
|
348
341
|
viewBox="0 0 320 512"
|
|
349
|
-
width="1em"
|
|
350
342
|
>
|
|
351
343
|
<path
|
|
352
344
|
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"
|
|
@@ -386,12 +378,10 @@ exports[`optionsMenu renders in strict mode 1`] = `
|
|
|
386
378
|
>
|
|
387
379
|
<svg
|
|
388
380
|
aria-hidden="true"
|
|
381
|
+
class="pf-svg"
|
|
389
382
|
fill="currentColor"
|
|
390
|
-
height="1em"
|
|
391
383
|
role="img"
|
|
392
|
-
style="vertical-align: -0.125em;"
|
|
393
384
|
viewBox="0 0 320 512"
|
|
394
|
-
width="1em"
|
|
395
385
|
>
|
|
396
386
|
<path
|
|
397
387
|
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"
|
|
@@ -582,12 +572,10 @@ exports[`optionsMenu right aligned + open up 1`] = `
|
|
|
582
572
|
>
|
|
583
573
|
<svg
|
|
584
574
|
aria-hidden="true"
|
|
575
|
+
class="pf-svg"
|
|
585
576
|
fill="currentColor"
|
|
586
|
-
height="1em"
|
|
587
577
|
role="img"
|
|
588
|
-
style="vertical-align: -0.125em;"
|
|
589
578
|
viewBox="0 0 320 512"
|
|
590
|
-
width="1em"
|
|
591
579
|
>
|
|
592
580
|
<path
|
|
593
581
|
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"
|
|
@@ -627,12 +615,10 @@ exports[`optionsMenu right aligned 1`] = `
|
|
|
627
615
|
>
|
|
628
616
|
<svg
|
|
629
617
|
aria-hidden="true"
|
|
618
|
+
class="pf-svg"
|
|
630
619
|
fill="currentColor"
|
|
631
|
-
height="1em"
|
|
632
620
|
role="img"
|
|
633
|
-
style="vertical-align: -0.125em;"
|
|
634
621
|
viewBox="0 0 320 512"
|
|
635
|
-
width="1em"
|
|
636
622
|
>
|
|
637
623
|
<path
|
|
638
624
|
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"
|