discourse/app/assets/stylesheets/common
Martin Brennan 6aee048783
FIX: Add @enabled arg to <LoadMore /> component (#33122)
This commit adds an @enabled boolean to `<LoadMore />` to allow for
cases where the element is visible in the viewport but you don't want to
allow the `loadMore` behaviour. A use case for this is when our
controllers return some `canLoadMore` boolean. There is no use
attempting to load more from the server in this case, there will be
nothing else.

I also moved the CSS styles for the `<LoadMore />` component into
a new file.

This also fixes a bug in the users list shown here
https://meta.discourse.org/t/users-list-only-partial/368793
2025-06-12 15:50:24 +10:00
..
base UX: Properly center-align buttons in login-required screen (#33159) 2025-06-11 12:08:59 -04:00
components FIX: Add @enabled arg to <LoadMore /> component (#33122) 2025-06-12 15:50:24 +10:00
float-kit DEV: Update linting (#32836) 2025-05-21 12:02:52 +02:00
form-kit DEV: Refactor grippie resizer from composer into Modifier (#33046) 2025-06-11 11:08:11 +10:00
foundation DEV: Make --space-# variables available everywhere (#33017) 2025-05-30 13:25:45 -05:00
login REFACTOR: remove /mobile/invites-show and move to /common/invites-show (#32532) 2025-05-01 12:54:32 -04:00
modal UX: add fallback width for modal (#32937) 2025-05-27 14:31:22 +02:00
rich-editor FEATURE: rich editor link ui for editing it (#32583) 2025-06-11 08:51:27 -03:00
select-kit UX: composer toolbar changes (icon, style, placement) (#32918) 2025-06-10 12:16:19 -03:00
table-builder DEV: Update linting (#32836) 2025-05-21 12:02:52 +02:00
d-editor.scss UX: add missing toolbar separator css (#33166) 2025-06-11 21:51:04 -03:00
font-variables.scss UX: Replace font-size-ios-input workaround (#30877) 2025-01-20 19:17:30 +00:00
input_tip.scss DEV: Update lint-configs and auto-fix issues (#31485) 2025-02-24 23:32:31 +01:00
loading-slider.scss DEV: Introduce stylelint (#29852) 2025-01-20 15:27:42 +00:00
post-action-feedback.scss DEV: Introduce stylelint (#29852) 2025-01-20 15:27:42 +00:00
printer-friendly.scss DEV: Merge duplicated css (#31167) 2025-02-05 18:42:55 +01:00
software-update-prompt.scss DEV: Fix all mixed-decls sass deprecations (#31343) 2025-02-13 23:58:19 +01:00
topic-entrance.scss DEV: Update lint-configs and auto-fix issues (#31485) 2025-02-24 23:32:31 +01:00
topic-timeline.scss DEV: Introduce postcss minmax transform (#31885) 2025-03-18 19:28:52 +00:00
whcm.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00