Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@semantic-ui/specs
Advanced tools
This package provides spec files which are used to define the specifications of UI components built into Semantic UI.
This package provides spec files which are used to define the specifications of UI components built into Semantic UI.
Spec files are used for several things
usageLevel
or level of adoption for a portion of a component.options
for an attribute, for example for colors the available colors in the library, like red
and purple
. These can be arbitrary but should provide enough options to be useful—see color term heirarchy)
** This can be used to generate versions of the component which do not include the additional css and theming variables required to accomodate unusual settings, and allow for the component to be extended without increasing the core component size.large buttons
and large button
There is a annotated sample spec file which can be used to introduce yourself to the format. The sections of a specification will vary by the component type, but can include any of the following content.
** Basic information on the name of the named export, ui type, tag name etc.
** Content is not synonymous for slots, but instead refers to types of content that can be slotted in the light DOM.
** These are often subcomponent which are web components used inside this UI component, for instance a button group might have an 'or' conditional, an icon
, etc.
** They may also refer to other standalone components that have a looseCoupling
or have additional styling when slotted inside this component.
Types are mutually exclusive versions of an element that are modifications of the element's standard appearance.
Types cannot be used simultaneously on the same element. For example, "cats" and "dogs" are types of animals, but a single animal cannot be both.
States are modifications in an element that help indicate a change in the component that may modify its behavior. This may include states like loading
, disabled
, or active
.
Variations are modifications of individual qualities of an element like size, or color. They are not mutually exclusive, and can be used together to modify an element.
FAQs
This package provides spec files which are used to define the specifications of UI components built into Semantic UI.
The npm package @semantic-ui/specs receives a total of 107 weekly downloads. As such, @semantic-ui/specs popularity was classified as not popular.
We found that @semantic-ui/specs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.