Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluentui/react-motion-components-preview

Package Overview
Dependencies
Maintainers
0
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-motion-components-preview - npm Package Compare versions

Comparing version 0.0.0-nightly-20241104-0408.1 to 0.0.0-nightly-20241105-0406.1

14

CHANGELOG.md
# Change Log - @fluentui/react-motion-components-preview
This log was last generated on Mon, 04 Nov 2024 04:13:11 GMT and should not be manually modified.
This log was last generated on Tue, 05 Nov 2024 04:10:25 GMT and should not be manually modified.
<!-- Start content -->
## [0.0.0-nightly-20241104-0408.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-motion-components-preview_v0.0.0-nightly-20241104-0408.1)
## [0.0.0-nightly-20241105-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-motion-components-preview_v0.0.0-nightly-20241105-0406.1)
Mon, 04 Nov 2024 04:13:11 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-motion-components-preview_v0.2.0..@fluentui/react-motion-components-preview_v0.0.0-nightly-20241104-0408.1)
Tue, 05 Nov 2024 04:10:25 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-motion-components-preview_v0.2.0..@fluentui/react-motion-components-preview_v0.0.0-nightly-20241105-0406.1)

@@ -15,5 +15,5 @@ ### Changes

- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
- Bump @fluentui/react-motion to v0.0.0-nightly-20241104-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/1c03df0bb0e5a1b1757b2045b9faf77f01ed022c) by beachball)
- Bump @fluentui/react-conformance to v0.0.0-nightly-20241104-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/1c03df0bb0e5a1b1757b2045b9faf77f01ed022c) by beachball)
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20241104-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/1c03df0bb0e5a1b1757b2045b9faf77f01ed022c) by beachball)
- Bump @fluentui/react-motion to v0.0.0-nightly-20241105-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/7786365a6cb520e8adc36db34a372ad9f38a637e) by beachball)
- Bump @fluentui/react-conformance to v0.0.0-nightly-20241105-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/7786365a6cb520e8adc36db34a372ad9f38a637e) by beachball)
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20241105-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/7786365a6cb520e8adc36db34a372ad9f38a637e) by beachball)

@@ -20,0 +20,0 @@ ## [0.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-motion-components-preview_v0.2.0)

@@ -1,2 +0,1 @@

// ----- SIZE -----
"use strict";

@@ -32,2 +31,3 @@ Object.defineProperty(exports, "__esModule", {

});
// ----- SIZE -----
const sizeValuesForOrientation = (orientation, element)=>{

@@ -34,0 +34,0 @@ const sizeName = orientation === 'horizontal' ? 'maxWidth' : 'maxHeight';

@@ -33,3 +33,5 @@ "use strict";

const _collapseatoms = require("./collapse-atoms");
const createCollapseDelayedPresence = ({ enterSizeDuration = _reactmotion.motionTokens.durationNormal, enterOpacityDuration = enterSizeDuration, enterEasing = _reactmotion.motionTokens.curveEasyEaseMax, enterDelay = 0, exitSizeDuration = enterSizeDuration, exitOpacityDuration = enterOpacityDuration, exitEasing = enterEasing, exitDelay = 0 } = {})=>({ element, animateOpacity = true, orientation = 'vertical' })=>{
const createCollapseDelayedPresence = ({ // enter
enterSizeDuration = _reactmotion.motionTokens.durationNormal, enterOpacityDuration = enterSizeDuration, enterEasing = _reactmotion.motionTokens.curveEasyEaseMax, enterDelay = 0, // exit: durations and easing default to enter values for symmetry
exitSizeDuration = enterSizeDuration, exitOpacityDuration = enterOpacityDuration, exitEasing = enterEasing, exitDelay = 0 } = {})=>({ element, animateOpacity = true, orientation = 'vertical' })=>{
// ----- ENTER -----

@@ -86,3 +88,4 @@ // The enter transition is an array of up to 3 motion atoms: size, whitespace and opacity.

};
const createCollapsePresence = ({ enterDuration = _reactmotion.motionTokens.durationNormal, enterEasing = _reactmotion.motionTokens.curveEasyEaseMax, exitDuration = enterDuration, exitEasing = enterEasing } = {})=>// where the delays are zero, and the size and opacity durations are equal.
const createCollapsePresence = ({ enterDuration = _reactmotion.motionTokens.durationNormal, enterEasing = _reactmotion.motionTokens.curveEasyEaseMax, exitDuration = enterDuration, exitEasing = enterEasing } = {})=>// Implement a regular collapse as a special case of the delayed collapse,
// where the delays are zero, and the size and opacity durations are equal.
createCollapseDelayedPresence({

@@ -89,0 +92,0 @@ enterSizeDuration: enterDuration,

@@ -1,11 +0,1 @@

/**
* This is a factory function that generates a motion function, which has variant params bound into it.
* The generated motion function accepts other runtime params that aren't locked into the variant, but supplied at runtime.
* This separation allows the variant to be defined once and reused with different runtime params which may be orthogonal to the variant params.
* For example, a variant may define the duration and easing of a transition, which are fixed for all instances of the variant,
* while the runtime params may give access to the target element, which is different for each instance.
*
* The generated motion function is also framework-independent, i.e. non-React.
* It can be turned into a React component using `createPresenceComponent`.
*/ // TODO: move to @fluentui/react-motion when stable
"use strict";

@@ -12,0 +2,0 @@ Object.defineProperty(exports, "__esModule", {

{
"name": "@fluentui/react-motion-components-preview",
"version": "0.0.0-nightly-20241104-0408.1",
"version": "0.0.0-nightly-20241105-0406.1",
"description": "A preview package for Fluent UI motion components, providing a collection of components",

@@ -20,21 +20,10 @@ "main": "lib-commonjs/index.js",

"license": "MIT",
"scripts": {
"build": "just-scripts build",
"clean": "just-scripts clean",
"generate-api": "just-scripts generate-api",
"lint": "just-scripts lint",
"start": "yarn storybook",
"storybook": "yarn --cwd ../stories storybook",
"test": "jest --passWithNoTests",
"type-check": "just-scripts type-check"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "0.0.0-nightly-20241104-0408.1",
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20241104-0408.1",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
"@fluentui/react-conformance": "0.0.0-nightly-20241105-0406.1",
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20241105-0406.1",
"@fluentui/scripts-api-extractor": "*"
},
"dependencies": {
"@fluentui/react-motion": "0.0.0-nightly-20241104-0408.1",
"@fluentui/react-motion": "0.0.0-nightly-20241105-0406.1",
"@swc/helpers": "^0.5.1"

@@ -41,0 +30,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc