On this page
Components
Banner / callout
Target cho Inbox thuần chatty-ui; owner hiện tại là HandoffCard, chưa phải component dùng chung mới.
Copy page as MarkdownRead Markdown ↗ Key rules
- Admin: phần Current chỉ chỉ ra owner đang dùng; component Inbox dùng chung theo thiết kế nằm ở Target.
- Admin: ảnh preview là thiết kế, không chứng minh API hoặc hành vi đã ship.
On this page
Use when / Avoid
Dùng để triển khai Banner / callout của Inbox theo Target. Không import tên component Target chưa tồn tại; không coi owner cục bộ là API dùng chung.
Use instead
| Component |
Use when |
| HandoffCard |
Owner hiện tại của vùng tương ứng; chưa phải Target dùng chung |
| Input |
Ô nhập thô của kit, chưa có đủ wrapper Target |
Live preview
Admin
LightDarkDesktopMobile
Target: ảnh chụp mock, xem trạng thái và vùng dùng trong Target; chưa phải implementation.
Show code
inbox-component-targets.jsxWrap code linesCopyimport React from 'react';
function Design({asset,name}) { return <figure data-inbox-design style={{margin:0}}><a href={'/maps/'+asset}><img src={'/maps/'+asset} alt={name+' Inbox design target'} style={{display:'block',maxWidth:'100%',height:'auto'}}/></a><figcaption>Target · thiết kế mock, chưa phải implementation. Ảnh không chứng minh mọi trạng thái yêu cầu đã có.</figcaption></figure>; }
export function Banner() { return <Design asset="inbox-target-overview.webp" name="Banner / callout"/>; }
Import / element
| Component / element |
Import / file |
Scope root |
HandoffCard |
import HandoffCard from '@assets/pages/InboxManagement/Parts/ConverstionDetail/HandoffCard.js'; |
Owner cục bộ hiện tại; chưa có scope dùng chung cho component Target |
Anatomy
| Part |
Element |
| 1 |
Owner hiện tại: HandoffCard; component dùng chung mới chưa có |
Placement / order
| Context |
Order |
| Inbox |
Theo caller hiện tại; vị trí của component mới nằm ở Target |
Props
Sizes
Tokens
| Part |
Token |
Light |
Dark |
| Not available |
Not available |
Not available |
Not available |
States
| State |
Trigger |
Visual change (values) |
ARIA/attribute |
| Not available |
Not available |
Chưa có state contract dùng chung theo Target |
Not available |
Behaviour
| Interaction |
Result |
| Current owner |
Theo logic cục bộ; contract mới xem Target |
Copy
| String |
i18n key |
Where |
| Not available |
Not available |
Nhãn do caller hiện tại quản lý |
Source
| File |
Evidence |
|
Owner hiện tại; không chứng minh component Target đã có |
Do / Don't
Accessibility
Target
Ảnh chỉ chứng minh phần được vẽ trong mock; các trạng thái liệt kê là yêu cầu triển khai, không claim ảnh hoặc code đã có đủ.