@sproutsocial/racine 19.0.1 → 20.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (915) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +5 -5
  3. package/__flow__/Avatar/Avatar.flow.js +1 -0
  4. package/__flow__/Avatar/constants.flow.js +11 -0
  5. package/__flow__/Avatar/index.flow.js +2 -1
  6. package/__flow__/EnumLogoNames.flow.js +1 -1
  7. package/__flow__/Icon/Icon.flow.js +5 -5
  8. package/__flow__/Icon/index.flow.js +2 -0
  9. package/__flow__/LogoViewBoxes.js +2 -4
  10. package/__flow__/Menu/Menu.flow.js +3 -0
  11. package/__flow__/Popout/Popout.flow.js +5 -0
  12. package/__flow__/index.flow.js +2 -3
  13. package/__flow__/types/theme.colors.flow.js +14 -0
  14. package/bin/racine-codemod.js +3 -5
  15. package/codemods/__tests__/icon-library.test.js +17 -2
  16. package/codemods/artifacts/deprecated-icon-map.json +38 -0
  17. package/codemods/artifacts/icon-map.json +343 -0
  18. package/codemods/codemod-docs.js +9 -3
  19. package/codemods/icon-library.js +17 -12
  20. package/codemods/icon-name-substitution.js +4 -5
  21. package/commonjs/Avatar/Avatar.flow.js +1 -1
  22. package/commonjs/Avatar/Avatar.js +54 -30
  23. package/commonjs/Avatar/constants.flow.js +17 -0
  24. package/commonjs/Avatar/constants.js +17 -0
  25. package/commonjs/Avatar/index.flow.js +12 -1
  26. package/commonjs/Avatar/index.js +9 -1
  27. package/commonjs/Badge/Badge.flow.js +1 -1
  28. package/commonjs/Badge/Badge.js +2 -2
  29. package/commonjs/Banner/Banner.flow.js +1 -1
  30. package/commonjs/Banner/Banner.js +9 -9
  31. package/commonjs/Banner/styles.js +1 -1
  32. package/commonjs/Box/Box.flow.js +1 -1
  33. package/commonjs/Box/Box.js +1 -1
  34. package/commonjs/Breadcrumb/Breadcrumb.flow.js +1 -1
  35. package/commonjs/Breadcrumb/Breadcrumb.js +4 -4
  36. package/commonjs/Button/Button.flow.js +1 -1
  37. package/commonjs/Button/styles.js +1 -1
  38. package/commonjs/Card/Card.flow.js +1 -1
  39. package/commonjs/Card/Card.js +3 -3
  40. package/commonjs/Card/CardTypes.flow.js +1 -1
  41. package/commonjs/Card/subComponents.js +3 -3
  42. package/commonjs/Card/utils.js +1 -1
  43. package/commonjs/CharacterCounter/CharacterCounter.flow.js +1 -1
  44. package/commonjs/CharacterCounter/CharacterCounter.js +1 -1
  45. package/commonjs/CharacterCounter/styles.js +1 -1
  46. package/commonjs/ChartLegend/ChartLegend.flow.js +1 -1
  47. package/commonjs/ChartLegend/ChartLegend.js +1 -1
  48. package/commonjs/ChartLegend/styles.js +1 -1
  49. package/commonjs/Checkbox/Checkbox.flow.js +1 -1
  50. package/commonjs/Checkbox/Checkbox.js +2 -2
  51. package/commonjs/Checkbox/styles.js +1 -1
  52. package/commonjs/Collapsible/Collapsible.flow.js +1 -1
  53. package/commonjs/Collapsible/Collapsible.js +5 -5
  54. package/commonjs/DatePicker/DateRangePicker/DateRangePicker.flow.js +1 -1
  55. package/commonjs/DatePicker/DateRangePicker/DateRangePicker.js +3 -3
  56. package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +1 -1
  57. package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.js +3 -3
  58. package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +1 -1
  59. package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.js +3 -3
  60. package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +1 -1
  61. package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +3 -3
  62. package/commonjs/DatePicker/common.js +2 -2
  63. package/commonjs/DatePicker/index.flow.js +1 -1
  64. package/commonjs/DatePicker/styles.js +1 -1
  65. package/commonjs/Drawer/Drawer.flow.js +1 -1
  66. package/commonjs/Drawer/Drawer.js +5 -5
  67. package/commonjs/Drawer/SlideTransition.js +1 -1
  68. package/commonjs/Drawer/styles.js +1 -1
  69. package/commonjs/EmptyState/EmptyState.flow.js +1 -1
  70. package/commonjs/EmptyState/EmptyState.js +2 -2
  71. package/commonjs/Fieldset/Fieldset.flow.js +1 -1
  72. package/commonjs/Fieldset/Fieldset.js +2 -2
  73. package/commonjs/Fieldset/styles.js +1 -1
  74. package/commonjs/FormField/FormField.flow.js +1 -1
  75. package/commonjs/FormField/FormField.js +3 -3
  76. package/commonjs/Icon/Icon.flow.js +1 -3
  77. package/commonjs/Icon/Icon.js +24 -13
  78. package/commonjs/Icon/index.flow.js +15 -2
  79. package/commonjs/Icon/styles.js +1 -1
  80. package/commonjs/Image/Image.flow.js +1 -1
  81. package/commonjs/Image/Image.js +1 -1
  82. package/commonjs/Image/styles.js +1 -1
  83. package/commonjs/Indicator/Indicator.flow.js +1 -1
  84. package/commonjs/Indicator/Indicator.js +2 -2
  85. package/commonjs/Input/Input.flow.js +1 -1
  86. package/commonjs/Input/Input.js +10 -6
  87. package/commonjs/Input/styles.js +1 -1
  88. package/commonjs/KeyboardKey/KeyboardKey.flow.js +1 -1
  89. package/commonjs/KeyboardKey/KeyboardKey.js +1 -1
  90. package/commonjs/Label/Label.flow.js +1 -1
  91. package/commonjs/Label/Label.js +1 -1
  92. package/commonjs/Link/Link.flow.js +1 -1
  93. package/commonjs/Link/Link.js +1 -1
  94. package/commonjs/Link/styles.js +1 -1
  95. package/commonjs/Listbox/Listbox.flow.js +1 -1
  96. package/commonjs/Listbox/Listbox.js +4 -4
  97. package/commonjs/Listbox/index.js +1 -1
  98. package/commonjs/Loader/Loader.flow.js +1 -1
  99. package/commonjs/Loader/Loader.js +1 -1
  100. package/commonjs/Loader/styles.js +1 -1
  101. package/commonjs/LoaderButton/LoaderButton.flow.js +1 -1
  102. package/commonjs/LoaderButton/LoaderButton.js +4 -5
  103. package/commonjs/LogoViewBoxes.js +2 -4
  104. package/commonjs/Menu/Menu.flow.js +1 -1
  105. package/commonjs/Menu/Menu.js +53 -32
  106. package/commonjs/Menu/index.js +1 -1
  107. package/commonjs/Menu/styles.js +1 -1
  108. package/commonjs/Menu/utils/descendants.js +12 -6
  109. package/commonjs/Menu/utils/hooks.js +8 -2
  110. package/commonjs/Menu/utils/index.js +0 -11
  111. package/commonjs/Message/Message.flow.js +1 -1
  112. package/commonjs/Message/Message.js +1 -1
  113. package/commonjs/Modal/Modal.flow.js +1 -1
  114. package/commonjs/Modal/Modal.js +2 -2
  115. package/commonjs/Modal/styles.js +1 -1
  116. package/commonjs/Numeral/Numeral.flow.js +1 -1
  117. package/commonjs/Numeral/Numeral.js +3 -3
  118. package/commonjs/PartnerLogo/PartnerLogo.flow.js +1 -1
  119. package/commonjs/PartnerLogo/styles.js +1 -1
  120. package/commonjs/Popout/Popout.flow.js +1 -1
  121. package/commonjs/Popout/Popout.js +15 -10
  122. package/commonjs/Portal/Portal.flow.js +1 -1
  123. package/commonjs/Portal/Portal.js +1 -1
  124. package/commonjs/Radio/Radio.flow.js +1 -1
  125. package/commonjs/Radio/Radio.js +1 -1
  126. package/commonjs/Radio/styles.js +1 -1
  127. package/commonjs/SegmentedControl/SegmentedControl.flow.js +1 -1
  128. package/commonjs/SegmentedControl/SegmentedControl.js +3 -3
  129. package/commonjs/SegmentedControl/styles.js +1 -1
  130. package/commonjs/Select/Select.flow.js +1 -1
  131. package/commonjs/Select/Select.js +3 -3
  132. package/commonjs/Select/styles.js +4 -5
  133. package/commonjs/SpotIllustration/SpotIllustration.flow.js +1 -1
  134. package/commonjs/SpotIllustration/SpotIllustration.js +2 -2
  135. package/commonjs/Stack/Stack.flow.js +1 -1
  136. package/commonjs/Stack/Stack.js +1 -1
  137. package/commonjs/StatefulStory.js +8 -2
  138. package/commonjs/Switch/Switch.flow.js +1 -1
  139. package/commonjs/Switch/Switch.js +2 -2
  140. package/commonjs/Switch/styles.js +1 -1
  141. package/commonjs/Table/Table.flow.js +1 -1
  142. package/commonjs/Table/Table.js +1 -1
  143. package/commonjs/TableCell/TableCell.flow.js +1 -1
  144. package/commonjs/TableCell/TableCell.js +1 -1
  145. package/commonjs/TableHeaderCell/TableHeaderCell.flow.js +1 -1
  146. package/commonjs/TableHeaderCell/TableHeaderCell.js +5 -4
  147. package/commonjs/TableHeaderCell/styles.js +1 -1
  148. package/commonjs/TableRowAccordion/TableRowAccordion.flow.js +1 -1
  149. package/commonjs/TableRowAccordion/TableRowAccordion.js +2 -2
  150. package/commonjs/TableRowAccordion/styles.js +1 -1
  151. package/commonjs/Tabs/Tabs.flow.js +1 -1
  152. package/commonjs/Tabs/Tabs.js +4 -4
  153. package/commonjs/Tabs/styles.js +1 -1
  154. package/commonjs/Text/Text.flow.js +1 -1
  155. package/commonjs/Text/Text.js +1 -1
  156. package/commonjs/Text/styles.js +1 -1
  157. package/commonjs/Textarea/Textarea.flow.js +1 -1
  158. package/commonjs/Textarea/Textarea.js +5 -2
  159. package/commonjs/Textarea/styles.js +1 -1
  160. package/commonjs/ThemeProvider/index.flow.js +1 -1
  161. package/commonjs/ThemeProvider/index.js +3 -1
  162. package/commonjs/Toast/Toast.flow.js +1 -1
  163. package/commonjs/Toast/Toast.js +6 -6
  164. package/commonjs/Toast/index.js +1 -1
  165. package/commonjs/Toast/styles.js +1 -2
  166. package/commonjs/ToggleHint/ToggleHint.flow.js +1 -1
  167. package/commonjs/ToggleHint/ToggleHint.js +3 -3
  168. package/commonjs/ToggleHint/styles.js +1 -1
  169. package/commonjs/Token/Token.flow.js +1 -1
  170. package/commonjs/Token/Token.js +3 -3
  171. package/commonjs/Token/index.js +1 -1
  172. package/commonjs/Token/styles.js +1 -1
  173. package/commonjs/TokenInput/TokenInput.flow.js +1 -1
  174. package/commonjs/TokenInput/TokenInput.js +4 -4
  175. package/commonjs/TokenInput/TokenScreenReaderStatus.js +4 -4
  176. package/commonjs/TokenInput/styles.js +1 -1
  177. package/commonjs/Tooltip/Tooltip.flow.js +1 -1
  178. package/commonjs/Tooltip/Tooltip.js +114 -44
  179. package/commonjs/VisuallyHidden/VisuallyHidden.flow.js +1 -1
  180. package/commonjs/index.flow.js +13 -9
  181. package/commonjs/index.js +0 -8
  182. package/commonjs/logoNames.js +1 -1
  183. package/commonjs/systemProps/background.flow.js +1 -0
  184. package/commonjs/systemProps/border.flow.js +1 -0
  185. package/commonjs/systemProps/color.flow.js +1 -0
  186. package/commonjs/systemProps/custom.flow.js +1 -0
  187. package/commonjs/systemProps/flexbox.flow.js +1 -0
  188. package/commonjs/systemProps/grid.flow.js +1 -0
  189. package/commonjs/systemProps/index.js +2 -0
  190. package/commonjs/systemProps/layout.flow.js +1 -0
  191. package/commonjs/systemProps/position.flow.js +1 -0
  192. package/commonjs/systemProps/shadow.flow.js +1 -0
  193. package/commonjs/systemProps/space.flow.js +16 -1
  194. package/commonjs/systemProps/typography.flow.js +1 -0
  195. package/commonjs/systemProps/variant.flow.js +1 -0
  196. package/commonjs/themes/dark/theme.js +19 -4
  197. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +5 -4
  198. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +5 -4
  199. package/commonjs/themes/light/theme.js +19 -4
  200. package/commonjs/types/shared.flow.js +1 -1
  201. package/commonjs/types/styled-components.flow.js +1 -1
  202. package/commonjs/utils/a11yTest.js +14 -16
  203. package/commonjs/utils/dataQaLabelQueries.js +2 -2
  204. package/commonjs/utils/hooks.flow.js +4 -2
  205. package/commonjs/utils/hooks.js +5 -5
  206. package/commonjs/utils/index.js +1 -1
  207. package/commonjs/utils/innerText.flow.js +1 -1
  208. package/commonjs/utils/mixins.js +1 -1
  209. package/commonjs/utils/react-testing-library.flow.js +1 -1
  210. package/commonjs/utils/react-testing-library.js +15 -13
  211. package/commonjs/utils/responsiveProps/index.js +2 -2
  212. package/commonjs/utils/system-props/system-props.js +1 -1
  213. package/commonjs/utils/use-measure.js +2 -2
  214. package/dist/logo.svg +1 -1
  215. package/dist/logoList.js +1 -1
  216. package/dist/themes/dark/theme.scss +13 -0
  217. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +13 -0
  218. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +13 -0
  219. package/dist/themes/light/theme.scss +13 -0
  220. package/dist/types/Avatar/Avatar.d.ts +4 -3
  221. package/dist/types/Avatar/Avatar.d.ts.map +1 -1
  222. package/dist/types/Avatar/AvatarTypes.d.ts +5 -2
  223. package/dist/types/Avatar/AvatarTypes.d.ts.map +1 -1
  224. package/dist/types/Avatar/constants.d.ts +11 -0
  225. package/dist/types/Avatar/constants.d.ts.map +1 -0
  226. package/dist/types/Avatar/index.d.ts +1 -0
  227. package/dist/types/Avatar/index.d.ts.map +1 -1
  228. package/dist/types/Badge/Badge.d.ts +2 -2
  229. package/dist/types/Badge/Badge.d.ts.map +1 -1
  230. package/dist/types/Badge/BadgeTypes.d.ts +2 -2
  231. package/dist/types/Badge/BadgeTypes.d.ts.map +1 -1
  232. package/dist/types/Banner/Banner.d.ts +2 -2
  233. package/dist/types/Banner/Banner.d.ts.map +1 -1
  234. package/dist/types/Banner/BannerTypes.d.ts +1 -1
  235. package/dist/types/Banner/BannerTypes.d.ts.map +1 -1
  236. package/dist/types/Banner/styles.d.ts +3 -3
  237. package/dist/types/Banner/styles.d.ts.map +1 -1
  238. package/dist/types/Breadcrumb/Breadcrumb.d.ts +3 -3
  239. package/dist/types/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  240. package/dist/types/Button/Button.d.ts +2 -2
  241. package/dist/types/Button/Button.d.ts.map +1 -1
  242. package/dist/types/Button/ButtonTypes.d.ts +1 -1
  243. package/dist/types/Button/ButtonTypes.d.ts.map +1 -1
  244. package/dist/types/Card/Card.d.ts +2 -2
  245. package/dist/types/Card/Card.d.ts.map +1 -1
  246. package/dist/types/Card/CardTypes.d.ts +5 -5
  247. package/dist/types/Card/CardTypes.d.ts.map +1 -1
  248. package/dist/types/Card/styles.d.ts +4 -4
  249. package/dist/types/Card/subComponents.d.ts +6 -6
  250. package/dist/types/Card/subComponents.d.ts.map +1 -1
  251. package/dist/types/CharacterCounter/CharacterCounter.d.ts +1 -1
  252. package/dist/types/ChartLegend/ChartLegend.d.ts +2 -2
  253. package/dist/types/ChartLegend/ChartLegend.d.ts.map +1 -1
  254. package/dist/types/ChartLegend/ChartLegendTypes.d.ts +1 -1
  255. package/dist/types/ChartLegend/ChartLegendTypes.d.ts.map +1 -1
  256. package/dist/types/ChartLegend/useChartLabels.d.ts +2 -2
  257. package/dist/types/ChartLegend/useChartLabels.d.ts.map +1 -1
  258. package/dist/types/Checkbox/Checkbox.d.ts +1 -1
  259. package/dist/types/Checkbox/styles.d.ts +3 -3
  260. package/dist/types/Collapsible/Collapsible.d.ts +4 -4
  261. package/dist/types/Collapsible/Collapsible.d.ts.map +1 -1
  262. package/dist/types/DatePicker/DateRangePicker/DateRangePicker.d.ts +2 -2
  263. package/dist/types/DatePicker/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  264. package/dist/types/DatePicker/DateRangePicker/DateRangePickerTypes.d.ts +1 -1
  265. package/dist/types/DatePicker/DateRangePicker/DateRangePickerTypes.d.ts.map +1 -1
  266. package/dist/types/DatePicker/DateRangePicker/StatefulDateRangePicker.d.ts +2 -2
  267. package/dist/types/DatePicker/DateRangePicker/StatefulDateRangePicker.d.ts.map +1 -1
  268. package/dist/types/DatePicker/SingleDatePicker/StatefulSingleDatePicker.d.ts +2 -2
  269. package/dist/types/DatePicker/SingleDatePicker/StatefulSingleDatePicker.d.ts.map +1 -1
  270. package/dist/types/DatePicker/common.d.ts +6 -4
  271. package/dist/types/DatePicker/common.d.ts.map +1 -1
  272. package/dist/types/Drawer/Drawer.d.ts +2 -2
  273. package/dist/types/Drawer/SlideTransition.d.ts +2 -2
  274. package/dist/types/Drawer/SlideTransition.d.ts.map +1 -1
  275. package/dist/types/EmptyState/EmptyState.d.ts +2 -2
  276. package/dist/types/EmptyState/EmptyState.d.ts.map +1 -1
  277. package/dist/types/EnumIllustrationNames.d.ts +1 -1
  278. package/dist/types/EnumIllustrationNames.d.ts.map +1 -1
  279. package/dist/types/EnumLogoNames.d.ts +1 -1
  280. package/dist/types/EnumLogoNames.d.ts.map +1 -1
  281. package/dist/types/Fieldset/Fieldset.d.ts +4 -4
  282. package/dist/types/Fieldset/Fieldset.d.ts.map +1 -1
  283. package/dist/types/FormField/FormField.d.ts +2 -2
  284. package/dist/types/FormField/FormField.d.ts.map +1 -1
  285. package/dist/types/Icon/Icon.d.ts +5 -5
  286. package/dist/types/Icon/Icon.d.ts.map +1 -1
  287. package/dist/types/Icon/IconTypes.d.ts +6 -8
  288. package/dist/types/Icon/IconTypes.d.ts.map +1 -1
  289. package/dist/types/Image/Image.d.ts +2 -2
  290. package/dist/types/Image/Image.d.ts.map +1 -1
  291. package/dist/types/Indicator/Indicator.d.ts +1 -1
  292. package/dist/types/Input/Input.d.ts +2 -2
  293. package/dist/types/KeyboardKey/KeyboardKey.d.ts +1 -1
  294. package/dist/types/Label/Label.d.ts +1 -1
  295. package/dist/types/Link/Link.d.ts +2 -2
  296. package/dist/types/Link/Link.d.ts.map +1 -1
  297. package/dist/types/Link/styles.d.ts +1 -1
  298. package/dist/types/Listbox/Listbox.d.ts +11 -11
  299. package/dist/types/Listbox/Listbox.d.ts.map +1 -1
  300. package/dist/types/Loader/Loader.d.ts +1 -1
  301. package/dist/types/LoaderButton/LoaderButton.d.ts +2 -2
  302. package/dist/types/LoaderButton/LoaderButton.d.ts.map +1 -1
  303. package/dist/types/Menu/Menu.d.ts +14 -14
  304. package/dist/types/Menu/Menu.d.ts.map +1 -1
  305. package/dist/types/Menu/MenuTypes.d.ts +4 -2
  306. package/dist/types/Menu/MenuTypes.d.ts.map +1 -1
  307. package/dist/types/Menu/utils/descendants.d.ts +3 -3
  308. package/dist/types/Menu/utils/descendants.d.ts.map +1 -1
  309. package/dist/types/Menu/utils/hooks.d.ts +1 -1
  310. package/dist/types/Menu/utils/hooks.d.ts.map +1 -1
  311. package/dist/types/Menu/utils/index.d.ts +0 -1
  312. package/dist/types/Menu/utils/index.d.ts.map +1 -1
  313. package/dist/types/Message/Message.d.ts +8 -8
  314. package/dist/types/Message/MessageTypes.d.ts +2 -2
  315. package/dist/types/Message/MessageTypes.d.ts.map +1 -1
  316. package/dist/types/Modal/Modal.d.ts +4 -4
  317. package/dist/types/Modal/styles.d.ts +1 -1
  318. package/dist/types/Modal/styles.d.ts.map +1 -1
  319. package/dist/types/Numeral/Numeral.d.ts +2 -2
  320. package/dist/types/Numeral/Numeral.d.ts.map +1 -1
  321. package/dist/types/Numeral/NumeralTypes.d.ts +1 -1
  322. package/dist/types/Numeral/NumeralTypes.d.ts.map +1 -1
  323. package/dist/types/Numeral/styles.d.ts +2 -2
  324. package/dist/types/PartnerLogo/PartnerLogo.d.ts +2 -2
  325. package/dist/types/PartnerLogo/PartnerLogo.d.ts.map +1 -1
  326. package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts +4 -4
  327. package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts.map +1 -1
  328. package/dist/types/Popout/Popout.d.ts +3 -3
  329. package/dist/types/Popout/Popout.d.ts.map +1 -1
  330. package/dist/types/Popout/PopoutTypes.d.ts +5 -1
  331. package/dist/types/Popout/PopoutTypes.d.ts.map +1 -1
  332. package/dist/types/Radio/Radio.d.ts +1 -1
  333. package/dist/types/Radio/styles.d.ts +1 -1
  334. package/dist/types/SegmentedControl/SegmentedControl.d.ts +3 -3
  335. package/dist/types/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  336. package/dist/types/SegmentedControl/styles.d.ts +1 -1
  337. package/dist/types/Select/Select.d.ts +1 -1
  338. package/dist/types/Select/styles.d.ts.map +1 -1
  339. package/dist/types/SpotIllustration/SpotIllustration.d.ts +2 -2
  340. package/dist/types/SpotIllustration/SpotIllustration.d.ts.map +1 -1
  341. package/dist/types/Stack/Stack.d.ts +2 -2
  342. package/dist/types/Stack/Stack.d.ts.map +1 -1
  343. package/dist/types/Stack/StackTypes.d.ts +3 -3
  344. package/dist/types/Stack/StackTypes.d.ts.map +1 -1
  345. package/dist/types/Switch/Switch.d.ts +2 -2
  346. package/dist/types/Switch/Switch.d.ts.map +1 -1
  347. package/dist/types/Table/Table.d.ts +8 -8
  348. package/dist/types/Table/Table.d.ts.map +1 -1
  349. package/dist/types/TableCell/TableCell.d.ts +1 -1
  350. package/dist/types/TableHeaderCell/TableHeaderCell.d.ts +2 -2
  351. package/dist/types/TableHeaderCell/TableHeaderCell.d.ts.map +1 -1
  352. package/dist/types/TableHeaderCell/TableHeaderCellTypes.d.ts +1 -1
  353. package/dist/types/TableHeaderCell/TableHeaderCellTypes.d.ts.map +1 -1
  354. package/dist/types/TableRowAccordion/TableRowAccordion.d.ts +1 -1
  355. package/dist/types/TableRowAccordion/TableRowAccordion.d.ts.map +1 -1
  356. package/dist/types/Tabs/Tabs.d.ts +2 -2
  357. package/dist/types/Tabs/Tabs.d.ts.map +1 -1
  358. package/dist/types/Tabs/styles.d.ts +2 -2
  359. package/dist/types/Tabs/styles.d.ts.map +1 -1
  360. package/dist/types/Text/Text.d.ts +2 -2
  361. package/dist/types/Text/Text.d.ts.map +1 -1
  362. package/dist/types/Textarea/Textarea.d.ts +2 -2
  363. package/dist/types/Textarea/Textarea.d.ts.map +1 -1
  364. package/dist/types/Textarea/TextareaTypes.d.ts +1 -1
  365. package/dist/types/Textarea/TextareaTypes.d.ts.map +1 -1
  366. package/dist/types/ThemeProvider/index.d.ts +3 -3
  367. package/dist/types/ThemeProvider/index.d.ts.map +1 -1
  368. package/dist/types/Toast/Toast.d.ts +2 -2
  369. package/dist/types/Toast/Toast.d.ts.map +1 -1
  370. package/dist/types/Toast/ToastTypes.d.ts +1 -1
  371. package/dist/types/Toast/ToastTypes.d.ts.map +1 -1
  372. package/dist/types/Toast/styles.d.ts +2 -2
  373. package/dist/types/ToggleHint/ToggleHint.d.ts +2 -2
  374. package/dist/types/ToggleHint/ToggleHint.d.ts.map +1 -1
  375. package/dist/types/Token/Token.d.ts +2 -2
  376. package/dist/types/Token/Token.d.ts.map +1 -1
  377. package/dist/types/TokenInput/TokenInput.d.ts +2 -2
  378. package/dist/types/TokenInput/TokenInput.d.ts.map +1 -1
  379. package/dist/types/TokenInput/TokenInputTypes.d.ts +1 -1
  380. package/dist/types/TokenInput/TokenInputTypes.d.ts.map +1 -1
  381. package/dist/types/Tooltip/Tooltip.d.ts +2 -2
  382. package/dist/types/Tooltip/Tooltip.d.ts.map +1 -1
  383. package/dist/types/Tooltip/TooltipTypes.d.ts +2 -0
  384. package/dist/types/Tooltip/TooltipTypes.d.ts.map +1 -1
  385. package/dist/types/index.d.ts +1 -2
  386. package/dist/types/index.d.ts.map +1 -1
  387. package/dist/types/logoNames.d.ts +1 -1
  388. package/dist/types/logoNames.d.ts.map +1 -1
  389. package/dist/types/themes/dark/theme.d.ts +13 -0
  390. package/dist/types/themes/dark/theme.d.ts.map +1 -1
  391. package/dist/types/themes/light/theme.d.ts +14 -1
  392. package/dist/types/themes/light/theme.d.ts.map +1 -1
  393. package/dist/types/types/shared.d.ts +3 -3
  394. package/dist/types/types/shared.d.ts.map +1 -1
  395. package/dist/types/types/system-props.d.ts +3 -3
  396. package/dist/types/types/system-props.d.ts.map +1 -1
  397. package/dist/types/types/theme.colors.d.ts +28 -15
  398. package/dist/types/types/theme.colors.d.ts.map +1 -1
  399. package/dist/types/types/theme.d.ts +13 -13
  400. package/dist/types/types/theme.d.ts.map +1 -1
  401. package/dist/types/utils/dataQaLabelQueries.d.ts +2 -2
  402. package/dist/types/utils/dataQaLabelQueries.d.ts.map +1 -1
  403. package/dist/types/utils/hooks.d.ts +6 -6
  404. package/dist/types/utils/hooks.d.ts.map +1 -1
  405. package/dist/types/utils/index.d.ts +1 -1
  406. package/dist/types/utils/index.d.ts.map +1 -1
  407. package/dist/types/utils/react-testing-library.d.ts +3 -123
  408. package/dist/types/utils/react-testing-library.d.ts.map +1 -1
  409. package/lib/Avatar/Avatar.js +51 -28
  410. package/lib/Avatar/constants.flow.js +10 -0
  411. package/lib/Avatar/constants.js +10 -0
  412. package/lib/Avatar/index.flow.js +2 -1
  413. package/lib/Avatar/index.js +2 -1
  414. package/lib/Badge/Badge.js +1 -1
  415. package/lib/Banner/Banner.js +8 -8
  416. package/lib/Breadcrumb/Breadcrumb.js +4 -4
  417. package/lib/Card/Card.js +2 -2
  418. package/lib/Card/subComponents.js +2 -2
  419. package/lib/Card/utils.js +1 -1
  420. package/lib/CharacterCounter/CharacterCounter.js +1 -1
  421. package/lib/Checkbox/Checkbox.js +2 -2
  422. package/lib/Collapsible/Collapsible.js +5 -5
  423. package/lib/DatePicker/DateRangePicker/DateRangePicker.js +2 -2
  424. package/lib/DatePicker/DateRangePicker/StatefulDateRangePicker.js +2 -2
  425. package/lib/DatePicker/SingleDatePicker/SingleDatePicker.js +2 -2
  426. package/lib/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +2 -2
  427. package/lib/DatePicker/common.js +2 -2
  428. package/lib/Drawer/Drawer.js +4 -4
  429. package/lib/FormField/FormField.js +2 -2
  430. package/lib/Icon/Icon.flow.js +2 -1
  431. package/lib/Icon/Icon.js +24 -15
  432. package/lib/Icon/index.flow.js +2 -0
  433. package/lib/Image/Image.js +1 -1
  434. package/lib/Indicator/Indicator.js +2 -2
  435. package/lib/Input/Input.js +11 -6
  436. package/lib/KeyboardKey/KeyboardKey.js +1 -1
  437. package/lib/Label/Label.js +1 -1
  438. package/lib/Listbox/Listbox.js +4 -4
  439. package/lib/Loader/Loader.js +1 -1
  440. package/lib/LoaderButton/LoaderButton.js +3 -4
  441. package/lib/LogoViewBoxes.js +2 -4
  442. package/lib/Menu/Menu.js +53 -32
  443. package/lib/Menu/utils/descendants.js +5 -5
  444. package/lib/Menu/utils/hooks.js +8 -2
  445. package/lib/Menu/utils/index.js +1 -2
  446. package/lib/Modal/Modal.js +1 -1
  447. package/lib/Numeral/Numeral.js +2 -2
  448. package/lib/PartnerLogo/PartnerLogo.flow.js +5 -1
  449. package/lib/Popout/Popout.flow.js +3 -1
  450. package/lib/Popout/Popout.js +15 -10
  451. package/lib/Portal/Portal.js +1 -1
  452. package/lib/Radio/Radio.js +1 -1
  453. package/lib/SegmentedControl/SegmentedControl.js +2 -2
  454. package/lib/Select/Select.js +3 -3
  455. package/lib/Select/styles.js +3 -4
  456. package/lib/StatefulStory.js +2 -2
  457. package/lib/Switch/Switch.js +1 -1
  458. package/lib/TableCell/TableCell.flow.js +5 -1
  459. package/lib/TableCell/TableCell.js +1 -1
  460. package/lib/TableHeaderCell/TableHeaderCell.js +5 -4
  461. package/lib/TableRowAccordion/TableRowAccordion.js +2 -2
  462. package/lib/Tabs/Tabs.js +4 -4
  463. package/lib/Textarea/Textarea.js +5 -1
  464. package/lib/ThemeProvider/index.flow.js +3 -1
  465. package/lib/ThemeProvider/index.js +3 -0
  466. package/lib/Toast/Toast.js +5 -5
  467. package/lib/ToggleHint/ToggleHint.js +3 -3
  468. package/lib/Token/Token.js +2 -2
  469. package/lib/TokenInput/TokenInput.js +4 -4
  470. package/lib/TokenInput/TokenScreenReaderStatus.js +2 -2
  471. package/lib/Tooltip/Tooltip.js +114 -44
  472. package/lib/index.flow.js +1 -1
  473. package/lib/index.js +0 -1
  474. package/lib/logoNames.js +1 -1
  475. package/lib/systemProps/background.flow.js +3 -0
  476. package/lib/systemProps/border.flow.js +3 -0
  477. package/lib/systemProps/color.flow.js +3 -0
  478. package/lib/systemProps/custom.flow.js +3 -0
  479. package/lib/systemProps/flexbox.flow.js +3 -0
  480. package/lib/systemProps/grid.flow.js +3 -0
  481. package/lib/systemProps/index.js +7 -1
  482. package/lib/systemProps/layout.flow.js +3 -0
  483. package/lib/systemProps/position.flow.js +3 -0
  484. package/lib/systemProps/shadow.flow.js +3 -0
  485. package/lib/systemProps/space.flow.js +16 -0
  486. package/lib/systemProps/typography.flow.js +3 -0
  487. package/lib/systemProps/variant.flow.js +3 -0
  488. package/lib/themes/dark/theme.js +16 -3
  489. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +3 -3
  490. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +3 -3
  491. package/lib/themes/light/theme.js +16 -4
  492. package/lib/utils/a11yTest.js +13 -15
  493. package/lib/utils/dataQaLabelQueries.js +2 -2
  494. package/lib/utils/hooks.flow.js +2 -3
  495. package/lib/utils/hooks.js +5 -5
  496. package/lib/utils/index.js +1 -1
  497. package/lib/utils/mixins.js +1 -1
  498. package/lib/utils/react-testing-library.js +15 -13
  499. package/lib/utils/responsiveProps/index.js +2 -2
  500. package/lib/utils/use-measure.js +2 -2
  501. package/package.json +49 -42
  502. package/__flow__/EnumIconNames.flow.js +0 -2
  503. package/__flow__/Icon/deprecatedIcons.flow.js +0 -40
  504. package/__flow__/IconViewBoxes.js +0 -387
  505. package/commonjs/EnumIconNames.flow.js +0 -1
  506. package/commonjs/EnumIconNames.js +0 -5
  507. package/commonjs/Icon/deprecatedIcons.flow.js +0 -46
  508. package/commonjs/Icon/deprecatedIcons.js +0 -46
  509. package/commonjs/IconViewBoxes.d.js +0 -5
  510. package/commonjs/IconViewBoxes.js +0 -389
  511. package/commonjs/Menu/utils/names.js +0 -8
  512. package/commonjs/iconNames.js +0 -8
  513. package/dist/icon.svg +0 -1
  514. package/dist/iconList.js +0 -1
  515. package/dist/types/EnumIconNames.d.ts +0 -2
  516. package/dist/types/EnumIconNames.d.ts.map +0 -1
  517. package/dist/types/Icon/deprecatedIcons.d.ts +0 -40
  518. package/dist/types/Icon/deprecatedIcons.d.ts.map +0 -1
  519. package/dist/types/Menu/utils/names.d.ts +0 -2
  520. package/dist/types/Menu/utils/names.d.ts.map +0 -1
  521. package/dist/types/iconNames.d.ts +0 -3
  522. package/dist/types/iconNames.d.ts.map +0 -1
  523. package/icons/active-listener.svg +0 -3
  524. package/icons/add-item.svg +0 -3
  525. package/icons/add-keyword.svg +0 -3
  526. package/icons/add-team-member.svg +0 -3
  527. package/icons/add-variable.svg +0 -3
  528. package/icons/address-card-outline.svg +0 -3
  529. package/icons/address-card-solid.svg +0 -3
  530. package/icons/adobe-experience-manager.svg +0 -3
  531. package/icons/ads.svg +0 -3
  532. package/icons/advocacy-outline.svg +0 -5
  533. package/icons/advocacy.svg +0 -3
  534. package/icons/android.svg +0 -3
  535. package/icons/apple.svg +0 -3
  536. package/icons/approval-indicator-outline.svg +0 -3
  537. package/icons/approval-indicator.svg +0 -3
  538. package/icons/archive.svg +0 -3
  539. package/icons/arrow-down-line.svg +0 -3
  540. package/icons/arrow-down.svg +0 -3
  541. package/icons/arrow-left-line.svg +0 -3
  542. package/icons/arrow-left.svg +0 -3
  543. package/icons/arrow-right-line.svg +0 -3
  544. package/icons/arrow-right.svg +0 -3
  545. package/icons/arrow-up-line.svg +0 -3
  546. package/icons/arrow-up.svg +0 -3
  547. package/icons/arrows.svg +0 -3
  548. package/icons/asset-library-outline.svg +0 -3
  549. package/icons/asset-library.svg +0 -3
  550. package/icons/assign.svg +0 -3
  551. package/icons/atom.svg +0 -3
  552. package/icons/audio.svg +0 -3
  553. package/icons/back-to-top.svg +0 -3
  554. package/icons/bambu-icon-outline.svg +0 -3
  555. package/icons/bambu-icon.svg +0 -3
  556. package/icons/barcode.svg +0 -3
  557. package/icons/basketball.svg +0 -3
  558. package/icons/bell-outline.svg +0 -3
  559. package/icons/bigcommerce.svg +0 -3
  560. package/icons/bitly.svg +0 -3
  561. package/icons/bold.svg +0 -3
  562. package/icons/book.svg +0 -3
  563. package/icons/bookmark.svg +0 -3
  564. package/icons/bot.svg +0 -3
  565. package/icons/browser.svg +0 -3
  566. package/icons/business.svg +0 -3
  567. package/icons/calendar-outline.svg +0 -3
  568. package/icons/calendar.svg +0 -3
  569. package/icons/camera-outline.svg +0 -3
  570. package/icons/camera-story.svg +0 -3
  571. package/icons/camera.svg +0 -3
  572. package/icons/campaign.svg +0 -3
  573. package/icons/canva.svg +0 -3
  574. package/icons/carousel.svg +0 -3
  575. package/icons/cart-plus-outline.svg +0 -3
  576. package/icons/cart-plus.svg +0 -3
  577. package/icons/check.svg +0 -3
  578. package/icons/chevron-down-filled.svg +0 -3
  579. package/icons/chevron-down.svg +0 -3
  580. package/icons/chevron-left.svg +0 -3
  581. package/icons/chevron-right.svg +0 -3
  582. package/icons/chevron-up-down-filled.svg +0 -3
  583. package/icons/chevron-up-filled.svg +0 -3
  584. package/icons/chevron-up.svg +0 -3
  585. package/icons/circle+.svg +0 -3
  586. package/icons/circle-check-outline.svg +0 -3
  587. package/icons/circle-check.svg +0 -3
  588. package/icons/circle.svg +0 -3
  589. package/icons/circles.svg +0 -3
  590. package/icons/circlex.svg +0 -3
  591. package/icons/click-to-view.svg +0 -3
  592. package/icons/clicks.svg +0 -3
  593. package/icons/clipboard-outline.svg +0 -3
  594. package/icons/clipboard.svg +0 -3
  595. package/icons/clock.svg +0 -3
  596. package/icons/closed-captioning.svg +0 -3
  597. package/icons/cloud.svg +0 -3
  598. package/icons/code.svg +0 -3
  599. package/icons/columns.svg +0 -3
  600. package/icons/comment-ai-outline.svg +0 -5
  601. package/icons/comment-ai.svg +0 -4
  602. package/icons/comment-alt-outline.svg +0 -3
  603. package/icons/comment-alt.svg +0 -3
  604. package/icons/comment-lines-alt-outline.svg +0 -3
  605. package/icons/comment.svg +0 -3
  606. package/icons/compact-density.svg +0 -3
  607. package/icons/compact-indicator.svg +0 -3
  608. package/icons/comparison.svg +0 -3
  609. package/icons/competitor.svg +0 -3
  610. package/icons/compose.svg +0 -3
  611. package/icons/content-suggestions.svg +0 -3
  612. package/icons/credit-card.svg +0 -3
  613. package/icons/crop.svg +0 -3
  614. package/icons/crown.svg +0 -3
  615. package/icons/dashboard.svg +0 -3
  616. package/icons/deconstructed-negative-sentiment.svg +0 -3
  617. package/icons/deconstructed-neutral-sentiment.svg +0 -3
  618. package/icons/deconstructed-positive-sentiment.svg +0 -3
  619. package/icons/discovery.svg +0 -3
  620. package/icons/dislike-outline.svg +0 -3
  621. package/icons/dislike.svg +0 -3
  622. package/icons/dm-link-outline.svg +0 -3
  623. package/icons/dm-link.svg +0 -3
  624. package/icons/dotdotdot.svg +0 -3
  625. package/icons/download.svg +0 -3
  626. package/icons/drafts-outline.svg +0 -3
  627. package/icons/drafts.svg +0 -3
  628. package/icons/dropbox.svg +0 -3
  629. package/icons/duplicate-outline.svg +0 -3
  630. package/icons/duplicate.svg +0 -3
  631. package/icons/emoji-outline.svg +0 -3
  632. package/icons/emoji.svg +0 -3
  633. package/icons/empty-image.svg +0 -3
  634. package/icons/engagement-per-post.svg +0 -3
  635. package/icons/engagements.svg +0 -3
  636. package/icons/error.svg +0 -3
  637. package/icons/exchange-alt.svg +0 -3
  638. package/icons/expanded-indicator.svg +0 -3
  639. package/icons/export.svg +0 -3
  640. package/icons/extended-circles.svg +0 -3
  641. package/icons/external-link-alt.svg +0 -3
  642. package/icons/external-link.svg +0 -3
  643. package/icons/extreme-negative-sentiment.svg +0 -12
  644. package/icons/eye-outline.svg +0 -3
  645. package/icons/eye-slash-outline.svg +0 -3
  646. package/icons/eye-slash.svg +0 -3
  647. package/icons/eye.svg +0 -3
  648. package/icons/facebook-audience-network.svg +0 -3
  649. package/icons/facebook-branded-content-outline.svg +0 -3
  650. package/icons/facebook-branded-content.svg +0 -3
  651. package/icons/facebook-groups.svg +0 -3
  652. package/icons/facebook.svg +0 -3
  653. package/icons/fb-reactions-angry.svg +0 -19
  654. package/icons/fb-reactions-haha.svg +0 -13
  655. package/icons/fb-reactions-like.svg +0 -11
  656. package/icons/fb-reactions-love.svg +0 -11
  657. package/icons/fb-reactions-sad.svg +0 -12
  658. package/icons/fb-reactions-wow.svg +0 -11
  659. package/icons/feedly.svg +0 -3
  660. package/icons/feeds.svg +0 -3
  661. package/icons/female.svg +0 -3
  662. package/icons/file-chart-line.svg +0 -3
  663. package/icons/file-edit.svg +0 -3
  664. package/icons/file-times-solid.svg +0 -3
  665. package/icons/filter.svg +0 -3
  666. package/icons/flag-outline.svg +0 -3
  667. package/icons/flag.svg +0 -3
  668. package/icons/flat-negative-sentiment-outline.svg +0 -4
  669. package/icons/flat-negative-sentiment.svg +0 -3
  670. package/icons/flat-neutral-sentiment-outline.svg +0 -4
  671. package/icons/flat-neutral-sentiment.svg +0 -3
  672. package/icons/flat-positive-sentiment-outline.svg +0 -4
  673. package/icons/flat-positive-sentiment.svg +0 -3
  674. package/icons/folder-open.svg +0 -3
  675. package/icons/folder.svg +0 -3
  676. package/icons/follow-outline.svg +0 -3
  677. package/icons/follow.svg +0 -3
  678. package/icons/follower-increase.svg +0 -3
  679. package/icons/following.svg +0 -3
  680. package/icons/font.svg +0 -3
  681. package/icons/full-access.svg +0 -3
  682. package/icons/gear.svg +0 -3
  683. package/icons/gears.svg +0 -10
  684. package/icons/github.svg +0 -3
  685. package/icons/glassdoor.svg +0 -3
  686. package/icons/glasses.svg +0 -3
  687. package/icons/globe.svg +0 -3
  688. package/icons/google-analytics-color.svg +0 -11
  689. package/icons/google-business-messages.svg +0 -3
  690. package/icons/google-drive.svg +0 -3
  691. package/icons/google-my-business.svg +0 -20
  692. package/icons/grip.svg +0 -3
  693. package/icons/h1.svg +0 -3
  694. package/icons/h2.svg +0 -3
  695. package/icons/h3.svg +0 -3
  696. package/icons/h4.svg +0 -3
  697. package/icons/hamburger.svg +0 -3
  698. package/icons/hand-sparkle-outline.svg +0 -6
  699. package/icons/hand-sparkle.svg +0 -3
  700. package/icons/hashtag.svg +0 -3
  701. package/icons/headset.svg +0 -3
  702. package/icons/heart-outline.svg +0 -3
  703. package/icons/heart.svg +0 -3
  704. package/icons/heartbeat.svg +0 -3
  705. package/icons/help-alt.svg +0 -3
  706. package/icons/help.svg +0 -3
  707. package/icons/hiking.svg +0 -3
  708. package/icons/history.svg +0 -3
  709. package/icons/home.svg +0 -3
  710. package/icons/hourglass.svg +0 -3
  711. package/icons/hubspot.svg +0 -10
  712. package/icons/image-caption.svg +0 -3
  713. package/icons/image.svg +0 -3
  714. package/icons/images.svg +0 -3
  715. package/icons/impressions-per-post.svg +0 -3
  716. package/icons/impressions.svg +0 -3
  717. package/icons/inactive-listener.svg +0 -3
  718. package/icons/inbox-action.svg +0 -3
  719. package/icons/inbox-views.svg +0 -3
  720. package/icons/inbox.svg +0 -3
  721. package/icons/indicator.svg +0 -3
  722. package/icons/industry.svg +0 -3
  723. package/icons/info.svg +0 -3
  724. package/icons/instagram.svg +0 -3
  725. package/icons/internal-activity-outline.svg +0 -3
  726. package/icons/internal-activity.svg +0 -3
  727. package/icons/italic.svg +0 -3
  728. package/icons/key.svg +0 -3
  729. package/icons/keyboard.svg +0 -3
  730. package/icons/laptop-phone.svg +0 -3
  731. package/icons/large-density.svg +0 -3
  732. package/icons/lift.svg +0 -3
  733. package/icons/like-outline.svg +0 -3
  734. package/icons/like.svg +0 -3
  735. package/icons/link.svg +0 -3
  736. package/icons/linkedin-audience-network.svg +0 -3
  737. package/icons/linkedin.svg +0 -3
  738. package/icons/list-ol.svg +0 -3
  739. package/icons/listening.svg +0 -3
  740. package/icons/lists.svg +0 -3
  741. package/icons/location-outline.svg +0 -3
  742. package/icons/location.svg +0 -3
  743. package/icons/lock.svg +0 -3
  744. package/icons/magic-wand.svg +0 -3
  745. package/icons/male.svg +0 -3
  746. package/icons/marketo.svg +0 -3
  747. package/icons/mention.svg +0 -3
  748. package/icons/message-preview-outline.svg +0 -3
  749. package/icons/message-preview.svg +0 -3
  750. package/icons/message.svg +0 -3
  751. package/icons/messages-outline.svg +0 -3
  752. package/icons/messages.svg +0 -3
  753. package/icons/messenger.svg +0 -11
  754. package/icons/metric-table.svg +0 -3
  755. package/icons/microsoft-dynamics.svg +0 -4
  756. package/icons/minus.svg +0 -3
  757. package/icons/mobile.svg +0 -3
  758. package/icons/monitor.svg +0 -3
  759. package/icons/moon.svg +0 -3
  760. package/icons/negative-sentiment.svg +0 -11
  761. package/icons/neutral-positive-sentiment.svg +0 -13
  762. package/icons/neutral-sentiment.svg +0 -11
  763. package/icons/new-trend.svg +0 -3
  764. package/icons/newspaper.svg +0 -3
  765. package/icons/no-access.svg +0 -3
  766. package/icons/notepad.svg +0 -3
  767. package/icons/notifications-publishing-outline.svg +0 -3
  768. package/icons/notifications-publishing.svg +0 -3
  769. package/icons/notifications.svg +0 -3
  770. package/icons/offline.svg +0 -3
  771. package/icons/online.svg +0 -3
  772. package/icons/paid-promotion-outline.svg +0 -3
  773. package/icons/paid-promotion.svg +0 -3
  774. package/icons/paid.svg +0 -3
  775. package/icons/paint.svg +0 -3
  776. package/icons/palette.svg +0 -3
  777. package/icons/paperclip.svg +0 -3
  778. package/icons/pause.svg +0 -3
  779. package/icons/pencil-outline.svg +0 -3
  780. package/icons/pencil.svg +0 -3
  781. package/icons/person.svg +0 -3
  782. package/icons/phone.svg +0 -3
  783. package/icons/pinterest-boards-outline.svg +0 -3
  784. package/icons/pinterest-boards.svg +0 -3
  785. package/icons/pinterest.svg +0 -3
  786. package/icons/play-circle.svg +0 -3
  787. package/icons/play.svg +0 -3
  788. package/icons/plug.svg +0 -3
  789. package/icons/plus.svg +0 -3
  790. package/icons/positive-sentiment.svg +0 -12
  791. package/icons/power-up-outline.svg +0 -3
  792. package/icons/power-up.svg +0 -3
  793. package/icons/profile-connect.svg +0 -3
  794. package/icons/profile-disconnect.svg +0 -3
  795. package/icons/publishing-outline.svg +0 -3
  796. package/icons/publishing.svg +0 -3
  797. package/icons/puzzle-piece.svg +0 -3
  798. package/icons/qr-code.svg +0 -3
  799. package/icons/queue.svg +0 -3
  800. package/icons/quotes-solid.svg +0 -3
  801. package/icons/recommendation.svg +0 -3
  802. package/icons/reddit-alien.svg +0 -3
  803. package/icons/reddit.svg +0 -3
  804. package/icons/reels-outline.svg +0 -4
  805. package/icons/reels.svg +0 -3
  806. package/icons/referrals.svg +0 -3
  807. package/icons/refresh.svg +0 -3
  808. package/icons/rejected.svg +0 -3
  809. package/icons/reply-outline.svg +0 -3
  810. package/icons/reply.svg +0 -3
  811. package/icons/reporting-period.svg +0 -3
  812. package/icons/reporting.svg +0 -3
  813. package/icons/reports-home.svg +0 -3
  814. package/icons/reports.svg +0 -3
  815. package/icons/retweet.svg +0 -3
  816. package/icons/route.svg +0 -3
  817. package/icons/rss.svg +0 -3
  818. package/icons/sales.svg +0 -3
  819. package/icons/salesforce-cloud.svg +0 -3
  820. package/icons/salesforce.svg +0 -3
  821. package/icons/save-assets.svg +0 -3
  822. package/icons/saved-messages.svg +0 -3
  823. package/icons/saved-reply-outline.svg +0 -3
  824. package/icons/saved-reply.svg +0 -3
  825. package/icons/search.svg +0 -3
  826. package/icons/send-again-outline.svg +0 -4
  827. package/icons/send-again.svg +0 -4
  828. package/icons/sent-message-outline.svg +0 -3
  829. package/icons/sent-message.svg +0 -3
  830. package/icons/share.svg +0 -3
  831. package/icons/shopify.svg +0 -5
  832. package/icons/shopping-bag-outline.svg +0 -3
  833. package/icons/shopping-bag.svg +0 -3
  834. package/icons/show-navigation.svg +0 -3
  835. package/icons/slack.svg +0 -3
  836. package/icons/small-density.svg +0 -3
  837. package/icons/smiley.svg +0 -3
  838. package/icons/some-access.svg +0 -3
  839. package/icons/sparkles.svg +0 -3
  840. package/icons/spike-alert.svg +0 -3
  841. package/icons/star-half-alt-solid.svg +0 -3
  842. package/icons/star-of-life.svg +0 -3
  843. package/icons/star-outline.svg +0 -3
  844. package/icons/star.svg +0 -3
  845. package/icons/sticky-note-outline.svg +0 -3
  846. package/icons/sticky-note.svg +0 -3
  847. package/icons/stories.svg +0 -3
  848. package/icons/story.svg +0 -3
  849. package/icons/suggestions.svg +0 -3
  850. package/icons/sun.svg +0 -3
  851. package/icons/tag-outline.svg +0 -3
  852. package/icons/tag.svg +0 -3
  853. package/icons/targeting-outline.svg +0 -3
  854. package/icons/targeting.svg +0 -3
  855. package/icons/tasks-check.svg +0 -4
  856. package/icons/tasks-outline.svg +0 -3
  857. package/icons/tasks.svg +0 -3
  858. package/icons/team-conversation-outline.svg +0 -3
  859. package/icons/team-conversation.svg +0 -3
  860. package/icons/team-sprout-outline.svg +0 -5
  861. package/icons/team-sprout.svg +0 -4
  862. package/icons/team.svg +0 -3
  863. package/icons/text-asset.svg +0 -3
  864. package/icons/text.svg +0 -3
  865. package/icons/tiktok.svg +0 -5
  866. package/icons/times.svg +0 -3
  867. package/icons/tools.svg +0 -3
  868. package/icons/trash-can-outline.svg +0 -3
  869. package/icons/trash-can.svg +0 -3
  870. package/icons/trend-down.svg +0 -3
  871. package/icons/trend-neutral.svg +0 -3
  872. package/icons/trend-up.svg +0 -3
  873. package/icons/trends.svg +0 -3
  874. package/icons/triangle-black.svg +0 -3
  875. package/icons/triangle.svg +0 -3
  876. package/icons/tripadvisor-circle-outline.svg +0 -3
  877. package/icons/tripadvisor-circle.svg +0 -11
  878. package/icons/tripadvisor.svg +0 -11
  879. package/icons/trophy-outline.svg +0 -3
  880. package/icons/tumblr.svg +0 -3
  881. package/icons/twitter-audience-network.svg +0 -3
  882. package/icons/twitter.svg +0 -3
  883. package/icons/underline.svg +0 -3
  884. package/icons/unfollow-outline.svg +0 -3
  885. package/icons/unfollow.svg +0 -3
  886. package/icons/unlink.svg +0 -3
  887. package/icons/unlock.svg +0 -3
  888. package/icons/upload.svg +0 -3
  889. package/icons/user-circle.svg +0 -3
  890. package/icons/users.svg +0 -3
  891. package/icons/verified.svg +0 -3
  892. package/icons/video-camera-story.svg +0 -3
  893. package/icons/video-camera.svg +0 -3
  894. package/icons/vip.svg +0 -3
  895. package/icons/weight.svg +0 -3
  896. package/icons/whatsapp.svg +0 -20
  897. package/icons/window-maximize.svg +0 -3
  898. package/icons/window-minimize.svg +0 -3
  899. package/icons/window-regular.svg +0 -3
  900. package/icons/window-restore.svg +0 -3
  901. package/icons/woocommerce.svg +0 -3
  902. package/icons/x.svg +0 -3
  903. package/icons/yelp-full-star.svg +0 -3
  904. package/icons/yelp-half-star.svg +0 -4
  905. package/icons/yelp.svg +0 -10
  906. package/icons/youtube.svg +0 -3
  907. package/icons/zendesk.svg +0 -3
  908. package/lib/EnumIconNames.flow.js +0 -0
  909. package/lib/EnumIconNames.js +0 -1
  910. package/lib/Icon/deprecatedIcons.flow.js +0 -39
  911. package/lib/Icon/deprecatedIcons.js +0 -39
  912. package/lib/IconViewBoxes.d.js +0 -1
  913. package/lib/IconViewBoxes.js +0 -387
  914. package/lib/Menu/utils/names.js +0 -1
  915. package/lib/iconNames.js +0 -1
