td-stylekit 24.6.1 → 25.0.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 (434) hide show
  1. package/.babelrc.js +8 -23
  2. package/.husky/pre-commit +4 -0
  3. package/CHANGELOG.md +35 -0
  4. package/dist/es/ActionBar/ActionBar.js +42 -18
  5. package/dist/es/ActionBar/components/ActionMenu.js +41 -17
  6. package/dist/es/ActionBar/components/Container.d.ts +4 -126
  7. package/dist/es/ActionBar/components/Container.js +20 -5
  8. package/dist/es/ActionBar/components/IconButton.d.ts +7 -133
  9. package/dist/es/ActionBar/components/IconButton.js +22 -6
  10. package/dist/es/ActionBar/components/Prefix.js +24 -8
  11. package/dist/es/ActionBar/components/index.js +58 -5
  12. package/dist/es/ActionBar/index.js +17 -2
  13. package/dist/es/ActionBar/types.js +5 -0
  14. package/dist/es/Badge/Badge.d.ts +4 -126
  15. package/dist/es/Badge/Badge.js +42 -26
  16. package/dist/es/Badge/constants.js +9 -2
  17. package/dist/es/Badge/index.js +25 -3
  18. package/dist/es/BarChart/BarChart.d.ts +6 -7
  19. package/dist/es/BarChart/BarChart.js +67 -39
  20. package/dist/es/BarChart/index.js +17 -2
  21. package/dist/es/Box/Box.d.ts +4 -126
  22. package/dist/es/Box/Box.js +37 -12
  23. package/dist/es/Box/index.js +17 -2
  24. package/dist/es/Button/Button.js +130 -79
  25. package/dist/es/Button/elements.d.ts +4 -126
  26. package/dist/es/Button/elements.js +17 -3
  27. package/dist/es/Button/index.js +35 -3
  28. package/dist/es/Canvas/Canvas.js +31 -12
  29. package/dist/es/Canvas/elements.d.ts +55 -2537
  30. package/dist/es/Canvas/elements.js +84 -33
  31. package/dist/es/Canvas/index.js +17 -2
  32. package/dist/es/Card/Card.d.ts +4 -126
  33. package/dist/es/Card/Card.js +20 -7
  34. package/dist/es/Card/index.js +17 -2
  35. package/dist/es/ChartPrimitives/ChartLegend.d.ts +22 -635
  36. package/dist/es/ChartPrimitives/ChartLegend.js +62 -25
  37. package/dist/es/ChartPrimitives/Container.d.ts +4 -126
  38. package/dist/es/ChartPrimitives/Container.js +17 -5
  39. package/dist/es/ChartPrimitives/Defs.js +73 -41
  40. package/dist/es/ChartPrimitives/Noop.js +8 -1
  41. package/dist/es/ChartPrimitives/Tooltip.d.ts +2 -3
  42. package/dist/es/ChartPrimitives/Tooltip.js +96 -32
  43. package/dist/es/ChartPrimitives/index.d.ts +6 -126
  44. package/dist/es/ChartPrimitives/index.js +67 -14
  45. package/dist/es/ChartPrimitives/utils.d.ts +26 -277
  46. package/dist/es/ChartPrimitives/utils.js +112 -69
  47. package/dist/es/Checkbox/Checkbox.js +104 -48
  48. package/dist/es/Checkbox/index.js +17 -2
  49. package/dist/es/CheckboxField/CheckboxField.js +57 -26
  50. package/dist/es/CheckboxField/index.js +17 -2
  51. package/dist/es/CollapsibleToggle/CollapsibleToggle.js +53 -28
  52. package/dist/es/CollapsibleToggle/constants.js +8 -1
  53. package/dist/es/CollapsibleToggle/index.js +17 -2
  54. package/dist/es/Column/Column.js +30 -10
  55. package/dist/es/Column/index.js +17 -2
  56. package/dist/es/ComparisonChart/ComparisonChart.d.ts +41 -1
  57. package/dist/es/ComparisonChart/ComparisonChart.js +74 -44
  58. package/dist/es/ComparisonChart/constants.js +9 -2
  59. package/dist/es/ComparisonChart/index.js +17 -2
  60. package/dist/es/ComponentGroup/ComponentGroup.js +28 -7
  61. package/dist/es/ComponentGroup/index.js +17 -2
  62. package/dist/es/DataGrid/DataGrid.js +127 -67
  63. package/dist/es/DataGrid/components/BasicColumn.js +43 -21
  64. package/dist/es/DataGrid/components/CategoryFilter.js +42 -16
  65. package/dist/es/DataGrid/components/CollapsibleCell.d.ts +5 -128
  66. package/dist/es/DataGrid/components/CollapsibleCell.js +81 -33
  67. package/dist/es/DataGrid/components/ColumnHeader.js +73 -39
  68. package/dist/es/DataGrid/components/ColumnHeaderActions.js +71 -37
  69. package/dist/es/DataGrid/components/FocusableRow.js +53 -20
  70. package/dist/es/DataGrid/components/InputCell.js +63 -31
  71. package/dist/es/DataGrid/components/ScrollableTable.d.ts +7 -7
  72. package/dist/es/DataGrid/components/ScrollableTable.js +95 -56
  73. package/dist/es/DataGrid/components/index.js +73 -9
  74. package/dist/es/DataGrid/constants.js +15 -4
  75. package/dist/es/DataGrid/elements.d.ts +352 -2543
  76. package/dist/es/DataGrid/elements.js +214 -92
  77. package/dist/es/DataGrid/index.js +17 -2
  78. package/dist/es/DataGrid/renderers.js +138 -96
  79. package/dist/es/DataGrid/sampleData.js +24 -9
  80. package/dist/es/DataGrid/utils.js +43 -24
  81. package/dist/es/DateControl/DateControl.js +113 -60
  82. package/dist/es/DateControl/elements.d.ts +180 -887
  83. package/dist/es/DateControl/elements.js +58 -22
  84. package/dist/es/DateControl/index.js +17 -2
  85. package/dist/es/DateField/DateField.js +105 -53
  86. package/dist/es/DateField/elements.d.ts +9 -251
  87. package/dist/es/DateField/elements.js +34 -12
  88. package/dist/es/DateField/index.js +17 -2
  89. package/dist/es/DatePicker/DatePicker.js +97 -56
  90. package/dist/es/DatePicker/index.js +28 -4
  91. package/dist/es/DatePicker/utils.js +47 -19
  92. package/dist/es/DetailPanel/DetailPanel.js +31 -17
  93. package/dist/es/DetailPanel/elements.d.ts +20 -505
  94. package/dist/es/DetailPanel/elements.js +92 -50
  95. package/dist/es/DetailPanel/index.js +17 -2
  96. package/dist/es/DistributionChart/DistributionChart.js +36 -14
  97. package/dist/es/DistributionChart/index.js +21 -3
  98. package/dist/es/DistributionChart/utils.js +10 -2
  99. package/dist/es/Drawer/Drawer.js +37 -17
  100. package/dist/es/Drawer/elements.d.ts +30 -1015
  101. package/dist/es/Drawer/elements.js +120 -67
  102. package/dist/es/Drawer/index.js +17 -2
  103. package/dist/es/DropdownButton/DropdownButton.d.ts +1 -125
  104. package/dist/es/DropdownButton/DropdownButton.js +90 -44
  105. package/dist/es/DropdownButton/DropdownButtonElements.d.ts +22 -776
  106. package/dist/es/DropdownButton/DropdownButtonElements.js +129 -59
  107. package/dist/es/DropdownButton/DropdownButtonUtils.js +19 -4
  108. package/dist/es/DropdownButton/index.js +17 -2
  109. package/dist/es/FileInput/FileInput.js +66 -26
  110. package/dist/es/FileInput/index.js +17 -2
  111. package/dist/es/FormControl/FormControl.d.ts +4 -17
  112. package/dist/es/FormControl/FormControl.js +105 -63
  113. package/dist/es/FormControl/components/CheckboxGroup.js +43 -17
  114. package/dist/es/FormControl/components/RadioGroup.js +31 -16
  115. package/dist/es/FormControl/components/Textarea.js +24 -7
  116. package/dist/es/FormControl/components/index.js +31 -4
  117. package/dist/es/FormControl/elements.d.ts +57 -1770
  118. package/dist/es/FormControl/elements.js +107 -46
  119. package/dist/es/FormControl/index.js +17 -2
  120. package/dist/es/FormField/FormField.d.ts +1 -11
  121. package/dist/es/FormField/FormField.js +112 -67
  122. package/dist/es/FormField/elements.d.ts +13 -377
  123. package/dist/es/FormField/elements.js +54 -20
  124. package/dist/es/FormField/index.js +31 -3
  125. package/dist/es/FormField/utils.js +29 -5
  126. package/dist/es/FormFieldAddon/FormFieldAddon.js +65 -28
  127. package/dist/es/FormFieldAddon/FormFieldAddonElements.d.ts +15 -1266
  128. package/dist/es/FormFieldAddon/FormFieldAddonElements.js +47 -16
  129. package/dist/es/FormFieldAddon/index.js +17 -2
  130. package/dist/es/FormLabel/FormLabel.js +18 -5
  131. package/dist/es/FormLabel/elements.d.ts +5 -127
  132. package/dist/es/FormLabel/elements.js +19 -4
  133. package/dist/es/FormLabel/index.js +17 -2
  134. package/dist/es/FormModal/FormModal.js +47 -22
  135. package/dist/es/FormModal/index.js +17 -2
  136. package/dist/es/Grid/Grid.d.ts +4 -126
  137. package/dist/es/Grid/Grid.js +17 -4
  138. package/dist/es/Grid/GridItem.d.ts +4 -126
  139. package/dist/es/Grid/GridItem.js +17 -5
  140. package/dist/es/Grid/index.js +25 -4
  141. package/dist/es/GrowthRateChart/GrowthRateChart.d.ts +2 -2
  142. package/dist/es/GrowthRateChart/GrowthRateChart.js +40 -18
  143. package/dist/es/GrowthRateChart/index.js +17 -2
  144. package/dist/es/Heading/Heading.js +37 -11
  145. package/dist/es/Heading/index.js +17 -2
  146. package/dist/es/Highlighter/Highlighter.js +25 -11
  147. package/dist/es/Highlighter/index.js +17 -2
  148. package/dist/es/Histogram/Data.js +9 -2
  149. package/dist/es/Histogram/Histogram.js +85 -46
  150. package/dist/es/Histogram/index.js +17 -2
  151. package/dist/es/Icon/Icon.js +68 -30
  152. package/dist/es/Icon/index.js +33 -2
  153. package/dist/es/Icon/staticTypes.d.ts +2 -0
  154. package/dist/es/Icon/staticTypes.js +5 -0
  155. package/dist/es/Icon/types.js +4 -0
  156. package/dist/es/IconBar/IconBar.d.ts +33 -1272
  157. package/dist/es/IconBar/IconBar.js +74 -45
  158. package/dist/es/IconBar/IconItem.d.ts +16 -507
  159. package/dist/es/IconBar/IconItem.js +64 -31
  160. package/dist/es/IconBar/LogoItem.js +27 -14
  161. package/dist/es/IconBar/index.js +17 -2
  162. package/dist/es/IconBar/variants.js +24 -7
  163. package/dist/es/InfiniteList/InfiniteList.js +65 -24
  164. package/dist/es/InfiniteList/index.js +17 -2
  165. package/dist/es/Input/Input.d.ts +15 -391
  166. package/dist/es/Input/Input.js +139 -72
  167. package/dist/es/Input/index.js +17 -2
  168. package/dist/es/LeftTruncatedText/LeftTruncatedText.js +43 -22
  169. package/dist/es/LeftTruncatedText/index.js +17 -2
  170. package/dist/es/Link/Link.d.ts +8 -126
  171. package/dist/es/Link/Link.js +31 -7
  172. package/dist/es/Link/index.js +17 -2
  173. package/dist/es/Loader/Loader.js +21 -7
  174. package/dist/es/Loader/LoaderDiamond.js +96 -73
  175. package/dist/es/Loader/LoaderDots.js +41 -21
  176. package/dist/es/Loader/index.js +17 -2
  177. package/dist/es/Logo/Logo.d.ts +9 -2
  178. package/dist/es/Logo/Logo.js +79 -248
  179. package/dist/es/Logo/LogoDark.d.ts +11 -0
  180. package/dist/es/Logo/LogoDark.js +126 -0
  181. package/dist/es/Logo/LogoLight.d.ts +11 -0
  182. package/dist/es/Logo/LogoLight.js +123 -0
  183. package/dist/es/Logo/LogoV4.d.ts +11 -0
  184. package/dist/es/Logo/LogoV4.js +168 -0
  185. package/dist/es/Logo/index.js +17 -2
  186. package/dist/es/Menu/Menu.js +104 -74
  187. package/dist/es/Menu/MenuElements.d.ts +1 -126
  188. package/dist/es/Menu/MenuElements.js +87 -32
  189. package/dist/es/Menu/index.js +17 -2
  190. package/dist/es/MiddleTruncatedText/MiddleTruncatedText.js +34 -25
  191. package/dist/es/MiddleTruncatedText/index.js +17 -2
  192. package/dist/es/Modal/Modal.d.ts +9 -254
  193. package/dist/es/Modal/Modal.js +78 -35
  194. package/dist/es/Modal/components/Body.js +27 -8
  195. package/dist/es/Modal/components/Footer.d.ts +3 -125
  196. package/dist/es/Modal/components/Footer.js +34 -16
  197. package/dist/es/Modal/components/FooterConfirmation.js +30 -10
  198. package/dist/es/Modal/components/Header.js +37 -19
  199. package/dist/es/Modal/components/MenuBody.d.ts +16 -638
  200. package/dist/es/Modal/components/MenuBody.js +146 -75
  201. package/dist/es/Modal/components/ModalMessage.d.ts +37 -1026
  202. package/dist/es/Modal/components/ModalMessage.js +125 -45
  203. package/dist/es/Modal/components/ModalOverlay.js +26 -11
  204. package/dist/es/Modal/components/elements.d.ts +50 -1765
  205. package/dist/es/Modal/components/elements.js +142 -60
  206. package/dist/es/Modal/components/index.js +79 -9
  207. package/dist/es/Modal/constants.js +17 -5
  208. package/dist/es/Modal/context.js +12 -3
  209. package/dist/es/Modal/index.js +13 -2
  210. package/dist/es/MultiSelect/MultiSelect.d.ts +5 -2
  211. package/dist/es/MultiSelect/MultiSelect.js +86 -38
  212. package/dist/es/MultiSelect/elements.d.ts +25 -1762
  213. package/dist/es/MultiSelect/elements.js +136 -58
  214. package/dist/es/MultiSelect/index.js +35 -3
  215. package/dist/es/NavigationBar/LogoItem.js +21 -10
  216. package/dist/es/NavigationBar/NavigationBar.d.ts +16 -379
  217. package/dist/es/NavigationBar/NavigationBar.js +49 -24
  218. package/dist/es/NavigationBar/NavigationItem.d.ts +8 -254
  219. package/dist/es/NavigationBar/NavigationItem.js +81 -32
  220. package/dist/es/NavigationBar/index.js +17 -2
  221. package/dist/es/NavigationPopover/NavigationPopover.d.ts +16 -632
  222. package/dist/es/NavigationPopover/NavigationPopover.js +50 -28
  223. package/dist/es/NavigationPopover/index.js +17 -2
  224. package/dist/es/Overlay/Overlay.js +30 -13
  225. package/dist/es/Overlay/OverlayBody.d.ts +8 -382
  226. package/dist/es/Overlay/OverlayBody.js +28 -9
  227. package/dist/es/Overlay/OverlayHeader.d.ts +37 -508
  228. package/dist/es/Overlay/OverlayHeader.js +94 -52
  229. package/dist/es/Overlay/index.js +33 -4
  230. package/dist/es/Paragraph/Paragraph.d.ts +4 -126
  231. package/dist/es/Paragraph/Paragraph.js +22 -8
  232. package/dist/es/Paragraph/index.js +17 -2
  233. package/dist/es/PieChart/PieChart.js +77 -43
  234. package/dist/es/PieChart/index.js +15 -2
  235. package/dist/es/Popover/Popover.d.ts +9 -252
  236. package/dist/es/Popover/Popover.js +57 -22
  237. package/dist/es/Popover/index.js +17 -2
  238. package/dist/es/PositiveNegativeBarChart/PositiveNegativeBarChart.js +65 -41
  239. package/dist/es/PositiveNegativeBarChart/index.js +23 -3
  240. package/dist/es/PositiveNegativeBarChart/utils.js +10 -2
  241. package/dist/es/Radio/Radio.js +85 -40
  242. package/dist/es/Radio/index.js +17 -2
  243. package/dist/es/RatioPieChart/RatioPieChart.js +20 -6
  244. package/dist/es/RatioPieChart/index.js +15 -2
  245. package/dist/es/RightTruncatedText/RightTruncatedText.js +30 -12
  246. package/dist/es/RightTruncatedText/index.js +17 -2
  247. package/dist/es/Row/Row.js +23 -8
  248. package/dist/es/Row/index.js +17 -2
  249. package/dist/es/SecondaryNavigation/SecondaryNavigation.js +48 -22
  250. package/dist/es/SecondaryNavigation/elements/Item.d.ts +4 -126
  251. package/dist/es/SecondaryNavigation/elements/Item.js +17 -5
  252. package/dist/es/SecondaryNavigation/elements/Section.js +53 -22
  253. package/dist/es/SecondaryNavigation/elements/Title.d.ts +4 -126
  254. package/dist/es/SecondaryNavigation/elements/Title.js +17 -5
  255. package/dist/es/SecondaryNavigation/elements/Wrapper.d.ts +5 -127
  256. package/dist/es/SecondaryNavigation/elements/Wrapper.js +17 -5
  257. package/dist/es/SecondaryNavigation/index.d.ts +9 -251
  258. package/dist/es/SecondaryNavigation/index.js +24 -10
  259. package/dist/es/Section/Section.js +67 -27
  260. package/dist/es/Section/elements.d.ts +193 -1046
  261. package/dist/es/Section/elements.js +73 -30
  262. package/dist/es/Section/index.js +17 -2
  263. package/dist/es/Select/Select.d.ts +1 -1
  264. package/dist/es/Select/Select.js +110 -57
  265. package/dist/es/Select/components/CreatableSelect.js +41 -11
  266. package/dist/es/Select/components/MenuList.js +65 -26
  267. package/dist/es/Select/components/MenuPortal.js +27 -18
  268. package/dist/es/Select/components/Option.d.ts +2 -2
  269. package/dist/es/Select/components/Option.js +59 -18
  270. package/dist/es/Select/components/OptionTypes.js +5 -0
  271. package/dist/es/Select/components/index.js +41 -5
  272. package/dist/es/Select/elements.d.ts +10 -503
  273. package/dist/es/Select/elements.js +45 -16
  274. package/dist/es/Select/index.d.ts +1 -0
  275. package/dist/es/Select/index.js +42 -3
  276. package/dist/es/Select/types.js +5 -0
  277. package/dist/es/Select/utils.js +82 -52
  278. package/dist/es/Select/variantProps.js +78 -37
  279. package/dist/es/Shuttle/Shuttle.js +70 -33
  280. package/dist/es/Shuttle/elements.d.ts +21 -751
  281. package/dist/es/Shuttle/elements.js +78 -36
  282. package/dist/es/Shuttle/index.js +17 -2
  283. package/dist/es/SimpleModal/SimpleModal.js +30 -11
  284. package/dist/es/SimpleModal/index.js +17 -2
  285. package/dist/es/Slider/Slider.js +60 -29
  286. package/dist/es/Slider/elements.d.ts +39 -388
  287. package/dist/es/Slider/elements.js +34 -10
  288. package/dist/es/Slider/index.js +17 -2
  289. package/dist/es/StatCard/StatCard.js +46 -26
  290. package/dist/es/StatCard/elements.d.ts +47 -1513
  291. package/dist/es/StatCard/elements.js +74 -24
  292. package/dist/es/StatCard/index.js +17 -2
  293. package/dist/es/Tabs/Tabs.js +36 -15
  294. package/dist/es/Tabs/elements.d.ts +34 -508
  295. package/dist/es/Tabs/elements.js +52 -17
  296. package/dist/es/Tabs/index.js +17 -2
  297. package/dist/es/Tagger/Tagger.d.ts +10 -127
  298. package/dist/es/Tagger/Tagger.js +77 -34
  299. package/dist/es/Tagger/TaggerElements.d.ts +22 -757
  300. package/dist/es/Tagger/TaggerElements.js +74 -33
  301. package/dist/es/Tagger/components/PopupSelector.js +124 -75
  302. package/dist/es/Tagger/components/PopupSelectorElements.d.ts +66 -2081
  303. package/dist/es/Tagger/components/PopupSelectorElements.js +108 -45
  304. package/dist/es/Tagger/components/constants.js +10 -2
  305. package/dist/es/Tagger/index.d.ts +1 -0
  306. package/dist/es/Tagger/index.js +17 -2
  307. package/dist/es/Tagger/variantProps.d.ts +2 -1
  308. package/dist/es/Tagger/variantProps.js +124 -84
  309. package/dist/es/Text/Text.d.ts +4 -126
  310. package/dist/es/Text/Text.js +38 -10
  311. package/dist/es/Text/index.js +17 -2
  312. package/dist/es/ThemeProvider/ThemeProvider.d.ts +3403 -220
  313. package/dist/es/ThemeProvider/ThemeProvider.js +47 -24
  314. package/dist/es/ThemeProvider/accessibility.js +21 -11
  315. package/dist/es/ThemeProvider/icons.js +13 -4
  316. package/dist/es/ThemeProvider/index.js +80 -7
  317. package/dist/es/ThemeProvider/overridable.js +8 -1
  318. package/dist/es/ThemeProvider/theme.js +18 -6
  319. package/dist/es/ThemeProvider/types.d.ts +8 -29
  320. package/dist/es/ThemeProvider/types.js +5 -0
  321. package/dist/es/ThemeProvider/utils/themeUtils.js +8 -1
  322. package/dist/es/ThemeProvider/v4/Badge.js +18 -5
  323. package/dist/es/ThemeProvider/v4/Button.js +24 -9
  324. package/dist/es/ThemeProvider/v4/Card.js +19 -5
  325. package/dist/es/ThemeProvider/v4/Checkbox.js +18 -5
  326. package/dist/es/ThemeProvider/v4/CollapsibleToggle.js +18 -5
  327. package/dist/es/ThemeProvider/v4/Color.d.ts +1 -1
  328. package/dist/es/ThemeProvider/v4/Color.js +16 -4
  329. package/dist/es/ThemeProvider/v4/DataGrid.d.ts +2 -8
  330. package/dist/es/ThemeProvider/v4/DataGrid.js +18 -5
  331. package/dist/es/ThemeProvider/v4/DatePicker.js +29 -16
  332. package/dist/es/ThemeProvider/v4/DropdownButton.js +21 -7
  333. package/dist/es/ThemeProvider/v4/FormFieldAddon.js +18 -5
  334. package/dist/es/ThemeProvider/v4/FormLabel.d.ts +1 -5
  335. package/dist/es/ThemeProvider/v4/FormLabel.js +19 -5
  336. package/dist/es/ThemeProvider/v4/Icon.js +19 -5
  337. package/dist/es/ThemeProvider/v4/Input.d.ts +1 -1
  338. package/dist/es/ThemeProvider/v4/Input.js +17 -6
  339. package/dist/es/ThemeProvider/v4/Link.js +19 -5
  340. package/dist/es/ThemeProvider/v4/Menu.d.ts +1 -5
  341. package/dist/es/ThemeProvider/v4/Menu.js +21 -7
  342. package/dist/es/ThemeProvider/v4/Modal.d.ts +14 -42
  343. package/dist/es/ThemeProvider/v4/Modal.js +21 -7
  344. package/dist/es/ThemeProvider/v4/MultiSelect.d.ts +2 -24
  345. package/dist/es/ThemeProvider/v4/MultiSelect.js +18 -5
  346. package/dist/es/ThemeProvider/v4/Popover.js +15 -4
  347. package/dist/es/ThemeProvider/v4/Radio.d.ts +2 -30
  348. package/dist/es/ThemeProvider/v4/Radio.js +18 -5
  349. package/dist/es/ThemeProvider/v4/Section.d.ts +3 -39
  350. package/dist/es/ThemeProvider/v4/Section.js +18 -5
  351. package/dist/es/ThemeProvider/v4/Select.d.ts +1 -4
  352. package/dist/es/ThemeProvider/v4/Select.js +18 -5
  353. package/dist/es/ThemeProvider/v4/Shuttle.js +18 -5
  354. package/dist/es/ThemeProvider/v4/Tagger.d.ts +1 -12
  355. package/dist/es/ThemeProvider/v4/Tagger.js +18 -5
  356. package/dist/es/ThemeProvider/v4/Toast.js +18 -5
  357. package/dist/es/ThemeProvider/v4/Toggle.d.ts +4 -38
  358. package/dist/es/ThemeProvider/v4/Toggle.js +18 -5
  359. package/dist/es/ThemeProvider/v4/UserAvatar.js +18 -5
  360. package/dist/es/ThemeProvider/v4/View.js +19 -5
  361. package/dist/es/ThemeProvider/v4/index.d.ts +3403 -220
  362. package/dist/es/ThemeProvider/v4/index.js +69 -33
  363. package/dist/es/TimeControl/TimeControl.js +63 -26
  364. package/dist/es/TimeControl/elements.d.ts +186 -378
  365. package/dist/es/TimeControl/elements.js +41 -14
  366. package/dist/es/TimeControl/index.js +17 -2
  367. package/dist/es/TimeControl/utils.js +41 -18
  368. package/dist/es/TimeField/TimeField.d.ts +5 -1
  369. package/dist/es/TimeField/TimeField.js +40 -14
  370. package/dist/es/TimeField/index.js +17 -2
  371. package/dist/es/TimePicker/TimePicker.js +60 -30
  372. package/dist/es/TimePicker/components/Container.d.ts +5 -127
  373. package/dist/es/TimePicker/components/Container.js +20 -5
  374. package/dist/es/TimePicker/components/PeriodSelector.js +68 -38
  375. package/dist/es/TimePicker/components/Separator.d.ts +4 -126
  376. package/dist/es/TimePicker/components/Separator.js +17 -3
  377. package/dist/es/TimePicker/components/Spinner.d.ts +4 -126
  378. package/dist/es/TimePicker/components/Spinner.js +60 -26
  379. package/dist/es/TimePicker/components/index.js +58 -5
  380. package/dist/es/TimePicker/index.js +17 -2
  381. package/dist/es/TimePicker/utils.js +38 -14
  382. package/dist/es/Toast/Toast.js +71 -36
  383. package/dist/es/Toast/constants.js +9 -2
  384. package/dist/es/Toast/elements.d.ts +39 -1512
  385. package/dist/es/Toast/elements.js +118 -53
  386. package/dist/es/Toast/index.js +21 -3
  387. package/dist/es/Toggle/Toggle.d.ts +10 -252
  388. package/dist/es/Toggle/Toggle.js +87 -32
  389. package/dist/es/Toggle/index.js +17 -2
  390. package/dist/es/TooltipPopover/TooltipPopover.js +59 -22
  391. package/dist/es/TooltipPopover/index.js +17 -2
  392. package/dist/es/TooltipPopover/useWaitForDOMRef.js +25 -9
  393. package/dist/es/Tree/NodeContent.js +43 -23
  394. package/dist/es/Tree/NodeContextMenu.js +29 -11
  395. package/dist/es/Tree/Tree.js +66 -26
  396. package/dist/es/Tree/TreeNode.js +40 -16
  397. package/dist/es/Tree/elements.d.ts +40 -1268
  398. package/dist/es/Tree/elements.js +80 -31
  399. package/dist/es/Tree/index.js +38 -20
  400. package/dist/es/Tree/mockData.js +9 -2
  401. package/dist/es/UserAvatar/UserAvatar.d.ts +8 -254
  402. package/dist/es/UserAvatar/UserAvatar.js +62 -30
  403. package/dist/es/UserAvatar/index.js +17 -2
  404. package/dist/es/View/View.d.ts +4 -126
  405. package/dist/es/View/View.js +38 -10
  406. package/dist/es/View/index.js +17 -2
  407. package/dist/es/VisuallyHidden/VisuallyHidden.js +60 -19
  408. package/dist/es/VisuallyHidden/index.js +17 -2
  409. package/dist/es/VolumeChart/VolumeChart.d.ts +7 -6
  410. package/dist/es/VolumeChart/VolumeChart.js +55 -34
  411. package/dist/es/VolumeChart/index.js +17 -2
  412. package/dist/es/index.d.ts +3 -1
  413. package/dist/es/index.js +729 -85
  414. package/dist/es/mixins/border.js +15 -5
  415. package/dist/es/mixins/color.js +8 -1
  416. package/dist/es/mixins/index.js +33 -4
  417. package/dist/es/mixins/spacing.js +8 -1
  418. package/dist/es/utils/CloseWrapper.js +21 -7
  419. package/dist/es/utils/cloneElementWithCss.js +14 -6
  420. package/dist/es/utils/comparison.js +8 -1
  421. package/dist/es/utils/createChainedFunction.js +7 -1
  422. package/dist/es/utils/css.d.ts +2 -2
  423. package/dist/es/utils/css.js +33 -8
  424. package/dist/es/utils/enzyme.d.ts +0 -1
  425. package/dist/es/utils/enzyme.js +54 -31
  426. package/dist/es/utils/form.js +21 -2
  427. package/dist/es/utils/globalcss.d.ts +1 -1
  428. package/dist/es/utils/globalcss.js +12 -3
  429. package/dist/es/utils/hooks.js +33 -11
  430. package/dist/es/utils/isPropValid.js +14 -4
  431. package/dist/es/utils/resetcss.d.ts +1 -1
  432. package/dist/es/utils/resetcss.js +18 -7
  433. package/package.json +20 -20
  434. package/types/@emotion/styled.d.ts +0 -8
@@ -1,41 +1,78 @@
1
- import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
- import _createClass from "@babel/runtime/helpers/esm/createClass";
3
- import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
4
- import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
5
- import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
6
- import _inherits from "@babel/runtime/helpers/esm/inherits";
7
- import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
8
- import _styled from "@emotion/styled-base";
9
- import { jsx as ___EmotionJSX } from "@emotion/core";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.MenuList = void 0;
7
+
8
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _reactVirtualized = require("react-virtualized");
13
+
14
+ var _elements = require("../elements");
15
+
16
+ var _ThemeProvider = require("../../ThemeProvider");
17
+
18
+ var _react2 = require("@emotion/react");
19
+
20
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
21
+
22
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
+
24
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
+
26
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
27
+
28
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
29
+
30
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
31
+
32
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
33
+
34
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
35
+
36
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
+
38
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
39
+
40
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
41
+
42
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
43
+
44
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
45
+
46
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
10
47
 
11
48
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
12
49
 
13
50
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
14
51
 
52
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
53
+
15
54
  if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
16
55
  if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
17
- import React, { Component } from 'react';
18
- import { AutoSizer, List } from 'react-virtualized';
19
- import { NoResultsMessage } from '../elements';
20
- import { getOverrides, Overridable } from '../../ThemeProvider';
21
-
22
- var StyledRow = /*#__PURE__*/_styled('div', {
56
+ var StyledRow = ( /*#__PURE__*/0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
23
57
  target: "e14p84dn0"
58
+ } : {
59
+ target: "e14p84dn0",
60
+ label: "StyledRow"
24
61
  })(function (_ref) {
25
62
  var theme = _ref.theme;
26
63
  return _objectSpread({
27
64
  borderBottom: 'none'
28
- }, getOverrides(Overridable.Select.StyledRow)({
65
+ }, (0, _ThemeProvider.getOverrides)(_ThemeProvider.Overridable.Select.StyledRow)({
29
66
  theme: theme
30
67
  }));
31
68
  }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9TZWxlY3QvY29tcG9uZW50cy9NZW51TGlzdC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0JrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvU2VsZWN0L2NvbXBvbmVudHMvTWVudUxpc3QudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IENvbXBvbmVudCB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBBdXRvU2l6ZXIsIExpc3QgfSBmcm9tICdyZWFjdC12aXJ0dWFsaXplZCdcbmltcG9ydCB0eXBlIHsgTGlzdFJvd1Byb3BzIH0gZnJvbSAncmVhY3QtdmlydHVhbGl6ZWQnXG5pbXBvcnQgeyBOb1Jlc3VsdHNNZXNzYWdlIH0gZnJvbSAnLi4vZWxlbWVudHMnXG5pbXBvcnQgeyBnZXRPdmVycmlkZXMsIE92ZXJyaWRhYmxlIH0gZnJvbSAnLi4vLi4vVGhlbWVQcm92aWRlcidcbmltcG9ydCB0eXBlIHsgVGhlbWUgfSBmcm9tICcuLi8uL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c2FibGVIZWlnaHQ+XG4gICAgICAgIHsoeyB3aWR0aCB9KSA9PiAoXG4gICAgICAgICAgPExpc3RcbiAgICAgICAgICAgIHdpZHRoPXt3aWR0aH1cbiAgICAgICAgICAgIGhlaWdodD17ZnVsbExpc3RIZWlnaHQgPCBtYXhIZWlnaHQgPyBmdWxsTGlzdEhlaWdodCA6IG1heEhlaWdodH1cbiAgICAgICAgICAgIHJvd0NvdW50PXtyb3dDb3VudH1cbiAgICAgICAgICAgIHJvd0hlaWdodD17KHsgaW5kZXggfSkgPT5cbiAgICAgICAgICAgICAgaW5kZXggPT09IHJvd0NvdW50IC0gMSA/IHJvd0hlaWdodCAtIDEgOiByb3dIZWlnaHRcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJvd1JlbmRlcmVyPXt0aGlzLnJvd1JlbmRlcmVyfVxuICAgICAgICAgICAgc2Nyb2xsVG9JbmRleD17Zm9jdXNlZE9wdGlvbkluZGV4fVxuICAgICAgICAgIC8+XG4gICAgICAgICl9XG4gICAgICA8L0F1dG9TaXplcj5cbiAgICApXG4gIH1cbn1cbiJdfQ== */");
32
69
 
33
- export var MenuList = /*#__PURE__*/function (_Component) {
70
+ var MenuList = /*#__PURE__*/function (_Component) {
34
71
  _inherits(MenuList, _Component);
35
72
 
36
- function MenuList() {
37
- var _getPrototypeOf2;
73
+ var _super = _createSuper(MenuList);
38
74
 
75
+ function MenuList() {
39
76
  var _this;
40
77
 
41
78
  _classCallCheck(this, MenuList);
@@ -44,14 +81,14 @@ export var MenuList = /*#__PURE__*/function (_Component) {
44
81
  args[_key] = arguments[_key];
45
82
  }
46
83
 
47
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(MenuList)).call.apply(_getPrototypeOf2, [this].concat(args)));
84
+ _this = _super.call.apply(_super, [this].concat(args));
48
85
 
49
86
  _defineProperty(_assertThisInitialized(_this), "rowRenderer", function (_ref2) {
50
87
  var key = _ref2.key,
51
88
  index = _ref2.index,
52
89
  style = _ref2.style;
53
90
  var rows = Array.isArray(_this.props.children) ? _this.props.children : [];
54
- return ___EmotionJSX(StyledRow, {
91
+ return (0, _react2.jsx)(StyledRow, {
55
92
  "data-gs-c": gsC(rows[index]),
56
93
  "data-gs": gs("src", "select", "components", "menu-list", "styled-row"),
57
94
  key: key,
@@ -71,7 +108,7 @@ export var MenuList = /*#__PURE__*/function (_Component) {
71
108
  var rowCount = rows.length;
72
109
 
73
110
  if (!rowCount) {
74
- return ___EmotionJSX(NoResultsMessage, {
111
+ return (0, _react2.jsx)(_elements.NoResultsMessage, {
75
112
  "data-gs-c": gsC(this.props.selectProps.noResultsMessage || 'No results found'),
76
113
  "data-gs": gs("src", "select", "components", "no-results-message")
77
114
  }, this.props.selectProps.noResultsMessage || 'No results found');
@@ -86,10 +123,10 @@ export var MenuList = /*#__PURE__*/function (_Component) {
86
123
  return child && child.props.isFocused;
87
124
  });
88
125
  var focusedOptionIndex = focusedChild ? rows.indexOf(focusedChild) : 0;
89
- return ___EmotionJSX(AutoSizer, {
126
+ return (0, _react2.jsx)(_reactVirtualized.AutoSizer, {
90
127
  "data-gs-c": gsC(function (_ref3) {
91
128
  var width = _ref3.width;
92
- return ___EmotionJSX(List, {
129
+ return (0, _react2.jsx)(_reactVirtualized.List, {
93
130
  "data-gs": gs("src", "select", "components", "auto-sizer", "list"),
94
131
  width: width,
95
132
  height: fullListHeight < maxHeight ? fullListHeight : maxHeight,
@@ -106,7 +143,7 @@ export var MenuList = /*#__PURE__*/function (_Component) {
106
143
  disableHeight: true
107
144
  }, function (_ref3) {
108
145
  var width = _ref3.width;
109
- return ___EmotionJSX(List, {
146
+ return (0, _react2.jsx)(_reactVirtualized.List, {
110
147
  "data-gs": gs("src", "select", "components", "auto-sizer", "list"),
111
148
  width: width,
112
149
  height: fullListHeight < maxHeight ? fullListHeight : maxHeight,
@@ -123,4 +160,6 @@ export var MenuList = /*#__PURE__*/function (_Component) {
123
160
  }]);
124
161
 
125
162
  return MenuList;
126
- }(Component);
163
+ }(_react.Component);
164
+
165
+ exports.MenuList = MenuList;
@@ -1,20 +1,29 @@
1
- import _styled from "@emotion/styled-base";
2
- import { jsx as ___EmotionJSX } from "@emotion/core";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = TetheredMenuPortal;
7
+
8
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _TooltipPopover = _interopRequireDefault(require("../../TooltipPopover"));
13
+
14
+ var _ThemeProvider = require("../../ThemeProvider");
15
+
16
+ var _react2 = require("@emotion/react");
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
3
20
  if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
4
21
  if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
5
- import React from 'react';
6
- import TooltipPopover from '../../TooltipPopover';
7
- import { getOverrides, Overridable } from '../../ThemeProvider';
8
- /**
9
- * See: https://github.com/JedWatson/react-select/issues/810
10
- * This is a fix for the dropdown menu getting cut off by container elements
11
- * and provides the always on top menu, like a native select.
12
- *
13
- * It also gives us a place to add a custom class to the menu container
14
- */
15
-
16
- var ListContainer = /*#__PURE__*/_styled('div', {
22
+ var ListContainer = ( /*#__PURE__*/0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
17
23
  target: "ehp9upq0"
24
+ } : {
25
+ target: "ehp9upq0",
26
+ label: "ListContainer"
18
27
  })(function (_ref) {
19
28
  var theme = _ref.theme,
20
29
  minWidth = _ref.minWidth;
@@ -23,9 +32,9 @@ var ListContainer = /*#__PURE__*/_styled('div', {
23
32
  minWidth: minWidth,
24
33
  position: 'relative'
25
34
  };
26
- }, getOverrides(Overridable.Select.ListContainer), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4u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Agc2hvd1xuICAgICAgdGFyZ2V0PXtjb250cm9sRWxlbWVudH1cbiAgICA+XG4gICAgICA8TGlzdENvbnRhaW5lciBtaW5XaWR0aD17c2VsZWN0V2lkdGh9PntjaGlsZHJlbn08L0xpc3RDb250YWluZXI+XG4gICAgPC9Ub29sdGlwUG9wb3Zlcj5cbiAgKVxufVxuIl19 */");
35
+ }, (0, _ThemeProvider.getOverrides)(_ThemeProvider.Overridable.Select.ListContainer), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9TZWxlY3QvY29tcG9uZW50cy9NZW51UG9ydGFsLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpQnNCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9TZWxlY3QvY29tcG9uZW50cy9NZW51UG9ydGFsLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IFRvb2x0aXBQb3BvdmVyIGZyb20gJy4uLy4uL1Rvb2x0aXBQb3BvdmVyJ1xuaW1wb3J0IHsgZ2V0T3ZlcnJpZGVzLCBPdmVycmlkYWJsZSB9IGZyb20gJy4uLy4uL1RoZW1lUHJvdmlkZXInXG4vKipcbiAqIFNlZTogaHR0cHM6Ly9naXRodWIuY29tL0plZFdhdHNvbi9yZWFjdC1zZWxlY3QvaXNzdWVzLzgxMFxuICogVGhpcyBpcyBhIGZpeCBmb3IgdGhlIGRyb3Bkb3duIG1lbnUgZ2V0dGluZyBjdXQgb2ZmIGJ5IGNvbnRhaW5lciBlbGVtZW50c1xuICogYW5kIHByb3ZpZGVzIHRoZSBhbHdheXMgb24gdG9wIG1lbnUsIGxpa2UgYSBuYXRpdmUgc2VsZWN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B0aW9ucz17e1xuICAgICAgICBtb2RpZmllcnM6IFtcbiAgICAgICAgICB7XG4gICAgICAgICAgICBuYW1lOiAncHJldmVudE92ZXJmbG93JyxcbiAgICAgICAgICAgIG9wdGlvbnM6IHtcbiAgICAgICAgICAgICAgYWx0QXhpczogdHJ1ZSxcbiAgICAgICAgICAgICAgbWFpbkF4aXM6IGZhbHNlXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICBdXG4gICAgICB9fVxuICAgICAgLy8gV2hlbiB0aGlzIGlzIHJlbmRlcmVkLCBpdCBzaG91bGQgYmUgdmlzaWJsZVxuICAgICAgc2hvd1xuICAgICAgdGFyZ2V0PXtjb250cm9sRWxlbWVudH1cbiAgICA+XG4gICAgICA8TGlzdENvbnRhaW5lciBtaW5XaWR0aD17c2VsZWN0V2lkdGh9PntjaGlsZHJlbn08L0xpc3RDb250YWluZXI+XG4gICAgPC9Ub29sdGlwUG9wb3Zlcj5cbiAgKVxufVxuIl19 */");
27
36
 
28
- export default function TetheredMenuPortal(_ref2) {
37
+ function TetheredMenuPortal(_ref2) {
29
38
  var controlElement = _ref2.controlElement,
30
39
  children = _ref2.children,
31
40
  appendTo = _ref2.appendTo;
@@ -35,7 +44,7 @@ export default function TetheredMenuPortal(_ref2) {
35
44
  }
36
45
 
37
46
  var selectWidth = controlElement.offsetWidth;
38
- return ___EmotionJSX(TooltipPopover, {
47
+ return (0, _react2.jsx)(_TooltipPopover["default"], {
39
48
  "data-gs": gs("src", "select", "components", "tethered-menu-portal", "tooltip-popover"),
40
49
  appendTo: appendTo,
41
50
  offset: [0, 0],
@@ -52,7 +61,7 @@ export default function TetheredMenuPortal(_ref2) {
52
61
  ,
53
62
  show: true,
54
63
  target: controlElement
55
- }, ___EmotionJSX(ListContainer, {
64
+ }, (0, _react2.jsx)(ListContainer, {
56
65
  "data-gs-c": gsC(children),
57
66
  "data-gs": gs("src", "select", "components", "tethered-menu-portal", "tooltip-popover", "list-container"),
58
67
  minWidth: selectWidth
@@ -1,6 +1,6 @@
1
- import { Component } from 'react';
1
+ import React, { Component } from 'react';
2
2
  import type { OptionProps } from './OptionTypes';
3
3
  export declare class OptionComponent extends Component<OptionProps> {
4
- render(): {} | null | undefined;
4
+ render(): React.ReactNode;
5
5
  }
6
6
  //# sourceMappingURL=Option.d.ts.map
@@ -1,23 +1,62 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
- import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
- import _createClass from "@babel/runtime/helpers/esm/createClass";
4
- import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
5
- import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
6
- import _inherits from "@babel/runtime/helpers/esm/inherits";
7
- import { jsx as ___EmotionJSX } from "@emotion/core";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.OptionComponent = void 0;
7
+
8
+ var _react = _interopRequireWildcard(require("react"));
9
+
10
+ var _elements = require("../elements");
11
+
12
+ var _RightTruncatedText = _interopRequireDefault(require("../../RightTruncatedText"));
13
+
14
+ var _classnames = _interopRequireDefault(require("classnames"));
15
+
16
+ var _react2 = require("@emotion/react");
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
21
+
22
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
+
24
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
25
+
26
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27
+
28
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
29
+
30
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
31
+
32
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
33
+
34
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
35
+
36
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
+
38
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
39
+
40
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
41
+
42
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
43
+
44
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
45
+
46
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
47
+
8
48
  if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
9
49
  if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
10
- import React, { Component } from 'react';
11
- import { Option, IconWrapper } from '../elements';
12
- import RightTruncatedText from '../../RightTruncatedText';
13
- import cn from 'classnames';
14
- export var OptionComponent = /*#__PURE__*/function (_Component) {
50
+
51
+ var OptionComponent = /*#__PURE__*/function (_Component) {
15
52
  _inherits(OptionComponent, _Component);
16
53
 
54
+ var _super = _createSuper(OptionComponent);
55
+
17
56
  function OptionComponent() {
18
57
  _classCallCheck(this, OptionComponent);
19
58
 
20
- return _possibleConstructorReturn(this, _getPrototypeOf(OptionComponent).apply(this, arguments));
59
+ return _super.apply(this, arguments);
21
60
  }
22
61
 
23
62
  _createClass(OptionComponent, [{
@@ -38,7 +77,7 @@ export var OptionComponent = /*#__PURE__*/function (_Component) {
38
77
  var isDisabled = option.disabled;
39
78
  var isHeader = option.type === 'header';
40
79
  var isGroupedOption = option.type === 'option';
41
- var className = cn({
80
+ var className = (0, _classnames["default"])({
42
81
  // The following are e2e testing hooks
43
82
  'react-select-option': true,
44
83
  'react-select-option--active': isFocused
@@ -83,7 +122,7 @@ export var OptionComponent = /*#__PURE__*/function (_Component) {
83
122
  });
84
123
  }
85
124
 
86
- return ___EmotionJSX(Option, _extends({
125
+ return (0, _react2.jsx)(_elements.Option, _extends({
87
126
  "data-gs-c": gsC(label),
88
127
  "data-gs": gs("src", "select", "components", "option")
89
128
  }, innerProps, {
@@ -96,10 +135,10 @@ export var OptionComponent = /*#__PURE__*/function (_Component) {
96
135
  className: className,
97
136
  option: option,
98
137
  icon: icon
99
- }), icon ? ___EmotionJSX(IconWrapper, {
138
+ }), icon ? (0, _react2.jsx)(_elements.IconWrapper, {
100
139
  "data-gs-c": gsC(icon),
101
140
  "data-gs": gs("src", "select", "components", "option", "icon-wrapper")
102
- }, icon) : null, icon ? ___EmotionJSX(RightTruncatedText, {
141
+ }, icon) : null, icon ? (0, _react2.jsx)(_RightTruncatedText["default"], {
103
142
  "data-gs": gs("src", "select", "components", "option", "right-truncated-text"),
104
143
  text: label
105
144
  }) : label);
@@ -107,4 +146,6 @@ export var OptionComponent = /*#__PURE__*/function (_Component) {
107
146
  }]);
108
147
 
109
148
  return OptionComponent;
110
- }(Component);
149
+ }(_react.Component);
150
+
151
+ exports.OptionComponent = OptionComponent;
@@ -1,2 +1,7 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
1
6
  if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
2
7
  if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
@@ -1,6 +1,42 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "CreatableSelect", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _CreatableSelect["default"];
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "MenuList", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _MenuList.MenuList;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "MenuPortal", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _MenuPortal["default"];
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "Option", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _Option.OptionComponent;
28
+ }
29
+ });
30
+
31
+ var _MenuList = require("./MenuList");
32
+
33
+ var _Option = require("./Option");
34
+
35
+ var _MenuPortal = _interopRequireDefault(require("./MenuPortal"));
36
+
37
+ var _CreatableSelect = _interopRequireDefault(require("./CreatableSelect"));
38
+
39
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
40
+
1
41
  if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
2
- if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
3
- export { MenuList } from './MenuList';
4
- export { OptionComponent as Option } from './Option';
5
- export { default as MenuPortal } from './MenuPortal';
6
- export { default as CreatableSelect } from './CreatableSelect';
42
+ if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};