diff --git a/mon-pix/config/icons.js b/mon-pix/config/icons.js index a768fe0fe4f..5f10174364f 100644 --- a/mon-pix/config/icons.js +++ b/mon-pix/config/icons.js @@ -1,54 +1,39 @@ -module.exports = function () { - return { - 'free-brands-svg-icons': ['facebook-f', 'linkedin-in', 'twitter'], - 'free-solid-svg-icons': [ - 'arrow-down', - 'arrow-left', - 'arrow-right', - 'arrows-rotate', - 'arrow-up', - 'bars', - 'bookmark', - 'bullhorn', - 'check', - 'chevron-up', - 'chevron-down', - 'circle-check', - 'circle-exclamation', - 'circle-info', - 'circle-question', - 'circle-stop', - 'circle-user', - 'circle-xmark', - 'clock', - 'copy', - 'earth-europe', - 'eye', - 'eye-slash', - 'flag', - 'globe', - 'hourglass-end', - 'image', - 'link', - 'lock', - 'minus', - 'pen', - 'plus', - 'power-off', - 'right-from-bracket', - 'right-long', - 'rotate-right', - 'signal', - 'stopwatch', - 'times-circle', - 'thumbs-up', - 'triangle-exclamation', - 'up-right-from-square', - 'user', - 'volume-high', - 'volume-xmark', - 'xmark', - ], - 'free-regular-svg-icons': ['bookmark', 'copy', 'thumbs-up'], - }; -}; +const getCommonIcons = require('@1024pix/pix-ui/config/icons.js'); +const commonIcons = getCommonIcons(); + +module.exports = () => ({ + 'free-brands-svg-icons': ['facebook-f', 'linkedin-in', 'twitter'], + 'free-solid-svg-icons': [ + ...commonIcons['free-solid-svg-icons'], + 'arrow-down', + 'arrow-left', + 'arrows-rotate', + 'arrow-up', + 'bars', + 'bookmark', + 'circle-stop', + 'circle-user', + 'circle-xmark', + 'clock', + 'copy', + 'flag', + 'globe', + 'hourglass-end', + 'image', + 'link', + 'lock', + 'minus', + 'pen', + 'power-off', + 'right-from-bracket', + 'right-long', + 'rotate-right', + 'signal', + 'stopwatch', + 'times-circle', + 'thumbs-up', + 'volume-high', + 'volume-xmark', + ], + 'free-regular-svg-icons': ['bookmark', 'copy', 'thumbs-up'], +}); diff --git a/mon-pix/package-lock.json b/mon-pix/package-lock.json index 268d8f9424a..0e40cb84c9f 100644 --- a/mon-pix/package-lock.json +++ b/mon-pix/package-lock.json @@ -14,7 +14,7 @@ "@1024pix/ember-matomo-tag-manager": "^2.4.3", "@1024pix/ember-testing-library": "^1.1.0", "@1024pix/eslint-config": "^1.3.2", - "@1024pix/pix-ui": "^46.9.0", + "@1024pix/pix-ui": "^46.9.3", "@1024pix/stylelint-config": "^5.1.15", "@babel/eslint-parser": "^7.19.1", "@babel/plugin-proposal-decorators": "^7.20.2", @@ -93,7 +93,7 @@ "npm-run-all2": "^6.0.0", "p-queue": "^8.0.0", "plyr": "^3.7.8", - "prettier": "^3.3.0", + "prettier": "^3.0.0", "prettier-plugin-ember-template-tag": "^2.0.2", "qunit": "^2.19.1", "qunit-dom": "^3.0.0", @@ -857,9 +857,9 @@ } }, "node_modules/@1024pix/pix-ui": { - "version": "46.9.2", - "resolved": "https://registry.npmjs.org/@1024pix/pix-ui/-/pix-ui-46.9.2.tgz", - "integrity": "sha512-9jru1fJyHeFxMEvuRbdJnzG/ba1W0AJhkQpmZAdKSKamBA2f081ZHKLH0y1IykPI/Nf+kmT8FTCKimSESjhCvA==", + "version": "46.9.3", + "resolved": "https://registry.npmjs.org/@1024pix/pix-ui/-/pix-ui-46.9.3.tgz", + "integrity": "sha512-27fvW7WCljDLaY1muZC/4nJu2GWABRvs4vjQsBBwLpQZie8V8mFgU2Hy1sq/EdZqdbbOrujKl0VtlQz6ct3y4g==", "dev": true, "hasInstallScript": true, "license": "MIT", diff --git a/mon-pix/package.json b/mon-pix/package.json index 86fb5ee3ecc..f4bb1925ca2 100644 --- a/mon-pix/package.json +++ b/mon-pix/package.json @@ -46,7 +46,7 @@ "@1024pix/ember-matomo-tag-manager": "^2.4.3", "@1024pix/ember-testing-library": "^1.1.0", "@1024pix/eslint-config": "^1.3.2", - "@1024pix/pix-ui": "^46.9.0", + "@1024pix/pix-ui": "^46.9.3", "@1024pix/stylelint-config": "^5.1.15", "@babel/eslint-parser": "^7.19.1", "@babel/plugin-proposal-decorators": "^7.20.2",