kibana/packages/shared-ux/code_editor/impl/BUILD.bazel
Anton Dosov 86e8bc197b
[CodeEditor/UrlDrilldown] Add fitToContent support, autoresize the url template editor (#175561)
## Summary

This PR fixes the paper cut where the URL template editor in URL
drilldown is unusably small. It now can expand as you type longer URLs
fix https://github.com/elastic/kibana/issues/132513

The input box now expands from 5 to 15 lines.
2024-02-06 15:38:50 +01:00

36 lines
675 B
Text

load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
SRCS = glob(
[
"**/*.ts",
"**/*.tsx",
],
exclude = [
"**/test_helpers.ts",
"**/*.config.js",
"**/*.mock.*",
"**/*.test.*",
"**/*.stories.*",
"**/__snapshots__/**",
"**/integration_tests/**",
"**/mocks/**",
"**/scripts/**",
"**/storybook/**",
"**/test_fixtures/**",
"**/test_helpers/**",
],
)
BUNDLER_DEPS = [
"@npm//react",
"@npm//tslib",
"@npm//react-monaco-editor",
]
js_library(
name = "code_editor",
package_name = "@kbn/code-editor",
srcs = SRCS + ["package.json"],
deps = BUNDLER_DEPS,
visibility = ["//visibility:public"],
)