Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Releases: illright/attractions

v3.7.2

01 Mar 18:35
2025920
Compare
Choose a tag to compare

Fixed

  • On touch devices, the slider would throw errors on release, not anymore (Thanks to @naranjamecanica for #380)

v3.7.0

30 Dec 15:12
d486b3c
Compare
Choose a tag to compare

Added

  • The hideNow prop to the TimePicker component has been added to hide the now button (Thanks to @CuriousCI for the contribution - #331).

v3.6.0

23 Dec 17:45
177813e
Compare
Choose a tag to compare

Changed

  • Implement automatic positioning of the Dropdown. This will prevent it from going off-screen in certain cases. This is also the new default behaviour; the previous alignment props (right and top) are now deprecated (Thanks to @Th1nkK1D for the contribution - #318).

v3.5.2

21 Nov 06:06
acc4272
Compare
Choose a tag to compare

Fixed

  • One more issue with the type of AutocompleteField's OptionGetter (the type of the getOptions prop).

v3.5.1

20 Nov 20:41
866531b
Compare
Choose a tag to compare

Fixed

  • Fixed a minor regression in the types of components that extend other components (#325).

v3.5.0

08 Nov 19:10
ff68033
Compare
Choose a tag to compare

Added

  • The Slider component has been added, allowing you to create a slider similar to the one you would get with <input type="range">. It also support inputting a range by supplying a tuple for the value prop (Thanks to @RikuVan for the contribution - #290).
  • The closeOnSelection prop to the DatePicker component has been added to close the dropdown after a selection has been made.

Changed

  • Change the Dropdown chevron transition animation to a scaleY(-1) for 150ms (#310).
  • The Card component will now use the SCSS $background variable as its default background color instead of the hard-coded white color.

Fixed

  • Fixed some types and documentation mistakes for the Accordion component (#316).

v3.4.0

13 Sep 20:29
f684e13
Compare
Choose a tag to compare

Added

  • The Breadcrumbs component has been added to the library (#157).
  • A new Table component has been added, useful for displaying simple collections of data (#255).
  • maxReachedTooltip prop for the CheckboxGroup and CheckboxChipGroup components to customize the tooltip text that appears on hover when the maximum amount of checkboxes have been checked (#13).
  • The hours, minutes and seconds props of the TimePicker component allow you to specify what values the user can choose from (#120).
  • disabledDates prop for the Calendar component to disable specific dates or ranges of dates (#34).
  • inputClass prop for the TimePicker and DatePicker components to pass them down to the TextField (#269).
  • The Button component is now SvelteKit-compatible (using the noPrefetch prop would also unset sveltekit:prefetch).

Fixed

  • [For contributors on Windows] The scripts in package.json should now work on CMD as well.

v3.3.0

28 May 19:44
Compare
Choose a tag to compare

This release contains no new features but fixes a Sass deprecation. You'll have to bump your sass dependency to >= 1.33.0 in order to upgrade to this version.

Fixed

  • Deprecated Sass features: The division in Sass with the slash operator was deprecated.
  • A typo in the documentation: A code sample suggested users to use reqiure.

v3.2.1

05 May 18:00
Compare
Choose a tag to compare

Fixed

v3.2.0

03 Mar 21:10
Compare
Choose a tag to compare

Added

  • New SCSS variables for customizing the curvature radius of the outline TextField and the font weight of the Button (#245 and #246).

Fixed

  • The DatePicker component wasn't generating the days of the month correctly in certain timezones (#243).
  • The outline TextField didn't respect the background color (#246).

Changed

  • Improved TypeScript declaration files. They should now work when importing nested modules such as attractions/utils or even attractions/snackbar/snackbar-positions. They also now specify null as a valid value wherever it is accepted. You may (and should) enable --strictNullChecks again!

Thanks to @sallaben and @damonbauer for contributing to this release!