From e7e4247fa6c1c66057475da25ff3d8d029b7ecf2 Mon Sep 17 00:00:00 2001 From: Matthew Wilcoxson Date: Mon, 9 Feb 2026 12:14:28 +0000 Subject: [PATCH] New version tweaks --- changelog.md | 8 +++++++- package.json | 2 +- readme.md | 8 +++++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/changelog.md b/changelog.md index c4379c6..d11ea7a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,19 +1,25 @@ SciReactUI Changelog ==================== -[v0.3.1alpha] - 2025-?-? +[v0.3.1alpha] - 2026-?-? ------------------------ ### Added - New *Progress* component based on Diamond Light added. - New *ProgressDelayed* component so that the progress isn't shown at all when it's a small wait. +- *AuthProvider* added for authentication to Keycloak. +- An *auth* parameter was added to *User* to simplify when *AuthProvider* is used. +- *ScrollableImages* can now display in a wide view, with multiple images. ### Fixed - Hovering over a slot caused a popup with the slot title in. This has been removed. - Stopped Bar-based components (e.g. Navbar, Footer) from expanding when a parent component has a set height - The base *Bar* component was not being exported. +- Various fixes to improve accessibility +- *ScrollableImages* could attempt accessing images outside of array. ### Changed +- *BaseTheme*/*DiamondTheme* secondary colour of dark theme has been much darkened. (You can select *DiamondOldTheme* if you prefer the older one!) - Remove first-child css selector as it causes problems with server-side rendering. diff --git a/package.json b/package.json index 31b7b7e..ee27426 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@diamondlightsource/sci-react-ui", - "version": "0.3.1-alpha.3", + "version": "0.3.1-alpha.4", "files": [ "dist/" ], diff --git a/readme.md b/readme.md index 9670246..1d599aa 100644 --- a/readme.md +++ b/readme.md @@ -146,7 +146,8 @@ Any children passed to the Footer will be placed in a horizontal Stack after the ### Documentation -Documentation is created with Storybook. +Documentation is created with Storybook. Additional information about auth, colours and theming can be found there. + Read and play with it at [diamondlightsource.github.io/sci-react-ui](https://diamondlightsource.github.io/sci-react-ui/) Developing @@ -217,9 +218,10 @@ Steps needed when publishing a new version. - Check this readme still makes sense with the new changes you are about to publish. - Check the introduction file [./src/storybook/Introduction.mdx](src/storybook/Introduction.mdx) in Storybook still makes sense. - Push the branch, get it reviewed and merge. -- Now create a new tag in the format "v" followed by the version (e.g. "v1.2.3") +- Now create a new tag in the format "v" followed by the version (e.g. "v1.2.3", or "v1.2.3-alpha.1") - Push it. -- A new npm version should now have been published. +- A new npm version should now have been published: + - https://www.npmjs.com/package/@diamondlightsource/sci-react-ui?activeTab=versions ### GitHub release - GitHub releases and create a new draft release https://github.com/DiamondLightSource/sci-react-ui/releases