@scania/tegel-react 1.48.0 → 1.49.1

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.
@@ -696,7 +696,10 @@ export const TdsTableBodyRowExpandable = /*@__PURE__*/ createComponent({
696
696
  elementClass: TdsTableBodyRowExpandableElement,
697
697
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
698
698
  react: React,
699
- events: { onTdsChange: 'tdsChange' },
699
+ events: {
700
+ onTdsChange: 'tdsChange',
701
+ onTdsSelect: 'tdsSelect'
702
+ },
700
703
  defineCustomElement: defineTdsTableBodyRowExpandable
701
704
  });
702
705
  export const TdsTableFooter = /*@__PURE__*/ createComponent({
@@ -338,6 +338,11 @@ export type TdsTableBodyRowExpandableEvents = {
338
338
  isExpanded: boolean;
339
339
  tableId: string | undefined;
340
340
  }>>;
341
+ onTdsSelect: EventName<TdsTableBodyRowExpandableCustomEvent<{
342
+ tableId: string | undefined;
343
+ checked: boolean;
344
+ selectedRows: object[] | undefined;
345
+ }>>;
341
346
  };
342
347
  export declare const TdsTableBodyRowExpandable: StencilReactComponent<TdsTableBodyRowExpandableElement, TdsTableBodyRowExpandableEvents>;
343
348
  export type TdsTableFooterEvents = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scania/tegel-react",
3
- "version": "1.48.0",
3
+ "version": "1.49.1",
4
4
  "description": "React wrappers for Tegel package",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/scania-digital-design-system/tegel#readme",
29
29
  "dependencies": {
30
- "@scania/tegel": "^1.48.0",
30
+ "@scania/tegel": "^1.49.1",
31
31
  "@stencil/react-output-target": "1.3.0"
32
32
  },
33
33
  "devDependencies": {