@sproutsocial/racine 20.12.0 → 20.13.5

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 (342) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +1 -0
  3. package/__flow__/EnumLogoNames.flow.js +1 -1
  4. package/__flow__/LogoViewBoxes.js +2 -0
  5. package/__flow__/types/theme.colors.flow.js +2 -0
  6. package/commonjs/Avatar/Avatar.flow.js +2 -2
  7. package/commonjs/Avatar/Avatar.js +10 -12
  8. package/commonjs/Avatar/constants.flow.js +2 -3
  9. package/commonjs/Avatar/constants.js +2 -3
  10. package/commonjs/Avatar/index.js +1 -2
  11. package/commonjs/Badge/Badge.flow.js +2 -2
  12. package/commonjs/Badge/Badge.js +3 -4
  13. package/commonjs/Badge/constants.flow.js +2 -3
  14. package/commonjs/Badge/constants.js +3 -5
  15. package/commonjs/Badge/index.js +1 -2
  16. package/commonjs/Badge/styles.js +1 -2
  17. package/commonjs/Banner/Banner.flow.js +2 -2
  18. package/commonjs/Banner/Banner.js +3 -4
  19. package/commonjs/Banner/index.js +1 -2
  20. package/commonjs/Banner/styles.js +5 -7
  21. package/commonjs/Box/Box.flow.js +2 -2
  22. package/commonjs/Box/Box.js +3 -4
  23. package/commonjs/Box/index.js +1 -2
  24. package/commonjs/Box/styles.js +1 -2
  25. package/commonjs/Breadcrumb/Breadcrumb.flow.js +2 -2
  26. package/commonjs/Breadcrumb/Breadcrumb.js +5 -6
  27. package/commonjs/Breadcrumb/index.js +1 -2
  28. package/commonjs/Breadcrumb/styles.js +1 -2
  29. package/commonjs/Button/Button.flow.js +2 -2
  30. package/commonjs/Button/Button.js +1 -2
  31. package/commonjs/Button/index.js +1 -2
  32. package/commonjs/Button/styles.js +4 -8
  33. package/commonjs/Card/Card.flow.js +2 -2
  34. package/commonjs/Card/Card.js +3 -4
  35. package/commonjs/Card/CardTypes.flow.js +2 -2
  36. package/commonjs/Card/index.js +1 -2
  37. package/commonjs/Card/styles.js +9 -17
  38. package/commonjs/Card/subComponents.js +9 -15
  39. package/commonjs/Card/utils.js +4 -7
  40. package/commonjs/CharacterCounter/CharacterCounter.flow.js +2 -2
  41. package/commonjs/CharacterCounter/CharacterCounter.js +10 -12
  42. package/commonjs/CharacterCounter/index.js +1 -2
  43. package/commonjs/CharacterCounter/styles.js +3 -4
  44. package/commonjs/ChartLegend/ChartLegend.flow.js +2 -2
  45. package/commonjs/ChartLegend/ChartLegend.js +3 -4
  46. package/commonjs/ChartLegend/index.js +1 -2
  47. package/commonjs/ChartLegend/styles.js +5 -8
  48. package/commonjs/ChartLegend/useChartLabels.js +2 -3
  49. package/commonjs/Checkbox/Checkbox.flow.js +2 -2
  50. package/commonjs/Checkbox/Checkbox.js +11 -13
  51. package/commonjs/Checkbox/index.js +1 -2
  52. package/commonjs/Checkbox/styles.js +9 -16
  53. package/commonjs/Collapsible/Collapsible.flow.js +2 -2
  54. package/commonjs/Collapsible/Collapsible.js +13 -13
  55. package/commonjs/Collapsible/index.js +1 -2
  56. package/commonjs/Collapsible/styles.js +2 -3
  57. package/commonjs/DatePicker/DateRangePicker/DateRangePicker.flow.js +2 -2
  58. package/commonjs/DatePicker/DateRangePicker/DateRangePicker.js +3 -4
  59. package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +2 -2
  60. package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.js +4 -5
  61. package/commonjs/DatePicker/DateRangePicker/index.js +1 -2
  62. package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +2 -2
  63. package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.js +3 -4
  64. package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +2 -2
  65. package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +4 -5
  66. package/commonjs/DatePicker/SingleDatePicker/index.js +1 -2
  67. package/commonjs/DatePicker/common.js +9 -15
  68. package/commonjs/DatePicker/index.flow.js +2 -2
  69. package/commonjs/DatePicker/styles.js +5 -7
  70. package/commonjs/Drawer/Drawer.flow.js +2 -2
  71. package/commonjs/Drawer/Drawer.js +11 -11
  72. package/commonjs/Drawer/SlideTransition.js +4 -5
  73. package/commonjs/Drawer/index.js +1 -2
  74. package/commonjs/Drawer/styles.js +4 -6
  75. package/commonjs/EmptyState/EmptyState.flow.js +2 -2
  76. package/commonjs/EmptyState/EmptyState.js +3 -4
  77. package/commonjs/EmptyState/index.js +1 -2
  78. package/commonjs/Fieldset/Fieldset.flow.js +2 -2
  79. package/commonjs/Fieldset/Fieldset.js +3 -4
  80. package/commonjs/Fieldset/index.js +1 -2
  81. package/commonjs/Fieldset/styles.js +4 -5
  82. package/commonjs/FormField/FormField.flow.js +2 -2
  83. package/commonjs/FormField/FormField.js +5 -6
  84. package/commonjs/FormField/index.js +1 -2
  85. package/commonjs/Icon/Icon.flow.js +2 -2
  86. package/commonjs/Icon/Icon.js +5 -6
  87. package/commonjs/Icon/index.flow.js +2 -2
  88. package/commonjs/Icon/index.js +1 -2
  89. package/commonjs/Icon/styles.js +3 -4
  90. package/commonjs/Image/Image.flow.js +2 -2
  91. package/commonjs/Image/Image.js +11 -13
  92. package/commonjs/Image/index.js +1 -2
  93. package/commonjs/Image/styles.js +3 -4
  94. package/commonjs/Indicator/Indicator.flow.js +2 -2
  95. package/commonjs/Indicator/Indicator.js +10 -12
  96. package/commonjs/Indicator/index.js +1 -2
  97. package/commonjs/Indicator/styles.js +1 -2
  98. package/commonjs/Input/Input.flow.js +2 -2
  99. package/commonjs/Input/Input.js +12 -13
  100. package/commonjs/Input/index.js +1 -2
  101. package/commonjs/Input/styles.js +4 -6
  102. package/commonjs/KeyboardKey/KeyboardKey.flow.js +2 -2
  103. package/commonjs/KeyboardKey/KeyboardKey.js +11 -13
  104. package/commonjs/KeyboardKey/index.js +1 -2
  105. package/commonjs/KeyboardKey/styles.js +1 -2
  106. package/commonjs/Label/Label.flow.js +2 -2
  107. package/commonjs/Label/Label.js +11 -13
  108. package/commonjs/Label/index.js +1 -2
  109. package/commonjs/Link/Link.flow.js +2 -2
  110. package/commonjs/Link/Link.js +3 -4
  111. package/commonjs/Link/constants.js +1 -2
  112. package/commonjs/Link/index.js +1 -2
  113. package/commonjs/Link/styles.js +3 -4
  114. package/commonjs/Listbox/Listbox.flow.js +2 -2
  115. package/commonjs/Listbox/Listbox.js +8 -12
  116. package/commonjs/Listbox/index.js +3 -4
  117. package/commonjs/Loader/Loader.flow.js +2 -2
  118. package/commonjs/Loader/Loader.js +10 -12
  119. package/commonjs/Loader/index.js +1 -2
  120. package/commonjs/Loader/styles.js +4 -6
  121. package/commonjs/LoaderButton/LoaderButton.flow.js +2 -2
  122. package/commonjs/LoaderButton/LoaderButton.js +4 -6
  123. package/commonjs/LoaderButton/index.js +1 -2
  124. package/commonjs/LogoViewBoxes.js +2 -0
  125. package/commonjs/Menu/Menu.flow.js +2 -2
  126. package/commonjs/Menu/Menu.js +42 -50
  127. package/commonjs/Menu/index.js +3 -4
  128. package/commonjs/Menu/styles.js +5 -7
  129. package/commonjs/Menu/utils/constants.flow.js +3 -5
  130. package/commonjs/Menu/utils/constants.js +3 -5
  131. package/commonjs/Menu/utils/descendants.js +17 -16
  132. package/commonjs/Menu/utils/hooks.js +3 -6
  133. package/commonjs/Message/Message.flow.js +3 -4
  134. package/commonjs/Message/Message.js +3 -4
  135. package/commonjs/Message/constants.js +2 -3
  136. package/commonjs/Message/index.js +1 -2
  137. package/commonjs/Message/styles.js +5 -10
  138. package/commonjs/Modal/Modal.flow.js +2 -2
  139. package/commonjs/Modal/Modal.js +7 -7
  140. package/commonjs/Modal/index.js +1 -2
  141. package/commonjs/Modal/styles.js +8 -14
  142. package/commonjs/Numeral/Numeral.flow.js +2 -2
  143. package/commonjs/Numeral/Numeral.js +3 -4
  144. package/commonjs/Numeral/constants.js +7 -13
  145. package/commonjs/Numeral/index.js +1 -2
  146. package/commonjs/Numeral/styles.js +3 -5
  147. package/commonjs/PartnerLogo/PartnerLogo.flow.js +2 -2
  148. package/commonjs/PartnerLogo/PartnerLogo.js +1 -2
  149. package/commonjs/PartnerLogo/PartnerLogoTypes.js +4 -6
  150. package/commonjs/PartnerLogo/index.js +1 -2
  151. package/commonjs/PartnerLogo/styles.js +3 -4
  152. package/commonjs/Popout/Popout.flow.js +2 -2
  153. package/commonjs/Popout/Popout.js +21 -22
  154. package/commonjs/Popout/index.js +1 -2
  155. package/commonjs/Popout/styles.js +2 -3
  156. package/commonjs/Portal/Portal.flow.js +2 -2
  157. package/commonjs/Portal/Portal.js +11 -13
  158. package/commonjs/Portal/index.js +1 -2
  159. package/commonjs/Radio/Radio.flow.js +2 -2
  160. package/commonjs/Radio/Radio.js +11 -13
  161. package/commonjs/Radio/index.js +1 -2
  162. package/commonjs/Radio/styles.js +6 -10
  163. package/commonjs/SegmentedControl/SegmentedControl.flow.js +2 -2
  164. package/commonjs/SegmentedControl/SegmentedControl.js +8 -8
  165. package/commonjs/SegmentedControl/index.js +1 -2
  166. package/commonjs/SegmentedControl/styles.js +6 -9
  167. package/commonjs/Select/Select.flow.js +2 -2
  168. package/commonjs/Select/Select.js +11 -13
  169. package/commonjs/Select/index.js +1 -2
  170. package/commonjs/Select/styles.js +4 -6
  171. package/commonjs/Skeleton/Skeleton.js +1 -2
  172. package/commonjs/Skeleton/index.js +1 -2
  173. package/commonjs/SpotIllustration/SpotIllustration.flow.js +2 -2
  174. package/commonjs/SpotIllustration/SpotIllustration.js +3 -4
  175. package/commonjs/SpotIllustration/illustrationNames.js +1 -2
  176. package/commonjs/SpotIllustration/index.js +1 -2
  177. package/commonjs/Stack/Stack.flow.js +2 -2
  178. package/commonjs/Stack/Stack.js +6 -6
  179. package/commonjs/Stack/index.js +1 -2
  180. package/commonjs/Switch/Switch.flow.js +2 -2
  181. package/commonjs/Switch/Switch.js +3 -4
  182. package/commonjs/Switch/index.js +1 -2
  183. package/commonjs/Switch/styles.js +4 -5
  184. package/commonjs/Table/Table.flow.js +2 -2
  185. package/commonjs/Table/Table.js +7 -12
  186. package/commonjs/Table/index.js +1 -2
  187. package/commonjs/Table/styles.js +1 -2
  188. package/commonjs/TableCell/TableCell.flow.js +2 -2
  189. package/commonjs/TableCell/TableCell.js +11 -14
  190. package/commonjs/TableCell/index.js +1 -2
  191. package/commonjs/TableCell/styles.js +1 -2
  192. package/commonjs/TableHeaderCell/TableHeaderCell.flow.js +4 -5
  193. package/commonjs/TableHeaderCell/TableHeaderCell.js +12 -15
  194. package/commonjs/TableHeaderCell/constants.js +2 -3
  195. package/commonjs/TableHeaderCell/index.js +1 -2
  196. package/commonjs/TableHeaderCell/styles.js +5 -8
  197. package/commonjs/TableRowAccordion/TableRowAccordion.flow.js +2 -2
  198. package/commonjs/TableRowAccordion/TableRowAccordion.js +12 -14
  199. package/commonjs/TableRowAccordion/index.js +1 -2
  200. package/commonjs/TableRowAccordion/styles.js +5 -8
  201. package/commonjs/Tabs/Tabs.flow.js +2 -2
  202. package/commonjs/Tabs/Tabs.js +12 -15
  203. package/commonjs/Tabs/index.js +1 -2
  204. package/commonjs/Tabs/styles.js +5 -8
  205. package/commonjs/Text/Text.flow.js +2 -2
  206. package/commonjs/Text/Text.js +3 -4
  207. package/commonjs/Text/index.js +1 -2
  208. package/commonjs/Text/styles.js +3 -4
  209. package/commonjs/Textarea/Textarea.flow.js +2 -2
  210. package/commonjs/Textarea/Textarea.js +11 -13
  211. package/commonjs/Textarea/index.js +1 -2
  212. package/commonjs/Textarea/styles.js +4 -6
  213. package/commonjs/ThemeProvider/index.flow.js +2 -2
  214. package/commonjs/ThemeProvider/index.js +3 -4
  215. package/commonjs/Toast/Toast.flow.js +2 -2
  216. package/commonjs/Toast/Toast.js +3 -4
  217. package/commonjs/Toast/index.js +3 -4
  218. package/commonjs/Toast/styles.js +6 -8
  219. package/commonjs/ToggleHint/ToggleHint.flow.js +2 -2
  220. package/commonjs/ToggleHint/ToggleHint.js +11 -13
  221. package/commonjs/ToggleHint/index.js +1 -2
  222. package/commonjs/ToggleHint/styles.js +4 -6
  223. package/commonjs/Token/Token.flow.js +2 -2
  224. package/commonjs/Token/Token.js +3 -4
  225. package/commonjs/Token/index.js +3 -4
  226. package/commonjs/Token/styles.js +3 -4
  227. package/commonjs/TokenInput/TokenInput.flow.js +2 -2
  228. package/commonjs/TokenInput/TokenInput.js +12 -14
  229. package/commonjs/TokenInput/TokenScreenReaderStatus.js +4 -5
  230. package/commonjs/TokenInput/index.js +1 -2
  231. package/commonjs/TokenInput/styles.js +3 -4
  232. package/commonjs/TokenInput/util.js +3 -5
  233. package/commonjs/Tooltip/Tooltip.flow.js +2 -2
  234. package/commonjs/Tooltip/Tooltip.js +11 -11
  235. package/commonjs/Tooltip/index.js +1 -2
  236. package/commonjs/Tooltip/styles.js +2 -3
  237. package/commonjs/VisuallyHidden/VisuallyHidden.flow.js +2 -2
  238. package/commonjs/VisuallyHidden/VisuallyHidden.js +2 -3
  239. package/commonjs/illustrationNames.js +1 -2
  240. package/commonjs/index.flow.js +2 -2
  241. package/commonjs/logoNames.js +1 -2
  242. package/commonjs/systemProps/background.flow.js +1 -2
  243. package/commonjs/systemProps/border.flow.js +1 -2
  244. package/commonjs/systemProps/color.flow.js +1 -2
  245. package/commonjs/systemProps/custom.flow.js +2 -3
  246. package/commonjs/systemProps/flexbox.flow.js +1 -2
  247. package/commonjs/systemProps/grid.flow.js +1 -2
  248. package/commonjs/systemProps/index.js +5 -7
  249. package/commonjs/systemProps/layout.flow.js +1 -2
  250. package/commonjs/systemProps/position.flow.js +1 -2
  251. package/commonjs/systemProps/shadow.flow.js +1 -2
  252. package/commonjs/systemProps/space.flow.js +1 -2
  253. package/commonjs/systemProps/systemProps.flow.js +1 -2
  254. package/commonjs/systemProps/typography.flow.js +1 -2
  255. package/commonjs/systemProps/variant.flow.js +2 -3
  256. package/commonjs/themes/dark/dataviz-palette.js +2 -3
  257. package/commonjs/themes/dark/decorative-palettes.js +12 -23
  258. package/commonjs/themes/dark/theme.js +5 -6
  259. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.flow.js +1 -2
  260. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +9 -16
  261. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +9 -16
  262. package/commonjs/themes/light/dataviz-palette.js +2 -3
  263. package/commonjs/themes/light/decorative-palettes.js +12 -23
  264. package/commonjs/themes/light/literal-colors.js +1 -2
  265. package/commonjs/themes/light/theme.js +22 -34
  266. package/commonjs/types/shared.flow.js +2 -2
  267. package/commonjs/types/styled-components.flow.js +2 -2
  268. package/commonjs/utils/a11yTest.js +2 -3
  269. package/commonjs/utils/chartColors.js +5 -9
  270. package/commonjs/utils/constants.js +1 -2
  271. package/commonjs/utils/dataQaLabelQueries.js +2 -3
  272. package/commonjs/utils/hooks.flow.js +1 -0
  273. package/commonjs/utils/hooks.js +4 -6
  274. package/commonjs/utils/index.js +2 -4
  275. package/commonjs/utils/innerText.flow.js +2 -2
  276. package/commonjs/utils/innerText.js +1 -2
  277. package/commonjs/utils/mixins.js +5 -10
  278. package/commonjs/utils/react-testing-library.flow.js +2 -2
  279. package/commonjs/utils/react-testing-library.js +5 -8
  280. package/commonjs/utils/responsiveProps/index.js +2 -3
  281. package/commonjs/utils/system-props/gap.js +2 -3
  282. package/commonjs/utils/system-props/system-props.js +9 -16
  283. package/commonjs/utils/useInteractiveColor.js +2 -3
  284. package/dist/logo.svg +1 -1
  285. package/dist/logoList.js +1 -1
  286. package/dist/themes/dark/theme.scss +2 -1
  287. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +2 -1
  288. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +4 -2
  289. package/dist/themes/light/theme.scss +4 -2
  290. package/dist/types/Button/styles.d.ts.map +1 -1
  291. package/dist/types/EnumLogoNames.d.ts +1 -1
  292. package/dist/types/EnumLogoNames.d.ts.map +1 -1
  293. package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts +1 -1
  294. package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts.map +1 -1
  295. package/dist/types/logoNames.d.ts +1 -1
  296. package/dist/types/logoNames.d.ts.map +1 -1
  297. package/dist/types/themes/dark/theme.d.ts +19 -18
  298. package/dist/types/themes/dark/theme.d.ts.map +1 -1
  299. package/dist/types/themes/light/theme.d.ts +29 -27
  300. package/dist/types/themes/light/theme.d.ts.map +1 -1
  301. package/dist/types/types/theme.colors.d.ts +2 -0
  302. package/dist/types/types/theme.colors.d.ts.map +1 -1
  303. package/lib/Breadcrumb/Breadcrumb.js +2 -2
  304. package/lib/Button/styles.js +1 -4
  305. package/lib/CharacterCounter/CharacterCounter.js +7 -8
  306. package/lib/Checkbox/Checkbox.js +8 -9
  307. package/lib/Collapsible/Collapsible.js +2 -2
  308. package/lib/Drawer/Drawer.js +2 -2
  309. package/lib/FormField/FormField.js +2 -2
  310. package/lib/Icon/Icon.js +2 -2
  311. package/lib/Image/Image.js +8 -9
  312. package/lib/Indicator/Indicator.js +7 -8
  313. package/lib/Input/Input.js +9 -9
  314. package/lib/KeyboardKey/KeyboardKey.js +7 -8
  315. package/lib/Label/Label.js +7 -8
  316. package/lib/Listbox/Listbox.js +2 -2
  317. package/lib/Loader/Loader.js +7 -8
  318. package/lib/LogoViewBoxes.js +2 -0
  319. package/lib/Menu/Menu.js +2 -2
  320. package/lib/Menu/utils/descendants.js +2 -2
  321. package/lib/Popout/Popout.js +2 -2
  322. package/lib/Portal/Portal.js +8 -9
  323. package/lib/Radio/Radio.js +8 -9
  324. package/lib/Select/Select.js +8 -9
  325. package/lib/TableCell/TableCell.js +7 -8
  326. package/lib/TableHeaderCell/TableHeaderCell.js +8 -9
  327. package/lib/TableRowAccordion/TableRowAccordion.js +8 -9
  328. package/lib/Tabs/Tabs.js +9 -11
  329. package/lib/Textarea/Textarea.js +8 -9
  330. package/lib/ToggleHint/ToggleHint.js +8 -9
  331. package/lib/TokenInput/TokenInput.js +8 -9
  332. package/lib/Tooltip/Tooltip.js +2 -2
  333. package/lib/logoNames.js +1 -1
  334. package/lib/systemProps/space.flow.js +14 -0
  335. package/lib/themes/dark/theme.js +2 -2
  336. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +2 -2
  337. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +2 -2
  338. package/lib/themes/light/theme.js +7 -4
  339. package/lib/utils/hooks.flow.js +1 -0
  340. package/lib/utils/hooks.js +2 -2
  341. package/lib/utils/react-testing-library.js +2 -2
  342. package/package.json +16 -24
