2020-03-27 09:02:11 +00:00
|
|
|
import React, { JSXElementConstructor } from "react";
|
2019-11-25 05:07:27 +00:00
|
|
|
import { IconProps, IconWrapper } from "constants/IconConstants";
|
|
|
|
|
import { ReactComponent as DeleteIcon } from "assets/icons/control/delete.svg";
|
|
|
|
|
import { ReactComponent as MoveIcon } from "assets/icons/control/move.svg";
|
|
|
|
|
import { ReactComponent as EditIcon } from "assets/icons/control/edit.svg";
|
2019-11-21 10:52:49 +00:00
|
|
|
import { ReactComponent as ViewIcon } from "assets/icons/control/view.svg";
|
|
|
|
|
import { ReactComponent as MoreVerticalIcon } from "assets/icons/control/more-vertical.svg";
|
2020-01-24 09:54:40 +00:00
|
|
|
import { ReactComponent as OverflowMenuIcon } from "assets/icons/menu/overflow-menu.svg";
|
2020-02-26 12:44:56 +00:00
|
|
|
import { ReactComponent as JsToggleIcon } from "assets/icons/control/js-toggle.svg";
|
2020-04-15 11:42:11 +00:00
|
|
|
import { ReactComponent as IncreaseIcon } from "assets/icons/control/increase.svg";
|
|
|
|
|
import { ReactComponent as DecreaseIcon } from "assets/icons/control/decrease.svg";
|
|
|
|
|
import { ReactComponent as DraggableIcon } from "assets/icons/control/draggable.svg";
|
2021-07-20 05:18:58 +00:00
|
|
|
import { ReactComponent as CloseCircleIcon } from "assets/icons/control/close-circle.svg";
|
|
|
|
|
import { ReactComponent as AddCircleIcon } from "assets/icons/control/add-circle.svg";
|
2020-05-28 18:10:26 +00:00
|
|
|
import { ReactComponent as HelpIcon } from "assets/icons/control/help.svg";
|
Feature/entity browse (#220)
# New Feature: Entity Explorer
- Entities are actions (apis and queries), datasources, pages, and widgets
- With this new feature, all entities in the application will be available
to view in the new entity explorer sidebar
- All existing application features from the api sidebar, query sidebar, datasource sidebar and pages sidebar
now are avialable on the entity explorer sidebar
- Users are now able to quickly switch to any entity in the application from the entity explorer sidebar.
- Users can also search all entities in the application from the new sidebar. Use cmd + f or ctrl + f to focus on the search input
- Users can rename entities from the new sidebar
- Users can also perform contextual actions on these entities like set a page as home page, copy/move actions, delete entity, etc from the context menu available alongside the entities in the sidebar
- Users can view the properties of the entities in the sidebar, as well as copy bindings to use in the application.
2020-08-10 08:52:45 +00:00
|
|
|
import { ReactComponent as CollapseIcon } from "assets/icons/control/collapse.svg";
|
2020-05-20 11:57:02 +00:00
|
|
|
import { ReactComponent as PickMyLocationSelectedIcon } from "assets/icons/control/pick-location-selected.svg";
|
2020-08-10 11:16:13 +00:00
|
|
|
import { ReactComponent as RemoveIcon } from "assets/icons/control/remove.svg";
|
2020-07-29 09:01:17 +00:00
|
|
|
import { ReactComponent as DragIcon } from "assets/icons/control/drag.svg";
|
2020-08-10 06:45:31 +00:00
|
|
|
import { ReactComponent as SortIcon } from "assets/icons/control/sort-icon.svg";
|
2020-08-18 06:40:11 +00:00
|
|
|
import { ReactComponent as EditWhiteIcon } from "assets/icons/control/edit-white.svg";
|
|
|
|
|
import { ReactComponent as LaunchIcon } from "assets/icons/control/launch.svg";
|
2021-02-16 10:29:08 +00:00
|
|
|
import { ReactComponent as BackIcon } from "assets/icons/control/back.svg";
|
|
|
|
|
import { ReactComponent as DeleteColumnIcon } from "assets/icons/control/delete-column.svg";
|
|
|
|
|
import { ReactComponent as BoldFontIcon } from "assets/icons/control/bold.svg";
|
2021-09-06 07:06:15 +00:00
|
|
|
import { ReactComponent as UnderlineIcon } from "assets/icons/control/underline.svg";
|
2021-02-16 10:29:08 +00:00
|
|
|
import { ReactComponent as ItalicsFontIcon } from "assets/icons/control/italics.svg";
|
|
|
|
|
import { ReactComponent as LeftAlignIcon } from "assets/icons/control/left-align.svg";
|
|
|
|
|
import { ReactComponent as CenterAlignIcon } from "assets/icons/control/center-align.svg";
|
|
|
|
|
import { ReactComponent as RightAlignIcon } from "assets/icons/control/right-align.svg";
|
2022-02-10 19:00:20 +00:00
|
|
|
import { ReactComponent as VerticalAlignRight } from "assets/icons/control/align_right.svg";
|
|
|
|
|
import { ReactComponent as VerticalAlignLeft } from "assets/icons/control/align_left.svg";
|
2021-02-16 10:29:08 +00:00
|
|
|
import { ReactComponent as VerticalAlignBottom } from "assets/icons/control/vertical_align_bottom.svg";
|
|
|
|
|
import { ReactComponent as VerticalAlignCenter } from "assets/icons/control/vertical_align_center.svg";
|
|
|
|
|
import { ReactComponent as VerticalAlignTop } from "assets/icons/control/vertical_align_top.svg";
|
2021-07-08 06:30:19 +00:00
|
|
|
import { ReactComponent as Copy2Icon } from "assets/icons/control/copy2.svg";
|
|
|
|
|
import { ReactComponent as CutIcon } from "assets/icons/control/cut.svg";
|
|
|
|
|
import { ReactComponent as GroupIcon } from "assets/icons/control/group.svg";
|
2021-02-16 10:29:08 +00:00
|
|
|
import { ReactComponent as HeadingOneIcon } from "assets/icons/control/heading_1.svg";
|
|
|
|
|
import { ReactComponent as HeadingTwoIcon } from "assets/icons/control/heading_2.svg";
|
|
|
|
|
import { ReactComponent as HeadingThreeIcon } from "assets/icons/control/heading_3.svg";
|
|
|
|
|
import { ReactComponent as ParagraphIcon } from "assets/icons/control/paragraph.svg";
|
|
|
|
|
import { ReactComponent as ParagraphTwoIcon } from "assets/icons/control/paragraph_2.svg";
|
|
|
|
|
import { ReactComponent as BulletsIcon } from "assets/icons/control/bullets.svg";
|
2021-07-07 09:30:06 +00:00
|
|
|
import { ReactComponent as DividerCapRightIcon } from "assets/icons/control/divider_cap_right.svg";
|
|
|
|
|
import { ReactComponent as DividerCapLeftIcon } from "assets/icons/control/divider_cap_left.svg";
|
|
|
|
|
import { ReactComponent as DividerCapAllIcon } from "assets/icons/control/divider_cap_all.svg";
|
2021-07-26 16:44:10 +00:00
|
|
|
import { ReactComponent as TrendingFlat } from "assets/icons/ads/trending-flat.svg";
|
2021-07-13 08:05:09 +00:00
|
|
|
import { ReactComponent as AlignLeftIcon } from "assets/icons/control/align_left.svg";
|
|
|
|
|
import { ReactComponent as AlignRightIcon } from "assets/icons/control/align_right.svg";
|
2021-08-05 11:16:26 +00:00
|
|
|
import { ReactComponent as BorderRadiusSharpIcon } from "assets/icons/control/border-radius-sharp.svg";
|
|
|
|
|
import { ReactComponent as BorderRadiusRoundedIcon } from "assets/icons/control/border-radius-rounded.svg";
|
|
|
|
|
import { ReactComponent as BorderRadiusCircleIcon } from "assets/icons/control/border-radius-circle.svg";
|
|
|
|
|
import { ReactComponent as BoxShadowNoneIcon } from "assets/icons/control/box-shadow-none.svg";
|
|
|
|
|
import { ReactComponent as BoxShadowVariant1Icon } from "assets/icons/control/box-shadow-variant1.svg";
|
|
|
|
|
import { ReactComponent as BoxShadowVariant2Icon } from "assets/icons/control/box-shadow-variant2.svg";
|
|
|
|
|
import { ReactComponent as BoxShadowVariant3Icon } from "assets/icons/control/box-shadow-variant3.svg";
|
|
|
|
|
import { ReactComponent as BoxShadowVariant4Icon } from "assets/icons/control/box-shadow-variant4.svg";
|
|
|
|
|
import { ReactComponent as BoxShadowVariant5Icon } from "assets/icons/control/box-shadow-variant5.svg";
|
2022-01-29 07:26:19 +00:00
|
|
|
import IncreaseV2Icon from "remixicon-react/AddLineIcon";
|
2020-07-03 07:12:28 +00:00
|
|
|
import PlayIcon from "assets/icons/control/play-icon.png";
|
2021-10-04 15:34:37 +00:00
|
|
|
import CopyIcon from "remixicon-react/FileCopyLineIcon";
|
|
|
|
|
import QuestionIcon from "remixicon-react/QuestionLineIcon";
|
|
|
|
|
import SettingsIcon from "remixicon-react/Settings5LineIcon";
|
|
|
|
|
import EyeIcon from "remixicon-react/EyeLineIcon";
|
|
|
|
|
import EyeOffIcon from "remixicon-react/EyeOffLineIcon";
|
|
|
|
|
import CloseIcon from "remixicon-react/CloseLineIcon";
|
2020-06-10 17:31:20 +00:00
|
|
|
|
2019-09-30 20:04:03 +00:00
|
|
|
/* eslint-disable react/display-name */
|
|
|
|
|
|
|
|
|
|
export const ControlIcons: {
|
2020-03-27 09:02:11 +00:00
|
|
|
[id: string]: JSXElementConstructor<IconProps>;
|
2019-09-30 20:04:03 +00:00
|
|
|
} = {
|
|
|
|
|
DELETE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<DeleteIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
MOVE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<MoveIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2019-10-21 11:40:24 +00:00
|
|
|
EDIT_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<EditIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2019-11-07 04:59:40 +00:00
|
|
|
VIEW_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<ViewIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2019-11-21 10:52:49 +00:00
|
|
|
MORE_VERTICAL_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<MoreVerticalIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-01-24 09:54:40 +00:00
|
|
|
MORE_HORIZONTAL_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<OverflowMenuIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-02-26 12:44:56 +00:00
|
|
|
JS_TOGGLE: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<JsToggleIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-04-15 11:42:11 +00:00
|
|
|
INCREASE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<IncreaseIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
DECREASE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<DecreaseIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
DRAGGABLE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<DraggableIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-03-27 09:02:11 +00:00
|
|
|
CLOSE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<CloseIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-07-20 05:18:58 +00:00
|
|
|
CLOSE_CIRCLE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<CloseCircleIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
ADD_CIRCLE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<AddCircleIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-05-20 11:57:02 +00:00
|
|
|
PICK_MY_LOCATION_SELECTED_CONTROL: (props: IconProps) => (
|
2020-04-15 11:42:11 +00:00
|
|
|
<IconWrapper {...props}>
|
2020-05-20 11:57:02 +00:00
|
|
|
<PickMyLocationSelectedIcon />
|
2020-04-15 11:42:11 +00:00
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-06-10 17:31:20 +00:00
|
|
|
SETTINGS_CONTROL: (props: IconProps) => (
|
2020-05-22 11:03:35 +00:00
|
|
|
<IconWrapper {...props}>
|
2020-06-10 17:31:20 +00:00
|
|
|
<SettingsIcon />
|
2020-05-22 11:03:35 +00:00
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-05-28 18:10:26 +00:00
|
|
|
HELP_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<HelpIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-07-03 07:12:28 +00:00
|
|
|
PLAY_VIDEO: (props: IconProps) => (
|
2020-06-22 13:46:19 +00:00
|
|
|
<IconWrapper {...props}>
|
2020-07-03 07:12:28 +00:00
|
|
|
<img
|
2021-04-28 10:28:39 +00:00
|
|
|
alt="Datasource"
|
2020-07-03 07:12:28 +00:00
|
|
|
src={PlayIcon}
|
|
|
|
|
style={{ height: "30px", width: "30px" }}
|
|
|
|
|
/>
|
2020-06-22 13:46:19 +00:00
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-08-10 11:16:13 +00:00
|
|
|
REMOVE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<RemoveIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-07-29 09:01:17 +00:00
|
|
|
DRAG_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<DragIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
Feature/entity browse (#220)
# New Feature: Entity Explorer
- Entities are actions (apis and queries), datasources, pages, and widgets
- With this new feature, all entities in the application will be available
to view in the new entity explorer sidebar
- All existing application features from the api sidebar, query sidebar, datasource sidebar and pages sidebar
now are avialable on the entity explorer sidebar
- Users are now able to quickly switch to any entity in the application from the entity explorer sidebar.
- Users can also search all entities in the application from the new sidebar. Use cmd + f or ctrl + f to focus on the search input
- Users can rename entities from the new sidebar
- Users can also perform contextual actions on these entities like set a page as home page, copy/move actions, delete entity, etc from the context menu available alongside the entities in the sidebar
- Users can view the properties of the entities in the sidebar, as well as copy bindings to use in the application.
2020-08-10 08:52:45 +00:00
|
|
|
COLLAPSE_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<CollapseIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-08-10 06:45:31 +00:00
|
|
|
SORT_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<SortIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-08-18 06:40:11 +00:00
|
|
|
EDIT_WHITE: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<EditWhiteIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
LAUNCH_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<LaunchIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-02-16 10:29:08 +00:00
|
|
|
BACK_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BackIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
SHOW_COLUMN: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
2021-10-04 15:34:37 +00:00
|
|
|
<EyeIcon />
|
2021-02-16 10:29:08 +00:00
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
HIDE_COLUMN: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
2021-10-04 15:34:37 +00:00
|
|
|
<EyeOffIcon />
|
2021-02-16 10:29:08 +00:00
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
DELETE_COLUMN: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<DeleteColumnIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BOLD_FONT: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BoldFontIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-09-06 07:06:15 +00:00
|
|
|
UNDERLINE: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<UnderlineIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-02-16 10:29:08 +00:00
|
|
|
ITALICS_FONT: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<ItalicsFontIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
LEFT_ALIGN: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<LeftAlignIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
CENTER_ALIGN: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<CenterAlignIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
RIGHT_ALIGN: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<RightAlignIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2022-02-10 19:00:20 +00:00
|
|
|
VERTICAL_RIGHT: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<VerticalAlignRight />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
VERTICAL_LEFT: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<VerticalAlignLeft />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-02-16 10:29:08 +00:00
|
|
|
VERTICAL_TOP: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<VerticalAlignTop />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
VERTICAL_CENTER: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<VerticalAlignCenter />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
VERTICAL_BOTTOM: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<VerticalAlignBottom />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2020-09-16 10:28:01 +00:00
|
|
|
COPY_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<CopyIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-07-08 06:30:19 +00:00
|
|
|
COPY2_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<Copy2Icon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
CUT_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<CutIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
GROUP_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<GroupIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-02-16 10:29:08 +00:00
|
|
|
HEADING_ONE: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<HeadingOneIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
HEADING_TWO: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<HeadingTwoIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
HEADING_THREE: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<HeadingThreeIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
PARAGRAPH: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<ParagraphIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
PARAGRAPH_TWO: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<ParagraphTwoIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BULLETS: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BulletsIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-07-07 09:30:06 +00:00
|
|
|
DIVIDER_CAP_RIGHT: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<DividerCapRightIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
DIVIDER_CAP_LEFT: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<DividerCapLeftIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
DIVIDER_CAP_ALL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<DividerCapAllIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-07-26 16:44:10 +00:00
|
|
|
BIND_DATA_CONTROL: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<TrendingFlat />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-07-13 08:05:09 +00:00
|
|
|
ICON_ALIGN_LEFT: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<AlignLeftIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
ICON_ALIGN_RIGHT: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<AlignRightIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-08-05 11:16:26 +00:00
|
|
|
BORDER_RADIUS_SHARP: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BorderRadiusSharpIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BORDER_RADIUS_ROUNDED: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BorderRadiusRoundedIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BORDER_RADIUS_CIRCLE: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BorderRadiusCircleIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BOX_SHADOW_NONE: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BoxShadowNoneIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BOX_SHADOW_VARIANT1: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BoxShadowVariant1Icon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BOX_SHADOW_VARIANT2: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BoxShadowVariant2Icon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BOX_SHADOW_VARIANT3: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BoxShadowVariant3Icon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BOX_SHADOW_VARIANT4: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BoxShadowVariant4Icon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
BOX_SHADOW_VARIANT5: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<BoxShadowVariant5Icon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2021-10-04 15:34:37 +00:00
|
|
|
INCREASE_CONTROL_V2: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<IncreaseV2Icon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
QUESTION: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<QuestionIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
2019-09-30 20:04:03 +00:00
|
|
|
};
|
2019-11-21 10:52:49 +00:00
|
|
|
|
|
|
|
|
export type ControlIconName = keyof typeof ControlIcons;
|