-
Notifications
You must be signed in to change notification settings - Fork 71
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
DT-1248 - consistent link styles #1589
Changes from 30 commits
1f62e84
55a7b7e
32b6c62
d6aa517
9e08bbc
fed04a4
e355a82
261c913
85e65dc
37ec0af
554d3ed
062c11f
f9147ba
b2c4653
d3f634d
0a10849
84f14c8
9fcb2b2
cc0bd74
cc45811
79486a4
3abebd2
66b8fff
f19e784
7306951
ba29894
b0866a1
f673780
2960727
3c42e57
2afb742
dcd4487
c464b4d
7b18446
a9670f4
882496f
da154de
f2bcc21
ccec0bd
4a656c6
f1779c1
4aa74d7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"*.{ts,js}": ["pnpm lint:fix", "prettier --write"], | ||
"*.{css,postcss,svelte}": "stylelint --fix", | ||
"*.{css,postcss,svelte}": ["stylelint --fix", "pnpm lint:fix"], | ||
"*.{json,md}": "prettier --write" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<script lang="ts"> | ||
import IconButton from '$lib/holocene/icon-button.svelte'; | ||
import Link from '$lib/holocene/link.svelte'; | ||
import { translate } from '$lib/i18n/translate'; | ||
import type { BannersState } from '$lib/models/banner-state'; | ||
import { close, closedBanners } from '$lib/stores/banner'; | ||
|
@@ -24,9 +25,9 @@ | |
class={`relative block text-center leading-10 ${severity}`} | ||
{...$$restProps} | ||
> | ||
<a href={link} target="_blank" rel="noreferrer"> | ||
<Link href={link} newTab> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure I agree, although |
||
{message} | ||
laurakwhit marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</a> | ||
</Link> | ||
|
||
<IconButton | ||
on:click={() => close(key)} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
import EventCategoryFilter from '$lib/components/event/event-category-filter.svelte'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is the same issue that Tideman commented on, should be fixed 👍 |
||
import EventDateFilter from '$lib/components/event/event-date-filter.svelte'; | ||
import Icon from '$lib/holocene/icon/icon.svelte'; | ||
import Button from '$lib/holocene/button.svelte'; | ||
import TableHeaderRow from '$lib/holocene/table/table-header-row.svelte'; | ||
import Table from '$lib/holocene/table/table.svelte'; | ||
import { translate } from '$lib/i18n/translate'; | ||
|
@@ -36,15 +36,15 @@ | |
<th class="w-44"><EventCategoryFilter {compact} /></th> | ||
<th class="w-auto xl:w-80"> | ||
<div class="flex w-full justify-end"> | ||
<button | ||
class="relative flex w-28 items-center justify-end rounded sm:justify-between" | ||
<Button | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I think we need to sync up with Ash on the expected behavior here. The first 2 column headers are dropdown menus, which don't change background on hover, but the last column is a primary button with no dropdown. |
||
size="sm" | ||
trailingIcon={expandAll ? 'chevron-up' : 'chevron-down'} | ||
on:click={handleChange} | ||
> | ||
<span class="hidden sm:block"> | ||
{expandAll ? translate('collapse-all') : translate('expand-all')} | ||
</span> | ||
<Icon name={expandAll ? 'chevron-up' : 'chevron-down'} /> | ||
</button> | ||
</Button> | ||
</div> | ||
</th> | ||
</TableHeaderRow> | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not going to block on this, but the inconsistency between capital and lower case makes me sad.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair, I just copied the values from Figma, and figured we will be revisiting this file once Design finalizes our color palette.