@@ -14,8 +14,8 @@ var _util = require("./util");
14
14
  var _TokenScreenReaderStatus = require("./TokenScreenReaderStatus");
15
15
  var _excluded = ["autoFocus", "autocomplete", "disabled", "isInvalid", "hasWarning", "id", "name", "placeholder", "required", "elemBefore", "elemAfter", "maxLength", "ariaDescribedby", "ariaLabel", "innerRef", "value", "onAddToken", "onRemoveToken", "onChangeTokens", "onClickToken", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onPaste", "inputProps", "qa", "tokens"];
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
- 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); }
18
- 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; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
19
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
20
20
  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; }
21
21
  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; }
@@ -23,25 +23,24 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
23
23
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
24
24
  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); } }
25
25
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
26
- 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); }
27
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
- 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); }; }
26
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
29
27
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
30
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
- 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; } }
28
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
32
29
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
30
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
+ 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); }
32
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
  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; }
34
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
35
- 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); }
34
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
35
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
36
36
  var DefaultDelimiters = [',', 'Enter'];
37
37
  var ControlledPropNames = ['value', 'hasFocus', 'activeToken'];
38
- var TokenInput = /*#__PURE__*/function (_React$Component) {
38
+ var TokenInput = exports.default = /*#__PURE__*/function (_React$Component) {
39
39
  _inherits(TokenInput, _React$Component);
40
- var _super = _createSuper(TokenInput);
41
40
  function TokenInput(props) {
42
41
  var _this;
43
42
  _classCallCheck(this, TokenInput);
44
- _this = _super.call(this, props);
43
+ _this = _callSuper(this, TokenInput, [props]);
45
44
  _defineProperty(_assertThisInitialized(_this), "handleChangeText", function (e) {
46
45
  var value = e.currentTarget.value;
47
46
  var onChange = _this.props.onChange;
@@ -315,5 +314,4 @@ var TokenInput = /*#__PURE__*/function (_React$Component) {
315
314
  }
316
315
  }]);
317
316
  return TokenInput;
318
- }(React.Component);
319
- exports.default = TokenInput;
317
+ }(React.Component);
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.TokenScreenReaderStatus = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var _VisuallyHidden = require("../VisuallyHidden");
10
- 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); }
11
- 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; }
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
12
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
13
13
  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."); }
