Comparing version 3.125.1 to 3.125.2
@@ -5,3 +5,2 @@ /// <reference types="react" /> | ||
import { IVssIconProps } from '../../Components/VssIcon/VssIcon.Props'; | ||
import 'VSS/LoaderPlugins/Css!./VssIcon'; | ||
import "./VssIcon.css"; | ||
@@ -8,0 +7,0 @@ export declare class VssIcon extends BaseComponent<IVssIconProps, {}> { |
@@ -1,1 +0,1 @@ | ||
import*as tslib_1 from"tslib";import*as React from"react";import{Icon,IconType}from"office-ui-fabric-react/lib/Icon";import{BaseComponent,css}from"office-ui-fabric-react/lib/Utilities";import{VssIconType}from"../../Components/VssIcon/VssIcon.Props";import"VSS/LoaderPlugins/Css!./VssIcon";import"./VssIcon.css";var VssIcon=function(e){function o(o){var s=e.call(this,o)||this;return s.state={},s}return tslib_1.__extends(o,e),o.prototype.render=function(){return React.createElement(Icon,tslib_1.__assign({},o.getIconProps(this.props)),this.props.children)},o.getIconProps=function(e){var s=tslib_1.__assign({},e);delete s.iconType,delete s.iconName;var i=e.iconType;!i&&e.iconName&&e.iconName.substr(0,o.bowtieIconPrefix.length)===o.bowtieIconPrefix&&(i=VssIconType.bowtie),s.iconType=e.iconType===VssIconType.image?IconType.image:IconType.default;var n=css("vss-Icon");if(s.className?s.className=s.className+" "+n:s.className=n,i===VssIconType.bowtie){var t=e.iconName;"string"==typeof t&&t.substr(0,o.bowtieIconPrefix.length)!==o.bowtieIconPrefix&&(t=o.bowtieIconPrefix+t);var c=css("vss-Icon--bowtie",t);s.className=s.className+" "+c}else s.iconName=e.iconName;return s},o.bowtieIconPrefix="bowtie-",o}(BaseComponent);export{VssIcon}; | ||
import*as tslib_1 from"tslib";import*as React from"react";import{Icon,IconType}from"office-ui-fabric-react/lib/Icon";import{BaseComponent,css}from"office-ui-fabric-react/lib/Utilities";import{VssIconType}from"../../Components/VssIcon/VssIcon.Props";import"./VssIcon.css";var VssIcon=function(e){function o(o){var s=e.call(this,o)||this;return s.state={},s}return tslib_1.__extends(o,e),o.prototype.render=function(){return React.createElement(Icon,tslib_1.__assign({},o.getIconProps(this.props)),this.props.children)},o.getIconProps=function(e){var s=tslib_1.__assign({},e);delete s.iconType,delete s.iconName;var i=e.iconType;!i&&e.iconName&&e.iconName.substr(0,o.bowtieIconPrefix.length)===o.bowtieIconPrefix&&(i=VssIconType.bowtie),s.iconType=e.iconType===VssIconType.image?IconType.image:IconType.default;var n=css("vss-Icon");if(s.className?s.className=s.className+" "+n:s.className=n,i===VssIconType.bowtie){var t=e.iconName;"string"==typeof t&&t.substr(0,o.bowtieIconPrefix.length)!==o.bowtieIconPrefix&&(t=o.bowtieIconPrefix+t);var c=css("vss-Icon--bowtie",t);s.className=s.className+" "+c}else s.iconName=e.iconName;return s},o.bowtieIconPrefix="bowtie-",o}(BaseComponent);export{VssIcon}; |
{ | ||
"name": "vss-ui", | ||
"version": "3.125.1", | ||
"version": "3.125.2", | ||
"description": "UI Components for building UI in Visual Studio Team Services", | ||
@@ -5,0 +5,0 @@ "author": "Microsoft Corporation", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
380095
5646