overleaf/services/web/frontend/js/features/pdf-preview/components
Antoine Clausse 1d4737ac69 [web] Changes to recompile button in Bootstrap 5 (#21586)
* Add Story for `PdfCompileButton`

* Set the CompileButton height so it's similar to BS3

* Add the CompileButton animations

* Remove `sm` from CompileButton: makes font size bigger

* Use MaterialIcon in compile-button dropdown-toggle

* Use MaterialIcon in LayoutDropdown

* Fix stripe alignment on Recompile button

* Set padding around dropdown caret

Per Alexandru's instructions

* Prevent border from disappearing on hover

* Set the padding of the compile button even on both sides

Before: left 12px, right 16px;
After: left 16px, right 16px;

* Change px values to spacing var

* Add some button classes for BS5 only

* Don't render the hidden "Compiling…" in BS5, it changes the button width

* Prevent `loading="[object Object]"` in the DOM

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>

---------

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 34f1eed03e63f3459243a37c878612a623f321f8
2024-11-15 09:05:25 +00:00
..
compile-time-warning-upgrade-prompt-inner.tsx [web] Use React hooks to get split-test variants instead of getSplitTestVariant (getMeta) (#18133) 2024-05-01 08:04:55 +00:00
compile-time-warning-upgrade-prompt.tsx Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
detach-compile-button-wrapper.jsx
detach-compile-button.tsx [web] Changes to recompile button in Bootstrap 5 (#21586) 2024-11-15 09:05:25 +00:00
detach-synctex-control.jsx
pdf-clear-cache-button.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-code-check-failed-notice.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-compile-button.tsx [web] Changes to recompile button in Bootstrap 5 (#21586) 2024-11-15 09:05:25 +00:00
pdf-download-files-button.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-file-list.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-hybrid-code-check-button.jsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-hybrid-download-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-hybrid-logs-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-js-viewer.tsx Avoid calling destroy on the PDF.js loading task (#21277) 2024-10-25 08:05:05 +00:00
pdf-log-entry-content.jsx Move the compile assistant into individual log entries (#18168) 2024-05-09 08:04:33 +00:00
pdf-log-entry-raw-content.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-log-entry.jsx Updates to the AI error assistant (#19107) 2024-06-26 11:11:44 +00:00
pdf-logs-entries.jsx Display previous fix from AI error assistant (#19278) 2024-07-15 09:03:19 +00:00
pdf-logs-viewer.jsx Merge pull request #17909 from overleaf/ac-tear-down-compile-timeout-tests-2 2024-04-16 08:04:08 +00:00
pdf-orphan-refresh-button.jsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-page-number-control.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-preview-detached-root.jsx Remove Angular (#17534) 2024-06-06 08:04:09 +00:00
pdf-preview-error-boundary-fallback.jsx
pdf-preview-error.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-preview-hybrid-toolbar.jsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-preview-messages.tsx
pdf-preview-pane.tsx Convert PDF.js code to TypeScript 2024-10-14 11:00:45 +00:00
pdf-preview-provider.tsx
pdf-preview.jsx
pdf-synctex-controls.jsx Merge pull request #20807 from overleaf/rd-ide-resizer 2024-10-14 11:09:55 +00:00
pdf-toolbar-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-validation-issue.jsx
pdf-viewer-controls-menu-button.tsx Hide tooltip on click in PDF controls menu (#21546) 2024-11-05 09:04:50 +00:00
pdf-viewer-controls-toolbar.tsx Merge pull request #19390 from overleaf/dp-pdf-tools-teardown 2024-07-22 08:04:22 +00:00
pdf-viewer.tsx Convert PDF.js code to TypeScript 2024-10-14 11:00:45 +00:00
pdf-zoom-buttons.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-zoom-dropdown.tsx Merge pull request #21431 from overleaf/td-bs5-pdf-zoom-arrow 2024-11-01 09:04:56 +00:00
stop-on-first-error-prompt.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
switch-to-editor-button.tsx Focus the editor after using the "Switch to editor" button (#21549) 2024-11-06 09:05:08 +00:00
timeout-upgrade-prompt-new.tsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00