@sproutsocial/racine 20.12.0 → 20.13.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (342) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +1 -0
  3. package/__flow__/EnumLogoNames.flow.js +1 -1
  4. package/__flow__/LogoViewBoxes.js +2 -0
  5. package/__flow__/types/theme.colors.flow.js +2 -0
  6. package/commonjs/Avatar/Avatar.flow.js +2 -2
  7. package/commonjs/Avatar/Avatar.js +10 -12
  8. package/commonjs/Avatar/constants.flow.js +2 -3
  9. package/commonjs/Avatar/constants.js +2 -3
  10. package/commonjs/Avatar/index.js +1 -2
  11. package/commonjs/Badge/Badge.flow.js +2 -2
  12. package/commonjs/Badge/Badge.js +3 -4
  13. package/commonjs/Badge/constants.flow.js +2 -3
  14. package/commonjs/Badge/constants.js +3 -5
  15. package/commonjs/Badge/index.js +1 -2
  16. package/commonjs/Badge/styles.js +1 -2
  17. package/commonjs/Banner/Banner.flow.js +2 -2
  18. package/commonjs/Banner/Banner.js +3 -4
  19. package/commonjs/Banner/index.js +1 -2
  20. package/commonjs/Banner/styles.js +5 -7
  21. package/commonjs/Box/Box.flow.js +2 -2
  22. package/commonjs/Box/Box.js +3 -4
  23. package/commonjs/Box/index.js +1 -2
  24. package/commonjs/Box/styles.js +1 -2
  25. package/commonjs/Breadcrumb/Breadcrumb.flow.js +2 -2
  26. package/commonjs/Breadcrumb/Breadcrumb.js +5 -6
  27. package/commonjs/Breadcrumb/index.js +1 -2
  28. package/commonjs/Breadcrumb/styles.js +1 -2
  29. package/commonjs/Button/Button.flow.js +2 -2
  30. package/commonjs/Button/Button.js +1 -2
  31. package/commonjs/Button/index.js +1 -2
  32. package/commonjs/Button/styles.js +4 -8
  33. package/commonjs/Card/Card.flow.js +2 -2
  34. package/commonjs/Card/Card.js +3 -4
  35. package/commonjs/Card/CardTypes.flow.js +2 -2
  36. package/commonjs/Card/index.js +1 -2
  37. package/commonjs/Card/styles.js +9 -17
  38. package/commonjs/Card/subComponents.js +9 -15
  39. package/commonjs/Card/utils.js +4 -7
  40. package/commonjs/CharacterCounter/CharacterCounter.flow.js +2 -2
  41. package/commonjs/CharacterCounter/CharacterCounter.js +10 -12
  42. package/commonjs/CharacterCounter/index.js +1 -2
  43. package/commonjs/CharacterCounter/styles.js +3 -4
  44. package/commonjs/ChartLegend/ChartLegend.flow.js +2 -2
  45. package/commonjs/ChartLegend/ChartLegend.js +3 -4
  46. package/commonjs/ChartLegend/index.js +1 -2
  47. package/commonjs/ChartLegend/styles.js +5 -8
  48. package/commonjs/ChartLegend/useChartLabels.js +2 -3
  49. package/commonjs/Checkbox/Checkbox.flow.js +2 -2
  50. package/commonjs/Checkbox/Checkbox.js +11 -13
  51. package/commonjs/Checkbox/index.js +1 -2
  52. package/commonjs/Checkbox/styles.js +9 -16
  53. package/commonjs/Collapsible/Collapsible.flow.js +2 -2
  54. package/commonjs/Collapsible/Collapsible.js +13 -13
  55. package/commonjs/Collapsible/index.js +1 -2
  56. package/commonjs/Collapsible/styles.js +2 -3
  57. package/commonjs/DatePicker/DateRangePicker/DateRangePicker.flow.js +2 -2
  58. package/commonjs/DatePicker/DateRangePicker/DateRangePicker.js +3 -4
  59. package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +2 -2
  60. package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.js +4 -5
  61. package/commonjs/DatePicker/DateRangePicker/index.js +1 -2
  62. package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +2 -2
  63. package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.js +3 -4
  64. package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +2 -2
  65. package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +4 -5
  66. package/commonjs/DatePicker/SingleDatePicker/index.js +1 -2
  67. package/commonjs/DatePicker/common.js +9 -15
  68. package/commonjs/DatePicker/index.flow.js +2 -2
  69. package/commonjs/DatePicker/styles.js +5 -7
  70. package/commonjs/Drawer/Drawer.flow.js +2 -2
  71. package/commonjs/Drawer/Drawer.js +11 -11
  72. package/commonjs/Drawer/SlideTransition.js +4 -5
  73. package/commonjs/Drawer/index.js +1 -2
  74. package/commonjs/Drawer/styles.js +4 -6
  75. package/commonjs/EmptyState/EmptyState.flow.js +2 -2
  76. package/commonjs/EmptyState/EmptyState.js +3 -4
  77. package/commonjs/EmptyState/index.js +1 -2
  78. package/commonjs/Fieldset/Fieldset.flow.js +2 -2
  79. package/commonjs/Fieldset/Fieldset.js +3 -4
  80. package/commonjs/Fieldset/index.js +1 -2
  81. package/commonjs/Fieldset/styles.js +4 -5
  82. package/commonjs/FormField/FormField.flow.js +2 -2
  83. package/commonjs/FormField/FormField.js +5 -6
  84. package/commonjs/FormField/index.js +1 -2
  85. package/commonjs/Icon/Icon.flow.js +2 -2
  86. package/commonjs/Icon/Icon.js +5 -6
  87. package/commonjs/Icon/index.flow.js +2 -2
  88. package/commonjs/Icon/index.js +1 -2
  89. package/commonjs/Icon/styles.js +3 -4
  90. package/commonjs/Image/Image.flow.js +2 -2
  91. package/commonjs/Image/Image.js +11 -13
  92. package/commonjs/Image/index.js +1 -2
  93. package/commonjs/Image/styles.js +3 -4
  94. package/commonjs/Indicator/Indicator.flow.js +2 -2
  95. package/commonjs/Indicator/Indicator.js +10 -12
  96. package/commonjs/Indicator/index.js +1 -2
  97. package/commonjs/Indicator/styles.js +1 -2
  98. package/commonjs/Input/Input.flow.js +2 -2
  99. package/commonjs/Input/Input.js +12 -13
  100. package/commonjs/Input/index.js +1 -2
  101. package/commonjs/Input/styles.js +4 -6
  102. package/commonjs/KeyboardKey/KeyboardKey.flow.js +2 -2
  103. package/commonjs/KeyboardKey/KeyboardKey.js +11 -13
  104. package/commonjs/KeyboardKey/index.js +1 -2
  105. package/commonjs/KeyboardKey/styles.js +1 -2
  106. package/commonjs/Label/Label.flow.js +2 -2
  107. package/commonjs/Label/Label.js +11 -13
  108. package/commonjs/Label/index.js +1 -2
  109. package/commonjs/Link/Link.flow.js +2 -2
  110. package/commonjs/Link/Link.js +3 -4
  111. package/commonjs/Link/constants.js +1 -2
  112. package/commonjs/Link/index.js +1 -2
  113. package/commonjs/Link/styles.js +3 -4
  114. package/commonjs/Listbox/Listbox.flow.js +2 -2
  115. package/commonjs/Listbox/Listbox.js +8 -12
  116. package/commonjs/Listbox/index.js +3 -4
  117. package/commonjs/Loader/Loader.flow.js +2 -2
  118. package/commonjs/Loader/Loader.js +10 -12
  119. package/commonjs/Loader/index.js +1 -2
  120. package/commonjs/Loader/styles.js +4 -6
  121. package/commonjs/LoaderButton/LoaderButton.flow.js +2 -2
  122. package/commonjs/LoaderButton/LoaderButton.js +4 -6
  123. package/commonjs/LoaderButton/index.js +1 -2
  124. package/commonjs/LogoViewBoxes.js +2 -0
  125. package/commonjs/Menu/Menu.flow.js +2 -2
  126. package/commonjs/Menu/Menu.js +42 -50
  127. package/commonjs/Menu/index.js +3 -4
  128. package/commonjs/Menu/styles.js +5 -7
  129. package/commonjs/Menu/utils/constants.flow.js +3 -5
  130. package/commonjs/Menu/utils/constants.js +3 -5
  131. package/commonjs/Menu/utils/descendants.js +17 -16
  132. package/commonjs/Menu/utils/hooks.js +3 -6
  133. package/commonjs/Message/Message.flow.js +3 -4
  134. package/commonjs/Message/Message.js +3 -4
  135. package/commonjs/Message/constants.js +2 -3
  136. package/commonjs/Message/index.js +1 -2
  137. package/commonjs/Message/styles.js +5 -10
  138. package/commonjs/Modal/Modal.flow.js +2 -2
  139. package/commonjs/Modal/Modal.js +7 -7
  140. package/commonjs/Modal/index.js +1 -2
  141. package/commonjs/Modal/styles.js +8 -14
  142. package/commonjs/Numeral/Numeral.flow.js +2 -2
  143. package/commonjs/Numeral/Numeral.js +3 -4
  144. package/commonjs/Numeral/constants.js +7 -13
  145. package/commonjs/Numeral/index.js +1 -2
  146. package/commonjs/Numeral/styles.js +3 -5
  147. package/commonjs/PartnerLogo/PartnerLogo.flow.js +2 -2
  148. package/commonjs/PartnerLogo/PartnerLogo.js +1 -2
  149. package/commonjs/PartnerLogo/PartnerLogoTypes.js +4 -6
  150. package/commonjs/PartnerLogo/index.js +1 -2
  151. package/commonjs/PartnerLogo/styles.js +3 -4
  152. package/commonjs/Popout/Popout.flow.js +2 -2
  153. package/commonjs/Popout/Popout.js +21 -22
  154. package/commonjs/Popout/index.js +1 -2
  155. package/commonjs/Popout/styles.js +2 -3
  156. package/commonjs/Portal/Portal.flow.js +2 -2
  157. package/commonjs/Portal/Portal.js +11 -13
  158. package/commonjs/Portal/index.js +1 -2
  159. package/commonjs/Radio/Radio.flow.js +2 -2
  160. package/commonjs/Radio/Radio.js +11 -13
  161. package/commonjs/Radio/index.js +1 -2
  162. package/commonjs/Radio/styles.js +6 -10
  163. package/commonjs/SegmentedControl/SegmentedControl.flow.js +2 -2
  164. package/commonjs/SegmentedControl/SegmentedControl.js +8 -8
  165. package/commonjs/SegmentedControl/index.js +1 -2
  166. package/commonjs/SegmentedControl/styles.js +6 -9
  167. package/commonjs/Select/Select.flow.js +2 -2
  168. package/commonjs/Select/Select.js +11 -13
  169. package/commonjs/Select/index.js +1 -2
  170. package/commonjs/Select/styles.js +4 -6
  171. package/commonjs/Skeleton/Skeleton.js +1 -2
  172. package/commonjs/Skeleton/index.js +1 -2
  173. package/commonjs/SpotIllustration/SpotIllustration.flow.js +2 -2
  174. package/commonjs/SpotIllustration/SpotIllustration.js +3 -4
  175. package/commonjs/SpotIllustration/illustrationNames.js +1 -2
  176. package/commonjs/SpotIllustration/index.js +1 -2
  177. package/commonjs/Stack/Stack.flow.js +2 -2
  178. package/commonjs/Stack/Stack.js +6 -6
  179. package/commonjs/Stack/index.js +1 -2
  180. package/commonjs/Switch/Switch.flow.js +2 -2
  181. package/commonjs/Switch/Switch.js +3 -4
  182. package/commonjs/Switch/index.js +1 -2
  183. package/commonjs/Switch/styles.js +4 -5
  184. package/commonjs/Table/Table.flow.js +2 -2
  185. package/commonjs/Table/Table.js +7 -12
  186. package/commonjs/Table/index.js +1 -2
  187. package/commonjs/Table/styles.js +1 -2
  188. package/commonjs/TableCell/TableCell.flow.js +2 -2
  189. package/commonjs/TableCell/TableCell.js +11 -14
  190. package/commonjs/TableCell/index.js +1 -2
  191. package/commonjs/TableCell/styles.js +1 -2
  192. package/commonjs/TableHeaderCell/TableHeaderCell.flow.js +4 -5
  193. package/commonjs/TableHeaderCell/TableHeaderCell.js +12 -15
  194. package/commonjs/TableHeaderCell/constants.js +2 -3
  195. package/commonjs/TableHeaderCell/index.js +1 -2
  196. package/commonjs/TableHeaderCell/styles.js +5 -8
  197. package/commonjs/TableRowAccordion/TableRowAccordion.flow.js +2 -2
  198. package/commonjs/TableRowAccordion/TableRowAccordion.js +12 -14
  199. package/commonjs/TableRowAccordion/index.js +1 -2
  200. package/commonjs/TableRowAccordion/styles.js +5 -8
  201. package/commonjs/Tabs/Tabs.flow.js +2 -2
  202. package/commonjs/Tabs/Tabs.js +12 -15
  203. package/commonjs/Tabs/index.js +1 -2
  204. package/commonjs/Tabs/styles.js +5 -8
  205. package/commonjs/Text/Text.flow.js +2 -2
  206. package/commonjs/Text/Text.js +3 -4
  207. package/commonjs/Text/index.js +1 -2
  208. package/commonjs/Text/styles.js +3 -4
  209. package/commonjs/Textarea/Textarea.flow.js +2 -2
  210. package/commonjs/Textarea/Textarea.js +11 -13
  211. package/commonjs/Textarea/index.js +1 -2
  212. package/commonjs/Textarea/styles.js +4 -6
  213. package/commonjs/ThemeProvider/index.flow.js +2 -2
  214. package/commonjs/ThemeProvider/index.js +3 -4
  215. package/commonjs/Toast/Toast.flow.js +2 -2
  216. package/commonjs/Toast/Toast.js +3 -4
  217. package/commonjs/Toast/index.js +3 -4
  218. package/commonjs/Toast/styles.js +6 -8
  219. package/commonjs/ToggleHint/ToggleHint.flow.js +2 -2
  220. package/commonjs/ToggleHint/ToggleHint.js +11 -13
  221. package/commonjs/ToggleHint/index.js +1 -2
  222. package/commonjs/ToggleHint/styles.js +4 -6
  223. package/commonjs/Token/Token.flow.js +2 -2
  224. package/commonjs/Token/Token.js +3 -4
  225. package/commonjs/Token/index.js +3 -4
  226. package/commonjs/Token/styles.js +3 -4
  227. package/commonjs/TokenInput/TokenInput.flow.js +2 -2
  228. package/commonjs/TokenInput/TokenInput.js +12 -14
  229. package/commonjs/TokenInput/TokenScreenReaderStatus.js +4 -5
  230. package/commonjs/TokenInput/index.js +1 -2
  231. package/commonjs/TokenInput/styles.js +3 -4
  232. package/commonjs/TokenInput/util.js +3 -5
  233. package/commonjs/Tooltip/Tooltip.flow.js +2 -2
  234. package/commonjs/Tooltip/Tooltip.js +11 -11
  235. package/commonjs/Tooltip/index.js +1 -2
  236. package/commonjs/Tooltip/styles.js +2 -3
  237. package/commonjs/VisuallyHidden/VisuallyHidden.flow.js +2 -2
  238. package/commonjs/VisuallyHidden/VisuallyHidden.js +2 -3
  239. package/commonjs/illustrationNames.js +1 -2
  240. package/commonjs/index.flow.js +2 -2
  241. package/commonjs/logoNames.js +1 -2
  242. package/commonjs/systemProps/background.flow.js +1 -2
  243. package/commonjs/systemProps/border.flow.js +1 -2
  244. package/commonjs/systemProps/color.flow.js +1 -2
  245. package/commonjs/systemProps/custom.flow.js +2 -3
  246. package/commonjs/systemProps/flexbox.flow.js +1 -2
  247. package/commonjs/systemProps/grid.flow.js +1 -2
  248. package/commonjs/systemProps/index.js +5 -7
  249. package/commonjs/systemProps/layout.flow.js +1 -2
  250. package/commonjs/systemProps/position.flow.js +1 -2
  251. package/commonjs/systemProps/shadow.flow.js +1 -2
  252. package/commonjs/systemProps/space.flow.js +1 -2
  253. package/commonjs/systemProps/systemProps.flow.js +1 -2
  254. package/commonjs/systemProps/typography.flow.js +1 -2
  255. package/commonjs/systemProps/variant.flow.js +2 -3
  256. package/commonjs/themes/dark/dataviz-palette.js +2 -3
  257. package/commonjs/themes/dark/decorative-palettes.js +12 -23
  258. package/commonjs/themes/dark/theme.js +5 -6
  259. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.flow.js +1 -2
  260. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +9 -16
  261. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +9 -16
  262. package/commonjs/themes/light/dataviz-palette.js +2 -3
  263. package/commonjs/themes/light/decorative-palettes.js +12 -23
  264. package/commonjs/themes/light/literal-colors.js +1 -2
  265. package/commonjs/themes/light/theme.js +22 -34
  266. package/commonjs/types/shared.flow.js +2 -2
  267. package/commonjs/types/styled-components.flow.js +2 -2
  268. package/commonjs/utils/a11yTest.js +2 -3
  269. package/commonjs/utils/chartColors.js +5 -9
  270. package/commonjs/utils/constants.js +1 -2
  271. package/commonjs/utils/dataQaLabelQueries.js +2 -3
  272. package/commonjs/utils/hooks.flow.js +1 -0
  273. package/commonjs/utils/hooks.js +4 -6
  274. package/commonjs/utils/index.js +2 -4
  275. package/commonjs/utils/innerText.flow.js +2 -2
  276. package/commonjs/utils/innerText.js +1 -2
  277. package/commonjs/utils/mixins.js +5 -10
  278. package/commonjs/utils/react-testing-library.flow.js +2 -2
  279. package/commonjs/utils/react-testing-library.js +5 -8
  280. package/commonjs/utils/responsiveProps/index.js +2 -3
  281. package/commonjs/utils/system-props/gap.js +2 -3
  282. package/commonjs/utils/system-props/system-props.js +9 -16
  283. package/commonjs/utils/useInteractiveColor.js +2 -3
  284. package/dist/logo.svg +1 -1
  285. package/dist/logoList.js +1 -1
  286. package/dist/themes/dark/theme.scss +2 -1
  287. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +2 -1
  288. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +4 -2
  289. package/dist/themes/light/theme.scss +4 -2
  290. package/dist/types/Button/styles.d.ts.map +1 -1
  291. package/dist/types/EnumLogoNames.d.ts +1 -1
  292. package/dist/types/EnumLogoNames.d.ts.map +1 -1
  293. package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts +1 -1
  294. package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts.map +1 -1
  295. package/dist/types/logoNames.d.ts +1 -1
  296. package/dist/types/logoNames.d.ts.map +1 -1
  297. package/dist/types/themes/dark/theme.d.ts +19 -18
  298. package/dist/types/themes/dark/theme.d.ts.map +1 -1
  299. package/dist/types/themes/light/theme.d.ts +29 -27
  300. package/dist/types/themes/light/theme.d.ts.map +1 -1
  301. package/dist/types/types/theme.colors.d.ts +2 -0
  302. package/dist/types/types/theme.colors.d.ts.map +1 -1
  303. package/lib/Breadcrumb/Breadcrumb.js +2 -2
  304. package/lib/Button/styles.js +1 -4
  305. package/lib/CharacterCounter/CharacterCounter.js +7 -8
  306. package/lib/Checkbox/Checkbox.js +8 -9
  307. package/lib/Collapsible/Collapsible.js +2 -2
  308. package/lib/Drawer/Drawer.js +2 -2
  309. package/lib/FormField/FormField.js +2 -2
  310. package/lib/Icon/Icon.js +2 -2
  311. package/lib/Image/Image.js +8 -9
  312. package/lib/Indicator/Indicator.js +7 -8
  313. package/lib/Input/Input.js +9 -9
  314. package/lib/KeyboardKey/KeyboardKey.js +7 -8
  315. package/lib/Label/Label.js +7 -8
  316. package/lib/Listbox/Listbox.js +2 -2
  317. package/lib/Loader/Loader.js +7 -8
  318. package/lib/LogoViewBoxes.js +2 -0
  319. package/lib/Menu/Menu.js +2 -2
  320. package/lib/Menu/utils/descendants.js +2 -2
  321. package/lib/Popout/Popout.js +2 -2
  322. package/lib/Portal/Portal.js +8 -9
  323. package/lib/Radio/Radio.js +8 -9
  324. package/lib/Select/Select.js +8 -9
  325. package/lib/TableCell/TableCell.js +7 -8
  326. package/lib/TableHeaderCell/TableHeaderCell.js +8 -9
  327. package/lib/TableRowAccordion/TableRowAccordion.js +8 -9
  328. package/lib/Tabs/Tabs.js +9 -11
  329. package/lib/Textarea/Textarea.js +8 -9
  330. package/lib/ToggleHint/ToggleHint.js +8 -9
  331. package/lib/TokenInput/TokenInput.js +8 -9
  332. package/lib/Tooltip/Tooltip.js +2 -2
  333. package/lib/logoNames.js +1 -1
  334. package/lib/systemProps/space.flow.js +14 -0
  335. package/lib/themes/dark/theme.js +2 -2
  336. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +2 -2
  337. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +2 -2
  338. package/lib/themes/light/theme.js +7 -4
  339. package/lib/utils/hooks.flow.js +1 -0
  340. package/lib/utils/hooks.js +2 -2
  341. package/lib/utils/react-testing-library.js +2 -2
  342. package/package.json +16 -24
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Change Log
2
2
 
