grommet 2.39.0 → 2.40.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 (303) 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 +1 -1
  7. package/components/Avatar/Avatar.js +1 -1
  8. package/components/Box/Box.js +1 -1
  9. package/components/Box/StyledBox.js +3 -3
  10. package/components/Button/Button.js +1 -1
  11. package/components/Calendar/Calendar.js +15 -15
  12. package/components/Card/stories/CustomThemed/Clickable.js +1 -1
  13. package/components/Card/stories/CustomThemed/Themed.js +1 -1
  14. package/components/Cards/Cards.js +1 -1
  15. package/components/Carousel/Carousel.js +1 -1
  16. package/components/Carousel/stories/CustomThemed/Custom.js +1 -1
  17. package/components/Chart/Chart.js +1 -1
  18. package/components/CheckBox/CheckBox.js +1 -1
  19. package/components/CheckBox/stories/NoLabel.js +1 -1
  20. package/components/CheckBox/stories/Simple.js +1 -1
  21. package/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
  22. package/components/Clock/Analog.js +1 -1
  23. package/components/Clock/Clock.js +1 -1
  24. package/components/Clock/Digital.js +1 -1
  25. package/components/Collapsible/stories/Nested.js +1 -1
  26. package/components/Data/Data.js +1 -1
  27. package/components/Data/DataForm.js +5 -5
  28. package/components/Data/filter.js +6 -6
  29. package/components/Data/index.d.ts +1 -3
  30. package/components/Data/propTypes.js +2 -1
  31. package/components/Data/stories/ComposedToolbar.js +2 -1
  32. package/components/Data/stories/Inline.js +1 -1
  33. package/components/Data/stories/Views.js +3 -0
  34. package/components/DataChart/DataChart.js +1 -1
  35. package/components/DataChart/XAxis.js +1 -1
  36. package/components/DataClearFilters/DataClearFilters.js +1 -1
  37. package/components/DataFilter/DataFilter.js +4 -4
  38. package/components/DataFilters/DataFilters.js +1 -1
  39. package/components/DataSearch/DataSearch.js +1 -1
  40. package/components/DataSort/DataSort.js +1 -1
  41. package/components/DataSummary/DataSummary.js +1 -1
  42. package/components/DataTable/Body.js +1 -1
  43. package/components/DataTable/Cell.js +1 -1
  44. package/components/DataTable/DataTable.js +1 -1
  45. package/components/DataTable/ExpanderCell.js +1 -1
  46. package/components/DataTable/Footer.js +1 -1
  47. package/components/DataTable/GroupedBody.js +1 -1
  48. package/components/DataTable/Header.js +1 -1
  49. package/components/DataTable/buildState.js +10 -10
  50. package/components/DataTableColumns/DataTableColumns.js +1 -1
  51. package/components/DataTableColumns/stories/DefaultValue.js +49 -0
  52. package/components/DataTableGroupBy/DataTableGroupBy.js +1 -1
  53. package/components/DataView/DataView.js +1 -1
  54. package/components/DateInput/DateInput.js +1 -1
  55. package/components/Diagram/Diagram.js +1 -1
  56. package/components/Diagram/stories/Progressing.js +1 -1
  57. package/components/Distribution/Distribution.js +5 -5
  58. package/components/Drop/Drop.js +1 -1
  59. package/components/Drop/DropContainer.js +1 -1
  60. package/components/DropButton/DropButton.js +1 -1
  61. package/components/FileInput/FileInput.js +1 -1
  62. package/components/FocusedContainer.js +1 -1
  63. package/components/Form/Form.js +7 -7
  64. package/components/FormField/FormField.js +1 -1
  65. package/components/Grid/Grid.js +1 -1
  66. package/components/Grid/stories/CustomThemed/Responsive.js +1 -1
  67. package/components/Grommet/Grommet.js +1 -1
  68. package/components/Header/Header.js +1 -1
  69. package/components/Heading/Heading.js +1 -1
  70. package/components/Image/Image.js +1 -1
  71. package/components/InfiniteScroll/InfiniteScroll.js +1 -0
  72. package/components/Keyboard/Keyboard.js +1 -1
  73. package/components/Layer/LayerContainer.js +1 -1
  74. package/components/List/List.js +5 -3
  75. package/components/List/index.d.ts +1 -0
  76. package/components/List/propTypes.js +1 -0
  77. package/components/Markdown/Markdown.js +1 -1
  78. package/components/MaskedInput/MaskedInput.js +1 -1
  79. package/components/Menu/Menu.js +1 -1
  80. package/components/Meter/Bar.js +1 -1
  81. package/components/Meter/Circle.js +1 -1
  82. package/components/Meter/Meter.js +1 -1
  83. package/components/NameValueList/NameValueList.js +1 -1
  84. package/components/Nav/stories/CustomThemed/JustifySidebar.js +1 -1
  85. package/components/Nav/stories/Sidebar.js +1 -1
  86. package/components/Notification/Notification.js +1 -1
  87. package/components/Page/Page.js +1 -1
  88. package/components/PageContent/PageContent.js +1 -1
  89. package/components/PageHeader/PageHeader.js +1 -1
  90. package/components/Pagination/PageControl.js +1 -1
  91. package/components/Pagination/Pagination.js +1 -1
  92. package/components/Pagination/PaginationStep.js +1 -1
  93. package/components/Pagination/PaginationSummary.js +1 -1
  94. package/components/Paragraph/Paragraph.js +1 -1
  95. package/components/RadioButton/RadioButton.js +1 -1
  96. package/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  97. package/components/RadioButtonGroup/stories/CustomThemed/CustomTheme.js +1 -1
  98. package/components/RadioButtonGroup/stories/Disabled.js +1 -1
  99. package/components/RangeInput/RangeInput.js +1 -1
  100. package/components/RangeSelector/EdgeControl.js +1 -1
  101. package/components/RangeSelector/RangeSelector.js +1 -1
  102. package/components/RangeSelector/stories/CustomThemed/Custom.js +1 -1
  103. package/components/RangeSelector/stories/CustomThemed/CustomEdgeControl.js +1 -1
  104. package/components/RangeSelector/stories/Step.js +1 -1
  105. package/components/RangeSelector/stories/Vertical.js +1 -1
  106. package/components/RoutedAnchor/RoutedAnchor.js +1 -1
  107. package/components/RoutedButton/RoutedButton.js +1 -1
  108. package/components/Select/DefaultSelectTextInput.js +1 -1
  109. package/components/Select/Select.js +1 -1
  110. package/components/Select/SelectContainer.js +1 -1
  111. package/components/Select/stories/components/SearchBorderBox.js +1 -1
  112. package/components/Select/stories/components/SearchInput.js +1 -1
  113. package/components/Select/utils.js +10 -10
  114. package/components/SelectMultiple/SelectMultiple.js +1 -1
  115. package/components/Sidebar/Sidebar.js +1 -1
  116. package/components/Sidebar/stories/Labels.js +1 -1
  117. package/components/Skeleton/Skeleton.js +1 -1
  118. package/components/Skeleton/stories/GridContainer.js +1 -1
  119. package/components/Skeleton/stories/Individual.js +1 -1
  120. package/components/SkipLink/SkipLink.js +1 -1
  121. package/components/SkipLinkTarget/SkipLinkTarget.js +1 -1
  122. package/components/Spinner/Spinner.js +1 -1
  123. package/components/Stack/Stack.js +1 -1
  124. package/components/StarRating/StarRating.js +1 -1
  125. package/components/Tab/Tab.js +1 -1
  126. package/components/Table/Table.js +1 -1
  127. package/components/TableCell/TableCell.js +1 -1
  128. package/components/Tabs/Tabs.js +1 -1
  129. package/components/Tag/Tag.js +1 -1
  130. package/components/Text/Text.js +1 -1
  131. package/components/Text/TextSkeleton.js +1 -1
  132. package/components/TextArea/TextArea.js +1 -1
  133. package/components/TextInput/TextInput.js +1 -1
  134. package/components/TextInput/stories/WithTags.js +1 -1
  135. package/components/Tip/Tip.js +5 -0
  136. package/components/Tip/index.d.ts +1 -0
  137. package/components/Tip/propTypes.js +2 -1
  138. package/components/ToggleGroup/ToggleGroup.js +1 -1
  139. package/components/Toolbar/Toolbar.js +1 -1
  140. package/components/Video/StyledVideo.js +1 -1
  141. package/components/Video/Video.js +1 -1
  142. package/components/WorldMap/WorldMap.js +1 -1
  143. package/contexts/ResponsiveContext/stories/ResponsiveGrid.js +1 -1
  144. package/es6/all/stories/AllComponents.js +1 -1
  145. package/es6/components/Accordion/Accordion.js +1 -1
  146. package/es6/components/Accordion/stories/CustomThemed/Custom.js +1 -1
  147. package/es6/components/Accordion/stories/Simple.js +1 -1
  148. package/es6/components/AccordionPanel/AccordionPanel.js +1 -1
  149. package/es6/components/Anchor/Anchor.js +1 -1
  150. package/es6/components/Avatar/Avatar.js +1 -1
  151. package/es6/components/Box/Box.js +1 -1
  152. package/es6/components/Box/StyledBox.js +3 -3
  153. package/es6/components/Button/Button.js +1 -1
  154. package/es6/components/Calendar/Calendar.js +16 -15
  155. package/es6/components/Card/stories/CustomThemed/Clickable.js +1 -1
  156. package/es6/components/Card/stories/CustomThemed/Themed.js +1 -1
  157. package/es6/components/Cards/Cards.js +1 -1
  158. package/es6/components/Carousel/Carousel.js +1 -1
  159. package/es6/components/Carousel/stories/CustomThemed/Custom.js +1 -1
  160. package/es6/components/Chart/Chart.js +1 -1
  161. package/es6/components/CheckBox/CheckBox.js +1 -1
  162. package/es6/components/CheckBox/stories/NoLabel.js +1 -1
  163. package/es6/components/CheckBox/stories/Simple.js +1 -1
  164. package/es6/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
  165. package/es6/components/Clock/Analog.js +1 -1
  166. package/es6/components/Clock/Clock.js +1 -1
  167. package/es6/components/Clock/Digital.js +1 -1
  168. package/es6/components/Collapsible/stories/Nested.js +1 -1
  169. package/es6/components/Data/Data.js +1 -1
  170. package/es6/components/Data/DataForm.js +5 -5
  171. package/es6/components/Data/filter.js +6 -6
  172. package/es6/components/Data/index.d.ts +1 -3
  173. package/es6/components/Data/propTypes.js +2 -1
  174. package/es6/components/Data/stories/ComposedToolbar.js +2 -1
  175. package/es6/components/Data/stories/Inline.js +1 -1
  176. package/es6/components/Data/stories/Views.js +3 -0
  177. package/es6/components/DataChart/DataChart.js +1 -1
  178. package/es6/components/DataChart/XAxis.js +1 -1
  179. package/es6/components/DataClearFilters/DataClearFilters.js +1 -1
  180. package/es6/components/DataFilter/DataFilter.js +4 -4
  181. package/es6/components/DataFilters/DataFilters.js +1 -1
  182. package/es6/components/DataSearch/DataSearch.js +1 -1
  183. package/es6/components/DataSort/DataSort.js +1 -1
  184. package/es6/components/DataSummary/DataSummary.js +1 -1
  185. package/es6/components/DataTable/Body.js +1 -1
  186. package/es6/components/DataTable/Cell.js +1 -1
  187. package/es6/components/DataTable/DataTable.js +1 -1
  188. package/es6/components/DataTable/ExpanderCell.js +1 -1
  189. package/es6/components/DataTable/Footer.js +1 -1
  190. package/es6/components/DataTable/GroupedBody.js +1 -1
  191. package/es6/components/DataTable/Header.js +1 -1
  192. package/es6/components/DataTable/buildState.js +11 -10
  193. package/es6/components/DataTableColumns/DataTableColumns.js +1 -1
  194. package/es6/components/DataTableColumns/stories/DefaultValue.js +45 -0
  195. package/es6/components/DataTableGroupBy/DataTableGroupBy.js +1 -1
  196. package/es6/components/DataView/DataView.js +1 -1
  197. package/es6/components/DateInput/DateInput.js +1 -1
  198. package/es6/components/Diagram/Diagram.js +1 -1
  199. package/es6/components/Diagram/stories/Progressing.js +1 -1
  200. package/es6/components/Distribution/Distribution.js +6 -6
  201. package/es6/components/Drop/Drop.js +1 -1
  202. package/es6/components/Drop/DropContainer.js +1 -1
  203. package/es6/components/DropButton/DropButton.js +1 -1
  204. package/es6/components/FileInput/FileInput.js +1 -1
  205. package/es6/components/FocusedContainer.js +1 -1
  206. package/es6/components/Form/Form.js +7 -7
  207. package/es6/components/FormField/FormField.js +1 -1
  208. package/es6/components/Grid/Grid.js +1 -1
  209. package/es6/components/Grid/stories/CustomThemed/Responsive.js +1 -1
  210. package/es6/components/Grommet/Grommet.js +1 -1
  211. package/es6/components/Header/Header.js +1 -1
  212. package/es6/components/Heading/Heading.js +1 -1
  213. package/es6/components/Image/Image.js +1 -1
  214. package/es6/components/InfiniteScroll/InfiniteScroll.js +1 -0
  215. package/es6/components/Keyboard/Keyboard.js +1 -1
  216. package/es6/components/Layer/LayerContainer.js +1 -1
  217. package/es6/components/List/List.js +5 -3
  218. package/es6/components/List/index.d.ts +1 -0
  219. package/es6/components/List/propTypes.js +1 -0
  220. package/es6/components/Markdown/Markdown.js +1 -1
  221. package/es6/components/MaskedInput/MaskedInput.js +1 -1
  222. package/es6/components/Menu/Menu.js +1 -1
  223. package/es6/components/Meter/Bar.js +1 -1
  224. package/es6/components/Meter/Circle.js +1 -1
  225. package/es6/components/Meter/Meter.js +1 -1
  226. package/es6/components/NameValueList/NameValueList.js +1 -1
  227. package/es6/components/Nav/stories/CustomThemed/JustifySidebar.js +1 -1
  228. package/es6/components/Nav/stories/Sidebar.js +1 -1
  229. package/es6/components/Notification/Notification.js +1 -1
  230. package/es6/components/Page/Page.js +1 -1
  231. package/es6/components/PageContent/PageContent.js +1 -1
  232. package/es6/components/PageHeader/PageHeader.js +1 -1
  233. package/es6/components/Pagination/PageControl.js +1 -1
  234. package/es6/components/Pagination/Pagination.js +1 -1
  235. package/es6/components/Pagination/PaginationStep.js +1 -1
  236. package/es6/components/Pagination/PaginationSummary.js +1 -1
  237. package/es6/components/Paragraph/Paragraph.js +1 -1
  238. package/es6/components/RadioButton/RadioButton.js +1 -1
  239. package/es6/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  240. package/es6/components/RadioButtonGroup/stories/CustomThemed/CustomTheme.js +1 -1
  241. package/es6/components/RadioButtonGroup/stories/Disabled.js +1 -1
  242. package/es6/components/RangeInput/RangeInput.js +1 -1
  243. package/es6/components/RangeSelector/EdgeControl.js +1 -1
  244. package/es6/components/RangeSelector/RangeSelector.js +1 -1
  245. package/es6/components/RangeSelector/stories/CustomThemed/Custom.js +1 -1
  246. package/es6/components/RangeSelector/stories/CustomThemed/CustomEdgeControl.js +1 -1
  247. package/es6/components/RangeSelector/stories/Step.js +1 -1
  248. package/es6/components/RangeSelector/stories/Vertical.js +1 -1
  249. package/es6/components/RoutedAnchor/RoutedAnchor.js +1 -1
  250. package/es6/components/RoutedButton/RoutedButton.js +1 -1
  251. package/es6/components/Select/DefaultSelectTextInput.js +1 -1
  252. package/es6/components/Select/Select.js +1 -1
  253. package/es6/components/Select/SelectContainer.js +1 -1
  254. package/es6/components/Select/stories/components/SearchBorderBox.js +1 -1
  255. package/es6/components/Select/stories/components/SearchInput.js +1 -1
  256. package/es6/components/Select/utils.js +11 -10
  257. package/es6/components/SelectMultiple/SelectMultiple.js +1 -1
  258. package/es6/components/Sidebar/Sidebar.js +1 -1
  259. package/es6/components/Sidebar/stories/Labels.js +1 -1
  260. package/es6/components/Skeleton/Skeleton.js +1 -1
  261. package/es6/components/Skeleton/stories/GridContainer.js +1 -1
  262. package/es6/components/Skeleton/stories/Individual.js +1 -1
  263. package/es6/components/SkipLink/SkipLink.js +1 -1
  264. package/es6/components/SkipLinkTarget/SkipLinkTarget.js +1 -1
  265. package/es6/components/Spinner/Spinner.js +1 -1
  266. package/es6/components/Stack/Stack.js +1 -1
  267. package/es6/components/StarRating/StarRating.js +1 -1
  268. package/es6/components/Tab/Tab.js +1 -1
  269. package/es6/components/Table/Table.js +1 -1
  270. package/es6/components/TableCell/TableCell.js +1 -1
  271. package/es6/components/Tabs/Tabs.js +1 -1
  272. package/es6/components/Tag/Tag.js +1 -1
  273. package/es6/components/Text/Text.js +1 -1
  274. package/es6/components/Text/TextSkeleton.js +1 -1
  275. package/es6/components/TextArea/TextArea.js +1 -1
  276. package/es6/components/TextInput/TextInput.js +1 -1
  277. package/es6/components/TextInput/stories/WithTags.js +1 -1
  278. package/es6/components/Tip/Tip.js +6 -1
  279. package/es6/components/Tip/index.d.ts +1 -0
  280. package/es6/components/Tip/propTypes.js +2 -1
  281. package/es6/components/ToggleGroup/ToggleGroup.js +1 -1
  282. package/es6/components/Toolbar/Toolbar.js +1 -1
  283. package/es6/components/Video/StyledVideo.js +1 -1
  284. package/es6/components/Video/Video.js +1 -1
  285. package/es6/components/WorldMap/WorldMap.js +1 -1
  286. package/es6/contexts/ResponsiveContext/stories/ResponsiveGrid.js +1 -1
  287. package/es6/utils/DOM.js +7 -5
  288. package/es6/utils/background.js +4 -4
  289. package/es6/utils/colors.js +3 -2
  290. package/es6/utils/mixins.js +3 -2
  291. package/es6/utils/object.js +3 -2
  292. package/es6/utils/pagination.js +1 -1
  293. package/es6/utils/styles.js +1 -1
  294. package/grommet.min.js +1 -1
  295. package/grommet.min.js.map +1 -1
  296. package/package.json +33 -34
  297. package/utils/DOM.js +4 -4
  298. package/utils/background.js +4 -4
  299. package/utils/colors.js +2 -2
  300. package/utils/mixins.js +2 -2
  301. package/utils/object.js +2 -2
  302. package/utils/pagination.js +1 -1
  303. package/utils/styles.js +1 -1
