Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"npm-run-all2": "9.0.3",
"octokit": "5.0.5",
"patch-package": "^8.0.0",
"prettier": "3.8.4",
"prettier": "3.9.9",
"reflect-metadata": "^0.2.0",
"renovate": "43.150.0",
"requirejs": "2.3.8",
Expand Down
11 changes: 6 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,4 @@ minimumReleaseAgeExclude:
- '@angular/platform-server@22.1.3'
- '@angular/router@22.1.3'
- sass@1.103.0
- prettier@3.9.9
3 changes: 1 addition & 2 deletions src/angular/chips/chip-list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,7 @@ describe('SbbChipList', () => {
component: Type<T>,
providers: Provider[] = [],
animationsModule:
| Type<NoopAnimationsModule>
| Type<BrowserAnimationsModule> = NoopAnimationsModule,
Type<NoopAnimationsModule> | Type<BrowserAnimationsModule> = NoopAnimationsModule,
): ComponentFixture<T> {
TestBed.configureTestingModule({
imports: [
Expand Down
3 changes: 1 addition & 2 deletions src/angular/datepicker/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ export class SbbCalendar<D> implements AfterContentInit, AfterViewChecked, OnDes

/** Function or observable of function that can be used to add custom CSS classes to dates. */
@Input() dateClass!:
| SbbCalendarCellClassFunction<D>
| Observable<SbbCalendarCellClassFunction<D>>;
SbbCalendarCellClassFunction<D> | Observable<SbbCalendarCellClassFunction<D>>;

/** Observable of `dateClass` function. */
_dateClassObservable!: Observable<SbbCalendarCellClassFunction<D>>;
Expand Down
4 changes: 1 addition & 3 deletions src/angular/dialog/dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ in which they are contained. When closing, an optional result value can be provi
value is forwarded as the result of the `afterClosed` Observable.

```ts
@Component({
/* ... */
})
@Component({/* ... */})
export class YourDialog {
constructor(public dialogRef: SbbDialogRef<YourDialog>) {}

Expand Down
8 changes: 1 addition & 7 deletions src/angular/header-lean/header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,7 @@ import { SBB_HEADER } from './header-token';
export type SbbHeaderMenuToggleResult = 'open' | 'close';

export type SbbHeaderCollapseBreakpoint =
| 'mobile'
| 'tablet'
| 'desktop'
| 'desktopLarge'
| 'desktop2k'
| 'desktop4k'
| 'desktop5k';
'mobile' | 'tablet' | 'desktop' | 'desktopLarge' | 'desktop2k' | 'desktop4k' | 'desktop5k';

const breakpointMapping = {
mobile: [Breakpoints.Mobile],
Expand Down
4 changes: 1 addition & 3 deletions src/angular/lightbox/lightbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ in which they are contained. When closing, an optional result value can be provi
value is forwarded as the result of the `afterClosed` Observable.

```ts
@Component({
/* ... */
})
@Component({/* ... */})
export class YourLightbox {
constructor(public lightboxRef: SbbLightboxRef<YourLightbox>) {}

Expand Down
7 changes: 1 addition & 6 deletions src/journey-maps/angular/controls/sbbGeolocateControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,7 @@ export class SbbGeolocateControl extends Evented implements IControl {
_geolocationWatchID?: number;
_timeoutId?: ReturnType<typeof setTimeout>;
_watchState!:
| 'OFF'
| 'ACTIVE_LOCK'
| 'WAITING_ACTIVE'
| 'ACTIVE_ERROR'
| 'BACKGROUND'
| 'BACKGROUND_ERROR';
'OFF' | 'ACTIVE_LOCK' | 'WAITING_ACTIVE' | 'ACTIVE_ERROR' | 'BACKGROUND' | 'BACKGROUND_ERROR';
_lastKnownPosition: any;
_userLocationDotMarker!: Marker;
_accuracyCircleMarker!: Marker;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ export class EsriFeatureService {
formData.append('f', 'json');

return this._httpClient
.post<
SbbEsriConfig | SbbEsriError
>(featureLayer.url, formData, this._getAuthParams(featureLayer.accessToken))
.post<SbbEsriConfig | SbbEsriError>(
featureLayer.url,
formData,
this._getAuthParams(featureLayer.accessToken),
)
.pipe(
map((config) => {
if (this._isEsriError(config)) {
Expand Down
Loading