This repository was archived by the owner on Mar 23, 2025. It is now read-only.
Releases: fictoan/fictoan-react
Releases · fictoan/fictoan-react
v1.11.1
⚠️ BREAKING CHANGES ⚠️
- Overhaul all form components to follow a state-led
onChangehandling, instead of mucking around with direct DOM
events, meaning instead ofonChange={e => doSomething(e.target.value)}you can now just doonChange={value => setValue(value)}and do whatever you want using theuseStatehook.
GENERIC CHANGES
- Add
CheckboxGroupandSwitchGroupcomponents, that work in the same way asRadioGroup - Add
FileUploadcomponent with drag-and-drop support - Revamp
FileUploadwith drag-and-drop support and multiple file upload support Textareanow has acharLimitandwordLimitprops, along with warning and error messages
v1.10.5
v1.10.4
v1.9.3
v1.8.4
v1.6.0
⚠️ BREAKING CHANGES ⚠️
- Colours now support opacity values
-
Old New --slate-dark-40--slate-dark40--red-light-20--red-light20— --red-light20-opacity90— --amber-dark20-opacity20— --pistacho-opacity40 -
Basically you just have to remove the hyphen after the
lightanddarkstring for the new format, and it works on all props:bgColour,textColour,var()etc -
This colour generation is now more robust, as its generated with TS, instead of SCSS.
-
- Removed CJS support, ESM only, because it’s 2024
- Remove Storybook, because we have configurators for each component that does the same job, but better
GENERIC CHANGES
- Add
Skeletoncomponent for loading states