14
14
  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); }
@@ -22,7 +22,7 @@ function usePrevious(value) {
22
22
  });
23
23
  return ref.current;
24
24
  }
25
- var TokenScreenReaderStatus = function TokenScreenReaderStatus(_ref) {
25
+ var TokenScreenReaderStatus = exports.TokenScreenReaderStatus = function TokenScreenReaderStatus(_ref) {
26
26
  var tokens = _ref.tokens;
27
27
  var prevTokens = usePrevious(tokens);
28
28
  var _useState = (0, _react.useState)(''),
@@ -47,5 +47,4 @@ var TokenScreenReaderStatus = function TokenScreenReaderStatus(_ref) {
47
47
  as: "div",
48
48
  role: "status"
49
49
  }, tokenStatus);
50
- };
51
- exports.TokenScreenReaderStatus = TokenScreenReaderStatus;
50
+ };
@@ -27,5 +27,4 @@ Object.keys(_TokenInputTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _TokenInput.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _TokenInput.default;
@@ -8,8 +8,8 @@ exports.default = void 0;
8
8
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
9
  var _mixins = require("../utils/mixins");
10
10
  var _systemProps = require("../utils/system-props");
11
- 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); }
12
- 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; }
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
13
  var Container = _styledComponents.default.div.withConfig({
14
14
  displayName: "styles__Container",
15
15
  componentId: "sc-18dw7or-0"
@@ -79,5 +79,4 @@ var Container = _styledComponents.default.div.withConfig({
79
79
  });
80
80
  }, _systemProps.COMMON);
