npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

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

v1.2.1

Published

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.

Readme

mds-input-date

Properties

| 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' |

Events

| Event | Description | Type | | -------------------- | ----------- | --------------------- | | mdsInputDateSelect | | CustomEvent<string> |

Methods

focusInput() => Promise<void>

Returns

Type: Promise<void>

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

Parameters

| Name | Type | Description | | ------- | -------- | ----------- | | value | string | |

Returns

Type: Promise<void>

updateLang() => Promise<void>

Returns

Type: Promise<void>

Shadow Parts

| Part | Description | | -------------- | ----------- | | "input-date" | |

CSS Custom Properties

| 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 |

Dependencies

Depends on

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