@@ -4,24 +4,24 @@ exports.__esModule = true;
4
4
  exports.useDisabled = exports.getSelectIcon = exports.getOptionValue = exports.getOptionLabel = exports.getOptionIndex = exports.getNormalizedValue = exports.getIconColor = exports.getDisplayLabelKey = exports.changeEvent = exports.arrayIncludes = exports.applyKey = void 0;
5
5
  var _react = require("react");
6
6
  var _utils = require("../../utils");
7
- var applyKey = exports.applyKey = function applyKey(option, key) {
7
+ var _applyKey = exports.applyKey = function applyKey(option, key) {
8
8
  if (option === undefined || option === null) return undefined;
9
- if (typeof key === 'object') return applyKey(option, key.key);
9
+ if (typeof key === 'object') return _applyKey(option, key.key);
10
10
  if (typeof key === 'function') return key(option);
11
11
  if (key !== undefined && typeof option === 'object') return option[key];
12
12
  if (typeof option === 'object' && Object.keys(option)) return option[Object.keys(option)[0]];
13
13
  return option;
14
14
  };
15
15
  var getOptionLabel = exports.getOptionLabel = function getOptionLabel(index, options, labelKey) {
16
- return applyKey(options[index], labelKey);
16
+ return _applyKey(options[index], labelKey);
17
17
  };
18
18
  var getOptionValue = exports.getOptionValue = function getOptionValue(index, options, valueKey) {
19
- return applyKey(options[index], valueKey);
19
+ return _applyKey(options[index], valueKey);
20
20
  };
21
21
  var getOptionIndex = exports.getOptionIndex = function getOptionIndex(options, i, valueKey) {
22
22
  if (options) {
23
23
  if (typeof i === 'object') return options.findIndex(function (x) {
24
- return applyKey(x, valueKey) === applyKey(i, valueKey);
24
+ return _applyKey(x, valueKey) === _applyKey(i, valueKey);
25
25
  });
26
26
  return options.indexOf(i);
27
27
  }
@@ -30,7 +30,7 @@ var getOptionIndex = exports.getOptionIndex = function getOptionIndex(options, i
30
30
  var arrayIncludes = exports.arrayIncludes = function arrayIncludes(arr, i, valueKey) {
31
31
  if (arr) {
32
32
  if (typeof i === 'object') return arr.some(function (x) {
33
- return applyKey(x, valueKey) === applyKey(i, valueKey);
33
+ return _applyKey(x, valueKey) === _applyKey(i, valueKey);
34
34
  });
35
35
  return arr.includes(i);
36
36
  }
@@ -41,7 +41,7 @@ var useDisabled = exports.useDisabled = function useDisabled(disabled, disabledK
41
41
  var option = options[index];
42
42
  var result;
43
43
  if (disabledKey) {
44
- result = applyKey(option, disabledKey);
44
+ result = _applyKey(option, disabledKey);
45
45
  } else if (Array.isArray(disabled)) {
46
46
  if (typeof disabled[0] === 'number') {
47
47
  result = disabled.indexOf(index) !== -1;
@@ -55,9 +55,9 @@ var useDisabled = exports.useDisabled = function useDisabled(disabled, disabledK
55
55
  };
56
56
  var getNormalizedValue = exports.getNormalizedValue = function getNormalizedValue(value, valueKey) {
57
57
  if (Array.isArray(value)) return value.map(function (v) {
58
- return valueKey && valueKey.reduce ? v : applyKey(v, valueKey);
58
+ return valueKey && valueKey.reduce ? v : _applyKey(v, valueKey);
59
59
  });
60
- return valueKey && valueKey.reduce ? value : applyKey(value, valueKey);
60
+ return valueKey && valueKey.reduce ? value : _applyKey(value, valueKey);
61
61
  };
62
62
  var changeEvent = exports.changeEvent = function changeEvent(inputRef, nextValue) {
63
63
  // Calling set value function directly on input because React library
@@ -90,7 +90,7 @@ var getSelectIcon = exports.getSelectIcon = function getSelectIcon(icon, theme,
90
90
  // we should use the labelKey function to display the
91
91
  // selected value
92
92
  var getDisplayLabelKey = exports.getDisplayLabelKey = function getDisplayLabelKey(labelKey, allOptions, optionIndexesInValue, selectValue) {
93
- var optionLabelKey = applyKey(allOptions[optionIndexesInValue[0]], labelKey);
93
+ var optionLabelKey = _applyKey(allOptions[optionIndexesInValue[0]], labelKey);
94
94
  if (!selectValue && optionIndexesInValue.length === 1 && typeof optionLabelKey === 'object') return optionLabelKey;
95
95
  return undefined;
96
96
  };
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
23
23
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
24
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
25
25
  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); }
26
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
26
+ 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; }
27
27
  var StyledSelectBox = (0, _styledComponents["default"])(_Box.Box).attrs(_defaultProps.withTheme).withConfig({
28
28
  displayName: "SelectMultiple__StyledSelectBox",
29
29
  componentId: "sc-18zwyth-0"
@@ -8,7 +8,7 @@ var _propTypes = require("./propTypes");
8
8
  var _excluded = ["children", "footer", "header"];
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
10
  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); }
11
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
11
+ 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; }
12
12
  var Sidebar = exports.Sidebar = function Sidebar(_ref) {
13
13
  var children = _ref.children,
14
14
  footer = _ref.footer,
@@ -9,7 +9,7 @@ var _Sidebar = require("../Sidebar");
9
9
  var _excluded = ["icon", "label"];
10
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
11
  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); }
12
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
12
+ 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; }
13
13
  var src = '//s.gravatar.com/avatar/b7fb138d53ba0f573212ccce38a7c43b?s=80';
14
14
  var SidebarHeader = function SidebarHeader() {
15
15
  return /*#__PURE__*/_react["default"].createElement(_grommet.Box, {
@@ -11,7 +11,7 @@ var _excluded = ["as", "colors", "width", "height"];
11
11
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
12
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
13
  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); }
14
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
14
+ 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; }
15
15
  var Skeleton = exports.Skeleton = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
16
16
  var _theme$skeleton;
17
17
  var as = _ref.as,
@@ -9,7 +9,7 @@ var _excluded = ["title"];
9
9
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
10
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
11
11
  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); }
12
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
12
+ 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; }
13
13
  var labels = [];
