@sebgroup/green-core 2.28.4 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,6 +34,10 @@ export declare class GdsTable<T extends Types.Row = Types.Row> extends GdsElemen
34
34
  * A brief description or summary displayed below the headline.
35
35
  */
36
36
  summary?: string;
37
+ /**
38
+ * The accessible label for the search input field.
39
+ */
40
+ searchLabel?: string;
37
41
  /**
38
42
  * Configurable options for rows per page.
39
43
  * Accepts: number array (e.g., `[5, 10, 20, 50, 100]`)
@@ -433,7 +433,7 @@ renderHeaderControls_fn = function() {
433
433
  size="${__privateGet(this, _GdsTable_instances, Density_get).input}"
434
434
  plain
435
435
  clearable
436
- label="${msg("Search table")}"
436
+ label="${this.searchLabel || msg("Search table")}"
437
437
  .value=${this._view.searchQuery}
438
438
  @input=${__privateMethod(this, _GdsTable_instances, handleSearch_fn)}
439
439
  @gds-input-cleared=${__privateMethod(this, _GdsTable_instances, handleSearchClear_fn)}
@@ -1046,6 +1046,12 @@ __decorateClass([
1046
1046
  __decorateClass([
1047
1047
  property()
1048
1048
  ], GdsTable.prototype, "summary", 2);
1049
+ __decorateClass([
1050
+ property({
1051
+ attribute: "search-label",
1052
+ type: String
1053
+ })
1054
+ ], GdsTable.prototype, "searchLabel", 2);
1049
1055
  __decorateClass([
1050
1056
  property({ type: Array })
1051
1057
  ], GdsTable.prototype, "options", 2);