Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@rei/cdr-list
Advanced tools
By default the cdr-list
component renders as an unordered and undecorated "bare" list.
To use an ordered list pass ol
to the tag property.
<cdr-list tag="ol">
<li>..</li>
</cdr-list>
Note that the tag itself does not determine display.
In addition to our bare list the following modifiers are provided which accommodate our standard text list options.
The unordered modifier adds a bullet decorator to child list items and a en-dash
decorator to grand child list items. this variant can be used on both ul
or ol
list types.
<cdr-list modifier="unordered">
The ordered modifier adds a numeric decorator to child list items and a en-dash
decorator to grand child list items. this variant can be used on both ul
or ol
list types.
<cdr-list
tag="ol"
modifier="ordered"
>
The compact modifier reduces the vertical space between list items for non inline list variants. For inline variants the compact modifier reduces the horizontal space between list items.
<cdr-list modifier="compact unordered">
The inline modifier is intended for generic or unordered list variants. In ether case this can be combined with compact to adjust the spacing of inline list variants.
<cdr-list modifier="inline compact unordered">
The cdr-list
component has decoupled the semantic tags ul
and ol
from the visual presentation provided by our modifiers.
This section is focused on sematic implementations of list.
Note that it is perfectly valid to render a semantic ordered list ol
as a visually non styled or bulleted list using our modifiers.
<cdr-list tag="ol">
Use different types of cdr-list
to group information according to its nature to provide orientation for users.
Unordered lists are used when the order of the items is not relevant. By default the cdr-list
component will use the ul
tag.
Individual list items can contain a variety of HTML elements, including paragraphs, headings, form elements, and other (nested) lists.
The unordered list consists of one <ul>
element and multiple list item <li>
elements.
The ordered list consists of one <ol>
element and multiple list item <li>
elements.
Every cdr-list
can be nested into another list. Assistive technology can easily inform users about the number of steps.
<cdr-list>
<li> Unordered list item text
<cdr-list tag="ol">
<li>Ordered list item text</li>
</cdr-list>
</li>
</cdr-list>
Placing the component into a your application is as simple as importing it:
npm i @rei/cdr-list
Join us on Slack at #design-systems.
FAQs
REI Cedar Style Framework - Vue Component for List
We found that @rei/cdr-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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 threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.