@fluentui/react-motion-components-preview 0.10.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/dist/index.d.ts +22 -17
  3. package/lib/atoms/blur-atom.js +1 -0
  4. package/lib/atoms/blur-atom.js.map +1 -1
  5. package/lib/atoms/rotate-atom.js +1 -0
  6. package/lib/atoms/rotate-atom.js.map +1 -1
  7. package/lib/atoms/scale-atom.js +1 -0
  8. package/lib/atoms/scale-atom.js.map +1 -1
  9. package/lib/atoms/slide-atom.js +1 -0
  10. package/lib/atoms/slide-atom.js.map +1 -1
  11. package/lib/components/Collapse/Collapse.js +56 -72
  12. package/lib/components/Collapse/Collapse.js.map +1 -1
  13. package/lib/components/Collapse/collapse-atoms.js +9 -10
  14. package/lib/components/Collapse/collapse-atoms.js.map +1 -1
  15. package/lib/components/Collapse/collapse-test-utils.js +137 -0
  16. package/lib/components/Collapse/collapse-test-utils.js.map +1 -0
  17. package/lib/components/Collapse/collapse-types.js.map +1 -1
  18. package/lib/components/Collapse/index.js.map +1 -1
  19. package/lib/index.js.map +1 -1
  20. package/lib-commonjs/atoms/blur-atom.js.map +1 -1
  21. package/lib-commonjs/atoms/rotate-atom.js.map +1 -1
  22. package/lib-commonjs/atoms/scale-atom.js.map +1 -1
  23. package/lib-commonjs/atoms/slide-atom.js.map +1 -1
  24. package/lib-commonjs/components/Collapse/Collapse.js +56 -72
  25. package/lib-commonjs/components/Collapse/Collapse.js.map +1 -1
  26. package/lib-commonjs/components/Collapse/collapse-atoms.js +9 -10
  27. package/lib-commonjs/components/Collapse/collapse-atoms.js.map +1 -1
  28. package/lib-commonjs/components/Collapse/collapse-test-utils.js +155 -0
  29. package/lib-commonjs/components/Collapse/collapse-test-utils.js.map +1 -0
  30. package/lib-commonjs/components/Collapse/index.js.map +1 -1
  31. package/lib-commonjs/index.js.map +1 -1
  32. package/package.json +1 -1
@@ -0,0 +1,155 @@
1
+ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ getCollapseDurationInfo: function() {
13
+ return getCollapseDurationInfo;
14
+ },
15
+ getCollapseMotionValidation: function() {
16
+ return getCollapseMotionValidation;
17
+ },
18
+ getCollapseOrientationInfo: function() {
19
+ return getCollapseOrientationInfo;
20
+ },
21
+ getCollapseTimingInfo: function() {
22
+ return getCollapseTimingInfo;
23
+ },
24
+ getOpacityComparisonInfo: function() {
25
+ return getOpacityComparisonInfo;
26
+ },
27
+ getSizeAtomInfo: function() {
28
+ return getSizeAtomInfo;
29
+ },
30
+ getWhitespaceAtomInfo: function() {
31
+ return getWhitespaceAtomInfo;
32
+ }
33
+ });
34
+ function getCollapseMotionValidation(motion) {
35
+ return {
36
+ enterCount: motion.enter.length,
37
+ exitCount: motion.exit.length,
38
+ hasEnterOpacity: motion.enter.length === 3 && 'opacity' in (motion.enter[2].keyframes[0] || {}),
39
+ hasExitOpacity: motion.exit.length === 3 && 'opacity' in (motion.exit[0].keyframes[0] || {}),
40
+ enterStructure: motion.enter.map((atom)=>({
41
+ hasKeyframes: Array.isArray(atom.keyframes),
42
+ hasDuration: typeof atom.duration === 'number',
43
+ hasEasing: typeof atom.easing === 'string',
44
+ hasDelay: typeof atom.delay === 'number'
45
+ })),
46
+ exitStructure: motion.exit.map((atom)=>({
47
+ hasKeyframes: Array.isArray(atom.keyframes),
48
+ hasDuration: typeof atom.duration === 'number',
49
+ hasEasing: typeof atom.easing === 'string',
50
+ hasDelay: typeof atom.delay === 'number'
51
+ }))
52
+ };
53
+ }
54
+ function getCollapseTimingInfo(motion, animateOpacity = true) {
55
+ var _motion_enter_, _motion_enter_1, _motion_enter_2, _motion_exit_, _motion_exit_1, _motion_exit_2, _motion_exit_3, _motion_exit_4;
56
+ var _motion_enter__delay, _motion_enter__delay1, _motion_enter__delay2;
57
+ const enterDelays = {
58
+ size: (_motion_enter__delay = (_motion_enter_ = motion.enter[0]) === null || _motion_enter_ === void 0 ? void 0 : _motion_enter_.delay) !== null && _motion_enter__delay !== void 0 ? _motion_enter__delay : 0,
59
+ whitespace: (_motion_enter__delay1 = (_motion_enter_1 = motion.enter[1]) === null || _motion_enter_1 === void 0 ? void 0 : _motion_enter_1.delay) !== null && _motion_enter__delay1 !== void 0 ? _motion_enter__delay1 : 0,
60
+ opacity: animateOpacity ? (_motion_enter__delay2 = (_motion_enter_2 = motion.enter[2]) === null || _motion_enter_2 === void 0 ? void 0 : _motion_enter_2.delay) !== null && _motion_enter__delay2 !== void 0 ? _motion_enter__delay2 : 0 : undefined
61
+ };
62
+ var _motion_exit__delay, _motion_exit__delay1, _motion_exit__delay2, _motion_exit__delay3, _motion_exit__delay4;
63
+ const exitDelays = animateOpacity ? {
64
+ opacity: (_motion_exit__delay = (_motion_exit_ = motion.exit[0]) === null || _motion_exit_ === void 0 ? void 0 : _motion_exit_.delay) !== null && _motion_exit__delay !== void 0 ? _motion_exit__delay : 0,
65
+ size: (_motion_exit__delay1 = (_motion_exit_1 = motion.exit[1]) === null || _motion_exit_1 === void 0 ? void 0 : _motion_exit_1.delay) !== null && _motion_exit__delay1 !== void 0 ? _motion_exit__delay1 : 0,
66
+ whitespace: (_motion_exit__delay2 = (_motion_exit_2 = motion.exit[2]) === null || _motion_exit_2 === void 0 ? void 0 : _motion_exit_2.delay) !== null && _motion_exit__delay2 !== void 0 ? _motion_exit__delay2 : 0
67
+ } : {
68
+ size: (_motion_exit__delay3 = (_motion_exit_3 = motion.exit[0]) === null || _motion_exit_3 === void 0 ? void 0 : _motion_exit_3.delay) !== null && _motion_exit__delay3 !== void 0 ? _motion_exit__delay3 : 0,
69
+ whitespace: (_motion_exit__delay4 = (_motion_exit_4 = motion.exit[1]) === null || _motion_exit_4 === void 0 ? void 0 : _motion_exit_4.delay) !== null && _motion_exit__delay4 !== void 0 ? _motion_exit__delay4 : 0
70
+ };
71
+ return {
72
+ enter: enterDelays,
73
+ exit: exitDelays
74
+ };
75
+ }
76
+ function getCollapseDurationInfo(motion, animateOpacity = true) {
77
+ var _motion_enter_, _motion_enter_1, _motion_enter_2, _motion_exit_, _motion_exit_1, _motion_exit_2, _motion_exit_3, _motion_exit_4;
78
+ var _motion_enter__duration, _motion_enter__duration1, _motion_enter__duration2;
79
+ const enterDurations = {
80
+ size: (_motion_enter__duration = (_motion_enter_ = motion.enter[0]) === null || _motion_enter_ === void 0 ? void 0 : _motion_enter_.duration) !== null && _motion_enter__duration !== void 0 ? _motion_enter__duration : 0,
81
+ whitespace: (_motion_enter__duration1 = (_motion_enter_1 = motion.enter[1]) === null || _motion_enter_1 === void 0 ? void 0 : _motion_enter_1.duration) !== null && _motion_enter__duration1 !== void 0 ? _motion_enter__duration1 : 0,
82
+ opacity: animateOpacity ? (_motion_enter__duration2 = (_motion_enter_2 = motion.enter[2]) === null || _motion_enter_2 === void 0 ? void 0 : _motion_enter_2.duration) !== null && _motion_enter__duration2 !== void 0 ? _motion_enter__duration2 : 0 : undefined
83
+ };
84
+ var _motion_exit__duration, _motion_exit__duration1, _motion_exit__duration2, _motion_exit__duration3, _motion_exit__duration4;
85
+ const exitDurations = animateOpacity ? {
86
+ opacity: (_motion_exit__duration = (_motion_exit_ = motion.exit[0]) === null || _motion_exit_ === void 0 ? void 0 : _motion_exit_.duration) !== null && _motion_exit__duration !== void 0 ? _motion_exit__duration : 0,
87
+ size: (_motion_exit__duration1 = (_motion_exit_1 = motion.exit[1]) === null || _motion_exit_1 === void 0 ? void 0 : _motion_exit_1.duration) !== null && _motion_exit__duration1 !== void 0 ? _motion_exit__duration1 : 0,
88
+ whitespace: (_motion_exit__duration2 = (_motion_exit_2 = motion.exit[2]) === null || _motion_exit_2 === void 0 ? void 0 : _motion_exit_2.duration) !== null && _motion_exit__duration2 !== void 0 ? _motion_exit__duration2 : 0
89
+ } : {
90
+ size: (_motion_exit__duration3 = (_motion_exit_3 = motion.exit[0]) === null || _motion_exit_3 === void 0 ? void 0 : _motion_exit_3.duration) !== null && _motion_exit__duration3 !== void 0 ? _motion_exit__duration3 : 0,
91
+ whitespace: (_motion_exit__duration4 = (_motion_exit_4 = motion.exit[1]) === null || _motion_exit_4 === void 0 ? void 0 : _motion_exit_4.duration) !== null && _motion_exit__duration4 !== void 0 ? _motion_exit__duration4 : 0
92
+ };
93
+ return {
94
+ enter: enterDurations,
95
+ exit: exitDurations
96
+ };
97
+ }
98
+ function getCollapseOrientationInfo(motion, animateOpacity = true) {
99
+ const enterSizeAtom = motion.enter[0];
100
+ const enterWhitespaceAtom = motion.enter[1];
101
+ const exitOffset = animateOpacity ? 1 : 0;
102
+ const exitSizeAtom = motion.exit[exitOffset];
103
+ const exitWhitespaceAtom = motion.exit[exitOffset + 1];
104
+ return {
105
+ enter: {
106
+ sizeProperties: Object.keys((enterSizeAtom === null || enterSizeAtom === void 0 ? void 0 : enterSizeAtom.keyframes[0]) || {}),
107
+ whitespaceProperties: Object.keys((enterWhitespaceAtom === null || enterWhitespaceAtom === void 0 ? void 0 : enterWhitespaceAtom.keyframes[0]) || {})
108
+ },
109
+ exit: {
110
+ sizeProperties: Object.keys((exitSizeAtom === null || exitSizeAtom === void 0 ? void 0 : exitSizeAtom.keyframes[0]) || {}),
111
+ whitespaceProperties: Object.keys((exitWhitespaceAtom === null || exitWhitespaceAtom === void 0 ? void 0 : exitWhitespaceAtom.keyframes[0]) || {})
112
+ }
113
+ };
114
+ }
115
+ function getSizeAtomInfo(sizeAtom, direction) {
116
+ const keyframes = sizeAtom.keyframes;
117
+ const properties = Object.keys(keyframes[0] || {});
118
+ return {
119
+ keyframeCount: keyframes.length,
120
+ properties,
121
+ hasOffset: direction === 'enter' ? 'offset' in (keyframes[1] || {}) : false,
122
+ hasFill: 'fill' in sizeAtom,
123
+ fillValue: sizeAtom.fill,
124
+ firstFrameValues: keyframes[0] || {},
125
+ lastFrameValues: keyframes[keyframes.length - 1] || {}
126
+ };
127
+ }
128
+ function getWhitespaceAtomInfo(whitespaceAtom, direction) {
129
+ const keyframe = whitespaceAtom.keyframes[0] || {};
130
+ return {
131
+ properties: Object.keys(keyframe),
132
+ offset: keyframe.offset,
133
+ expectedOffset: direction === 'enter' ? 0 : 1,
134
+ hasFill: 'fill' in whitespaceAtom,
135
+ fillValue: whitespaceAtom.fill,
136
+ isVertical: 'paddingBlockStart' in keyframe,
137
+ isHorizontal: 'paddingInlineStart' in keyframe
138
+ };
139
+ }
140
+ function getOpacityComparisonInfo(withOpacity, withoutOpacity) {
141
+ return {
142
+ withOpacity: {
143
+ enterCount: withOpacity.enter.length,
144
+ exitCount: withOpacity.exit.length,
145
+ hasEnterOpacity: withOpacity.enter.length === 3,
146
+ hasExitOpacity: withOpacity.exit.length === 3
147
+ },
148
+ withoutOpacity: {
149
+ enterCount: withoutOpacity.enter.length,
150
+ exitCount: withoutOpacity.exit.length,
151
+ hasEnterOpacity: false,
152
+ hasExitOpacity: false
153
+ }
154
+ };
155
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Collapse/collapse-test-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport type { AtomMotion } from '@fluentui/react-motion';\n\n/**\n * Collapse-specific test utilities for validating motion structure and behavior.\n * These utilities are meant to be used within Jest test files.\n */\n\nexport interface CollapseMotionCounts {\n enter: number;\n exit: number;\n}\n\nexport interface CollapseTimingExpectations {\n enter: { size: number; whitespace: number; opacity?: number };\n exit: { opacity?: number; size: number; whitespace: number };\n}\n\nexport interface CollapseDurationExpectations {\n enter: { size: number; whitespace: number; opacity?: number };\n exit: { opacity?: number; size: number; whitespace: number };\n}\n\n/**\n * Helper to validate the structure of a collapse motion object.\n * Returns validation data that can be used with Jest expectations.\n */\nexport function getCollapseMotionValidation(motion: { enter: AtomMotion[]; exit: AtomMotion[] }) {\n return {\n enterCount: motion.enter.length,\n exitCount: motion.exit.length,\n hasEnterOpacity: motion.enter.length === 3 && 'opacity' in (motion.enter[2].keyframes[0] || {}),\n hasExitOpacity: motion.exit.length === 3 && 'opacity' in (motion.exit[0].keyframes[0] || {}),\n enterStructure: motion.enter.map(atom => ({\n hasKeyframes: Array.isArray(atom.keyframes),\n hasDuration: typeof atom.duration === 'number',\n hasEasing: typeof atom.easing === 'string',\n hasDelay: typeof atom.delay === 'number',\n })),\n exitStructure: motion.exit.map(atom => ({\n hasKeyframes: Array.isArray(atom.keyframes),\n hasDuration: typeof atom.duration === 'number',\n hasEasing: typeof atom.easing === 'string',\n hasDelay: typeof atom.delay === 'number',\n })),\n };\n}\n\n/**\n * Helper to extract timing information from collapse motion atoms.\n */\nexport function getCollapseTimingInfo(\n motion: { enter: AtomMotion[]; exit: AtomMotion[] },\n animateOpacity: boolean = true,\n) {\n const enterDelays = {\n size: motion.enter[0]?.delay ?? 0,\n whitespace: motion.enter[1]?.delay ?? 0,\n opacity: animateOpacity ? motion.enter[2]?.delay ?? 0 : undefined,\n };\n\n const exitDelays = animateOpacity\n ? {\n opacity: motion.exit[0]?.delay ?? 0,\n size: motion.exit[1]?.delay ?? 0,\n whitespace: motion.exit[2]?.delay ?? 0,\n }\n : {\n size: motion.exit[0]?.delay ?? 0,\n whitespace: motion.exit[1]?.delay ?? 0,\n };\n\n return { enter: enterDelays, exit: exitDelays };\n}\n\n/**\n * Helper to extract duration information from collapse motion atoms.\n */\nexport function getCollapseDurationInfo(\n motion: { enter: AtomMotion[]; exit: AtomMotion[] },\n animateOpacity: boolean = true,\n) {\n const enterDurations = {\n size: motion.enter[0]?.duration ?? 0,\n whitespace: motion.enter[1]?.duration ?? 0,\n opacity: animateOpacity ? motion.enter[2]?.duration ?? 0 : undefined,\n };\n\n const exitDurations = animateOpacity\n ? {\n opacity: motion.exit[0]?.duration ?? 0,\n size: motion.exit[1]?.duration ?? 0,\n whitespace: motion.exit[2]?.duration ?? 0,\n }\n : {\n size: motion.exit[0]?.duration ?? 0,\n whitespace: motion.exit[1]?.duration ?? 0,\n };\n\n return { enter: enterDurations, exit: exitDurations };\n}\n\n/**\n * Helper to analyze orientation-specific properties in collapse atoms.\n */\nexport function getCollapseOrientationInfo(\n motion: { enter: AtomMotion[]; exit: AtomMotion[] },\n animateOpacity: boolean = true,\n) {\n const enterSizeAtom = motion.enter[0];\n const enterWhitespaceAtom = motion.enter[1];\n\n const exitOffset = animateOpacity ? 1 : 0;\n const exitSizeAtom = motion.exit[exitOffset];\n const exitWhitespaceAtom = motion.exit[exitOffset + 1];\n\n return {\n enter: {\n sizeProperties: Object.keys(enterSizeAtom?.keyframes[0] || {}),\n whitespaceProperties: Object.keys(enterWhitespaceAtom?.keyframes[0] || {}),\n },\n exit: {\n sizeProperties: Object.keys(exitSizeAtom?.keyframes[0] || {}),\n whitespaceProperties: Object.keys(exitWhitespaceAtom?.keyframes[0] || {}),\n },\n };\n}\n\n/**\n * Helper to analyze size atom keyframes for validation.\n */\nexport function getSizeAtomInfo(sizeAtom: AtomMotion, direction: 'enter' | 'exit') {\n const keyframes = sizeAtom.keyframes;\n const properties = Object.keys(keyframes[0] || {});\n\n return {\n keyframeCount: keyframes.length,\n properties,\n hasOffset: direction === 'enter' ? 'offset' in (keyframes[1] || {}) : false,\n hasFill: 'fill' in sizeAtom,\n fillValue: sizeAtom.fill,\n firstFrameValues: keyframes[0] || {},\n lastFrameValues: keyframes[keyframes.length - 1] || {},\n };\n}\n\n/**\n * Helper to analyze whitespace atom keyframes for validation.\n */\nexport function getWhitespaceAtomInfo(whitespaceAtom: AtomMotion, direction: 'enter' | 'exit') {\n const keyframe = whitespaceAtom.keyframes[0] || {};\n\n return {\n properties: Object.keys(keyframe),\n offset: keyframe.offset,\n expectedOffset: direction === 'enter' ? 0 : 1,\n hasFill: 'fill' in whitespaceAtom,\n fillValue: whitespaceAtom.fill,\n isVertical: 'paddingBlockStart' in keyframe,\n isHorizontal: 'paddingInlineStart' in keyframe,\n };\n}\n\n/**\n * Helper to compare opacity handling between two motion objects.\n */\nexport function getOpacityComparisonInfo(\n withOpacity: { enter: AtomMotion[]; exit: AtomMotion[] },\n withoutOpacity: { enter: AtomMotion[]; exit: AtomMotion[] },\n) {\n return {\n withOpacity: {\n enterCount: withOpacity.enter.length,\n exitCount: withOpacity.exit.length,\n hasEnterOpacity: withOpacity.enter.length === 3,\n hasExitOpacity: withOpacity.exit.length === 3,\n },\n withoutOpacity: {\n enterCount: withoutOpacity.enter.length,\n exitCount: withoutOpacity.exit.length,\n hasEnterOpacity: false,\n hasExitOpacity: false,\n },\n };\n}\n"],"names":["getCollapseDurationInfo","getCollapseMotionValidation","getCollapseOrientationInfo","getCollapseTimingInfo","getOpacityComparisonInfo","getSizeAtomInfo","getWhitespaceAtomInfo","motion","enterCount","enter","length","exitCount","exit","hasEnterOpacity","keyframes","hasExitOpacity","enterStructure","map","atom","hasKeyframes","Array","isArray","hasDuration","duration","hasEasing","easing","hasDelay","delay","exitStructure","animateOpacity","enterDelays","size","whitespace","opacity","undefined","exitDelays","enterDurations","exitDurations","enterSizeAtom","enterWhitespaceAtom","exitOffset","exitSizeAtom","exitWhitespaceAtom","sizeProperties","Object","keys","whitespaceProperties","sizeAtom","direction","properties","keyframeCount","hasOffset","hasFill","fillValue","fill","firstFrameValues","lastFrameValues","whitespaceAtom","keyframe","offset","expectedOffset","isVertical","isHorizontal","withOpacity","withoutOpacity"],"mappings":"AAAA,oEAAoE;;;;;;;;;;;IA+EpDA,uBAAuB;eAAvBA;;IAnDAC,2BAA2B;eAA3BA;;IA8EAC,0BAA0B;eAA1BA;;IAtDAC,qBAAqB;eAArBA;;IAmHAC,wBAAwB;eAAxBA;;IAnCAC,eAAe;eAAfA;;IAkBAC,qBAAqB;eAArBA;;;AA1HT,SAASL,4BAA4BM,MAAmD;IAC7F,OAAO;QACLC,YAAYD,OAAOE,KAAK,CAACC,MAAM;QAC/BC,WAAWJ,OA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,eAAeH,IAAI;QAC9BO,YAAY,uBAAuBH;QACnCI,cAAc,wBAAwBJ;IACxC;AACF;AAKO,SAAStD,yBACd2D,WAAwD,EACxDC,cAA2D;IAE3D,OAAO;QACLD,aAAa;YACXvD,YAAYuD,YAAYtD,KAAK,CAACC,MAAM;YACpCC,WAAWoD,YAAYnD,IAAI,CAACF,MAAM;YAClCG,iBAAiBkD,YAAYtD,KAAK,CAACC,MAAM,KAAK;YAC9CK,gBAAgBgD,YAAYnD,IAAI,CAACF,MAAM,KAAK;QAC9C;QACAsD,gBAAgB;YACdxD,YAAYwD,eAAevD,KAAK,CAACC,MAAM;YACvCC,WAAWqD,eAAepD,IAAI,CAACF,MAAM;YACrCG,iBAAiB;YACjBE,gBAAgB;QAClB;IACF;AACF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Collapse/index.ts"],"sourcesContent":["export { Collapse, CollapseDelayed, CollapseRelaxed, CollapseSnappy } from './Collapse';\nexport type { CollapseParams, CollapseDelayedParams } from './collapse-types';\n"],"names":["Collapse","CollapseDelayed","CollapseRelaxed","CollapseSnappy"],"mappings":";;;;;;;;;;;IAASA,QAAQ;eAARA,kBAAQ;;IAAEC,eAAe;eAAfA,yBAAe;;IAAEC,eAAe;eAAfA,yBAAe;;IAAEC,cAAc;eAAdA,wBAAc;;;0BAAQ"}
1
+ {"version":3,"sources":["../src/components/Collapse/index.ts"],"sourcesContent":["export { Collapse, CollapseDelayed, CollapseRelaxed, CollapseSnappy } from './Collapse';\nexport type { CollapseParams, CollapseDurations } from './collapse-types';\n"],"names":["Collapse","CollapseDelayed","CollapseRelaxed","CollapseSnappy"],"mappings":";;;;;;;;;;;IAASA,QAAQ;eAARA,kBAAQ;;IAAEC,eAAe;eAAfA,yBAAe;;IAAEC,eAAe;eAAfA,yBAAe;;IAAEC,cAAc;eAAdA,wBAAc;;;0BAAQ"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n Collapse,\n CollapseSnappy,\n CollapseRelaxed,\n CollapseDelayed,\n type CollapseParams,\n type CollapseDelayedParams,\n} from './components/Collapse';\nexport { Fade, FadeSnappy, FadeRelaxed, type FadeParams } from './components/Fade';\nexport { Scale, ScaleSnappy, ScaleRelaxed, type ScaleParams } from './components/Scale';\nexport { Slide, SlideSnappy, SlideRelaxed, type SlideParams } from './components/Slide';\nexport { Blur, type BlurParams } from './components/Blur';\nexport { Rotate, type RotateParams } from './components/Rotate';\n"],"names":["Blur","Collapse","CollapseDelayed","CollapseRelaxed","CollapseSnappy","Fade","FadeRelaxed","FadeSnappy","Rotate","Scale","ScaleRelaxed","ScaleSnappy","Slide","SlideRelaxed","SlideSnappy"],"mappings":";;;;;;;;;;;IAWSA,IAAI;eAAJA,UAAI;;IAVXC,QAAQ;eAARA,kBAAQ;;IAGRC,eAAe;eAAfA,yBAAe;;IADfC,eAAe;eAAfA,yBAAe;;IADfC,cAAc;eAAdA,wBAAc;;IAMPC,IAAI;eAAJA,UAAI;;IAAcC,WAAW;eAAXA,iBAAW;;IAAvBC,UAAU;eAAVA,gBAAU;;IAIhBC,MAAM;eAANA,cAAM;;IAHNC,KAAK;eAALA,YAAK;;IAAeC,YAAY;eAAZA,mBAAY;;IAAzBC,WAAW;eAAXA,kBAAW;;IAClBC,KAAK;eAALA,YAAK;;IAAeC,YAAY;eAAZA,mBAAY;;IAAzBC,WAAW;eAAXA,kBAAW;;;0BAHpB;sBACwD;uBACI;uBACA;sBAC7B;wBACI"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n Collapse,\n CollapseSnappy,\n CollapseRelaxed,\n CollapseDelayed,\n type CollapseParams,\n type CollapseDurations,\n} from './components/Collapse';\nexport { Fade, FadeSnappy, FadeRelaxed, type FadeParams } from './components/Fade';\nexport { Scale, ScaleSnappy, ScaleRelaxed, type ScaleParams } from './components/Scale';\nexport { Slide, SlideSnappy, SlideRelaxed, type SlideParams } from './components/Slide';\nexport { Blur, type BlurParams } from './components/Blur';\nexport { Rotate, type RotateParams } from './components/Rotate';\n"],"names":["Blur","Collapse","CollapseDelayed","CollapseRelaxed","CollapseSnappy","Fade","FadeRelaxed","FadeSnappy","Rotate","Scale","ScaleRelaxed","ScaleSnappy","Slide","SlideRelaxed","SlideSnappy"],"mappings":";;;;;;;;;;;IAWSA,IAAI;eAAJA,UAAI;;IAVXC,QAAQ;eAARA,kBAAQ;;IAGRC,eAAe;eAAfA,yBAAe;;IADfC,eAAe;eAAfA,yBAAe;;IADfC,cAAc;eAAdA,wBAAc;;IAMPC,IAAI;eAAJA,UAAI;;IAAcC,WAAW;eAAXA,iBAAW;;IAAvBC,UAAU;eAAVA,gBAAU;;IAIhBC,MAAM;eAANA,cAAM;;IAHNC,KAAK;eAALA,YAAK;;IAAeC,YAAY;eAAZA,mBAAY;;IAAzBC,WAAW;eAAXA,kBAAW;;IAClBC,KAAK;eAALA,YAAK;;IAAeC,YAAY;eAAZA,mBAAY;;IAAzBC,WAAW;eAAXA,kBAAW;;;0BAHpB;sBACwD;uBACI;uBACA;sBAC7B;wBACI"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-motion-components-preview",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "A preview package for Fluent UI motion components, providing a collection of components",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",