81
81
  Container.displayName = 'TokenInputContainer';
82
- var _default = Container;
83
- exports.default = _default;
82
+ var _default = exports.default = Container;
@@ -6,21 +6,19 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.delimitersAsRegExp = exports.asTokenSpec = void 0;
7
7
  var _lodash = _interopRequireDefault(require("lodash.uniqueid"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
- var asTokenSpec = function asTokenSpec(text) {
9
+ var asTokenSpec = exports.asTokenSpec = function asTokenSpec(text) {
10
10
  return {
11
11
  id: (0, _lodash.default)("".concat(text, "-")),
12
12
  value: text.trim()
13
13
  };
14
14
  };
15
- exports.asTokenSpec = asTokenSpec;
16
15
  var KeyNameToRegExpChar = {
17
16
  Enter: '\\n'
18
17
  };
19
- var delimitersAsRegExp = function delimitersAsRegExp(delimiters) {
18
+ var delimitersAsRegExp = exports.delimitersAsRegExp = function delimitersAsRegExp(delimiters) {
20
19
  if (!delimiters) return /[,\n]/;
21
20
  var chars = delimiters.map(function (key) {
22
21
  return KeyNameToRegExpChar[key] || key;
23
22
  }).join('');
24
23
  return RegExp("[".concat(chars, "]"));
25
- };
26
- exports.delimitersAsRegExp = delimitersAsRegExp;
24
+ };
@@ -2,5 +2,5 @@
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  var React = _interopRequireWildcard(require("react"));
5
- 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); }
6
- 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; }
5
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
6
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -4,20 +4,21 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var React = _interopRequireWildcard(require("react"));
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var React = _react;
8
9
  var _seedsMotionUnitless = _interopRequireDefault(require("@sproutsocial/seeds-motion/dist/seeds-motion-unitless"));