package/lib/Card/Card.js CHANGED
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  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; }
10
10
  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; }
@@ -34,7 +34,7 @@ export var SelectedIcon = function SelectedIcon(_ref4) {
34
34
  return /*#__PURE__*/React.createElement(SelectedIconWrapper, null, /*#__PURE__*/React.createElement(StyledSelectedIcon, {
35
35
  "aria-hidden": true,
36
36
  color: "icon.base",
37
- name: "circle-check",
37
+ name: "circle-check-solid",
38
38
  $selected: $selected
39
39
  }));
40
40
  };
@@ -42,7 +42,7 @@ export var CardAffordance = function CardAffordance(_ref5) {
42
42
  var rest = _extends({}, (_objectDestructuringEmpty(_ref5), _ref5));
43
43
  return /*#__PURE__*/React.createElement(StyledCardAffordance, _extends({}, rest, {
44
44
  size: "mini",
45
- name: "arrow-right"
45
+ name: "arrow-right-solid"
46
46
  // TODO: probably need to make this available to the top level for external links https://sprout.atlassian.net/browse/DS-2223
47
47
  ,
48
48
  "aria-hidden": true
package/lib/Card/utils.js CHANGED
@@ -26,7 +26,7 @@ export var navigateTo = function navigateTo(_ref) {
26
26
  return;
27
27
  }
28
28
  }
29
- (_window$open = window.open(href, '_blank')) === null || _window$open === void 0 ? void 0 : _window$open.focus();
29
+ (_window$open = window.open(href, '_blank')) === null || _window$open === void 0 || _window$open.focus();
30
30
  };
31
31
  export var onKeyDown = function onKeyDown(_ref2) {
32
32
  var e = _ref2.e,
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["size"];
2
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ 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); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["id", "value", "name", "label", "labelProps", "checked", "disabled", "indeterminate", "onChange", "ariaLabel", "appearance", "qa", "tabIndex", "inputProps"];
2
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ 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); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -122,7 +122,7 @@ var Checkbox = /*#__PURE__*/function (_React$Component) {
122
122
  "data-qa-checkbox-isdisabled": disabled === true,
123
123
  tabIndex: tabIndexInt
124
124
  }, qa, inputProps)), /*#__PURE__*/React.createElement(CheckboxBox, null, /*#__PURE__*/React.createElement(CheckIcon, {
125
- name: indeterminate ? 'minus' : 'check',
125
+ name: indeterminate ? 'minus-solid' : 'check-solid',
126
126
  size: "mini",
127
127
  fixedWidth: true
128
128
  }))));
@@ -1,9 +1,9 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ 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); }
2
2
  var _excluded = ["children"],
3
3
  _excluded2 = ["children"];
4
4
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  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; }
8
8
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
9
9
  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); }
@@ -12,8 +12,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
12
12
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
13
13
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
14
14
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
15
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
16
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
15
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
16
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
17
17
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
18
18
  import * as React from 'react';
19
19
  import { useState, useRef, useContext, useEffect } from 'react';
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  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; }
10
10
  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; }
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  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; }
10
10
  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; }
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  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; }
10
10
  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; }
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  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; }
10
10
  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; }
@@ -4,8 +4,8 @@ import React from 'react';
4
4
  import Icon from "../Icon";
5
5
  import { CalendarDay } from "./styles";
6
6
  var iconNames = {
7
- left: 'arrow-left',
8
- right: 'arrow-right'
7
+ left: 'arrow-left-solid',
8
+ right: 'arrow-right-solid'
9
9
  };
10
10
  export var CalendarNavButton = function CalendarNavButton(_ref) {
11
11
  var type = _ref.type;
@@ -1,10 +1,10 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ 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); }
2
2
  var _excluded = ["title", "id", "children", "render"],
3
3
  _excluded2 = ["children"],
4
4
  _excluded3 = ["id", "style", "offset", "direction", "children", "disableCloseOnClickOutside", "onClose", "zIndex", "closeTargets"],
