diff --git a/packages/antd/test/__snapshots__/Object.test.tsx.snap b/packages/antd/test/__snapshots__/Object.test.tsx.snap index 12ee8f5b25..432f3fd599 100644 --- a/packages/antd/test/__snapshots__/Object.test.tsx.snap +++ b/packages/antd/test/__snapshots__/Object.test.tsx.snap @@ -1,515 +1,349 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`nameGenerator bracketNameGenerator nested object 1`] = ` -
-
+
-
-
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
@@ -517,8 +351,8 @@ exports[`nameGenerator bracketNameGenerator nested object 1`] = `
-
-
+
+
@@ -526,8 +360,8 @@ exports[`nameGenerator bracketNameGenerator nested object 1`] = `
- - + + @@ -535,755 +369,545 @@ exports[`nameGenerator bracketNameGenerator nested object 1`] = ` - - + + - - -
+ + + `; exports[`nameGenerator bracketNameGenerator object with additionalProperties 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
- -
- + +
- - + + - - -
+ + + `; exports[`nameGenerator bracketNameGenerator object with mixed types 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - + + - - - + + - -
-
- +
+
+ +
+
-
@@ -1291,602 +915,473 @@ exports[`nameGenerator bracketNameGenerator object with mixed types 1`] = `
-
-
- + class="ant-checkbox ant-wave-target css-dev-only-do-not-override-ac2jek ant-checkbox-checked" + > + + + + + active + + +
-
-
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- - - + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- - + + +
+
+
+
+
+
+
-
-
-
- -
-
-
-
- + +
@@ -1986,388 +1411,288 @@ exports[`nameGenerator bracketNameGenerator object with mixed types 1`] = `
- - + + - - -
+ + + `; exports[`nameGenerator bracketNameGenerator simple object 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - + + - - - + + - -
-
- +
+
+ +
+
-
@@ -2376,456 +1701,312 @@ exports[`nameGenerator bracketNameGenerator simple object 1`] = `
-
- + +
- - -
+ + + `; exports[`nameGenerator dotNotationNameGenerator nested object 1`] = ` -
-
+
-
-
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
@@ -2833,8 +2014,8 @@ exports[`nameGenerator dotNotationNameGenerator nested object 1`] = `
-
-
+
+
@@ -2842,8 +2023,8 @@ exports[`nameGenerator dotNotationNameGenerator nested object 1`] = `
- - + + @@ -2851,306 +2032,232 @@ exports[`nameGenerator dotNotationNameGenerator nested object 1`] = ` - - + + - - -
+ + + `; exports[`nameGenerator dotNotationNameGenerator object with mixed types 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - + + - - - + + - -
-
- +
+
+ +
+
-
@@ -3158,530 +2265,420 @@ exports[`nameGenerator dotNotationNameGenerator object with mixed types 1`] = `
-
-
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- - - + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- - + + +
+
+
+
+
+
+
-
-
-
- -
-
-
-
- + +
@@ -3781,388 +2708,288 @@ exports[`nameGenerator dotNotationNameGenerator object with mixed types 1`] = `
- - + + - - -
+ + + `; exports[`nameGenerator dotNotationNameGenerator simple object 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
-
-
+
+
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - + + - - - + + - -
-
- +
+
+ +
+
-
@@ -4171,673 +2998,487 @@ exports[`nameGenerator dotNotationNameGenerator simple object 1`] = `
-
- + + - - -
+ + + `; exports[`object fields additionalProperties 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + + - - -
+ + + `; exports[`object fields object 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - + + - - - + + - -
-
- +
+
+ +
+
-
@@ -4846,1545 +3487,1103 @@ exports[`object fields object 1`] = `
-
- + +
- - -
+ + + `; exports[`object fields show add button and fields if additionalProperties is true and not an object 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + + - - -
+ + + `; exports[`object fields with title and description additionalProperties 1`] = ` -
-
+
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + +
- -
- - a test description - + + a test description + +
- - -
+ + + `; exports[`object fields with title and description from both additionalProperties 1`] = ` -
-
+
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + +
- -
- - a fancier description - + + a fancier description + +
- - -
+ + + `; exports[`object fields with title and description from both object 1`] = ` -
-
+
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- - a fancier item A description - + + a fancier item A description + +
-
-
- -
-
+ +
- - + + - - - + + - -
-
- +
+
+ +
+
-
-
-
- - a fancier item B description - + + a fancier item B description + +
@@ -6392,784 +4591,574 @@ exports[`object fields with title and description from both object 1`] = `
-
- + +
- -
- - a fancier description - + + a fancier description + +
- - -
+ + + `; exports[`object fields with title and description from uiSchema additionalProperties 1`] = ` -
-
+
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + +
- -
- - a fancier description - + + a fancier description + +
- - -
+ + + `; exports[`object fields with title and description from uiSchema object 1`] = ` -
-
+
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- - a fancier item A description - + + a fancier item A description + +
-
-
- -
-
+ +
- - + + - - - + + - -
-
- +
+
+ +
+
-
-
-
- - a fancier item B description - + + a fancier item B description + +
@@ -7177,784 +5166,574 @@ exports[`object fields with title and description from uiSchema object 1`] = `
-
- + +
- -
- - a fancier description - + + a fancier description + +
- - -
+ + + `; exports[`object fields with title and description from uiSchema show add button and fields if additionalProperties is true and not an object 1`] = ` -
-
+
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + +
- -
- - a fancier description - + + a fancier description + +
- - -
+ + + `; exports[`object fields with title and description object 1`] = ` -
-
+
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- - A description - + + A description + +
-
-
- -
-
+ +
- - + + - - - + + - -
-
- +
+
+ +
+
-
-
-
- - B description - + + B description + +
@@ -7962,1102 +5741,793 @@ exports[`object fields with title and description object 1`] = `
-
- + +
- -
- - a test description - + + a test description + +
- - -
+ + + `; exports[`object fields with title and description show add button and fields if additionalProperties is true and not an object 1`] = ` -
-
+
-
-
-
-
-
+ class="ant-col ant-col-24 ant-form-item-label css-dev-only-do-not-override-ac2jek" + style="padding-left: 12px; padding-right: 12px;" + > + +
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + +
- -
- - a test description - + + a test description + +
- - -
+ + + `; exports[`object fields with title and description with global label off additionalProperties 1`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + +
- -
- - a test description - + + a test description + +
- - -
+ + + `; exports[`object fields with title and description with global label off object 1`] = ` -
-
+
-
-
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- - A description - + + A description + +
-
-
- - + + - - - + + - -
-
- +
+
+ +
+
-
-
-
- - B description - + + B description + +
@@ -9065,407 +6535,292 @@ exports[`object fields with title and description with global label off object 1
-
- + +
-
-
- - a test description - + + a test description + +
- - -
+ + + `; 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`] = ` -
-
+
-
-
- -
-
+ +
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined form-control" + style="width: 100%;" + > + + + +
-
-
- - - + class="ant-input-affix-wrapper css-dev-only-do-not-override-ac2jek ant-input-outlined" + style="width: 100%;" + > + + + +
-
-
- + +
-
-
- + +
-
- + +
- -
- - a test description - + + a test description + +
- - -
+ + + `; diff --git a/packages/chakra-ui/test/__snapshots__/Object.test.tsx.snap b/packages/chakra-ui/test/__snapshots__/Object.test.tsx.snap index adb10e5f4e..437b03baf9 100644 --- a/packages/chakra-ui/test/__snapshots__/Object.test.tsx.snap +++ b/packages/chakra-ui/test/__snapshots__/Object.test.tsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`nameGenerator bracketNameGenerator nested object 1`] = ` -[ + @layer recipes { .emotion-0 { display: -webkit-box; @@ -248,103 +248,91 @@ exports[`nameGenerator bracketNameGenerator nested object 1`] = ` }
person
@@ -355,81 +343,72 @@ exports[`nameGenerator bracketNameGenerator nested object 1`] = `
address
@@ -440,49 +419,41 @@ exports[`nameGenerator bracketNameGenerator nested object 1`] = `
@@ -493,49 +464,41 @@ exports[`nameGenerator bracketNameGenerator nested object 1`] = `
@@ -559,25 +522,24 @@ exports[`nameGenerator bracketNameGenerator nested object 1`] = `
- , +