3
+ ## 20.13.5
4
+
5
+ ### Patch Changes
6
+
7
+ - a2a2302: Remove README extra content
8
+
9
+ ## 20.13.4
10
+
11
+ ### Patch Changes
12
+
13
+ - e4149ea: Testing a release
14
+
15
+ ## 20.13.3
16
+
17
+ ### Patch Changes
18
+
19
+ - b0e00ae: Remove the yarn.rc file
20
+
21
+ ## 20.13.2
22
+
23
+ ### Patch Changes
24
+
25
+ - 9b002e8: Remove racine npmrc file
26
+
27
+ ## 20.13.1
28
+
29
+ ### Patch Changes
30
+
31
+ - 179d541: Add missing value for `button.pill.border.hover` to the light theme
32
+
33
+ ## 20.13.0
34
+
35
+ ### Minor Changes
36
+
37
+ - 516544cf9: add trustpilot partner logos
38
+
3
39
  ## 20.12.0
4
40
 
5
41
  ### Minor Changes
package/README.md CHANGED
@@ -218,3 +218,4 @@ When the PR is merged, [GitHub will kick off a publish of the new version](https
218
218
  ### **✍ Step 6: Document your changes**
219
219
 
220
220
  Racine components are documented in [Seeds](https://sproutsocial.com/seeds/components), Sprout's design system. You can open a PR to the [Seeds repository](https://github.com/sproutsocial/seeds) to add or edit component documentation. It's a good idea to have documentation changes ready to go at the same time your Racine contributions are deployed, so start early! Reach out to the Design Systems team if you need help getting started.
221
+
@@ -1,2 +1,2 @@
1
1
  // @flow
2
- export type EnumLogoNames = "adobe-experience-manager" | "android" | "apple-app-store" | "apple" | "bigcommerce" | "bitly" | "bynder" | "canva" | "dropbox" | "facebook-audience-network" | "facebook" | "facebook-groups" | "facebook-shops" | "feedly" | "github" | "glassdoor" | "google-analytics" | "google-business-messages" | "google-drive" | "google-my-business" | "google-play-store" | "hubspot" | "instagram" | "linkedin-audience-network" | "linkedin" | "marketo" | "messenger" | "microsoft-dynamics" | "pinterest" | "reddit" | "salesforce-cloud" | "salesforce" | "shopify" | "slack" | "sproutsocial" | "tableau" | "threads" | "tiktok" | "tripadvisor" | "tumblr" | "twitter-audience-network" | "twitter" | "whatsapp" | "woocommerce" | "x-twitter" | "yelp" | "youtube" | "zendesk";
2
+ export type EnumLogoNames = "adobe-experience-manager" | "android" | "apple-app-store" | "apple" | "bigcommerce" | "bitly" | "bynder" | "canva" | "dropbox" | "facebook-audience-network" | "facebook" | "facebook-groups" | "facebook-shops" | "feedly" | "github" | "glassdoor" | "google-analytics" | "google-business-messages" | "google-drive" | "google-my-business" | "google-play-store" | "hubspot" | "instagram" | "linkedin-audience-network" | "linkedin" | "marketo" | "messenger" | "microsoft-dynamics" | "pinterest" | "reddit" | "salesforce-cloud" | "salesforce" | "shopify" | "slack" | "sproutsocial" | "tableau" | "threads" | "tiktok" | "tripadvisor" | "trustpilot" | "tumblr" | "twitter-audience-network" | "twitter" | "whatsapp" | "woocommerce" | "x-twitter" | "yelp" | "youtube" | "zendesk";
@@ -89,6 +89,8 @@ module.exports = {
89
89
  "tiktok": "0 0 140 159",
90
90
  "tripadvisor-dark": "0 0 140 140",
91
91
  "tripadvisor": "0 0 140 140",
92
+ "trustpilot-dark": "0 0 272 258",
93
+ "trustpilot": "0 0 272 258",
92
94
  "tumblr-dark": "0 0 140 140",
93
95
  "tumblr": "0 0 140 140",
94
96
  "twitter-audience-network-dark": "0 0 140 140",
@@ -118,6 +118,7 @@ type TypeButtonColors = {|
118
118
  },
119
119
  border: {
120
120
  base: string,
121
+ hover: string,
121
122
  ...
122
123
  },
123
124
  text: {
@@ -333,6 +334,7 @@ type TypeNetworkColors = {|
333
334
  whatsapp: string,
334
335
  tiktok: string,
335
336
  threads: string,
337
+ trustpilot: string,
336
338
  ...
337
339
  }
338
340
  |};
@@ -2,5 +2,5 @@
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  var React = _interopRequireWildcard(require("react"));
5
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
6
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
5
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
6
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.getAvatarColor = exports.default = exports.Avatar = void 0;
8
- var React = _interopRequireWildcard(require("react"));
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var React = _react;
9
10
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
10
11
  var _classnames = _interopRequireDefault(require("classnames"));
11
12
  var _Box = _interopRequireDefault(require("../Box"));
@@ -14,8 +15,8 @@ var _Text = _interopRequireDefault(require("../Text"));
14
15
  var _excluded = ["fontSize"],
15
16
  _excluded2 = ["appearance", "name", "src", "variant", "type", "size", "bg", "color"];
16
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
20
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
20
21
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
21
22
  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."); }
@@ -63,7 +64,7 @@ var getInitials = function getInitials(name) {
63
64
  }) // Watch out for empty strings
64
65
  .join('');
65
66
  };
66
- var getAvatarColor = function getAvatarColor(name, type) {
67
+ var getAvatarColor = exports.getAvatarColor = function getAvatarColor(name, type) {
67
68
  if (type !== 'auto') {
68
69
  return type;
69
70
  }
@@ -79,8 +80,7 @@ var getAvatarColor = function getAvatarColor(name, type) {
79
80
  // for a given string. As a failsafe, return neutral (this should never happen).
80
81
  return colors[seed % colors.length] || 'neutral';
81
82
  };
82
- exports.getAvatarColor = getAvatarColor;
83
- var Avatar = function Avatar(_ref4) {
83
+ var Avatar = exports.Avatar = function Avatar(_ref4) {
84
84
  var _ref4$appearance = _ref4.appearance,
85
85
  appearance = _ref4$appearance === void 0 ? 'circle' : _ref4$appearance,
86
86
  _ref4$name = _ref4.name,
@@ -96,14 +96,14 @@ var Avatar = function Avatar(_ref4) {
96
96
  color = _ref4.color,
97
97
  rest = _objectWithoutProperties(_ref4, _excluded2);
98
98
  var colorType = getAvatarColor(name, type);
99
- var _useState = (0, React.useState)(false),
99
+ var _useState = (0, _react.useState)(false),
100
100
  _useState2 = _slicedToArray(_useState, 2),
101
101
  imageFailedLoading = _useState2[0],
102
102
  setImageFailedLoading = _useState2[1];
103
- var initials = (0, React.useMemo)(function () {
103
+ var initials = (0, _react.useMemo)(function () {
104
104
  return getInitials(name);
105
105
  }, [name]);
106
- var handleError = (0, React.useCallback)(function () {
106
+ var handleError = (0, _react.useCallback)(function () {
107
107
  setImageFailedLoading(true);
108
108
  }, [setImageFailedLoading]);
109
109
 
@@ -140,6 +140,4 @@ var Avatar = function Avatar(_ref4) {
140
140
  m: 0
141
141
  }));
142
142
  };
143
- exports.Avatar = Avatar;
144
- var _default = /*#__PURE__*/(0, React.memo)(Avatar);
145
- exports.default = _default;
143
+ var _default = exports.default = /*#__PURE__*/(0, _react.memo)(Avatar);
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.AvatarColorOptions = void 0;
7
- var AvatarColorOptions = Object.freeze({
7
+ var AvatarColorOptions = exports.AvatarColorOptions = Object.freeze({
8
8
  auto: 'auto',
9
9
  neutral: 'neutral',
10
10
  purple: 'purple',
@@ -13,5 +13,4 @@ var AvatarColorOptions = Object.freeze({
13
13
  yellow: 'yellow',
14
14
  red: 'red',
15
15
  orange: 'orange'
16
- });
17
- exports.AvatarColorOptions = AvatarColorOptions;
16
+ });
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.AvatarColorOptions = void 0;
7
- var AvatarColorOptions = {
7
+ var AvatarColorOptions = exports.AvatarColorOptions = {
8
8
  auto: 'auto',
9
9
  neutral: 'neutral',
10
10
  purple: 'purple',
@@ -13,5 +13,4 @@ var AvatarColorOptions = {
13
13
  yellow: 'yellow',
14
14
  red: 'red',
15
15
  orange: 'orange'
16
- };
17
- exports.AvatarColorOptions = AvatarColorOptions;
16
+ };
@@ -35,5 +35,4 @@ Object.keys(_AvatarTypes).forEach(function (key) {
35
35
  });
36
36
  var _constants = require("./constants");
37
37
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
38
- var _default = _Avatar.default;
39
- exports.default = _default;
38
+ var _default = exports.default = _Avatar.default;
@@ -3,5 +3,5 @@
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  var React = _interopRequireWildcard(require("react"));
5
5
  var _constants = require("./constants.flow");
6
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
7
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
6
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
7
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -11,8 +11,8 @@ var _Icon = _interopRequireDefault(require("../Icon"));
11
11
  var _styles = _interopRequireDefault(require("./styles"));
12
12
  var _excluded = ["children", "text", "iconName", "type", "tip", "size", "badgeColor", "color"];
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
16
  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); }
17
17
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
18
18
  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; }
@@ -56,5 +56,4 @@ var Badge = function Badge(_ref) {
56
56
  "aria-hidden": true
57
57
  }) : null, children || text));
58
58
  };
59
- var _default = Badge;
60
- exports.default = _default;
59
+ var _default = exports.default = Badge;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.badgeColors = void 0;
7
- var badgeColors = Object.freeze({
7
+ var badgeColors = exports.badgeColors = Object.freeze({
8
8
  green: 'green',
9
9
  blue: 'blue',
10
10
  purple: 'purple',
@@ -16,5 +16,4 @@ var badgeColors = Object.freeze({
16
16
  pink: 'pink',
17
17
  aqua: 'aqua',
18
18
  teal: 'teal'
19
- });
20
- exports.badgeColors = badgeColors;
19
+ });
@@ -38,7 +38,7 @@ var approval = {
38
38
  /**
39
39
  * @deprecated Use badgeColor instead
40
40
  */
41
- var legacyBadgeColors = {
41
+ var legacyBadgeColors = exports.legacyBadgeColors = {
42
42
  primary: primary,
43
43
  secondary: secondary,
44
44
  passive: passive,
@@ -47,8 +47,7 @@ var legacyBadgeColors = {
47
47
  default: defaultPurple,
48
48
  suggestion: suggestion
49
49
  };
50
- exports.legacyBadgeColors = legacyBadgeColors;
51
- var badgeColors = {
50
+ var badgeColors = exports.badgeColors = {
52
51
  green: 'green',
53
52
  blue: 'blue',
54
53
  purple: 'purple',
@@ -60,5 +59,4 @@ var badgeColors = {
60
59
  pink: 'pink',
61
60
  aqua: 'aqua',
62
61
  teal: 'teal'
63
- };
64
- exports.badgeColors = badgeColors;
62
+ };
@@ -39,5 +39,4 @@ Object.keys(_constants).forEach(function (key) {
39
39
  });
40
40
  });
41
41
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
42
- var _default = _Badge.default;
43
- exports.default = _default;
42
+ var _default = exports.default = _Badge.default;
@@ -23,5 +23,4 @@ var Container = _styledComponents.default.span.withConfig({
23
23
  }, function (p) {
24
24
  return p.size === 'small' ? "".concat(p.theme.space[0], " ").concat(p.theme.space[200]) : "".concat(p.theme.space[300]);
25
25
  }, _systemProps.COMMON);
26
- var _default = Container;
27
- exports.default = _default;
26
+ var _default = exports.default = Container;
@@ -2,5 +2,5 @@
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  var React = _interopRequireWildcard(require("react"));
5
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
6
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
5
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
6
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -12,8 +12,8 @@ var _Icon = _interopRequireDefault(require("../Icon"));
12
12
  var _styles = _interopRequireWildcard(require("./styles"));
13
13
  var _excluded = ["type", "text", "onClose", "closeButtonLabel", "typeIconProps"];
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
17
  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); }
18
18
  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; }
19
19
  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; }
@@ -87,5 +87,4 @@ var Banner = function Banner(_ref) {
87
87
  "aria-hidden": true
88
88
  })))));
