UNPKG

@helpscout/hsds-react

Version:

React component library for Help Scout's Design System

72 lines (56 loc) 3.1 kB
"use strict"; exports.__esModule = true; exports.default = exports.urls = exports.strings = exports.smoothScroll = exports.scrollFade = exports.other = exports.node = exports.id = exports.focus = exports.easing = exports.color = exports.classNames = exports.arrays = void 0; var arraysUtils = _interopRequireWildcard(require("./arrays")); var classNamesUtils = _interopRequireWildcard(require("./classNames")); var colorUtils = _interopRequireWildcard(require("./color")); var easingUtils = _interopRequireWildcard(require("./easing")); var focusUtils = _interopRequireWildcard(require("./focus")); var idUtils = _interopRequireWildcard(require("./id")); var nodeUtils = _interopRequireWildcard(require("./node")); var otherUtils = _interopRequireWildcard(require("./other")); var scrollFadeUtils = _interopRequireWildcard(require("./scrollFade")); var smoothScrollUtils = _interopRequireWildcard(require("./smoothScroll")); var stringsUtils = _interopRequireWildcard(require("./strings")); var urlUtils = _interopRequireWildcard(require("./urls")); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } var arrays = arraysUtils; exports.arrays = arrays; var classNames = classNamesUtils; exports.classNames = classNames; var color = colorUtils; exports.color = color; var easing = easingUtils; exports.easing = easing; var focus = focusUtils; exports.focus = focus; var id = idUtils; exports.id = id; var node = nodeUtils; exports.node = node; var other = otherUtils; exports.other = other; var scrollFade = scrollFadeUtils; exports.scrollFade = scrollFade; var smoothScroll = smoothScrollUtils; exports.smoothScroll = smoothScroll; var strings = stringsUtils; exports.strings = strings; var urls = urlUtils; exports.urls = urls; var _default = { arrays: arrays, classNames: classNames, color: color, easing: easing, focus: focus, id: id, node: node, other: other, scrollFade: scrollFade, smoothScroll: smoothScroll, strings: strings, urls: urls }; exports.default = _default;