diff --git a/apps/demo-cypress/cypress/plugins/plugin.ts b/apps/demo-cypress/cypress/plugins/plugin.ts index 914616a12..55d7ed33c 100644 --- a/apps/demo-cypress/cypress/plugins/plugin.ts +++ b/apps/demo-cypress/cypress/plugins/plugin.ts @@ -10,8 +10,8 @@ declare module 'cypress-image-snapshot/plugin' { } export interface TuiSnapshotPluginOptions { - newSnapshotMarkFn: (oldSnapshotFileName: string) => string; newSnapshotMarkEnabled: boolean; + newSnapshotMarkFn: (oldSnapshotFileName: string) => string; } export async function tuiAddSnapshotPlugin( diff --git a/apps/demo-cypress/cypress/support/commands/basic.ts b/apps/demo-cypress/cypress/support/commands/basic.ts index f39d4d07d..f121de5e4 100644 --- a/apps/demo-cypress/cypress/support/commands/basic.ts +++ b/apps/demo-cypress/cypress/support/commands/basic.ts @@ -20,27 +20,27 @@ import {tuiWaitKitDialog} from '../helpers/wait-kit-dialog'; declare global { namespace Cypress { interface Chainable { - getByAutomationId(automationId: string): Chainable; - findByAutomationId(automationId: string): Chainable; - tuiVisit: typeof tuiVisit; + getByAutomationId(automationId: string): Chainable; + + tuiClickOutside: typeof tuiClickOutside; + tuiFindByExampleId(): Chainable; + tuiFocus(): Chainable; + tuiGetByExampleId(): Chainable; tuiHide: typeof tuiHide; - tuiShow: typeof tuiShow; - tuiWaitKitDialog: typeof tuiWaitKitDialog; + tuiScrollIntoView(): Chainable; tuiSetLanguage: typeof tuiSetLanguage; tuiSetNightMode: typeof tuiSetNightMode; - tuiWaitCodeHighlight: typeof tuiWaitCodeHighlight; - tuiClickOutside: typeof tuiClickOutside; + tuiShow: typeof tuiShow; tuiTab(direction: 'backward' | 'forward'): Chainable; - tuiGetByExampleId(): Chainable; - tuiFindByExampleId(): Chainable; + tuiVisit: typeof tuiVisit; + tuiWaitAllImgInside(enabled?: boolean): Chainable; tuiWaitBeforeAction(): Chainable; tuiWaitBeforeScreenshot(): Chainable; - tuiScrollIntoView(): Chainable; - tuiFocus(): Chainable; - tuiWaitAllImgInside(enabled?: boolean): Chainable; + tuiWaitCodeHighlight: typeof tuiWaitCodeHighlight; + tuiWaitKitDialog: typeof tuiWaitKitDialog; } interface Chainer { diff --git a/apps/demo-cypress/cypress/support/editor/helpers.ts b/apps/demo-cypress/cypress/support/editor/helpers.ts index f135e72da..af723c2fa 100644 --- a/apps/demo-cypress/cypress/support/editor/helpers.ts +++ b/apps/demo-cypress/cypress/support/editor/helpers.ts @@ -7,8 +7,8 @@ export function tuiVisitEditorApiPage({ skipDecodingUrl, }: Partial<{ content: string; - maxHeight: number; enableNightMode: boolean; + maxHeight: number; skipDecodingUrl: boolean; }> = {}): void { cy.viewport(1850, 1600).tuiVisit( diff --git a/apps/demo-cypress/cypress/support/helpers/visit.ts b/apps/demo-cypress/cypress/support/helpers/visit.ts index 8a9cfe99a..6d07a3424 100644 --- a/apps/demo-cypress/cypress/support/helpers/visit.ts +++ b/apps/demo-cypress/cypress/support/helpers/visit.ts @@ -8,35 +8,35 @@ const NEXT_URL_STORAGE_KEY = `env`; const REPEATED_SLASH_REG = new RegExp(`//`, `g`); interface TuiVisitOptions { + clock?: Date | null; + enableNightMode?: boolean; + headers?: Record; + hideCursor?: boolean; + hideGetHelpLinks?: boolean; + hideHeader?: boolean; + hideLanguageSwitcher?: boolean; + hideNavigation?: boolean; + hideScrollbar?: boolean; + hideVersionManager?: boolean; /** * Cypress runs all tests within an iframe. * Sometimes our app can behave differently if it runs under iframe or not (see util {@link isInsideIframe}). * This parameter can help to falsify result of {@link isInsideIframe} for certain test run. */ inIframe?: boolean; - waitAllIcons?: boolean; - enableNightMode?: boolean; - hideCursor?: boolean; - hideScrollbar?: boolean; - hideVersionManager?: boolean; - hideLanguageSwitcher?: boolean; - hideGetHelpLinks?: boolean; noSmoothScroll?: boolean; - hideHeader?: boolean; - hideNavigation?: boolean; - stopAnimation?: boolean; - skipDecodingUrl?: boolean; - skipExpectUrl?: boolean; - waitRenderedFont?: RegExp; - rootSelector?: string; - clock?: Date | null; - headers?: Record; /** * WARNING: this flag does not provide fully emulation of touch mobile device. * Cypress can't do it (https://docs.cypress.io/faq/questions/general-questions-faq#Do-you-support-native-mobile-apps). * But you can control token `TUI_IS_MOBILE` by this flag. */ pseudoMobile?: boolean; + rootSelector?: string; + skipDecodingUrl?: boolean; + skipExpectUrl?: boolean; + stopAnimation?: boolean; + waitAllIcons?: boolean; + waitRenderedFont?: RegExp; } const setBeforeLoadOptions = ( diff --git a/apps/demo/src/app/constants/demo-path.ts b/apps/demo/src/app/constants/demo-path.ts index a0788a0e1..290fdfe68 100644 --- a/apps/demo/src/app/constants/demo-path.ts +++ b/apps/demo/src/app/constants/demo-path.ts @@ -1,26 +1,26 @@ // eslint-disable-next-line no-restricted-syntax export const enum TuiDemoPath { - Stackblitz = `stackblitz`, + Anchors = `anchors`, Changelog = `changelog`, - StarterKit = `starter-kit`, ColorPicker = `color-picker`, + ColorPickerTool = `custom-tool/color-picker`, + EmbedHtml5 = `embed/html5`, + EmbedIframe = `embed/iframe`, + EmbedYoutube = `embed/youtube`, + Focus = `focus`, Font = `font`, - Anchors = `anchors`, Groups = `groups`, - Focus = `focus`, - UploadFiles = `upload-files`, + HighlightCode = `highlight/code`, + HighlightText = `highlight/text`, + ImagesPreview = `images/preview`, + ImagesResizable = `images/resizable`, + ImagesUpload = `images/upload`, PasteEmojiTool = `custom-tool/paste-emoji`, - ColorPickerTool = `custom-tool/color-picker`, PasteImageTool = `custom-tool/paste-image`, - HighlightText = `highlight/text`, - HighlightCode = `highlight/code`, - ProcessingLegacyHtml = `processing/legacy-html`, ProcessingCleanupHtml = `processing/cleanup-html`, + ProcessingLegacyHtml = `processing/legacy-html`, ProcessingMarkdown = `processing/markdown`, - ImagesResizable = `images/resizable`, - ImagesPreview = `images/preview`, - ImagesUpload = `images/upload`, - EmbedYoutube = `embed/youtube`, - EmbedIframe = `embed/iframe`, - EmbedHtml5 = `embed/html5`, + Stackblitz = `stackblitz`, + StarterKit = `starter-kit`, + UploadFiles = `upload-files`, } diff --git a/apps/demo/src/app/pages/color-picker/examples/3/index.ts b/apps/demo/src/app/pages/color-picker/examples/3/index.ts index b703a5e90..b289575b4 100644 --- a/apps/demo/src/app/pages/color-picker/examples/3/index.ts +++ b/apps/demo/src/app/pages/color-picker/examples/3/index.ts @@ -8,9 +8,9 @@ import {BehaviorSubject} from 'rxjs'; }) export class TuiColorPickerExample3 { colors = new Map([ - ['red', 'var(--tui-error-fill)'], - ['green', 'var(--tui-success-fill)'], ['blue', 'var(--tui-info-fill)'], + ['green', 'var(--tui-success-fill)'], + ['red', 'var(--tui-error-fill)'], ]); color$ = new BehaviorSubject('var(--tui-success-fill)'); diff --git a/apps/demo/src/app/pages/images/upload/examples/1/imgbb.service.ts b/apps/demo/src/app/pages/images/upload/examples/1/imgbb.service.ts index 34467cb67..216b2ceab 100644 --- a/apps/demo/src/app/pages/images/upload/examples/1/imgbb.service.ts +++ b/apps/demo/src/app/pages/images/upload/examples/1/imgbb.service.ts @@ -15,17 +15,17 @@ const imgbb = { interface ImgbbResponse { data: { + expiration: string; + height: string; id: string; + size: number; + time: string; title: string; url: string; width: string; - height: string; - size: number; - time: string; - expiration: string; }; - success: boolean; status: number; + success: boolean; } @Injectable({ diff --git a/apps/demo/src/app/pages/stackblitz/stackblitz-resources-loader.ts b/apps/demo/src/app/pages/stackblitz/stackblitz-resources-loader.ts index 358c78b26..60cc67854 100644 --- a/apps/demo/src/app/pages/stackblitz/stackblitz-resources-loader.ts +++ b/apps/demo/src/app/pages/stackblitz/stackblitz-resources-loader.ts @@ -2,12 +2,12 @@ import {tuiRawLoad, tuiTryParseMarkdownCodeBlock} from '@taiga-ui/addon-doc'; interface TuiProjectFiles { angularJson: string; - tsconfig: string; - mainTs: string; + appModuleTs: string; indexHtml: string; + mainTs: string; polyfills: string; - appModuleTs: string; styles: string; + tsconfig: string; } export abstract class AbstractTuiStackblitzResourcesLoader { diff --git a/libs/tui-editor/components/edit-link/utils/edit-link-parse-url.ts b/libs/tui-editor/components/edit-link/utils/edit-link-parse-url.ts index 47f041ecc..cd03c4cc6 100644 --- a/libs/tui-editor/components/edit-link/utils/edit-link-parse-url.ts +++ b/libs/tui-editor/components/edit-link/utils/edit-link-parse-url.ts @@ -6,8 +6,8 @@ import { } from '@tinkoff/tui-editor/constants'; interface TuiEditLinkParsed { - prefix: string; path: string; + prefix: string; } export function tuiEditLinkParseUrl(url: string = ``): TuiEditLinkParsed { diff --git a/libs/tui-editor/components/editor-resizable/editor-resizable.abstract.ts b/libs/tui-editor/components/editor-resizable/editor-resizable.abstract.ts index d28d21bcf..d246331f3 100644 --- a/libs/tui-editor/components/editor-resizable/editor-resizable.abstract.ts +++ b/libs/tui-editor/components/editor-resizable/editor-resizable.abstract.ts @@ -5,8 +5,8 @@ import {merge} from 'rxjs'; import {takeUntil} from 'rxjs/operators'; export interface TuiEditorResizableContainer { - width?: number | string | null; height?: number | string | null; + width?: number | string | null; } @Directive() diff --git a/libs/tui-editor/components/toolbar-tools/table-create/table-create.component.ts b/libs/tui-editor/components/toolbar-tools/table-create/table-create.component.ts index 47b288ed8..14dfd9d07 100644 --- a/libs/tui-editor/components/toolbar-tools/table-create/table-create.component.ts +++ b/libs/tui-editor/components/toolbar-tools/table-create/table-create.component.ts @@ -25,7 +25,7 @@ export class TuiTableCreateComponent { readonly texts$: Observable, ) {} - addTable({rows, cols}: {rows: number; cols: number}): void { + addTable({rows, cols}: {cols: number; rows: number}): void { this.editor.enter(); // @note: clear previous styles const prevLine = this.editor.state.selection.anchor; diff --git a/libs/tui-editor/constants/default-editor-colors.ts b/libs/tui-editor/constants/default-editor-colors.ts index dbed96b03..f2dabc3fd 100644 --- a/libs/tui-editor/constants/default-editor-colors.ts +++ b/libs/tui-editor/constants/default-editor-colors.ts @@ -1,29 +1,29 @@ export const defaultEditorColors = new Map([ - [`transparent`, `transparent`], - [`color-black-300`, `#333333`], - [`color-black-200`, `#666666`], [`color-black-100`, `#909090`], - [`color-yellow-100`, `#FFDD2C`], - [`color-yellow-200`, `#FCC521`], - [`color-yellow-300`, `#FAB618`], + [`color-black-200`, `#666666`], + [`color-black-300`, `#333333`], + [`color-blue-100`, `#1771e6`], + [`color-blue-200`, `#1464cc`], + [`color-blue-300`, `#0953b3`], [`color-gray-100`, `#f5f5f6`], [`color-gray-200`, `#e7e8ea`], [`color-gray-300`, `#cbcfd3`], [`color-gray-400`, `#959ba4`], [`color-gray-500`, `#79818c`], [`color-gray-600`, `#616871`], - [`color-light-blue-100`, `#ecf1f7`], - [`color-light-blue-200`, `#e4ebf3`], - [`color-light-blue-300`, `#dde4ed`], - [`color-blue-100`, `#1771e6`], - [`color-blue-200`, `#1464cc`], - [`color-blue-300`, `#0953b3`], [`color-green-100`, `#39b54a`], [`color-green-200`, `#2ca53a`], [`color-green-300`, `#168a21`], + [`color-light-blue-100`, `#ecf1f7`], + [`color-light-blue-200`, `#e4ebf3`], + [`color-light-blue-300`, `#dde4ed`], [`color-red-100`, `#e01f19`], [`color-red-200`, `#d3120e`], [`color-red-300`, `#c40b08`], + [`color-yellow-100`, `#FFDD2C`], + [`color-yellow-200`, `#FCC521`], + [`color-yellow-300`, `#FAB618`], + [`transparent`, `transparent`], ]); export const EDITOR_BLANK_COLOR = `rgb(51, 51, 51)`; diff --git a/libs/tui-editor/enums/editor-tool.ts b/libs/tui-editor/enums/editor-tool.ts index c72839763..b95268047 100644 --- a/libs/tui-editor/enums/editor-tool.ts +++ b/libs/tui-editor/enums/editor-tool.ts @@ -1,31 +1,31 @@ // TODO: change type in v4.0 // eslint-disable-next-line no-restricted-syntax export enum TuiEditorTool { - Undo = `undo`, + Align = `justify`, Anchor = `anchor`, - Size = `fontSize`, + Attach = `attach`, Bold = `bold`, - Italic = `italic`, - Underline = `underline`, - Strikethrough = `strikeThrough`, - Align = `justify`, - List = `list`, - Quote = `quote`, - Color = `foreColor`, - Hilite = `hiliteColor`, Clear = `clear`, - Link = `link`, - Attach = `attach`, - Tex = `tex`, // Todo Code = `code`, - Img = `image`, + Color = `foreColor`, + Details = `details`, + Group = `group`, HR = `insertHorizontalRule`, - Sup = `superscript`, - Sub = `subscript`, - Table = `insertTable`, + Hilite = `hiliteColor`, + Img = `image`, + Italic = `italic`, + Link = `link`, + List = `list`, MergeCells = `mergeCells`, - SplitCells = `splitCells`, + Quote = `quote`, RowsColumnsManaging = `rowsColumnsManaging`, - Details = `details`, - Group = `group`, + Size = `fontSize`, + SplitCells = `splitCells`, + Strikethrough = `strikeThrough`, + Sub = `subscript`, + Sup = `superscript`, + Table = `insertTable`, + Tex = `tex`, // Todo + Underline = `underline`, + Undo = `undo`, } diff --git a/libs/tui-editor/extensions/details/details.extension.ts b/libs/tui-editor/extensions/details/details.extension.ts index 9e939b484..c91c3e128 100644 --- a/libs/tui-editor/extensions/details/details.extension.ts +++ b/libs/tui-editor/extensions/details/details.extension.ts @@ -8,8 +8,8 @@ export interface TuiDetailsOptions { declare module '@tiptap/core' { interface Commands { details: { - setDetails: () => ReturnType; removeDetails: () => ReturnType; + setDetails: () => ReturnType; }; } } diff --git a/libs/tui-editor/extensions/group/group.extension.ts b/libs/tui-editor/extensions/group/group.extension.ts index c1e96016b..785273118 100644 --- a/libs/tui-editor/extensions/group/group.extension.ts +++ b/libs/tui-editor/extensions/group/group.extension.ts @@ -6,9 +6,9 @@ import {TUI_EDITOR_GROUP_DEFAULT_OPTIONS, TuiEditorGroupOptions} from './group.o declare module '@tiptap/core' { interface Commands { group: { + removeGroup: () => ReturnType; setGroup: () => ReturnType; setGroupHilite: (color: string) => ReturnType; - removeGroup: () => ReturnType; }; } } diff --git a/libs/tui-editor/extensions/group/group.options.ts b/libs/tui-editor/extensions/group/group.options.ts index 4fdef21ca..2eb30274f 100644 --- a/libs/tui-editor/extensions/group/group.options.ts +++ b/libs/tui-editor/extensions/group/group.options.ts @@ -1,9 +1,9 @@ export interface TuiEditorGroupOptions { + readonly createOnEnter: boolean; + readonly draggable: boolean; readonly groupNodeClass: string; readonly groupPointerNodeClass: string; - readonly draggable: boolean; readonly nested: boolean; - readonly createOnEnter: boolean; } export const TUI_EDITOR_GROUP_DEFAULT_OPTIONS: TuiEditorGroupOptions = { diff --git a/libs/tui-editor/extensions/iframe-editor/iframe-editor.options.ts b/libs/tui-editor/extensions/iframe-editor/iframe-editor.options.ts index 34b14d0e3..db27f27ae 100644 --- a/libs/tui-editor/extensions/iframe-editor/iframe-editor.options.ts +++ b/libs/tui-editor/extensions/iframe-editor/iframe-editor.options.ts @@ -1,18 +1,18 @@ import {InjectionToken} from '@angular/core'; export interface TuiEditableIframeOptions { - minWidth: number; + maxHeight: number; maxWidth: number; minHeight: number; - maxHeight: number; + minWidth: number; } export interface TuiEditableIframe { - src: string | null; - frameborder?: number | null; allowfullscreen?: boolean | null; - width?: number | string | null; + frameborder?: number | null; height?: number | string | null; + src: string | null; + width?: number | string | null; } /** diff --git a/libs/tui-editor/extensions/image-editor/image-editor.extension.ts b/libs/tui-editor/extensions/image-editor/image-editor.extension.ts index daafe0a52..caf095a4c 100644 --- a/libs/tui-editor/extensions/image-editor/image-editor.extension.ts +++ b/libs/tui-editor/extensions/image-editor/image-editor.extension.ts @@ -153,8 +153,8 @@ export function tuiCreateImageEditorExtension({ injector, draggable, }: { - injector: Injector; draggable?: boolean; + injector: Injector; }): Node { return createImageEditorExtension(injector, {draggable}); } diff --git a/libs/tui-editor/extensions/image-editor/image-editor.options.ts b/libs/tui-editor/extensions/image-editor/image-editor.options.ts index 56892acbb..141d7532f 100644 --- a/libs/tui-editor/extensions/image-editor/image-editor.options.ts +++ b/libs/tui-editor/extensions/image-editor/image-editor.options.ts @@ -1,16 +1,16 @@ import {InjectionToken} from '@angular/core'; export interface TuiImageEditorOptions { - minWidth: number; maxWidth: number; + minWidth: number; } export interface TuiEditableImage { - src: string; - width?: number | string; alt?: string; - title?: string; draggable?: '' | null; + src: string; + title?: string; + width?: number | string; } /** diff --git a/libs/tui-editor/extensions/jump-anchor/jump-anchor.extension.ts b/libs/tui-editor/extensions/jump-anchor/jump-anchor.extension.ts index 510bb9913..86f7f6b9b 100644 --- a/libs/tui-editor/extensions/jump-anchor/jump-anchor.extension.ts +++ b/libs/tui-editor/extensions/jump-anchor/jump-anchor.extension.ts @@ -3,8 +3,8 @@ import {Mark, mergeAttributes} from '@tiptap/core'; declare module '@tiptap/core' { interface Commands { anchor: { - setAnchor: (id: string) => ReturnType; removeAnchor: () => ReturnType; + setAnchor: (id: string) => ReturnType; }; } } diff --git a/libs/tui-editor/extensions/tiptap-node-view/node-view-render.ts b/libs/tui-editor/extensions/tiptap-node-view/node-view-render.ts index 27e22f685..72963de8f 100644 --- a/libs/tui-editor/extensions/tiptap-node-view/node-view-render.ts +++ b/libs/tui-editor/extensions/tiptap-node-view/node-view-render.ts @@ -31,8 +31,8 @@ export class TuiNodeViewNgComponent implements NodeViewProps { } export interface TuiNodeViewRendererOptions extends NodeViewRendererOptions { - update?: (node: ProseMirrorNode, decorations: Decoration[]) => boolean; injector: Injector; + update?: (node: ProseMirrorNode, decorations: Decoration[]) => boolean; } /** diff --git a/libs/tui-editor/extensions/youtube/youtube.ts b/libs/tui-editor/extensions/youtube/youtube.ts index ca2f48e5c..1b426e941 100644 --- a/libs/tui-editor/extensions/youtube/youtube.ts +++ b/libs/tui-editor/extensions/youtube/youtube.ts @@ -1,10 +1,10 @@ import YoutubeExtension from '@tiptap/extension-youtube'; export interface TuiYoutubeOptions { - src: string; - width?: number | string; height?: number | string; + src: string; start?: number; + width?: number | string; } declare module '@tiptap/core' { @@ -14,10 +14,10 @@ declare module '@tiptap/core' { * Insert a youtube video */ setYoutubeVideo: (options: { - src: string; - width?: number; height?: number; + src: string; start?: number; + width?: number; }) => ReturnType; }; } diff --git a/libs/tui-editor/interfaces/attached.ts b/libs/tui-editor/interfaces/attached.ts index 044edbecb..628f993dd 100644 --- a/libs/tui-editor/interfaces/attached.ts +++ b/libs/tui-editor/interfaces/attached.ts @@ -1,7 +1,7 @@ export interface TuiEditorAttachedFile> { - name: string; - link: string; attrs?: T; + link: string; + name: string; } export interface TuiEditorAttachOptions { diff --git a/libs/tui-editor/interfaces/editor-font-option.ts b/libs/tui-editor/interfaces/editor-font-option.ts index ad843ece8..c78433427 100644 --- a/libs/tui-editor/interfaces/editor-font-option.ts +++ b/libs/tui-editor/interfaces/editor-font-option.ts @@ -1,15 +1,15 @@ // @bad TODO: Make customizable export interface TuiEditorFontOption { + family?: string; + headingLevel?: 1 | 2 | 3 | 4 | 5 | 6; + name: string; + ngClass?: Record | Set | string[] | string; + ngStyle?: Record; + px?: number; /** * @deprecated * not used anywhere */ size?: string; - name: string; - family?: string; weight?: string; - ngClass?: Record | Set | string[] | string; - ngStyle?: Record; - px?: number; - headingLevel?: 1 | 2 | 3 | 4 | 5 | 6; } diff --git a/libs/tui-editor/interfaces/parsed-gradient.ts b/libs/tui-editor/interfaces/parsed-gradient.ts index ef751e52e..aaca8e716 100644 --- a/libs/tui-editor/interfaces/parsed-gradient.ts +++ b/libs/tui-editor/interfaces/parsed-gradient.ts @@ -1,9 +1,9 @@ import {TuiGradientDirection} from '@tinkoff/tui-editor/types'; export interface TuiParsedGradient { + readonly side: TuiGradientDirection; readonly stops: ReadonlyArray<{ readonly color: string; readonly position: string; }>; - readonly side: TuiGradientDirection; } diff --git a/libs/tui-editor/tokens/editor-options.ts b/libs/tui-editor/tokens/editor-options.ts index 8a4a567b0..9fffcb1cb 100644 --- a/libs/tui-editor/tokens/editor-options.ts +++ b/libs/tui-editor/tokens/editor-options.ts @@ -9,58 +9,58 @@ import { } from '@tinkoff/tui-editor/constants'; export interface TuiEditorOptions { - readonly translate: 'no' | 'yes'; - readonly spellcheck: boolean; readonly blankColor: string; readonly colors: ReadonlyMap; readonly fontOptions: typeof tuiDefaultFontOptionsHandler; - readonly linkOptions?: TuiEditorLinkOptions; readonly icons: { - readonly undo: string; - readonly redo: string; - readonly quote: string; - readonly link: string; + readonly addRowTable: string; readonly anchor: string; readonly attach: string; - readonly sub: string; - readonly sup: string; - readonly tex: string; - readonly image: string; - readonly hr: string; readonly clear: string; - readonly groupAdd: string; - readonly groupRemove: string; + readonly code: string; + readonly colorSelectorDropdownCheck: string; + readonly colorSelectorDropdownChevron: string; readonly detailsAdd: string; readonly detailsRemove: string; - readonly popupLinkSave: string; + readonly fontSize: string; + readonly fontStyleBold: string; + readonly fontStyleItalic: string; + readonly fontStylePreview: string; + readonly fontStyleStrike: string; + readonly fontStyleUnderline: string; + readonly groupAdd: string; + readonly groupRemove: string; + readonly hr: string; + readonly image: string; + readonly indent: string; + readonly insertTable: string; + readonly link: string; + readonly listOrdered: string; + readonly listPreview: string; + readonly listUnOrdered: string; + readonly outdent: string; + readonly paint: string; readonly popupLinkRemove: string; - readonly popupPreviewLinkEdit: string; + readonly popupLinkSave: string; readonly popupPreviewLinkClear: string; - readonly paint: string; - readonly textAlignPreview: string; - readonly textAlignLeft: string; + readonly popupPreviewLinkEdit: string; + readonly quote: string; + readonly redo: string; + readonly sub: string; + readonly sup: string; + readonly tex: string; readonly textAlignCenter: string; - readonly textAlignRight: string; readonly textAlignJustify: string; + readonly textAlignLeft: string; + readonly textAlignPreview: string; + readonly textAlignRight: string; readonly textColor: string; readonly textHilite: string; - readonly listPreview: string; - readonly listUnOrdered: string; - readonly listOrdered: string; - readonly indent: string; - readonly outdent: string; - readonly fontSize: string; - readonly insertTable: string; - readonly addRowTable: string; - readonly code: string; - readonly fontStylePreview: string; - readonly fontStyleBold: string; - readonly fontStyleItalic: string; - readonly fontStyleUnderline: string; - readonly fontStyleStrike: string; - readonly colorSelectorDropdownChevron: string; - readonly colorSelectorDropdownCheck: string; + readonly undo: string; }; + readonly linkOptions?: TuiEditorLinkOptions; + readonly spellcheck: boolean; + readonly translate: 'no' | 'yes'; } export const TUI_EDITOR_DEFAULT_OPTIONS: TuiEditorOptions = { diff --git a/package-lock.json b/package-lock.json index aa5f8d4af..d58f6919f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,18 +38,18 @@ "@nx/node": "16.7.4", "@nx/workspace": "16.7.4", "@stackblitz/sdk": "1.9.0", - "@taiga-ui/addon-doc": "3.41.1", - "@taiga-ui/addon-mobile": "3.41.1", - "@taiga-ui/addon-preview": "3.41.1", - "@taiga-ui/cdk": "3.41.1", - "@taiga-ui/core": "3.41.1", - "@taiga-ui/eslint-plugin-experience": "0.2.0", - "@taiga-ui/icons": "3.41.1", - "@taiga-ui/kit": "3.41.1", + "@taiga-ui/addon-doc": "3.42.1", + "@taiga-ui/addon-mobile": "3.42.1", + "@taiga-ui/addon-preview": "3.42.1", + "@taiga-ui/cdk": "3.42.1", + "@taiga-ui/core": "3.42.1", + "@taiga-ui/eslint-plugin-experience": "0.3.1", + "@taiga-ui/icons": "3.42.1", + "@taiga-ui/kit": "3.42.1", "@taiga-ui/prettier-config": "0.2.0", "@taiga-ui/stylelint-config": "0.1.3", - "@taiga-ui/styles": "3.41.1", - "@taiga-ui/testing": "3.41.1", + "@taiga-ui/styles": "3.42.1", + "@taiga-ui/testing": "3.42.1", "@testing-library/cypress": "9.0.0", "@tinkoff/ng-dompurify": "3.0.0", "@types/cypress-image-snapshot": "3.1.6", @@ -9977,9 +9977,9 @@ "dev": true }, "node_modules/@taiga-ui/addon-doc": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/addon-doc/-/addon-doc-3.41.1.tgz", - "integrity": "sha512-fB7Y5CvgwBpqQ5EYIAqwx4zs82eJIY6z0HV6Rj8IJTxWdgzBiC6b+JF17tnMWr5chUfMP0OGfsEPUf5PlksjUA==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/addon-doc/-/addon-doc-3.42.1.tgz", + "integrity": "sha512-3V7AKY5qOF5mJVjbQ397nOpDO/plVMrc32U1KWwUk8w02nE4ivTBnGky2bNTbJ+qqFM2cpCp0WJNx7ns1UEj6A==", "dev": true, "dependencies": { "@angular-devkit/schematics": "12.2.18", @@ -9994,10 +9994,10 @@ "@angular/forms": ">=12.0.0", "@angular/router": ">=12.0.0", "@ng-web-apis/common": ">=3.0.0", - "@taiga-ui/addon-mobile": ">=3.41.1", - "@taiga-ui/cdk": ">=3.41.1", - "@taiga-ui/core": ">=3.41.1", - "@taiga-ui/kit": ">=3.41.1", + "@taiga-ui/addon-mobile": ">=3.42.1", + "@taiga-ui/cdk": ">=3.42.1", + "@taiga-ui/core": ">=3.42.1", + "@taiga-ui/kit": ">=3.42.1", "@tinkoff/ng-polymorpheus": ">=4.0.0" } }, @@ -10018,9 +10018,9 @@ } }, "node_modules/@taiga-ui/addon-mobile": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/addon-mobile/-/addon-mobile-3.41.1.tgz", - "integrity": "sha512-hJ2JrRJMEG+FZqjwRNCGDRUAHufsNGw6EKELWwNbUgWTsn9xHA4hsw1DQMMDuPpHgnYxYvDQbl5QZoJsl74jTA==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/addon-mobile/-/addon-mobile-3.42.1.tgz", + "integrity": "sha512-Crd13iKOGMPAecKgoNTAysucD6HBPxO4ZNZBVTRdpLy/v3q4LHbzQ3XQBm46iyYaUriiIz4khb3lc4v8EGaLgw==", "dev": true, "dependencies": { "tslib": ">=2.0.0" @@ -10030,17 +10030,17 @@ "@angular/common": ">=12.0.0", "@angular/core": ">=12.0.0", "@ng-web-apis/common": ">=3.0.0", - "@taiga-ui/cdk": ">=3.41.1", - "@taiga-ui/core": ">=3.41.1", - "@taiga-ui/kit": ">=3.41.1", + "@taiga-ui/cdk": ">=3.42.1", + "@taiga-ui/core": ">=3.42.1", + "@taiga-ui/kit": ">=3.42.1", "@tinkoff/ng-polymorpheus": ">=4.0.0", "rxjs": ">=6.0.0" } }, "node_modules/@taiga-ui/addon-preview": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/addon-preview/-/addon-preview-3.41.1.tgz", - "integrity": "sha512-MlGoduZhcB7IeKiJmiHOx24eBqZukRAcYbsnwuWA2VnZ+ia5mKfcmFH893rHZcGB9hFvSSuMoCgVPdT3xk8O9Q==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/addon-preview/-/addon-preview-3.42.1.tgz", + "integrity": "sha512-8/BPUe45l+xOnziWhEGjjn61BP800nZuHLCKkk76nJT7qc4X7nxpf7np9/aVwyMUWOl5WJvWcxjLxSQN+/oeGw==", "dev": true, "dependencies": { "tslib": ">=2.0.0" @@ -10049,18 +10049,18 @@ "@angular/common": ">=12.0.0", "@angular/core": ">=12.0.0", "@ng-web-apis/mutation-observer": ">=3.0.0", - "@taiga-ui/cdk": ">=3.41.1", - "@taiga-ui/core": ">=3.41.1", - "@taiga-ui/i18n": ">=3.41.1", - "@taiga-ui/kit": ">=3.41.1", + "@taiga-ui/cdk": ">=3.42.1", + "@taiga-ui/core": ">=3.42.1", + "@taiga-ui/i18n": ">=3.42.1", + "@taiga-ui/kit": ">=3.42.1", "@tinkoff/ng-polymorpheus": ">=4.0.0", "rxjs": ">=6.0.0" } }, "node_modules/@taiga-ui/cdk": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/cdk/-/cdk-3.41.1.tgz", - "integrity": "sha512-T5wvGf9/2AtqJ0bdBCUE7wROD5BHzSSTUqzaqogEHPlCOANkWesQbrEL9P5v/TSux3It2a0t57igXz7LgGuPAQ==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/cdk/-/cdk-3.42.1.tgz", + "integrity": "sha512-mxV7hQALDHEeCPd5U9b1BXd5kRquBOiBQC44nbOpgWfNGoffLaXAr5CKjeaHA/xuIZDF8ZYv5YaDkmPD5TAnRg==", "dev": true, "dependencies": { "@ng-web-apis/common": "3.0.2", @@ -10068,7 +10068,7 @@ "@ng-web-apis/resize-observer": "3.0.2", "@tinkoff/ng-event-plugins": "3.1.0", "@tinkoff/ng-polymorpheus": "4.1.0", - "tslib": "2.6.1" + "tslib": "2.6.2" }, "optionalDependencies": { "ng-morph": "2.2.5", @@ -10089,19 +10089,13 @@ "dev": true, "optional": true }, - "node_modules/@taiga-ui/cdk/node_modules/tslib": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", - "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", - "dev": true - }, "node_modules/@taiga-ui/core": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/core/-/core-3.41.1.tgz", - "integrity": "sha512-IB/w87H0+6i9lLzMe9GqyDOvf/w3XhdnHmQSlCnAE9VkaKg6tbXuMansYeWQhDZRcPXer6GtD2I2Oh7NxOWY7A==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/core/-/core-3.42.1.tgz", + "integrity": "sha512-Ogh/ujd1yj2Ph/BHsfBanehGb9+8k92a/TehiwcggUN0ndlnOROYiLjDBwrokWSqM/sZalT9uBxVkiC6ZeI2gg==", "dev": true, "dependencies": { - "@taiga-ui/i18n": "^3.41.1", + "@taiga-ui/i18n": "^3.42.1", "tslib": ">=2.0.0" }, "peerDependencies": { @@ -10113,17 +10107,17 @@ "@angular/router": ">=12.0.0", "@ng-web-apis/common": ">=3.0.0", "@ng-web-apis/mutation-observer": ">=3.0.0", - "@taiga-ui/cdk": ">=3.41.1", - "@taiga-ui/i18n": ">=3.41.1", + "@taiga-ui/cdk": ">=3.42.1", + "@taiga-ui/i18n": ">=3.42.1", "@tinkoff/ng-event-plugins": ">=3.1.0", "@tinkoff/ng-polymorpheus": ">=4.0.0", "rxjs": ">=6.0.0" } }, "node_modules/@taiga-ui/eslint-plugin-experience": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.2.0.tgz", - "integrity": "sha512-ltO6C+ZpKpjuTWghcHUu6dfPrPMoYm8qYfoGwZzXNBx0vhoqTR1EDqQBKy+YTFrWeaRl0mRcWXAh1pFKXJQLUQ==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.3.1.tgz", + "integrity": "sha512-9kLRpXVPKkRxlX5qDiIm02yFs/fYnxTUws6HXjdEcVyXKVP3jedquDMtbDpPyzbbKNrzeDrnm9M9hHk3Do6DRQ==", "dev": true, "dependencies": { "@angular-eslint/eslint-plugin": "15.2.1", @@ -10145,6 +10139,7 @@ "eslint-plugin-html": "7.1.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-jest": "26.5.3", + "eslint-plugin-perfectionist": "1.5.1", "eslint-plugin-prettier": "3.4.1", "eslint-plugin-promise": "4.3.1", "eslint-plugin-rxjs": "5.0.2", @@ -10159,34 +10154,35 @@ } }, "node_modules/@taiga-ui/i18n": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/i18n/-/i18n-3.41.1.tgz", - "integrity": "sha512-DKa20yOl7w2b0JGQuAMwSfJwMhWQrK12DMK1jG7xQBdwGGFvRjrLaarTnqGUC4+7OgokvfaPF+1gWXI3QHVPOA==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/i18n/-/i18n-3.42.1.tgz", + "integrity": "sha512-8NsKR/V6I9ws2WZXGHL942Cg/8KkVzEhVPzVmn6FkXts7em9Uk3OCRLGMlXWJPijvOGIBFZ33RR/THkGndCm2g==", "dev": true, "dependencies": { "tslib": ">=2.0.0" }, "peerDependencies": { "@angular/core": ">=12.0.0", - "@taiga-ui/cdk": ">=3.41.1" + "@ng-web-apis/common": ">=3.0.0", + "rxjs": ">=6.0.0" } }, "node_modules/@taiga-ui/icons": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/icons/-/icons-3.41.1.tgz", - "integrity": "sha512-dUFB4WoXpcbLAyZw2jMfuZrMc9il01c9vrgTZybcyTmlmFYV0qQmBLKkVRznR8F+O1MiiXYJknbMwTXgErFYkQ==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/icons/-/icons-3.42.1.tgz", + "integrity": "sha512-q8EKveeza60TdSWEhhX6U2JX9X/u9X4LYsuPSFgUEwtaz5ytZBkZOL+BJ73Q/x13Ke1kuLHS5XW4mrwNZe76lw==", "dev": true, "dependencies": { "tslib": ">=2.0.0" }, "peerDependencies": { - "@taiga-ui/cdk": ">=3.41.1" + "@taiga-ui/cdk": ">=3.42.1" } }, "node_modules/@taiga-ui/kit": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/kit/-/kit-3.41.1.tgz", - "integrity": "sha512-yzQA8z8mFphAj1wce2pUHYRBgGYp0YvhbqkBkSWW6up3wdsQ6ffYfeUt15oIi+GUxLDbL/Aq3FD3k8M6cbTi7Q==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/kit/-/kit-3.42.1.tgz", + "integrity": "sha512-a4fe9c4zFwgiS8mYBIrpO/i410Os4sVMg6vzhC3up/EI8oXjcjnA8OM3KqRw1ktOK7F2SxQsqf9fHpfA7z/JSQ==", "dev": true, "dependencies": { "@maskito/angular": "1.4.0", @@ -10204,9 +10200,9 @@ "@ng-web-apis/common": ">=3.0.0", "@ng-web-apis/mutation-observer": ">=3.0.0", "@ng-web-apis/resize-observer": ">=3.0.0", - "@taiga-ui/cdk": ">=3.41.1", - "@taiga-ui/core": ">=3.41.1", - "@taiga-ui/i18n": ">=3.41.1", + "@taiga-ui/cdk": ">=3.42.1", + "@taiga-ui/core": ">=3.42.1", + "@taiga-ui/i18n": ">=3.42.1", "@tinkoff/ng-polymorpheus": ">=4.0.0", "rxjs": ">=6.0.0" } @@ -10542,26 +10538,26 @@ } }, "node_modules/@taiga-ui/styles": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/styles/-/styles-3.41.1.tgz", - "integrity": "sha512-vNJEiyKEbWmuioBI9aCesXoRKwm3KFwNFs2xbZ4yfElzQ45WgV3TrhLDnNPHiQcS4DXz8BcLKl2BkSUuifRUTQ==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/styles/-/styles-3.42.1.tgz", + "integrity": "sha512-jpaw076I2yY9xKH/ViDjpSASXqDv5wHNW819UloLiahSH2swSGkmF0ojMNFtWnQ5xFsHTi98uyIkitDHLdxIOg==", "dev": true, "peerDependencies": { - "@taiga-ui/cdk": ">=3.41.1", + "@taiga-ui/cdk": ">=3.42.1", "tslib": ">=2.0.0" } }, "node_modules/@taiga-ui/testing": { - "version": "3.41.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/testing/-/testing-3.41.1.tgz", - "integrity": "sha512-ONyqy7/TU25bgiGXxW6T6+zlKsJdTaKSRPqX18HixXyxIJpG4ws3myEJRZA47n6qSwGJUP2lcL23acnvw7wFCQ==", + "version": "3.42.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/testing/-/testing-3.42.1.tgz", + "integrity": "sha512-51X+6DVOJVFzsfGPS9k5//HEyBMmw3DLc+f/qgUfPdL60J/ReNxW0aZSNjouEU+REyV360e54qZUtvOIEkcI0Q==", "dev": true, "dependencies": { "cypress-image-snapshot": "4.0.1", "tslib": ">=2.0.0" }, "peerDependencies": { - "@taiga-ui/cdk": ">=3.41.1" + "@taiga-ui/cdk": ">=3.42.1" } }, "node_modules/@testing-library/cypress": { @@ -20950,6 +20946,231 @@ } } }, + "node_modules/eslint-plugin-perfectionist": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-1.5.1.tgz", + "integrity": "sha512-PiUrAfGDc/l6MKKUP8qt5RXueC7FZC6F/0j8ijXYU8o3x8o2qUi6zEEYBkId/IiKloIXM5KTD4jrH9833kDNzA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "^5.62.0", + "@typescript-eslint/utils": "^5.62.0", + "is-core-module": "^2.12.1", + "json5": "^2.2.3", + "minimatch": "^9.0.3", + "natural-compare-lite": "^1.4.0" + }, + "peerDependencies": { + "eslint": ">=8.0.0" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/utils": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", + "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "eslint-scope": "^5.1.1", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-plugin-perfectionist/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/eslint-plugin-prettier": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz", diff --git a/package.json b/package.json index 70de3e74a..0bac7b17c 100644 --- a/package.json +++ b/package.json @@ -98,18 +98,18 @@ "@nx/node": "16.7.4", "@nx/workspace": "16.7.4", "@stackblitz/sdk": "1.9.0", - "@taiga-ui/addon-doc": "3.41.1", - "@taiga-ui/addon-mobile": "3.41.1", - "@taiga-ui/addon-preview": "3.41.1", - "@taiga-ui/cdk": "3.41.1", - "@taiga-ui/core": "3.41.1", - "@taiga-ui/eslint-plugin-experience": "0.2.0", - "@taiga-ui/icons": "3.41.1", - "@taiga-ui/kit": "3.41.1", + "@taiga-ui/addon-doc": "3.42.1", + "@taiga-ui/addon-mobile": "3.42.1", + "@taiga-ui/addon-preview": "3.42.1", + "@taiga-ui/cdk": "3.42.1", + "@taiga-ui/core": "3.42.1", + "@taiga-ui/eslint-plugin-experience": "0.3.1", + "@taiga-ui/icons": "3.42.1", + "@taiga-ui/kit": "3.42.1", "@taiga-ui/prettier-config": "0.2.0", "@taiga-ui/stylelint-config": "0.1.3", - "@taiga-ui/styles": "3.41.1", - "@taiga-ui/testing": "3.41.1", + "@taiga-ui/styles": "3.42.1", + "@taiga-ui/testing": "3.42.1", "@testing-library/cypress": "9.0.0", "@tinkoff/ng-dompurify": "3.0.0", "@types/cypress-image-snapshot": "3.1.6",