2.0.5 • Published 9 months ago

@maggioli-design-system/mds-input-select v2.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

mds-input-select

This is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.

Properties

PropertyAttributeDescriptionTypeDefault
autoFocusauto-focusSpecifies a short hint that describes the expected value of the elementboolean \| undefinedundefined
autocompleteautocompleteSpecifies a short hint that describes the expected value of the element"on" \| undefinedundefined
disableddisabledIf true, the element is displayed as disabledboolean \| undefinedfalse
multiplemultipleSpecifies if the select should allow multiple options to be selected in the listboolean \| undefinedfalse
namenameIs needed to reference the form data after the form is submittedstring \| undefinedundefined
placeholderplaceholderSpecifies a short hint that describes the expected value of the elementstring \| undefinedundefined
requiredrequiredSpecifies that the element must be filled out before submitting the formboolean \| undefinedfalse
sizesizeWhen multiple is set to true, represents the number or rows in the list that should be visiblenumber \| undefined0
valuevalueSpecifies the value of the componentnull \| number \| string \| undefined''
variantvariantSets the variant of the component"error" \| "info" \| "success" \| "warning" \| undefinedundefined

Events

EventDescriptionType
mdsInputSelectChangeEmits an InputChangeEventDetail when the value of the input element changesCustomEvent<InputValue>

Shadow Parts

PartDescription
"select"The select HTML element

Dependencies

Depends on

Graph

graph TD;
  mds-input-select --> mds-input-tip
  mds-input-select --> mds-input-tip-item
  mds-input-tip-item --> mds-text
  style mds-input-select fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

2.0.5

9 months ago

2.0.4

9 months ago

2.0.3

10 months ago

2.0.2

10 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago