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

Commit

Permalink
Merge pull request #23 from vector-js/update-dependencies-post-notice
Browse files Browse the repository at this point in the history
Hotfix Dependencies and Unmaintained State
  • Loading branch information
kurtbruns authored Jun 29, 2021
2 parents 2b6bf4a + 12ab20a commit 7d73fcb
Show file tree
Hide file tree
Showing 582 changed files with 51,990 additions and 197,109 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

**Warning:** the `master` branch is in an unstable state. Currently, the `development` branch represents the future of this project.

# Vector.js

Vector.js is a Javascript library for creating interactive graphics on the web. The library uses the existing web standards: HTML, SVG, and CSS and has no dependencies. See the [Website](https://vectorjs.org) for getting started, examples, and more.
Expand Down
2 changes: 1 addition & 1 deletion dist/elements/base-element.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default abstract class BaseElement {
/**
* Returns the unique generated identifier associated with this element.
*/
readonly id: string;
get id(): string;
/**
* Removes this element from the DOM and from the Element controller.
*/
Expand Down
34 changes: 21 additions & 13 deletions dist/elements/base-element.js

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

8 changes: 8 additions & 0 deletions dist/elements/controller.js

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

3 changes: 3 additions & 0 deletions dist/elements/graph/edge.js

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

2 changes: 2 additions & 0 deletions dist/elements/graph/graph.js

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

25 changes: 15 additions & 10 deletions dist/elements/graph/node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,35 +32,40 @@ export default class Node extends Group {
/**
* Getter for the cx of this node.
*/
cx: number;
get cx(): number;
/**
* Getter for cy of this node
*/
get cy(): number;
set cx(cx: number);
/**
* Getter for cy of this node
*/
cy: number;
set cy(cy: number);
/**
* Getter for rx of this node
*/
get rx(): number;
/**
* Setter for rx of this node
* Getter for ry of this node
*/
rx: number;
get ry(): number;
/**
* Getter for ry of this node
* Getter for the text of this node
*/
get label(): string;
/**
* Setter for ry of this node
* Setter for the text of this node
*/
ry: number;
set label(text: string);
/**
* Getter for the text of this node
* Setter for rx of this node
*/
set rx(rx: number);
/**
* Setter for the text of this node
* Setter for ry of this node
*/
label: string;
set ry(ry: number);
/**
* Adds an edge to this node.
*/
Expand Down
11 changes: 11 additions & 0 deletions dist/elements/graph/node.js

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

13 changes: 8 additions & 5 deletions dist/elements/input/button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,35 @@ export default class Button extends Input {
/**
* Returns the top left x position of this button.
*/
get x(): number;
/**
* Sets the top left x position of this button.
*/
x: number;
set x(value: number);
/**
* Returns the top left x position of this button.
*/
get y(): number;
/**
* Sets the top left y position of this button.
*/
y: number;
set y(value: number);
/**
* Returns how many times this button has been pressed. Count does not
* increment until the button has been released.
*/
readonly count: number;
get count(): number;
/**
* Returns true if the button is actively being pressed.
*/
get active(): boolean;
/**
* Allows the user to synthetically "press" the button and put it into an
* active state.
*/
active: boolean;
set active(value: boolean);
/**
* Fires when the user clicks the left button on the button.
*/
onclick: (event: MouseEvent) => void;
set onclick(handler: (event: MouseEvent) => void);
}
23 changes: 19 additions & 4 deletions dist/elements/input/button.js

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

3 changes: 2 additions & 1 deletion dist/elements/input/check-box.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ export default class CheckBox extends Input {
/**
* Sets the value to true and visually checks the box.
*/
set value(value: boolean);
/**
* Returns true if the box is checked, false if it is not.
*/
value: boolean;
get value(): boolean;
/**
* Converts the current true/false state of the checkbox to a zero or one.
*/
Expand Down
16 changes: 12 additions & 4 deletions dist/elements/input/check-box.js

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

4 changes: 2 additions & 2 deletions dist/elements/input/control-circle.js

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

14 changes: 8 additions & 6 deletions dist/elements/input/control.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,25 +81,27 @@ export default class Control extends Input {
/**
* Updates the x position of the control.
*/
set x(x: number);
/**
* Gets the x position of the control.
* Updates the y position of the control.
*/
x: number;
set y(y: number);
/**
* Updates the y position of the control.
* Gets the x position of the control.
*/
get x(): number;
/**
* Gets the y position of the control.
*/
y: number;
get y(): number;
/**
* Gets the change in x position of this control.
*/
readonly dx: number;
get dx(): number;
/**
* Gets the change in y position of this control.
*/
readonly dy: number;
get dy(): number;
/**
* Constrains the movement of this control point to the path of the provided
* element.
Expand Down
Loading

0 comments on commit 7d73fcb

Please sign in to comment.