@lumx/react 3.0.2 → 3.0.3-alpha.1

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 (391) hide show
  1. package/{esm/_internal/_rollupPluginBabelHelpers.js → _internal/ClickAwayProvider.js} +107 -2
  2. package/_internal/ClickAwayProvider.js.map +1 -0
  3. package/_internal/types.d.ts +271 -0
  4. package/index.d.ts +2686 -0
  5. package/index.js +12533 -0
  6. package/index.js.map +1 -0
  7. package/package.json +7 -6
  8. package/src/components/alert-dialog/AlertDialog.tsx +2 -1
  9. package/src/components/autocomplete/Autocomplete.tsx +2 -2
  10. package/src/components/autocomplete/AutocompleteMultiple.tsx +2 -1
  11. package/src/components/avatar/Avatar.tsx +2 -1
  12. package/src/components/badge/Badge.test.tsx +1 -1
  13. package/src/components/badge/Badge.tsx +2 -1
  14. package/src/components/button/Button.test.tsx +1 -1
  15. package/src/components/button/Button.tsx +2 -1
  16. package/src/components/button/ButtonGroup.tsx +2 -1
  17. package/src/components/button/ButtonRoot.test.tsx +1 -1
  18. package/src/components/button/ButtonRoot.tsx +2 -1
  19. package/src/components/button/IconButton.tsx +2 -1
  20. package/src/components/checkbox/Checkbox.test.tsx +1 -1
  21. package/src/components/checkbox/Checkbox.tsx +2 -1
  22. package/src/components/chip/Chip.test.tsx +1 -1
  23. package/src/components/chip/Chip.tsx +3 -1
  24. package/src/components/chip/ChipGroup.tsx +2 -1
  25. package/src/components/comment-block/CommentBlock.tsx +2 -1
  26. package/src/components/date-picker/DatePicker.tsx +1 -1
  27. package/src/components/date-picker/DatePickerControlled.tsx +1 -1
  28. package/src/components/date-picker/DatePickerField.tsx +1 -1
  29. package/src/components/date-picker/constants.ts +1 -1
  30. package/src/components/date-picker/types.ts +1 -1
  31. package/src/components/dialog/Dialog.tsx +4 -8
  32. package/src/components/divider/Divider.test.tsx +1 -1
  33. package/src/components/divider/Divider.tsx +3 -2
  34. package/src/components/drag-handle/DragHandle.tsx +2 -1
  35. package/src/components/dropdown/Dropdown.tsx +2 -1
  36. package/src/components/expansion-panel/ExpansionPanel.test.tsx +1 -1
  37. package/src/components/expansion-panel/ExpansionPanel.tsx +3 -10
  38. package/src/components/flag/Flag.test.tsx +1 -1
  39. package/src/components/flag/Flag.tsx +2 -1
  40. package/src/components/flex-box/FlexBox.stories.tsx +8 -0
  41. package/src/components/flex-box/FlexBox.tsx +7 -3
  42. package/src/components/flex-box/__snapshots__/FlexBox.test.tsx.snap +16 -0
  43. package/src/components/generic-block/GenericBlock.stories.jsx +23 -1
  44. package/src/components/generic-block/GenericBlock.tsx +18 -4
  45. package/src/components/generic-block/constants.ts +9 -0
  46. package/src/components/generic-block/index.ts +1 -0
  47. package/src/components/grid/Grid.tsx +2 -1
  48. package/src/components/grid/GridItem.tsx +2 -1
  49. package/src/components/heading/Heading.tsx +2 -1
  50. package/src/components/heading/HeadingLevelProvider.tsx +1 -1
  51. package/src/components/heading/context.tsx +1 -1
  52. package/src/components/icon/Icon.test.tsx +1 -1
  53. package/src/components/icon/Icon.tsx +2 -1
  54. package/src/components/image-block/ImageBlock.tsx +2 -1
  55. package/src/components/index.ts +1 -1
  56. package/src/components/inline-list/InlineList.stories.tsx +40 -0
  57. package/src/components/inline-list/InlineList.test.tsx +41 -0
  58. package/src/components/inline-list/InlineList.tsx +80 -0
  59. package/src/components/inline-list/index.ts +1 -0
  60. package/src/components/input-helper/InputHelper.tsx +2 -1
  61. package/src/components/input-label/InputLabel.tsx +2 -1
  62. package/src/components/lightbox/Lightbox.tsx +2 -1
  63. package/src/components/link/Link.tsx +2 -1
  64. package/src/components/link-preview/LinkPreview.test.tsx +1 -1
  65. package/src/components/link-preview/LinkPreview.tsx +2 -1
  66. package/src/components/list/List.tsx +2 -1
  67. package/src/components/list/ListDivider.tsx +2 -1
  68. package/src/components/list/ListItem.tsx +3 -8
  69. package/src/components/list/ListSubheader.tsx +2 -1
  70. package/src/components/list/useInteractiveList.tsx +1 -1
  71. package/src/components/message/Message.test.tsx +1 -1
  72. package/src/components/message/Message.tsx +2 -1
  73. package/src/components/mosaic/Mosaic.tsx +2 -1
  74. package/src/components/notification/Notification.tsx +2 -1
  75. package/src/components/popover/Popover.tsx +2 -1
  76. package/src/components/post-block/PostBlock.tsx +2 -1
  77. package/src/components/progress/Progress.tsx +2 -1
  78. package/src/components/progress-tracker/ProgressTracker.tsx +2 -1
  79. package/src/components/progress-tracker/ProgressTrackerStep.test.tsx +1 -1
  80. package/src/components/progress-tracker/ProgressTrackerStep.tsx +2 -1
  81. package/src/components/progress-tracker/ProgressTrackerStepPanel.tsx +2 -1
  82. package/src/components/radio-button/RadioButton.test.tsx +1 -1
  83. package/src/components/radio-button/RadioButton.tsx +2 -1
  84. package/src/components/radio-button/RadioGroup.tsx +2 -1
  85. package/src/components/select/Select.test.tsx +1 -1
  86. package/src/components/select/Select.tsx +2 -1
  87. package/src/components/select/SelectMultiple.test.tsx +1 -1
  88. package/src/components/select/SelectMultiple.tsx +2 -1
  89. package/src/components/select/WithSelectContext.tsx +1 -1
  90. package/src/components/select/constants.ts +1 -1
  91. package/src/components/side-navigation/SideNavigation.tsx +2 -1
  92. package/src/components/side-navigation/SideNavigationItem.test.tsx +1 -1
  93. package/src/components/side-navigation/SideNavigationItem.tsx +3 -9
  94. package/src/components/skeleton/SkeletonCircle.tsx +2 -1
  95. package/src/components/skeleton/SkeletonRectangle.tsx +2 -1
  96. package/src/components/skeleton/SkeletonTypography.tsx +2 -1
  97. package/src/components/slider/Slider.tsx +2 -1
  98. package/src/components/slideshow/Slides.tsx +2 -1
  99. package/src/components/slideshow/Slideshow.tsx +1 -1
  100. package/src/components/slideshow/SlideshowControls.tsx +2 -1
  101. package/src/components/slideshow/SlideshowItem.tsx +2 -1
  102. package/src/components/slideshow/SlideshowItemGroup.tsx +2 -1
  103. package/src/components/switch/Switch.test.tsx +1 -1
  104. package/src/components/switch/Switch.tsx +2 -1
  105. package/src/components/table/Table.tsx +2 -1
  106. package/src/components/table/TableBody.tsx +2 -1
  107. package/src/components/table/TableCell.tsx +3 -1
  108. package/src/components/table/TableHeader.tsx +2 -1
  109. package/src/components/table/TableRow.tsx +2 -1
  110. package/src/components/tabs/Tab.test.tsx +1 -1
  111. package/src/components/tabs/Tab.tsx +2 -1
  112. package/src/components/tabs/TabList.test.tsx +1 -1
  113. package/src/components/tabs/TabList.tsx +2 -1
  114. package/src/components/tabs/TabPanel.tsx +2 -1
  115. package/src/components/text/{Text.stories.tsx → Text.stories.jsx} +23 -28
  116. package/src/components/text/Text.test.tsx +15 -1
  117. package/src/components/text/Text.tsx +38 -12
  118. package/src/components/text-field/TextField.test.tsx +1 -1
  119. package/src/components/text-field/TextField.tsx +2 -1
  120. package/src/components/thumbnail/Thumbnail.tsx +2 -1
  121. package/src/components/thumbnail/types.ts +1 -1
  122. package/src/components/toolbar/Toolbar.tsx +2 -1
  123. package/src/components/tooltip/Tooltip.tsx +2 -1
  124. package/src/components/tooltip/useTooltipOpen.tsx +1 -1
  125. package/src/components/uploader/Uploader.test.tsx +1 -1
  126. package/src/components/uploader/Uploader.tsx +2 -1
  127. package/src/components/user-block/UserBlock.tsx +2 -1
  128. package/src/hooks/useCallbackOnEscape.ts +2 -1
  129. package/src/hooks/useClickAway.tsx +1 -1
  130. package/src/hooks/useDisableBodyScroll.ts +1 -1
  131. package/src/hooks/useFocusTrap.ts +1 -1
  132. package/src/hooks/useInterval.tsx +1 -1
  133. package/src/hooks/useOnResize.ts +1 -1
  134. package/src/index.ts +5 -0
  135. package/src/stories/generated/GenericBlock/Demos.stories.tsx +3 -1
  136. package/src/stories/generated/Heading/Demos.stories.tsx +6 -0
  137. package/src/stories/withResizableBox.tsx +18 -0
  138. package/src/testing/utils/commonTestsSuite.ts +1 -1
  139. package/src/utils/{getRootClassName.ts → className.ts} +19 -0
  140. package/src/utils/event.ts +1 -0
  141. package/src/utils/index.ts +5 -0
  142. package/src/utils/type.ts +3 -0
  143. package/src/utils/utils.test.ts +1 -1
  144. package/types.d.ts +68 -11
  145. package/utils/index.d.ts +29 -0
  146. package/utils/index.js +2 -0
  147. package/utils/index.js.map +1 -0
  148. package/esm/_internal/AlertDialog.js +0 -141
  149. package/esm/_internal/AlertDialog.js.map +0 -1
  150. package/esm/_internal/AutocompleteMultiple.js +0 -257
  151. package/esm/_internal/AutocompleteMultiple.js.map +0 -1
  152. package/esm/_internal/Avatar2.js +0 -82
  153. package/esm/_internal/Avatar2.js.map +0 -1
  154. package/esm/_internal/Badge2.js +0 -54
  155. package/esm/_internal/Badge2.js.map +0 -1
  156. package/esm/_internal/Button2.js +0 -84
  157. package/esm/_internal/Button2.js.map +0 -1
  158. package/esm/_internal/ButtonGroup.js +0 -51
  159. package/esm/_internal/ButtonGroup.js.map +0 -1
  160. package/esm/_internal/ButtonRoot.js +0 -135
  161. package/esm/_internal/ButtonRoot.js.map +0 -1
  162. package/esm/_internal/Checkbox2.js +0 -116
  163. package/esm/_internal/Checkbox2.js.map +0 -1
  164. package/esm/_internal/Chip2.js +0 -118
  165. package/esm/_internal/Chip2.js.map +0 -1
  166. package/esm/_internal/ChipGroup.js +0 -122
  167. package/esm/_internal/ChipGroup.js.map +0 -1
  168. package/esm/_internal/ClickAwayProvider.js +0 -217
  169. package/esm/_internal/ClickAwayProvider.js.map +0 -1
  170. package/esm/_internal/CommentBlock.js +0 -124
  171. package/esm/_internal/CommentBlock.js.map +0 -1
  172. package/esm/_internal/DatePickerField.js +0 -347
  173. package/esm/_internal/DatePickerField.js.map +0 -1
  174. package/esm/_internal/Dialog2.js +0 -274
  175. package/esm/_internal/Dialog2.js.map +0 -1
  176. package/esm/_internal/Divider2.js +0 -53
  177. package/esm/_internal/Divider2.js.map +0 -1
  178. package/esm/_internal/DragHandle.js +0 -50
  179. package/esm/_internal/DragHandle.js.map +0 -1
  180. package/esm/_internal/Dropdown2.js +0 -157
  181. package/esm/_internal/Dropdown2.js.map +0 -1
  182. package/esm/_internal/ExpansionPanel.js +0 -156
  183. package/esm/_internal/ExpansionPanel.js.map +0 -1
  184. package/esm/_internal/Flag2.js +0 -48
  185. package/esm/_internal/Flag2.js.map +0 -1
  186. package/esm/_internal/FlexBox.js +0 -55
  187. package/esm/_internal/FlexBox.js.map +0 -1
  188. package/esm/_internal/GenericBlock.js +0 -125
  189. package/esm/_internal/GenericBlock.js.map +0 -1
  190. package/esm/_internal/GridItem.js +0 -96
  191. package/esm/_internal/GridItem.js.map +0 -1
  192. package/esm/_internal/HeadingLevelProvider.js +0 -112
  193. package/esm/_internal/HeadingLevelProvider.js.map +0 -1
  194. package/esm/_internal/Icon2.js +0 -120
  195. package/esm/_internal/Icon2.js.map +0 -1
  196. package/esm/_internal/IconButton.js +0 -74
  197. package/esm/_internal/IconButton.js.map +0 -1
  198. package/esm/_internal/ImageBlock.js +0 -101
  199. package/esm/_internal/ImageBlock.js.map +0 -1
  200. package/esm/_internal/InputHelper.js +0 -72
  201. package/esm/_internal/InputHelper.js.map +0 -1
  202. package/esm/_internal/InputLabel.js +0 -58
  203. package/esm/_internal/InputLabel.js.map +0 -1
  204. package/esm/_internal/Lightbox2.js +0 -123
  205. package/esm/_internal/Lightbox2.js.map +0 -1
  206. package/esm/_internal/Link2.js +0 -122
  207. package/esm/_internal/Link2.js.map +0 -1
  208. package/esm/_internal/LinkPreview.js +0 -105
  209. package/esm/_internal/LinkPreview.js.map +0 -1
  210. package/esm/_internal/List2.js +0 -799
  211. package/esm/_internal/List2.js.map +0 -1
  212. package/esm/_internal/ListSubheader.js +0 -79
  213. package/esm/_internal/ListSubheader.js.map +0 -1
  214. package/esm/_internal/Message2.js +0 -78
  215. package/esm/_internal/Message2.js.map +0 -1
  216. package/esm/_internal/Mosaic2.js +0 -89
  217. package/esm/_internal/Mosaic2.js.map +0 -1
  218. package/esm/_internal/Notification2.js +0 -133
  219. package/esm/_internal/Notification2.js.map +0 -1
  220. package/esm/_internal/Popover2.js +0 -2473
  221. package/esm/_internal/Popover2.js.map +0 -1
  222. package/esm/_internal/PostBlock.js +0 -96
  223. package/esm/_internal/PostBlock.js.map +0 -1
  224. package/esm/_internal/Progress2.js +0 -81
  225. package/esm/_internal/Progress2.js.map +0 -1
  226. package/esm/_internal/ProgressTrackerStepPanel.js +0 -313
  227. package/esm/_internal/ProgressTrackerStepPanel.js.map +0 -1
  228. package/esm/_internal/RadioGroup.js +0 -147
  229. package/esm/_internal/RadioGroup.js.map +0 -1
  230. package/esm/_internal/SelectMultiple.js +0 -424
  231. package/esm/_internal/SelectMultiple.js.map +0 -1
  232. package/esm/_internal/SideNavigationItem.js +0 -151
  233. package/esm/_internal/SideNavigationItem.js.map +0 -1
  234. package/esm/_internal/SkeletonTypography.js +0 -168
  235. package/esm/_internal/SkeletonTypography.js.map +0 -1
  236. package/esm/_internal/Slider2.js +0 -327
  237. package/esm/_internal/Slider2.js.map +0 -1
  238. package/esm/_internal/Slides.js +0 -864
  239. package/esm/_internal/Slides.js.map +0 -1
  240. package/esm/_internal/Switch2.js +0 -116
  241. package/esm/_internal/Switch2.js.map +0 -1
  242. package/esm/_internal/TabPanel.js +0 -280
  243. package/esm/_internal/TabPanel.js.map +0 -1
  244. package/esm/_internal/TableRow.js +0 -291
  245. package/esm/_internal/TableRow.js.map +0 -1
  246. package/esm/_internal/Text2.js +0 -63
  247. package/esm/_internal/Text2.js.map +0 -1
  248. package/esm/_internal/TextField.js +0 -322
  249. package/esm/_internal/TextField.js.map +0 -1
  250. package/esm/_internal/Thumbnail2.js +0 -301
  251. package/esm/_internal/Thumbnail2.js.map +0 -1
  252. package/esm/_internal/Toolbar2.js +0 -60
  253. package/esm/_internal/Toolbar2.js.map +0 -1
  254. package/esm/_internal/Tooltip2.js +0 -282
  255. package/esm/_internal/Tooltip2.js.map +0 -1
  256. package/esm/_internal/Uploader2.js +0 -84
  257. package/esm/_internal/Uploader2.js.map +0 -1
  258. package/esm/_internal/UserBlock.js +0 -132
  259. package/esm/_internal/UserBlock.js.map +0 -1
  260. package/esm/_internal/_rollupPluginBabelHelpers.js.map +0 -1
  261. package/esm/_internal/alert-dialog.js +0 -34
  262. package/esm/_internal/alert-dialog.js.map +0 -1
  263. package/esm/_internal/autocomplete.js +0 -32
  264. package/esm/_internal/autocomplete.js.map +0 -1
  265. package/esm/_internal/avatar.js +0 -13
  266. package/esm/_internal/avatar.js.map +0 -1
  267. package/esm/_internal/badge.js +0 -10
  268. package/esm/_internal/badge.js.map +0 -1
  269. package/esm/_internal/button.js +0 -25
  270. package/esm/_internal/button.js.map +0 -1
  271. package/esm/_internal/checkbox.js +0 -14
  272. package/esm/_internal/checkbox.js.map +0 -1
  273. package/esm/_internal/chip.js +0 -12
  274. package/esm/_internal/chip.js.map +0 -1
  275. package/esm/_internal/comment-block.js +0 -24
  276. package/esm/_internal/comment-block.js.map +0 -1
  277. package/esm/_internal/components.js +0 -156
  278. package/esm/_internal/components.js.map +0 -1
  279. package/esm/_internal/constants.js +0 -13
  280. package/esm/_internal/constants.js.map +0 -1
  281. package/esm/_internal/date-picker.js +0 -32
  282. package/esm/_internal/date-picker.js.map +0 -1
  283. package/esm/_internal/dialog.js +0 -27
  284. package/esm/_internal/dialog.js.map +0 -1
  285. package/esm/_internal/divider.js +0 -10
  286. package/esm/_internal/divider.js.map +0 -1
  287. package/esm/_internal/drag-handle.js +0 -11
  288. package/esm/_internal/drag-handle.js.map +0 -1
  289. package/esm/_internal/dropdown.js +0 -21
  290. package/esm/_internal/dropdown.js.map +0 -1
  291. package/esm/_internal/expansion-panel.js +0 -32
  292. package/esm/_internal/expansion-panel.js.map +0 -1
  293. package/esm/_internal/flag.js +0 -11
  294. package/esm/_internal/flag.js.map +0 -1
  295. package/esm/_internal/flex-box.js +0 -11
  296. package/esm/_internal/flex-box.js.map +0 -1
  297. package/esm/_internal/generic-block.js +0 -20
  298. package/esm/_internal/generic-block.js.map +0 -1
  299. package/esm/_internal/getRootClassName.js +0 -346
  300. package/esm/_internal/getRootClassName.js.map +0 -1
  301. package/esm/_internal/grid.js +0 -10
  302. package/esm/_internal/grid.js.map +0 -1
  303. package/esm/_internal/heading.js +0 -11
  304. package/esm/_internal/heading.js.map +0 -1
  305. package/esm/_internal/icon.js +0 -10
  306. package/esm/_internal/icon.js.map +0 -1
  307. package/esm/_internal/image-block.js +0 -14
  308. package/esm/_internal/image-block.js.map +0 -1
  309. package/esm/_internal/input-helper.js +0 -10
  310. package/esm/_internal/input-helper.js.map +0 -1
  311. package/esm/_internal/input-label.js +0 -10
  312. package/esm/_internal/input-label.js.map +0 -1
  313. package/esm/_internal/lightbox.js +0 -27
  314. package/esm/_internal/lightbox.js.map +0 -1
  315. package/esm/_internal/link-preview.js +0 -15
  316. package/esm/_internal/link-preview.js.map +0 -1
  317. package/esm/_internal/link.js +0 -12
  318. package/esm/_internal/link.js.map +0 -1
  319. package/esm/_internal/list.js +0 -15
  320. package/esm/_internal/list.js.map +0 -1
  321. package/esm/_internal/mergeRefs.js +0 -25
  322. package/esm/_internal/mergeRefs.js.map +0 -1
  323. package/esm/_internal/message.js +0 -11
  324. package/esm/_internal/message.js.map +0 -1
  325. package/esm/_internal/mosaic.js +0 -14
  326. package/esm/_internal/mosaic.js.map +0 -1
  327. package/esm/_internal/notification.js +0 -18
  328. package/esm/_internal/notification.js.map +0 -1
  329. package/esm/_internal/partitionMulti.js +0 -27
  330. package/esm/_internal/partitionMulti.js.map +0 -1
  331. package/esm/_internal/popover.js +0 -15
  332. package/esm/_internal/popover.js.map +0 -1
  333. package/esm/_internal/post-block.js +0 -15
  334. package/esm/_internal/post-block.js.map +0 -1
  335. package/esm/_internal/progress-tracker.js +0 -17
  336. package/esm/_internal/progress-tracker.js.map +0 -1
  337. package/esm/_internal/progress.js +0 -10
  338. package/esm/_internal/progress.js.map +0 -1
  339. package/esm/_internal/radio-button.js +0 -13
  340. package/esm/_internal/radio-button.js.map +0 -1
  341. package/esm/_internal/renderLink.js +0 -25
  342. package/esm/_internal/renderLink.js.map +0 -1
  343. package/esm/_internal/select.js +0 -31
  344. package/esm/_internal/select.js.map +0 -1
  345. package/esm/_internal/side-navigation.js +0 -25
  346. package/esm/_internal/side-navigation.js.map +0 -1
  347. package/esm/_internal/skeleton.js +0 -10
  348. package/esm/_internal/skeleton.js.map +0 -1
  349. package/esm/_internal/slider.js +0 -13
  350. package/esm/_internal/slider.js.map +0 -1
  351. package/esm/_internal/slideshow.js +0 -29
  352. package/esm/_internal/slideshow.js.map +0 -1
  353. package/esm/_internal/state.js +0 -145
  354. package/esm/_internal/state.js.map +0 -1
  355. package/esm/_internal/switch.js +0 -13
  356. package/esm/_internal/switch.js.map +0 -1
  357. package/esm/_internal/table.js +0 -12
  358. package/esm/_internal/table.js.map +0 -1
  359. package/esm/_internal/tabs.js +0 -15
  360. package/esm/_internal/tabs.js.map +0 -1
  361. package/esm/_internal/text-field.js +0 -26
  362. package/esm/_internal/text-field.js.map +0 -1
  363. package/esm/_internal/text.js +0 -10
  364. package/esm/_internal/text.js.map +0 -1
  365. package/esm/_internal/thumbnail.js +0 -13
  366. package/esm/_internal/thumbnail.js.map +0 -1
  367. package/esm/_internal/toolbar.js +0 -9
  368. package/esm/_internal/toolbar.js.map +0 -1
  369. package/esm/_internal/tooltip.js +0 -18
  370. package/esm/_internal/tooltip.js.map +0 -1
  371. package/esm/_internal/type.js +0 -40
  372. package/esm/_internal/type.js.map +0 -1
  373. package/esm/_internal/types.js +0 -23
  374. package/esm/_internal/types.js.map +0 -1
  375. package/esm/_internal/uploader.js +0 -11
  376. package/esm/_internal/uploader.js.map +0 -1
  377. package/esm/_internal/useDelayedVisibility.js +0 -47
  378. package/esm/_internal/useDelayedVisibility.js.map +0 -1
  379. package/esm/_internal/useDisableBodyScroll.js +0 -220
  380. package/esm/_internal/useDisableBodyScroll.js.map +0 -1
  381. package/esm/_internal/useFocusTrap.js +0 -86
  382. package/esm/_internal/useFocusTrap.js.map +0 -1
  383. package/esm/_internal/useRovingTabIndex.js +0 -87
  384. package/esm/_internal/useRovingTabIndex.js.map +0 -1
  385. package/esm/_internal/user-block.js +0 -17
  386. package/esm/_internal/user-block.js.map +0 -1
  387. package/esm/index.js +0 -95
  388. package/esm/index.js.map +0 -1
  389. package/esm/index2.js +0 -16
  390. package/esm/index2.js.map +0 -1
  391. package/src/utils/index.tsx +0 -7