89
89
  };
90
- var _default = Banner;
91
- exports.default = _default;
90
+ var _default = exports.default = Banner;
@@ -27,5 +27,4 @@ Object.keys(_BannerTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _Banner.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _Banner.default;
@@ -9,18 +9,16 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
9
  var _systemProps = require("../utils/system-props");
10
10
  var _Icon = _interopRequireDefault(require("../Icon"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
14
  var Container = _styledComponents.default.div.withConfig({
15
15
  displayName: "styles__Container",
16
16
  componentId: "sc-r8d7e5-0"
17
17
  })(function (props) {
18
18
  return (0, _styledComponents.css)(["display:flex;overflow:hidden;align-items:center;justify-content:space-between;color:", ";border-radius:", ";font-family:", ";", " padding:", ";border:1px solid ", ";background-color:", ";a,button{font-weight:", ";color:", ";font-size:inherit;&:hover{color:", ";text-decoration:underline;}}> span:not(.Icon){display:block;}", " ", ""], props.theme.colors.text.body, props.theme.radii.outer, props.theme.fontFamily, props.theme.typography[200], props.theme.space[300], props.theme.colors.container.border[props.type], props.theme.colors.container.background[props.type], props.theme.fontWeights.semibold, props.theme.colors.text.body, props.theme.colors.text.body, _systemProps.COMMON, _systemProps.LAYOUT);
19
19
  });
20
- var _default = Container;
21
- exports.default = _default;
22
- var StyledBannerIcon = (0, _styledComponents.default)(_Icon.default).withConfig({
20
+ var _default = exports.default = Container;
21
+ var StyledBannerIcon = exports.StyledBannerIcon = (0, _styledComponents.default)(_Icon.default).withConfig({
23
22
  displayName: "styles__StyledBannerIcon",
24
23
  componentId: "sc-r8d7e5-1"
25
- })(["align-self:flex-start;min-width:16px;"]);
26
- exports.StyledBannerIcon = StyledBannerIcon;
24
+ })(["align-self:flex-start;min-width:16px;"]);
@@ -2,5 +2,5 @@
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  var React = _interopRequireWildcard(require("react"));
5
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
6
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
5
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
6
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -9,8 +9,8 @@ var React = _interopRequireWildcard(require("react"));
9
9
  var _styles = _interopRequireDefault(require("./styles"));
10
10
  var _excluded = ["color"];
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
14
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
15
15
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
16
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -27,5 +27,4 @@ var Box = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
27
27
  }));
