
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@maggioli-design-system/mds-input-date
Advanced tools
mds-input-date is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
delay | delay | Specifies the delay in milliseconds before closing the calendar dropdown, if the value is 0 the dropdown will not close | number | 500 |
disabled | disabled | If true, the element is displayed as disabled | boolean | undefined | false |
max | max | Specifies the max date of the range, user cannot set dates after this date | null | string | null |
min | min | Specifies the min date of the range, user cannot set dates before this date | null | string | null |
readonly | readonly | Specifies that the element is read-only | boolean | undefined | false |
required | required | Specifies that the element must be filled out before submitting the form | boolean | undefined | false |
value | value | Specifies the value of the input | string | '' |
variant | variant | Sets the variant of the input field | "ai" | "error" | "info" | "primary" | "success" | "warning" | undefined | 'primary' |
Event | Description | Type |
---|---|---|
mdsInputDateSelect | CustomEvent<string> |
focusInput() => Promise<void>
Type: Promise<void>
setValue(value: string) => Promise<void>
Name | Type | Description |
---|---|---|
value | string |
Type: Promise<void>
updateLang() => Promise<void>
Type: Promise<void>
Part | Description |
---|---|
"input-date" |
Name | Description |
---|---|
--mds-input-date-background | Sets the background-color of the component |
--mds-input-date-field-background-empty | Sets the color of the component when the value is empty or not valid |
--mds-input-date-field-color-empty | Sets the color of the component when the value is empty or not valid |
--mds-input-date-icon-color | Sets the icon color of the component |
--mds-input-date-ring | Sets the box-shadow of the component's input to perform the ring effect |
--mds-input-date-shadow | Sets the box-shadow of the component's input |
--mds-input-date-variant-color | Sets the variant colors of the component |
graph TD;
mds-input-date --> mds-button
mds-input-date --> mds-input-tip
mds-input-date --> mds-input-tip-item
mds-input-date --> mds-dropdown
mds-input-date --> mds-calendar
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
mds-input-tip-item --> mds-text
mds-calendar --> mds-button
mds-calendar --> mds-calendar-cell
mds-calendar-cell --> mds-button
style mds-input-date fill:#f9f,stroke:#333,stroke-width:4px
Built with love @ Gruppo Maggioli from R&D Department
FAQs
mds-input-date is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
We found that @maggioli-design-system/mds-input-date demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.