[AnalyticalTable]: Public prop or CSS variable to remove container border and control header border width

Đã đóng
#9,069 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react, typescript
Lĩnh vực
design, frontend

Hướng nghiên cứu

Start by reading the AnalyticalTable public props and its container and header styling, including the internal selector and CSS variable named in the issue. Identify how the component exposes supported styling options and decide whether a public prop or documented variables fit the existing API. Done means consumers can remove the default border and control header border width through a supported public interface.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Is your feature request related to a problem?

When customizing AnalyticalTable to remove its default container border and suppress the default header border width, the only way to achieve this is via the private data-component-name="AnalyticalTableContainer" CSS selector and the --_ui5wcr-AnalyticalTable-HeaderBorderWidth custom property (underscore-prefixed, treated as internal). These are undocumented and can silently break on library upgrades with no compile or test signal.

Describe the solution you'd like

A public prop on AnalyticalTable (e.g. withBorder={false}) or documented CSS variables for controlling the container border and header border width, so consumer apps can customize these without depending on internal implementation details.

Describe alternatives you've considered

Using the private data-component-name="AnalyticalTableContainer" selector and --_ui5wcr-AnalyticalTable-HeaderBorderWidth property as a workaround, pinned to the current major version.

Additional Context

This came up when embedding AnalyticalTable inside a custom card-style container. The default container border conflicts with the outer wrapper's styling, and the only available override targets internal selectors.

Organization

No response

Declaration
  • I’m not disclosing any internal or sensitive information.
Ngôn ngữ chính
TypeScript
Star
543
Fork
114
Merge trung bình
18 giờ 30 phút
Pull request đã merge (30 ngày)
76

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của UI5/webcomponents-react

Tất cả issue của UI5/webcomponents-react

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.