Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@maggioli-design-system/mds-input-date

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maggioli-design-system/mds-input-date

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.

latest
npmnpm
Version
1.2.0
Version published
Maintainers
3
Created
Source

mds-input-date

Properties

PropertyAttributeDescriptionTypeDefault
delaydelaySpecifies the delay in milliseconds before closing the calendar dropdown, if the value is 0 the dropdown will not closenumber500
disableddisabledIf true, the element is displayed as disabledboolean | undefinedfalse
maxmaxSpecifies the max date of the range, user cannot set dates after this datenull | stringnull
minminSpecifies the min date of the range, user cannot set dates before this datenull | stringnull
readonlyreadonlySpecifies that the element is read-onlyboolean | undefinedfalse
requiredrequiredSpecifies that the element must be filled out before submitting the formboolean | undefinedfalse
valuevalueSpecifies the value of the inputstring''
variantvariantSets the variant of the input field"ai" | "error" | "info" | "primary" | "success" | "warning" | undefined'primary'

Events

EventDescriptionType
mdsInputDateSelectCustomEvent<string>

Methods

focusInput() => Promise<void>

Returns

Type: Promise<void>

setValue(value: string) => Promise<void>

Parameters

NameTypeDescription
valuestring

Returns

Type: Promise<void>

updateLang() => Promise<void>

Returns

Type: Promise<void>

Shadow Parts

PartDescription
"input-date"

CSS Custom Properties

NameDescription
--mds-input-date-backgroundSets the background-color of the component
--mds-input-date-field-background-emptySets the color of the component when the value is empty or not valid
--mds-input-date-field-color-emptySets the color of the component when the value is empty or not valid
--mds-input-date-icon-colorSets the icon color of the component
--mds-input-date-ringSets the box-shadow of the component's input to perform the ring effect
--mds-input-date-shadowSets the box-shadow of the component's input
--mds-input-date-variant-colorSets the variant colors of the component

Dependencies

Depends on

  • mds-button
  • mds-input-tip
  • mds-input-tip-item
  • mds-dropdown
  • mds-calendar

Graph

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

Package last updated on 22 Sep 2025

Did you know?

Socket

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.

Install

Related posts