@sproutsocial/racine 13.1.1 → 13.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/__flow__/EnumIconNames.js +1 -1
  3. package/__flow__/EnumIllustrationNames.js +1 -1
  4. package/__flow__/IconViewBoxes.js +1 -0
  5. package/__flow__/IllustrationViewBoxes.js +2 -0
  6. package/__flow__/SpotIllustration/illustrationNames.js +1 -1
  7. package/bin/racine-codemod.js +37 -6
  8. package/codemods/__tests__/icon-library.test.js +224 -0
  9. package/codemods/__tests__/icon-name-substitution.test.js +39 -0
  10. package/codemods/codemod-docs.js +54 -0
  11. package/codemods/icon-library.js +315 -0
  12. package/codemods/icon-name-substitution.js +43 -0
  13. package/commonjs/Avatar/index.js +1 -1
  14. package/commonjs/Badge/constants.js +0 -1
  15. package/commonjs/Badge/styles.js +0 -1
  16. package/commonjs/Banner/styles.js +0 -1
  17. package/commonjs/Box/styles.js +0 -1
  18. package/commonjs/Breadcrumb/index.js +3 -1
  19. package/commonjs/Breadcrumb/styles.js +0 -1
  20. package/commonjs/Button/styles.js +0 -1
  21. package/commonjs/Card/index.js +0 -1
  22. package/commonjs/Card/styles.js +0 -1
  23. package/commonjs/CharacterCounter/index.js +5 -3
  24. package/commonjs/CharacterCounter/styles.js +0 -1
  25. package/commonjs/ChartLegend/styles.js +0 -1
  26. package/commonjs/Checkbox/index.js +5 -3
  27. package/commonjs/Checkbox/styles.js +0 -1
  28. package/commonjs/Collapsible/index.js +4 -2
  29. package/commonjs/Collapsible/styles.js +0 -1
  30. package/commonjs/DatePicker/StatefulDateRangePicker.js +1 -1
  31. package/commonjs/DatePicker/StatefulSingleDatePicker.js +1 -1
  32. package/commonjs/DatePicker/common.js +0 -1
  33. package/commonjs/DatePicker/styles.js +0 -2
  34. package/commonjs/Drawer/index.js +3 -1
  35. package/commonjs/Drawer/styles.js +0 -1
  36. package/commonjs/Fieldset/styles.js +0 -1
  37. package/commonjs/FormField/index.flow.js +0 -1
  38. package/commonjs/FormField/index.js +1 -2
  39. package/commonjs/Icon/styles.js +0 -1
  40. package/commonjs/IconViewBoxes.js +1 -0
  41. package/commonjs/IllustrationViewBoxes.js +2 -0
  42. package/commonjs/Image/index.js +5 -3
  43. package/commonjs/Image/styles.js +0 -1
  44. package/commonjs/Indicator/index.js +5 -3
  45. package/commonjs/Indicator/styles.js +0 -1
  46. package/commonjs/Input/index.js +5 -3
  47. package/commonjs/Input/styles.js +0 -1
  48. package/commonjs/KeyboardKey/index.js +3 -1
  49. package/commonjs/KeyboardKey/styles.js +0 -1
  50. package/commonjs/Label/index.js +3 -2
  51. package/commonjs/Link/constants.js +0 -1
  52. package/commonjs/Link/styles.js +0 -1
  53. package/commonjs/Listbox/index.js +3 -1
  54. package/commonjs/Loader/index.js +5 -3
  55. package/commonjs/Loader/styles.js +0 -1
  56. package/commonjs/Menu/constants.js +0 -1
  57. package/commonjs/Menu/descendants.js +5 -3
  58. package/commonjs/Menu/hooks.js +0 -1
  59. package/commonjs/Menu/index.js +4 -2
  60. package/commonjs/Menu/styles.js +0 -1
  61. package/commonjs/Message/constants.js +0 -1
  62. package/commonjs/Message/styles.js +0 -1
  63. package/commonjs/Numeral/index.js +1 -1
  64. package/commonjs/Numeral/styles.js +0 -1
  65. package/commonjs/Numeral/tests/testNumeral.js +5 -3
  66. package/commonjs/OverflowList/styles.js +0 -1
  67. package/commonjs/PartnerLogo/styles.js +0 -1
  68. package/commonjs/Popout/index.js +4 -2
  69. package/commonjs/Popout/styles.js +0 -1
  70. package/commonjs/Portal/index.js +5 -3
  71. package/commonjs/Radio/index.js +5 -3
  72. package/commonjs/Radio/styles.js +0 -1
  73. package/commonjs/SegmentedControl/index.js +1 -1
  74. package/commonjs/SegmentedControl/styles.js +0 -1
  75. package/commonjs/Select/index.js +5 -3
  76. package/commonjs/Select/styles.js +0 -1
  77. package/commonjs/Skeleton/index.js +0 -1
  78. package/commonjs/SpotIllustration/illustrationNames.js +1 -1
  79. package/commonjs/SpotIllustration/index.js +0 -1
  80. package/commonjs/Switch/index.js +5 -3
  81. package/commonjs/Switch/styles.js +0 -1
  82. package/commonjs/Table/styles.js +0 -1
  83. package/commonjs/TableCell/index.js +3 -1
  84. package/commonjs/TableCell/styles.js +0 -1
  85. package/commonjs/TableHeaderCell/constants.js +0 -1
  86. package/commonjs/TableHeaderCell/index.js +5 -3
  87. package/commonjs/TableHeaderCell/styles.js +0 -1
  88. package/commonjs/TableRowAccordion/index.js +5 -3
  89. package/commonjs/TableRowAccordion/styles.js +0 -1
  90. package/commonjs/Tabs/index.js +5 -3
  91. package/commonjs/Tabs/styles.js +0 -1
  92. package/commonjs/Text/styles.js +0 -1
  93. package/commonjs/Textarea/index.js +5 -3
  94. package/commonjs/Textarea/styles.js +0 -1
  95. package/commonjs/Toast/styles.js +0 -2
  96. package/commonjs/ToggleHint/index.js +5 -3
  97. package/commonjs/ToggleHint/styles.js +0 -1
  98. package/commonjs/Token/styles.js +0 -1
  99. package/commonjs/TokenInput/index.js +5 -3
  100. package/commonjs/TokenInput/styles.js +0 -1
  101. package/commonjs/TokenInput/util.js +0 -1
  102. package/commonjs/Tooltip/index.js +4 -2
  103. package/commonjs/Tooltip/styles.js +0 -1
  104. package/commonjs/VisuallyHidden/index.js +0 -1
  105. package/commonjs/dataviz/index.js +0 -1
  106. package/commonjs/systemProps/background.js +0 -1
  107. package/commonjs/systemProps/border.js +0 -1
  108. package/commonjs/systemProps/color.js +0 -1
  109. package/commonjs/systemProps/custom.js +0 -1
  110. package/commonjs/systemProps/flexbox.js +0 -1
  111. package/commonjs/systemProps/grid.js +0 -1
  112. package/commonjs/systemProps/layout.js +0 -1
  113. package/commonjs/systemProps/position.js +0 -1
  114. package/commonjs/systemProps/shadow.js +0 -1
  115. package/commonjs/systemProps/space.js +1 -3
  116. package/commonjs/systemProps/systemProps.js +0 -1
  117. package/commonjs/systemProps/tests/types.flow.js +0 -1
  118. package/commonjs/systemProps/typography.js +0 -1
  119. package/commonjs/systemProps/variant.js +0 -1
  120. package/commonjs/themes/dark/dataviz-palette.js +0 -1
  121. package/commonjs/themes/dark/decorative-palettes.js +0 -1
  122. package/commonjs/themes/dark/theme.js +4 -1
  123. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +4 -1
  124. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +4 -1
  125. package/commonjs/themes/light/dataviz-palette.js +0 -1
  126. package/commonjs/themes/light/decorative-palettes.js +0 -1
  127. package/commonjs/themes/light/literal-colors.js +0 -1
  128. package/commonjs/themes/light/theme.js +4 -1
  129. package/commonjs/utils/a11yTest.js +1 -1
  130. package/commonjs/utils/chartColors.js +0 -1
  131. package/commonjs/utils/constants.js +0 -1
  132. package/commonjs/utils/dataQaLabelQueries.js +1 -1
  133. package/commonjs/utils/hooks.js +5 -3
  134. package/commonjs/utils/index.js +0 -1
  135. package/commonjs/utils/innerText.js +0 -2
  136. package/commonjs/utils/mixins.js +0 -1
  137. package/commonjs/utils/react-testing-library.js +5 -3
  138. package/commonjs/utils/system-props.js +0 -1
  139. package/commonjs/utils/useInteractiveColor.js +0 -1
  140. package/dist/icon.svg +1 -1
  141. package/dist/iconList.js +1 -1
  142. package/dist/illustration.svg +1 -1
  143. package/dist/illustrationList.js +1 -1
  144. package/lib/Avatar/index.js +1 -1
  145. package/lib/Badge/constants.js +0 -2
  146. package/lib/Badge/index.flow.js +0 -1
  147. package/lib/Badge/styles.js +0 -1
  148. package/lib/Banner/index.flow.js +0 -1
  149. package/lib/Banner/styles.js +0 -1
  150. package/lib/Box/index.flow.js +0 -1
  151. package/lib/Box/styles.js +0 -1
  152. package/lib/Breadcrumb/index.flow.js +0 -1
  153. package/lib/Breadcrumb/index.js +4 -1
  154. package/lib/Breadcrumb/styles.js +0 -1
  155. package/lib/Button/index.flow.js +0 -1
  156. package/lib/Button/styles.js +0 -1
  157. package/lib/Card/index.flow.js +0 -1
  158. package/lib/Card/index.js +0 -1
  159. package/lib/Card/styles.js +0 -1
  160. package/lib/CharacterCounter/index.js +5 -3
  161. package/lib/CharacterCounter/styles.js +0 -1
  162. package/lib/ChartLegend/styles.js +0 -1
  163. package/lib/Checkbox/index.js +5 -3
  164. package/lib/Checkbox/styles.js +0 -1
  165. package/lib/Collapsible/index.flow.js +0 -1
  166. package/lib/Collapsible/index.js +5 -2
  167. package/lib/Collapsible/styles.js +0 -1
  168. package/lib/DatePicker/StatefulDateRangePicker.js +1 -1
  169. package/lib/DatePicker/StatefulSingleDatePicker.js +1 -1
  170. package/lib/DatePicker/common.js +0 -1
  171. package/lib/DatePicker/styles.js +0 -1
  172. package/lib/Drawer/index.flow.js +0 -1
  173. package/lib/Drawer/index.js +4 -1
  174. package/lib/Drawer/styles.js +0 -1
  175. package/lib/EmptyState/index.flow.js +0 -1
  176. package/lib/Fieldset/index.flow.js +0 -1
  177. package/lib/Fieldset/styles.js +0 -1
  178. package/lib/FormField/index.flow.js +0 -1
  179. package/lib/FormField/index.js +1 -2
  180. package/lib/Icon/deprecatedIcons.js +0 -1
  181. package/lib/Icon/index.flow.js +0 -2
  182. package/lib/Icon/styles.js +0 -1
  183. package/lib/IconViewBoxes.js +1 -0
  184. package/lib/IllustrationViewBoxes.js +2 -0
  185. package/lib/Image/index.js +5 -3
  186. package/lib/Image/styles.js +0 -1
  187. package/lib/Indicator/index.js +5 -3
  188. package/lib/Indicator/styles.js +0 -1
  189. package/lib/Input/index.flow.js +0 -1
  190. package/lib/Input/index.js +5 -3
  191. package/lib/Input/styles.js +0 -1
  192. package/lib/KeyboardKey/index.js +3 -1
  193. package/lib/KeyboardKey/styles.js +0 -1
  194. package/lib/Label/index.flow.js +0 -1
  195. package/lib/Label/index.js +3 -2
  196. package/lib/Link/constants.js +0 -1
  197. package/lib/Link/index.flow.js +0 -1
  198. package/lib/Link/styles.js +0 -1
  199. package/lib/Listbox/index.flow.js +0 -1
  200. package/lib/Listbox/index.js +4 -1
  201. package/lib/Loader/index.js +5 -3
  202. package/lib/Loader/styles.js +0 -1
  203. package/lib/Menu/constants.js +0 -2
  204. package/lib/Menu/descendants.js +5 -2
  205. package/lib/Menu/hooks.js +0 -1
  206. package/lib/Menu/index.flow.js +0 -1
  207. package/lib/Menu/index.js +5 -2
  208. package/lib/Menu/styles.js +0 -1
  209. package/lib/Message/constants.js +0 -2
  210. package/lib/Message/index.flow.js +0 -1
  211. package/lib/Message/styles.js +0 -1
  212. package/lib/Modal/index.flow.js +0 -1
  213. package/lib/Numeral/constants.js +0 -1
  214. package/lib/Numeral/index.js +1 -1
  215. package/lib/Numeral/styles.js +0 -1
  216. package/lib/Numeral/tests/testNumeral.js +4 -2
  217. package/lib/OverflowList/index.flow.js +0 -1
  218. package/lib/OverflowList/styles.js +0 -1
  219. package/lib/PartnerLogo/styles.js +0 -1
  220. package/lib/Popout/index.flow.js +0 -1
  221. package/lib/Popout/index.js +5 -2
  222. package/lib/Popout/styles.js +0 -1
  223. package/lib/Portal/index.flow.js +0 -1
  224. package/lib/Portal/index.js +4 -2
  225. package/lib/Radio/index.js +5 -3
  226. package/lib/Radio/styles.js +0 -1
  227. package/lib/SegmentedControl/index.flow.js +0 -1
  228. package/lib/SegmentedControl/index.js +1 -1
  229. package/lib/SegmentedControl/styles.js +0 -1
  230. package/lib/Select/index.flow.js +0 -1
  231. package/lib/Select/index.js +5 -3
  232. package/lib/Select/styles.js +0 -1
  233. package/lib/Skeleton/index.js +0 -1
  234. package/lib/SpotIllustration/illustrationNames.js +1 -2
  235. package/lib/SpotIllustration/index.js +0 -1
  236. package/lib/Stack/index.flow.js +0 -1
  237. package/lib/Switch/index.js +5 -3
  238. package/lib/Switch/styles.js +0 -1
  239. package/lib/Table/index.flow.js +0 -1
  240. package/lib/Table/styles.js +0 -1
  241. package/lib/TableCell/index.flow.js +0 -1
  242. package/lib/TableCell/index.js +3 -1
  243. package/lib/TableCell/styles.js +0 -1
  244. package/lib/TableHeaderCell/constants.js +0 -2
  245. package/lib/TableHeaderCell/index.flow.js +0 -2
  246. package/lib/TableHeaderCell/index.js +5 -3
  247. package/lib/TableHeaderCell/styles.js +0 -1
  248. package/lib/TableRowAccordion/index.flow.js +0 -1
  249. package/lib/TableRowAccordion/index.js +5 -3
  250. package/lib/TableRowAccordion/styles.js +0 -1
  251. package/lib/Tabs/index.flow.js +0 -1
  252. package/lib/Tabs/index.js +5 -3
  253. package/lib/Tabs/styles.js +0 -1
  254. package/lib/Text/index.flow.js +0 -1
  255. package/lib/Text/styles.js +0 -1
  256. package/lib/Textarea/index.flow.js +0 -1
  257. package/lib/Textarea/index.js +5 -3
  258. package/lib/Textarea/styles.js +0 -1
  259. package/lib/Toast/index.flow.js +0 -1
  260. package/lib/Toast/styles.js +0 -1
  261. package/lib/ToggleHint/index.js +5 -3
  262. package/lib/ToggleHint/styles.js +0 -1
  263. package/lib/Token/index.flow.js +0 -1
  264. package/lib/Token/styles.js +0 -1
  265. package/lib/TokenInput/index.flow.js +0 -1
  266. package/lib/TokenInput/index.js +5 -3
  267. package/lib/TokenInput/styles.js +0 -1
  268. package/lib/TokenInput/util.js +0 -2
  269. package/lib/Tooltip/index.flow.js +0 -1
  270. package/lib/Tooltip/index.js +4 -2
  271. package/lib/Tooltip/styles.js +0 -1
  272. package/lib/VisuallyHidden/index.js +0 -1
  273. package/lib/dataviz/index.js +0 -1
  274. package/lib/index.js +0 -3
  275. package/lib/systemProps/background.js +0 -2
  276. package/lib/systemProps/border.js +0 -2
  277. package/lib/systemProps/color.js +0 -2
  278. package/lib/systemProps/custom.js +0 -2
  279. package/lib/systemProps/flexbox.js +0 -2
  280. package/lib/systemProps/grid.js +0 -2
  281. package/lib/systemProps/index.js +0 -2
  282. package/lib/systemProps/layout.js +0 -2
  283. package/lib/systemProps/position.js +0 -2
  284. package/lib/systemProps/shadow.js +0 -2
  285. package/lib/systemProps/space.js +1 -3
  286. package/lib/systemProps/systemProps.js +0 -1
  287. package/lib/systemProps/tests/types.flow.js +0 -3
  288. package/lib/systemProps/typography.js +0 -2
  289. package/lib/systemProps/variant.js +0 -1
  290. package/lib/themes/dark/dataviz-palette.js +0 -2
  291. package/lib/themes/dark/decorative-palettes.js +0 -2
  292. package/lib/themes/dark/theme.js +4 -1
  293. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +4 -1
  294. package/lib/themes/extendedThemes/sproutTheme/index.js +0 -1
  295. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +4 -1
  296. package/lib/themes/light/dataviz-palette.js +0 -2
  297. package/lib/themes/light/decorative-palettes.js +0 -2
  298. package/lib/themes/light/literal-colors.js +0 -2
  299. package/lib/themes/light/theme.js +4 -2
  300. package/lib/types/theme.colors.flow.js +0 -2
  301. package/lib/types/theme.flow.js +0 -1
  302. package/lib/utils/a11yTest.js +1 -1
  303. package/lib/utils/chartColors.js +0 -2
  304. package/lib/utils/constants.js +0 -2
  305. package/lib/utils/dataQaLabelQueries.js +1 -1
  306. package/lib/utils/hooks.js +5 -3
  307. package/lib/utils/index.js +0 -1
  308. package/lib/utils/innerText.js +0 -3
  309. package/lib/utils/mixins.js +0 -1
  310. package/lib/utils/react-testing-library.js +4 -2
  311. package/lib/utils/system-props.js +0 -1
  312. package/lib/utils/useInteractiveColor.js +0 -1
  313. package/package.json +2 -2
