Skip to content

Releases: phase2/particle

v10.7.4

27 Aug 18:44
a1482ac
Compare
Choose a tag to compare

Update Drupal theme and modules:

  • D9 Readiness (remove compatibility with pre-8.8)
  • Add Umami breadcrumb hook
  • Add Task Link Style / Drupal Theme

v10.7.3

27 Jul 22:10
e0932a4
Compare
Choose a tag to compare

Update twig to pass Octane linting

v10.7.2

24 Jul 22:20
bab436c
Compare
Choose a tag to compare

Lint fixes.

v10.7.1

24 Jul 21:55
bd5a73b
Compare
Choose a tag to compare
  • NPM updates and string fixes
  • Drupal Layouts refactor
  • Fix npm run new

v10.7.0 - The Tailwind Release

24 Jun 22:46
5ed7fea
Compare
Choose a tag to compare

Tailwind + PostCSS

The major feature of this release is the removal of Sass + Bootstrap in favor of PostCSS and Tailwind. PostCSS has always been a part of Particle to provide autoprefixing and other CSS mutations, but now it's the sole source of CSS generation! Tailwind is a very powerful and simple token-based approach to styling that serves the needs of design systems and component based design.

Tailwind has also been configured to purge generated class names that are not used within the _patterns subdirectories. This results in a smaller CSS output for production without slowing down the development process. Configuration for Tailwind is located at /source/default/tailwind.config.js

New folder structures

/apps/drupal/ has been renamed to /apps/drupal-default and now contains a particle_helper and particle_theme directory. They contain files that will need to be move to your Drupal modules and theme directories depending on the type of Drupal installation utilized. Additional documentation and steps have been added to /apps/drupal-default/README.md

SVGO optimization

SVGO has been added to the project directly with an initial configuration at /.svgo.yml. A new fmt:svg script has been added that will format svgs within the https://gitlab.com/phase2tech/mastercard/mastercard-design/-/tree/master/source/default/_patterns/01-atoms/svg/icons directory. This script is also included within the fmt script.

Bug Fixes

  • Update plRoot variable to be correct value
  • Fix php implode functions to be PHP 7.4 compatible

.github boilerplate

  • Added a bug report Issue template
  • Added a feature request issue template
  • Added a pull request template
  • Added a Code of Conduct

Updated dependencies

  • Update NPM dependencies
  • Updated nvmrc to use Node v12
  • Update Prettier configuration to run against the entire project
  • Add Twig Prettier configuration and run against existing files

v10.6.5

24 Apr 21:54
024d81c
Compare
Choose a tag to compare
  • Dependency updates!
  • Formatting changes based on new prettier default rules (parens around single args in arrow functions)
  • Slight styling changes in default components to pass accessibility
  • Webpack progress plugin only runs in dev mode, saving your CI environment logs from a million lines of junk!

v10.6.4

17 Dec 18:59
Compare
Choose a tag to compare
  • Dependency updates
  • pa11y paths import now works
  • Improved Sass module getter function

v10.6.3

27 Nov 06:17
93da6bb
Compare
Choose a tag to compare
  • Simplify imported twig, js, yaml for demo patterns (and updated new component generator)
  • Break out SVG Sass mixins into utils folder for non-duplication
  • Update various dependencies

v10.6.2

20 Nov 22:57
e62ccbb
Compare
Choose a tag to compare
  • Remove extra content block in example article.twig
  • Simplify the way demo twig and yaml are imported into demo index.js
  • update eslint-config-prettier

v10.6.1

18 Nov 20:59
Compare
Choose a tag to compare
  • version bump, derp