@sproutsocial/racine 12.24.0 → 13.0.2

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 (850) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/__flow__/Avatar/index.flow.js +16 -0
  3. package/__flow__/Avatar/index.js +33 -77
  4. package/__flow__/Badge/constants.js +9 -15
  5. package/__flow__/Badge/index.flow.js +17 -0
  6. package/__flow__/Badge/index.js +12 -53
  7. package/__flow__/Badge/styles.js +17 -27
  8. package/__flow__/Banner/index.flow.js +9 -0
  9. package/__flow__/Banner/index.js +16 -42
  10. package/__flow__/Banner/styles.js +8 -14
  11. package/__flow__/Box/index.flow.js +7 -0
  12. package/__flow__/Box/index.js +7 -9
  13. package/__flow__/Box/styles.js +9 -25
  14. package/__flow__/Breadcrumb/index.flow.js +15 -0
  15. package/__flow__/Breadcrumb/index.js +35 -60
  16. package/__flow__/Breadcrumb/styles.js +11 -14
  17. package/__flow__/Button/index.flow.js +26 -0
  18. package/__flow__/Button/index.js +9 -75
  19. package/__flow__/Button/styles.js +27 -47
  20. package/__flow__/Card/index.flow.js +19 -0
  21. package/__flow__/Card/index.js +8 -37
  22. package/__flow__/Card/styles.js +8 -11
  23. package/__flow__/CharacterCounter/index.flow.js +10 -0
  24. package/__flow__/CharacterCounter/index.js +13 -15
  25. package/__flow__/CharacterCounter/styles.js +9 -17
  26. package/__flow__/ChartLegend/index.flow.js +14 -0
  27. package/__flow__/ChartLegend/index.js +16 -31
  28. package/__flow__/ChartLegend/styles.js +10 -18
  29. package/__flow__/Checkbox/index.flow.js +22 -0
  30. package/__flow__/Checkbox/index.js +16 -93
  31. package/__flow__/Checkbox/styles.js +48 -101
  32. package/__flow__/Collapsible/index.flow.js +11 -0
  33. package/__flow__/Collapsible/index.js +45 -72
  34. package/__flow__/Collapsible/styles.js +11 -12
  35. package/__flow__/DatePicker/DateRangePicker.flow.js +15 -0
  36. package/__flow__/DatePicker/DateRangePicker.js +17 -32
  37. package/__flow__/DatePicker/SingleDatePicker.flow.js +12 -0
  38. package/__flow__/DatePicker/SingleDatePicker.js +17 -26
  39. package/__flow__/DatePicker/StatefulDateRangePicker.js +19 -33
  40. package/__flow__/DatePicker/StatefulSingleDatePicker.js +10 -16
  41. package/__flow__/DatePicker/common.flow.js +20 -0
  42. package/__flow__/DatePicker/common.js +19 -41
  43. package/__flow__/DatePicker/index.js +3 -4
  44. package/__flow__/DatePicker/styles.js +87 -72
  45. package/__flow__/Drawer/SlideTransition.js +22 -14
  46. package/__flow__/Drawer/index.flow.js +38 -0
  47. package/__flow__/Drawer/index.js +72 -184
  48. package/__flow__/Drawer/styles.js +9 -13
  49. package/__flow__/EmptyState/index.flow.js +15 -0
  50. package/__flow__/EmptyState/index.js +18 -46
  51. package/__flow__/EnumIconNames.js +1 -1
  52. package/__flow__/EnumIllustrationNames.js +1 -1
  53. package/__flow__/EnumLogoNames.js +1 -1
  54. package/__flow__/Fieldset/index.flow.js +10 -0
  55. package/__flow__/Fieldset/index.js +23 -54
  56. package/__flow__/Fieldset/styles.js +6 -12
  57. package/__flow__/FormField/index.flow.js +28 -0
  58. package/__flow__/FormField/index.js +28 -72
  59. package/__flow__/Icon/deprecatedIcons.js +4 -3
  60. package/__flow__/Icon/index.flow.js +34 -0
  61. package/__flow__/Icon/index.js +21 -80
  62. package/__flow__/Icon/styles.js +9 -15
  63. package/__flow__/IconViewBoxes.js +375 -1
  64. package/__flow__/IllustrationViewBoxes.js +121 -1
  65. package/__flow__/Image/index.flow.js +15 -0
  66. package/__flow__/Image/index.js +24 -52
  67. package/__flow__/Image/styles.js +6 -11
  68. package/__flow__/Indicator/index.flow.js +6 -0
  69. package/__flow__/Indicator/index.js +16 -20
  70. package/__flow__/Indicator/styles.js +9 -12
  71. package/__flow__/Input/index.flow.js +60 -0
  72. package/__flow__/Input/index.js +50 -188
  73. package/__flow__/Input/styles.js +49 -70
  74. package/__flow__/KeyboardKey/index.flow.js +7 -0
  75. package/__flow__/KeyboardKey/index.js +14 -14
  76. package/__flow__/KeyboardKey/styles.js +10 -13
  77. package/__flow__/Label/index.flow.js +14 -0
  78. package/__flow__/Label/index.js +12 -30
  79. package/__flow__/Link/constants.js +4 -7
  80. package/__flow__/Link/index.flow.js +18 -0
  81. package/__flow__/Link/index.js +11 -44
  82. package/__flow__/Link/styles.js +15 -22
  83. package/__flow__/Listbox/index.flow.js +20 -0
  84. package/__flow__/Listbox/index.js +51 -70
  85. package/__flow__/Loader/index.flow.js +12 -0
  86. package/__flow__/Loader/index.js +19 -26
  87. package/__flow__/Loader/styles.js +13 -28
  88. package/__flow__/LoaderButton/index.flow.js +7 -0
  89. package/__flow__/LoaderButton/index.js +19 -47
  90. package/__flow__/LogoViewBoxes.js +90 -1
  91. package/__flow__/Menu/constants.js +3 -4
  92. package/__flow__/Menu/descendants.js +140 -240
  93. package/__flow__/Menu/hooks.js +86 -115
  94. package/__flow__/Menu/index.flow.js +23 -31
  95. package/__flow__/Menu/index.js +146 -340
  96. package/__flow__/Menu/names.js +1 -4947
  97. package/__flow__/Menu/styles.js +31 -51
  98. package/__flow__/Message/constants.js +9 -0
  99. package/__flow__/Message/index.flow.js +17 -0
  100. package/__flow__/Message/index.js +69 -115
  101. package/__flow__/Message/styles.js +62 -76
  102. package/__flow__/Modal/index.flow.js +46 -0
  103. package/__flow__/Modal/index.js +55 -129
  104. package/__flow__/Modal/styles.js +39 -62
  105. package/__flow__/Numeral/constants.js +3 -3
  106. package/__flow__/Numeral/index.flow.js +19 -0
  107. package/__flow__/Numeral/index.js +53 -71
  108. package/__flow__/Numeral/styles.js +4 -7
  109. package/__flow__/Numeral/tests/testNumeral.js +20 -24
  110. package/__flow__/OverflowList/index.flow.js +6 -8
  111. package/__flow__/OverflowList/index.js +52 -89
  112. package/__flow__/OverflowList/styles.js +8 -18
  113. package/__flow__/PartnerLogo/TypePartnerNames.js +1 -38
  114. package/__flow__/PartnerLogo/index.flow.js +19 -0
  115. package/__flow__/PartnerLogo/index.js +18 -37
  116. package/__flow__/PartnerLogo/styles.js +8 -12
  117. package/__flow__/Popout/index.flow.js +89 -0
  118. package/__flow__/Popout/index.js +114 -274
  119. package/__flow__/Popout/styles.js +4 -6
  120. package/__flow__/Portal/index.flow.js +10 -0
  121. package/__flow__/Portal/index.js +18 -25
  122. package/__flow__/Radio/index.flow.js +19 -0
  123. package/__flow__/Radio/index.js +10 -42
  124. package/__flow__/Radio/styles.js +27 -43
  125. package/__flow__/SegmentedControl/index.flow.js +20 -0
  126. package/__flow__/SegmentedControl/index.js +24 -73
  127. package/__flow__/SegmentedControl/styles.js +26 -36
  128. package/__flow__/Select/index.flow.js +25 -0
  129. package/__flow__/Select/index.js +14 -55
  130. package/__flow__/Select/styles.js +53 -62
  131. package/__flow__/Skeleton/index.js +6 -10
  132. package/__flow__/SpotIllustration/illustrationNames.js +1 -121
  133. package/__flow__/SpotIllustration/index.flow.js +9 -0
  134. package/__flow__/SpotIllustration/index.js +24 -41
  135. package/__flow__/Stack/index.flow.js +24 -0
  136. package/__flow__/Stack/index.js +57 -81
  137. package/__flow__/Switch/index.flow.js +16 -0
  138. package/__flow__/Switch/index.js +21 -34
  139. package/__flow__/Switch/styles.js +28 -34
  140. package/__flow__/Table/index.flow.js +30 -0
  141. package/__flow__/Table/index.js +44 -85
  142. package/__flow__/Table/styles.js +5 -8
  143. package/__flow__/TableCell/index.flow.js +19 -0
  144. package/__flow__/TableCell/index.js +18 -31
  145. package/__flow__/TableCell/styles.js +11 -12
  146. package/__flow__/TableHeaderCell/constants.js +6 -0
  147. package/__flow__/TableHeaderCell/index.flow.js +24 -0
  148. package/__flow__/TableHeaderCell/index.js +31 -59
  149. package/__flow__/TableHeaderCell/styles.js +10 -16
  150. package/__flow__/TableRowAccordion/index.flow.js +13 -0
  151. package/__flow__/TableRowAccordion/index.js +26 -44
  152. package/__flow__/TableRowAccordion/styles.js +9 -17
  153. package/__flow__/Tabs/index.flow.js +20 -0
  154. package/__flow__/Tabs/index.js +48 -78
  155. package/__flow__/Tabs/styles.js +21 -40
  156. package/__flow__/Text/index.flow.js +13 -0
  157. package/__flow__/Text/index.js +38 -65
  158. package/__flow__/Text/styles.js +8 -15
  159. package/__flow__/Textarea/index.flow.js +48 -0
  160. package/__flow__/Textarea/index.js +12 -96
  161. package/__flow__/Textarea/styles.js +27 -46
  162. package/__flow__/ThemeProvider/index.js +5 -11
  163. package/__flow__/Toast/index.flow.js +20 -0
  164. package/__flow__/Toast/index.js +45 -99
  165. package/__flow__/Toast/styles.js +14 -20
  166. package/__flow__/ToggleHint/index.flow.js +13 -0
  167. package/__flow__/ToggleHint/index.js +17 -31
  168. package/__flow__/ToggleHint/styles.js +10 -18
  169. package/__flow__/Token/index.flow.js +15 -0
  170. package/__flow__/Token/index.js +15 -44
  171. package/__flow__/Token/styles.js +25 -22
  172. package/__flow__/TokenInput/index.flow.js +67 -2
  173. package/__flow__/TokenInput/index.js +108 -221
  174. package/__flow__/TokenInput/styles.js +36 -54
  175. package/__flow__/TokenInput/util.js +6 -11
  176. package/__flow__/Tooltip/index.flow.js +22 -0
  177. package/__flow__/Tooltip/index.js +38 -126
  178. package/__flow__/Tooltip/styles.js +6 -8
  179. package/__flow__/VisuallyHidden/index.js +4 -6
  180. package/__flow__/dataviz/index.js +6 -9
  181. package/__flow__/index.js +152 -76
  182. package/__flow__/systemProps/background.js +4 -15
  183. package/__flow__/systemProps/border.js +4 -35
  184. package/__flow__/systemProps/color.js +5 -15
  185. package/__flow__/systemProps/custom.js +7 -14
  186. package/__flow__/systemProps/flexbox.js +4 -21
  187. package/__flow__/systemProps/grid.js +4 -22
  188. package/__flow__/systemProps/index.js +14 -15
  189. package/__flow__/systemProps/layout.js +4 -22
  190. package/__flow__/systemProps/position.js +4 -16
  191. package/__flow__/systemProps/shadow.js +4 -9
  192. package/__flow__/systemProps/space.js +4 -25
  193. package/__flow__/systemProps/systemProps.js +15 -40
  194. package/__flow__/systemProps/tests/types.flow.js +2 -6
  195. package/__flow__/systemProps/types.flow.js +6 -14
  196. package/__flow__/systemProps/typography.js +5 -18
  197. package/__flow__/systemProps/variant.js +8 -12
  198. package/__flow__/themes/dark/dataviz-palette.js +4 -26
  199. package/__flow__/themes/dark/decorative-palettes.js +12 -23
  200. package/__flow__/themes/dark/theme.js +60 -74
  201. package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +65 -70
  202. package/__flow__/themes/extendedThemes/sproutTheme/index.js +2 -2
  203. package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +65 -70
  204. package/__flow__/themes/light/dataviz-palette.js +4 -26
  205. package/__flow__/themes/light/decorative-palettes.js +12 -23
  206. package/__flow__/themes/light/literal-colors.js +13 -15
  207. package/__flow__/themes/light/theme.js +71 -107
  208. package/__flow__/types/styled-components.flow.js +1 -1
  209. package/__flow__/types/system-props.flow.js +5 -25
  210. package/__flow__/types/theme.colors.flow.js +32 -46
  211. package/__flow__/types/theme.flow.js +7 -25
  212. package/__flow__/utils/a11yTest.js +2 -3
  213. package/__flow__/utils/chartColors.js +6 -71
  214. package/__flow__/utils/constants.js +1 -1
  215. package/__flow__/utils/dataQaLabelQueries.js +14 -37
  216. package/__flow__/utils/hooks.js +77 -114
  217. package/__flow__/utils/index.js +6 -12
  218. package/__flow__/utils/innerText.js +3 -15
  219. package/__flow__/utils/mixins.js +5 -14
  220. package/__flow__/utils/react-testing-library.js +8 -40
  221. package/__flow__/utils/responsiveProps/index.js +6 -19
  222. package/__flow__/utils/system-props.js +11 -77
  223. package/__flow__/utils/useInteractiveColor.js +4 -7
  224. package/commonjs/{Stack/TypeSpaceLiterals.js → Avatar/index.flow.js} +0 -0
  225. package/commonjs/Avatar/index.js +31 -28
  226. package/commonjs/Badge/index.flow.js +6 -0
  227. package/commonjs/Badge/index.js +1 -1
  228. package/commonjs/Badge/styles.js +1 -1
  229. package/commonjs/Banner/index.flow.js +6 -0
  230. package/commonjs/Banner/index.js +15 -17
  231. package/commonjs/Box/index.flow.js +8 -0
  232. package/commonjs/Breadcrumb/index.flow.js +8 -0
  233. package/commonjs/Breadcrumb/index.js +21 -19
  234. package/commonjs/Button/index.flow.js +6 -0
  235. package/commonjs/Button/index.js +1 -7
  236. package/commonjs/Button/styles.js +1 -1
  237. package/commonjs/Card/index.flow.js +7 -0
  238. package/commonjs/Card/styles.js +1 -1
  239. package/commonjs/CharacterCounter/index.flow.js +1 -0
  240. package/commonjs/ChartLegend/index.flow.js +1 -0
  241. package/commonjs/ChartLegend/index.js +10 -6
  242. package/commonjs/Checkbox/index.flow.js +1 -0
  243. package/commonjs/Checkbox/index.js +27 -24
  244. package/commonjs/Checkbox/styles.js +1 -1
  245. package/commonjs/Collapsible/index.flow.js +6 -0
  246. package/commonjs/Collapsible/index.js +1 -1
  247. package/commonjs/DatePicker/DateRangePicker.flow.js +1 -0
  248. package/commonjs/DatePicker/SingleDatePicker.flow.js +1 -0
  249. package/commonjs/DatePicker/StatefulDateRangePicker.js +10 -7
  250. package/commonjs/DatePicker/StatefulSingleDatePicker.js +7 -4
  251. package/commonjs/DatePicker/common.flow.js +1 -0
  252. package/commonjs/DatePicker/common.js +1 -1
  253. package/commonjs/DatePicker/styles.js +1 -1
  254. package/commonjs/Drawer/index.flow.js +6 -0
  255. package/commonjs/Drawer/index.js +24 -20
  256. package/commonjs/EmptyState/index.flow.js +6 -0
  257. package/commonjs/EmptyState/index.js +1 -1
  258. package/commonjs/Fieldset/index.flow.js +6 -0
  259. package/commonjs/FormField/index.flow.js +9 -0
  260. package/commonjs/FormField/index.js +1 -1
  261. package/commonjs/Icon/deprecatedIcons.js +2 -2
  262. package/commonjs/Icon/index.flow.js +4 -0
  263. package/commonjs/Icon/index.js +19 -15
  264. package/commonjs/Icon/styles.js +1 -1
  265. package/commonjs/Image/index.flow.js +1 -0
  266. package/commonjs/Image/index.js +18 -14
  267. package/commonjs/Indicator/index.flow.js +1 -0
  268. package/commonjs/Indicator/index.js +12 -9
  269. package/commonjs/Indicator/styles.js +1 -1
  270. package/commonjs/Input/index.flow.js +6 -0
  271. package/commonjs/Input/index.js +52 -49
  272. package/commonjs/Input/styles.js +1 -1
  273. package/commonjs/KeyboardKey/index.flow.js +1 -0
  274. package/commonjs/Label/index.flow.js +8 -0
  275. package/commonjs/Label/index.js +9 -6
  276. package/commonjs/Link/index.flow.js +6 -0
  277. package/commonjs/Link/styles.js +1 -1
  278. package/commonjs/Listbox/index.flow.js +9 -0
  279. package/commonjs/Listbox/index.js +2 -2
  280. package/commonjs/Loader/index.flow.js +1 -0
  281. package/commonjs/Loader/index.js +13 -9
  282. package/commonjs/Loader/styles.js +2 -2
  283. package/commonjs/LoaderButton/index.flow.js +1 -0
  284. package/commonjs/LoaderButton/index.js +2 -6
  285. package/commonjs/Menu/index.js +28 -29
  286. package/commonjs/Menu/styles.js +1 -1
  287. package/commonjs/Message/constants.js +15 -0
  288. package/commonjs/Message/index.flow.js +7 -0
  289. package/commonjs/Message/index.js +12 -17
  290. package/commonjs/Message/styles.js +14 -14
  291. package/commonjs/Modal/index.flow.js +8 -0
  292. package/commonjs/Modal/index.js +31 -29
  293. package/commonjs/Modal/styles.js +9 -6
  294. package/commonjs/Numeral/index.flow.js +1 -0
  295. package/commonjs/Numeral/index.js +9 -10
  296. package/commonjs/Numeral/tests/testNumeral.js +4 -4
  297. package/commonjs/OverflowList/index.js +2 -2
  298. package/commonjs/OverflowList/styles.js +1 -1
  299. package/commonjs/PartnerLogo/index.flow.js +1 -0
  300. package/commonjs/PartnerLogo/index.js +18 -15
  301. package/commonjs/PartnerLogo/styles.js +1 -1
  302. package/commonjs/Popout/index.flow.js +6 -0
  303. package/commonjs/Popout/index.js +25 -23
  304. package/commonjs/Portal/index.flow.js +6 -0
  305. package/commonjs/Radio/index.flow.js +1 -0
  306. package/commonjs/Radio/styles.js +2 -2
  307. package/commonjs/SegmentedControl/index.flow.js +6 -0
  308. package/commonjs/SegmentedControl/index.js +21 -19
  309. package/commonjs/SegmentedControl/styles.js +1 -1
  310. package/commonjs/Select/index.flow.js +6 -0
  311. package/commonjs/Select/index.js +1 -1
  312. package/commonjs/Select/styles.js +1 -1
  313. package/commonjs/Skeleton/index.js +1 -1
  314. package/commonjs/SpotIllustration/illustrationNames.js +1 -1
  315. package/commonjs/SpotIllustration/index.flow.js +1 -0
  316. package/commonjs/SpotIllustration/index.js +1 -1
  317. package/commonjs/Stack/index.flow.js +6 -0
  318. package/commonjs/Stack/index.js +1 -1
  319. package/commonjs/Switch/index.flow.js +1 -0
  320. package/commonjs/Switch/index.js +19 -15
  321. package/commonjs/Switch/styles.js +1 -1
  322. package/commonjs/Table/index.flow.js +6 -0
  323. package/commonjs/TableCell/index.flow.js +6 -0
  324. package/commonjs/TableHeaderCell/constants.js +12 -0
  325. package/commonjs/TableHeaderCell/index.flow.js +3 -0
  326. package/commonjs/TableHeaderCell/index.js +5 -9
  327. package/commonjs/TableRowAccordion/index.flow.js +6 -0
  328. package/commonjs/TableRowAccordion/index.js +1 -1
  329. package/commonjs/Tabs/index.flow.js +6 -0
  330. package/commonjs/Tabs/index.js +1 -2
  331. package/commonjs/Text/index.flow.js +6 -0
  332. package/commonjs/Text/index.js +1 -1
  333. package/commonjs/Textarea/index.flow.js +6 -0
  334. package/commonjs/Textarea/index.js +42 -38
  335. package/commonjs/Textarea/styles.js +1 -1
  336. package/commonjs/Toast/index.flow.js +6 -0
  337. package/commonjs/Toast/index.js +2 -2
  338. package/commonjs/Toast/styles.js +2 -1
  339. package/commonjs/ToggleHint/index.flow.js +1 -0
  340. package/commonjs/ToggleHint/index.js +8 -5
  341. package/commonjs/ToggleHint/styles.js +1 -1
  342. package/commonjs/Token/index.flow.js +6 -0
  343. package/commonjs/Token/index.js +28 -24
  344. package/commonjs/Token/styles.js +1 -1
  345. package/commonjs/TokenInput/index.flow.js +6 -1
  346. package/commonjs/TokenInput/index.js +42 -39
  347. package/commonjs/TokenInput/styles.js +1 -1
  348. package/commonjs/Tooltip/index.flow.js +6 -0
  349. package/commonjs/Tooltip/index.js +19 -15
  350. package/commonjs/VisuallyHidden/index.js +1 -1
  351. package/commonjs/dataviz/index.js +1 -1
  352. package/commonjs/index.js +113 -97
  353. package/commonjs/themes/dark/theme.js +1 -1
  354. package/commonjs/themes/light/theme.js +4 -9
  355. package/commonjs/utils/hooks.js +2 -2
  356. package/commonjs/utils/mixins.js +1 -1
  357. package/commonjs/utils/react-testing-library.js +1 -1
  358. package/lib/{Stack/TypeSpaceLiterals.js → Avatar/index.flow.js} +0 -0
  359. package/lib/Avatar/index.js +31 -28
  360. package/lib/Badge/index.flow.js +2 -0
  361. package/lib/Badge/index.js +1 -1
  362. package/lib/Badge/styles.js +1 -1
  363. package/lib/Banner/index.flow.js +2 -0
  364. package/lib/Banner/index.js +15 -23
  365. package/lib/Box/index.flow.js +3 -0
  366. package/lib/Breadcrumb/index.flow.js +3 -0
  367. package/lib/Breadcrumb/index.js +22 -21
  368. package/lib/Button/index.flow.js +2 -0
  369. package/lib/Button/index.js +1 -13
  370. package/lib/Button/styles.js +1 -1
  371. package/lib/Card/index.flow.js +3 -0
  372. package/lib/Card/styles.js +1 -1
  373. package/lib/CharacterCounter/index.flow.js +0 -0
  374. package/lib/ChartLegend/index.flow.js +0 -0
  375. package/lib/ChartLegend/index.js +10 -6
  376. package/lib/Checkbox/index.flow.js +0 -0
  377. package/lib/Checkbox/index.js +27 -24
  378. package/lib/Checkbox/styles.js +1 -1
  379. package/lib/Collapsible/index.flow.js +2 -0
  380. package/lib/Collapsible/index.js +1 -1
  381. package/lib/DatePicker/DateRangePicker.flow.js +0 -0
  382. package/lib/DatePicker/SingleDatePicker.flow.js +0 -0
  383. package/lib/DatePicker/StatefulDateRangePicker.js +10 -7
  384. package/lib/DatePicker/StatefulSingleDatePicker.js +7 -4
  385. package/lib/DatePicker/common.flow.js +0 -0
  386. package/lib/DatePicker/common.js +1 -1
  387. package/lib/DatePicker/styles.js +2 -1
  388. package/lib/Drawer/index.flow.js +2 -0
  389. package/lib/Drawer/index.js +24 -21
  390. package/lib/EmptyState/index.flow.js +2 -0
  391. package/lib/EmptyState/index.js +1 -1
  392. package/lib/Fieldset/index.flow.js +2 -0
  393. package/lib/FormField/index.flow.js +4 -0
  394. package/lib/FormField/index.js +1 -3
  395. package/lib/Icon/deprecatedIcons.js +3 -2
  396. package/lib/Icon/index.flow.js +3 -0
  397. package/lib/Icon/index.js +19 -15
  398. package/lib/Icon/styles.js +1 -1
  399. package/lib/Image/index.flow.js +0 -0
  400. package/lib/Image/index.js +18 -14
  401. package/lib/Indicator/index.flow.js +0 -0
  402. package/lib/Indicator/index.js +12 -9
  403. package/lib/Indicator/styles.js +1 -1
  404. package/lib/Input/index.flow.js +2 -0
  405. package/lib/Input/index.js +52 -49
  406. package/lib/Input/styles.js +1 -1
  407. package/lib/KeyboardKey/index.flow.js +0 -0
  408. package/lib/Label/index.flow.js +3 -0
  409. package/lib/Label/index.js +9 -6
  410. package/lib/Link/index.flow.js +2 -0
  411. package/lib/Link/styles.js +1 -1
  412. package/lib/Listbox/index.flow.js +4 -0
  413. package/lib/Listbox/index.js +2 -2
  414. package/lib/Loader/index.flow.js +0 -0
  415. package/lib/Loader/index.js +13 -9
  416. package/lib/Loader/styles.js +2 -2
  417. package/lib/LoaderButton/index.flow.js +0 -0
  418. package/lib/LoaderButton/index.js +3 -8
  419. package/lib/Menu/index.js +29 -30
  420. package/lib/Menu/styles.js +1 -1
  421. package/lib/Message/constants.js +9 -0
  422. package/lib/Message/index.flow.js +3 -0
  423. package/lib/Message/index.js +5 -10
  424. package/lib/Message/styles.js +2 -2
  425. package/lib/Modal/index.flow.js +3 -0
  426. package/lib/Modal/index.js +31 -29
  427. package/lib/Modal/styles.js +9 -6
  428. package/lib/Numeral/constants.js +1 -0
  429. package/lib/Numeral/index.flow.js +0 -0
  430. package/lib/Numeral/index.js +2 -3
  431. package/lib/Numeral/tests/testNumeral.js +2 -2
  432. package/lib/OverflowList/index.js +1 -1
  433. package/lib/OverflowList/styles.js +1 -1
  434. package/lib/PartnerLogo/index.flow.js +0 -0
  435. package/lib/PartnerLogo/index.js +18 -15
  436. package/lib/PartnerLogo/styles.js +1 -1
  437. package/lib/Popout/index.flow.js +2 -0
  438. package/lib/Popout/index.js +25 -24
  439. package/lib/Portal/index.flow.js +2 -0
  440. package/lib/Radio/index.flow.js +0 -0
  441. package/lib/Radio/styles.js +2 -2
  442. package/lib/SegmentedControl/index.flow.js +2 -0
  443. package/lib/SegmentedControl/index.js +21 -19
  444. package/lib/SegmentedControl/styles.js +1 -1
  445. package/lib/Select/index.flow.js +2 -0
  446. package/lib/Select/index.js +1 -1
  447. package/lib/Select/styles.js +1 -1
  448. package/lib/Skeleton/index.js +1 -1
  449. package/lib/SpotIllustration/illustrationNames.js +1 -1
  450. package/lib/SpotIllustration/index.flow.js +0 -0
  451. package/lib/SpotIllustration/index.js +1 -1
  452. package/lib/Stack/index.flow.js +2 -0
  453. package/lib/Stack/index.js +1 -1
  454. package/lib/Switch/index.flow.js +0 -0
  455. package/lib/Switch/index.js +19 -15
  456. package/lib/Switch/styles.js +1 -1
  457. package/lib/Table/index.flow.js +2 -0
  458. package/lib/TableCell/index.flow.js +2 -0
  459. package/lib/TableHeaderCell/constants.js +6 -0
  460. package/lib/TableHeaderCell/index.flow.js +3 -0
  461. package/lib/TableHeaderCell/index.js +2 -5
  462. package/lib/TableRowAccordion/index.flow.js +2 -0
  463. package/lib/TableRowAccordion/index.js +1 -1
  464. package/lib/Tabs/index.flow.js +2 -0
  465. package/lib/Tabs/index.js +1 -2
  466. package/lib/Text/index.flow.js +2 -0
  467. package/lib/Text/index.js +1 -1
  468. package/lib/Textarea/index.flow.js +2 -0
  469. package/lib/Textarea/index.js +42 -38
  470. package/lib/Textarea/styles.js +1 -1
  471. package/lib/Toast/index.flow.js +2 -0
  472. package/lib/Toast/index.js +2 -2
  473. package/lib/Toast/styles.js +2 -3
  474. package/lib/ToggleHint/index.flow.js +0 -0
  475. package/lib/ToggleHint/index.js +8 -5
  476. package/lib/ToggleHint/styles.js +1 -1
  477. package/lib/Token/index.flow.js +2 -0
  478. package/lib/Token/index.js +28 -24
  479. package/lib/Token/styles.js +1 -1
  480. package/lib/TokenInput/index.flow.js +2 -0
  481. package/lib/TokenInput/index.js +41 -39
  482. package/lib/TokenInput/styles.js +1 -1
  483. package/lib/Tooltip/index.flow.js +2 -0
  484. package/lib/Tooltip/index.js +19 -15
  485. package/lib/VisuallyHidden/index.js +1 -1
  486. package/lib/dataviz/index.js +1 -1
  487. package/lib/index.js +74 -47
  488. package/lib/themes/dark/theme.js +4 -2
  489. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +3 -0
  490. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +3 -0
  491. package/lib/themes/light/theme.js +4 -10
  492. package/lib/utils/hooks.js +1 -1
  493. package/lib/utils/mixins.js +1 -1
  494. package/lib/utils/react-testing-library.js +1 -1
  495. package/package.json +11 -5
  496. package/__flow__/Avatar/__tests__/features.test.js +0 -98
  497. package/__flow__/Avatar/index.stories.js +0 -62
  498. package/__flow__/Badge/index.stories.js +0 -49
  499. package/__flow__/Badge/index.test.js +0 -67
  500. package/__flow__/Banner/index.stories.js +0 -108
  501. package/__flow__/Banner/index.test.js +0 -68
  502. package/__flow__/Box/index.stories.js +0 -135
  503. package/__flow__/Box/index.test.js +0 -12
  504. package/__flow__/Breadcrumb/index.stories.js +0 -76
  505. package/__flow__/Breadcrumb/index.test.js +0 -62
  506. package/__flow__/Button/index.stories.js +0 -153
  507. package/__flow__/Card/index.stories.js +0 -67
  508. package/__flow__/CharacterCounter/index.stories.js +0 -42
  509. package/__flow__/CharacterCounter/index.test.js +0 -24
  510. package/__flow__/ChartLegend/index.stories.js +0 -66
  511. package/__flow__/ChartLegend/index.test.js +0 -55
  512. package/__flow__/Checkbox/index.stories.js +0 -137
  513. package/__flow__/Checkbox/index.test.js +0 -91
  514. package/__flow__/Collapsible/index.stories.js +0 -182
  515. package/__flow__/Collapsible/index.test.js +0 -68
  516. package/__flow__/DatePicker/DateRangePicker.stories.js +0 -101
  517. package/__flow__/DatePicker/DateRangePicker.test.js +0 -123
  518. package/__flow__/DatePicker/SingleDatePicker.stories.js +0 -64
  519. package/__flow__/DatePicker/SingleDatePicker.test.js +0 -89
  520. package/__flow__/Drawer/index.stories.js +0 -336
  521. package/__flow__/Drawer/index.test.js +0 -158
  522. package/__flow__/EmptyState/index.stories.js +0 -108
  523. package/__flow__/EmptyState/index.test.js +0 -124
  524. package/__flow__/Fieldset/index.stories.js +0 -135
  525. package/__flow__/Fieldset/index.test.js +0 -34
  526. package/__flow__/FormField/index.stories.js +0 -116
  527. package/__flow__/FormField/index.test.js +0 -71
  528. package/__flow__/Icon/index.stories.js +0 -175
  529. package/__flow__/Icon/index.test.js +0 -25
  530. package/__flow__/Image/index.stories.js +0 -30
  531. package/__flow__/Image/index.test.js +0 -86
  532. package/__flow__/Indicator/index.stories.js +0 -16
  533. package/__flow__/Indicator/index.test.js +0 -11
  534. package/__flow__/Input/index.stories.js +0 -216
  535. package/__flow__/Input/index.test.js +0 -405
  536. package/__flow__/KeyboardKey/index.stories.js +0 -25
  537. package/__flow__/KeyboardKey/index.test.js +0 -12
  538. package/__flow__/Label/index.stories.js +0 -15
  539. package/__flow__/Label/index.test.js +0 -16
  540. package/__flow__/Link/index.stories.js +0 -115
  541. package/__flow__/Link/index.test.js +0 -110
  542. package/__flow__/Listbox/index.stories.js +0 -238
  543. package/__flow__/Listbox/index.test.js +0 -291
  544. package/__flow__/Loader/index.stories.js +0 -40
  545. package/__flow__/Loader/index.test.js +0 -26
  546. package/__flow__/LoaderButton/index.stories.js +0 -84
  547. package/__flow__/LoaderButton/index.test.js +0 -35
  548. package/__flow__/Menu/__snapshots__/index.test.js.snap +0 -115
  549. package/__flow__/Menu/index.stories.js +0 -261
  550. package/__flow__/Menu/index.test.js +0 -103
  551. package/__flow__/Message/index.stories.js +0 -73
  552. package/__flow__/Message/index.test.js +0 -12
  553. package/__flow__/Modal/index.stories.js +0 -409
  554. package/__flow__/Modal/index.test.js +0 -129
  555. package/__flow__/Numeral/index.stories.js +0 -183
  556. package/__flow__/Numeral/tests/A11y.test.js +0 -12
  557. package/__flow__/Numeral/tests/abbreviate.test.js +0 -72
  558. package/__flow__/Numeral/tests/currency.test.js +0 -40
  559. package/__flow__/Numeral/tests/defaults.test.js +0 -33
  560. package/__flow__/Numeral/tests/invalid.test.js +0 -12
  561. package/__flow__/Numeral/tests/locale.test.js +0 -83
  562. package/__flow__/Numeral/tests/precision.test.js +0 -126
  563. package/__flow__/Numeral/tests/zero.test.js +0 -11
  564. package/__flow__/OverflowList/index.stories.js +0 -69
  565. package/__flow__/OverflowList/index.test.js +0 -79
  566. package/__flow__/PartnerLogo/index.stories.js +0 -124
  567. package/__flow__/PartnerLogo/partnerLogos/bigcommerce-dark.svg +0 -5
  568. package/__flow__/PartnerLogo/partnerLogos/bigcommerce-lockup-dark.svg +0 -14
  569. package/__flow__/PartnerLogo/partnerLogos/bigcommerce-lockup.svg +0 -14
  570. package/__flow__/PartnerLogo/partnerLogos/bigcommerce.svg +0 -5
  571. package/__flow__/PartnerLogo/partnerLogos/bitly-dark.svg +0 -1
  572. package/__flow__/PartnerLogo/partnerLogos/bitly.svg +0 -1
  573. package/__flow__/PartnerLogo/partnerLogos/canva-dark.svg +0 -1
  574. package/__flow__/PartnerLogo/partnerLogos/canva.svg +0 -1
  575. package/__flow__/PartnerLogo/partnerLogos/dropbox-dark.svg +0 -1
  576. package/__flow__/PartnerLogo/partnerLogos/dropbox-lockup-dark.svg +0 -7
  577. package/__flow__/PartnerLogo/partnerLogos/dropbox-lockup.svg +0 -7
  578. package/__flow__/PartnerLogo/partnerLogos/dropbox-wordmark-dark.svg +0 -3
  579. package/__flow__/PartnerLogo/partnerLogos/dropbox-wordmark.svg +0 -3
  580. package/__flow__/PartnerLogo/partnerLogos/dropbox.svg +0 -1
  581. package/__flow__/PartnerLogo/partnerLogos/facebook-audience-network-dark.svg +0 -3
  582. package/__flow__/PartnerLogo/partnerLogos/facebook-audience-network.svg +0 -3
  583. package/__flow__/PartnerLogo/partnerLogos/facebook-dark.svg +0 -1
  584. package/__flow__/PartnerLogo/partnerLogos/facebook-groups-dark.svg +0 -3
  585. package/__flow__/PartnerLogo/partnerLogos/facebook-groups.svg +0 -3
  586. package/__flow__/PartnerLogo/partnerLogos/facebook-shops-dark.svg +0 -1
  587. package/__flow__/PartnerLogo/partnerLogos/facebook-shops.svg +0 -1
  588. package/__flow__/PartnerLogo/partnerLogos/facebook.svg +0 -1
  589. package/__flow__/PartnerLogo/partnerLogos/feedly-dark.svg +0 -3
  590. package/__flow__/PartnerLogo/partnerLogos/feedly.svg +0 -3
  591. package/__flow__/PartnerLogo/partnerLogos/glassdoor-dark.svg +0 -1
  592. package/__flow__/PartnerLogo/partnerLogos/glassdoor.svg +0 -1
  593. package/__flow__/PartnerLogo/partnerLogos/google-analytics-dark.svg +0 -1
  594. package/__flow__/PartnerLogo/partnerLogos/google-analytics.svg +0 -1
  595. package/__flow__/PartnerLogo/partnerLogos/google-business-messages-dark.svg +0 -1
  596. package/__flow__/PartnerLogo/partnerLogos/google-business-messages.svg +0 -1
  597. package/__flow__/PartnerLogo/partnerLogos/google-drive-dark.svg +0 -1
  598. package/__flow__/PartnerLogo/partnerLogos/google-drive.svg +0 -1
  599. package/__flow__/PartnerLogo/partnerLogos/google-my-business-dark.svg +0 -1
  600. package/__flow__/PartnerLogo/partnerLogos/google-my-business.svg +0 -1
  601. package/__flow__/PartnerLogo/partnerLogos/hubspot-dark.svg +0 -1
  602. package/__flow__/PartnerLogo/partnerLogos/hubspot.svg +0 -1
  603. package/__flow__/PartnerLogo/partnerLogos/instagram-dark.svg +0 -1
  604. package/__flow__/PartnerLogo/partnerLogos/instagram.svg +0 -1
  605. package/__flow__/PartnerLogo/partnerLogos/linkedin-audience-network-dark.svg +0 -3
  606. package/__flow__/PartnerLogo/partnerLogos/linkedin-audience-network.svg +0 -3
  607. package/__flow__/PartnerLogo/partnerLogos/linkedin-dark.svg +0 -1
  608. package/__flow__/PartnerLogo/partnerLogos/linkedin.svg +0 -1
  609. package/__flow__/PartnerLogo/partnerLogos/marketo-dark.svg +0 -1
  610. package/__flow__/PartnerLogo/partnerLogos/marketo.svg +0 -1
  611. package/__flow__/PartnerLogo/partnerLogos/messenger-dark.svg +0 -1
  612. package/__flow__/PartnerLogo/partnerLogos/messenger.svg +0 -1
  613. package/__flow__/PartnerLogo/partnerLogos/microsoft-dynamics-dark.svg +0 -1
  614. package/__flow__/PartnerLogo/partnerLogos/microsoft-dynamics.svg +0 -1
  615. package/__flow__/PartnerLogo/partnerLogos/pinterest-dark.svg +0 -1
  616. package/__flow__/PartnerLogo/partnerLogos/pinterest.svg +0 -1
  617. package/__flow__/PartnerLogo/partnerLogos/reddit-dark.svg +0 -1
  618. package/__flow__/PartnerLogo/partnerLogos/reddit.svg +0 -1
  619. package/__flow__/PartnerLogo/partnerLogos/salesforce-dark.svg +0 -1
  620. package/__flow__/PartnerLogo/partnerLogos/salesforce.svg +0 -1
  621. package/__flow__/PartnerLogo/partnerLogos/shopify-dark.svg +0 -1
  622. package/__flow__/PartnerLogo/partnerLogos/shopify.svg +0 -1
  623. package/__flow__/PartnerLogo/partnerLogos/slack-dark.svg +0 -1
  624. package/__flow__/PartnerLogo/partnerLogos/slack.svg +0 -1
  625. package/__flow__/PartnerLogo/partnerLogos/sproutsocial-dark.svg +0 -7
  626. package/__flow__/PartnerLogo/partnerLogos/sproutsocial-lockup-dark.svg +0 -19
  627. package/__flow__/PartnerLogo/partnerLogos/sproutsocial-lockup.svg +0 -19
  628. package/__flow__/PartnerLogo/partnerLogos/sproutsocial-wordmark-dark.svg +0 -14
  629. package/__flow__/PartnerLogo/partnerLogos/sproutsocial-wordmark.svg +0 -14
  630. package/__flow__/PartnerLogo/partnerLogos/sproutsocial.svg +0 -7
  631. package/__flow__/PartnerLogo/partnerLogos/tiktok-dark.svg +0 -1
  632. package/__flow__/PartnerLogo/partnerLogos/tiktok.svg +0 -1
  633. package/__flow__/PartnerLogo/partnerLogos/tripadvisor-dark.svg +0 -1
  634. package/__flow__/PartnerLogo/partnerLogos/tripadvisor.svg +0 -1
  635. package/__flow__/PartnerLogo/partnerLogos/tumblr-dark.svg +0 -1
  636. package/__flow__/PartnerLogo/partnerLogos/tumblr.svg +0 -1
  637. package/__flow__/PartnerLogo/partnerLogos/twitter-audience-network-dark.svg +0 -3
  638. package/__flow__/PartnerLogo/partnerLogos/twitter-audience-network.svg +0 -3
  639. package/__flow__/PartnerLogo/partnerLogos/twitter-dark.svg +0 -1
  640. package/__flow__/PartnerLogo/partnerLogos/twitter.svg +0 -1
  641. package/__flow__/PartnerLogo/partnerLogos/whatsapp-dark.svg +0 -1
  642. package/__flow__/PartnerLogo/partnerLogos/whatsapp.svg +0 -1
  643. package/__flow__/PartnerLogo/partnerLogos/woocommerce-dark.svg +0 -1
  644. package/__flow__/PartnerLogo/partnerLogos/woocommerce.svg +0 -1
  645. package/__flow__/PartnerLogo/partnerLogos/yelp-dark.svg +0 -1
  646. package/__flow__/PartnerLogo/partnerLogos/yelp.svg +0 -1
  647. package/__flow__/PartnerLogo/partnerLogos/youtube-dark.svg +0 -1
  648. package/__flow__/PartnerLogo/partnerLogos/youtube.svg +0 -1
  649. package/__flow__/PartnerLogo/partnerLogos/zendesk-dark.svg +0 -1
  650. package/__flow__/PartnerLogo/partnerLogos/zendesk-lockup-dark.svg +0 -28
  651. package/__flow__/PartnerLogo/partnerLogos/zendesk-lockup.svg +0 -28
  652. package/__flow__/PartnerLogo/partnerLogos/zendesk-wordmark-dark.svg +0 -9
  653. package/__flow__/PartnerLogo/partnerLogos/zendesk-wordmark.svg +0 -9
  654. package/__flow__/PartnerLogo/partnerLogos/zendesk.svg +0 -1
  655. package/__flow__/Popout/__snapshots__/index.test.js.snap +0 -121
  656. package/__flow__/Popout/index.stories.js +0 -471
  657. package/__flow__/Popout/index.test.js +0 -179
  658. package/__flow__/Portal/index.stories.js +0 -42
  659. package/__flow__/Radio/index.stories.js +0 -75
  660. package/__flow__/Radio/index.test.js +0 -47
  661. package/__flow__/SegmentedControl/index.stories.js +0 -44
  662. package/__flow__/SegmentedControl/index.test.js +0 -74
  663. package/__flow__/Select/index.stories.js +0 -42
  664. package/__flow__/Select/index.test.js +0 -44
  665. package/__flow__/Skeleton/index.stories.js +0 -31
  666. package/__flow__/SpotIllustration/index.stories.js +0 -135
  667. package/__flow__/SpotIllustration/spotIllustrations/abacus.svg +0 -21
  668. package/__flow__/SpotIllustration/spotIllustrations/analytics-offering.svg +0 -11
  669. package/__flow__/SpotIllustration/spotIllustrations/asset-cards.svg +0 -16
  670. package/__flow__/SpotIllustration/spotIllustrations/astronaut.svg +0 -15
  671. package/__flow__/SpotIllustration/spotIllustrations/binoculars.svg +0 -11
  672. package/__flow__/SpotIllustration/spotIllustrations/brand-keyword.svg +0 -10
  673. package/__flow__/SpotIllustration/spotIllustrations/browser-doc.svg +0 -10
  674. package/__flow__/SpotIllustration/spotIllustrations/business.svg +0 -23
  675. package/__flow__/SpotIllustration/spotIllustrations/calendar-event.svg +0 -11
  676. package/__flow__/SpotIllustration/spotIllustrations/calendar-reporting.svg +0 -13
  677. package/__flow__/SpotIllustration/spotIllustrations/cat-error.svg +0 -4
  678. package/__flow__/SpotIllustration/spotIllustrations/cat-no-access.svg +0 -13
  679. package/__flow__/SpotIllustration/spotIllustrations/cat.svg +0 -4
  680. package/__flow__/SpotIllustration/spotIllustrations/checkbox-alert.svg +0 -11
  681. package/__flow__/SpotIllustration/spotIllustrations/coffee-cup.svg +0 -11
  682. package/__flow__/SpotIllustration/spotIllustrations/competitors.svg +0 -29
  683. package/__flow__/SpotIllustration/spotIllustrations/compose-window.svg +0 -21
  684. package/__flow__/SpotIllustration/spotIllustrations/compose.svg +0 -5
  685. package/__flow__/SpotIllustration/spotIllustrations/computer-error.svg +0 -15
  686. package/__flow__/SpotIllustration/spotIllustrations/connect.svg +0 -11
  687. package/__flow__/SpotIllustration/spotIllustrations/contact.svg +0 -87
  688. package/__flow__/SpotIllustration/spotIllustrations/conversation.svg +0 -15
  689. package/__flow__/SpotIllustration/spotIllustrations/custom-branding.svg +0 -7
  690. package/__flow__/SpotIllustration/spotIllustrations/customer-service.svg +0 -13
  691. package/__flow__/SpotIllustration/spotIllustrations/dashboard.svg +0 -13
  692. package/__flow__/SpotIllustration/spotIllustrations/exclamation-mark.svg +0 -11
  693. package/__flow__/SpotIllustration/spotIllustrations/face-happy.svg +0 -10
  694. package/__flow__/SpotIllustration/spotIllustrations/find-bookmark.svg +0 -12
  695. package/__flow__/SpotIllustration/spotIllustrations/flask.svg +0 -10
  696. package/__flow__/SpotIllustration/spotIllustrations/general-topic.svg +0 -9
  697. package/__flow__/SpotIllustration/spotIllustrations/global-features.svg +0 -17
  698. package/__flow__/SpotIllustration/spotIllustrations/global-trend.svg +0 -5
  699. package/__flow__/SpotIllustration/spotIllustrations/grow-large.svg +0 -12
  700. package/__flow__/SpotIllustration/spotIllustrations/grow.svg +0 -5
  701. package/__flow__/SpotIllustration/spotIllustrations/hands-raised.svg +0 -8
  702. package/__flow__/SpotIllustration/spotIllustrations/headset.svg +0 -8
  703. package/__flow__/SpotIllustration/spotIllustrations/heartbeat-connection.svg +0 -14
  704. package/__flow__/SpotIllustration/spotIllustrations/instagram-links.svg +0 -28
  705. package/__flow__/SpotIllustration/spotIllustrations/invoice.svg +0 -13
  706. package/__flow__/SpotIllustration/spotIllustrations/jewel.svg +0 -11
  707. package/__flow__/SpotIllustration/spotIllustrations/keyword-tracking.svg +0 -26
  708. package/__flow__/SpotIllustration/spotIllustrations/lightbulb-alt.svg +0 -5
  709. package/__flow__/SpotIllustration/spotIllustrations/lightbulb.svg +0 -4
  710. package/__flow__/SpotIllustration/spotIllustrations/like-conversation.svg +0 -11
  711. package/__flow__/SpotIllustration/spotIllustrations/link-broken.svg +0 -18
  712. package/__flow__/SpotIllustration/spotIllustrations/link-messages.svg +0 -10
  713. package/__flow__/SpotIllustration/spotIllustrations/link-sections.svg +0 -13
  714. package/__flow__/SpotIllustration/spotIllustrations/link-upload.svg +0 -12
  715. package/__flow__/SpotIllustration/spotIllustrations/listening-pendo.svg +0 -14
  716. package/__flow__/SpotIllustration/spotIllustrations/listening-sentiment.svg +0 -27
  717. package/__flow__/SpotIllustration/spotIllustrations/listening-topic-templates.svg +0 -26
  718. package/__flow__/SpotIllustration/spotIllustrations/listening-tour.svg +0 -18
  719. package/__flow__/SpotIllustration/spotIllustrations/listening.svg +0 -9
  720. package/__flow__/SpotIllustration/spotIllustrations/loading.svg +0 -4
  721. package/__flow__/SpotIllustration/spotIllustrations/mailbox-empty.svg +0 -18
  722. package/__flow__/SpotIllustration/spotIllustrations/mailbox-full.svg +0 -8
  723. package/__flow__/SpotIllustration/spotIllustrations/megaphone.svg +0 -7
  724. package/__flow__/SpotIllustration/spotIllustrations/message.svg +0 -6
  725. package/__flow__/SpotIllustration/spotIllustrations/molecule.svg +0 -14
  726. package/__flow__/SpotIllustration/spotIllustrations/network-data.svg +0 -25
  727. package/__flow__/SpotIllustration/spotIllustrations/no-messages-found.svg +0 -20
  728. package/__flow__/SpotIllustration/spotIllustrations/no-notifications.svg +0 -4
  729. package/__flow__/SpotIllustration/spotIllustrations/note.svg +0 -6
  730. package/__flow__/SpotIllustration/spotIllustrations/notification.svg +0 -10
  731. package/__flow__/SpotIllustration/spotIllustrations/notifications-onboarding.svg +0 -23
  732. package/__flow__/SpotIllustration/spotIllustrations/organize-message.svg +0 -64
  733. package/__flow__/SpotIllustration/spotIllustrations/outbox-queue.svg +0 -12
  734. package/__flow__/SpotIllustration/spotIllustrations/outbox-reviews.svg +0 -10
  735. package/__flow__/SpotIllustration/spotIllustrations/pdf.svg +0 -5
  736. package/__flow__/SpotIllustration/spotIllustrations/planning.svg +0 -28
  737. package/__flow__/SpotIllustration/spotIllustrations/podium.svg +0 -13
  738. package/__flow__/SpotIllustration/spotIllustrations/pointer.svg +0 -4
  739. package/__flow__/SpotIllustration/spotIllustrations/publish-assets.svg +0 -15
  740. package/__flow__/SpotIllustration/spotIllustrations/publish-links.svg +0 -11
  741. package/__flow__/SpotIllustration/spotIllustrations/publishing.svg +0 -29
  742. package/__flow__/SpotIllustration/spotIllustrations/puzzle-piece.svg +0 -4
  743. package/__flow__/SpotIllustration/spotIllustrations/question-mark.svg +0 -11
  744. package/__flow__/SpotIllustration/spotIllustrations/reporting-folder.svg +0 -13
  745. package/__flow__/SpotIllustration/spotIllustrations/reporting.svg +0 -12
  746. package/__flow__/SpotIllustration/spotIllustrations/review-location.svg +0 -11
  747. package/__flow__/SpotIllustration/spotIllustrations/review.svg +0 -10
  748. package/__flow__/SpotIllustration/spotIllustrations/robot-assembly.svg +0 -12
  749. package/__flow__/SpotIllustration/spotIllustrations/robot-error.svg +0 -19
  750. package/__flow__/SpotIllustration/spotIllustrations/robot-happy.svg +0 -13
  751. package/__flow__/SpotIllustration/spotIllustrations/rocket.svg +0 -9
  752. package/__flow__/SpotIllustration/spotIllustrations/schedule-date.svg +0 -11
  753. package/__flow__/SpotIllustration/spotIllustrations/schedule-messages.svg +0 -10
  754. package/__flow__/SpotIllustration/spotIllustrations/search-keywords.svg +0 -9
  755. package/__flow__/SpotIllustration/spotIllustrations/search-success.svg +0 -8
  756. package/__flow__/SpotIllustration/spotIllustrations/search-trends.svg +0 -23
  757. package/__flow__/SpotIllustration/spotIllustrations/search.svg +0 -86
  758. package/__flow__/SpotIllustration/spotIllustrations/security.svg +0 -12
  759. package/__flow__/SpotIllustration/spotIllustrations/sentiment.svg +0 -12
  760. package/__flow__/SpotIllustration/spotIllustrations/shopping-bag.svg +0 -4
  761. package/__flow__/SpotIllustration/spotIllustrations/spark-line.svg +0 -11
  762. package/__flow__/SpotIllustration/spotIllustrations/stamp.svg +0 -9
  763. package/__flow__/SpotIllustration/spotIllustrations/storefront.svg +0 -10
  764. package/__flow__/SpotIllustration/spotIllustrations/success.svg +0 -9
  765. package/__flow__/SpotIllustration/spotIllustrations/tag-message.svg +0 -15
  766. package/__flow__/SpotIllustration/spotIllustrations/tag.svg +0 -6
  767. package/__flow__/SpotIllustration/spotIllustrations/team-roles.svg +0 -17
  768. package/__flow__/SpotIllustration/spotIllustrations/team.svg +0 -16
  769. package/__flow__/SpotIllustration/spotIllustrations/telescope.svg +0 -15
  770. package/__flow__/SpotIllustration/spotIllustrations/tha-mel.svg +0 -15
  771. package/__flow__/SpotIllustration/spotIllustrations/thumbs-up.svg +0 -11
  772. package/__flow__/SpotIllustration/spotIllustrations/toggle-switch.svg +0 -11
  773. package/__flow__/SpotIllustration/spotIllustrations/toolset-strength.svg +0 -13
  774. package/__flow__/SpotIllustration/spotIllustrations/tracking-time.svg +0 -6
  775. package/__flow__/SpotIllustration/spotIllustrations/twitter-messages.svg +0 -11
  776. package/__flow__/SpotIllustration/spotIllustrations/twitter-profiles.svg +0 -12
  777. package/__flow__/SpotIllustration/spotIllustrations/under-construction.svg +0 -12
  778. package/__flow__/SpotIllustration/spotIllustrations/unsubscribe.svg +0 -10
  779. package/__flow__/SpotIllustration/spotIllustrations/upward-trend.svg +0 -4
  780. package/__flow__/SpotIllustration/spotIllustrations/user-task.svg +0 -58
  781. package/__flow__/SpotIllustration/spotIllustrations/view-connections.svg +0 -13
  782. package/__flow__/SpotIllustration/spotIllustrations/vip-list.svg +0 -13
  783. package/__flow__/SpotIllustration/spotIllustrations/warning.svg +0 -4
  784. package/__flow__/SpotIllustration/spotIllustrations/wifi.svg +0 -6
  785. package/__flow__/SpotIllustration/spotIllustrations/workflow-steps.svg +0 -28
  786. package/__flow__/Stack/TypeSpaceLiterals.js +0 -13
  787. package/__flow__/Stack/index.stories.js +0 -91
  788. package/__flow__/Stack/index.test.js +0 -22
  789. package/__flow__/Switch/index.stories.js +0 -42
  790. package/__flow__/Switch/index.test.js +0 -44
  791. package/__flow__/Table/index.stories.js +0 -293
  792. package/__flow__/Table/index.test.js +0 -91
  793. package/__flow__/TableCell/index.stories.js +0 -33
  794. package/__flow__/TableCell/index.test.js +0 -20
  795. package/__flow__/TableHeaderCell/index.stories.js +0 -54
  796. package/__flow__/TableHeaderCell/index.test.js +0 -28
  797. package/__flow__/TableRowAccordion/index.stories.js +0 -129
  798. package/__flow__/TableRowAccordion/index.test.js +0 -82
  799. package/__flow__/Tabs/index.stories.js +0 -84
  800. package/__flow__/Tabs/index.test.js +0 -242
  801. package/__flow__/Text/index.stories.js +0 -132
  802. package/__flow__/Text/index.test.js +0 -49
  803. package/__flow__/Textarea/index.stories.js +0 -90
  804. package/__flow__/Textarea/index.test.js +0 -86
  805. package/__flow__/Toast/index.stories.js +0 -118
  806. package/__flow__/ToggleHint/index.test.js +0 -16
  807. package/__flow__/Token/index.stories.js +0 -89
  808. package/__flow__/Token/index.test.js +0 -75
  809. package/__flow__/TokenInput/index.stories.js +0 -242
  810. package/__flow__/TokenInput/tests/default/clicking.test.js +0 -38
  811. package/__flow__/TokenInput/tests/default/deleting.test.js +0 -101
  812. package/__flow__/TokenInput/tests/default/focusing.test.js +0 -39
  813. package/__flow__/TokenInput/tests/default/inputting.test.js +0 -57
  814. package/__flow__/TokenInput/tests/default/pasting.test.js +0 -216
  815. package/__flow__/TokenInput/tests/default/rendering.test.js +0 -140
  816. package/__flow__/Tooltip/index.stories.js +0 -175
  817. package/__flow__/Tooltip/index.test.js +0 -182
  818. package/__flow__/building-stories.stories.mdx +0 -121
  819. package/__flow__/code-guidelines.mdx +0 -244
  820. package/__flow__/dataviz/dataviz.stories.js +0 -13
  821. package/__flow__/overview.stories.js +0 -60
  822. package/__flow__/setupTests.js +0 -22
  823. package/__flow__/systemProps/tests/__snapshots__/background.test.js.snap +0 -96
  824. package/__flow__/systemProps/tests/__snapshots__/border.test.js.snap +0 -469
  825. package/__flow__/systemProps/tests/__snapshots__/color.test.js.snap +0 -55
  826. package/__flow__/systemProps/tests/__snapshots__/custom.test.js.snap +0 -36
  827. package/__flow__/systemProps/tests/__snapshots__/flexbox.test.js.snap +0 -239
  828. package/__flow__/systemProps/tests/__snapshots__/grid.test.js.snap +0 -166
  829. package/__flow__/systemProps/tests/__snapshots__/layout.test.js.snap +0 -204
  830. package/__flow__/systemProps/tests/__snapshots__/position.test.js.snap +0 -115
  831. package/__flow__/systemProps/tests/__snapshots__/shadow.test.js.snap +0 -25
  832. package/__flow__/systemProps/tests/__snapshots__/space.test.js.snap +0 -39
  833. package/__flow__/systemProps/tests/__snapshots__/typography.test.js.snap +0 -166
  834. package/__flow__/systemProps/tests/__snapshots__/variant.test.js.snap +0 -17
  835. package/__flow__/systemProps/tests/background.test.js +0 -90
  836. package/__flow__/systemProps/tests/border.test.js +0 -299
  837. package/__flow__/systemProps/tests/color.test.js +0 -49
  838. package/__flow__/systemProps/tests/custom.test.js +0 -38
  839. package/__flow__/systemProps/tests/flexbox.test.js +0 -150
  840. package/__flow__/systemProps/tests/grid.test.js +0 -123
  841. package/__flow__/systemProps/tests/layout.test.js +0 -126
  842. package/__flow__/systemProps/tests/position.test.js +0 -78
  843. package/__flow__/systemProps/tests/shadow.test.js +0 -30
  844. package/__flow__/systemProps/tests/space.test.js +0 -32
  845. package/__flow__/systemProps/tests/typography.test.js +0 -93
  846. package/__flow__/systemProps/tests/variant.test.js +0 -25
  847. package/__flow__/themes/extendedThemes/README.md +0 -6
  848. package/__flow__/themes/utils/_themed.scss +0 -119
  849. package/__flow__/utils/responsiveProps/index.test.js +0 -31
  850. package/__flow__/writing-good-stories.stories.mdx +0 -3
