Releases: aws-amplify/amplify-ui
Releases · aws-amplify/amplify-ui
@aws-amplify/[email protected]
Patch Changes
- Updated dependencies [
e4d8cc8c04dd428d38289085a9bf797b87c058a2
,e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
,80a0bd6f5179ff585ecc1fec4e6e3f152669258e
,58d7b1ba39b41d59f99328a9c46d92cce840fcdf
]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
- Updated dependencies [
e4d8cc8c04dd428d38289085a9bf797b87c058a2
,e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
- Updated dependencies [
e4d8cc8c04dd428d38289085a9bf797b87c058a2
,e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
,80a0bd6f5179ff585ecc1fec4e6e3f152669258e
,58d7b1ba39b41d59f99328a9c46d92cce840fcdf
]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
- Updated dependencies [
e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
]:- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
-
#6504
e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
Thanks @calebpollman! - feat(storage-browser): add defaultValue, value, and onValueChange propsControlled
StorageBrowser
'use client'; import React from 'react'; import { useRouter, usePathname, useSearchParams } from 'next/navigation'; import { StorageBrowser } from '@aws-amplify/ui-react-storage'; import { StorageBrowserEventValue } from '@aws-amplify/ui-react-storage/browser'; export default function Page() { const router = useRouter(); const pathname = usePathname(); const params = useSearchParams(); const value = params.get('value'); const handleValueChange = React.useCallback( (nextValue: StorageBrowserEventValue) => { const nextParams = new URLSearchParams(); nextParams.set('value', JSON.stringify(nextValue)); router.push(`${pathname}?${nextParams.toString()}`); }, [pathname, router] ); return ( <StorageBrowser onValueChange={handleValueChange} value={value ? JSON.parse(value) : null} /> ); }
Initialize with
defaultValue
'use client'; import { StorageBrowser } from '@aws-amplify/ui-react-storage'; import { useSearchParams } from 'next/navigation'; export default function Page() { const params = useSearchParams(); const value = params.get('value'); return <StorageBrowser defaultValue={value ? JSON.parse(value) : null} />; }
-
Updated dependencies [
e4d8cc8c04dd428d38289085a9bf797b87c058a2
,e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
]:- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
- Updated dependencies [
e4d8cc8c04dd428d38289085a9bf797b87c058a2
,e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Minor Changes
-
#6389
58d7b1ba39b41d59f99328a9c46d92cce840fcdf
Thanks @dbanksdesign! - feat(ai): adding document supportThe AIConversation component now accepts documents as attachments. The document file types are the ones Bedrock supports. This also fixes a bug where a user can submit empty messages in succession by pressing enter rapidly.
Patch Changes
- Updated dependencies [
e4d8cc8c04dd428d38289085a9bf797b87c058a2
,e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
,80a0bd6f5179ff585ecc1fec4e6e3f152669258e
,58d7b1ba39b41d59f99328a9c46d92cce840fcdf
]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Patch Changes
- Updated dependencies [
e4d8cc8c04dd428d38289085a9bf797b87c058a2
,e533dbbdade9d5ffdbd5aa7c446d958dd1980d43
]:- @aws-amplify/[email protected]
@aws-amplify/[email protected]
Minor Changes
- #6469
36c631a076b7d3d1aafc18a5854575e20e0592c2
Thanks @jjarvisp! - feat(authenticator): add support for email otp and select mfa type challenges
@aws-amplify/[email protected]
Minor Changes
- #6469
36c631a076b7d3d1aafc18a5854575e20e0592c2
Thanks @jjarvisp! - feat(authenticator): add support for email otp and select mfa type challenges
Patch Changes
- Updated dependencies [
36c631a076b7d3d1aafc18a5854575e20e0592c2
]:- @aws-amplify/[email protected]