3.0.1 • Published 9 months ago

schedule-filter-widget v3.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

schedule-filter-widget

React component for the schedule filter widget

Schedule Filter config

title = widget title, defaults to "Filter by"

summit = the summit object

events = the FILTERED collection of events currently rendered

allEvents = the COMPLETE collection of events, needed to pull all available options.

marketingSettings = object with the settings from the marketing API

colorSource = source of color, could be one of : event_type, track, track_group

filters = object with the desired filters to render and its values.

Example:

[
  date: {label: "Date", values: [], enabled: true},
  level: {label: "Level", values: ["Beginner", "Intermediate"], enabled: false}
]

expandedByDefault = boolean to set the filters expanded/collapsed on load

triggerAction = method that will take an ACTION and a payload as params and will return a promise. Example: {action: 'UPDATE_FILTER', payload: {type, values}}

PUBLISH TO NPM:

1 - yarn build && yarn publish

2 - yarn publish-package

IMPORT:

import ScheduleFilterWidget from 'schedule-filter-widget/dist';

import 'schedule-filter-widget/dist/index.css';

2.0.5

10 months ago

2.0.4

10 months ago

2.0.6

10 months ago

3.0.1

9 months ago

3.0.0

9 months ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

2.0.0

2 years ago

1.2.9

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago