@sproutsocial/racine 13.0.2 → 13.3.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 (317) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/__flow__/EnumIconNames.js +1 -1
  3. package/__flow__/EnumIllustrationNames.js +1 -1
  4. package/__flow__/EnumLogoNames.js +1 -1
  5. package/__flow__/IconViewBoxes.js +4 -0
  6. package/__flow__/IllustrationViewBoxes.js +2 -0
  7. package/__flow__/LogoViewBoxes.js +4 -0
  8. package/__flow__/Numeral/tests/testNumeral.js +9 -13
  9. package/__flow__/PartnerLogo/TypePartnerNames.js +1 -1
  10. package/__flow__/SpotIllustration/illustrationNames.js +1 -1
  11. package/__flow__/TableHeaderCell/index.js +1 -0
  12. package/__flow__/utils/react-testing-library.js +10 -5
  13. package/commonjs/Avatar/index.js +1 -1
  14. package/commonjs/Badge/constants.js +0 -1
  15. package/commonjs/Badge/styles.js +0 -1
  16. package/commonjs/Banner/styles.js +0 -1
  17. package/commonjs/Box/styles.js +0 -1
  18. package/commonjs/Breadcrumb/index.js +3 -1
  19. package/commonjs/Breadcrumb/styles.js +0 -1
  20. package/commonjs/Button/styles.js +0 -1
  21. package/commonjs/Card/index.js +0 -1
  22. package/commonjs/Card/styles.js +0 -1
  23. package/commonjs/CharacterCounter/index.js +5 -3
  24. package/commonjs/CharacterCounter/styles.js +0 -1
  25. package/commonjs/ChartLegend/styles.js +0 -1
  26. package/commonjs/Checkbox/index.js +5 -3
  27. package/commonjs/Checkbox/styles.js +0 -1
  28. package/commonjs/Collapsible/index.js +4 -2
  29. package/commonjs/Collapsible/styles.js +0 -1
  30. package/commonjs/DatePicker/StatefulDateRangePicker.js +1 -1
  31. package/commonjs/DatePicker/StatefulSingleDatePicker.js +1 -1
  32. package/commonjs/DatePicker/common.js +0 -1
  33. package/commonjs/DatePicker/styles.js +0 -2
  34. package/commonjs/Drawer/index.js +3 -1
  35. package/commonjs/Drawer/styles.js +0 -1
  36. package/commonjs/Fieldset/styles.js +0 -1
  37. package/commonjs/FormField/index.flow.js +0 -1
  38. package/commonjs/FormField/index.js +1 -2
  39. package/commonjs/Icon/styles.js +0 -1
  40. package/commonjs/IconViewBoxes.js +4 -0
  41. package/commonjs/IllustrationViewBoxes.js +2 -0
  42. package/commonjs/Image/index.js +5 -3
  43. package/commonjs/Image/styles.js +0 -1
  44. package/commonjs/Indicator/index.js +5 -3
  45. package/commonjs/Indicator/styles.js +0 -1
  46. package/commonjs/Input/index.js +5 -3
  47. package/commonjs/Input/styles.js +0 -1
  48. package/commonjs/KeyboardKey/index.js +3 -1
  49. package/commonjs/KeyboardKey/styles.js +0 -1
  50. package/commonjs/Label/index.js +3 -2
  51. package/commonjs/Link/constants.js +0 -1
  52. package/commonjs/Link/styles.js +0 -1
  53. package/commonjs/Listbox/index.js +3 -1
  54. package/commonjs/Loader/index.js +5 -3
  55. package/commonjs/Loader/styles.js +0 -1
  56. package/commonjs/LogoViewBoxes.js +4 -0
  57. package/commonjs/Menu/constants.js +0 -1
  58. package/commonjs/Menu/descendants.js +5 -3
  59. package/commonjs/Menu/hooks.js +0 -1
  60. package/commonjs/Menu/index.js +4 -2
  61. package/commonjs/Menu/styles.js +0 -1
  62. package/commonjs/Message/constants.js +0 -1
  63. package/commonjs/Message/styles.js +0 -1
  64. package/commonjs/Numeral/index.js +1 -1
  65. package/commonjs/Numeral/styles.js +0 -1
  66. package/commonjs/Numeral/tests/testNumeral.js +14 -14
  67. package/commonjs/OverflowList/styles.js +0 -1
  68. package/commonjs/PartnerLogo/styles.js +0 -1
  69. package/commonjs/Popout/index.js +4 -2
  70. package/commonjs/Popout/styles.js +0 -1
  71. package/commonjs/Portal/index.js +5 -3
  72. package/commonjs/Radio/index.js +5 -3
  73. package/commonjs/Radio/styles.js +0 -1
  74. package/commonjs/SegmentedControl/index.js +1 -1
  75. package/commonjs/SegmentedControl/styles.js +0 -1
  76. package/commonjs/Select/index.js +5 -3
  77. package/commonjs/Select/styles.js +0 -1
  78. package/commonjs/Skeleton/index.js +0 -1
  79. package/commonjs/SpotIllustration/illustrationNames.js +1 -1
  80. package/commonjs/SpotIllustration/index.js +0 -1
  81. package/commonjs/Switch/index.js +5 -3
  82. package/commonjs/Switch/styles.js +0 -1
  83. package/commonjs/Table/styles.js +0 -1
  84. package/commonjs/TableCell/index.js +3 -1
  85. package/commonjs/TableCell/styles.js +0 -1
  86. package/commonjs/TableHeaderCell/constants.js +0 -1
  87. package/commonjs/TableHeaderCell/index.js +17 -3
  88. package/commonjs/TableHeaderCell/styles.js +0 -1
  89. package/commonjs/TableRowAccordion/index.js +5 -3
  90. package/commonjs/TableRowAccordion/styles.js +0 -1
  91. package/commonjs/Tabs/index.js +5 -3
  92. package/commonjs/Tabs/styles.js +0 -1
  93. package/commonjs/Text/styles.js +0 -1
  94. package/commonjs/Textarea/index.js +5 -3
  95. package/commonjs/Textarea/styles.js +0 -1
  96. package/commonjs/Toast/styles.js +0 -2
  97. package/commonjs/ToggleHint/index.js +5 -3
  98. package/commonjs/ToggleHint/styles.js +0 -1
  99. package/commonjs/Token/styles.js +0 -1
  100. package/commonjs/TokenInput/index.js +5 -3
  101. package/commonjs/TokenInput/styles.js +0 -1
  102. package/commonjs/TokenInput/util.js +0 -1
  103. package/commonjs/Tooltip/index.js +4 -2
  104. package/commonjs/Tooltip/styles.js +0 -1
  105. package/commonjs/VisuallyHidden/index.js +0 -1
  106. package/commonjs/dataviz/index.js +0 -1
  107. package/commonjs/systemProps/background.js +0 -1
  108. package/commonjs/systemProps/border.js +0 -1
  109. package/commonjs/systemProps/color.js +0 -1
  110. package/commonjs/systemProps/custom.js +0 -1
  111. package/commonjs/systemProps/flexbox.js +0 -1
  112. package/commonjs/systemProps/grid.js +0 -1
  113. package/commonjs/systemProps/layout.js +0 -1
  114. package/commonjs/systemProps/position.js +0 -1
  115. package/commonjs/systemProps/shadow.js +0 -1
  116. package/commonjs/systemProps/space.js +1 -3
  117. package/commonjs/systemProps/systemProps.js +0 -1
  118. package/commonjs/systemProps/tests/types.flow.js +0 -1
  119. package/commonjs/systemProps/typography.js +0 -1
  120. package/commonjs/systemProps/variant.js +0 -1
  121. package/commonjs/themes/dark/dataviz-palette.js +0 -1
  122. package/commonjs/themes/dark/decorative-palettes.js +0 -1
  123. package/commonjs/themes/dark/theme.js +4 -1
  124. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +4 -1
  125. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +4 -1
  126. package/commonjs/themes/light/dataviz-palette.js +0 -1
  127. package/commonjs/themes/light/decorative-palettes.js +0 -1
  128. package/commonjs/themes/light/literal-colors.js +0 -1
  129. package/commonjs/themes/light/theme.js +4 -1
  130. package/commonjs/utils/a11yTest.js +1 -1
  131. package/commonjs/utils/chartColors.js +0 -1
  132. package/commonjs/utils/constants.js +0 -1
  133. package/commonjs/utils/dataQaLabelQueries.js +1 -1
  134. package/commonjs/utils/hooks.js +5 -3
  135. package/commonjs/utils/index.js +0 -1
  136. package/commonjs/utils/innerText.js +0 -2
  137. package/commonjs/utils/mixins.js +0 -1
  138. package/commonjs/utils/react-testing-library.js +13 -14
  139. package/commonjs/utils/system-props.js +0 -1
  140. package/commonjs/utils/useInteractiveColor.js +0 -1
  141. package/dist/icon.svg +1 -1
  142. package/dist/iconList.js +1 -1
  143. package/dist/illustration.svg +1 -1
  144. package/dist/illustrationList.js +1 -1
  145. package/dist/logo.svg +1 -1
  146. package/dist/logoList.js +1 -1
  147. package/lib/Avatar/index.js +1 -1
  148. package/lib/Badge/constants.js +0 -2
  149. package/lib/Badge/index.flow.js +0 -1
  150. package/lib/Badge/styles.js +0 -1
  151. package/lib/Banner/index.flow.js +0 -1
  152. package/lib/Banner/styles.js +0 -1
  153. package/lib/Box/index.flow.js +0 -1
  154. package/lib/Box/styles.js +0 -1
  155. package/lib/Breadcrumb/index.flow.js +0 -1
  156. package/lib/Breadcrumb/index.js +4 -1
  157. package/lib/Breadcrumb/styles.js +0 -1
  158. package/lib/Button/index.flow.js +0 -1
  159. package/lib/Button/styles.js +0 -1
  160. package/lib/Card/index.flow.js +0 -1
  161. package/lib/Card/index.js +0 -1
  162. package/lib/Card/styles.js +0 -1
  163. package/lib/CharacterCounter/index.js +5 -3
  164. package/lib/CharacterCounter/styles.js +0 -1
  165. package/lib/ChartLegend/styles.js +0 -1
  166. package/lib/Checkbox/index.js +5 -3
  167. package/lib/Checkbox/styles.js +0 -1
  168. package/lib/Collapsible/index.flow.js +0 -1
  169. package/lib/Collapsible/index.js +5 -2
  170. package/lib/Collapsible/styles.js +0 -1
  171. package/lib/DatePicker/StatefulDateRangePicker.js +1 -1
  172. package/lib/DatePicker/StatefulSingleDatePicker.js +1 -1
  173. package/lib/DatePicker/common.js +0 -1
  174. package/lib/DatePicker/styles.js +0 -1
  175. package/lib/Drawer/index.flow.js +0 -1
  176. package/lib/Drawer/index.js +4 -1
  177. package/lib/Drawer/styles.js +0 -1
  178. package/lib/EmptyState/index.flow.js +0 -1
  179. package/lib/Fieldset/index.flow.js +0 -1
  180. package/lib/Fieldset/styles.js +0 -1
  181. package/lib/FormField/index.flow.js +0 -1
  182. package/lib/FormField/index.js +1 -2
  183. package/lib/Icon/deprecatedIcons.js +0 -1
  184. package/lib/Icon/index.flow.js +0 -2
  185. package/lib/Icon/styles.js +0 -1
  186. package/lib/IconViewBoxes.js +4 -0
  187. package/lib/IllustrationViewBoxes.js +2 -0
  188. package/lib/Image/index.js +5 -3
  189. package/lib/Image/styles.js +0 -1
  190. package/lib/Indicator/index.js +5 -3
  191. package/lib/Indicator/styles.js +0 -1
  192. package/lib/Input/index.flow.js +0 -1
  193. package/lib/Input/index.js +5 -3
  194. package/lib/Input/styles.js +0 -1
  195. package/lib/KeyboardKey/index.js +3 -1
  196. package/lib/KeyboardKey/styles.js +0 -1
  197. package/lib/Label/index.flow.js +0 -1
  198. package/lib/Label/index.js +3 -2
  199. package/lib/Link/constants.js +0 -1
  200. package/lib/Link/index.flow.js +0 -1
  201. package/lib/Link/styles.js +0 -1
  202. package/lib/Listbox/index.flow.js +0 -1
  203. package/lib/Listbox/index.js +4 -1
  204. package/lib/Loader/index.js +5 -3
  205. package/lib/Loader/styles.js +0 -1
  206. package/lib/LogoViewBoxes.js +4 -0
  207. package/lib/Menu/constants.js +0 -2
  208. package/lib/Menu/descendants.js +5 -2
  209. package/lib/Menu/hooks.js +0 -1
  210. package/lib/Menu/index.flow.js +0 -1
  211. package/lib/Menu/index.js +5 -2
  212. package/lib/Menu/styles.js +0 -1
  213. package/lib/Message/constants.js +0 -2
  214. package/lib/Message/index.flow.js +0 -1
  215. package/lib/Message/styles.js +0 -1
  216. package/lib/Modal/index.flow.js +0 -1
  217. package/lib/Numeral/constants.js +0 -1
  218. package/lib/Numeral/index.js +1 -1
  219. package/lib/Numeral/styles.js +0 -1
  220. package/lib/Numeral/tests/testNumeral.js +14 -14
  221. package/lib/OverflowList/index.flow.js +0 -1
  222. package/lib/OverflowList/styles.js +0 -1
  223. package/lib/PartnerLogo/styles.js +0 -1
  224. package/lib/Popout/index.flow.js +0 -1
  225. package/lib/Popout/index.js +5 -2
  226. package/lib/Popout/styles.js +0 -1
  227. package/lib/Portal/index.flow.js +0 -1
  228. package/lib/Portal/index.js +4 -2
  229. package/lib/Radio/index.js +5 -3
  230. package/lib/Radio/styles.js +0 -1
  231. package/lib/SegmentedControl/index.flow.js +0 -1
  232. package/lib/SegmentedControl/index.js +1 -1
  233. package/lib/SegmentedControl/styles.js +0 -1
  234. package/lib/Select/index.flow.js +0 -1
  235. package/lib/Select/index.js +5 -3
  236. package/lib/Select/styles.js +0 -1
  237. package/lib/Skeleton/index.js +0 -1
  238. package/lib/SpotIllustration/illustrationNames.js +1 -2
  239. package/lib/SpotIllustration/index.js +0 -1
  240. package/lib/Stack/index.flow.js +0 -1
  241. package/lib/Switch/index.js +5 -3
  242. package/lib/Switch/styles.js +0 -1
  243. package/lib/Table/index.flow.js +0 -1
  244. package/lib/Table/styles.js +0 -1
  245. package/lib/TableCell/index.flow.js +0 -1
  246. package/lib/TableCell/index.js +3 -1
  247. package/lib/TableCell/styles.js +0 -1
  248. package/lib/TableHeaderCell/constants.js +0 -2
  249. package/lib/TableHeaderCell/index.flow.js +0 -2
  250. package/lib/TableHeaderCell/index.js +10 -3
  251. package/lib/TableHeaderCell/styles.js +0 -1
  252. package/lib/TableRowAccordion/index.flow.js +0 -1
  253. package/lib/TableRowAccordion/index.js +5 -3
  254. package/lib/TableRowAccordion/styles.js +0 -1
  255. package/lib/Tabs/index.flow.js +0 -1
  256. package/lib/Tabs/index.js +5 -3
  257. package/lib/Tabs/styles.js +0 -1
  258. package/lib/Text/index.flow.js +0 -1
  259. package/lib/Text/styles.js +0 -1
  260. package/lib/Textarea/index.flow.js +0 -1
  261. package/lib/Textarea/index.js +5 -3
  262. package/lib/Textarea/styles.js +0 -1
  263. package/lib/Toast/index.flow.js +0 -1
  264. package/lib/Toast/styles.js +0 -1
  265. package/lib/ToggleHint/index.js +5 -3
  266. package/lib/ToggleHint/styles.js +0 -1
  267. package/lib/Token/index.flow.js +0 -1
  268. package/lib/Token/styles.js +0 -1
  269. package/lib/TokenInput/index.flow.js +0 -1
  270. package/lib/TokenInput/index.js +5 -3
  271. package/lib/TokenInput/styles.js +0 -1
  272. package/lib/TokenInput/util.js +0 -2
  273. package/lib/Tooltip/index.flow.js +0 -1
  274. package/lib/Tooltip/index.js +4 -2
  275. package/lib/Tooltip/styles.js +0 -1
  276. package/lib/VisuallyHidden/index.js +0 -1
  277. package/lib/dataviz/index.js +0 -1
  278. package/lib/index.js +0 -3
  279. package/lib/systemProps/background.js +0 -2
  280. package/lib/systemProps/border.js +0 -2
  281. package/lib/systemProps/color.js +0 -2
  282. package/lib/systemProps/custom.js +0 -2
  283. package/lib/systemProps/flexbox.js +0 -2
  284. package/lib/systemProps/grid.js +0 -2
  285. package/lib/systemProps/index.js +0 -2
  286. package/lib/systemProps/layout.js +0 -2
  287. package/lib/systemProps/position.js +0 -2
  288. package/lib/systemProps/shadow.js +0 -2
  289. package/lib/systemProps/space.js +1 -3
  290. package/lib/systemProps/systemProps.js +0 -1
  291. package/lib/systemProps/tests/types.flow.js +0 -3
  292. package/lib/systemProps/typography.js +0 -2
  293. package/lib/systemProps/variant.js +0 -1
  294. package/lib/themes/dark/dataviz-palette.js +0 -2
  295. package/lib/themes/dark/decorative-palettes.js +0 -2
  296. package/lib/themes/dark/theme.js +4 -1
  297. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +4 -1
  298. package/lib/themes/extendedThemes/sproutTheme/index.js +0 -1
  299. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +4 -1
  300. package/lib/themes/light/dataviz-palette.js +0 -2
  301. package/lib/themes/light/decorative-palettes.js +0 -2
  302. package/lib/themes/light/literal-colors.js +0 -2
  303. package/lib/themes/light/theme.js +4 -2
  304. package/lib/types/theme.colors.flow.js +0 -2
  305. package/lib/types/theme.flow.js +0 -1
  306. package/lib/utils/a11yTest.js +1 -1
  307. package/lib/utils/chartColors.js +0 -2
  308. package/lib/utils/constants.js +0 -2
  309. package/lib/utils/dataQaLabelQueries.js +1 -1
  310. package/lib/utils/hooks.js +5 -3
  311. package/lib/utils/index.js +0 -1
  312. package/lib/utils/innerText.js +0 -3
  313. package/lib/utils/mixins.js +0 -1
  314. package/lib/utils/react-testing-library.js +11 -7
  315. package/lib/utils/system-props.js +0 -1
  316. package/lib/utils/useInteractiveColor.js +0 -1
  317. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Change Log