28
28
  });
29
29
  Box.displayName = 'Box';
30
- var _default = Box;
31
- exports.default = _default;
30
+ var _default = exports.default = Box;
@@ -27,5 +27,4 @@ Object.keys(_BoxTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _Box.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _Box.default;
@@ -14,5 +14,4 @@ var Container = _styledComponents.default.div.withConfig({
14
14
  var theme = _ref.theme;
15
15
  return theme.fontFamily;
16
16
  }, _systemProps.COMMON, _systemProps.BORDER, _systemProps.LAYOUT, _systemProps.POSITION, _systemProps.FLEXBOX, _systemProps.GRID);
17
- var _default = Container;
18
- exports.default = _default;
17
+ var _default = exports.default = Container;
@@ -2,5 +2,5 @@
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  var React = _interopRequireWildcard(require("react"));
5
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
6
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
5
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
6
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -12,13 +12,13 @@ var _styles = _interopRequireDefault(require("./styles"));
12
12
  var _excluded = ["children", "href"],
13
13
  _excluded2 = ["ariaLabel", "overflow", "children"];
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
17
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
18
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19
19
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
21
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
20
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
21
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
22
22
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
23
23
  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); }
24
24
  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; }
@@ -61,5 +61,4 @@ var Breadcrumb = function Breadcrumb(_ref2) {
61
61
  };
