@pie-lib/config-ui 11.30.3-next.0 → 11.30.3-next.155

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 (120) hide show
  1. package/CHANGELOG.md +7 -78
  2. package/esm/package.json +3 -0
  3. package/lib/alert-dialog.js +35 -42
  4. package/lib/alert-dialog.js.map +1 -1
  5. package/lib/checkbox.js +56 -71
  6. package/lib/checkbox.js.map +1 -1
  7. package/lib/choice-configuration/feedback-menu.js +29 -64
  8. package/lib/choice-configuration/feedback-menu.js.map +1 -1
  9. package/lib/choice-configuration/index.js +202 -262
  10. package/lib/choice-configuration/index.js.map +1 -1
  11. package/lib/choice-utils.js +6 -18
  12. package/lib/choice-utils.js.map +1 -1
  13. package/lib/feedback-config/feedback-selector.js +79 -115
  14. package/lib/feedback-config/feedback-selector.js.map +1 -1
  15. package/lib/feedback-config/group.js +26 -40
  16. package/lib/feedback-config/group.js.map +1 -1
  17. package/lib/feedback-config/index.js +47 -90
  18. package/lib/feedback-config/index.js.map +1 -1
  19. package/lib/form-section.js +31 -33
  20. package/lib/form-section.js.map +1 -1
  21. package/lib/help.js +39 -80
  22. package/lib/help.js.map +1 -1
  23. package/lib/index.js +1 -31
  24. package/lib/index.js.map +1 -1
  25. package/lib/input.js +21 -54
  26. package/lib/input.js.map +1 -1
  27. package/lib/inputs.js +61 -95
  28. package/lib/inputs.js.map +1 -1
  29. package/lib/langs.js +58 -101
  30. package/lib/langs.js.map +1 -1
  31. package/lib/layout/config-layout.js +40 -70
  32. package/lib/layout/config-layout.js.map +1 -1
  33. package/lib/layout/index.js +0 -3
  34. package/lib/layout/index.js.map +1 -1
  35. package/lib/layout/layout-contents.js +72 -103
  36. package/lib/layout/layout-contents.js.map +1 -1
  37. package/lib/layout/settings-box.js +27 -56
  38. package/lib/layout/settings-box.js.map +1 -1
  39. package/lib/mui-box/index.js +41 -57
  40. package/lib/mui-box/index.js.map +1 -1
  41. package/lib/number-text-field-custom.js +79 -161
  42. package/lib/number-text-field-custom.js.map +1 -1
  43. package/lib/number-text-field.js +80 -114
  44. package/lib/number-text-field.js.map +1 -1
  45. package/lib/radio-with-label.js +30 -31
  46. package/lib/radio-with-label.js.map +1 -1
  47. package/lib/settings/display-size.js +16 -32
  48. package/lib/settings/display-size.js.map +1 -1
  49. package/lib/settings/index.js +14 -47
  50. package/lib/settings/index.js.map +1 -1
  51. package/lib/settings/panel.js +159 -229
  52. package/lib/settings/panel.js.map +1 -1
  53. package/lib/settings/settings-radio-label.js +28 -30
  54. package/lib/settings/settings-radio-label.js.map +1 -1
  55. package/lib/settings/toggle.js +35 -46
  56. package/lib/settings/toggle.js.map +1 -1
  57. package/lib/tabs/index.js +22 -57
  58. package/lib/tabs/index.js.map +1 -1
  59. package/lib/tags-input/index.js +50 -99
  60. package/lib/tags-input/index.js.map +1 -1
  61. package/lib/two-choice.js +46 -90
  62. package/lib/two-choice.js.map +1 -1
  63. package/lib/with-stateful-model.js +8 -31
  64. package/lib/with-stateful-model.js.map +1 -1
  65. package/package.json +20 -12
  66. package/src/__tests__/alert-dialog.test.jsx +283 -0
  67. package/src/__tests__/checkbox.test.jsx +249 -0
  68. package/src/__tests__/form-section.test.jsx +334 -0
  69. package/src/__tests__/help.test.jsx +184 -0
  70. package/src/__tests__/input.test.jsx +192 -0
  71. package/src/__tests__/langs.test.jsx +435 -15
  72. package/src/__tests__/number-text-field-custom.test.jsx +438 -0
  73. package/src/__tests__/number-text-field.test.jsx +295 -102
  74. package/src/__tests__/radio-with-label.test.jsx +259 -0
  75. package/src/__tests__/settings-panel.test.js +66 -83
  76. package/src/__tests__/settings.test.jsx +515 -0
  77. package/src/__tests__/tabs.test.jsx +193 -0
  78. package/src/__tests__/two-choice.test.js +104 -18
  79. package/src/__tests__/with-stateful-model.test.jsx +145 -0
  80. package/src/alert-dialog.jsx +21 -19
  81. package/src/checkbox.jsx +42 -46
  82. package/src/choice-configuration/__tests__/feedback-menu.test.jsx +157 -4
  83. package/src/choice-configuration/__tests__/index.test.jsx +198 -56
  84. package/src/choice-configuration/feedback-menu.jsx +6 -6
  85. package/src/choice-configuration/index.jsx +201 -196
  86. package/src/feedback-config/__tests__/feedback-config.test.jsx +130 -60
  87. package/src/feedback-config/__tests__/feedback-selector.test.jsx +87 -40
  88. package/src/feedback-config/feedback-selector.jsx +52 -53
  89. package/src/feedback-config/group.jsx +21 -22
  90. package/src/feedback-config/index.jsx +27 -29
  91. package/src/form-section.jsx +26 -18
  92. package/src/help.jsx +20 -28
  93. package/src/input.jsx +1 -1
  94. package/src/inputs.jsx +34 -50
  95. package/src/langs.jsx +41 -46
  96. package/src/layout/__tests__/config.layout.test.jsx +55 -38
  97. package/src/layout/config-layout.jsx +38 -32
  98. package/src/layout/layout-contents.jsx +38 -39
  99. package/src/layout/settings-box.jsx +16 -19
  100. package/src/mui-box/index.jsx +35 -43
  101. package/src/number-text-field-custom.jsx +30 -36
  102. package/src/number-text-field.jsx +45 -29
  103. package/src/radio-with-label.jsx +25 -13
  104. package/src/settings/display-size.jsx +12 -11
  105. package/src/settings/panel.jsx +97 -91
  106. package/src/settings/settings-radio-label.jsx +25 -13
  107. package/src/settings/toggle.jsx +30 -29
  108. package/src/tabs/index.jsx +8 -8
  109. package/src/tags-input/__tests__/index.test.jsx +88 -37
  110. package/src/tags-input/index.jsx +35 -38
  111. package/src/two-choice.jsx +15 -19
  112. package/src/__tests__/__snapshots__/langs.test.jsx.snap +0 -32
  113. package/src/__tests__/__snapshots__/settings-panel.test.js.snap +0 -115
  114. package/src/__tests__/__snapshots__/two-choice.test.js.snap +0 -171
  115. package/src/choice-configuration/__tests__/__snapshots__/feedback-menu.test.jsx.snap +0 -51
  116. package/src/choice-configuration/__tests__/__snapshots__/index.test.jsx.snap +0 -519
  117. package/src/feedback-config/__tests__/__snapshots__/feedback-config.test.jsx.snap +0 -27
  118. package/src/feedback-config/__tests__/__snapshots__/feedback-selector.test.jsx.snap +0 -38
  119. package/src/layout/__tests__/__snapshots__/config.layout.test.jsx.snap +0 -59
  120. package/src/tags-input/__tests__/__snapshots__/index.test.jsx.snap +0 -170
