overleaf/services/web/frontend/stories
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
..
decorators Merge pull request #19842 from overleaf/jpa-ro-mirror-on-client 2024-08-22 08:05:13 +00:00
editor [web] Changes to recompile button in Bootstrap 5 (#21586) 2024-11-15 09:05:25 +00:00
editor-left-menu [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
file-view [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
fixtures Merge pull request #16815 from overleaf/td-uuid-frontend-upgrade 2024-02-13 09:03:45 +00:00
history [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
hooks [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
loading [web] Migrate IDE page loading screen to BS5 (#20896) 2024-10-14 11:07:50 +00:00
modals [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
project-list Merge pull request #21273 from overleaf/jel-tag-names 2024-10-24 08:06:03 +00:00
settings [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
source-editor [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
subscription/group-invites [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
ui Merge pull request #21692 from overleaf/jdt-premium-secondary-button 2024-11-14 09:05:19 +00:00
utils Merge pull request #13121 from overleaf/ii-history-react-change-list-stories 2023-05-23 08:05:36 +00:00
chat.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
clone-project-modal.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
contact-us-modal.stories.tsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
dropdown.stories.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
editor-navigation-toolbar.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
editor-switch.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
feedback-badge.stories.tsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
file-tree.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
hotkeys-modal.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
icon.stories.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
input-switch.stories.tsx Merge pull request #21115 from overleaf/ii-bs5-review-panel 2024-10-21 08:04:37 +00:00
notification.stories.tsx Merge pull request #16039 from overleaf/jdt-notification-class-prop 2023-12-04 09:02:58 +00:00
outline.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
pagination.stories.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
pdf-log-entry.stories.tsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-preview-error-boundary.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
pdf-preview-messages.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
pdf-preview-messages.stories.tsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
pdf-preview.stories.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-viewer.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
radio-chip.stories.tsx Merge pull request #15249 from overleaf/rd-odc-radio 2023-11-02 08:52:52 +00:00
select.stories.tsx Merge pull request #18861 from overleaf/rh-editor-limit-exceeded 2024-06-25 08:04:46 +00:00
share-project-modal.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
split-menu.stories.tsx Create new SplitMenu component and implement it for the pdf compile button (detached & non-detached) (#11772) 2023-02-22 09:04:42 +00:00
split-test-badge.stories.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
start-free-trial-button.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00
style-guide.stories.jsx Merge pull request #19254 from overleaf/jel-cms-button-spacing 2024-07-15 09:02:48 +00:00
switcher.stories.tsx Merge pull request #20436 from overleaf/ii-bs5-editor-toolbar 2024-10-01 08:04:42 +00:00
use-expand-collapse.stories.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
word-count-modal.stories.jsx [storybook] Update Storybook and add a control for BS3/BS5 (#20948) 2024-10-14 11:07:40 +00:00