Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information