adaburrows / table-web-component

A flexible table web component written using Lit.
Apache License 2.0
3 stars 0 forks source link

Readme is indicating to import Table but the package is not exporting that #5

Closed nick-stebbings closed 1 year ago

nick-stebbings commented 1 year ago

After following the instructions (npm add ... ) and the second set of imports

import { ScopedRegistryHost } from '@lit-labs/scoped-registry-mixin';
import { FieldDefinitions, FieldDefinition, TableStore, Table } from '@adaburrows/table-web-component';

I cannot import Table.

Rendering as described in the instructions (<adaburrows-table .tableStore=${this.tableStore}></adaburrows-table>) did not work, there was no content, so I switched to headless mode.

adaburrows commented 1 year ago

Thanks, I forgot to test using the top level index. I think this made it past my last revision because they were using the headless mode.

adaburrows commented 1 year ago

Ok, I just pushed a new version that should be exporting things properly. Please check to make sure got things sorted for you.