Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@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.
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.