62
62
  BreadcrumbItem.displayName = 'Breadcrumb.Item';
63
63
  Breadcrumb.Item = BreadcrumbItem;
64
- var _default = Breadcrumb;
65
- exports.default = _default;
64
+ var _default = exports.default = Breadcrumb;
@@ -27,5 +27,4 @@ Object.keys(_BreadcrumbTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _Breadcrumb.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _Breadcrumb.default;
@@ -26,5 +26,4 @@ var Nav = _styledComponents.default.nav.withConfig({
26
26
  }, function (props) {
27
27
  return props.theme.space[200];
28
28
  });
29
- var _default = Nav;
30
- exports.default = _default;
29
+ var _default = exports.default = Nav;
@@ -2,5 +2,5 @@
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  var React = _interopRequireWildcard(require("react"));
5
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
6
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
5
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
6
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -54,5 +54,4 @@ var Button = function Button(_ref) {
54
54
  }, qa, rest), children);
55
55
  };
56
56
  Button.displayName = 'Button';
57
- var _default = Button;
58
- exports.default = _default;
57
+ var _default = exports.default = Button;
@@ -27,5 +27,4 @@ Object.keys(_ButtonTypes).forEach(function (key) {
27
27
  });
28
28
  });
29
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
- var _default = _Button.default;
31
- exports.default = _default;
30
+ var _default = exports.default = _Button.default;
@@ -10,8 +10,8 @@ var _systemProps = require("../utils/system-props");
10
10
  var _mixins = require("../utils/mixins");
