Skip to content

Commit

Permalink
ci(): Add prebuilt fabric back to dist folder (fabricjs#10178)
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur authored Sep 27, 2024
1 parent fac1f16 commit 3a429e4
Show file tree
Hide file tree
Showing 15 changed files with 56,149 additions and 3 deletions.
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,19 @@ change-output.md
before_commit
/coverage/
.idea/
**/dist/
**/dist-extensions/
e2e/dist/
/dist-extensions/*
!/dist-extensions/fabric-extensions.min.*
!/dist-extensions/**/*.ts
/dist/*
!/dist/index.node.mjs
!/dist/index.node.mjs.map
!/dist/index.mjs
!/dist/index.mjs.map
!/dist/index.min.js
!/dist/index.min.js.map
!/dist/index.min.mjs
!/dist/index.min.mjs.map
/cli_output/
e2e/test-report/
e2e/test-results/
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [next]

- ci(): Add some prebuilt fabric in the dist folder [#10178](https://github.com/fabricjs/fabric.js/pull/10178)

## [6.4.2]

- Fix(): path parsing performance [#10123](https://github.com/fabricjs/fabric.js/pull/10123)
Expand Down
2 changes: 2 additions & 0 deletions dist-extensions/fabric-extensions.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist-extensions/fabric-extensions.min.js.map

Large diffs are not rendered by default.

121 changes: 121 additions & 0 deletions dist-extensions/fabric.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
export { getEnv, getFabricDocument, getFabricWindow, setEnv } from './src/env';
export { cache } from './src/cache';
export { VERSION as version, iMatrix } from './src/constants';
export { config } from './src/config';
export { classRegistry } from './src/ClassRegistry';
export { runningAnimations } from './src/util/animation/AnimationRegistry';
export * from './src/typedefs';
export * from './src/EventTypeDefs';
export type { ITextEvents } from './src/shapes/IText/ITextBehavior';
export { Observable } from './src/Observable';
export type { TCanvasSizeOptions, TSVGExportOptions, } from './src/canvas/StaticCanvas';
export type { StaticCanvasOptions } from './src/canvas/StaticCanvasOptions';
export { StaticCanvas } from './src/canvas/StaticCanvas';
export { Canvas } from './src/canvas/Canvas';
export type { CanvasOptions } from './src/canvas/CanvasOptions';
export { CanvasDOMManager } from './src/canvas/DOMManagers/CanvasDOMManager';
export { StaticCanvasDOMManager } from './src/canvas/DOMManagers/StaticCanvasDOMManager';
export type { XY } from './src/Point';
export { Point } from './src/Point';
export type { IntersectionType } from './src/Intersection';
export { Intersection } from './src/Intersection';
export { Color } from './src/color/Color';
export * from './src/color/typedefs';
export * from './src/gradient';
export * from './src/Pattern';
export { Shadow } from './src/Shadow';
export type { SerializedShadowOptions } from './src/Shadow';
export { BaseBrush } from './src/brushes/BaseBrush';
export * from './src/brushes/typedefs';
export { PencilBrush } from './src/brushes/PencilBrush';
export { CircleBrush } from './src/brushes/CircleBrush';
export { SprayBrush } from './src/brushes/SprayBrush';
export { PatternBrush } from './src/brushes/PatternBrush';
export type * from './src/util/path/typedefs';
export { FabricObject,
/**
* @deprecated Due to a naming conflict with the
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object JS API},
* `fabric.Object` has been renamed to `FabricObject`
*
* @example
* import { Object } from 'fabric'; // deprecated
* import { FabricObject } from 'fabric'; // migration path
*
*/
FabricObject as Object, } from './src/shapes/Object/FabricObject';
/**
* Exported so we can tweak default values
*/
export { FabricObject as BaseFabricObject } from './src/shapes/Object/Object';
/**
* Exported so we can tweak default values
*/
export { InteractiveFabricObject } from './src/shapes/Object/InteractiveObject';
export type { TFabricObjectProps, FabricObjectProps, SerializedObjectProps, } from './src/shapes/Object/types';
export type { SerializedLineProps } from './src/shapes/Line';
export { Line } from './src/shapes/Line';
export type { CircleProps, SerializedCircleProps } from './src/shapes/Circle';
export { Circle } from './src/shapes/Circle';
export { Triangle } from './src/shapes/Triangle';
export type { EllipseProps, SerializedEllipseProps, } from './src/shapes/Ellipse';
export { Ellipse } from './src/shapes/Ellipse';
export type { RectProps, SerializedRectProps } from './src/shapes/Rect';
export { Rect } from './src/shapes/Rect';
export type { PathProps, SerializedPathProps } from './src/shapes/Path';
export { Path } from './src/shapes/Path';
export type { SerializedPolylineProps } from './src/shapes/Polyline';
export { Polyline } from './src/shapes/Polyline';
export { Polygon } from './src/shapes/Polygon';
export type { GraphemeBBox, SerializedTextProps, TPathAlign, TPathSide, TextProps, } from './src/shapes/Text/Text';
export { FabricText,
/**
* @deprecated Due to a naming conflict with the
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Text/Text Web API},
* `fabric.Text` has been renamed to `FabricText`
*
* @example
* import { Text } from 'fabric'; // deprecated
* import { FabricText } from 'fabric'; // migration path
*
*/
FabricText as Text, } from './src/shapes/Text/Text';
export type { ITextProps, SerializedITextProps, } from './src/shapes/IText/IText';
export { IText } from './src/shapes/IText/IText';
export type { GraphemeData, SerializedTextboxProps, TextboxProps, } from './src/shapes/Textbox';
export { Textbox } from './src/shapes/Textbox';
export type { CompleteTextStyleDeclaration, TextStyleDeclaration, TextStyle, } from './src/shapes/Text/StyledText';
export type { GroupEvents, GroupProps, GroupOwnProps, SerializedGroupProps, } from './src/shapes/Group';
export { Group } from './src/shapes/Group';
export * from './src/LayoutManager';
export type { SerializedLayoutManager } from './src/LayoutManager';
export type { ActiveSelectionOptions, MultiSelectionStacking, } from './src/shapes/ActiveSelection';
export { ActiveSelection } from './src/shapes/ActiveSelection';
export { FabricImage,
/**
* @deprecated Due to a naming conflict with the
* {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image Web API},
* `fabric.Image` has been renamed to `FabricImage`
*
* @example
* import { Image } from 'fabric'; // deprecated
* import { FabricImage } from 'fabric'; // migration path
*
*/
FabricImage as Image, } from './src/shapes/Image';
export type { ImageSource, SerializedImageProps, ImageProps, } from './src/shapes/Image';
export { createCollectionMixin } from './src/Collection';
export * as util from './src/util';
export { loadSVGFromString } from './src/parser/loadSVGFromString';
export { loadSVGFromURL } from './src/parser/loadSVGFromURL';
export { parseSVGDocument } from './src/parser/parseSVGDocument';
export { parseAttributes } from './src/parser/parseAttributes';
export { parseStyleAttribute } from './src/parser/parseStyleAttribute';
export { parsePointsAttribute } from './src/parser/parsePointsAttribute';
export { parseTransformAttribute } from './src/parser/parseTransformAttribute';
export { getCSSRules } from './src/parser/getCSSRules';
export { parseFontDeclaration } from './src/parser/parseFontDeclaration';
export { Control } from './src/controls/Control';
export * as controlsUtils from './src/controls';
export * from './src/filters';
//# sourceMappingURL=fabric.d.ts.map
2 changes: 2 additions & 0 deletions dist-extensions/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './fabric';
//# sourceMappingURL=index.d.ts.map
2 changes: 2 additions & 0 deletions dist/index.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/index.min.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/index.min.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/index.min.mjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit 3a429e4

Please sign in to comment.