5
5
  _excluded4 = ["children", "closeButtonLabel", "direction", "disableCloseOnClickOutside", "id", "isOpen", "offset", "onClose", "zIndex", "closeTargets"];
6
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
8
  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; }
9
9
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
10
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -47,7 +47,7 @@ var DrawerCloseButton = function DrawerCloseButton(props) {
47
47
  onClick: onClose
48
48
  }, props), props.children || /*#__PURE__*/React.createElement(Icon, {
49
49
  "aria-hidden": true,
50
- name: "x"
50
+ name: "x-outline"
51
51
  }));
52
52
  };
53
53
  var DrawerHeader = function DrawerHeader(_ref) {
@@ -3,8 +3,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
5
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  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; }
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -1,2 +1,3 @@
1
1
  import * as React from 'react';
2
- import deprecatedIcons from "./deprecatedIcons.flow";
2
+
3
+ // 64x64
package/lib/Icon/Icon.js CHANGED
@@ -1,24 +1,28 @@
1
1
  var _excluded = ["name", "size", "fixedWidth", "ariaLabel", "color", "svgProps"],
2
2
  _excluded2 = ["activeName", "inactiveName", "isActive", "size", "fixedWidth", "ariaLabel"];
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); }
3
4
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
5
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
6
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
7
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
+ 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; }
10
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
11
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
12
  import * as React from 'react';
