Skip to content

Commit

Permalink
chore(release): update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hamilton committed Nov 14, 2019
1 parent aafeaba commit 7135934
Show file tree
Hide file tree
Showing 102 changed files with 25,819 additions and 14,124 deletions.
2 changes: 1 addition & 1 deletion definitions/behaviors/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ $.api = $.fn.api = function(parameters) {
var
runSettings
;
runSettings = settings.beforeSend.call(context, settings);
runSettings = settings.beforeSend.call($module, settings);
if(runSettings) {
if(runSettings.success !== undefined) {
module.debug('Legacy success callback detected', runSettings);
Expand Down
13 changes: 9 additions & 4 deletions definitions/behaviors/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ $.fn.form = function(parameters) {
}

$field.on('change click keyup keydown blur', function(e) {
$(this).trigger(e.type + ".dirty");
$(this).triggerHandler(e.type + ".dirty");
});

$field.on('change.dirty click.dirty keyup.dirty keydown.dirty blur.dirty', module.determine.isDirty);
Expand Down Expand Up @@ -203,7 +203,7 @@ $.fn.form = function(parameters) {
}
if(isDropdown) {
module.verbose('Resetting dropdown value', $element, defaultValue);
$element.dropdown('clear');
$element.dropdown('clear', true);
}
else if(isCheckbox) {
$field.prop('checked', false);
Expand Down Expand Up @@ -242,7 +242,7 @@ $.fn.form = function(parameters) {
}
if(isDropdown) {
module.verbose('Resetting dropdown value', $element, defaultValue);
$element.dropdown('restore defaults');
$element.dropdown('restore defaults', true);
}
else if(isCheckbox) {
module.verbose('Resetting checkbox value', $element, defaultValue);
Expand Down Expand Up @@ -991,13 +991,18 @@ $.fn.form = function(parameters) {
$parent = $el.parent(),
isCheckbox = ($el.filter(selector.checkbox).length > 0),
isDropdown = $parent.is(selector.uiDropdown) && module.can.useElement('dropdown'),
$calendar = $el.closest(selector.uiCalendar),
isCalendar = ($calendar.length > 0 && module.can.useElement('calendar')),
value = (isCheckbox)
? $el.is(':checked')
: $el.val()
;
if (isDropdown) {
$parent.dropdown('save defaults');
}
else if (isCalendar) {
$calendar.calendar('refresh');
}
$el.data(metadata.defaultValue, value);
$el.data(metadata.isDirty, false);
});
Expand Down Expand Up @@ -1053,7 +1058,7 @@ $.fn.form = function(parameters) {
}
else if(isCheckbox) {
module.verbose('Setting checkbox value', value, $element);
if(value === true) {
if(value === true || value === 1) {
$element.checkbox('check');
}
else {
Expand Down
47 changes: 18 additions & 29 deletions definitions/collections/breadcrumb.less
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,17 @@
padding: @segmentPadding;
}

/* Inverted */
.ui.inverted.breadcrumb {
color: @invertedColor;
}
.ui.inverted.breadcrumb > .active.section {
color: @invertedActiveColor;
}
.ui.inverted.breadcrumb > .divider {
color: @invertedDividerColor;
& when (@variationBreadcrumbInverted) {
/* Inverted */
.ui.inverted.breadcrumb {
color: @invertedColor;
}
.ui.inverted.breadcrumb > .active.section {
color: @invertedActiveColor;
}
.ui.inverted.breadcrumb > .divider {
color: @invertedDividerColor;
}
}

/*******************************
Expand All @@ -105,29 +107,16 @@
Variations
*******************************/

.ui.mini.breadcrumb {
font-size: @mini;
}
.ui.tiny.breadcrumb {
font-size: @tiny;
}
.ui.small.breadcrumb {
font-size: @small;
}
.ui.breadcrumb {
font-size: @medium;
}
.ui.large.breadcrumb {
font-size: @large;
}
.ui.big.breadcrumb {
font-size: @big;
}
.ui.huge.breadcrumb {
font-size: @huge;
}
.ui.massive.breadcrumb {
font-size: @massive;
& when not (@variationBreadcrumbSizes = false) {
each(@variationBreadcrumbSizes, {
@s: @@value;
.ui.@{value}.breadcrumb {
font-size: @s;
}
})
}

.loadUIOverrides();
Loading

0 comments on commit 7135934

Please sign in to comment.