@sebgroup/green-core 2.36.0 → 2.37.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.
package/gds-element.js CHANGED
@@ -12,7 +12,7 @@ class GdsElement extends LitElement {
12
12
  /**
13
13
  * The semantic version of this element. Can be used for troubleshooting to verify the version being used.
14
14
  */
15
- this.semanticVersion = "2.36.0";
15
+ this.semanticVersion = "2.37.0";
16
16
  this._isUsingTransitionalStyles = false;
17
17
  this._dynamicStylesController = new DynamicStylesController(this);
18
18
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-03-03T12:20:44.589Z",
2
+ "generatedAt": "2026-03-04T13:02:57.964Z",
3
3
  "components": [
4
4
  {
5
5
  "name": "gds-alert",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-03-03T12:20:44.589Z",
2
+ "generatedAt": "2026-03-04T13:02:57.964Z",
3
3
  "icons": [
4
4
  {
5
5
  "name": "gds-icon-ai",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-03-03T12:20:44.589Z",
2
+ "generatedAt": "2026-03-04T13:02:57.964Z",
3
3
  "instructions": "./INSTRUCTIONS.md",
4
4
  "components": "./components.json",
5
5
  "icons": "./icons.json",
@@ -28,6 +28,7 @@
28
28
  | `striped` | `boolean` | `-` | Applies alternating row background colors. |
29
29
  | `actions` | `Types.Actions \| ((row: T, index: number) => any) \| undefined` | `-` | Defines row-level actions. Accepts: action configuration or custom rendering function |
30
30
  | `nocache` | `boolean` | `-` | Disables data caching mechanism. |
31
+ | `tfoot` | `Types.Tfoot \| undefined` | `-` | Configures a table footer row (`<tfoot>`) at the bottom of the table. The footer row provides slot insertion points for each visible column, letting consumers render any aggregation (sum, average, count, etc.). Use `tfoot.label` to optionally show a label in the first cell (omitted by default). Use `tfoot.sticky` to pin the footer to the bottom of the scroll area. Slot naming convention: `tfoot:{columnKey}` Accepts: `{ label?: string, sticky?: boolean }` or omit to disable. |
31
32
  | `dataLoadKey` | `string \| undefined` | `-` | Key to trigger data reloading when changed. Setting this to a new value forces the table to clear the cache and request new data from the data provider. The value can be any string that is not equal to the previous value. |
32
33
  | `height` | `string \| undefined` | `-` | Style Expression Property that controls the height property. Supports space tokens and all valid CSS width values. Sets the height of the table content area and enables vertical scrolling with a sticky header that remains visible. |
33
34
  | `variant` | `'primary' \| 'secondary' \| 'tertiary'` | `-` | Sets the visual variant of the table container card. Forwards to the underlying `gds-card` component. Accepts: `primary`, `secondary` (default), `tertiary`. > Variant naming will change in the next major release. |
@@ -51,6 +52,7 @@
51
52
  |------|-------------|
52
53
  | ``header-lead`` | Content displayed at the start of the table header (after search). |
53
54
  | ``header-trail`` | Content displayed at the end of the table header (before settings). |
55
+ | ``footer`` | Content displayed in the table footer area (before pagination). |
54
56
  | ``error`` | Custom error state content when data loading fails. |
55
57
  | ``empty`` | Custom empty state content when no data is available. |
56
58
  | ``no-results`` | Custom no results content when search returns empty. |
@@ -49,6 +49,7 @@ export * from './filter-chip/index.js';
49
49
  export * from './formatted-account/index.js';
50
50
  export * from './formatted-date/index.js';
51
51
  export * from './formatted-number/index.js';
52
+ export * from './radio-group/index.js';
52
53
  export * from './icons/icon-ai/index.js';
53
54
  export * from './icons/icon-airplane-up/index.js';
54
55
  export * from './icons/icon-archive/index.js';
@@ -388,10 +389,9 @@ export * from './icons/icon-youtube/index.js';
388
389
  export * from './icons/icon-zap/index.js';
389
390
  export * from './icons/icon-zoom-in/index.js';
390
391
  export * from './icons/icon-zoom-out/index.js';
391
- export * from './radio-group/index.js';
392
392
  export * from './segment/index.js';
393
- export * from './sensitive-date/index.js';
394
393
  export * from './sensitive-account/index.js';
394
+ export * from './sensitive-date/index.js';
395
395
  export * from './sensitive-number/index.js';
396
396
  export * from './menu-item/index.js';
397
397
  export * from './menu-heading/index.js';
@@ -49,6 +49,7 @@ export * from "./filter-chip/index.js";
49
49
  export * from "./formatted-account/index.js";
50
50
  export * from "./formatted-date/index.js";
51
51
  export * from "./formatted-number/index.js";
52
+ export * from "./radio-group/index.js";
52
53
  export * from "./icons/icon-ai/index.js";
53
54
  export * from "./icons/icon-airplane-up/index.js";
54
55
  export * from "./icons/icon-archive/index.js";
@@ -388,10 +389,9 @@ export * from "./icons/icon-youtube/index.js";
388
389
  export * from "./icons/icon-zap/index.js";
389
390
  export * from "./icons/icon-zoom-in/index.js";
390
391
  export * from "./icons/icon-zoom-out/index.js";
391
- export * from "./radio-group/index.js";
392
392
  export * from "./segment/index.js";
393
- export * from "./sensitive-date/index.js";
394
393
  export * from "./sensitive-account/index.js";
394
+ export * from "./sensitive-date/index.js";
395
395
  export * from "./sensitive-number/index.js";
396
396
  export * from "./menu-item/index.js";
397
397
  export * from "./menu-heading/index.js";
@@ -37,6 +37,7 @@ export declare const GdsTable: {
37
37
  striped?: boolean | undefined;
38
38
  actions?: import("../../../components/table/table.types").Actions | ((row: import("../../../components/table/table.types").Row, index: number) => any) | undefined;
39
39
  nocache?: boolean | undefined;
40
+ tfoot?: import("../../../components/table/table.types").Tfoot | undefined;
40
41
  dataLoadKey?: string | undefined;
41
42
  height?: string | undefined;
42
43
  variant?: "primary" | "secondary" | "tertiary" | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sebgroup/green-core",
3
3
  "description": "A carefully crafted set of Web Components, laying the foundation of the Green Design System.",
4
- "version": "2.36.0",
4
+ "version": "2.37.0",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-6d91ab";
3
+ const VER_SUFFIX = "-5dc5f5";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])