@fluentui/react-motion
Advanced tools
Comparing version 0.0.0-nightly-20240717-1138.1 to 0.0.0-nightly-20240718-0406.1
# Change Log - @fluentui/react-motion | ||
This log was last generated on Wed, 17 Jul 2024 11:48:37 GMT and should not be manually modified. | ||
This log was last generated on Thu, 18 Jul 2024 04:16:36 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightly-20240717-1138.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-motion_v0.0.0-nightly-20240717-1138.1) | ||
## [0.0.0-nightly-20240718-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-motion_v0.0.0-nightly-20240718-0406.1) | ||
Wed, 17 Jul 2024 11:48:37 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-motion_v9.3.0..@fluentui/react-motion_v0.0.0-nightly-20240717-1138.1) | ||
Thu, 18 Jul 2024 04:16:36 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-motion_v9.3.0..@fluentui/react-motion_v0.0.0-nightly-20240718-0406.1) | ||
@@ -15,6 +15,6 @@ ### Changes | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com) | ||
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240717-1138.1 ([commit](https://github.com/microsoft/fluentui/commit/3e0ff456654a7259ce6bf87deddcc71ec6e32688) by beachball) | ||
- Bump @fluentui/react-utilities to v0.0.0-nightly-20240717-1138.1 ([commit](https://github.com/microsoft/fluentui/commit/3e0ff456654a7259ce6bf87deddcc71ec6e32688) by beachball) | ||
- Bump @fluentui/react-conformance to v0.0.0-nightly-20240717-1138.1 ([commit](https://github.com/microsoft/fluentui/commit/3e0ff456654a7259ce6bf87deddcc71ec6e32688) by beachball) | ||
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240717-1138.1 ([commit](https://github.com/microsoft/fluentui/commit/3e0ff456654a7259ce6bf87deddcc71ec6e32688) by beachball) | ||
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240718-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/b1a4d8ac03b366fccb627d383ab98bab9819acdd) by beachball) | ||
- Bump @fluentui/react-utilities to v0.0.0-nightly-20240718-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/b1a4d8ac03b366fccb627d383ab98bab9819acdd) by beachball) | ||
- Bump @fluentui/react-conformance to v0.0.0-nightly-20240718-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/b1a4d8ac03b366fccb627d383ab98bab9819acdd) by beachball) | ||
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240718-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/b1a4d8ac03b366fccb627d383ab98bab9819acdd) by beachball) | ||
@@ -21,0 +21,0 @@ ## [9.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-motion_v9.3.0) |
import * as React_2 from 'react'; | ||
import { SlotComponentType } from '@fluentui/react-utilities'; | ||
import { SlotRenderFunction } from '@fluentui/react-utilities'; | ||
@@ -205,4 +207,26 @@ export declare type AtomMotion = { | ||
export declare function presenceMotionSlot<MotionParams extends Record<string, MotionParam> = {}>(motion: PresenceMotionSlotProps<MotionParams> | null | undefined, options: { | ||
elementType: React_2.FC<PresenceComponentProps & MotionParams>; | ||
defaultProps: PresenceMotionSlotRenderProps & MotionParams; | ||
}): SlotComponentType<PresenceMotionSlotRenderProps & MotionParams>; | ||
export declare type PresenceMotionSlotProps<MotionParams extends Record<string, MotionParam> = {}> = Pick<PresenceComponentProps, 'imperativeRef' | 'onMotionFinish' | 'onMotionStart'> & { | ||
/** | ||
* @deprecated Do not use. Presence Motion Slots do not support intrinsic elements. | ||
* | ||
* If you want to override the animation, use the children render function instead. | ||
*/ | ||
as?: keyof JSX.IntrinsicElements; | ||
children?: SlotRenderFunction<PresenceMotionSlotRenderProps & MotionParams & { | ||
children: React_2.ReactElement; | ||
}>; | ||
}; | ||
/** | ||
* @internal | ||
*/ | ||
declare type PresenceMotionSlotRenderProps = Pick<PresenceComponentProps, 'appear' | 'onMotionFinish' | 'onMotionStart' | 'unmountOnExit' | 'visible'>; | ||
/** | ||
* @internal | ||
* | ||
@@ -209,0 +233,0 @@ * Override properties for presence transitions. |
@@ -32,2 +32,5 @@ "use strict"; | ||
return _motionTokens.motionTokens; | ||
}, | ||
presenceMotionSlot: function() { | ||
return _presenceMotionSlot.presenceMotionSlot; | ||
} | ||
@@ -40,1 +43,2 @@ }); | ||
const _PresenceGroup = require("./components/PresenceGroup"); | ||
const _presenceMotionSlot = require("./slots/presenceMotionSlot"); |
@@ -6,1 +6,2 @@ export { motionTokens, durations, curves } from './motions/motionTokens'; | ||
export { PresenceGroup } from './components/PresenceGroup'; | ||
export { presenceMotionSlot } from './slots/presenceMotionSlot'; |
{ | ||
"name": "@fluentui/react-motion", | ||
"version": "0.0.0-nightly-20240717-1138.1", | ||
"version": "0.0.0-nightly-20240718-0406.1", | ||
"description": "A package with utilities & motion definitions using Web Animations API", | ||
@@ -35,4 +35,4 @@ "main": "lib-commonjs/index.js", | ||
"@fluentui/eslint-plugin": "*", | ||
"@fluentui/react-conformance": "0.0.0-nightly-20240717-1138.1", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20240717-1138.1", | ||
"@fluentui/react-conformance": "0.0.0-nightly-20240718-0406.1", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20240718-0406.1", | ||
"@fluentui/scripts-api-extractor": "*", | ||
@@ -43,4 +43,4 @@ "@fluentui/scripts-tasks": "*", | ||
"dependencies": { | ||
"@fluentui/react-shared-contexts": "0.0.0-nightly-20240717-1138.1", | ||
"@fluentui/react-utilities": "0.0.0-nightly-20240717-1138.1", | ||
"@fluentui/react-shared-contexts": "0.0.0-nightly-20240718-0406.1", | ||
"@fluentui/react-utilities": "0.0.0-nightly-20240718-0406.1", | ||
"@swc/helpers": "^0.5.1", | ||
@@ -47,0 +47,0 @@ "react-is": "^17.0.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
202562
81
1780
4
+ Added@fluentui/keyboard-keys@0.0.0-nightly-20240718-0406.1(transitive)
+ Added@fluentui/react-shared-contexts@0.0.0-nightly-20240718-0406.1(transitive)
+ Added@fluentui/react-theme@0.0.0-nightly-20240718-0406.1(transitive)
+ Added@fluentui/react-utilities@0.0.0-nightly-20240718-0406.1(transitive)
+ Added@fluentui/tokens@0.0.0-nightly-20240718-0406.1(transitive)
- Removed@fluentui/keyboard-keys@0.0.0-nightly-20240717-1138.1(transitive)
- Removed@fluentui/react-shared-contexts@0.0.0-nightly-20240717-1138.1(transitive)
- Removed@fluentui/react-theme@0.0.0-nightly-20240717-1138.1(transitive)
- Removed@fluentui/react-utilities@0.0.0-nightly-20240717-1138.1(transitive)
- Removed@fluentui/tokens@0.0.0-nightly-20240717-1138.1(transitive)
Updated@fluentui/react-shared-contexts@0.0.0-nightly-20240718-0406.1
Updated@fluentui/react-utilities@0.0.0-nightly-20240718-0406.1