-
Notifications
You must be signed in to change notification settings - Fork 79
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
Remove all mixins supporting vendor prefixes (Fix #957) #1043
base: main
Are you sure you want to change the base?
Conversation
This version removes mixins which added vendor-prefixes. Browser support for these is now excellent. - One migration path is to edit your code to use the unprefixed versions. - Another option is to move these utility mixins into your own code base (though, be aware they are no longer used in Protocol and this will not give you backwards compatible Protocol components). - If you need that level of vendor prefix support consider adding a tool such as [autoprefixer](https://github.com/postcss/autoprefixer) to your code base. - Affected mixins are: - `animation` - `appearance` - `background-size` - `box-decoration-break` - `box-sizing` - `flexbox`, `flex`, `flex-direction`, `flex-wrap`, `align-itmes`, `justify-content,` - `transform`, `transform-origin`, `transform-style` - `transition`, `transition-property`, `transition-duration`, `transition-delay`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💟 Love it!
Unfortunately I can't seem to identify the mzp-a-fade-*
build issue just from glancing it, pretty sure it's all in the correct order… 🤷
Some copy/formatting nits in the meantime:
- `background-size` | ||
- `box-decoration-break` | ||
- `box-sizing` | ||
- `flexbox`, `flex`, `flex-direction`, `flex-wrap`, `align-itmes`, `justify-content,` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `flexbox`, `flex`, `flex-direction`, `flex-wrap`, `align-itmes`, `justify-content,` | |
- `flexbox`, `flex`, `flex-direction`, `flex-wrap`, `align-items`, `justify-content,` |
@@ -58,7 +74,7 @@ | |||
* Update references to the `call-out` SCSS file to `callout` in any `@import` or `@use` rules. | |||
** e.g. `@use 'components/call-out';` should change to `@use 'components/callout';` | |||
* The rebuilt Callout doesn't feature integrated brand logos. Use Logo and Wordmark components instead. | |||
* The rebuilt Compact Callout lacks an integrated logo, so it no longer positions the logo at one end of the component. A Logo or Wordmark component should appear in the body instead. | |||
* The rebuilt Compact Callout lacks an integrated logo`, `so it no longer positions the logo at one end of the component. A Logo or Wordmark component should appear in the body instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* The rebuilt Compact Callout lacks an integrated logo`, `so it no longer positions the logo at one end of the component. A Logo or Wordmark component should appear in the body instead. | |
* The rebuilt Compact Callout lacks an integrated logo, so it no longer positions the logo at one end of the component. A Logo or Wordmark component should appear in the body instead. |
- `box-sizing` | ||
- `flexbox`, `flex`, `flex-direction`, `flex-wrap`, `align-itmes`, `justify-content,` | ||
- `transform`, `transform-origin`, `transform-style` | ||
- `transition`, `transition-property`, `transition-duration`, `transition-delay` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also removed are inline-block
(nobody should be using, but still…) and multi-column*
mixins; as well as grid*-gap
prefixing.
Description
This version removes mixins which added vendor-prefixes. Browser support for these is now excellent.
CHANGELOG.md
.Issue
Fix #957
Testing
View the affected components to make sure they are still displaying properly.