Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
ac6fdc8
replace and add all new icons
clairesunstudio Oct 22, 2025
cf82020
update icons
clairesunstudio Oct 23, 2025
51f82ab
update icon name to use consistent kebab case
clairesunstudio Oct 23, 2025
ae8b5fc
fix all mismatched names in react
clairesunstudio Oct 23, 2025
8ea3775
render all icons and update storybook knobs
clairesunstudio Oct 23, 2025
4a55354
update core storybook
clairesunstudio Oct 23, 2025
a3ddfbe
shrink labels
clairesunstudio Oct 23, 2025
3a96b2e
fix icon fills and fix aria-hidden props
clairesunstudio Oct 24, 2025
5b68040
fix core icon story
clairesunstudio Oct 24, 2025
f5a3065
add patternlab icon add script
clairesunstudio Oct 24, 2025
2234320
remove all old icons and replace and cleanup cat icon
clairesunstudio Oct 24, 2025
ed0f853
rename and move cat icon to out of 05-icons and to category-icon unde…
clairesunstudio Oct 24, 2025
2753687
extend icon function to allow width and height settings into the symbol
clairesunstudio Oct 26, 2025
3c63523
fix contact group icons
clairesunstudio Oct 26, 2025
0493344
fix all social icons
clairesunstudio Oct 27, 2025
60e8598
fix button icon size
clairesunstudio Oct 27, 2025
bfb87b0
fix icons in links
clairesunstudio Oct 30, 2025
1f6904f
fix mixins
clairesunstudio Oct 30, 2025
10d08ff
fix emergency header icon
clairesunstudio Oct 30, 2025
1963279
fix legacy page banner icon
clairesunstudio Oct 30, 2025
66d4174
strip icon fills
clairesunstudio Nov 4, 2025
5f39399
set default dimensions in the use elements svg wrapper
clairesunstudio Nov 4, 2025
4ffe7c4
fix a bunch of links and icons
clairesunstudio Nov 4, 2025
bac46f8
fix a bunch of links and icons
clairesunstudio Nov 4, 2025
887fbaf
tighten download link spacing
clairesunstudio Nov 4, 2025
c0f378e
icon fixes in patternlab
clairesunstudio Nov 10, 2025
e077073
Merge branch 'develop' into assets/DP-39285-update-all-icons
clairesunstudio Nov 12, 2025
8136038
fix search icon on mobile
clairesunstudio Nov 13, 2025
8b2bd11
fix icon in card title link
clairesunstudio Nov 13, 2025
374f483
fix callout alert icon
clairesunstudio Nov 13, 2025
268dc2e
fix emergency header icon
clairesunstudio Nov 13, 2025
62c1561
fix header alerts icon colors
clairesunstudio Nov 13, 2025
23d9aae
fix location listing icon colors
clairesunstudio Nov 13, 2025
597ba22
add aria-hidden true to all icon svgs
clairesunstudio Nov 14, 2025
eb3c02d
add aria-hidden to twig svgs
clairesunstudio Nov 14, 2025
d05d48e
add svgo to optimize icons
clairesunstudio Nov 14, 2025
de01fe6
fix button with icon
clairesunstudio Nov 17, 2025
0f97163
fix checkbox icons
clairesunstudio Nov 17, 2025
44f7078
fix date input icon
clairesunstudio Nov 17, 2025
7806dbe
fix location icons
clairesunstudio Nov 17, 2025
798a8b8
fix in page alert icons
clairesunstudio Nov 17, 2025
157d82e
fix emergency headere icon
clairesunstudio Nov 17, 2025
14815a3
fix map markup popup icon
clairesunstudio Nov 17, 2025
82b4665
fix icon list icons
clairesunstudio Nov 17, 2025
d9a613b
update pnpm lock
clairesunstudio Nov 17, 2025
579249e
build icons for prod
clairesunstudio Nov 19, 2025
d0c19d8
fix build
clairesunstudio Nov 20, 2025
2b48252
optimize react icons
clairesunstudio Nov 20, 2025
365766c
Merge branch 'develop' into assets/DP-39285-update-all-icons
clairesunstudio Nov 20, 2025
ffa3e76
fix callout link icon display
clairesunstudio Nov 20, 2025
dadada1
cleanup and update prepIcons in assets package
clairesunstudio Nov 20, 2025
bcc6905
update assets icons
clairesunstudio Nov 20, 2025
53af838
update patternlab icons
clairesunstudio Nov 20, 2025
c663fda
Merge branch 'assets/DP-39285-update-all-icons' of github.com:massgov…
clairesunstudio Nov 20, 2025
79bb012
update all icons and fix broken icon links
clairesunstudio Nov 20, 2025
6b55ad9
fix core
clairesunstudio Nov 20, 2025
bb0a604
merge in develop
clairesunstudio Nov 21, 2025
ba7fb40
wip
clairesunstudio Nov 21, 2025
4e8abd9
prep icons
clairesunstudio Nov 21, 2025
e8c5e1e
update icons in patternlab
clairesunstudio Nov 21, 2025
63bb6d3
rename x-logo
clairesunstudio Nov 21, 2025
d165f7f
update icons in react
clairesunstudio Nov 21, 2025
5057c5e
update react icon build scripts
clairesunstudio Nov 21, 2025
65ec4d6
fix map icons and add wheelchair icon centering
clairesunstudio Nov 22, 2025
23ca2b3
add global rush icon script to update and generate icons in react and…
clairesunstudio Nov 22, 2025
dc01773
fix brand banner icon
clairesunstudio Nov 22, 2025
0260506
fix related links icons
clairesunstudio Nov 22, 2025
855fdf9
fix broken react stories
clairesunstudio Nov 22, 2025
14763b6
update breadcrumb icon
clairesunstudio Nov 22, 2025
42e5ca2
fix toc arrowup
clairesunstudio Nov 22, 2025
6e24c11
remove icon size styles
clairesunstudio Nov 22, 2025
412fc09
sticky-toc icon swap and style
clairesunstudio Nov 22, 2025
474de03
align icon list icon
clairesunstudio Nov 22, 2025
cb640b0
style callout time icon
clairesunstudio Nov 22, 2025
c0f8394
lint fix
clairesunstudio Nov 23, 2025
1adf1fc
update command in react
clairesunstudio Nov 23, 2025
9d29549
remove height and width from svgs
clairesunstudio Nov 23, 2025
10efad9
style icons in patternlab
clairesunstudio Nov 24, 2025
84e6873
Merge branch 'develop' into assets/DP-39285-update-all-icons
clairesunstudio Nov 25, 2025
42b8bac
fix fax icon
clairesunstudio Nov 30, 2025
abd04f9
fix relationship indicator icon
clairesunstudio Nov 30, 2025
5bcc8db
Merge branch 'assets/DP-39285-update-all-icons' of github.com:massgov…
clairesunstudio Nov 30, 2025
21aa8d3
fix location icons
clairesunstudio Nov 30, 2025
d7e4f12
fix helptip icons
clairesunstudio Nov 30, 2025
7a5f1ef
fix secondary nav icons
clairesunstudio Nov 30, 2025
1165e25
update icon list/naming in core
clairesunstudio Dec 1, 2025
bcd738b
fix react and core icons
clairesunstudio Dec 1, 2025
f8d7ed0
update icon colors
clairesunstudio Dec 1, 2025
f7dd76e
fix callout quote icon size
clairesunstudio Dec 1, 2025
6ca3373
update icon link color
clairesunstudio Dec 2, 2025
bd8aa4e
update download link icon
clairesunstudio Dec 8, 2025
5f978da
wip
clairesunstudio Dec 8, 2025
2291187
center location icons
clairesunstudio Dec 18, 2025
dc8055b
replacing all the icons in assets
clairesunstudio Dec 19, 2025
2b99d6b
update optimize script to include bold dir and fix patternlab icon pa…
clairesunstudio Dec 19, 2025
22bf425
fix broken icon paths
clairesunstudio Dec 19, 2025
cf42aaa
fix all icon broken paths
clairesunstudio Dec 19, 2025
998b2c7
remove deprecated icon files in patternlab
clairesunstudio Dec 19, 2025
2ed892a
make large decorative icons use the reg versions
clairesunstudio Dec 19, 2025
d232372
make checkmark bold
clairesunstudio Dec 19, 2025
cfc756c
fix download icon link in services
clairesunstudio Dec 19, 2025
2c8ed60
fix icons
clairesunstudio Dec 19, 2025
16f2ad1
fix icons
clairesunstudio Dec 19, 2025
71fb9a2
fix inconsistent link list icon
clairesunstudio Dec 19, 2025
77c9015
fix download link list alignment icons
clairesunstudio Dec 19, 2025
b2898bb
fix download link list alignment icons
clairesunstudio Dec 19, 2025
279d216
bust template cache event listing
clairesunstudio Dec 23, 2025
059c3dc
revert link inline-flex
clairesunstudio Dec 26, 2025
0b7297f
Merge branch 'develop' into assets/DP-39285-update-all-icons
clairesunstudio Dec 26, 2025
aab4d3d
merge conflicts
clairesunstudio Dec 28, 2025
25a50eb
update pnpm lock
clairesunstudio Dec 28, 2025
4f9b90e
fix broken path
clairesunstudio Dec 28, 2025
34dbb19
lint fix
clairesunstudio Dec 28, 2025
011baf8
Merge branch 'develop' into assets/DP-39285-update-all-icons
clairesunstudio Dec 30, 2025
c6cd4b5
fix checkbox icon color
clairesunstudio Dec 31, 2025
cb3016e
adjust breadcrumb home icon position
clairesunstudio Dec 31, 2025
b772e40
fix link icon alignment
clairesunstudio Dec 31, 2025
2178d60
fix category icon
clairesunstudio Dec 31, 2025
cb922cf
tweak alignment callout links
clairesunstudio Dec 31, 2025
54ed2b4
adjust map direction icon
clairesunstudio Jan 6, 2026
41058b5
adjust feature item arrow icon size
clairesunstudio Jan 7, 2026
903cbd8
adjust map marker popup title icon
clairesunstudio Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions common/config/rush/command-line.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@
"allowWarningsInSuccessfulBuild": true,
"shellCommand": "cd packages/assets && rushx stylelint-fix"
},
{
"commandKind": "global",
"name": "icons",
"summary": "Update all icon files in the assets, patternlab and react packages.",
"safeForSimultaneousRushProcesses": false,
"allowWarningsInSuccessfulBuild": true,
"shellCommand": "node common/scripts/update-icons.js"
},
// {
// /**
// * (Required) Determines the type of custom command.
Expand Down
106 changes: 105 additions & 1 deletion common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 86 additions & 0 deletions common/scripts/update-icons.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#!/usr/bin/env node

const { execSync } = require('child_process');
const path = require('path');
const fs = require('fs');

function runCommand(command, cwd) {
console.log(`\n🔧 Running: ${command}`);
console.log(`📁 In directory: ${cwd}`);

try {
execSync(command, {
cwd,
stdio: 'inherit',
env: { ...process.env, FORCE_COLOR: '1' }
});
console.log(`✅ Success: ${command}`);
} catch (error) {
console.error(`❌ Failed: ${command}`);
console.error(`Error: ${error.message}`);
process.exit(1);
}
}

function main() {
const rootDir = path.resolve(__dirname, '../..');

console.log('🚀 Starting icon update process...\n');

// Step 1: Prepare icons in assets package
console.log('📦 Step 1: Preparing icons in assets package');
const assetsDir = path.join(rootDir, 'packages/assets');
if (!fs.existsSync(assetsDir)) {
console.error('❌ Assets package directory not found:', assetsDir);
process.exit(1);
}

// Check if package.json has prepIcons script
const packageJsonPath = path.join(assetsDir, 'package.json');
if (fs.existsSync(packageJsonPath)) {
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
if (packageJson.scripts && packageJson.scripts.prepIcons) {
runCommand('rushx prepIcons', assetsDir);
} else {
console.log('⚠️ prepIcons script not found in assets package, skipping...');
}
}

// Step 2: Update patternlab icons
console.log('\n📦 Step 2: Updating patternlab icons');
const patternlabDir = path.join(rootDir, 'packages/patternlab/styleguide');
if (fs.existsSync(patternlabDir)) {
const packageJsonPath = path.join(patternlabDir, 'package.json');
if (fs.existsSync(packageJsonPath)) {
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
if (packageJson.scripts && packageJson.scripts.icons) {
runCommand('rushx icons', patternlabDir);
} else {
console.log('⚠️ icons script not found in patternlab package, skipping...');
}
}
} else {
console.log('⚠️ PatternLab package directory not found, skipping...');
}

// Step 3: Update React icons
console.log('\n📦 Step 3: Updating React icons');
const reactDir = path.join(rootDir, 'packages/react');
if (fs.existsSync(reactDir)) {
const packageJsonPath = path.join(reactDir, 'package.json');
if (fs.existsSync(packageJsonPath)) {
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
if (packageJson.scripts && packageJson.scripts.icons) {
runCommand('rushx icons', reactDir);
} else {
console.log('⚠️ icons script not found in react package, skipping...');
}
}
} else {
console.log('⚠️ React package directory not found, skipping...');
}

console.log('\n🎉 Icon update process completed!');
}

