File tree Expand file tree Collapse file tree 7 files changed +81
-0
lines changed Expand file tree Collapse file tree 7 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 128128/src /cdk-experimental /menu /** @ jelbourn @ andy9775
129129/src /cdk-experimental /popover-edit /** @ kseamon @ andrewseguin
130130/src /cdk-experimental /scrolling /** @ mmalerba
131+ /src /cdk-experimental /listbox /** @ nielsr98 @ jelbourn
131132
132133# Docs examples & guides
133134/guides /** @ jelbourn
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ CDK_EXPERIMENTAL_ENTRYPOINTS = [
33 "column-resize" ,
44 "dialog" ,
55 "menu" ,
6+ "listbox" ,
67 "popover-edit" ,
78 "scrolling" ,
89]
Original file line number Diff line number Diff line change 1+ load ("//tools:defaults.bzl" , "ng_module" )
2+
3+ package (default_visibility = ["//visibility:public" ])
4+
5+ ng_module (
6+ name = "listbox" ,
7+ srcs = glob (
8+ ["**/*.ts" ],
9+ exclude = ["**/*.spec.ts" ],
10+ ),
11+ module_name = "@angular/cdk-experimental/listbox" ,
12+ )
Original file line number Diff line number Diff line change 1+ /**
2+ * @license
3+ * Copyright Google LLC All Rights Reserved.
4+ *
5+ * Use of this source code is governed by an MIT-style license that can be
6+ * found in the LICENSE file at https://angular.io/license
7+ */
8+
9+ export * from './public-api' ;
Original file line number Diff line number Diff line change 1+ /**
2+ * @license
3+ * Copyright Google LLC All Rights Reserved.
4+ *
5+ * Use of this source code is governed by an MIT-style license that can be
6+ * found in the LICENSE file at https://angular.io/license
7+ */
8+
9+ import { NgModule } from '@angular/core' ;
10+ import { CdkListbox , CdkOption } from './listbox' ;
11+
12+ const EXPORTED_DECLARATIONS = [ CdkListbox , CdkOption ] ;
13+ @NgModule ( {
14+ exports : EXPORTED_DECLARATIONS ,
15+ declarations : EXPORTED_DECLARATIONS ,
16+ } )
17+ export class CdkListboxModule { }
Original file line number Diff line number Diff line change 1+ /**
2+ * @license
3+ * Copyright Google LLC All Rights Reserved.
4+ *
5+ * Use of this source code is governed by an MIT-style license that can be
6+ * found in the LICENSE file at https://angular.io/license
7+ */
8+
9+ import { Directive } from '@angular/core' ;
10+
11+ @Directive ( {
12+ selector : '[cdkOption]' ,
13+ exportAs : 'cdkOption' ,
14+ host : {
15+ role : 'option' ,
16+ }
17+ } )
18+ export class CdkOption {
19+
20+ }
21+
22+ @Directive ( {
23+ selector : '[cdkListbox]' ,
24+ exportAs : 'cdkListbox' ,
25+ host : {
26+ role : 'listbox' ,
27+ }
28+ } )
29+ export class CdkListbox {
30+
31+ }
Original file line number Diff line number Diff line change 1+ /**
2+ * @license
3+ * Copyright Google LLC All Rights Reserved.
4+ *
5+ * Use of this source code is governed by an MIT-style license that can be
6+ * found in the LICENSE file at https://angular.io/license
7+ */
8+
9+ export * from './listbox' ;
10+ export * from './listbox-module' ;
You can’t perform that action at this time.
0 commit comments