gristlabs_grist-core/app/client/ui2018/IconList.ts
Jarosław Sadziński 34708cd348 (core) Adding font options to the style picker
Summary:
Redesigning color picker:
- Single color palette (no light/dark switch)
- Ability to remove color (new empty button)

New font options in the color picker.
Font options are available on:
- Default cell style
- Conditional rules styles
- Choice/ChoiceList editor and token field
- Filters for Choice/ChoiceList columns

Design document:
https://www.figma.com/file/bRTsb47VIOVBfJPj0qF3C9/Grist-Updates?node-id=415%3A8135

Test Plan: new and updated tests

Reviewers: georgegevoian, alexmojaki

Reviewed By: georgegevoian, alexmojaki

Subscribers: alexmojaki

Differential Revision: https://phab.getgrist.com/D3335
2022-04-07 20:35:03 +02:00

244 lines
3.6 KiB
TypeScript

export type IconName = "ChartArea" |
"ChartBar" |
"ChartDonut" |
"ChartKaplan" |
"ChartLine" |
"ChartPie" |
"TypeCard" |
"TypeCardList" |
"TypeCell" |
"TypeChart" |
"TypeCustom" |
"TypeDetails" |
"TypeTable" |
"FieldAny" |
"FieldAttachment" |
"FieldCheckbox" |
"FieldChoice" |
"FieldColumn" |
"FieldDate" |
"FieldDateTime" |
"FieldFunction" |
"FieldFunctionEqual" |
"FieldInteger" |
"FieldLink" |
"FieldNumeric" |
"FieldReference" |
"FieldSpinner" |
"FieldSwitcher" |
"FieldTable" |
"FieldText" |
"FieldTextbox" |
"FieldToggle" |
"LoginStreamline" |
"LoginUnify" |
"LoginVisualize" |
"GoogleLogo" |
"GristLogo" |
"ThumbPreview" |
"BarcodeQR" |
"BarcodeQR2" |
"CenterAlign" |
"Code" |
"Collapse" |
"Convert" |
"Copy" |
"CrossBig" |
"CrossSmall" |
"Database" |
"Dots" |
"Download" |
"DragDrop" |
"Dropdown" |
"DropdownUp" |
"Empty" |
"Expand" |
"EyeHide" |
"EyeShow" |
"Feedback" |
"Filter" |
"FilterSimple" |
"Folder" |
"FontBold" |
"FontItalic" |
"FontStrikethrough" |
"FontUnderline" |
"FunctionResult" |
"Help" |
"Home" |
"Idea" |
"Import" |
"ImportArrow" |
"Info" |
"LeftAlign" |
"Lock" |
"Log" |
"Mail" |
"Minus" |
"MobileChat" |
"MobileChat2" |
"NewNotification" |
"Notification" |
"Offline" |
"Page" |
"PanelLeft" |
"PanelRight" |
"Pencil" |
"PinBig" |
"PinSmall" |
"Pivot" |
"Plus" |
"Public" |
"PublicFilled" |
"Redo" |
"Remove" |
"Repl" |
"ResizePanel" |
"RightAlign" |
"Script" |
"Search" |
"Settings" |
"Share" |
"Sort" |
"Tick" |
"TickSolid" |
"Undo" |
"Validation" |
"Video" |
"Warning" |
"Widget" |
"Wrap" |
"Zoom" |
"UseChart" |
"UseEducate" |
"UseFinance" |
"UseHr" |
"UseMedia" |
"UseMonitor" |
"UseOther" |
"UseProduct" |
"UseSales" |
"UseScience";
export const IconList: IconName[] = ["ChartArea",
"ChartBar",
"ChartDonut",
"ChartKaplan",
"ChartLine",
"ChartPie",
"TypeCard",
"TypeCardList",
"TypeCell",
"TypeChart",
"TypeCustom",
"TypeDetails",
"TypeTable",
"FieldAny",
"FieldAttachment",
"FieldCheckbox",
"FieldChoice",
"FieldColumn",
"FieldDate",
"FieldDateTime",
"FieldFunction",
"FieldFunctionEqual",
"FieldInteger",
"FieldLink",
"FieldNumeric",
"FieldReference",
"FieldSpinner",
"FieldSwitcher",
"FieldTable",
"FieldText",
"FieldTextbox",
"FieldToggle",
"LoginStreamline",
"LoginUnify",
"LoginVisualize",
"GoogleLogo",
"GristLogo",
"ThumbPreview",
"BarcodeQR",
"BarcodeQR2",
"CenterAlign",
"Code",
"Collapse",
"Convert",
"Copy",
"CrossBig",
"CrossSmall",
"Database",
"Dots",
"Download",
"DragDrop",
"Dropdown",
"DropdownUp",
"Empty",
"Expand",
"EyeHide",
"EyeShow",
"Feedback",
"Filter",
"FilterSimple",
"Folder",
"FontBold",
"FontItalic",
"FontStrikethrough",
"FontUnderline",
"FunctionResult",
"Help",
"Home",
"Idea",
"Import",
"ImportArrow",
"Info",
"LeftAlign",
"Lock",
"Log",
"Mail",
"Minus",
"MobileChat",
"MobileChat2",
"NewNotification",
"Notification",
"Offline",
"Page",
"PanelLeft",
"PanelRight",
"Pencil",
"PinBig",
"PinSmall",
"Pivot",
"Plus",
"Public",
"PublicFilled",
"Redo",
"Remove",
"Repl",
"ResizePanel",
"RightAlign",
"Script",
"Search",
"Settings",
"Share",
"Sort",
"Tick",
"TickSolid",
"Undo",
"Validation",
"Video",
"Warning",
"Widget",
"Wrap",
"Zoom",
"UseChart",
"UseEducate",
"UseFinance",
"UseHr",
"UseMedia",
"UseMonitor",
"UseOther",
"UseProduct",
"UseSales",
"UseScience"];