This PR updates PCUI from Storybook 6 to 7. Some things to note:
The background color for all stories now correctly defaults to the standard PCUI color.
TypeScript has been updated to version 5.x. Storybook 6 was holding it back on version 4.x.
Renamed BindingObserversToElement#_events to BindingObserversToElement#_eventHandles because the base Events class has a _events property. Storybook 7 errors based on this.
The package-lock.json has dropped from 2.6MB to 1.2MB.
Note that there is a minor problem with the version 7 update. Initially, the ArrayInput stories can display an error until you click on another story and then click back. It's not clear why this is happening but since it's not a major problem, we can fix it later.
This PR updates PCUI from Storybook 6 to 7. Some things to note:
BindingObserversToElement#_events
toBindingObserversToElement#_eventHandles
because the baseEvents
class has a_events
property. Storybook 7 errors based on this.package-lock.json
has dropped from 2.6MB to 1.2MB.Note that there is a minor problem with the version 7 update. Initially, the
ArrayInput
stories can display an error until you click on another story and then click back. It's not clear why this is happening but since it's not a major problem, we can fix it later.