Debian Codegraph @

packages/chakra-ui/test/__snapshots__/Object.test.tsx.snap

raw
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`object fields additionalProperties 1`] = `
4 .emotion-1 {
5 display: grid;
6 grid-gap: 6px;
7 margin-bottom: 4px;
8 }
9
10 .emotion-3 {
11 display: grid;
12 grid-gap: 2px;
13 -webkit-align-items: center;
14 -webkit-box-align: center;
15 -ms-flex-align: center;
16 align-items: center;
17 }
18
19 .emotion-6 {
20 display: block;
21 text-align: start;
22 }
23
24 .emotion-7 {
25 margin-bottom: 1px;
26 }
27
28 .emotion-14 {
29 display: -webkit-inline-box;
30 display: -webkit-inline-flex;
31 display: -ms-inline-flexbox;
32 display: inline-flex;
33 -webkit-appearance: none;
34 -moz-appearance: none;
35 -ms-appearance: none;
36 appearance: none;
37 -webkit-align-items: center;
38 -webkit-box-align: center;
39 -ms-flex-align: center;
40 align-items: center;
41 -webkit-box-pack: center;
42 -ms-flex-pack: center;
43 -webkit-justify-content: center;
44 justify-content: center;
45 -webkit-user-select: none;
46 -moz-user-select: none;
47 -ms-user-select: none;
48 user-select: none;
49 position: relative;
50 white-space: nowrap;
51 vertical-align: middle;
52 outline: 2px solid transparent;
53 outline-offset: 2px;
54 width: auto;
55 padding: 0px;
56 }
57
58 .emotion-15 {
59 width: 1em;
60 height: 1em;
61 display: inline-block;
62 line-height: 1em;
63 -webkit-flex-shrink: 0;
64 -ms-flex-negative: 0;
65 flex-shrink: 0;
66 color: currentColor;
67 vertical-align: middle;
68 }
69
70 .emotion-16 {
71 justify-self: flex-end;
72 }
73
74 .emotion-17 {
75 display: -webkit-inline-box;
76 display: -webkit-inline-flex;
77 display: -ms-inline-flexbox;
78 display: inline-flex;
79 -webkit-appearance: none;
80 -moz-appearance: none;
81 -ms-appearance: none;
82 appearance: none;
83 -webkit-align-items: center;
84 -webkit-box-align: center;
85 -ms-flex-align: center;
86 align-items: center;
87 -webkit-box-pack: center;
88 -ms-flex-pack: center;
89 -webkit-justify-content: center;
90 justify-content: center;
91 -webkit-user-select: none;
92 -moz-user-select: none;
93 -ms-user-select: none;
94 user-select: none;
95 position: relative;
96 white-space: nowrap;
97 vertical-align: middle;
98 outline: 2px solid transparent;
99 outline-offset: 2px;
100 width: auto;
101 }
102
103 .emotion-18 {
104 display: -webkit-inline-box;
105 display: -webkit-inline-flex;
106 display: -ms-inline-flexbox;
107 display: inline-flex;
108 -webkit-align-self: center;
109 -ms-flex-item-align: center;
110 align-self: center;
111 -webkit-flex-shrink: 0;
112 -ms-flex-negative: 0;
113 flex-shrink: 0;
114 -webkit-margin-end: 0.5rem;
115 margin-inline-end: 0.5rem;
116 }
117
118 .emotion-20 {
119 margin-top: 3px;
120 }
121
122 <form
123 className="rjsf"
124 noValidate={false}
125 onSubmit={[Function]}
126 >
127 <div
128 className="form-group field field-object"
129 >
130 <div
131 className="chakra-form-control emotion-0"
132 role="group"
133 >
134
135 <div
136 className="emotion-1"
137 >
138 <div
139 className="emotion-0"
140 >
141 <div
142 className="form-group field field-string emotion-3"
143 >
144 <div
145 className="emotion-0"
146 >
147 <div
148 className="chakra-form-control emotion-0"
149 role="group"
150 >
151 <label
152 className="chakra-form__label emotion-6"
153 htmlFor="root_foo-key"
154 id="root_foo-key-label"
155 >
156 foo Key
157 </label>
158 <input
159 className="chakra-input emotion-7"
160 defaultValue="foo"
161 disabled={false}
162 id="root_foo-key"
163 name="root_foo-key"
164 onBlur={[Function]}
165 onFocus={[Function]}
166 readOnly={false}
167 required={false}
168 type="text"
169 />
170 </div>
171 </div>
172 <div
173 className="emotion-0"
174 >
175 <div
176 className="chakra-form-control emotion-0"
177 role="group"
178 >
179 <div
180 className="chakra-form-control emotion-7"
181 role="group"
182 >
183 <label
184 className="chakra-form__label emotion-6"
185 htmlFor="root_foo"
186 id="root_foo-label"
187 >
188 foo
189 </label>
190 <input
191 aria-describedby="root_foo__error root_foo__description root_foo__help"
192 autoFocus={false}
193 className="chakra-input emotion-0"
194 disabled={false}
195 id="root_foo"
196 name="root_foo"
197 onBlur={[Function]}
198 onChange={[Function]}
199 onFocus={[Function]}
200 placeholder=""
201 readOnly={false}
202 required={false}
203 type="text"
204 value="foo"
205 />
206 </div>
207 </div>
208 </div>
209 <div
210 className="emotion-0"
211 >
212 <button
213 aria-label="Remove"
214 className="chakra-button emotion-14"
215 disabled={false}
216 onClick={[Function]}
217 title="Remove"
218 type="button"
219 >
220 <svg
221 aria-hidden={true}
222 className="chakra-icon emotion-15"
223 focusable={false}
224 viewBox="0 0 24 24"
225 >
226 <g
227 fill="currentColor"
228 >
229 <path
230 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
231 />
232 </g>
233 </svg>
234 </button>
235 </div>
236 </div>
237 </div>
238 <div
239 className="emotion-16"
240 >
241 <button
242 className="chakra-button object-property-expand emotion-17"
243 disabled={false}
244 onClick={[Function]}
245 type="button"
246 >
247 <span
248 className="chakra-button__icon emotion-18"
249 >
250 <svg
251 aria-hidden={true}
252 className="chakra-icon emotion-15"
253 focusable={false}
254 viewBox="0 0 24 24"
255 >
256 <path
257 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
258 fill="currentColor"
259 />
260 </svg>
261 </span>
262 Add Item
263 </button>
264 </div>
265 </div>
266 </div>
267 </div>
268 <div
269 className="emotion-20"
270 >
271 <button
272 className="chakra-button emotion-17"
273 disabled={false}
274 type="submit"
275 >
276 Submit
277 </button>
278 </div>
279 </form>
280 `;
281
282 exports[`object fields object 1`] = `
283 .emotion-1 {
284 display: grid;
285 grid-gap: 6px;
286 margin-bottom: 4px;
287 }
288
289 .emotion-4 {
290 margin-bottom: 1px;
291 }
292
293 .emotion-5 {
294 display: block;
295 text-align: start;
296 }
297
298 .emotion-12 {
299 margin-top: 3px;
300 }
301
302 .emotion-13 {
303 display: -webkit-inline-box;
304 display: -webkit-inline-flex;
305 display: -ms-inline-flexbox;
306 display: inline-flex;
307 -webkit-appearance: none;
308 -moz-appearance: none;
309 -ms-appearance: none;
310 appearance: none;
311 -webkit-align-items: center;
312 -webkit-box-align: center;
313 -ms-flex-align: center;
314 align-items: center;
315 -webkit-box-pack: center;
316 -ms-flex-pack: center;
317 -webkit-justify-content: center;
318 justify-content: center;
319 -webkit-user-select: none;
320 -moz-user-select: none;
321 -ms-user-select: none;
322 user-select: none;
323 position: relative;
324 white-space: nowrap;
325 vertical-align: middle;
326 outline: 2px solid transparent;
327 outline-offset: 2px;
328 width: auto;
329 }
330
331 <form
332 className="rjsf"
333 noValidate={false}
334 onSubmit={[Function]}
335 >
336 <div
337 className="form-group field field-object"
338 >
339 <div
340 className="chakra-form-control emotion-0"
341 role="group"
342 >
343
344 <div
345 className="emotion-1"
346 >
347 <div
348 className="emotion-0"
349 >
350 <div
351 className="form-group field field-string"
352 >
353 <div
354 className="chakra-form-control emotion-0"
355 role="group"
356 >
357 <div
358 className="chakra-form-control emotion-4"
359 role="group"
360 >
361 <label
362 className="chakra-form__label emotion-5"
363 htmlFor="root_a"
364 id="root_a-label"
365 >
366 A
367 </label>
368 <input
369 aria-describedby="root_a__error root_a__description root_a__help"
370 autoFocus={false}
371 className="chakra-input emotion-0"
372 disabled={false}
373 id="root_a"
374 name="root_a"
375 onBlur={[Function]}
376 onChange={[Function]}
377 onFocus={[Function]}
378 placeholder=""
379 readOnly={false}
380 required={false}
381 type="text"
382 value=""
383 />
384 </div>
385 </div>
386 </div>
387 </div>
388 <div
389 className="emotion-0"
390 >
391 <div
392 className="form-group field field-number"
393 >
394 <div
395 className="chakra-form-control emotion-0"
396 role="group"
397 >
398 <div
399 className="chakra-form-control emotion-4"
400 role="group"
401 >
402 <label
403 className="chakra-form__label emotion-5"
404 htmlFor="root_b"
405 id="root_b-label"
406 >
407 B
408 </label>
409 <input
410 aria-describedby="root_b__error root_b__description root_b__help"
411 autoFocus={false}
412 className="chakra-input emotion-0"
413 disabled={false}
414 id="root_b"
415 name="root_b"
416 onBlur={[Function]}
417 onChange={[Function]}
418 onFocus={[Function]}
419 placeholder=""
420 readOnly={false}
421 required={false}
422 step="any"
423 type="number"
424 value=""
425 />
426 </div>
427 </div>
428 </div>
429 </div>
430 </div>
431 </div>
432 </div>
433 <div
434 className="emotion-12"
435 >
436 <button
437 className="chakra-button emotion-13"
438 disabled={false}
439 type="submit"
440 >
441 Submit
442 </button>
443 </div>
444 </form>
445 `;
446
447 exports[`object fields show add button and fields if additionalProperties is true and not an object 1`] = `
448 .emotion-1 {
449 display: grid;
450 grid-gap: 6px;
451 margin-bottom: 4px;
452 }
453
454 .emotion-3 {
455 display: grid;
456 grid-gap: 2px;
457 -webkit-align-items: center;
458 -webkit-box-align: center;
459 -ms-flex-align: center;
460 align-items: center;
461 }
462
463 .emotion-6 {
464 display: block;
465 text-align: start;
466 }
467
468 .emotion-7 {
469 margin-bottom: 1px;
470 }
471
472 .emotion-14 {
473 display: -webkit-inline-box;
474 display: -webkit-inline-flex;
475 display: -ms-inline-flexbox;
476 display: inline-flex;
477 -webkit-appearance: none;
478 -moz-appearance: none;
479 -ms-appearance: none;
480 appearance: none;
481 -webkit-align-items: center;
482 -webkit-box-align: center;
483 -ms-flex-align: center;
484 align-items: center;
485 -webkit-box-pack: center;
486 -ms-flex-pack: center;
487 -webkit-justify-content: center;
488 justify-content: center;
489 -webkit-user-select: none;
490 -moz-user-select: none;
491 -ms-user-select: none;
492 user-select: none;
493 position: relative;
494 white-space: nowrap;
495 vertical-align: middle;
496 outline: 2px solid transparent;
497 outline-offset: 2px;
498 width: auto;
499 padding: 0px;
500 }
501
502 .emotion-15 {
503 width: 1em;
504 height: 1em;
505 display: inline-block;
506 line-height: 1em;
507 -webkit-flex-shrink: 0;
508 -ms-flex-negative: 0;
509 flex-shrink: 0;
510 color: currentColor;
511 vertical-align: middle;
512 }
513
514 .emotion-16 {
515 justify-self: flex-end;
516 }
517
518 .emotion-17 {
519 display: -webkit-inline-box;
520 display: -webkit-inline-flex;
521 display: -ms-inline-flexbox;
522 display: inline-flex;
523 -webkit-appearance: none;
524 -moz-appearance: none;
525 -ms-appearance: none;
526 appearance: none;
527 -webkit-align-items: center;
528 -webkit-box-align: center;
529 -ms-flex-align: center;
530 align-items: center;
531 -webkit-box-pack: center;
532 -ms-flex-pack: center;
533 -webkit-justify-content: center;
534 justify-content: center;
535 -webkit-user-select: none;
536 -moz-user-select: none;
537 -ms-user-select: none;
538 user-select: none;
539 position: relative;
540 white-space: nowrap;
541 vertical-align: middle;
542 outline: 2px solid transparent;
543 outline-offset: 2px;
544 width: auto;
545 }
546
547 .emotion-18 {
548 display: -webkit-inline-box;
549 display: -webkit-inline-flex;
550 display: -ms-inline-flexbox;
551 display: inline-flex;
552 -webkit-align-self: center;
553 -ms-flex-item-align: center;
554 align-self: center;
555 -webkit-flex-shrink: 0;
556 -ms-flex-negative: 0;
557 flex-shrink: 0;
558 -webkit-margin-end: 0.5rem;
559 margin-inline-end: 0.5rem;
560 }
561
562 .emotion-20 {
563 margin-top: 3px;
564 }
565
566 <form
567 className="rjsf"
568 noValidate={false}
569 onSubmit={[Function]}
570 >
571 <div
572 className="form-group field field-object"
573 >
574 <div
575 className="chakra-form-control emotion-0"
576 role="group"
577 >
578
579 <div
580 className="emotion-1"
581 >
582 <div
583 className="emotion-0"
584 >
585 <div
586 className="form-group field field-string emotion-3"
587 >
588 <div
589 className="emotion-0"
590 >
591 <div
592 className="chakra-form-control emotion-0"
593 role="group"
594 >
595 <label
596 className="chakra-form__label emotion-6"
597 htmlFor="root_additionalProperty-key"
598 id="root_additionalProperty-key-label"
599 >
600 additionalProperty Key
601 </label>
602 <input
603 className="chakra-input emotion-7"
604 defaultValue="additionalProperty"
605 disabled={false}
606 id="root_additionalProperty-key"
607 name="root_additionalProperty-key"
608 onBlur={[Function]}
609 onFocus={[Function]}
610 readOnly={false}
611 required={false}
612 type="text"
613 />
614 </div>
615 </div>
616 <div
617 className="emotion-0"
618 >
619 <div
620 className="chakra-form-control emotion-0"
621 role="group"
622 >
623 <div
624 className="chakra-form-control emotion-7"
625 role="group"
626 >
627 <label
628 className="chakra-form__label emotion-6"
629 htmlFor="root_additionalProperty"
630 id="root_additionalProperty-label"
631 >
632 additionalProperty
633 </label>
634 <input
635 aria-describedby="root_additionalProperty__error root_additionalProperty__description root_additionalProperty__help"
636 autoFocus={false}
637 className="chakra-input emotion-0"
638 disabled={false}
639 id="root_additionalProperty"
640 name="root_additionalProperty"
641 onBlur={[Function]}
642 onChange={[Function]}
643 onFocus={[Function]}
644 placeholder=""
645 readOnly={false}
646 required={false}
647 type="text"
648 value="should appear"
649 />
650 </div>
651 </div>
652 </div>
653 <div
654 className="emotion-0"
655 >
656 <button
657 aria-label="Remove"
658 className="chakra-button emotion-14"
659 disabled={false}
660 onClick={[Function]}
661 title="Remove"
662 type="button"
663 >
664 <svg
665 aria-hidden={true}
666 className="chakra-icon emotion-15"
667 focusable={false}
668 viewBox="0 0 24 24"
669 >
670 <g
671 fill="currentColor"
672 >
673 <path
674 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
675 />
676 </g>
677 </svg>
678 </button>
679 </div>
680 </div>
681 </div>
682 <div
683 className="emotion-16"
684 >
685 <button
686 className="chakra-button object-property-expand emotion-17"
687 disabled={false}
688 onClick={[Function]}
689 type="button"
690 >
691 <span
692 className="chakra-button__icon emotion-18"
693 >
694 <svg
695 aria-hidden={true}
696 className="chakra-icon emotion-15"
697 focusable={false}
698 viewBox="0 0 24 24"
699 >
700 <path
701 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
702 fill="currentColor"
703 />
704 </svg>
705 </span>
706 Add Item
707 </button>
708 </div>
709 </div>
710 </div>
711 </div>
712 <div
713 className="emotion-20"
714 >
715 <button
716 className="chakra-button emotion-17"
717 disabled={false}
718 type="submit"
719 >
720 Submit
721 </button>
722 </div>
723 </form>
724 `;
725
726 exports[`object fields with title and description additionalProperties 1`] = `
727 .emotion-1 {
728 margin-top: 1px;
729 margin-bottom: 4px;
730 }
731
732 .emotion-3 {
733 border: 0;
734 border-bottom-width: 1px;
735 width: 100%;
736 }
737
738 .emotion-4 {
739 margin-top: 2px;
740 margin-bottom: 4px;
741 }
742
743 .emotion-5 {
744 display: grid;
745 grid-gap: 2px;
746 margin-bottom: 4px;
747 }
748
749 .emotion-7 {
750 display: grid;
751 grid-gap: 2px;
752 -webkit-align-items: center;
753 -webkit-box-align: center;
754 -ms-flex-align: center;
755 align-items: center;
756 }
757
758 .emotion-10 {
759 display: block;
760 text-align: start;
761 }
762
763 .emotion-11 {
764 margin-bottom: 1px;
765 }
766
767 .emotion-18 {
768 display: -webkit-inline-box;
769 display: -webkit-inline-flex;
770 display: -ms-inline-flexbox;
771 display: inline-flex;
772 -webkit-appearance: none;
773 -moz-appearance: none;
774 -ms-appearance: none;
775 appearance: none;
776 -webkit-align-items: center;
777 -webkit-box-align: center;
778 -ms-flex-align: center;
779 align-items: center;
780 -webkit-box-pack: center;
781 -ms-flex-pack: center;
782 -webkit-justify-content: center;
783 justify-content: center;
784 -webkit-user-select: none;
785 -moz-user-select: none;
786 -ms-user-select: none;
787 user-select: none;
788 position: relative;
789 white-space: nowrap;
790 vertical-align: middle;
791 outline: 2px solid transparent;
792 outline-offset: 2px;
793 width: auto;
794 padding: 0px;
795 }
796
797 .emotion-19 {
798 width: 1em;
799 height: 1em;
800 display: inline-block;
801 line-height: 1em;
802 -webkit-flex-shrink: 0;
803 -ms-flex-negative: 0;
804 flex-shrink: 0;
805 color: currentColor;
806 vertical-align: middle;
807 }
808
809 .emotion-20 {
810 justify-self: flex-end;
811 }
812
813 .emotion-21 {
814 display: -webkit-inline-box;
815 display: -webkit-inline-flex;
816 display: -ms-inline-flexbox;
817 display: inline-flex;
818 -webkit-appearance: none;
819 -moz-appearance: none;
820 -ms-appearance: none;
821 appearance: none;
822 -webkit-align-items: center;
823 -webkit-box-align: center;
824 -ms-flex-align: center;
825 align-items: center;
826 -webkit-box-pack: center;
827 -ms-flex-pack: center;
828 -webkit-justify-content: center;
829 justify-content: center;
830 -webkit-user-select: none;
831 -moz-user-select: none;
832 -ms-user-select: none;
833 user-select: none;
834 position: relative;
835 white-space: nowrap;
836 vertical-align: middle;
837 outline: 2px solid transparent;
838 outline-offset: 2px;
839 width: auto;
840 }
841
842 .emotion-22 {
843 display: -webkit-inline-box;
844 display: -webkit-inline-flex;
845 display: -ms-inline-flexbox;
846 display: inline-flex;
847 -webkit-align-self: center;
848 -ms-flex-item-align: center;
849 align-self: center;
850 -webkit-flex-shrink: 0;
851 -ms-flex-negative: 0;
852 flex-shrink: 0;
853 -webkit-margin-end: 0.5rem;
854 margin-inline-end: 0.5rem;
855 }
856
857 .emotion-24 {
858 margin-top: 3px;
859 }
860
861 <form
862 className="rjsf"
863 noValidate={false}
864 onSubmit={[Function]}
865 >
866 <div
867 className="form-group field field-object"
868 >
869 <div
870 className="chakra-form-control emotion-0"
871 role="group"
872 >
873 <div
874 className="emotion-1"
875 id="root__title"
876 >
877 <h5
878 className="chakra-heading emotion-0"
879 >
880 Test field
881 </h5>
882 <hr
883 aria-orientation="horizontal"
884 className="chakra-divider emotion-3"
885 />
886 </div>
887 <p
888 className="chakra-text emotion-4"
889 id="root__description"
890 >
891 a test description
892 </p>
893 <div
894 className="emotion-5"
895 >
896 <div
897 className="emotion-0"
898 >
899 <div
900 className="form-group field field-string emotion-7"
901 >
902 <div
903 className="emotion-0"
904 >
905 <div
906 className="chakra-form-control emotion-0"
907 role="group"
908 >
909 <label
910 className="chakra-form__label emotion-10"
911 htmlFor="root_foo-key"
912 id="root_foo-key-label"
913 >
914 foo Key
915 </label>
916 <input
917 className="chakra-input emotion-11"
918 defaultValue="foo"
919 disabled={false}
920 id="root_foo-key"
921 name="root_foo-key"
922 onBlur={[Function]}
923 onFocus={[Function]}
924 readOnly={false}
925 required={false}
926 type="text"
927 />
928 </div>
929 </div>
930 <div
931 className="emotion-0"
932 >
933 <div
934 className="chakra-form-control emotion-0"
935 role="group"
936 >
937 <div
938 className="chakra-form-control emotion-11"
939 role="group"
940 >
941 <label
942 className="chakra-form__label emotion-10"
943 htmlFor="root_foo"
944 id="root_foo-label"
945 >
946 foo
947 </label>
948 <input
949 aria-describedby="root_foo__error root_foo__description root_foo__help"
950 autoFocus={false}
951 className="chakra-input emotion-0"
952 disabled={false}
953 id="root_foo"
954 name="root_foo"
955 onBlur={[Function]}
956 onChange={[Function]}
957 onFocus={[Function]}
958 placeholder=""
959 readOnly={false}
960 required={false}
961 type="text"
962 value="foo"
963 />
964 </div>
965 </div>
966 </div>
967 <div
968 className="emotion-0"
969 >
970 <button
971 aria-label="Remove"
972 className="chakra-button emotion-18"
973 disabled={false}
974 onClick={[Function]}
975 title="Remove"
976 type="button"
977 >
978 <svg
979 aria-hidden={true}
980 className="chakra-icon emotion-19"
981 focusable={false}
982 viewBox="0 0 24 24"
983 >
984 <g
985 fill="currentColor"
986 >
987 <path
988 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
989 />
990 </g>
991 </svg>
992 </button>
993 </div>
994 </div>
995 </div>
996 <div
997 className="emotion-20"
998 >
999 <button
1000 className="chakra-button object-property-expand emotion-21"
1001 disabled={false}
1002 onClick={[Function]}
1003 type="button"
1004 >
1005 <span
1006 className="chakra-button__icon emotion-22"
1007 >
1008 <svg
1009 aria-hidden={true}
1010 className="chakra-icon emotion-19"
1011 focusable={false}
1012 viewBox="0 0 24 24"
1013 >
1014 <path
1015 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
1016 fill="currentColor"
1017 />
1018 </svg>
1019 </span>
1020 Add Item
1021 </button>
1022 </div>
1023 </div>
1024 </div>
1025 </div>
1026 <div
1027 className="emotion-24"
1028 >
1029 <button
1030 className="chakra-button emotion-21"
1031 disabled={false}
1032 type="submit"
1033 >
1034 Submit
1035 </button>
1036 </div>
1037 </form>
1038 `;
1039
1040 exports[`object fields with title and description from both additionalProperties 1`] = `
1041 .emotion-1 {
1042 margin-top: 1px;
1043 margin-bottom: 4px;
1044 }
1045
1046 .emotion-3 {
1047 border: 0;
1048 border-bottom-width: 1px;
1049 width: 100%;
1050 }
1051
1052 .emotion-4 {
1053 margin-top: 2px;
1054 margin-bottom: 4px;
1055 }
1056
1057 .emotion-5 {
1058 display: grid;
1059 grid-gap: 2px;
1060 margin-bottom: 4px;
1061 }
1062
1063 .emotion-7 {
1064 display: grid;
1065 grid-gap: 2px;
1066 -webkit-align-items: center;
1067 -webkit-box-align: center;
1068 -ms-flex-align: center;
1069 align-items: center;
1070 }
1071
1072 .emotion-10 {
1073 display: block;
1074 text-align: start;
1075 }
1076
1077 .emotion-11 {
1078 margin-bottom: 1px;
1079 }
1080
1081 .emotion-18 {
1082 display: -webkit-inline-box;
1083 display: -webkit-inline-flex;
1084 display: -ms-inline-flexbox;
1085 display: inline-flex;
1086 -webkit-appearance: none;
1087 -moz-appearance: none;
1088 -ms-appearance: none;
1089 appearance: none;
1090 -webkit-align-items: center;
1091 -webkit-box-align: center;
1092 -ms-flex-align: center;
1093 align-items: center;
1094 -webkit-box-pack: center;
1095 -ms-flex-pack: center;
1096 -webkit-justify-content: center;
1097 justify-content: center;
1098 -webkit-user-select: none;
1099 -moz-user-select: none;
1100 -ms-user-select: none;
1101 user-select: none;
1102 position: relative;
1103 white-space: nowrap;
1104 vertical-align: middle;
1105 outline: 2px solid transparent;
1106 outline-offset: 2px;
1107 width: auto;
1108 padding: 0px;
1109 }
1110
1111 .emotion-19 {
1112 width: 1em;
1113 height: 1em;
1114 display: inline-block;
1115 line-height: 1em;
1116 -webkit-flex-shrink: 0;
1117 -ms-flex-negative: 0;
1118 flex-shrink: 0;
1119 color: currentColor;
1120 vertical-align: middle;
1121 }
1122
1123 .emotion-20 {
1124 justify-self: flex-end;
1125 }
1126
1127 .emotion-21 {
1128 display: -webkit-inline-box;
1129 display: -webkit-inline-flex;
1130 display: -ms-inline-flexbox;
1131 display: inline-flex;
1132 -webkit-appearance: none;
1133 -moz-appearance: none;
1134 -ms-appearance: none;
1135 appearance: none;
1136 -webkit-align-items: center;
1137 -webkit-box-align: center;
1138 -ms-flex-align: center;
1139 align-items: center;
1140 -webkit-box-pack: center;
1141 -ms-flex-pack: center;
1142 -webkit-justify-content: center;
1143 justify-content: center;
1144 -webkit-user-select: none;
1145 -moz-user-select: none;
1146 -ms-user-select: none;
1147 user-select: none;
1148 position: relative;
1149 white-space: nowrap;
1150 vertical-align: middle;
1151 outline: 2px solid transparent;
1152 outline-offset: 2px;
1153 width: auto;
1154 }
1155
1156 .emotion-22 {
1157 display: -webkit-inline-box;
1158 display: -webkit-inline-flex;
1159 display: -ms-inline-flexbox;
1160 display: inline-flex;
1161 -webkit-align-self: center;
1162 -ms-flex-item-align: center;
1163 align-self: center;
1164 -webkit-flex-shrink: 0;
1165 -ms-flex-negative: 0;
1166 flex-shrink: 0;
1167 -webkit-margin-end: 0.5rem;
1168 margin-inline-end: 0.5rem;
1169 }
1170
1171 .emotion-24 {
1172 margin-top: 3px;
1173 }
1174
1175 <form
1176 className="rjsf"
1177 noValidate={false}
1178 onSubmit={[Function]}
1179 >
1180 <div
1181 className="form-group field field-object"
1182 >
1183 <div
1184 className="chakra-form-control emotion-0"
1185 role="group"
1186 >
1187 <div
1188 className="emotion-1"
1189 id="root__title"
1190 >
1191 <h5
1192 className="chakra-heading emotion-0"
1193 >
1194 My Field
1195 </h5>
1196 <hr
1197 aria-orientation="horizontal"
1198 className="chakra-divider emotion-3"
1199 />
1200 </div>
1201 <p
1202 className="chakra-text emotion-4"
1203 id="root__description"
1204 >
1205 a fancier description
1206 </p>
1207 <div
1208 className="emotion-5"
1209 >
1210 <div
1211 className="emotion-0"
1212 >
1213 <div
1214 className="form-group field field-string emotion-7"
1215 >
1216 <div
1217 className="emotion-0"
1218 >
1219 <div
1220 className="chakra-form-control emotion-0"
1221 role="group"
1222 >
1223 <label
1224 className="chakra-form__label emotion-10"
1225 htmlFor="root_foo-key"
1226 id="root_foo-key-label"
1227 >
1228 foo Key
1229 </label>
1230 <input
1231 className="chakra-input emotion-11"
1232 defaultValue="foo"
1233 disabled={false}
1234 id="root_foo-key"
1235 name="root_foo-key"
1236 onBlur={[Function]}
1237 onFocus={[Function]}
1238 readOnly={false}
1239 required={false}
1240 type="text"
1241 />
1242 </div>
1243 </div>
1244 <div
1245 className="emotion-0"
1246 >
1247 <div
1248 className="chakra-form-control emotion-0"
1249 role="group"
1250 >
1251 <div
1252 className="chakra-form-control emotion-11"
1253 role="group"
1254 >
1255 <label
1256 className="chakra-form__label emotion-10"
1257 htmlFor="root_foo"
1258 id="root_foo-label"
1259 >
1260 foo
1261 </label>
1262 <input
1263 aria-describedby="root_foo__error root_foo__description root_foo__help"
1264 autoFocus={false}
1265 className="chakra-input emotion-0"
1266 disabled={false}
1267 id="root_foo"
1268 name="root_foo"
1269 onBlur={[Function]}
1270 onChange={[Function]}
1271 onFocus={[Function]}
1272 placeholder=""
1273 readOnly={false}
1274 required={false}
1275 type="text"
1276 value="foo"
1277 />
1278 </div>
1279 </div>
1280 </div>
1281 <div
1282 className="emotion-0"
1283 >
1284 <button
1285 aria-label="Remove"
1286 className="chakra-button emotion-18"
1287 disabled={false}
1288 onClick={[Function]}
1289 title="Remove"
1290 type="button"
1291 >
1292 <svg
1293 aria-hidden={true}
1294 className="chakra-icon emotion-19"
1295 focusable={false}
1296 viewBox="0 0 24 24"
1297 >
1298 <g
1299 fill="currentColor"
1300 >
1301 <path
1302 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
1303 />
1304 </g>
1305 </svg>
1306 </button>
1307 </div>
1308 </div>
1309 </div>
1310 <div
1311 className="emotion-20"
1312 >
1313 <button
1314 className="chakra-button object-property-expand emotion-21"
1315 disabled={false}
1316 onClick={[Function]}
1317 type="button"
1318 >
1319 <span
1320 className="chakra-button__icon emotion-22"
1321 >
1322 <svg
1323 aria-hidden={true}
1324 className="chakra-icon emotion-19"
1325 focusable={false}
1326 viewBox="0 0 24 24"
1327 >
1328 <path
1329 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
1330 fill="currentColor"
1331 />
1332 </svg>
1333 </span>
1334 Add Item
1335 </button>
1336 </div>
1337 </div>
1338 </div>
1339 </div>
1340 <div
1341 className="emotion-24"
1342 >
1343 <button
1344 className="chakra-button emotion-21"
1345 disabled={false}
1346 type="submit"
1347 >
1348 Submit
1349 </button>
1350 </div>
1351 </form>
1352 `;
1353
1354 exports[`object fields with title and description from both object 1`] = `
1355 .emotion-1 {
1356 margin-top: 1px;
1357 margin-bottom: 4px;
1358 }
1359
1360 .emotion-3 {
1361 border: 0;
1362 border-bottom-width: 1px;
1363 width: 100%;
1364 }
1365
1366 .emotion-4 {
1367 margin-top: 2px;
1368 margin-bottom: 4px;
1369 }
1370
1371 .emotion-5 {
1372 display: grid;
1373 grid-gap: 2px;
1374 margin-bottom: 4px;
1375 }
1376
1377 .emotion-8 {
1378 margin-bottom: 1px;
1379 }
1380
1381 .emotion-9 {
1382 display: block;
1383 text-align: start;
1384 }
1385
1386 .emotion-11 {
1387 margin-top: 2px;
1388 }
1389
1390 .emotion-20 {
1391 margin-top: 3px;
1392 }
1393
1394 .emotion-21 {
1395 display: -webkit-inline-box;
1396 display: -webkit-inline-flex;
1397 display: -ms-inline-flexbox;
1398 display: inline-flex;
1399 -webkit-appearance: none;
1400 -moz-appearance: none;
1401 -ms-appearance: none;
1402 appearance: none;
1403 -webkit-align-items: center;
1404 -webkit-box-align: center;
1405 -ms-flex-align: center;
1406 align-items: center;
1407 -webkit-box-pack: center;
1408 -ms-flex-pack: center;
1409 -webkit-justify-content: center;
1410 justify-content: center;
1411 -webkit-user-select: none;
1412 -moz-user-select: none;
1413 -ms-user-select: none;
1414 user-select: none;
1415 position: relative;
1416 white-space: nowrap;
1417 vertical-align: middle;
1418 outline: 2px solid transparent;
1419 outline-offset: 2px;
1420 width: auto;
1421 }
1422
1423 <form
1424 className="rjsf"
1425 noValidate={false}
1426 onSubmit={[Function]}
1427 >
1428 <div
1429 className="form-group field field-object"
1430 >
1431 <div
1432 className="chakra-form-control emotion-0"
1433 role="group"
1434 >
1435 <div
1436 className="emotion-1"
1437 id="root__title"
1438 >
1439 <h5
1440 className="chakra-heading emotion-0"
1441 >
1442 My Field
1443 </h5>
1444 <hr
1445 aria-orientation="horizontal"
1446 className="chakra-divider emotion-3"
1447 />
1448 </div>
1449 <p
1450 className="chakra-text emotion-4"
1451 id="root__description"
1452 >
1453 a fancier description
1454 </p>
1455 <div
1456 className="emotion-5"
1457 >
1458 <div
1459 className="emotion-0"
1460 >
1461 <div
1462 className="form-group field field-string"
1463 >
1464 <div
1465 className="chakra-form-control emotion-0"
1466 role="group"
1467 >
1468 <div
1469 className="chakra-form-control emotion-8"
1470 role="group"
1471 >
1472 <label
1473 className="chakra-form__label emotion-9"
1474 htmlFor="root_a"
1475 id="root_a-label"
1476 >
1477 My Item A
1478 </label>
1479 <input
1480 aria-describedby="root_a__error root_a__description root_a__help"
1481 autoFocus={false}
1482 className="chakra-input emotion-0"
1483 disabled={false}
1484 id="root_a"
1485 name="root_a"
1486 onBlur={[Function]}
1487 onChange={[Function]}
1488 onFocus={[Function]}
1489 placeholder=""
1490 readOnly={false}
1491 required={false}
1492 type="text"
1493 value=""
1494 />
1495 </div>
1496 <p
1497 className="chakra-text emotion-11"
1498 >
1499 <p
1500 className="chakra-text emotion-4"
1501 id="root_a__description"
1502 >
1503 a fancier item A description
1504 </p>
1505 </p>
1506 </div>
1507 </div>
1508 </div>
1509 <div
1510 className="emotion-0"
1511 >
1512 <div
1513 className="form-group field field-number"
1514 >
1515 <div
1516 className="chakra-form-control emotion-0"
1517 role="group"
1518 >
1519 <div
1520 className="chakra-form-control emotion-8"
1521 role="group"
1522 >
1523 <label
1524 className="chakra-form__label emotion-9"
1525 htmlFor="root_b"
1526 id="root_b-label"
1527 >
1528 My Item B
1529 </label>
1530 <input
1531 aria-describedby="root_b__error root_b__description root_b__help"
1532 autoFocus={false}
1533 className="chakra-input emotion-0"
1534 disabled={false}
1535 id="root_b"
1536 name="root_b"
1537 onBlur={[Function]}
1538 onChange={[Function]}
1539 onFocus={[Function]}
1540 placeholder=""
1541 readOnly={false}
1542 required={false}
1543 step="any"
1544 type="number"
1545 value=""
1546 />
1547 </div>
1548 <p
1549 className="chakra-text emotion-11"
1550 >
1551 <p
1552 className="chakra-text emotion-4"
1553 id="root_b__description"
1554 >
1555 a fancier item B description
1556 </p>
1557 </p>
1558 </div>
1559 </div>
1560 </div>
1561 </div>
1562 </div>
1563 </div>
1564 <div
1565 className="emotion-20"
1566 >
1567 <button
1568 className="chakra-button emotion-21"
1569 disabled={false}
1570 type="submit"
1571 >
1572 Submit
1573 </button>
1574 </div>
1575 </form>
1576 `;
1577
1578 exports[`object fields with title and description from uiSchema additionalProperties 1`] = `
1579 .emotion-1 {
1580 margin-top: 1px;
1581 margin-bottom: 4px;
1582 }
1583
1584 .emotion-3 {
1585 border: 0;
1586 border-bottom-width: 1px;
1587 width: 100%;
1588 }
1589
1590 .emotion-4 {
1591 margin-top: 2px;
1592 margin-bottom: 4px;
1593 }
1594
1595 .emotion-5 {
1596 display: grid;
1597 grid-gap: 2px;
1598 margin-bottom: 4px;
1599 }
1600
1601 .emotion-7 {
1602 display: grid;
1603 grid-gap: 2px;
1604 -webkit-align-items: center;
1605 -webkit-box-align: center;
1606 -ms-flex-align: center;
1607 align-items: center;
1608 }
1609
1610 .emotion-10 {
1611 display: block;
1612 text-align: start;
1613 }
1614
1615 .emotion-11 {
1616 margin-bottom: 1px;
1617 }
1618
1619 .emotion-18 {
1620 display: -webkit-inline-box;
1621 display: -webkit-inline-flex;
1622 display: -ms-inline-flexbox;
1623 display: inline-flex;
1624 -webkit-appearance: none;
1625 -moz-appearance: none;
1626 -ms-appearance: none;
1627 appearance: none;
1628 -webkit-align-items: center;
1629 -webkit-box-align: center;
1630 -ms-flex-align: center;
1631 align-items: center;
1632 -webkit-box-pack: center;
1633 -ms-flex-pack: center;
1634 -webkit-justify-content: center;
1635 justify-content: center;
1636 -webkit-user-select: none;
1637 -moz-user-select: none;
1638 -ms-user-select: none;
1639 user-select: none;
1640 position: relative;
1641 white-space: nowrap;
1642 vertical-align: middle;
1643 outline: 2px solid transparent;
1644 outline-offset: 2px;
1645 width: auto;
1646 padding: 0px;
1647 }
1648
1649 .emotion-19 {
1650 width: 1em;
1651 height: 1em;
1652 display: inline-block;
1653 line-height: 1em;
1654 -webkit-flex-shrink: 0;
1655 -ms-flex-negative: 0;
1656 flex-shrink: 0;
1657 color: currentColor;
1658 vertical-align: middle;
1659 }
1660
1661 .emotion-20 {
1662 justify-self: flex-end;
1663 }
1664
1665 .emotion-21 {
1666 display: -webkit-inline-box;
1667 display: -webkit-inline-flex;
1668 display: -ms-inline-flexbox;
1669 display: inline-flex;
1670 -webkit-appearance: none;
1671 -moz-appearance: none;
1672 -ms-appearance: none;
1673 appearance: none;
1674 -webkit-align-items: center;
1675 -webkit-box-align: center;
1676 -ms-flex-align: center;
1677 align-items: center;
1678 -webkit-box-pack: center;
1679 -ms-flex-pack: center;
1680 -webkit-justify-content: center;
1681 justify-content: center;
1682 -webkit-user-select: none;
1683 -moz-user-select: none;
1684 -ms-user-select: none;
1685 user-select: none;
1686 position: relative;
1687 white-space: nowrap;
1688 vertical-align: middle;
1689 outline: 2px solid transparent;
1690 outline-offset: 2px;
1691 width: auto;
1692 }
1693
1694 .emotion-22 {
1695 display: -webkit-inline-box;
1696 display: -webkit-inline-flex;
1697 display: -ms-inline-flexbox;
1698 display: inline-flex;
1699 -webkit-align-self: center;
1700 -ms-flex-item-align: center;
1701 align-self: center;
1702 -webkit-flex-shrink: 0;
1703 -ms-flex-negative: 0;
1704 flex-shrink: 0;
1705 -webkit-margin-end: 0.5rem;
1706 margin-inline-end: 0.5rem;
1707 }
1708
1709 .emotion-24 {
1710 margin-top: 3px;
1711 }
1712
1713 <form
1714 className="rjsf"
1715 noValidate={false}
1716 onSubmit={[Function]}
1717 >
1718 <div
1719 className="form-group field field-object"
1720 >
1721 <div
1722 className="chakra-form-control emotion-0"
1723 role="group"
1724 >
1725 <div
1726 className="emotion-1"
1727 id="root__title"
1728 >
1729 <h5
1730 className="chakra-heading emotion-0"
1731 >
1732 My Field
1733 </h5>
1734 <hr
1735 aria-orientation="horizontal"
1736 className="chakra-divider emotion-3"
1737 />
1738 </div>
1739 <p
1740 className="chakra-text emotion-4"
1741 id="root__description"
1742 >
1743 a fancier description
1744 </p>
1745 <div
1746 className="emotion-5"
1747 >
1748 <div
1749 className="emotion-0"
1750 >
1751 <div
1752 className="form-group field field-string emotion-7"
1753 >
1754 <div
1755 className="emotion-0"
1756 >
1757 <div
1758 className="chakra-form-control emotion-0"
1759 role="group"
1760 >
1761 <label
1762 className="chakra-form__label emotion-10"
1763 htmlFor="root_foo-key"
1764 id="root_foo-key-label"
1765 >
1766 foo Key
1767 </label>
1768 <input
1769 className="chakra-input emotion-11"
1770 defaultValue="foo"
1771 disabled={false}
1772 id="root_foo-key"
1773 name="root_foo-key"
1774 onBlur={[Function]}
1775 onFocus={[Function]}
1776 readOnly={false}
1777 required={false}
1778 type="text"
1779 />
1780 </div>
1781 </div>
1782 <div
1783 className="emotion-0"
1784 >
1785 <div
1786 className="chakra-form-control emotion-0"
1787 role="group"
1788 >
1789 <div
1790 className="chakra-form-control emotion-11"
1791 role="group"
1792 >
1793 <label
1794 className="chakra-form__label emotion-10"
1795 htmlFor="root_foo"
1796 id="root_foo-label"
1797 >
1798 foo
1799 </label>
1800 <input
1801 aria-describedby="root_foo__error root_foo__description root_foo__help"
1802 autoFocus={false}
1803 className="chakra-input emotion-0"
1804 disabled={false}
1805 id="root_foo"
1806 name="root_foo"
1807 onBlur={[Function]}
1808 onChange={[Function]}
1809 onFocus={[Function]}
1810 placeholder=""
1811 readOnly={false}
1812 required={false}
1813 type="text"
1814 value="foo"
1815 />
1816 </div>
1817 </div>
1818 </div>
1819 <div
1820 className="emotion-0"
1821 >
1822 <button
1823 aria-label="Remove"
1824 className="chakra-button emotion-18"
1825 disabled={false}
1826 onClick={[Function]}
1827 title="Remove"
1828 type="button"
1829 >
1830 <svg
1831 aria-hidden={true}
1832 className="chakra-icon emotion-19"
1833 focusable={false}
1834 viewBox="0 0 24 24"
1835 >
1836 <g
1837 fill="currentColor"
1838 >
1839 <path
1840 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
1841 />
1842 </g>
1843 </svg>
1844 </button>
1845 </div>
1846 </div>
1847 </div>
1848 <div
1849 className="emotion-20"
1850 >
1851 <button
1852 className="chakra-button object-property-expand emotion-21"
1853 disabled={false}
1854 onClick={[Function]}
1855 type="button"
1856 >
1857 <span
1858 className="chakra-button__icon emotion-22"
1859 >
1860 <svg
1861 aria-hidden={true}
1862 className="chakra-icon emotion-19"
1863 focusable={false}
1864 viewBox="0 0 24 24"
1865 >
1866 <path
1867 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
1868 fill="currentColor"
1869 />
1870 </svg>
1871 </span>
1872 Add Item
1873 </button>
1874 </div>
1875 </div>
1876 </div>
1877 </div>
1878 <div
1879 className="emotion-24"
1880 >
1881 <button
1882 className="chakra-button emotion-21"
1883 disabled={false}
1884 type="submit"
1885 >
1886 Submit
1887 </button>
1888 </div>
1889 </form>
1890 `;
1891
1892 exports[`object fields with title and description from uiSchema object 1`] = `
1893 .emotion-1 {
1894 margin-top: 1px;
1895 margin-bottom: 4px;
1896 }
1897
1898 .emotion-3 {
1899 border: 0;
1900 border-bottom-width: 1px;
1901 width: 100%;
1902 }
1903
1904 .emotion-4 {
1905 margin-top: 2px;
1906 margin-bottom: 4px;
1907 }
1908
1909 .emotion-5 {
1910 display: grid;
1911 grid-gap: 2px;
1912 margin-bottom: 4px;
1913 }
1914
1915 .emotion-8 {
1916 margin-bottom: 1px;
1917 }
1918
1919 .emotion-9 {
1920 display: block;
1921 text-align: start;
1922 }
1923
1924 .emotion-11 {
1925 margin-top: 2px;
1926 }
1927
1928 .emotion-20 {
1929 margin-top: 3px;
1930 }
1931
1932 .emotion-21 {
1933 display: -webkit-inline-box;
1934 display: -webkit-inline-flex;
1935 display: -ms-inline-flexbox;
1936 display: inline-flex;
1937 -webkit-appearance: none;
1938 -moz-appearance: none;
1939 -ms-appearance: none;
1940 appearance: none;
1941 -webkit-align-items: center;
1942 -webkit-box-align: center;
1943 -ms-flex-align: center;
1944 align-items: center;
1945 -webkit-box-pack: center;
1946 -ms-flex-pack: center;
1947 -webkit-justify-content: center;
1948 justify-content: center;
1949 -webkit-user-select: none;
1950 -moz-user-select: none;
1951 -ms-user-select: none;
1952 user-select: none;
1953 position: relative;
1954 white-space: nowrap;
1955 vertical-align: middle;
1956 outline: 2px solid transparent;
1957 outline-offset: 2px;
1958 width: auto;
1959 }
1960
1961 <form
1962 className="rjsf"
1963 noValidate={false}
1964 onSubmit={[Function]}
1965 >
1966 <div
1967 className="form-group field field-object"
1968 >
1969 <div
1970 className="chakra-form-control emotion-0"
1971 role="group"
1972 >
1973 <div
1974 className="emotion-1"
1975 id="root__title"
1976 >
1977 <h5
1978 className="chakra-heading emotion-0"
1979 >
1980 My Field
1981 </h5>
1982 <hr
1983 aria-orientation="horizontal"
1984 className="chakra-divider emotion-3"
1985 />
1986 </div>
1987 <p
1988 className="chakra-text emotion-4"
1989 id="root__description"
1990 >
1991 a fancier description
1992 </p>
1993 <div
1994 className="emotion-5"
1995 >
1996 <div
1997 className="emotion-0"
1998 >
1999 <div
2000 className="form-group field field-string"
2001 >
2002 <div
2003 className="chakra-form-control emotion-0"
2004 role="group"
2005 >
2006 <div
2007 className="chakra-form-control emotion-8"
2008 role="group"
2009 >
2010 <label
2011 className="chakra-form__label emotion-9"
2012 htmlFor="root_a"
2013 id="root_a-label"
2014 >
2015 My Item A
2016 </label>
2017 <input
2018 aria-describedby="root_a__error root_a__description root_a__help"
2019 autoFocus={false}
2020 className="chakra-input emotion-0"
2021 disabled={false}
2022 id="root_a"
2023 name="root_a"
2024 onBlur={[Function]}
2025 onChange={[Function]}
2026 onFocus={[Function]}
2027 placeholder=""
2028 readOnly={false}
2029 required={false}
2030 type="text"
2031 value=""
2032 />
2033 </div>
2034 <p
2035 className="chakra-text emotion-11"
2036 >
2037 <p
2038 className="chakra-text emotion-4"
2039 id="root_a__description"
2040 >
2041 a fancier item A description
2042 </p>
2043 </p>
2044 </div>
2045 </div>
2046 </div>
2047 <div
2048 className="emotion-0"
2049 >
2050 <div
2051 className="form-group field field-number"
2052 >
2053 <div
2054 className="chakra-form-control emotion-0"
2055 role="group"
2056 >
2057 <div
2058 className="chakra-form-control emotion-8"
2059 role="group"
2060 >
2061 <label
2062 className="chakra-form__label emotion-9"
2063 htmlFor="root_b"
2064 id="root_b-label"
2065 >
2066 My Item B
2067 </label>
2068 <input
2069 aria-describedby="root_b__error root_b__description root_b__help"
2070 autoFocus={false}
2071 className="chakra-input emotion-0"
2072 disabled={false}
2073 id="root_b"
2074 name="root_b"
2075 onBlur={[Function]}
2076 onChange={[Function]}
2077 onFocus={[Function]}
2078 placeholder=""
2079 readOnly={false}
2080 required={false}
2081 step="any"
2082 type="number"
2083 value=""
2084 />
2085 </div>
2086 <p
2087 className="chakra-text emotion-11"
2088 >
2089 <p
2090 className="chakra-text emotion-4"
2091 id="root_b__description"
2092 >
2093 a fancier item B description
2094 </p>
2095 </p>
2096 </div>
2097 </div>
2098 </div>
2099 </div>
2100 </div>
2101 </div>
2102 <div
2103 className="emotion-20"
2104 >
2105 <button
2106 className="chakra-button emotion-21"
2107 disabled={false}
2108 type="submit"
2109 >
2110 Submit
2111 </button>
2112 </div>
2113 </form>
2114 `;
2115
2116 exports[`object fields with title and description from uiSchema show add button and fields if additionalProperties is true and not an object 1`] = `
2117 .emotion-1 {
2118 margin-top: 1px;
2119 margin-bottom: 4px;
2120 }
2121
2122 .emotion-3 {
2123 border: 0;
2124 border-bottom-width: 1px;
2125 width: 100%;
2126 }
2127
2128 .emotion-4 {
2129 margin-top: 2px;
2130 margin-bottom: 4px;
2131 }
2132
2133 .emotion-5 {
2134 display: grid;
2135 grid-gap: 2px;
2136 margin-bottom: 4px;
2137 }
2138
2139 .emotion-7 {
2140 display: grid;
2141 grid-gap: 2px;
2142 -webkit-align-items: center;
2143 -webkit-box-align: center;
2144 -ms-flex-align: center;
2145 align-items: center;
2146 }
2147
2148 .emotion-10 {
2149 display: block;
2150 text-align: start;
2151 }
2152
2153 .emotion-11 {
2154 margin-bottom: 1px;
2155 }
2156
2157 .emotion-18 {
2158 display: -webkit-inline-box;
2159 display: -webkit-inline-flex;
2160 display: -ms-inline-flexbox;
2161 display: inline-flex;
2162 -webkit-appearance: none;
2163 -moz-appearance: none;
2164 -ms-appearance: none;
2165 appearance: none;
2166 -webkit-align-items: center;
2167 -webkit-box-align: center;
2168 -ms-flex-align: center;
2169 align-items: center;
2170 -webkit-box-pack: center;
2171 -ms-flex-pack: center;
2172 -webkit-justify-content: center;
2173 justify-content: center;
2174 -webkit-user-select: none;
2175 -moz-user-select: none;
2176 -ms-user-select: none;
2177 user-select: none;
2178 position: relative;
2179 white-space: nowrap;
2180 vertical-align: middle;
2181 outline: 2px solid transparent;
2182 outline-offset: 2px;
2183 width: auto;
2184 padding: 0px;
2185 }
2186
2187 .emotion-19 {
2188 width: 1em;
2189 height: 1em;
2190 display: inline-block;
2191 line-height: 1em;
2192 -webkit-flex-shrink: 0;
2193 -ms-flex-negative: 0;
2194 flex-shrink: 0;
2195 color: currentColor;
2196 vertical-align: middle;
2197 }
2198
2199 .emotion-20 {
2200 justify-self: flex-end;
2201 }
2202
2203 .emotion-21 {
2204 display: -webkit-inline-box;
2205 display: -webkit-inline-flex;
2206 display: -ms-inline-flexbox;
2207 display: inline-flex;
2208 -webkit-appearance: none;
2209 -moz-appearance: none;
2210 -ms-appearance: none;
2211 appearance: none;
2212 -webkit-align-items: center;
2213 -webkit-box-align: center;
2214 -ms-flex-align: center;
2215 align-items: center;
2216 -webkit-box-pack: center;
2217 -ms-flex-pack: center;
2218 -webkit-justify-content: center;
2219 justify-content: center;
2220 -webkit-user-select: none;
2221 -moz-user-select: none;
2222 -ms-user-select: none;
2223 user-select: none;
2224 position: relative;
2225 white-space: nowrap;
2226 vertical-align: middle;
2227 outline: 2px solid transparent;
2228 outline-offset: 2px;
2229 width: auto;
2230 }
2231
2232 .emotion-22 {
2233 display: -webkit-inline-box;
2234 display: -webkit-inline-flex;
2235 display: -ms-inline-flexbox;
2236 display: inline-flex;
2237 -webkit-align-self: center;
2238 -ms-flex-item-align: center;
2239 align-self: center;
2240 -webkit-flex-shrink: 0;
2241 -ms-flex-negative: 0;
2242 flex-shrink: 0;
2243 -webkit-margin-end: 0.5rem;
2244 margin-inline-end: 0.5rem;
2245 }
2246
2247 .emotion-24 {
2248 margin-top: 3px;
2249 }
2250
2251 <form
2252 className="rjsf"
2253 noValidate={false}
2254 onSubmit={[Function]}
2255 >
2256 <div
2257 className="form-group field field-object"
2258 >
2259 <div
2260 className="chakra-form-control emotion-0"
2261 role="group"
2262 >
2263 <div
2264 className="emotion-1"
2265 id="root__title"
2266 >
2267 <h5
2268 className="chakra-heading emotion-0"
2269 >
2270 My Field
2271 </h5>
2272 <hr
2273 aria-orientation="horizontal"
2274 className="chakra-divider emotion-3"
2275 />
2276 </div>
2277 <p
2278 className="chakra-text emotion-4"
2279 id="root__description"
2280 >
2281 a fancier description
2282 </p>
2283 <div
2284 className="emotion-5"
2285 >
2286 <div
2287 className="emotion-0"
2288 >
2289 <div
2290 className="form-group field field-string emotion-7"
2291 >
2292 <div
2293 className="emotion-0"
2294 >
2295 <div
2296 className="chakra-form-control emotion-0"
2297 role="group"
2298 >
2299 <label
2300 className="chakra-form__label emotion-10"
2301 htmlFor="root_additionalProperty-key"
2302 id="root_additionalProperty-key-label"
2303 >
2304 additionalProperty Key
2305 </label>
2306 <input
2307 className="chakra-input emotion-11"
2308 defaultValue="additionalProperty"
2309 disabled={false}
2310 id="root_additionalProperty-key"
2311 name="root_additionalProperty-key"
2312 onBlur={[Function]}
2313 onFocus={[Function]}
2314 readOnly={false}
2315 required={false}
2316 type="text"
2317 />
2318 </div>
2319 </div>
2320 <div
2321 className="emotion-0"
2322 >
2323 <div
2324 className="chakra-form-control emotion-0"
2325 role="group"
2326 >
2327 <div
2328 className="chakra-form-control emotion-11"
2329 role="group"
2330 >
2331 <label
2332 className="chakra-form__label emotion-10"
2333 htmlFor="root_additionalProperty"
2334 id="root_additionalProperty-label"
2335 >
2336 additionalProperty
2337 </label>
2338 <input
2339 aria-describedby="root_additionalProperty__error root_additionalProperty__description root_additionalProperty__help"
2340 autoFocus={false}
2341 className="chakra-input emotion-0"
2342 disabled={false}
2343 id="root_additionalProperty"
2344 name="root_additionalProperty"
2345 onBlur={[Function]}
2346 onChange={[Function]}
2347 onFocus={[Function]}
2348 placeholder=""
2349 readOnly={false}
2350 required={false}
2351 type="text"
2352 value="should appear"
2353 />
2354 </div>
2355 </div>
2356 </div>
2357 <div
2358 className="emotion-0"
2359 >
2360 <button
2361 aria-label="Remove"
2362 className="chakra-button emotion-18"
2363 disabled={false}
2364 onClick={[Function]}
2365 title="Remove"
2366 type="button"
2367 >
2368 <svg
2369 aria-hidden={true}
2370 className="chakra-icon emotion-19"
2371 focusable={false}
2372 viewBox="0 0 24 24"
2373 >
2374 <g
2375 fill="currentColor"
2376 >
2377 <path
2378 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
2379 />
2380 </g>
2381 </svg>
2382 </button>
2383 </div>
2384 </div>
2385 </div>
2386 <div
2387 className="emotion-20"
2388 >
2389 <button
2390 className="chakra-button object-property-expand emotion-21"
2391 disabled={false}
2392 onClick={[Function]}
2393 type="button"
2394 >
2395 <span
2396 className="chakra-button__icon emotion-22"
2397 >
2398 <svg
2399 aria-hidden={true}
2400 className="chakra-icon emotion-19"
2401 focusable={false}
2402 viewBox="0 0 24 24"
2403 >
2404 <path
2405 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
2406 fill="currentColor"
2407 />
2408 </svg>
2409 </span>
2410 Add Item
2411 </button>
2412 </div>
2413 </div>
2414 </div>
2415 </div>
2416 <div
2417 className="emotion-24"
2418 >
2419 <button
2420 className="chakra-button emotion-21"
2421 disabled={false}
2422 type="submit"
2423 >
2424 Submit
2425 </button>
2426 </div>
2427 </form>
2428 `;
2429
2430 exports[`object fields with title and description object 1`] = `
2431 .emotion-1 {
2432 margin-top: 1px;
2433 margin-bottom: 4px;
2434 }
2435
2436 .emotion-3 {
2437 border: 0;
2438 border-bottom-width: 1px;
2439 width: 100%;
2440 }
2441
2442 .emotion-4 {
2443 margin-top: 2px;
2444 margin-bottom: 4px;
2445 }
2446
2447 .emotion-5 {
2448 display: grid;
2449 grid-gap: 2px;
2450 margin-bottom: 4px;
2451 }
2452
2453 .emotion-8 {
2454 margin-bottom: 1px;
2455 }
2456
2457 .emotion-9 {
2458 display: block;
2459 text-align: start;
2460 }
2461
2462 .emotion-11 {
2463 margin-top: 2px;
2464 }
2465
2466 .emotion-20 {
2467 margin-top: 3px;
2468 }
2469
2470 .emotion-21 {
2471 display: -webkit-inline-box;
2472 display: -webkit-inline-flex;
2473 display: -ms-inline-flexbox;
2474 display: inline-flex;
2475 -webkit-appearance: none;
2476 -moz-appearance: none;
2477 -ms-appearance: none;
2478 appearance: none;
2479 -webkit-align-items: center;
2480 -webkit-box-align: center;
2481 -ms-flex-align: center;
2482 align-items: center;
2483 -webkit-box-pack: center;
2484 -ms-flex-pack: center;
2485 -webkit-justify-content: center;
2486 justify-content: center;
2487 -webkit-user-select: none;
2488 -moz-user-select: none;
2489 -ms-user-select: none;
2490 user-select: none;
2491 position: relative;
2492 white-space: nowrap;
2493 vertical-align: middle;
2494 outline: 2px solid transparent;
2495 outline-offset: 2px;
2496 width: auto;
2497 }
2498
2499 <form
2500 className="rjsf"
2501 noValidate={false}
2502 onSubmit={[Function]}
2503 >
2504 <div
2505 className="form-group field field-object"
2506 >
2507 <div
2508 className="chakra-form-control emotion-0"
2509 role="group"
2510 >
2511 <div
2512 className="emotion-1"
2513 id="root__title"
2514 >
2515 <h5
2516 className="chakra-heading emotion-0"
2517 >
2518 Test field
2519 </h5>
2520 <hr
2521 aria-orientation="horizontal"
2522 className="chakra-divider emotion-3"
2523 />
2524 </div>
2525 <p
2526 className="chakra-text emotion-4"
2527 id="root__description"
2528 >
2529 a test description
2530 </p>
2531 <div
2532 className="emotion-5"
2533 >
2534 <div
2535 className="emotion-0"
2536 >
2537 <div
2538 className="form-group field field-string"
2539 >
2540 <div
2541 className="chakra-form-control emotion-0"
2542 role="group"
2543 >
2544 <div
2545 className="chakra-form-control emotion-8"
2546 role="group"
2547 >
2548 <label
2549 className="chakra-form__label emotion-9"
2550 htmlFor="root_a"
2551 id="root_a-label"
2552 >
2553 A
2554 </label>
2555 <input
2556 aria-describedby="root_a__error root_a__description root_a__help"
2557 autoFocus={false}
2558 className="chakra-input emotion-0"
2559 disabled={false}
2560 id="root_a"
2561 name="root_a"
2562 onBlur={[Function]}
2563 onChange={[Function]}
2564 onFocus={[Function]}
2565 placeholder=""
2566 readOnly={false}
2567 required={false}
2568 type="text"
2569 value=""
2570 />
2571 </div>
2572 <p
2573 className="chakra-text emotion-11"
2574 >
2575 <p
2576 className="chakra-text emotion-4"
2577 id="root_a__description"
2578 >
2579 A description
2580 </p>
2581 </p>
2582 </div>
2583 </div>
2584 </div>
2585 <div
2586 className="emotion-0"
2587 >
2588 <div
2589 className="form-group field field-number"
2590 >
2591 <div
2592 className="chakra-form-control emotion-0"
2593 role="group"
2594 >
2595 <div
2596 className="chakra-form-control emotion-8"
2597 role="group"
2598 >
2599 <label
2600 className="chakra-form__label emotion-9"
2601 htmlFor="root_b"
2602 id="root_b-label"
2603 >
2604 B
2605 </label>
2606 <input
2607 aria-describedby="root_b__error root_b__description root_b__help"
2608 autoFocus={false}
2609 className="chakra-input emotion-0"
2610 disabled={false}
2611 id="root_b"
2612 name="root_b"
2613 onBlur={[Function]}
2614 onChange={[Function]}
2615 onFocus={[Function]}
2616 placeholder=""
2617 readOnly={false}
2618 required={false}
2619 step="any"
2620 type="number"
2621 value=""
2622 />
2623 </div>
2624 <p
2625 className="chakra-text emotion-11"
2626 >
2627 <p
2628 className="chakra-text emotion-4"
2629 id="root_b__description"
2630 >
2631 B description
2632 </p>
2633 </p>
2634 </div>
2635 </div>
2636 </div>
2637 </div>
2638 </div>
2639 </div>
2640 <div
2641 className="emotion-20"
2642 >
2643 <button
2644 className="chakra-button emotion-21"
2645 disabled={false}
2646 type="submit"
2647 >
2648 Submit
2649 </button>
2650 </div>
2651 </form>
2652 `;
2653
2654 exports[`object fields with title and description show add button and fields if additionalProperties is true and not an object 1`] = `
2655 .emotion-1 {
2656 margin-top: 1px;
2657 margin-bottom: 4px;
2658 }
2659
2660 .emotion-3 {
2661 border: 0;
2662 border-bottom-width: 1px;
2663 width: 100%;
2664 }
2665
2666 .emotion-4 {
2667 margin-top: 2px;
2668 margin-bottom: 4px;
2669 }
2670
2671 .emotion-5 {
2672 display: grid;
2673 grid-gap: 2px;
2674 margin-bottom: 4px;
2675 }
2676
2677 .emotion-7 {
2678 display: grid;
2679 grid-gap: 2px;
2680 -webkit-align-items: center;
2681 -webkit-box-align: center;
2682 -ms-flex-align: center;
2683 align-items: center;
2684 }
2685
2686 .emotion-10 {
2687 display: block;
2688 text-align: start;
2689 }
2690
2691 .emotion-11 {
2692 margin-bottom: 1px;
2693 }
2694
2695 .emotion-18 {
2696 display: -webkit-inline-box;
2697 display: -webkit-inline-flex;
2698 display: -ms-inline-flexbox;
2699 display: inline-flex;
2700 -webkit-appearance: none;
2701 -moz-appearance: none;
2702 -ms-appearance: none;
2703 appearance: none;
2704 -webkit-align-items: center;
2705 -webkit-box-align: center;
2706 -ms-flex-align: center;
2707 align-items: center;
2708 -webkit-box-pack: center;
2709 -ms-flex-pack: center;
2710 -webkit-justify-content: center;
2711 justify-content: center;
2712 -webkit-user-select: none;
2713 -moz-user-select: none;
2714 -ms-user-select: none;
2715 user-select: none;
2716 position: relative;
2717 white-space: nowrap;
2718 vertical-align: middle;
2719 outline: 2px solid transparent;
2720 outline-offset: 2px;
2721 width: auto;
2722 padding: 0px;
2723 }
2724
2725 .emotion-19 {
2726 width: 1em;
2727 height: 1em;
2728 display: inline-block;
2729 line-height: 1em;
2730 -webkit-flex-shrink: 0;
2731 -ms-flex-negative: 0;
2732 flex-shrink: 0;
2733 color: currentColor;
2734 vertical-align: middle;
2735 }
2736
2737 .emotion-20 {
2738 justify-self: flex-end;
2739 }
2740
2741 .emotion-21 {
2742 display: -webkit-inline-box;
2743 display: -webkit-inline-flex;
2744 display: -ms-inline-flexbox;
2745 display: inline-flex;
2746 -webkit-appearance: none;
2747 -moz-appearance: none;
2748 -ms-appearance: none;
2749 appearance: none;
2750 -webkit-align-items: center;
2751 -webkit-box-align: center;
2752 -ms-flex-align: center;
2753 align-items: center;
2754 -webkit-box-pack: center;
2755 -ms-flex-pack: center;
2756 -webkit-justify-content: center;
2757 justify-content: center;
2758 -webkit-user-select: none;
2759 -moz-user-select: none;
2760 -ms-user-select: none;
2761 user-select: none;
2762 position: relative;
2763 white-space: nowrap;
2764 vertical-align: middle;
2765 outline: 2px solid transparent;
2766 outline-offset: 2px;
2767 width: auto;
2768 }
2769
2770 .emotion-22 {
2771 display: -webkit-inline-box;
2772 display: -webkit-inline-flex;
2773 display: -ms-inline-flexbox;
2774 display: inline-flex;
2775 -webkit-align-self: center;
2776 -ms-flex-item-align: center;
2777 align-self: center;
2778 -webkit-flex-shrink: 0;
2779 -ms-flex-negative: 0;
2780 flex-shrink: 0;
2781 -webkit-margin-end: 0.5rem;
2782 margin-inline-end: 0.5rem;
2783 }
2784
2785 .emotion-24 {
2786 margin-top: 3px;
2787 }
2788
2789 <form
2790 className="rjsf"
2791 noValidate={false}
2792 onSubmit={[Function]}
2793 >
2794 <div
2795 className="form-group field field-object"
2796 >
2797 <div
2798 className="chakra-form-control emotion-0"
2799 role="group"
2800 >
2801 <div
2802 className="emotion-1"
2803 id="root__title"
2804 >
2805 <h5
2806 className="chakra-heading emotion-0"
2807 >
2808 Test field
2809 </h5>
2810 <hr
2811 aria-orientation="horizontal"
2812 className="chakra-divider emotion-3"
2813 />
2814 </div>
2815 <p
2816 className="chakra-text emotion-4"
2817 id="root__description"
2818 >
2819 a test description
2820 </p>
2821 <div
2822 className="emotion-5"
2823 >
2824 <div
2825 className="emotion-0"
2826 >
2827 <div
2828 className="form-group field field-string emotion-7"
2829 >
2830 <div
2831 className="emotion-0"
2832 >
2833 <div
2834 className="chakra-form-control emotion-0"
2835 role="group"
2836 >
2837 <label
2838 className="chakra-form__label emotion-10"
2839 htmlFor="root_additionalProperty-key"
2840 id="root_additionalProperty-key-label"
2841 >
2842 additionalProperty Key
2843 </label>
2844 <input
2845 className="chakra-input emotion-11"
2846 defaultValue="additionalProperty"
2847 disabled={false}
2848 id="root_additionalProperty-key"
2849 name="root_additionalProperty-key"
2850 onBlur={[Function]}
2851 onFocus={[Function]}
2852 readOnly={false}
2853 required={false}
2854 type="text"
2855 />
2856 </div>
2857 </div>
2858 <div
2859 className="emotion-0"
2860 >
2861 <div
2862 className="chakra-form-control emotion-0"
2863 role="group"
2864 >
2865 <div
2866 className="chakra-form-control emotion-11"
2867 role="group"
2868 >
2869 <label
2870 className="chakra-form__label emotion-10"
2871 htmlFor="root_additionalProperty"
2872 id="root_additionalProperty-label"
2873 >
2874 additionalProperty
2875 </label>
2876 <input
2877 aria-describedby="root_additionalProperty__error root_additionalProperty__description root_additionalProperty__help"
2878 autoFocus={false}
2879 className="chakra-input emotion-0"
2880 disabled={false}
2881 id="root_additionalProperty"
2882 name="root_additionalProperty"
2883 onBlur={[Function]}
2884 onChange={[Function]}
2885 onFocus={[Function]}
2886 placeholder=""
2887 readOnly={false}
2888 required={false}
2889 type="text"
2890 value="should appear"
2891 />
2892 </div>
2893 </div>
2894 </div>
2895 <div
2896 className="emotion-0"
2897 >
2898 <button
2899 aria-label="Remove"
2900 className="chakra-button emotion-18"
2901 disabled={false}
2902 onClick={[Function]}
2903 title="Remove"
2904 type="button"
2905 >
2906 <svg
2907 aria-hidden={true}
2908 className="chakra-icon emotion-19"
2909 focusable={false}
2910 viewBox="0 0 24 24"
2911 >
2912 <g
2913 fill="currentColor"
2914 >
2915 <path
2916 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
2917 />
2918 </g>
2919 </svg>
2920 </button>
2921 </div>
2922 </div>
2923 </div>
2924 <div
2925 className="emotion-20"
2926 >
2927 <button
2928 className="chakra-button object-property-expand emotion-21"
2929 disabled={false}
2930 onClick={[Function]}
2931 type="button"
2932 >
2933 <span
2934 className="chakra-button__icon emotion-22"
2935 >
2936 <svg
2937 aria-hidden={true}
2938 className="chakra-icon emotion-19"
2939 focusable={false}
2940 viewBox="0 0 24 24"
2941 >
2942 <path
2943 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
2944 fill="currentColor"
2945 />
2946 </svg>
2947 </span>
2948 Add Item
2949 </button>
2950 </div>
2951 </div>
2952 </div>
2953 </div>
2954 <div
2955 className="emotion-24"
2956 >
2957 <button
2958 className="chakra-button emotion-21"
2959 disabled={false}
2960 type="submit"
2961 >
2962 Submit
2963 </button>
2964 </div>
2965 </form>
2966 `;
2967
2968 exports[`object fields with title and description with global label off additionalProperties 1`] = `
2969 .emotion-1 {
2970 display: grid;
2971 grid-gap: 6px;
2972 margin-bottom: 4px;
2973 }
2974
2975 .emotion-3 {
2976 display: grid;
2977 grid-gap: 2px;
2978 -webkit-align-items: center;
2979 -webkit-box-align: center;
2980 -ms-flex-align: center;
2981 align-items: center;
2982 }
2983
2984 .emotion-6 {
2985 display: block;
2986 text-align: start;
2987 }
2988
2989 .emotion-7 {
2990 margin-bottom: 1px;
2991 }
2992
2993 .emotion-13 {
2994 display: -webkit-inline-box;
2995 display: -webkit-inline-flex;
2996 display: -ms-inline-flexbox;
2997 display: inline-flex;
2998 -webkit-appearance: none;
2999 -moz-appearance: none;
3000 -ms-appearance: none;
3001 appearance: none;
3002 -webkit-align-items: center;
3003 -webkit-box-align: center;
3004 -ms-flex-align: center;
3005 align-items: center;
3006 -webkit-box-pack: center;
3007 -ms-flex-pack: center;
3008 -webkit-justify-content: center;
3009 justify-content: center;
3010 -webkit-user-select: none;
3011 -moz-user-select: none;
3012 -ms-user-select: none;
3013 user-select: none;
3014 position: relative;
3015 white-space: nowrap;
3016 vertical-align: middle;
3017 outline: 2px solid transparent;
3018 outline-offset: 2px;
3019 width: auto;
3020 padding: 0px;
3021 }
3022
3023 .emotion-14 {
3024 width: 1em;
3025 height: 1em;
3026 display: inline-block;
3027 line-height: 1em;
3028 -webkit-flex-shrink: 0;
3029 -ms-flex-negative: 0;
3030 flex-shrink: 0;
3031 color: currentColor;
3032 vertical-align: middle;
3033 }
3034
3035 .emotion-15 {
3036 justify-self: flex-end;
3037 }
3038
3039 .emotion-16 {
3040 display: -webkit-inline-box;
3041 display: -webkit-inline-flex;
3042 display: -ms-inline-flexbox;
3043 display: inline-flex;
3044 -webkit-appearance: none;
3045 -moz-appearance: none;
3046 -ms-appearance: none;
3047 appearance: none;
3048 -webkit-align-items: center;
3049 -webkit-box-align: center;
3050 -ms-flex-align: center;
3051 align-items: center;
3052 -webkit-box-pack: center;
3053 -ms-flex-pack: center;
3054 -webkit-justify-content: center;
3055 justify-content: center;
3056 -webkit-user-select: none;
3057 -moz-user-select: none;
3058 -ms-user-select: none;
3059 user-select: none;
3060 position: relative;
3061 white-space: nowrap;
3062 vertical-align: middle;
3063 outline: 2px solid transparent;
3064 outline-offset: 2px;
3065 width: auto;
3066 }
3067
3068 .emotion-17 {
3069 display: -webkit-inline-box;
3070 display: -webkit-inline-flex;
3071 display: -ms-inline-flexbox;
3072 display: inline-flex;
3073 -webkit-align-self: center;
3074 -ms-flex-item-align: center;
3075 align-self: center;
3076 -webkit-flex-shrink: 0;
3077 -ms-flex-negative: 0;
3078 flex-shrink: 0;
3079 -webkit-margin-end: 0.5rem;
3080 margin-inline-end: 0.5rem;
3081 }
3082
3083 .emotion-19 {
3084 margin-top: 3px;
3085 }
3086
3087 <form
3088 className="rjsf"
3089 noValidate={false}
3090 onSubmit={[Function]}
3091 >
3092 <div
3093 className="form-group field field-object"
3094 >
3095 <div
3096 className="chakra-form-control emotion-0"
3097 role="group"
3098 >
3099
3100 <div
3101 className="emotion-1"
3102 >
3103 <div
3104 className="emotion-0"
3105 >
3106 <div
3107 className="form-group field field-string emotion-3"
3108 >
3109 <div
3110 className="emotion-0"
3111 >
3112 <div
3113 className="chakra-form-control emotion-0"
3114 role="group"
3115 >
3116 <label
3117 className="chakra-form__label emotion-6"
3118 htmlFor="root_foo-key"
3119 id="root_foo-key-label"
3120 >
3121 foo Key
3122 </label>
3123 <input
3124 className="chakra-input emotion-7"
3125 defaultValue="foo"
3126 disabled={false}
3127 id="root_foo-key"
3128 name="root_foo-key"
3129 onBlur={[Function]}
3130 onFocus={[Function]}
3131 readOnly={false}
3132 required={false}
3133 type="text"
3134 />
3135 </div>
3136 </div>
3137 <div
3138 className="emotion-0"
3139 >
3140 <div
3141 className="chakra-form-control emotion-0"
3142 role="group"
3143 >
3144 <div
3145 className="chakra-form-control emotion-7"
3146 role="group"
3147 >
3148 <input
3149 aria-describedby="root_foo__error root_foo__description root_foo__help"
3150 autoFocus={false}
3151 className="chakra-input emotion-0"
3152 disabled={false}
3153 id="root_foo"
3154 name="root_foo"
3155 onBlur={[Function]}
3156 onChange={[Function]}
3157 onFocus={[Function]}
3158 placeholder=""
3159 readOnly={false}
3160 required={false}
3161 type="text"
3162 value="foo"
3163 />
3164 </div>
3165 </div>
3166 </div>
3167 <div
3168 className="emotion-0"
3169 >
3170 <button
3171 aria-label="Remove"
3172 className="chakra-button emotion-13"
3173 disabled={false}
3174 onClick={[Function]}
3175 title="Remove"
3176 type="button"
3177 >
3178 <svg
3179 aria-hidden={true}
3180 className="chakra-icon emotion-14"
3181 focusable={false}
3182 viewBox="0 0 24 24"
3183 >
3184 <g
3185 fill="currentColor"
3186 >
3187 <path
3188 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
3189 />
3190 </g>
3191 </svg>
3192 </button>
3193 </div>
3194 </div>
3195 </div>
3196 <div
3197 className="emotion-15"
3198 >
3199 <button
3200 className="chakra-button object-property-expand emotion-16"
3201 disabled={false}
3202 onClick={[Function]}
3203 type="button"
3204 >
3205 <span
3206 className="chakra-button__icon emotion-17"
3207 >
3208 <svg
3209 aria-hidden={true}
3210 className="chakra-icon emotion-14"
3211 focusable={false}
3212 viewBox="0 0 24 24"
3213 >
3214 <path
3215 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
3216 fill="currentColor"
3217 />
3218 </svg>
3219 </span>
3220 Add Item
3221 </button>
3222 </div>
3223 </div>
3224 </div>
3225 </div>
3226 <div
3227 className="emotion-19"
3228 >
3229 <button
3230 className="chakra-button emotion-16"
3231 disabled={false}
3232 type="submit"
3233 >
3234 Submit
3235 </button>
3236 </div>
3237 </form>
3238 `;
3239
3240 exports[`object fields with title and description with global label off object 1`] = `
3241 .emotion-1 {
3242 display: grid;
3243 grid-gap: 6px;
3244 margin-bottom: 4px;
3245 }
3246
3247 .emotion-4 {
3248 margin-bottom: 1px;
3249 }
3250
3251 .emotion-10 {
3252 margin-top: 3px;
3253 }
3254
3255 .emotion-11 {
3256 display: -webkit-inline-box;
3257 display: -webkit-inline-flex;
3258 display: -ms-inline-flexbox;
3259 display: inline-flex;
3260 -webkit-appearance: none;
3261 -moz-appearance: none;
3262 -ms-appearance: none;
3263 appearance: none;
3264 -webkit-align-items: center;
3265 -webkit-box-align: center;
3266 -ms-flex-align: center;
3267 align-items: center;
3268 -webkit-box-pack: center;
3269 -ms-flex-pack: center;
3270 -webkit-justify-content: center;
3271 justify-content: center;
3272 -webkit-user-select: none;
3273 -moz-user-select: none;
3274 -ms-user-select: none;
3275 user-select: none;
3276 position: relative;
3277 white-space: nowrap;
3278 vertical-align: middle;
3279 outline: 2px solid transparent;
3280 outline-offset: 2px;
3281 width: auto;
3282 }
3283
3284 <form
3285 className="rjsf"
3286 noValidate={false}
3287 onSubmit={[Function]}
3288 >
3289 <div
3290 className="form-group field field-object"
3291 >
3292 <div
3293 className="chakra-form-control emotion-0"
3294 role="group"
3295 >
3296
3297 <div
3298 className="emotion-1"
3299 >
3300 <div
3301 className="emotion-0"
3302 >
3303 <div
3304 className="form-group field field-string"
3305 >
3306 <div
3307 className="chakra-form-control emotion-0"
3308 role="group"
3309 >
3310 <div
3311 className="chakra-form-control emotion-4"
3312 role="group"
3313 >
3314 <input
3315 aria-describedby="root_a__error root_a__description root_a__help"
3316 autoFocus={false}
3317 className="chakra-input emotion-0"
3318 disabled={false}
3319 id="root_a"
3320 name="root_a"
3321 onBlur={[Function]}
3322 onChange={[Function]}
3323 onFocus={[Function]}
3324 placeholder=""
3325 readOnly={false}
3326 required={false}
3327 type="text"
3328 value=""
3329 />
3330 </div>
3331 </div>
3332 </div>
3333 </div>
3334 <div
3335 className="emotion-0"
3336 >
3337 <div
3338 className="form-group field field-number"
3339 >
3340 <div
3341 className="chakra-form-control emotion-0"
3342 role="group"
3343 >
3344 <div
3345 className="chakra-form-control emotion-4"
3346 role="group"
3347 >
3348 <input
3349 aria-describedby="root_b__error root_b__description root_b__help"
3350 autoFocus={false}
3351 className="chakra-input emotion-0"
3352 disabled={false}
3353 id="root_b"
3354 name="root_b"
3355 onBlur={[Function]}
3356 onChange={[Function]}
3357 onFocus={[Function]}
3358 placeholder=""
3359 readOnly={false}
3360 required={false}
3361 step="any"
3362 type="number"
3363 value=""
3364 />
3365 </div>
3366 </div>
3367 </div>
3368 </div>
3369 </div>
3370 </div>
3371 </div>
3372 <div
3373 className="emotion-10"
3374 >
3375 <button
3376 className="chakra-button emotion-11"
3377 disabled={false}
3378 type="submit"
3379 >
3380 Submit
3381 </button>
3382 </div>
3383 </form>
3384 `;
3385
3386 exports[`object fields with title and description with global label off show add button and fields if additionalProperties is true and not an object 1`] = `
3387 .emotion-1 {
3388 display: grid;
3389 grid-gap: 6px;
3390 margin-bottom: 4px;
3391 }
3392
3393 .emotion-3 {
3394 display: grid;
3395 grid-gap: 2px;
3396 -webkit-align-items: center;
3397 -webkit-box-align: center;
3398 -ms-flex-align: center;
3399 align-items: center;
3400 }
3401
3402 .emotion-6 {
3403 display: block;
3404 text-align: start;
3405 }
3406
3407 .emotion-7 {
3408 margin-bottom: 1px;
3409 }
3410
3411 .emotion-13 {
3412 display: -webkit-inline-box;
3413 display: -webkit-inline-flex;
3414 display: -ms-inline-flexbox;
3415 display: inline-flex;
3416 -webkit-appearance: none;
3417 -moz-appearance: none;
3418 -ms-appearance: none;
3419 appearance: none;
3420 -webkit-align-items: center;
3421 -webkit-box-align: center;
3422 -ms-flex-align: center;
3423 align-items: center;
3424 -webkit-box-pack: center;
3425 -ms-flex-pack: center;
3426 -webkit-justify-content: center;
3427 justify-content: center;
3428 -webkit-user-select: none;
3429 -moz-user-select: none;
3430 -ms-user-select: none;
3431 user-select: none;
3432 position: relative;
3433 white-space: nowrap;
3434 vertical-align: middle;
3435 outline: 2px solid transparent;
3436 outline-offset: 2px;
3437 width: auto;
3438 padding: 0px;
3439 }
3440
3441 .emotion-14 {
3442 width: 1em;
3443 height: 1em;
3444 display: inline-block;
3445 line-height: 1em;
3446 -webkit-flex-shrink: 0;
3447 -ms-flex-negative: 0;
3448 flex-shrink: 0;
3449 color: currentColor;
3450 vertical-align: middle;
3451 }
3452
3453 .emotion-15 {
3454 justify-self: flex-end;
3455 }
3456
3457 .emotion-16 {
3458 display: -webkit-inline-box;
3459 display: -webkit-inline-flex;
3460 display: -ms-inline-flexbox;
3461 display: inline-flex;
3462 -webkit-appearance: none;
3463 -moz-appearance: none;
3464 -ms-appearance: none;
3465 appearance: none;
3466 -webkit-align-items: center;
3467 -webkit-box-align: center;
3468 -ms-flex-align: center;
3469 align-items: center;
3470 -webkit-box-pack: center;
3471 -ms-flex-pack: center;
3472 -webkit-justify-content: center;
3473 justify-content: center;
3474 -webkit-user-select: none;
3475 -moz-user-select: none;
3476 -ms-user-select: none;
3477 user-select: none;
3478 position: relative;
3479 white-space: nowrap;
3480 vertical-align: middle;
3481 outline: 2px solid transparent;
3482 outline-offset: 2px;
3483 width: auto;
3484 }
3485
3486 .emotion-17 {
3487 display: -webkit-inline-box;
3488 display: -webkit-inline-flex;
3489 display: -ms-inline-flexbox;
3490 display: inline-flex;
3491 -webkit-align-self: center;
3492 -ms-flex-item-align: center;
3493 align-self: center;
3494 -webkit-flex-shrink: 0;
3495 -ms-flex-negative: 0;
3496 flex-shrink: 0;
3497 -webkit-margin-end: 0.5rem;
3498 margin-inline-end: 0.5rem;
3499 }
3500
3501 .emotion-19 {
3502 margin-top: 3px;
3503 }
3504
3505 <form
3506 className="rjsf"
3507 noValidate={false}
3508 onSubmit={[Function]}
3509 >
3510 <div
3511 className="form-group field field-object"
3512 >
3513 <div
3514 className="chakra-form-control emotion-0"
3515 role="group"
3516 >
3517
3518 <div
3519 className="emotion-1"
3520 >
3521 <div
3522 className="emotion-0"
3523 >
3524 <div
3525 className="form-group field field-string emotion-3"
3526 >
3527 <div
3528 className="emotion-0"
3529 >
3530 <div
3531 className="chakra-form-control emotion-0"
3532 role="group"
3533 >
3534 <label
3535 className="chakra-form__label emotion-6"
3536 htmlFor="root_additionalProperty-key"
3537 id="root_additionalProperty-key-label"
3538 >
3539 additionalProperty Key
3540 </label>
3541 <input
3542 className="chakra-input emotion-7"
3543 defaultValue="additionalProperty"
3544 disabled={false}
3545 id="root_additionalProperty-key"
3546 name="root_additionalProperty-key"
3547 onBlur={[Function]}
3548 onFocus={[Function]}
3549 readOnly={false}
3550 required={false}
3551 type="text"
3552 />
3553 </div>
3554 </div>
3555 <div
3556 className="emotion-0"
3557 >
3558 <div
3559 className="chakra-form-control emotion-0"
3560 role="group"
3561 >
3562 <div
3563 className="chakra-form-control emotion-7"
3564 role="group"
3565 >
3566 <input
3567 aria-describedby="root_additionalProperty__error root_additionalProperty__description root_additionalProperty__help"
3568 autoFocus={false}
3569 className="chakra-input emotion-0"
3570 disabled={false}
3571 id="root_additionalProperty"
3572 name="root_additionalProperty"
3573 onBlur={[Function]}
3574 onChange={[Function]}
3575 onFocus={[Function]}
3576 placeholder=""
3577 readOnly={false}
3578 required={false}
3579 type="text"
3580 value="should appear"
3581 />
3582 </div>
3583 </div>
3584 </div>
3585 <div
3586 className="emotion-0"
3587 >
3588 <button
3589 aria-label="Remove"
3590 className="chakra-button emotion-13"
3591 disabled={false}
3592 onClick={[Function]}
3593 title="Remove"
3594 type="button"
3595 >
3596 <svg
3597 aria-hidden={true}
3598 className="chakra-icon emotion-14"
3599 focusable={false}
3600 viewBox="0 0 24 24"
3601 >
3602 <g
3603 fill="currentColor"
3604 >
3605 <path
3606 d="M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"
3607 />
3608 </g>
3609 </svg>
3610 </button>
3611 </div>
3612 </div>
3613 </div>
3614 <div
3615 className="emotion-15"
3616 >
3617 <button
3618 className="chakra-button object-property-expand emotion-16"
3619 disabled={false}
3620 onClick={[Function]}
3621 type="button"
3622 >
3623 <span
3624 className="chakra-button__icon emotion-17"
3625 >
3626 <svg
3627 aria-hidden={true}
3628 className="chakra-icon emotion-14"
3629 focusable={false}
3630 viewBox="0 0 24 24"
3631 >
3632 <path
3633 d="M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z"
3634 fill="currentColor"
3635 />
3636 </svg>
3637 </span>
3638 Add Item
3639 </button>
3640 </div>
3641 </div>
3642 </div>
3643 </div>
3644 <div
3645 className="emotion-19"
3646 >
3647 <button
3648 className="chakra-button emotion-16"
3649 disabled={false}
3650 type="submit"
3651 >
3652 Submit
3653 </button>
3654 </div>
3655 </form>
3656 `;