11
11
  var _styles = _interopRequireDefault(require("../Icon/styles"));
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
15
  var Container = _styledComponents.default.button.withConfig({
16
16
  displayName: "styles__Container",
17
17
  componentId: "sc-17njgx1-0"
@@ -52,11 +52,7 @@ var Container = _styledComponents.default.button.withConfig({
52
52
  }, function (props) {
53
53
  return props.disabled && _mixins.disabled;
54
54
  }, function (props) {
55
- return props.appearance === 'pill' && (0, _styledComponents.css)(["display:inline-flex;align-items:center;justify-content:center;background-color:transparent;", " &:focus:active,&:hover{background-color:transparent;box-shadow:inset 0px 0px 0px 1px ", ";}"], _mixins.pill,
56
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
57
- // @ts-ignore - FIXME: button.pill.border.hover is not defined in theme
58
- props.theme.colors.button[props.appearance].border.hover);
55
+ return props.appearance === 'pill' && (0, _styledComponents.css)(["display:inline-flex;align-items:center;justify-content:center;background-color:transparent;", " &:focus:active,&:hover{background-color:transparent;box-shadow:inset 0px 0px 0px 1px ", ";}"], _mixins.pill, props.theme.colors.button.pill.border.hover);
59
56
  }, _styles.default, _systemProps.LAYOUT, _systemProps.COMMON, _systemProps.FLEXBOX, _systemProps.GRID);
60
57
  Container.displayName = 'Button-Container';
61
- var _default = Container; //${props.theme.mode === "dark" ? "screen" : "multiply"}
62
- exports.default = _default;
58
+ var _default = exports.default = Container; //${props.theme.mode === "dark" ? "screen" : "multiply"}