Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@patternfly/pfe-accordion
Advanced tools
<pfe-accordion>
<pfe-accordion-header>
<h2>Why do wizards need money if they could just create it?</h2>
</pfe-accordion-header>
<pfe-accordion-panel>
<p>There is legislation that decides what you can conjure and what you can not. Because things that you conjure out of thin air will not last, it is illegal in the wizarding world.</p>
</pfe-accordion-panel>
<pfe-accordion-header>
<h2>Why doesn't Harry have a portrait of his parents?</h2>
</pfe-accordion-header>
<pfe-accordion-panel>
<p>The characters in the portraits are not actually ghosts. They mainly are there just to repeat common phrases or serve as a general representation of the individual they depict. A portrait of his parents would not be of much help to Harry.</p>
</pfe-accordion-panel>
</pfe-accordion>
Place the pfe-accordion-header
and pfe-accordion-panel
elements here.
We expect the light DOM of the pfe-accordion-header
to be a heading level tag
(h1, h2, h3, h4, h5, h6)
Add the content for your accordion panel here.
context
Changes the context of the accordion to one of 3 possible options:
light
(default)dark
saturated
This will override any context being passed from a parent component and will add a style attribute setting the --context
variable.
disclosure
If pfe-accordion
has one pfe-accordion-header
, it will get tagged with disclosure="true"
. This applies a slightly different set of styles: chevron appears on the left side, the header has a single border on all four sides. Applying disclosure="false"
to a pfe-accordion
element containing only one header/panel pairing will set the element to display as a standard accordion.
Fires when an pfe-accordion-header is activated. The detail object contains the following
detail: {
expanded: Boolean
}
npm run test
npm run build
From the PFElements root directory, run:
npm start
Accordion (and all PFElements) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.
FAQs
Accordion for PatternFly Elements
The npm package @patternfly/pfe-accordion receives a total of 191 weekly downloads. As such, @patternfly/pfe-accordion popularity was classified as not popular.
We found that @patternfly/pfe-accordion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.