124 Commits (5e55402c325a4c9b5bee68c32be343006b113e03)

Author SHA1 Message Date
Mike Fix 3ed6405811 remove selection capabilities from embed 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
Mike Fix 27cd3aefe7 fix editor selection state and improve click outside 5 years ago
Mike Fix e180b9de8b improve highlight positioning 5 years ago
Mike Fix 7f8381c627 noop 5 years ago
Mike Fix 3ad106cd20 refactor onSelectionChange to class scope 5 years ago
Mike Fix 37debfdbad refactor onMouseUp to class scope 5 years ago
Mike Fix fc988fefba modifierOpenAt -> selectionAt 5 years ago
Mike Fix 20b56e9957 refactor onSelection to class scope 5 years ago
Mike Fix c6ce1662b2 pos -> position 5 years ago
Mike Fix d42b0ec65b refactor SelectionEditor into own file 5 years ago
Mike Fix 869ca859e2 bold, italics, underline, color work 5 years ago
Mike Fix a91d2f2307 More WIP 5 years ago
Mike Fix cdaee55f0d WIP 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 8b5d766d1e improve searchLanguage 5 years ago
Mike Fix d43c5766cf use useCallback for useGutterClickHandler 5 years ago
Mike Fix 7510dcb5ea refactor onGutterClick to remove editorRef 5 years ago
Mike Fix 348ee2050d use useReducer for selected lines 5 years ago
Mike Fix 55e01231d9 move mode loading into useEffect 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
Michael Fix 795311f307
Refactor selected lines to read from React state (#833)
* holding opacities in state works

* refactor to use functional set state

* clean up onGutterClick code #1

* clean up onGutterClick code #2

* clean

* use regular effect

* return forward ref directly
5 years ago
Mike Fix 1ded53f6bb use css composition instead of props 5 years ago
Mike Fix c967318194 don't show alpha on embed 5 years ago
Mike Fix 3467e51bbb ensure smart indent is always true 6 years ago
Mike Fix fba004fa95 fix cursor with 'readonly'
Closes #791
6 years ago
Mike Fix 7a3930cae6 fix line number highlighting after mode changes
- Closes #764
6 years ago
Michael Fix 263249c2cd Highlight line numbers (#757)
* add line numbers container

* clean up code readability

* clean up carbon

* use onGutterClick instead

* extract onGutterClick

* tweaks
6 years ago
Mike Fix 156e61c3ba fix embed URL button 6 years ago
Mike Fix 011f25dc4f bug fix for creating custom themes 6 years ago
Mike Fix 31db484046 improve watermark contrast 6 years ago
Mike Fix f5fe38ea88 make font styling work 6 years ago
raboid 7560520bbb custom fonts 6 years ago
Mike Fix 3540124819 bug fix for /embed/<gist> 6 years ago
Mike Fix 1994c820ea fix light theme in Carbon by introducing getTheme 6 years ago
Mike Fix 0db4a89e72 simplify theme state logic 6 years ago
Mike Fix 48504ba1d0 use theme.light 6 years ago
raboid 4dea566193 rework logic 6 years ago
Michael Fix afa63c3653
remove mutation observer (#723) 6 years ago
Michael Fix ebc488d51c
fix horizontal scroll bar for safari (#717) 6 years ago
Konstantin Gorodinskiy eefc49b737 Fix language mime type lookup (#712)
* add editorconfig to keep files consistent automatically

* lookup language mime type in languages dictionary

* use language maps instead of language list

* Revert "add editorconfig to keep files consistent automatically"

This reverts commit 3cfdd4a5444791e763ffae59fde199406677f82f.

* move location of toLowerCase()
6 years ago
Mike Fix 3187b6777a make titleBar uncontrolled 6 years ago
Mike Fix d16df95bda use editor mount for loading instead of carbon's 6 years ago
Mike Fix 7fd9ecf829 Update where spinner occurs 6 years ago
Mike Fix 608392b517 use forward ref in carbon 6 years ago
Mike Fix b7bc227522 clean up <Carbon/> - remove resize-observer 6 years ago
Sean a89c320757 move and fix theme specific css (#649) 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
Jake Dexheimer 4571b03eb4 clean up menu controls position, about page 6 years ago