VDT Changes [VDT RN]
The information on this page is sourced from here: Start Here / Changelog - Page ⋅ Storybook (vidispine.github.io)
23.1.0
cra-template-vdt
No changes.
@vidispine/eslint-config
No changes.
@vidispine/eslint-config-typescript
dependencies
@typescript-eslint/eslint-plugin
5.44.0 -> 5.53.0@typescript-eslint/parser
5.44.0 -> 5.53.0eslint-config-prettier
8.5.0 -> 8.6.0eslint-plugin-import
2.26.0 -> 2.27.5
@vidispine/eslint-config-base
dependencies
eslint-plugin-import
2.26.0 -> 2.27.5
@vidispine/eslint-config-react
dependencies
eslint-plugin-import
2.26.0 -> 2.27.5eslint-plugin-jsx-a11y
6.6.1 -> 6.7.1eslint-plugin-react
7.31.11 -> 7.32.2
example-vdt-mui-app
Updates
Add vdt theme override examples
Add typescript support
Bug fixes
Fix so redirect to login works if token is invalid on startup
example-vdt-material-app
Updates
Add possibility to cancel search requests
@vidispine/prettier-config
No changes.
@vidispine/proptypes
dependencies
@babel/runtime
7.20.1 -> 7.21.0
@vidispine/types
No changes, types same between 22.4 and 23.1.
@vidispine/vdt-api
dependencies
@babel/runtime
7.20.1 -> 7.21.0
@vidispine/vdt-js
New
FILE_STATES
Const for VidiCore file statesFIELD_ATTRIBUTE_KEYS
Const for VidiCore field attributesFIELD_VALUE_ATTRIBUTE_KEYS
Const for all VidiCore rolesGROUP_ATTRIBUTE_KEYS
Const for VidiCore field group attributes
Updates
parseVideoComponent
Fix bug parsing bitrateparseVideoComponent
> videoBitrateMbps: Return numerical bitrate in mbpsparseAudioComponent
> audioBitrateKbps: Return numerical bitrate in kbpsparseShapeType
Add (the above mentioned) numerical bitrates for video and audioTimecode.conformTimeBase()
Add possibility to override options for create timecodeGeneral improvement of stories/docs - include comments, hierarchy and default values
dependencies
@babel/runtime
7.20.1 -> 7.21.0filesize
10.0.5 -> 10.0.6
@vidispine/vdt-mui
Breaking change
Removed the legacy
@mui/styles
/withStyles
styling and consequently removed the possibility to override withclasses
, usesstyled
only nowSee vdt-mui overview documentation for possible alternatives to override styles (
sx
,styled
,className
or theme overrides)See https://mui.com/system/styles/basics/ for more info about deprecation of @mui/styles in mui v5
SwitchInput
replaced withBooleanInput
and proptype: "switch"
CheckboxInput
replaced withBooleanInput
and proptype: "checkbox"
New
BasicDateTimeInput
included as publicly exportedItemPoster
Component for displaying an item posterItemPosterList
Component for displaying all item posters in an image listItemPosterViewer
Component for browsing through item posters in a viewerCalendarPicker
Component to select single/range date with double calendar view, utilizing@mui/x-date-pickers
MaskedTextInput
Input component to show a masked text input, utilizingreact-imask
DateRangeInput
Input component to select date range, utilizing@mui/x-date-pickers
andreact-imask
BooleanInput
added, combiningSwitchInput
andCheckboxInput
select which to use with
type: "checkbox" / "switch"
Updates
ItemList
/CollectionList
/EntityList
addingheader
prop to use list headerItemCard
/CollectionCard
updated withMoved expand button to the bottom right corner (after checkbox)
Separate
CardContentExpanded
component
CheckboxGroupInput
/RadioGroupInput
updated withImproved horizontal alignment with
labelPlacement: "start" or "end"
Added possibility to display
count
ImageCollage
updated withshowBlurredImage
prop to add blurred background for each images individuallyimageSlot
replaced withcomponents.ImageBox
Propagates to components using it such as
CollectionRepresentativeThumbnail
,CollectionCard
, `Item
DateTimeInput
updated withAdded prop to set
size
Native browser
autoComplete
turned off
SelectInput
added possibility to displaycount
TagInput
updated withadded possibility to display
count
added
MenuItem
to components/componentsProps
Improved overview documentation
ESM bundle only, improved tree-shake, per module dependency imports, disabled "sideEffects"
dependencies
@babel/runtime
7.20.1 -> 7.21.0@mui/icons-material
5.10.15 -> 5.11.9@mui/lab
5.0.0-alpha.109 -> 5.0.0-alpha.120@mui/material
5.10.15 -> 5.11.10@mui/styles
removed@mui/system
removed
peerDependencies
These are optional, see vdt-mui installation doc to see which are needed depending on components you use
@mui/x-date-pickers
^5.0.0 (added as peerDep instead of dep)dayjs
^1.0.0 (added as peerDep instead of dep)react-imask
: ^6.4.3@vidispine/vdt-videojs-react
removed, unused
@vidispine/vdt-materialui
Updates
ItemPlayer
Item source selection fixEntityAccessAdd
Fix possibility to group share, displaying real username,EntityAccessEdit
booleandisplayRealName
(default false) added forUserPickerComponent
to display real name instead of usernameEntityAccessRow
booleandisplayRealName
(default false) added to display real name instead of usernameSavedSearchAccessList
objectgetEntityAccessProps
added in order to set query params toAccessApi.listEntityAccess
SearchItemForm
Added possibility to cancel basic search requestSearchInput
Added onCancel callback, accessible with button when submitting and hovering the search buttonQueryBuilderCard
add general/base operator, optional to use withshowGeneralOperator
boolean propUpdated build to ESM only, improved tree-shake, per module dependency imports, disabled "sideEffects"
useCsvDownload
Add onError param toonGetFile
callbackESM bundle only, improved tree-shake, per module dependency imports, disabled "sideEffects"
dependencies
@babel/runtime
7.20.1 -> 7.21.0core-js
3.24.1 -> 3.28.0filesize
10.0.5 -> 10.0.6final-form
4.20.7 -> 4.20.9react-select
5.6.1 -> 5.7.0
@vidispine/vdt-react
Updates
ESM bundle only, improved tree-shake, per module dependency imports, disabled "sideEffects"
Bug fixes
useSearch
Fixed issue with wrong name for actionssetQueryParams
andsetMatrixParams
dependencies
@babel/runtime
7.20.1 -> 7.21.0
@vidispine/vdt-react-timeline
Breaking change
getStackOverlappingEventsProps
Removed, can be found inside the Timeline > Customize story code example
Updates
ESM bundle only, improved tree-shake, per module dependency imports, disabled "sideEffects"
dependencies
@babel/runtime
7.20.1 -> 7.21.0konva
8.3.14 -> 8.4.2
@vidispine/vdt-videojs-react
Updates
ESM bundle only, improved tree-shake, per module dependency imports, disabled "sideEffects"
dependencies
@babel/runtime
7.20.1 -> 7.21.0
@vidispine/vdt-videojs
dependencies
@babel/runtime
7.20.1 -> 7.21.0
core
Included links to const docs from storybook
VDT license displayed inside storybook as well
Splitting up and improving global installation docs to be individual per package in storybook
Fixed responsive styling inside canvas for storybook
Removed displaying stories inside docs view for components with focus on code usage examples
Components with re-renders/state changes inside docs view aren't performant using inline stories in Storybook