Skip to content
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

chore: Switch to using nuxt icon module #4493

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
fa5f985
chore: Switch to using nuxt icon module
connoratrug Nov 13, 2024
3f353c6
format
connoratrug Nov 13, 2024
2bc2c30
replace global icons with nuxt/icon
connoratrug Nov 14, 2024
1f72bf8
add workaround to work with multi layer icons
connoratrug Nov 14, 2024
0499794
fix icon file name case and clean up unused code
connoratrug Nov 14, 2024
ec306d0
fix fill
connoratrug Nov 14, 2024
2599995
fix icon
connoratrug Nov 14, 2024
537531d
Merge branch 'master' of github.com:molgenis/molgenis-emx2 into chore…
connoratrug Nov 14, 2024
0c87603
fix icons
connoratrug Nov 14, 2024
66def43
remove unused code
connoratrug Nov 14, 2024
66eeb24
use alias
connoratrug Nov 14, 2024
683736c
update nuxt srr icon alias
connoratrug Nov 14, 2024
0411542
update ingress open icon route on preview
connoratrug Nov 14, 2024
da34649
fix icon prefix
connoratrug Nov 14, 2024
2c1f2ce
fix icon usage
connoratrug Nov 15, 2024
b8cdfce
text ssr false setup
connoratrug Nov 15, 2024
45bc4ad
fix vert align
connoratrug Nov 15, 2024
4ec56cc
update docs and cleanup deps
connoratrug Nov 15, 2024
4ecd1d5
fix case issue step1 of 2
connoratrug Nov 15, 2024
a9b72ac
fix case issue step2 of 2
connoratrug Nov 15, 2024
b7f2d71
Merge branch 'master' of github.com:molgenis/molgenis-emx2 into chore…
connoratrug Nov 19, 2024
aa73bb3
chore: merge with master
connoratrug Nov 19, 2024
4a14fb1
chore: remove double array add of scanned custom icon names
connoratrug Nov 19, 2024
2e5db89
chore: replace hardcoded fill color with current color for completed svg
connoratrug Nov 19, 2024
3d5c5a8
chore: extend readme with details on custom/local icons usage
connoratrug Nov 19, 2024
b958720
bump deps
connoratrug Nov 19, 2024
f2d5032
update lock
connoratrug Nov 20, 2024
6127a3e
Merge branch 'master' into chore/nuxt-icons
connoratrug Nov 20, 2024
208f87b
Merge branch 'master' into chore/nuxt-icons
connoratrug Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/aggregates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/central/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"v-scroll-lock": "1.3.1",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/cranio-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/cranio-public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/directory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"molgenis-components": "*",
"monaco-editor": "0.50.0",
"pinia": "2.1.7",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-gtag": "2.0.1",
"vue-router": "4.4.3",
"vuedraggable": "4.1.0"
Expand Down
2 changes: 1 addition & 1 deletion apps/ern-genturis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/ern-ithaca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/ern-reconnet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/ern-skin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/gportal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/helloworld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"graphql-request": "5.2.0",
"metadata-utils": "*",
"molgenis-components": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/imdhub-public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/molgenis-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"cross-env": "7.0.3",
"metadata-utils": "*",
"universal-cookie": "4.0.4",
"vue": "3.5.6",
"vue": "3.5.13",
"vue-gtag": "2.0.1",
"vue-flatpickr-component": "11.0.5",
"vue3-cookies": "^1.0.6",
Expand Down
2 changes: 1 addition & 1 deletion apps/molgenis-viz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"d3": "7.8.5",
"graphql-request": "^6.1.0",
"heroicons": "^2.0.18",
"vue": "3.5.6"
"vue": "3.5.13"
},
"devDependencies": {
"@vitejs/plugin-vue": "4.6.2",
Expand Down
22 changes: 22 additions & 0 deletions apps/nuxt3-ssr/app.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export default defineAppConfig({
icon: {
size: '24px', // default <Icon> size applied
class: 'icon', // default <Icon> class applied
mode: 'svg', // default <Icon> mode applied
aliases: {
'caret-right': 'twc:caret-right',
'caret-left': 'twc:caret-left',
'caret-up': 'twc:caret-up',
'caret-down': 'twc:caret-down',
'arrow-left': 'twc:arrow-left',
'arrow-right': 'twc:arrow-right',
'arrow-up': 'twc:arrow-up',
'arrow-down': 'twc:arrow-down',
'collapsible-list-item': 'twc:collapsible-list-item',
'collapsible-list-item-sub': 'twc:collapsible-list-item-sub',
'info': 'twc:info',
'user': 'twc:user',
'cross': 'twc:cross',
}
}
})
1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Arrow down.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Arrow left.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Arrow right.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Arrow up.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Caret down.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Caret left.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Caret right.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Caret up.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Check.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Checklist.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Clinical.svg

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Colorize.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Completed.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Copy.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Cross.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Database.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Dataset linked.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Dataset.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/External link.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Filter.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Globe.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Handshake.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/nuxt3-ssr/assets/minified-icons/Hub.svg

This file was deleted.

Loading