@patternfly/react-core 4.202.36 → 4.203.1

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.
Files changed (85) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/esm/components/MenuToggle/MenuToggle.d.ts +3 -0
  3. package/dist/esm/components/MenuToggle/MenuToggle.d.ts.map +1 -1
  4. package/dist/esm/components/MenuToggle/MenuToggle.js +3 -2
  5. package/dist/esm/components/MenuToggle/MenuToggle.js.map +1 -1
  6. package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts +4 -2
  7. package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts.map +1 -1
  8. package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.js +2 -2
  9. package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.js.map +1 -1
  10. package/dist/esm/components/Pagination/OptionsToggle.d.ts +10 -6
  11. package/dist/esm/components/Pagination/OptionsToggle.d.ts.map +1 -1
  12. package/dist/esm/components/Pagination/OptionsToggle.js +10 -4
  13. package/dist/esm/components/Pagination/OptionsToggle.js.map +1 -1
  14. package/dist/esm/components/Pagination/Pagination.d.ts +7 -3
  15. package/dist/esm/components/Pagination/Pagination.d.ts.map +1 -1
  16. package/dist/esm/components/Pagination/Pagination.js +5 -4
  17. package/dist/esm/components/Pagination/Pagination.js.map +1 -1
  18. package/dist/esm/components/Pagination/PaginationOptionsMenu.d.ts +12 -8
  19. package/dist/esm/components/Pagination/PaginationOptionsMenu.d.ts.map +1 -1
  20. package/dist/esm/components/Pagination/PaginationOptionsMenu.js +6 -5
  21. package/dist/esm/components/Pagination/PaginationOptionsMenu.js.map +1 -1
  22. package/dist/js/components/MenuToggle/MenuToggle.d.ts +3 -0
  23. package/dist/js/components/MenuToggle/MenuToggle.d.ts.map +1 -1
  24. package/dist/js/components/MenuToggle/MenuToggle.js +3 -2
  25. package/dist/js/components/MenuToggle/MenuToggle.js.map +1 -1
  26. package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts +4 -2
  27. package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts.map +1 -1
  28. package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.js +2 -2
  29. package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.js.map +1 -1
  30. package/dist/js/components/Pagination/OptionsToggle.d.ts +10 -6
  31. package/dist/js/components/Pagination/OptionsToggle.d.ts.map +1 -1
  32. package/dist/js/components/Pagination/OptionsToggle.js +10 -4
  33. package/dist/js/components/Pagination/OptionsToggle.js.map +1 -1
  34. package/dist/js/components/Pagination/Pagination.d.ts +7 -3
  35. package/dist/js/components/Pagination/Pagination.d.ts.map +1 -1
  36. package/dist/js/components/Pagination/Pagination.js +5 -4
  37. package/dist/js/components/Pagination/Pagination.js.map +1 -1
  38. package/dist/js/components/Pagination/PaginationOptionsMenu.d.ts +12 -8
  39. package/dist/js/components/Pagination/PaginationOptionsMenu.d.ts.map +1 -1
  40. package/dist/js/components/Pagination/PaginationOptionsMenu.js +6 -5
  41. package/dist/js/components/Pagination/PaginationOptionsMenu.js.map +1 -1
  42. package/dist/umd/react-core.css +16 -0
  43. package/dist/umd/react-core.js +27 -17
  44. package/dist/umd/react-core.min.css +16 -0
  45. package/dist/umd/react-core.min.js +1 -1
  46. package/package.json +6 -6
  47. package/src/components/MenuToggle/MenuToggle.tsx +5 -0
  48. package/src/components/MenuToggle/examples/MenuToggle.md +16 -0
  49. package/src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx +6 -2
  50. package/src/components/MultipleFileUpload/__tests__/MultipleFileUpload.test.tsx +8 -8
  51. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadButton.test.tsx +7 -7
  52. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadInfo.test.tsx +5 -5
  53. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadMain.test.tsx +11 -11
  54. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadStatus.test.tsx +11 -9
  55. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadStatusItem.test.tsx +28 -13
  56. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadTitle.test.tsx +11 -11
  57. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadTitleIcon.test.tsx +5 -5
  58. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadTitleText.test.tsx +5 -5
  59. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadTitleTextSeparator.test.tsx +7 -5
  60. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUpload.test.tsx.snap +42 -124
  61. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadButton.test.tsx.snap +36 -86
  62. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadInfo.test.tsx.snap +6 -8
  63. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadMain.test.tsx.snap +85 -179
  64. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatus.test.tsx.snap +188 -383
  65. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatusItem.test.tsx.snap +596 -330
  66. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadTitle.test.tsx.snap +32 -49
  67. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadTitleIcon.test.tsx.snap +9 -11
  68. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadTitleText.test.tsx.snap +6 -8
  69. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadTitleTextSeparator.test.tsx.snap +6 -8
  70. package/src/components/Pagination/OptionsToggle.tsx +56 -46
  71. package/src/components/Pagination/Pagination.tsx +12 -5
  72. package/src/components/Pagination/PaginationOptionsMenu.tsx +20 -12
  73. package/src/components/Pagination/__tests__/Generated/__snapshots__/OptionsToggle.test.tsx.snap +1 -0
  74. package/src/components/Pagination/__tests__/Pagination.test.tsx +6 -4
  75. package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +223 -0
  76. package/src/components/Pagination/examples/Pagination.md +11 -1
  77. package/src/components/TimePicker/__tests__/TimePicker.test.tsx +1 -1
  78. package/src/components/Dropdown/__tests__/Generated/InternalDropdownItem.test.tsx +0 -42
  79. package/src/components/Dropdown/__tests__/Generated/__snapshots__/InternalDropdownItem.test.tsx.snap +0 -10
  80. package/src/components/Select/__tests__/Generated/SelectGroup.test.tsx +0 -25
  81. package/src/components/Select/__tests__/Generated/SelectMenu.test.tsx +0 -25
  82. package/src/components/Select/__tests__/Generated/__snapshots__/SelectGroup.test.tsx.snap +0 -18
  83. package/src/components/Select/__tests__/Generated/__snapshots__/SelectMenu.test.tsx.snap +0 -10
  84. package/src/components/Toolbar/__tests__/Generated/ToolbarToggleGroup.test.tsx +0 -27
  85. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarToggleGroup.test.tsx.snap +0 -29
