dataset
property replaced bysolidDataset
in components so that the property would not conflict with intrisic HTML element attributes.- Components such as
text
andvalue
no longer throw errors if something goes wrong during reading or saving, and instead always callonError
if provided.
- All components which previously took a
property
prop now can optionally accept aproperties
prop instead, which will be an ordered list of properties to attempt to read and write from. If none of the properties have values, the first will be used if editing data.
- Upgraded dependencies, especially solid-client-* to v1.0
sessionId
is now optional forSessionProvider
- Add login and logout functions to SessionContext/SessionProvider
- Updated solid-client-auth to 0.2.2, and solid-client to 0.6.1
- Added
errorComponent
to<Image>
and<Video>
, allowing a placeholder component to be rendered in the place of either in case a thing or value is not found.
- Updated package dependencies
- Added
getRowProps
to<Table>
, allowing a function to be provided to generate attributes for each<tr>
, based on row data.
- ThingProvider correctly updates its stored Thing in state in response to changes in
thing
prop
- Pass saved dataset and thing to onSave in Text and Value
- Exported
setDataset
andsetThing
from DatasetProvider and ThingProvider, respectively. This allows components which save data to reset the dataset to what the server returns. - Allow non-
URL
values to be set for the LoginButton. This prevents some errors from occuring, such as if the value is updated as the user types. - Added additional storybook documentation and cleaned up examples.
- Breaking change to Table -
things
prop now takes an array of objects{ dataset, thing }
- Added type for
useSession
return value - Updated decimal and datetime
<Value>
types to add "step="any" by default - Reduced bundle size (making react-table and swr external imports)
- Upgraded to storybook 6
- @inrupt/solid-client version to 0.4.0
- Add useThing and useDataset hooks
- Added sortable/filterable
<Table>
and<TableColumn>
, to display rows of Things and columns of properties - Tidied logs when testing intentionally thrown errors
- Improve handling of unloaded datasets with
<Image>
,<Text>
, and<Value>
components.
- Allow
<DatasetProvider>
to render aloading
property or component instead of its children
- Allow
<Image>
and<Video>
to read data from ThingContext
- Generate TypeScript definition files
- Simplify NPM package structure and files
- Exported all components, contexts, and providers from src/index.js.
- Switched from
solid-auth-client
to@inrupt/solid-client-authn-browser
for authentication, which allows for dynamic registration and DPoP OIDC flow
-
Added sub-folders for storybook Authentication Providers Components
-
Added storybook knobs to image video and link components
-
Added storybook knobs to Dataset Thing and Combined providers
- Added context support for the component
- Added Video component
- @inrupt/solid-client version to 0.1.1
- Dataset Provider Context
- Thing Provider Context
- Combined Dataset and Thing Provider wrapper
- Image component
- Session Provider Context
- useSession hook
- Log In Component:
- Log Out Component