@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
@@ -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; }
@@ -9,8 +9,8 @@ var _Icon = _interopRequireDefault(require("../Icon"));
9
9
  var _styles = _interopRequireDefault(require("./styles"));
10
10
  var _excluded = ["tooltip"];
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- 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); }
13
- 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; }
12
+ 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); }
13
+ 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; }
14
14
  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); }
15
15
  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); }
16
16
  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; }
@@ -18,22 +18,21 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
18
18
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
19
  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); } }
20
20
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
- 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); }
22
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
- 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); }; }
21
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
24
22
  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); }
25
23
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
26
- 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; } }
24
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
27
25
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
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
28
  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; }
29
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
30
- 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); }
31
- var Indicator = /*#__PURE__*/function (_React$Component) {
29
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
30
+ 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); }
31
+ var Indicator = exports.default = /*#__PURE__*/function (_React$Component) {
32
32
  _inherits(Indicator, _React$Component);
33
- var _super = _createSuper(Indicator);
34
33
  function Indicator() {
35
34
  _classCallCheck(this, Indicator);
36
- return _super.apply(this, arguments);
35
+ return _callSuper(this, Indicator, arguments);
37
36
  }
38
37
  _createClass(Indicator, [{
39
38
  key: "render",
@@ -55,7 +54,6 @@ var Indicator = /*#__PURE__*/function (_React$Component) {
55
54
  }]);
56
55
  return Indicator;
57
56
  }(React.Component);
58
- exports.default = Indicator;
59
57
  _defineProperty(Indicator, "defaultProps", {
60
58
  tooltip: ''
61
59
  });
@@ -27,5 +27,4 @@ Object.keys(_IndicatorTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _Indicator.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _Indicator.default;
@@ -21,5 +21,4 @@ var Container = _styledComponents.default.span.attrs({
21
21
  var _props$color;
22
22
  return (_props$color = props.color) !== null && _props$color !== void 0 ? _props$color : props.theme.colors.icon.info;
23
23
  }, _mixins.visuallyHidden, _systemProps.COMMON);
24
- var _default = Container;
25
- exports.default = _default;
24
+ var _default = exports.default = Container;
@@ -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; }
@@ -13,8 +13,8 @@ var _Icon = _interopRequireDefault(require("../Icon"));
13
13
  var _styles = _interopRequireWildcard(require("./styles"));
14
14
  var _excluded = ["autoComplete", "autoFocus", "disabled", "readOnly", "isInvalid", "hasWarning", "id", "name", "placeholder", "type", "required", "value", "elemBefore", "elemAfter", "maxLength", "ariaLabel", "ariaDescribedby", "clearButtonLabel", "innerRef", "onBlur", "onChange", "onClear", "onFocus", "onKeyDown", "onKeyUp", "onPaste", "inputProps", "qa", "appearance", "size"];
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
- 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); }
17
- 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; }
16
+ 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); }
17
+ 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; }
18
18
  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); }
19
19
  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); }
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; }
@@ -22,18 +22,19 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
22
22
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
23
  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); } }
24
24
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
- 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); }
26
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
- 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); }; }
25
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
28
26
  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); }
29
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
30
- 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; } }
27
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
31
28
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
29
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
30
+ 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); }
31
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
32
32
  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; }
33
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
34
- 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); }
33
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
34
+ 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); }
35
35
  // Using Context so that Input's Input.ClearButton-specific props can be passed to Input.ClearButton,
36
36
  // regardless of whether it is manually included as elemAfter or automatically included for type="search" Inputs.
37
+
37
38
  var InputContext = /*#__PURE__*/React.createContext({});
