-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: remove tui-wrapper, tui-group, table-mode, field-error com…
…ponent, tui-breadcrumb items (#2121) * refactor!: remove tui-wrapper, tui-group, table-mode, field-error component, tui-breadcrumb items
- Loading branch information
1 parent
ec3f30a
commit bd1999b
Showing
279 changed files
with
669 additions
and
2,366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 62 additions & 55 deletions
117
projects/addon-editor/components/editor-new/editor-new.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,74 @@ | ||
<tui-wrapper | ||
*tuiLet="editorLoaded$ | async as editorLoaded" | ||
<div | ||
tuiWrapper | ||
appearance="textfield" | ||
class="t-wrapper" | ||
class="t-outline" | ||
[readOnly]="readOnly" | ||
[disabled]="disabled" | ||
[focused]="computedFocused" | ||
[hovered]="computedHovered" | ||
[hover]="computedHovered" | ||
[invalid]="computedInvalid" | ||
(tuiHoveredChange)="onHovered($event)" | ||
(tuiActiveZoneChange)="onActiveZone($event)" | ||
> | ||
<div class="t-toolbar-wrapper"> | ||
<tui-toolbar | ||
*ngIf="editorLoaded" | ||
new | ||
[tools]="tools" | ||
[disabled]="!interactive" | ||
> | ||
<ng-content select="tools"></ng-content> | ||
</tui-toolbar> | ||
<div | ||
class="t-placeholder" | ||
[class.t-placeholder_raised]="placeholderRaised" | ||
> | ||
<ng-content></ng-content> | ||
</div> | ||
<div | ||
*ngIf="hasExampleText" | ||
class="t-example-text" | ||
> | ||
{{ exampleText }} | ||
<div | ||
*tuiLet="editorLoaded$ | async as editorLoaded" | ||
class="t-wrapper" | ||
[class.t-wrapper_disabled]="disabled" | ||
(tuiHoveredChange)="onHovered($event)" | ||
(tuiActiveZoneChange)="onActiveZone($event)" | ||
> | ||
<div class="t-toolbar-wrapper"> | ||
<tui-toolbar | ||
*ngIf="editorLoaded" | ||
new | ||
[tools]="tools" | ||
[disabled]="!interactive" | ||
> | ||
<ng-content select="tools"></ng-content> | ||
</tui-toolbar> | ||
<div | ||
class="t-placeholder" | ||
[class.t-placeholder_raised]="placeholderRaised" | ||
> | ||
<ng-content></ng-content> | ||
</div> | ||
<div | ||
*ngIf="hasExampleText" | ||
class="t-example-text" | ||
> | ||
{{ exampleText }} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<tui-scrollbar | ||
tuiEditorPortal | ||
class="t-scrollbar" | ||
> | ||
<div | ||
*ngIf="editorLoaded" | ||
tuiDropdownLimitWidth="auto" | ||
tuiDropdownSelectionPosition="tag" | ||
[tuiDropdownSelection]="dropdownSelectionHandler" | ||
[tuiDropdownContent]="dropdown" | ||
<tui-scrollbar | ||
tuiEditorPortal | ||
class="t-scrollbar" | ||
> | ||
<div | ||
tuiTiptapEditor | ||
spellcheck="false" | ||
class="tui-editor-socket" | ||
[value]="value" | ||
[editable]="interactive" | ||
(valueChange)="onModelChange($event)" | ||
(stateChange)="(0)" | ||
></div> | ||
</div> | ||
*ngIf="editorLoaded" | ||
tuiDropdownLimitWidth="auto" | ||
tuiDropdownSelectionPosition="tag" | ||
[tuiDropdownSelection]="dropdownSelectionHandler" | ||
[tuiDropdownContent]="dropdown" | ||
> | ||
<div | ||
tuiTiptapEditor | ||
spellcheck="false" | ||
class="tui-editor-socket" | ||
[value]="value" | ||
[editable]="interactive" | ||
(valueChange)="onModelChange($event)" | ||
(stateChange)="(0)" | ||
(click)="selectLinkIfClosest()" | ||
></div> | ||
</div> | ||
|
||
<ng-template #dropdown> | ||
<tui-edit-link | ||
(addLink)="addLink($event)" | ||
(removeLink)="removeLink()" | ||
></tui-edit-link> | ||
</ng-template> | ||
<ng-template #dropdown> | ||
<tui-edit-link | ||
(addLink)="addLink($event)" | ||
(removeLink)="removeLink()" | ||
></tui-edit-link> | ||
</ng-template> | ||
|
||
<tui-editor-portal-host></tui-editor-portal-host> | ||
</tui-scrollbar> | ||
</tui-wrapper> | ||
<tui-editor-portal-host></tui-editor-portal-host> | ||
</tui-scrollbar> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import {CommonModule} from '@angular/common'; | ||
import {NgModule} from '@angular/core'; | ||
|
||
import {TuiGroupComponent} from './group.component'; | ||
import {TuiGroupDirective} from './group.directive'; | ||
import {TuiGroupStylesComponent} from './group-styles.component'; | ||
|
||
@NgModule({ | ||
imports: [CommonModule], | ||
entryComponents: [TuiGroupStylesComponent], | ||
declarations: [TuiGroupComponent, TuiGroupDirective, TuiGroupStylesComponent], | ||
exports: [TuiGroupComponent, TuiGroupDirective, TuiGroupStylesComponent], | ||
declarations: [TuiGroupDirective, TuiGroupStylesComponent], | ||
exports: [TuiGroupDirective, TuiGroupStylesComponent], | ||
}) | ||
export class TuiGroupModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export * from './group.component'; | ||
export * from './group.directive'; | ||
export * from './group.module'; | ||
export * from './group-styles.component'; |
Oops, something went wrong.