-
Notifications
You must be signed in to change notification settings - Fork 6.8k
CdkListbox file skeleton #19612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CdkListbox file skeleton #19612
Conversation
"//src/cdk/portal", | ||
"@npm//@angular/animations", | ||
"@npm//@angular/core", | ||
"@npm//rxjs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this file has been built up from an existing prototype you already have, but generally I'd prefer us adding these dependencies on-demand. Otherwise we might end up with unused dependencies that slow-down CI and local development (same for the loaded, but unused rules above)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah okay that makes sense. Yeah I'll just remove it and then add them as needed.
On the file names: we typically don't suffix file names with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
.github/CODEOWNERS
Outdated
@@ -127,6 +127,7 @@ | |||
/src/cdk-experimental/dialog/** @jelbourn @crisbeto | |||
/src/cdk-experimental/popover-edit/** @kseamon @andrewseguin | |||
/src/cdk-experimental/scrolling/** @mmalerba | |||
/src/cdk-experimental/listbox/** @nielsr98 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add me here also
exportAs: 'cdkListbox', | ||
host: { | ||
role: 'listbox', | ||
tabindex: '0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would leave off the tabindex and deal with focus management in a follow-up PR focused just on dealing with focus/activedescendant
Can you rebase the change |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
This is rebased and ready to go |
|
||
const EXPORTED_DECLARATIONS = [CdkListbox, CdkOption]; | ||
@NgModule({ | ||
exports: EXPORTED_DECLARATIONS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excuse me but it looks like it's indented by 4, not 2 (here and listbox.ts
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks.
…stbox to cdk-experimental entry points.
* build: created listbox directory and BUILD.bazel file. * build: filled BUILD.bazel file. * build: Added required files to listbox directory. * build: added listbox option directive and renamed listbox directive files. * fix: Removed currently unused dependencies from BUILD.bazel. Added listbox to cdk-experimental entry points. * Removed BUILD.bazel for temp test * fix: filled out BUILD.bazel and other required listbox files. * fix: changed double quote to single quote and added listbox module to public-api. * fix: semicolon. * removed tabindex from listbox host and changed option directive name. * build: Added required files to listbox directory. * build: added listbox option directive and renamed listbox directive files. * fix: filled out BUILD.bazel and other required listbox 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. * fix: reduced indent size from 4 to 2. * fix: chore, removed empty files that appeared after rebase. * fix: added back menu to config.bzl
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Created directory for listbox in cdk-experimental and created empty files that will eventually contain the listbox and listbox option directives.