Skip to content

Commit e3f0c29

Browse files
committed
chore(go-icons): add to monorepo
1 parent ec90cf5 commit e3f0c29

667 files changed

Lines changed: 3506 additions & 127 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"generate:type:risk-api": "openapi-typescript ../go-risk-module-api/openapi-schema.yaml -o ./generated/riskTypes.ts --alphabetize",
2424
"generate:type:translations": "openapi-typescript ../cacheppuccino/openapi.json -o ./generated/translationTypes.ts --alphabetize",
2525
"prestart": "pnpm initialize:type",
26-
"start": "pnpm -F @ifrc-go/ui build && vite",
26+
"start": "pnpm -F @ifrc-go/ui build && pnpm -F @ifrc-go/icons build && vite",
2727
"prebuild": "pnpm initialize:type",
28-
"build": "pnpm -F @ifrc-go/ui build && vite build",
28+
"build": "pnpm -F @ifrc-go/ui build && pnpm -F @ifrc-go/icons build && vite build",
2929
"preview": "vite preview",
3030
"pretypecheck": "pnpm initialize:type",
3131
"typecheck": "tsc",
@@ -41,7 +41,7 @@
4141
"surge:teardown": "branch=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD); branch=$(echo $branch | tr ./ -); surge teardown https://ifrc-go-$branch.surge.sh"
4242
},
4343
"dependencies": {
44-
"@ifrc-go/icons": "^2.0.1",
44+
"@ifrc-go/icons": "workspace:^",
4545
"@ifrc-go/ui": "workspace:^",
4646
"@sentry/react": "^10.0.0",
4747
"@tinymce/tinymce-react": "^6.0.0",

app/src/components/GoMapContainer/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
border-radius: var(--go-ui-border-radius-md);
2121
background-color: var(--go-ui-color-foreground);
2222
padding: 0 var(--go-ui-spacing-2xs);
23-
font-size: var(--go-ui-height-icon-multiplier);
23+
font-size: 1.33em;
2424
}
2525

2626
.map-disclaimer {

app/src/components/Link/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ function Link(props: Props) {
121121
<>
122122
{after}
123123
{withLinkIcon && external && (
124-
<ArrowRightUpLineIcon className={styles.linkIcon} />
124+
<ArrowRightUpLineIcon />
125125
)}
126126
{withLinkIcon && !external && (
127-
<ChevronRightLineIcon className={styles.linkIcon} />
127+
<ChevronRightLineIcon />
128128
)}
129129
</>
130130
)}

app/src/components/Link/styles.module.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@
66
text-decoration: underline;
77
}
88
}
9-
10-
.link-icon {
11-
font-size: var(--go-ui-height-icon-multiplier);
12-
}
139
}

app/src/components/MapPopup/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
overflow: auto;
3737

3838
.close-button {
39-
font-size: var(--go-ui-height-icon-multiplier);
39+
font-size: 1.33em;
4040
}
4141

4242
.content {

app/src/components/NonFieldError/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
.icon {
1111
flex-shrink: 0;
12-
font-size: var(--go-ui-height-icon-multiplier);
12+
font-size: 1.33em;
1313
}
1414
}
1515

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.icon {
2-
font-size: var(--go-ui-height-icon-multiplier);
2+
font-size: 1.33em;
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.dref-export-modal {
22
.icon {
3-
font-size: var(--go-ui-height-icon-multiplier);
3+
font-size: 1.33em;
44
}
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.icon {
2-
font-size: var(--go-ui-height-icon-multiplier);
2+
font-size: 1.33em;
33
}

app/src/views/AccountMyFormsDref/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
}
1010

1111
.icon {
12-
font-size: var(--go-ui-height-icon-multiplier);
12+
font-size: 1.33em;
1313
}
1414
}

0 commit comments

Comments
 (0)