Judicael
d919bd273e
feat: add translation ( #704 )
...
* feat: add translation
* modal, left menu translation
* primary tools translation
* render with intl provider for testing
restore file
* french translation done
* context menu translation and test
* added italian
* Add menu to select language
* translation for the word language
* bump dev deps
Bump react on www
* Fix types
* update dependencies
* pre-release
* Delete lask.config.json
Co-authored-by: Enrico <franciscono.enry@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-09 15:33:35 +01:00
Steve Ruiz
c3050db968
[fix] copy and paste (again) ( #685 )
...
* fix copy
* remove console logs
* update types
2022-05-14 14:15:55 +01:00
Faraz Shaikh
dd1fb73876
Add IDs to UI components ( #511 )
...
* Add IDs to Menu and its sub-menus
* Commit uncommitted
* Added ID on Styles and Zoom menu
* Added ID on Tools menu
* Added ID on Context menu
2022-01-21 11:44:18 +00:00
Elizabeth Louie
c5124b160e
add triangle tool ( #433 )
...
* add triangle tool
* fix keyboard shortcuts
* cleaned code
* Add binding, better indicator, bounds
* Fix tests
* Refactor getBindingPoint, binding distances, add comments to getBindingPoint
* Update TextUtil.spec.tsx.snap
* fix intersection math
* fix ellipse indicator
* Update EllipseUtil.tsx
* Update BrushSession.spec.ts
* Add draw style to triangle
* improve strokes
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-09 22:29:09 +00:00
Proful Sadangi
dad6daf758
[feature] Added LineTool functionality ( #343 )
...
* Added LineTool functionality
* Fix Typo error
* Create LineIcon
* Update useKeyboardShortcuts.tsx
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-22 12:28:56 +00:00
Proful Sadangi
a1f4149efe
Fixed bug related to locked tools & select tool ( #331 )
2021-11-21 11:53:13 +00:00
Steve Ruiz
eb20f1c816
[fix] current style and selected style ( #298 )
...
* Fix selectedStyles from being new on each update
* Fix again
* Update TldrawApp.ts
* Fix log around current style and selected style
* Add stub test, move style menu into folder
* Cleanup repo
* cleanup context menu
2021-11-19 10:19:06 +00:00
Steve Ruiz
0c5f8dda48
1.0.0 ( #267 )
...
* remove sponsorwall for main route
* Adds sponsorship link
* Remove all sponsorwall
* Fix sponsorship link appearance on dark mode
* Add heart icon
* Fix text bug
* Fix toolbar, hide resize handles on sticky
* Add eraser
* Update Kbd.tsx
* cleanup
* base zoom delta on event deltaMode
* Fix image in example
* Fix eraser icon
* eraser tool resets to previous tool
* Update EraseTool.spec.ts
* Improves support for locked shapes
* Update _document.tsx
* Update CHANGELOG.md
* Adds multiplayer menu, fix develop route in example
* Tighten up top panel padding
* Update top bar, bump packages
* refactor TLDrawState -> TLDrawApp, mutables, new tests
* Fix scaling bug, delete groups bug
* fix snapping
* add pressure to points
* Remove mutables, rename to tldraw (or Tldraw)
* Clean up types, add darkmode prop
* more renaming
* rename getShapeUtils to getShapeUtil
* Fix file names
* Fix last bugs related to renaming
* Update state to app in tests
* rename types to TD
* remove unused styles / rename styles
* slight update to panel
* Fix rogue radix perf issue
* Update ZoomMenu.tsx
* Consolidate style panel
* Fix text wrapping in text shape, improve action menu
* Fix props
* add indicators for tool lock
* fix calloits
* Add click to erase shapes
* Slightly improve loading screen
* Update PrimaryTools.tsx
* remove force consistent filenames from tsconfig
* Update useTldrawApp.tsx
* fix capitalization
* Update main.yml
2021-11-16 16:01:29 +00:00
Proful Sadangi
4dd1aea572
Fix tooltip label & color contrast ( #262 )
...
* Fix tooltip label & color contrast
* adds fix for context menu
* Fix focus within
* Add inline docs
* Fix color for kbd
* Fix for submenu
* tighten up code
* Added onBlur mock function
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-11 09:54:58 +00:00
Steve Ruiz
be2c6d6d1f
[refactor] events ( #230 )
...
* bumps rko, adds events
* rename tlstate to state, fix env for multiplayer test
* Fix multiplayer
* rename data tldrawstate to tldrawsnapshot
* Update multiplayer-editor.tsx
* Fix shhhmp
* Update 2.tldr
* Add API to the README
2021-11-08 14:21:37 +00:00
Steve Ruiz
3c1de1f169
name memoized components
2021-11-06 11:19:15 +00:00
Steve Ruiz
fb77323ef2
[feature] filesystem + readonly ( #218 )
...
* Fix escape key for menu
* Adds filesystem support, readonly mode
* Move file system events to external hook
* Adds onSignIn callback, prevent event by default
2021-11-05 14:13:14 +00:00
Steve Ruiz
e2369003c6
[improvement] UI ( #215 )
...
* move folders out of packages
* Remove custom yarn stuff, remove duplicate readme
* Remove stitches config
* Add README script.
* bump deps
* Fix script
* Update package.json
* rehauls UI
* further rehauls UI
* UI polish
* Update ToolButton.tsx
* Update ToolButton.tsx
* Bump license
* move tldraw to root
* Remove SW
2021-11-03 16:46:33 +00:00