mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-31 05:39:28 +08:00
d0539fde22
Closes: [BS-3524](https://linear.app/affine-design/issue/BS-3524/统一文件大小单位,与-af-一致)   <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Updated file size formatting throughout the app to use a new, consistent utility for displaying file sizes. - Improved clarity and uniformity of file size information in attachments, images, and related notifications. - Enhanced type support to explicitly allow null values for file size descriptions. - **Bug Fixes** - Adjusted file size display in tests to match updated formatting standards. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
29 lines
861 B
TypeScript
29 lines
861 B
TypeScript
export * from './auto-scroll';
|
|
export * from './button-popper';
|
|
export * from './collapsed';
|
|
export * from './computing';
|
|
export * from './dnd';
|
|
export * from './dom';
|
|
export * from './drag-helper';
|
|
export * from './edgeless';
|
|
export * from './event';
|
|
export { getSvgPath as getFigmaSquircleSvgPath } from './figma-squircle';
|
|
export * from './file';
|
|
export * from './fractional-indexing';
|
|
export * from './image';
|
|
export * from './insert';
|
|
export * from './is-abort-error';
|
|
export * from './math';
|
|
export * from './model';
|
|
export * from './popper-position';
|
|
export * from './print-to-pdf';
|
|
export * from './reference';
|
|
export * from './reordering';
|
|
export * from './signal';
|
|
export * from './string';
|
|
export * from './title';
|
|
export * from './url';
|
|
export * from './virtual-padding';
|
|
export * from './zod-schema';
|
|
export { default as formatSize } from 'bytes';
|