14
14
  for (var i = 0; i < 10; i += 1) labels.push("Item " + i);
15
15
  var skeleton = {
@@ -8,7 +8,7 @@ var _useThemeValue = require("../../../utils/useThemeValue");
8
8
  var _excluded = ["title"];
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
10
  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); }
11
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
11
+ 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; }
12
12
  var Item = function Item(_ref) {
13
13
  var title = _ref.title,
14
14
  rest = _objectWithoutPropertiesLoose(_ref, _excluded);
@@ -8,7 +8,7 @@ var _excluded = ["id", "label"];
8
8
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
9
9
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
10
10
  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); }
11
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
11
+ 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; }
12
12
  var SkipLink = exports.SkipLink = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
13
13
  var id = _ref.id,
14
14
  label = _ref.label,
@@ -8,7 +8,7 @@ var _Anchor = require("../Anchor");
8
8
  var _excluded = ["label"];
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
10
  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); }
11
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
11
+ 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; }
12
12
  var HiddenAnchor = (0, _styledComponents["default"])(_Anchor.Anchor).withConfig({
13
13
  displayName: "SkipLinkTarget__HiddenAnchor",
14
14
  componentId: "sc-16wjfgk-0"
@@ -13,7 +13,7 @@ var _excluded = ["ref", "size"],
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
15
  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); }
