grommet 2.44.0 → 2.45.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 (283) hide show
  1. package/all/stories/AllComponents.js +1 -1
  2. package/components/Accordion/Accordion.js +1 -1
  3. package/components/Accordion/stories/CustomThemed/Custom.js +1 -1
  4. package/components/Accordion/stories/Simple.js +1 -1
  5. package/components/AccordionPanel/AccordionPanel.js +1 -1
  6. package/components/Anchor/Anchor.js +3 -2
  7. package/components/Avatar/Avatar.js +1 -1
  8. package/components/Box/Box.js +1 -1
  9. package/components/Button/Button.js +1 -1
  10. package/components/Calendar/Calendar.js +1 -1
  11. package/components/Card/stories/CustomThemed/Clickable.js +1 -1
  12. package/components/Card/stories/CustomThemed/Themed.js +1 -1
  13. package/components/Cards/Cards.js +1 -1
  14. package/components/Carousel/Carousel.js +1 -1
  15. package/components/Carousel/stories/CustomThemed/Custom.js +1 -1
  16. package/components/Chart/Chart.js +1 -1
  17. package/components/CheckBox/CheckBox.js +1 -1
  18. package/components/CheckBox/stories/NoLabel.js +1 -1
  19. package/components/CheckBox/stories/Simple.js +1 -1
  20. package/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
  21. package/components/Clock/Analog.js +1 -1
  22. package/components/Clock/Clock.js +1 -1
  23. package/components/Clock/Digital.js +1 -1
  24. package/components/Collapsible/stories/Nested.js +1 -1
  25. package/components/Data/Data.js +1 -1
  26. package/components/Data/DataForm.js +1 -1
  27. package/components/Data/stories/Inline.js +1 -1
  28. package/components/DataChart/DataChart.js +1 -1
  29. package/components/DataChart/XAxis.js +1 -1
  30. package/components/DataClearFilters/DataClearFilters.js +1 -1
  31. package/components/DataFilter/DataFilter.js +1 -1
  32. package/components/DataFilters/DataFilters.js +1 -1
  33. package/components/DataSearch/DataSearch.js +1 -1
  34. package/components/DataSort/DataSort.js +1 -1
  35. package/components/DataSummary/DataSummary.js +1 -1
  36. package/components/DataTable/Body.js +1 -1
  37. package/components/DataTable/Cell.js +1 -1
  38. package/components/DataTable/DataTable.js +1 -1
  39. package/components/DataTable/ExpanderCell.js +1 -1
  40. package/components/DataTable/Footer.js +1 -1
  41. package/components/DataTable/GroupedBody.js +1 -1
  42. package/components/DataTable/Header.js +2 -2
  43. package/components/DataTable/StyledDataTable.js +20 -12
  44. package/components/DataTable/stories/CustomThemed/Custom.js +8 -0
  45. package/components/DataTableColumns/DataTableColumns.js +1 -1
  46. package/components/DataTableGroupBy/DataTableGroupBy.js +1 -1
  47. package/components/DataView/DataView.js +1 -1
  48. package/components/DateInput/DateInput.js +1 -1
  49. package/components/Diagram/Diagram.js +1 -1
  50. package/components/Diagram/stories/Progressing.js +1 -1
  51. package/components/Distribution/Distribution.js +1 -1
  52. package/components/Drop/Drop.js +1 -1
  53. package/components/Drop/DropContainer.js +1 -1
  54. package/components/DropButton/DropButton.js +1 -1
  55. package/components/FileInput/FileInput.js +1 -1
  56. package/components/FocusedContainer.js +1 -1
  57. package/components/Form/Form.js +1 -1
  58. package/components/FormField/FormField.js +73 -18
  59. package/components/Grid/Grid.js +1 -1
  60. package/components/Grid/stories/CustomThemed/Responsive.js +1 -1
  61. package/components/Grommet/Grommet.js +1 -1
  62. package/components/Header/Header.js +1 -1
  63. package/components/Heading/Heading.js +1 -1
  64. package/components/Image/Image.js +1 -1
  65. package/components/Keyboard/Keyboard.js +1 -1
  66. package/components/Layer/LayerContainer.js +1 -1
  67. package/components/Layer/StyledLayer.js +2 -1
  68. package/components/List/List.js +1 -1
  69. package/components/Markdown/Markdown.js +1 -1
  70. package/components/MaskedInput/MaskedInput.js +1 -1
  71. package/components/Menu/Menu.js +6 -5
  72. package/components/Menu/stories/CustomThemed/Themed.tsx +4 -0
  73. package/components/Meter/Bar.js +1 -1
  74. package/components/Meter/Circle.js +1 -1
  75. package/components/Meter/Meter.js +1 -1
  76. package/components/Meter/StyledMeter.js +2 -1
  77. package/components/NameValueList/NameValueList.js +1 -1
  78. package/components/Nav/stories/CustomThemed/JustifySidebar.js +1 -1
  79. package/components/Nav/stories/Sidebar.js +1 -1
  80. package/components/Notification/Notification.js +38 -27
  81. package/components/Page/Page.js +1 -1
  82. package/components/PageContent/PageContent.js +1 -1
  83. package/components/PageHeader/PageHeader.js +1 -1
  84. package/components/Pagination/PageControl.js +1 -1
  85. package/components/Pagination/Pagination.js +1 -1
  86. package/components/Pagination/PaginationStep.js +1 -1
  87. package/components/Pagination/PaginationSummary.js +1 -1
  88. package/components/Paragraph/Paragraph.js +1 -1
  89. package/components/RadioButton/RadioButton.js +1 -1
  90. package/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  91. package/components/RadioButtonGroup/stories/CustomThemed/CustomTheme.js +1 -1
  92. package/components/RadioButtonGroup/stories/Disabled.js +1 -1
  93. package/components/RangeInput/RangeInput.js +1 -1
  94. package/components/RangeSelector/EdgeControl.js +1 -1
  95. package/components/RangeSelector/RangeSelector.js +1 -1
  96. package/components/RangeSelector/stories/CustomThemed/Custom.js +1 -1
  97. package/components/RangeSelector/stories/CustomThemed/CustomEdgeControl.js +1 -1
  98. package/components/RangeSelector/stories/Step.js +1 -1
  99. package/components/RangeSelector/stories/Vertical.js +1 -1
  100. package/components/RoutedAnchor/RoutedAnchor.js +1 -1
  101. package/components/RoutedButton/RoutedButton.js +1 -1
  102. package/components/Select/DefaultSelectTextInput.js +1 -1
  103. package/components/Select/Select.js +1 -1
  104. package/components/Select/SelectContainer.js +2 -1
  105. package/components/Select/StyledSelect.js +4 -1
  106. package/components/Select/stories/components/SearchBorderBox.js +1 -1
  107. package/components/Select/stories/components/SearchInput.js +1 -1
  108. package/components/SelectMultiple/SelectMultiple.js +1 -1
  109. package/components/SelectMultiple/SelectMultipleContainer.js +2 -1
  110. package/components/Sidebar/Sidebar.js +1 -1
  111. package/components/Sidebar/stories/Labels.js +1 -1
  112. package/components/Skeleton/Skeleton.js +1 -1
  113. package/components/Skeleton/stories/GridContainer.js +1 -1
  114. package/components/Skeleton/stories/Individual.js +1 -1
  115. package/components/SkipLink/SkipLink.js +1 -1
  116. package/components/SkipLinkTarget/SkipLinkTarget.js +1 -1
  117. package/components/Spinner/Spinner.js +1 -1
  118. package/components/Stack/Stack.js +1 -1
  119. package/components/StarRating/StarRating.js +1 -1
  120. package/components/Tab/Tab.js +1 -1
  121. package/components/Table/Table.js +1 -1
  122. package/components/TableCell/TableCell.js +1 -1
  123. package/components/Tabs/Tabs.js +1 -1
  124. package/components/Tag/Tag.js +1 -1
  125. package/components/Text/Text.js +1 -1
  126. package/components/Text/TextSkeleton.js +1 -1
  127. package/components/TextArea/TextArea.js +1 -1
  128. package/components/TextInput/TextInput.js +1 -1
  129. package/components/TextInput/stories/WithTags.js +1 -1
  130. package/components/ToggleGroup/StyledToggleGroup.js +9 -1
  131. package/components/ToggleGroup/ToggleGroup.js +2 -2
  132. package/components/Toolbar/Toolbar.js +1 -1
  133. package/components/Video/Video.js +1 -1
  134. package/components/WorldMap/WorldMap.js +1 -1
  135. package/contexts/ResponsiveContext/stories/ResponsiveGrid.js +1 -1
  136. package/es6/all/stories/AllComponents.js +1 -1
  137. package/es6/components/Accordion/Accordion.js +1 -1
  138. package/es6/components/Accordion/stories/CustomThemed/Custom.js +1 -1
  139. package/es6/components/Accordion/stories/Simple.js +1 -1
  140. package/es6/components/AccordionPanel/AccordionPanel.js +1 -1
  141. package/es6/components/Anchor/Anchor.js +3 -2
  142. package/es6/components/Avatar/Avatar.js +1 -1
  143. package/es6/components/Box/Box.js +1 -1
  144. package/es6/components/Button/Button.js +1 -1
  145. package/es6/components/Calendar/Calendar.js +1 -1
  146. package/es6/components/Card/stories/CustomThemed/Clickable.js +1 -1
  147. package/es6/components/Card/stories/CustomThemed/Themed.js +1 -1
  148. package/es6/components/Cards/Cards.js +1 -1
  149. package/es6/components/Carousel/Carousel.js +1 -1
  150. package/es6/components/Carousel/stories/CustomThemed/Custom.js +1 -1
  151. package/es6/components/Chart/Chart.js +1 -1
  152. package/es6/components/CheckBox/CheckBox.js +1 -1
  153. package/es6/components/CheckBox/stories/NoLabel.js +1 -1
  154. package/es6/components/CheckBox/stories/Simple.js +1 -1
  155. package/es6/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
  156. package/es6/components/Clock/Analog.js +1 -1
  157. package/es6/components/Clock/Clock.js +1 -1
  158. package/es6/components/Clock/Digital.js +1 -1
  159. package/es6/components/Collapsible/stories/Nested.js +1 -1
  160. package/es6/components/Data/Data.js +1 -1
  161. package/es6/components/Data/DataForm.js +1 -1
  162. package/es6/components/Data/stories/Inline.js +1 -1
  163. package/es6/components/DataChart/DataChart.js +1 -1
  164. package/es6/components/DataChart/XAxis.js +1 -1
  165. package/es6/components/DataClearFilters/DataClearFilters.js +1 -1
  166. package/es6/components/DataFilter/DataFilter.js +1 -1
  167. package/es6/components/DataFilters/DataFilters.js +1 -1
  168. package/es6/components/DataSearch/DataSearch.js +1 -1
  169. package/es6/components/DataSort/DataSort.js +1 -1
  170. package/es6/components/DataSummary/DataSummary.js +1 -1
  171. package/es6/components/DataTable/Body.js +1 -1
  172. package/es6/components/DataTable/Cell.js +1 -1
  173. package/es6/components/DataTable/DataTable.js +1 -1
  174. package/es6/components/DataTable/ExpanderCell.js +1 -1
  175. package/es6/components/DataTable/Footer.js +1 -1
  176. package/es6/components/DataTable/GroupedBody.js +1 -1
  177. package/es6/components/DataTable/Header.js +3 -3
  178. package/es6/components/DataTable/StyledDataTable.js +20 -12
  179. package/es6/components/DataTable/stories/CustomThemed/Custom.js +8 -0
  180. package/es6/components/DataTableColumns/DataTableColumns.js +1 -1
  181. package/es6/components/DataTableGroupBy/DataTableGroupBy.js +1 -1
  182. package/es6/components/DataView/DataView.js +1 -1
  183. package/es6/components/DateInput/DateInput.js +1 -1
  184. package/es6/components/Diagram/Diagram.js +1 -1
  185. package/es6/components/Diagram/stories/Progressing.js +1 -1
  186. package/es6/components/Distribution/Distribution.js +1 -1
  187. package/es6/components/Drop/Drop.js +1 -1
  188. package/es6/components/Drop/DropContainer.js +1 -1
  189. package/es6/components/DropButton/DropButton.js +1 -1
  190. package/es6/components/FileInput/FileInput.js +1 -1
  191. package/es6/components/FocusedContainer.js +1 -1
  192. package/es6/components/Form/Form.js +1 -1
  193. package/es6/components/FormField/FormField.js +73 -18
  194. package/es6/components/Grid/Grid.js +1 -1
  195. package/es6/components/Grid/stories/CustomThemed/Responsive.js +1 -1
  196. package/es6/components/Grommet/Grommet.js +1 -1
  197. package/es6/components/Header/Header.js +1 -1
  198. package/es6/components/Heading/Heading.js +1 -1
  199. package/es6/components/Image/Image.js +1 -1
  200. package/es6/components/Keyboard/Keyboard.js +1 -1
  201. package/es6/components/Layer/LayerContainer.js +1 -1
  202. package/es6/components/Layer/StyledLayer.js +2 -1
  203. package/es6/components/List/List.js +1 -1
  204. package/es6/components/Markdown/Markdown.js +1 -1
  205. package/es6/components/MaskedInput/MaskedInput.js +1 -1
  206. package/es6/components/Menu/Menu.js +6 -5
  207. package/es6/components/Menu/stories/CustomThemed/Themed.tsx +4 -0
  208. package/es6/components/Meter/Bar.js +1 -1
  209. package/es6/components/Meter/Circle.js +1 -1
  210. package/es6/components/Meter/Meter.js +1 -1
  211. package/es6/components/Meter/StyledMeter.js +3 -1
  212. package/es6/components/NameValueList/NameValueList.js +1 -1
  213. package/es6/components/Nav/stories/CustomThemed/JustifySidebar.js +1 -1
  214. package/es6/components/Nav/stories/Sidebar.js +1 -1
  215. package/es6/components/Notification/Notification.js +38 -27
  216. package/es6/components/Page/Page.js +1 -1
  217. package/es6/components/PageContent/PageContent.js +1 -1
  218. package/es6/components/PageHeader/PageHeader.js +1 -1
  219. package/es6/components/Pagination/PageControl.js +1 -1
  220. package/es6/components/Pagination/Pagination.js +1 -1
  221. package/es6/components/Pagination/PaginationStep.js +1 -1
  222. package/es6/components/Pagination/PaginationSummary.js +1 -1
  223. package/es6/components/Paragraph/Paragraph.js +1 -1
  224. package/es6/components/RadioButton/RadioButton.js +1 -1
  225. package/es6/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  226. package/es6/components/RadioButtonGroup/stories/CustomThemed/CustomTheme.js +1 -1
  227. package/es6/components/RadioButtonGroup/stories/Disabled.js +1 -1
  228. package/es6/components/RangeInput/RangeInput.js +1 -1
  229. package/es6/components/RangeSelector/EdgeControl.js +1 -1
  230. package/es6/components/RangeSelector/RangeSelector.js +1 -1
  231. package/es6/components/RangeSelector/stories/CustomThemed/Custom.js +1 -1
  232. package/es6/components/RangeSelector/stories/CustomThemed/CustomEdgeControl.js +1 -1
  233. package/es6/components/RangeSelector/stories/Step.js +1 -1
  234. package/es6/components/RangeSelector/stories/Vertical.js +1 -1
  235. package/es6/components/RoutedAnchor/RoutedAnchor.js +1 -1
  236. package/es6/components/RoutedButton/RoutedButton.js +1 -1
  237. package/es6/components/Select/DefaultSelectTextInput.js +1 -1
  238. package/es6/components/Select/Select.js +1 -1
  239. package/es6/components/Select/SelectContainer.js +2 -1
  240. package/es6/components/Select/StyledSelect.js +4 -1
  241. package/es6/components/Select/stories/components/SearchBorderBox.js +1 -1
  242. package/es6/components/Select/stories/components/SearchInput.js +1 -1
  243. package/es6/components/SelectMultiple/SelectMultiple.js +1 -1
  244. package/es6/components/SelectMultiple/SelectMultipleContainer.js +2 -1
  245. package/es6/components/Sidebar/Sidebar.js +1 -1
  246. package/es6/components/Sidebar/stories/Labels.js +1 -1
  247. package/es6/components/Skeleton/Skeleton.js +1 -1
  248. package/es6/components/Skeleton/stories/GridContainer.js +1 -1
  249. package/es6/components/Skeleton/stories/Individual.js +1 -1
  250. package/es6/components/SkipLink/SkipLink.js +1 -1
  251. package/es6/components/SkipLinkTarget/SkipLinkTarget.js +1 -1
  252. package/es6/components/Spinner/Spinner.js +1 -1
  253. package/es6/components/Stack/Stack.js +1 -1
  254. package/es6/components/StarRating/StarRating.js +1 -1
  255. package/es6/components/Tab/Tab.js +1 -1
  256. package/es6/components/Table/Table.js +1 -1
  257. package/es6/components/TableCell/TableCell.js +1 -1
  258. package/es6/components/Tabs/Tabs.js +1 -1
  259. package/es6/components/Tag/Tag.js +1 -1
  260. package/es6/components/Text/Text.js +1 -1
  261. package/es6/components/Text/TextSkeleton.js +1 -1
  262. package/es6/components/TextArea/TextArea.js +1 -1
  263. package/es6/components/TextInput/TextInput.js +1 -1
  264. package/es6/components/TextInput/stories/WithTags.js +1 -1
  265. package/es6/components/ToggleGroup/StyledToggleGroup.js +8 -0
  266. package/es6/components/ToggleGroup/ToggleGroup.js +3 -3
  267. package/es6/components/Toolbar/Toolbar.js +1 -1
  268. package/es6/components/Video/Video.js +1 -1
  269. package/es6/components/WorldMap/WorldMap.js +1 -1
  270. package/es6/contexts/ResponsiveContext/stories/ResponsiveGrid.js +1 -1
  271. package/es6/themes/base.d.ts +49 -5
  272. package/es6/themes/base.js +39 -9
  273. package/es6/utils/pagination.js +1 -1
  274. package/es6/utils/responsive.js +1 -0
  275. package/es6/utils/styles.js +49 -14
  276. package/grommet.min.js +1 -1
  277. package/grommet.min.js.map +1 -1
  278. package/package.json +25 -25
  279. package/themes/base.d.ts +49 -5
  280. package/themes/base.js +39 -9
  281. package/utils/pagination.js +1 -1
  282. package/utils/responsive.js +1 -0
  283. package/utils/styles.js +49 -14
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["messages", "numberItems", "page", "step"];
2
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
2
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
3
3
  import React, { useContext } from 'react';
