Skip to content

Commit d3eef9c

Browse files
committed
chore: demo polish
1 parent ca6ac73 commit d3eef9c

16 files changed

+44
-68
lines changed

examples-standalone/kendoangular-landing-page/src/app/app.routes.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const routes: Routes = [
44
{
55
path: 'grid',
66
loadComponent: () =>
7-
import('./components/dynamic-grid/dynamic-grid.component').then((m) => m.DynamicGridComponent),
7+
import('./components/grid/dynamic-grid.component').then((m) => m.DynamicGridComponent),
88
},
99
{
1010
path: 'scheduler',
@@ -52,6 +52,4 @@ export const routes: Routes = [
5252
},
5353
{ path: 'home', redirectTo: 'header', pathMatch: 'full' },
5454
{ path: '', redirectTo: 'header', pathMatch: 'full' },
55-
{ path: 'home', redirectTo: 'header', pathMatch: 'full' },
56-
{ path: '', redirectTo: 'header', pathMatch: 'full' },
5755
];

examples-standalone/kendoangular-landing-page/src/app/components/conversational-ui/conversational-ui.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class ConversationalUiComponent {
7979
},
8080
];
8181

82-
public suggestions: string[] = ["Suggеstion 1", "Suggestion 2"];
82+
public suggestions: string[] = ["Generate out-of-office email template", "Write a LinkedIn post on the importance of work/life balance"];
8383

8484
private local: Subject<Message> = new Subject<Message>();
8585

examples-standalone/kendoangular-landing-page/src/app/components/dropdowns/dropdowns.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</div>
77
<div class="component-wrapper">
88
<p>ComboBox</p>
9-
<kendo-combobox [data]="listItems" [allowCustom]="allowCustom" [(value)]="selectedValues"> </kendo-combobox>
9+
<kendo-combobox [data]="listItems" [allowCustom]="allowCustom" [(value)]="comboBoxValue"> </kendo-combobox>
1010
</div>
1111
<div class="component-wrapper">
1212
<p>MultiColumnComboBox</p>

examples-standalone/kendoangular-landing-page/src/app/components/dropdowns/dropdowns.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { TreeItem } from '../../models/tree-item';
1515
export class DropdownsComponent {
1616
public allowCustom = true;
1717
public selectedValues: string = 'Baseball';
18+
public comboBoxValue: string = 'Baseball';
1819
public value: any = ['Baseball', 'Cricket'];
1920
public dropdowntreeValue: { text: string; id: number } = { text: 'Sofas', id: 3 };
2021
public employees: Employee[] = employees;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@
2121
.green {
2222
color: #37b400;
2323
}
24+
.k-grid .k-table-row.k-table-alt-row {
25+
background-color: transparent;
26+
}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
1-
import { Component, OnInit, OnDestroy } from '@angular/core';
2-
import { ChipThemeColor, KENDO_BUTTONS } from '@progress/kendo-angular-buttons';
3-
import { SVGIcon, caretAltDownIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';
4-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
5-
import { DataService } from '../../services/data.service';
6-
import { BehaviorSubject, Observable, Subject, Subscription, combineLatest } from 'rxjs';
7-
import { switchMap, takeUntil, tap, startWith } from 'rxjs/operators';
8-
import { FormsModule } from '@angular/forms';
91
import { CommonModule } from '@angular/common';
10-
import { ColumnMenuSettings, DataStateChangeEvent, GridDataResult, KENDO_GRID } from '@progress/kendo-angular-grid';
2+
import { Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
3+
import { FormsModule } from '@angular/forms';
4+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
5+
import { ChipThemeColor, KENDO_BUTTONS } from '@progress/kendo-angular-buttons';
6+
import { KENDO_CHARTS } from '@progress/kendo-angular-charts';
117
import { KENDO_DROPDOWNS } from '@progress/kendo-angular-dropdowns';
8+
import { ColumnMenuSettings, DataStateChangeEvent, GridDataResult, KENDO_GRID } from '@progress/kendo-angular-grid';
9+
import { KENDO_ICONS } from '@progress/kendo-angular-icons';
1210
import { KENDO_INPUTS } from '@progress/kendo-angular-inputs';
13-
import { KENDO_CHARTS } from '@progress/kendo-angular-charts';
14-
import { KENDO_LABELS } from '@progress/kendo-angular-label';
1511
import { IntlModule } from '@progress/kendo-angular-intl';
16-
import { KENDO_ICONS } from '@progress/kendo-angular-icons';
12+
import { KENDO_LABELS } from '@progress/kendo-angular-label';
1713
import { KENDO_TOOLTIPS } from '@progress/kendo-angular-tooltip';
18-
import { cashIcon, goldIcon, realEstateIcon, securitiesIcon } from '../../data/custom-icons';
19-
import { DynamicGridItem } from '../../models/dynamic-grid-item';
2014
import { State } from '@progress/kendo-data-query';
15+
import { SVGIcon, caretAltDownIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';
16+
import { Subscription } from 'rxjs';
17+
import { cashIcon, goldIcon, realEstateIcon, securitiesIcon } from '../../data/custom-icons';
18+
import { DataService } from '../../services/data.service';
2119
import { MultiCheckboxFilterComponent } from './multi-checkbox-filter/multi-checkbox-filter.component';
2220

2321
@Component({
2422
selector: 'app-dynamic-grid',
23+
encapsulation: ViewEncapsulation.None,
2524
imports: [
2625
FormsModule,
2726
CommonModule,

0 commit comments

Comments
 (0)