@@ -1,10 +1,10 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
1
  var _excluded = ["checked", "disabled", "name", "a11yLabels", "onClick", "qa"];
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  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; }
5
5
  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; }
6
6
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
7
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
9
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
10
10
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -13,7 +13,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
13
13
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  import * as React from 'react';
18
20
  import Icon from "../Icon";
19
21
  import { VisuallyHidden } from "../VisuallyHidden";
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { focusRing } from "../utils/mixins";
4
3
  import { COMMON } from "../utils/system-props";
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -1,4 +1,3 @@
1
-
2
1
  import styled from 'styled-components';
3
2
  import { COMMON } from "../utils/system-props";
4
3
  var Container = styled.table.withConfig({
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -4,8 +4,10 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
4
4
  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; }
5
5
  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; }
6
6
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
7
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
11
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
10
12
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
11
13
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
@@ -1,4 +1,3 @@
1
-
2
1
  import styled from 'styled-components';
3
2
  import { COMMON } from "../utils/system-props";
4
3
  var Container = styled.td.withConfig({
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  export var SORT_DIRECTIONS = {
4
2
  ASC: 'ASC',
5
3
  DESC: 'DESC'
@@ -1,3 +1 @@
1
-
2
-
3
1
  import { SORT_DIRECTIONS } from "./constants";
@@ -1,10 +1,10 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
1
  var _excluded = ["id", "content", "colSpan", "width", "align", "isSortable", "shouldTruncate", "onSort", "sortId", "sortDirection", "children", "onClick"];
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  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; }
5
5
  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; }
6
6
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
7
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
9
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
10
10
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -13,7 +13,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
13
13
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  import * as React from 'react';
18
20
  import Icon from "../Icon";
19
21
  import Container, { SortIcon } from "./styles";
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { COMMON } from "../utils/system-props";
4
3
  var Container = styled.th.withConfig({
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -1,10 +1,10 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
1
  var _excluded = ["id", "cells", "detail", "onToggle", "isExpanded"];
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  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; }
5
5
  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; }
6
6
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
7
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
9
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
10
10
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -13,7 +13,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
13
13
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  import * as React from 'react';
18
20
  import Icon from "../Icon";
19
21
  import TableCell from "../TableCell";
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { COMMON } from "../utils/system-props";
4
3
  var Container = styled.tbody.withConfig({
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
package/lib/Tabs/index.js CHANGED
@@ -1,11 +1,11 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
1
  var _excluded = ["children", "id"],
3
2
  _excluded2 = ["children", "qa"];
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
5
  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; }
6
6
  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; }
7
7
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
8
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
9
9
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
10
10
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
11
11
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -14,7 +14,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
14
14
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
15
15
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
16
16
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
17
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
19
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
20
  import * as React from 'react';
19
21
  import Container, { TabItem, TabButton } from "./styles";
20
22
  var TabButtonContext = /*#__PURE__*/React.createContext({});
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { COMMON } from "../utils/system-props";
4
3
  import Button from "../Button";
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { COMMON, LAYOUT, TYPOGRAPHY } from "../utils/system-props";
4
3
  var Container = styled.span.withConfig({
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -1,10 +1,10 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
1
  var _excluded = ["autoFocus", "disabled", "readOnly", "isInvalid", "id", "name", "placeholder", "value", "enableSpellcheck", "enableResize", "required", "rows", "elemBefore", "elemAfter", "maxLength", "ariaLabel", "ariaDescribedby", "innerRef", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "qa", "inputProps"];
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  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; }
5
5
  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; }
6
6
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
7
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
9
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
10
10
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -13,7 +13,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
13
13
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  import * as React from 'react';
18
20
  import Container, { Accessory } from "./styles";
19
21
  var Textarea = /*#__PURE__*/function (_React$Component) {
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { focusRing } from "../utils/mixins";
4
3
  import { COMMON } from "../utils/system-props";
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { createGlobalStyle } from 'styled-components';
3
2
  // $FlowIssue
4
3
  import toastStyles from '!!raw-loader!react-toastify/dist/ReactToastify.css'; // eslint-disable-line import/no-unresolved
@@ -1,10 +1,10 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
1
  var _excluded = ["icon", "isOpen", "openString", "closeString", "qa", "className"];
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  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; }
5
5
  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; }