@@ -1,7 +1,7 @@
1
1
 
2
2
  import styled, { css } from 'styled-components';
3
- import { COMMON, LAYOUT } from "../utils/system-props";
4
3
  import { focusRing, disabled, pill } from "../utils/mixins";
4
+ import { COMMON, LAYOUT } from "../utils/system-props";
5
5
  import Icon from "../Icon/styles";
6
6
  var Container = styled.button.withConfig({
7
7
  displayName: "styles__Container",
@@ -0,0 +1,3 @@
1
+
2
+ import * as React from 'react';
3
+ import { Container } from "./styles";
@@ -1,7 +1,7 @@
1
1
 
2
2
  import styled from 'styled-components';
3
- import Button from "../Button";
4
3
  import Box from "../Box";
4
+ import Button from "../Button";
5
5
  var Container = styled(Box).withConfig({
6
6
  displayName: "styles__Container",
7
7
  componentId: "sc-p098yi-0"
File without changes
File without changes
@@ -3,9 +3,9 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  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; }
4
4
  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; }
5
5
  import * as React from 'react';
6
- import Container, { Label, Swatch } from "./styles";
7
- import Text from "../Text";
8
6
  import { THEME_MAP } from "../utils/chartColors";
7
+ import Text from "../Text";
8
+ import Container, { Label, Swatch } from "./styles";
9
9
  function getSwatchColor(theme, index) {
10
10
  return THEME_MAP[theme.toUpperCase()][index];
11
11
  }
@@ -30,9 +30,13 @@ var ChartLegend = function ChartLegend(props) {
30
30
  _props$theme = props.theme,
31
31
  theme = _props$theme === void 0 ? 'compare' : _props$theme,
32
32
  rest = _objectWithoutProperties(props, _excluded);
33
- return /*#__PURE__*/React.createElement(Container, _extends({
34
- inline: !stacked,
35
- "data-qa-chartlegend": ""
36
- }, props.qa, rest), getLabels(legendLabels, theme));
33
+ return (
34
+ /*#__PURE__*/
35
+ // $FlowIssue - upgrade v0.112.0
36
+ React.createElement(Container, _extends({
37
+ inline: !stacked,
38
+ "data-qa-chartlegend": ""
39
+ }, props.qa, rest), getLabels(legendLabels, theme))
40
+ );
37
41
  };
38
42
  export default ChartLegend;
File without changes
@@ -72,31 +72,34 @@ var Checkbox = /*#__PURE__*/function (_React$Component) {
72
72
 
73
73
  // TODO: Refactor pill checkboxes to use fewer elements for performance gains
74
74
  if (!isPill) {
75
- return /*#__PURE__*/React.createElement(CheckboxContainer, _extends({
76
- as: label && 'label',
77
- disabled: disabled,
78
- indeterminate: indeterminate,
79
- checked: checked
75
+ return (
76
+ /*#__PURE__*/
80
77
  // $FlowIssue - upgrade v0.112.0
81
- }, rest), /*#__PURE__*/React.createElement("input", _extends({
82
- type: "checkbox",
83
- id: id,
84
- "aria-label": ariaLabel,
85
- value: value,
86
- name: name,
87
- checked: checked,
88
- ref: function ref(el) {
89
- return _this2.el = el;
90
- },
91
- disabled: disabled,
92
- onChange: this.handleChange,
93
- "data-qa-checkbox": id,
94
- "data-qa-checkbox-ischecked": indeterminate ? 'indeterminate' : checked === true,
95
- "data-qa-checkbox-isdisabled": disabled === true,
96
- tabIndex: tabIndex
97
- }, qa, inputProps)), label && /*#__PURE__*/React.createElement(LabelText, _extends({}, labelProps, {
98
- disabled: disabled
99
- }), label));
78
+ React.createElement(CheckboxContainer, _extends({
79
+ as: label && 'label',
80
+ disabled: disabled,
81
+ indeterminate: indeterminate,
82
+ checked: checked
83
+ }, rest), /*#__PURE__*/React.createElement("input", _extends({
84
+ type: "checkbox",
85
+ id: id,
86
+ "aria-label": ariaLabel,
87
+ value: value,
88
+ name: name,
89
+ checked: checked,
90
+ ref: function ref(el) {
91
+ return _this2.el = el;
92
+ },
93
+ disabled: disabled,
94
+ onChange: this.handleChange,
95
+ "data-qa-checkbox": id,
96
+ "data-qa-checkbox-ischecked": indeterminate ? 'indeterminate' : checked === true,
97
+ "data-qa-checkbox-isdisabled": disabled === true,
98
+ tabIndex: tabIndex
99
+ }, qa, inputProps)), label && /*#__PURE__*/React.createElement(LabelText, _extends({}, labelProps, {
100
+ disabled: disabled
101
+ }), label))
102
+ );
100
103
  }
101
104
  return (
102
105
  /*#__PURE__*/
@@ -2,8 +2,8 @@
2
2
  import * as React from 'react';
3
3
  import { renderToStaticMarkup } from 'react-dom/server';
4
4
  import styled, { css } from 'styled-components';
5
- import { COMMON } from "../utils/system-props";
6
5
  import { focusRing, pill } from "../utils/mixins";
6
+ import { COMMON } from "../utils/system-props";
7
7
  import Box from "../Box";
8
8
  import Icon from "../Icon";
9
9
  import Text from "../Text";
@@ -0,0 +1,2 @@
1
+
2
+ import * as React from 'react';
@@ -14,9 +14,9 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
14
14
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
15
  import * as React from 'react';
16
16
  import { useState, useRef, useContext, useEffect } from 'react';
17
- import { CollapsingBox } from "./styles";
18
17
  import useMeasure from 'use-measure';
19
18
  import Box from "../Box";
19
+ import { CollapsingBox } from "./styles";
20
20
  var idCounter = 0;
21
21
  var CollapsibleContext = /*#__PURE__*/React.createContext({});
22
22
  var Collapsible = function Collapsible(_ref) {
File without changes
File without changes
@@ -40,12 +40,15 @@ export var StatefulDateRangePicker = function StatefulDateRangePicker(_ref) {
40
40
  // respond to click or keyboard events
41
41
  nextFocusedInput === null ? START_DATE : nextFocusedInput);
42
42
  };
43
- return /*#__PURE__*/React.createElement(DateRangePicker, _extends({
44
- startDate: dates.startDate,
45
- endDate: dates.endDate,
46
- focusedInput: focusedInput,
47
- onDatesChange: handleDatesChange,
48
- onFocusChange: handleFocusChange
43
+ return (
44
+ /*#__PURE__*/
49
45
  // $FlowIssue
50
- }, rest));
46
+ React.createElement(DateRangePicker, _extends({
47
+ startDate: dates.startDate,
48
+ endDate: dates.endDate,
49
+ focusedInput: focusedInput,
50
+ onDatesChange: handleDatesChange,
51
+ onFocusChange: handleFocusChange
52
+ }, rest))
53
+ );
51
54
  };
@@ -22,9 +22,12 @@ export var StatefulSingleDatePicker = function StatefulSingleDatePicker(_ref) {
22
22
  onDateChange && onDateChange(date);
23
23
  setDate(date);
24
24
  };
25
- return /*#__PURE__*/React.createElement(SingleDatePicker, _extends({
26
- date: stateDate,
27
- onDateChange: handleDateChange
25
+ return (
26
+ /*#__PURE__*/
28
27
  // $FlowIssue
29
- }, rest));
28
+ React.createElement(SingleDatePicker, _extends({
29
+ date: stateDate,
30
+ onDateChange: handleDateChange
31
+ }, rest))
32
+ );
30
33
  };
File without changes
@@ -1,9 +1,9 @@
1
1
 
2
2
  import 'react-dates/initialize';
3
+ import 'react-dates/lib/css/_datepicker.css';
3
4
  import React from 'react';
4
5
  import Icon from "../Icon";
5
6
  import { CalendarDay } from "./styles";
6
- import 'react-dates/lib/css/_datepicker.css';
7
7
  var iconNames = {
8
8
  left: 'arrow-left',
9
9
  right: 'arrow-right'
@@ -1,8 +1,9 @@
1
1
 
2
2
  import styled, { createGlobalStyle, css } from 'styled-components';
3
3
  import moment from 'moment';
4
- import Box from "../Box";
5
4
  import { disabled } from "../utils/mixins";
5
+ import Box from "../Box";
6
+
6
7
  /*
7
8
  * Partial list of modifiers given to renderDayContents by airbnb/react-dates. There may be more.
8
9
  *
@@ -0,0 +1,2 @@
1
+
2
+ import * as React from 'react';
@@ -11,15 +11,14 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
11
11
  import * as React from 'react';
12
12
  import { useContext, useEffect, useRef } from 'react';
13
13
  import FocusLock from 'react-focus-lock';
14
- import { SlideTransition } from "./SlideTransition";
15
- import Container, { Content } from "./styles";
16
14
  import { animated } from 'react-spring';
17
- import Portal from "../Portal";
18
15
  import Box from "../Box";
19
- import Text from "../Text";
20
16
  import Button from "../Button";
21
17
  import Icon from "../Icon";
22
-
18
+ import Text from "../Text";
19
+ import Portal from "../Portal";
20
+ import { SlideTransition } from "./SlideTransition";
21
+ import Container, { Content } from "./styles";
23
22
  // If ever we needed to make drawer width configurable, move this to a default prop
24
23
  var DRAWER_WIDTH = 600;
25
24
  var AnimatedDrawer = animated(Container);
@@ -59,20 +58,23 @@ var DrawerHeader = function DrawerHeader(_ref) {
59
58
  if (render) {
60
59
  return render(drawerContext);
61
60
  }
62
- return /*#__PURE__*/React.createElement(Box, _extends({
63
- display: "flex",
64
- flex: "0 0 auto",
65
- justifyContent: "space-between",
66
- alignItems: "center",
67
- pt: 400,
68
- px: 450
61
+ return (
62
+ /*#__PURE__*/
69
63
  // $FlowIssue - upgrade v0.112.0
70
- }, rest), children || /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
71
- as: "h2",
72
- fontSize: 400,
73
- fontWeight: "semibold",
74
- color: "text.headline"
75
- }, title), /*#__PURE__*/React.createElement(DrawerCloseButton, null)));
64
+ React.createElement(Box, _extends({
65
+ display: "flex",
66
+ flex: "0 0 auto",
67
+ justifyContent: "space-between",
68
+ alignItems: "center",
69
+ pt: 400,
70
+ px: 450
71
+ }, rest), children || /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
72
+ as: "h2",
73
+ fontSize: 400,
74
+ fontWeight: "semibold",
75
+ color: "text.headline"
76
+ }, title), /*#__PURE__*/React.createElement(DrawerCloseButton, null)))
77
+ );
76
78
  };
