discourse/app/assets/stylesheets/common/components
Joffrey JAFFEUX cbc0ece6e8
DEV: <DSelect /> (#30224)
`<DSelect />` is a wrapper similar to our existing `<DButton />` over the html element `<select>`. The code is ported from form kit which is now directly using `<DSelect />`. Note this component has also been used in edit topic timer modal.

This component is recommended for a small list of text items (no icons, no rich formatting...).

Usage:

```gjs
<DSelect class="my-select" @onChange={{this.handleChange}} as |select|>
  <select.Option @value="foo" class="my-favorite-option">Foo</select.Option>
  <select.Option @value="bar">Bar</select.Option>
</DSelect>
```

This commit comes with a set of assertions:

```gjs
import dselect from "discourse/tests/helpers/d-select-helper";
import { select } from "@ember/test-helpers";

assert
  .dselect(".my-select")
  .hasOption({ value: "bar", label: "Bar" })
  .hasOption({ value: "foo", label: "Foo" })
  .hasNoOption("baz");

await select(".my-select", "foo");

assert.dselect(".my-select").hasSelectedOption({value: "foo", label: "Foo"});
```
2024-12-13 10:40:06 +01:00
..
sidebar/edit-navigation-menu
_index.scss DEV: <DSelect /> (#30224) 2024-12-13 10:40:06 +01: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
bookmark-menu.scss DEV: implements <DropdownMenu /> (#26917) 2024-05-08 09:08:42 +02:00
bookmark-modal.scss
buttons.scss DEV: adds blocks support to chat messages (#29782) 2024-11-19 07:07:58 +01:00
calendar-date-time-input.scss
char-counter.scss
color-input.scss
conditional-loading-section.scss
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
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
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
group-member-dropdown.scss
groups-form-membership-fields.scss
hashtag.scss
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
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
offline-indicator.scss
pick-files-button.scss
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
signup-progress-bar.scss UX: Visual adjustments to login/signup forms (#28680) 2024-10-25 09:34:59 -03:00
svg.scss
tap-tile.scss
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
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
user-status-picker.scss
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