-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(popover): max-width and border-size css properties are added #483
Conversation
@ozkersemih After fixing failing test, I noticed some UI issues regarding to the border size addition comparing to current tooltip design. Also |
uglifycss which is used internally by lit-css plugin that we use to minify our styles breaks the code by replacing all 0px values to 0. this was causing problem, and not a safe thing at all. since uglifycss project is not maintained anymore I manually replaced its functionality with clean-css library.
Radio Group selected option seems wrong: And I didn't understand why secondary and tertiary button hovers changed in the UI tests with this implementation, storybook looks ok (unchanged) but in chromatic, hover states look the same as the default state. @muratcorlu @ozkersemih |
🎉 This PR is included in version 2.1.0-beta.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR includes the features/fixes for the release of v2.1.0 ## Features * **Switch**: CSS property to set custom color for `off` state (#527) * **Popover**: CSS properties to set `max-width` and `border-size` (#483) ## Fixes * **Dropdown**: Close dropdown when an item is clicked (#533) * **Popover**: Prevent exiting fullscreen with popover close (#551) * **Dialog**: Prevent exiting fullscreen with dialog close (#548) * **Select**: Select item separator is back (#552) * React wrapper types (#532) * Set package type as module (#570) Thanks to our contributors for this version 🚀 : @muratcorlu @ogunb @abugraokkali @AykutSarac @ozkersemih
🎉 This PR is included in version 2.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR contains:
--bl-popover-border-size
and--bl-popover-max-width
0px
values to0
. This was causing problem about using this value in CSS calc, and not a safe thing at all. Since UglifyCSS project is not maintained anymore I manually replaced its functionality with clean-css library in build script. (I created an issue to replace uglifycss with something better in lit-css plugin as well)Closes #478