mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Some checks are pending
DevInfra / assistant_to_the_branch_manager (push) Waiting to run
CI (push) / zone-js (push) Waiting to run
CI (push) / lint (push) Waiting to run
CI (push) / devtools (push) Waiting to run
CI (push) / test (push) Waiting to run
CI (push) / integration-tests (push) Waiting to run
CI (push) / adev (push) Waiting to run
CI (push) / vscode-ng-language-service (push) Waiting to run
CI (push) / publish-snapshots (push) Waiting to run
CI (push) / adev-deploy (push) Blocked by required conditions
Update ADEV Cross Repo Docs / Update Cross Repo ADEV Docs (push) Waiting to run
Performance Tracking / workflow (push) Blocked by required conditions
Performance Tracking / list (push) Waiting to run
OpenSSF Scorecard / Scorecards analysis (push) Waiting to run
This PR also replaces the implementation of the select component on ADEV due to the aria breaking changes
46 lines
997 B
Text
46 lines
997 B
Text
load("//adev/shared-docs:defaults.bzl", "ng_project", "sass_binary", "ts_project", "zoneless_web_test_suite")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ng_project(
|
|
name = "select",
|
|
srcs = [
|
|
"select.component.ts",
|
|
],
|
|
assets = [
|
|
":select.component.css",
|
|
"select.component.html",
|
|
],
|
|
visibility = [
|
|
"//adev/shared-docs/components:__pkg__",
|
|
],
|
|
deps = [
|
|
"//adev:node_modules/@angular/aria",
|
|
"//adev:node_modules/@angular/cdk",
|
|
"//adev:node_modules/@angular/common",
|
|
"//adev:node_modules/@angular/core",
|
|
"//adev:node_modules/@angular/forms",
|
|
],
|
|
)
|
|
|
|
sass_binary(
|
|
name = "style",
|
|
src = "select.component.scss",
|
|
)
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["*.spec.ts"],
|
|
),
|
|
deps = [
|
|
":select",
|
|
"//adev:node_modules/@angular/core",
|
|
],
|
|
)
|
|
|
|
zoneless_web_test_suite(
|
|
name = "test",
|
|
deps = [":test_lib"],
|
|
)
|