Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

sandbox(motion-lab): regenerate the motion audit against [email protected] (#8620)

Cindy Zhangbb242602305f
diff --git a/apps/sandbox/src/app/(sandbox)/pages/motion-lab/__generated__/motionAudit.ts b/apps/sandbox/src/app/(sandbox)/pages/motion-lab/__generated__/motionAudit.ts
index ecd9198b74..6f4915f476 100644
--- a/apps/sandbox/src/app/(sandbox)/pages/motion-lab/__generated__/motionAudit.ts
+++ b/apps/sandbox/src/app/(sandbox)/pages/motion-lab/__generated__/motionAudit.ts
@@ -1,7 +1,7 @@
// Copyright (c) Meta Platforms, Inc. and affiliates.
// @generated by scripts/generate-motion-audit.mjs — do not edit by hand.
-// Measured against packages/core + packages/lab at [email protected].
+// Measured against packages/core + packages/lab at [email protected].
// Regenerate: pnpm -F @astryxdesign/sandbox generate:motion-audit
//
// The Motion Lab shows these numbers instead of the ones written in the project
@@ -27,30 +27,30 @@ export type SiteRef = {
readonly decl?: string;
};
-export const CORE_VERSION = '0.5.2';
+export const CORE_VERSION = '0.7.5';
export const AUDIT_COUNTS = {
- componentDirs: 121,
- coreComponentDirs: 104,
- labComponentDirs: 17,
+ componentDirs: 129,
+ coreComponentDirs: 107,
+ labComponentDirs: 22,
hardcodedInLab: 10,
- filesScanned: 721,
- animatingComponents: 56,
- staticComponents: 64,
- animatedFiles: 89,
- filesWithReducedMotion: 48,
- filesWithoutReducedMotion: 41,
- hardcodedTotal: 58,
- hardcodedDuration: 34,
- hardcodedEasing: 24,
+ filesScanned: 917,
+ animatingComponents: 59,
+ staticComponents: 69,
+ animatedFiles: 96,
+ filesWithReducedMotion: 52,
+ filesWithoutReducedMotion: 44,
+ hardcodedTotal: 59,
+ hardcodedDuration: 33,
+ hardcodedEasing: 26,
noopTransitions: 1,
durationWithoutCurve: 12,
- transformTransitions: 34,
- transformTransitionComponents: 23,
+ transformTransitions: 40,
+ transformTransitionComponents: 25,
transitionAll: 0,
- infiniteLoops: 9,
+ infiniteLoops: 10,
setTimeoutLiterals: 1,
- getComputedStyleReads: 35,
+ getComputedStyleReads: 85,
} as const;
export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
@@ -88,7 +88,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/hooks/useKeyboardHint.tsx',
package: 'core',
component: '(shared)',
- line: 135,
+ line: 136,
kind: 'duration',
prop: 'transitionDuration',
value: '150ms',
@@ -98,17 +98,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/BottomSheet/BottomSheet.tsx',
package: 'core',
component: 'BottomSheet',
- line: 95,
- kind: 'duration',
- prop: 'transitionDuration',
- value: '0.01s',
- ms: 10,
- },
- {
- file: 'core/BottomSheet/BottomSheet.tsx',
- package: 'core',
- component: 'BottomSheet',
- line: 110,
+ line: 164,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'linear',
@@ -118,7 +108,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/BottomSheet/BottomSheetPanel.tsx',
package: 'core',
component: 'BottomSheet',
- line: 149,
+ line: 167,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -128,37 +118,17 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/BottomSheet/BottomSheetPanel.tsx',
package: 'core',
component: 'BottomSheet',
- line: 172,
+ line: 190,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'cubic-bezier(0.3, 0, 0.6, 0.6)',
ms: null,
},
- {
- file: 'core/BottomSheet/BottomSheetSwitcher.tsx',
- package: 'core',
- component: 'BottomSheet',
- line: 105,
- kind: 'duration',
- prop: 'transitionDuration',
- value: '0.01s',
- ms: 10,
- },
- {
- file: 'core/BottomSheet/BottomSheetSwitcher.tsx',
- package: 'core',
- component: 'BottomSheet',
- line: 114,
- kind: 'easing',
- prop: 'transitionTimingFunction',
- value: 'linear',
- ms: null,
- },
{
file: 'core/Button/Button.tsx',
package: 'core',
component: 'Button',
- line: 383,
+ line: 426,
kind: 'duration',
prop: 'animationDuration',
value: '1ms',
@@ -168,7 +138,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Chat/ChatComposerDrawer.tsx',
package: 'core',
component: 'Chat',
- line: 208,
+ line: 224,
kind: 'duration',
prop: 'transitionDelay',
value: '0ms',
@@ -178,7 +148,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Chat/ChatDictationButton.tsx',
package: 'core',
component: 'Chat',
- line: 75,
+ line: 76,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'ease-out',
@@ -208,7 +178,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'lab/Chat/ChatTypingIndicator.tsx',
package: 'lab',
component: 'Chat',
- line: 79,
+ line: 88,
kind: 'easing',
prop: 'animationTimingFunction',
value: 'ease-in-out',
@@ -218,7 +188,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'lab/Chat/ChatTypingIndicator.tsx',
package: 'lab',
component: 'Chat',
- line: 85,
+ line: 94,
kind: 'duration',
prop: 'animationDelay',
value: '160ms',
@@ -228,7 +198,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'lab/Chat/ChatTypingIndicator.tsx',
package: 'lab',
component: 'Chat',
- line: 88,
+ line: 97,
kind: 'duration',
prop: 'animationDelay',
value: '320ms',
@@ -278,7 +248,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/CommandPalette/CommandPaletteInput.tsx',
package: 'core',
component: 'CommandPalette',
- line: 62,
+ line: 77,
kind: 'duration',
prop: 'transitionDuration',
value: '1ms',
@@ -288,17 +258,37 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/CommandPalette/CommandPaletteInput.tsx',
package: 'core',
component: 'CommandPalette',
- line: 63,
+ line: 78,
kind: 'duration',
prop: 'transitionDelay',
value: '150ms',
ms: 150,
},
+ {
+ file: 'lab/Comments/CommentParts.tsx',
+ package: 'lab',
+ component: 'Comments',
+ line: 140,
+ kind: 'duration',
+ prop: 'animationDelay',
+ value: '5s',
+ ms: 5000,
+ },
+ {
+ file: 'lab/Comments/CommentParts.tsx',
+ package: 'lab',
+ component: 'Comments',
+ line: 182,
+ kind: 'easing',
+ prop: 'animationTimingFunction',
+ value: 'linear',
+ ms: null,
+ },
{
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 254,
+ line: 274,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'linear',
@@ -308,7 +298,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 256,
+ line: 276,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -318,7 +308,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 311,
+ line: 331,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'linear',
@@ -328,7 +318,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 313,
+ line: 333,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -338,7 +328,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 375,
+ line: 395,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -348,7 +338,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 390,
+ line: 410,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'linear',
@@ -358,7 +348,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 392,
+ line: 412,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -368,7 +358,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 442,
+ line: 462,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -378,7 +368,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 492,
+ line: 512,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'linear',
@@ -388,7 +378,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 494,
+ line: 514,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -398,7 +388,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/DateInput/Wheel.tsx',
package: 'core',
component: 'DateInput',
- line: 172,
+ line: 175,
kind: 'easing',
prop: 'animationTimingFunction',
value: 'linear',
@@ -408,7 +398,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Drawer/Drawer.tsx',
package: 'core',
component: 'Drawer',
- line: 121,
+ line: 137,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -418,17 +408,27 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Drawer/Drawer.tsx',
package: 'core',
component: 'Drawer',
- line: 194,
+ line: 211,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
ms: 10,
},
+ {
+ file: 'core/Item/ItemSwipeLayer.tsx',
+ package: 'core',
+ component: 'Item',
+ line: 108,
+ kind: 'easing',
+ prop: 'transitionTimingFunction',
+ value: 'ease-out',
+ ms: null,
+ },
{
file: 'core/Lightbox/Lightbox.tsx',
package: 'core',
component: 'Lightbox',
- line: 190,
+ line: 196,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'ease-out',
@@ -448,7 +448,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/MobileNav/MobileNav.tsx',
package: 'core',
component: 'MobileNav',
- line: 132,
+ line: 147,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -458,7 +458,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/MobileNav/MobileNav.tsx',
package: 'core',
component: 'MobileNav',
- line: 162,
+ line: 177,
kind: 'duration',
prop: 'transitionDuration',
value: '0.01s',
@@ -468,17 +468,37 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/ProgressBar/ProgressBar.tsx',
package: 'core',
component: 'ProgressBar',
- line: 260,
+ line: 275,
kind: 'easing',
prop: 'animationTimingFunction',
value: 'ease-in-out',
ms: null,
},
+ {
+ file: 'core/SideNav/SideNavItem.tsx',
+ package: 'core',
+ component: 'SideNav',
+ line: 150,
+ kind: 'duration',
+ prop: 'transitionDelay',
+ value: '0s, 0s',
+ ms: 0,
+ },
+ {
+ file: 'core/Skeleton/Skeleton.tsx',
+ package: 'core',
+ component: 'Skeleton',
+ line: 109,
+ kind: 'easing',
+ prop: 'animationTimingFunction',
+ value: 'linear',
+ ms: null,
+ },
{
file: 'core/Spinner/Spinner.tsx',
package: 'core',
component: 'Spinner',
- line: 294,
+ line: 342,
kind: 'easing',
prop: 'animationTimingFunction',
value: 'linear',
@@ -508,7 +528,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Stepper/Step.tsx',
package: 'core',
component: 'Stepper',
- line: 433,
+ line: 434,
kind: 'easing',
prop: 'transitionTimingFunction',
value: 'linear',
@@ -518,7 +538,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/columnResize/useTableColumnResize.tsx',
package: 'core',
component: 'Table',
- line: 245,
+ line: 293,
kind: 'duration',
prop: 'transition',
value: '150ms',
@@ -528,7 +548,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/columnResize/useTableColumnResize.tsx',
package: 'core',
component: 'Table',
- line: 245,
+ line: 293,
kind: 'duration',
prop: 'transition',
value: '150ms',
@@ -538,7 +558,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/columnResize/useTableColumnResize.tsx',
package: 'core',
component: 'Table',
- line: 245,
+ line: 293,
kind: 'easing',
prop: 'transition',
value: 'ease',
@@ -548,7 +568,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/columnResize/useTableColumnResize.tsx',
package: 'core',
component: 'Table',
- line: 245,
+ line: 293,
kind: 'easing',
prop: 'transition',
value: 'ease',
@@ -558,17 +578,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/groupedRows/useTableGroupedRows.tsx',
package: 'core',
component: 'Table',
- line: 179,
- kind: 'duration',
- prop: 'transitionDuration',
- value: '150ms',
- ms: 150,
- },
- {
- file: 'core/Table/plugins/rowExpansion/useTableRowExpansion.tsx',
- package: 'core',
- component: 'Table',
- line: 87,
+ line: 183,
kind: 'duration',
prop: 'transitionDuration',
value: '150ms',
@@ -578,7 +588,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/stickyColumns/useTableStickyColumns.tsx',
package: 'core',
component: 'Table',
- line: 234,
+ line: 223,
kind: 'duration',
prop: 'transition',
value: '150ms',
@@ -588,7 +598,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/stickyColumns/useTableStickyColumns.tsx',
package: 'core',
component: 'Table',
- line: 234,
+ line: 223,
kind: 'easing',
prop: 'transition',
value: 'ease',
@@ -598,7 +608,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/stickyColumns/useTableStickyColumns.tsx',
package: 'core',
component: 'Table',
- line: 260,
+ line: 249,
kind: 'duration',
prop: 'transition',
value: '150ms',
@@ -608,7 +618,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/stickyColumns/useTableStickyColumns.tsx',
package: 'core',
component: 'Table',
- line: 260,
+ line: 249,
kind: 'easing',
prop: 'transition',
value: 'ease',
@@ -618,7 +628,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/tree/useTableTreeData.tsx',
package: 'core',
component: 'Table',
- line: 251,
+ line: 256,
kind: 'duration',
prop: 'transitionDuration',
value: '150ms',
@@ -628,7 +638,7 @@ export const HARDCODED_SITES: ReadonlyArray<HardcodedSite> = [
file: 'core/Table/plugins/tree/useTableTreeData.tsx',
package: 'core',
component: 'Table',
- line: 267,
+ line: 272,
kind: 'duration',
prop: 'transitionDuration',
value: '150ms',
@@ -641,7 +651,7 @@ export const NOOP_TRANSITIONS: ReadonlyArray<SiteRef> = [
file: 'core/Lightbox/Lightbox.tsx',
package: 'core',
component: 'Lightbox',
- line: 192,
+ line: 198,
decl: "transitionProperty: 'none'",
},
];
@@ -651,14 +661,14 @@ export const DURATION_WITHOUT_CURVE: ReadonlyArray<SiteRef> = [
file: 'core/Chat/ChatComposerDrawer.tsx',
package: 'core',
component: 'Chat',
- line: 206,
+ line: 222,
decl: "transitionDuration: durationVars['--duration-fast']",
},
{
file: 'core/CommandPalette/CommandPaletteInput.tsx',
package: 'core',
component: 'CommandPalette',
- line: 59,
+ line: 74,
decl: "transitionDuration: '1ms'",
},
{
@@ -672,49 +682,56 @@ export const DURATION_WITHOUT_CURVE: ReadonlyArray<SiteRef> = [
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 438,
+ line: 458,
decl: 'transitionDuration: SWAP_DURATION',
},
{
file: 'core/DateInput/Wheel.tsx',
package: 'core',
component: 'DateInput',
- line: 111,
+ line: 114,
decl: "transitionDuration: durationVars['--duration-fast']",
},
+ {
+ file: 'core/Drawer/Drawer.tsx',
+ package: 'core',
+ component: 'Drawer',
+ line: 209,
+ decl: "transitionDuration: '0.01s'",
+ },
{
file: 'core/MobileNav/MobileNav.tsx',
package: 'core',
component: 'MobileNav',
- line: 74,
+ line: 86,
decl: "transitionDuration: durationVars['--duration-medium']",
},
{
file: 'core/MobileNav/MobileNav.tsx',
package: 'core',
component: 'MobileNav',
- line: 130,
+ line: 145,
decl: "transitionDuration: '0.01s'",
},
{
file: 'core/Stepper/Step.tsx',
package: 'core',
component: 'Stepper',
- line: 450,
+ line: 451,
decl: 'transitionDuration:',
},
{
file: 'core/Table/plugins/groupedRows/useTableGroupedRows.tsx',
package: 'core',
component: 'Table',
- line: 177,
+ line: 181,
decl: "transitionDuration: '150ms'",
},
{
file: 'core/Table/plugins/tree/useTableTreeData.tsx',
package: 'core',
component: 'Table',
- line: 265,
+ line: 270,
decl: "transitionDuration: '150ms'",
},
{
@@ -724,13 +741,6 @@ export const DURATION_WITHOUT_CURVE: ReadonlyArray<SiteRef> = [
line: 107,
decl: "transitionDuration: '150ms'",
},
- {
- file: 'core/Drawer/Drawer.tsx',
- package: 'core',
- component: 'Drawer',
- line: 192,
- decl: "transitionDuration: '0.01s'",
- },
];
export const TRANSFORM_TRANSITIONS: ReadonlyArray<SiteRef> = [
@@ -738,98 +748,133 @@ export const TRANSFORM_TRANSITIONS: ReadonlyArray<SiteRef> = [
file: 'core/Banner/Banner.tsx',
package: 'core',
component: 'Banner',
- line: 345,
+ line: 344,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/BottomSheet/BottomSheetPanel.tsx',
package: 'core',
component: 'BottomSheet',
- line: 144,
+ line: 162,
decl: "transitionProperty: 'transform, opacity'",
},
{
file: 'core/Button/Button.tsx',
package: 'core',
component: 'Button',
- line: 91,
+ line: 114,
decl: "transitionProperty: 'background-image, background-color, color, opacity, transform'",
},
{
file: 'core/Chat/ChatDictationButton.tsx',
package: 'core',
component: 'Chat',
- line: 70,
+ line: 71,
decl: "transitionProperty: 'transform, background-color'",
},
{
file: 'core/Chat/ChatLayoutScrollButton.tsx',
package: 'core',
component: 'Chat',
- line: 71,
- decl: "transitionProperty: 'opacity, transform, max-width'",
+ line: 78,
+ decl: "transitionProperty: 'opacity, transform, max-width, visibility'",
},
{
file: 'core/CodeBlock/CodeBlock.tsx',
package: 'core',
component: 'CodeBlock',
- line: 207,
+ line: 230,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/Collapsible/Collapsible.tsx',
package: 'core',
component: 'Collapsible',
- line: 117,
+ line: 118,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/ComplexSelector/ComplexSelector.tsx',
package: 'core',
component: 'ComplexSelector',
- line: 128,
+ line: 143,
decl: "transitionProperty: 'background-image, background-color, color, opacity, transform'",
},
{
file: 'core/ComplexSelector/ComplexSelector.tsx',
package: 'core',
component: 'ComplexSelector',
- line: 154,
+ line: 170,
+ decl: "transitionProperty: 'background-image, background-color, color, opacity, transform'",
+ },
+ {
+ file: 'core/ComplexSelector/ComplexSelector.tsx',
+ package: 'core',
+ component: 'ComplexSelector',
+ line: 201,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/DateInput/TouchDateField.tsx',
package: 'core',
component: 'DateInput',
- line: 371,
+ line: 391,
+ decl: "transitionProperty: 'transform'",
+ },
+ {
+ file: 'core/Drawer/Drawer.tsx',
+ package: 'core',
+ component: 'Drawer',
+ line: 133,
decl: "transitionProperty: 'transform'",
},
+ {
+ file: 'core/Item/Item.tsx',
+ package: 'core',
+ component: 'Item',
+ line: 514,
+ decl: "transitionProperty: 'background-color, transform'",
+ },
+ {
+ file: 'core/Item/ItemSwipeLayer.tsx',
+ package: 'core',
+ component: 'Item',
+ line: 106,
+ decl: "transitionProperty: 'transform, width'",
+ },
{
file: 'core/Lightbox/Lightbox.tsx',
package: 'core',
component: 'Lightbox',
- line: 185,
+ line: 191,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/MobileNav/MobileNav.tsx',
package: 'core',
component: 'MobileNav',
- line: 157,
+ line: 172,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/MultiSelector/MultiSelector.tsx',
package: 'core',
component: 'MultiSelector',
- line: 189,
+ line: 218,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/MultiSelector/MultiSelector.tsx',
package: 'core',
component: 'MultiSelector',
- line: 210,
+ line: 239,
+ decl: "transitionProperty: 'background-image, background-color, color, opacity, transform'",
+ },
+ {
+ file: 'core/MultiSelector/MultiSelector.tsx',
+ package: 'core',
+ component: 'MultiSelector',
+ line: 266,
decl: "transitionProperty: 'background-image, background-color, color, opacity, transform'",
},
{
@@ -843,21 +888,28 @@ export const TRANSFORM_TRANSITIONS: ReadonlyArray<SiteRef> = [
file: 'core/Resizable/ResizeHandle.tsx',
package: 'core',
component: 'Resizable',
- line: 219,
+ line: 223,
decl: "transitionProperty: 'opacity, background-color, transform'",
},
{
file: 'core/Selector/Selector.tsx',
package: 'core',
component: 'Selector',
- line: 212,
+ line: 229,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/Selector/Selector.tsx',
package: 'core',
component: 'Selector',
- line: 233,
+ line: 253,
+ decl: "transitionProperty: 'background-image, background-color, color, opacity, transform'",
+ },
+ {
+ file: 'core/Selector/Selector.tsx',
+ package: 'core',
+ component: 'Selector',
+ line: 286,
decl: "transitionProperty: 'background-image, background-color, color, opacity, transform'",
},
{
@@ -871,21 +923,21 @@ export const TRANSFORM_TRANSITIONS: ReadonlyArray<SiteRef> = [
file: 'core/SideNav/SideNavItem.tsx',
package: 'core',
component: 'SideNav',
- line: 140,
+ line: 169,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/Stepper/Step.tsx',
package: 'core',
component: 'Stepper',
- line: 412,
+ line: 413,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/Switch/Switch.tsx',
package: 'core',
component: 'Switch',
- line: 275,
+ line: 326,
decl: "transitionProperty: 'transform, width, height'",
},
{
@@ -899,21 +951,21 @@ export const TRANSFORM_TRANSITIONS: ReadonlyArray<SiteRef> = [
file: 'core/Table/plugins/groupedRows/useTableGroupedRows.tsx',
package: 'core',
component: 'Table',
- line: 178,
+ line: 182,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/Table/plugins/rowExpansion/useTableRowExpansion.tsx',
package: 'core',
component: 'Table',
- line: 86,
- decl: "transitionProperty: 'transform, color'",
+ line: 170,
+ decl: "transitionProperty: 'transform'",
},
{
file: 'core/Table/plugins/tree/useTableTreeData.tsx',
package: 'core',
component: 'Table',
- line: 266,
+ line: 271,
decl: "transitionProperty: 'transform'",
},
{
@@ -927,49 +979,49 @@ export const TRANSFORM_TRANSITIONS: ReadonlyArray<SiteRef> = [
file: 'core/TopNav/TopNavMegaMenu.tsx',
package: 'core',
component: 'TopNav',
- line: 114,
+ line: 116,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/TopNav/TopNavMegaMenu.tsx',
package: 'core',
component: 'TopNav',
- line: 131,
+ line: 133,
decl: "transitionProperty: 'opacity, transform, overlay, display'",
},
{
file: 'core/TopNav/TopNavMegaMenu.tsx',
package: 'core',
component: 'TopNav',
- line: 222,
+ line: 225,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/TopNav/TopNavMenu.tsx',
package: 'core',
component: 'TopNav',
- line: 101,
+ line: 104,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/TopNav/TopNavMenu.tsx',
package: 'core',
component: 'TopNav',
- line: 185,
+ line: 190,
decl: "transitionProperty: 'transform'",
},
{
file: 'core/TreeList/TreeListItem.tsx',
package: 'core',
component: 'TreeList',
- line: 219,
+ line: 259,
decl: "transitionProperty: 'transform'",
},
{
- file: 'core/Drawer/Drawer.tsx',
- package: 'core',
- component: 'Drawer',
- line: 117,
+ file: 'lab/DiffViewer/DiffViewer.tsx',
+ package: 'lab',
+ component: 'DiffViewer',
+ line: 660,
decl: "transitionProperty: 'transform'",
},
];
@@ -987,19 +1039,19 @@ export const INFINITE_LOOPS: ReadonlyArray<SiteRef> = [
file: 'core/ProgressBar/ProgressBar.tsx',
package: 'core',
component: 'ProgressBar',
- line: 261,
+ line: 276,
},
{
file: 'core/Skeleton/Skeleton.tsx',
package: 'core',
component: 'Skeleton',
- line: 74,
+ line: 101,
},
{
file: 'core/Spinner/Spinner.tsx',
package: 'core',
component: 'Spinner',
- line: 292,
+ line: 340,
},
{
file: 'core/StatusDot/StatusDot.tsx',
@@ -1011,7 +1063,7 @@ export const INFINITE_LOOPS: ReadonlyArray<SiteRef> = [
file: 'lab/Chat/ChatTypingIndicator.tsx',
package: 'lab',
component: 'Chat',
- line: 78,
+ line: 87,
},
{
file: 'lab/ChatReasoning/ChatReasoning.tsx',
@@ -1031,6 +1083,12 @@ export const INFINITE_LOOPS: ReadonlyArray<SiteRef> = [
component: 'CircularProgress',
line: 213,
},
+ {
+ file: 'lab/Comments/CommentParts.tsx',
+ package: 'lab',
+ component: 'Comments',
+ line: 183,
+ },
];
export const TIMEOUT_LITERALS: ReadonlyArray<{
@@ -1044,7 +1102,7 @@ export const TIMEOUT_LITERALS: ReadonlyArray<{
file: 'core/MultiSelector/hooks.ts',
package: 'core',
component: 'MultiSelector',
- line: 240,
+ line: 350,
ms: 500,
},
];
@@ -1102,6 +1160,11 @@ export const NO_REDUCED_MOTION: ReadonlyArray<{
component: 'DropdownMenu',
},
{file: 'core/Item/Item.tsx', package: 'core', component: 'Item'},
+ {
+ file: 'core/Layer/preserveAnimations.ts',
+ package: 'core',
+ component: 'Layer',
+ },
{file: 'core/Link/Link.tsx', package: 'core', component: 'Link'},
{
file: 'core/MultiSelector/MultiSelector.tsx',
@@ -1191,12 +1254,18 @@ export const NO_REDUCED_MOTION: ReadonlyArray<{
package: 'core',
component: '(shared)',
},
+ {
+ file: 'core/utils/interactionOverlay.stylex.ts',
+ package: 'core',
+ component: '(shared)',
+ },
{file: 'lab/Chart/ChartAxis.tsx', package: 'lab', component: 'Chart'},
{
file: 'lab/ChatReasoning/ChatReasoning.tsx',
package: 'lab',
component: 'ChatReasoning',
},
+ {file: 'lab/Comments/CommentRow.tsx', package: 'lab', component: 'Comments'},
{file: 'lab/InfoTip/InfoTip.tsx', package: 'lab', component: 'InfoTip'},
{file: 'lab/Tour/TourStep.tsx', package: 'lab', component: 'Tour'},
];
@@ -1205,42 +1274,49 @@ export const INSTANT_SPELLINGS: ReadonlyArray<readonly [string, number]> = [
['0s', 3],
['1ms', 2],
['0ms', 1],
+ ['0s, 0s', 1],
];
export const LITERAL_VALUES: ReadonlyArray<readonly [string, number]> = [
- ['0.01s', 13],
- ['linear', 11],
- ['150ms', 10],
+ ['linear', 12],
+ ['0.01s', 11],
+ ['150ms', 9],
['ease-in-out', 5],
+ ['ease-out', 4],
['ease', 4],
- ['ease-out', 3],
['0s', 3],
['1ms', 2],
['cubic-bezier(0.3, 0, 0.6, 0.6)', 1],
['0ms', 1],
['1.5s', 1],
+ ['0s, 0s', 1],
['2s', 1],
['160ms', 1],
['320ms', 1],
['4s', 1],
+ ['5s', 1],
];
export const HARDCODED_BY_COMPONENT: ReadonlyArray<readonly [string, number]> =
[
- ['Table', 12],
['DateInput', 11],
+ ['Table', 11],
['Chat', 7],
- ['BottomSheet', 6],
['(shared)', 4],
+ ['BottomSheet', 3],
['CommandPalette', 2],
+ ['Drawer', 2],
['MobileNav', 2],
['StatusDot', 2],
['ChatReasoning', 2],
['CircularProgress', 2],
- ['Drawer', 2],
+ ['Comments', 2],
['Button', 1],
+ ['Item', 1],
['Lightbox', 1],
['ProgressBar', 1],
+ ['SideNav', 1],
+ ['Skeleton', 1],
['Spinner', 1],
['Stepper', 1],
['LogStream', 1],
@@ -1261,12 +1337,15 @@ export const ANIMATING_COMPONENTS: ReadonlyArray<string> = [
'CodeBlock',
'Collapsible',
'CommandPalette',
+ 'Comments',
'ComplexSelector',
'ContextMenu',
'DateInput',
'Dialog',
+ 'DiffViewer',
'Drawer',
'DropdownMenu',
+ 'EmojiPicker',
'Field',
'FileInput',
'Indicator',
@@ -1321,6 +1400,7 @@ export const STATIC_COMPONENTS: ReadonlyArray<string> = [
'CheckboxList',
'Code',
'CodeEditor',
+ 'CommentPin',
'DateRangeInput',
'DateTimeInput',
'Divider',
@@ -1340,6 +1420,8 @@ export const STATIC_COMPONENTS: ReadonlyArray<string> = [
'List',
'ListInput',
'MetadataList',
+ 'MobilePowerSearch',
+ 'MobileTokenizer',
'MoreMenu',
'NavIcon',
'NavItem',
@@ -1352,6 +1434,7 @@ export const STATIC_COMPONENTS: ReadonlyArray<string> = [
'RadioList',
'Sankey',
'Schedule',
+ 'ScrollableArea',
'Section',
'SizeContext',
'Stack',
@@ -1362,6 +1445,7 @@ export const STATIC_COMPONENTS: ReadonlyArray<string> = [
'TextInput',
'ThreeD',
'TimeInput',
+ 'Timer',
'Timestamp',
'ToggleButton',
'Tokenizer',