38
39
  var StyledButton = (0, _styledComponents.default)(_Button.default).withConfig({
39
40
  displayName: "Input__StyledButton",
@@ -90,11 +91,10 @@ var isClearButton = function isClearButton(elem) {
90
91
  };
91
92
  var Input = /*#__PURE__*/function (_React$Component) {
92
93
  _inherits(Input, _React$Component);
93
- var _super = _createSuper(Input);
94
94
  function Input(props) {
95
95
  var _this;
96
96
  _classCallCheck(this, Input);
97
- _this = _super.call(this, props);
97
+ _this = _callSuper(this, Input, [props]);
98
98
  // Define our own ref for use in handleClear.
99
99
  // We use mergeRefs to pass both this.inputRef and this.props.innerRef to input.
100
100
  _defineProperty(_assertThisInitialized(_this), "inputRef", /*#__PURE__*/React.createRef());
@@ -284,5 +284,4 @@ _defineProperty(Input, "defaultProps", {
284
284
  appearance: 'primary'
285
285
  });
286
286
  _defineProperty(Input, "ClearButton", ClearButton);
287
- var _default = Input;
288
- exports.default = _default;
287
+ var _default = exports.default = Input;
@@ -27,5 +27,4 @@ Object.keys(_InputTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _Input.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _Input.default;
@@ -8,8 +8,8 @@ exports.default = exports.Accessory = 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-4stdun-0"
@@ -82,7 +82,7 @@ var Container = _styledComponents.default.div.withConfig({
82
82
  return props.theme.colors.form.border.warning;
83
83
  });
84
84
  }, _systemProps.COMMON);
85
- var Accessory = _styledComponents.default.div.withConfig({
85
+ var Accessory = exports.Accessory = _styledComponents.default.div.withConfig({
86
86
  displayName: "styles__Accessory",
87
87
  componentId: "sc-4stdun-1"
88
88
  })(["position:absolute;top:50%;transform:translateY(-50%);color:", ";display:flex;align-items:center;", ";", ";"], function (props) {
@@ -92,8 +92,6 @@ var Accessory = _styledComponents.default.div.withConfig({
92
92
  }, function (props) {
93
93
  return props.after && (0, _styledComponents.css)(["right:", ";"], props.isClearButton ? 0 : props.theme.space[300]);
94
94
  });
95
- exports.Accessory = Accessory;
96
95
  Container.displayName = 'InputContainer';
97
96
  Accessory.displayName = 'InputAccessory';
98
- var _default = Container;
99
- exports.default = _default;
97
+ var _default = exports.default = Container;
@@ -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; }
@@ -10,28 +10,27 @@ var _Text = _interopRequireDefault(require("../Text"));
10
10
  var _styles = _interopRequireDefault(require("./styles"));
11
11
  var _excluded = ["children"];
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- 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); }
14
- 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; }
13
+ 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); }
14
+ 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; }
15
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; }
16
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; }
17
17
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
18
  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); } }
19
19
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
20
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
21
- 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); }
22
- 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); }
23
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
- 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); }; }
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); }
22
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
25
23
  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); }
26
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
27
- 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; } }
25
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
28
26
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
29
- var KeyboardKey = /*#__PURE__*/function (_React$Component) {
27
+ 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); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
+ var KeyboardKey = exports.default = /*#__PURE__*/function (_React$Component) {
30
30
  _inherits(KeyboardKey, _React$Component);
31
- var _super = _createSuper(KeyboardKey);
32
31
  function KeyboardKey() {
33
32
  _classCallCheck(this, KeyboardKey);
34
- return _super.apply(this, arguments);
33
+ return _callSuper(this, KeyboardKey, arguments);
35
34
  }
36
35
  _createClass(KeyboardKey, [{
37
36
  key: "render",
@@ -45,5 +44,4 @@ var KeyboardKey = /*#__PURE__*/function (_React$Component) {
45
44
  }
46
45
  }]);
47
46
  return KeyboardKey;
48
- }(React.Component);
49
- exports.default = KeyboardKey;
47
+ }(React.Component);
@@ -27,5 +27,4 @@ Object.keys(_KeyboardKeyTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _KeyboardKey.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _KeyboardKey.default;
@@ -23,5 +23,4 @@ var Container = _styledComponents.default.div.withConfig({
23
23
  }, function (props) {
24
24
  return props.theme.space[200];
25
25
  }, _systemProps.COMMON);
26
- var _default = Container;
27
- exports.default = _default;
26
+ var _default = exports.default = Container;
@@ -4,5 +4,5 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4
4
  var React = _interopRequireWildcard(require("react"));
5
5
  var _index = _interopRequireDefault(require("../Text/index.flow"));
6
6
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7
- 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); }
8
- 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; }
7
+ 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); }
8
+ 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; }
@@ -10,20 +10,20 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
10
10
  var _Text = _interopRequireDefault(require("../Text"));
