fomantic-ui 2.10.0-beta.1 → 2.10.0-beta.3
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/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 +6 -6
- 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 +7 -7
- 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 +4 -4
- 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 +29 -29
- 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 +2 -2
- 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 +3 -3
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +5 -5
- package/dist/components/form.js +11 -11
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +8 -8
- 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 +7 -7
- 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 +7 -7
- 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 +2 -2
- 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 +2 -2
- 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 +5 -5
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +3 -3
- 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 +5 -5
- 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 +10 -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 +4 -4
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +5 -5
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +57 -57
- package/dist/semantic.js +131 -134
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/README.md +3 -3
- package/src/definitions/behaviors/api.js +5 -5
- package/src/definitions/behaviors/form.js +10 -10
- package/src/definitions/behaviors/state.js +2 -2
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/collections/form.less +1 -1
- package/src/definitions/modules/calendar.js +6 -6
- package/src/definitions/modules/dimmer.js +3 -3
- package/src/definitions/modules/dropdown.js +28 -28
- package/src/definitions/modules/embed.js +1 -1
- package/src/definitions/modules/flyout.js +2 -2
- package/src/definitions/modules/modal.js +1 -1
- package/src/definitions/modules/nag.js +1 -1
- package/src/definitions/modules/popup.js +7 -7
- package/src/definitions/modules/progress.js +6 -6
- package/src/definitions/modules/search.js +6 -6
- package/src/definitions/modules/shape.js +1 -1
- package/src/definitions/modules/sidebar.js +1 -1
- package/src/definitions/modules/slider.js +4 -4
- package/src/definitions/modules/slider.less +1 -1
- package/src/definitions/modules/sticky.js +4 -4
- package/src/definitions/modules/tab.js +9 -12
- package/src/definitions/modules/toast.js +3 -3
- package/src/definitions/modules/transition.js +4 -4
- package/src/themes/default/modules/slider.variables +1 -1
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.3+f3fff7f - API
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -211,7 +211,7 @@
|
|
211
211
|
// call beforesend and get any settings changes
|
212
212
|
requestSettings = module.get.settings();
|
213
213
|
|
214
|
-
// check if before send
|
214
|
+
// check if before send canceled request
|
215
215
|
if (requestSettings === false) {
|
216
216
|
module.cancelled = true;
|
217
217
|
module.error(error.beforeSend);
|
@@ -767,8 +767,8 @@
|
|
767
767
|
},
|
768
768
|
errorFromRequest: function (response, status, httpMessage) {
|
769
769
|
return $.isPlainObject(response) && response.error !== undefined
|
770
|
-
? response.error // use
|
771
|
-
: (settings.error[status] !== undefined // use server error message
|
770
|
+
? response.error // use JSON error message
|
771
|
+
: (settings.error[status] !== undefined // use the server error message
|
772
772
|
? settings.error[status]
|
773
773
|
: httpMessage);
|
774
774
|
},
|
@@ -1125,7 +1125,7 @@
|
|
1125
1125
|
// whether to add default data to url data
|
1126
1126
|
defaultData: true,
|
1127
1127
|
|
1128
|
-
// whether to serialize closest form
|
1128
|
+
// whether to serialize the closest form
|
1129
1129
|
// use true to convert complex named keys like a[b][1][c][] into a nested object
|
1130
1130
|
// use 'formdata' for formdata web api
|
1131
1131
|
serializeForm: false,
|
@@ -1162,7 +1162,7 @@
|
|
1162
1162
|
// after request
|
1163
1163
|
onResponse: false, // function(response) { },
|
1164
1164
|
|
1165
|
-
// response was successful
|
1165
|
+
// response was successful if JSON passed validation
|
1166
1166
|
onSuccess: function (response, $module) {},
|
1167
1167
|
|
1168
1168
|
// request finished without aborting
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
2
|
+
* # Fomantic-UI 2.10.0-beta.3+f3fff7f - Calendar
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -149,7 +149,7 @@
|
|
149
149
|
$container = $('<div/>', { id: module.popupId }).addClass(className.popup).appendTo($document.find(settings.context));
|
150
150
|
} else {
|
151
151
|
// prepend the popup element to the activator's parent so that it has less chance of messing with
|
152
|
-
// the styling (
|
152
|
+
// the styling (e.g., input action button needs to be the last child to have the correct border radius)
|
153
153
|
var
|
154
154
|
$activatorParent = $activator.parent(),
|
155
155
|
domPositionFunction = $activatorParent.closest(selector.append).length > 0 ? 'appendTo' : 'prependTo'
|
@@ -631,7 +631,7 @@
|
|
631
631
|
}
|
632
632
|
var parent = target.parent();
|
633
633
|
if (parent.data(metadata.date) || parent.data(metadata.focusDate) || parent.data(metadata.mode)) {
|
634
|
-
// clicked on a child element, switch to parent (used when clicking directly on prev/next <i> icon element)
|
634
|
+
// clicked on a child element, switch to parent (used when clicking directly on the prev/next <i> icon element)
|
635
635
|
target = parent;
|
636
636
|
}
|
637
637
|
var date = target.data(metadata.date);
|
@@ -1623,12 +1623,12 @@
|
|
1623
1623
|
|
1624
1624
|
context: false,
|
1625
1625
|
|
1626
|
-
type: 'datetime', // picker type
|
1626
|
+
type: 'datetime', // picker type. can be 'datetime', 'date', 'time', 'month', or 'year'
|
1627
1627
|
firstDayOfWeek: 0, // day for first day column (0 = Sunday)
|
1628
1628
|
constantHeight: true, // add rows to shorter months to keep day calendar height consistent (6 rows)
|
1629
1629
|
today: false, // show a 'today/now' button at the bottom of the calendar
|
1630
1630
|
closable: true, // close the popup after selecting a date/time
|
1631
|
-
monthFirst: true, // month before day when parsing date from text
|
1631
|
+
monthFirst: true, // month before day when parsing date from a text
|
1632
1632
|
touchReadonly: true, // set input to readonly on touch devices
|
1633
1633
|
inline: false, // create the calendar inline instead of inside a popup
|
1634
1634
|
on: null, // when to show the popup (defaults to 'focus' for input, 'click' for others)
|
@@ -1645,7 +1645,7 @@
|
|
1645
1645
|
multiMonth: 1, // show multiple months when in 'day' mode
|
1646
1646
|
monthOffset: 0, // position current month by offset when multimonth > 1
|
1647
1647
|
minTimeGap: 5,
|
1648
|
-
showWeekNumbers: false, // show Number of
|
1648
|
+
showWeekNumbers: false, // show Number of Weeks at the very first column of a dayView
|
1649
1649
|
disabledHours: [], // specific hour(s) which won't be selectable and contain additional information.
|
1650
1650
|
disabledDates: [], // specific day(s) which won't be selectable and contain additional information.
|
1651
1651
|
disabledDaysOfWeek: [], // day(s) which won't be selectable(s) (0 = Sunday)
|
@@ -1940,7 +1940,7 @@
|
|
1940
1940
|
|
1941
1941
|
var date = new Date(year, month - 1, day, hour, minute);
|
1942
1942
|
if (date.getMonth() !== month - 1 || date.getFullYear() !== year) {
|
1943
|
-
// month or year don't match up, switch to last day of the month
|
1943
|
+
// month or year don't match up, switch to the last day of the month
|
1944
1944
|
date = new Date(year, month, 0, hour, minute);
|
1945
1945
|
}
|
1946
1946
|
|
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.3+f3fff7f - Dimmer
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -643,7 +643,7 @@
|
|
643
643
|
verbose: false,
|
644
644
|
performance: true,
|
645
645
|
|
646
|
-
// whether should
|
646
|
+
// whether flex layout should be used
|
647
647
|
useFlex: true,
|
648
648
|
|
649
649
|
// name to distinguish between multiple dimmers in context
|
@@ -655,10 +655,10 @@
|
|
655
655
|
// whether to bind close events
|
656
656
|
closable: 'auto',
|
657
657
|
|
658
|
-
// whether to use
|
658
|
+
// whether to use CSS animations
|
659
659
|
useCSS: true,
|
660
660
|
|
661
|
-
//
|
661
|
+
// CSS animation to use
|
662
662
|
transition: 'fade',
|
663
663
|
|
664
664
|
// event to bind to
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
2
|
+
* # Fomantic-UI 2.10.0-beta.3+f3fff7f - Dropdown
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -464,7 +464,7 @@
|
|
464
464
|
$firstModules = $allModules.slice(0, elementIndex),
|
465
465
|
$lastModules = $allModules.slice(elementIndex + 1)
|
466
466
|
;
|
467
|
-
// adjust all modules to use correct reference
|
467
|
+
// adjust all modules to use the correct reference
|
468
468
|
$allModules = $firstModules.add($module).add($lastModules);
|
469
469
|
},
|
470
470
|
},
|
@@ -1171,7 +1171,7 @@
|
|
1171
1171
|
},
|
1172
1172
|
mousedown: function () {
|
1173
1173
|
if (module.is.searchSelection(true)) {
|
1174
|
-
// prevent menu hiding on immediate re-focus
|
1174
|
+
// prevent the menu hiding on immediate re-focus
|
1175
1175
|
willRefocus = true;
|
1176
1176
|
} else {
|
1177
1177
|
// prevents focus callback from occurring on mousedown
|
@@ -1180,7 +1180,7 @@
|
|
1180
1180
|
},
|
1181
1181
|
mouseup: function () {
|
1182
1182
|
if (module.is.searchSelection(true)) {
|
1183
|
-
// prevent menu hiding on immediate re-focus
|
1183
|
+
// prevent the menu hiding on immediate re-focus
|
1184
1184
|
willRefocus = false;
|
1185
1185
|
} else {
|
1186
1186
|
activated = false;
|
@@ -1468,7 +1468,7 @@
|
|
1468
1468
|
},
|
1469
1469
|
|
1470
1470
|
document: {
|
1471
|
-
// label selection should occur even when element has no focus
|
1471
|
+
// label selection should occur even when the element has no focus
|
1472
1472
|
keydown: function (event) {
|
1473
1473
|
var
|
1474
1474
|
pressedKey = event.which,
|
@@ -1614,7 +1614,7 @@
|
|
1614
1614
|
$nextItem,
|
1615
1615
|
isSubMenuItem
|
1616
1616
|
;
|
1617
|
-
// allow selection with menu closed
|
1617
|
+
// allow selection with the menu closed
|
1618
1618
|
if (isAdditionWithoutMenu) {
|
1619
1619
|
if (selectedIsSelectable && settings.hideAdditions) {
|
1620
1620
|
module.verbose('Selecting item from keyboard shortcut', $selectedItem);
|
@@ -1630,7 +1630,7 @@
|
|
1630
1630
|
|
1631
1631
|
// visible menu keyboard shortcuts
|
1632
1632
|
if (module.is.visible()) {
|
1633
|
-
// enter (select or open
|
1633
|
+
// enter (select or open submenu)
|
1634
1634
|
if (pressedKey === keys.enter || delimiterPressed) {
|
1635
1635
|
if (pressedKey === keys.enter && hasSelectedItem && hasSubMenu && !settings.allowCategorySelection) {
|
1636
1636
|
module.verbose('Pressed enter on unselectable category, opening sub menu');
|
@@ -1669,7 +1669,7 @@
|
|
1669
1669
|
}
|
1670
1670
|
}
|
1671
1671
|
|
1672
|
-
// right arrow (show
|
1672
|
+
// right arrow (show submenu)
|
1673
1673
|
if (pressedKey === keys.rightArrow) {
|
1674
1674
|
if (hasSubMenu) {
|
1675
1675
|
module.verbose('Right key pressed, opening sub-menu');
|
@@ -1992,7 +1992,7 @@
|
|
1992
1992
|
isEmptyMultiselect = Array.isArray(value) && value.length === 1 && value[0] === ''
|
1993
1993
|
;
|
1994
1994
|
|
1995
|
-
// prevents placeholder element from being selected when multiple
|
1995
|
+
// prevents the placeholder element from being selected when multiple
|
1996
1996
|
return value === undefined || isEmptyMultiselect
|
1997
1997
|
? ''
|
1998
1998
|
: value;
|
@@ -2336,7 +2336,7 @@
|
|
2336
2336
|
}
|
2337
2337
|
},
|
2338
2338
|
values: function () {
|
2339
|
-
// prevents callbacks from occurring on initial load
|
2339
|
+
// prevents callbacks from occurring on the initial load
|
2340
2340
|
module.set.initialLoad();
|
2341
2341
|
if (settings.apiSettings && settings.saveRemoteData && module.get.remoteValues()) {
|
2342
2342
|
module.restore.remoteValues();
|
@@ -2657,7 +2657,7 @@
|
|
2657
2657
|
$nextValue = false,
|
2658
2658
|
$nextItem
|
2659
2659
|
;
|
2660
|
-
// check next of same letter
|
2660
|
+
// check next of the same letter
|
2661
2661
|
if (alreadySelectedLetter) {
|
2662
2662
|
$nextItem = $selectedItem.nextAll($item).eq(0);
|
2663
2663
|
if (module.has.firstLetter($nextItem, letter)) {
|
@@ -2676,7 +2676,7 @@
|
|
2676
2676
|
})
|
2677
2677
|
;
|
2678
2678
|
}
|
2679
|
-
// set next value
|
2679
|
+
// set the next value
|
2680
2680
|
if ($nextValue) {
|
2681
2681
|
module.verbose('Scrolling to next value with letter', letter);
|
2682
2682
|
module.set.scrollPosition($nextValue);
|
@@ -2693,7 +2693,7 @@
|
|
2693
2693
|
if (!$menu) {
|
2694
2694
|
module.remove.upward();
|
2695
2695
|
} else if (module.is.upward($menu)) {
|
2696
|
-
// we need make sure when make assertion openDownward for $menu, $menu does not have upward class
|
2696
|
+
// we need to make sure when make assertion openDownward for $menu, $menu does not have upward class
|
2697
2697
|
module.remove.upward($menu);
|
2698
2698
|
}
|
2699
2699
|
|
@@ -4066,33 +4066,33 @@
|
|
4066
4066
|
match: 'both', // what to match against with search selection (both, text, or label)
|
4067
4067
|
fullTextSearch: 'exact', // search anywhere in value (set to 'exact' to require exact matches)
|
4068
4068
|
highlightMatches: false, // Whether search result should highlight matching strings
|
4069
|
-
ignoreDiacritics: false, // match results also if they contain diacritics of the same base character (for example searching for "a" will also match "á" or "â" or "à", etc...)
|
4069
|
+
ignoreDiacritics: false, // match results also if they contain diacritics of the same base character (for example, searching for "a" will also match "á" or "â" or "à", etc...)
|
4070
4070
|
hideDividers: false, // Whether to hide any divider elements (specified in selector.divider) that are sibling to any items when searched (set to true will hide all dividers, set to 'empty' will hide them when they are not followed by a visible item)
|
4071
4071
|
|
4072
|
-
placeholder: 'auto', // whether to convert blank <select> values to placeholder text
|
4073
|
-
preserveHTML: true, // preserve
|
4072
|
+
placeholder: 'auto', // whether to convert blank <select> values to the placeholder text
|
4073
|
+
preserveHTML: true, // preserve HTML when selecting value
|
4074
4074
|
sortSelect: false, // sort selection on init
|
4075
4075
|
|
4076
4076
|
forceSelection: false, // force a choice on blur with search selection
|
4077
4077
|
|
4078
4078
|
allowAdditions: false, // whether multiple select should allow user added values
|
4079
|
-
keepSearchTerm: false, // whether the search value should be kept and menu stays filtered on item selection
|
4079
|
+
keepSearchTerm: false, // whether the search value should be kept, and the menu stays filtered on item selection
|
4080
4080
|
ignoreCase: false, // whether to consider case sensitivity when creating labels
|
4081
4081
|
ignoreSearchCase: true, // whether to consider case sensitivity when filtering items
|
4082
|
-
hideAdditions: true, // whether
|
4082
|
+
hideAdditions: true, // whether to hide a special message prompting a user, they can enter a value
|
4083
4083
|
|
4084
|
-
maxSelections: false, // When set to a number limits the number of selections to this count
|
4084
|
+
maxSelections: false, // When set to a number, limits the number of selections to this count
|
4085
4085
|
useLabels: true, // whether multiple select should filter currently active selections from choices
|
4086
|
-
delimiter: ',', // when multiselect uses normal <input
|
4086
|
+
delimiter: ',', // when multiselect uses normal <input >, the values will be delimited with this character
|
4087
4087
|
|
4088
|
-
showOnFocus: false, // show menu on focus
|
4088
|
+
showOnFocus: false, // show the menu on focus
|
4089
4089
|
allowReselection: false, // whether current value should trigger callbacks when reselected
|
4090
|
-
allowTab: true, // add tabindex to element
|
4091
|
-
allowCategorySelection: false, // allow elements with
|
4090
|
+
allowTab: true, // add tabindex to the element
|
4091
|
+
allowCategorySelection: false, // allow elements with submenus to be selected
|
4092
4092
|
|
4093
4093
|
fireOnInit: false, // Whether callbacks should fire when initializing dropdown values
|
4094
4094
|
|
4095
|
-
transition: 'auto', // auto transition will slide down or up based on direction
|
4095
|
+
transition: 'auto', // auto transition will slide down or up based on the direction
|
4096
4096
|
duration: 200, // duration of transition
|
4097
4097
|
displayType: false, // displayType of transition
|
4098
4098
|
|
@@ -4172,23 +4172,23 @@
|
|
4172
4172
|
value: 'value',
|
4173
4173
|
},
|
4174
4174
|
|
4175
|
-
// property names for remote query
|
4175
|
+
// property names for the remote query
|
4176
4176
|
fields: {
|
4177
4177
|
remoteValues: 'results', // grouping for api results
|
4178
4178
|
values: 'values', // grouping for all dropdown values
|
4179
4179
|
disabled: 'disabled', // whether value should be disabled
|
4180
|
-
name: 'name', // displayed dropdown text
|
4180
|
+
name: 'name', // the displayed dropdown text
|
4181
4181
|
description: 'description', // displayed dropdown description
|
4182
4182
|
descriptionVertical: 'descriptionVertical', // whether description should be vertical
|
4183
4183
|
value: 'value', // actual dropdown value
|
4184
|
-
text: 'text', // displayed text when selected
|
4184
|
+
text: 'text', // the displayed text when selected
|
4185
4185
|
data: 'data', // custom data attributes
|
4186
4186
|
type: 'type', // type of dropdown element
|
4187
4187
|
image: 'image', // optional image path
|
4188
4188
|
imageClass: 'imageClass', // optional individual class for image
|
4189
4189
|
alt: 'alt', // optional alt text for image
|
4190
4190
|
icon: 'icon', // optional icon name
|
4191
|
-
iconClass: 'iconClass', // optional individual class for icon (for example to use flag instead)
|
4191
|
+
iconClass: 'iconClass', // optional individual class for icon (for example, to use a flag instead)
|
4192
4192
|
class: 'class', // optional individual class for item/header
|
4193
4193
|
divider: 'divider', // optional divider append for group headers
|
4194
4194
|
actionable: 'actionable', // optional actionable item
|
@@ -4423,7 +4423,7 @@
|
|
4423
4423
|
return message;
|
4424
4424
|
},
|
4425
4425
|
|
4426
|
-
// generates user addition to selection menu
|
4426
|
+
// generates user addition to the selection menu
|
4427
4427
|
addition: function (choice) {
|
4428
4428
|
return choice;
|
4429
4429
|
},
|
package/dist/components/embed.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
2
|
+
* # Fomantic-UI 2.10.0-beta.3+f3fff7f - Embed
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -169,7 +169,7 @@
|
|
169
169
|
}
|
170
170
|
},
|
171
171
|
|
172
|
-
//
|
172
|
+
// clear embed
|
173
173
|
reset: function () {
|
174
174
|
module.debug('Clearing embed and showing placeholder');
|
175
175
|
module.remove.data();
|