Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
@gov.au/control-input
Advanced tools
Control inputs include radio buttons and checkboxes. They allow users to select one or more options.
Control inputs include radio buttons and checkboxes. They allow users to select one or more options.
yarn add @gov.au/control-input
npm install @gov.au/control-input
Usage:
import { AUcheckbox, AUradio } from './control-input.js';
<AUradio label="Yes" name="has_email" value="yes" id="yes" />
<AUradio label="No" name="has_email" value="no" id="no" />
<AUradio label="Maybe" name="has_email" value="maybe" id="maybe" />
<AUcheckbox label="Has email?" name="has_email" id="has-email" />
All props:
<AUradio
label="The label" {/* The label of the radio button */}
id="radio-ex" {/* The id of the radio button*/}
alt={ false } {/* An alternate variation of the component */}
small={ false } {/* The small variation of the component */}
dark={ false } {/* The dark variation of the component */}
/>
<AUcheckbox
label="The label" {/* The label of the checkbox */}
id="checkbox-ex" {/* The id of the radio button*/}
alt={ false } {/* An alternate variation of the component */}
small={ false } {/* The small variation of the component */}
dark={ false } {/* The dark variation of the component */}
/>
(💡 additional props are spread onto the component)
For more details have a look at the usage example.
control-input
└─ core
The visual test: https://auds.service.gov.au/packages/control-input/tests/site/
margin-top
for control input block that is not followed by another control input block. Removed unused Fragment
React importchecked
attribute with defaultChecked
on control inputs examplesCopyright (c) Commonwealth of Australia. Licensed under MIT.
FAQs
Control inputs include radio buttons and checkboxes. They allow users to select one or more options.
The npm package @gov.au/control-input receives a total of 37 weekly downloads. As such, @gov.au/control-input popularity was classified as not popular.
We found that @gov.au/control-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.