@leafygreen-ui/icon
Advanced tools
Comparing version 11.26.0 to 11.27.0
# @leafygreen-ui/icon | ||
## 11.27.0 | ||
### Minor Changes | ||
- 75b8d963: Adds `'Hash'` to glyph set and updates the `'Home'` glyph | ||
## 11.26.0 | ||
@@ -4,0 +10,0 @@ |
@@ -1,2 +0,2 @@ | ||
import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r||"default");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var u,c,f={small:14,default:16,large:20,xlarge:24};var s=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(r){var b,p=r.className,m=r.size,y=void 0===m?16:m,v=r.title,g=r["aria-label"],d=r["aria-labelledby"],O=r.fill,h=r.role,C=void 0===h?"img":h,j=n(r,s),w=t(u||(u=o(["\n color: ",";\n "])),O),L=t(c||(c=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i,n=t["aria-label"],o=t["aria-labelledby"],u=t.title;switch(e){case"img":return n||o||u?(a(l={},"aria-labelledby",o),a(l,"aria-label",n),a(l,"title",u),l):{"aria-label":(i=r,"".concat(i.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(C,"Home",(a(b={title:v},"aria-label",g),a(b,"aria-labelledby",d),b));return e.createElement("svg",i({className:l(a({},w,null!=O),L,p),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:C},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{d:"M7.51983 2.40012C7.79797 2.16834 8.20197 2.16834 8.48011 2.40012L13.6105 6.67544C13.8247 6.85396 13.8515 7.17322 13.67 7.38494L13.4531 7.63803C13.2794 7.84067 12.9772 7.87116 12.7665 7.70731L8.30694 4.23876C8.12638 4.09833 7.87356 4.09833 7.693 4.23876L3.23344 7.70731C3.02277 7.87116 2.72054 7.84067 2.54684 7.63803L2.32992 7.38494C2.14844 7.17322 2.17523 6.85396 2.38945 6.67544L7.51983 2.40012Z",fill:"currentColor"}),e.createElement("path",{d:"M7.68467 5.42969L3.99997 8.31593V13.2378C3.99997 13.6587 4.33576 14 4.74997 14H6.49997C6.77611 14 6.99997 13.7762 6.99997 13.5V11.4593C6.99997 11.1786 7.22383 10.9511 7.49997 10.9511H8.49997C8.77611 10.9511 8.99997 11.1786 8.99997 11.4593V13.5C8.99997 13.7762 9.22383 14 9.49997 14H11.25C11.6642 14 12 13.6587 12 13.2378V8.31593L8.31527 5.42969C8.13157 5.27801 7.86838 5.27801 7.68467 5.42969Z",fill:"currentColor"}))};b.displayName="Home",b.isGlyph=!0,b.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{b as default}; | ||
import*as e from"react";import r from"prop-types";import{css as t,cx as l}from"@leafygreen-ui/emotion";function a(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,r||"default");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},i.apply(this,arguments)}function n(e,r){if(null==e)return{};var t,l,a=function(e,r){if(null==e)return{};var t,l,a={},i=Object.keys(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var u,c,f={small:14,default:16,large:20,xlarge:24};var s=["className","size","title","aria-label","aria-labelledby","fill","role"],b=function(r){var b,p=r.className,m=r.size,y=void 0===m?16:m,d=r.title,v=r["aria-label"],g=r["aria-labelledby"],C=r.fill,O=r.role,h=void 0===O?"img":O,j=n(r,s),w=t(u||(u=o(["\n color: ",";\n "])),C),L=t(c||(c=o(["\n flex-shrink: 0;\n "]))),P=function(e,r,t){var l,i,n=t["aria-label"],o=t["aria-labelledby"],u=t.title;switch(e){case"img":return n||o||u?(a(l={},"aria-labelledby",o),a(l,"aria-label",n),a(l,"title",u),l):{"aria-label":(i=r,"".concat(i.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(h,"Home",(a(b={title:d},"aria-label",v),a(b,"aria-labelledby",g),b));return e.createElement("svg",i({className:l(a({},w,null!=C),L,p),height:"number"==typeof y?y:f[y],width:"number"==typeof y?y:f[y],role:h},P,j,{viewBox:"0 0 16 16"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.68697 1.75127C7.86982 1.60448 8.13013 1.60448 8.31298 1.75127L14.7458 6.91541C14.9651 7.09144 14.9961 7.41362 14.8145 7.62829L14.1709 8.38896C13.9949 8.5969 13.6849 8.62574 13.4736 8.45382L8.31555 4.25677C8.13175 4.10721 7.8682 4.10721 7.6844 4.25677L2.52637 8.45381C2.31508 8.62574 2.00506 8.5969 1.8291 8.38895L1.18546 7.62829C1.00382 7.41362 1.03486 7.09144 1.25415 6.91541L7.68697 1.75127Z",fill:"currentColor"}),e.createElement("path",{d:"M7.68763 5.24987C7.87024 5.10378 8.12971 5.10378 8.31232 5.24987L12.8123 8.84987C12.9309 8.94476 13 9.08841 13 9.24031V13.5C13 13.7761 12.7761 14 12.5 14H9.49998C9.22383 14 8.99997 13.7761 8.99997 13.5V11.5C8.99997 11.2239 8.77612 11 8.49997 11H7.49997C7.22383 11 6.99997 11.2239 6.99997 11.5V13.5C6.99997 13.7761 6.77612 14 6.49997 14H3.49997C3.22383 14 2.99997 13.7761 2.99997 13.5V9.24031C2.99997 9.08841 3.06902 8.94476 3.18763 8.84987L7.68763 5.24987Z",fill:"currentColor"}))};b.displayName="Home",b.isGlyph=!0,b.propTypes={fill:r.string,size:r.oneOfType([r.number,r.string]),className:r.string};export{b as default}; | ||
//# sourceMappingURL=Home.js.map |
@@ -5,3 +5,3 @@ /** | ||
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts | ||
* @checksum e7fbff4ceb0bbca8fcd6ffca7a80ac38 | ||
* @checksum 30d6247446ac7b94463fd9b1f68b2527 | ||
*/ | ||
@@ -8,0 +8,0 @@ import * as React from "react"; |
@@ -260,2 +260,6 @@ /// <reference types="react" /> | ||
}>; | ||
readonly Hash: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & { | ||
title?: string | null | undefined; | ||
role?: "img" | "presentation" | undefined; | ||
}>; | ||
readonly Highlight: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & { | ||
@@ -583,4 +587,4 @@ title?: string | null | undefined; | ||
export declare type GlyphName = keyof typeof _glyphs; | ||
export declare const glyphs: Record<"ActivityFeed" | "AddFile" | "AllProducts" | "Apps" | "Array" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Beaker" | "Bell" | "Biometric" | "Boolean" | "Building" | "Bulb" | "Calendar" | "Camera" | "Cap" | "CaretDown" | "CaretLeft" | "CaretRight" | "CaretUp" | "ChartFilled" | "Charts" | "Checkmark" | "CheckmarkWithCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clock" | "ClockWithArrow" | "Clone" | "Cloud" | "Code" | "CodeBlock" | "Colon" | "Connect" | "Copy" | "CreditCard" | "CurlyBraces" | "Cursor" | "Dashboard" | "Database" | "Diagram" | "Diagram2" | "Diagram3" | "Disconnect" | "Download" | "Drag" | "Edit" | "Ellipsis" | "Email" | "Export" | "Favorite" | "Federation" | "File" | "Filter" | "FullScreenEnter" | "FullScreenExit" | "Folder" | "Gauge" | "GlobeAmericas" | "GovernmentBuilding" | "Highlight" | "Home" | "Import" | "ImportantWithCircle" | "InfoWithCircle" | "InviteUser" | "Key" | "Laptop" | "LightningBolt" | "Link" | "List" | "Lock" | "LogIn" | "LogOut" | "MagnifyingGlass" | "Megaphone" | "Menu" | "Minus" | "Mobile" | "MultiDirectionArrow" | "MultiLayers" | "NavCollapse" | "NavExpand" | "NoFilter" | "NotAllowed" | "Note" | "OpenNewTab" | "Pause" | "Person" | "PersonGroup" | "PersonWithLock" | "Pin" | "Play" | "Plus" | "PlusWithCircle" | "QuestionMarkWithCircle" | "Read" | "Redo" | "Refresh" | "Relationship" | "ReplicaSet" | "Resize" | "Return" | "Save" | "Serverless" | "ShardedCluster" | "Settings" | "Shell" | "SMS" | "SortAscending" | "SortDescending" | "Sparkle" | "SplitHorizontal" | "SplitVertical" | "Stitch" | "String" | "Support" | "Sweep" | "Table" | "Tag" | "ThumbsDown" | "ThumbsUp" | "TimeSeries" | "TimeSeriesCollection" | "Trash" | "Undo" | "University" | "Unlock" | "Unsorted" | "UpDownCarets" | "Upload" | "VerticalEllipsis" | "Visibility" | "VisibilityOff" | "Warning" | "Wizard" | "Wrench" | "Write" | "X" | "XWithCircle", LGGlyph.Component>; | ||
export declare const glyphs: Record<"ActivityFeed" | "AddFile" | "AllProducts" | "Apps" | "Array" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Beaker" | "Bell" | "Biometric" | "Boolean" | "Building" | "Bulb" | "Calendar" | "Camera" | "Cap" | "CaretDown" | "CaretLeft" | "CaretRight" | "CaretUp" | "ChartFilled" | "Charts" | "Checkmark" | "CheckmarkWithCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clock" | "ClockWithArrow" | "Clone" | "Cloud" | "Code" | "CodeBlock" | "Colon" | "Connect" | "Copy" | "CreditCard" | "CurlyBraces" | "Cursor" | "Dashboard" | "Database" | "Diagram" | "Diagram2" | "Diagram3" | "Disconnect" | "Download" | "Drag" | "Edit" | "Ellipsis" | "Email" | "Export" | "Favorite" | "Federation" | "File" | "Filter" | "FullScreenEnter" | "FullScreenExit" | "Folder" | "Gauge" | "GlobeAmericas" | "GovernmentBuilding" | "Hash" | "Highlight" | "Home" | "Import" | "ImportantWithCircle" | "InfoWithCircle" | "InviteUser" | "Key" | "Laptop" | "LightningBolt" | "Link" | "List" | "Lock" | "LogIn" | "LogOut" | "MagnifyingGlass" | "Megaphone" | "Menu" | "Minus" | "Mobile" | "MultiDirectionArrow" | "MultiLayers" | "NavCollapse" | "NavExpand" | "NoFilter" | "NotAllowed" | "Note" | "OpenNewTab" | "Pause" | "Person" | "PersonGroup" | "PersonWithLock" | "Pin" | "Play" | "Plus" | "PlusWithCircle" | "QuestionMarkWithCircle" | "Read" | "Redo" | "Refresh" | "Relationship" | "ReplicaSet" | "Resize" | "Return" | "Save" | "Serverless" | "ShardedCluster" | "Settings" | "Shell" | "SMS" | "SortAscending" | "SortDescending" | "Sparkle" | "SplitHorizontal" | "SplitVertical" | "Stitch" | "String" | "Support" | "Sweep" | "Table" | "Tag" | "ThumbsDown" | "ThumbsUp" | "TimeSeries" | "TimeSeriesCollection" | "Trash" | "Undo" | "University" | "Unlock" | "Unsorted" | "UpDownCarets" | "Upload" | "VerticalEllipsis" | "Visibility" | "VisibilityOff" | "Warning" | "Wizard" | "Wrench" | "Write" | "X" | "XWithCircle", LGGlyph.Component>; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("prop-types"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","prop-types","@leafygreen-ui/emotion"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).Home=e.Home||{},e.Home.js=t(e.React,e.PropTypes,e["@leafygreen-ui/emotion"]))}(this,(function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function l(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=l(e),i=n(t);function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function f(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var s,b,p={small:14,default:16,large:20,xlarge:24};var y=["className","size","title","aria-label","aria-labelledby","fill","role"],d=function(e){var t,n=e.className,l=e.size,i=void 0===l?16:l,d=e.title,m=e["aria-label"],g=e["aria-labelledby"],v=e.fill,O=e.role,j=void 0===O?"img":O,h=f(e,y),C=r.css(s||(s=c(["\n color: ",";\n "])),v),w=r.css(b||(b=c(["\n flex-shrink: 0;\n "]))),P=function(e,t,r){var n,l,a=r["aria-label"],i=r["aria-labelledby"],u=r.title;switch(e){case"img":return a||i||u?(o(n={},"aria-labelledby",i),o(n,"aria-label",a),o(n,"title",u),n):{"aria-label":(l=t,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(j,"Home",(o(t={title:d},"aria-label",m),o(t,"aria-labelledby",g),t));return a.createElement("svg",u({className:r.cx(o({},C,null!=v),w,n),height:"number"==typeof i?i:p[i],width:"number"==typeof i?i:p[i],role:j},P,h,{viewBox:"0 0 16 16"}),a.createElement("path",{d:"M7.51983 2.40012C7.79797 2.16834 8.20197 2.16834 8.48011 2.40012L13.6105 6.67544C13.8247 6.85396 13.8515 7.17322 13.67 7.38494L13.4531 7.63803C13.2794 7.84067 12.9772 7.87116 12.7665 7.70731L8.30694 4.23876C8.12638 4.09833 7.87356 4.09833 7.693 4.23876L3.23344 7.70731C3.02277 7.87116 2.72054 7.84067 2.54684 7.63803L2.32992 7.38494C2.14844 7.17322 2.17523 6.85396 2.38945 6.67544L7.51983 2.40012Z",fill:"currentColor"}),a.createElement("path",{d:"M7.68467 5.42969L3.99997 8.31593V13.2378C3.99997 13.6587 4.33576 14 4.74997 14H6.49997C6.77611 14 6.99997 13.7762 6.99997 13.5V11.4593C6.99997 11.1786 7.22383 10.9511 7.49997 10.9511H8.49997C8.77611 10.9511 8.99997 11.1786 8.99997 11.4593V13.5C8.99997 13.7762 9.22383 14 9.49997 14H11.25C11.6642 14 12 13.6587 12 13.2378V8.31593L8.31527 5.42969C8.13157 5.27801 7.86838 5.27801 7.68467 5.42969Z",fill:"currentColor"}))};return d.displayName="Home",d.isGlyph=!0,d.propTypes={fill:i.default.string,size:i.default.oneOfType([i.default.number,i.default.string]),className:i.default.string},d})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("prop-types"),require("@leafygreen-ui/emotion")):"function"==typeof define&&define.amd?define(["react","prop-types","@leafygreen-ui/emotion"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).Home=e.Home||{},e.Home.js=t(e.React,e.PropTypes,e["@leafygreen-ui/emotion"]))}(this,(function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function l(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=l(e),a=n(t);function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function f(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var s,b,p={small:14,default:16,large:20,xlarge:24};var d=["className","size","title","aria-label","aria-labelledby","fill","role"],y=function(e){var t,n=e.className,l=e.size,a=void 0===l?16:l,y=e.title,m=e["aria-label"],g=e["aria-labelledby"],v=e.fill,O=e.role,j=void 0===O?"img":O,h=f(e,d),C=r.css(s||(s=c(["\n color: ",";\n "])),v),w=r.css(b||(b=c(["\n flex-shrink: 0;\n "]))),P=function(e,t,r){var n,l,i=r["aria-label"],a=r["aria-labelledby"],u=r.title;switch(e){case"img":return i||a||u?(o(n={},"aria-labelledby",a),o(n,"aria-label",i),o(n,"title",u),n):{"aria-label":(l=t,"".concat(l.replace(/([a-z])([A-Z])/g,"$1 $2")," Icon"))};case"presentation":return{"aria-hidden":!0,alt:""}}}(j,"Home",(o(t={title:y},"aria-label",m),o(t,"aria-labelledby",g),t));return i.createElement("svg",u({className:r.cx(o({},C,null!=v),w,n),height:"number"==typeof a?a:p[a],width:"number"==typeof a?a:p[a],role:j},P,h,{viewBox:"0 0 16 16"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.68697 1.75127C7.86982 1.60448 8.13013 1.60448 8.31298 1.75127L14.7458 6.91541C14.9651 7.09144 14.9961 7.41362 14.8145 7.62829L14.1709 8.38896C13.9949 8.5969 13.6849 8.62574 13.4736 8.45382L8.31555 4.25677C8.13175 4.10721 7.8682 4.10721 7.6844 4.25677L2.52637 8.45381C2.31508 8.62574 2.00506 8.5969 1.8291 8.38895L1.18546 7.62829C1.00382 7.41362 1.03486 7.09144 1.25415 6.91541L7.68697 1.75127Z",fill:"currentColor"}),i.createElement("path",{d:"M7.68763 5.24987C7.87024 5.10378 8.12971 5.10378 8.31232 5.24987L12.8123 8.84987C12.9309 8.94476 13 9.08841 13 9.24031V13.5C13 13.7761 12.7761 14 12.5 14H9.49998C9.22383 14 8.99997 13.7761 8.99997 13.5V11.5C8.99997 11.2239 8.77612 11 8.49997 11H7.49997C7.22383 11 6.99997 11.2239 6.99997 11.5V13.5C6.99997 13.7761 6.77612 14 6.49997 14H3.49997C3.22383 14 2.99997 13.7761 2.99997 13.5V9.24031C2.99997 9.08841 3.06902 8.94476 3.18763 8.84987L7.68763 5.24987Z",fill:"currentColor"}))};return y.displayName="Home",y.isGlyph=!0,y.propTypes={fill:a.default.string,size:a.default.oneOfType([a.default.number,a.default.string]),className:a.default.string},y})); | ||
//# sourceMappingURL=Home.js.map |
{ | ||
"name": "@leafygreen-ui/icon", | ||
"version": "11.26.0", | ||
"version": "11.27.0", | ||
"description": "LeafyGreen UI Kit Icons", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -50,9 +50,9 @@ # Icon | ||
| Prop | Type | Description | Default | | ||
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | ||
| `glyph` (Required) | `'ActivityFeed'`, `'AddFile'`, `'AllProducts'`, `'Apps'`, `'Array'`, `'ArrowDown'`, `'ArrowLeft'`, `'ArrowRight'`, `'ArrowUp'`, `'Beaker'`, `'Bell'`, `'Biometric'`, `'Boolean'`, `'Building'`, `'Bulb'`, `'Calendar'`, `'Camera'`, `'Cap'`, `'CaretDown'`, `'CaretLeft'`, `'CaretRight'`, `'CaretUp'`, `'ChartFilled'`, `'Charts'`, `'Checkmark'`, `'CheckmarkWithCircle'`, `'ChevronDown'`,, `'ChevronLeft'` `'ChevronRight'`,`'ChevronUp'`, `'Clock'`,`'ClockWithArrow'`, `'Clone'`, `'Cloud'`, `'Code'`, `'CodeBlock'`, `'Colon'`, `'Connect'`,`'Copy'`,`'CreditCard'`, `'CurlyBraces'`, `'Dashboard'`, `'Database'`, `'Diagram'`, `'Diagram2'`, `'Diagram3'`, `'Disconnect'`, `'Download'`, `'Drag'`, `'Edit'`, `'Ellipsis'`, `'Email'`, `'Export'`, `'Favorite'`, `'Federation'`, `'File'`, `'Filter'`,`'Folder'`, `'FullScreenEnter'`, `'FullScreenExit'`, `'Guage'`, `'GlobeAmericas'`, `'GovernmentBuilding'`, `'Highlight'`, `'Home'`, `'Import'`, `'ImportantWithCircle'`, `'InfoWithCircle'`, `'InviteUser'`, `'Key'`, `'Laptop'`, `'LightningBolt'`, `'Link'`, `'List'`, `'Lock'`, `'LogIn'`, `'LogOut'`, `'MagnifyingGlass'`, `'Megaphone'`, `'Menu'`, `'Minus'`, `'Mobile'`, `'MultiDirectionArrow'`, `'MultiLayers'`, `'NavCollapse'`, `'NavExpand'`, `'NoFilter'`, `'NotAllowed'`, `'Note'`, `'OpenNewTab'`, `'Pause'`, `'Person'`, `'PersonGroup'`, `'PersonWithLock'`, `'Pin'`, `'Play'`, `'Plus'`, `'PlusWithCircle'`, `'QuestionMarkWithCircle'`, `'Read'`, `'Redo'`, `'Refresh'`,`'Relationship'`, `'ReplicaSet'`,`'Resize'`, `'Return'`, `'Save'`, `'Serverless'`, `'Settings'`, `'ShardedCluster'`, `'Shell'`, `'SMS'`,`'SortAscending'`, `'SortDescending'`, `'SortHorizontal'`, `'SortVertical'`,`'Sparkle'`, `'SplitHorizontal'`, `'SplitVertical'`, `'Stitch'`, `'String'`, `'Support'`, `'Sweep'`, `'Table'`, `'Tag'`, `'ThumbsDown'`, `'ThumbsUp'`, `'TimeSeries'`, `'TimeSeriesCollection'`, `'Trash'`, `'Undo'`, `'University'`, `'Unlock'`, `'Unsorted'`, `'UpDownCarets'`, `'Upload'`, `'VerticalEllipsis'`, `'Visibility'`, `'VisibilityOff'`, `'Warning'`, `'Wizard'`, `'Wrench'`, `'Write'`,`'X'`, `'XWithCircle'` | Specifies the glyph to use. | | | ||
| `size` | `'small'`, `'default'`, `'large'`, `'xlarge'`, `number` | The height and width of the glyph's viewBox. This can be any `number` or one of the following `'small'`, `'default'`, `'large'`, `'xlarge'` | `'default'` | | ||
| `fill` | `string` | The fill color that is passed to the glyph. By default, the glyph will inherit its fill from the CSS color property of its nearest ancestor. | | | ||
| `title` | `string`, `boolean`, `null` | Renders a title tag with the passed string within the SVG element for screen reader accessibility. Setting this value to `false` will entirely unset the title. <br />If title is `undefined` or `null`, a human-readable title will be generated based on the glyph's name. | | | ||
| ... | `SVGR.ComponentProps` | All other props will be spread on the `svg` element | | | ||
| Prop | Type | Description | Default | | ||
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | ||
| `glyph` (Required) | `'ActivityFeed'`, `'AddFile'`, `'AllProducts'`, `'Apps'`, `'Array'`, `'ArrowDown'`, `'ArrowLeft'`, `'ArrowRight'`, `'ArrowUp'`, `'Beaker'`, `'Bell'`, `'Biometric'`, `'Boolean'`, `'Building'`, `'Bulb'`, `'Calendar'`, `'Camera'`, `'Cap'`, `'CaretDown'`, `'CaretLeft'`, `'CaretRight'`, `'CaretUp'`, `'ChartFilled'`, `'Charts'`, `'Checkmark'`, `'CheckmarkWithCircle'`, `'ChevronDown'`,, `'ChevronLeft'` `'ChevronRight'`,`'ChevronUp'`, `'Clock'`,`'ClockWithArrow'`, `'Clone'`, `'Cloud'`, `'Code'`, `'CodeBlock'`, `'Colon'`, `'Connect'`,`'Copy'`,`'CreditCard'`, `'CurlyBraces'`, `'Dashboard'`, `'Database'`, `'Diagram'`, `'Diagram2'`, `'Diagram3'`, `'Disconnect'`, `'Download'`, `'Drag'`, `'Edit'`, `'Ellipsis'`, `'Email'`, `'Export'`, `'Favorite'`, `'Federation'`, `'File'`, `'Filter'`,`'Folder'`, `'FullScreenEnter'`, `'FullScreenExit'`, `'Guage'`, `'GlobeAmericas'`, `'GovernmentBuilding'`, `'Hash'`, `'Highlight'`, `'Home'`, `'Import'`, `'ImportantWithCircle'`, `'InfoWithCircle'`, `'InviteUser'`, `'Key'`, `'Laptop'`, `'LightningBolt'`, `'Link'`, `'List'`, `'Lock'`, `'LogIn'`, `'LogOut'`, `'MagnifyingGlass'`, `'Megaphone'`, `'Menu'`, `'Minus'`, `'Mobile'`, `'MultiDirectionArrow'`, `'MultiLayers'`, `'NavCollapse'`, `'NavExpand'`, `'NoFilter'`, `'NotAllowed'`, `'Note'`, `'OpenNewTab'`, `'Pause'`, `'Person'`, `'PersonGroup'`, `'PersonWithLock'`, `'Pin'`, `'Play'`, `'Plus'`, `'PlusWithCircle'`, `'QuestionMarkWithCircle'`, `'Read'`, `'Redo'`, `'Refresh'`,`'Relationship'`, `'ReplicaSet'`,`'Resize'`, `'Return'`, `'Save'`, `'Serverless'`, `'Settings'`, `'ShardedCluster'`, `'Shell'`, `'SMS'`,`'SortAscending'`, `'SortDescending'`, `'SortHorizontal'`, `'SortVertical'`,`'Sparkle'`, `'SplitHorizontal'`, `'SplitVertical'`, `'Stitch'`, `'String'`, `'Support'`, `'Sweep'`, `'Table'`, `'Tag'`, `'ThumbsDown'`, `'ThumbsUp'`, `'TimeSeries'`, `'TimeSeriesCollection'`, `'Trash'`, `'Undo'`, `'University'`, `'Unlock'`, `'Unsorted'`, `'UpDownCarets'`, `'Upload'`, `'VerticalEllipsis'`, `'Visibility'`, `'VisibilityOff'`, `'Warning'`, `'Wizard'`, `'Wrench'`, `'Write'`,`'X'`, `'XWithCircle'` | Specifies the glyph to use. | | | ||
| `size` | `'small'`, `'default'`, `'large'`, `'xlarge'`, `number` | The height and width of the glyph's viewBox. This can be any `number` or one of the following `'small'`, `'default'`, `'large'`, `'xlarge'` | `'default'` | | ||
| `fill` | `string` | The fill color that is passed to the glyph. By default, the glyph will inherit its fill from the CSS color property of its nearest ancestor. | | | ||
| `title` | `string`, `boolean`, `null` | Renders a title tag with the passed string within the SVG element for screen reader accessibility. Setting this value to `false` will entirely unset the title. <br />If title is `undefined` or `null`, a human-readable title will be generated based on the glyph's name. | | | ||
| ... | `SVGR.ComponentProps` | All other props will be spread on the `svg` element | | | ||
@@ -59,0 +59,0 @@ # createIconComponent |
@@ -69,2 +69,3 @@ import { createGlyphComponent } from '../createGlyphComponent'; | ||
import GovernmentBuilding from './GovernmentBuilding.svg'; | ||
import Hash from './Hash.svg'; | ||
import Highlight from './Highlight.svg'; | ||
@@ -216,2 +217,3 @@ import Home from './Home.svg'; | ||
GovernmentBuilding, | ||
Hash, | ||
Highlight, | ||
@@ -218,0 +220,0 @@ Home, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
4233783
1208
17540
146