discourse/app/assets/stylesheets
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
..
common DEV: Reusable post-list component (#30312) 2024-12-19 09:20:25 -08:00
desktop UX: Adjust disclaimer font size (#30346) 2024-12-18 13:09:31 -06:00
mobile ux: move to minimal layout (#30327) 2024-12-17 14:41:00 -06:00
vendor
admin_rtl.scss
admin.scss
color_definitions.scss UX: Multiple codeblocks fixes (#29898) 2024-11-22 13:52:23 -06:00
common.scss
desktop_rtl.scss
desktop.scss
embed.scss
ember_cli.scss
mobile_rtl.scss
mobile.scss
publish.scss
qunit-custom.scss
qunit.scss
wcag.scss Cleanup mobile topic footer area (#30132) 2024-12-11 14:59:37 +01:00
wizard_rtl.scss
wizard.scss