77
79
  var DrawerContent = function DrawerContent(_ref2) {
78
80
  var children = _ref2.children,
@@ -143,7 +145,6 @@ var Drawer = function Drawer(_ref3) {
143
145
  offset: offset,
144
146
  direction: direction,
145
147
  "data-qa-drawer": id
146
- // $FlowIssue - upgrade v0.112.0
147
148
  }, rest), children));
148
149
  };
149
150
  var DrawerContainer = function DrawerContainer(_ref4) {
@@ -178,7 +179,10 @@ var DrawerContainer = function DrawerContainer(_ref4) {
178
179
  var isVisible = _ref5.isVisible,
179
180
  style = _ref5.style,
180
181
  key = _ref5.key;
181
- return isVisible && /*#__PURE__*/React.createElement(Drawer, _extends({
182
+ return isVisible &&
183
+ /*#__PURE__*/
184
+ // $FlowIssue - upgrade v0.112.0
185
+ React.createElement(Drawer, _extends({
182
186
  key: key,
183
187
  id: id,
184
188
  style: _objectSpread(_objectSpread({}, style), {}, {
@@ -192,7 +196,6 @@ var DrawerContainer = function DrawerContainer(_ref4) {
192
196
  closeTargets: closeTargets,
193
197
  "data-qa-drawer": id || '',
194
198
  "data-qa-drawer-isopen": isOpen === true
195
- // $FlowIssue - upgrade v0.112.0
196
199
  }, rest), children);
197
200
  })));
198
201
  };
@@ -0,0 +1,2 @@
1
+
2
+ import * as React from 'react';
@@ -46,7 +46,7 @@ var EmptyState = function EmptyState(_ref) {
46
46
  }), secondaryAction && /*#__PURE__*/React.createElement(Box, {
47
47
  mt: 400
48
48
  }, /*#__PURE__*/React.cloneElement(secondaryAction, {
49
- appearance: 'default'
49
+ appearance: 'unstyled'
50
50
  })))))
