Skip to content

Commit

Permalink
Bump the dev-dependencies group across 1 directory with 6 updates (#1047
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tillprochaska authored Nov 1, 2024
2 parents 02ce2e4 + 9ce4eea commit fb4f0d4
Show file tree
Hide file tree
Showing 8 changed files with 704 additions and 289 deletions.
25 changes: 19 additions & 6 deletions frontend/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,23 @@
"formatter": {
"indentStyle": "space"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noLabelWithoutControl": {
"options": {
"inputComponents": [
"Input",
"Select",
"GroupsFilterSelect",
"CountriesFilterSelect",
"PositionFilterSelect"
]
}
}
}
}
}
}
856 changes: 626 additions & 230 deletions frontend/package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"sirv": "^2.0.4"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@biomejs/biome": "^1.9.4",
"@hey-api/openapi-ts": "^0.32.0",
"@testing-library/preact": "^3.2.4",
"@testing-library/user-event": "^14.5.2",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.5.2",
"esbuild": "^0.23.1",
"jsdom": "^25.0.0",
"tsx": "^4.19.0",
"typescript": "^5.5.4"
"esbuild": "^0.24.0",
"jsdom": "^25.0.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3"
}
}
18 changes: 9 additions & 9 deletions frontend/src/components/CCLogo.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.cc-logo {
display: inline-block;
text-align: center;
opacity: 0.5;
display: inline-block;
text-align: center;
opacity: 0.5;
}

.cc-logo figcaption {
font-size: 0.75em;
line-height: 1;
font-family: var(--font-family-condensed);
font-weight: 600;
font-size: 0.75em;
line-height: 1;
font-family: var(--font-family-condensed);
font-weight: 600;
}

.cc-logo svg {
fill: currentColor;
height: var(--space-sm);
fill: currentColor;
height: var(--space-sm);
}
6 changes: 3 additions & 3 deletions frontend/src/components/ShareButton.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@media screen and (min-width: 1024px) {
.share-button {
display: none;
}
.share-button {
display: none;
}
}
56 changes: 28 additions & 28 deletions frontend/src/components/VoteSharepic.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
.vote-sharepic {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 600px;
height: 315px;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 600px;
height: 315px;

/* Center vertically and horizontally */
margin: auto;
/* Center vertically and horizontally */
margin: auto;

border-top: 4px solid var(--blue-darker);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 10px rgba(0, 0, 0, 0.25);
border-top: 4px solid var(--blue-darker);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 10px rgba(0, 0, 0, 0.25);

overflow: hidden;
overflow: hidden;
}

.vote-sharepic__content {
padding: calc(0.6 * var(--space)) var(--space-sm) var(--space-xs);
padding: calc(0.6 * var(--space)) var(--space-sm) var(--space-xs);
}

.vote-sharepic__title {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-wrap: balance;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-wrap: balance;

font-family: var(--font-family-condensed);
font-weight: 600;
font-family: var(--font-family-condensed);
font-weight: 600;

/* We need `overflow: hidden` to truncate the title after
/* We need `overflow: hidden` to truncate the title after
* 3 lines. However, this also cuts off descenders of letters
* like "g" and "j" on the last line, so we add some extra
* space at the bottom.
*/
padding-bottom: 0.05em;
padding-bottom: 0.05em;
}

.vote-sharepic__subtitle {
font-weight: 500;
font-weight: 500;
}

.vote-sharepic__footer {
display: flex;
align-items: center;
padding: var(--space-xs) var(--space-sm);
font-size: var(--text-sm);
background-color: var(--gray-lightest);
display: flex;
align-items: center;
padding: var(--space-xs) var(--space-sm);
font-size: var(--text-sm);
background-color: var(--gray-lightest);
}

.vote-sharepic__footer-text {
flex-grow: 1;
flex-shrink: 1;
flex-grow: 1;
flex-shrink: 1;
}
5 changes: 3 additions & 2 deletions frontend/src/css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@font-face {
font-family: "IBM Plex Sans Condensed";
src: url("/static/fonts/ibm-plex-sans-condensed-semibold.woff2") format("woff2"),
url("/static/fonts/ibm-plex-sans-condensed-semibold.woff") format("woff");
src: url("/static/fonts/ibm-plex-sans-condensed-semibold.woff2")
format("woff2"), url("/static/fonts/ibm-plex-sans-condensed-semibold.woff")
format("woff");
font-weight: 600;
font-style: normal;
font-display: swap;
Expand Down
17 changes: 11 additions & 6 deletions frontend/src/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
--text-sm: calc(1 / var(--text-scale-ratio) * var(--text-size));
--text-lg: calc(var(--text-scale-ratio) * var(--text-size));
--text-xl: calc(
var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-size)
var(--text-scale-ratio) *
var(--text-scale-ratio) *
var(--text-size)
);
--text-xxl: calc(
var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) *
var(--text-size)
var(--text-scale-ratio) *
var(--text-scale-ratio) *
var(--text-scale-ratio) *
var(--text-size)
);

--space: calc(var(--line-height) * var(--text-size));
Expand All @@ -24,7 +28,8 @@

--max-width: 45rem;

--font-family: IBM Plex Sans, system-ui, -apple-system, BlinkMacSystemFont,
--font-family:
IBM Plex Sans, system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
sans-serif;
--font-family-condensed: IBM Plex Sans Condensed, system-ui;
Expand All @@ -34,8 +39,8 @@
--border-radius-sm: 4px;
--border-radius-xs: 1px;

--shadow-elevated: 0 1px 2px rgba(0, 0, 0, 0.075),
0 5px 20px rgba(0, 0, 0, 0.1);
--shadow-elevated: 0 1px 2px rgba(0, 0, 0, 0.075), 0 5px 20px
rgba(0, 0, 0, 0.1);

--green-h: 170;
--green-s: 90%;
Expand Down

0 comments on commit fb4f0d4

Please sign in to comment.