From bfb3948244bcb50c23ac4c584b1f3e1aae17633a Mon Sep 17 00:00:00 2001 From: DD Date: Wed, 18 Apr 2018 15:02:37 -0400 Subject: [PATCH] Add coming soon tooltips to other tools --- .../bit-eraser-mode/bit-eraser-mode.jsx | 27 +++++++++++++++++++ src/components/bit-eraser-mode/eraser.svg | 10 +++++++ .../bit-fill-mode/bit-fill-mode.jsx | 27 +++++++++++++++++++ src/components/bit-fill-mode/fill.svg | 10 +++++++ .../bit-line-mode/bit-line-mode.jsx | 27 +++++++++++++++++++ src/components/bit-line-mode/line.svg | 10 +++++++ .../bit-oval-mode/bit-oval-mode.jsx | 27 +++++++++++++++++++ src/components/bit-oval-mode/oval.svg | 10 +++++++ .../bit-rect-mode/bit-rect-mode.jsx | 27 +++++++++++++++++++ src/components/bit-rect-mode/rectangle.svg | 10 +++++++ .../bit-select-mode/bit-select-mode.jsx | 27 +++++++++++++++++++ src/components/bit-select-mode/marquee.svg | 10 +++++++ .../bit-text-mode/bit-text-mode.jsx | 27 +++++++++++++++++++ src/components/bit-text-mode/text.svg | 10 +++++++ src/components/paint-editor/paint-editor.jsx | 14 ++++++++++ 15 files changed, 273 insertions(+) create mode 100644 src/components/bit-eraser-mode/bit-eraser-mode.jsx create mode 100644 src/components/bit-eraser-mode/eraser.svg create mode 100644 src/components/bit-fill-mode/bit-fill-mode.jsx create mode 100644 src/components/bit-fill-mode/fill.svg create mode 100644 src/components/bit-line-mode/bit-line-mode.jsx create mode 100644 src/components/bit-line-mode/line.svg create mode 100644 src/components/bit-oval-mode/bit-oval-mode.jsx create mode 100644 src/components/bit-oval-mode/oval.svg create mode 100644 src/components/bit-rect-mode/bit-rect-mode.jsx create mode 100644 src/components/bit-rect-mode/rectangle.svg create mode 100644 src/components/bit-select-mode/bit-select-mode.jsx create mode 100644 src/components/bit-select-mode/marquee.svg create mode 100644 src/components/bit-text-mode/bit-text-mode.jsx create mode 100644 src/components/bit-text-mode/text.svg diff --git a/src/components/bit-eraser-mode/bit-eraser-mode.jsx b/src/components/bit-eraser-mode/bit-eraser-mode.jsx new file mode 100644 index 00000000..ef367fff --- /dev/null +++ b/src/components/bit-eraser-mode/bit-eraser-mode.jsx @@ -0,0 +1,27 @@ +import React from 'react'; + +import {ComingSoonTooltip} from '../coming-soon/coming-soon.jsx'; +import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx'; + +import eraserIcon from './eraser.svg'; + +const BitEraserComponent = () => ( + + + +); + +export default BitEraserComponent; diff --git a/src/components/bit-eraser-mode/eraser.svg b/src/components/bit-eraser-mode/eraser.svg new file mode 100644 index 00000000..ac4299ce --- /dev/null +++ b/src/components/bit-eraser-mode/eraser.svg @@ -0,0 +1,10 @@ + + + + eraser + Created with Sketch. + + + + + \ No newline at end of file diff --git a/src/components/bit-fill-mode/bit-fill-mode.jsx b/src/components/bit-fill-mode/bit-fill-mode.jsx new file mode 100644 index 00000000..0f7bd3bf --- /dev/null +++ b/src/components/bit-fill-mode/bit-fill-mode.jsx @@ -0,0 +1,27 @@ +import React from 'react'; + +import {ComingSoonTooltip} from '../coming-soon/coming-soon.jsx'; +import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx'; + +import fillIcon from './fill.svg'; + +const BitFillComponent = () => ( + + + +); + +export default BitFillComponent; diff --git a/src/components/bit-fill-mode/fill.svg b/src/components/bit-fill-mode/fill.svg new file mode 100644 index 00000000..73ceb17a --- /dev/null +++ b/src/components/bit-fill-mode/fill.svg @@ -0,0 +1,10 @@ + + + + fill + Created with Sketch. + + + + + \ No newline at end of file diff --git a/src/components/bit-line-mode/bit-line-mode.jsx b/src/components/bit-line-mode/bit-line-mode.jsx new file mode 100644 index 00000000..57921fba --- /dev/null +++ b/src/components/bit-line-mode/bit-line-mode.jsx @@ -0,0 +1,27 @@ +import React from 'react'; + +import {ComingSoonTooltip} from '../coming-soon/coming-soon.jsx'; +import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx'; + +import lineIcon from './line.svg'; + +const BitLineComponent = () => ( + + + +); + +export default BitLineComponent; diff --git a/src/components/bit-line-mode/line.svg b/src/components/bit-line-mode/line.svg new file mode 100644 index 00000000..99d261ad --- /dev/null +++ b/src/components/bit-line-mode/line.svg @@ -0,0 +1,10 @@ + + + + line + Created with Sketch. + + + + + \ No newline at end of file diff --git a/src/components/bit-oval-mode/bit-oval-mode.jsx b/src/components/bit-oval-mode/bit-oval-mode.jsx new file mode 100644 index 00000000..958c6cef --- /dev/null +++ b/src/components/bit-oval-mode/bit-oval-mode.jsx @@ -0,0 +1,27 @@ +import React from 'react'; + +import {ComingSoonTooltip} from '../coming-soon/coming-soon.jsx'; +import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx'; + +import ovalIcon from './oval.svg'; + +const BitOvalComponent = () => ( + + + +); + +export default BitOvalComponent; diff --git a/src/components/bit-oval-mode/oval.svg b/src/components/bit-oval-mode/oval.svg new file mode 100644 index 00000000..589318a2 --- /dev/null +++ b/src/components/bit-oval-mode/oval.svg @@ -0,0 +1,10 @@ + + + + oval + Created with Sketch. + + + + + \ No newline at end of file diff --git a/src/components/bit-rect-mode/bit-rect-mode.jsx b/src/components/bit-rect-mode/bit-rect-mode.jsx new file mode 100644 index 00000000..42c58c33 --- /dev/null +++ b/src/components/bit-rect-mode/bit-rect-mode.jsx @@ -0,0 +1,27 @@ +import React from 'react'; + +import {ComingSoonTooltip} from '../coming-soon/coming-soon.jsx'; +import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx'; + +import rectIcon from './rectangle.svg'; + +const BitRectComponent = () => ( + + + +); + +export default BitRectComponent; diff --git a/src/components/bit-rect-mode/rectangle.svg b/src/components/bit-rect-mode/rectangle.svg new file mode 100644 index 00000000..c62801c3 --- /dev/null +++ b/src/components/bit-rect-mode/rectangle.svg @@ -0,0 +1,10 @@ + + + + rectange + Created with Sketch. + + + + + \ No newline at end of file diff --git a/src/components/bit-select-mode/bit-select-mode.jsx b/src/components/bit-select-mode/bit-select-mode.jsx new file mode 100644 index 00000000..96db583b --- /dev/null +++ b/src/components/bit-select-mode/bit-select-mode.jsx @@ -0,0 +1,27 @@ +import React from 'react'; + +import {ComingSoonTooltip} from '../coming-soon/coming-soon.jsx'; +import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx'; + +import selectIcon from './marquee.svg'; + +const BitSelectComponent = () => ( + + + +); + +export default BitSelectComponent; diff --git a/src/components/bit-select-mode/marquee.svg b/src/components/bit-select-mode/marquee.svg new file mode 100644 index 00000000..ff7d2e2c --- /dev/null +++ b/src/components/bit-select-mode/marquee.svg @@ -0,0 +1,10 @@ + + + + marquee + Created with Sketch. + + + + + \ No newline at end of file diff --git a/src/components/bit-text-mode/bit-text-mode.jsx b/src/components/bit-text-mode/bit-text-mode.jsx new file mode 100644 index 00000000..4e129ca7 --- /dev/null +++ b/src/components/bit-text-mode/bit-text-mode.jsx @@ -0,0 +1,27 @@ +import React from 'react'; + +import {ComingSoonTooltip} from '../coming-soon/coming-soon.jsx'; +import ToolSelectComponent from '../tool-select-base/tool-select-base.jsx'; + +import textIcon from './text.svg'; + +const BitTextComponent = () => ( + + + +); + +export default BitTextComponent; diff --git a/src/components/bit-text-mode/text.svg b/src/components/bit-text-mode/text.svg new file mode 100644 index 00000000..b0076f4e --- /dev/null +++ b/src/components/bit-text-mode/text.svg @@ -0,0 +1,10 @@ + + + + text + Created with Sketch. + + + + + \ No newline at end of file diff --git a/src/components/paint-editor/paint-editor.jsx b/src/components/paint-editor/paint-editor.jsx index 5504d6aa..eb715312 100644 --- a/src/components/paint-editor/paint-editor.jsx +++ b/src/components/paint-editor/paint-editor.jsx @@ -11,6 +11,13 @@ import {shouldShowGroup, shouldShowUngroup} from '../../helper/group'; import {shouldShowBringForward, shouldShowSendBackward} from '../../helper/order'; import BitBrushMode from '../../containers/bit-brush-mode.jsx'; +import BitLineMode from '../../components/bit-line-mode/bit-line-mode.jsx'; +import BitOvalMode from '../../components/bit-oval-mode/bit-oval-mode.jsx'; +import BitRectMode from '../../components/bit-rect-mode/bit-rect-mode.jsx'; +import BitTextMode from '../../components/bit-text-mode/bit-text-mode.jsx'; +import BitFillMode from '../../components/bit-fill-mode/bit-fill-mode.jsx'; +import BitEraserMode from '../../components/bit-eraser-mode/bit-eraser-mode.jsx'; +import BitSelectMode from '../../components/bit-select-mode/bit-select-mode.jsx'; import Box from '../box/box.jsx'; import Button from '../button/button.jsx'; import ButtonGroup from '../button-group/button-group.jsx'; @@ -403,6 +410,13 @@ const PaintEditorComponent = props => { + + + + + + + ) : null}