51
51
  );
52
52
  };
@@ -0,0 +1,2 @@
1
+
2
+ import * as React from 'react';
@@ -0,0 +1,4 @@
1
+ 'no babel-plugin-flow-react-proptypes';
2
+
3
+ import * as React from 'react';
4
+ import Box from "../Box";
@@ -12,13 +12,11 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
12
12
  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; }
13
13
  import * as React from 'react';
14
14
  import { useState } from 'react';
15
-
16
- // Components
15
+ import { useTextContent } from "../utils/hooks";
17
16
  import Box from "../Box";
18
17
  import Label from "../Label";
19
18
  import Text from "../Text";
20
19
  import { VisuallyHidden } from "../VisuallyHidden";
21
- import { useTextContent } from "../utils/hooks";
22
20
  var idCounter = 0;
23
21
  var FormField = function FormField(_ref) {
24
22
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
+
1
2
  // In February of 2020, the Design Systems team renamed and consolidated some icons in an effort to introduce consistency in the naming of our icons. This object maps old, deprecated icon names to the "correct" name of the icon {"deprecated key": "correct icon name value"}
2
- export default {
3
+ export default Object.freeze({
3
4
  backtotop: 'back-to-top',
4
5
  'circle-check-filled': 'circle-check',
5
6
  'circle-check-no-fill': 'circle-check',
@@ -36,4 +37,4 @@ export default {
36
37
  'twitter-business-mention': 'search',
37
38
  'verified-nofill': 'verified',
38
39
  'window-maximize-solid': 'window-maximize'
39
- };
40
+ });
@@ -0,0 +1,3 @@
1
+
2
+
3
+ import deprecatedIcons from "./deprecatedIcons";
package/lib/Icon/index.js CHANGED
@@ -5,9 +5,9 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
  import * as React from 'react';
7
7
  import styled, { css } from 'styled-components';
8
+ import Box from "../Box";
8
9
  import iconViewBoxes from "../IconViewBoxes";
9
10
  import Container from "./styles";
10
- import Box from "../Box";
11
11
  import deprecatedIcons from "./deprecatedIcons";
12
12
  var Icon = function Icon(_ref) {
13
13
  var name = _ref.name,
@@ -17,23 +17,27 @@ var Icon = function Icon(_ref) {
17
17
  fixedWidth = _ref$fixedWidth === void 0 ? false : _ref$fixedWidth,
18
18
  ariaLabel = _ref.ariaLabel,
19
19
  rest = _objectWithoutProperties(_ref, _excluded);
20
+ // $FlowIssue
20
21
  var iconName = deprecatedIcons[name] || name;
21
22
  var iconViewBox = iconViewBoxes[iconName];
22
- return /*#__PURE__*/React.createElement(Container, _extends({
23
- iconSize: size,
24
- fixedWidth: !!fixedWidth,
25
- key: name,
26
- "aria-label": ariaLabel,
27
- "data-qa-icon": name
23
+ return (
24
+ /*#__PURE__*/
28
25
  // $FlowIssue - upgrade v0.112.0
29
- }, rest), /*#__PURE__*/React.createElement("svg", {
30
- className: "Icon-svg",
31
- viewBox: iconViewBox,
32
- focusable: false
33
- }, /*#__PURE__*/React.createElement("use", {
34
- xmlnsXlink: "http://www.w3.org/1999/xlink",
35
- xlinkHref: "#ssiconsvg-".concat(iconName)
36
- })));
26
+ React.createElement(Container, _extends({
27
+ iconSize: size,
28
+ fixedWidth: !!fixedWidth,
29
+ key: name,
30
+ "aria-label": ariaLabel,
31
+ "data-qa-icon": name
32
+ }, rest), /*#__PURE__*/React.createElement("svg", {
33
+ className: "Icon-svg",
34
+ viewBox: iconViewBox,
35
+ focusable: false
36
+ }, /*#__PURE__*/React.createElement("use", {
37
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
38
+ xlinkHref: "#ssiconsvg-".concat(iconName)
39
+ })))
40
+ );
37
41
  };
38
42
  var ToggleableIcon = styled(Icon).withConfig({
39
43
  displayName: "Icon__ToggleableIcon",
@@ -1,7 +1,7 @@
1
1
 
2
2
  import styled, { css } from 'styled-components';
3
- import { COMMON } from "../utils/system-props";
4
3
  import { verticalAlign } from 'styled-system';
4
+ import { COMMON } from "../utils/system-props";
5
5
  var sizes = {
6
6
  mini: '12px',
7
7
  /** TODO: deprecate default in favor of small in future release */
File without changes
@@ -85,20 +85,24 @@ var Image = /*#__PURE__*/function (_React$Component) {
85
85
  src = _this$props.src,
86
86
  qa = _this$props.qa,
87
87
  rest = _objectWithoutProperties(_this$props, _excluded);
88
- return /*#__PURE__*/React.createElement(ImageContainer, _extends({
89
- isLoading: !this.state.didLoad,
90
- ref: function ref(img) {
91
- return _this2.imageRef = img;
92
- },
93
- onClick: this.onClick,
94
- src: this.state.imageUrl,
95
- onError: this.onError,
96
- onLoad: this.onLoad,
97
- alt: alt,
98
- title: title,
99
- "data-qa-image": title ? title : alt ? alt : '',
100
- "data-qa-image-src": src || ''
101
- }, qa, rest));
88
+ return (
89
+ /*#__PURE__*/
90
+ // $FlowIssue - upgrade v0.112.0
91
+ React.createElement(ImageContainer, _extends({
92
+ isLoading: !this.state.didLoad,
93
+ ref: function ref(img) {
94
+ return _this2.imageRef = img;
95
+ },
96
+ onClick: this.onClick,
97
+ src: this.state.imageUrl,
98
+ onError: this.onError,
99
+ onLoad: this.onLoad,
100
+ alt: alt,
101
+ title: title,
102
+ "data-qa-image": title ? title : alt ? alt : '',
103
+ "data-qa-image-src": src || ''
104
+ }, qa, rest))
105
+ );
102
106
  }
103
107
  }]);
104
108
  return Image;
File without changes
@@ -30,16 +30,19 @@ var Indicator = /*#__PURE__*/function (_React$Component) {
30
30
  var _this$props = this.props,
31
31
  tooltip = _this$props.tooltip,
32
32
  rest = _objectWithoutProperties(_this$props, _excluded);
33
- return /*#__PURE__*/React.createElement(Container, _extends({
34
- "data-tip": tooltip,
35
- "data-qa-indicator": "",
36
- "aria-label": tooltip,
37
- tabIndex: 0
33
+ return (
34
+ /*#__PURE__*/
38
35
  // $FlowIssue - upgrade v0.112.0
39
- }, rest), tooltip && /*#__PURE__*/React.createElement("div", null, tooltip), /*#__PURE__*/React.createElement(Icon, {
40
- name: "indicator",
41
- size: "mini"
42
- }));
36
+ React.createElement(Container, _extends({
37
+ "data-tip": tooltip,
38
+ "data-qa-indicator": "",
39
+ "aria-label": tooltip,
40
+ tabIndex: 0
41
+ }, rest), tooltip && /*#__PURE__*/React.createElement("div", null, tooltip), /*#__PURE__*/React.createElement(Icon, {
42
+ name: "indicator",
43
+ size: "mini"
44
+ }))
45
+ );
43
46
  }
44
47
  }]);
45
48
  return Indicator;
@@ -1,7 +1,7 @@
1
1
 
2
2
  import styled from 'styled-components';
3
- import { COMMON } from "../utils/system-props";
4
3
  import { visuallyHidden } from "../utils/mixins";
4
+ import { COMMON } from "../utils/system-props";
5
5
  var Container = styled.span.attrs({
6
6
  className: 'Indicator'
7
7
  }).withConfig({
@@ -0,0 +1,2 @@
1
+
2
+ import * as React from 'react';