Implemented the addition of an event_sender property to the App struct which is used by the start_watcher and init functions. Updated the new, init, and start_watcher functions to work with the new event_sender, and removed the now unnecessary events argument.
Changes:
- Added event_sender property to App struct.
- Added event_sender argument to new function.
- Removed events argument from init_project, init, and start_watcher functions.
- Updated start_watcher and init functions to use the new event_sender.
This commit increases the size of icons and the loading spinner in Button components. The IconLoading component's class size has been updated from "h-4 w-4" to "h-5 w-5", and the icon component's class size has also been updated from "h-4 w-4" to "h-5 w-5". Additionally, some related styling adjustments have been made, such as removing the underline from button hover states and updating some background color values.
Changes:
- Update IconLoading size from "h-4 w-4" to "h-5 w-5" in Button component
- Update icon size from "h-4 w-4" to "h-5 w-5" in Button component
- Remove underline from button hover states
- Adjust background color values for button states
This commit refactors the modal styling in the app.postcss file to improve readability and maintainability. The changes involve removing unnecessary indentation in the modal CSS class, which enhances the overall quality of the code.
- Removed unnecessary indentation in the modal CSS class
- No functional changes were made
This commit refactors the CSS code in the app.postcss file, with changes ranging from capitalization of sections, adding outline removal styling, and incorporating modal styles. The refactoring makes the code more consistent by using capital letters for the section comments. Additionally, the new modal styling is provided with a blur effect and a semi-transparent background for a more modern appearance.
Changes made in this commit:
- Capitalize section comments for consistency
- Add outline removal styling section
- Implement modal styling with backdrop-filter and semi-transparent background
This commit refactors the button component styles by introducing a new `kind` prop to replace the `filled` and `outlined` props. The `kind` prop takes values "filled", "outlined", or "plain". It also updates the usage of the button component in other components, using the new `kind` prop. Additionally, the button stories have been updated to remove redundancy and use the new `kind` prop.
Changes:
- Introduce `kind` prop in Button component
- Remove `filled` and `outlined` props
- Update button usage in BackForwardButtons and Breadcrumbs components
- Update Button.stories to use new `kind` prop