9
10
  var _Popout = _interopRequireDefault(require("../Popout"));
10
11
  var _styles = require("./styles");
11
12
  var _excluded = ["appearance", "children", "onFocus", "onBlur"],
12
13
  _excluded2 = ["content", "children", "enterDelay", "placement", "appearance", "zIndex", "qa", "popoutProps", "truncated", "onFocus", "onBlur"];
13
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
- 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); }
15
- 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; }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
17
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
18
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
19
  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; }
19
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
- 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); }
20
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
21
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
21
22
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
22
23
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
23
24
  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."); }
@@ -85,15 +86,15 @@ var Tooltip = function Tooltip(_ref2) {
85
86
  onFocus = _ref2.onFocus,
86
87
  onBlur = _ref2.onBlur,
87
88
  rest = _objectWithoutProperties(_ref2, _excluded2);
88
- var _useState = (0, React.useState)(false),
89
+ var _useState = (0, _react.useState)(false),
89
90
  _useState2 = _slicedToArray(_useState, 2),
90
91
  shouldShow = _useState2[0],
91
92
  setShouldShow = _useState2[1];
92
- var _useState3 = (0, React.useState)(false),
93
+ var _useState3 = (0, _react.useState)(false),
93
94
  _useState4 = _slicedToArray(_useState3, 2),
94
95
  isOpen = _useState4[0],
95
96
  setIsOpen = _useState4[1];
96
- var _useState5 = (0, React.useState)("Racine-tooltip-".concat(idCounter++)),
97
+ var _useState5 = (0, _react.useState)("Racine-tooltip-".concat(idCounter++)),
97
98
  _useState6 = _slicedToArray(_useState5, 1),
98
99
  id = _useState6[0];
99
100
  var isInvalidContent = content === null || content === undefined;
@@ -109,7 +110,7 @@ var Tooltip = function Tooltip(_ref2) {
109
110
  var defaultAppearance = appearance || (_typeof(content) === 'object' ? 'box' : 'pill');
110
111
 
111
112
  /** Handles all the logic around whether to display/not display */
112
- (0, React.useEffect)(function () {
113
+ (0, _react.useEffect)(function () {
113
114
  var documentBody = document.body;
114
115
  var timeout;
115
116
  var onEsc = function onEsc(e) {
@@ -178,5 +179,4 @@ var Tooltip = function Tooltip(_ref2) {
178
179
  'aria-describedby': id
179
180
  }) : children));
180
181
  };
181
- var _default = Tooltip;
182
- exports.default = _default;
182
+ var _default = exports.default = Tooltip;
@@ -27,5 +27,4 @@ Object.keys(_TooltipTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _Tooltip.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _Tooltip.default;
@@ -7,7 +7,7 @@ exports.StyledTooltipContent = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _Box = _interopRequireDefault(require("../Box"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
- var StyledTooltipContent = (0, _styledComponents.default)(_Box.default).withConfig({
10
+ var StyledTooltipContent = exports.StyledTooltipContent = (0, _styledComponents.default)(_Box.default).withConfig({
11
11
  displayName: "styles__StyledTooltipContent",
12
12
  componentId: "sc-19u9ha6-0"
13
13
  })(["font-family:", ";", " text-align:", ";"], function (props) {
@@ -16,5 +16,4 @@ var StyledTooltipContent = (0, _styledComponents.default)(_Box.default).withConf
16
16
  return props.theme.typography[200];
17
17
  }, function (props) {
18
18
  return props.appearance === 'box' ? 'left' : 'center';
19
- });
20
- exports.StyledTooltipContent = StyledTooltipContent;
19
+ });
@@ -2,5 +2,5 @@
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  var React = _interopRequireWildcard(require("react"));
5
- 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); }
6
- 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; }
5
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
6
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -7,8 +7,7 @@ exports.VisuallyHidden = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _mixins = require("../utils/mixins");
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
- var VisuallyHidden = _styledComponents.default.span.withConfig({
10
+ var VisuallyHidden = exports.VisuallyHidden = _styledComponents.default.span.withConfig({
11
11
  displayName: "VisuallyHidden",
12
12
  componentId: "sc-19792f6-0"
13
- })(["", ""], _mixins.visuallyHidden);
14
- exports.VisuallyHidden = VisuallyHidden;
13
+ })(["", ""], _mixins.visuallyHidden);
@@ -4,5 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = ["abacus", "analytics-offering", "asset-cards", "astronaut", "binoculars", "brand-keyword", "browser-doc", "business", "calendar-event", "calendar-reporting", "cat-error", "cat-no-access", "cat", "checkbox-alert", "coffee-cup", "competitors", "compose-window", "compose", "computer-error", "connect", "contact", "conversation", "custom-branding", "custom-post-variables", "customer-service", "dashboard", "exclamation-mark", "face-happy", "find-bookmark", "flask", "general-topic", "global-features", "global-trend", "grow-large", "grow", "hands-raised", "headset", "heartbeat-connection", "instagram-links", "invoice", "jewel", "keyword-tracking", "lightbulb-alt", "lightbulb", "like-conversation", "link-broken", "link-messages", "link-sections", "link-upload", "listening-pendo", "listening-sentiment", "listening-topic-templates", "listening-tour", "listening", "loading", "mailbox-empty", "mailbox-full", "megaphone", "message", "molecule", "network-data", "no-messages-found", "no-notifications", "note", "notification", "notifications-onboarding", "notifications", "organize-message", "outbox-queue", "outbox-reviews", "pdf", "planning", "podium", "pointer", "publish-assets", "publish-links", "publishing-notifications", "publishing", "puzzle-piece", "question-mark", "reporting-folder", "reporting", "review-location", "review", "robot-assembly", "robot-error", "robot-happy", "rocket", "schedule-date", "schedule-messages", "search-keywords", "search-success", "search-trends", "search", "security", "sentiment", "shopping-bag", "spark-line", "sprout-mobile-app", "stamp", "storefront", "success", "tag-message", "tag", "team-roles", "team", "telescope", "tha-mel", "thumbs-up", "toggle-switch", "toolset-strength", "tracking-time", "twitter-messages", "twitter-profiles", "under-construction", "unsubscribe", "upward-trend", "user-task", "user-team", "variable-table", "view-connections", "vip-list", "warning", "wifi", "workflow-steps"];
8
- exports.default = _default;
7
+ var _default = exports.default = ["abacus", "analytics-offering", "asset-cards", "astronaut", "binoculars", "brand-keyword", "browser-doc", "business", "calendar-event", "calendar-reporting", "cat-error", "cat-no-access", "cat", "checkbox-alert", "coffee-cup", "competitors", "compose-window", "compose", "computer-error", "connect", "contact", "conversation", "custom-branding", "custom-post-variables", "customer-service", "dashboard", "exclamation-mark", "face-happy", "find-bookmark", "flask", "general-topic", "global-features", "global-trend", "grow-large", "grow", "hands-raised", "headset", "heartbeat-connection", "instagram-links", "invoice", "jewel", "keyword-tracking", "lightbulb-alt", "lightbulb", "like-conversation", "link-broken", "link-messages", "link-sections", "link-upload", "listening-pendo", "listening-sentiment", "listening-topic-templates", "listening-tour", "listening", "loading", "mailbox-empty", "mailbox-full", "megaphone", "message", "molecule", "network-data", "no-messages-found", "no-notifications", "note", "notification", "notifications-onboarding", "notifications", "organize-message", "outbox-queue", "outbox-reviews", "pdf", "planning", "podium", "pointer", "publish-assets", "publish-links", "publishing-notifications", "publishing", "puzzle-piece", "question-mark", "reporting-folder", "reporting", "review-location", "review", "robot-assembly", "robot-error", "robot-happy", "rocket", "schedule-date", "schedule-messages", "search-keywords", "search-success", "search-trends", "search", "security", "sentiment", "shopping-bag", "spark-line", "sprout-mobile-app", "stamp", "storefront", "success", "tag-message", "tag", "team-roles", "team", "telescope", "tha-mel", "thumbs-up", "toggle-switch", "toolset-strength", "tracking-time", "twitter-messages", "twitter-profiles", "under-construction", "unsubscribe", "upward-trend", "user-task", "user-team", "variable-table", "view-connections", "vip-list", "warning", "wifi", "workflow-steps"];
@@ -589,6 +589,6 @@ var _index52 = _interopRequireDefault(require("./Token/index.flow"));
589
589
  var _index53 = _interopRequireDefault(require("./TokenInput/index.flow"));
590
590
  var _index54 = _interopRequireDefault(require("./Tooltip/index.flow"));
591
591
  var _index55 = require("./VisuallyHidden/index.flow");
592
- 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); }
593
- 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; }
592
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
593
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
594
594
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -4,5 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = ["adobe-experience-manager", "android", "apple-app-store", "apple", "bigcommerce", "bitly", "bynder", "canva", "dropbox", "facebook-audience-network", "facebook", "facebook-groups", "facebook-shops", "feedly", "github", "glassdoor", "google-analytics", "google-business-messages", "google-drive", "google-my-business", "google-play-store", "hubspot", "instagram", "linkedin-audience-network", "linkedin", "marketo", "messenger", "microsoft-dynamics", "pinterest", "reddit", "salesforce-cloud", "salesforce", "shopify", "slack", "sproutsocial", "tableau", "threads", "tiktok", "tripadvisor", "tumblr", "twitter-audience-network", "twitter", "whatsapp", "woocommerce", "x-twitter", "yelp", "youtube", "zendesk"];
8
- exports.default = _default;
7
+ var _default = exports.default = ["adobe-experience-manager", "android", "apple-app-store", "apple", "bigcommerce", "bitly", "bynder", "canva", "dropbox", "facebook-audience-network", "facebook", "facebook-groups", "facebook-shops", "feedly", "github", "glassdoor", "google-analytics", "google-business-messages", "google-drive", "google-my-business", "google-play-store", "hubspot", "instagram", "linkedin-audience-network", "linkedin", "marketo", "messenger", "microsoft-dynamics", "pinterest", "reddit", "salesforce-cloud", "salesforce", "shopify", "slack", "sproutsocial", "tableau", "threads", "tiktok", "tripadvisor", "trustpilot", "tumblr", "twitter-audience-network", "twitter", "whatsapp", "woocommerce", "x-twitter", "yelp", "youtube", "zendesk"];
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.backgroundSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#background
9
- var backgroundSystemProps = _styledSystem.background;
10
- exports.backgroundSystemProps = backgroundSystemProps;
9
+ var backgroundSystemProps = exports.backgroundSystemProps = _styledSystem.background;
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.borderSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#border
9
- var borderSystemProps = _styledSystem.border;
10
- exports.borderSystemProps = borderSystemProps;
9
+ var borderSystemProps = exports.borderSystemProps = _styledSystem.border;
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.colorSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#color
9
- var colorSystemProps = _styledSystem.color;
10
- exports.colorSystemProps = colorSystemProps;
9
+ var colorSystemProps = exports.colorSystemProps = _styledSystem.color;
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.customSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/custom-props
9
- var customSystemProps = (0, _styledSystem.compose)((0, _styledSystem.system)({
9
+ var customSystemProps = exports.customSystemProps = (0, _styledSystem.compose)((0, _styledSystem.system)({
10
10
  cursor: true,
11
11
  whiteSpace: true
12
- }));
13
- exports.customSystemProps = customSystemProps;
12
+ }));
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.flexboxSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#flexbox
9
- var flexboxSystemProps = _styledSystem.flexbox;
10
- exports.flexboxSystemProps = flexboxSystemProps;
9
+ var flexboxSystemProps = exports.flexboxSystemProps = _styledSystem.flexbox;
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.gridSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#grid-layout
9
- var gridSystemProps = _styledSystem.grid;
10
- exports.gridSystemProps = gridSystemProps;
9
+ var gridSystemProps = exports.gridSystemProps = _styledSystem.grid;
@@ -69,19 +69,17 @@ exports.variantSystemProps = void 0;
69
69
  var _styledSystem = require("styled-system");
