Skip to content

Commit 1edd4e3

Browse files
Release v0.0.111
1 parent f100bf8 commit 1edd4e3

9 files changed

+33
-13
lines changed

dist/index.css

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.css.map

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -47024,7 +47024,7 @@ var SchemaDesignerTable = class {
4702447024
mxGraphFactory.mxEvent.addListener(columnsDiv, "mouseup", updateEdges);
4702547025
}
4702647026
}
47027-
const editButton = parentNode.getElementsByClassName("sd-entity-edit-button")[0];
47027+
const editButton = parentNode.getElementsByClassName("sd-table-edit-button")[0];
4702847028
if (editButton !== void 0 && editButton !== null) {
4702947029
if (editButton.getAttribute("clickHandler") !== null) {
4703047030
return;
@@ -47159,7 +47159,7 @@ var SchemaDesignerTable = class {
4715947159
if (this.schemaDesignerConfig.isEditable) {
4716047160
const button = document.createElement("button");
4716147161
button.type = "button";
47162-
button.classList.add("sd-entity-button", "sd-entity-edit-button");
47162+
button.classList.add("sd-table-button", "sd-table-edit-button");
4716347163
button.title = "Edit";
4716447164
button.innerHTML = this.schemaDesignerConfig.icons.editIcon;
4716547165
header.appendChild(button);

dist/index.js.map

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/ts/schemaDesigner/schemaDesignerEntity.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class SchemaDesignerTable {
7474
mx_1.mxGraphFactory.mxEvent.addListener(columnsDiv, "mouseup", updateEdges);
7575
}
7676
}
77-
const editButton = parentNode.getElementsByClassName("sd-entity-edit-button")[0];
77+
const editButton = parentNode.getElementsByClassName("sd-table-edit-button")[0];
7878
if (editButton !== undefined && editButton !== null) {
7979
if (editButton.getAttribute('clickHandler') !== null) {
8080
return;
@@ -213,7 +213,7 @@ class SchemaDesignerTable {
213213
if (this.schemaDesignerConfig.isEditable) {
214214
const button = document.createElement("button");
215215
button.type = "button";
216-
button.classList.add("sd-entity-button", "sd-entity-edit-button");
216+
button.classList.add("sd-table-button", "sd-table-edit-button");
217217
button.title = "Edit";
218218
button.innerHTML = this.schemaDesignerConfig.icons.editIcon;
219219
header.appendChild(button);

dist/tsconfig.tsbuildinfo

+1-1
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "azdataGraph",
33
"description": "azdataGraph is a derivative of mxGraph, which is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.",
4-
"version": "0.0.110",
4+
"version": "0.0.111",
55
"homepage": "https://github.com/microsoft/azdataGraph",
66
"author": "Microsoft",
77
"license": "Apache-2.0",

src/ts/schemaDesigner/schemaDesigner.css

+12-1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@
105105
background-color: var(--sd-graph-background-color);
106106
}
107107

108+
.sd-table-button,
109+
.sd-table-edit-button {
110+
background-color: var(--sd-cell-html-background);
111+
border: none;
112+
color: var(--sd-cell-html-foreground);
113+
}
114+
115+
.sd-table-button:hover {
116+
background-color: var(--sd-cell-html-hover-column-background);
117+
}
118+
108119
.sd-table-color-indicator {
109120
width: 100%;
110121
height: 6px;
@@ -197,4 +208,4 @@
197208
text-align: left;
198209
margin-right: 10px;
199210
user-select: none;
200-
}
211+
}

src/ts/schemaDesigner/schemaDesignerEntity.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class SchemaDesignerTable implements ITable {
8989
mx.mxEvent.addListener(columnsDiv, "mouseup", updateEdges);
9090
}
9191
}
92-
const editButton = parentNode.getElementsByClassName("sd-entity-edit-button")[0];
92+
const editButton = parentNode.getElementsByClassName("sd-table-edit-button")[0];
9393
if (editButton !== undefined && editButton !== null) {
9494
if (editButton.getAttribute('clickHandler') !== null) {
9595
return;
@@ -246,7 +246,7 @@ export class SchemaDesignerTable implements ITable {
246246
if (this.schemaDesignerConfig.isEditable) {
247247
const button = document.createElement("button");
248248
button.type = "button";
249-
button.classList.add("sd-entity-button", "sd-entity-edit-button");
249+
button.classList.add("sd-table-button", "sd-table-edit-button");
250250
button.title = "Edit";
251251
button.innerHTML = this.schemaDesignerConfig.icons.editIcon;
252252
header.appendChild(button);

0 commit comments

Comments
 (0)