Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Shields v2.1 #382

Merged
merged 28 commits into from
Feb 28, 2019
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
14c52b1
set up foundation
cezaraugusto Feb 12, 2019
56428bf
add knobs to shields stats
cezaraugusto Feb 12, 2019
c42a68d
add dynamic items blocked string
cezaraugusto Feb 12, 2019
becde9b
prevent stats >99
cezaraugusto Feb 12, 2019
1cc1283
add icons to controls
cezaraugusto Feb 12, 2019
5a9f4f3
add css structure
cezaraugusto Feb 12, 2019
ec55bc1
adjust basic sizing/gutter
cezaraugusto Feb 13, 2019
d9b7dc2
replace buttons w/ proper ones
cezaraugusto Feb 14, 2019
367321b
add display styles
cezaraugusto Feb 18, 2019
ff100c5
add disabled view
cezaraugusto Feb 19, 2019
8dcacbf
allow toggle to work with fake state
cezaraugusto Feb 19, 2019
5b1e46d
refactor and put controls in their own files
cezaraugusto Feb 19, 2019
c438c36
fix a11y outline across shields
cezaraugusto Feb 19, 2019
9a7e5d9
prevent elements from showing outline when active
cezaraugusto Feb 19, 2019
b4c460b
adjust colors
cezaraugusto Feb 19, 2019
86727f5
update random snapshots
cezaraugusto Feb 19, 2019
26abded
apply design feedback for outlines
cezaraugusto Feb 19, 2019
95932b0
cover edge cases of total blocked string
cezaraugusto Feb 20, 2019
8f472f1
remove all leftovers
cezaraugusto Feb 20, 2019
506f169
run npm audit to fix several security issues
cezaraugusto Feb 20, 2019
eddc83e
remove gap around static list
cezaraugusto Feb 20, 2019
7bf050a
fix extra gutter in static list view
cezaraugusto Feb 20, 2019
eb5ed42
fix connection upgraded string in total blocked section
cezaraugusto Feb 20, 2019
0732580
apply design feedback
cezaraugusto Feb 20, 2019
26bc816
disable controls if status is 0
cezaraugusto Feb 20, 2019
71d252d
create helper file
cezaraugusto Feb 23, 2019
4d703d8
replace custom carat icon with built-in icon
cezaraugusto Feb 28, 2019
ff2516b
make scrolling list match height after icon change
cezaraugusto Feb 28, 2019
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 .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"rules": {
"property-no-vendor-prefix": [true, {
"ignoreProperties": ["background-clip", "padding-start", "padding-end"]
"ignoreProperties": ["background-clip", "padding-start", "padding-end", "appearance"]
}]
}
}
200 changes: 171 additions & 29 deletions package-lock.json

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
Expand Up @@ -12,7 +12,7 @@ exports[`Button tests basic tests matches the snapshot 1`] = `
box-sizing: border-box;
background: none;
border: none;
outline: none;
outline-color: transparent;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down
2 changes: 1 addition & 1 deletion src/components/buttonsIndicators/button/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const StyledButton = styled<Props, 'button'>('button')`
box-sizing: border-box;
background: none;
border: none;
outline: none;
outline-color: transparent;
display: flex;
flex-direction: ${p => p.icon && p.icon.position === 'after' ? 'row' : 'row-reverse'};
justify-content: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ exports[`Grant complete tests basic tests matches the snapshot 1`] = `
box-sizing: border-box;
background: none;
border: none;
outline: none;
outline-color: transparent;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`Grant error tests basic tests matches the snapshot 1`] = `
box-sizing: border-box;
background: none;
border: none;
outline: none;
outline-color: transparent;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`ModalBackupRestore tests basic tests matches the snapshot 1`] = `
box-sizing: border-box;
background: none;
border: none;
outline: none;
outline-color: transparent;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ exports[`PanelWelcome tests basic tests matches the snapshot 1`] = `
box-sizing: border-box;
background: none;
border: none;
outline: none;
outline-color: transparent;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down
Loading