
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@clayui/css
Advanced tools
Clay is Liferay's web implementation of the Lexicon Design Language. It is built with HTML, CSS, and Javascript with Bootstrap as a foundation.
You can view the various components on the Clay site.
<!--
* SPDX-FileCopyrightText: © 2022 Liferay, Inc. <https://liferay.com>
* SPDX-FileCopyrightText: © 2022 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
*
* SPDX-License-Identifier: BSD-3-Clause
-->
See https://liferay.dev/blogs/-/blogs/how-and-why-to-properly-write-copyright-statements-in-your-code#tldr for more details.
The <svg></svg> element should only have the attributes xmlns and viewBox.
Remove any fill and id attributes from the SVG elements, unless it is a language flag. Language flags should have the fill attribute.
Remove any <style></style> tags and the classes / ids that are referenced by it.
The class lexicon-icon-body is deprecated and is no longer being included in newer icons. This class allowed the background color of an icon to be modified using the property fill. We shouldn't use this class.
The class lexicon-icon-outline is a marker on each SVG element (e.g., path, circle, rect). It provides another class to use as a selector to apply CSS changes to an icon. This class should be included on all SVG elements.
Run yarn compile and include the auto generated file src/scss/functions/_lx-icons-generated.scss in your commit.
In the file, clay/clayui.com/plugins/gatsby-plugin-clay-css-tasks/clay-icon-aliases.js, find iconsData and add the icon aliases if needed.
In the clayui.com directory run yarn develop and check to see if the icon shows up in the icon section.
Include the files static/images/icons/icons.svg, static/js/icons-autogenerated.json, and static/js/flags-autogenerated.json to the commit. Some of these files might not show up in git's "Changes not staged for commit:" if aliases or flags have not been added.
FAQs
Liferay's web implementation of the Lexicon Design Language
The npm package @clayui/css receives a total of 7,719 weekly downloads. As such, @clayui/css popularity was classified as popular.
We found that @clayui/css demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.