Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zendeskgarden/react-typography

Package Overview
Dependencies
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zendeskgarden/react-typography - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.4.1](https://github.com/zendeskgarden/react-components/compare/@zendeskgarden/react-typography@0.4.0...@zendeskgarden/react-typography@0.4.1) (2019-05-28)
**Note:** Version bump only for package @zendeskgarden/react-typography
# [0.4.0](https://github.com/zendeskgarden/react-components/compare/@zendeskgarden/react-typography@0.3.0...@zendeskgarden/react-typography@0.4.0) (2019-04-15)

@@ -8,0 +16,0 @@

16

dist/index.js

@@ -314,3 +314,3 @@ /*!

'data-garden-id': COMPONENT_ID,
'data-garden-version': "0.4.0"
'data-garden-version': "0.4.1"
}).withConfig({

@@ -372,3 +372,3 @@ displayName: "SM__StyledSM",

'data-garden-id': MD_COMPONENT_ID,
'data-garden-version': "0.4.0"
'data-garden-version': "0.4.1"
}).withConfig({

@@ -430,3 +430,3 @@ displayName: "MD__StyledMD",

'data-garden-id': LG_COMPONENT_ID,
'data-garden-version': "0.4.0"
'data-garden-version': "0.4.1"
}).withConfig({

@@ -488,3 +488,3 @@ displayName: "LG__StyledLG",

'data-garden-id': XL_COMPONENT_ID,
'data-garden-version': "0.4.0"
'data-garden-version': "0.4.1"
}).withConfig({

@@ -539,3 +539,3 @@ displayName: "XL__StyledXL",

'data-garden-id': XXL_COMPONENT_ID,
'data-garden-version': "0.4.0"
'data-garden-version': "0.4.1"
}).withConfig({

@@ -590,3 +590,3 @@ displayName: "XXL__StyledXXL",

'data-garden-id': XXXL_COMPONENT_ID,
'data-garden-version': "0.4.0"
'data-garden-version': "0.4.1"
}).withConfig({

@@ -694,3 +694,3 @@ displayName: "XXXL__StyledXXXL",

'data-garden-id': Code_COMPONENT_ID,
'data-garden-version': "0.4.0"
'data-garden-version': "0.4.1"
};

@@ -769,3 +769,3 @@ var codeCSS = Object(external_styled_components_["css"])(["border-radius:2px;background-color:", ";padding:1.5px;color:", ";", ";"], function (props) {

'data-garden-id': Ellipsis_COMPONENT_ID,
'data-garden-version': "0.4.0"
'data-garden-version': "0.4.1"
}).withConfig({

@@ -772,0 +772,0 @@ displayName: "Ellipsis__StyledEllipsis",

@@ -7,3 +7,3 @@ /*!

*/
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@zendeskgarden/react-theming"),require("rop-types"),require("styled-components"),require("react")):"function"==typeof define&&define.amd?define(["@zendeskgarden/react-theming","prop-types","styled-components","react"],r):"object"==typeof exports?exports.GardenTypography=r(require("@zendeskgarden/react-theming"),require("rop-types"),require("styled-components"),require("react")):e.GardenTypography=r(e.GardenTheming,e.PropTypes,e.styled,e.React)}(window,function(o,t,n,a){return function(o){var t={};function n(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return o[e].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=o,n.c=t,n.d=function(e,r,o){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(r,e){if(1&e&&(r=n(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)n.d(o,t,function(e){return r[e]}.bind(null,t));return o},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=5)}([function(e,r){e.exports={zdColorBlack:"#000",zdColorGreen100:"#edf8f4",zdColorGreen200:"#d1e8df",zdColorGreen300:"#aecfc2",zdColorGreen400:"#5eae91",zdColorGreen500:"#228f67",zdColorGreen600:"#038153",zdColorGreen700:"#186146",zdColorGreen800:"#0b3b29",zdColorGrey100:"#f8f9f9",zdColorGrey200:"#e9ebed",zdColorGrey300:"#d8dcde",zdColorGrey400:"#c2c8cc",zdColorGrey500:"#87929d",zdColorGrey600:"#68737d",zdColorGrey700:"#49545c",zdColorGrey800:"#2f3941",zdColorBlue100:"#edf7ff",zdColorBlue200:"#cee2f2",zdColorBlue300:"#adcce4",zdColorBlue400:"#5293c7",zdColorBlue500:"#337fbd",zdColorBlue600:"#1f73b7",zdColorBlue700:"#144a75",zdColorBlue800:"#0f3554",zdColorKale100:"#f5fbfc",zdColorKale200:"#c1d6d9",zdColorKale300:"#819a9e",zdColorKale400:"#56777a",zdColorKale500:"#335d63",zdColorKale600:"#04444d",zdColorKale700:"#03363d",zdColorKale800:"#012b30",zdColorRed100:"#fff0f1",zdColorRed200:"#f5d5d8",zdColorRed300:"#f5b5ba",zdColorRed400:"#e35b66",zdColorRed500:"#d93f4c",zdColorRed600:"#cc3340",zdColorRed700:"#8c232c",zdColorRed800:"#681219",zdColorYellow100:"#fff8ed",zdColorYellow200:"#fff0db",zdColorYellow300:"#fcdba9",zdColorYellow400:"#ffb648",zdColorYellow500:"#f5a133",zdColorYellow600:"#ed961c",zdColorYellow700:"#ad5e18",zdColorYellow800:"#703b15",zdColorWhite:"#fff",zdColorSecondaryAzure400:"#3091ec",zdColorSecondaryAzure600:"#1371d6",zdColorSecondaryCrimson400:"#e34f32",zdColorSecondaryCrimson600:"#c72a1c",zdColorSecondaryFuschia400:"#d653c2",zdColorSecondaryFuschia600:"#a81897",zdColorSecondaryLemon400:"#ffd424",zdColorSecondaryLemon600:"#ffbb10",zdColorSecondaryLime400:"#43b324",zdColorSecondaryLime600:"#2e8200",zdColorSecondaryMint400:"#00a656",zdColorSecondaryMint600:"#058541",zdColorSecondaryOrange400:"#de701d",zdColorSecondaryOrange600:"#bf5000",zdColorSecondaryPink400:"#ec4d63",zdColorSecondaryPink600:"#d42054",zdColorSecondaryPurple400:"#b552e2",zdColorSecondaryPurple600:"#6a27b8",zdColorSecondaryRoyal400:"#5d7df5",zdColorSecondaryRoyal600:"#3353e2",zdColorSecondaryTeal400:"#02a191",zdColorSecondaryTeal600:"#028079",zdColorSecondaryAzureM400:"#5f8dcf",zdColorSecondaryAzureM600:"#3a70b2",zdColorSecondaryCrimsonM400:"#cc6c5b",zdColorSecondaryCrimsonM600:"#b24a3c",zdColorSecondaryFuschiaM400:"#cf62a8",zdColorSecondaryFuschiaM600:"#a8458c",zdColorSecondaryLemonM400:"#e7a500",zdColorSecondaryLemonM600:"#c38f00",zdColorSecondaryLimeM400:"#519e2d",zdColorSecondaryLimeM600:"#47782c",zdColorSecondaryMintM400:"#299c66",zdColorSecondaryMintM600:"#2e8057",zdColorSecondaryOrangeM400:"#d4772c",zdColorSecondaryOrangeM600:"#b35827",zdColorSecondaryPinkM400:"#d57287",zdColorSecondaryPinkM600:"#b23a5d",zdColorSecondaryPurpleM400:"#b072cc",zdColorSecondaryPurpleM600:"#9358b0",zdColorSecondaryRoyalM400:"#7986d8",zdColorSecondaryRoyalM600:"#4b61c3",zdColorSecondaryTealM400:"#2d9e8f",zdColorSecondaryTealM600:"#3c7873",zdColorChatOrange:"#f79a3e",zdColorConnectRed:"#eb6651",zdColorExploreBlue:"#30aabc",zdColorGuidePink:"#eb4962",zdColorMessageGreen:"#37b8af",zdColorSellGold:"#d4ae5e",zdColorSupportGreen:"#78a300",zdColorTalkYellow:"#efc93d",zdFontFamilyMonospace:'SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace',zdFontFamilySystem:'system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",Arial,sans-serif',zdFontSizeSm:"12px",zdFontSizeMd:"14px",zdFontSizeLg:"18px",zdFontSizeXl:"22px",zdFontSizeXxl:"26px",zdFontSizeXxxl:"36px",zdFontSizeSmMonospace:"11px",zdFontSizeMdMonospace:"13px",zdFontSizeLgMonospace:"17px",zdFontWeightThin:"100",zdFontWeightExtralight:"200",zdFontWeightLight:"300",zdFontWeightRegular:"400",zdFontWeightMedium:"500",zdFontWeightSemibold:"600",zdFontWeightBold:"700",zdFontWeightExtrabold:"800",zdFontWeightBlack:"900",zdFontWeightUltralight:"200",zdFontWeightUltrabold:"800",zdFontWeightHeavy:"900",zdLineHeightSm:"16px",zdLineHeightMd:"20px",zdLineHeightLg:"24px",zdLineHeightXl:"28px",zdLineHeightXxl:"32px",zdLineHeightXxxl:"44px",zdSpacingXxs:"4px",zdSpacingXs:"8px",zdSpacingSm:"12px",zdSpacing:"20px",zdSpacingLg:"32px",zdSpacingXl:"40px",zdSpacingXxl:"48px"}},function(e,r){e.exports=o},function(e,r){e.exports=t},function(e,r){e.exports=n},function(e,r){e.exports=a},function(e,r,o){"use strict";o.r(r);var t=o(4),l=o.n(t),n=o(2),a=o.n(n),d=o(3),i=o.n(d),c=o(0),u=o(1);function f(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var p="typography.sm",y=i.a.div.attrs({"data-garden-id":p,"data-garden-version":"0.4.0"}).withConfig({displayName:"SM__StyledSM",componentId:"sc-12nz8l-0"})(["line-height:",";font-family:",";font-size:",";direction:",";",";"],c.zdLineHeightSm,function(e){return e.monospace?c.zdFontFamilyMonospace:null},function(e){return e.monospace?c.zdFontSizeSmMonospace:c.zdFontSizeSm},function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(p,e)}),s=function(e){var r=e.tag,o=f(e,["tag"]),t=y.withComponent(r);return l.a.createElement(t,o)};s.propTypes={tag:a.a.any,monospace:a.a.bool},s.defaultProps={tag:"div"};var z=s;function g(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var b="typography.md",C=i.a.div.attrs({"data-garden-id":b,"data-garden-version":"0.4.0"}).withConfig({displayName:"MD__StyledMD",componentId:"sc-10p6y1g-0"})(["line-height:",";font-family:",";font-size:",";direction:",";",";"],c.zdLineHeightMd,function(e){return e.monospace?c.zdFontFamilyMonospace:null},function(e){return e.monospace?c.zdFontSizeMdMonospace:c.zdFontSizeMd},function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(b,e)}),m=function(e){var r=e.tag,o=g(e,["tag"]),t=C.withComponent(r);return l.a.createElement(t,o)};m.propTypes={tag:a.a.any,monospace:a.a.bool},m.defaultProps={tag:"div"};var S=m;function h(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var O="typography.lg",v=i.a.div.attrs({"data-garden-id":O,"data-garden-version":"0.4.0"}).withConfig({displayName:"LG__StyledLG",componentId:"sc-18u1yr1-0"})(["line-height:",";font-family:",";font-size:",";direction:",";",";"],c.zdLineHeightLg,function(e){return e.monospace?c.zdFontFamilyMonospace:null},function(e){return e.monospace?c.zdFontSizeLgMonospace:c.zdFontSizeLg},function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(O,e)}),x=function(e){var r=e.tag,o=h(e,["tag"]),t=v.withComponent(r);return l.a.createElement(t,o)};x.propTypes={tag:a.a.any,monospace:a.a.bool},x.defaultProps={tag:"div"};var j=x;function w(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var M="typography.xl",F=i.a.div.attrs({"data-garden-id":M,"data-garden-version":"0.4.0"}).withConfig({displayName:"XL__StyledXL",componentId:"sc-1ldfee8-0"})(["line-height:",";font-size:",";direction:",";",";"],c.zdLineHeightXl,c.zdFontSizeXl,function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(M,e)}),P=function(e){var r=e.tag,o=w(e,["tag"]),t=F.withComponent(r);return l.a.createElement(t,o)};P.propTypes={tag:a.a.any},P.defaultProps={tag:"div"};var L=P;function X(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var G="typography.xxl",T=i.a.div.attrs({"data-garden-id":G,"data-garden-version":"0.4.0"}).withConfig({displayName:"XXL__StyledXXL",componentId:"z9aic3-0"})(["line-height:",";font-size:",";direction:",";",";"],c.zdLineHeightXxl,c.zdFontSizeXxl,function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(G,e)}),R=function(e){var r=e.tag,o=X(e,["tag"]),t=T.withComponent(r);return l.a.createElement(t,o)};R.propTypes={tag:a.a.any},R.defaultProps={tag:"div"};var _=R;function E(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var k="typography.xxxl",I=i.a.div.attrs({"data-garden-id":k,"data-garden-version":"0.4.0"}).withConfig({displayName:"XXXL__StyledXXXL",componentId:"sc-1iape3l-0"})(["line-height:",";font-size:",";direction:",";",";"],c.zdLineHeightXxxl,c.zdFontSizeXxxl,function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(k,e)}),H=function(e){var r=e.tag,o=E(e,["tag"]),t=I.withComponent(r);return l.a.createElement(t,o)};H.propTypes={tag:a.a.any},H.defaultProps={tag:"div"};var B=H;function W(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var N="typography.code",Y="small",q="medium",K="large",A="grey",D="red",U="green",J="yellow",Q={"data-garden-id":N,"data-garden-version":"0.4.0"},V=Object(d.css)(["border-radius:2px;background-color:",";padding:1.5px;color:",";",";"],function(e){return function(e){switch(e){case D:return c.zdColorRed200;case U:return c.zdColorGreen200;case J:return c.zdColorYellow200;case A:default:return c.zdColorGrey200}}(e.type)},function(e){return function(e){switch(e){case D:return c.zdColorRed700;case U:return c.zdColorGreen700;case J:return c.zdColorYellow800;case A:default:return c.zdColorGrey700}}(e.type)},function(e){return Object(u.retrieveTheme)(N,e)}),Z=i()(z).attrs(Q).withConfig({displayName:"Code__StyledSM",componentId:"sc-2643wc-0"})(["",";"],V),$=i()(S).attrs(Q).withConfig({displayName:"Code__StyledMD",componentId:"sc-2643wc-1"})(["",";"],V),ee=i()(j).attrs(Q).withConfig({displayName:"Code__StyledLG",componentId:"sc-2643wc-2"})(["",";"],V),re=function(e){var r=e.size,o=function(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},r=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),r.forEach(function(e){var r,o,t;r=n,t=a[o=e],o in r?Object.defineProperty(r,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[o]=t})}return n}({monospace:!0,tag:"code"},W(e,["size"]));switch(r){case Y:return l.a.createElement(Z,o);case K:return l.a.createElement(ee,o);case q:default:return l.a.createElement($,o)}};re.propTypes={size:a.a.oneOf([Y,q,K]),type:a.a.oneOf([A,D,U,J])};var oe=re;function te(){return(te=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(e[t]=o[t])}return e}).apply(this,arguments)}function ne(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var ae="typography.ellipsis",de=i.a.div.attrs({"data-garden-id":ae,"data-garden-version":"0.4.0"}).withConfig({displayName:"Ellipsis__StyledEllipsis",componentId:"sc-5rma8w-0"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:",";",";"],function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(ae,e)});function le(e){var r=e.children,o=e.title,t=e.tag,n=ne(e,["children","title","tag"]),a=de.withComponent(t),d=null;return void 0!==o?d=o:"string"==typeof r&&(d=r),l.a.createElement(a,te({title:d},n),r)}le.propTypes={title:a.a.string,tag:a.a.any,children:a.a.string},le.defaultProps={tag:"div"};var ie=le;o.d(r,"SM",function(){return z}),o.d(r,"MD",function(){return S}),o.d(r,"LG",function(){return j}),o.d(r,"XL",function(){return L}),o.d(r,"XXL",function(){return _}),o.d(r,"XXXL",function(){return B}),o.d(r,"Code",function(){return oe}),o.d(r,"Ellipsis",function(){return ie})}])});
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@zendeskgarden/react-theming"),require("rop-types"),require("styled-components"),require("react")):"function"==typeof define&&define.amd?define(["@zendeskgarden/react-theming","prop-types","styled-components","react"],r):"object"==typeof exports?exports.GardenTypography=r(require("@zendeskgarden/react-theming"),require("rop-types"),require("styled-components"),require("react")):e.GardenTypography=r(e.GardenTheming,e.PropTypes,e.styled,e.React)}(window,function(o,t,n,a){return i={},d.m=l=[function(e,r){e.exports={zdColorBlack:"#000",zdColorGreen100:"#edf8f4",zdColorGreen200:"#d1e8df",zdColorGreen300:"#aecfc2",zdColorGreen400:"#5eae91",zdColorGreen500:"#228f67",zdColorGreen600:"#038153",zdColorGreen700:"#186146",zdColorGreen800:"#0b3b29",zdColorGrey100:"#f8f9f9",zdColorGrey200:"#e9ebed",zdColorGrey300:"#d8dcde",zdColorGrey400:"#c2c8cc",zdColorGrey500:"#87929d",zdColorGrey600:"#68737d",zdColorGrey700:"#49545c",zdColorGrey800:"#2f3941",zdColorBlue100:"#edf7ff",zdColorBlue200:"#cee2f2",zdColorBlue300:"#adcce4",zdColorBlue400:"#5293c7",zdColorBlue500:"#337fbd",zdColorBlue600:"#1f73b7",zdColorBlue700:"#144a75",zdColorBlue800:"#0f3554",zdColorKale100:"#f5fbfc",zdColorKale200:"#c1d6d9",zdColorKale300:"#819a9e",zdColorKale400:"#56777a",zdColorKale500:"#335d63",zdColorKale600:"#04444d",zdColorKale700:"#03363d",zdColorKale800:"#012b30",zdColorRed100:"#fff0f1",zdColorRed200:"#f5d5d8",zdColorRed300:"#f5b5ba",zdColorRed400:"#e35b66",zdColorRed500:"#d93f4c",zdColorRed600:"#cc3340",zdColorRed700:"#8c232c",zdColorRed800:"#681219",zdColorYellow100:"#fff8ed",zdColorYellow200:"#fff0db",zdColorYellow300:"#fcdba9",zdColorYellow400:"#ffb648",zdColorYellow500:"#f5a133",zdColorYellow600:"#ed961c",zdColorYellow700:"#ad5e18",zdColorYellow800:"#703b15",zdColorWhite:"#fff",zdColorSecondaryAzure400:"#3091ec",zdColorSecondaryAzure600:"#1371d6",zdColorSecondaryCrimson400:"#e34f32",zdColorSecondaryCrimson600:"#c72a1c",zdColorSecondaryFuschia400:"#d653c2",zdColorSecondaryFuschia600:"#a81897",zdColorSecondaryLemon400:"#ffd424",zdColorSecondaryLemon600:"#ffbb10",zdColorSecondaryLime400:"#43b324",zdColorSecondaryLime600:"#2e8200",zdColorSecondaryMint400:"#00a656",zdColorSecondaryMint600:"#058541",zdColorSecondaryOrange400:"#de701d",zdColorSecondaryOrange600:"#bf5000",zdColorSecondaryPink400:"#ec4d63",zdColorSecondaryPink600:"#d42054",zdColorSecondaryPurple400:"#b552e2",zdColorSecondaryPurple600:"#6a27b8",zdColorSecondaryRoyal400:"#5d7df5",zdColorSecondaryRoyal600:"#3353e2",zdColorSecondaryTeal400:"#02a191",zdColorSecondaryTeal600:"#028079",zdColorSecondaryAzureM400:"#5f8dcf",zdColorSecondaryAzureM600:"#3a70b2",zdColorSecondaryCrimsonM400:"#cc6c5b",zdColorSecondaryCrimsonM600:"#b24a3c",zdColorSecondaryFuschiaM400:"#cf62a8",zdColorSecondaryFuschiaM600:"#a8458c",zdColorSecondaryLemonM400:"#e7a500",zdColorSecondaryLemonM600:"#c38f00",zdColorSecondaryLimeM400:"#519e2d",zdColorSecondaryLimeM600:"#47782c",zdColorSecondaryMintM400:"#299c66",zdColorSecondaryMintM600:"#2e8057",zdColorSecondaryOrangeM400:"#d4772c",zdColorSecondaryOrangeM600:"#b35827",zdColorSecondaryPinkM400:"#d57287",zdColorSecondaryPinkM600:"#b23a5d",zdColorSecondaryPurpleM400:"#b072cc",zdColorSecondaryPurpleM600:"#9358b0",zdColorSecondaryRoyalM400:"#7986d8",zdColorSecondaryRoyalM600:"#4b61c3",zdColorSecondaryTealM400:"#2d9e8f",zdColorSecondaryTealM600:"#3c7873",zdColorChatOrange:"#f79a3e",zdColorConnectRed:"#eb6651",zdColorExploreBlue:"#30aabc",zdColorGuidePink:"#eb4962",zdColorMessageGreen:"#37b8af",zdColorSellGold:"#d4ae5e",zdColorSupportGreen:"#78a300",zdColorTalkYellow:"#efc93d",zdFontFamilyMonospace:'SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace',zdFontFamilySystem:'system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",Arial,sans-serif',zdFontSizeSm:"12px",zdFontSizeMd:"14px",zdFontSizeLg:"18px",zdFontSizeXl:"22px",zdFontSizeXxl:"26px",zdFontSizeXxxl:"36px",zdFontSizeSmMonospace:"11px",zdFontSizeMdMonospace:"13px",zdFontSizeLgMonospace:"17px",zdFontWeightThin:"100",zdFontWeightExtralight:"200",zdFontWeightLight:"300",zdFontWeightRegular:"400",zdFontWeightMedium:"500",zdFontWeightSemibold:"600",zdFontWeightBold:"700",zdFontWeightExtrabold:"800",zdFontWeightBlack:"900",zdFontWeightUltralight:"200",zdFontWeightUltrabold:"800",zdFontWeightHeavy:"900",zdLineHeightSm:"16px",zdLineHeightMd:"20px",zdLineHeightLg:"24px",zdLineHeightXl:"28px",zdLineHeightXxl:"32px",zdLineHeightXxxl:"44px",zdSpacingXxs:"4px",zdSpacingXs:"8px",zdSpacingSm:"12px",zdSpacing:"20px",zdSpacingLg:"32px",zdSpacingXl:"40px",zdSpacingXxl:"48px"}},function(e,r){e.exports=o},function(e,r){e.exports=t},function(e,r){e.exports=n},function(e,r){e.exports=a},function(e,r,o){"use strict";o.r(r);var t=o(4),l=o.n(t),n=o(2),a=o.n(n),d=o(3),i=o.n(d),c=o(0),u=o(1);function f(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function p(e){var r=e.tag,o=f(e,["tag"]),t=s.withComponent(r);return l.a.createElement(t,o)}var y="typography.sm",s=i.a.div.attrs({"data-garden-id":y,"data-garden-version":"0.4.1"}).withConfig({displayName:"SM__StyledSM",componentId:"sc-12nz8l-0"})(["line-height:",";font-family:",";font-size:",";direction:",";",";"],c.zdLineHeightSm,function(e){return e.monospace?c.zdFontFamilyMonospace:null},function(e){return e.monospace?c.zdFontSizeSmMonospace:c.zdFontSizeSm},function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(y,e)});p.propTypes={tag:a.a.any,monospace:a.a.bool},p.defaultProps={tag:"div"};var z=p;function g(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function b(e){var r=e.tag,o=g(e,["tag"]),t=m.withComponent(r);return l.a.createElement(t,o)}var C="typography.md",m=i.a.div.attrs({"data-garden-id":C,"data-garden-version":"0.4.1"}).withConfig({displayName:"MD__StyledMD",componentId:"sc-10p6y1g-0"})(["line-height:",";font-family:",";font-size:",";direction:",";",";"],c.zdLineHeightMd,function(e){return e.monospace?c.zdFontFamilyMonospace:null},function(e){return e.monospace?c.zdFontSizeMdMonospace:c.zdFontSizeMd},function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(C,e)});b.propTypes={tag:a.a.any,monospace:a.a.bool},b.defaultProps={tag:"div"};var S=b;function h(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function O(e){var r=e.tag,o=h(e,["tag"]),t=x.withComponent(r);return l.a.createElement(t,o)}var v="typography.lg",x=i.a.div.attrs({"data-garden-id":v,"data-garden-version":"0.4.1"}).withConfig({displayName:"LG__StyledLG",componentId:"sc-18u1yr1-0"})(["line-height:",";font-family:",";font-size:",";direction:",";",";"],c.zdLineHeightLg,function(e){return e.monospace?c.zdFontFamilyMonospace:null},function(e){return e.monospace?c.zdFontSizeLgMonospace:c.zdFontSizeLg},function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(v,e)});O.propTypes={tag:a.a.any,monospace:a.a.bool},O.defaultProps={tag:"div"};var j=O;function w(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function M(e){var r=e.tag,o=w(e,["tag"]),t=P.withComponent(r);return l.a.createElement(t,o)}var F="typography.xl",P=i.a.div.attrs({"data-garden-id":F,"data-garden-version":"0.4.1"}).withConfig({displayName:"XL__StyledXL",componentId:"sc-1ldfee8-0"})(["line-height:",";font-size:",";direction:",";",";"],c.zdLineHeightXl,c.zdFontSizeXl,function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(F,e)});M.propTypes={tag:a.a.any},M.defaultProps={tag:"div"};var L=M;function X(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function G(e){var r=e.tag,o=X(e,["tag"]),t=R.withComponent(r);return l.a.createElement(t,o)}var T="typography.xxl",R=i.a.div.attrs({"data-garden-id":T,"data-garden-version":"0.4.1"}).withConfig({displayName:"XXL__StyledXXL",componentId:"z9aic3-0"})(["line-height:",";font-size:",";direction:",";",";"],c.zdLineHeightXxl,c.zdFontSizeXxl,function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(T,e)});G.propTypes={tag:a.a.any},G.defaultProps={tag:"div"};var _=G;function E(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function k(e){var r=e.tag,o=E(e,["tag"]),t=H.withComponent(r);return l.a.createElement(t,o)}var I="typography.xxxl",H=i.a.div.attrs({"data-garden-id":I,"data-garden-version":"0.4.1"}).withConfig({displayName:"XXXL__StyledXXXL",componentId:"sc-1iape3l-0"})(["line-height:",";font-size:",";direction:",";",";"],c.zdLineHeightXxxl,c.zdFontSizeXxxl,function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(I,e)});k.propTypes={tag:a.a.any},k.defaultProps={tag:"div"};var B=k;function W(e,r,o){return r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function N(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function Y(e){var r=e.size,o=function(r){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{},t=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),t.forEach(function(e){W(r,e,o[e])})}return r}({monospace:!0,tag:"code"},N(e,["size"]));switch(r){case K:return l.a.createElement(ee,o);case D:return l.a.createElement(oe,o);case A:default:return l.a.createElement(re,o)}}var q="typography.code",K="small",A="medium",D="large",U="grey",J="red",Q="green",V="yellow",Z={"data-garden-id":q,"data-garden-version":"0.4.1"},$=Object(d.css)(["border-radius:2px;background-color:",";padding:1.5px;color:",";",";"],function(e){return function(e){switch(e){case J:return c.zdColorRed200;case Q:return c.zdColorGreen200;case V:return c.zdColorYellow200;case U:default:return c.zdColorGrey200}}(e.type)},function(e){return function(e){switch(e){case J:return c.zdColorRed700;case Q:return c.zdColorGreen700;case V:return c.zdColorYellow800;case U:default:return c.zdColorGrey700}}(e.type)},function(e){return Object(u.retrieveTheme)(q,e)}),ee=i()(z).attrs(Z).withConfig({displayName:"Code__StyledSM",componentId:"sc-2643wc-0"})(["",";"],$),re=i()(S).attrs(Z).withConfig({displayName:"Code__StyledMD",componentId:"sc-2643wc-1"})(["",";"],$),oe=i()(j).attrs(Z).withConfig({displayName:"Code__StyledLG",componentId:"sc-2643wc-2"})(["",";"],$);Y.propTypes={size:a.a.oneOf([K,A,D]),type:a.a.oneOf([U,J,Q,V])};var te=Y;function ne(){return(ne=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(e[t]=o[t])}return e}).apply(this,arguments)}function ae(e,r){if(null==e)return{};var o,t,n=function(e,r){if(null==e)return{};var o,t,n={},a=Object.keys(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)o=a[t],0<=r.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var de="typography.ellipsis",le=i.a.div.attrs({"data-garden-id":de,"data-garden-version":"0.4.1"}).withConfig({displayName:"Ellipsis__StyledEllipsis",componentId:"sc-5rma8w-0"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:",";",";"],function(e){return Object(u.isRtl)(e)?"rtl":"ltr"},function(e){return Object(u.retrieveTheme)(de,e)});function ie(e){var r=e.children,o=e.title,t=e.tag,n=ae(e,["children","title","tag"]),a=le.withComponent(t),d=null;return void 0!==o?d=o:"string"==typeof r&&(d=r),l.a.createElement(a,ne({title:d},n),r)}ie.propTypes={title:a.a.string,tag:a.a.any,children:a.a.string},ie.defaultProps={tag:"div"};var ce=ie;o.d(r,"SM",function(){return z}),o.d(r,"MD",function(){return S}),o.d(r,"LG",function(){return j}),o.d(r,"XL",function(){return L}),o.d(r,"XXL",function(){return _}),o.d(r,"XXXL",function(){return B}),o.d(r,"Code",function(){return te}),o.d(r,"Ellipsis",function(){return ce})}],d.c=i,d.d=function(e,r,o){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:o})},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(r,e){if(1&e&&(r=d(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var o=Object.create(null);if(d.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)d.d(o,t,function(e){return r[e]}.bind(null,t));return o},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="",d(d.s=5);function d(e){if(i[e])return i[e].exports;var r=i[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,d),r.l=!0,r.exports}var l,i});
//# sourceMappingURL=bundle.min.js.map

@@ -11,3 +11,3 @@ {

},
"version": "0.4.0",
"version": "0.4.1",
"main": "./dist/index.js",

@@ -33,3 +33,3 @@ "files": [

"devDependencies": {
"@zendeskgarden/react-theming": "^3.2.1"
"@zendeskgarden/react-theming": "^3.2.2"
},

@@ -47,3 +47,3 @@ "keywords": [

"zendeskgarden:src": "src/index.js",
"gitHead": "07cbbfbb41e4a8afda20996ca82cc88f5b44bec5"
"gitHead": "1cd4297fbefe303b3a9510a982aec4e7c6fb2ac3"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc