Skip to content

BREAKING CHANGE: [Subhead] change default component to span#6133

Merged
mendrew merged 4 commits intomasterfrom
mendrew/feat/4697/Subhead/change-default-component-to-span
Nov 29, 2023
Merged

BREAKING CHANGE: [Subhead] change default component to span#6133
mendrew merged 4 commits intomasterfrom
mendrew/feat/4697/Subhead/change-default-component-to-span

Conversation

@mendrew
Copy link
Copy Markdown
Contributor

@mendrew mendrew commented Nov 24, 2023


  • Документация фичи

Описание

Меняем тэг, в котором контент рендерится по-умолчанию , на span, потому что Subhead в первую очередь визуальный компонент. Если надо поменять тэг, можно воспользоваться свойством Component.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 24, 2023

size-limit report 📦

Path Size
JS 342.49 KB (+0.01% 🔺)
JS (gzip) 104.62 KB (-0.01% 🔽)
JS (brotli) 86.36 KB (-0.07% 🔽)
JS import Div (tree shaking) 1.43 KB (0%)
CSS 261.47 KB (0%)
CSS (gzip) 33.97 KB (0%)
CSS (brotli) 27.54 KB (0%)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 24, 2023

e2e tests

Playwright Report

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci bot commented Nov 24, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6e8bf4b:

Sandbox Source
VKUI TypeScript Configuration

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 24, 2023

👀 Docs deployed

Commit 6e8bf4b

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0c687c7) 79.78% compared to head (6e8bf4b) 79.78%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6133   +/-   ##
=======================================
  Coverage   79.78%   79.78%           
=======================================
  Files         318      318           
  Lines       10078    10078           
  Branches     3396     3396           
=======================================
  Hits         8041     8041           
  Misses       2037     2037           
Flag Coverage Δ
unittests 79.78% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mendrew mendrew marked this pull request as ready for review November 24, 2023 12:13
@mendrew mendrew requested a review from a team as a code owner November 24, 2023 12:13
@mendrew mendrew requested a review from eugpoloz November 24, 2023 12:13
Copy link
Copy Markdown
Contributor

@SevereCloud SevereCloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужна документация в мигрейшон гайд

@mendrew mendrew marked this pull request as draft November 27, 2023 06:45
@mendrew mendrew force-pushed the mendrew/feat/4697/Subhead/change-default-component-to-span branch from a40aac1 to 1a40cd1 Compare November 29, 2023 10:47
mendrew and others added 4 commits November 29, 2023 15:24
fixes: #4697

Because by default it's more about visual difference.
If user needs another compoent - can change the Component prop.
@mendrew mendrew force-pushed the mendrew/feat/4697/Subhead/change-default-component-to-span branch from 1a40cd1 to 6e8bf4b Compare November 29, 2023 12:26
@mendrew mendrew marked this pull request as ready for review November 29, 2023 12:35
@mendrew mendrew requested a review from SevereCloud November 29, 2023 12:35
@mendrew
Copy link
Copy Markdown
Contributor Author

mendrew commented Nov 29, 2023

@SevereCloud обновли migration guide ⚡ 6e8bf4b

@mendrew mendrew requested review from a team and eugpoloz and removed request for eugpoloz November 29, 2023 12:54
@mendrew mendrew merged commit 2bb857e into master Nov 29, 2023
@mendrew mendrew deleted the mendrew/feat/4697/Subhead/change-default-component-to-span branch November 29, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Subhead]: Поменять дефолтный Component на span

5 participants