Skip to content

Commit

Permalink
v20.3.47 is released
Browse files Browse the repository at this point in the history
  • Loading branch information
pipeline committed Sep 29, 2022
1 parent 6a77b4c commit 89558dd
Show file tree
Hide file tree
Showing 245 changed files with 11,685 additions and 4,981 deletions.
14 changes: 13 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,18 @@
"stock",
"ohlc",
"common",
"RTL"
"RTL",
"gridData",
"insert",
"emoticons",
"online",
"editor",
"dropdown-button",
"floating-action-button",
"appbar",
"dropdown",
"pdfviewer",
"formdesigner",
"workflow"
]
}
23 changes: 21 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ gulp.task('whole-bundle', function (done) {

gulp.task('build', function(done){
var runSequence = require('run-sequence');
runSequence('create-locale', 'combine-samplelists', 'scripts', 'whole-bundle', done);
runSequence('create-locale', 'combine-samplelists', 'styles', 'scripts', 'skip-chunks', 'whole-bundle', done);
})
var jsoncombine = require('gulp-jsoncombine');
var elasticlunr = require('elasticlunr');
Expand All @@ -74,7 +74,26 @@ gulp.task('styles', function() {
for(var i=0; i < styleFiles.length; i++) {
shelljs.cp('-R',styleFiles[i], './styles');
}
})
});

gulp.task('skip-chunks', function () {
var skipComp = [];
var compPaths = glob.sync(`./src/*/`, {
silent: true,
ignore: [`./src/common/**/`, `./src`]
});
for (let compPath of compPaths) {
if (!fs.existsSync(`${compPath}/common.js`)) {
var componentName = compPath.replace('./src/', '').replace('/', '');
skipComp.push(componentName);
}
}
if (skipComp.length > 0) {
var skipContent = fs.readFileSync(path.resolve('./src/skipChunk.js'), 'utf-8');
skipContent = `${skipContent.split('[')[0]}${JSON.stringify(skipComp)}`;
fs.writeFileSync(path.resolve('./src/skipChunk.js'), skipContent, 'utf-8');
}
});

