diff --git a/packages/blocks/blocksAntd/demo/examples/CheckboxSwitch.yaml b/packages/blocks/blocksAntd/demo/examples/CheckboxSwitch.yaml index 6930205ec..16cb56da3 100644 --- a/packages/blocks/blocksAntd/demo/examples/CheckboxSwitch.yaml +++ b/packages/blocks/blocksAntd/demo/examples/CheckboxSwitch.yaml @@ -8,15 +8,6 @@ type: CheckboxSwitch properties: description: Option 2 -- id: 'properties.description-number' - type: CheckboxSwitch - properties: - description: 20 -- id: 'properties.description-object' - type: CheckboxSwitch - properties: - description: - two: one - id: 'properties.color_red' type: CheckboxSwitch properties: diff --git a/packages/blocks/blocksAntd/tests/__snapshots__/CheckboxSwitch.mock.test.js.snap b/packages/blocks/blocksAntd/tests/__snapshots__/CheckboxSwitch.mock.test.js.snap index 8c7e0ab9b..f91e475aa 100644 --- a/packages/blocks/blocksAntd/tests/__snapshots__/CheckboxSwitch.mock.test.js.snap +++ b/packages/blocks/blocksAntd/tests/__snapshots__/CheckboxSwitch.mock.test.js.snap @@ -230,100 +230,6 @@ Array [ ] `; -exports[`Mock render - properties.description-number - value[0] - default 1`] = ` -Array [ - Array [ - Object { - "checked": false, - "children": , - "className": "{\\"style\\":[null,{\\"marginRight\\":\\"30px\\"},null]}", - "disabled": undefined, - "id": "properties.description-number_input", - "onChange": [Function], - }, - Object {}, - ], -] -`; - -exports[`Mock render - properties.description-object - value[0] - default 1`] = ` -Array [ - Array [ - Object { - "checked": false, - "children": , - "className": "{\\"style\\":[null,{\\"marginRight\\":\\"30px\\"},null]}", - "disabled": undefined, - "id": "properties.description-object_input", - "onChange": [Function], - }, - Object {}, - ], -] -`; - exports[`Mock render - properties.description-string - value[0] - default 1`] = ` Array [ Array [ diff --git a/packages/blocks/blocksAntd/tests/__snapshots__/CheckboxSwitch.test.js.snap b/packages/blocks/blocksAntd/tests/__snapshots__/CheckboxSwitch.test.js.snap index 894f46c45..0a9e3927b 100644 --- a/packages/blocks/blocksAntd/tests/__snapshots__/CheckboxSwitch.test.js.snap +++ b/packages/blocks/blocksAntd/tests/__snapshots__/CheckboxSwitch.test.js.snap @@ -309,136 +309,6 @@ exports[`Render properties.description: long text label disabled - value[0] 1`] `; -exports[`Render properties.description-number - value[0] 1`] = ` -
-
- -
-
-
-
- -
-
-
-
-`; - -exports[`Render properties.description-object - value[0] 1`] = ` -
-
- -
-
-
-
- -
-
-
-
-`; - exports[`Render properties.description-string - value[0] 1`] = `
`; -exports[`Render required = true properties.description-number - value[0] 1`] = ` -
-
- -
-
-
-
- -
-
-
-
-`; - -exports[`Render required = true properties.description-object - value[0] 1`] = ` -
-
- -
-
-
-
- -
-
-
-
-`; - exports[`Render required = true properties.description-string - value[0] 1`] = `
`; -exports[`Render validation.status = error properties.description-number - value[0] 1`] = ` -
-
- -
-
-
-
- -
- - - - - -
-
- validation error -
-
-
-`; - -exports[`Render validation.status = error properties.description-object - value[0] 1`] = ` -
-
- -
-
-
-
- -
- - - - - -
-
- validation error -
-
-
-`; - exports[`Render validation.status = error properties.description-string - value[0] 1`] = `
`; -exports[`Render validation.status = null properties.description-number - value[0] 1`] = ` -
-
- -
-
-
-
- -
-
-
-
-`; - -exports[`Render validation.status = null properties.description-object - value[0] 1`] = ` -
-
- -
-
-
-
- -
-
-
-
-`; - exports[`Render validation.status = null properties.description-string - value[0] 1`] = `
`; -exports[`Render validation.status = success properties.description-number - value[0] 1`] = ` -
-
- -
-
-
-
- -
- - - - - -
-
-
-`; - -exports[`Render validation.status = success properties.description-object - value[0] 1`] = ` -
-
- -
-
-
-
- -
- - - - - -
-
-
-`; - exports[`Render validation.status = success properties.description-string - value[0] 1`] = `
`; -exports[`Render validation.status = warning properties.description-number - value[0] 1`] = ` -
-
- -
-
-
-
- -
- - - - - -
-
- validation warning -
-
-
-`; - -exports[`Render validation.status = warning properties.description-object - value[0] 1`] = ` -
-
- -
-
-
-
- -
- - - - - -
-
- validation warning -
-
-
-`; - exports[`Render validation.status = warning properties.description-string - value[0] 1`] = `