11
11
  var _excluded = ["as"];
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- 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); }
14
- 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; }
13
+ 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); }
14
+ 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; }
15
15
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
16
  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); } }
17
17
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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); }
20
- 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); }
21
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
22
- 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); }; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
19
+ 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); }
20
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
23
21
  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); }
24
22
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
- 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; } }
23
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
26
24
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
25
+ 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); }
26
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
27
  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); }
28
28
  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; }
29
29
  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; }
@@ -41,12 +41,11 @@ var StyledLabel = (0, _styledComponents.default)(LabelBase).withConfig({
41
41
  displayName: "Label__StyledLabel",
42
42
  componentId: "sc-dh0olx-0"
43
43
  })(["display:flex;align-items:center;"]);
44
- var Label = /*#__PURE__*/function (_React$Component) {
44
+ var Label = exports.default = /*#__PURE__*/function (_React$Component) {
45
45
  _inherits(Label, _React$Component);
46
- var _super = _createSuper(Label);
47
46
  function Label() {
48
47
  _classCallCheck(this, Label);
49
- return _super.apply(this, arguments);
48
+ return _callSuper(this, Label, arguments);
50
49
  }
51
50
  _createClass(Label, [{
52
51
  key: "render",
@@ -67,5 +66,4 @@ var Label = /*#__PURE__*/function (_React$Component) {
67
66
  }
68
67
  }]);
69
68
  return Label;
70
- }(React.Component);
71
- exports.default = Label;
69
+ }(React.Component);
@@ -27,5 +27,4 @@ Object.keys(_LabelTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _Label.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _Label.default;
@@ -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; }
@@ -9,8 +9,8 @@ var React = _interopRequireWildcard(require("react"));
9
9
  var _styles = _interopRequireDefault(require("./styles"));
10
10
  var _excluded = ["href", "external", "children", "disabled", "onClick", "as", "underline", "qa"];
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- 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); }
13
- 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; }
12
+ 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); }
13
+ 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; }
14
14
  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); }
15
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; }
16
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; }
@@ -45,5 +45,4 @@ var Link = function Link(_ref) {
45
45
  "data-qa-link-isdisabled": disabled === true
46
46
  }, qa, rest), children);
47
47
  };
48
- var _default = Link;
49
- exports.default = _default;
48
+ var _default = exports.default = Link;
@@ -14,5 +14,4 @@ var defaultLink = {
14
14
  var linkTheme = {
15
15
  default: defaultLink
16
16
  };
17
- var _default = linkTheme;
18
- exports.default = _default;
17
+ var _default = exports.default = linkTheme;
@@ -39,5 +39,4 @@ Object.keys(_constants).forEach(function (key) {
39
39
  });
40
40
  });
41
41
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
42
- var _default = _Link.default;
43
- exports.default = _default;
42
+ var _default = exports.default = _Link.default;
@@ -10,8 +10,8 @@ var _mixins = require("../utils/mixins");
10
10
  var _systemProps = require("../utils/system-props");
11
11
  var _Text = _interopRequireDefault(require("../Text"));
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- 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); }
14
- 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; }
13
+ 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); }
14
+ 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; }
15
15
  var Container = (0, _styledComponents.default)(_Text.default).withConfig({
16
16
  displayName: "styles__Container",
17
17
  componentId: "sc-t42egr-0"
@@ -34,5 +34,4 @@ var Container = (0, _styledComponents.default)(_Text.default).withConfig({
34
34
  }, function (props) {
35
35
  return props.disabled && _mixins.disabled;
36
36
  }, _systemProps.COMMON, _systemProps.TYPOGRAPHY, _systemProps.FLEXBOX);
37
- var _default = Container;
38
- exports.default = _default;
37
+ var _default = exports.default = Container;
@@ -6,5 +6,5 @@ var _index = _interopRequireDefault(require("../Button/index.flow"));
6
6
  var _index2 = _interopRequireDefault(require("../Popout/index.flow"));
7
7
  var _index3 = _interopRequireDefault(require("../Menu/index.flow"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
- 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); }
10
- 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; }
9
+ 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); }
10
+ 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; }