@@ -1,452 +1,257 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`MultipleFileUploadStatus renders custom class names 1`] = `
4
- <MultipleFileUploadStatus
5
- className="test"
6
- >
4
+ <DocumentFragment>
7
5
  <div
8
- className="pf-c-multiple-file-upload__status test"
6
+ class="pf-c-multiple-file-upload__status test"
9
7
  >
10
- <ExpandableSection
11
- className=""
12
- contentId=""
13
- displaySize="default"
14
- isActive={false}
15
- isDetached={false}
16
- isExpanded={true}
17
- isIndented={false}
18
- isWidthLimited={false}
19
- onToggle={[Function]}
20
- toggleContent={
21
- <div
22
- className="pf-c-multiple-file-upload__status-progress"
23
- >
24
- <div
25
- className="pf-c-multiple-file-upload__status-progress-icon"
26
- />
27
- <div
28
- className="pf-c-multiple-file-upload__status-item-progress-text"
29
- />
30
- </div>
31
- }
32
- toggleText=""
33
- toggleTextCollapsed=""
34
- toggleTextExpanded=""
8
+ <div
9
+ class="pf-c-expandable-section pf-m-expanded"
35
10
  >
36
- <div
37
- className="pf-c-expandable-section pf-m-expanded"
11
+ <button
12
+ aria-expanded="true"
13
+ class="pf-c-expandable-section__toggle"
14
+ type="button"
38
15
  >
39
- <button
40
- aria-expanded={true}
41
- className="pf-c-expandable-section__toggle"
42
- onClick={[Function]}
43
- type="button"
16
+ <span
17
+ class="pf-c-expandable-section__toggle-icon"
44
18
  >
45
- <span
46
- className="pf-c-expandable-section__toggle-icon"
19
+ <svg
20
+ aria-hidden="true"
21
+ fill="currentColor"
22
+ height="1em"
23
+ role="img"
24
+ style="vertical-align: -0.125em;"
25
+ viewBox="0 0 256 512"
26
+ width="1em"
47
27
  >
48
- <AngleRightIcon
49
- aria-hidden={true}
50
- color="currentColor"
51
- noVerticalAlign={false}
52
- size="sm"
53
- >
54
- <svg
55
- aria-hidden={true}
56
- aria-labelledby={null}
57
- fill="currentColor"
58
- height="1em"
59
- role="img"
60
- style={
61
- Object {
62
- "verticalAlign": "-0.125em",
63
- }
64
- }
65
- viewBox="0 0 256 512"
66
- width="1em"
67
- >
68
- <path
69
- d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
70
- />
71
- </svg>
72
- </AngleRightIcon>
73
- </span>
74
- <span
75
- className="pf-c-expandable-section__toggle-text"
28
+ <path
29
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
30
+ />
31
+ </svg>
32
+ </span>
33
+ <span
34
+ class="pf-c-expandable-section__toggle-text"
35
+ >
36
+ <div
37
+ class="pf-c-multiple-file-upload__status-progress"
76
38
  >
77
39
  <div
78
- className="pf-c-multiple-file-upload__status-progress"
79
- >
80
- <div
81
- className="pf-c-multiple-file-upload__status-progress-icon"
82
- />
83
- <div
84
- className="pf-c-multiple-file-upload__status-item-progress-text"
85
- />
86
- </div>
87
- </span>
88
- </button>
89
- <div
90
- className="pf-c-expandable-section__content"
91
- hidden={false}
92
- id=""
40
+ class="pf-c-multiple-file-upload__status-progress-icon"
41
+ />
42
+ <div
43
+ class="pf-c-multiple-file-upload__status-item-progress-text"
44
+ />
45
+ </div>
46
+ </span>
47
+ </button>
48
+ <div
49
+ class="pf-c-expandable-section__content"
50
+ id=""
51
+ >
52
+ <ul
53
+ class="pf-c-multiple-file-upload__status-list"
93
54
  >
94
- <ul
95
- className="pf-c-multiple-file-upload__status-list"
96
- >
97
- Foo
98
- </ul>
99
- </div>
55
+ Foo
56
+ </ul>
100
57
  </div>
101
- </ExpandableSection>
58
+ </div>
102
59
  </div>
103
- </MultipleFileUploadStatus>
60
+ </DocumentFragment>
104
61
  `;
