@aleph-alpha/ui-library 1.19.0 → 1.20.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/dist/system/index.d.ts +5 -0
- package/dist/system/lib.js +1624 -1654
- package/docs/public-docs/getting-started-designers.md +19 -6
- package/package.json +3 -3
- package/src/patterns/UiDataTable/UiDataTable.stories.ts +98 -1
- package/src/patterns/UiDataTable/UiDataTable.vue +15 -0
- package/src/patterns/UiDataTable/UiDataTableColumnHeader.vue +29 -55
- package/src/patterns/UiDataTable/__tests__/UiDataTable.test.ts +90 -8
- package/src/patterns/UiDataTable/__tests__/UiDataTableColumnHeader.test.ts +27 -81
- package/src/patterns/UiDataTable/types.ts +5 -0
package/dist/system/index.d.ts
CHANGED
|
@@ -4463,6 +4463,11 @@ export declare type UiDataTableProps<TData, TValue> = {
|
|
|
4463
4463
|
* @example "400px"
|
|
4464
4464
|
*/
|
|
4465
4465
|
tableMinHeight?: string;
|
|
4466
|
+
/**
|
|
4467
|
+
* Callback when a data row is clicked. Receives the row's original data item.
|
|
4468
|
+
* @example (item) => router.push(`/details/${item.id}`)
|
|
4469
|
+
*/
|
|
4470
|
+
onRowClick?: (item: TData) => void;
|
|
4466
4471
|
};
|
|
4467
4472
|
|
|
4468
4473
|
export declare const UiDataTableToolbar: <TData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|