Releases: aws-amplify/amplify-ui
@aws-amplify/[email protected]
Minor Changes
- #6620
70e0d1eab7fc476fd09032aef8414e5a43483a49Thanks @soberm! - feat(storage-browser): Multi File Download
Patch Changes
- #6628
6f45d97a33ed487237326530bf9c1b2190d7c2faThanks @bobbor! - feat(storage-browser): paginate upload view
@aws-amplify/[email protected]
Patch Changes
- #6614
b245c0d45fb3728dc6a293f3ffda3cb9b123569bThanks @adrianjoshua-strutt! - fix(liveness): null-check for getSettings in UseMediaStreamInVideo
@aws-amplify/[email protected]
Patch Changes
- #6608
6eae6069d46fa548e2f43a757389204aac8fc8f1Thanks @osama-rizk! - fix(liveness): bump FACE_MOVEMENT_AND_LIGHT_CHALLENGE challenge to 2.0.0
@aws-amplify/[email protected]
Minor Changes
- #6606
8b77604dc4d92de5921eaa4fc3066d34506cb638Thanks @osama-rizk! - feat(liveness): add support for face movement only/no light challenge
@aws-amplify/[email protected]
Minor Changes
-
#6575
a004c2f1b9dc74075515a784edb1ee6ce2485602Thanks @tiffanynwyeung! - feat(storage-browser): add custom file validation and options configAdd custom file validation
import React from 'react'; import { createStorageBrowser } from '@aws-amplify/ui-react-storage/browser'; import '@aws-amplify/ui-react-storage/styles.css'; const MAX_FILE_SIZE = 1000 * 1000; // 1 MB const customValidateFile = (file: File) => { const isValidSize = file.size <= MAX_FILE_SIZE; const isValidType = file.type.includes('image'); return isValidSize && isValidType; }; const { StorageBrowser } = createStorageBrowser({ // ...config goes here... options: { validateFile: customValidateFile, }, }); export default function Example() { return ( <StorageBrowser displayText={{ UploadView: { getFilesValidationMessage: (data) => { const invalidFileNames = data?.invalidFiles?.map( ({ file }) => file.name ); return { content: `Only image files that are 1 MB or smaller are accepted. Invalid files: ${invalidFileNames}`, type: 'error', }; }, }, }} /> ); }
Patch Changes
- #6572
02cb81b87d8b59cef5e7b582b8a1b60e217c780eThanks @ashika112! - chore(StorageBrowser) : Generalize table resolver for default actions
@aws-amplify/[email protected]
Patch Changes
- #6521
1002c52796c78243f836c3c0edc95edfe244f112Thanks @calebpollman! - chore(lint): add consistent import/export type eslint rules
@aws-amplify/[email protected]
Patch Changes
- Updated dependencies [
1002c52796c78243f836c3c0edc95edfe244f112]:- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
-
#6521
1002c52796c78243f836c3c0edc95edfe244f112Thanks @calebpollman! - chore(lint): add consistent import/export type eslint rules -
Updated dependencies [
1002c52796c78243f836c3c0edc95edfe244f112]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
-
#6533
967559aaa1bb30c76c1b333eaeab998c013bfba4Thanks @calebpollman! - fix(StorageBrowser): update createEnhancedListHandler interfaces -
#6521
1002c52796c78243f836c3c0edc95edfe244f112Thanks @calebpollman! - chore(lint): add consistent import/export type eslint rules -
Updated dependencies [
1002c52796c78243f836c3c0edc95edfe244f112]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
-
#6521
1002c52796c78243f836c3c0edc95edfe244f112Thanks @calebpollman! - chore(lint): add consistent import/export type eslint rules -
Updated dependencies [
1002c52796c78243f836c3c0edc95edfe244f112]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
- @aws-amplify/[email protected]