Skip to content

Commit

Permalink
Merge branch 'main' into 10729-table-border-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
khotcholava authored Oct 18, 2024
2 parents b51dc5b + 9a2dc67 commit 835c0e5
Show file tree
Hide file tree
Showing 32 changed files with 434 additions and 18 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,50 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.53.1-rc.13](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.12...v0.53.1-rc.13) (2024-10-17)


### Bug Fixes

* **core:** add bigger z-index to show Dynamic page box-shadow ([#12560](https://github.com/SAP/fundamental-ngx/issues/12560)) ([7179a09](https://github.com/SAP/fundamental-ngx/commit/7179a09541c3634b350498f885844f07d55f7f67))





## [0.53.1-rc.12](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.11...v0.53.1-rc.12) (2024-10-17)


### Bug Fixes

* **platform:** add loadingState recheck when async refocusing cell ([#12561](https://github.com/SAP/fundamental-ngx/issues/12561)) ([6393beb](https://github.com/SAP/fundamental-ngx/commit/6393bebe20ae5d06371cb2040fbf6c9d13c3e82b))





## [0.53.1-rc.11](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.10...v0.53.1-rc.11) (2024-10-16)


### Bug Fixes

* **core:** build day view grid on specialDaysRule update. ([#12548](https://github.com/SAP/fundamental-ngx/issues/12548)) ([4884d88](https://github.com/SAP/fundamental-ngx/commit/4884d88e2402510e1a2289d0828cc51e5f88e550))





## [0.53.1-rc.10](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.9...v0.53.1-rc.10) (2024-10-15)


### Bug Fixes

* **core, platform:** add option to make individual Table header cells non-interactive ([#12552](https://github.com/SAP/fundamental-ngx/issues/12552)) ([f145191](https://github.com/SAP/fundamental-ngx/commit/f145191e83c3601a4c201c246f45de4fcc681d86))





## [0.53.1-rc.9](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.8...v0.53.1-rc.9) (2024-10-11)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"packages": ["libs/*"],
"version": "0.53.1-rc.9",
"version": "0.53.1-rc.13",
"conventionalCommits": true,
"tagVersionPrefix": "v",
"message": "chore(release): publish %v",
Expand Down
32 changes: 32 additions & 0 deletions libs/btp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.53.1-rc.13](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.12...v0.53.1-rc.13) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/btp





## [0.53.1-rc.12](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.11...v0.53.1-rc.12) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/btp





## [0.53.1-rc.11](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.10...v0.53.1-rc.11) (2024-10-16)

**Note:** Version bump only for package @fundamental-ngx/btp





## [0.53.1-rc.10](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.9...v0.53.1-rc.10) (2024-10-15)

**Note:** Version bump only for package @fundamental-ngx/btp





## [0.53.1-rc.9](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.8...v0.53.1-rc.9) (2024-10-11)

**Note:** Version bump only for package @fundamental-ngx/btp
Expand Down
2 changes: 1 addition & 1 deletion libs/btp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fundamental-ngx/btp",
"version": "0.53.1-rc.9",
"version": "0.53.1-rc.13",
"peerDependencies": {
"@angular/common": "ANGULAR_VER_PLACEHOLDER",
"@angular/core": "ANGULAR_VER_PLACEHOLDER",
Expand Down
32 changes: 32 additions & 0 deletions libs/cdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.53.1-rc.13](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.12...v0.53.1-rc.13) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/cdk





## [0.53.1-rc.12](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.11...v0.53.1-rc.12) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/cdk





## [0.53.1-rc.11](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.10...v0.53.1-rc.11) (2024-10-16)

**Note:** Version bump only for package @fundamental-ngx/cdk





## [0.53.1-rc.10](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.9...v0.53.1-rc.10) (2024-10-15)

**Note:** Version bump only for package @fundamental-ngx/cdk





## [0.53.1-rc.9](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.8...v0.53.1-rc.9) (2024-10-11)

**Note:** Version bump only for package @fundamental-ngx/cdk
Expand Down
2 changes: 1 addition & 1 deletion libs/cdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fundamental-ngx/cdk",
"version": "0.53.1-rc.9",
"version": "0.53.1-rc.13",
"schematics": "./schematics/collection.json",
"description": "Fundamental Library for Angular - CDK",
"license": "Apache-2.0",
Expand Down
41 changes: 41 additions & 0 deletions libs/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,47 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.53.1-rc.13](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.12...v0.53.1-rc.13) (2024-10-17)


### Bug Fixes

* **core:** add bigger z-index to show Dynamic page box-shadow ([#12560](https://github.com/SAP/fundamental-ngx/issues/12560)) ([7179a09](https://github.com/SAP/fundamental-ngx/commit/7179a09541c3634b350498f885844f07d55f7f67))





## [0.53.1-rc.12](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.11...v0.53.1-rc.12) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/core





## [0.53.1-rc.11](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.10...v0.53.1-rc.11) (2024-10-16)


### Bug Fixes

* **core:** build day view grid on specialDaysRule update. ([#12548](https://github.com/SAP/fundamental-ngx/issues/12548)) ([4884d88](https://github.com/SAP/fundamental-ngx/commit/4884d88e2402510e1a2289d0828cc51e5f88e550))





## [0.53.1-rc.10](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.9...v0.53.1-rc.10) (2024-10-15)


### Bug Fixes

* **core, platform:** add option to make individual Table header cells non-interactive ([#12552](https://github.com/SAP/fundamental-ngx/issues/12552)) ([f145191](https://github.com/SAP/fundamental-ngx/commit/f145191e83c3601a4c201c246f45de4fcc681d86))





## [0.53.1-rc.9](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.8...v0.53.1-rc.9) (2024-10-11)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ export class CalendarDayViewComponent<D> implements OnInit, OnChanges, Focusable
if (changes['startingDayOfWeek']) {
this._refreshShortWeekDays();
}
if (changes['specialDaysRules']) {
this._buildDayViewGrid();
}
}

/**
Expand Down
4 changes: 4 additions & 0 deletions libs/core/dynamic-page/dynamic-page.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,7 @@
position: relative;
box-shadow: var(--sapContent_HeaderShadow);
}

.fd-dynamic-page__header {
z-index: 15;
}
2 changes: 1 addition & 1 deletion libs/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fundamental-ngx/core",
"version": "0.53.1-rc.9",
"version": "0.53.1-rc.13",
"schematics": "./schematics/collection.json",
"ng-update": {
"migrations": "./schematics/migrations.json"
Expand Down
5 changes: 5 additions & 0 deletions libs/core/table/directives/table-cell.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ export class TableCellDirective extends FocusableItemDirective implements AfterC
@Input()
noData = false;

/** Whether the table cell inside table header should be non-interactive */
@HostBinding('class.fd-table__cell--non-interactive')
@Input()
nonInteractive = false;

/** Key of a cell element, it's used to identify this cell with certain column */
@Input()
key: string;
Expand Down
14 changes: 14 additions & 0 deletions libs/core/table/table.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,17 @@
.fd-table__cell--focusable[aria-selected='true']:after {
border-color: var(--sapContent_FocusColor) !important;
}

.fd-table__header .fd-table__cell.fd-table__cell--non-interactive {
&:hover,
&.is-hover {
background-color: var(--sapList_HeaderBackground);
color: var(--sapList_HeaderTextColor);
}

&:active,
&.is-active {
background-color: var(--sapList_HeaderBackground);
color: var(--sapList_HeaderTextColor);
}
}
32 changes: 32 additions & 0 deletions libs/cx/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.53.1-rc.13](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.12...v0.53.1-rc.13) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/cx





## [0.53.1-rc.12](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.11...v0.53.1-rc.12) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/cx





## [0.53.1-rc.11](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.10...v0.53.1-rc.11) (2024-10-16)

**Note:** Version bump only for package @fundamental-ngx/cx





## [0.53.1-rc.10](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.9...v0.53.1-rc.10) (2024-10-15)

**Note:** Version bump only for package @fundamental-ngx/cx





## [0.53.1-rc.9](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.8...v0.53.1-rc.9) (2024-10-11)

**Note:** Version bump only for package @fundamental-ngx/cx
Expand Down
2 changes: 1 addition & 1 deletion libs/cx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fundamental-ngx/cx",
"version": "0.53.1-rc.9",
"version": "0.53.1-rc.13",
"schematics": "./schematics/collection.json",
"description": "Fundamental Library for Angular - cx",
"license": "Apache-2.0",
Expand Down
32 changes: 32 additions & 0 deletions libs/datetime-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.53.1-rc.13](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.12...v0.53.1-rc.13) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/datetime-adapter





## [0.53.1-rc.12](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.11...v0.53.1-rc.12) (2024-10-17)

**Note:** Version bump only for package @fundamental-ngx/datetime-adapter





## [0.53.1-rc.11](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.10...v0.53.1-rc.11) (2024-10-16)

**Note:** Version bump only for package @fundamental-ngx/datetime-adapter





## [0.53.1-rc.10](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.9...v0.53.1-rc.10) (2024-10-15)

**Note:** Version bump only for package @fundamental-ngx/datetime-adapter





## [0.53.1-rc.9](https://github.com/SAP/fundamental-ngx/compare/v0.53.1-rc.8...v0.53.1-rc.9) (2024-10-11)

**Note:** Version bump only for package @fundamental-ngx/datetime-adapter
Expand Down
2 changes: 1 addition & 1 deletion libs/datetime-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fundamental-ngx/datetime-adapter",
"version": "0.53.1-rc.9",
"version": "0.53.1-rc.13",
"description": "Datetime adapter for SAP Fundamentals, based on Day.js package",
"license": "Apache-2.0",
"homepage": "https://sap.github.io/fundamental-ngx/home",
Expand Down
35 changes: 35 additions & 0 deletions libs/docs/core/table/examples/table-example.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,41 @@
</tbody>
</table>

<br /><br />
<h4>individual non-interactive header cells</h4>
<table fd-table aria-label="Default">
<thead fd-table-header>
<tr fd-table-row>
<th fd-table-cell [nonInteractive]="true">Non-interactive Column Header</th>
<th fd-table-cell>Column Header</th>
<th fd-table-cell>Column Header</th>
<th fd-table-cell>Column Header</th>
<th fd-table-cell [nonInteractive]="true">Non-interactive Column Header</th>
</tr>
</thead>
<tbody fd-table-body>
@for (row of tableRows; track row) {
<tr fd-table-row>
<td fd-table-cell>
<a fd-link href="#">{{ row.column1 }}</a>
</td>
<td fd-table-cell>
<p fd-table-text maxWidth="250px" [noWrap]="true">
{{ row.column2 }}
</p>
</td>
<td fd-table-cell>
<p fd-table-text maxWidth="250px">
{{ row.column3 }}
</p>
</td>
<td fd-table-cell>{{ row.date }}</td>
<td fd-table-cell><fd-icon [glyph]="row.type"></fd-icon></td>
</tr>
}
</tbody>
</table>

<br /><br />
<h4>non-interactive header cells</h4>
<table fd-table aria-label="Default">
Expand Down
Loading

0 comments on commit 835c0e5

Please sign in to comment.