@@ -1,519 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`index - snapshot renders correctly when delete is not allowed 1`] = `
4
- <div
5
- className="choiceConfiguration"
6
- >
7
- <div>
8
- <div
9
- className="MuiFormControl-root-6 RawInputContainer-formControl-4"
10
- >
11
- <label
12
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
13
- data-shrink={true}
14
- >
15
- Correct
16
- </label>
17
- <span
18
- aria-label="Correct"
19
- className="MuiButtonBase-root-43 MuiIconButton-root-37 MuiPrivateSwitchBase-root-33 MuiRadio-root-28 MuiRadio-colorSecondary-32 RawInputRadio-radioRoot-1 RawInputRadio-customColor-3"
20
- onBlur={[Function]}
21
- onContextMenu={[Function]}
22
- onFocus={[Function]}
23
- onKeyDown={[Function]}
24
- onKeyUp={[Function]}
25
- onMouseDown={[Function]}
26
- onMouseLeave={[Function]}
27
- onMouseUp={[Function]}
28
- onTouchEnd={[Function]}
29
- onTouchMove={[Function]}
30
- onTouchStart={[Function]}
31
- tabIndex={null}
32
- >
33
- <span
34
- className="MuiIconButton-label-42"
35
- >
36
- <svg
37
- aria-hidden="true"
38
- className="MuiSvgIcon-root-46"
39
- focusable="false"
40
- role="presentation"
41
- viewBox="0 0 24 24"
42
- >
43
- <path
44
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
45
- />
46
- </svg>
47
- <input
48
- checked={false}
49
- className="MuiPrivateSwitchBase-input-36"
50
- disabled={false}
51
- onChange={[Function]}
52
- type="radio"
53
- />
54
- </span>
55
- <span
56
- className="MuiTouchRipple-root-64"
57
- />
58
- </span>
59
- </div>
60
- <div>
61
- <div
62
- className="MuiFormControl-root-6 RawInputContainer-formControl-4 Component-labelContainer-55"
63
- >
64
- <label
65
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
66
- data-shrink={true}
67
- >
68
- Label
69
- </label>
70
- <div
71
- className="Component-editorHolder-56"
72
- >
73
- <div />
74
- </div>
75
- </div>
76
- <div
77
- className="Component-feedbackContainer-58"
78
- >
79
- <svg
80
- aria-hidden="true"
81
- className="MuiSvgIcon-root-46 Component-arrowIcon-59"
82
- focusable="false"
83
- role="presentation"
84
- viewBox="0 0 24 24"
85
- >
86
- <path
87
- d="M0 0h24v24H0V0z"
88
- fill="none"
89
- />
90
- <path
91
- d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"
92
- />
93
- </svg>
94
- <div
95
- className="MuiFormControl-root-6 RawInputContainer-formControl-4 Component-labelContainer-55 Component-text-57"
96
- >
97
- <label
98
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
99
- data-shrink={true}
100
- >
101
- Feedback Text
102
- </label>
103
- <div
104
- className="Component-editorHolder-56"
105
- >
106
- <div />
107
- </div>
108
- </div>
109
- </div>
110
- </div>
111
- <div
112
- className="MuiFormControl-root-6 RawInputContainer-formControl-4"
113
- >
114
- <label
115
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
116
- data-shrink={true}
117
- >
118
- Feedback
119
- </label>
120
- <div>
121
- <div
122
- onClick={[Function]}
123
- >
124
- <button
125
- aria-label="Custom Feedback"
126
- className="MuiButtonBase-root-43 MuiIconButton-root-37"
127
- disabled={false}
128
- onBlur={[Function]}
129
- onContextMenu={[Function]}
130
- onFocus={[Function]}
131
- onKeyDown={[Function]}
132
- onKeyUp={[Function]}
133
- onMouseDown={[Function]}
134
- onMouseLeave={[Function]}
135
- onMouseUp={[Function]}
136
- onTouchEnd={[Function]}
137
- onTouchMove={[Function]}
138
- onTouchStart={[Function]}
139
- tabIndex="0"
140
- type="button"
141
- >
142
- <span
143
- className="MuiIconButton-label-42"
144
- >
145
- <svg
146
- aria-hidden="true"
147
- className="MuiSvgIcon-root-46 MuiSvgIcon-colorPrimary-47"
148
- focusable="false"
149
- role="presentation"
150
- viewBox="0 0 24 24"
151
- >
152
- <path
153
- d="M0 0h24v24H0z"
154
- fill="none"
155
- />
156
- <path
157
- d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"
158
- />
159
- </svg>
160
- </span>
161
- <span
162
- className="MuiTouchRipple-root-64"
163
- />
164
- </button>
165
- </div>
166
- </div>
167
- </div>
168
- </div>
169
- </div>
170
- `;
171
-
172
- exports[`index - snapshot renders correctly when feedback is not allowed 1`] = `
173
- <div
174
- className="choiceConfiguration"
175
- >
176
- <div>
177
- <div
178
- className="MuiFormControl-root-6 RawInputContainer-formControl-4"
179
- >
180
- <label
181
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
182
- data-shrink={true}
183
- >
184
- Correct
185
- </label>
186
- <span
187
- aria-label="Correct"
188
- className="MuiButtonBase-root-43 MuiIconButton-root-37 MuiPrivateSwitchBase-root-33 MuiRadio-root-28 MuiRadio-colorSecondary-32 RawInputRadio-radioRoot-1 RawInputRadio-customColor-3"
189
- onBlur={[Function]}
190
- onContextMenu={[Function]}
191
- onFocus={[Function]}
192
- onKeyDown={[Function]}
193
- onKeyUp={[Function]}
194
- onMouseDown={[Function]}
195
- onMouseLeave={[Function]}
196
- onMouseUp={[Function]}
197
- onTouchEnd={[Function]}
198
- onTouchMove={[Function]}
199
- onTouchStart={[Function]}
200
- tabIndex={null}
201
- >
202
- <span
203
- className="MuiIconButton-label-42"
204
- >
205
- <svg
206
- aria-hidden="true"
207
- className="MuiSvgIcon-root-46"
208
- focusable="false"
209
- role="presentation"
210
- viewBox="0 0 24 24"
211
- >
212
- <path
213
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
214
- />
215
- </svg>
216
- <input
217
- checked={false}
218
- className="MuiPrivateSwitchBase-input-36"
219
- disabled={false}
220
- onChange={[Function]}
221
- type="radio"
222
- />
223
- </span>
224
- <span
225
- className="MuiTouchRipple-root-64"
226
- />
227
- </span>
228
- </div>
229
- <div>
230
- <div
231
- className="MuiFormControl-root-6 RawInputContainer-formControl-4 Component-labelContainer-55"
232
- >
233
- <label
234
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
235
- data-shrink={true}
236
- >
237
- Label
238
- </label>
239
- <div
240
- className="Component-editorHolder-56"
241
- >
242
- <div />
243
- </div>
244
- </div>
245
- </div>
246
- <div
247
- className="MuiFormControl-root-6 RawInputContainer-formControl-4"
248
- >
249
- <label
250
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
251
- data-shrink={true}
252
- >
253
- Delete
254
- </label>
255
- <button
256
- aria-label="delete"
257
- className="MuiButtonBase-root-43 MuiIconButton-root-37"
258
- disabled={false}
259
- onBlur={[Function]}
260
- onContextMenu={[Function]}
261
- onFocus={[Function]}
262
- onKeyDown={[Function]}
263
- onKeyUp={[Function]}
264
- onMouseDown={[Function]}
265
- onMouseLeave={[Function]}
266
- onMouseUp={[Function]}
267
- onTouchEnd={[Function]}
268
- onTouchMove={[Function]}
269
- onTouchStart={[Function]}
270
- tabIndex="0"
271
- type="button"
272
- >
273
- <span
274
- className="MuiIconButton-label-42"
275
- >
276
- <svg
277
- aria-hidden="true"
278
- className="MuiSvgIcon-root-46"
279
- focusable="false"
280
- role="presentation"
281
- viewBox="0 0 24 24"
282
- >
283
- <path
284
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
285
- />
286
- <path
287
- d="M0 0h24v24H0z"
288
- fill="none"
289
- />
290
- </svg>
291
- </span>
292
- <span
293
- className="MuiTouchRipple-root-64"
294
- />
295
- </button>
296
- </div>
297
- </div>
298
- </div>
299
- `;
300
-
301
- exports[`index - snapshot renders correctly with default props 1`] = `
302
- <div
303
- className="choiceConfiguration"
304
- >
305
- <div>
306
- <div
307
- className="MuiFormControl-root-6 RawInputContainer-formControl-4"
308
- >
309
- <label
310
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
311
- data-shrink={true}
312
- >
313
- Correct
314
- </label>
315
- <span
316
- aria-label="Correct"
317
- className="MuiButtonBase-root-43 MuiIconButton-root-37 MuiPrivateSwitchBase-root-33 MuiRadio-root-28 MuiRadio-colorSecondary-32 RawInputRadio-radioRoot-1 RawInputRadio-customColor-3"
318
- onBlur={[Function]}
319
- onContextMenu={[Function]}
320
- onFocus={[Function]}
321
- onKeyDown={[Function]}
322
- onKeyUp={[Function]}
323
- onMouseDown={[Function]}
324
- onMouseLeave={[Function]}
325
- onMouseUp={[Function]}
326
- onTouchEnd={[Function]}
327
- onTouchMove={[Function]}
328
- onTouchStart={[Function]}
329
- tabIndex={null}
330
- >
331
- <span
332
- className="MuiIconButton-label-42"
333
- >
334
- <svg
335
- aria-hidden="true"
336
- className="MuiSvgIcon-root-46"
337
- focusable="false"
338
- role="presentation"
339
- viewBox="0 0 24 24"
340
- >
341
- <path
342
- d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
343
- />
344
- </svg>
345
- <input
346
- checked={false}
347
- className="MuiPrivateSwitchBase-input-36"
348
- disabled={false}
349
- onChange={[Function]}
350
- type="radio"
351
- />
352
- </span>
353
- <span
354
- className="MuiTouchRipple-root-64"
355
- />
356
- </span>
357
- </div>
358
- <div>
359
- <div
360
- className="MuiFormControl-root-6 RawInputContainer-formControl-4 Component-labelContainer-55"
361
- >
362
- <label
363
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
364
- data-shrink={true}
365
- >
366
- Label
367
- </label>
368
- <div
369
- className="Component-editorHolder-56"
370
- >
371
- <div />
372
- </div>
373
- </div>
374
- <div
375
- className="Component-feedbackContainer-58"
376
- >
377
- <svg
378
- aria-hidden="true"
379
- className="MuiSvgIcon-root-46 Component-arrowIcon-59"
380
- focusable="false"
381
- role="presentation"
382
- viewBox="0 0 24 24"
383
- >
384
- <path
385
- d="M0 0h24v24H0V0z"
386
- fill="none"
387
- />
388
- <path
389
- d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"
390
- />
391
- </svg>
392
- <div
393
- className="MuiFormControl-root-6 RawInputContainer-formControl-4 Component-labelContainer-55 Component-text-57"
394
- >
395
- <label
396
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
397
- data-shrink={true}
398
- >
399
- Feedback Text
400
- </label>
401
- <div
402
- className="Component-editorHolder-56"
403
- >
404
- <div />
405
- </div>
406
- </div>
407
- </div>
408
- </div>
409
- <div
410
- className="MuiFormControl-root-6 RawInputContainer-formControl-4"
411
- >
412
- <label
413
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
414
- data-shrink={true}
415
- >
416
- Feedback
417
- </label>
418
- <div>
419
- <div
420
- onClick={[Function]}
421
- >
422
- <button
423
- aria-label="Custom Feedback"
424
- className="MuiButtonBase-root-43 MuiIconButton-root-37"
425
- disabled={false}
426
- onBlur={[Function]}
427
- onContextMenu={[Function]}
428
- onFocus={[Function]}
429
- onKeyDown={[Function]}
430
- onKeyUp={[Function]}
431
- onMouseDown={[Function]}
432
- onMouseLeave={[Function]}
433
- onMouseUp={[Function]}
434
- onTouchEnd={[Function]}
435
- onTouchMove={[Function]}
436
- onTouchStart={[Function]}
437
- tabIndex="0"
438
- type="button"
439
- >
440
- <span
441
- className="MuiIconButton-label-42"
442
- >
443
- <svg
444
- aria-hidden="true"
445
- className="MuiSvgIcon-root-46 MuiSvgIcon-colorPrimary-47"
446
- focusable="false"
447
- role="presentation"
448
- viewBox="0 0 24 24"
449
- >
450
- <path
451
- d="M0 0h24v24H0z"
452
- fill="none"
453
- />
454
- <path
455
- d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"
456
- />
457
- </svg>
458
- </span>
459
- <span
460
- className="MuiTouchRipple-root-64"
461
- />
462
- </button>
463
- </div>
464
- </div>
465
- </div>
466
- <div
467
- className="MuiFormControl-root-6 RawInputContainer-formControl-4"
468
- >
469
- <label
470
- className="MuiFormLabel-root-21 MuiInputLabel-root-10 MuiInputLabel-formControl-15 MuiInputLabel-animated-18 MuiInputLabel-shrink-17 RawInputContainer-label-5"
471
- data-shrink={true}
472
- >
473
- Delete
474
- </label>
475
- <button
476
- aria-label="delete"
477
- className="MuiButtonBase-root-43 MuiIconButton-root-37"
478
- disabled={false}
479
- onBlur={[Function]}
480
- onContextMenu={[Function]}
481
- onFocus={[Function]}
482
- onKeyDown={[Function]}
483
- onKeyUp={[Function]}
484
- onMouseDown={[Function]}
485
- onMouseLeave={[Function]}
486
- onMouseUp={[Function]}
487
- onTouchEnd={[Function]}
488
- onTouchMove={[Function]}
489
- onTouchStart={[Function]}
490
- tabIndex="0"
491
- type="button"
492
- >
493
- <span
494
- className="MuiIconButton-label-42"
495
- >
496
- <svg
497
- aria-hidden="true"
498
- className="MuiSvgIcon-root-46"
499
- focusable="false"
500
- role="presentation"
501
- viewBox="0 0 24 24"
502
- >
503
- <path
504
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
505
- />
506
- <path
507
- d="M0 0h24v24H0z"
508
- fill="none"
509
- />
510
- </svg>
511
- </span>
512
- <span
513
- className="MuiTouchRipple-root-64"
514
- />
515
- </button>
516
- </div>
517
- </div>
518
- </div>
519
- `;
@@ -1,27 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`FeedbackConfig render Feedback Config Component snapshot matches the snapshot 1`] = `
4
- <div>
5
- <WithStyles(ExpansionPanel)>
6
- <WithStyles(ExpansionPanelSummary)
7
- expandIcon={<pure(ExpandMoreIcon) />}
8
- >
9
- <WithStyles(Typography)>
10
- Feedback
11
- </WithStyles(Typography)>
12
- </WithStyles(ExpansionPanelSummary)>
13
- <WithStyles(ExpansionPanelDetails)>
14
- <div>
15
- <WithStyles(FeedbackSelector)
16
- label="If correct, show"
17
- onChange={[Function]}
18
- />
19
- <WithStyles(FeedbackSelector)
20
- label="If incorrect, show"
21
- onChange={[Function]}
22
- />
23
- </div>
24
- </WithStyles(ExpansionPanelDetails)>
25
- </WithStyles(ExpansionPanel)>
26
- </div>
27
- `;
@@ -1,38 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`feedback-selector snapshot renders 1`] = `
4
- <div>
5
- <WithStyles(RawInputContainer)
6
- extraClasses={
7
- Object {
8
- "label": undefined,
9
- }
10
- }
11
- label="foo"
12
- >
13
- <WithStyles(Group)
14
- feedbackLabels={
15
- Object {
16
- "custom": "Customized Feedback",
17
- "default": "Simple Feedback",
18
- "none": "No Feedback",
19
- }
20
- }
21
- keys={
22
- Array [
23
- "default",
24
- "none",
25
- "custom",
26
- ]
27
- }
28
- label="foo"
29
- onChange={[Function]}
30
- value="default"
31
- />
32
- </WithStyles(RawInputContainer)>
33
- <div>
34
-
35
- hi
36
- </div>
37
- </div>
38
- `;
@@ -1,59 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`layout - snapshot renders correctly with a side panel 1`] = `
4
- <WithContentRect
5
- classes={
6
- Object {
7
- "extraCSSRules": "WithContentRect-extraCSSRules-1",
8
- }
9
- }
10
- settings={
11
- <div>
12
- <div>
13
- Foo
14
- </div>
15
- <div>
16
- Bar
17
- </div>
18
- </div>
19
- }
20
- >
21
- <div>
22
- <div>
23
- Foo
24
- </div>
25
- <div>
26
- Bar
27
- </div>
28
- </div>
29
- </WithContentRect>
30
- `;
31
-
32
- exports[`layout - snapshot renders correctly without a side panel 1`] = `
33
- <WithContentRect
34
- classes={
35
- Object {
36
- "extraCSSRules": "WithContentRect-extraCSSRules-1",
37
- }
38
- }
39
- settings={
40
- <div>
41
- <div>
42
- Foo
43
- </div>
44
- <div>
45
- Bar
46
- </div>
47
- </div>
48
- }
49
- >
50
- <div>
51
- <div>
52
- Foo
53
- </div>
54
- <div>
55
- Bar
56
- </div>
57
- </div>
58
- </WithContentRect>
59
- `;