ترقية @wordpress/components من 43.x إلى 44.x
مقارنة الواجهة العامة لـ @wordpress/components بين 43.0.0 و44.0.0، محسوبة تلقائيًا من أنواع TypeScript. التوقيع المعدّل تغيير محتمل غير متوافق، وليس أمرًا مؤكدًا.
الملخص
| مسارات الاستيراد المحذوفة | 0 |
|---|---|
| الصادرات المحذوفة | 0 |
| التوقيعات المعدّلة | 3 |
| أعضاء الأصناف أو الواجهات المحذوفة | 0 |
| أعضاء الأصناف أو الواجهات المعدّلة | 0 |
| موقوفة حديثًا | 5 |
| تغييرات المتطلبات (engines واعتماديات peer) | 4 |
| صادرات جديدة | 0 |
الصادرات المحذوفة
لم يُكتشف شيء.
التوقيعات المعدّلة
| export | قبل | بعد |
|---|---|---|
@wordpress/components · Autocomplete | ({ children, isSelected, ...options }: AutocompleteProps): any | <TReplacement = RichTextValue>({ children, isSelected, ...options }: AutocompleteProps<TReplacement>): any |
@wordpress/components · CustomGradientPicker | ({ value, onChange, enableAlpha, __experimentalIsRenderedInSidebar, }: CustomGradientPickerProps): any | (props: CustomGradientPickerProps): any |
@wordpress/components · __unstableUseAutocompleteProps | (options: Omit<UseAutocompleteProps, "contentRef">): { ref: any; children?: undefined; 'aria-autocomplete'?: undefined; 'aria-haspopup'?: undefined; 'aria-controls'?: undefined; 'aria-owns'?: undefined; 'aria-activedescendant'?: undefined; } | { ref: any; children: any; 'aria-autocomplete': "list" | undefined; 'aria-haspopup': "listbox" | undefined; 'aria-controls': string | undefined; 'aria-owns': string | undefined; 'aria-activedescendant': string | undefined; } | <TReplacement = RichTextValue>(options: Omit<UseAutocompleteProps<TReplacement>, "contentRef">): { ref: any; children?: undefined; 'aria-autocomplete'?: undefined; 'aria-haspopup'?: undefined; 'aria-controls'?: undefined; 'aria-owns'?: undefined; 'aria-activedescendant'?: undefined; } | { ref: any; children: any; 'aria-autocomplete': "list" | undefined; 'aria-haspopup': "listbox" | undefined; 'aria-controls': string | undefined; 'aria-owns': string | undefined; 'aria-activedescendant': string | undefined; } |
أعضاء الأصناف أو الواجهات المحذوفة
لم يُكتشف شيء.
أعضاء الأصناف أو الواجهات المعدّلة
لم يُكتشف شيء.
موقوفة حديثًا
| export | @deprecated |
|---|---|
@wordpress/components · Tooltip | Use `Tooltip` from `@wordpress/ui` instead. |
@wordpress/components · FormToggle | Use `Switch` from `@wordpress/ui` instead. ```jsx import { FormToggle } from '@wordpress/components'; import { useState } from '@wordpress/element'; const MyFormToggle = () => { const [ isChecked, setChecked ] = useState( true ); return ( <FormToggle checked={ isChecked } onChange={ () => setChec… |
@wordpress/components · ProgressBar | Use `Progress` from `@wordpress/ui` instead. ```jsx import { ProgressBar } from '@wordpress/components'; const MyLoadingComponent = () => { return <ProgressBar />; }; ``` |
@wordpress/components · TabbableContainer | ```jsx import { TabbableContainer, Button, } from '@wordpress/components'; function onNavigate( index, target ) { console.log( `Navigates to ${ index }`, target ); } const MyTabbableContainer = () => ( <div> <span>Tabbable Container:</span> <TabbableContainer onNavigate… |
@wordpress/components · CustomGradientPicker | Use `GradientPicker` with `clearable={ false }` instead. ```jsx import { GradientPicker } from '@wordpress/components'; import { useState } from '@wordpress/element'; const MyGradientEditor = () => { const [ gradient, setGradient ] = useState(); return ( <GradientPicker clearable={ false } value=… |
تغييرات المتطلبات (engines واعتماديات peer)
| قبل | بعد | |
|---|---|---|
engines.node | >=22.13.0 | — |
peerDependencies.react | ^18 || ^19 | — |
peerDependencies.react-dom | ^18 || ^19 | — |
peerDependencies.@types/react | ^18 || ^19 | — |
زوّد وكيل الذكاء الاصطناعي بهذه البيانات
Vigia خادم MCP مجاني: يتحقق وكيل البرمجة لديك من الإصدارات والتغييرات غير المتوافقة والثغرات قبل أن يكتب الشيفرة. بلا تسجيل ولا مفتاح API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
أضِف إلى Cursorأضِف إلى VS Code★ نجمة على GitHub
أي عميل MCP آخر
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }مهارة للوكلاء (SKILL.md): تخبر الوكيل متى يستخدم Vigia · GitHub Action لطلبات السحب
الأسئلة الشائعة
ما التغييرات غير المتوافقة عند ترقية @wordpress/components من 43 إلى 44؟
بين @wordpress/components 43.0.0 و44.0.0 وجد Vigia عدد 0 من الصادرات المحذوفة، و3 من التوقيعات المعدّلة، و0 من أعضاء الأصناف أو الواجهات المحذوفة أو المعدّلة.
ما الذي أصبح موقوفًا في @wordpress/components 44؟
عُلِّم 5 من الصادرات أو الأعضاء حديثًا على أنها موقوفة في @wordpress/components 44.0.0.
للوكلاء
GET https://vigia.coredls.cloud/v1/packages/npm/@wordpress/components/upgrade?from=43.0.0&to=44.0.0