4
4
  import { Box } from '../Box';
5
5
  import { Text } from '../Text';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["children", "color", "fill", "size"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useMemo } from 'react';
5
5
  import { StyledParagraph } from './StyledParagraph';
6
6
  import { ParagraphPropTypes } from './propTypes';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["a11yTitle", "checked", "children", "disabled", "focus", "focusIndicator", "id", "label", "name", "onChange"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useState } from 'react';
5
5
  import { normalizeColor, removeUndefined, useKeyboard } from '../../utils';
6
6
  import { StyledRadioButton, StyledRadioButtonContainer, StyledRadioButtonIcon, StyledRadioButtonInput, StyledRadioButtonLabel, StyledRadioButtonBox } from './StyledRadioButton';
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["children", "defaultValue", "disabled", "focusIndicator", "name", "onChange", "options", "value", "gap"],
2
2
  _excluded2 = ["disabled", "id", "label", "value"];
3
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React, { forwardRef, useContext, useRef, useState } from 'react';
6
6
  import { FormContext } from '../Form/FormContext';
7
7
  import { Keyboard } from '../Keyboard';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["value"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useState } from 'react';
5
5
  import { Box, Grommet, RadioButtonGroup, ThemeContext } from 'grommet';
6
6
  import { grommet } from 'grommet/themes';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["value"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useState } from 'react';