16
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
16
+ 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; }
17
17
  var BasicSpinner = function BasicSpinner(_ref) {
18
18
  var ref = _ref.ref,
19
19
  size = _ref.size,
@@ -8,7 +8,7 @@ var _propTypes = require("./propTypes");
8
8
  var _excluded = ["anchor", "children", "fill", "guidingChild", "interactiveChild"];
9
9
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
10
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
11
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
11
+ 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; }
12
12
  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); }
13
13
  var buildStyledChildren = function buildStyledChildren(_ref) {
14
14
  var anchor = _ref.anchor,
@@ -12,7 +12,7 @@ var _excluded = ["name", "defaultValue", "value"];
12
12
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
13
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
14
  function _extends() { 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); }
15
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
15
+ 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; }
16
16
  var StarRating = exports.StarRating = function StarRating(_ref) {
17
17
  var name = _ref.name,
18
18
  defaultValue = _ref.defaultValue,
@@ -15,7 +15,7 @@ var _excluded = ["active", "disabled", "children", "icon", "plain", "title", "on
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
17
  function _extends() { 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); }
18
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
18
+ 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; }
19
19
  var Tab = exports.Tab = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
20
20
  var activeProp = _ref.active,
21
21
  disabled = _ref.disabled,
@@ -9,7 +9,7 @@ var _excluded = ["caption", "children"];
9
9
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
10
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
11
11
  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); }
