excalidraw/src/components
Aakansha Doshi 023313e92f
fix: show error message when measureText API breaks in brave (#6336)
* fix: show error message when measureText API breaks in brave

* Add docs

* Add assets

* tweak message

* fix

* tweak message

* add translations

* lint

* fix

* fix

* lint

* lint

* lint please work now

* tweak doc

* fix

* split error component to new file

* add specs

* tweaks

Co-authored-by: David Luzar <luzar.david@gmail.com>

* wrap in div with a width of 30rem

* fix spec

* fix

* Fix typo

---------

Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: Daniel J. Geiger <1852529+DanielJGeiger@users.noreply.github.com>
2023-03-13 19:46:09 +05:30
..
__snapshots__ fix: show error message when measureText API breaks in brave (#6336) 2023-03-13 19:46:09 +05:30
context fix: make tunnels work in multi-instance scenarios (#6178) 2023-02-01 10:46:17 +05:30
dropdownMenu fix: quick typo fix (#6167) 2023-01-29 14:22:25 +01:00
footer fix: make tunnels work in multi-instance scenarios (#6178) 2023-02-01 10:46:17 +05:30
hoc fix: make tunnels work in multi-instance scenarios (#6178) 2023-02-01 10:46:17 +05:30
live-collaboration feat: new Live Collaboration Component API (#6104) 2023-01-12 23:28:57 +05:30
main-menu fix: more jotai scopes missing (#6313) 2023-03-03 16:19:02 +01:00
Sidebar feat: new Menu Component API (#6034) 2023-01-05 22:04:23 +05:30
welcome-screen fix: rerender i18n in host components on lang change (#6224) 2023-02-22 14:01:23 +00:00
Actions.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Actions.tsx feat: add hand/panning tool (#6141) 2023-01-23 16:12:28 +01:00
ActiveConfirmDialog.tsx fix: use jotai scope for editor-specific atoms (#6308) 2023-03-03 11:58:36 +00:00
App.test.tsx fix: show error message when measureText API breaks in brave (#6336) 2023-03-13 19:46:09 +05:30
App.tsx fix: show error message when measureText API breaks in brave (#6336) 2023-03-13 19:46:09 +05:30
Avatar.scss fix: Avatar outline on safari & center (#5997) 2022-12-16 18:18:34 +01:00
Avatar.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
BraveMeasureTextError.tsx fix: show error message when measureText API breaks in brave (#6336) 2023-03-13 19:46:09 +05:30
Button.scss fix: remove overflow hidden from button (#6110) 2023-01-13 15:44:33 +05:30
Button.tsx feat: generic button export (#6092) 2023-01-12 13:06:00 +01:00
ButtonIconCycle.tsx refactor: Use arrow function where possible (#3315) 2021-03-29 17:09:20 +03:00
ButtonIconSelect.tsx fix: changing font size when text is not selected or edited (#4751) 2022-02-08 21:18:43 +00:00
ButtonSelect.tsx Refactor: convert initializeApp to func component and use JSX transform in the codebase (#4056) 2021-10-14 22:56:51 +05:30
Card.scss feat: image support (#4011) 2021-10-21 22:05:48 +02:00
Card.tsx chore: upgrade to React 18 (#5450) 2022-07-22 11:20:36 +05:30
CheckboxItem.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
CheckboxItem.tsx chore: upgrade to React 18 (#5450) 2022-07-22 11:20:36 +05:30
ColorPicker.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
ColorPicker.tsx fix: ColorPicker getColor (#5949) 2022-12-22 12:53:49 +00:00
ConfirmDialog.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
ConfirmDialog.tsx fix: more jotai scopes missing (#6313) 2023-03-03 16:19:02 +01:00
ContextMenu.scss feat: move contextMenu into the component tree and control via appState (#6021) 2022-12-21 12:47:09 +01:00
ContextMenu.tsx fix: stale appState of MainMenu defaultItems rendered from Actions (#6074) 2023-01-06 14:32:55 +01:00
DarkModeToggle.tsx Refactor: convert initializeApp to func component and use JSX transform in the codebase (#4056) 2021-10-14 22:56:51 +05:30
Dialog.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Dialog.tsx fix: more jotai scopes missing (#6313) 2023-03-03 16:19:02 +01:00
DialogActionButton.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
DialogActionButton.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
ErrorDialog.tsx fix: show error message when measureText API breaks in brave (#6336) 2023-03-13 19:46:09 +05:30
ExportDialog.scss style: change in ExportButton style (#6147) (#6148) 2023-01-22 12:37:18 +00:00
FixedSideContainer.scss fix: mobile tools positioning (#6107) 2023-01-13 00:57:25 +05:30
FixedSideContainer.tsx Add and use clsx (classnames alternative) (#2249) 2020-10-19 16:14:28 +02:00
HandButton.tsx feat: add hand/panning tool (#6141) 2023-01-23 16:12:28 +01:00
HelpButton.tsx fix: provide HelpButton title prop (#6209) 2023-03-03 12:50:18 +00:00
HelpDialog.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
HelpDialog.tsx feat: shortcut for clearCanvas confirmDialog (#6114) 2023-02-04 13:33:40 +01:00
HintViewer.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
HintViewer.tsx feat: refactor Sidebar into standalone reusable component (#5663) 2022-10-17 12:25:24 +02:00
IconPicker.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
IconPicker.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
icons.tsx feat: add hand/panning tool (#6141) 2023-01-23 16:12:28 +01:00
ImageExportDialog.tsx feat: show copy-as-png export button on firefox and show steps how to enable it (#6125) 2023-01-22 12:33:15 +01:00
InitializeApp.tsx fix: default light theme splash 🔧 (#5660) 2022-09-16 13:59:03 +00:00
Island.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Island.tsx Fix padding in the library loading buttons (#2331) 2020-11-04 11:05:12 +01:00
JSONExportDialog.tsx feat: new Menu Component API (#6034) 2023-01-05 22:04:23 +05:30
LayerUI.scss feat: new Menu Component API (#6034) 2023-01-05 22:04:23 +05:30
LayerUI.tsx fix: show error message when measureText API breaks in brave (#6336) 2023-03-13 19:46:09 +05:30
LibraryButton.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
LibraryButton.tsx feat: tweak toolbar shortcuts & remove library shortcut (#5832) 2022-11-06 20:14:53 +01:00
LibraryMenu.scss feat: new Menu Component API (#6034) 2023-01-05 22:04:23 +05:30
LibraryMenu.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
LibraryMenuBrowseButton.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
LibraryMenuHeaderContent.tsx fix: use jotai scope for editor-specific atoms (#6308) 2023-03-03 11:58:36 +00:00
LibraryMenuItems.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
LibraryMenuItems.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
LibraryUnit.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
LibraryUnit.tsx fix: stop font loadingdone loop when rendering element SVGs (#5883) 2022-11-15 21:02:57 +01:00
LoadingMessage.tsx fix: default light theme splash 🔧 (#5660) 2022-09-16 13:59:03 +00:00
LockButton.tsx feat: add hand/panning tool (#6141) 2023-01-23 16:12:28 +01:00
MobileMenu.tsx fix: hide welcome screen on mobile once user interacts (#6185) 2023-02-02 12:58:45 +05:30
Modal.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Modal.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
PasteChartDialog.scss feat: use component dimensions to break to mobile (#3414) 2021-04-08 19:54:50 +02:00
PasteChartDialog.tsx fix: stop font loadingdone loop when rendering element SVGs (#5883) 2022-11-15 21:02:57 +01:00
PenModeButton.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Popover.scss feat: make context menu scrollable (#4030) 2022-07-21 14:34:49 +02:00
Popover.tsx fix: Context menu positioning when component has offsets (#5520) 2022-08-02 11:38:55 +05:30
ProjectName.scss feat: exporting redesign (#3613) 2021-05-25 21:37:14 +02:00
ProjectName.tsx feat: Allow publishing libraries from UI (#4115) 2021-11-17 23:53:43 +05:30
PublishLibrary.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
PublishLibrary.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Section.tsx chore: upgrade to React 18 (#5450) 2022-07-22 11:20:36 +05:30
SingleLibraryItem.scss feat: support resubmitting published library items (#5174) 2022-05-11 15:56:11 +02:00
SingleLibraryItem.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Spinner.scss feat: image support (#4011) 2021-10-21 22:05:48 +02:00
Spinner.tsx feat: image support (#4011) 2021-10-21 22:05:48 +02:00
Stack.scss scope css under name space excalidraw (#1983) 2020-09-25 23:18:45 +02:00
Stack.tsx feat: add sidebar for libraries panel (#5274) 2022-06-21 17:03:23 +02:00
Stats.scss feat: add sidebar for libraries panel (#5274) 2022-06-21 17:03:23 +02:00
Stats.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
TextInput.scss feat: Allow publishing libraries from UI (#4115) 2021-11-17 23:53:43 +05:30
Toast.scss feat: make toast closable and allow custom duration (#5308) 2022-07-05 21:43:59 +05:30
Toast.tsx feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Toolbar.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
ToolButton.tsx feat: add hand/panning tool (#6141) 2023-01-23 16:12:28 +01:00
ToolIcon.scss feat: editor redesign 🔥 (#5780) 2022-11-01 17:29:58 +01:00
Tooltip.scss feat: support src collaborators (#5114) 2022-05-02 15:15:24 +05:30
Tooltip.tsx feat: Support hyperlinks 🔥 (#4620) 2022-02-03 20:34:59 +05:30
TopErrorBoundary.tsx chore: Update Typescript to 4.4.4 (#4188) 2021-11-02 14:24:16 +02:00
UserList.scss fix: Avatar outline on safari & center (#5997) 2022-12-16 18:18:34 +01:00
UserList.tsx feat: new Menu Component API (#6034) 2023-01-05 22:04:23 +05:30