diff --git a/package.json b/package.json
index 9d893ab3..eeb21722 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@syncfusion/ej2-samples",
- "version": "19.4.38",
+ "version": "20.1.47",
"description": "Samples for Syncfusion Essential JS 2",
"author": "Syncfusion Inc.",
"license": "SEE LICENSE IN license",
diff --git a/sampleOrder.json b/sampleOrder.json
index a4c618ee..4da5caa9 100644
--- a/sampleOrder.json
+++ b/sampleOrder.json
@@ -233,6 +233,16 @@
"api": "API"
}
},
+ "carousel": {
+ "ControlName": "Carousel",
+ "Samples": {
+ "default": "Default Functionalities",
+ "templates": "Templates",
+ "datasource-binding": "DataSource Binding",
+ "custom-animation": "Custom Animation",
+ "keyboard-navigation": "Keyboard Navigation"
+ }
+ },
"circular-gauge": {
"ControlName": "Circular Gauge",
"Samples": {
diff --git a/src/accordion/keyboard-interaction.html b/src/accordion/keyboard-interaction.html
new file mode 100644
index 00000000..46c37f41
--- /dev/null
+++ b/src/accordion/keyboard-interaction.html
@@ -0,0 +1,63 @@
+
+
+
+ This demo showcases the keyboard shortcuts applicable on Accordion
.
+
+
+
+
Below key combinations can be used in Accordion to initiate various actions.
+
+ -
+ Focus
+
+ -
+ Alt + J
+ - Focuses on the first component of the demo.
+
+ -
+ Home
+ - Focus the first Accordion header.
+
+ -
+ End
+ - Focus the last Accordion header.
+
+ -
+ Down arrow
+ - Focus the next Accordion header.
+
+ -
+ Up arrow
+ - Focus the previous Accordion header.
+
+
+
+ -
+ Expand and Collapse
+
+ -
+ Enter or Space
+ - Expand and collapse when the focus is on the Accordion header.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/accordion/keyboard-interaction.ts b/src/accordion/keyboard-interaction.ts
new file mode 100644
index 00000000..ee80c469
--- /dev/null
+++ b/src/accordion/keyboard-interaction.ts
@@ -0,0 +1,19 @@
+import { loadCultureFiles } from '../common/culture-loader';
+/**
+ * Accordion Keyboard Interaction Sample
+ */
+ import { Accordion } from '@syncfusion/ej2-navigations';
+
+ (window as any).default = (): void => {
+ loadCultureFiles();
+ // tslint:disable:max-line-length
+ let acrdnObj: Accordion = new Accordion({ //Initialize Accordion component
+ items : [
+ { header: 'ASP.NET', expanded: true, content: 'Microsoft ASP.NET is a set of technologies in the Microsoft .NET Framework for building Web applications and XML Web services. ASP.NET pages execute on the server and generate markup such as HTML, WML, or XML that is sent to a desktop or mobile browser. ASP.NET pages use a compiled,event-driven programming model that improves performance and enables the separation of application logic and user interface.' },
+ { header: 'ASP.NET MVC', content : 'The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating Web applications. The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication.' },
+ { header: 'JavaScript', content: 'JavaScript (JS) is an interpreted computer programming language.It was originally implemented as part of web browsers so that client-side scripts could interact with the user, control the browser, communicate asynchronously, and alter the document content that was displayed.More recently, however, it has become common in both game development and the creation of desktop applications.' }
+ ]
+ });
+ // tslint:enable:max-line-length
+ acrdnObj.appendTo('#Accordion_keyboard_interaction'); //Render initialized Accordion component
+ };
\ No newline at end of file
diff --git a/src/accordion/right-to-left.ts b/src/accordion/right-to-left.ts
index 3716907d..ff9a5958 100644
--- a/src/accordion/right-to-left.ts
+++ b/src/accordion/right-to-left.ts
@@ -1,11 +1,9 @@
-import { loadCultureFiles } from '../common/culture-loader';
/**
* Accordion RTL Sample
*/
import { Accordion } from '@syncfusion/ej2-navigations';
-(window as any).default = (): void => {
- loadCultureFiles();
+(window as any).default = () => {
//Initialize Accordion component
let acrdnObj: Accordion = new Accordion({
enableRtl: true,
diff --git a/src/accordion/sample.json b/src/accordion/sample.json
index 84d53241..788a5d8c 100644
--- a/src/accordion/sample.json
+++ b/src/accordion/sample.json
@@ -24,6 +24,13 @@
"category": "Accordion",
"description":"The sample demonstrates how to represent pane headers with an icon in Accordion control which populates from items collection in TypeScript platform.",
"api": {"AccordionItem": ["iconCss"] }
+ },
+ {
+ "url": "keyboard-interaction",
+ "name": "Keyboard Interaction",
+ "category": "Accordion",
+ "description":"The sample showcases the keyboard shortcuts applicable on Accordion control in TypeScript platform.",
+ "api": {"AccordionItem": ["header", "content", "expanded"], "Accordion":["items"] }
}
]
}
\ No newline at end of file
diff --git a/src/auto-complete/grouping-icon.html b/src/auto-complete/grouping-icon.html
index c9302947..708f1c64 100644
--- a/src/auto-complete/grouping-icon.html
+++ b/src/auto-complete/grouping-icon.html
@@ -53,7 +53,8 @@
}
.material-dark .e-list-icon,
.bootstrap5-dark .e-list-icon,
- .tailwind-dark .e-list-icon {
+ .tailwind-dark .e-list-icon,
+ .fluent-dark .e-list-icon {
color: #fff;
}
diff --git a/src/auto-complete/template.html b/src/auto-complete/template.html
index cbf3eba3..994a48e7 100644
--- a/src/auto-complete/template.html
+++ b/src/auto-complete/template.html
@@ -61,6 +61,40 @@
background-color: #000;
}
+ .fluent-dark .header {
+ background: #252423;
+ color: #2899F5;
+ }
+
+ .bootstrap5-dark .header {
+ background: #343A40;
+ color: #7B848D;
+ }
+
+ .fluent .header{
+ color: #2899F5;
+ }
+
+ .tailwind-dark .header {
+ background: #374151;
+ color: rgb(255, 255, 255);
+ }
+
+ .material-dark .header {
+ background: rgb(66, 66, 66);
+ color: rgb(255, 255, 255);
+ }
+
+ .fabric-dark .header {
+ background: rgb(40, 39, 39);
+ color: rgb(255, 255, 255);
+ }
+
+ .bootstrap-dark .header {
+ background: rgb(49, 49, 49);
+ color: rgb(255, 255, 255);
+ }
+
.bootstrap .header {
background-color: #f5f5f5;
border-bottom: 1px solid #ccc;
diff --git a/src/breadcrumb/address-bar.html b/src/breadcrumb/address-bar.html
index c5e0efeb..40ff0499 100644
--- a/src/breadcrumb/address-bar.html
+++ b/src/breadcrumb/address-bar.html
@@ -88,6 +88,18 @@
float: right;
margin: 5px 2px 5px 0;
}
+
+ .fluent .e-custom-breadcrumb .e-menu-wrapper ul .e-menu-item .e-caret,
+ .fluent-dark .e-custom-breadcrumb .e-menu-wrapper ul .e-menu-item .e-caret
+ {
+ right: 2px;
+ }
+
+ .e-bigger .fluent .e-custom-breadcrumb .e-menu-wrapper ul .e-menu-item .e-caret,
+ .e-bigger .fluent-dark .e-custom-breadcrumb .e-menu-wrapper ul .e-menu-item .e-caret
+ {
+ right: 1px;
+ }
\ No newline at end of file
diff --git a/src/calendar/date-range.html b/src/calendar/date-range.html
index b33b0014..fa7e6c17 100644
--- a/src/calendar/date-range.html
+++ b/src/calendar/date-range.html
@@ -32,6 +32,13 @@
max-width: 300px;
margin: 0 auto;
}
+
+ body.fluent-dark #date_label,
+ body.bootstrap5-dark #date_label,
+ body.tailwind-dark #date_label,
+ body.material-dark #date_label,
+ body.fabric-dark #date_label,
+ body.bootstrap-dark #date_label,
body.highcontrast #date_label {
color: white;
}
diff --git a/src/calendar/default.html b/src/calendar/default.html
index e123a3f5..d2505f31 100644
--- a/src/calendar/default.html
+++ b/src/calendar/default.html
@@ -32,7 +32,14 @@
max-width: 300px;
margin: 0 auto;
}
- body.highcontrast #date_label {
+
+ body.fluent-dark #date_label,
+ body.bootstrap5-dark #date_label,
+ body.tailwind-dark #date_label,
+ body.material-dark #date_label,
+ body.fabric-dark #date_label,
+ body.bootstrap-dark #date_label,
+ body.highcontrast #date_label {
color: white;
}
diff --git a/src/calendar/disabled.html b/src/calendar/disabled.html
index 726dc2a8..bace1ab8 100644
--- a/src/calendar/disabled.html
+++ b/src/calendar/disabled.html
@@ -32,6 +32,13 @@
max-width: 300px;
margin: 0 auto;
}
+
+ body.fluent-dark #date_label,
+ body.bootstrap5-dark #date_label,
+ body.tailwind-dark #date_label,
+ body.material-dark #date_label,
+ body.fabric-dark #date_label,
+ body.bootstrap-dark #date_label,
body.highcontrast #date_label {
color: white;
}
diff --git a/src/calendar/islamic-calendar.html b/src/calendar/islamic-calendar.html
index 6d501373..74f0ea9a 100644
--- a/src/calendar/islamic-calendar.html
+++ b/src/calendar/islamic-calendar.html
@@ -34,6 +34,16 @@
max-width: 300px;
margin: 0 auto;
}
+
+ body.fluent-dark #date_label,
+ body.bootstrap5-dark #date_label,
+ body.tailwind-dark #date_label,
+ body.material-dark #date_label,
+ body.fabric-dark #date_label,
+ body.bootstrap-dark #date_label
+ body.highcontrast #date_label {
+ color: white;
+ }
/* custom code start*/
.e-customStyle span.e-icons.highlight {
@@ -76,7 +86,8 @@
.fabric-dark .sf-icon-cup:before,
.bootstrap-dark .sf-icon-cup:before,
.bootstrap5-dark .sf-icon-cup:before,
- .tailwind-dark .sf-icon-cup:before {
+ .tailwind-dark .sf-icon-cup:before,
+ .fluent-dark .sf-icon-cup:before {
color: #ff7500;
}
@@ -85,7 +96,8 @@
.fabric-dark .sf-icon-start:before,
.bootstrap-dark .sf-icon-start:before,
.bootstrap5-dark .sf-icon-start:before,
- .tailwind-dark .sf-icon-start:before {
+ .tailwind-dark .sf-icon-start:before,
+ .fluent-dark .sf-icon-start:before {
color: #ff7500;
}
@@ -103,10 +115,6 @@
.e-customStyle.e-calendar .e-content span.daycell {
font-weight: bold;
}
-
- body.highcontrast #date_label {
- color: white;
- }
/* custom code start*/
diff --git a/src/calendar/month-picker.html b/src/calendar/month-picker.html
index 47c15cad..53b824a9 100644
--- a/src/calendar/month-picker.html
+++ b/src/calendar/month-picker.html
@@ -34,8 +34,14 @@
margin: 0 auto;
}
+ body.fluent-dark #date_label,
+ body.bootstrap5-dark #date_label,
+ body.tailwind-dark #date_label,
+ body.material-dark #date_label,
+ body.fabric-dark #date_label,
+ body.bootstrap-dark #date_label,
body.highcontrast #date_label {
color: white;
- }
+ }
\ No newline at end of file
diff --git a/src/calendar/multi-selection.html b/src/calendar/multi-selection.html
index 6153e5c3..36064847 100644
--- a/src/calendar/multi-selection.html
+++ b/src/calendar/multi-selection.html
@@ -60,8 +60,19 @@
.fabric-dark .content-value,
.bootstrap-dark .content-value,
.bootstrap5-dark .content-value,
- .tailwind-dark .content-value {
+ .tailwind-dark .content-value,
+ .fluent-dark .content-value {
border: 1px solid rgb(150, 150, 150);
}
+
+ body.fluent-dark #date_label,
+ body.bootstrap5-dark #date_label,
+ body.tailwind-dark #date_label,
+ body.material-dark #date_label,
+ body.fabric-dark #date_label,
+ body.bootstrap-dark #date_label,
+ body.highcontrast #date_label {
+ color: white;
+ }
\ No newline at end of file
diff --git a/src/calendar/special-dates.html b/src/calendar/special-dates.html
index d4e1b0af..a3e033ad 100644
--- a/src/calendar/special-dates.html
+++ b/src/calendar/special-dates.html
@@ -70,7 +70,9 @@
.bootstrap5-dark .e-customStyle span.e-icons.highlight,
.bootstrap5-dark .e-customStyle span.e-icons.highlight:before,
.tailwind-dark .e-customStyle span.e-icons.highlight,
- .tailwind-dark .e-customStyle span.e-icons.highlight:before {
+ .tailwind-dark .e-customStyle span.e-icons.highlight:before,
+ .fluent-dark .e-customStyle span.e-icons.highlight,
+ .fluent-dark .e-customStyle span.e-icons.highlight:before {
color: #ff7500;
}
@@ -110,6 +112,12 @@
font-weight: bold;
}
+ body.fluent-dark #date_label,
+ body.bootstrap5-dark #date_label,
+ body.tailwind-dark #date_label,
+ body.material-dark #date_label,
+ body.fabric-dark #date_label,
+ body.bootstrap-dark #date_label,
body.highcontrast #date_label {
color: white;
}
diff --git a/src/card/flip.html b/src/card/flip.html
index 9fb41d48..a1a7bed0 100644
--- a/src/card/flip.html
+++ b/src/card/flip.html
@@ -108,9 +108,7 @@
}
.card-control-section.flip_card_layout #card_flip.e-card .e-front .e-card-header-caption .e-card-header-title,
- .card-control-section.flip_card_layout #card_flip_profile.e-card .e-front .e-card-header-caption .e-card-header-title,
.card-control-section.flip_card_layout #card_flip.e-card .e-front .e-card-header-caption .e-card-sub-title,
- .card-control-section.flip_card_layout #card_flip_profile.e-card .e-front .e-card-header-caption .e-card-sub-title,
.card-control-section.flip_card_layout #card_flip.e-card .e-card-actions button,
.card-control-section.flip_card_layout #card_flip_profile.e-card .e-card-actions button {
color: #000;
@@ -148,6 +146,13 @@
height: 300px;
justify-content: flex-end;
}
+
+ .e-bigger .bootstrap5 .card-control-section.flip_card_layout #card_flip.e-card,
+ .e-bigger .bootstrap5 .card-control-section.flip_card_layout #card_flip_profile.e-card,
+ .e-bigger .bootstrap5-dark .card-control-section.flip_card_layout #card_flip.e-card,
+ .e-bigger .bootstrap5-dark .card-control-section.flip_card_layout #card_flip_profile.e-card {
+ height: 350px;
+ }
.tailwind-dark .card-control-section.flip_card_layout #card_flip.e-card,
.tailwind-dark .card-control-section.flip_card_layout #card_flip_profile.e-card {
@@ -259,4 +264,4 @@
max-width: 870px;
}
}
-
\ No newline at end of file
+
diff --git a/src/card/horizontal.html b/src/card/horizontal.html
index 337b298f..6d46776b 100644
--- a/src/card/horizontal.html
+++ b/src/card/horizontal.html
@@ -4,7 +4,7 @@