fix: finish porting minor changes to major (#2799)

This commit is contained in:
Alex Inkin
2024-12-12 03:16:46 +04:00
committed by GitHub
parent 115c599fd8
commit 89ab67e067
76 changed files with 1176 additions and 1376 deletions

View File

@@ -3,10 +3,7 @@ import { ChangeDetectionStrategy, Component, inject } from '@angular/core'
import { Exver, MarkdownPipeModule } from '@start9labs/shared'
import { TuiButton, TuiDialogContext, TuiLoader } from '@taiga-ui/core'
import { TuiAccordion } from '@taiga-ui/kit'
import {
POLYMORPHEUS_CONTEXT,
PolymorpheusComponent,
} from '@taiga-ui/polymorpheus'
import { injectContext, PolymorpheusComponent } from '@taiga-ui/polymorpheus'
import { MarketplacePkg } from '../../src/types'
@Component({
@@ -35,7 +32,7 @@ import { MarketplacePkg } from '../../src/types'
export class ReleaseNotesComponent {
private readonly exver = inject(Exver)
private readonly pkg =
inject<TuiDialogContext<void, MarketplacePkg>>(POLYMORPHEUS_CONTEXT).data
injectContext<TuiDialogContext<void, MarketplacePkg>>().data
readonly notes = Object.entries(this.pkg.otherVersions)
.filter(

View File

@@ -22,7 +22,7 @@ import { PolymorpheusContent } from '@taiga-ui/polymorpheus'
>
<button
tuiIconButton
appearance="flat"
appearance="flat-grayscale"
iconStart="@tui.chevron-left"
title="Previous"
type="button"
@@ -60,7 +60,7 @@ import { PolymorpheusContent } from '@taiga-ui/polymorpheus'
</tui-carousel>
<button
tuiIconButton
appearance="flat"
appearance="flat-grayscale"
type="button"
iconStart="@tui.chevron-right"
title="Next"