@syncfusion/ej2-navigations 28.2.3 → 28.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +3 -1
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +3 -1
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/treeview/treeview.js +3 -1
- package/styles/fluent2-lite.css +12 -3
- package/styles/fluent2.css +12 -3
- package/styles/menu/_theme.scss +13 -4
- package/styles/menu/fluent2.css +12 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 28.2.
|
|
3
|
+
* version : 28.2.4
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-navigations@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-navigations@28.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@28.2.3",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-DlOI7XKufanYlLqqzordpatE6lwT6UvhhRjffBMPMgNbvnnfOgp+J53kn21jIVrmaGvHF21Yasve3lJq8YjnHg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-navigations",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"/@syncfusion/ej2-spreadsheet",
|
|
41
41
|
"/@syncfusion/ej2-vue-navigations"
|
|
42
42
|
],
|
|
43
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-28.
|
|
44
|
-
"_shasum": "
|
|
43
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-28.2.3.tgz",
|
|
44
|
+
"_shasum": "6d5d9f14d88dc9aa2010700a6b1175c2cc2eec76",
|
|
45
45
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
46
46
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
47
47
|
"author": {
|
|
@@ -162,6 +162,6 @@
|
|
|
162
162
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
163
163
|
},
|
|
164
164
|
"typings": "index.d.ts",
|
|
165
|
-
"version": "28.2.
|
|
165
|
+
"version": "28.2.4",
|
|
166
166
|
"sideEffects": false
|
|
167
167
|
}
|
package/src/treeview/treeview.js
CHANGED
|
@@ -343,7 +343,9 @@ var TreeView = /** @class */ (function (_super) {
|
|
|
343
343
|
};
|
|
344
344
|
TreeView.prototype.initialize = function () {
|
|
345
345
|
this.element.setAttribute('role', 'tree');
|
|
346
|
-
this.
|
|
346
|
+
if (!isNOU(this.fields.dataSource) && Array.isArray(this.fields.dataSource) && this.fields.dataSource.length !== 0) {
|
|
347
|
+
this.element.setAttribute('aria-activedescendant', this.element.id + '_active');
|
|
348
|
+
}
|
|
347
349
|
this.setCssClass(null, this.cssClass);
|
|
348
350
|
this.setEnableRtl();
|
|
349
351
|
this.setFullRow(this.fullRowSelect);
|
package/styles/fluent2-lite.css
CHANGED
|
@@ -7964,6 +7964,15 @@ ejs-sidebar {
|
|
|
7964
7964
|
.e-menu-container .e-menu .e-menu-item.e-focused .e-menu-icon {
|
|
7965
7965
|
color: var(--color-sf-icon-color-pressed);
|
|
7966
7966
|
}
|
|
7967
|
+
.e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible,
|
|
7968
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible {
|
|
7969
|
+
color: var(--color-sf-content-text-color);
|
|
7970
|
+
}
|
|
7971
|
+
.e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible .e-caret, .e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible .e-menu-icon,
|
|
7972
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible .e-caret,
|
|
7973
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible .e-menu-icon {
|
|
7974
|
+
color: var(--color-sf-icon-color);
|
|
7975
|
+
}
|
|
7967
7976
|
.e-menu-wrapper .e-menu .e-menu-item.e-selected, .e-menu-wrapper .e-menu .e-menu-item.e-active-item,
|
|
7968
7977
|
.e-menu-container .e-menu .e-menu-item.e-selected,
|
|
7969
7978
|
.e-menu-container .e-menu .e-menu-item.e-active-item {
|
|
@@ -7987,8 +7996,8 @@ ejs-sidebar {
|
|
|
7987
7996
|
.e-menu-container .e-menu .e-menu-item.e-separator {
|
|
7988
7997
|
border-bottom-color: var(--color-sf-border-light);
|
|
7989
7998
|
}
|
|
7990
|
-
.e-menu-wrapper .e-menu .e-menu-item:focus-visible,
|
|
7991
|
-
.e-menu-container .e-menu .e-menu-item:focus-visible {
|
|
7999
|
+
.e-menu-wrapper .e-menu .e-menu-item:focus-visible:not(.e-selected),
|
|
8000
|
+
.e-menu-container .e-menu .e-menu-item:focus-visible:not(.e-selected) {
|
|
7992
8001
|
border-radius: 4px;
|
|
7993
8002
|
background-color: var(--color-sf-content-bg-color);
|
|
7994
8003
|
-webkit-box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
@@ -8056,7 +8065,7 @@ ejs-sidebar {
|
|
|
8056
8065
|
}
|
|
8057
8066
|
.e-menu-wrapper .e-ul .e-menu-item:focus-visible,
|
|
8058
8067
|
.e-menu-container .e-ul .e-menu-item:focus-visible {
|
|
8059
|
-
background-color: var(--color-sf-
|
|
8068
|
+
background-color: var(--color-sf-flyout-bg-color-focus);
|
|
8060
8069
|
-webkit-box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
8061
8070
|
box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
8062
8071
|
border-radius: 4px;
|
package/styles/fluent2.css
CHANGED
|
@@ -10107,6 +10107,15 @@ ejs-sidebar {
|
|
|
10107
10107
|
.e-menu-container .e-menu .e-menu-item.e-focused .e-menu-icon {
|
|
10108
10108
|
color: var(--color-sf-icon-color-pressed);
|
|
10109
10109
|
}
|
|
10110
|
+
.e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible,
|
|
10111
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible {
|
|
10112
|
+
color: var(--color-sf-content-text-color);
|
|
10113
|
+
}
|
|
10114
|
+
.e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible .e-caret, .e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible .e-menu-icon,
|
|
10115
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible .e-caret,
|
|
10116
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible .e-menu-icon {
|
|
10117
|
+
color: var(--color-sf-icon-color);
|
|
10118
|
+
}
|
|
10110
10119
|
.e-menu-wrapper .e-menu .e-menu-item.e-selected, .e-menu-wrapper .e-menu .e-menu-item.e-active-item,
|
|
10111
10120
|
.e-menu-container .e-menu .e-menu-item.e-selected,
|
|
10112
10121
|
.e-menu-container .e-menu .e-menu-item.e-active-item {
|
|
@@ -10130,8 +10139,8 @@ ejs-sidebar {
|
|
|
10130
10139
|
.e-menu-container .e-menu .e-menu-item.e-separator {
|
|
10131
10140
|
border-bottom-color: var(--color-sf-border-light);
|
|
10132
10141
|
}
|
|
10133
|
-
.e-menu-wrapper .e-menu .e-menu-item:focus-visible,
|
|
10134
|
-
.e-menu-container .e-menu .e-menu-item:focus-visible {
|
|
10142
|
+
.e-menu-wrapper .e-menu .e-menu-item:focus-visible:not(.e-selected),
|
|
10143
|
+
.e-menu-container .e-menu .e-menu-item:focus-visible:not(.e-selected) {
|
|
10135
10144
|
border-radius: 4px;
|
|
10136
10145
|
background-color: var(--color-sf-content-bg-color);
|
|
10137
10146
|
-webkit-box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
@@ -10199,7 +10208,7 @@ ejs-sidebar {
|
|
|
10199
10208
|
}
|
|
10200
10209
|
.e-menu-wrapper .e-ul .e-menu-item:focus-visible,
|
|
10201
10210
|
.e-menu-container .e-ul .e-menu-item:focus-visible {
|
|
10202
|
-
background-color: var(--color-sf-
|
|
10211
|
+
background-color: var(--color-sf-flyout-bg-color-focus);
|
|
10203
10212
|
-webkit-box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
10204
10213
|
box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
10205
10214
|
border-radius: 4px;
|
package/styles/menu/_theme.scss
CHANGED
|
@@ -73,6 +73,13 @@
|
|
|
73
73
|
}
|
|
74
74
|
@if $skin-name == 'fluent2' {
|
|
75
75
|
border-radius: 4px;
|
|
76
|
+
&:focus-visible {
|
|
77
|
+
color: $content-text-color;
|
|
78
|
+
& .e-caret,
|
|
79
|
+
& .e-menu-icon {
|
|
80
|
+
color: $icon-color;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
76
83
|
}
|
|
77
84
|
}
|
|
78
85
|
}
|
|
@@ -123,9 +130,11 @@
|
|
|
123
130
|
|
|
124
131
|
&:focus-visible {
|
|
125
132
|
@if $skin-name == 'fluent2' {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
133
|
+
&:not(.e-selected) {
|
|
134
|
+
border-radius: 4px;
|
|
135
|
+
background-color: $content-bg-color;
|
|
136
|
+
box-shadow: $shadow-focus-ring1;
|
|
137
|
+
}
|
|
129
138
|
}
|
|
130
139
|
@if $skin-name == 'tailwind3' {
|
|
131
140
|
box-shadow: $shadow-focus-ring2;
|
|
@@ -216,7 +225,7 @@
|
|
|
216
225
|
|
|
217
226
|
&:focus-visible {
|
|
218
227
|
@if $skin-name == 'fluent2' {
|
|
219
|
-
background-color: $
|
|
228
|
+
background-color: $flyout-bg-color-focus;
|
|
220
229
|
box-shadow: $shadow-focus-ring1;
|
|
221
230
|
border-radius: 4px;
|
|
222
231
|
}
|
package/styles/menu/fluent2.css
CHANGED
|
@@ -680,6 +680,15 @@
|
|
|
680
680
|
.e-menu-container .e-menu .e-menu-item.e-focused .e-menu-icon {
|
|
681
681
|
color: var(--color-sf-icon-color-pressed);
|
|
682
682
|
}
|
|
683
|
+
.e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible,
|
|
684
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible {
|
|
685
|
+
color: var(--color-sf-content-text-color);
|
|
686
|
+
}
|
|
687
|
+
.e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible .e-caret, .e-menu-wrapper .e-menu .e-menu-item.e-focused:focus-visible .e-menu-icon,
|
|
688
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible .e-caret,
|
|
689
|
+
.e-menu-container .e-menu .e-menu-item.e-focused:focus-visible .e-menu-icon {
|
|
690
|
+
color: var(--color-sf-icon-color);
|
|
691
|
+
}
|
|
683
692
|
.e-menu-wrapper .e-menu .e-menu-item.e-selected, .e-menu-wrapper .e-menu .e-menu-item.e-active-item,
|
|
684
693
|
.e-menu-container .e-menu .e-menu-item.e-selected,
|
|
685
694
|
.e-menu-container .e-menu .e-menu-item.e-active-item {
|
|
@@ -703,8 +712,8 @@
|
|
|
703
712
|
.e-menu-container .e-menu .e-menu-item.e-separator {
|
|
704
713
|
border-bottom-color: var(--color-sf-border-light);
|
|
705
714
|
}
|
|
706
|
-
.e-menu-wrapper .e-menu .e-menu-item:focus-visible,
|
|
707
|
-
.e-menu-container .e-menu .e-menu-item:focus-visible {
|
|
715
|
+
.e-menu-wrapper .e-menu .e-menu-item:focus-visible:not(.e-selected),
|
|
716
|
+
.e-menu-container .e-menu .e-menu-item:focus-visible:not(.e-selected) {
|
|
708
717
|
border-radius: 4px;
|
|
709
718
|
background-color: var(--color-sf-content-bg-color);
|
|
710
719
|
-webkit-box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
@@ -772,7 +781,7 @@
|
|
|
772
781
|
}
|
|
773
782
|
.e-menu-wrapper .e-ul .e-menu-item:focus-visible,
|
|
774
783
|
.e-menu-container .e-ul .e-menu-item:focus-visible {
|
|
775
|
-
background-color: var(--color-sf-
|
|
784
|
+
background-color: var(--color-sf-flyout-bg-color-focus);
|
|
776
785
|
-webkit-box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
777
786
|
box-shadow: inset 0 0 0 1px var(--color-sf-shadow-color), inset 0 0 0 2px var(--color-sf-shadow-color1);
|
|
778
787
|
border-radius: 4px;
|