36 Commits (ecd8e631b7f2ee8ea8d5fee6a9634c844b929669)

Author SHA1 Message Date
Michael Fix ae9b4445f1
run prettier with new config (#983)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Michael Fix 1090356c05 improve background select (#873) 5 years ago
Mike Fix 43c00407f3 remove capitalize util 5 years ago
Mike Fix 1f1dbade1d add color palette generation frontend (beta) 5 years ago
Michael Fix ecaf48b30c
Bundle size (#844)
* just load SketchPicker

* remove colornames package

* load other highlight.js modes lazily

* add bundle analyzer hook

* only load modes once per session

* fix up modes loaded

* fix up
5 years ago
Megha Sachdev 75493ee557 Introducing Applitools (#762)
* Applitools (#1)

* Adding applitools

* adding data attributes for testing

* add applitools key
6 years ago
Michael Fix a13af0a1b7
Fix travis build 🤞 (#759)
* fix travis build

* fix broken build due to incorrect background picker className
6 years ago
Michael Fix 94b30c3c36
A11y improvements (#755)
* improve screen reading for menu values

* clean up Drop down component

* typo
6 years ago
Mike Fix 0d816433a3 more navigation cue improvements 6 years ago
Mike Fix f7a73b568a improve keyboard navigation with escape to close 6 years ago
Mike Fix 1a2bb3f6d7 improve menu bar tab-navigating 6 years ago
greenkeeper[bot] 31569fa164 Update escape-goat to the latest version 🚀 (#735)
* fix(package): update escape-goat to version 2.0.0

* chore(package): update lockfile yarn.lock

* fix naming for escape-goat

* use colornames packages
6 years ago
Michael Fix afa63c3653
remove mutation observer (#723) 6 years ago
Mike Fix de9574ef7c Accessability improvements 6 years ago
Mike Fix 642749a701 use escape-goat 6 years ago
Mike Fix cc45569b6c remove old mounted state from BackgroundSelect 6 years ago
Mike Fix 469890df68 add pop id prop to fix integration tests 6 years ago
raboid 9d37f9bf99 use HOC for popout state, remove react-addons-shallow-compare 6 years ago
raboid 583e4ece73 Update BackgroundSelect to use Popout & ColorPicker 6 years ago
Jake Dexheimer 231bd39169 minor ux fixes 6 years ago
Mike Fix b5a1052b40 remove unused utils, move specific utils into component files 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
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
Mike Fix 44356be373 make BackgroundSelect extend Component not Pure w/ custom update 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
greenkeeper[bot] 6368833e16 Update next to the latest version 🚀 (#367)
* fix(package): update next to version 6.0.3

* Fix 'this' in <style jsx> bug

* Better variables
7 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
Mike Fix c7e39c5e36 Fix url() by only rendering SketchPicker browser side 7 years ago
Michael Fix 3d4ba85732
Sanitize color inputs (#196)
* Sanitize color inputs

* Remove unneeded dep

* Move to constants

* Case insensative
7 years ago
Mike Fix ba7da58f2b Fix potential background issue 7 years ago
Mike Fix b44ecff6ea XSS 7 years ago
Jake Dexheimer d314b8643b
Consistent borders (#190)
* Use 1px border width

* Fix double border width on collapse element
7 years ago
Jake Dexheimer cbc6824b83 Background image settings (#169)
* Implement drag-n-drop image for backgrounds

- Closes #122

* In progress

* Add background-size, background-position settings

* Add ReactCrop

* Remove old bg sizing sliders

* Add resize observer

* Fix typo

* Disable select on sliders

* onAspectRatioChange hook

* Rename to backgroundColor

* Fix state issues

* Add backgroundMode toggle

* Rename ColorPicker

* Add upload-image margin

* Minor font-size change

* Fix build
7 years ago