7
13
  import styled, { css } from 'styled-components';
8
- import iconViewBoxes from "../IconViewBoxes";
9
14
  import Box from "../Box";
10
15
  import PartnerLogo from "../PartnerLogo";
11
16
  import { includes } from "../utils";
12
17
  import PartnerLogoNames from "../logoNames";
13
-
14
- // TODO: get json file working in flow so this can be shared
15
- // import deprecatedIcons from './deprecatedIcons.json';
16
- import deprecatedIcons from "./deprecatedIcons";
17
18
  import Container from "./styles";
19
+ import { ExternalViewBoxes, GeneralViewBoxes, SproutViewBoxes, ExternalIconNames } from '@sproutsocial/seeds-icons';
20
+ var defaultVariant = 'outline';
21
+ var AllViewboxes = _objectSpread(_objectSpread(_objectSpread({}, ExternalViewBoxes), GeneralViewBoxes), SproutViewBoxes);
18
22
  var Icon = function Icon(_ref) {
19
23
  var name = _ref.name,
20
24
  _ref$size = _ref.size,
21
- size = _ref$size === void 0 ? 'default' : _ref$size,
25
+ size = _ref$size === void 0 ? 'small' : _ref$size,
22
26
  _ref$fixedWidth = _ref.fixedWidth,
23
27
  fixedWidth = _ref$fixedWidth === void 0 ? false : _ref$fixedWidth,
24
28
  ariaLabel = _ref.ariaLabel,
@@ -40,24 +44,29 @@ var Icon = function Icon(_ref) {
40
44
  "aria-label": ariaLabel
41
45
  }, rest, logoProps));
