
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@topvisor/ui
Advanced tools
Компоненты поставляются в двух форматах:
Компоненты делятся на разные библиотеки и доступны через импорт этих библиотек.
Каждая библиотека находится в отдельной папке, соответствующей имени библиотеки.
Все стили модулей находятся в папке /assets/ в файлах соответствующих имени библиотеки. В этой же папке располагаются стили для асинхронно загружаемых компонентов. Все стили грузятся автоматически вместе с загрузкой компонента.
Документация и описание всех компонентов: https://ui.topvisor.com/
Стили компонентов подгружаются автоматически.
Стили UI core.css необходимо подгрузить на страницу вручную.
import '@topvisor/ui/assets/core.css';
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/assets/core.css" rel="stylesheet">
Стили темы необходимо подгрузить на страницу вручную.
Для смены темы необходимо подгрузить файл стилей необходимой темы и отключить стили предыдущей темы.
import '@topvisor/ui/assets/themes/light.css';
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/assets/themes/light.css" rel="stylesheet">
Стили icomoon добавлены в пакет и их необходимо подгрузить на страницу вручную.
import '@topvisor/ui/icomoon/style.css';
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/icomoon/style.css" rel="stylesheet">
Пример подключения библиотеки Forms и компонента Button:
require(['@topvisor/ui/forms/forms.amd'], ({ Button }) => {
console.log(Button);
});
require(['@topvisor/ui/forms/forms.amd'], Forms => {
const { Button } = Forms;
console.log(Forms);
console.log(Button);
});
FAQs
Topvisor UI-kit Vue
The npm package @topvisor/ui receives a total of 1,978 weekly downloads. As such, @topvisor/ui popularity was classified as popular.
We found that @topvisor/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.