2
2
 
3
+ ## 13.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9eaa1f94: Added small spot illustration for `notifications` and an extra large notification for `publishing-notifications`
8
+
9
+ ## 13.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 4a82bd91: - Added a feature file to the Card component that outlines its features in Gherkin format
14
+ - Added first attempt at tests to test the features outlined in the feature file as well as parts of teh component's API
15
+
16
+ ### Patch Changes
17
+
18
+ - 4a882440: These updates include bumps to dependencies and devDependecies to address security vulnerabilities
19
+
20
+ ## 13.1.1
21
+
22
+ ### Patch Changes
23
+
24
+ - a9b3d47: Patch to fix npm publish
25
+
26
+ ## 13.1.0
27
+
28
+ ### Minor Changes
29
+
30
+ - aee3064e: bump networkcolors to include google play store and apple app store
31
+ - d48ca3d3: add logos for google play store and apple app store integrations
32
+
33
+ ### Patch Changes
34
+
35
+ - fd455918: Add missing constants export to TableHeaderCell/index.js
36
+ - e6f97dd4: Upgrade json5 to 2.2.3 to fix vulnerability
37
+ - 3485cc51: Bump decoder-uri-component to 0.2.2
38
+
3
39
  ## 13.0.2
4
40
 
5
41
  ### Patch Changes
