Jeff Avallone
d88defcc65
Moving logic to generate SVG and PNG blobs to SVG/Image
...
This is to avoid reaching into the Image component to access the SVG ref
2018-05-28 12:47:49 -04:00
Jeff Avallone
3916d63f2d
Switching to use forwardRef
2018-05-28 12:28:08 -04:00
Jeff Avallone
f0062c94be
Switching to use React.createRef
2018-03-31 11:44:26 -04:00
Jeff Avallone
9c9d3141e9
Removing unnecessary code
2018-02-25 11:49:29 -05:00
Jeff Avallone
18bd368525
Removing return
from reflow implementations
...
I don't think it will be necessary to wait for components to complete
re-rendering before moving on with the reflow process. Parent components
only depend on the bounding box and that is determined immediately when
reflow is called
2018-02-25 11:47:57 -05:00
Jeff Avallone
33a473734b
Updating tests to cover an edge case
2018-02-20 20:25:06 -05:00
Jeff Avallone
ef33cdab04
Adding tests for Path#arcTo
2018-02-18 16:03:46 -05:00
Jeff Avallone
d6cdad7ec3
Adding tests for Path#quadraticCurveTo
2018-02-18 16:01:24 -05:00
Jeff Avallone
354b65b623
Adding tests for cubicCurveTo
2018-02-18 15:58:23 -05:00
Jeff Avallone
9716e166df
Adding test for Path#closePath
2018-02-18 15:52:40 -05:00
Jeff Avallone
45b652d9af
Adding tests for Path#moveTo
2018-02-18 15:49:20 -05:00
Jeff Avallone
bb37848265
Adding specs and some refactoring for the Path#lineTo method
2018-02-18 15:49:03 -05:00
Jeff Avallone
381df8bf93
Adding tests for root SVG component
2018-02-18 11:49:09 -05:00
Jeff Avallone
6e8d7c297a
Moving to using a decorator mixin instead of base class for SVGs
2018-02-17 16:58:49 -05:00
Jeff Avallone
44e6dae289
Simplifying "pre-reflow" logic
2018-02-17 16:28:46 -05:00
Jeff Avallone
1f9ba28099
Removing an unused property
2018-02-17 16:27:18 -05:00
Jeff Avallone
6c4972e726
Updating how initial state is set
2018-02-17 16:14:59 -05:00
Jeff Avallone
13dc496a02
Some optimization of immutable object use
2018-02-17 16:13:19 -05:00
Jeff Avallone
6ff9145603
Adding tests for SVG components
...
Jest/enzyme/jsdom is kicking out some nastly looking messages because it
doesn't recognize various SVG elements, but they appear to be harmless.
2018-02-17 13:04:19 -05:00
Jeff Avallone
19d34a4d9e
Adding extraneous PropType
2018-02-17 12:50:27 -05:00
Jeff Avallone
f364673388
Adding promisified setState and simplfying reflow code for SVG stuff
2018-02-17 12:06:35 -05:00
Jeff Avallone
e04e4edc1f
Renaming type
property to theme
2018-02-17 11:23:20 -05:00
Jeff Avallone
3ead0c13df
Refactoring rendering root to be a component
2018-02-17 11:16:05 -05:00
Jeff Avallone
dea6d92272
Reorganizing the rendering flow
2018-02-17 10:45:03 -05:00
Jeff Avallone
2a0e0149fd
Toning down borders on literal and escape boxes
2018-02-17 10:26:01 -05:00
Jeff Avallone
c047dab5a4
Adding style for anchor elements
2018-02-17 06:24:50 -05:00
Jeff Avallone
06a90429ff
Getting Download links working
2018-02-16 22:47:53 -05:00
Jeff Avallone
6bc4306ca3
Fleshing out expample render and cleaning up some SVG code
2018-02-16 21:48:01 -05:00
Jeff Avallone
82b780e9c3
First cut of SVG rendering components
...
These still need work, but they're functional enough to render a diagram
2018-02-16 19:16:30 -05:00