70
70
  // https://styled-system.com/custom-props
71
71
 
72
- var customSystemProps = (0, _styledSystem.compose)((0, _styledSystem.system)({
72
+ var customSystemProps = exports.customSystemProps = (0, _styledSystem.compose)((0, _styledSystem.system)({
73
73
  cursor: true,
74
74
  whiteSpace: true
75
75
  }));
76
76
 
77
77
  // https://styled-system.com/variants
78
- exports.customSystemProps = customSystemProps;
79
- var variantSystemProps = (0, _styledSystem.compose)((0, _styledSystem.variant)({
78
+
79
+ var variantSystemProps = exports.variantSystemProps = (0, _styledSystem.compose)((0, _styledSystem.variant)({
80
80
  key: 'typography',
81
81
  prop: 'typeScale'
82
82
  }));
83
- exports.variantSystemProps = variantSystemProps;
84
- var systemProps = (0, _styledSystem.compose)(customSystemProps, variantSystemProps, _styledSystem.background, _styledSystem.border, _styledSystem.color, _styledSystem.flexbox, _styledSystem.grid, _styledSystem.layout, _styledSystem.position, _styledSystem.shadow, _styledSystem.space, _styledSystem.typography);
83
+ var systemProps = exports.systemProps = (0, _styledSystem.compose)(customSystemProps, variantSystemProps, _styledSystem.background, _styledSystem.border, _styledSystem.color, _styledSystem.flexbox, _styledSystem.grid, _styledSystem.layout, _styledSystem.position, _styledSystem.shadow, _styledSystem.space, _styledSystem.typography);
85
84
 
86
- // including deprecated support for old type names in case they are needed for the intial TS release
87
- exports.systemProps = systemProps;
85
+ // including deprecated support for old type names in case they are needed for the intial TS release
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.layoutSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#layout
9
- var layoutSystemProps = _styledSystem.layout;
10
- exports.layoutSystemProps = layoutSystemProps;
9
+ var layoutSystemProps = exports.layoutSystemProps = _styledSystem.layout;
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.positionSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#position
9
- var positionSystemProps = _styledSystem.position;
10
- exports.positionSystemProps = positionSystemProps;
9
+ var positionSystemProps = exports.positionSystemProps = _styledSystem.position;
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.shadowSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#shadow
9
- var shadowSystemProps = _styledSystem.shadow;
10
- exports.shadowSystemProps = shadowSystemProps;
9
+ var shadowSystemProps = exports.shadowSystemProps = _styledSystem.shadow;
@@ -20,5 +20,4 @@ var _styledSystem = require("styled-system");
20
20
  // prettier-ignore
21
21
  // prettier-ignore
22
22
  // prettier-ignore
23
- var spaceSystemProps = _styledSystem.space;
24
- exports.spaceSystemProps = spaceSystemProps;
23
+ var spaceSystemProps = exports.spaceSystemProps = _styledSystem.space;
@@ -17,5 +17,4 @@ var _shadow = require("./shadow.flow");
17
17
  var _space = require("./space.flow");
18
18
  var _typography = require("./typography.flow");
19
19
  var _variant = require("./variant.flow");
20
- var systemProps = (0, _styledSystem.compose)(_custom.customSystemProps, _variant.variantSystemProps, _background.backgroundSystemProps, _border.borderSystemProps, _color.colorSystemProps, _flexbox.flexboxSystemProps, _grid.gridSystemProps, _layout.layoutSystemProps, _position.positionSystemProps, _shadow.shadowSystemProps, _space.spaceSystemProps, _typography.typographySystemProps);
21
- exports.systemProps = systemProps;
20
+ var systemProps = exports.systemProps = (0, _styledSystem.compose)(_custom.customSystemProps, _variant.variantSystemProps, _background.backgroundSystemProps, _border.borderSystemProps, _color.colorSystemProps, _flexbox.flexboxSystemProps, _grid.gridSystemProps, _layout.layoutSystemProps, _position.positionSystemProps, _shadow.shadowSystemProps, _space.spaceSystemProps, _typography.typographySystemProps);
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.typographySystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/table#typography
9
- var typographySystemProps = _styledSystem.typography;
10
- exports.typographySystemProps = typographySystemProps;
9
+ var typographySystemProps = exports.typographySystemProps = _styledSystem.typography;
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.variantSystemProps = void 0;
7
7
  var _styledSystem = require("styled-system");
8
8
  // https://styled-system.com/variants
9
- var variantSystemProps = (0, _styledSystem.compose)((0, _styledSystem.variant)({
9
+ var variantSystemProps = exports.variantSystemProps = (0, _styledSystem.compose)((0, _styledSystem.variant)({
10
10
  key: 'typography',
11
11
  prop: 'typeScale'
12
- }));
13
- exports.variantSystemProps = variantSystemProps;
12
+ }));
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.datavizPalette = void 0;
7
7
  var _seedsColor = _interopRequireDefault(require("@sproutsocial/seeds-color"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
- var datavizPalette = {
9
+ var datavizPalette = exports.datavizPalette = {
10
10
  DATAVIZ_COLORS_LIST: [_seedsColor.default.COLOR_TEAL_400, _seedsColor.default.COLOR_PURPLE_400, _seedsColor.default.COLOR_PINK_400, _seedsColor.default.COLOR_YELLOW_500, _seedsColor.default.COLOR_BLUE_400, _seedsColor.default.COLOR_MAGENTA_400, _seedsColor.default.COLOR_GREEN_400, _seedsColor.default.COLOR_ORANGE_400, _seedsColor.default.COLOR_RED_700, _seedsColor.default.COLOR_TEAL_700, _seedsColor.default.COLOR_PURPLE_700, _seedsColor.default.COLOR_PINK_700, _seedsColor.default.COLOR_YELLOW_800, _seedsColor.default.COLOR_BLUE_700, _seedsColor.default.COLOR_MAGENTA_700, _seedsColor.default.COLOR_GREEN_700, _seedsColor.default.COLOR_ORANGE_700, _seedsColor.default.COLOR_RED_400, _seedsColor.default.COLOR_GREEN_200, _seedsColor.default.COLOR_YELLOW_200],
11
11
  DATAVIZ_COLORS_MAP: {
12
12
  '1': _seedsColor.default.COLOR_TEAL_400,
@@ -30,5 +30,4 @@ var datavizPalette = {
30
30
  '19': _seedsColor.default.COLOR_GREEN_200,
31
31
  '20': _seedsColor.default.COLOR_YELLOW_200
32
32
  }
33
- };
34
- exports.datavizPalette = datavizPalette;
33
+ };
@@ -6,69 +6,58 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.yellow = exports.teal = exports.red = exports.purple = exports.pink = exports.orange = exports.neutral = exports.magenta = exports.green = exports.blue = exports.aqua = void 0;
7
7
  var _seedsColor = _interopRequireDefault(require("@sproutsocial/seeds-color"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
- var green = {
9
+ var green = exports.green = {
10
10
  background: _seedsColor.default.COLOR_GREEN_900,
11
11
  highlight: _seedsColor.default.COLOR_GREEN_500,
12
12
  foreground: _seedsColor.default.COLOR_GREEN_100
13
13
  };
14
- exports.green = green;
15
- var blue = {
14
+ var blue = exports.blue = {
16
15
  background: _seedsColor.default.COLOR_BLUE_900,
17
16
  highlight: _seedsColor.default.COLOR_BLUE_600,
18
17
  foreground: _seedsColor.default.COLOR_BLUE_100
19
18
  };
20
- exports.blue = blue;
21
- var purple = {
19
+ var purple = exports.purple = {
22
20
  background: _seedsColor.default.COLOR_PURPLE_900,
23
21
  highlight: _seedsColor.default.COLOR_PURPLE_500,
24
22
  foreground: _seedsColor.default.COLOR_PURPLE_100
25
23
  };
26
- exports.purple = purple;
27
- var yellow = {
24
+ var yellow = exports.yellow = {
28
25
  background: _seedsColor.default.COLOR_YELLOW_900,
29
26
  highlight: _seedsColor.default.COLOR_YELLOW_600,
30
27
  foreground: _seedsColor.default.COLOR_YELLOW_100
31
28
  };
32
- exports.yellow = yellow;
33
- var orange = {
29
+ var orange = exports.orange = {
34
30
  background: _seedsColor.default.COLOR_ORANGE_900,
35
31
  highlight: _seedsColor.default.COLOR_ORANGE_600,
36
32
  foreground: _seedsColor.default.COLOR_ORANGE_100
37
33
  };
38
- exports.orange = orange;
39
- var red = {
34
+ var red = exports.red = {
40
35
  background: _seedsColor.default.COLOR_RED_900,
41
36
  highlight: _seedsColor.default.COLOR_RED_600,
42
37
  foreground: _seedsColor.default.COLOR_RED_100
43
38
  };
44
- exports.red = red;
45
- var neutral = {
39
+ var neutral = exports.neutral = {
46
40
  background: _seedsColor.default.COLOR_NEUTRAL_1000,
47
41
  highlight: _seedsColor.default.COLOR_NEUTRAL_600,
48
42
  foreground: _seedsColor.default.COLOR_NEUTRAL_100
49
43
  };
50
- exports.neutral = neutral;
51
- var magenta = {
44
+ var magenta = exports.magenta = {
52
45
  background: _seedsColor.default.COLOR_MAGENTA_900,
53
46
  highlight: _seedsColor.default.COLOR_MAGENTA_600,
54
47
  foreground: _seedsColor.default.COLOR_MAGENTA_100
55
48
  };
56
- exports.magenta = magenta;
57
- var pink = {
49
+ var pink = exports.pink = {
58
50
  background: _seedsColor.default.COLOR_PINK_900,
59
51
  highlight: _seedsColor.default.COLOR_PINK_600,
60
52
  foreground: _seedsColor.default.COLOR_PINK_100
61
53
  };
62
- exports.pink = pink;
63
- var aqua = {
54
+ var aqua = exports.aqua = {
64
55
  background: _seedsColor.default.COLOR_AQUA_900,
65
56
  highlight: _seedsColor.default.COLOR_AQUA_500,
66
57
  foreground: _seedsColor.default.COLOR_AQUA_100
67
58
  };
68
- exports.aqua = aqua;
69
- var teal = {
59
+ var teal = exports.teal = {
70
60
  background: _seedsColor.default.COLOR_TEAL_900,
71
61
  highlight: _seedsColor.default.COLOR_TEAL_500,
72
62
  foreground: _seedsColor.default.COLOR_TEAL_100
73
- };
74
- exports.teal = teal;
63
+ };