@@ -1,2 +1,2 @@
1
1
  // @flow
2
- export type EnumIconNames = "active-listener" | "add-item" | "add-keyword" | "add-team-member" | "add-variable" | "address-card-outline" | "address-card-solid" | "adobe-experience-manager" | "ads" | "advocacy-outline" | "advocacy" | "android" | "apple" | "approval-indicator-outline" | "approval-indicator" | "archive" | "arrow-down-line" | "arrow-down" | "arrow-left-line" | "arrow-left" | "arrow-right-line" | "arrow-right" | "arrow-up-line" | "arrow-up" | "arrows" | "asset-library-outline" | "asset-library" | "assign" | "atom" | "audio" | "back-to-top" | "bambu-icon-outline" | "bambu-icon" | "barcode" | "basketball" | "bell-outline" | "bigcommerce" | "bitly" | "bold" | "book" | "bookmark" | "bot" | "browser" | "business" | "calendar-outline" | "calendar" | "camera-outline" | "camera-story" | "camera" | "campaign" | "canva" | "carousel" | "cart-plus-outline" | "cart-plus" | "check" | "chevron-down-filled" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up-down-filled" | "chevron-up-filled" | "chevron-up" | "circle-check-outline" | "circle-check" | "circle" | "circle+" | "circles" | "circlex" | "click-to-view" | "clicks" | "clipboard-outline" | "clipboard" | "clock" | "closed-captioning" | "cloud" | "code" | "columns" | "comment-alt-outline" | "comment-alt" | "comment-lines-alt-outline" | "comment" | "compact-density" | "compact-indicator" | "comparison" | "competitor" | "compose" | "content-suggestions" | "credit-card" | "crop" | "crown" | "dashboard" | "deconstructed-negative-sentiment" | "deconstructed-neutral-sentiment" | "deconstructed-positive-sentiment" | "discovery" | "dislike-outline" | "dislike" | "dm-link-outline" | "dm-link" | "dotdotdot" | "download" | "drafts-outline" | "drafts" | "dropbox" | "duplicate-outline" | "duplicate" | "emoji-outline" | "emoji" | "empty-image" | "engagement-per-post" | "engagements" | "error" | "exchange-alt" | "expanded-indicator" | "export" | "extended-circles" | "external-link-alt" | "external-link" | "extreme-negative-sentiment" | "eye-outline" | "eye-slash-outline" | "eye-slash" | "eye" | "facebook-audience-network" | "facebook-branded-content-outline" | "facebook-branded-content" | "facebook-groups" | "facebook" | "fb-reactions-angry" | "fb-reactions-haha" | "fb-reactions-like" | "fb-reactions-love" | "fb-reactions-sad" | "fb-reactions-wow" | "feedly" | "feeds" | "female" | "file-chart-line" | "file-edit" | "file-times-solid" | "filter" | "flag-outline" | "flag" | "flat-negative-sentiment-outline" | "flat-negative-sentiment" | "flat-neutral-sentiment-outline" | "flat-neutral-sentiment" | "flat-positive-sentiment-outline" | "flat-positive-sentiment" | "folder-open" | "folder" | "follow-outline" | "follow" | "follower-increase" | "following" | "font" | "full-access" | "gear" | "gears" | "glassdoor" | "glasses" | "globe" | "google-analytics-color" | "google-business-messages" | "google-drive" | "google-my-business" | "grip" | "h1" | "h2" | "h3" | "h4" | "hamburger" | "hashtag" | "headset" | "heart-outline" | "heart" | "heartbeat" | "help-alt" | "help" | "hiking" | "history" | "home" | "hourglass" | "hubspot" | "image-caption" | "image" | "images" | "impressions-per-post" | "impressions" | "inactive-listener" | "inbox-action" | "inbox-views" | "inbox" | "indicator" | "industry" | "info" | "instagram" | "internal-activity-outline" | "internal-activity" | "italic" | "key" | "keyboard" | "laptop-phone" | "large-density" | "lift" | "like-outline" | "like" | "link" | "linkedin-audience-network" | "linkedin" | "list-ol" | "listening" | "lists" | "location-outline" | "location" | "lock" | "magic-wand" | "male" | "marketo" | "mention" | "message-preview-outline" | "message-preview" | "message" | "messages-outline" | "messages" | "messenger" | "metric-table" | "microsoft-dynamics" | "minus" | "mobile" | "monitor" | "moon" | "negative-sentiment" | "neutral-positive-sentiment" | "neutral-sentiment" | "new-trend" | "newspaper" | "no-access" | "notepad" | "notifications-publishing-outline" | "notifications-publishing" | "notifications" | "offline" | "online" | "paid-promotion-outline" | "paid-promotion" | "paid" | "paint" | "palette" | "paperclip" | "pause" | "pencil-outline" | "pencil" | "person" | "phone" | "pinterest-boards-outline" | "pinterest-boards" | "pinterest" | "play-circle" | "play" | "plug" | "plus" | "positive-sentiment" | "power-up-outline" | "power-up" | "profile-connect" | "profile-disconnect" | "publishing-outline" | "publishing" | "puzzle-piece" | "qr-code" | "queue" | "recommendation" | "reddit-alien" | "reddit" | "reels-outline" | "reels" | "referrals" | "refresh" | "rejected" | "reply-outline" | "reply" | "reporting-period" | "reporting" | "reports-home" | "reports" | "retweet" | "rss" | "sales" | "salesforce-cloud" | "salesforce" | "save-assets" | "saved-messages" | "saved-reply-outline" | "saved-reply" | "search" | "sent-message-outline" | "sent-message" | "share" | "shopify" | "shopping-bag-outline" | "shopping-bag" | "show-navigation" | "slack" | "small-density" | "smiley" | "some-access" | "sparkles" | "spike-alert" | "star-half-alt-solid" | "star-of-life" | "star-outline" | "star" | "sticky-note-outline" | "sticky-note" | "stories" | "story" | "suggestions" | "sun" | "tag-outline" | "tag" | "targeting-outline" | "targeting" | "tasks-outline" | "tasks" | "team-conversation-outline" | "team-conversation" | "team" | "text-asset" | "text" | "tiktok" | "times" | "tools" | "trash-can-outline" | "trash-can" | "trend-down" | "trend-neutral" | "trend-up" | "trends" | "triangle-black" | "triangle" | "tripadvisor-circle-outline" | "tripadvisor-circle" | "tripadvisor" | "trophy-outline" | "tumblr" | "twitter-audience-network" | "twitter" | "underline" | "unfollow-outline" | "unfollow" | "unlink" | "unlock" | "upload" | "user-circle" | "users" | "verified" | "video-camera-story" | "video-camera" | "vip" | "weight" | "whatsapp" | "window-maximize" | "window-minimize" | "window-regular" | "window-restore" | "woocommerce" | "x" | "yelp-full-star" | "yelp-half-star" | "yelp" | "youtube" | "zendesk";
2
+ export type EnumIconNames = "active-listener" | "add-item" | "add-keyword" | "add-team-member" | "add-variable" | "address-card-outline" | "address-card-solid" | "adobe-experience-manager" | "ads" | "advocacy-outline" | "advocacy" | "android" | "apple" | "approval-indicator-outline" | "approval-indicator" | "archive" | "arrow-down-line" | "arrow-down" | "arrow-left-line" | "arrow-left" | "arrow-right-line" | "arrow-right" | "arrow-up-line" | "arrow-up" | "arrows" | "asset-library-outline" | "asset-library" | "assign" | "atom" | "audio" | "back-to-top" | "bambu-icon-outline" | "bambu-icon" | "barcode" | "basketball" | "bell-outline" | "bigcommerce" | "bitly" | "bold" | "book" | "bookmark" | "bot" | "browser" | "business" | "calendar-outline" | "calendar" | "camera-outline" | "camera-story" | "camera" | "campaign" | "canva" | "carousel" | "cart-plus-outline" | "cart-plus" | "check" | "chevron-down-filled" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up-down-filled" | "chevron-up-filled" | "chevron-up" | "circle-check-outline" | "circle-check" | "circle" | "circle+" | "circles" | "circlex" | "click-to-view" | "clicks" | "clipboard-outline" | "clipboard" | "clock" | "closed-captioning" | "cloud" | "code" | "columns" | "comment-alt-outline" | "comment-alt" | "comment-lines-alt-outline" | "comment" | "compact-density" | "compact-indicator" | "comparison" | "competitor" | "compose" | "content-suggestions" | "credit-card" | "crop" | "crown" | "dashboard" | "deconstructed-negative-sentiment" | "deconstructed-neutral-sentiment" | "deconstructed-positive-sentiment" | "discovery" | "dislike-outline" | "dislike" | "dm-link-outline" | "dm-link" | "dotdotdot" | "download" | "drafts-outline" | "drafts" | "dropbox" | "duplicate-outline" | "duplicate" | "emoji-outline" | "emoji" | "empty-image" | "engagement-per-post" | "engagements" | "error" | "exchange-alt" | "expanded-indicator" | "export" | "extended-circles" | "external-link-alt" | "external-link" | "extreme-negative-sentiment" | "eye-outline" | "eye-slash-outline" | "eye-slash" | "eye" | "facebook-audience-network" | "facebook-branded-content-outline" | "facebook-branded-content" | "facebook-groups" | "facebook" | "fb-reactions-angry" | "fb-reactions-haha" | "fb-reactions-like" | "fb-reactions-love" | "fb-reactions-sad" | "fb-reactions-wow" | "feedly" | "feeds" | "female" | "file-chart-line" | "file-edit" | "file-times-solid" | "filter" | "flag-outline" | "flag" | "flat-negative-sentiment-outline" | "flat-negative-sentiment" | "flat-neutral-sentiment-outline" | "flat-neutral-sentiment" | "flat-positive-sentiment-outline" | "flat-positive-sentiment" | "folder-open" | "folder" | "follow-outline" | "follow" | "follower-increase" | "following" | "font" | "full-access" | "gear" | "gears" | "github" | "glassdoor" | "glasses" | "globe" | "google-analytics-color" | "google-business-messages" | "google-drive" | "google-my-business" | "grip" | "h1" | "h2" | "h3" | "h4" | "hamburger" | "hashtag" | "headset" | "heart-outline" | "heart" | "heartbeat" | "help-alt" | "help" | "hiking" | "history" | "home" | "hourglass" | "hubspot" | "image-caption" | "image" | "images" | "impressions-per-post" | "impressions" | "inactive-listener" | "inbox-action" | "inbox-views" | "inbox" | "indicator" | "industry" | "info" | "instagram" | "internal-activity-outline" | "internal-activity" | "italic" | "key" | "keyboard" | "laptop-phone" | "large-density" | "lift" | "like-outline" | "like" | "link" | "linkedin-audience-network" | "linkedin" | "list-ol" | "listening" | "lists" | "location-outline" | "location" | "lock" | "magic-wand" | "male" | "marketo" | "mention" | "message-preview-outline" | "message-preview" | "message" | "messages-outline" | "messages" | "messenger" | "metric-table" | "microsoft-dynamics" | "minus" | "mobile" | "monitor" | "moon" | "negative-sentiment" | "neutral-positive-sentiment" | "neutral-sentiment" | "new-trend" | "newspaper" | "no-access" | "notepad" | "notifications-publishing-outline" | "notifications-publishing" | "notifications" | "offline" | "online" | "paid-promotion-outline" | "paid-promotion" | "paid" | "paint" | "palette" | "paperclip" | "pause" | "pencil-outline" | "pencil" | "person" | "phone" | "pinterest-boards-outline" | "pinterest-boards" | "pinterest" | "play-circle" | "play" | "plug" | "plus" | "positive-sentiment" | "power-up-outline" | "power-up" | "profile-connect" | "profile-disconnect" | "publishing-outline" | "publishing" | "puzzle-piece" | "qr-code" | "queue" | "recommendation" | "reddit-alien" | "reddit" | "reels-outline" | "reels" | "referrals" | "refresh" | "rejected" | "reply-outline" | "reply" | "reporting-period" | "reporting" | "reports-home" | "reports" | "retweet" | "rss" | "sales" | "salesforce-cloud" | "salesforce" | "save-assets" | "saved-messages" | "saved-reply-outline" | "saved-reply" | "search" | "send-again-outline" | "send-again" | "sent-message-outline" | "sent-message" | "share" | "shopify" | "shopping-bag-outline" | "shopping-bag" | "show-navigation" | "slack" | "small-density" | "smiley" | "some-access" | "sparkles" | "spike-alert" | "star-half-alt-solid" | "star-of-life" | "star-outline" | "star" | "sticky-note-outline" | "sticky-note" | "stories" | "story" | "suggestions" | "sun" | "tag-outline" | "tag" | "targeting-outline" | "targeting" | "tasks-check" | "tasks-outline" | "tasks" | "team-conversation-outline" | "team-conversation" | "team" | "text-asset" | "text" | "tiktok" | "times" | "tools" | "trash-can-outline" | "trash-can" | "trend-down" | "trend-neutral" | "trend-up" | "trends" | "triangle-black" | "triangle" | "tripadvisor-circle-outline" | "tripadvisor-circle" | "tripadvisor" | "trophy-outline" | "tumblr" | "twitter-audience-network" | "twitter" | "underline" | "unfollow-outline" | "unfollow" | "unlink" | "unlock" | "upload" | "user-circle" | "users" | "verified" | "video-camera-story" | "video-camera" | "vip" | "weight" | "whatsapp" | "window-maximize" | "window-minimize" | "window-regular" | "window-restore" | "woocommerce" | "x" | "yelp-full-star" | "yelp-half-star" | "yelp" | "youtube" | "zendesk";
@@ -1,2 +1,2 @@
1
1
  // @flow
