
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@wedgekit/date-picker
Advanced tools
@wedgekit/date-picker
provides a calendar and a context provider for coordinating date/time fields when picking dates.
import { DateTimePicker, Date, Time } from '@wedgekit/date-picker';
const Example = () => {
const [value, setValue] = React.useState('');
return (
<DateTimePicker value={value} onChange={setValue}>
<Date label="Date" />
<Time label="Time" />
</DateTimePicker>
);
};
render(<Example />);
import { DateTimePicker, Date, Time } from '@wedgekit/date-picker';
const Example = () => {
const [value, setValue] = React.useState([]);
return (
<DateTimePicker range value={value} onChange={setValue}>
<Date label="Start" position="start" />
<Time label="Time Start" labelHidden position="start" />
<Date label="End" position="end" />
<Time label="Time End" labelHidden position="end" />
</DateTimePicker>
);
};
render(<Example />);
Indicates if the DatePicker value is a range of dates.
Type: boolean
Required: ✅
The date value. If range
is true it will be a tuple; otherwise it is a single date.
Type: ISO8601String | [ISO8601String, ISO8601String]
Required: ✅
Callback for when the value changes. If range
is true it takes a tuple; otherwise takes a single date.
Required: ✅
Type: (ISO8601String | [ISO8601String, ISO8601String]) => void
Timezone the value should be displayed in. This will default to the browser's timezone.
Required: ❌
Type: IANA Timezone Name
Documentation for more specialized use cases can be found here
FAQs
## Description
We found that @wedgekit/date-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.