-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The main goal here is to make it visually apparent what actions can be taken on each tile without having to first select the tile. A secondary goal is to make the UI easier to use on large screens.
- Loading branch information
Showing
41 changed files
with
1,671 additions
and
965 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Symbol } from './symbol' | ||
|
||
export class Icons { | ||
static Immutable = new Symbol('icon-immutable', 'block') | ||
static Lock = new Symbol('icon-lock', 'lock') | ||
static Move = new Symbol('icon-move', 'drag_pan') | ||
static RotateLeft = new Symbol('icon-rotate-left', 'rotate_left') | ||
static RotateRight = new Symbol('icon-rotate-right', 'rotate_right') | ||
static Swap = new Symbol('icon-swap', 'swap_horiz') | ||
static ToggleOff = new Symbol('icon-toggle-off', 'toggle_off') | ||
static ToggleOn = new Symbol('icon-toggle-on', 'toggle_on') | ||
|
||
static All = Object.freeze([ | ||
Icons.Immutable, | ||
Icons.Lock, | ||
Icons.Move, | ||
Icons.RotateLeft, | ||
Icons.RotateRight, | ||
Icons.Swap, | ||
Icons.ToggleOff, | ||
Icons.ToggleOn | ||
]) | ||
|
||
static ByName = Object.freeze(Object.fromEntries(Icons.All.map((icon) => [icon.name, icon]))) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.