42
46
  }
43
- var iconName = deprecatedIcons[name] || name;
44
- var iconViewBox = iconViewBoxes[iconName];
47
+ var iconName =
48
+ // if not external and has no variant
49
+ !(name !== null && name !== void 0 && name.endsWith('-outline')) && !(name !== null && name !== void 0 && name.endsWith('-solid')) && !includes(ExternalIconNames, name) ? // then add default variant
50
+ "".concat(name, "-").concat(defaultVariant) :
51
+ // else use name as is
52
+ name;
53
+ var iconViewBox = AllViewboxes[iconName];
45
54
  return /*#__PURE__*/React.createElement(Container, _extends({
46
55
  iconSize: size,
47
56
  fixedWidth: !!fixedWidth,
48
- key: name,
57
+ key: iconName,
49
58
  role: "img",
50
59
  "aria-label": ariaLabel,
51
- "data-qa-icon": name,
60
+ "data-qa-icon": iconName,
52
61
  color: color
53
62
  }, rest), /*#__PURE__*/React.createElement("svg", _extends({
54
63
  className: "Icon-svg",
55
64
  viewBox: iconViewBox,
56
65
  focusable: false,
57
- "data-qa-icon-svg": "".concat(name, "-svg")
66
+ "data-qa-icon-svg": "".concat(iconName, "-svg")
58
67
  }, svgProps), /*#__PURE__*/React.createElement("use", {
59
68
  xmlnsXlink: "http://www.w3.org/1999/xlink",
60
- xlinkHref: "#ssiconsvg-".concat(iconName)
69
+ xlinkHref: "#seeds-svgs_".concat(iconName)
61
70
  })));