function combineSampleList(platform, done) {
var filename = platform === 'javascript' ? 'samplelist.js' : 'sampleList.ts';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@syncfusion/ej2-samples",
"version": "20.2.43",
"version": "20.3.47",
"description": "Samples for Syncfusion Essential JS 2",
"author": "Syncfusion Inc.",
"license": "SEE LICENSE IN license",
Expand Down
70 changes: 68 additions & 2 deletions sampleOrder.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
"icon": "Icons"
}
},
"appbar": {
"ControlName": "AppBar",
"Samples": {
"default": "Default Functionalities",
"color": "Color"
}
},
"auto-complete": {
"ControlName": "AutoComplete",
"Samples": {
Expand Down Expand Up @@ -393,7 +400,6 @@
"ControlName": "Dialog",
"Samples": {
"default": "Default Functionalities",
"custom-dialog": "Custom Dialogs",
"modal-dialog": "Modal",
"template": "Template",
"dialog-contents-via-ajax": "Ajax Content",
Expand Down Expand Up @@ -428,6 +434,13 @@
"comments": "Comments"
}
},
"image-editor": {
"ControlName": "Image Editor",
"Samples": {
"default": "Default Functionalities",
"profile-picture": "Profile Picture"
}
},
"drop-down-list": {
"ControlName": "Dropdown List",
"Samples": {
Expand Down Expand Up @@ -468,6 +481,15 @@
"ibm-cos-node-file-provider": "IBM Cloud File Provider"
}
},
"floating-action-button": {
"ControlName": "Floating Action Button",
"Samples": {
"overview": "Overview",
"default": "Default Functionalities",
"position": "Position",
"appearance": "Appearance"
}
},
"form-validator": {
"ControlName": "Form Validation",
"Samples": {
Expand Down Expand Up @@ -712,6 +734,16 @@
"formats": "Formats"
}
},
"message": {
"ControlName": "Message",
"Samples": {
"default": "Default Functionalities",
"variants": "Variants",
"icons": "Icons",
"customization": "Customization",
"template": "Template"
}
},
"menu": {
"ControlName": "Menu Bar",
"Samples": {
Expand All @@ -724,6 +756,14 @@
"toolbar-integration": "Toolbar Integration"
}
},
"mention": {
"ControlName": "Mention",
"Samples": {
"default": "Default Functionalities",
"multiple-list": "Multiple List",
"template": "Template"
}
},
"multi-select": {
"ControlName": "MultiSelect Dropdown",
"Samples": {
Expand Down Expand Up @@ -793,6 +833,14 @@
"exporting": "Export"
}
},
"predefined-dialogs": {
"ControlName": "Predefined Dialogs",
"Samples": {
"default": "Default functionality",
"customization": "Customization",
"animation": "Animation"
}
},
"progress-bar": {
"ControlName": "Progress Bar",
"Samples": {
Expand Down Expand Up @@ -841,6 +889,7 @@
"image": "Image",
"inline": "Inline",
"paste-cleanup": "Paste from MS Word",
"mention-integration": "Mention Integration",
"iframe": "IFrame",
"print": "Print",
"ajax-load": "Ajax Content",
Expand All @@ -856,7 +905,6 @@
"markdown-editor": "Overview",
"markdown-editor-preview": "Preview",
"markdown-editor-custom-format": "Custom Format",
"tribute": "Tribute JS",
"online-html-editor": "Online Html Editor"
}
},
Expand Down Expand Up @@ -937,6 +985,13 @@
"keyboard-navigation": "Keyboard Navigation"
}
},
"skeleton": {
"ControlName": "Skeleton",
"Samples": {
"default": "Default Functionalities",
"animation": "Animation"
}
},
"slider": {
"ControlName": "Range Slider",
"Samples": {
Expand Down Expand Up @@ -999,6 +1054,17 @@
"cell-template": "Cell Template"
}
},
"speed-dial": {
"ControlName": "SpeedDial",
"Samples": {
"default":"Default Functionalities",
"linear": "Position(linear)",
"radial": "Radial Menu",
"appearance": "Appearance",
"template": "Template",
"modal": "Modal"
}
},
"stock-chart": {
"ControlName": "Stock Chart",
"Samples": {
Expand Down
174 changes: 174 additions & 0 deletions src/appbar/color.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
<div class="col-lg-12 control-section color-appbar-section">
<div class="color-appbar-container">
<div class="row">
<div class="col-md-12">
<h5>Light</h5>
</div>
</div>
<div class="row">
<div class="col-md-12">
<header id="lightAppBar">
<button id="lightButtonMenu"></button>
<button id="lightButtonHome"></button>
<button id="lightProductDropDownButton">Products</button>
<button id="lightCompanyDropDownButton">Company</button>
<div class="e-appbar-spacer"></div>
<div style="width: 200px; margin-right:10px">
<span class="e-input-group e-control-wrapper e-inherit">
<input type="text" class="e-searchinput e-input" placeholder="Search">
<span class="e-icons e-search e-input-group-icon"></span>
</span>
</div>
<div class="e-appbar-separator"></div>
<button id="lightButtonLogin"></button>
<ul id="lightVerticalMenu"></ul>
</header>
</div>
</div>
<br />
<div class="row">
<div class="col-md-12">
<h5>Dark</h5>
</div>
</div>
<div class="row">
<div class="col-md-12">
<header id="darkAppBar">
<button id="darkButtonMenu"></button>
<button id="darkButtonHome"></button>
<button id="darkProductDropDownButton">Products</button>
<button id="darkCompanyDropDownButton">Company</button>
<div class="e-appbar-spacer"></div>
<div style="width: 200px; margin-right:10px">
<span class="e-input-group e-control-wrapper e-inherit">
<input type="text" class="e-searchinput e-input" placeholder="Search">
<span class="e-icons e-search e-input-group-icon"></span>
</span>
</div>
<div class="e-appbar-separator"></div>
<button id="darkButtonLogin"></button>
<ul id="darkVerticalMenu"></ul>
</header>
</div>
</div>
<br />
<div class="row">
<div class="col-md-12">
<h5>Primary</h5>
</div>
</div>
<div class="row">
<div class="col-md-12">
<header id="primaryAppBar">
<button id="primaryButtonMenu"></button>
<button id="primaryButtonHome"></button>
<button id="primaryProductDropDownButton">Products</button>
<button id="primaryCompanyDropDownButton">Company</button>
<div class="e-appbar-spacer"></div>
<div style="width: 200px; margin-right:10px">
<span class="e-input-group e-control-wrapper e-inherit">
<input type="text" class="e-searchinput e-input" placeholder="Search">
<span class="e-icons e-search e-input-group-icon"></span>
</span>
</div>
<div class="e-appbar-separator"></div>
<button id="primaryButtonLogin"></button>
<ul id="primaryVerticalMenu"></ul>
</header>
</div>
</div>
<br />
<div class="row">
<div class="col-md-12">
<h5>Inherit</h5>
</div>
</div>
<div class="row">
<div class="col-md-12">
<header id="inheritAppBar">
<button id="inheritButtonMenu"></button>
<button id="inheritButtonHome"></button>
<button id="inheritProductDropDownButton">Products</button>
<button id="inheritCompanyDropDownButton">Company</button>
<div class="e-appbar-spacer"></div>
<div style="width: 200px; margin-right:10px">
<span class="e-input-group e-control-wrapper e-inherit">
<input type="text" class="e-searchinput e-input" placeholder="Search">
<span class="e-icons e-search e-input-group-icon"></span>
</span>
</div>
<div class="e-appbar-separator"></div>
<button id="inheritButtonLogin"></button>
<ul id="inheritVerticalMenu"></ul>
</header>
</div>
</div>
<br />
</div>
</div>
<style>
.color-appbar-section .e-dropdown-btn.e-inherit,
.color-appbar-section .e-btn.e-inherit.home {
margin: 0 5px;
}

.color-appbar-section .e-appbar-icon-menu {
display: none;
}

.color-appbar-section .e-appbar .e-appbar-separator {
margin: 0 10px;
}

@media screen and (max-width: 480px) {

.color-appbar-section .e-appbar-icon-menu{
display: block;
}

.color-appbar-section .login,
.color-appbar-section .e-appbar-separator,
.color-appbar-section .e-dropdown-btn.e-inherit.e-appbar-menu,
.color-appbar-section .e-menu-wrapper.e-inherit.e-appbar-menu,
.color-appbar-section .e-menu-wrapper.e-inherit.e-appbar-icon-menu .e-menu .e-menu-item .e-caret,
.color-appbar-section .e-btn.e-inherit.e-appbar-menu {
display: none;
}

.color-appbar-section .e-menu-wrapper.e-inherit.e-appbar-icon-menu ul .e-menu-item.e-menu-caret-icon {
padding: 0 8px;
}

.color-appbar-section .e-menu-wrapper.e-inherit ul .e-menu-item .e-menu-icon {
margin-right: 0;
}

.color-appbar-section .e-menu-wrapper.e-inherit {
margin: 0 10px;
}

.fabric .color-appbar-section .e-menu-wrapper.e-inherit ul.e-menu:not(.e-vertical),
.fabric-dark .color-appbar-section .e-menu-wrapper.e-inherit ul.e-menu:not(.e-vertical) {
padding: 0;
}

.color-appbar-section .e-input-group.e-control-wrapper.e-inherit {
margin-left: 10px;
}

.color-appbar-section .menu {
margin-bottom: 3px;
}
}
</style>
<div id="action-description">
<p>This sample demonstrates the available types of color in the <strong>JavaScript AppBar</strong>. </p>
</div>
<div id="description">
<p>In this demo, the available types of background color for <strong>JavaScript AppBar</strong> are showcased. The background and font colors can be set using the <strong>ColorMode</strong> property. The different types are <code>light</code>, <code>dark</code>, <code>primary</code>, and <code>inherit</code>.</p>
<p><code>Light</code> - The AppBar can be displayed with a light background.</p>
<p><code>Dark</code> - The AppBar can be displayed with a dark background.</p>
<p><code>Primary</code> - The AppBar can be displayed with primary colors.</p>
<p><code>Inherit</code> - The AppBar inherits the color from its parent element.</p> <br />
<p> On <code>mobile devices</code>, media query is used to display the AppBar in adaptive views. You can click the menu to see the hidden AppBar content.</p>
</div>
Loading

0 comments on commit 89558dd

Please sign in to comment.