Skip to content

Commit

Permalink
Merge pull request #437 from UiPath/fix/apollo-design-grid
Browse files Browse the repository at this point in the history
fix(grid): adapt to apollo design
  • Loading branch information
CalinaCristian authored Dec 9, 2023
2 parents 68cea3d + 5652fda commit 0c2a051
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 32 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# v15.0.13 (2023-12-08)
* **grid** modify hover color

# v15.0.12 (2023-12-07)
* **tree-select** tree nodes disappears after loading

Expand Down
4 changes: 2 additions & 2 deletions 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": "angular-components",
"version": "15.0.12",
"version": "15.0.13",
"author": {
"name": "UiPath Inc",
"url": "https://uipath.com"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
$ui-grid-cell-background-color: var(--color-background, #ffffff);
$ui-grid-border-color: var(--color-border-de-emp, #cfd8dd);
$ui-grid-cell-bottom-border: 1px solid $ui-grid-border-color;
$ui-grid-row-hover-color: var(--color-hover, #e9f1fa);
$ui-grid-row-hover-color: var(--color-data-grid-hover, #F1F2F3);
$ui-grid-header-pressed-color: var(--color-data-grid-pressed, #EAECED);
$header-background-color: var(--color-background-secondary, #f4f5f7);
$grid-actions-box-shadow: var(--color-background, #ffffff);
$highlighted-entity-color: var(--color-primary, #0067df);
25 changes: 3 additions & 22 deletions projects/angular/components/ui-grid/src/_ui-grid.theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -204,33 +204,14 @@ $ui-grid-opacity-transition: opacity $ui-grid-default-transition;

.ui-grid-row {
&:focus,
&:hover,
&.cdk-focused {
background-color: $ui-grid-row-hover-color;

&:not(.ui-grid-row-state-expanded) {
.ui-grid-header-cell,
.ui-grid-cell {
background-color: $ui-grid-row-hover-color;
}
}

outline: none;

.ui-grid-action-cell-container {
opacity: 1;
.ui-grid-header-cell,
.ui-grid-cell {
background-color: $ui-grid-row-hover-color;
}
}

&:hover {
background-color: $ui-grid-row-hover-color;

&:not(.ui-grid-row-state-expanded) {
.ui-grid-header-cell,
.ui-grid-cell {
background-color: $ui-grid-row-hover-color;
}
}

outline: none;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ ui-grid {
&.ui-grid-state-resizing,
&:focus,
&.cdk-focused {
background-color: $ui-grid-row-hover-color;
background-color: $ui-grid-header-pressed-color;
}
}
}
Expand Down Expand Up @@ -734,10 +734,6 @@ ui-grid {
.ui-grid-cell {
height: $ui-grid-row-height - $ui-row-border-width;
background: $ui-grid-cell-background-color;

&.ui-grid-state-resizing {
background: $ui-grid-row-hover-color;
}
}

.sticky-columns-cell-container.ui-grid-cell {
Expand Down
2 changes: 1 addition & 1 deletion projects/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uipath/angular",
"version": "15.0.12",
"version": "15.0.13",
"license": "MIT",
"author": {
"name": "UiPath Inc",
Expand Down

0 comments on commit 0c2a051

Please sign in to comment.