Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Committing dist files with the latest copyright banners.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Wheaton committed Mar 2, 2016
1 parent c90e069 commit e0bee35
Show file tree
Hide file tree
Showing 10 changed files with 76 additions and 46 deletions.
1 change: 1 addition & 0 deletions dist/css/fabric.components.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information. */
/**
* Office UI Fabric 2.1.0
* The front-end framework for building experiences for Office 365.
Expand Down
5 changes: 5 additions & 0 deletions dist/css/fabric.components.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dist/css/fabric.components.rtl.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information. */

/**
* Office UI Fabric 2.1.0
* The front-end framework for building experiences for Office 365.
**/

.ms-ListItem:after,
.ms-PeoplePicker-searchBox:after {
clear: both;
Expand Down
5 changes: 5 additions & 0 deletions dist/css/fabric.components.rtl.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/css/fabric.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information. */
/**
* Office UI Fabric 2.1.0
* The front-end framework for building experiences for Office 365.
Expand Down
5 changes: 5 additions & 0 deletions dist/css/fabric.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/css/fabric.rtl.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information. */
/**
* Office UI Fabric 2.1.0
* The front-end framework for building experiences for Office 365.
Expand Down
5 changes: 5 additions & 0 deletions dist/css/fabric.rtl.min.css

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions dist/js/jquery.fabric.js
Original file line number Diff line number Diff line change
Expand Up @@ -746,51 +746,6 @@ fabric.Breadcrumb.prototype = (function() {

// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

/**
* Dialog Plugin
*
* Adds basic demonstration functionality to .ms-Dialog components.
*
* @param {jQuery Object} One or more .ms-Dialog components
* @return {jQuery Object} The same components (allows for chaining)
*/
(function ($) {
$.fn.Dialog = function () {

/** Iterate through the sample buttons, which can be used to open the Dialogs. */
$(".js-DialogAction--open").each(function () {
/** Open the associated dialog on click. */
$(this).on('click', function () {
var target = $(this).data("target");
$(target).show();
});
});


return this.each(function () {
var dialog = this;

/** Have the dialogs hidden for their initial state */
$(dialog).hide();

/** Have the close buttons close the Dialog. */
$(dialog).find(".js-DialogAction--close").each(function() {
$(this).on('click', function () {
$(dialog).hide();
});
});

/** Have the action buttons close the Dialog, though you would usually do some specific action per button. */
$(dialog).find(".ms-Dialog-action").on('click', function () {
$(dialog).hide();
});

});
};
})(jQuery);

// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

/**
* Dropdown Plugin
*
Expand Down Expand Up @@ -948,6 +903,51 @@ fabric.Breadcrumb.prototype = (function() {
})(jQuery);
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

/**
* Dialog Plugin
*
* Adds basic demonstration functionality to .ms-Dialog components.
*
* @param {jQuery Object} One or more .ms-Dialog components
* @return {jQuery Object} The same components (allows for chaining)
*/
(function ($) {
$.fn.Dialog = function () {

/** Iterate through the sample buttons, which can be used to open the Dialogs. */
$(".js-DialogAction--open").each(function () {
/** Open the associated dialog on click. */
$(this).on('click', function () {
var target = $(this).data("target");
$(target).show();
});
});


return this.each(function () {
var dialog = this;

/** Have the dialogs hidden for their initial state */
$(dialog).hide();

/** Have the close buttons close the Dialog. */
$(dialog).find(".js-DialogAction--close").each(function() {
$(this).on('click', function () {
$(dialog).hide();
});
});

/** Have the action buttons close the Dialog, though you would usually do some specific action per button. */
$(dialog).find(".ms-Dialog-action").on('click', function () {
$(dialog).hide();
});

});
};
})(jQuery);

// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

/**
* Facepile Plugin
*
Expand Down
2 changes: 1 addition & 1 deletion dist/js/jquery.fabric.min.js

Large diffs are not rendered by default.

0 comments on commit e0bee35

Please sign in to comment.