Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@spark-web/vertical-stepper
Advanced tools
Readme
Vertical stepper display progress through a sequence of logical and numbered steps.
const [activeIndex, setActiveIndex] = React.useState(2);
return (
<Box padding="large">
<VerticalStepper activeIndex={activeIndex}>
<Step>
<Step.Heading title="Step 1" />
<Step.Content>
<Stack gap="medium">
<Text>
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of
type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchanged. It was
popularised in the 1960s with the release of Letraset sheets
containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of
Lorem Ipsum.
</Text>
<Button
tone="primary"
onClick={() => {
setActiveIndex(activeIndex + 1);
}}
>
Next
</Button>
</Stack>
</Step.Content>
<Step.CompletedContent>
<Text>Success 🎉!</Text>
</Step.CompletedContent>
</Step>
<Step>
<Step.Heading
title="Step 2"
renderActionButton={({ isCompleted, stepIndex }) =>
isCompleted && (
<Button
type="button"
tone="info"
onClick={() => {
setActiveIndex(stepIndex);
}}
size="medium"
>
<PencilAltIcon size="xxsmall" />
Edit
</Button>
)
}
/>
<Step.Content
render={({ stepIndex }) => (
<Stack gap="small">
<Text>Content number {stepIndex + 1}</Text>
<Button
tone="secondary"
onClick={() => {
setActiveIndex(stepIndex - 1);
}}
>
Back
</Button>
<Button
tone="primary"
onClick={() => {
setActiveIndex(stepIndex + 1);
}}
>
Next
</Button>
</Stack>
)}
/>
<Step.CompletedContent
render={({ stepIndex }) => (
<Text>Completed Step {stepIndex + 1}!! 🎉</Text>
)}
/>
</Step>
<Step>
<Step.Heading title="Step 3" />
<Step.Description>
<Text size="small" tone="muted">
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of type
and scrambled it to make a type specimen book.
</Text>
</Step.Description>
<Step.Content>
<Stack gap="medium">
<Text>
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of
type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchanged. It was
popularised in the 1960s with the release of Letraset sheets
containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of
Lorem Ipsum.
</Text>
<Button
tone="secondary"
onClick={() => {
setActiveIndex(activeIndex - 1);
}}
>
Back
</Button>
</Stack>
</Step.Content>
</Step>
</VerticalStepper>
</Box>
);
FAQs
--- title: Vertical Stepper storybookPath: data-display-vertical-stepper isExperimentalPackage: true ---
The npm package @spark-web/vertical-stepper receives a total of 32 weekly downloads. As such, @spark-web/vertical-stepper popularity was classified as not popular.
We found that @spark-web/vertical-stepper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.