12
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
12
+ 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; }
13
13
  var Table = exports.Table = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
14
14
  var caption = _ref.caption,
15
15
  children = _ref.children,
@@ -15,7 +15,7 @@ var _excluded = ["align", "aria-disabled", "background", "border", "children", "
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
17
  function _extends() { 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); }
18
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
18
+ 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; }
19
19
  var verticalAlignToJustify = exports.verticalAlignToJustify = {
20
20
  middle: 'center',
21
21
  top: 'start',
@@ -20,7 +20,7 @@ var _excluded = ["alignControls", "children", "flex", "justify", "messages", "re
20
20
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
21
21
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
22
22
  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); }
23
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
23
+ 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; }
24
24
  var Tabs = exports.Tabs = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
25
25
  var _theme$tabs$header;
26
26
  var alignControls = _ref.alignControls,
@@ -13,7 +13,7 @@ var _excluded = ["name", "value", "size", "onRemove", "onClick"];
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
15
  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); }
16
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
16
+ 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; }
17
17
  var Tag = exports.Tag = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
18
18
  var _theme$tag$icons, _theme$tag$size, _theme$tag$size2, _theme$tag$size3, _theme$tag$size4;
19
19
  var name = _ref.name,
@@ -15,7 +15,7 @@ var _excluded = ["children", "color", "tag", "as", "tip", "a11yTitle", "truncate
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
17
  function _extends() { 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); }