62
71
  };
63
72
  var ToggleableIcon = styled(Icon).withConfig({
@@ -75,7 +84,7 @@ var IconToggle = function IconToggle(_ref2) {
75
84
  inactiveName = _ref2.inactiveName,
76
85
  isActive = _ref2.isActive,
77
86
  _ref2$size = _ref2.size,
78
- size = _ref2$size === void 0 ? 'default' : _ref2$size,
87
+ size = _ref2$size === void 0 ? 'small' : _ref2$size,
79
88
  _ref2$fixedWidth = _ref2.fixedWidth,
80
89
  fixedWidth = _ref2$fixedWidth === void 0 ? false : _ref2$fixedWidth,
81
90
  ariaLabel = _ref2.ariaLabel,
@@ -114,8 +123,8 @@ IconToggle.displayName = 'Icon.Toggle';
114
123
  * onClick={() => setToggleState(!toggleState)}
115
124
  * >
116
125
  * <Icon.Toggle
117
- * activeName="like"
118
- * inactiveName="like-outline"
126
+ * activeName="heart-solid"
127
+ * inactiveName="heart-outline"
119
128
  * isActive={toggleState}
120
129
  * />
121
130
  * </Button>
@@ -1 +1,3 @@
1
+ import Icon from "./Icon.flow";
2
+ export { Icon };
1
3
  export * from "./Icon.flow";
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["alt", "title", "onClick", "onError", "onLoad", "src", "qa"];
2
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ 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); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["tooltip"];
2
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ 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); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -38,7 +38,7 @@ var Indicator = /*#__PURE__*/function (_React$Component) {
38
38
  "aria-label": tooltip,
39
39
  tabIndex: 0
40
40
  }, rest), tooltip && /*#__PURE__*/React.createElement("div", null, tooltip), /*#__PURE__*/React.createElement(Icon, {
41
- name: "indicator",
41
+ name: "circle-fill-solid",
42
42
  size: "mini",
43
43
  "aria-hidden": true
44
44
  }));