105
62
 
106
63
  exports[`MultipleFileUploadStatus renders status toggle icon 1`] = `
107
- <MultipleFileUploadStatus
108
- statusToggleIcon={
109
- <InProgressIcon
110
- color="currentColor"
111
- noVerticalAlign={false}
112
- size="sm"
113
- />
114
- }
115
- >
64
+ <DocumentFragment>
116
65
  <div
117
- className="pf-c-multiple-file-upload__status"
66
+ class="pf-c-multiple-file-upload__status"
118
67
  >
119
- <ExpandableSection
120
- className=""
121
- contentId=""
122
- displaySize="default"
123
- isActive={false}
124
- isDetached={false}
125
- isExpanded={true}
126
- isIndented={false}
127
- isWidthLimited={false}
128
- onToggle={[Function]}
129
- toggleContent={
130
- <div
131
- className="pf-c-multiple-file-upload__status-progress"
68
+ <div
69
+ class="pf-c-expandable-section pf-m-expanded"
70
+ >
71
+ <button
72
+ aria-expanded="true"
73
+ class="pf-c-expandable-section__toggle"
74
+ type="button"
75
+ >
76
+ <span
77
+ class="pf-c-expandable-section__toggle-icon"
132
78
  >
133
- <div
134
- className="pf-c-multiple-file-upload__status-progress-icon"
79
+ <svg
80
+ aria-hidden="true"
81
+ fill="currentColor"
82
+ height="1em"
83
+ role="img"
84
+ style="vertical-align: -0.125em;"
85
+ viewBox="0 0 256 512"
86
+ width="1em"
135
87
  >
136
- <InProgressIcon
137
- color="currentColor"
138
- noVerticalAlign={false}
139
- size="sm"
88
+ <path
89
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
140
90
  />
141
- </div>
142
- <div
143
- className="pf-c-multiple-file-upload__status-item-progress-text"
144
- />
145
- </div>
146
- }
147
- toggleText=""
148
- toggleTextCollapsed=""
149
- toggleTextExpanded=""
150
- >
151
- <div
152
- className="pf-c-expandable-section pf-m-expanded"
153
- >
154
- <button
155
- aria-expanded={true}
156
- className="pf-c-expandable-section__toggle"
157
- onClick={[Function]}
158
- type="button"
91
+ </svg>
92
+ </span>
93
+ <span
94
+ class="pf-c-expandable-section__toggle-text"
159
95
  >
160
- <span
161
- className="pf-c-expandable-section__toggle-icon"
96
+ <div
97
+ class="pf-c-multiple-file-upload__status-progress"
162
98
  >
163
- <AngleRightIcon
164
- aria-hidden={true}
165
- color="currentColor"
166
- noVerticalAlign={false}
167
- size="sm"
99
+ <div
100
+ class="pf-c-multiple-file-upload__status-progress-icon"
168
101
  >
169
102
  <svg
170
- aria-hidden={true}
171
- aria-labelledby={null}
103
+ aria-hidden="true"
172
104
  fill="currentColor"
173
105
  height="1em"
174
106
  role="img"
175
- style={
176
- Object {
177
- "verticalAlign": "-0.125em",
178
- }
179
- }
180
- viewBox="0 0 256 512"
107
+ style="vertical-align: -0.125em;"
108
+ viewBox="0 0 1024 1024"
181
109
  width="1em"
182
110
  >
183
111
  <path
184
- d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
112
+ d="M513.417211,16.013668 L513.417211,112.013668 C513.406007,120.539653 520.082422,127.576718 528.597211,128.013668 C732.697211,136.513668 896.147211,305.013668 896.147211,511.343668 C896.147211,723.013668 724.007211,895.163668 512.417211,895.163668 C437.186239,895.277345 363.602574,873.135095 300.927211,831.523668 C294.58293,827.2982 286.138663,828.135095 280.747211,833.523668 L211.807211,902.353668 C208.502935,905.676185 206.82123,910.280199 207.20607,914.950237 C207.590911,919.620275 210.00361,923.886884 213.807211,926.623668 C300.709573,989.398037 405.213535,1023.13146 512.417211,1023.01398 C794.537211,1023.01398 1023.91724,793.433668 1023.91724,511.413668 C1024.00721,235.103668 804.007211,9.22366802 529.897211,0.00645736761 C525.571205,-0.116171039 521.377128,1.51204372 518.271915,4.52681369 C515.166702,7.54158367 513.415263,11.6857144 513.417211,16.013668 M97.1272107,212.923668 C64.2190689,258.479443 39.0698895,309.162997 22.6972107,362.923668 C21.2705092,367.756559 22.2039184,372.979173 25.2163356,377.018685 C28.2287528,381.058197 32.9681443,383.442545 38.0072107,383.453683 L139.407211,383.453683 C145.970195,383.46249 151.873012,379.462528 154.297211,373.363668 C164.307669,347.593304 177.068112,322.977652 192.357211,299.943668 C196.579666,293.633658 195.741339,285.216847 190.357211,279.863668 L121.497211,211.013668 C118.186635,207.662531 113.567544,205.940538 108.871166,206.30669 C104.174788,206.672841 99.8783994,209.089927 97.1272107,212.913668 M112.907211,511.433663 L17.0072107,511.433663 C12.679257,511.433663 8.5351263,513.183159 5.52035633,516.288373 C2.50558635,519.393586 0.877371594,523.587662 1.00721065,527.913668 C4.13104542,629.408217 37.6085847,727.635936 97.1172107,809.913668 C99.8539943,813.717268 104.120603,816.129968 108.790642,816.514809 C113.46068,816.899649 118.064693,815.217944 121.387211,811.913668 L190.217211,743.073668 C195.605784,737.682216 196.442679,729.237949 192.217211,722.893668 C153.520825,664.580171 131.611534,596.745437 128.887211,526.813668 C128.553964,518.220138 121.487197,511.427209 112.887211,511.433663"
185
113
  />
186
114
  </svg>
187
- </AngleRightIcon>
188
- </span>
189
- <span
190
- className="pf-c-expandable-section__toggle-text"
191
- >
192
- <div
193
- className="pf-c-multiple-file-upload__status-progress"
194
- >
195
- <div
196
- className="pf-c-multiple-file-upload__status-progress-icon"
197
- >
198
- <InProgressIcon
199
- color="currentColor"
200
- noVerticalAlign={false}
201
- size="sm"
202
- >
203
- <svg
204
- aria-hidden={true}
205
- aria-labelledby={null}
206
- fill="currentColor"
207
- height="1em"
208
- role="img"
209
- style={
210
- Object {
211
- "verticalAlign": "-0.125em",
212
- }
213
- }
214
- viewBox="0 0 1024 1024"
215
- width="1em"
216
- >
217
- <path
218
- d="M513.417211,16.013668 L513.417211,112.013668 C513.406007,120.539653 520.082422,127.576718 528.597211,128.013668 C732.697211,136.513668 896.147211,305.013668 896.147211,511.343668 C896.147211,723.013668 724.007211,895.163668 512.417211,895.163668 C437.186239,895.277345 363.602574,873.135095 300.927211,831.523668 C294.58293,827.2982 286.138663,828.135095 280.747211,833.523668 L211.807211,902.353668 C208.502935,905.676185 206.82123,910.280199 207.20607,914.950237 C207.590911,919.620275 210.00361,923.886884 213.807211,926.623668 C300.709573,989.398037 405.213535,1023.13146 512.417211,1023.01398 C794.537211,1023.01398 1023.91724,793.433668 1023.91724,511.413668 C1024.00721,235.103668 804.007211,9.22366802 529.897211,0.00645736761 C525.571205,-0.116171039 521.377128,1.51204372 518.271915,4.52681369 C515.166702,7.54158367 513.415263,11.6857144 513.417211,16.013668 M97.1272107,212.923668 C64.2190689,258.479443 39.0698895,309.162997 22.6972107,362.923668 C21.2705092,367.756559 22.2039184,372.979173 25.2163356,377.018685 C28.2287528,381.058197 32.9681443,383.442545 38.0072107,383.453683 L139.407211,383.453683 C145.970195,383.46249 151.873012,379.462528 154.297211,373.363668 C164.307669,347.593304 177.068112,322.977652 192.357211,299.943668 C196.579666,293.633658 195.741339,285.216847 190.357211,279.863668 L121.497211,211.013668 C118.186635,207.662531 113.567544,205.940538 108.871166,206.30669 C104.174788,206.672841 99.8783994,209.089927 97.1272107,212.913668 M112.907211,511.433663 L17.0072107,511.433663 C12.679257,511.433663 8.5351263,513.183159 5.52035633,516.288373 C2.50558635,519.393586 0.877371594,523.587662 1.00721065,527.913668 C4.13104542,629.408217 37.6085847,727.635936 97.1172107,809.913668 C99.8539943,813.717268 104.120603,816.129968 108.790642,816.514809 C113.46068,816.899649 118.064693,815.217944 121.387211,811.913668 L190.217211,743.073668 C195.605784,737.682216 196.442679,729.237949 192.217211,722.893668 C153.520825,664.580171 131.611534,596.745437 128.887211,526.813668 C128.553964,518.220138 121.487197,511.427209 112.887211,511.433663"
219
- />
220
- </svg>
221
- </InProgressIcon>
222
- </div>
223
- <div
224
- className="pf-c-multiple-file-upload__status-item-progress-text"
225
- />
226
115
  </div>
227
- </span>
228
- </button>
229
- <div
230
- className="pf-c-expandable-section__content"
231
- hidden={false}
232
- id=""
116
+ <div
117
+ class="pf-c-multiple-file-upload__status-item-progress-text"
118
+ />
119
+ </div>
120
+ </span>
121
+ </button>
122
+ <div
123
+ class="pf-c-expandable-section__content"
124
+ id=""
125
+ >
126
+ <ul
127
+ class="pf-c-multiple-file-upload__status-list"
233
128
  >
234
- <ul
235
- className="pf-c-multiple-file-upload__status-list"
236
- >
237
- Foo
238
- </ul>
239
- </div>
129
+ Foo
130
+ </ul>
240
131
  </div>
241
- </ExpandableSection>
132
+ </div>
242
133
  </div>
243
- </MultipleFileUploadStatus>
134
+ </DocumentFragment>
244
135
  `;