18
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
18
+ 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; }
19
19
  var Text = exports.Text = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
20
20
  var children = _ref.children,
21
21
  color = _ref.color,
@@ -9,7 +9,7 @@ var _excluded = ["as", "size"];
9
9
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
10
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
11
11
  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); }
12
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
12
+ 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; }
13
13
  var TextSkeleton = exports.TextSkeleton = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
14
14
  var as = _ref.as,
15
15
  sizeProp = _ref.size,
@@ -11,7 +11,7 @@ var _excluded = ["a11yTitle", "fill", "focusIndicator", "name", "onBlur", "onCha
11
11
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
12
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
13
  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); }
14
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
14
+ 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; }
15
15
  var TextArea = exports.TextArea = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
16
16
  var a11yTitle = _ref.a11yTitle,
17
17
  fill = _ref.fill,
@@ -23,7 +23,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
23
23
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
24
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
25
25
  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); }
26
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
26
+ 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; }
27
27
  var renderLabel = function renderLabel(suggestion) {
28
28
  if (suggestion && typeof suggestion === 'object') {
29
29
  return suggestion.label || suggestion.value;
@@ -9,7 +9,7 @@ var _excluded = ["children", "onRemove"],
9
9
  _excluded2 = ["value", "onAdd", "onChange", "onRemove"];
10
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
11
  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); }