6
6
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
7
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
9
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
10
10
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -13,7 +13,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
13
13
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  import * as React from 'react';
18
20
  import Icon from "../Icon";
19
21
  import Container, { IconText } from "./styles";
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { visuallyHidden } from "../utils/mixins";
4
3
  import { COMMON } from "../utils/system-props";
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { focusRing } from "../utils/mixins";
4
3
  import { COMMON } from "../utils/system-props";
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -1,10 +1,10 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
1
  var _excluded = ["autoFocus", "autocomplete", "disabled", "isInvalid", "hasWarning", "id", "name", "placeholder", "required", "value", "elemBefore", "elemAfter", "maxLength", "ariaDescribedby", "ariaLabel", "innerRef", "onAddToken", "onRemoveToken", "onChangeTokens", "onClickToken", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onPaste", "inputProps", "qa", "tokens"];
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  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; }
5
5
  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; }
6
6
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
7
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
9
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
10
10
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -13,7 +13,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
13
13
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
19
  import * as React from 'react';
18
20
  import { Accessory } from "../Input/styles";
19
21
  import Box from "../Box";
@@ -1,4 +1,3 @@
1
-
2
1
  import styled, { css } from 'styled-components';
3
2
  import { focusRing } from "../utils/mixins";
4
3
  import { COMMON } from "../utils/system-props";
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  import uniqueId from 'lodash.uniqueid';
4
2
  export var asTokenSpec = function asTokenSpec(text) {
5
3
  return {
@@ -1,2 +1 @@
1
-
2
1
  import * as React from 'react';
@@ -2,13 +2,15 @@ var _excluded = ["content", "children", "enterDelay", "placement", "appearance",
2
2
  _excluded2 = ["appearance", "children"];
3
3
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
4
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
8
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
7
9
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
8
10
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
11
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
12
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
11
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
13
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
14
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
15
  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; }
14
16
  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; }
@@ -1,4 +1,3 @@
1
-
2
1
  import styled from 'styled-components';
3
2
  import Box from "../Box";
4
3
  export var TooltipContent = styled(Box).withConfig({
@@ -1,4 +1,3 @@
1
-
2
1
  import styled from 'styled-components';
3
2
  import { visuallyHidden } from "../utils/mixins";
4
3
  export var VisuallyHidden = styled.span.withConfig({
@@ -1,4 +1,3 @@
1
-
2
1
  import React from 'react';
3
2
  import { withTheme } from 'styled-components';
4
3
  import Box from "../Box";
package/lib/index.js CHANGED
@@ -1,7 +1,4 @@
1
-
2
-
3
1
  /* Asset types */
4
-
5
2
  /* Theme and related types */
6
3
  export * from "./systemProps";
7
4
  export { default as theme } from "./themes/light/theme";
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { background } from 'styled-system';
4
2
  export var backgroundSystemProps = background;
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { border } from 'styled-system';
4
2
  export var borderSystemProps = border;
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { color } from 'styled-system';
4
2
  export var colorSystemProps = color;
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  import { compose, system } from 'styled-system';
4
2
  export var customSystemProps = compose(system({
5
3
  cursor: true,
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { flexbox } from 'styled-system';
4
2
  export var flexboxSystemProps = flexbox;
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { grid } from 'styled-system';
4
2
  export var gridSystemProps = grid;
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  export * from "./types.flow.js";
4
2
  export * from "./background";
5
3
  export * from "./border";
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { layout } from 'styled-system';
4
2
  export var layoutSystemProps = layout;
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { position } from 'styled-system';
4
2
  export var positionSystemProps = position;
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { shadow } from 'styled-system';
4
2
  export var shadowSystemProps = shadow;
@@ -1,4 +1,2 @@
1
- /* eslint-disable prettier/prettier */
2
-
3
- import { space } from 'styled-system';
1
+ /* eslint-disable prettier/prettier */import { space } from 'styled-system';
4
2
  export var spaceSystemProps = space;
@@ -1,4 +1,3 @@
1
-
2
1
  import { compose } from 'styled-system';
3
2
  import { backgroundSystemProps } from "./background";
4
3
  import { borderSystemProps } from "./border";
@@ -1,9 +1,6 @@
1
-
2
-
3
1
  /**
4
2
  * All system props should be responsive but accepting a tuple of length 1-5.
5
3
  */
6
-
7
4
  'a';
8
5
  ['a'];
9
6
  ['a', 'a'];
@@ -1,4 +1,2 @@
1
-
2
-
3
1
  import { typography } from 'styled-system';
4
2
  export var typographySystemProps = typography;
@@ -1,4 +1,3 @@
1
-
2
1
  import { compose, variant } from 'styled-system';
3
2
  export var variantSystemProps = compose(variant({
4
3
  key: 'typography',
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  import COLORS from '@sproutsocial/seeds-color';
4
2
  export var datavizPalette = {
5
3
  DATAVIZ_COLORS_LIST: [COLORS.COLOR_TEAL_400, COLORS.COLOR_PURPLE_400, COLORS.COLOR_PINK_400, COLORS.COLOR_YELLOW_500, COLORS.COLOR_BLUE_400, COLORS.COLOR_MAGENTA_400, COLORS.COLOR_GREEN_400, COLORS.COLOR_ORANGE_400, COLORS.COLOR_RED_700, COLORS.COLOR_TEAL_700, COLORS.COLOR_PURPLE_700, COLORS.COLOR_PINK_700, COLORS.COLOR_YELLOW_800, COLORS.COLOR_BLUE_700, COLORS.COLOR_MAGENTA_700, COLORS.COLOR_GREEN_700, COLORS.COLOR_ORANGE_700, COLORS.COLOR_RED_400, COLORS.COLOR_GREEN_200, COLORS.COLOR_YELLOW_200],
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  import COLORS from '@sproutsocial/seeds-color';
4
2
  export var green = {
5
3
  background: COLORS.COLOR_GREEN_900,
@@ -1,6 +1,9 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
2
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2
3
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
7
  /* eslint-disable no-restricted-imports */
5
8
  import { transparentize } from 'polished';
6
9
  import COLORS from '@sproutsocial/seeds-color';
@@ -1,6 +1,9 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
2
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2
3
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
7
  /* eslint-disable no-restricted-imports */
5
8
  import { transparentize } from 'polished';
6
9
  // json-to-scss is not working with the alias right now
@@ -1,3 +1,2 @@
1
-
2
1
  export { default as sproutLightTheme } from "./light/theme";
3
2
  export { default as sproutDarkTheme } from "./dark/theme";