245
136
 
246
137
  exports[`MultipleFileUploadStatus renders status toggle text 1`] = `
247
- <MultipleFileUploadStatus
248
- statusToggleText="test"
249
- >
138
+ <DocumentFragment>
250
139
  <div
251
- className="pf-c-multiple-file-upload__status"
140
+ class="pf-c-multiple-file-upload__status"
252
141
  >
253
- <ExpandableSection
254
- className=""
255
- contentId=""
256
- displaySize="default"
257
- isActive={false}
258
- isDetached={false}
259
- isExpanded={true}
260
- isIndented={false}
261
- isWidthLimited={false}
262
- onToggle={[Function]}
263
- toggleContent={
264
- <div
265
- className="pf-c-multiple-file-upload__status-progress"
266
- >
267
- <div
268
- className="pf-c-multiple-file-upload__status-progress-icon"
269
- />
270
- <div
271
- className="pf-c-multiple-file-upload__status-item-progress-text"
272
- >
273
- test
274
- </div>
275
- </div>
276
- }
277
- toggleText=""
278
- toggleTextCollapsed=""
279
- toggleTextExpanded=""
142
+ <div
143
+ class="pf-c-expandable-section pf-m-expanded"
280
144
  >
281
- <div
282
- className="pf-c-expandable-section pf-m-expanded"
145
+ <button
146
+ aria-expanded="true"
147
+ class="pf-c-expandable-section__toggle"
148
+ type="button"
283
149
  >
284
- <button
285
- aria-expanded={true}
286
- className="pf-c-expandable-section__toggle"
287
- onClick={[Function]}
288
- type="button"
150
+ <span
151
+ class="pf-c-expandable-section__toggle-icon"
289
152
  >
290
- <span
291
- className="pf-c-expandable-section__toggle-icon"
153
+ <svg
154
+ aria-hidden="true"
155
+ fill="currentColor"
156
+ height="1em"
157
+ role="img"
158
+ style="vertical-align: -0.125em;"
159
+ viewBox="0 0 256 512"
160
+ width="1em"
292
161
  >
293
- <AngleRightIcon
294
- aria-hidden={true}
295
- color="currentColor"
296
- noVerticalAlign={false}
297
- size="sm"
298
- >
299
- <svg
300
- aria-hidden={true}
301
- aria-labelledby={null}
302
- fill="currentColor"
303
- height="1em"
304
- role="img"
305
- style={
306
- Object {
307
- "verticalAlign": "-0.125em",
308
- }
309
- }
310
- viewBox="0 0 256 512"
311
- width="1em"
312
- >
313
- <path
314
- d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
315
- />
316
- </svg>
317
- </AngleRightIcon>
318
- </span>
319
- <span
320
- className="pf-c-expandable-section__toggle-text"
162
+ <path
163
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
164
+ />
165
+ </svg>
166
+ </span>
167
+ <span
168
+ class="pf-c-expandable-section__toggle-text"
169
+ >
170
+ <div
171
+ class="pf-c-multiple-file-upload__status-progress"
321
172
  >
322
173
  <div
323
- className="pf-c-multiple-file-upload__status-progress"
174
+ class="pf-c-multiple-file-upload__status-progress-icon"
175
+ />
176
+ <div
177
+ class="pf-c-multiple-file-upload__status-item-progress-text"
324
178
  >
325
- <div
326
- className="pf-c-multiple-file-upload__status-progress-icon"
327
- />
328
- <div
329
- className="pf-c-multiple-file-upload__status-item-progress-text"
330
- >
331
- test
332
- </div>
179
+ test
333
180
  </div>
334
- </span>
335
- </button>
336
- <div
337
- className="pf-c-expandable-section__content"
338
- hidden={false}
339
- id=""
181
+ </div>
182
+ </span>
183
+ </button>
184
+ <div
185
+ class="pf-c-expandable-section__content"
186
+ id=""
187
+ >
188
+ <ul
189
+ class="pf-c-multiple-file-upload__status-list"
340
190
  >
341
- <ul
342
- className="pf-c-multiple-file-upload__status-list"
343
- >
344
- Foo
345
- </ul>
346
- </div>
191
+ Foo
192
+ </ul>
347
193
  </div>
348
- </ExpandableSection>
194
+ </div>
349
195
  </div>
350
- </MultipleFileUploadStatus>
196
+ </DocumentFragment>
351
197
  `;