12
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
12
+ 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; }
13
13
  var allSuggestions = ['sony', 'sonar', 'foo', 'bar'];
14
14
  var Tag = function Tag(_ref) {
15
15
  var children = _ref.children,
@@ -14,6 +14,8 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
14
14
  var Tip = exports.Tip = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, tipRef) {
15
15
  var children = _ref.children,
16
16
  content = _ref.content,
17
+ _ref$defaultVisible = _ref.defaultVisible,
18
+ defaultVisible = _ref$defaultVisible === void 0 ? false : _ref$defaultVisible,
17
19
  dropProps = _ref.dropProps,
18
20
  plain = _ref.plain;
19
21
  var theme = (0, _useThemeValue.useThemeValue)();
@@ -71,6 +73,9 @@ var Tip = exports.Tip = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, tipR
71
73
  }
72
74
  }
73
75
  });
76
+ (0, _react.useEffect)(function () {
77
+ setOver(defaultVisible);
78
+ }, [defaultVisible]);
74
79
  return [clonedChild, (over || tooltipOver) && /*#__PURE__*/_react["default"].createElement(_Drop.Drop, _extends({
75
80
  target: componentRef.current,
76
81
  trapFocus: false,
@@ -4,6 +4,7 @@ import { DropType } from '../Drop';
4
4
  export interface TipProps {
5
5
  children?: React.ReactNode;
6
6
  content?: React.ReactNode;
7
+ defaultVisible?: boolean;
7
8
  dropProps?: DropType;
8
9
  plain?: boolean;
9
10
  }
@@ -9,7 +9,8 @@ if (process.env.NODE_ENV !== 'production') {
9
9
  PropType = {
10
10
  content: _propTypes["default"].node,
11
11
  dropProps: _propTypes["default"].object,
12
- plain: _propTypes["default"].bool
12
+ plain: _propTypes["default"].bool,
13
+ defaultVisible: _propTypes["default"].bool
13
14
  };
14
15
  }
15
16
  var TipPropTypes = exports.TipPropTypes = PropType;
@@ -12,7 +12,7 @@ var _excluded = ["defaultValue", "multiple", "options", "onToggle", "value"];
12
12
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
13
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
14
  function _extends() { 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); }
15
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
15
+ 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; }
16
16
  var useControlled = function useControlled(_ref) {
17
17
  var prop = _ref.prop,
18
18
  defaultProp = _ref.defaultProp,
@@ -11,7 +11,7 @@ var _excluded = ["children"];
11
11
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
12
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
13
  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); }
14
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
14
+ 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; }
15
15
  var defaultLayoutProps = {
16
16
  direction: 'row',
17
17
  align: 'start',
@@ -19,7 +19,7 @@ var fitStyle = (0, _styledComponents.css)(["flex:1 1;min-height:0;object-fit:",
19
19
  var StyledVideo = exports.StyledVideo = _styledComponents["default"].video.withConfig(_utils.styledComponentsConfig).attrs(_defaultProps.withTheme).withConfig({
20
20
  displayName: "StyledVideo",
21
21
  componentId: "sc-w4v8h9-0"
22
- })(["max-width:100%;z-index:1;", "::cue{background:", ";}", ";"], function (props) {
22
+ })(["max-width:100%;z-index:1;", " ::cue{background:", ";}", ";"], function (props) {
23
23
  return props.fit && fitStyle;
24
24
  }, function (props) {
25
25
  return props.theme.video.captions.background;
@@ -21,7 +21,7 @@ var _excluded = ["alignSelf", "autoPlay", "children", "controls", "gridArea", "l
21
21
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
22
22
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
23
23
  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); }
24
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
24
+ 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; }
25
25
  // Split the volume control into 6 segments. Empirically determined.
26
26
  var VOLUME_STEP = 0.166667;
27
27
  var formatTime = function formatTime(time) {
@@ -15,7 +15,7 @@ var _excluded = ["fill", "color", "continents", "hoverColor", "onSelectPlace", "
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
17
  function _extends() { 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); }
18
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
18
+ 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; }
19
19
  // The graphic is drawn as a rectangular grid using coordinates spaced
20
20
  // by FACTOR pixels.
21
21
  var FACTOR = 10;
@@ -9,7 +9,7 @@ var _grommet = require("grommet");
9
9
  var _excluded = ["children", "areas"];
10
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
11
  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); }
12
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
12
+ 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; }
13
13
  var customBreakpoints = (0, _utils.deepMerge)(_themes.grommet, {
14
14
  global: {
15
15
  breakpoints: {
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["id"],
2
2
  _excluded2 = ["color"];
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.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React, { useState } from 'react';
6
6
  import { Accordion, AccordionPanel, Anchor, Box, Button, Calendar, Chart, CheckBox, Clock, DataTable, Diagram, Distribution, FormField, Grid, Heading, MaskedInput, Menu, Meter, Paragraph, RadioButtonGroup, RangeInput, RangeSelector, Select, Stack, Tab, Tabs, Text, TextArea, TextInput, Video } from 'grommet';
7
7
  import { FormNext } from "grommet-icons/es6/icons/FormNext";
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["activeIndex", "animate", "children", "level", "multiple", "onActive"];
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.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { Children, forwardRef, useCallback, useState } from 'react';
5
5
  import { AccordionPropTypes } from './propTypes';
6
6
  import { Box } from '../Box';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["animate", "multiple"];
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.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import { SubtractCircle } from "grommet-icons/es6/icons/SubtractCircle";
6
6
  import { AddCircle } from "grommet-icons/es6/icons/AddCircle";
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["animate", "multiple"];
2
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
3
3
  import React from 'react';
4
4
  import { Accordion, AccordionPanel, Box } from 'grommet';
5
5
  export var Simple = function Simple(props) {
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["children", "header", "label", "onClick", "onMouseOut", "onMouseOver", "onFocus", "onBlur"];
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.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { forwardRef, useContext, useMemo, useState } from 'react';
5
5
  import { normalizeColor, parseMetricToNum } from '../../utils';
6
6
  import { Box } from '../Box';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["a11yTitle", "aria-label", "children", "color", "disabled", "gap", "href", "icon", "label", "onBlur", "onClick", "onFocus", "reverse", "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.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { cloneElement, forwardRef, useCallback, useContext, useEffect, useState } from 'react';
5
5
  import { findButtonParent, normalizeColor, useSizedIcon } from '../../utils';
6
6
  import { Box } from '../Box';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["a11yTitle", "aria-label", "align", "children", "height", "justify", "round", "size", "src", "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.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useCallback, useMemo } from 'react';
5
5
  import { Image } from '../Image';
6
6
  import { StyledAvatar, StyledAvatarText } from './StyledAvatar';
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["a11yTitle", "background", "border", "children", "cssGap", "direction", "elevation", "fill", "gap", "kind", "onBlur", "onClick", "onFocus", "overflow", "responsive", "tag", "as", "wrap", "width", "height", "tabIndex", "skeleton"],
2
2
  _excluded2 = ["colors", "size"];
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.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React, { Children, forwardRef, useContext, useEffect, useMemo, useState } from 'react';
6
6
  import { ThemeContext } from 'styled-components';
7
7
  import { backgroundIsDark } from '../../utils';
@@ -66,7 +66,7 @@ var WRAP_MAP = {
66
66
  var wrapStyle = css(["flex-wrap:", ";"], function (props) {
67
67
  return WRAP_MAP[props.wrapProp];
68
68
  });
69
- var animationItemStyle = function animationItemStyle(item, theme) {
69
+ var _animationItemStyle = function animationItemStyle(item, theme) {
70
70
  if (typeof item === 'string') {
71
71
  return animationObjectStyle({
72
72
  type: item
@@ -74,7 +74,7 @@ var animationItemStyle = function animationItemStyle(item, theme) {
74
74
  }
75
75
  if (Array.isArray(item)) {
76
76
  return item.reduce(function (style, a, index) {
77
- return css(["", "", " ", ""], style, index > 0 ? ',' : '', animationItemStyle(a, theme));
77
+ return css(["", "", " ", ""], style, index > 0 ? ',' : '', _animationItemStyle(a, theme));
78
78
  }, '');
79
79
  }
80
80
  if (typeof item === 'object') {
@@ -114,7 +114,7 @@ var animationInitialStyle = function animationInitialStyle(item) {
114
114
  return '';
115
115
  };
116
116
  var animationStyle = css(["", ";"], function (props) {
117
- return css(["", " animation:", ";"], animationInitialStyle(props.animation), animationItemStyle(props.animation, props.theme));
117
+ return css(["", " animation:", ";"], animationInitialStyle(props.animation), _animationItemStyle(props.animation, props.theme));
118
118
  });
119
119
  var interactiveStyle = css(["cursor:pointer;&:hover{", " ", "}"], function (props) {
120
120
  var _props$kindProp;
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["active", "align", "aria-label", "badge", "busy", "color", "children", "disabled", "icon", "focusIndicator", "gap", "fill", "href", "justify", "kind", "label", "messages", "onBlur", "onClick", "onFocus", "onMouseOut", "onMouseOver", "pad", "plain", "primary", "reverse", "secondary", "selected", "size", "success", "tip", "type", "a11yTitle", "as"];
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.indexOf(n) >= 0) 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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { cloneElement, Children, forwardRef, useContext, useMemo, useState, useCallback, useEffect } from 'react';
5
5
  import styled from 'styled-components';
6
6
  import { backgroundAndTextColors, colorIsDark, findButtonParent, useSizedIcon, normalizeBackground, normalizeColor } from '../../utils';