* clean up getCarbonImage
* remove createObjectURL change
* bug fixes
* refactor getCarbonImage to use blobs/dataURLs only
* add console.error for copy to clipboard failures
* use blob.type for ClipboardItem
* add TODO
* feat: add 'width' option for Carbon container
* feat: draggable width adjustment
* chore: auto disable widthAdjustment when edge starts dragging
* remove label width default; tweak settings style
* use only right width handler
* use react effects, add a11y role and props
* clean up code
* use clamp fn
* move max and min widths out of state
* give WidthHandler a display name
* tweak variable names
Co-authored-by: Mike Fix <mrfix84@gmail.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* The first preset is always selected(highlighted/cursor “not allowed”). In presets file, selected is based on the value of property preset from the default settings object. All preset objects do not have this property but have id instead, since default settings has property preset, all the presets inherit the same property preset, which is why the first preset was always highlighted. Fixed by replacing key name preset to id in default settings.
* removed id key from default settings
* preset is no longer a key in default settings
Co-authored-by: Michael Fix <mrfix84@gmail.com>
* hook up new cypress project
* add --
* fix flakey test
* try removing duplicate CYPRESS_CI flag
* try this
* and this
* revert
* attempt fix URI encoding issue
* Make the editorRef as a required parameter of useGutterClickHandler
For the external line number selection it is required that we access the CodeMirror editor anywhere in the hook
* Refactor the line highlight logic to handle "unknown" lines as non-selected
Only execute the highlight when there is a valid selection (there are some keys set in state.selected)
Additionally also execute the highlight logic when the line numbers are not visible (E.g. line.gutter is falsy)
* Pass in the selectedLines from the query string and implement the pre-selection logic
* Rename useGutterClickHandler to better explain its function
* Adding nemesv as contributor
* quick tweak
* tweak
* 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
* 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
* 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
* dawnlabs -> carbon-app
* update READMEs
* remove logo from translated readmes
* change project link
* update license
* remove case study link from translated READMEs
* - 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