217 Commits (15710e8ab6cc57233225c10e675222aeb7c42c5f)

Author SHA1 Message Date
Mike Fix 15710e8ab6 debounce carbon duplication 5 years ago
Michael Fix e0ed4bebdc Merge in 4.0.0 (#850)
* merge in 4.0

* dev mode with firebase impl

* useReducer for toasts state
5 years ago
Andrew Dassonville 830442c64a Add support for first line number setting (#849)
* Add support for first line number setting

* Set min value to 0

* Add number types

* add label and width settings to Input

* use Input component instead of Text

* remove unused types

* first-row -> first-line-number-row

* more .row into global stylesheet
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
Michael Fix 552a9c99be
Store Unsplash background image not dataturl (#836)
* store background image, not background selection in presets

* move localStorage into save utils

* curry omit util fn

* clean up manual image upload by URL

* refactor image changes

* separate uploadImage from selectImage

* upgrade visual regression testing tests

* add TODOs
5 years ago
Michael Fix 4ec70a2bf6
Repository changes from org change (#840)
* dawnlabs -> carbon-app

* update READMEs

* remove logo from translated readmes

* change project link

* update license

* remove case study link from translated READMEs
5 years ago
Mike Fix 53405a4c99 clean up language list 5 years ago
RohitMidha23 039523d0ac Added: XQuery (#779) 5 years ago
Michael Fix a49647e128
Solidity language (#788)
* WIP: solidity, doesn't work though

* codemirror-solidity 0.1.4
5 years ago
Michael Fix 942f21e7db
Refactor mode loading into Carbon (#825)
* refactor mode loading into Carbon

* made alreadyLoaded Set a static property
5 years ago
Mike Fix d60e556b5b prevent URL length limit errors
Closes #829
5 years ago
Mike Fix 6e46b1c23b remove lib/modes 5 years ago
Michael Fix ddc611a6f9 Refactor preset state (#822)
* refactor preset state

* remove unnecessary constant
5 years ago
Adam Lusted b84474652c Added SynthWave '84 theme + Text Shadows (#810)
* - Added ability to set optional `text-shadows` on themes.
- Extended `THEMES` to include optional `shadows` setting.
- Added SynthWave '84 theme. See https://github.com/robb0wen/synthwave-vscode

* - Changed ID of `SynthWave-84` theme to `synthwave-84`
- Added synthwave-84 to LOCAL_STYLESHEETS
- Migrated SynthWave-84 theme to `static/themes/synthwave-84.css`
- reverted a few things from 3f9daaf9ecee4561f9fad1bbdb8f38fd58a631c6
  - Reverted global text-shadows
  - Reverted constants.js/themes model changes.

* Update Meta.js
5 years ago
Tim Neutkens 7fdda47816 Add autoExport (#782)
* Add autoExport

* Upgrade Next.js

* Upgrade Next.js

* export service worker to /public

* fix service worker build - file exported to /public (unwanted)

* next next@canary

* try to fix SW

* try to fix SW

* add back _next routing for now

* try a mix of configs

* Fix service-worker serving

* Remove _next route

* Next 9

* move stuff back into /static

* fix service-worker

* don't use canary next builds

* static/banner.png -> static/brand/banner.png

* remove now-build script
5 years ago
Michael Fix 22a0f9f2c1 Import/export config (#771)
* import export config

* allow rendering button as link

* pass all props to button component

* fix invalid JSON path

* prevent dragging download URL

* address concerns
6 years ago
Mike Fix 02be1f6efe babylon -> babel 6 years ago
Nato Boram b757687802 Add VSCode's theme (#769)
* add vscode theme

* pin Next.js version

* remove highlight only css fetches
6 years ago
Mike Fix 4e1b6259e6 add shortname for jsx 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 fc715faf0d Update constants.js 6 years ago
Ahmad Awais ⚡️ f5ab1f0f1a 👌 IMPROVE: Operator vs Keyword colors 6 years ago
Ahmad Awais ⚡️ 5ac1971d9f 🐛 FIX: White color 6 years ago
Ahmad Awais ⚡️ 40ad13cc60 📦 NEW: Shades of Purple Theme 6 years ago
Mike Fix 1994c820ea fix light theme in Carbon by introducing getTheme 6 years ago
Michael Fix c56919cab3 Simplify routing code (#729)
* simplify routing code

* fix en/decode mapping logic
6 years ago
raboid 4dea566193 rework logic 6 years ago
raboid e02bbc4832 address comments 6 years ago
raboid 2ae529e404 support theme highlights in query string 6 years ago
Mike Fix 9621e4b64a allow console.error in eslint 6 years ago
Sean d4d0ef9949 update gist handling (#715)
* update gist handling

* address comments

* clean up a bit

* getRouteState(router)

* move try/catch into getGist

* updateQueryString -> updateRouteState

* clean up more

* add cypress tests

* delete comments

* remove wait
6 years ago
Mike Fix fa9fa15ea5 add gherkin 6 years ago
Michael Fix b5ae198312
Fix Medium embedding workflow (#707)
* fix url encoding to support direct pastes to medium

* move check for object keys length to getQueryStringState

* remove url parse from GistContainer

* use useMemo instead of memo

* remove decode()

* add copy URL button to export menu
6 years ago
Michael Fix 9077260a3e
Read config from gist (optional) (#692)
* read config from gist

* Update api.js
6 years ago
Michael Fix 223bccd6b1
read all api calls from context (#691) 6 years ago
Jalen Davenport b05108220b Added Twig language support (#686) 6 years ago
Mike Fix f653d73ccd make config simpler 6 years ago
Mike Fix 3115b3cc28 fix debounce for tweet and image api calls 6 years ago
Matthew Nielsen 9b885c6fd9 Added language support for RISC-V (#655)
* added language support for RISC-V

* added optional instruction set extensions for RISC-V
6 years ago
Mike Fix 008ba67eac remove old TODOs 6 years ago
Mike Fix 8100090b17 revert dynamic Codemirror mode import
- Closes #653
6 years ago
Michael Fix 80122adea6
Use dynamic import components (#642)
* use dynamic import components

 - react-color components
 - Watermark

* Dynamically import modes

* revert next.config.js

* update language filter
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 f45d133d3c remove verifyPayloadSize from util 6 years ago
Mike Fix dbde17a65f reduce imports and exports 6 years ago
raboid 3aec3ebc28 Conditionally disable PNG export for Safari 6 years ago
Mike Fix 642749a701 use escape-goat 6 years ago
raboid e5b3d39d4e Update ExportMenu to use Popout, Button, Input 6 years ago
raboid 583e4ece73 Update BackgroundSelect to use Popout & ColorPicker 6 years ago
Mike Fix 59b77c7b2f add mime to Go
Closes #608
6 years ago