@@ -1,5 +1,5 @@
1
1
  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"];
2
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ 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); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -23,6 +23,9 @@ import { mergeRefs } from "../utils";
23
23
  import Button from "../Button";
24
24
  import Icon from "../Icon";
25
25
  import Container, { Accessory } from "./styles";
26
+
27
+ // Using Context so that Input's Input.ClearButton-specific props can be passed to Input.ClearButton,
28
+ // regardless of whether it is manually included as elemAfter or automatically included for type="search" Inputs.
26
29
  var InputContext = /*#__PURE__*/React.createContext({});
27
30
  var StyledButton = styled(Button).withConfig({
28
31
  displayName: "Input__StyledButton",
@@ -62,7 +65,7 @@ var ClearButton = function ClearButton() {
62
65
  ariaLabel: clearButtonLabel || 'Clear',
63
66
  color: "icon.base"
64
67
  }, /*#__PURE__*/React.createElement(Icon, {
65
- name: "circlex",
68
+ name: "circle-x-outline",
66
69
  "aria-hidden": true
67
70
  }));
68
71
  };
@@ -84,6 +87,8 @@ var Input = /*#__PURE__*/function (_React$Component) {
84
87
  var _this;
85
88
  _classCallCheck(this, Input);
86
89
  _this = _super.call(this, props);
90
+ // Define our own ref for use in handleClear.
91
+ // We use mergeRefs to pass both this.inputRef and this.props.innerRef to input.
87
92
  _defineProperty(_assertThisInitialized(_this), "inputRef", /*#__PURE__*/React.createRef());
88
93
  _defineProperty(_assertThisInitialized(_this), "handleBlur", function (e) {
89
94
  var _this$props$onBlur, _this$props;
@@ -95,7 +100,7 @@ var Input = /*#__PURE__*/function (_React$Component) {
95
100
  var _Object$getOwnPropert, _this$props$onClear, _this$props2;
96
101
  // Clear the value via the input prototype, then dispatch an input event in order to trigger handleChange
97
102
  var nativeInputValueSetter = (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, 'value')) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.set;
98
- nativeInputValueSetter === null || nativeInputValueSetter === void 0 ? void 0 : nativeInputValueSetter.call(input, '');
103
+ nativeInputValueSetter === null || nativeInputValueSetter === void 0 || nativeInputValueSetter.call(input, '');
99
104
  var inputEvent = new Event('input', {
100
105
  bubbles: true
101
106
  });
@@ -104,12 +109,12 @@ var Input = /*#__PURE__*/function (_React$Component) {
104
109
  // Focus the input, update hasValue, and call any onClear callback
105
110
  input.focus();
106
111
  _this.updateState('');
107
- (_this$props$onClear = (_this$props2 = _this.props).onClear) === null || _this$props$onClear === void 0 ? void 0 : _this$props$onClear.call(_this$props2, e);
112
+ (_this$props$onClear = (_this$props2 = _this.props).onClear) === null || _this$props$onClear === void 0 || _this$props$onClear.call(_this$props2, e);
108
113
  }
109
114
  });
110
115
  _defineProperty(_assertThisInitialized(_this), "handleChange", function (e) {
111
116
  var _this$props$onChange, _this$props3;
112
- (_this$props$onChange = (_this$props3 = _this.props).onChange) === null || _this$props$onChange === void 0 ? void 0 : _this$props$onChange.call(_this$props3, e, e.currentTarget.value);
117
+ (_this$props$onChange = (_this$props3 = _this.props).onChange) === null || _this$props$onChange === void 0 || _this$props$onChange.call(_this$props3, e, e.currentTarget.value);
113
118
  _this.updateState(e.currentTarget.value);
114
119
  });
115
120
  _defineProperty(_assertThisInitialized(_this), "handleFocus", function (e) {
@@ -192,7 +197,7 @@ var Input = /*#__PURE__*/function (_React$Component) {
192
197
 
193
198
  // Add default elemBefore and elemAfter elements if type is search.
194
199
  var elementBefore = type === 'search' && !elemBefore ? /*#__PURE__*/React.createElement(Icon, {
195
- name: "search",
200
+ name: "magnifying-glass-outline",
196
201
  "aria-hidden": true,
197
202
  color: "icon.base"
198
203
  }) : elemBefore;
@@ -1,4 +1,4 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ 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); }
2
2
  var _excluded = ["children"];
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; }
@@ -1,4 +1,4 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ 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); }
2
2
  var _excluded = ["as"];
3
3
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
4
  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); } }
@@ -1,8 +1,8 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ 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); }
2
2
  var _excluded = ["role", "children"],
3
3
  _excluded2 = ["children"];
4
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  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; }
7
7
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
8
  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); }
@@ -90,7 +90,7 @@ export var ListboxButton = function ListboxButton(_ref2) {
90
90
  }), children, /*#__PURE__*/React.createElement(Arrow, {
91
91
  size: restProps.size
92
92
  }, /*#__PURE__*/React.createElement(Icon, {
93
- name: "chevron-down",
93
+ name: "chevron-down-outline",
94
94
  fixedWidth: true,
95
95
  "aria-hidden": true
96
96
  })));
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["text", "size", "delay", "color", "qa"];
2
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ 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); }
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -3,7 +3,6 @@ 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 { rgba } from 'polished';
7
6
  import styled from 'styled-components';
8
7
  import Box from "../Box";
9
8
  import Button from "../Button";
@@ -12,15 +11,15 @@ var StyledLoaderButton = styled(Button).withConfig({
12
11
  displayName: "LoaderButton__StyledLoaderButton",
13
12
  componentId: "sc-taipe0-0"
14
13
  })(["background-color:", ";", ""], function (_ref) {
15
- var _theme$colors$button, _theme$colors$button$;
14
+ var _theme$colors$button;
16
15
  var theme = _ref.theme,
17
16
  appearance = _ref.appearance,
18
17
  disabled = _ref.disabled;
19
- var buttonBackgroundColor = (_theme$colors$button = theme.colors.button[appearance]) === null || _theme$colors$button === void 0 ? void 0 : (_theme$colors$button$ = _theme$colors$button.background) === null || _theme$colors$button$ === void 0 ? void 0 : _theme$colors$button$.base;
18
+ var buttonBackgroundColor = (_theme$colors$button = theme.colors.button[appearance]) === null || _theme$colors$button === void 0 || (_theme$colors$button = _theme$colors$button.background) === null || _theme$colors$button === void 0 ? void 0 : _theme$colors$button.base;
20
19
  var isBackgroundColorTransparent = buttonBackgroundColor === 'transparent';
21
20
 
22
21
  // If the button is disabled we want to check what the buttonBackgroundColor is, if it is transparent we want to return transparent, otherwise we want to return the buttonBackgroundColor with an opacity of 0.4. If the button is not disabled we want to return the buttonBackgroundColor.
23
- return disabled ? isBackgroundColorTransparent ? 'transparent' : rgba(buttonBackgroundColor, 0.4) : buttonBackgroundColor;
22
+ return disabled ? isBackgroundColorTransparent ? 'transparent' : "".concat(buttonBackgroundColor, "66") : buttonBackgroundColor;
24
23
  }, function (_ref2) {
25
24
  var disabled = _ref2.disabled;
26
25
  return disabled && 'opacity: 1;';
@@ -63,10 +63,8 @@ module.exports = {
63
63
  "microsoft-dynamics": "0 0 140 227",
64
64
  "pinterest-dark": "0 0 140 141",
65
65
  "pinterest": "0 0 140 141",
66
- "reddit-alien-dark": "0 0 18 18",
67
- "reddit-alien": "0 0 18 18",
68
- "reddit-dark": "0 0 140 140",
69
- "reddit": "0 0 140 140",
66
+ "reddit-dark": "0 0 18 17",
67
+ "reddit": "0 0 18 17",
70
68
  "salesforce-cloud-dark": "0 0 20 18",
71
69
  "salesforce-cloud": "0 0 20 18",
72
70
  "salesforce-dark": "0 0 140 99",