- Inputs - allow to set additional behaviors
- Set Theme key for required label and checkbox (because sometimes we dont to display "Required" to every fields)
- Dropdown : Update keyboard behavior to match Disclosure pattern. https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/
- Translations : add French translation keys
- CardLink : Make sure we can use other tags than span, a (ie : button)
- Use TailwindMerge for passing custom class via attributes-bags
- Modal : allow to add a behavior on Modal element
- Modal Click Outside option will not interfering with click events inside the modal
- Rename Tailwind Config to cjs : it make it clear that it is a CommonJS module (all JS are now treated as ES module)
- Configure linters and code formatters to improve codebase's architecture :
- Add Phpstan (level 6) and php-cs-fixer for static analysis
- Add Eslint
- Add Prettier with specifics plugin for PHP and Laravel
- Run linters on pre-commit githook
- DateRange : use Theme UI CSS
- DateTrio : use Theme UI CSS
- Date : use Theme UI CSS
- Password : use Theme UI CSS
- Add Documentation for Form Components
- Update Stories for Form Components
- UI Merge : test if component theme is existing
- VideoBackground logic to handle autoplay when they are in viewport
- Image sources definition
- Picture rendering logic
- Stories and documentation for components
- Update readme
- Fix typo in VideoBackground component
- Add simple card-wrapper and card-link components to compose card components at application level
- Prepare Twill-image depreciation for next major release with better support of images passed as an array
- Refactor and add theming file for video-background : Breaking-change : no more "aspect-ratio" prop in the component (this will be ignored), use class instead to define the aspect ratio of the video wrapper.
- Inline heading component to remove spacings generated in rendered html
- Update Vitrine-ui default icons_view_path
- Update dependencies (Update Twill Image to fix calculation of sizes atributes)
- Custom Events : Custom Events are referenced into a shared object so you can easily use these in behaviors created outside Vitrine UI. Avoid Magic strings
- ShowVideo : Add events to control states of the component (ie : to reset the video if not visible anymore)
- Modal : iOS – Body Scroll Lock : add a way to specify another scrollable div to target "data-modal-scroller". If not present it will fallback on the focus trap div. It is important that the scroller div is the one we would like to allow scroll on (NOT a parent of that element) as specified in the doc : https://github.com/rick-liruixin/body-scroll-lock-upgrade
- Inputs : Radio and Checkbox - Allow local overrides
- Inputs : JSON theming files for checkbox group and radio group
- Inputs : JSON theming files for inputs checkbox and radio
- Forms : Checkboxes - Add ability to customize the checkbox icon
- Forms : Checkboxes and radios : fix incorrect "for" attribute for the label. It should always be the same as the id attribute of the input.
- Accordion : fix issue with content overflow when opening accordion item : remove useless code in favor of using transitionend event
- Accordion : fix issue with content overflow when opening accordion item. Add option timing to set overflow timeout.
- Laravel 11 Support
- Accordion : add "exclusive" mode to make sure only one item is opened at a time
- New FormField component : New component to handle markup around Input / Textarea
- Update Input and Textarea
- New Image component : Split Media component into Image component so we have a way to add an image without extra markup around
- VideoBackground - Refactor VideoBackground so it is not using Videojs by default. Native HTML5 video element is used instead. You can still use VideoJs to handle video with new prop native=false
- Behavior ShowVideo - Cleanup behavior, remove unused code
- Input - Fix input type definition
- Input - Check if label is not empty to display input label
- Twill Image - Add case where image is being send as Twill Image Array when rendering an image tag
- Textarea - Adjust component & add slot
- Components - Remove listing stories and listing component
- Pagination - Add options to change icon and display dropdown message
- Theme options : add
ui
logic to set Taiwlind CSS classes that will override default vitrine styling
- Accordion - fix error when destroying the Accordion
- Fix class name casing in mapbox
- Initial release