-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
…ture/1507-grid-apply-tokens
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sl-design-system/menu': patch | ||
--- | ||
|
||
Set initial aria-details and aria-expanded on the menu button |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sl-design-system/combobox': patch | ||
--- | ||
|
||
Show a message when there are no filter matches |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sl-design-system/grid': patch | ||
--- | ||
|
||
Fix error in code when flattening column groups |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# @sl-design-system/combobox | ||
|
||
## 0.0.1 | ||
|
||
### Patch Changes | ||
|
||
- [#1492](https://github.com/sl-design-system/components/pull/1492) [`21302c2`](https://github.com/sl-design-system/components/commit/21302c28065512f1c89ffde17dbc3241a2306d5d) - New `<sl-combobox>` component | ||
|
||
- [#1536](https://github.com/sl-design-system/components/pull/1536) [`d79c397`](https://github.com/sl-design-system/components/commit/d79c3977b15cf55c8a83db94fc4ab98a1fe7e328) - Fix combobox, radio-group and select not focusing the form control when clicking the label | ||
|
||
- Updated dependencies [[`21302c2`](https://github.com/sl-design-system/components/commit/21302c28065512f1c89ffde17dbc3241a2306d5d), [`21302c2`](https://github.com/sl-design-system/components/commit/21302c28065512f1c89ffde17dbc3241a2306d5d), [`21302c2`](https://github.com/sl-design-system/components/commit/21302c28065512f1c89ffde17dbc3241a2306d5d), [`000723a`](https://github.com/sl-design-system/components/commit/000723a8e42cb468383fa0b968eb31a672b95e80), [`21302c2`](https://github.com/sl-design-system/components/commit/21302c28065512f1c89ffde17dbc3241a2306d5d)]: | ||
- @sl-design-system/text-field@1.4.0 | ||
- @sl-design-system/listbox@0.0.1 | ||
- @sl-design-system/form@1.0.4 | ||
- @sl-design-system/tag@0.0.3 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
:host { | ||
color: var(--sl-color-text-plain); | ||
padding-inline: var(--sl-space-new-md); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { localized, msg, str } from '@lit/localize'; | ||
import { type CSSResultGroup, LitElement } from 'lit'; | ||
import { property } from 'lit/decorators.js'; | ||
import styles from './no-match.scss.js'; | ||
|
||
declare global { | ||
interface HTMLElementTagNameMap { | ||
'sl-combobox-no-match': NoMatch; | ||
} | ||
} | ||
|
||
/** | ||
* Message component for when filtering a listbox yields no matches. | ||
*/ | ||
@localized() | ||
export class NoMatch extends LitElement { | ||
/** @internal */ | ||
static override styles: CSSResultGroup = styles; | ||
|
||
/** The string that did not yield any matches. */ | ||
@property() value?: string; | ||
|
||
override render(): string { | ||
return msg(str`No options starting with "${this.value}" have been found.`); | ||
} | ||
} |