@sebgroup/green-core 2.28.3 → 2.28.4-rc.20260210094234841

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.
@@ -12,6 +12,7 @@ export * from './checkbox';
12
12
  export * from './coachmark';
13
13
  export * from './context-menu';
14
14
  export * from './datepicker';
15
+ export * from './details';
15
16
  export * from './dialog';
16
17
  export * from './div';
17
18
  export * from './divider';
@@ -12,6 +12,7 @@ export * from "./checkbox/index.js";
12
12
  export * from "./coachmark/index.js";
13
13
  export * from "./context-menu/index.js";
14
14
  export * from "./datepicker/index.js";
15
+ export * from "./details/index.js";
15
16
  export * from "./dialog/index.js";
16
17
  export * from "./div/index.js";
17
18
  export * from "./divider/index.js";
@@ -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]`)
@@ -31,6 +31,7 @@ let GdsTable = class extends GdsElement {
31
31
  __privateAdd(this, _cacheDuration, 5 * 60 * 1e3);
32
32
  __privateAdd(this, _templateCache, /* @__PURE__ */ new Map());
33
33
  this.headlineTag = "h2";
34
+ this.searchLabel = msg("Search table");
34
35
  this.options = [5, 10, 20, 50, 100];
35
36
  this.page = 1;
36
37
  this.rows = 10;
@@ -433,7 +434,7 @@ renderHeaderControls_fn = function() {
433
434
  size="${__privateGet(this, _GdsTable_instances, Density_get).input}"
434
435
  plain
435
436
  clearable
436
- label="${msg("Search table")}"
437
+ label="${this.searchLabel}"
437
438
  .value=${this._view.searchQuery}
438
439
  @input=${__privateMethod(this, _GdsTable_instances, handleSearch_fn)}
439
440
  @gds-input-cleared=${__privateMethod(this, _GdsTable_instances, handleSearchClear_fn)}
@@ -1046,6 +1047,12 @@ __decorateClass([
1046
1047
  __decorateClass([
1047
1048
  property()
1048
1049
  ], GdsTable.prototype, "summary", 2);
1050
+ __decorateClass([
1051
+ property({
1052
+ attribute: "search-label",
1053
+ type: String
1054
+ })
1055
+ ], GdsTable.prototype, "searchLabel", 2);
1049
1056
  __decorateClass([
1050
1057
  property({ type: Array })
1051
1058
  ], GdsTable.prototype, "options", 2);