Skip to content

Changelog - @caspeco/casper-ui-library

Version 6.0.0

What’s Changed

Library changes

  • Table row action menu & row type overhaul by @MarcusCaspeco in https://github.com/Caspeco/casper-ui-library/pull/474

    This is a breaking change because some exported types have been removed and renamed. The functionality is backwards compatible.

    REMOVED TYPES: TableSubrows RENAMED TYPES: TableDataType -> TableRow

    If you had a type like this before 6.0.0:

    type Row = {
    id: string;
    name: string;
    subRows?: Row[];
    };

    Please type it like this after 6.0.0:

    type Row = TableRow<{ id: string; name: string }>

    This way you will automatically get subRows and any props we choose to add in later versions of Table.

Dependencies

Full Changelog: https://github.com/Caspeco/casper-ui-library/compare/5.6.1...6.0.0