@@ -1,11 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import './Icon2.js';
6
- import 'lodash/isBoolean';
7
- import 'lodash/isEmpty';
8
- import 'lodash/kebabCase';
9
- import 'lodash/noop';
10
- export { D as DragHandle } from './DragHandle.js';
11
- //# sourceMappingURL=drag-handle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"drag-handle.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1,21 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import 'lodash/isBoolean';
6
- import 'lodash/isEmpty';
7
- import 'lodash/kebabCase';
8
- import 'lodash/noop';
9
- import './constants.js';
10
- import 'lodash/last';
11
- import 'lodash/get';
12
- import './type.js';
13
- import './Popover2.js';
14
- import './mergeRefs.js';
15
- import './renderLink.js';
16
- import './ClickAwayProvider.js';
17
- import 'lodash/pull';
18
- import 'react-dom';
19
- import './List2.js';
20
- export { D as Dropdown } from './Dropdown2.js';
21
- //# sourceMappingURL=dropdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -1,32 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import './Icon2.js';
6
- import '../index2.js';
7
- import 'lodash/isBoolean';
8
- import 'lodash/isEmpty';
9
- import 'lodash/kebabCase';
10
- import 'lodash/noop';
11
- import './constants.js';
12
- import 'lodash/concat';
13
- import 'lodash/dropRight';
14
- import 'lodash/last';
15
- import 'lodash/partition';
16
- import 'lodash/reduce';
17
- import './partitionMulti.js';
18
- import 'lodash/get';
19
- import './type.js';
20
- import './Popover2.js';
21
- import './mergeRefs.js';
22
- import './renderLink.js';
23
- import './ButtonRoot.js';
24
- import './IconButton.js';
25
- import 'lodash/isFunction';
26
- import './ClickAwayProvider.js';
27
- import 'lodash/pull';
28
- import 'react-dom';
29
- import './DragHandle.js';
30
- export { E as ExpansionPanel } from './ExpansionPanel.js';
31
- import './Tooltip2.js';
32
- //# sourceMappingURL=expansion-panel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"expansion-panel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,11 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import './Icon2.js';
6
- import 'lodash/isBoolean';
7
- import 'lodash/isEmpty';
8
- import 'lodash/kebabCase';
9
- import 'lodash/noop';
10
- export { F as Flag } from './Flag2.js';
11
- //# sourceMappingURL=flag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flag.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1,11 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import 'lodash/isBoolean';
6
- import 'lodash/isEmpty';
7
- import 'lodash/kebabCase';
8
- import 'lodash/noop';
9
- import 'lodash/castArray';
10
- export { F as FlexBox } from './FlexBox.js';
11
- //# sourceMappingURL=flex-box.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flex-box.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1,20 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import 'lodash/isBoolean';
6
- import 'lodash/isEmpty';
7
- import 'lodash/kebabCase';
8
- import 'lodash/noop';
9
- import 'lodash/concat';
10
- import 'lodash/dropRight';
11
- import 'lodash/last';
12
- import 'lodash/partition';
13
- import 'lodash/reduce';
14
- import './partitionMulti.js';
15
- import 'lodash/get';
16
- import './type.js';
17
- import 'lodash/castArray';
18
- import './FlexBox.js';
19
- export { G as GenericBlock } from './GenericBlock.js';
20
- //# sourceMappingURL=generic-block.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generic-block.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -1,346 +0,0 @@
1
- import { b as _objectWithoutProperties, d as _slicedToArray } from './_rollupPluginBabelHelpers.js';
2
- import isBoolean from 'lodash/isBoolean';
3
- import isEmpty from 'lodash/isEmpty';
4
- import kebabCase from 'lodash/kebabCase';
5
- import noop from 'lodash/noop';
6
-
7
- function createCommonjsModule(fn, basedir, module) {
8
- return module = {
9
- path: basedir,
10
- exports: {},
11
- require: function (path, base) {
12
- return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
13
- }
14
- }, fn(module, module.exports), module.exports;
15
- }
16
-
17
- function commonjsRequire () {
18
- throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
19
- }
20
-
21
- var classnames = createCommonjsModule(function (module) {
22
- /*!
23
- Copyright (c) 2017 Jed Watson.
24
- Licensed under the MIT License (MIT), see
25
- http://jedwatson.github.io/classnames
26
- */
27
- /* global define */
28
-
29
- (function () {
30
-
31
- var hasOwn = {}.hasOwnProperty;
32
-
33
- function classNames () {
34
- var classes = [];
35
-
36
- for (var i = 0; i < arguments.length; i++) {
37
- var arg = arguments[i];
38
- if (!arg) continue;
39
-
40
- var argType = typeof arg;
41
-
42
- if (argType === 'string' || argType === 'number') {
43
- classes.push(arg);
44
- } else if (Array.isArray(arg) && arg.length) {
45
- var inner = classNames.apply(null, arg);
46
- if (inner) {
47
- classes.push(inner);
48
- }
49
- } else if (argType === 'object') {
50
- for (var key in arg) {
51
- if (hasOwn.call(arg, key) && arg[key]) {
52
- classes.push(key);
53
- }
54
- }
55
- }
56
- }
57
-
58
- return classes.join(' ');
59
- }
60
-
61
- if ( module.exports) {
62
- classNames.default = classNames;
63
- module.exports = classNames;
64
- } else {
65
- window.classNames = classNames;
66
- }
67
- }());
68
- });
69
-
70
- /**
71
- * Enhance isEmpty method to also works with numbers.
72
- *
73
- * @param value The value to check.
74
- * @return Whether the input value is empty or != 0.
75
- */
76
-
77
- var _isEmpty = function _isEmpty(value) {
78
- if (typeof value === 'number') {
79
- return value === 0;
80
- }
81
-
82
- return isEmpty(value);
83
- };
84
- /**
85
- * Get the basic CSS class for the given type.
86
- *
87
- * @param prefix The class name prefix for the generated CSS class.
88
- * @param type The type of CSS class we want to generate (e.g.: 'color', 'variant', ...).
89
- * @param value The value of the type of the CSS class (e.g.: 'primary', 'button', ...).
90
- * @return The basic CSS class.
91
- */
92
-
93
-
94
- function getBasicClass(_ref) {
95
- var prefix = _ref.prefix,
96
- type = _ref.type,
97
- value = _ref.value;
98
-
99
- if (isBoolean(value)) {
100
- if (!value) {
101
- // False value should not return a class.
102
- return '';
103
- }
104
-
105
- var booleanPrefixes = ['has', 'is'];
106
-
107
- if (booleanPrefixes.some(function (booleanPrefix) {
108
- return type.toString().startsWith(booleanPrefix);
109
- })) {
110
- return "".concat(prefix, "--").concat(kebabCase(type));
111
- }
112
-
113
- return "".concat(prefix, "--is-").concat(kebabCase(type));
114
- }
115
-
116
- return "".concat(prefix, "--").concat(kebabCase(type), "-").concat(value);
117
- }
118
- /**
119
- * Return all basic LumX CSS classes which are available for every components.
120
- *
121
- * @see {@link /src/components/index.d.ts} for the possible values of each parameter.
122
- *
123
- * @param prefix The class name prefix for the generated CSS class.
124
- * @param props All the other props you want to generate a class.
125
- * The rule of thumb: the key is the name of the prop in the class, the value a string that will
126
- * be used in the classname to represent the value of the given prop.
127
- * @return All LumX basic CSS classes.
128
- */
129
-
130
- function handleBasicClasses(_ref2) {
131
- var prefix = _ref2.prefix,
132
- props = _objectWithoutProperties(_ref2, ["prefix"]);
133
-
134
- var otherClasses = {};
135
-
136
- if (!isEmpty(props)) {
137
- Object.keys(props).forEach(function (prop) {
138
- otherClasses[getBasicClass({
139
- prefix: prefix,
140
- type: prop,
141
- value: props[prop]
142
- })] = isBoolean(props[prop]) ? props[prop] : !_isEmpty(props[prop]);
143
- });
144
- }
145
-
146
- return classnames(prefix, otherClasses);
147
- }
148
- /**
149
- * Checks whether or not the browser support passive events.
150
- * @see https://github.com/Modernizr/Modernizr/blob/6d56d814b9682843313b16060adb25a58d83a317/feature-detects/dom/passiveeventlisteners.js
151
- */
152
-
153
- function isPassiveEventAvailable() {
154
- var supportsPassiveOption = false;
155
-
156
- try {
157
- var opts = Object.defineProperty({}, 'passive', {
158
- get: function get() {
159
- supportsPassiveOption = true;
160
- }
161
- });
162
- window.addEventListener('testPassiveEventSupport', noop, opts);
163
- window.removeEventListener('testPassiveEventSupport', noop, opts);
164
- } catch (e) {// ignored
165
- }
166
-
167
- return supportsPassiveOption;
168
- }
169
- /**
170
- * Detects horizontal swipe direction without blocking the browser scroll using passive event.
171
- * @see http://javascriptkit.com/javatutors/touchevents2.shtml
172
- * @see https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md
173
- */
174
-
175
-
176
- function detectHorizontalSwipe(touchSurface, handleSwipe) {
177
- var startX;
178
- var startY; // Required min distance traveled to be considered swipe.
179
-
180
- var threshold = 150; // Maximum distance allowed at the same time in perpendicular direction.
181
-
182
- var restraint = 150; // Maximum time allowed to travel that distance.
183
-
184
- var allowedTime = 300;
185
- var elapsedTime;
186
- var startTime;
187
- var finished;
188
-
189
- var onTouchStart = function onTouchStart(evt) {
190
- var _Array$from5 = Array.from(evt.changedTouches),
191
- _Array$from6 = _slicedToArray(_Array$from5, 1),
192
- touch = _Array$from6[0];
193
-
194
- startX = touch.pageX;
195
- startY = touch.pageY; // Record time when finger first makes contact with surface.
196
-
197
- startTime = new Date().getTime();
198
- finished = false;
199
- };
200
-
201
- var onTouchMove = function onTouchMove(evt) {
202
- if (finished) {
203
- return;
204
- }
205
-
206
- elapsedTime = new Date().getTime() - startTime;
207
-
208
- if (elapsedTime > allowedTime) {
209
- // Touch swipe too long to be considered.
210
- return;
211
- }
212
-
213
- var _Array$from7 = Array.from(evt.changedTouches),
214
- _Array$from8 = _slicedToArray(_Array$from7, 1),
215
- touch = _Array$from8[0]; // Get horizontal dist traveled by finger while in contact with surface.
216
-
217
-
218
- var distX = touch.pageX - startX; // Get vertical dist traveled by finger while in contact with surface.
219
-
220
- var distY = touch.pageY - startY;
221
-
222
- if (!(Math.abs(distX) >= threshold && Math.abs(distY) <= restraint)) {
223
- // Swipe is not horizontal.
224
- return;
225
- } // Swipe direction.
226
-
227
-
228
- var direction = distX < 0 ? 'left' : 'right';
229
- handleSwipe(direction);
230
- finished = true;
231
- }; // Activate passive event if possible for better scrolling performance.
232
-
233
-
234
- var eventOptions = isPassiveEventAvailable() ? {
235
- passive: true
236
- } : false;
237
- touchSurface.addEventListener('touchstart', onTouchStart, eventOptions);
238
- touchSurface.addEventListener('touchmove', onTouchMove, eventOptions);
239
- return function () {
240
- touchSurface.removeEventListener('touchstart', onTouchStart, eventOptions);
241
- touchSurface.removeEventListener('touchmove', onTouchMove, eventOptions);
242
- };
243
- }
244
-
245
- /**
246
- * Make sure the pressed key is the enter key before calling the callback.
247
- *
248
- * @param handler The handler to call on enter/return press.
249
- * @return The decorated function.
250
- */
251
- function onEnterPressed(handler) {
252
- return function (evt) {
253
- if (evt.key !== 'Enter') {
254
- return;
255
- }
256
-
257
- handler(evt);
258
- };
259
- }
260
- /**
261
- * Make sure the pressed key is the escape key before calling the callback.
262
- *
263
- * @param handler The handler to call on enter/return press.
264
- * @return The decorated function.
265
- */
266
-
267
- function onEscapePressed(handler) {
268
- return function (evt) {
269
- if (evt.key !== 'Escape') {
270
- return;
271
- }
272
-
273
- handler(evt);
274
- };
275
- }
276
- /**
277
- * Handle button key pressed (Enter + Space).
278
- *
279
- * @param handler The handler to call.
280
- * @return The decorated function.
281
- */
282
-
283
- function onButtonPressed(handler) {
284
- return function (evt) {
285
- if (evt.key !== 'Enter' && evt.key !== ' ') {
286
- return;
287
- }
288
-
289
- handler(evt);
290
- };
291
- }
292
-
293
- /**
294
- * The prefix to use for the CSS classes.
295
- */
296
- var CSS_PREFIX = 'lumx';
297
- /**
298
- * Animation duration constants. Take into consideration that if you change one of these variables,
299
- * you need to update their scss counterpart as well
300
- */
301
-
302
- var DIALOG_TRANSITION_DURATION = 400;
303
- var NOTIFICATION_TRANSITION_DURATION = 200;
304
- /**
305
- * Delay on hover after which we open or close the tooltip.
306
- * Only applies to devices supporting pointer hover.
307
- */
308
-
309
- var TOOLTIP_HOVER_DELAY = {
310
- open: 500,
311
- close: 0
312
- };
313
- /**
314
- * Delay on long press after which we open or close the tooltip.
315
- * Only applies to devices not supporting pointer hover.
316
- */
317
-
318
- var TOOLTIP_LONG_PRESS_DELAY = {
319
- open: 250,
320
- close: 3000
321
- };
322
-
323
- var LAST_PART_CLASSNAME = /^(.*)-(.+)$/gi;
324
- /**
325
- * Get the name of the root CSS class of a component based on its name.
326
- *
327
- * @param componentName The name of the component. This name should contains the component prefix and be
328
- * written in PascalCase.
329
- * @param subComponent Whether the current component is a sub component, if true, define the class according
330
- * to BEM standards.
331
- * @return The name of the root CSS class. This classname include the CSS classname prefix and is written in
332
- * lower-snake-case.
333
- */
334
-
335
- function getRootClassName(componentName, subComponent) {
336
- var formattedClassName = "".concat(CSS_PREFIX, "-").concat(kebabCase(componentName));
337
-
338
- if (subComponent) {
339
- return formattedClassName.replace(LAST_PART_CLASSNAME, '$1__$2');
340
- }
341
-
342
- return formattedClassName;
343
- }
344
-
345
- export { CSS_PREFIX as C, DIALOG_TRANSITION_DURATION as D, NOTIFICATION_TRANSITION_DURATION as N, TOOLTIP_LONG_PRESS_DELAY as T, getBasicClass as a, onButtonPressed as b, classnames as c, createCommonjsModule as d, detectHorizontalSwipe as e, onEscapePressed as f, getRootClassName as g, handleBasicClasses as h, TOOLTIP_HOVER_DELAY as i, onEnterPressed as o };
346
- //# sourceMappingURL=getRootClassName.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRootClassName.js","sources":["../../../../../node_modules/classnames/index.js","../../../../lumx-core/src/js/utils.ts","../../../../lumx-core/src/js/constants/index.ts","../../../src/utils/getRootClassName.ts"],"sourcesContent":["/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import classNames from 'classnames';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport React from 'react';\n\nimport isBoolean from 'lodash/isBoolean';\nimport isEmpty from 'lodash/isEmpty';\nimport kebabCase from 'lodash/kebabCase';\nimport noop from 'lodash/noop';\n\n/**\n * Enhance isEmpty method to also works with numbers.\n *\n * @param value The value to check.\n * @return Whether the input value is empty or != 0.\n */\nconst _isEmpty = (value: any) => {\n if (typeof value === 'number') {\n return value === 0;\n }\n\n return isEmpty(value);\n};\n\n/**\n * Get the basic CSS class for the given type.\n *\n * @param prefix The class name prefix for the generated CSS class.\n * @param type The type of CSS class we want to generate (e.g.: 'color', 'variant', ...).\n * @param value The value of the type of the CSS class (e.g.: 'primary', 'button', ...).\n * @return The basic CSS class.\n */\nexport function getBasicClass({\n prefix,\n type,\n value,\n}: {\n prefix: string;\n type: string;\n value: string | number | boolean | undefined;\n}): string {\n if (isBoolean(value)) {\n if (!value) {\n // False value should not return a class.\n return '';\n }\n const booleanPrefixes = ['has', 'is'];\n\n if (booleanPrefixes.some((booleanPrefix) => type.toString().startsWith(booleanPrefix))) {\n return `${prefix}--${kebabCase(type)}`;\n }\n\n return `${prefix}--is-${kebabCase(type)}`;\n }\n\n return `${prefix}--${kebabCase(type)}-${value}`;\n}\n\n/**\n * Return all basic LumX CSS classes which are available for every components.\n *\n * @see {@link /src/components/index.d.ts} for the possible values of each parameter.\n *\n * @param prefix The class name prefix for the generated CSS class.\n * @param props All the other props you want to generate a class.\n * The rule of thumb: the key is the name of the prop in the class, the value a string that will\n * be used in the classname to represent the value of the given prop.\n * @return All LumX basic CSS classes.\n */\nexport function handleBasicClasses({ prefix, ...props }: { prefix: string; [prop: string]: any }): string {\n const otherClasses: any = {};\n if (!isEmpty(props)) {\n Object.keys(props).forEach((prop) => {\n otherClasses[getBasicClass({ prefix, type: prop, value: props[prop] })] = isBoolean(props[prop])\n ? props[prop]\n : !_isEmpty(props[prop]);\n });\n }\n\n return classNames(prefix, otherClasses);\n}\n\ndeclare type SwipeDirection = 'none' | 'up' | 'down' | 'left' | 'right';\n\n/**\n * Detects swipe direction.\n * Credits: http://javascriptkit.com/javatutors/touchevents2.shtml.\n *\n * @deprecated use `detectHorizontalSwipe` instead if possible (better performance and does not block scroll)\n * @param touchSurface Element that will hold touch events.\n * @param handleSwipe Callback function.\n * @return Function to remove listeners.\n */\nexport function detectSwipe(touchSurface: Element, handleSwipe: (direction: SwipeDirection) => void = noop) {\n let distX: number;\n let distY: number;\n let startX: number;\n let startY: number;\n let direction: SwipeDirection;\n // Required min distance traveled to be considered swipe.\n const threshold = 150;\n // Maximum distance allowed at the same time in perpendicular direction.\n const restraint = 100;\n // Maximum time allowed to travel that distance.\n const allowedTime = 300;\n let elapsedTime: number;\n let startTime: number;\n\n const onTouchStart = (evt: Event) => {\n const [touch] = Array.from((evt as TouchEvent).changedTouches);\n direction = 'none';\n // Const dist = 0;\n startX = touch.pageX;\n startY = touch.pageY;\n // Record time when finger first makes contact with surface.\n startTime = new Date().getTime();\n evt.preventDefault();\n };\n\n const onTouchMove = (evt: Event) => {\n // Prevent scrolling when inside DIV.\n evt.preventDefault();\n };\n\n const onTouchEnd = (evt: Event) => {\n const [touch] = Array.from((evt as TouchEvent).changedTouches);\n // Get horizontal dist traveled by finger while in contact with surface.\n distX = touch.pageX - startX;\n // Get vertical dist traveled by finger while in contact with surface.\n distY = touch.pageY - startY;\n // Get time elapsed.\n elapsedTime = new Date().getTime() - startTime;\n if (elapsedTime <= allowedTime) {\n // First condition for awipe met.\n if (Math.abs(distX) >= threshold && Math.abs(distY) <= restraint) {\n // 2nd condition for horizontal swipe met.\n // If dist traveled is negative, it indicates left swipe.\n direction = distX < 0 ? 'left' : 'right';\n } else if (Math.abs(distY) >= threshold && Math.abs(distX) <= restraint) {\n // 2nd condition for vertical swipe met.\n // If dist traveled is negative, it indicates up swipe.\n direction = distY < 0 ? 'up' : 'down';\n }\n }\n handleSwipe(direction);\n evt.preventDefault();\n };\n\n touchSurface.addEventListener('touchstart', onTouchStart, false);\n touchSurface.addEventListener('touchmove', onTouchMove, false);\n touchSurface.addEventListener('touchend', onTouchEnd, false);\n\n return () => {\n touchSurface.removeEventListener('touchstart', onTouchStart, false);\n touchSurface.removeEventListener('touchmove', onTouchMove, false);\n touchSurface.removeEventListener('touchend', onTouchEnd, false);\n };\n}\n\n/**\n * Checks whether or not the browser support passive events.\n * @see https://github.com/Modernizr/Modernizr/blob/6d56d814b9682843313b16060adb25a58d83a317/feature-detects/dom/passiveeventlisteners.js\n */\nfunction isPassiveEventAvailable() {\n let supportsPassiveOption = false;\n try {\n const opts = Object.defineProperty({}, 'passive', {\n get() {\n supportsPassiveOption = true;\n },\n });\n window.addEventListener('testPassiveEventSupport', noop, opts);\n window.removeEventListener('testPassiveEventSupport', noop, opts);\n } catch (e) {\n // ignored\n }\n return supportsPassiveOption;\n}\n\n/**\n * Detects horizontal swipe direction without blocking the browser scroll using passive event.\n * @see http://javascriptkit.com/javatutors/touchevents2.shtml\n * @see https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n */\nexport function detectHorizontalSwipe(touchSurface: Element, handleSwipe: (direction: 'right' | 'left') => void) {\n let startX: number;\n let startY: number;\n // Required min distance traveled to be considered swipe.\n const threshold = 150;\n // Maximum distance allowed at the same time in perpendicular direction.\n const restraint = 150;\n // Maximum time allowed to travel that distance.\n const allowedTime = 300;\n let elapsedTime: number;\n let startTime: number;\n let finished: boolean;\n\n const onTouchStart = (evt: Event) => {\n const [touch] = Array.from((evt as TouchEvent).changedTouches);\n startX = touch.pageX;\n startY = touch.pageY;\n // Record time when finger first makes contact with surface.\n startTime = new Date().getTime();\n finished = false;\n };\n\n const onTouchMove = (evt: Event) => {\n if (finished) {\n return;\n }\n\n elapsedTime = new Date().getTime() - startTime;\n if (elapsedTime > allowedTime) {\n // Touch swipe too long to be considered.\n return;\n }\n\n const [touch] = Array.from((evt as TouchEvent).changedTouches);\n // Get horizontal dist traveled by finger while in contact with surface.\n const distX = touch.pageX - startX;\n // Get vertical dist traveled by finger while in contact with surface.\n const distY = touch.pageY - startY;\n\n if (!(Math.abs(distX) >= threshold && Math.abs(distY) <= restraint)) {\n // Swipe is not horizontal.\n return;\n }\n // Swipe direction.\n const direction = distX < 0 ? 'left' : 'right';\n\n handleSwipe(direction);\n finished = true;\n };\n\n // Activate passive event if possible for better scrolling performance.\n const eventOptions: any = isPassiveEventAvailable() ? { passive: true } : false;\n touchSurface.addEventListener('touchstart', onTouchStart, eventOptions);\n touchSurface.addEventListener('touchmove', onTouchMove, eventOptions);\n\n return () => {\n touchSurface.removeEventListener('touchstart', onTouchStart, eventOptions);\n touchSurface.removeEventListener('touchmove', onTouchMove, eventOptions);\n };\n}\n\ntype KeyboardEventHandler<E extends KeyboardEvent | React.KeyboardEvent> = (event: E) => void;\n\n/**\n * Make sure the pressed key is the enter key before calling the callback.\n *\n * @param handler The handler to call on enter/return press.\n * @return The decorated function.\n */\nexport function onEnterPressed<E extends KeyboardEvent | React.KeyboardEvent>(\n handler: KeyboardEventHandler<E>,\n): KeyboardEventHandler<E> {\n return (evt) => {\n if (evt.key !== 'Enter') {\n return;\n }\n handler(evt);\n };\n}\n\n/**\n * Make sure the pressed key is the escape key before calling the callback.\n *\n * @param handler The handler to call on enter/return press.\n * @return The decorated function.\n */\nexport function onEscapePressed<E extends KeyboardEvent | React.KeyboardEvent>(\n handler: KeyboardEventHandler<E>,\n): KeyboardEventHandler<E> {\n return (evt) => {\n if (evt.key !== 'Escape') {\n return;\n }\n handler(evt);\n };\n}\n\n/**\n * Handle button key pressed (Enter + Space).\n *\n * @param handler The handler to call.\n * @return The decorated function.\n */\nexport function onButtonPressed<E extends KeyboardEvent | React.KeyboardEvent>(\n handler: KeyboardEventHandler<E>,\n): KeyboardEventHandler<E> {\n return (evt) => {\n if (evt.key !== 'Enter' && evt.key !== ' ') {\n return;\n }\n handler(evt);\n };\n}\n","/**\n * The prefix to use for the CSS classes.\n */\nexport const CSS_PREFIX = 'lumx';\n\n/**\n * Key codes.\n */\nexport * from './keycodes';\n\n/**\n * Animation duration constants. Take into consideration that if you change one of these variables,\n * you need to update their scss counterpart as well\n */\nexport const DIALOG_TRANSITION_DURATION = 400;\nexport const NOTIFICATION_TRANSITION_DURATION = 200;\nexport const SLIDESHOW_TRANSITION_DURATION = 5000;\n\n/**\n * Delay on hover after which we open or close the tooltip.\n * Only applies to devices supporting pointer hover.\n */\nexport const TOOLTIP_HOVER_DELAY = {\n open: 500,\n close: 0,\n};\n\n/**\n * Delay on long press after which we open or close the tooltip.\n * Only applies to devices not supporting pointer hover.\n */\nexport const TOOLTIP_LONG_PRESS_DELAY = {\n open: 250,\n close: 3000,\n};\n","import { CSS_PREFIX } from '@lumx/react/constants';\n\nimport kebabCase from 'lodash/kebabCase';\n\n// See https://regex101.com/r/YjS1uI/3\nconst LAST_PART_CLASSNAME = /^(.*)-(.+)$/gi;\n\n/**\n * Get the name of the root CSS class of a component based on its name.\n *\n * @param componentName The name of the component. This name should contains the component prefix and be\n * written in PascalCase.\n * @param subComponent Whether the current component is a sub component, if true, define the class according\n * to BEM standards.\n * @return The name of the root CSS class. This classname include the CSS classname prefix and is written in\n * lower-snake-case.\n */\nexport function getRootClassName(componentName: string, subComponent?: boolean): string {\n const formattedClassName = `${CSS_PREFIX}-${kebabCase(componentName)}`;\n\n if (subComponent) {\n return formattedClassName.replace(LAST_PART_CLASSNAME, '$1__$2');\n }\n return formattedClassName;\n}\n"],"names":["_isEmpty","value","isEmpty","getBasicClass","prefix","type","isBoolean","booleanPrefixes","some","booleanPrefix","toString","startsWith","kebabCase","handleBasicClasses","props","otherClasses","Object","keys","forEach","prop","classNames","isPassiveEventAvailable","supportsPassiveOption","opts","defineProperty","get","window","addEventListener","noop","removeEventListener","e","detectHorizontalSwipe","touchSurface","handleSwipe","startX","startY","threshold","restraint","allowedTime","elapsedTime","startTime","finished","onTouchStart","evt","Array","from","changedTouches","touch","pageX","pageY","Date","getTime","onTouchMove","distX","distY","Math","abs","direction","eventOptions","passive","onEnterPressed","handler","key","onEscapePressed","onButtonPressed","CSS_PREFIX","DIALOG_TRANSITION_DURATION","NOTIFICATION_TRANSITION_DURATION","TOOLTIP_HOVER_DELAY","open","close","TOOLTIP_LONG_PRESS_DELAY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AC7BC,gCAAgC,GAAG;AAGhD;;;;;IAIaC,mBAAmB,GAAG;AAC/BC,EAAAA,IAAI,EAAE,GADyB;AAE/BC,EAAAA,KAAK,EAAE;AAFwB;AAKnC;;;;;IAIaC,wBAAwB,GAAG;AACpCF,EAAAA,IAAI,EAAE,GAD8B;AAEpCC,EAAAA,KAAK,EAAE;AAF6B;;AC1BxC,IAAME,mBAAmB,GAAG,eAA5B;AAEA;;;;;;;;;;;AAUO,SAASC,gBAAT,CAA0BC,aAA1B,EAAiDC,YAAjD,EAAiF;AACpF,MAAMC,kBAAkB,aAAMX,UAAN,cAAoBrD,SAAS,CAAC8D,aAAD,CAA7B,CAAxB;;AAEA,MAAIC,YAAJ,EAAkB;AACd,WAAOC,kBAAkB,CAACC,OAAnB,CAA2BL,mBAA3B,EAAgD,QAAhD,CAAP;AACH;;AACD,SAAOI,kBAAP;AACH;;;;"}
@@ -1,10 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import 'lodash/isBoolean';
6
- import 'lodash/isEmpty';
7
- import 'lodash/kebabCase';
8
- import 'lodash/noop';
9
- export { G as Grid, a as GridItem } from './GridItem.js';
10
- //# sourceMappingURL=grid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grid.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,11 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import 'lodash/isBoolean';
6
- import 'lodash/isEmpty';
7
- import 'lodash/kebabCase';
8
- import 'lodash/noop';
9
- import './Text2.js';
10
- export { H as Heading, a as HeadingLevelProvider, u as useHeadingLevel } from './HeadingLevelProvider.js';
11
- //# sourceMappingURL=heading.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"heading.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1,10 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- export { I as Icon } from './Icon2.js';
6
- import 'lodash/isBoolean';
7
- import 'lodash/isEmpty';
8
- import 'lodash/kebabCase';
9
- import 'lodash/noop';
10
- //# sourceMappingURL=icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,14 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import './Icon2.js';
6
- import 'lodash/isBoolean';
7
- import 'lodash/isEmpty';
8
- import 'lodash/kebabCase';
9
- import 'lodash/noop';
10
- import './mergeRefs.js';
11
- import 'lodash/isObject';
12
- export { a as ImageBlock, I as ImageBlockCaptionPosition } from './ImageBlock.js';
13
- import './Thumbnail2.js';
14
- //# sourceMappingURL=image-block.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image-block.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -1,10 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import 'lodash/isBoolean';
6
- import 'lodash/isEmpty';
7
- import 'lodash/kebabCase';
8
- import 'lodash/noop';
9
- export { I as InputHelper } from './InputHelper.js';
10
- //# sourceMappingURL=input-helper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-helper.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,10 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import 'lodash/isBoolean';
6
- import 'lodash/isEmpty';
7
- import 'lodash/kebabCase';
8
- import 'lodash/noop';
9
- export { I as InputLabel } from './InputLabel.js';
10
- //# sourceMappingURL=input-label.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input-label.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,27 +0,0 @@
1
- import './_rollupPluginBabelHelpers.js';
2
- import './components.js';
3
- import 'react';
4
- import './getRootClassName.js';
5
- import './Icon2.js';
6
- import '../index2.js';
7
- import 'lodash/isBoolean';
8
- import 'lodash/isEmpty';
9
- import 'lodash/kebabCase';
10
- import 'lodash/noop';
11
- import './constants.js';
12
- import 'lodash/last';
13
- import 'lodash/get';
14
- import './Popover2.js';
15
- import './mergeRefs.js';
16
- import './renderLink.js';
17
- import './ButtonRoot.js';
18
- import './IconButton.js';
19
- import './ClickAwayProvider.js';
20
- import 'lodash/pull';
21
- import './useFocusTrap.js';
22
- import 'react-dom';
23
- import './useDelayedVisibility.js';
24
- import './useDisableBodyScroll.js';
25
- export { L as Lightbox } from './Lightbox2.js';
26
- import './Tooltip2.js';
27
- //# sourceMappingURL=lightbox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lightbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}