Repository navigation
Conversation
…and list (#DS-5644) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit 3895b01): https://koobiq-next--prs-2259-hpszgeml.web.app (expires Fri, 30 Oct 2026 15:51:31 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c |
NikGurev
marked this pull request as draft
October 27, 2026 15:39
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что сделано
Плавная анимация раскрытия и сворачивания в
KbqClampedTextиKbqClampedList, как в React-версии (koobiq/react-components#513, хукuseCollapseAnimation).block-sizeчерез Web Animations API: от высоты до переключения к высоте после.overflow: clipтолько на время анимации.toggle()(действие пользователя): ресайз, сменаitemsили появление триггера анимацию не запускают.element.animate(SSR, jsdom) и при отключённой анимации (prefers-reduced-motion: reduce,KBQ_ANIMATIONS_CONFIG,NoopAnimations) — черезkbqAnimationsDisabled()из core.duration(мс, по умолчанию 100,numberAttribute) в обоих компонентах.collapse-animation.ts, в public API не экспортируется. Вclamped-text.api.mdдобавлен толькоduration.На что обратить внимание
KbqClampedTextанимируется.kbq-clamped-text__content, вKbqClampedList— хост. Хост содержит проецируемый триггер, поэтому его высота включает триггер, а раскрытие выглядит цельным. Если хост спискаdisplay: inline,block-sizeна нём не действует и анимации не будет видно — для такого случая нужен блочный контейнер.scrollIntoViewвKbqClampedTextне менялся..mdxописаний входов нет (они берутся из JSDoc на вкладке API), поэтому docs-страницы не менялись;durationописан в JSDoc.yarn run check-api-docsпадает наcomponents-tree-select, это не связано с изменением.🤖 Generated with Claude Code