
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@salutejs/sdds-clfd-auto
Advanced tools
Salute Design System / React UI kit for SDDS CLFD AUTO web applications
Реализация компонентов для создания веб-приложений.
Компоненты реализованы на typescript с помощью react , styled-components
Использование данного пакета предполагает установку зависимостей: react & react-dom;
Использование styled-components на проект необязательно, так же как и использование typescript.
Но для того чтобы компоненты работали корректно необходимо установить styled-components.
$ npm install --save react react-dom
$ npm install --save @salutejs/sdds-clfd-auto @salutejs/plasma-typo @salutejs/plasma-themes
Так же надо установить пакет styled-components
$ npm install --save styled-components@5.3.1
styled-componentsСоздайте компонент для подключения глобальных стилей:
import { createGlobalStyle } from 'styled-components';
import { standard } from '@salutejs/plasma-typo';
import { plasma_b2c__light } from '@salutejs/plasma-themes';
const ThemeStyle = createGlobalStyle(plasma_b2c__light);
const TypoStyle = createGlobalStyle(standard);
export const GlobalStyle = () => (
<>
<ThemeStyle />
<TypoStyle />
</>
);
В корне приложения вызовите компонент глобальных стилей GlobalStyle:
src/index.tsx.pages/_app.tsx и подключите стили в нем.Для корректной работы server side rendering приложение нужно обернуть SSRProvider (доступен в sdds-clfd-auto);
Все компоненты styled-components доступны из директории components или напрямую из пакета:
// App.tsx
import { Button } from '@salutejs/sdds-clfd-auto';
import { textAccent } from '@salutejs/plasma-tokens/brands/sdds-clfd-auto';
export const App = () => {
return (
<>
<Button>Hello, Plasma!</Button>
<p style={{ color: textAccent }}>Token usage example</p>
</>
);
};
FAQs
Salute Design System / React UI kit for SDDS CLFD AUTO web applications
The npm package @salutejs/sdds-clfd-auto receives a total of 11 weekly downloads. As such, @salutejs/sdds-clfd-auto popularity was classified as not popular.
We found that @salutejs/sdds-clfd-auto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.