diff --git a/packages/codemods/src/transforms/v7/__testfixtures__/separator/basic.input.tsx b/packages/codemods/src/transforms/v7/__testfixtures__/separator/basic.input.tsx index ce4d52cd85..7f16321d96 100644 --- a/packages/codemods/src/transforms/v7/__testfixtures__/separator/basic.input.tsx +++ b/packages/codemods/src/transforms/v7/__testfixtures__/separator/basic.input.tsx @@ -7,6 +7,7 @@ const App = () => { + ); }; diff --git a/packages/codemods/src/transforms/v7/__tests__/__snapshots__/separator.ts.snap b/packages/codemods/src/transforms/v7/__tests__/__snapshots__/separator.ts.snap index 2e7746a6d1..7f13a1ea77 100644 --- a/packages/codemods/src/transforms/v7/__tests__/__snapshots__/separator.ts.snap +++ b/packages/codemods/src/transforms/v7/__tests__/__snapshots__/separator.ts.snap @@ -8,8 +8,9 @@ const App = () => { return ( ( - + + ) ); };" diff --git a/packages/codemods/src/transforms/v7/separator.ts b/packages/codemods/src/transforms/v7/separator.ts index ddece54d0b..f1dcff7eb3 100644 --- a/packages/codemods/src/transforms/v7/separator.ts +++ b/packages/codemods/src/transforms/v7/separator.ts @@ -13,6 +13,7 @@ export default function transformer(file: FileInfo, api: API, options: JSCodeShi if (localName) { renameProp(j, source, localName, { mode: 'appearance' }); + renameProp(j, source, localName, { wide: 'noPadding' }); } return source.toSource(); diff --git a/packages/vkui/src/components/FixedLayout/FixedLayout.e2e-playground.tsx b/packages/vkui/src/components/FixedLayout/FixedLayout.e2e-playground.tsx index 48d9bd0dbe..40a1ced917 100644 --- a/packages/vkui/src/components/FixedLayout/FixedLayout.e2e-playground.tsx +++ b/packages/vkui/src/components/FixedLayout/FixedLayout.e2e-playground.tsx @@ -81,7 +81,7 @@ export const FixedLayoutPlayground = ( Fixed layout - + 176 сообществ 9 событий diff --git a/packages/vkui/src/components/FixedLayout/FixedLayout.stories.tsx b/packages/vkui/src/components/FixedLayout/FixedLayout.stories.tsx index 839d69321e..2aeafc12c0 100644 --- a/packages/vkui/src/components/FixedLayout/FixedLayout.stories.tsx +++ b/packages/vkui/src/components/FixedLayout/FixedLayout.stories.tsx @@ -32,7 +32,7 @@ export const Playground: Story = { Fixed layout - + 176 сообществ 9 событий @@ -55,7 +55,7 @@ export const WithSearchAndContent: Story = { Fixed layout - + diff --git a/packages/vkui/src/components/FixedLayout/Readme.md b/packages/vkui/src/components/FixedLayout/Readme.md index 124d24741b..a3e1a5c19f 100644 --- a/packages/vkui/src/components/FixedLayout/Readme.md +++ b/packages/vkui/src/components/FixedLayout/Readme.md @@ -20,7 +20,7 @@ const Example = () => { Fixed layout - + @@ -75,7 +75,7 @@ const Example = () => { - + setActiveTab('groups')}> 176 сообществ diff --git a/packages/vkui/src/components/ModalPageHeader/ModalPageHeader.tsx b/packages/vkui/src/components/ModalPageHeader/ModalPageHeader.tsx index d2b85c6322..7dde1b4017 100644 --- a/packages/vkui/src/components/ModalPageHeader/ModalPageHeader.tsx +++ b/packages/vkui/src/components/ModalPageHeader/ModalPageHeader.tsx @@ -58,7 +58,7 @@ export const ModalPageHeader = ({ {children} - {!noSeparator && } + {!noSeparator && } > ); }; diff --git a/packages/vkui/src/components/PanelHeader/PanelHeader.tsx b/packages/vkui/src/components/PanelHeader/PanelHeader.tsx index 3097d80e00..72b612da20 100644 --- a/packages/vkui/src/components/PanelHeader/PanelHeader.tsx +++ b/packages/vkui/src/components/PanelHeader/PanelHeader.tsx @@ -190,7 +190,7 @@ export const PanelHeader = ({ )} > )} - {separatorVisible && isVKCOM && } + {separatorVisible && isVKCOM && } ); }; diff --git a/packages/vkui/src/components/Separator/Readme.md b/packages/vkui/src/components/Separator/Readme.md index 7aecae2db4..a78d2e4d6b 100644 --- a/packages/vkui/src/components/Separator/Readme.md +++ b/packages/vkui/src/components/Separator/Readme.md @@ -1,4 +1,4 @@ -Используется для разделения какого-либо контента. Отступы справа и слева контролируются свойством `wide`. +Используется для разделения какого-либо контента. Отступы справа и слева контролируются свойством `noPadding`. ```jsx diff --git a/packages/vkui/src/components/Separator/Separator.tsx b/packages/vkui/src/components/Separator/Separator.tsx index eaabc9c67c..5e520b91d5 100644 --- a/packages/vkui/src/components/Separator/Separator.tsx +++ b/packages/vkui/src/components/Separator/Separator.tsx @@ -11,7 +11,7 @@ export interface SeparatorProps extends HTMLAttributesWithRootRef ( diff --git a/packages/vkui/src/components/WriteBar/Readme.md b/packages/vkui/src/components/WriteBar/Readme.md index c97ebf6925..989d53cb38 100644 --- a/packages/vkui/src/components/WriteBar/Readme.md +++ b/packages/vkui/src/components/WriteBar/Readme.md @@ -183,12 +183,12 @@ const WriteBarExample = (props) => { - + {isAttachmentsShown && ( Интерфейс прикрепления - + )}