@aptre/flex-layout 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -5
- package/package.json +2 -2
- package/typedoc/classes/Rect.html +1 -1
package/dist/index.mjs
CHANGED
|
@@ -48,11 +48,7 @@ var Rect = class _Rect {
|
|
|
48
48
|
return new _Rect(this.x, this.y, this.width, this.height);
|
|
49
49
|
}
|
|
50
50
|
equals(rect) {
|
|
51
|
-
|
|
52
|
-
return true;
|
|
53
|
-
} else {
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
51
|
+
return this.x === rect?.x && this.y === rect?.y && this.width === rect?.width && this.height === rect?.height;
|
|
56
52
|
}
|
|
57
53
|
getBottom() {
|
|
58
54
|
return this.y + this.height;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@aptre/flex-layout",
|
|
3
3
|
"author": "Caplin Systems Ltd",
|
|
4
4
|
"description": "A multi-tab docking layout manager",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.3",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"build:doc": "typedoc --out typedoc --exclude \"**/examples/**/*.tsx\" --excludeInternal --disableSources --excludePrivate --excludeProtected --readme none ./src",
|
|
50
50
|
"build:style": "sass style/underline.scss style/underline.css && sass style/gray.scss style/gray.css && sass style/light.scss style/light.css && sass style/dark.scss style/dark.css",
|
|
51
51
|
"test": "tsc --project tsconfig.json --noEmit",
|
|
52
|
-
"format": "prettier --write './{src,
|
|
52
|
+
"format": "prettier --write './style/*.scss' './{src,declarations}/**/(*.ts|*.tsx|*.html)' package.json",
|
|
53
53
|
"lint": "eslint src/*"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
126
126
|
<ul class="tsd-parameter-list">
|
|
127
127
|
<li>
|
|
128
|
-
<h5><span class="tsd-kind-parameter">rect</span>: <a href="Rect.html" class="tsd-signature-type tsd-kind-class">Rect</a></h5></li></ul></div>
|
|
128
|
+
<h5><span class="tsd-kind-parameter">rect</span>: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rect.html" class="tsd-signature-type tsd-kind-class">Rect</a></h5></li></ul></div>
|
|
129
129
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section>
|
|
130
130
|
<section class="tsd-panel tsd-member"><a id="getBottom" class="tsd-anchor"></a>
|
|
131
131
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Bottom</span><a href="#getBottom" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|