Releases: canonical/vanilla-framework
v4.11.0
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.11.0
💣 Potentially breaking change
In #5081 we renamed the class names that add dividers to equal heights row component. If you've been using those already, rename them accordingly: has-1st-divider
to has-divider-1
, etc…
🚀 Features
🐛 Bug Fixes
- Label line-height on large breakpoint fix by @dgtlntv (#5075)
- Navigation "back" button chevron points left instead of right by @jmuzina (#5077)
- fix border color discrepancy between themes by @lyubomir-popov (#5056)
📝 Documentation
- Update empty state 404 documentation example to match new branding by @jmuzina (#5079)
- Update accordion accessibility documentation by @jmuzina (#5083)
- Table layout utilities classes also apply to descendant elements; add table layout example docs by @jmuzina (#5070)
- Alphabetize documentation sidenav elements by @jmuzina (#5080)
- Don't name hero a pattern by @bartaz (#5082)
- Hero pattern docs by @bartaz (#5063)
- Add space to grid docs by @britneywwc (#5061)
- Fix typography docs by @dgtlntv (#5055)
🔨 Maintenance
- Update all non-major dependencies by @renovate (#5071)
- Table layout utilities classes also apply to descendant elements; add table layout example docs by @jmuzina (#5070)
- Equal heights updates by @bartaz (#5081)
- Update team members by @jmuzina (#5073)
- Adjust p-nudge to better align text to the baseline grid by @dgtlntv (#4957)
- chore(deps): update dependency @canonical/cookie-policy to v3.6.3 by @renovate (#5051)
- Update rule component to use new theme variables by @bartaz (#5064)
- Add theme support for active pagination button by @britneywwc (#5058)
- Update divided list to use new theme colours by @lyubomir-popov (#5057)
New Contributors
Full Changelog: v4.10.0...v4.11.0
v4.10.0
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.10.0
💣 Breaking changes
Setting default theme via SCSS variables is now deprecated. For example, using $theme-default-nav
with value dark
will not work anymore. Use is-dark
or is-light
class names in HTML instead.
🚀 Features
- Add equal height row component by @mas-who (#5039)
- Add design guidelines from discourse to Vanilla docs markdown by @aaryanporwal (#4927)
- Update navigation component to new theming by @bartaz (#5043)
🐛 Bug Fixes
📝 Documentation
- Fix typo in release notes by @bartaz (#5050)
- Add design guidelines from discourse to Vanilla docs markdown by @aaryanporwal (#4927)
🔨 Maintenance
- Use new theme colours in base styles by @bartaz (#5054)
- Deprecate old theme variables and remove them from code and docs by @bartaz (#5052)
- Remove get-site-urls dependency by @bartaz (#5049)
- Fix Percy on CircleCI performance issues by @bartaz (#5048)
- Fix access to localhost server on CircleCI by @bartaz (#5045)
- Update dependency @canonical/cookie-policy to v3.6.0 by @renovate (#5038)
- Update release-drafter/release-drafter action to v6 by @renovate (#5041)
- Update all non-major dependencies by @renovate (#5040)
New Contributors
Full Changelog: v4.9.1...v4.10.0
v4.9.1
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.9.1
🐛 Bug Fixes
- Fix table mobile card top border by @britneywwc (#5005)
- Revert default info icon to standard colour by @bartaz (#5027)
🔨 Maintenance
Full Changelog: v4.9.0...v4.9.1
v4.9.0
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.9.0
🚀 Features
- Add
p-media-container
class by @petesfrench (#5012) - Add theme support for code snippet by @britneywwc (#5004)
- Add a fourth level of nesting to the side navigation component by @petesfrench (#5010)
- Buttons themes by @bartaz (#5024)
🐛 Bug Fixes
- Fix regression that caused wrong success icon being used in lists by @bartaz (#5028)
- Fix nested list counter by @codeEmpress1 (#5011)
- Fix width of bold linked heading on hover in side-navigation by @codeEmpress1 (#5009)
- Fix bug where u-fixed-width wasn't having its padding reset when inside the new row classes by @petesfrench (#5008)
- Adjust columns on mobile view for step-list--detailed by @petesfrench (#5007)
📝 Documentation
- Theme switch in examples by @codeEmpress1 (#5022)
- Update link to Accessibility Alphabet by @bartaz (#5020)
- Add validation example by @codeEmpress1 (#5013)
🔨 Maintenance
- Fixed typo in GH issue template (out site -> our site) by @tanyabouman (#5018)
- Update dependency svgo to v3 by @renovate (#5016)
- Update all non-major dependencies by @renovate (#5015)
- Bump es5-ext from 0.10.53 to 0.10.63 by @dependabot (#5006)
- Remove repeated colours by @britneywwc (#5003)
New Contributors
- @codeEmpress1 made their first contribution in #5009
- @tanyabouman made their first contribution in #5018
Full Changelog: v4.8.0...v4.9.0
v4.8.0
New in Vanilla v4.8.0
💅 New theming
This version introduces new theming system to Vanilla. Previous system was based on theme styling being applied on SCSS level on per-component basis. Newly introduced system utilises CSS custom properties to provide colour variables that are inherited through the whole document.
We currently support a light theme (default or via is-light
class name) that features white background, paper theme (via is-paper
class) that uses new "paper" grey background that is used on most of our new designs, and dark theme (via is-dark
class) that is being used more often in recent designs to highlight some significant pages.
🚧 Work in progress
Current release of Vanilla 4.8.0 contains the foundation work of this new theming and includes migration of most commonly used themed components. The work is not complete yet, there are still components that use the old theming system and many components not themed at all. We will continue to migrate remaining parts in upcoming versions.
We tried to make sure to keep this change backwards compatible, so hopefully it should not affect styling of existing components in any significant and unexpected way.
🎨 Default icon colour
As part of the theming we improved consistency of colours we use across themes. As a result of that the default colour of most of Vanilla icons (in default light theme) was changed to be the same as text colour (black #000
) instead of previous value of $color-mid-dark
(#666
). If you are using any custom icons this may cause inconsistencies.
For consistency with Vanilla use built-in icons, or update your icons to use $colors--light-theme--icon
(or $colors--dark-theme--icon
), depending on the theme.
🏗️ New and deprecated components
Alongside the theming work, we are also providing components to help build page sections in the new branding style, and deprecating some old components to avoid confusion.
New components include the hero section and new Suru sections, that should simplify building of the hero sections on the pages.
We also deprecated a variety of legacy strip variants, reducing the options and updating the strip component to utilise new theming.
For more details check the changelog in our documentation.
💣 Breaking changes
The (now deprecated) inverted link component was updated to support new theming. This may cause an issue that inverted link turns black when used in default "light" theme. Please add is-dark
class name for any element that changes background to dark, so that the child components would correctly inherit the theme.
🙋 Guest devs
Vanilla team was joined for a Pulse by wonderful guest developers: @britneywwc @chillkang. This release would not be possible without their contributions. Thanks!
📋 Changelog
🚀 Features
- Update strip component to new theming system by @bartaz (#4996)
- Add theme support for table component by @britneywwc (#5000)
- Update links to use new theming by @bartaz (#4997)
- Add theme support for muted text by @britneywwc (#4994)
- Update core icons to support new theming system by @bartaz (#4993)
- Add more hero suru variants by @bartaz (#4989)
- Add dark theme support to notifications by @chillkang (#4971)
- Update chips with new theming support by @chillkang (#4986)
- Update Suru to support hero sections with 25/75 and 50/50 main suru backgrounds by @bartaz (#4985)
- Add theme support for form validation by @britneywwc (#4981)
- Add theme support for search box by @britneywwc (#4987)
- Add theme support for forms tick elements by @britneywwc (#4977)
- Add theme support for forms password toggle by @britneywwc (#4976)
- Add theme support for forms help text by @britneywwc (#4975)
- Add new theme support for base forms by @britneywwc (#4974)
- Hero section by @bartaz (#4973)
- [Feature branch] Dark theme implemented as CSS variables by @bartaz (#4969)
🐛 Bug Fixes
- Fix overlap issues with sticky app layout panel headers by @bartaz (#4991)
- Update Twitter/X icon and add support for dark theme to GitHub icon by @bartaz (#4978)
🔨 Maintenance
- Fix typo by @britneywwc (#4999)
- Rename color variables for consistency by @chillkang (#4982)
- Export status color variables as CSS custom properties by @chillkang (#4979)
- Fix typo in release file by @britneywwc (#4980)
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New Contributors
- @chillkang made their first contribution in #4979
Full Changelog: v4.7.0...v4.8.0
v4.7.0
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.7.0
🚀 Features
- Add 25/75 grid split support to top navigation by @bartaz (#4960)
- Align top navigation items padding with grid margin by @bartaz (#4948)
💣 Potentially breaking changes
Updates to top navigation (increased padding and new 25/75 layout variant) may cause top navigation items not fit on smaller screens. If your project adjusts $breakpoint-navigation-threshold
you may need to update its value, so that navigation switches to mobile view when items don't fit anymore.
🐛 Bug Fixes
- Fix tracker popup by @britneywwc (#4962)
- Fix GitHub contributors URLs by @bartaz (#4946)
🔨 Maintenance
- Update dependency canonicalwebteam.discourse to v5.4.9 by @renovate (#4944)
- Update dependency postcss-cli to v11 by @renovate (#4965)
- Update dependency stylelint to v16 by @renovate (#4966)
- Update all non-major dependencies by @renovate (#4964)
- Configure renovate versioning for node stable versions only by @bartaz (#4956)
- Fix GitHub contributors URLs by @bartaz (#4946)
Full Changelog: v4.6.0...v4.7.0
v4.6.0
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.6.0
🚀 Features
- Responsive grid patterns by @bartaz (#4933)
- Adjust spacing between heading groups by @bartaz (#4941)
💣 Potentially breaking changes
With the introduction of new responsive grid patterns (row--25-75-on-medium
, etc), the default responsive behaviour of row--25-75
has changed. Previously on medium screens it did not split the layout, but used a stacked mobile layout. With Vanilla 4.6.0 the row--25-75
will split into 2+4 columns layout on medium screens by default. This also means that is-split-on-medium
modifier class is no longer needed, as its behaviour is now default for row--25-75
.
If you are using row--25-75
without is-split-on-medium
make sure that the layout doesn't break on medium screen sizes.
If you are using row--25-75
with is-split-on-medium
no change is needed, but is-split-on-medium
is redundant and can be safely removed from code.
For more information refer to the Vanilla grid documentation.
🐛 Bug Fixes
- Add support for "Removed" status label to Vanilla changelog by @bartaz (#4943)
- Add more space between logo tag and text by @aaryanporwal (#4924)
🔨 Maintenance
- Reverts postcss-cli update to v11 as it breaks dotrun by @bartaz (#4940)
- Update actions/download-artifact action to v4 by @renovate (#4936)
- Update actions/upload-artifact action to v4 by @renovate (#4937)
- Update dependency postcss-cli to v11 by @renovate (#4938)
- Update all non-major dependencies by @renovate (#4935)
- Update all non-major dependencies by @renovate (#4928)
- Update dependency @testing-library/cypress to v10 by @renovate (#4930)
- Update dependency pyyaml to v6 by @renovate (#4931)
- Update actions/setup-node action to v4 by @renovate (#4929)
Full Changelog: v4.5.1...v4.6.0
v4.5.1
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.5.1
🐛 Bug Fixes
- Fix grid column reordering off by one err by @aaryanporwal (#4922)
- Add missing white background to sticky panel by @aaryanporwal (#4909)
- Show suru on all screens by @aaryanporwal (#4908)
📝 Documentation
- Fix margin in brochure example by @aaryanporwal (#4919)
- Update links component a11y documentation by @aaryanporwal (#4918)
- Update implementation tab for tooltips by @aaryanporwal (#4913)
- Update empty state documentation by @aaryanporwal (#4914)
- Update navigation component a11y documentation by @aaryanporwal (#4916)
- Update logo section component a11y documentation by @aaryanporwal (#4917)
- Use new documentation layout on Vanilla site by @bartaz (#4863)
- Update issue templates by @bartaz (#4906)
- Fixed typo for Button docs by @britneywwc (#4896)
🔨 Maintenance
- Update dependency cypress to v13 by @renovate (#4867)
- Update internal dependencies by @renovate (#4910)
- Update dependency canonicalwebteam.discourse to v5.4.4 by @renovate (#4901)
- Bump canonicalwebteam.discourse to 5.4.3 by @jpmartinspt (#4902)
New Contributors
- @jpmartinspt made their first contribution in #4902
- @aaryanporwal made their first contribution in #4908
Full Changelog: v4.5.0...v4.5.1
v4.5.0
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.5.0
🚀 Features
📝 Documentation
- Fixed minor typos for Inline Radio and Checkbox docs by @britneywwc (#4892)
New Contributors
- @britneywwc made their first contribution in #4892
Full Changelog: v4.4.0...v4.5.0
v4.4.0
Getting Vanilla Framework
Install with NPM: https://www.npmjs.com/package/vanilla-framework
Visit the documentation at https://vanillaframework.io/docs
New in Vanilla v4.4.0
🚀 Features
- New documentation layout by @bartaz (#4886)
- Add paper background support to side navigation by @bartaz (#4881)
🐛 Bug Fixes
🔨 Maintenance
- Revert pushing to release branch by @bartaz (#4890)
- Update actions/checkout action to v4 by @renovate (#4880)
- Update all non-major dependencies by @renovate (#4879)
- Refresh styles of table of contents component by @bartaz (#4885)
- Ignore warnings to prevent redirects from failing the build by @bartaz (#4882)
Full Changelog: v4.3.0...v4.4.0