Skip to content

feat(cdk-experimental/table-scroll-container): Create directive and demo #21200

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

Merged
merged 1 commit into from
Jan 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
/src/cdk-experimental/menu/** @jelbourn @andy9775
/src/cdk-experimental/popover-edit/** @kseamon @andrewseguin
/src/cdk-experimental/scrolling/** @mmalerba
/src/cdk-experimental/table-scroll-container/** @kseamon @andrewseguin
/src/cdk-experimental/listbox/** @nielsr98 @jelbourn
/src/cdk-experimental/selection/** @yifange @jelbourn

Expand Down Expand Up @@ -215,6 +216,7 @@
/src/dev-app/snack-bar/** @jelbourn @crisbeto
/src/dev-app/stepper/** @mmalerba
/src/dev-app/table/** @andrewseguin
/src/dev-app/table-scroll-container/** @kseamon @andrewseguin
/src/dev-app/tabs/** @andrewseguin
/src/dev-app/toolbar/** @devversion
/src/dev-app/tooltip/** @andrewseguin
Expand Down
1 change: 1 addition & 0 deletions .ng-dev/commit-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const commitMessage: CommitMessageConfig = {
'cdk-experimental/popover-edit',
'cdk-experimental/scrolling',
'cdk-experimental/selection',
'cdk-experimental/table-scroll-container',
'cdk/a11y',
'cdk/accordion',
'cdk/bidi',
Expand Down
1 change: 1 addition & 0 deletions src/cdk-experimental/config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CDK_EXPERIMENTAL_ENTRYPOINTS = [
"popover-edit",
"scrolling",
"selection",
"table-scroll-container",
]

# List of all entry-point targets of the Angular cdk-experimental package.
Expand Down
45 changes: 45 additions & 0 deletions src/cdk-experimental/table-scroll-container/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
load(
"//tools:defaults.bzl",
"ng_module",
"ng_test_library",
"ng_web_test_suite",
)

package(default_visibility = ["//visibility:public"])

ng_module(
name = "table-scroll-container",
srcs = glob(
["**/*.ts"],
exclude = ["**/*.spec.ts"],
),
module_name = "@angular/cdk-experimental/table-scroll-container",
deps = [
"//src/cdk/bidi",
"//src/cdk/platform",
"//src/cdk/table",
"@npm//@angular/common",
"@npm//@angular/core",
"@npm//rxjs",
],
)

ng_test_library(
name = "unit_test_sources",
srcs = glob(
["**/*.spec.ts"],
exclude = ["**/*.e2e.spec.ts"],
),
deps = [
":table-scroll-container",
"//src/cdk/collections",
"//src/cdk/platform",
"//src/cdk/table",
"@npm//rxjs",
],
)

ng_web_test_suite(
name = "unit_tests",
deps = [":unit_test_sources"],
)
9 changes: 9 additions & 0 deletions src/cdk-experimental/table-scroll-container/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

export * from './public-api';
10 changes: 10 additions & 0 deletions src/cdk-experimental/table-scroll-container/public-api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

export * from './table-scroll-container';
export * from './table-scroll-container-module';
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

import {NgModule} from '@angular/core';

import {CdkTableScrollContainer} from './table-scroll-container';

@NgModule({
declarations: [CdkTableScrollContainer],
exports: [CdkTableScrollContainer],
})
export class CdkTableScrollContainerModule {}
Loading