Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Bump version to 4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Peshou committed Sep 23, 2020
1 parent 9a9b743 commit 57ce859
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

## Canvas version changes
#### v4.0.2 merges PR to add variables for fillColorPickerText and strokeColorPickerText
https://github.com/webfactorymk/ng2-canvas-whiteboard/pull/68

#### v3.1.2, v4.0.1
Exports all existing canvas shapes, so that they can be easily unregistered from the canvas. (see README for unregistering the shapes).
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# ng2-canvas-whiteboard

## Canvas version changes
#### v4.0.2 merges PR to add variables for fillColorPickerText and strokeColorPickerText
https://github.com/webfactorymk/ng2-canvas-whiteboard/pull/68

#### v3.1.3, v4.0.1
Exports all existing canvas shapes, so that they can be easily unregistered from the canvas. (see README for unregistering the shapes).

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng2-canvas-whiteboard-workspace",
"version": "4.0.1",
"version": "4.0.2",
"scripts": {
"build:ng2-canvas-whiteboard:prod": "ng build ng2-canvas-whiteboard --prod",
"test:ng2-canvas-whiteboard": "ng test ng2-canvas-whiteboard",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
[undoButtonEnabled]="true"
[redoButtonText]="'Redo'"
[redoButtonEnabled]="true"
[fillColorPickerText]="'Filled'"
[strokeColorPickerText]="'Stroked'"
[colorPickerEnabled]="true"
[strokeColorPickerEnabled]="true"
[saveDataButtonEnabled]="true"
Expand Down
2 changes: 2 additions & 0 deletions projects/ng2-canvas-whiteboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

## Canvas version changes
#### v4.0.2 merges PR to add variables for fillColorPickerText and strokeColorPickerText
https://github.com/webfactorymk/ng2-canvas-whiteboard/pull/68

#### v3.1.2, v4.0.1
Exports all existing canvas shapes, so that they can be easily unregistered from the canvas. (see README for unregistering the shapes).
Expand Down
15 changes: 14 additions & 1 deletion projects/ng2-canvas-whiteboard/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# ng2-canvas-whiteboard

## Canvas version changes
#### v3.1.2, v4.0.1
#### v4.0.2 merges PR to add variables for fillColorPickerText and strokeColorPickerText
https://github.com/webfactorymk/ng2-canvas-whiteboard/pull/68

#### v3.1.3, v4.0.1
Exports all existing canvas shapes, so that they can be easily unregistered from the canvas. (see README for unregistering the shapes).

Also, this version introduces two new Inputs, `strokeColorPickerEnabled: boolean` and `fillColorPickerEnabled: boolean`, also deprecates the `colorPickerEnabled` Input.
Expand Down Expand Up @@ -83,6 +86,8 @@ In the html file, you can insert the Canvas Whiteboard
[redoButtonText]="'Redo'"
[redoButtonEnabled]="true"
[colorPickerEnabled]="true"
[fillColorPickerText]="'Fill'"
[strokeColorPickerText]="'Stroke'"
[saveDataButtonEnabled]="true"
[saveDataButtonText]="'Save'"
[lineWidth]="5"
Expand Down Expand Up @@ -121,6 +126,8 @@ Code:
redoButtonText: "Redo",
redoButtonEnabled: true,
colorPickerEnabled: true,
fillColorPickerText: "Fill",
strokeColorPickerText: "Stroke",
saveDataButtonEnabled: true,
saveDataButtonText: "Save",
lineWidth: 5,
Expand Down Expand Up @@ -238,9 +245,15 @@ and the original colors will be used when redrawing
##### `fillColorPickerEnabled: boolean` (default: false)
This shows/hides the fill color picker. Note: if this field has been to `false`, but the `colorPickerEnabled` field has been to `true`, the color picker will be shown, as per reverse-compat needs.
##### `fillColorPickerText: string` (default: 'Fill')
Specify the text to add to the fill color picker button. Default is 'Fill' for reverse-compat needs.
##### `strokeColorPickerEnabled: boolean` (default: false)
This shows/hides the stroke color picker. Note: if this field has been to `false`, but the `colorPickerEnabled` field has been set to `true`, the color picker will be shown, as per reverse-compat needs.
##### `strokeColorPickerText: string` (default: 'Stroke')
Specify the text to add to the stroke color picker button. Default is 'Stroke' for reverse-compat needs.
##### `lineWidth: number` (default: 2)
This input controls the drawing pencil size
Expand Down
2 changes: 1 addition & 1 deletion projects/ng2-canvas-whiteboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng2-canvas-whiteboard",
"version": "4.0.1",
"version": "4.0.2",
"author": "webfactory",
"license": "MIT",
"description": "A Canvas component for Angular which supports free drawing.",
Expand Down

0 comments on commit 57ce859

Please sign in to comment.