2
- export type EnumIllustrationNames = "abacus" | "analytics-offering" | "asset-cards" | "astronaut" | "binoculars" | "brand-keyword" | "browser-doc" | "business" | "calendar-event" | "calendar-reporting" | "cat-error" | "cat-no-access" | "cat" | "checkbox-alert" | "coffee-cup" | "competitors" | "compose-window" | "compose" | "computer-error" | "connect" | "contact" | "conversation" | "custom-branding" | "customer-service" | "dashboard" | "exclamation-mark" | "face-happy" | "find-bookmark" | "flask" | "general-topic" | "global-features" | "global-trend" | "grow-large" | "grow" | "hands-raised" | "headset" | "heartbeat-connection" | "instagram-links" | "invoice" | "jewel" | "keyword-tracking" | "lightbulb-alt" | "lightbulb" | "like-conversation" | "link-broken" | "link-messages" | "link-sections" | "link-upload" | "listening-pendo" | "listening-sentiment" | "listening-topic-templates" | "listening-tour" | "listening" | "loading" | "mailbox-empty" | "mailbox-full" | "megaphone" | "message" | "molecule" | "network-data" | "no-messages-found" | "no-notifications" | "note" | "notification" | "notifications-onboarding" | "organize-message" | "outbox-queue" | "outbox-reviews" | "pdf" | "planning" | "podium" | "pointer" | "publish-assets" | "publish-links" | "publishing" | "puzzle-piece" | "question-mark" | "reporting-folder" | "reporting" | "review-location" | "review" | "robot-assembly" | "robot-error" | "robot-happy" | "rocket" | "schedule-date" | "schedule-messages" | "search-keywords" | "search-success" | "search-trends" | "search" | "security" | "sentiment" | "shopping-bag" | "spark-line" | "stamp" | "storefront" | "success" | "tag-message" | "tag" | "team-roles" | "team" | "telescope" | "tha-mel" | "thumbs-up" | "toggle-switch" | "toolset-strength" | "tracking-time" | "twitter-messages" | "twitter-profiles" | "under-construction" | "unsubscribe" | "upward-trend" | "user-task" | "view-connections" | "vip-list" | "warning" | "wifi" | "workflow-steps";
2
+ export type EnumIllustrationNames = "abacus" | "analytics-offering" | "asset-cards" | "astronaut" | "binoculars" | "brand-keyword" | "browser-doc" | "business" | "calendar-event" | "calendar-reporting" | "cat-error" | "cat-no-access" | "cat" | "checkbox-alert" | "coffee-cup" | "competitors" | "compose-window" | "compose" | "computer-error" | "connect" | "contact" | "conversation" | "custom-branding" | "customer-service" | "dashboard" | "exclamation-mark" | "face-happy" | "find-bookmark" | "flask" | "general-topic" | "global-features" | "global-trend" | "grow-large" | "grow" | "hands-raised" | "headset" | "heartbeat-connection" | "instagram-links" | "invoice" | "jewel" | "keyword-tracking" | "lightbulb-alt" | "lightbulb" | "like-conversation" | "link-broken" | "link-messages" | "link-sections" | "link-upload" | "listening-pendo" | "listening-sentiment" | "listening-topic-templates" | "listening-tour" | "listening" | "loading" | "mailbox-empty" | "mailbox-full" | "megaphone" | "message" | "molecule" | "network-data" | "no-messages-found" | "no-notifications" | "note" | "notification" | "notifications-onboarding" | "notifications" | "organize-message" | "outbox-queue" | "outbox-reviews" | "pdf" | "planning" | "podium" | "pointer" | "publish-assets" | "publish-links" | "publishing-notifications" | "publishing" | "puzzle-piece" | "question-mark" | "reporting-folder" | "reporting" | "review-location" | "review" | "robot-assembly" | "robot-error" | "robot-happy" | "rocket" | "schedule-date" | "schedule-messages" | "search-keywords" | "search-success" | "search-trends" | "search" | "security" | "sentiment" | "shopping-bag" | "spark-line" | "stamp" | "storefront" | "success" | "tag-message" | "tag" | "team-roles" | "team" | "telescope" | "tha-mel" | "thumbs-up" | "toggle-switch" | "toolset-strength" | "tracking-time" | "twitter-messages" | "twitter-profiles" | "under-construction" | "unsubscribe" | "upward-trend" | "user-task" | "view-connections" | "vip-list" | "warning" | "wifi" | "workflow-steps";
@@ -1,2 +1,2 @@
1
1
  // @flow
