Commit Graph

214 Commits

Author SHA1 Message Date
rektdeckard
496c14c8c6 meta: replace Google Analytics with react-ga 2020-10-10 01:15:35 -04:00
rektdeckard
4df6058a84 icons: fix up some categories 2020-10-10 01:14:22 -04:00
rektdeckard
b4032d80e8 icons: suffix brand icons with 'logo' 2020-10-09 23:23:30 -04:00
rektdeckard
e2d61564c0 IgonGrid: update default search tag suggestions 2020-10-09 22:55:45 -04:00
rektdeckard
5f6c5eb4ad Header+Footer: add Patreon links 2020-10-09 22:55:25 -04:00
rektdeckard
5acea5eafd App: make links column gaps Safari-friendly 2020-10-09 22:55:08 -04:00
rektdeckard
ed3011a020 SearchInput: suppress paranoid exhaustive-deps 2020-10-09 22:54:41 -04:00
rektdeckard
87f5aacf7d EmptyState: match padding to IconGrid 2020-10-09 11:28:34 -04:00
rektdeckard
c7c3600466 icons: move carets to Arrows category 2020-10-09 11:28:00 -04:00
rektdeckard
cfb10c93d9 Footer: update copy and remove command img for now 2020-10-07 16:02:11 -04:00
rektdeckard
255730a11d DetailsPanel: add TagCloud for selected icon 2020-10-07 16:01:21 -04:00
rektdeckard
2487b47c65 IconGrid: add TagCloud on empty search 2020-10-07 16:00:27 -04:00
rektdeckard
f57577c374 SearchInput: update input value when query changes
In cases where the searchQueryAtom is changed directly, either via
clicking a tag-button or from some future use-case, the input value is
updated as well.
2020-10-07 15:56:26 -04:00
rektdeckard
2750c84431 IconGrid: refactor props to accept a whole IconEntry 2020-10-07 15:55:41 -04:00
rektdeckard
c5ce2c21cb TagCloud: add component and implement tag-search feature
This component renders a cloud of tags with the string tags passed to
it, with each tag constituting a button that triggers search on click.
The cloud is also responsive to the color theme of the grid.
2020-10-07 15:47:56 -04:00
rektdeckard
757f12d2f3 Notice: rename Warn -> Notice and add composability
The Notice component can now act as a general indicator component,
exposing four types: "wait", "help", "warn", or "none". These types
display different icons and make this a much more reusable element.

We also render children passed to us, making this even more extendable.
In future, we may wish to extract all message props altogether as
children instead.
2020-10-07 15:43:00 -04:00
rektdeckard
a73af0573e icons: add Arrows category 2020-10-07 15:39:43 -04:00
rektdeckard
3a97005b72 App: make images unselectable and undraggable 2020-10-05 02:32:50 -04:00
rektdeckard
4a46bede07 Footer: back-to-top should float above toolbar 2020-10-05 02:15:01 -04:00
rektdeckard
4a857eb6fa DetailsPanel: rename InfoPanel -> DetailsPanel 2020-10-05 02:14:14 -04:00
rektdeckard
50b603b525 InfoPanel: massive overhaul to support mobile size and PNG download
This patch reworks the mobile breakpoint to allow whitespace wrapping of
code snippets and does away with horizontal scroll. Overall, the
usability and intuitiveness is much better, though readability of the
code itself takes a hit.

In addition, we added the ability to download an icon as a PNG thanks to
the svg2png-converter library. PNGs adopt the current preview weight and
color, and are sized at 256x256.
2020-10-04 23:15:51 -04:00
rektdeckard
bee9f1cbc0 Footer: update license copy 2020-10-04 18:49:30 -04:00
rektdeckard
daa545d8ae Header: replace warning-spec asset with correcly sized version 2020-10-04 16:53:39 -04:00
rektdeckard
bc8c00df3d IconGrid: stop icon preview from bounding on panel open 2020-10-04 16:13:00 -04:00
rektdeckard
2870f20ddf Header+Footer: further implement new spec 2020-10-04 01:30:15 -04:00
rektdeckard
fd70654312 Header: update breakpoints to new specs 2020-10-03 00:24:10 -04:00
rektdeckard
8245190a3a icons: add tags 2020-09-29 23:36:22 -04:00
rektdeckard
95d1f77320 SizeInput: fix thumb not reaching end of track 2020-09-29 23:36:01 -04:00
rektdeckard
acf53eb9a0 Header: revert to pure-CSS x-ray effect 2020-09-29 23:31:26 -04:00
rektdeckard
3046dca05d Footer:: fix license link 2020-09-29 23:30:53 -04:00
rektdeckard
57d82228a4 Header+Footer: revise copy and hover states 2020-09-28 15:08:20 -04:00
rektdeckard
9b30718db2 Footer: fix touch interaction over phone illustration 2020-09-28 04:13:49 -04:00
rektdeckard
6fe1083656 Header+Footer: add Helena's PayPal link 2020-09-28 03:42:21 -04:00
rektdeckard
fc685bae84 Warn: properly ellide error message text 2020-09-28 03:30:32 -04:00
rektdeckard
e42317f95d SizeInput: fix slider overflow on small breakpoint 2020-09-28 03:23:53 -04:00
rektdeckard
2939465431 SearchInput: bring back "X" at small breakpoints 2020-09-28 03:22:54 -04:00
rektdeckard
630d9f04c5 Footer: fix obscured links and remove Mikhael 2020-09-28 03:22:19 -04:00
rektdeckard
e3a2a4db45 Warn: switch from Warning icon to SmileyXEyes X_X 2020-09-28 01:19:04 -04:00
rektdeckard
54f18db921 IconGridItem: nix the redundant ErrorBoundary 2020-09-28 01:18:38 -04:00
rektdeckard
624454d36a Header+Footer: remove x-ray effect on mobile 2020-09-28 01:18:02 -04:00
rektdeckard
521e8db2d7 Header: point download link to asset kit 2020-09-27 22:28:44 -04:00
rektdeckard
9f3ec2d9d6 IconGrid: handle text overflow on empty search 2020-09-27 22:16:47 -04:00
rektdeckard
28f079734e icons: bump to phosphor-react@0.5.0 and update names 2020-09-27 20:12:00 -04:00
rektdeckard
e6c5ea05d5 icons: more tagging 2020-09-27 13:51:41 -04:00
rektdeckard
f0a70eb64c state: set default icon size to 48px 2020-09-27 13:51:03 -04:00
rektdeckard
999fcd8df9 SearchInput: add text ellision to input element 2020-09-27 13:50:27 -04:00
rektdeckard
3fdc7bb87a InfoPanel: indicate lack of support for duotone weight in JS lib
While phosphor-icons uses an icon font implementation, we won't be able
to provide the duotone weight in that library. We now indicate lack of
support by disabling the code snippet and copy button.
2020-09-27 13:47:49 -04:00
rektdeckard
80a2d7b773 icons: add some tags 2020-09-26 00:43:47 -04:00
rektdeckard
55bab04497 SearchInput+IconGrid: scroll to top of grid on search change
When the debounced search query changes, scroll to the top of the grid
if the query is not the empty string. This has the same smooth behavior
as the scroll buttons, which is not currently available on WebKit.
2020-09-26 00:41:48 -04:00
rektdeckard
55ddcfc9a7 SizeInput: fix slider bug that broke functionality on mobile
We were, for some reason, preventing the default behavior of touch
events onTouchStart and onTouchEnd. This made the slider unusable with
drag actions on mobile. I can't remember why we did this to begin with,
probably something important...

The slider thumb size was also increased for better tap target size.
2020-09-26 00:19:00 -04:00