352
198
 
353
199
  exports[`MultipleFileUploadStatus renders with expected class names 1`] = `
354
- <MultipleFileUploadStatus>
200
+ <DocumentFragment>
355
201
  <div
356
- className="pf-c-multiple-file-upload__status"
202
+ class="pf-c-multiple-file-upload__status"
357
203
  >
358
- <ExpandableSection
359
- className=""
360
- contentId=""
361
- displaySize="default"
362
- isActive={false}
363
- isDetached={false}
364
- isExpanded={true}
365
- isIndented={false}
366
- isWidthLimited={false}
367
- onToggle={[Function]}
368
- toggleContent={
369
- <div
370
- className="pf-c-multiple-file-upload__status-progress"
371
- >
372
- <div
373
- className="pf-c-multiple-file-upload__status-progress-icon"
374
- />
375
- <div
376
- className="pf-c-multiple-file-upload__status-item-progress-text"
377
- />
378
- </div>
379
- }
380
- toggleText=""
381
- toggleTextCollapsed=""
382
- toggleTextExpanded=""
204
+ <div
205
+ class="pf-c-expandable-section pf-m-expanded"
383
206
  >
384
- <div
385
- className="pf-c-expandable-section pf-m-expanded"
207
+ <button
208
+ aria-expanded="true"
209
+ class="pf-c-expandable-section__toggle"
210
+ type="button"
386
211
  >
387
- <button
388
- aria-expanded={true}
389
- className="pf-c-expandable-section__toggle"
390
- onClick={[Function]}
391
- type="button"
212
+ <span
213
+ class="pf-c-expandable-section__toggle-icon"
392
214
  >
393
- <span
394
- className="pf-c-expandable-section__toggle-icon"
215
+ <svg
216
+ aria-hidden="true"
217
+ fill="currentColor"
218
+ height="1em"
219
+ role="img"
220
+ style="vertical-align: -0.125em;"
221
+ viewBox="0 0 256 512"
222
+ width="1em"
395
223
  >
396
- <AngleRightIcon
397
- aria-hidden={true}
398
- color="currentColor"
399
- noVerticalAlign={false}
400
- size="sm"
401
- >
402
- <svg
403
- aria-hidden={true}
404
- aria-labelledby={null}
405
- fill="currentColor"
406
- height="1em"
407
- role="img"
408
- style={
409
- Object {
410
- "verticalAlign": "-0.125em",
411
- }
412
- }
413
- viewBox="0 0 256 512"
414
- width="1em"
415
- >
416
- <path
417
- d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
418
- />
419
- </svg>
420
- </AngleRightIcon>
421
- </span>
422
- <span
423
- className="pf-c-expandable-section__toggle-text"
224
+ <path
225
+ d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
226
+ />
227
+ </svg>
228
+ </span>
229
+ <span
230
+ class="pf-c-expandable-section__toggle-text"
231
+ >
232
+ <div
233
+ class="pf-c-multiple-file-upload__status-progress"
424
234
  >
425
235
  <div
426
- className="pf-c-multiple-file-upload__status-progress"
427
- >
428
- <div
429
- className="pf-c-multiple-file-upload__status-progress-icon"
430
- />
431
- <div
432
- className="pf-c-multiple-file-upload__status-item-progress-text"
433
- />
434
- </div>
435
- </span>
436
- </button>
437
- <div
438
- className="pf-c-expandable-section__content"
439
- hidden={false}
440
- id=""
236
+ class="pf-c-multiple-file-upload__status-progress-icon"
237
+ />
238
+ <div
239
+ class="pf-c-multiple-file-upload__status-item-progress-text"
240
+ />
241
+ </div>
242
+ </span>
243
+ </button>
244
+ <div
245
+ class="pf-c-expandable-section__content"
246
+ id=""
247
+ >
248
+ <ul
249
+ class="pf-c-multiple-file-upload__status-list"
441
250
  >
442
- <ul
443
- className="pf-c-multiple-file-upload__status-list"
444
- >
445
- Foo
446
- </ul>
447
- </div>
251
+ Foo
252
+ </ul>
448
253
  </div>
449
- </ExpandableSection>
254
+ </div>
450
255
  </div>
451
- </MultipleFileUploadStatus>
256
+ </DocumentFragment>
452
257
  `;