Commit 809f157
authored
feat(cdk-experimental/combobox): added additional open actions and a combobox-popup directive (#20306)
Combobox open actions
* build: Added required files to listbox directory.
* build: added listbox option directive and renamed listbox directive files.
* build: Added required files to listbox directory.
* build: added listbox option directive and renamed listbox directive files.
* build: Added required files to listbox directory.
* build: added listbox option directive and renamed listbox directive files.
* build: Added required files to listbox directory.
* build: added listbox option directive and renamed listbox directive files.
* feat(dev-app/listbox): added cdk listbox example to the dev-app.
* fix(listbox): removed duplicate dep in dev-app build file.
* fix(listbox): deleted unused files.
* refactor(combobox): changed names and made coerceOpenActionProperty simpler for this PR.
* fix(combobox): updated syntax for casting.
* refactor(combobox): changed casting syntax back.
* fix(combobox): fixed trailing whitespace.
* refactor(combobox): improved coerceOpenActions function to handle whitespace separated strings as input.
* fix(combobox): split the coerceOpenActions on comma or space.
* feat(combobox): added aria-expanded and aria-owns traits.
* refactor(combobox): minor refactor.
* feat(combobox): added logic to close popup on click outside of combobox.
* test(combobox): added many tests for combobox open action features.
* test(combobox): added back two failing tests, focus and sending input value to combobox.
* refactor(combobox): further tests on focus.
* refactor(combobox): added tabindex to allow focusing on content, and fixed the setTextContent function.
* fix(combobox): removed separate coerceArray import.
* fix(combobox): lint errors.
* refactor(combobox): only throw error in coercing open action in dev mode, condense click and focus handlers into one.
* nit(combobox): removed whitespace.
* fix(combobox): removed unused imports.
* feat(combobox): added combobox popup directive to handle registering panel content with panel.
* nit(combobox): changed double quotes to single quotes.
* nit(combobox): changed class names and parameter types.
* fix(combobox): changed import to relative import.1 parent 004afa1 commit 809f157
File tree
7 files changed
+484
-23
lines changed- src/cdk-experimental/combobox
7 files changed
+484
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | | - | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments