Skip to content

Commit 9d2a178

Browse files
author
pipeline
committed
v20.2.43 is released
1 parent 8aba145 commit 9d2a178

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+293
-206
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class Default extends SampleBase<{}, {}> {
3434
}
3535

3636
```
37-
Refer the [sample](https://gitlab.syncfusion.com/essential-studio/development/src/grid/default.tsx ) for example sample component.
37+
Refer the [sample](https://github.com/syncfusion/ej2-react-samples/blob/master/src/grid/default.tsx) for example sample component.
3838

3939
Note: Do not use whitespace at any cause in file’s name. Use “-” instead of space.
4040

@@ -66,7 +66,7 @@ To add the "propertypane” in the sample use tag `PropertyPane` from "common/
6666
</PropertyPane>
6767
6868
```
69-
Refer the [PropertyPanesample](https://gitlab.syncfusion.com/essential-studio/development/src/grid/gridlines.tsx ) for propertyPane example.
69+
Refer the [PropertyPanesample](https://github.com/syncfusion/ej2-react-samples/blob/master/src/grid/adaptive.tsx) for propertyPane example.
7070

7171
## Add Routing for your sample
7272

@@ -82,11 +82,15 @@ export const GridSampleOrder:Object = [
8282

8383
**Fields Description:**
8484

85-
path : Specifies the sample router path. Path must be same as "sampleFolderName/sampleFileName".
86-
component: Specifies the name of the sample component.
87-
name: Specifies the sample name to be displayed.
88-
order: Specifies the order in which sample to be displayed.
89-
category: Specifies the sample category.
85+
* _path :_ Specifies the sample router path. Path must be same as "sampleFolderName/sampleFileName".
86+
87+
* _component :_ Specifies the name of the sample component.
88+
89+
* _name :_ Specifies the sample name to be displayed.
90+
91+
* _order :_ Specifies the order in which sample to be displayed.
92+
93+
* _category :_ Specifies the sample category.
9094

9195
*Note: set **hideOnDevice** as true if you want to hide a sample in devices.*
9296

@@ -210,4 +214,4 @@ To run your sample browser you can use any of the following command.
210214

211215
```
212216
gulp serve
213-
```
217+
```

config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"routes",
125125
"online",
126126
"editor",
127-
"richtexteditor"
127+
"richtexteditor",
128+
null
128129
]
129130
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-react-samples",
3-
"version": "20.2.36",
3+
"version": "20.2.43",
44
"description": "Examples of React UI Components",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",
@@ -74,7 +74,7 @@
7474
"graceful-fs": "^4.2.4",
7575
"gulp": "^4.0.2",
7676
"gulp-sass": "^3.1.0",
77-
"gulp-typescript": "^3.1.6",
77+
"gulp-typescript": "3.1.6",
7878
"gulp-webpack": "^1.5.0",
7979
"gulp4-run-sequence": "^1.0.1",
8080
"postcss-loader": "2.0.8",

src/circular-gauge/annotation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ export class AnnotationsSample extends SampleBase<{}, {}> {
2929
public onResized(args: Object) {
3030
location.reload();
3131
}
32-
// custom code start
3332
public load(args: ILoadedEventArgs): void {
33+
// custom code start
3434
let selectedTheme: string = location.hash.split('/')[1];
3535
selectedTheme = selectedTheme ? selectedTheme : 'Material';
3636
args.gauge.theme = ((selectedTheme.charAt(0).toUpperCase() +
3737
selectedTheme.slice(1)).replace(/-dark/i, 'Dark').replace(/contrast/i, 'Contrast')) as GaugeTheme;
38+
// custom code end
3839
}
39-
// custom code end
4040
public calcTime(offset: string): Date {
4141
let date: Date = new Date();
4242
let localTime: number = date.getTime();

src/circular-gauge/apple-watch-rings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,14 @@ const SAMPLE_CSS = `
200200

201201
export class AppleWatchGauge extends SampleBase<{}, {}> {
202202
private gauge: CircularGaugeComponent;
203-
// custom code start
204203
public load(args: ILoadedEventArgs): void {
204+
// custom code start
205205
let selectedTheme: string = location.hash.split('/')[1];
206206
selectedTheme = selectedTheme ? selectedTheme : 'Material';
207207
args.gauge.theme = ((selectedTheme.charAt(0).toUpperCase() +
208208
selectedTheme.slice(1)).replace(/-dark/i, 'Dark').replace(/contrast/i, 'Contrast')) as GaugeTheme;
209+
// custom code end
209210
}
210-
// custom code end
211211
public load1(args: ILoadedEventArgs): void {
212212
let selectedTheme: string = location.hash.split('/')[1];
213213
selectedTheme = selectedTheme ? selectedTheme : 'Material';

src/circular-gauge/arc-gauge.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ const SAMPLE_CSS = `
4848
export class ArcGauge extends SampleBase<{}, {}> {
4949
private gauge: CircularGaugeComponent;
5050
private sliderElement: SliderComponent;
51-
// custom code start
5251
public load(args: ILoadedEventArgs): void {
52+
// custom code start
5353
let selectedTheme: string = location.hash.split('/')[1];
5454
selectedTheme = selectedTheme ? selectedTheme : 'Material';
5555
args.gauge.theme = ((selectedTheme.charAt(0).toUpperCase() +
5656
selectedTheme.slice(1)).replace(/-dark/i, 'Dark').replace(/contrast/i, 'Contrast')) as GaugeTheme;
57+
// custom code end
5758
}
58-
// custom code end
59+
5960
render() {
6061
return (
6162
<div className='control-pane'>

src/circular-gauge/axes.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ export class Axes extends SampleBase<{}, {}> {
2222
private axisIndex: number = 0;
2323
private loaded: boolean = false;
2424
public axis: DropDownList; public direction: DropDownList;
25-
// custom code start
2625
public load(args: ILoadedEventArgs): void {
26+
// custom code start
2727
let selectedTheme: string = location.hash.split('/')[1];
2828
selectedTheme = selectedTheme ? selectedTheme : 'Material';
2929
args.gauge.theme = ((selectedTheme.charAt(0).toUpperCase() +
3030
selectedTheme.slice(1)).replace(/-dark/i, 'Dark').replace(/contrast/i, 'Contrast')) as GaugeTheme;
31+
// custom code end
3132
}
32-
// custom code end
3333
public onChartLoad(args: ILoadedEventArgs): void {
3434
let id: string = args.gauge.element.id;
3535
document.getElementById(id).setAttribute('title', '');

src/circular-gauge/customization.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ export class Customization extends SampleBase<{}, {}> {
2929
private loaded: boolean = false;
3030
private pointerValueElement: HTMLInputElement;
3131
public barColor: DropDownList; public rangeColor: DropDownList; public pointerColor: DropDownList;
32-
// custom code start
3332
public load(args: ILoadedEventArgs): void {
33+
// custom code start
3434
let selectedTheme: string = location.hash.split('/')[1];
3535
selectedTheme = selectedTheme ? selectedTheme : 'Material';
3636
args.gauge.theme = ((selectedTheme.charAt(0).toUpperCase() +
3737
selectedTheme.slice(1)).replace(/-dark/i, 'Dark').replace(/contrast/i, 'Contrast')) as GaugeTheme;
3838
this.usageGauge.appendTo('#customization-container1');
39+
// custom code end
3940
}
40-
// custom code end
4141
public random(): void {
4242
if (this.isClicked) {
4343
this.gauge1.destroy();

src/circular-gauge/default.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ const SAMPLE_CSS = `
1515
}`;
1616

1717
export class Default extends SampleBase<{}, {}> {
18-
// custom code start
1918
public load(args: ILoadedEventArgs): void {
19+
// custom code start
2020
let selectedTheme: string = location.hash.split('/')[1];
2121
selectedTheme = selectedTheme ? selectedTheme : 'Material';
2222
args.gauge.theme = ((selectedTheme.charAt(0).toUpperCase() +
2323
selectedTheme.slice(1)).replace(/-dark/i, 'Dark').replace(/contrast/i, 'Contrast')) as GaugeTheme;
24+
// custom code end
2425
}
25-
// custom code end
26+
2627
render() {
2728
return (
2829
<div className='control-pane'>

src/circular-gauge/direction.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ export class Direction extends SampleBase<{}, {}> {
2222
public onLabelRender(args: IAxisLabelRenderEventArgs): void {
2323
args.text = ['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW', ''][args.value];
2424
};
25-
// custom code start
2625
public load(args: ILoadedEventArgs): void {
26+
// custom code start
2727
let selectedTheme: string = location.hash.split('/')[1];
2828
selectedTheme = selectedTheme ? selectedTheme : 'Material';
2929
args.gauge.theme = ((selectedTheme.charAt(0).toUpperCase() +
3030
selectedTheme.slice(1)).replace(/-dark/i, 'Dark').replace(/contrast/i, 'Contrast')) as GaugeTheme;
31+
// custom code end
3132
}
32-
// custom code end
33+
3334
// Code for Property Panel
3435
public onChartLoad(args: {}): void {
3536
if (!this.loaded) {

0 commit comments

Comments
 (0)