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.
@storybook/components-marketing
Advanced tools
UI components for the Storybook marketing, docs, addons, blog and showcase sites.
Note: these components are not used in Storybook's UI.
Building components
Maintaining the system
npm install --save @storybook/components-marketing
Install peer dependencies:
npm install --save @docsearch/css @storybook/theming framer-motion@7.0.0
The page header comprises of three parts: Eyerbrow, Nav, and SubNav
Eyebrow
, Nav
, and Footer usually live at the shared layout level whereas the SubNav
is specific to each page. The SubNav can be configured in several different ways, check out its stories file for examples.
All these components support an inverse
variant.
Source shared DX data from https://storybook-dx.netlify.app/.netlify/functions/dx-data
latestPost
subscriberCount
The Nav and Footer links are configured via the LinksContextProvider. It comes with a default set of links
https://storybook-dx.netlify.app/.netlify/functions/dx-data
Eyebrow
contains a Search
component which depends on @docsearch/css
. You need to load these styles in your app, probably at the top-most, global, level:
import '@docsearch/css';
yarn release
Bump the version
Push a release to GitHub and npm
Push a changelog to GitHub
Notes:
npm adduser
auto
is used to generate a changelog and push it to GitHub. In order for this to work correctly, environment variables called GH_TOKEN
and NPM_TOKEN
are needed that reference a GitHub personal access token and a NPM "Publish" token with the appropriate permissions to update the repo.MIT © storybookjs
v2.3.2 (Mon Mar 11 2024)
FAQs
Storybook marketing component library
The npm package @storybook/components-marketing receives a total of 98 weekly downloads. As such, @storybook/components-marketing popularity was classified as not popular.
We found that @storybook/components-marketing 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 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.