diff --git a/.tool-versions b/.tool-versions index 31777b4..695dfec 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 22.0.0 \ No newline at end of file +nodejs 24 diff --git a/website/docs/public/loading_embed_in_xonboard.mp4 b/website/docs/public/loading_embed_in_xonboard.mp4 new file mode 100644 index 0000000..66c1ff2 Binary files /dev/null and b/website/docs/public/loading_embed_in_xonboard.mp4 differ diff --git a/website/docs/software_partners/getting_started/index.md b/website/docs/software_partners/getting_started/index.md index 7605823..e5a77d0 100644 --- a/website/docs/software_partners/getting_started/index.md +++ b/website/docs/software_partners/getting_started/index.md @@ -330,5 +330,6 @@ To handle these in your integration: - [Customise the look and feel](/software_partners/how_to_guides/customise_the_look_and_feel/index.html) to match your brand - Read about [SuperAPI entities](/software_partners/explanations/understanding_super_api_entities/index.html) to understand the full data model - Explore the [API reference](https://api.superapi.com.au/swaggerui) for all available endpoints +- Using TypeScript and want an opinionated experience integrating with our embeds? Install our library via [NPM](https://www.npmjs.com/package/@super-api/super-api-embed) and view the source on [Github](https://github.com/supersimplesuper/super-api-embed). diff --git a/website/docs/software_partners/how_to_guides/customise_the_look_and_feel/index.md b/website/docs/software_partners/how_to_guides/customise_the_look_and_feel/index.md index fe2a5a7..4e8e048 100644 --- a/website/docs/software_partners/how_to_guides/customise_the_look_and_feel/index.md +++ b/website/docs/software_partners/how_to_guides/customise_the_look_and_feel/index.md @@ -33,6 +33,16 @@ When adding your theme, start small. SuperAPI has a base theme, so rather than s We are more than happy to help you implement your theme. Contact us at support@superapi.com.au and we can provide guidance or even create the first draft of your theme to get you started. ::: +## Adding a custom loader + +If you are utilizing our [Javascript library](https://github.com/supersimplesuper/super-api-embed), you can define your own iFrame loading state. + + + +This is accomplished by providing an loading element when the embed object is constructed as part of the `createLoader` key. + ## Beyond the variables The variable system has been designed to let you safely make theme changes without affecting how the site functions. However, there are times when you may want to go beyond variable tweaks. For example, you may want to add drop shadows to certain cards. In these cases we can support adding additional custom styles to your theme, but you will need to work with us to ensure these changes do not impact site functionality.