discourse/app/assets/stylesheets/common/components
Keegan George d886c55f63
DEV: Reusable post-list component (#30312)
This update adds a  _new_ `<PostList />` component, along with it's child components (`<PostListItem/>` and `<PostListItemDetails />`). This new generic component can be used to show a list of posts.

It can be used like so:
```js
/**
 * A component that renders a list of posts
 *
 * @component PostList
 *
 * @args {Array<Object>} posts - The array of post objects to display
 * @args {Function} fetchMorePosts - A function that fetches more posts. Must return a Promise that resolves to an array of new posts.
 * @args {String} emptyText (optional) - Custom text to display when there are no posts
 * @args {String|Array} additionalItemClasses (optional) - Additional classes to add to each post list item
 * @args {String} titleAriaLabel (optional) - Custom Aria label for the post title
 * 
*/
```
```hbs
<PostList
    @posts={{this.posts}}
    @fetchMorePosts={{this.loadMorePosts}}
    @emptyText={{i18n "custom_identifier.empty"}}
    @additionalItemClasses="custom-class"
 />
```
2024-12-19 09:20:25 -08:00
..
sidebar/edit-navigation-menu UX: clean up some label and form inconsistencies, reduce excess bolding (#25701) 2024-02-15 11:27:51 -05:00
_index.scss DEV: Reusable post-list component (#30312) 2024-12-19 09:20:25 -08:00
add-pm-participants.scss FIX: remove redundant body scroll lock (#29395) 2024-10-24 13:41:08 -04:00
badges.scss DEV: Improve method of presenting link clicks (#29453) 2024-10-31 12:44:08 -07:00
banner.scss
bookmark-list.scss DEV: Use more css vars (#18561) 2022-10-12 16:05:42 +02:00
bookmark-menu.scss DEV: implements <DropdownMenu /> (#26917) 2024-05-08 09:08:42 +02:00
bookmark-modal.scss UX: improves modal on mobile (#26055) 2024-03-22 16:29:32 +01:00
buttons.scss UX: Improve balance on login & signup pages (#30330) 2024-12-18 12:31:35 -06:00
calendar-date-time-input.scss DEV: Move calendar date + time picker from local dates into core component (#23023) 2023-08-11 13:05:44 +10:00
char-counter.scss FEATURE: Add word count and indicator when exceeded max (#19367) 2023-02-20 12:06:43 +01:00
color-input.scss PERF: eliminate some slow CSS selectors (#25392) 2024-01-26 13:10:45 -05:00
conditional-loading-section.scss A11Y: disable non-essential CSS animations for reduced-motion users (#23571) 2023-09-14 17:31:43 -04:00
convert-to-public-topic-modal.scss
d-breadcrumbs.scss DEV: Make breadcrumb separators unclickable icons (#29817) 2024-11-19 16:42:43 +08:00
d-lightbox.scss FIX: remove background image from lightbox backdrop (#24225) 2023-11-03 16:10:04 +08:00
d-page-header.scss DEV: Introduce <DPageHeader /> and <DPageSubheader /> components (#30146) 2024-12-18 08:13:39 +10:00
d-select.scss DEV: <DSelect /> (#30224) 2024-12-13 10:40:06 +01:00
d-stat-tiles.scss UX: Introduce <DStatTiles /> component (#30238) 2024-12-13 11:32:46 +10:00
d-toggle-switch.scss DEV: form-kit 2024-07-17 11:59:35 +02:00
date-input.scss
date-picker.scss
date-time-input-range.scss
date-time-input.scss
download-calendar.scss DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
file-size-input.scss FIX: Make cancel and reset buttons work for file_size_restriction settings (#28347) 2024-08-15 19:38:47 +03:00
footer-nav.scss DEV: Remove body docked class and its scroll event listener (#29515) 2024-10-31 10:21:50 -04:00
form-template-field.scss FEATURE: support a description attribute on form template fields (#23744) 2023-10-04 17:51:53 -03:00
group-member-dropdown.scss DEV: Set containing block for Popper dropdowns (#20745) 2023-03-20 15:26:20 -04:00
groups-form-membership-fields.scss
hashtag.scss UX: Tweak the mention padding (#26492) 2024-04-05 22:23:37 +02:00
horizontal-overflow-nav.scss UX: remove default use of quaternary color, update nav pill styles (#27502) 2024-06-24 09:54:34 -04:00
iframed-html.scss
ignored-user-list.scss UX: fix color preference layout (#21346) 2023-05-03 10:11:52 +08:00
keyboard_shortcuts.scss FEATURE: Add keyboard shortcuts for jumping to unread channels (#29734) 2024-11-18 11:18:58 +11:00
more-topics.scss UX: spacing fix for related topics on mobile (#27940) 2024-07-16 17:51:55 -04:00
navs.scss UX: remove default use of quaternary color, update nav pill styles (#27502) 2024-06-24 09:54:34 -04:00
notifications-tracking.scss DEV: replaces topic-notifications-options by DMenu (#30298) 2024-12-16 19:59:18 +01:00
offline-indicator.scss FEATURE: Offline indicator (#21369) 2023-06-05 11:08:04 -05:00
pick-files-button.scss
post-list.scss DEV: Reusable post-list component (#30312) 2024-12-19 09:20:25 -08:00
powered-by-discourse.scss UX: Add progress bar to the registration flow (#27694) 2024-08-28 08:43:39 -03:00
relative-time-picker.scss UX: minor fixes in topic action modal (#24772) 2023-12-07 14:54:56 +01:00
signup-progress-bar.scss ux: move to minimal layout (#30327) 2024-12-17 14:41:00 -06:00
svg.scss
tap-tile.scss UX: highlight vars updates (#20346) 2023-02-21 10:15:49 +01:00
theme-card.scss DEV: update deprecated icon names in themes-grid-card (#30162) 2024-12-08 22:18:55 +01:00
time-input.scss DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
time-shortcut-picker.scss UX: fix time pickers input width on mobile (#21170) 2023-04-19 10:08:24 -05:00
topic-map.scss UX: fix topic map padding in low-content situations (#30101) 2024-12-04 09:39:14 -05:00
topic-query-filter.scss FEATURE: Add Bulk actions to /filter page (#29420) 2024-11-22 11:51:06 +11:00
user-card.scss UX: limit user-card focus ring to desktop (#29435) 2024-10-28 10:10:03 -04:00
user-info.scss UX: add space to following list (#27154) 2024-05-23 17:26:15 +04:00
user-status-message.scss FIX: Add the ident to fix user status styling in posts (#26585) 2024-04-10 01:44:37 +02:00
user-status-picker.scss UX: update appropriate btn-flat instances to btn-transparent (#25945) 2024-02-29 11:47:07 +01:00
user-stream-item.scss UX: prevent user stream title from overflowing page (#29032) 2024-09-30 13:10:23 -04:00
user-stream.scss
welcome-header.scss UX: Add progress bar to the registration flow (#27694) 2024-08-28 08:43:39 -03:00
widget-dropdown.scss REFACTOR: improve poll info layout (#22353) 2023-07-05 12:20:18 -04:00