fomantic-ui 2.10.0-beta.54 → 2.10.0-beta.55
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/.eslintrc.js +1 -7
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +19 -23
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +18 -29
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +3 -5
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +22 -32
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +65 -66
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +1 -1
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +3 -3
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +5 -6
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +21 -30
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +7 -8
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +7 -9
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +8 -12
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +6 -13
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +5 -7
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +8 -14
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +53 -53
- package/dist/semantic.js +209 -269
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/behaviors/api.js +18 -22
- package/src/definitions/behaviors/form.js +64 -65
- package/src/definitions/behaviors/state.js +6 -8
- package/src/definitions/behaviors/visibility.js +7 -13
- package/src/definitions/modules/calendar.js +17 -28
- package/src/definitions/modules/dimmer.js +2 -4
- package/src/definitions/modules/dropdown.js +21 -31
- package/src/definitions/modules/nag.js +2 -2
- package/src/definitions/modules/popup.js +4 -5
- package/src/definitions/modules/search.js +20 -29
- package/src/definitions/modules/slider.js +6 -7
- package/src/definitions/modules/sticky.js +7 -11
- package/src/definitions/modules/tab.js +5 -12
- package/src/definitions/modules/toast.js +4 -6
- package/test/meteor/assets.js +1 -1
- package/test/meteor/fonts.js +1 -1
package/.eslintrc.js
CHANGED
|
@@ -9,7 +9,7 @@ module.exports = {
|
|
|
9
9
|
'plugin:@internal/eslint-plugin/recommended',
|
|
10
10
|
],
|
|
11
11
|
parserOptions: {
|
|
12
|
-
ecmaVersion: '
|
|
12
|
+
ecmaVersion: '2021',
|
|
13
13
|
sourceType: 'module',
|
|
14
14
|
},
|
|
15
15
|
ignorePatterns: [
|
|
@@ -31,7 +31,6 @@ module.exports = {
|
|
|
31
31
|
}],
|
|
32
32
|
'consistent-return': 'off',
|
|
33
33
|
curly: ['error', 'all'],
|
|
34
|
-
'default-case': 'off',
|
|
35
34
|
'func-names': 'off',
|
|
36
35
|
'import/no-unresolved': 'off',
|
|
37
36
|
'import/prefer-default-export': 'off',
|
|
@@ -41,12 +40,10 @@ module.exports = {
|
|
|
41
40
|
'linebreak-style': ['error', 'unix'],
|
|
42
41
|
'max-len': 'off',
|
|
43
42
|
'no-console': 'off',
|
|
44
|
-
'no-lonely-if': 'off',
|
|
45
43
|
'no-nested-ternary': 'off',
|
|
46
44
|
'no-param-reassign': 'off',
|
|
47
45
|
'no-plusplus': 'off',
|
|
48
46
|
'no-restricted-syntax': 'off',
|
|
49
|
-
'no-underscore-dangle': 'off',
|
|
50
47
|
'no-unused-vars': 'off',
|
|
51
48
|
'object-shorthand': ['error', 'never'],
|
|
52
49
|
'padding-line-between-statements': ['error', {
|
|
@@ -68,14 +65,11 @@ module.exports = {
|
|
|
68
65
|
},
|
|
69
66
|
}],
|
|
70
67
|
strict: 'off',
|
|
71
|
-
'unicorn/catch-error-name': 'off',
|
|
72
68
|
'unicorn/no-anonymous-default-export': 'off',
|
|
73
69
|
'unicorn/no-array-callback-reference': 'off',
|
|
74
|
-
'unicorn/no-lonely-if': 'off',
|
|
75
70
|
'unicorn/no-negated-condition': 'off',
|
|
76
71
|
'unicorn/no-null': 'off',
|
|
77
72
|
'unicorn/no-this-assignment': 'off',
|
|
78
|
-
'unicorn/numeric-separators-style': 'off',
|
|
79
73
|
'unicorn/prefer-array-find': 'off',
|
|
80
74
|
'unicorn/prefer-array-some': 'off', // https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2007
|
|
81
75
|
'unicorn/prefer-at': 'off',
|
package/dist/components/ad.css
CHANGED
package/dist/components/api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.55+8a92769 - API
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -241,22 +241,20 @@
|
|
|
241
241
|
if (!settings.throttle) {
|
|
242
242
|
module.debug('Sending request', data, ajaxSettings.method);
|
|
243
243
|
module.send.request();
|
|
244
|
+
} else if (!settings.throttleFirstRequest && !module.timer) {
|
|
245
|
+
module.debug('Sending request', data, ajaxSettings.method);
|
|
246
|
+
module.send.request();
|
|
247
|
+
module.timer = setTimeout(function () {}, settings.throttle);
|
|
244
248
|
} else {
|
|
245
|
-
|
|
246
|
-
|
|
249
|
+
module.debug('Throttling request', settings.throttle);
|
|
250
|
+
clearTimeout(module.timer);
|
|
251
|
+
module.timer = setTimeout(function () {
|
|
252
|
+
if (module.timer) {
|
|
253
|
+
delete module.timer;
|
|
254
|
+
}
|
|
255
|
+
module.debug('Sending throttled request', data, ajaxSettings.method);
|
|
247
256
|
module.send.request();
|
|
248
|
-
|
|
249
|
-
} else {
|
|
250
|
-
module.debug('Throttling request', settings.throttle);
|
|
251
|
-
clearTimeout(module.timer);
|
|
252
|
-
module.timer = setTimeout(function () {
|
|
253
|
-
if (module.timer) {
|
|
254
|
-
delete module.timer;
|
|
255
|
-
}
|
|
256
|
-
module.debug('Sending throttled request', data, ajaxSettings.method);
|
|
257
|
-
module.send.request();
|
|
258
|
-
}, settings.throttle);
|
|
259
|
-
}
|
|
257
|
+
}, settings.throttle);
|
|
260
258
|
}
|
|
261
259
|
},
|
|
262
260
|
|
|
@@ -580,15 +578,13 @@
|
|
|
580
578
|
}
|
|
581
579
|
if (status === 'invalid') {
|
|
582
580
|
module.debug('JSON did not pass success test. A server-side error has most likely occurred', response);
|
|
583
|
-
} else if (status === 'error') {
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
module.error(error.statusMessage + httpMessage, ajaxSettings.url);
|
|
589
|
-
}
|
|
590
|
-
settings.onError.call(context, errorMessage, $module, xhr);
|
|
581
|
+
} else if (status === 'error' && xhr !== undefined) {
|
|
582
|
+
module.debug('XHR produced a server error', status, httpMessage);
|
|
583
|
+
// make sure we have an error to display to console
|
|
584
|
+
if ((xhr.status < 200 || xhr.status >= 300) && httpMessage !== undefined && httpMessage !== '') {
|
|
585
|
+
module.error(error.statusMessage + httpMessage, ajaxSettings.url);
|
|
591
586
|
}
|
|
587
|
+
settings.onError.call(context, errorMessage, $module, xhr);
|
|
592
588
|
}
|
|
593
589
|
|
|
594
590
|
if (settings.errorDuration && status !== 'aborted') {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.55+8a92769 - Calendar
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -672,10 +672,8 @@
|
|
|
672
672
|
// enter key
|
|
673
673
|
case 13: {
|
|
674
674
|
let date = module.get.focusDate();
|
|
675
|
-
if (date && !settings.isDisabled(date, mode) && !module.helper.isDisabled(date, mode) && module.helper.isEnabled(date, mode)) {
|
|
676
|
-
|
|
677
|
-
module.selectDate(date);
|
|
678
|
-
}
|
|
675
|
+
if (date && !settings.isDisabled(date, mode) && !module.helper.isDisabled(date, mode) && module.helper.isEnabled(date, mode) && settings.onSelect.call(element, date, module.get.mode()) !== false) {
|
|
676
|
+
module.selectDate(date);
|
|
679
677
|
}
|
|
680
678
|
// disable form submission:
|
|
681
679
|
event.preventDefault();
|
|
@@ -690,6 +688,7 @@
|
|
|
690
688
|
|
|
691
689
|
break;
|
|
692
690
|
}
|
|
691
|
+
// no default
|
|
693
692
|
}
|
|
694
693
|
}
|
|
695
694
|
|
|
@@ -1248,10 +1247,8 @@
|
|
|
1248
1247
|
if (typeof d[metadata.year] === 'number' && date.getFullYear() === d[metadata.year]) {
|
|
1249
1248
|
return d;
|
|
1250
1249
|
}
|
|
1251
|
-
if (Array.isArray(d[metadata.year])) {
|
|
1252
|
-
|
|
1253
|
-
return d;
|
|
1254
|
-
}
|
|
1250
|
+
if (Array.isArray(d[metadata.year]) && d[metadata.year].includes(date.getFullYear())) {
|
|
1251
|
+
return d;
|
|
1255
1252
|
}
|
|
1256
1253
|
} else if (d[metadata.month]) {
|
|
1257
1254
|
if (typeof d[metadata.month] === 'number' && date.getMonth() === d[metadata.month]) {
|
|
@@ -1271,12 +1268,10 @@
|
|
|
1271
1268
|
if (d[metadata.date] instanceof Date && module.helper.dateEqual(date, module.helper.sanitiseDate(d[metadata.date]), mode)) {
|
|
1272
1269
|
return d;
|
|
1273
1270
|
}
|
|
1274
|
-
if (Array.isArray(d[metadata.date])) {
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
return d;
|
|
1279
|
-
}
|
|
1271
|
+
if (Array.isArray(d[metadata.date]) && d[metadata.date].some(function (idate) {
|
|
1272
|
+
return module.helper.dateEqual(date, idate, mode);
|
|
1273
|
+
})) {
|
|
1274
|
+
return d;
|
|
1280
1275
|
}
|
|
1281
1276
|
}
|
|
1282
1277
|
}
|
|
@@ -1292,10 +1287,8 @@
|
|
|
1292
1287
|
if (typeof d[metadata.hours] === 'number' && date.getHours() === d[metadata.hours]) {
|
|
1293
1288
|
return d;
|
|
1294
1289
|
}
|
|
1295
|
-
if (Array.isArray(d[metadata.hours])) {
|
|
1296
|
-
|
|
1297
|
-
return d;
|
|
1298
|
-
}
|
|
1290
|
+
if (Array.isArray(d[metadata.hours]) && d[metadata.hours].includes(date.getHours())) {
|
|
1291
|
+
return d;
|
|
1299
1292
|
}
|
|
1300
1293
|
}
|
|
1301
1294
|
};
|
|
@@ -1308,21 +1301,17 @@
|
|
|
1308
1301
|
if (typeof d[metadata.days] === 'number' && date.getDay() === d[metadata.days]) {
|
|
1309
1302
|
return d;
|
|
1310
1303
|
}
|
|
1311
|
-
if (Array.isArray(d[metadata.days])) {
|
|
1312
|
-
|
|
1313
|
-
return d;
|
|
1314
|
-
}
|
|
1304
|
+
if (Array.isArray(d[metadata.days]) && d[metadata.days].includes(date.getDay())) {
|
|
1305
|
+
return d;
|
|
1315
1306
|
}
|
|
1316
1307
|
} else if (d[metadata.date] && hourCheck(date, d)) {
|
|
1317
1308
|
if (d[metadata.date] instanceof Date && module.helper.dateEqual(date, module.helper.sanitiseDate(d[metadata.date]))) {
|
|
1318
1309
|
return d;
|
|
1319
1310
|
}
|
|
1320
|
-
if (Array.isArray(d[metadata.date])) {
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
return d;
|
|
1325
|
-
}
|
|
1311
|
+
if (Array.isArray(d[metadata.date]) && d[metadata.date].some(function (idate) {
|
|
1312
|
+
return module.helper.dateEqual(date, idate, mode);
|
|
1313
|
+
})) {
|
|
1314
|
+
return d;
|
|
1326
1315
|
}
|
|
1327
1316
|
} else if (hourCheck(date, d)) {
|
|
1328
1317
|
return d;
|
package/dist/components/card.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.55+8a92769 - Dimmer
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -200,10 +200,8 @@
|
|
|
200
200
|
module.verbose('Toggling dimmer visibility', $dimmer);
|
|
201
201
|
if (!module.is.dimmed()) {
|
|
202
202
|
module.show();
|
|
203
|
-
} else {
|
|
204
|
-
|
|
205
|
-
module.hide();
|
|
206
|
-
}
|
|
203
|
+
} else if (module.is.closable()) {
|
|
204
|
+
module.hide();
|
|
207
205
|
}
|
|
208
206
|
},
|
|
209
207
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.55+8a92769 - Dropdown
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -1132,15 +1132,13 @@
|
|
|
1132
1132
|
},
|
|
1133
1133
|
blur: function (event) {
|
|
1134
1134
|
pageLostFocus = document.activeElement === this;
|
|
1135
|
-
if (module.is.searchSelection(true) && !willRefocus) {
|
|
1136
|
-
if (
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
module.remove.searchTerm();
|
|
1141
|
-
}
|
|
1142
|
-
module.hide();
|
|
1135
|
+
if (module.is.searchSelection(true) && !willRefocus && !itemActivated && !pageLostFocus) {
|
|
1136
|
+
if (settings.forceSelection) {
|
|
1137
|
+
module.forceSelection();
|
|
1138
|
+
} else if (!settings.allowAdditions && !settings.keepSearchTerm && !module.has.menuSearch()) {
|
|
1139
|
+
module.remove.searchTerm();
|
|
1143
1140
|
}
|
|
1141
|
+
module.hide();
|
|
1144
1142
|
}
|
|
1145
1143
|
willRefocus = false;
|
|
1146
1144
|
},
|
|
@@ -1245,10 +1243,8 @@
|
|
|
1245
1243
|
}
|
|
1246
1244
|
},
|
|
1247
1245
|
hide: function (event) {
|
|
1248
|
-
if (module.determine.eventInModule(event, module.hide)) {
|
|
1249
|
-
|
|
1250
|
-
event.preventDefault();
|
|
1251
|
-
}
|
|
1246
|
+
if (module.determine.eventInModule(event, module.hide) && element.id && $(event.target).attr('for') === element.id) {
|
|
1247
|
+
event.preventDefault();
|
|
1252
1248
|
}
|
|
1253
1249
|
},
|
|
1254
1250
|
},
|
|
@@ -1458,10 +1454,8 @@
|
|
|
1458
1454
|
case keys.backspace: {
|
|
1459
1455
|
if (hasActiveLabel) {
|
|
1460
1456
|
module.verbose('Removing active labels');
|
|
1461
|
-
if (isLastLabel) {
|
|
1462
|
-
|
|
1463
|
-
module.focusSearch();
|
|
1464
|
-
}
|
|
1457
|
+
if (isLastLabel && isSearch && !isFocusedOnSearch) {
|
|
1458
|
+
module.focusSearch();
|
|
1465
1459
|
}
|
|
1466
1460
|
$activeLabel.last().next(selector.siblingLabel).addClass(className.active);
|
|
1467
1461
|
module.remove.activeLabels($activeLabel);
|
|
@@ -1564,17 +1558,15 @@
|
|
|
1564
1558
|
}
|
|
1565
1559
|
|
|
1566
1560
|
// right arrow (show submenu)
|
|
1567
|
-
if (pressedKey === keys.rightArrow) {
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
event.preventDefault();
|
|
1577
|
-
}
|
|
1561
|
+
if (pressedKey === keys.rightArrow && hasSubMenu) {
|
|
1562
|
+
module.verbose('Right key pressed, opening sub-menu');
|
|
1563
|
+
module.animate.show(false, $subMenu);
|
|
1564
|
+
$selectedItem
|
|
1565
|
+
.removeClass(className.selected);
|
|
1566
|
+
$subMenu
|
|
1567
|
+
.find(selector.item).eq(0)
|
|
1568
|
+
.addClass(className.selected);
|
|
1569
|
+
event.preventDefault();
|
|
1578
1570
|
}
|
|
1579
1571
|
}
|
|
1580
1572
|
|
|
@@ -1657,10 +1649,8 @@
|
|
|
1657
1649
|
event.preventDefault();
|
|
1658
1650
|
}
|
|
1659
1651
|
}
|
|
1660
|
-
} else {
|
|
1661
|
-
|
|
1662
|
-
module.set.selectedLetter(String.fromCodePoint(pressedKey));
|
|
1663
|
-
}
|
|
1652
|
+
} else if (!module.has.search()) {
|
|
1653
|
+
module.set.selectedLetter(String.fromCodePoint(pressedKey));
|
|
1664
1654
|
}
|
|
1665
1655
|
},
|
|
1666
1656
|
},
|
package/dist/components/embed.js
CHANGED