Skip to content

Commit

Permalink
fix: Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Aug 19, 2019
1 parent bf6c7dd commit ce7abad
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 21 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.7.1] - 2019-08-20
### Fixed
- Remove unnecessary code.

## [0.7.0] - 2019-08-20
### Added
- Add [Groupable](https://github.com/daybrush/moveable/blob/master/groupable.md)
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moveable",
"version": "0.7.0",
"version": "0.7.1",
"description": "Moveable is Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.",
"main": "./dist/moveable.cjs.js",
"module": "./dist/moveable.esm.js",
Expand Down Expand Up @@ -57,7 +57,7 @@
"@egjs/children-differ": "^1.0.0",
"@egjs/component": "^2.1.2",
"framework-utils": "^0.2.0",
"preact-moveable": "^0.9.3"
"preact-moveable": "^0.9.4"
},
"devDependencies": {
"@daybrush/builder": "^0.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/preact-moveable/package-lock.json

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

4 changes: 2 additions & 2 deletions packages/preact-moveable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "preact-moveable",
"version": "0.9.3",
"version": "0.9.4",
"description": "A Preact Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Pinchable, Groupable.",
"main": "./dist/moveable.cjs.js",
"module": "./dist/moveable.esm.js",
Expand Down Expand Up @@ -64,6 +64,6 @@
"framework-utils": "^0.2.0",
"preact-compat": "^3.19.0",
"preact-css-styler": "^0.4.1",
"react-moveable": "^0.10.3"
"react-moveable": "^0.10.4"
}
}
2 changes: 1 addition & 1 deletion packages/react-moveable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-moveable",
"version": "0.10.3",
"version": "0.10.4",
"description": "A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.",
"main": "./dist/moveable.cjs.js",
"module": "./dist/moveable.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-moveable/src/react-moveable/Moveable.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from "react";
import { MoveableProps } from "./types";
import MoveableManager from "./MoveableManager";
import { MOVEABLE_ABLES } from "./consts";
import MoveableGroup from "./MoveableGroup";
import React from "react";
import { ref } from "framework-utils";
import { isArray } from "@daybrush/utils";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import * as React from "react";
import { refs, ref } from "framework-utils";
import MoveableGroup from "../MoveableGroup";
import MoveableManager from "../MoveableManager";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import * as React from "react";
import MoveableManager from "../MoveableManager";
import { prefix, getControlTransform } from "../utils";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import * as React from "react";
import { getRad, throttle, prefix, triggerEvent } from "../utils";
import { IObject, hasClass } from "@daybrush/utils";
import MoveableManager from "../MoveableManager";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import * as React from "react";
import { warp as warpMatrix, getRad, prefix, getLineStyle, getDirection } from "../utils";
import {
convertDimension, invert, multiply,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import * as React from "react";
import MoveableManager from "./MoveableManager";
import { prefix, getControlTransform } from "./utils";
import { ResizableProps, ScalableProps, WarpableProps } from "./types";
Expand Down

0 comments on commit ce7abad

Please sign in to comment.