Skip to content

Latest commit

 

History

History
83 lines (54 loc) · 2.15 KB

CHANGELOG.md

File metadata and controls

83 lines (54 loc) · 2.15 KB

Changelog

All notable changes to the ToggleSwitch component will be documented in this file.

[Unreleased]

[1.0.0] - 2024-02-22

Added

  • Initial release of the ToggleSwitch component.

[1.0.3] - 2024-02-22

Fixed

  • Fixed a bug causing the component not adopt styles.
  • Added README.md with customization instructions.

[1.0.4] - 2024-02-23

Added

  • Ability to customize switch colors using onColor and offColor props.
  • Updated README.md with customization instructions.

[1.0.8] - 2024-02-23

Fixed

  • Fixed a bug where the style is not attached to switch component

[1.0.17] - 2024-02-24

Fixed

  • Fixed a bug where the style can externally attach through import statement

[1.1.0] - 2024-02-25

Added

  • Support for disabling the toggle switch using the disable prop.
  • Updated README.md with documentation for the disable prop.

[1.1.1] - 2024-02-27

Fixed

  • Updated from onChange to onToggle

[1.1.2] - 2024-02-27

Added

  • Support for aria-label the toggle switch using the ariaLabel prop.
  • Updated README.md with documentation for the ariaLabel prop.

[1.2.0] - 2024-02-28

Added

  • Ability to customize switch thumb colors using handleOnColor and handleOffColor props.
  • Updated README.md with customization instructions.

[1.2.11] - 2024-02-29

Removed

  • Ability to customize switch thumb colors using handleOnColor and handleOffColor props.
  • Updated README.md with customization instructions.

Added

  • Ability to give icon to thumb using children
  • Updated README.md with customization instructions.

[1.3.0] - 2024-03-09

Added

  • Support for id,name and value of the toggle switch using the id,value and name prop.
  • Updated README.md with documentation for the id,value and name prop.

[1.3.1] - 2024-04-06

Added

  • Ability to customize switch thumb width using width prop.
  • Updated README.md with documentation for the width prop

[1.4.0] - 2024-04-14

Added

  • Ability to change the thumb color on checked using thumbOnColor and thumbOffColor props
  • Updated README.md with documentation for the thumbOnColor and thumbOffColor props.