main();
5 changes: 0 additions & 5 deletions packages/assets/build/scss/header-hamburger.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@

@use '03-organisms/header-hamburger';

@use '01-atoms/svg-loc-icons';

@use '01-atoms/svg-icons';


@use '01-atoms/forms';

@use '01-atoms/input-typeahead';
Expand Down
4 changes: 0 additions & 4 deletions packages/assets/build/scss/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@

@use '01-atoms/buttons';

@use '01-atoms/svg-icons';

@use '01-atoms/svg-loc-icons';

@use '01-atoms/forms';

@use '01-atoms/input';
Expand Down
10 changes: 10 additions & 0 deletions packages/assets/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const concat = require('gulp-concat');
const terser = require('gulp-terser');
const del = require('del');
const path = require('path');
const prepIcons = require('./scripts/prepIcons');


sass.compiler = require('sass');

Expand Down Expand Up @@ -175,13 +177,21 @@ function compileMiniBrandBanner() {
.pipe(dest('./js'))
}

function prepIconsResolve() {
return new Promise((resolve) => {
prepIcons('./static/images/icons');
resolve();
});
}

exports.deleteMainNav = deleteMainNav;
exports.compileMainNav = compileMainNav;
exports.compileMiniScss = compileMiniScss;
exports.compileScss = compileScss;
exports.clean = clean;
exports.compileBrandBanner = compileBrandBanner;
exports.compileMiniBrandBanner = compileMiniBrandBanner;
exports.prepIcons = prepIconsResolve;

const transpileHeader = series(compileMainNav, parallel(compileHeader, compileMiniHeader), deleteMainNav);
const transpileHamburgerHeader = parallel(compileHamburgerHeader, compileMiniHamburgerHeader);
Expand Down
Loading