discourse/plugins/chat/assets/stylesheets
Joffrey JAFFEUX b9282faa02 dev: d-multi-select and chat-channel-multi-select
Implement a new component called `d-multi-select` which allows to select multiple items.

It has the following features:
- accepts a `loadFn` to load data
- yield result to customise results
- yield selection to customise selection

Usage:

```gjs
 <DMultiSelect
  @loadFn={{this.loadData}}
  @onChange={{this.onChange}}
  @selection={{this.selection}}
>
  <:selection as |item|>{{item.name}}</:selection>
  <:result as |result|>{{result.name}}</:result>
</DMultiSelect>

```gjs
<ChatChannelMultiSelect
  @onChange={{fn (mut this.selectedChannels)}}
  @initialIds={{array 2}}
  @selection={{this.selectedChannels}}
>
    <:selection as |item|>{{item.name}}</:selection>
    <:result as |result|>{{result.name}}</:result>
</ChatChannelMultiSelect>
2025-05-17 22:53:43 +02:00
..
common dev: d-multi-select and chat-channel-multi-select 2025-05-17 22:53:43 +02:00
desktop DEV: Replace all @breakpoint with @viewport.* (#32649) 2025-05-12 12:52:45 +01:00
mixins DEV: Update lint-configs and autofix issues (#31620) 2025-03-05 01:20:16 +01:00
mobile DEV: Update lint-configs and autofix issues (#31620) 2025-03-05 01:20:16 +01:00
colors.scss