Skip to content

Commit

Permalink
fix(example-apps): focus state does not update on active
Browse files Browse the repository at this point in the history
  • Loading branch information
printerscanner committed Nov 14, 2024
1 parent 212ee9e commit 043dfdf
Show file tree
Hide file tree
Showing 49 changed files with 249 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
5 changes: 5 additions & 0 deletions apps/example-apps/react/examples/edges/markers/xy-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
5 changes: 5 additions & 0 deletions apps/example-apps/react/examples/layout/dagre/xy-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
5 changes: 5 additions & 0 deletions apps/example-apps/react/examples/layout/elkjs/xy-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
9 changes: 9 additions & 0 deletions apps/example-apps/react/examples/misc/overview/xy-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}

.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
5 changes: 5 additions & 0 deletions apps/example-apps/react/examples/misc/provider/xy-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
border-color: #d9d9d9;
}

.react-flow__node.selectable:focus:active {
box-shadow: var(--xy-node-boxshadow-default);
}


.react-flow__node.selectable:hover,
.react-flow__node.draggable:hover {
border-color: var(--xy-theme-hover);
Expand Down
Loading

0 comments on commit 043dfdf

Please sign in to comment.