@zendeskgarden/react-typography
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.2.1](https://github.com/zendeskgarden/react-components/compare/@zendeskgarden/react-typography@0.2.0...@zendeskgarden/react-typography@0.2.1) (2018-12-04) | ||
**Note:** Version bump only for package @zendeskgarden/react-typography | ||
<a name="0.2.0"></a> | ||
@@ -8,0 +16,0 @@ # [0.2.0](https://github.com/zendeskgarden/react-components/compare/@zendeskgarden/react-typography@0.1.0...@zendeskgarden/react-typography@0.2.0) (2018-09-14) |
@@ -97,20 +97,2 @@ /*! | ||
module.exports = require("react"); | ||
/***/ }), | ||
/* 1 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("prop-types"); | ||
/***/ }), | ||
/* 2 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("styled-components"); | ||
/***/ }), | ||
/* 3 */ | ||
/***/ (function(module, exports) { | ||
/** | ||
@@ -319,3 +301,3 @@ * Copyright Zendesk, Inc. | ||
/***/ }), | ||
/* 4 */ | ||
/* 1 */ | ||
/***/ (function(module, exports) { | ||
@@ -326,508 +308,366 @@ | ||
/***/ }), | ||
/* 5 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* 2 */ | ||
/***/ (function(module, exports) { | ||
"use strict"; | ||
module.exports = require("react"); | ||
/***/ }), | ||
/* 3 */ | ||
/***/ (function(module, exports) { | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
module.exports = require("prop-types"); | ||
var _SM = __webpack_require__(6); | ||
/***/ }), | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
Object.defineProperty(exports, 'SM', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_SM).default; | ||
} | ||
}); | ||
module.exports = require("styled-components"); | ||
var _MD = __webpack_require__(7); | ||
Object.defineProperty(exports, 'MD', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_MD).default; | ||
} | ||
}); | ||
var _LG = __webpack_require__(8); | ||
Object.defineProperty(exports, 'LG', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_LG).default; | ||
} | ||
}); | ||
var _XL = __webpack_require__(9); | ||
Object.defineProperty(exports, 'XL', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_XL).default; | ||
} | ||
}); | ||
var _XXL = __webpack_require__(10); | ||
Object.defineProperty(exports, 'XXL', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_XXL).default; | ||
} | ||
}); | ||
var _XXXL = __webpack_require__(11); | ||
Object.defineProperty(exports, 'XXXL', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_XXXL).default; | ||
} | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/***/ }), | ||
/* 6 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* 5 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
__webpack_require__.r(__webpack_exports__); | ||
// EXTERNAL MODULE: external "react" | ||
var external_react_ = __webpack_require__(2); | ||
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
// EXTERNAL MODULE: external "prop-types" | ||
var external_prop_types_ = __webpack_require__(3); | ||
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_); | ||
var _react = __webpack_require__(0); | ||
// EXTERNAL MODULE: external "styled-components" | ||
var external_styled_components_ = __webpack_require__(4); | ||
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_); | ||
var _react2 = _interopRequireDefault(_react); | ||
// EXTERNAL MODULE: ./node_modules/@zendeskgarden/css-variables/dist/index.js | ||
var dist = __webpack_require__(0); | ||
var _propTypes = __webpack_require__(1); | ||
// EXTERNAL MODULE: external "@zendeskgarden/react-theming" | ||
var react_theming_ = __webpack_require__(1); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
// CONCATENATED MODULE: ./src/views/SM.js | ||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
var _styledComponents = __webpack_require__(2); | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
var _styledComponents2 = _interopRequireDefault(_styledComponents); | ||
/** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
var _cssVariables = __webpack_require__(3); | ||
var _reactTheming = __webpack_require__(4); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } /** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
var COMPONENT_ID = 'typography.sm'; | ||
var StyledSM = _styledComponents2.default.div.attrs({ | ||
var StyledSM = external_styled_components_default.a.div.attrs({ | ||
'data-garden-id': COMPONENT_ID, | ||
'data-garden-version': "0.2.0" | ||
'data-garden-version': "0.2.1" | ||
}).withConfig({ | ||
displayName: 'SM__StyledSM' | ||
})(['line-height:', ';font-size:', ';direction:', ';', ';'], _cssVariables.zdLineHeightSm, _cssVariables.zdFontSizeSm, function (props) { | ||
return (0, _reactTheming.isRtl)(props) ? 'rtl' : 'ltr'; | ||
displayName: "SM__StyledSM", | ||
componentId: "sc-12nz8l-0" | ||
})(["line-height:", ";font-size:", ";direction:", ";", ";"], dist["zdLineHeightSm"], dist["zdFontSizeSm"], function (props) { | ||
return Object(react_theming_["isRtl"])(props) ? 'rtl' : 'ltr'; | ||
}, function (props) { | ||
return (0, _reactTheming.retrieveTheme)(COMPONENT_ID, props); | ||
return Object(react_theming_["retrieveTheme"])(COMPONENT_ID, props); | ||
}); | ||
/** | ||
* Accepts all standard props relating to provided `tag` | ||
*/ | ||
var SM = function SM(_ref) { | ||
var SM_SM = function SM(_ref) { | ||
var tag = _ref.tag, | ||
other = _objectWithoutProperties(_ref, ['tag']); | ||
other = _objectWithoutProperties(_ref, ["tag"]); | ||
var CustomTagSM = StyledSM.withComponent(tag); | ||
return _react2.default.createElement(CustomTagSM, other); | ||
return external_react_default.a.createElement(CustomTagSM, other); | ||
}; | ||
SM.propTypes = { | ||
SM_SM.propTypes = { | ||
/** Any valid DOM element for the styled component */ | ||
tag: _propTypes2.default.any | ||
tag: external_prop_types_default.a.any | ||
}; | ||
SM.defaultProps = { | ||
SM_SM.defaultProps = { | ||
tag: 'div' | ||
}; | ||
/** @component */ | ||
exports.default = SM; | ||
/***/ }), | ||
/* 7 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* harmony default export */ var views_SM = (SM_SM); | ||
// CONCATENATED MODULE: ./src/views/MD.js | ||
function MD_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = MD_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
"use strict"; | ||
function MD_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
/** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _react = __webpack_require__(0); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes = __webpack_require__(1); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _styledComponents = __webpack_require__(2); | ||
var _styledComponents2 = _interopRequireDefault(_styledComponents); | ||
var _cssVariables = __webpack_require__(3); | ||
var _reactTheming = __webpack_require__(4); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } /** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
var COMPONENT_ID = 'typography.md'; | ||
var StyledMD = _styledComponents2.default.div.attrs({ | ||
'data-garden-id': COMPONENT_ID, | ||
'data-garden-version': "0.2.0" | ||
var MD_COMPONENT_ID = 'typography.md'; | ||
var StyledMD = external_styled_components_default.a.div.attrs({ | ||
'data-garden-id': MD_COMPONENT_ID, | ||
'data-garden-version': "0.2.1" | ||
}).withConfig({ | ||
displayName: 'MD__StyledMD' | ||
})(['line-height:', ';font-size:', ';direction:', ';', ';'], _cssVariables.zdLineHeightMd, _cssVariables.zdFontSizeMd, function (props) { | ||
return (0, _reactTheming.isRtl)(props) ? 'rtl' : 'ltr'; | ||
displayName: "MD__StyledMD", | ||
componentId: "sc-10p6y1g-0" | ||
})(["line-height:", ";font-size:", ";direction:", ";", ";"], dist["zdLineHeightMd"], dist["zdFontSizeMd"], function (props) { | ||
return Object(react_theming_["isRtl"])(props) ? 'rtl' : 'ltr'; | ||
}, function (props) { | ||
return (0, _reactTheming.retrieveTheme)(COMPONENT_ID, props); | ||
return Object(react_theming_["retrieveTheme"])(MD_COMPONENT_ID, props); | ||
}); | ||
/** | ||
* Accepts all standard props relating to provided `tag` | ||
*/ | ||
var MD = function MD(_ref) { | ||
var MD_MD = function MD(_ref) { | ||
var tag = _ref.tag, | ||
other = _objectWithoutProperties(_ref, ['tag']); | ||
other = MD_objectWithoutProperties(_ref, ["tag"]); | ||
var CustomTagMD = StyledMD.withComponent(tag); | ||
return _react2.default.createElement(CustomTagMD, other); | ||
return external_react_default.a.createElement(CustomTagMD, other); | ||
}; | ||
MD.propTypes = { | ||
MD_MD.propTypes = { | ||
/** Any valid DOM element for the styled component */ | ||
tag: _propTypes2.default.any | ||
tag: external_prop_types_default.a.any | ||
}; | ||
MD.defaultProps = { | ||
MD_MD.defaultProps = { | ||
tag: 'div' | ||
}; | ||
/** @component */ | ||
exports.default = MD; | ||
/***/ }), | ||
/* 8 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* harmony default export */ var views_MD = (MD_MD); | ||
// CONCATENATED MODULE: ./src/views/LG.js | ||
function LG_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = LG_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
"use strict"; | ||
function LG_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
/** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _react = __webpack_require__(0); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes = __webpack_require__(1); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _styledComponents = __webpack_require__(2); | ||
var _styledComponents2 = _interopRequireDefault(_styledComponents); | ||
var _cssVariables = __webpack_require__(3); | ||
var _reactTheming = __webpack_require__(4); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } /** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
var COMPONENT_ID = 'typography.lg'; | ||
var StyledLG = _styledComponents2.default.div.attrs({ | ||
'data-garden-id': COMPONENT_ID, | ||
'data-garden-version': "0.2.0" | ||
var LG_COMPONENT_ID = 'typography.lg'; | ||
var StyledLG = external_styled_components_default.a.div.attrs({ | ||
'data-garden-id': LG_COMPONENT_ID, | ||
'data-garden-version': "0.2.1" | ||
}).withConfig({ | ||
displayName: 'LG__StyledLG' | ||
})(['line-height:', ';font-size:', ';direction:', ';', ';'], _cssVariables.zdLineHeightLg, _cssVariables.zdFontSizeLg, function (props) { | ||
return (0, _reactTheming.isRtl)(props) ? 'rtl' : 'ltr'; | ||
displayName: "LG__StyledLG", | ||
componentId: "sc-18u1yr1-0" | ||
})(["line-height:", ";font-size:", ";direction:", ";", ";"], dist["zdLineHeightLg"], dist["zdFontSizeLg"], function (props) { | ||
return Object(react_theming_["isRtl"])(props) ? 'rtl' : 'ltr'; | ||
}, function (props) { | ||
return (0, _reactTheming.retrieveTheme)(COMPONENT_ID, props); | ||
return Object(react_theming_["retrieveTheme"])(LG_COMPONENT_ID, props); | ||
}); | ||
/** | ||
* Accepts all standard props relating to provided `tag` | ||
*/ | ||
var LG = function LG(_ref) { | ||
var LG_LG = function LG(_ref) { | ||
var tag = _ref.tag, | ||
other = _objectWithoutProperties(_ref, ['tag']); | ||
other = LG_objectWithoutProperties(_ref, ["tag"]); | ||
var CustomTagLG = StyledLG.withComponent(tag); | ||
return _react2.default.createElement(CustomTagLG, other); | ||
return external_react_default.a.createElement(CustomTagLG, other); | ||
}; | ||
LG.propTypes = { | ||
LG_LG.propTypes = { | ||
/** Any valid DOM element for the styled component */ | ||
tag: _propTypes2.default.any | ||
tag: external_prop_types_default.a.any | ||
}; | ||
LG.defaultProps = { | ||
LG_LG.defaultProps = { | ||
tag: 'div' | ||
}; | ||
/** @component */ | ||
exports.default = LG; | ||
/***/ }), | ||
/* 9 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* harmony default export */ var views_LG = (LG_LG); | ||
// CONCATENATED MODULE: ./src/views/XL.js | ||
function XL_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = XL_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
"use strict"; | ||
function XL_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
/** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _react = __webpack_require__(0); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes = __webpack_require__(1); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _styledComponents = __webpack_require__(2); | ||
var _styledComponents2 = _interopRequireDefault(_styledComponents); | ||
var _cssVariables = __webpack_require__(3); | ||
var _reactTheming = __webpack_require__(4); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } /** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
var COMPONENT_ID = 'typography.xl'; | ||
var StyledXL = _styledComponents2.default.div.attrs({ | ||
'data-garden-id': COMPONENT_ID, | ||
'data-garden-version': "0.2.0" | ||
var XL_COMPONENT_ID = 'typography.xl'; | ||
var StyledXL = external_styled_components_default.a.div.attrs({ | ||
'data-garden-id': XL_COMPONENT_ID, | ||
'data-garden-version': "0.2.1" | ||
}).withConfig({ | ||
displayName: 'XL__StyledXL' | ||
})(['line-height:', ';font-size:', ';direction:', ';', ';'], _cssVariables.zdLineHeightXl, _cssVariables.zdFontSizeXl, function (props) { | ||
return (0, _reactTheming.isRtl)(props) ? 'rtl' : 'ltr'; | ||
displayName: "XL__StyledXL", | ||
componentId: "sc-1ldfee8-0" | ||
})(["line-height:", ";font-size:", ";direction:", ";", ";"], dist["zdLineHeightXl"], dist["zdFontSizeXl"], function (props) { | ||
return Object(react_theming_["isRtl"])(props) ? 'rtl' : 'ltr'; | ||
}, function (props) { | ||
return (0, _reactTheming.retrieveTheme)(COMPONENT_ID, props); | ||
return Object(react_theming_["retrieveTheme"])(XL_COMPONENT_ID, props); | ||
}); | ||
/** | ||
* Accepts all standard props relating to provided `tag` | ||
*/ | ||
var XL = function XL(_ref) { | ||
var XL_XL = function XL(_ref) { | ||
var tag = _ref.tag, | ||
other = _objectWithoutProperties(_ref, ['tag']); | ||
other = XL_objectWithoutProperties(_ref, ["tag"]); | ||
var CustomTagXL = StyledXL.withComponent(tag); | ||
return _react2.default.createElement(CustomTagXL, other); | ||
return external_react_default.a.createElement(CustomTagXL, other); | ||
}; | ||
XL.propTypes = { | ||
XL_XL.propTypes = { | ||
/** Any valid DOM element for the styled component */ | ||
tag: _propTypes2.default.any | ||
tag: external_prop_types_default.a.any | ||
}; | ||
XL.defaultProps = { | ||
XL_XL.defaultProps = { | ||
tag: 'div' | ||
}; | ||
/** @component */ | ||
exports.default = XL; | ||
/***/ }), | ||
/* 10 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* harmony default export */ var views_XL = (XL_XL); | ||
// CONCATENATED MODULE: ./src/views/XXL.js | ||
function XXL_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = XXL_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
"use strict"; | ||
function XXL_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
/** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _react = __webpack_require__(0); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes = __webpack_require__(1); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _styledComponents = __webpack_require__(2); | ||
var _styledComponents2 = _interopRequireDefault(_styledComponents); | ||
var _cssVariables = __webpack_require__(3); | ||
var _reactTheming = __webpack_require__(4); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } /** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
var COMPONENT_ID = 'typography.xxl'; | ||
var StyledXXL = _styledComponents2.default.div.attrs({ | ||
'data-garden-id': COMPONENT_ID, | ||
'data-garden-version': "0.2.0" | ||
var XXL_COMPONENT_ID = 'typography.xxl'; | ||
var StyledXXL = external_styled_components_default.a.div.attrs({ | ||
'data-garden-id': XXL_COMPONENT_ID, | ||
'data-garden-version': "0.2.1" | ||
}).withConfig({ | ||
displayName: 'XXL__StyledXXL' | ||
})(['line-height:', ';font-size:', ';direction:', ';', ';'], _cssVariables.zdLineHeightXxl, _cssVariables.zdFontSizeXxl, function (props) { | ||
return (0, _reactTheming.isRtl)(props) ? 'rtl' : 'ltr'; | ||
displayName: "XXL__StyledXXL", | ||
componentId: "z9aic3-0" | ||
})(["line-height:", ";font-size:", ";direction:", ";", ";"], dist["zdLineHeightXxl"], dist["zdFontSizeXxl"], function (props) { | ||
return Object(react_theming_["isRtl"])(props) ? 'rtl' : 'ltr'; | ||
}, function (props) { | ||
return (0, _reactTheming.retrieveTheme)(COMPONENT_ID, props); | ||
return Object(react_theming_["retrieveTheme"])(XXL_COMPONENT_ID, props); | ||
}); | ||
/** | ||
* Accepts all standard props relating to the provided `tag` | ||
*/ | ||
var XXL = function XXL(_ref) { | ||
var XXL_XXL = function XXL(_ref) { | ||
var tag = _ref.tag, | ||
other = _objectWithoutProperties(_ref, ['tag']); | ||
other = XXL_objectWithoutProperties(_ref, ["tag"]); | ||
var CustomTagXXL = StyledXXL.withComponent(tag); | ||
return _react2.default.createElement(CustomTagXXL, other); | ||
return external_react_default.a.createElement(CustomTagXXL, other); | ||
}; | ||
XXL.propTypes = { | ||
XXL_XXL.propTypes = { | ||
/** Any valid DOM element for the styled component */ | ||
tag: _propTypes2.default.any | ||
tag: external_prop_types_default.a.any | ||
}; | ||
XXL.defaultProps = { | ||
XXL_XXL.defaultProps = { | ||
tag: 'div' | ||
}; | ||
/** @component */ | ||
exports.default = XXL; | ||
/***/ }), | ||
/* 11 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
/* harmony default export */ var views_XXL = (XXL_XXL); | ||
// CONCATENATED MODULE: ./src/views/XXXL.js | ||
function XXXL_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = XXXL_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
"use strict"; | ||
function XXXL_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
/** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _react = __webpack_require__(0); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes = __webpack_require__(1); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _styledComponents = __webpack_require__(2); | ||
var _styledComponents2 = _interopRequireDefault(_styledComponents); | ||
var _cssVariables = __webpack_require__(3); | ||
var _reactTheming = __webpack_require__(4); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } /** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
var COMPONENT_ID = 'typography.xxxl'; | ||
var StyledXXXL = _styledComponents2.default.div.attrs({ | ||
'data-garden-id': COMPONENT_ID, | ||
'data-garden-version': "0.2.0" | ||
var XXXL_COMPONENT_ID = 'typography.xxxl'; | ||
var StyledXXXL = external_styled_components_default.a.div.attrs({ | ||
'data-garden-id': XXXL_COMPONENT_ID, | ||
'data-garden-version': "0.2.1" | ||
}).withConfig({ | ||
displayName: 'XXXL__StyledXXXL' | ||
})(['line-height:', ';font-size:', ';direction:', ';', ';'], _cssVariables.zdLineHeightXxxl, _cssVariables.zdFontSizeXxxl, function (props) { | ||
return (0, _reactTheming.isRtl)(props) ? 'rtl' : 'ltr'; | ||
displayName: "XXXL__StyledXXXL", | ||
componentId: "sc-1iape3l-0" | ||
})(["line-height:", ";font-size:", ";direction:", ";", ";"], dist["zdLineHeightXxxl"], dist["zdFontSizeXxxl"], function (props) { | ||
return Object(react_theming_["isRtl"])(props) ? 'rtl' : 'ltr'; | ||
}, function (props) { | ||
return (0, _reactTheming.retrieveTheme)(COMPONENT_ID, props); | ||
return Object(react_theming_["retrieveTheme"])(XXXL_COMPONENT_ID, props); | ||
}); | ||
/** | ||
* Accepts all standard props relating to provided `tag` | ||
*/ | ||
var XXXL = function XXXL(_ref) { | ||
var XXXL_XXXL = function XXXL(_ref) { | ||
var tag = _ref.tag, | ||
other = _objectWithoutProperties(_ref, ['tag']); | ||
other = XXXL_objectWithoutProperties(_ref, ["tag"]); | ||
var CustomTagXXXL = StyledXXXL.withComponent(tag); | ||
return _react2.default.createElement(CustomTagXXXL, other); | ||
return external_react_default.a.createElement(CustomTagXXXL, other); | ||
}; | ||
XXXL.propTypes = { | ||
XXXL_XXXL.propTypes = { | ||
/** Any valid DOM element for the styled component */ | ||
tag: _propTypes2.default.any | ||
tag: external_prop_types_default.a.any | ||
}; | ||
XXXL.defaultProps = { | ||
XXXL_XXXL.defaultProps = { | ||
tag: 'div' | ||
}; | ||
/** @component */ | ||
exports.default = XXXL; | ||
/* harmony default export */ var views_XXXL = (XXXL_XXXL); | ||
// CONCATENATED MODULE: ./src/index.js | ||
/* concated harmony reexport SM */__webpack_require__.d(__webpack_exports__, "SM", function() { return views_SM; }); | ||
/* concated harmony reexport MD */__webpack_require__.d(__webpack_exports__, "MD", function() { return views_MD; }); | ||
/* concated harmony reexport LG */__webpack_require__.d(__webpack_exports__, "LG", function() { return views_LG; }); | ||
/* concated harmony reexport XL */__webpack_require__.d(__webpack_exports__, "XL", function() { return views_XL; }); | ||
/* concated harmony reexport XXL */__webpack_require__.d(__webpack_exports__, "XXL", function() { return views_XXL; }); | ||
/* concated harmony reexport XXXL */__webpack_require__.d(__webpack_exports__, "XXXL", function() { return views_XXXL; }); | ||
/** | ||
* Copyright Zendesk, Inc. | ||
* | ||
* Use of this source code is governed under the Apache License, Version 2.0 | ||
* found at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
/***/ }) | ||
/******/ ]))); | ||
//# sourceMappingURL=index.js.map |
@@ -7,3 +7,3 @@ /*! | ||
*/ | ||
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o(require("react"),require("rop-types"),require("styled-components"),require("@zendeskgarden/react-theming")):"function"==typeof define&&define.amd?define(["react","prop-types","styled-components","@zendeskgarden/react-theming"],o):"object"==typeof exports?exports.GardenTypography=o(require("react"),require("rop-types"),require("styled-components"),require("@zendeskgarden/react-theming")):e.GardenTypography=o(e.React,e.PropTypes,e.styled,e.GardenTheming)}(window,function(e,o,r,t){return function(e){var o={};function r(t){if(o[t])return o[t].exports;var d=o[t]={i:t,l:!1,exports:{}};return e[t].call(d.exports,d,d.exports,r),d.l=!0,d.exports}return r.m=e,r.c=o,r.d=function(e,o,t){r.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:t})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,o){if(1&o&&(e=r(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var d in e)r.d(t,d,function(o){return e[o]}.bind(null,d));return t},r.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(o,"a",o),o},r.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},r.p="",r(r.s=5)}([function(o,r){o.exports=e},function(e,r){e.exports=o},function(e,o){e.exports=r},function(e,o){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",zdColorAffair:"#734988",zdColorAluminum:"#999",zdColorAntiFlashWhite:"#f3f3f3",zdColorAppleGreen:"#78a300",zdColorApricot:"#ffcab3",zdColorBlueChalk:"#e5d6ed",zdColorBuff:"#f6de86",zdColorButtermilk:"#ffefb3",zdColorCeSoir:"#9677a6",zdColorCgRed:"#e03b30",zdColorChateauGreen:"#16ba52",zdColorChathamsBlue:"#24536b",zdColorColumbiaBlue:"#a8d8ff",zdColorCoolBlue:"#0a91ff",zdColorCoralCandy:"#efcbc9",zdColorCremeBrulee:"#ffdc99",zdColorCupid:"#fab4c9",zdColorCuriousBlue:"#358fb2",zdColorDandelion:"#ffde66",zdColorDarkGray:"#555",zdColorDarkPastelRed:"#bf3026",zdColorDeepLilac:"#965ab6",zdColorDenim:"#146eaa",zdColorEastSide:"#b083c8",zdColorFestival:"#f2ce4a",zdColorFlamingo:"#eb6651",zdColorGainsboro:"#ddd",zdColorGoldenDream:"#efc93d",zdColorIndianRed:"#cf645c",zdColorIron:"#ccc",zdColorJonquil:"#ffdd5f",zdColorKarl:"#f3f0ee",zdColorLemonChiffon:"#fff3ca",zdColorLightCrimson:"#f3749a",zdColorLilyWhite:"#ebebeb",zdColorLola:"#b9a4c3",zdColorMabel:"#cce3ec",zdColorMagicMint:"#aaf3c4",zdColorMalibu:"#5ebbde",zdColorMandy:"#eb4962",zdColorMarigold:"#ffc800",zdColorMayaBlue:"#61b8ff",zdColorMonsoon:"#777",zdColorMoonYellow:"#edbe0e",zdColorMoonstoneBlue:"#6aabc4",zdColorNero:"#1a1a1a",zdColorNonPhotoBlue:"#a5dcf2",zdColorOasis:"#faefc3",zdColorOil:"#333",zdColorOrangePeel:"#faa300",zdColorPalatinateBlue:"#1438f7",zdColorPaleTurquoise:"#aff3ee",zdColorPatternsBlue:"#d2eef9",zdColorPelorous:"#30aabc",zdColorPerano:"#a6b3ff",zdColorPerfume:"#caacda",zdColorPersianGreen:"#03b3a7",zdColorPersimmon:"#ff6d5a",zdColorPetiteOrchid:"#df9792",zdColorPicasso:"#ffe894",zdColorPinkOrange:"#ff9466",zdColorPlatinum:"#eee",zdColorPortlandOrange:"#ff542e",zdColorRazzmatazz:"#f2316b",zdColorRegentStBlue:"#9ac7d8",zdColorRemy:"#f7cecb",zdColorSaffronMango:"#fac157",zdColorSeaBuckthorn:"#f79a3e",zdColorShamrock:"#45d97b",zdColorSilverSand:"#bbb",zdColorSkyBlue:"#78cdec",zdColorSnow:"#fbfbfb",zdColorSteel:"#666",zdColorSunglow:"#ffd12a",zdColorTerraCotta:"#e86c64",zdColorTitanWhite:"#dcd1e1",zdColorUltramarineBlue:"#5e76ff",zdColorVerdigris:"#37b8af",zdColorViking:"#5fd4cc",zdColorWewak:"#ef9d97",zdColorWhiteSmoke:"#f8f8f8",zdColorChatOrange:"#f79a3e",zdColorConnectRed:"#eb6651",zdColorExploreBlue:"#30aabc",zdColorGuidePink:"#eb4962",zdColorInboxOrange:"#ff6d5a",zdColorMessageGreen:"#37b8af",zdColorSupportGreen:"#78a300",zdColorTalkYellow:"#efc93d",zdColorAlgae:"#03363d",zdColorBreakerBay:"#56777a",zdColorDaintree:"#012b30",zdColorPromoOrange:"#faa300",zdColorSherpaBlue:"#04444d",zdColorSubmarine:"#819a9e",zdColorZendeskGreen:"#78a300",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",zdFontSizeGiga:"36px",zdFontSizeMega:"28px",zdFontSizeKilo:"25px",zdFontSizeAlpha:"22px",zdFontSizeBeta:"20px",zdFontSizeGamma:"18px",zdFontSizeDelta:"16px",zdFontSizeEpsilon:"14px",zdFontSizeZeta:"12px",zdFontSizeMilli:"11px",zdFontSizeMicro:"10px",zdFontSizeNano:"9px",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,o){e.exports=t},function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=r(6);Object.defineProperty(o,"SM",{enumerable:!0,get:function(){return f(t).default}});var d=r(7);Object.defineProperty(o,"MD",{enumerable:!0,get:function(){return f(d).default}});var n=r(8);Object.defineProperty(o,"LG",{enumerable:!0,get:function(){return f(n).default}});var l=r(9);Object.defineProperty(o,"XL",{enumerable:!0,get:function(){return f(l).default}});var a=r(10);Object.defineProperty(o,"XXL",{enumerable:!0,get:function(){return f(a).default}});var i=r(11);function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(o,"XXXL",{enumerable:!0,get:function(){return f(i).default}})},function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=i(r(0)),d=i(r(1)),n=i(r(2)),l=r(3),a=r(4);function i(e){return e&&e.__esModule?e:{default:e}}var f=n.default.div.attrs({"data-garden-id":"typography.sm","data-garden-version":"0.2.0"}).withConfig({displayName:"SM__StyledSM"})(["line-height:",";font-size:",";direction:",";",";"],l.zdLineHeightSm,l.zdFontSizeSm,function(e){return(0,a.isRtl)(e)?"rtl":"ltr"},function(e){return(0,a.retrieveTheme)("typography.sm",e)}),u=function(e){var o=e.tag,r=function(e,o){var r={};for(var t in e)o.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}(e,["tag"]),d=f.withComponent(o);return t.default.createElement(d,r)};u.propTypes={tag:d.default.any},u.defaultProps={tag:"div"},o.default=u},function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=i(r(0)),d=i(r(1)),n=i(r(2)),l=r(3),a=r(4);function i(e){return e&&e.__esModule?e:{default:e}}var f=n.default.div.attrs({"data-garden-id":"typography.md","data-garden-version":"0.2.0"}).withConfig({displayName:"MD__StyledMD"})(["line-height:",";font-size:",";direction:",";",";"],l.zdLineHeightMd,l.zdFontSizeMd,function(e){return(0,a.isRtl)(e)?"rtl":"ltr"},function(e){return(0,a.retrieveTheme)("typography.md",e)}),u=function(e){var o=e.tag,r=function(e,o){var r={};for(var t in e)o.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}(e,["tag"]),d=f.withComponent(o);return t.default.createElement(d,r)};u.propTypes={tag:d.default.any},u.defaultProps={tag:"div"},o.default=u},function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=i(r(0)),d=i(r(1)),n=i(r(2)),l=r(3),a=r(4);function i(e){return e&&e.__esModule?e:{default:e}}var f=n.default.div.attrs({"data-garden-id":"typography.lg","data-garden-version":"0.2.0"}).withConfig({displayName:"LG__StyledLG"})(["line-height:",";font-size:",";direction:",";",";"],l.zdLineHeightLg,l.zdFontSizeLg,function(e){return(0,a.isRtl)(e)?"rtl":"ltr"},function(e){return(0,a.retrieveTheme)("typography.lg",e)}),u=function(e){var o=e.tag,r=function(e,o){var r={};for(var t in e)o.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}(e,["tag"]),d=f.withComponent(o);return t.default.createElement(d,r)};u.propTypes={tag:d.default.any},u.defaultProps={tag:"div"},o.default=u},function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=i(r(0)),d=i(r(1)),n=i(r(2)),l=r(3),a=r(4);function i(e){return e&&e.__esModule?e:{default:e}}var f=n.default.div.attrs({"data-garden-id":"typography.xl","data-garden-version":"0.2.0"}).withConfig({displayName:"XL__StyledXL"})(["line-height:",";font-size:",";direction:",";",";"],l.zdLineHeightXl,l.zdFontSizeXl,function(e){return(0,a.isRtl)(e)?"rtl":"ltr"},function(e){return(0,a.retrieveTheme)("typography.xl",e)}),u=function(e){var o=e.tag,r=function(e,o){var r={};for(var t in e)o.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}(e,["tag"]),d=f.withComponent(o);return t.default.createElement(d,r)};u.propTypes={tag:d.default.any},u.defaultProps={tag:"div"},o.default=u},function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=i(r(0)),d=i(r(1)),n=i(r(2)),l=r(3),a=r(4);function i(e){return e&&e.__esModule?e:{default:e}}var f=n.default.div.attrs({"data-garden-id":"typography.xxl","data-garden-version":"0.2.0"}).withConfig({displayName:"XXL__StyledXXL"})(["line-height:",";font-size:",";direction:",";",";"],l.zdLineHeightXxl,l.zdFontSizeXxl,function(e){return(0,a.isRtl)(e)?"rtl":"ltr"},function(e){return(0,a.retrieveTheme)("typography.xxl",e)}),u=function(e){var o=e.tag,r=function(e,o){var r={};for(var t in e)o.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}(e,["tag"]),d=f.withComponent(o);return t.default.createElement(d,r)};u.propTypes={tag:d.default.any},u.defaultProps={tag:"div"},o.default=u},function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=i(r(0)),d=i(r(1)),n=i(r(2)),l=r(3),a=r(4);function i(e){return e&&e.__esModule?e:{default:e}}var f=n.default.div.attrs({"data-garden-id":"typography.xxxl","data-garden-version":"0.2.0"}).withConfig({displayName:"XXXL__StyledXXXL"})(["line-height:",";font-size:",";direction:",";",";"],l.zdLineHeightXxxl,l.zdFontSizeXxxl,function(e){return(0,a.isRtl)(e)?"rtl":"ltr"},function(e){return(0,a.retrieveTheme)("typography.xxxl",e)}),u=function(e){var o=e.tag,r=function(e,o){var r={};for(var t in e)o.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}(e,["tag"]),d=f.withComponent(o);return t.default.createElement(d,r)};u.propTypes={tag:d.default.any},u.defaultProps={tag:"div"},o.default=u}])}); | ||
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o(require("@zendeskgarden/react-theming"),require("react"),require("rop-types"),require("styled-components")):"function"==typeof define&&define.amd?define(["@zendeskgarden/react-theming","react","prop-types","styled-components"],o):"object"==typeof exports?exports.GardenTypography=o(require("@zendeskgarden/react-theming"),require("react"),require("rop-types"),require("styled-components")):e.GardenTypography=o(e.GardenTheming,e.React,e.PropTypes,e.styled)}(window,function(r,t,n,l){return function(r){var t={};function n(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return r[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=r,n.c=t,n.d=function(e,o,r){n.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:r})},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(o,e){if(1&e&&(o=n(o)),8&e)return o;if(4&e&&"object"==typeof o&&o&&o.__esModule)return o;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:o}),2&e&&"string"!=typeof o)for(var t in o)n.d(r,t,function(e){return o[e]}.bind(null,t));return r},n.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(o,"a",o),o},n.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},n.p="",n(n.s=5)}([function(e,o){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",zdColorAffair:"#734988",zdColorAluminum:"#999",zdColorAntiFlashWhite:"#f3f3f3",zdColorAppleGreen:"#78a300",zdColorApricot:"#ffcab3",zdColorBlueChalk:"#e5d6ed",zdColorBuff:"#f6de86",zdColorButtermilk:"#ffefb3",zdColorCeSoir:"#9677a6",zdColorCgRed:"#e03b30",zdColorChateauGreen:"#16ba52",zdColorChathamsBlue:"#24536b",zdColorColumbiaBlue:"#a8d8ff",zdColorCoolBlue:"#0a91ff",zdColorCoralCandy:"#efcbc9",zdColorCremeBrulee:"#ffdc99",zdColorCupid:"#fab4c9",zdColorCuriousBlue:"#358fb2",zdColorDandelion:"#ffde66",zdColorDarkGray:"#555",zdColorDarkPastelRed:"#bf3026",zdColorDeepLilac:"#965ab6",zdColorDenim:"#146eaa",zdColorEastSide:"#b083c8",zdColorFestival:"#f2ce4a",zdColorFlamingo:"#eb6651",zdColorGainsboro:"#ddd",zdColorGoldenDream:"#efc93d",zdColorIndianRed:"#cf645c",zdColorIron:"#ccc",zdColorJonquil:"#ffdd5f",zdColorKarl:"#f3f0ee",zdColorLemonChiffon:"#fff3ca",zdColorLightCrimson:"#f3749a",zdColorLilyWhite:"#ebebeb",zdColorLola:"#b9a4c3",zdColorMabel:"#cce3ec",zdColorMagicMint:"#aaf3c4",zdColorMalibu:"#5ebbde",zdColorMandy:"#eb4962",zdColorMarigold:"#ffc800",zdColorMayaBlue:"#61b8ff",zdColorMonsoon:"#777",zdColorMoonYellow:"#edbe0e",zdColorMoonstoneBlue:"#6aabc4",zdColorNero:"#1a1a1a",zdColorNonPhotoBlue:"#a5dcf2",zdColorOasis:"#faefc3",zdColorOil:"#333",zdColorOrangePeel:"#faa300",zdColorPalatinateBlue:"#1438f7",zdColorPaleTurquoise:"#aff3ee",zdColorPatternsBlue:"#d2eef9",zdColorPelorous:"#30aabc",zdColorPerano:"#a6b3ff",zdColorPerfume:"#caacda",zdColorPersianGreen:"#03b3a7",zdColorPersimmon:"#ff6d5a",zdColorPetiteOrchid:"#df9792",zdColorPicasso:"#ffe894",zdColorPinkOrange:"#ff9466",zdColorPlatinum:"#eee",zdColorPortlandOrange:"#ff542e",zdColorRazzmatazz:"#f2316b",zdColorRegentStBlue:"#9ac7d8",zdColorRemy:"#f7cecb",zdColorSaffronMango:"#fac157",zdColorSeaBuckthorn:"#f79a3e",zdColorShamrock:"#45d97b",zdColorSilverSand:"#bbb",zdColorSkyBlue:"#78cdec",zdColorSnow:"#fbfbfb",zdColorSteel:"#666",zdColorSunglow:"#ffd12a",zdColorTerraCotta:"#e86c64",zdColorTitanWhite:"#dcd1e1",zdColorUltramarineBlue:"#5e76ff",zdColorVerdigris:"#37b8af",zdColorViking:"#5fd4cc",zdColorWewak:"#ef9d97",zdColorWhiteSmoke:"#f8f8f8",zdColorChatOrange:"#f79a3e",zdColorConnectRed:"#eb6651",zdColorExploreBlue:"#30aabc",zdColorGuidePink:"#eb4962",zdColorInboxOrange:"#ff6d5a",zdColorMessageGreen:"#37b8af",zdColorSupportGreen:"#78a300",zdColorTalkYellow:"#efc93d",zdColorAlgae:"#03363d",zdColorBreakerBay:"#56777a",zdColorDaintree:"#012b30",zdColorPromoOrange:"#faa300",zdColorSherpaBlue:"#04444d",zdColorSubmarine:"#819a9e",zdColorZendeskGreen:"#78a300",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",zdFontSizeGiga:"36px",zdFontSizeMega:"28px",zdFontSizeKilo:"25px",zdFontSizeAlpha:"22px",zdFontSizeBeta:"20px",zdFontSizeGamma:"18px",zdFontSizeDelta:"16px",zdFontSizeEpsilon:"14px",zdFontSizeZeta:"12px",zdFontSizeMilli:"11px",zdFontSizeMicro:"10px",zdFontSizeNano:"9px",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,o){e.exports=r},function(e,o){e.exports=t},function(e,o){e.exports=n},function(e,o){e.exports=l},function(e,o,r){"use strict";r.r(o);var t=r(2),n=r.n(t),l=r(3),d=r.n(l),a=r(4),i=r.n(a),f=r(0),z=r(1);function c(e,o){if(null==e)return{};var r,t,n=function(e,o){if(null==e)return{};var r,t,n={},l=Object.keys(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||(n[r]=e[r]);return n}(e,o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var u="typography.sm",p=i.a.div.attrs({"data-garden-id":u,"data-garden-version":"0.2.1"}).withConfig({displayName:"SM__StyledSM",componentId:"sc-12nz8l-0"})(["line-height:",";font-size:",";direction:",";",";"],f.zdLineHeightSm,f.zdFontSizeSm,function(e){return Object(z.isRtl)(e)?"rtl":"ltr"},function(e){return Object(z.retrieveTheme)(u,e)}),C=function(e){var o=e.tag,r=c(e,["tag"]),t=p.withComponent(o);return n.a.createElement(t,r)};C.propTypes={tag:d.a.any},C.defaultProps={tag:"div"};var g=C;function s(e,o){if(null==e)return{};var r,t,n=function(e,o){if(null==e)return{};var r,t,n={},l=Object.keys(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||(n[r]=e[r]);return n}(e,o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var b="typography.md",y=i.a.div.attrs({"data-garden-id":b,"data-garden-version":"0.2.1"}).withConfig({displayName:"MD__StyledMD",componentId:"sc-10p6y1g-0"})(["line-height:",";font-size:",";direction:",";",";"],f.zdLineHeightMd,f.zdFontSizeMd,function(e){return Object(z.isRtl)(e)?"rtl":"ltr"},function(e){return Object(z.retrieveTheme)(b,e)}),m=function(e){var o=e.tag,r=s(e,["tag"]),t=y.withComponent(o);return n.a.createElement(t,r)};m.propTypes={tag:d.a.any},m.defaultProps={tag:"div"};var h=m;function S(e,o){if(null==e)return{};var r,t,n=function(e,o){if(null==e)return{};var r,t,n={},l=Object.keys(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||(n[r]=e[r]);return n}(e,o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var x="typography.lg",O=i.a.div.attrs({"data-garden-id":x,"data-garden-version":"0.2.1"}).withConfig({displayName:"LG__StyledLG",componentId:"sc-18u1yr1-0"})(["line-height:",";font-size:",";direction:",";",";"],f.zdLineHeightLg,f.zdFontSizeLg,function(e){return Object(z.isRtl)(e)?"rtl":"ltr"},function(e){return Object(z.retrieveTheme)(x,e)}),v=function(e){var o=e.tag,r=S(e,["tag"]),t=O.withComponent(o);return n.a.createElement(t,r)};v.propTypes={tag:d.a.any},v.defaultProps={tag:"div"};var j=v;function F(e,o){if(null==e)return{};var r,t,n=function(e,o){if(null==e)return{};var r,t,n={},l=Object.keys(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||(n[r]=e[r]);return n}(e,o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var P="typography.xl",w=i.a.div.attrs({"data-garden-id":P,"data-garden-version":"0.2.1"}).withConfig({displayName:"XL__StyledXL",componentId:"sc-1ldfee8-0"})(["line-height:",";font-size:",";direction:",";",";"],f.zdLineHeightXl,f.zdFontSizeXl,function(e){return Object(z.isRtl)(e)?"rtl":"ltr"},function(e){return Object(z.retrieveTheme)(P,e)}),L=function(e){var o=e.tag,r=F(e,["tag"]),t=w.withComponent(o);return n.a.createElement(t,r)};L.propTypes={tag:d.a.any},L.defaultProps={tag:"div"};var M=L;function B(e,o){if(null==e)return{};var r,t,n=function(e,o){if(null==e)return{};var r,t,n={},l=Object.keys(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||(n[r]=e[r]);return n}(e,o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var G="typography.xxl",X=i.a.div.attrs({"data-garden-id":G,"data-garden-version":"0.2.1"}).withConfig({displayName:"XXL__StyledXXL",componentId:"z9aic3-0"})(["line-height:",";font-size:",";direction:",";",";"],f.zdLineHeightXxl,f.zdFontSizeXxl,function(e){return Object(z.isRtl)(e)?"rtl":"ltr"},function(e){return Object(z.retrieveTheme)(G,e)}),k=function(e){var o=e.tag,r=B(e,["tag"]),t=X.withComponent(o);return n.a.createElement(t,r)};k.propTypes={tag:d.a.any},k.defaultProps={tag:"div"};var R=k;function T(e,o){if(null==e)return{};var r,t,n=function(e,o){if(null==e)return{};var r,t,n={},l=Object.keys(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||(n[r]=e[r]);return n}(e,o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t<l.length;t++)r=l[t],0<=o.indexOf(r)||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var W="typography.xxxl",_=i.a.div.attrs({"data-garden-id":W,"data-garden-version":"0.2.1"}).withConfig({displayName:"XXXL__StyledXXXL",componentId:"sc-1iape3l-0"})(["line-height:",";font-size:",";direction:",";",";"],f.zdLineHeightXxxl,f.zdFontSizeXxxl,function(e){return Object(z.isRtl)(e)?"rtl":"ltr"},function(e){return Object(z.retrieveTheme)(W,e)}),E=function(e){var o=e.tag,r=T(e,["tag"]),t=_.withComponent(o);return n.a.createElement(t,r)};E.propTypes={tag:d.a.any},E.defaultProps={tag:"div"};var I=E;r.d(o,"SM",function(){return g}),r.d(o,"MD",function(){return h}),r.d(o,"LG",function(){return j}),r.d(o,"XL",function(){return M}),r.d(o,"XXL",function(){return R}),r.d(o,"XXXL",function(){return I})}])}); | ||
//# sourceMappingURL=bundle.min.js.map |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "./dist/index.js", | ||
@@ -33,3 +33,3 @@ "files": [ | ||
"devDependencies": { | ||
"@zendeskgarden/react-theming": "^3.1.3" | ||
"@zendeskgarden/react-theming": "^3.2.0" | ||
}, | ||
@@ -47,3 +47,3 @@ "keywords": [ | ||
"zendeskgarden:src": "src/index.js", | ||
"gitHead": "fdd2b665ba8dcd16fa518857bc7d226c0334d69d" | ||
"gitHead": "100dd0814a481ce46eecd0246a9ea35b024aa154" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
105046
643