Skip to content

Latest commit

 

History

History
170 lines (103 loc) · 4.76 KB

CHANGELOG.md

File metadata and controls

170 lines (103 loc) · 4.76 KB

6.0.0

Nov 07, 2024

  • 💥 Breaking updated peerDependencies styled-components to v6,
  • 🎉 Enhancement Updated packages

5.0.0

Aug 06, 2024

  • 💥 Breaking updated to @folkehelseinstituttet/style v6 Changelog
  • 💥 Breaking Replaced 'defaultProps' with Javascript default parameters

4.2.1

Oct 26, 2023

  • 🐛 Bugfix Fixed placeholder in FhiSelect

4.2.0

Oct 23, 2023

  • 🎉 Enhancement Added placeholder to FhiSelect

4.1.0

Oct 20, 2023

  • 🔩 New Added FhiSelect
  • 🎉 Enhancement Updated packages

4.0.2

Oct 20, 2023

  • 🐛 Bugfix apiClient will no longer stringify FormData.
  • 🐛 Bugfix Updated packages to remove vulnerabilities.

4.0.1

Oct 9, 2023

  • 🐛 Bugfix useApi now resets data and error before calling. This fixes a bug where the previous data and error was shown while loading new data.

4.0.0

Apr 12, 2023

  • 💥 Breaking updated to @folkehelseinstituttet/style v5 Changelog
  • 🎉 Enhancement Updated storybook to v7

3.2.0

Mar 28, 2023

  • 🎉 Enhancement Added type to useApi
  • 🎉 Enhancement Added isRequested to apiClient to check if Request has been called
  • 🎉 Enhancement Added PATCH to apiClient
  • 🎉 Enhancement Added new optional prop to FhiTableStructure: onClick
  • 🐛 Bugfix Fixed button onClick type

3.1.0

Mar 16, 2023

  • 🎉 Enhancement Added new optional props to FhiTable: compact striped hover
  • 🎉 Enhancement Added new optional prop to table elements: selected
  • 🎉 Enhancement Added flat and icon styles for FhiButton
  • 🔩 New Added FhiSpinner

3.0.0

Feb 17, 2023

  • 💥 Breaking updated to @folkehelseinstituttet/style v4 Changelog
  • 💥 Breaking Removed JS friendly Theme variables as variables in @folkehelseinstituttet/style where renamed and moved in new version. If you are using FhiTheme today, you will have to replace it with your own object that contains the variables you are using in the your project
  • 🐛 Bugfix Fixed Accordion item onOpen function that broke in V2.0.0

2.0.0

Jan 11, 2023

  • 🎉 Enhancement Updated all dependencies
  • 💥 Breaking Updated design on FhiHeader
  • 🎉 Enhancement Removed logo, logoLight and faIcons props from FhiHeader
  • 💥 Breaking Updated design on FhiAccordion
  • 🎉 Enhancement Removed arrowIcon prop from FhiAccordion
  • 🔩 New Added flush and alternate variations to FhiAccordion
  • 🔩 New Added FhiTabs with new design
  • 💥 Breaking Replaced FhiTabBar with FhiTabs
  • 💥 Breaking Updated design on FhiToast
  • 🔩 New Added title to FhiToast
  • 🐛 Bugfix Fixed delay for FhiToast (Added option for 0 delay that makes toast stay until closed by user)

1.3.0

Aug 02, 2022

  • 🔩 New Added delete-functions to 'apiClient'

1.2.1

Aug 01, 2022

  • 🎉 Enhancement Updated dependencies

1.2.0

May 25, 2022

  • 🎉 Enhancement Added repository in package.json
  • 🔩 New Added apiClient
  • 🔩 New Added useApi hook

1.1.0

May 12, 2022

  • 🎉 Enhancement OnClick is now optional on FhiButton
  • 🔩 New Added onOpen optional function on items in FhiAccordion

1.0.0

May 05, 2022

  • 💥 Breaking Replaced text with children i FhiButton
  • 🎉 Enhancement Added option to set sumbit-type to FhiButton
  • 🎉 Enhancement Added prop for iconLight in FhiHeader
  • 🎉 Enhancement Fixed margin/padding bottom on FhiHeader
  • 🔩 New Added FhiTabBar
  • 🔩 New Added FhiAccordion
  • 🔩 New Added FhiToast

0.3.0

May 04, 2022

  • 🔩 New Added Typescript definitions

0.2.0

May 03, 2022

  • 🎉 Enhancement Added disabled-option to FhiButton

0.1.0

Apr 29, 2022

  • 💥 Breaking Created @folkehelseinstituttet/react-components
  • 🔩 New Added FhiButton to package
  • 🔩 New Added FhiTable to package
  • 🔩 New Added FhiDetails to package
  • 🔩 New Added FhiTheme to package
  • 🔩 New Added FhiHeader to package

Examples

  • 🔩 New
  • 🎉 Enhancement
  • 🐛 Bugfix
  • 💥 Breaking