2
- export type EnumLogoNames = "bigcommerce-dark" | "bigcommerce-lockup-dark" | "bigcommerce-lockup" | "bigcommerce" | "bitly-dark" | "bitly" | "canva-dark" | "canva" | "dropbox-dark" | "dropbox-lockup-dark" | "dropbox-lockup" | "dropbox-wordmark-dark" | "dropbox-wordmark" | "dropbox" | "facebook-audience-network-dark" | "facebook-audience-network" | "facebook-dark" | "facebook-groups-dark" | "facebook-groups" | "facebook-shops-dark" | "facebook-shops" | "facebook" | "feedly-dark" | "feedly" | "glassdoor-dark" | "glassdoor" | "google-analytics-dark" | "google-analytics" | "google-business-messages-dark" | "google-business-messages" | "google-drive-dark" | "google-drive" | "google-my-business-dark" | "google-my-business" | "hubspot-dark" | "hubspot" | "instagram-dark" | "instagram" | "linkedin-audience-network-dark" | "linkedin-audience-network" | "linkedin-dark" | "linkedin" | "marketo-dark" | "marketo" | "messenger-dark" | "messenger" | "microsoft-dynamics-dark" | "microsoft-dynamics" | "pinterest-dark" | "pinterest" | "reddit-dark" | "reddit" | "salesforce-dark" | "salesforce" | "shopify-dark" | "shopify" | "slack-dark" | "slack" | "sproutsocial-dark" | "sproutsocial-lockup-dark" | "sproutsocial-lockup" | "sproutsocial-wordmark-dark" | "sproutsocial-wordmark" | "sproutsocial" | "tiktok-dark" | "tiktok" | "tripadvisor-dark" | "tripadvisor" | "tumblr-dark" | "tumblr" | "twitter-audience-network-dark" | "twitter-audience-network" | "twitter-dark" | "twitter" | "whatsapp-dark" | "whatsapp" | "woocommerce-dark" | "woocommerce" | "yelp-dark" | "yelp" | "youtube-dark" | "youtube" | "zendesk-dark" | "zendesk-lockup-dark" | "zendesk-lockup" | "zendesk-wordmark-dark" | "zendesk-wordmark" | "zendesk";
2
+ export type EnumLogoNames = "apple-app-store-dark" | "apple-app-store" | "bigcommerce-dark" | "bigcommerce-lockup-dark" | "bigcommerce-lockup" | "bigcommerce" | "bitly-dark" | "bitly" | "canva-dark" | "canva" | "dropbox-dark" | "dropbox-lockup-dark" | "dropbox-lockup" | "dropbox-wordmark-dark" | "dropbox-wordmark" | "dropbox" | "facebook-audience-network-dark" | "facebook-audience-network" | "facebook-dark" | "facebook-groups-dark" | "facebook-groups" | "facebook-shops-dark" | "facebook-shops" | "facebook" | "feedly-dark" | "feedly" | "glassdoor-dark" | "glassdoor" | "google-analytics-dark" | "google-analytics" | "google-business-messages-dark" | "google-business-messages" | "google-drive-dark" | "google-drive" | "google-my-business-dark" | "google-my-business" | "google-play-store-dark" | "google-play-store" | "hubspot-dark" | "hubspot" | "instagram-dark" | "instagram" | "linkedin-audience-network-dark" | "linkedin-audience-network" | "linkedin-dark" | "linkedin" | "marketo-dark" | "marketo" | "messenger-dark" | "messenger" | "microsoft-dynamics-dark" | "microsoft-dynamics" | "pinterest-dark" | "pinterest" | "reddit-dark" | "reddit" | "salesforce-dark" | "salesforce" | "shopify-dark" | "shopify" | "slack-dark" | "slack" | "sproutsocial-dark" | "sproutsocial-lockup-dark" | "sproutsocial-lockup" | "sproutsocial-wordmark-dark" | "sproutsocial-wordmark" | "sproutsocial" | "tiktok-dark" | "tiktok" | "tripadvisor-dark" | "tripadvisor" | "tumblr-dark" | "tumblr" | "twitter-audience-network-dark" | "twitter-audience-network" | "twitter-dark" | "twitter" | "whatsapp-dark" | "whatsapp" | "woocommerce-dark" | "woocommerce" | "yelp-dark" | "yelp" | "youtube-dark" | "youtube" | "zendesk-dark" | "zendesk-lockup-dark" | "zendesk-lockup" | "zendesk-wordmark-dark" | "zendesk-wordmark" | "zendesk";
@@ -158,6 +158,7 @@ module.exports = {
158
158
  "full-access": "0 0 16 16",
159
159
  "gear": "0 0 16 16",
160
160
  "gears": "0 0 16 16",
161
+ "github": "0 0 18 18",
161
162
  "glassdoor": "0 0 16 16",
162
163
  "glasses": "0 0 18 14",
163
164
  "globe": "0 0 16 16",
@@ -295,6 +296,8 @@ module.exports = {
295
296
  "saved-reply-outline": "0 0 16 12",
296
297
  "saved-reply": "0 0 16 12",
297
298
  "search": "0 0 16 16",
299
+ "send-again-outline": "0 0 18 18",
300
+ "send-again": "0 0 18 18",
298
301
  "sent-message-outline": "0 0 16 14",
299
302
  "sent-message": "0 0 16 14",
300
303
  "share": "0 0 16 14",
@@ -322,6 +325,7 @@ module.exports = {
322
325
  "tag": "0 0 16 16",
323
326
  "targeting-outline": "0 0 16 16",
324
327
  "targeting": "0 0 16 16",
328
+ "tasks-check": "0 0 16 16",
325
329
  "tasks-outline": "0 0 12 16",
326
330
  "tasks": "0 0 12 16",
327
331
  "team-conversation-outline": "0 0 16 18",
@@ -64,6 +64,7 @@ module.exports = {
64
64
  "note": "0 0 49 47",
65
65
  "notification": "0 0 252 194",
66
66
  "notifications-onboarding": "0 0 352 163",
67
+ "notifications": "0 0 111 54",
67
68
  "organize-message": "0 0 276 220",
68
69
  "outbox-queue": "0 0 246 176",
69
70
  "outbox-reviews": "0 0 246 176",
@@ -73,6 +74,7 @@ module.exports = {
73
74
  "pointer": "0 0 54 37",
74
75
  "publish-assets": "0 0 336 263",
75
76
  "publish-links": "0 0 266 252",
77
+ "publishing-notifications": "0 0 564 187",
76
78
  "publishing": "0 0 343 191",
77
79
  "puzzle-piece": "0 0 56 44",
78
80
  "question-mark": "0 0 302 191",
@@ -1,4 +1,6 @@
1
1
  module.exports = {
2
+ "apple-app-store-dark": "0 0 140 140",
3
+ "apple-app-store": "0 0 140 140",
2
4
  "bigcommerce-dark": "0 0 140 140",
3
5
  "bigcommerce-lockup-dark": "0 0 291 66",
4
6
  "bigcommerce-lockup": "0 0 291 66",
@@ -33,6 +35,8 @@ module.exports = {
33
35
  "google-drive": "0 0 140 126",
34
36
  "google-my-business-dark": "0 0 140 123",
35
37
  "google-my-business": "0 0 140 123",
38
+ "google-play-store-dark": "0 0 140 155",
39
+ "google-play-store": "0 0 140 155",
36
40
  "hubspot-dark": "0 0 140 156",
37
41
  "hubspot": "0 0 140 156",
38
42
  "instagram-dark": "0 0 140 140",
@@ -1,7 +1,6 @@
1
1
  /* eslint-env jest, node */
2
- import 'jest-styled-components';
3
2
  import React from 'react';
4
- import { render, fireEvent } from "../../utils/react-testing-library";
3
+ import { render, fireEvent, screen } from "../../utils/react-testing-library";
5
4
  import { Numeral } from "../..";
6
5
  jest.mock("../constants", () => ({
7
6
  ...jest.requireActual("../constants"),
@@ -16,27 +15,24 @@ const testNumeral = (value, options = {}, texts) => {
16
15
  if (tooltipText) {
17
16
  test(`Should display ${value} abbreviated as -> ${mainText} with tooltip -> ${tooltipText} `, async () => {
18
17
  const {
19
- container,
20
- findByText,
21
- getByText
18
+ container
22
19
  } = render(<Numeral number={value} {...options} />);
23
- const numeral = getByText(mainText);
20
+ const numeral = screen.getByText(mainText);
24
21
  const tooltip = container.querySelector('[data-qa-tooltip]');
25
22
  fireEvent.mouseOver(numeral);
26
- const content = await findByText(tooltipText);
27
- expect(numeral).toBeTruthy();
23
+ const content = await screen.findByText(tooltipText);
24
+ expect(numeral).toBeInTheDocument();
28
25
  expect(tooltip).toBeTruthy();
29
- expect(content).toBeTruthy();
26
+ expect(content).toBeInTheDocument();
30
27
  });
31
28
  } else {
32
29
  test(`Should display ${value} as -> ${mainText} with no tooltip `, () => {
33
30
  const {
34
- container,
35
- getByText
31
+ container
36
32
  } = render(<Numeral number={value} {...options} />);
37
- const numeral = getByText(mainText);
33
+ const numeral = screen.getByText(mainText);
38
34
  const tooltip = container.querySelector('[data-qa-tooltip]');
39
- expect(numeral).toBeTruthy();
35
+ expect(numeral).toBeInTheDocument();
40
36
  expect(tooltip).toBeFalsy();
41
37
  });
42
38
  }
@@ -1,3 +1,3 @@
1
1
  // @flow strict-local
2
2
 
3
- export type TypePartnerNames = 'zendesk' | 'dropbox' | 'bigcommerce' | 'bitly' | 'canva' | 'twitter' | 'twitter-audience-network' | 'whatsapp' | 'yelp' | 'youtube' | 'shopify' | 'pinterest' | 'microsoft-dynamics' | 'marketo' | 'slack' | 'woocommerce' | 'tripadvisor' | 'tumblr' | 'google-business-messages' | 'reddit' | 'hubspot' | 'feedly' | 'facebook' | 'facebook-shops' | 'facebook-groups' | 'facebook-audience-network' | 'glassdoor' | 'salesforce' | 'instagram' | 'linkedin' | 'linkedin-audience-network' | 'google-analytics' | 'messenger' | 'google-my-business' | 'google-drive' | 'tiktok' | 'sproutsocial';
3
+ export type TypePartnerNames = 'zendesk' | 'dropbox' | 'bigcommerce' | 'bitly' | 'canva' | 'twitter' | 'twitter-audience-network' | 'whatsapp' | 'yelp' | 'youtube' | 'shopify' | 'pinterest' | 'microsoft-dynamics' | 'marketo' | 'slack' | 'woocommerce' | 'tripadvisor' | 'tumblr' | 'google-business-messages' | 'reddit' | 'hubspot' | 'feedly' | 'facebook' | 'facebook-shops' | 'facebook-groups' | 'facebook-audience-network' | 'glassdoor' | 'salesforce' | 'instagram' | 'linkedin' | 'linkedin-audience-network' | 'google-analytics' | 'messenger' | 'google-my-business' | 'google-drive' | 'tiktok' | 'sproutsocial' | 'google-play-store' | 'apple-app-store';
@@ -1,2 +1,2 @@
1
1
  // @flow
2
- export const illustrationNames = Object.freeze(['abacus', 'analytics-offering', 'asset-cards', 'astronaut', 'binoculars', 'brand-keyword', 'browser-doc', 'business', 'calendar-event', 'calendar-reporting', 'cat-error', 'cat-no-access', 'cat', 'checkbox-alert', 'coffee-cup', 'competitors', 'compose-window', 'compose', 'computer-error', 'connect', 'contact', 'conversation', 'custom-branding', 'customer-service', 'dashboard', 'exclamation-mark', 'face-happy', 'find-bookmark', 'flask', 'general-topic', 'global-features', 'global-trend', 'grow-large', 'grow', 'hands-raised', 'headset', 'heartbeat-connection', 'instagram-links', 'invoice', 'jewel', 'keyword-tracking', 'lightbulb-alt', 'lightbulb', 'like-conversation', 'link-broken', 'link-messages', 'link-sections', 'link-upload', 'listening-pendo', 'listening-sentiment', 'listening-topic-templates', 'listening-tour', 'listening', 'loading', 'mailbox-empty', 'mailbox-full', 'megaphone', 'message', 'molecule', 'network-data', 'no-messages-found', 'no-notifications', 'note', 'notification', 'notifications-onboarding', 'organize-message', 'outbox-queue', 'outbox-reviews', 'pdf', 'planning', 'podium', 'pointer', 'publish-assets', 'publish-links', 'publishing', 'puzzle-piece', 'question-mark', 'reporting-folder', 'reporting', 'review-location', 'review', 'robot-assembly', 'robot-error', 'robot-happy', 'rocket', 'schedule-date', 'schedule-messages', 'search-keywords', 'search-success', 'search-trends', 'search', 'security', 'sentiment', 'shopping-bag', 'spark-line', 'stamp', 'storefront', 'success', 'tag-message', 'tag', 'team-roles', 'team', 'telescope', 'tha-mel', 'thumbs-up', 'toggle-switch', 'toolset-strength', 'tracking-time', 'twitter-messages', 'twitter-profiles', 'under-construction', 'unsubscribe', 'upward-trend', 'user-task', 'view-connections', 'vip-list', 'warning', 'wifi', 'workflow-steps']);
2
+ export const illustrationNames = Object.freeze(['abacus', 'analytics-offering', 'asset-cards', 'astronaut', 'binoculars', 'brand-keyword', 'browser-doc', 'business', 'calendar-event', 'calendar-reporting', 'cat-error', 'cat-no-access', 'cat', 'checkbox-alert', 'coffee-cup', 'competitors', 'compose-window', 'compose', 'computer-error', 'connect', 'contact', 'conversation', 'custom-branding', 'customer-service', 'dashboard', 'exclamation-mark', 'face-happy', 'find-bookmark', 'flask', 'general-topic', 'global-features', 'global-trend', 'grow-large', 'grow', 'hands-raised', 'headset', 'heartbeat-connection', 'instagram-links', 'invoice', 'jewel', 'keyword-tracking', 'lightbulb-alt', 'lightbulb', 'like-conversation', 'link-broken', 'link-messages', 'link-sections', 'link-upload', 'listening-pendo', 'listening-sentiment', 'listening-topic-templates', 'listening-tour', 'listening', 'loading', 'mailbox-empty', 'mailbox-full', 'megaphone', 'message', 'molecule', 'network-data', 'no-messages-found', 'no-notifications', 'note', 'notification', 'notifications-onboarding', 'notifications', 'organize-message', 'outbox-queue', 'outbox-reviews', 'pdf', 'planning', 'podium', 'pointer', 'publish-assets', 'publish-links', 'publishing-notifications', 'publishing', 'puzzle-piece', 'question-mark', 'reporting-folder', 'reporting', 'review-location', 'review', 'robot-assembly', 'robot-error', 'robot-happy', 'rocket', 'schedule-date', 'schedule-messages', 'search-keywords', 'search-success', 'search-trends', 'search', 'security', 'sentiment', 'shopping-bag', 'spark-line', 'stamp', 'storefront', 'success', 'tag-message', 'tag', 'team-roles', 'team', 'telescope', 'tha-mel', 'thumbs-up', 'toggle-switch', 'toolset-strength', 'tracking-time', 'twitter-messages', 'twitter-profiles', 'under-construction', 'unsubscribe', 'upward-trend', 'user-task', 'view-connections', 'vip-list', 'warning', 'wifi', 'workflow-steps']);
@@ -4,6 +4,7 @@ import Icon from "../Icon";
4
4
  import Container, { SortIcon } from "./styles";
5
5
  import { SORT_DIRECTIONS } from "./constants";
6
6
  import type { TypeEnumSortDirections as TypeEnumSortDirections2, TypeTableHeaderCell as TypeTableHeaderCell2, TypeTableHeaderCellProps } from "./index.flow";
7
+ export * from "./constants";
7
8
 
8
9
  /**
9
10
  * @deprecated Use TypeEnumSortDirections from root instead
@@ -1,6 +1,6 @@
1
1
  // @flow
2
2
  import * as React from 'react';
3
- import { act, cleanup, createEvent, fireEvent, queries, render, screen, wait, waitFor, waitForElement, waitForElementToBeRemoved, within } from '@testing-library/react';
3
+ import { act, cleanup, createEvent, fireEvent, queries, render, screen as defaultScreen, wait, waitFor, waitForElement, waitForElementToBeRemoved, within } from '@testing-library/react';
4
4
  import userEvent from '@testing-library/user-event';
5
5
  import ThemeProvider from "../ThemeProvider";
6
6
  import { a11yCheck } from "./a11yTest";
@@ -10,18 +10,23 @@ const sproutQueries = {
10
10
  ...dataQaLabelQueries
11
11
  };
12
12
  const customRender = (node: React.Node, options: any) => {
13
- const api = render(node, {
13
+ const utils = render(node, {
14
14
  ...options,
15
15
  queries: sproutQueries,
16
16
  wrapper: ThemeProvider
17
17
  });
18
18
  const runA11yCheck = async () => {
19
- await a11yCheck(api.container);
19
+ await a11yCheck(utils.container);
20
20
  };
21
21
  return {
22
- ...api,
22
+ ...utils,
23
23
  runA11yCheck
24
24
  };
25
25
  };
26
26
  const customWithin = (element: HTMLElement) => within(element, sproutQueries);
27
- export { act, cleanup, createEvent, customRender as render, customWithin as within, fireEvent, screen, userEvent, wait, waitFor, waitForElement, waitForElementToBeRemoved };
27
+ const boundQueries = within(document.body, sproutQueries);
28
+ const customScreen = {
29
+ ...defaultScreen,
30
+ ...boundQueries
31
+ };
32
+ export { act, cleanup, createEvent, customRender as render, customWithin as within, fireEvent, customScreen as screen, userEvent, wait, waitFor, waitForElement, waitForElementToBeRemoved };
@@ -21,7 +21,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
21
21
  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."); }
22
22
  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); }
23
23
  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; }
24
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
24
+ 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; } }
25
25
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
26
26
  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; }
27
27
  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,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.legacyBadgeColors = void 0;
7
-
8
7
  var defaultPurple = {
9
8
  color: 'colors.text.body',
10
9
  background: 'colors.container.background.decorative.purple'
@@ -9,7 +9,6 @@ var _themeGet = require("@styled-system/theme-get");
9
9
  var _systemProps = require("../utils/system-props");
10
10
  var _constants = require("./constants");
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
-
13
12
  // eslint-disable-next-line flowtype/generic-spacing
14
13
  var Container = _styledComponents.default.span.withConfig({
15
14
  displayName: "styles__Container",
@@ -9,7 +9,6 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
9
  var _systemProps = require("../utils/system-props");
10
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
-
13
12
  var Container = _styledComponents.default.div.withConfig({
14
13
  displayName: "styles__Container",
15
14
  componentId: "sc-q43dr4-0"
@@ -7,7 +7,6 @@ exports.default = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _systemProps = require("../utils/system-props");
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
-
11
10
  var Container = _styledComponents.default.div.withConfig({
12
11
  displayName: "styles__Container",
13
12
  componentId: "sc-ma8yo6-0"
@@ -17,7 +17,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
18
  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; }
19
19
  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; }
20
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20
+ 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; }
21
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22
+ 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); }
21
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); }
22
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; }
23
25
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
-
10
9
  var Nav = _styledComponents.default.nav.withConfig({
11
10
  displayName: "styles__Nav",
12
11
  componentId: "sc-1ub1apc-0"
@@ -12,7 +12,6 @@ var _styles = _interopRequireDefault(require("../Icon/styles"));
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
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
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; }
15
-
16
15
  var Container = _styledComponents.default.button.withConfig({
17
16
  displayName: "styles__Container",
18
17
  componentId: "sc-1juy94s-0"
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  'no babel-plugin-flow-react-proptypes';
3
-
4
3
  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); }
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
@@ -8,7 +8,6 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _Box = _interopRequireDefault(require("../Box"));
9
9
  var _Button = _interopRequireDefault(require("../Button"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
11
  var Container = (0, _styledComponents.default)(_Box.default).withConfig({
13
12
  displayName: "styles__Container",
14
13
  componentId: "sc-p098yi-0"
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- 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); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
@@ -11,11 +10,12 @@ var _excluded = ["size"];
11
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
11
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
12
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
+ 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); }
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; }
17
17
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
18
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
19
19
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
20
20
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
21
21
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -24,7 +24,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
24
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
25
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
26
26
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
27
+ 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; }
28
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
29
+ 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); }
28
30
  var CharacterCounter = /*#__PURE__*/function (_React$Component) {
29
31
  _inherits(CharacterCounter, _React$Component);
30
32
  var _super = _createSuper(CharacterCounter);
@@ -9,7 +9,6 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
9
  var _systemProps = require("../utils/system-props");
10
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
-
13
12
  var Container = _styledComponents.default.div.withConfig({
14
13
  displayName: "styles__Container",
15
14
  componentId: "sc-do9szx-0"
@@ -9,7 +9,6 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
9
9
  var _systemProps = require("../utils/system-props");
10
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
-
13
12
  var Label = _styledComponents.default.span.withConfig({
14
13
  displayName: "styles__Label",
15
14
  componentId: "sc-se0ijc-0"
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- 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); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
@@ -10,11 +9,12 @@ var _styles = _interopRequireWildcard(require("./styles"));
10
9
  var _excluded = ["id", "value", "name", "label", "labelProps", "checked", "disabled", "indeterminate", "onChange", "ariaLabel", "appearance", "qa", "tabIndex", "inputProps"];
11
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
+ 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); }
13
13
  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); }
14
14
  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; }
15
15
  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; }
16
16
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
- 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, descriptor.key, descriptor); } }
17
+ 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); } }
18
18
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
19
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
20
20
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -23,7 +23,9 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
23
23
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
24
24
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
25
25
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
26
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
26
+ 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; }
27
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
28
+ 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); }
27
29
  var Checkbox = /*#__PURE__*/function (_React$Component) {
28
30
  _inherits(Checkbox, _React$Component);
29
31
  var _super = _createSuper(Checkbox);
@@ -16,7 +16,6 @@ var _Text = _interopRequireDefault(require("../Text"));
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
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
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; }
19
-
20
19
  var Container = _styledComponents.default.span.withConfig({
21
20
  displayName: "styles__Container",
22
21
  componentId: "sc-59uw8o-0"
@@ -17,14 +17,16 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
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 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; }
19
19
  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; }
20
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20
+ 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; }
21
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22
+ 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); }
21
23
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
22
24
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
23
25
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
24
26
  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."); }
25
27
  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); }
26
28
  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; }
27
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
29
+ 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; } }
28
30
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
29
31
  var idCounter = 0;
30
32
  var CollapsibleContext = /*#__PURE__*/React.createContext({});
@@ -7,7 +7,6 @@ exports.CollapsingBox = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _Box = _interopRequireDefault(require("../Box"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
-
11
10
  var CollapsingBox = (0, _styledComponents.default)(_Box.default).withConfig({
12
11
  displayName: "styles__CollapsingBox",
13
12
  componentId: "sc-1xvfbl7-0"
@@ -17,7 +17,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
17
17
  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."); }
18
18
  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); }
19
19
  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; }
20
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
20
+ 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; } }
21
21
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
22
22
  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; }
23
23
  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; }
@@ -16,7 +16,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
16
16
  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."); }
17
17
  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); }
18
18
  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; }
19
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
19
+ 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; } }
20
20
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
21
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
22
22
  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; }