5
5
  import { Box, RadioButtonGroup } from 'grommet';
6
6
  export var Disabled = function Disabled(_ref) {
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["a11yTitle", "color", "focus", "focusIndicator", "name", "onChange", "onFocus", "onBlur", "value", "step", "min", "max"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useContext, useState, useCallback, useEffect } from 'react';
5
5
  import { FormContext } from '../Form/FormContext';
6
6
  import { StyledRangeInput } from './StyledRangeInput';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["color", "direction", "edge", "onDecrease", "onIncrease", "thickness"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useState } from 'react';
5
5
  import styled from 'styled-components';
6
6
  import { Box } from '../Box';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["color", "defaultValues", "direction", "invert", "label", "max", "messages", "min", "name", "onChange", "opacity", "round", "size", "step", "values"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useCallback, useContext, useEffect, useRef, useState } from 'react';
5
5
  import styled from 'styled-components';
6
6
  import { useLayoutEffect } from '../../utils/use-isomorphic-layout-effect';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["direction"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useState } from 'react';
5
5
  import { Grommet, Box, RangeSelector, Stack, Text } from 'grommet';
6
6
  import { grommet } from 'grommet/themes';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["direction"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useState } from 'react';
5
5
  import { Gremlin } from "grommet-icons/es6/icons/Gremlin";
6
6
  import { Grommet as GrommetIcon } from "grommet-icons/es6/icons/Grommet";
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["direction"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useState } from 'react';
5
5
  import { Box, RangeSelector, Stack, Text } from 'grommet';
6
6
  var SimpleRangeSelector = function SimpleRangeSelector(_ref) {
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["direction"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useState } from 'react';
5
5
  import { Box, RangeSelector, Stack, Text } from 'grommet';
6
6
  var SimpleRangeSelector = function SimpleRangeSelector(_ref) {
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["path", "method"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
5
5
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
6
6
  import React, { Component } from 'react';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["href", "path", "method", "onClick"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
5
5
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
6
6
  import React, { Component } from 'react';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["disabled", "id"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef } from 'react';
5
5
  import { SelectTextInput } from './StyledSelect';
6
6
  export var DefaultSelectTextInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["a11yTitle", "aria-label", "alignSelf", "children", "clear", "closeOnChange", "defaultValue", "disabled", "disabledKey", "dropAlign", "dropHeight", "dropProps", "dropTarget", "emptySearchMessage", "focusIndicator", "gridArea", "id", "icon", "labelKey", "margin", "messages", "multiple", "name", "onBlur", "onChange", "onClick", "onClose", "onFocus", "onKeyDown", "onMore", "onOpen", "onSearch", "open", "options", "placeholder", "plain", "replace", "searchPlaceholder", "selected", "size", "value", "valueKey", "valueLabel"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, isValidElement, useCallback, useContext, useMemo, useState, useRef, useEffect } from 'react';
5
5
  import { useKeyboard } from '../../utils';
6
6
  import { Box } from '../Box';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["clear", "onClear", "name", "theme"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useCallback, useEffect, useRef, useState } from 'react';
5
5
  import styled from 'styled-components';
6
6
  import { setFocusWithoutScroll, getHoverIndicatorStyle, containsFocus } from '../../utils';
@@ -373,6 +373,7 @@ var SelectContainer = /*#__PURE__*/forwardRef(function (_ref3, ref) {
373
373
  return setActiveIndex(index);
374
374
  },
375
375
  onMouseOver: !optionDisabled ? onActiveOption(index) : undefined,
376
+ onMouseOut: !optionDisabled ? onActiveOption(-1) : undefined,
376
377
  onClick: !optionDisabled ? selectOption(index) : undefined,
377
378
  textComponent: textComponent
378
379
  }, passThemeFlag), child);
@@ -17,7 +17,10 @@ export var StyledContainer = styled(Box).withConfig({
17
17
  export var OptionsContainer = styled.div.withConfig(styledComponentsConfig).withConfig({
18
18
  displayName: "StyledSelect__OptionsContainer",
19
19
  componentId: "sc-znp66n-1"
20
- })(["position:relative;scroll-behavior:smooth;overflow:auto;outline:none;"]);
20
+ })(["position:relative;scroll-behavior:smooth;overflow:auto;outline:none;", ";"], function (props) {
21
+ if (props.selectMultiple) return props.theme.selectMultiple.listbox && props.theme.selectMultiple.listbox.extend;
22
+ return props.theme.select.listbox && props.theme.select.listbox.extend;
23
+ });
21
24
  export var HiddenInput = styled.input.withConfig(styledComponentsConfig).withConfig({
22
25
  displayName: "StyledSelect__HiddenInput",
23
26
  componentId: "sc-znp66n-2"
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["children", "searching"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import { css } from 'styled-components';
5
5
  import React, { useState } from 'react';
6
6
  import { Box } from '../../..';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["searching"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useEffect } from 'react';
5
5
  import { TextInput } from '../../..';
6
6
  import { SearchBorderBox } from './SearchBorderBox';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["a11yTitle", "aria-label", "alignSelf", "children", "defaultValue", "disabled", "disabledKey", "dropAlign", "dropHeight", "dropProps", "dropTarget", "emptySearchMessage", "focusIndicator", "gridArea", "help", "id", "icon", "labelKey", "limit", "margin", "messages", "name", "onBlur", "onChange", "onClick", "onClose", "onFocus", "onKeyDown", "onMore", "onOpen", "onSearch", "open", "options", "placeholder", "plain", "replace", "searchPlaceholder", "size", "sortSelectedOnClose", "value", "valueKey", "valueLabel", "showSelectedInline", "width"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, isValidElement, useCallback, useContext, useMemo, useState, useRef, useEffect } from 'react';
5
5
  import styled from 'styled-components';
6
6
  import { controlBorderStyle, useKeyboard, useForwardedRef } from '../../utils';
@@ -330,7 +330,8 @@ var SelectMultipleContainer = /*#__PURE__*/forwardRef(function (_ref, ref) {
330
330
  onMouseMove: function onMouseMove() {
331
331
  return setKeyboardNavigation(false);
332
332
  },
333
- "aria-activedescendant": optionsRef == null || (_optionsRef$current = optionsRef.current) == null ? void 0 : _optionsRef$current.children[activeIndex]
333
+ "aria-activedescendant": optionsRef == null || (_optionsRef$current = optionsRef.current) == null ? void 0 : _optionsRef$current.children[activeIndex],
334
+ selectMultiple: true // internal prop
334
335
  }, /*#__PURE__*/React.createElement(InfiniteScroll, {
335
336
  items: options,
336
337
  step: theme.select.step,
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["children", "footer", "header"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import { Box } from '../Box';
6
6
  import { SidebarPropTypes } from './propTypes';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["icon", "label"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import { Avatar, Button, Box, Nav, Stack, Text } from 'grommet';
6
6
  import { Analytics } from "grommet-icons/es6/icons/Analytics";
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["as", "colors", "width", "height"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef } from 'react';
5
5
  import { SkeletonPropTypes } from './propTypes';
6
6
  import { useSkeleton } from './SkeletonContext';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["title"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useEffect, useState } from 'react';
5
5
  import { Box, Button, Card, Grid, Text } from 'grommet';
6
6
  import { FormAdd } from "grommet-icons/es6/icons/FormAdd";
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["title"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import { Box, Button, Card, Grommet, Text } from 'grommet';
6
6
  import { useThemeValue } from '../../../utils/useThemeValue';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["id", "label"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef } from 'react';
5
5
  import { Anchor } from '../Anchor';
6
6
  export var SkipLink = /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["label"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import styled from 'styled-components';
6
6
  import { Anchor } from '../Anchor';
@@ -2,7 +2,7 @@ var _excluded = ["ref", "size"],
2
2
  _excluded2 = ["children", "color", "size", "message"],
3
3
  _excluded3 = ["size", "color", "border"];
4
4
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
5
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
5
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
6
6
  import React, { isValidElement, forwardRef, useContext, useEffect } from 'react';
7
7
  import { AnnounceContext } from '../../contexts/AnnounceContext';
8
8
  import { Box } from '../Box';
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["anchor", "children", "fill", "guidingChild", "interactiveChild"];
2
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
2
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
3
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
4
  import React, { Children, forwardRef } from 'react';
5
5
  import { StyledStack, StyledStackLayer } from './StyledStack';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["name", "defaultValue", "value"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useContext } from 'react';
5
5
  import styled from 'styled-components';
6
6
  import { Star } from 'grommet-icons/icons/Star';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["active", "disabled", "children", "icon", "plain", "title", "onBlur", "onFocus", "onMouseOver", "onMouseOut", "reverse", "onClick"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useContext, useEffect, useState } from 'react';
5
5
  import { Button } from '../Button';
6
6
  import { Text } from '../Text';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["caption", "children"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef } from 'react';
5
5
  import { StyledTable, StyledTableDataCaption } from './StyledTable';
6
6
  import { TablePropTypes } from './propTypes';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["align", "aria-disabled", "background", "border", "children", "className", "colSpan", "onWidth", "pad", "plain", "rowSpan", "scope", "size", "verticalAlign"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useContext, useEffect, useMemo, useRef } from 'react';
5
5
  import { ThemeContext } from 'styled-components';
6
6
  import { useLayoutEffect } from '../../utils/use-isomorphic-layout-effect';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["alignControls", "children", "flex", "justify", "messages", "responsive"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useCallback, useContext, useState, useEffect, useRef, useMemo } from 'react';
5
5
  import { Previous } from 'grommet-icons/icons/Previous';
6
6
  import { Next } from 'grommet-icons/icons/Next';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["name", "value", "size", "onRemove", "onClick"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef } from 'react';
5
5
  import { FormClose } from 'grommet-icons/icons/FormClose';
6
6
  import { TagPropTypes } from './propTypes';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["children", "color", "tag", "as", "tip", "a11yTitle", "truncate", "size", "skeleton", "level"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useMemo, useState } from 'react';
5
5
  import { useLayoutEffect } from '../../utils/use-isomorphic-layout-effect';
6
6
  import { StyledText } from './StyledText';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["as", "size"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef } from 'react';
5
5
  import { Skeleton } from '../Skeleton';
6
6
  import { useThemeValue } from '../../utils/useThemeValue';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["a11yTitle", "fill", "focusIndicator", "name", "onBlur", "onChange", "onFocus", "onKeyDown", "value"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useContext, useState } from 'react';
5
5
  import { FormContext } from '../Form/FormContext';
6
6
  import { Keyboard } from '../Keyboard';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["a11yTitle", "defaultSuggestion", "defaultValue", "dropAlign", "dropHeight", "dropTarget", "dropProps", "focusIndicator", "icon", "id", "messages", "name", "onBlur", "onChange", "onFocus", "onKeyDown", "onSelect", "onSuggestionSelect", "onSuggestionsClose", "onSuggestionsOpen", "placeholder", "plain", "readOnly", "readOnlyCopy", "reverse", "suggestions", "textAlign", "value", "width"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
5
5
  import styled from 'styled-components';
6
6
  import { Box } from '../Box';
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["children", "onRemove"],
2
2
  _excluded2 = ["value", "onAdd", "onChange", "onRemove"];
3
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React from 'react';
6
6
  import { FormClose } from "grommet-icons/es6/icons/FormClose";
7
7
  import { Box, Button, Keyboard, Text, TextInput } from 'grommet';
@@ -1,5 +1,6 @@
1
1
  import styled from 'styled-components';
2
2
  import { Button } from '../Button';
3
+ import { Box } from '../Box';
3
4
  import { roundStyle, edgeStyle, parseMetricToNum } from '../../utils';
4
5
  var adjustPad = function adjustPad(value, theme) {
5
6
  // resolve t-shirt size if it exists
@@ -35,4 +36,11 @@ export var StyledButton = styled(Button).withConfig({
35
36
  // remove hover style from StyledButton/StyledButtonKind theme
36
37
  !props.kind && "border: none;\n box-shadow: none;"
37
38
  );
39
+ });
40
+ export var StyledBox = styled(Box).withConfig({
41
+ displayName: "StyledToggleGroup__StyledBox",
42
+ componentId: "sc-13k5sx8-1"
43
+ })(["", ";"], function (props) {
44
+ var _props$theme$toggleGr;
45
+ return (_props$theme$toggleGr = props.theme.toggleGroup) == null || (_props$theme$toggleGr = _props$theme$toggleGr.container) == null ? void 0 : _props$theme$toggleGr.extend;
38
46
  });
@@ -1,11 +1,11 @@
1
1
  var _excluded = ["defaultValue", "multiple", "options", "onToggle", "value"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useCallback, useState, useRef, useMemo } from 'react';
5
5
  import { Box } from '../Box';
6
6
  import { Keyboard } from '../Keyboard';
7
7
  import { ToggleGroupPropTypes } from './propTypes';
8
- import { StyledButton } from './StyledToggleGroup';
8
+ import { StyledButton, StyledBox } from './StyledToggleGroup';
9
9
  import { useThemeValue } from '../../utils/useThemeValue';
10
10
  var useControlled = function useControlled(_ref) {
11
11
  var prop = _ref.prop,
@@ -103,7 +103,7 @@ var ToggleGroup = function ToggleGroup(_ref2) {
103
103
  onDown: onNext,
104
104
  onLeft: onPrevious,
105
105
  onRight: onNext
106
- }, /*#__PURE__*/React.createElement(Box, _extends({
106
+ }, /*#__PURE__*/React.createElement(StyledBox, _extends({
107
107
  ref: ref,
108
108
  alignSelf: "start",
109
109
  direction: "row",
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["children"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useContext } from 'react';
5
5
  import { Box } from '../Box';
6
6
  import { ResponsiveContext } from '../../contexts/ResponsiveContext';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["alignSelf", "autoPlay", "children", "controls", "gridArea", "loop", "margin", "messages", "mute", "onDurationChange", "onEnded", "onPause", "onPlay", "onTimeUpdate", "onVolumeChange", "skipInterval"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
5
5
  import { useLayoutEffect } from '../../utils/use-isomorphic-layout-effect';
6
6
  import { AnnounceContext } from '../../contexts/AnnounceContext';
@@ -3,7 +3,7 @@ var _excluded = ["fill", "color", "continents", "hoverColor", "onSelectPlace", "
3
3
  _excluded3 = ["color", "onClick", "onHover"],
4
4
  _excluded4 = ["color", "coords", "content", "dropProps", "key", "name", "onClick", "onHover"];
5
5
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
6
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
6
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
7
7
  import React, { forwardRef } from 'react';
8
8
  import { Drop } from '../Drop';
9
9
  import { normalizeColor, parseMetricToNum } from '../../utils';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["children", "areas"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import { deepMerge } from 'grommet/utils';
6
6
  import { grommet } from 'grommet/themes';