2.7.2 • Published 10 months ago

@maggioli-design-system/mds-filter v2.7.2

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

mds-filter

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
autoResetauto-resetSets an automatic reset of active filters if all filters are triggeredboolean \| undefinedundefined
labellabelSets the label of the filter groupstring \| undefinedundefined
multiplemultipleSets if the filter group can filter multiple filters simultaneouslyboolean \| undefinedundefined
resetresetShows a reset button if one or more filters are activeboolean \| undefinedundefined

Events

EventDescriptionType
mdsFilterChangeEmits when the one of the children is changedCustomEvent<MdsFilterEventDetail>

Slots

SlotDescription
"default"Add mds-filter-item element/s.

CSS Custom Properties

NameDescription
--mds-filter-items-backgroundSets the background-color of the items row area
--mds-filter-items-background-activeSets the background-color of the items row area when a filter is active
--mds-filter-items-gapSets the gap between items
--mds-filter-items-paddingSets the padding of the items row area
--mds-filter-items-radiusSets the border-radius of the items row area
--mds-filter-label-paddingSets the padding of the label

Dependencies

Depends on

Graph

graph TD;
  mds-filter --> mds-text
  mds-filter --> mds-filter-item
  mds-filter-item --> mds-icon
  mds-filter-item --> mds-text
  style mds-filter fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

2.7.2

10 months ago

2.7.1

10 months ago

2.7.0

10 months ago

2.6.4

1 year ago

2.6.3

1 year ago

2.6.2

1 year ago

2.6.1

1 year ago

2.6.0

1 year ago

2.5.3

2 years ago

2.5.2

2 years ago

2.3.0

2 years ago

2.5.0

2 years ago

2.3.2

2 years ago

2.4.0

2 years ago

2.3.1

2 years ago

2.5.1

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

3 years ago