63 Commits (5c08bee4818af879a0c6b7f3235e7d7b78aa20fd)

Author SHA1 Message Date
Michael Fix 94b30c3c36
A11y improvements (#755)
* improve screen reading for menu values

* clean up Drop down component

* typo
6 years ago
Mike Fix aa52817a39 improve boolean prop for slider 6 years ago
raboid e0a650b021 close settings dialog on font upload 6 years ago
raboid 7560520bbb custom fonts 6 years ago
Sean a1e05af5c0 Custom themes (#632)
* Custom themes

* Fix theme selection

* fixes and add more theme highlights

* Fix remove bug

* change create button hoverBackground

* change id format

* fixes

* remove default highlights, style tweaks

* move consturctor to componentDidMount, create constants

* simplify color picker style api'

* replace notAllowed with disabled

* remove itemWrapperProps from Dropdown

* create itemWrapper class prop

* remove onClose from Dropdown

* fix ColorPicker and font sizes

* increase specificity of selector
6 years ago
Mike Fix 7896e96213 show presets by default 6 years ago
raboid 9d37f9bf99 use HOC for popout state, remove react-addons-shallow-compare 6 years ago
raboid 64cccc1d90 Move Presets into separate file 6 years ago
raboid fdaa990ab2 Remove title prop from Button 6 years ago
raboid 6da617b553 Update Settings to use Popout & Button 6 years ago
Mike Fix b12c3f802c lint and prettier 6 years ago
Jake Dexheimer 231bd39169 minor ux fixes 6 years ago
Jake Dexheimer 0aa1d7404f minor design improvements 6 years ago
Sean Rabaut cd81f056ca Fix menu button alignment in Firefox 6 years ago
Sean 0934186ce9 Fix setting menu movement (#602) 6 years ago
Sean f6f0adee6b Add preset feature (#595)
* Add preset feature without create

* fix lint errors

* Add presets to Editor state

* add remove, update -> apply, omit presets

* replace name with index, add undo functionality

* fix reduce function

* Tweaks:

- Make remove filter setState atomic
- Remove broken sCU in BackgroundSelect
- Touch up style of arrow functions a little
- Remove titleBar from default settings
- Don't expose SETTINGS_KEYS
- Use hasOwnProperty instead of includes()

* refactor preset state into Settings

* move format code into editor and make it work again

* omit custom in applyPreset

* move presets array state into Settings

* keep custom sCU in BackgroundSelect

* pull out inline objects

* revert pages/index

* increase Presets font-size, remove margin-top

* Add ability to create presets

* also enable passing exportSize as prop

* move selectedPreset back into Settings (my bad Sean)

* replace splice with filter, getSavedX -> getX

* Revert "move selectedPreset back into Settings (my bad Sean)"

This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4.

* make sure background updates remove selected preset

* selectedPreset -> preset

* use onChange instead of selectPreset

* use preset id's instead of indexes

* bug fixes

* use disabled instead of pointer-events

* make .settings-presets-applied flex 💪

* make .settings-presets-arrow flex 💪

* move getPresets outside of `setState`

* move inline styles to style tag

* refactor using omitBy and isFunction

* remove lodash.isfunction

* fix applyPreset to disclude preset field

* move omit to getSettingsFromProps

* replace lodash.omit with omitBy solution

* .includes -> .indexOf

* add default preset and presetApplied state

* fix lint error

* remove presetApplied

* add more default presets

* fix default preset functionality

* tweaks

* preserve preset list scrollLeft b/w updates with a hack

* Use ref for preset content

* remove forwardRef
6 years ago
Mike Fix 90a0ead95b move format code into editor and make it work again 6 years ago
Jake Dexheimer 479e3b7bbf minor aesthetic tweaks 6 years ago
Sean eb8341b5bc add setting options back (#589)
* add setting options back

* fix height
6 years ago
Sean 070b7f8aaf New settings menu (#588)
* New settings menu

* remove showPresets

* clean

* use React.memo for pure function components
6 years ago
Sean 38665cc34d Dropdown updates (#585)
* Add dropdown icons

* remove cursor pointer from icons
6 years ago
Sean 68d90364b0 New export menu (#582)
* New export menu

* Fix lint errors
6 years ago
Michael Fix 6ab33153a8
Ability to name file downloads (#562)
* Ability to name file downloads

- Closes #561

* fix codemirror-graphql
6 years ago
Michael Fix 20df18ebec
tune component updates and bump codemirror polling to hit 60 Hz (#493)
* tune componenet updates and bump codemirror polling to hit 60 Hz

* reuse omit
6 years ago
Michael Fix 6c9a09e522
Clean up (#481) (patch)
* clean up things

* introduce toggle fn

* remove constructor from Collapse (ignore)

* prettier (ignore)

* make Collapse a PureComponent (ignore)

* give ExportSizeSelect a display name (ignore)

* give ThemeSelect a display name (ignore)

* Toggle: displayName, PureComponent, remove constructor (ignore)

* Meta and Slider display names (ignore)

* remove ThemeSelect constructor (ignore)

* fix lint-staged, prettier
6 years ago
Michael Fix 0d2f2f4444
Code split and load prettier dynamically (#471)
* code split and load prettier dynamically;

* move prettier to dependencies
6 years ago
Farzad YZ 1747534921 WIP: integration with prettier (#469)
* add basic format with basic parser

* remove format loading

* change formatCode to be sync

* prettier adjustments

* prettier our code

* move prettify into settings menu
6 years ago
erick d0d3589dc4 Add optional timestamp to saved file names (#430)
* Add timestamp to file name save

* Add .DS_Store to .gitignore

* Add setting to toggle timestamp on file save

* Tweak timestamp format
6 years ago
Jake Archibald c4e224df29 Adding line-height setting & granular font size. (#410)
* Adding line-height option. Fixes #406.

* Allowing more granular font size
6 years ago
Michael Fix 5a4cdd7d7f
Lint and fix issues, don't add linting yet though (#293)
* Lint and fix issue, don't add linting yet though

* Clean up

* Remove /about href
7 years ago
Michael Fix a6324586eb Performance improvements (#287)
* Perf improvements. Limit rerender on keystrokes

* Spread settings props, make dropdowns and carbon pure

* Remove last TODO

* Pass state into value of titleBar input

* Clean up
7 years ago
Jake Dexheimer 9499248e1c
Add watermark feature (#274)
* Add watermark feature

* Change watermark to carbon logo

* Fix double borders
7 years ago
Jake Dexheimer 4c86468e50 Rename ResolutionSelect 7 years ago
Takahiko Inayama b7adab9bea Support variable export sizes (#264) 7 years ago
Mark Molnar d044beb977 Feature: Squared Image (#250)
* Added squared images feature

* Moved 'Squared image' to advanced dropdown
7 years ago
Jake Dexheimer e5f4321c9e Increase max vertical padding 7 years ago
Dillon Mulroy 700872c188 Change string casing for menu option to be consistent 7 years ago
Dillon Mulroy 6fa28a0062 Add reset option in advanced options + all contributors addition. 7 years ago
Jake Dexheimer d314b8643b
Consistent borders (#190)
* Use 1px border width

* Fix double border width on collapse element
7 years ago
Mike Fix 9d1f05ad0f Fix Hack default 7 years ago
Jake Dexheimer 38cc0f91af Font support (#149)
* Add font family/font size support

* Load fonts with css

* Change settings item order
7 years ago
Michael Fix ac28311429
Collapsible "Advanced" settings (#148)
* Collapsible "Advanced" settings

* Address comments

* Just center Advanced
7 years ago
Rafael Câmara a4cfaab3a7 Adding drop shadow offset-y and blur-radius menu option (#143)
* Adding drop shadow offset-y and blur-radius menu option

* Fixing @jakedex concerns

* Fixing drop-shadow blur-radius label to fit the pattern
7 years ago
Jake Dexheimer b4e5459432 Update dependencies (#124)
* Upgrade react, react-dom, react-color, next

* Use dynamic styles in Carbon.js

* Fix react-color alpha issues
7 years ago
Jake Dexheimer 96ac36baf5 Fix component state issues 7 years ago
Neto Guimarães e51628ce8d adding support to 'line numbers' settings (#116)
* adding support to 'line numbers' settings

* Update Settings.js
7 years ago
Patryk Jóźwiak ede83bf424 Add width adjustment. (#91) 7 years ago
Jake Dexheimer de11ff034f Add hover styles 7 years ago
Andrew 3cbcb49c27 Remove semicolons 7 years ago
Andrew Dassonville 7e69ca2897 Add prettier 7 years ago