@elliemae/ds-mobile 3.0.0-next.9 → 3.0.0-rc.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 (315) hide show
  1. package/dist/cjs/Accordion/{Accordion.js → DSMobileAccordion.js} +17 -24
  2. package/dist/cjs/Accordion/DSMobileAccordion.js.map +7 -0
  3. package/dist/cjs/Accordion/index.js +11 -17
  4. package/dist/cjs/Accordion/index.js.map +3 -3
  5. package/dist/cjs/Accordion/react-desc-prop-types.js +67 -0
  6. package/dist/cjs/Accordion/react-desc-prop-types.js.map +7 -0
  7. package/dist/cjs/CategoryBox/CategoryBox.js +10 -16
  8. package/dist/cjs/CategoryBox/CategoryBox.js.map +2 -2
  9. package/dist/cjs/CategoryBox/index.js +9 -16
  10. package/dist/cjs/CategoryBox/index.js.map +1 -1
  11. package/dist/cjs/CollectionBox/CollectionBox.js +10 -16
  12. package/dist/cjs/CollectionBox/CollectionBox.js.map +2 -2
  13. package/dist/cjs/CollectionBox/index.js +9 -16
  14. package/dist/cjs/CollectionBox/index.js.map +1 -1
  15. package/dist/cjs/FullPageContainer/FullPageContainer.js +9 -16
  16. package/dist/cjs/FullPageContainer/FullPageContainer.js.map +1 -1
  17. package/dist/cjs/FullPageContainer/FullPageContainerScroll.js +9 -16
  18. package/dist/cjs/FullPageContainer/FullPageContainerScroll.js.map +1 -1
  19. package/dist/cjs/FullPageContainer/index.js +9 -16
  20. package/dist/cjs/FullPageContainer/index.js.map +1 -1
  21. package/dist/cjs/FullPageContainer/useMobileHeight.js +9 -16
  22. package/dist/cjs/FullPageContainer/useMobileHeight.js.map +1 -1
  23. package/dist/cjs/GlobalHeader/MobileGlobalHeader.js +10 -16
  24. package/dist/cjs/GlobalHeader/MobileGlobalHeader.js.map +2 -2
  25. package/dist/cjs/GlobalHeader/index.js +9 -16
  26. package/dist/cjs/GlobalHeader/index.js.map +1 -1
  27. package/dist/cjs/GlobalHeader/styles.js +9 -16
  28. package/dist/cjs/GlobalHeader/styles.js.map +1 -1
  29. package/dist/cjs/GroupBox/GroupBox.js +10 -16
  30. package/dist/cjs/GroupBox/GroupBox.js.map +2 -2
  31. package/dist/cjs/GroupBox/index.js +9 -16
  32. package/dist/cjs/GroupBox/index.js.map +1 -1
  33. package/dist/cjs/Icons/EM_logo.js +9 -16
  34. package/dist/cjs/Icons/EM_logo.js.map +1 -1
  35. package/dist/cjs/InfiniteLoader/Infiniteloader.js +10 -16
  36. package/dist/cjs/InfiniteLoader/Infiniteloader.js.map +2 -2
  37. package/dist/cjs/InfiniteLoader/Loader.js +9 -16
  38. package/dist/cjs/InfiniteLoader/Loader.js.map +1 -1
  39. package/dist/cjs/InfiniteLoader/VirtualizedInfiniteLoader.js +10 -16
  40. package/dist/cjs/InfiniteLoader/VirtualizedInfiniteLoader.js.map +2 -2
  41. package/dist/cjs/InfiniteLoader/index.js +9 -16
  42. package/dist/cjs/InfiniteLoader/index.js.map +1 -1
  43. package/dist/cjs/InfiniteLoader/styled.js +9 -16
  44. package/dist/cjs/InfiniteLoader/styled.js.map +1 -1
  45. package/dist/cjs/LoadingPage/Page.js +9 -16
  46. package/dist/cjs/LoadingPage/Page.js.map +1 -1
  47. package/dist/cjs/LoadingPage/index.js +11 -17
  48. package/dist/cjs/LoadingPage/index.js.map +1 -1
  49. package/dist/cjs/MobileActionToolbar/MobileActionToolbar.js +10 -16
  50. package/dist/cjs/MobileActionToolbar/MobileActionToolbar.js.map +2 -2
  51. package/dist/cjs/MobileActionToolbar/MobileActionToolbarItem.js +10 -16
  52. package/dist/cjs/MobileActionToolbar/MobileActionToolbarItem.js.map +2 -2
  53. package/dist/cjs/MobileActionToolbar/index.js +11 -17
  54. package/dist/cjs/MobileActionToolbar/index.js.map +1 -1
  55. package/dist/cjs/MobileBanner/MobileBanner.js +18 -24
  56. package/dist/cjs/MobileBanner/MobileBanner.js.map +2 -2
  57. package/dist/cjs/MobileBanner/defaultProps.js +9 -16
  58. package/dist/cjs/MobileBanner/defaultProps.js.map +1 -1
  59. package/dist/cjs/MobileBanner/index.d.js +9 -16
  60. package/dist/cjs/MobileBanner/index.d.js.map +1 -1
  61. package/dist/cjs/MobileBanner/index.js +9 -16
  62. package/dist/cjs/MobileBanner/index.js.map +1 -1
  63. package/dist/cjs/MobileBanner/propTypes.js +9 -16
  64. package/dist/cjs/MobileBanner/propTypes.js.map +1 -1
  65. package/dist/cjs/MobileBanner/styles.js +27 -27
  66. package/dist/cjs/MobileBanner/styles.js.map +2 -2
  67. package/dist/cjs/MobileBanner/utils/bannerTypes.js +9 -16
  68. package/dist/cjs/MobileBanner/utils/bannerTypes.js.map +1 -1
  69. package/dist/cjs/MobileBanner/utils/icons.js +19 -22
  70. package/dist/cjs/MobileBanner/utils/icons.js.map +2 -2
  71. package/dist/cjs/MobileBanner/utils/styleHelpers.js +9 -16
  72. package/dist/cjs/MobileBanner/utils/styleHelpers.js.map +1 -1
  73. package/dist/cjs/MobileCard/ActionAddon.js +9 -16
  74. package/dist/cjs/MobileCard/ActionAddon.js.map +1 -1
  75. package/dist/cjs/MobileCard/Card.js +12 -18
  76. package/dist/cjs/MobileCard/Card.js.map +2 -2
  77. package/dist/cjs/MobileCard/CardIcons.js +9 -16
  78. package/dist/cjs/MobileCard/CardIcons.js.map +1 -1
  79. package/dist/cjs/MobileCard/ExpandChevron.js +9 -16
  80. package/dist/cjs/MobileCard/ExpandChevron.js.map +1 -1
  81. package/dist/cjs/MobileCard/ExpandableRegion.js +9 -16
  82. package/dist/cjs/MobileCard/ExpandableRegion.js.map +1 -1
  83. package/dist/cjs/MobileCard/Group.js +12 -18
  84. package/dist/cjs/MobileCard/Group.js.map +2 -2
  85. package/dist/cjs/MobileCard/StyledCard.js +9 -16
  86. package/dist/cjs/MobileCard/StyledCard.js.map +1 -1
  87. package/dist/cjs/MobileCard/index.js +11 -17
  88. package/dist/cjs/MobileCard/index.js.map +1 -1
  89. package/dist/cjs/MobileCard/props.js +9 -16
  90. package/dist/cjs/MobileCard/props.js.map +1 -1
  91. package/dist/cjs/MobileCard/useHeight.js +9 -16
  92. package/dist/cjs/MobileCard/useHeight.js.map +1 -1
  93. package/dist/cjs/MobileContextMenu/MobileContextMenu.js +12 -18
  94. package/dist/cjs/MobileContextMenu/MobileContextMenu.js.map +2 -2
  95. package/dist/cjs/MobileContextMenu/MobileContextMenuGroup.js +10 -16
  96. package/dist/cjs/MobileContextMenu/MobileContextMenuGroup.js.map +2 -2
  97. package/dist/cjs/MobileContextMenu/MobileContextMenuItem.js +12 -18
  98. package/dist/cjs/MobileContextMenu/MobileContextMenuItem.js.map +2 -2
  99. package/dist/cjs/MobileContextMenu/index.js +13 -19
  100. package/dist/cjs/MobileContextMenu/index.js.map +1 -1
  101. package/dist/cjs/MobileDatePicker/Input.js +9 -16
  102. package/dist/cjs/MobileDatePicker/Input.js.map +1 -1
  103. package/dist/cjs/MobileDatePicker/MobileDatePicker.js +10 -16
  104. package/dist/cjs/MobileDatePicker/MobileDatePicker.js.map +2 -2
  105. package/dist/cjs/MobileDatePicker/index.js +11 -17
  106. package/dist/cjs/MobileDatePicker/index.js.map +1 -1
  107. package/dist/cjs/MobileDropdownMenu/MobileDropdownInput.js +9 -16
  108. package/dist/cjs/MobileDropdownMenu/MobileDropdownInput.js.map +1 -1
  109. package/dist/cjs/MobileDropdownMenu/MobileDropdownMenu.js +10 -16
  110. package/dist/cjs/MobileDropdownMenu/MobileDropdownMenu.js.map +2 -2
  111. package/dist/cjs/MobileDropdownMenu/index.js +11 -17
  112. package/dist/cjs/MobileDropdownMenu/index.js.map +1 -1
  113. package/dist/cjs/MobileEmtpyState/MobileEmptyState.js +10 -16
  114. package/dist/cjs/MobileEmtpyState/MobileEmptyState.js.map +2 -2
  115. package/dist/cjs/MobileEmtpyState/index.js +11 -17
  116. package/dist/cjs/MobileEmtpyState/index.js.map +1 -1
  117. package/dist/cjs/MobileFilterbar/Filterbar.js +10 -16
  118. package/dist/cjs/MobileFilterbar/Filterbar.js.map +2 -2
  119. package/dist/cjs/MobileFilterbar/FilterbarItem.js +10 -16
  120. package/dist/cjs/MobileFilterbar/FilterbarItem.js.map +2 -2
  121. package/dist/cjs/MobileFilterbar/FilterbarSort.js +10 -16
  122. package/dist/cjs/MobileFilterbar/FilterbarSort.js.map +2 -2
  123. package/dist/cjs/MobileFilterbar/index.js +9 -16
  124. package/dist/cjs/MobileFilterbar/index.js.map +1 -1
  125. package/dist/cjs/MobileFooter/Action.js +10 -16
  126. package/dist/cjs/MobileFooter/Action.js.map +2 -2
  127. package/dist/cjs/MobileFooter/Footer.js +10 -16
  128. package/dist/cjs/MobileFooter/Footer.js.map +2 -2
  129. package/dist/cjs/MobileFooter/Text.js +10 -16
  130. package/dist/cjs/MobileFooter/Text.js.map +2 -2
  131. package/dist/cjs/MobileFooter/index.js +9 -16
  132. package/dist/cjs/MobileFooter/index.js.map +1 -1
  133. package/dist/cjs/MobileListItem/MobileListItem.js +10 -16
  134. package/dist/cjs/MobileListItem/MobileListItem.js.map +2 -2
  135. package/dist/cjs/MobileListItem/index.js +11 -17
  136. package/dist/cjs/MobileListItem/index.js.map +1 -1
  137. package/dist/cjs/MobilePageHeader/MobilePageHeader.js +10 -16
  138. package/dist/cjs/MobilePageHeader/MobilePageHeader.js.map +2 -2
  139. package/dist/cjs/MobilePageHeader/index.js +11 -17
  140. package/dist/cjs/MobilePageHeader/index.js.map +1 -1
  141. package/dist/cjs/MobileSelectList/MobileSelectList.js +9 -16
  142. package/dist/cjs/MobileSelectList/MobileSelectList.js.map +1 -1
  143. package/dist/cjs/MobileSelectList/index.js +11 -17
  144. package/dist/cjs/MobileSelectList/index.js.map +1 -1
  145. package/dist/cjs/MobileSelectList/styled.js +9 -16
  146. package/dist/cjs/MobileSelectList/styled.js.map +1 -1
  147. package/dist/cjs/MobileSeparator/Separator.js +10 -16
  148. package/dist/cjs/MobileSeparator/Separator.js.map +2 -2
  149. package/dist/cjs/MobileSeparator/index.js +9 -16
  150. package/dist/cjs/MobileSeparator/index.js.map +1 -1
  151. package/dist/cjs/MobileTimePicker/Input.js +9 -16
  152. package/dist/cjs/MobileTimePicker/Input.js.map +1 -1
  153. package/dist/cjs/MobileTimePicker/MobileTimePicker.js +10 -16
  154. package/dist/cjs/MobileTimePicker/MobileTimePicker.js.map +2 -2
  155. package/dist/cjs/MobileTimePicker/index.js +11 -17
  156. package/dist/cjs/MobileTimePicker/index.js.map +1 -1
  157. package/dist/cjs/MobileTouchable/MobileTouchable.js +9 -16
  158. package/dist/cjs/MobileTouchable/MobileTouchable.js.map +1 -1
  159. package/dist/cjs/MobileTouchable/index.js +11 -17
  160. package/dist/cjs/MobileTouchable/index.js.map +1 -1
  161. package/dist/cjs/Modal/Modal.js +10 -16
  162. package/dist/cjs/Modal/Modal.js.map +2 -2
  163. package/dist/cjs/Modal/index.js +9 -16
  164. package/dist/cjs/Modal/index.js.map +1 -1
  165. package/dist/cjs/Modal/styled.js +9 -16
  166. package/dist/cjs/Modal/styled.js.map +1 -1
  167. package/dist/cjs/PageFilter/PageFilter.js +9 -16
  168. package/dist/cjs/PageFilter/PageFilter.js.map +1 -1
  169. package/dist/cjs/PageForm/PageForm.js +9 -16
  170. package/dist/cjs/PageForm/PageForm.js.map +1 -1
  171. package/dist/cjs/PageList/PageList.js +9 -16
  172. package/dist/cjs/PageList/PageList.js.map +1 -1
  173. package/dist/cjs/PageList/index.js +11 -17
  174. package/dist/cjs/PageList/index.js.map +1 -1
  175. package/dist/cjs/PageSearch/PageSearch.js +9 -16
  176. package/dist/cjs/PageSearch/PageSearch.js.map +1 -1
  177. package/dist/cjs/PageSummary/PageSummary.js +9 -16
  178. package/dist/cjs/PageSummary/PageSummary.js.map +1 -1
  179. package/dist/cjs/PageSummary/Tags.js +9 -16
  180. package/dist/cjs/PageSummary/Tags.js.map +1 -1
  181. package/dist/cjs/SideNav/SideNav.js +10 -16
  182. package/dist/cjs/SideNav/SideNav.js.map +2 -2
  183. package/dist/cjs/SideNav/index.js +9 -16
  184. package/dist/cjs/SideNav/index.js.map +1 -1
  185. package/dist/cjs/SideNav/styles.js +9 -16
  186. package/dist/cjs/SideNav/styles.js.map +1 -1
  187. package/dist/cjs/SwipeToRefresh/ProgressIndicator.js +9 -16
  188. package/dist/cjs/SwipeToRefresh/ProgressIndicator.js.map +1 -1
  189. package/dist/cjs/SwipeToRefresh/ProgressLoader.js +9 -16
  190. package/dist/cjs/SwipeToRefresh/ProgressLoader.js.map +1 -1
  191. package/dist/cjs/SwipeToRefresh/SwipeToRefresh.js +10 -16
  192. package/dist/cjs/SwipeToRefresh/SwipeToRefresh.js.map +2 -2
  193. package/dist/cjs/SwipeToRefresh/styled.js +9 -16
  194. package/dist/cjs/SwipeToRefresh/styled.js.map +1 -1
  195. package/dist/cjs/SwipeToRefresh/useSwipe.js +9 -16
  196. package/dist/cjs/SwipeToRefresh/useSwipe.js.map +1 -1
  197. package/dist/cjs/Tabs/index.js +11 -16
  198. package/dist/cjs/Tabs/index.js.map +2 -2
  199. package/dist/cjs/Tabs/propTypes.js +10 -17
  200. package/dist/cjs/Tabs/propTypes.js.map +2 -2
  201. package/dist/cjs/index.js +34 -40
  202. package/dist/cjs/index.js.map +1 -1
  203. package/dist/esm/Accordion/{Accordion.js → DSMobileAccordion.js} +4 -4
  204. package/dist/esm/Accordion/DSMobileAccordion.js.map +7 -0
  205. package/dist/esm/Accordion/index.js +1 -1
  206. package/dist/esm/Accordion/index.js.map +2 -2
  207. package/dist/esm/Accordion/{propTypes.js → react-desc-prop-types.js} +28 -9
  208. package/dist/esm/Accordion/react-desc-prop-types.js.map +7 -0
  209. package/dist/esm/CategoryBox/CategoryBox.js +1 -0
  210. package/dist/esm/CategoryBox/CategoryBox.js.map +2 -2
  211. package/dist/esm/CollectionBox/CollectionBox.js +1 -0
  212. package/dist/esm/CollectionBox/CollectionBox.js.map +2 -2
  213. package/dist/esm/FullPageContainer/FullPageContainer.js.map +1 -1
  214. package/dist/esm/FullPageContainer/FullPageContainerScroll.js.map +1 -1
  215. package/dist/esm/FullPageContainer/useMobileHeight.js.map +1 -1
  216. package/dist/esm/GlobalHeader/MobileGlobalHeader.js +1 -0
  217. package/dist/esm/GlobalHeader/MobileGlobalHeader.js.map +2 -2
  218. package/dist/esm/GroupBox/GroupBox.js +1 -0
  219. package/dist/esm/GroupBox/GroupBox.js.map +2 -2
  220. package/dist/esm/Icons/EM_logo.js.map +1 -1
  221. package/dist/esm/InfiniteLoader/Infiniteloader.js +1 -0
  222. package/dist/esm/InfiniteLoader/Infiniteloader.js.map +2 -2
  223. package/dist/esm/InfiniteLoader/Loader.js.map +1 -1
  224. package/dist/esm/InfiniteLoader/VirtualizedInfiniteLoader.js +1 -0
  225. package/dist/esm/InfiniteLoader/VirtualizedInfiniteLoader.js.map +2 -2
  226. package/dist/esm/LoadingPage/Page.js.map +1 -1
  227. package/dist/esm/MobileActionToolbar/MobileActionToolbar.js +1 -0
  228. package/dist/esm/MobileActionToolbar/MobileActionToolbar.js.map +2 -2
  229. package/dist/esm/MobileActionToolbar/MobileActionToolbarItem.js +1 -0
  230. package/dist/esm/MobileActionToolbar/MobileActionToolbarItem.js.map +2 -2
  231. package/dist/esm/MobileBanner/MobileBanner.js +10 -8
  232. package/dist/esm/MobileBanner/MobileBanner.js.map +2 -2
  233. package/dist/esm/MobileBanner/defaultProps.js.map +1 -1
  234. package/dist/esm/MobileBanner/propTypes.js.map +1 -1
  235. package/dist/esm/MobileBanner/styles.js +18 -11
  236. package/dist/esm/MobileBanner/styles.js.map +2 -2
  237. package/dist/esm/MobileBanner/utils/bannerTypes.js.map +1 -1
  238. package/dist/esm/MobileBanner/utils/icons.js +10 -6
  239. package/dist/esm/MobileBanner/utils/icons.js.map +2 -2
  240. package/dist/esm/MobileBanner/utils/styleHelpers.js.map +1 -1
  241. package/dist/esm/MobileCard/ActionAddon.js.map +1 -1
  242. package/dist/esm/MobileCard/Card.js +2 -1
  243. package/dist/esm/MobileCard/Card.js.map +2 -2
  244. package/dist/esm/MobileCard/CardIcons.js.map +1 -1
  245. package/dist/esm/MobileCard/ExpandChevron.js.map +1 -1
  246. package/dist/esm/MobileCard/ExpandableRegion.js.map +1 -1
  247. package/dist/esm/MobileCard/Group.js +2 -1
  248. package/dist/esm/MobileCard/Group.js.map +2 -2
  249. package/dist/esm/MobileCard/StyledCard.js.map +1 -1
  250. package/dist/esm/MobileCard/props.js.map +1 -1
  251. package/dist/esm/MobileCard/useHeight.js.map +1 -1
  252. package/dist/esm/MobileContextMenu/MobileContextMenu.js +2 -1
  253. package/dist/esm/MobileContextMenu/MobileContextMenu.js.map +2 -2
  254. package/dist/esm/MobileContextMenu/MobileContextMenuGroup.js +1 -0
  255. package/dist/esm/MobileContextMenu/MobileContextMenuGroup.js.map +2 -2
  256. package/dist/esm/MobileContextMenu/MobileContextMenuItem.js +2 -1
  257. package/dist/esm/MobileContextMenu/MobileContextMenuItem.js.map +2 -2
  258. package/dist/esm/MobileDatePicker/Input.js.map +1 -1
  259. package/dist/esm/MobileDatePicker/MobileDatePicker.js +1 -0
  260. package/dist/esm/MobileDatePicker/MobileDatePicker.js.map +2 -2
  261. package/dist/esm/MobileDropdownMenu/MobileDropdownInput.js.map +1 -1
  262. package/dist/esm/MobileDropdownMenu/MobileDropdownMenu.js +1 -0
  263. package/dist/esm/MobileDropdownMenu/MobileDropdownMenu.js.map +2 -2
  264. package/dist/esm/MobileEmtpyState/MobileEmptyState.js +1 -0
  265. package/dist/esm/MobileEmtpyState/MobileEmptyState.js.map +2 -2
  266. package/dist/esm/MobileFilterbar/Filterbar.js +1 -0
  267. package/dist/esm/MobileFilterbar/Filterbar.js.map +2 -2
  268. package/dist/esm/MobileFilterbar/FilterbarItem.js +1 -0
  269. package/dist/esm/MobileFilterbar/FilterbarItem.js.map +2 -2
  270. package/dist/esm/MobileFilterbar/FilterbarSort.js +1 -0
  271. package/dist/esm/MobileFilterbar/FilterbarSort.js.map +2 -2
  272. package/dist/esm/MobileFooter/Action.js +1 -0
  273. package/dist/esm/MobileFooter/Action.js.map +2 -2
  274. package/dist/esm/MobileFooter/Footer.js +1 -0
  275. package/dist/esm/MobileFooter/Footer.js.map +2 -2
  276. package/dist/esm/MobileFooter/Text.js +1 -0
  277. package/dist/esm/MobileFooter/Text.js.map +2 -2
  278. package/dist/esm/MobileListItem/MobileListItem.js +1 -0
  279. package/dist/esm/MobileListItem/MobileListItem.js.map +2 -2
  280. package/dist/esm/MobilePageHeader/MobilePageHeader.js +1 -0
  281. package/dist/esm/MobilePageHeader/MobilePageHeader.js.map +2 -2
  282. package/dist/esm/MobileSelectList/MobileSelectList.js.map +1 -1
  283. package/dist/esm/MobileSelectList/styled.js.map +1 -1
  284. package/dist/esm/MobileSeparator/Separator.js +1 -0
  285. package/dist/esm/MobileSeparator/Separator.js.map +2 -2
  286. package/dist/esm/MobileTimePicker/Input.js.map +1 -1
  287. package/dist/esm/MobileTimePicker/MobileTimePicker.js +1 -0
  288. package/dist/esm/MobileTimePicker/MobileTimePicker.js.map +2 -2
  289. package/dist/esm/MobileTouchable/MobileTouchable.js.map +1 -1
  290. package/dist/esm/Modal/Modal.js +1 -0
  291. package/dist/esm/Modal/Modal.js.map +2 -2
  292. package/dist/esm/Modal/styled.js.map +1 -1
  293. package/dist/esm/PageFilter/PageFilter.js.map +1 -1
  294. package/dist/esm/PageForm/PageForm.js.map +1 -1
  295. package/dist/esm/PageList/PageList.js.map +1 -1
  296. package/dist/esm/PageSearch/PageSearch.js.map +1 -1
  297. package/dist/esm/PageSummary/PageSummary.js.map +1 -1
  298. package/dist/esm/SideNav/SideNav.js +1 -0
  299. package/dist/esm/SideNav/SideNav.js.map +2 -2
  300. package/dist/esm/SwipeToRefresh/ProgressIndicator.js.map +1 -1
  301. package/dist/esm/SwipeToRefresh/ProgressLoader.js.map +1 -1
  302. package/dist/esm/SwipeToRefresh/SwipeToRefresh.js +1 -0
  303. package/dist/esm/SwipeToRefresh/SwipeToRefresh.js.map +2 -2
  304. package/dist/esm/SwipeToRefresh/styled.js.map +1 -1
  305. package/dist/esm/SwipeToRefresh/useSwipe.js.map +1 -1
  306. package/dist/esm/Tabs/index.js +2 -0
  307. package/dist/esm/Tabs/index.js.map +2 -2
  308. package/dist/esm/Tabs/propTypes.js +1 -1
  309. package/dist/esm/Tabs/propTypes.js.map +2 -2
  310. package/package.json +25 -24
  311. package/dist/cjs/Accordion/Accordion.js.map +0 -7
  312. package/dist/cjs/Accordion/propTypes.js +0 -57
  313. package/dist/cjs/Accordion/propTypes.js.map +0 -7
  314. package/dist/esm/Accordion/Accordion.js.map +0 -7
  315. package/dist/esm/Accordion/propTypes.js.map +0 -7
@@ -18,32 +18,26 @@ var __spreadValues = (a, b) => {
18
18
  }
19
19
  return a;
20
20
  };
21
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
22
21
  var __export = (target, all) => {
23
22
  for (var name in all)
24
23
  __defProp(target, name, { get: all[name], enumerable: true });
25
24
  };
26
- var __reExport = (target, module2, copyDefault, desc) => {
27
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
28
- for (let key of __getOwnPropNames(module2))
29
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
30
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
25
+ var __copyProps = (to, from, except, desc) => {
26
+ if (from && typeof from === "object" || typeof from === "function") {
27
+ for (let key of __getOwnPropNames(from))
28
+ if (!__hasOwnProp.call(to, key) && key !== except)
29
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
31
30
  }
32
- return target;
31
+ return to;
33
32
  };
34
- var __toESM = (module2, isNodeMode) => {
35
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
36
- };
37
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
38
- return (module2, temp) => {
39
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
40
- };
41
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
33
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
34
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
42
35
  var Separator_exports = {};
43
36
  __export(Separator_exports, {
44
37
  MobileSeparatorWithSchema: () => MobileSeparatorWithSchema,
45
38
  default: () => Separator_default
46
39
  });
40
+ module.exports = __toCommonJS(Separator_exports);
47
41
  var React = __toESM(require("react"));
48
42
  var import_react = __toESM(require("react"));
49
43
  var import_react_desc = require("react-desc");
@@ -73,8 +67,8 @@ const mobileSeparatorProps = {
73
67
  margin: import_react_desc.PropTypes.oneOf(["xxs", "xs", "s", "m", "l", "xl", "xxl"]).description("Margin of the separator").defaultValue("xs")
74
68
  };
75
69
  MobileSeparator.propTypes = mobileSeparatorProps;
70
+ MobileSeparator.displayName = "MobileSeparator";
76
71
  const MobileSeparatorWithSchema = (0, import_react_desc.describe)(MobileSeparator);
77
72
  MobileSeparatorWithSchema.propTypes = mobileSeparatorProps;
78
73
  var Separator_default = MobileSeparator;
79
- module.exports = __toCommonJS(Separator_exports);
80
74
  //# sourceMappingURL=Separator.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/MobileSeparator/Separator.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React from 'react';\nimport { describe, PropTypes } from 'react-desc';\nimport styled from 'styled-components';\nimport { Grid } from '@elliemae/ds-grid';\n\nconst Separator = styled(Grid)`\n border-top: ${({ theme, color, borderType }) => `${theme.colors[color[0]][color[1]]} 1px ${borderType}`};\n border-left: ${({ theme, color, borderType }) => `${theme.colors[color[0]][color[1]]} 1px ${borderType}`};\n`;\n\nconst MobileSeparator = ({ color = ['neutral', '800'], direction = 'horizontal', type = 'solid', margin = 'xs' }) => {\n const orientation = direction === 'vertical' ? 'height' : 'width';\n const xORy = direction === 'vertical' ? 'mx' : 'my';\n const styles = {\n width: 0,\n height: 0,\n [orientation]: '100%',\n [xORy]: margin,\n borderType: type,\n color,\n };\n return <Separator {...styles} />;\n};\n\nconst mobileSeparatorProps = {\n type: PropTypes.oneOf(['solid', 'dashed']).description('Style type of separator').defaultValue('solid'),\n direction: PropTypes.oneOf(['vertical', 'horizontal'])\n .description('Direction of the separator')\n .defaultValue('horizontal'),\n color: PropTypes.array.description('Color of the separator').defaultValue(['neutral', '800']),\n margin: PropTypes.oneOf(['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'])\n .description('Margin of the separator')\n .defaultValue('xs'),\n};\n\nMobileSeparator.propTypes = mobileSeparatorProps;\n\nconst MobileSeparatorWithSchema = describe(MobileSeparator);\nMobileSeparatorWithSchema.propTypes = mobileSeparatorProps;\n\nexport { MobileSeparatorWithSchema };\nexport default MobileSeparator;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,wBAAoC;AACpC,+BAAmB;AACnB,qBAAqB;AAErB,MAAM,YAAY,sCAAO;AAAA,gBACT,CAAC,EAAE,OAAO,OAAO,iBAAiB,GAAG,MAAM,OAAO,MAAM,IAAI,MAAM,WAAW;AAAA,iBAC5E,CAAC,EAAE,OAAO,OAAO,iBAAiB,GAAG,MAAM,OAAO,MAAM,IAAI,MAAM,WAAW;AAAA;AAG9F,MAAM,kBAAkB,CAAC,EAAE,QAAQ,CAAC,WAAW,QAAQ,YAAY,cAAc,OAAO,SAAS,SAAS,WAAW;AACnH,QAAM,cAAc,cAAc,aAAa,WAAW;AAC1D,QAAM,OAAO,cAAc,aAAa,OAAO;AAC/C,QAAM,SAAS;AAAA,IACb,OAAO;AAAA,IACP,QAAQ;AAAA,KACP,cAAc;AAAA,KACd,OAAO;AAAA,IACR,YAAY;AAAA,IACZ;AAAA;AAEF,SAAO,mDAAC,WAAD,mBAAe;AAAA;AAGxB,MAAM,uBAAuB;AAAA,EAC3B,MAAM,4BAAU,MAAM,CAAC,SAAS,WAAW,YAAY,2BAA2B,aAAa;AAAA,EAC/F,WAAW,4BAAU,MAAM,CAAC,YAAY,eACrC,YAAY,8BACZ,aAAa;AAAA,EAChB,OAAO,4BAAU,MAAM,YAAY,0BAA0B,aAAa,CAAC,WAAW;AAAA,EACtF,QAAQ,4BAAU,MAAM,CAAC,OAAO,MAAM,KAAK,KAAK,KAAK,MAAM,QACxD,YAAY,2BACZ,aAAa;AAAA;AAGlB,gBAAgB,YAAY;AAE5B,MAAM,4BAA4B,gCAAS;AAC3C,0BAA0B,YAAY;AAGtC,IAAO,oBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport { describe, PropTypes } from 'react-desc';\nimport styled from 'styled-components';\nimport { Grid } from '@elliemae/ds-grid';\n\nconst Separator = styled(Grid)`\n border-top: ${({ theme, color, borderType }) => `${theme.colors[color[0]][color[1]]} 1px ${borderType}`};\n border-left: ${({ theme, color, borderType }) => `${theme.colors[color[0]][color[1]]} 1px ${borderType}`};\n`;\n\nconst MobileSeparator = ({ color = ['neutral', '800'], direction = 'horizontal', type = 'solid', margin = 'xs' }) => {\n const orientation = direction === 'vertical' ? 'height' : 'width';\n const xORy = direction === 'vertical' ? 'mx' : 'my';\n const styles = {\n width: 0,\n height: 0,\n [orientation]: '100%',\n [xORy]: margin,\n borderType: type,\n color,\n };\n return <Separator {...styles} />;\n};\n\nconst mobileSeparatorProps = {\n type: PropTypes.oneOf(['solid', 'dashed']).description('Style type of separator').defaultValue('solid'),\n direction: PropTypes.oneOf(['vertical', 'horizontal'])\n .description('Direction of the separator')\n .defaultValue('horizontal'),\n color: PropTypes.array.description('Color of the separator').defaultValue(['neutral', '800']),\n margin: PropTypes.oneOf(['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'])\n .description('Margin of the separator')\n .defaultValue('xs'),\n};\n\nMobileSeparator.propTypes = mobileSeparatorProps;\nMobileSeparator.displayName = 'MobileSeparator';\nconst MobileSeparatorWithSchema = describe(MobileSeparator);\nMobileSeparatorWithSchema.propTypes = mobileSeparatorProps;\n\nexport { MobileSeparatorWithSchema };\nexport default MobileSeparator;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,wBAAoC;AACpC,+BAAmB;AACnB,qBAAqB;AAErB,MAAM,YAAY,sCAAO,mBAAI;AAAA,gBACb,CAAC,EAAE,OAAO,OAAO,iBAAiB,GAAG,MAAM,OAAO,MAAM,IAAI,MAAM,WAAW;AAAA,iBAC5E,CAAC,EAAE,OAAO,OAAO,iBAAiB,GAAG,MAAM,OAAO,MAAM,IAAI,MAAM,WAAW;AAAA;AAG9F,MAAM,kBAAkB,CAAC,EAAE,QAAQ,CAAC,WAAW,KAAK,GAAG,YAAY,cAAc,OAAO,SAAS,SAAS,WAAW;AACnH,QAAM,cAAc,cAAc,aAAa,WAAW;AAC1D,QAAM,OAAO,cAAc,aAAa,OAAO;AAC/C,QAAM,SAAS;AAAA,IACb,OAAO;AAAA,IACP,QAAQ;AAAA,KACP,cAAc;AAAA,KACd,OAAO;AAAA,IACR,YAAY;AAAA,IACZ;AAAA,EACF;AACA,SAAO,mDAAC,8BAAc,OAAQ;AAChC;AAEA,MAAM,uBAAuB;AAAA,EAC3B,MAAM,4BAAU,MAAM,CAAC,SAAS,QAAQ,CAAC,EAAE,YAAY,yBAAyB,EAAE,aAAa,OAAO;AAAA,EACtG,WAAW,4BAAU,MAAM,CAAC,YAAY,YAAY,CAAC,EAClD,YAAY,4BAA4B,EACxC,aAAa,YAAY;AAAA,EAC5B,OAAO,4BAAU,MAAM,YAAY,wBAAwB,EAAE,aAAa,CAAC,WAAW,KAAK,CAAC;AAAA,EAC5F,QAAQ,4BAAU,MAAM,CAAC,OAAO,MAAM,KAAK,KAAK,KAAK,MAAM,KAAK,CAAC,EAC9D,YAAY,yBAAyB,EACrC,aAAa,IAAI;AACtB;AAEA,gBAAgB,YAAY;AAC5B,gBAAgB,cAAc;AAC9B,MAAM,4BAA4B,gCAAS,eAAe;AAC1D,0BAA0B,YAAY;AAGtC,IAAO,oBAAQ;",
6
6
  "names": []
7
7
  }
@@ -4,34 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var MobileSeparator_exports = {};
29
22
  __export(MobileSeparator_exports, {
30
23
  MobileSeparatorWithSchema: () => import_Separator.MobileSeparatorWithSchema,
31
24
  default: () => MobileSeparator_default
32
25
  });
26
+ module.exports = __toCommonJS(MobileSeparator_exports);
33
27
  var React = __toESM(require("react"));
34
28
  var import_Separator = __toESM(require("./Separator"));
35
29
  var MobileSeparator_default = import_Separator.default;
36
- module.exports = __toCommonJS(MobileSeparator_exports);
37
30
  //# sourceMappingURL=index.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/MobileSeparator/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import DSMobileSeparator, { MobileSeparatorWithSchema } from './Separator';\n\nexport { MobileSeparatorWithSchema };\nexport default DSMobileSeparator;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAA6D;AAG7D,IAAO,0BAAQ;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAA6D;AAG7D,IAAO,0BAAQ;",
6
6
  "names": []
7
7
  }
@@ -18,7 +18,6 @@ var __spreadValues = (a, b) => {
18
18
  }
19
19
  return a;
20
20
  };
21
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
22
21
  var __objRest = (source, exclude) => {
23
22
  var target = {};
24
23
  for (var prop in source)
@@ -35,26 +34,21 @@ var __export = (target, all) => {
35
34
  for (var name in all)
36
35
  __defProp(target, name, { get: all[name], enumerable: true });
37
36
  };
38
- var __reExport = (target, module2, copyDefault, desc) => {
39
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
40
- for (let key of __getOwnPropNames(module2))
41
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
42
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
37
+ var __copyProps = (to, from, except, desc) => {
38
+ if (from && typeof from === "object" || typeof from === "function") {
39
+ for (let key of __getOwnPropNames(from))
40
+ if (!__hasOwnProp.call(to, key) && key !== except)
41
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
43
42
  }
44
- return target;
45
- };
46
- var __toESM = (module2, isNodeMode) => {
47
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
43
+ return to;
48
44
  };
49
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
50
- return (module2, temp) => {
51
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
52
- };
53
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
45
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
46
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
54
47
  var Input_exports = {};
55
48
  __export(Input_exports, {
56
49
  Input: () => Input
57
50
  });
51
+ module.exports = __toCommonJS(Input_exports);
58
52
  var React = __toESM(require("react"));
59
53
  var import_react = __toESM(require("react"));
60
54
  var import_ds_system = require("@elliemae/ds-system");
@@ -102,5 +96,4 @@ const Input = (_a) => {
102
96
  ref: innerRef
103
97
  }, props));
104
98
  };
105
- module.exports = __toCommonJS(Input_exports);
106
99
  //# sourceMappingURL=Input.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/MobileTimePicker/Input.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { focus, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';\nimport styled from 'styled-components';\n\nconst StyledInput = styled.input`\n input[type=time]& { \n -webkit-appearance: none;\n -moz-appearance: none;\n -webkit-tap-highlight-color: transparent;\n appearance: none;\n color: transparent;\n\n white-space: nowrap;\n position: relative;\n height: ${props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.l)};\n width: 100%;\n max-width: calc(100% - 32px);\n outline: none;\n box-sizing: border-box;\n display: flex;\n background: ${props => props.theme.colors.neutral['000']};\n padding: 0 ${props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs)};\n z-index: 1;\n border-radius: 2px;\n border: solid 1px ${props => props.theme.colors.neutral[200]};\n }\n\n input[type=time]&:active, input[type=time]&:focus {\n ${props => focus(props.theme.colors.brand[700])}\n }\n\n &:before {\n color: ${props =>\n props.value === ''\n ? props.theme.colors.neutral['500']\n : props.theme.colors.neutral['800']};\n content: '${props =>\n props.value === '' ? props.placeholder : props['data-displayvalue']}';\n }\n\n input[type=time]&::-webkit-datetime-edit, input[type=time]&::-webkit-inner-spin-button, input[type=time]&::-webkit-clear-button {\n -webkit-appearance: none;\n display: none;\n }\n`;\n\nexport const Input = ({ innerRef, ...props }) => (\n <StyledInput ref={innerRef} {...props} />\n);\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,uBAAgD;AAChD,+BAAmB;AAEnB,MAAM,cAAc,iCAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAUb,WAAS,+CAAyB,MAAM,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAMhD,WAAS,MAAM,MAAM,OAAO,QAAQ;AAAA,iBACrC,WAAS,+CAAyB,MAAM,MAAM,MAAM;AAAA;AAAA;AAAA,wBAG7C,WAAS,MAAM,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA;AAAA,MAItD,WAAS,4BAAM,MAAM,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA,aAIjC,WACP,MAAM,UAAU,KACZ,MAAM,MAAM,OAAO,QAAQ,SAC3B,MAAM,MAAM,OAAO,QAAQ;AAAA,gBACrB,WACV,MAAM,UAAU,KAAK,MAAM,cAAc,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAS9C,MAAM,QAAQ,CAAC,OAAwB;AAAxB,eAAE,eAAF,IAAe,kBAAf,IAAe,CAAb;AACtB,4DAAC,aAAD;AAAA,IAAa,KAAK;AAAA,KAAc;AAAA;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,uBAAgD;AAChD,+BAAmB;AAEnB,MAAM,cAAc,iCAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAUb,WAAS,+CAAyB,MAAM,MAAM,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAMjD,WAAS,MAAM,MAAM,OAAO,QAAQ;AAAA,iBACrC,WAAS,+CAAyB,MAAM,MAAM,MAAM,EAAE;AAAA;AAAA;AAAA,wBAG/C,WAAS,MAAM,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA;AAAA,MAItD,WAAS,4BAAM,MAAM,MAAM,OAAO,MAAM,IAAI;AAAA;AAAA;AAAA;AAAA,aAIrC,WACP,MAAM,UAAU,KACZ,MAAM,MAAM,OAAO,QAAQ,SAC3B,MAAM,MAAM,OAAO,QAAQ;AAAA,gBACrB,WACV,MAAM,UAAU,KAAK,MAAM,cAAc,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAS9C,MAAM,QAAQ,CAAC,OAAwB;AAAxB,eAAE,eAAF,IAAe,kBAAf,IAAe,CAAb;AACtB,4DAAC;AAAA,IAAY,KAAK;AAAA,KAAc,MAAO;AAAA;",
6
6
  "names": []
7
7
  }
@@ -4,32 +4,26 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var MobileTimePicker_exports = {};
29
22
  __export(MobileTimePicker_exports, {
30
23
  DSMobileTimePicker: () => DSMobileTimePicker,
31
24
  DSMobileTimePickerWithSchema: () => DSMobileTimePickerWithSchema
32
25
  });
26
+ module.exports = __toCommonJS(MobileTimePicker_exports);
33
27
  var React = __toESM(require("react"));
34
28
  var import_react = __toESM(require("react"));
35
29
  var import_react_desc = require("react-desc");
@@ -100,7 +94,7 @@ const pickerProps = {
100
94
  value: import_react_desc.PropTypes.string.description("HH:MM string representing the time or empty string")
101
95
  };
102
96
  DSMobileTimePicker.propTypes = pickerProps;
97
+ DSMobileTimePicker.displayName = "DSMobileTimePicker";
103
98
  const DSMobileTimePickerWithSchema = (0, import_react_desc.describe)(DSMobileTimePicker).description("Time picker for mobile & tablet");
104
99
  DSMobileTimePickerWithSchema.propTypes = pickerProps;
105
- module.exports = __toCommonJS(MobileTimePicker_exports);
106
100
  //# sourceMappingURL=MobileTimePicker.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/MobileTimePicker/MobileTimePicker.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React, { useRef, useMemo, useEffect } from 'react';\nimport { PropTypes, describe } from 'react-desc';\nimport { DSIconColors } from '@elliemae/ds-icon';\nimport { RecentDocuments } from '@elliemae/ds-icons';\nimport DSButton from '@elliemae/ds-button';\nimport { DSInputGroup } from '@elliemae/ds-form';\nimport { Input } from './Input';\n\nconst DSMobileTimePicker = ({ disabled, value, tabIndex, placeholder, onChange }) => {\n const inputRef = useRef(null);\n const valueArr = value.split(':');\n useEffect(() => {\n /*\n necessary if value is being set in mount, \n otherwise the clear won't work on the first click\n [SEE input onChange comment]\n */\n if (inputRef.current) {\n inputRef.current.defaultValue = '';\n }\n }, [inputRef.current]);\n const displayValue = useMemo(() => {\n if (!value || !valueArr[0] || !valueArr[1]) return '';\n const ampm = valueArr[0] >= 12 ? 'pm' : 'am';\n const h = valueArr[0] > 12 ? valueArr[0] - 12 : valueArr[0];\n\n return `${h} : ${valueArr[1]} ${ampm}`;\n }, [value]);\n\n return (\n <DSInputGroup\n rightAddon={\n <DSButton\n aria-label=\"Time Picker Button\"\n color={!disabled ? DSIconColors.PRIMARY : DSIconColors.NEUTRAL}\n disabled={disabled}\n icon={<RecentDocuments />}\n type=\"button\"\n buttonType=\"secondary\"\n onClick={() => {\n inputRef.current.focus();\n inputRef.current.click();\n }}\n />\n }\n >\n <Input\n innerRef={inputRef}\n type=\"time\"\n data-testid=\"ds-mobile-time-picker\"\n aria-label=\"Time Picker Input Mask\"\n disabled={disabled}\n placeholder={placeholder}\n tabIndex={tabIndex}\n value={value}\n data-displayvalue={displayValue}\n onChange={(e) => {\n // https://github.com/facebook/react/issues/8938#issuecomment-360573204\n const { target } = e.nativeEvent;\n function iosClearDefault() {\n target.defaultValue = '';\n }\n window.setTimeout(iosClearDefault, 0);\n onChange(e);\n }}\n />\n </DSInputGroup>\n );\n};\n\nDSMobileTimePicker.defaultProps = {\n disabled: false,\n tabIndex: 0,\n placeholder: 'HH : MM am',\n value: '',\n};\n\nconst pickerProps = {\n /**\n * defaults to false\n */\n disabled: PropTypes.bool.description('disabled prop, defaults to false'),\n /**\n * 0 as default\n */\n tabIndex: PropTypes.number.description('focus order HTML property, 0 as default'),\n /**\n * HH : MM am as default\n */\n placeholder: PropTypes.string.description('HH : MM am as default'),\n /**\n * onChange handler, receives change event as first argument\n */\n onChange: PropTypes.func.description('onChange handler, receives change event as first argument'),\n /**\n * HH:MM string representing the time or empty string\n */\n value: PropTypes.string.description('HH:MM string representing the time or empty string'),\n};\n\nDSMobileTimePicker.propTypes = pickerProps;\n\nconst DSMobileTimePickerWithSchema = describe(DSMobileTimePicker).description('Time picker for mobile & tablet');\n\nDSMobileTimePickerWithSchema.propTypes = pickerProps;\n\nexport { DSMobileTimePicker, DSMobileTimePickerWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkD;AAClD,wBAAoC;AACpC,qBAA6B;AAC7B,sBAAgC;AAChC,uBAAqB;AACrB,qBAA6B;AAC7B,mBAAsB;AAEtB,MAAM,qBAAqB,CAAC,EAAE,UAAU,OAAO,UAAU,aAAa,eAAe;AACnF,QAAM,WAAW,yBAAO;AACxB,QAAM,WAAW,MAAM,MAAM;AAC7B,8BAAU,MAAM;AAMd,QAAI,SAAS,SAAS;AACpB,eAAS,QAAQ,eAAe;AAAA;AAAA,KAEjC,CAAC,SAAS;AACb,QAAM,eAAe,0BAAQ,MAAM;AACjC,QAAI,CAAC,SAAS,CAAC,SAAS,MAAM,CAAC,SAAS;AAAI,aAAO;AACnD,UAAM,OAAO,SAAS,MAAM,KAAK,OAAO;AACxC,UAAM,IAAI,SAAS,KAAK,KAAK,SAAS,KAAK,KAAK,SAAS;AAEzD,WAAO,GAAG,OAAO,SAAS,MAAM;AAAA,KAC/B,CAAC;AAEJ,SACE,mDAAC,6BAAD;AAAA,IACE,YACE,mDAAC,0BAAD;AAAA,MACE,cAAW;AAAA,MACX,OAAO,CAAC,WAAW,4BAAa,UAAU,4BAAa;AAAA,MACvD;AAAA,MACA,MAAM,mDAAC,iCAAD;AAAA,MACN,MAAK;AAAA,MACL,YAAW;AAAA,MACX,SAAS,MAAM;AACb,iBAAS,QAAQ;AACjB,iBAAS,QAAQ;AAAA;AAAA;AAAA,KAKvB,mDAAC,oBAAD;AAAA,IACE,UAAU;AAAA,IACV,MAAK;AAAA,IACL,eAAY;AAAA,IACZ,cAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,qBAAmB;AAAA,IACnB,UAAU,CAAC,MAAM;AAEf,YAAM,EAAE,WAAW,EAAE;AACrB,iCAA2B;AACzB,eAAO,eAAe;AAAA;AAExB,aAAO,WAAW,iBAAiB;AACnC,eAAS;AAAA;AAAA;AAAA;AAOnB,mBAAmB,eAAe;AAAA,EAChC,UAAU;AAAA,EACV,UAAU;AAAA,EACV,aAAa;AAAA,EACb,OAAO;AAAA;AAGT,MAAM,cAAc;AAAA,EAIlB,UAAU,4BAAU,KAAK,YAAY;AAAA,EAIrC,UAAU,4BAAU,OAAO,YAAY;AAAA,EAIvC,aAAa,4BAAU,OAAO,YAAY;AAAA,EAI1C,UAAU,4BAAU,KAAK,YAAY;AAAA,EAIrC,OAAO,4BAAU,OAAO,YAAY;AAAA;AAGtC,mBAAmB,YAAY;AAE/B,MAAM,+BAA+B,gCAAS,oBAAoB,YAAY;AAE9E,6BAA6B,YAAY;",
4
+ "sourcesContent": ["import React, { useRef, useMemo, useEffect } from 'react';\nimport { PropTypes, describe } from 'react-desc';\nimport { DSIconColors } from '@elliemae/ds-icon';\nimport { RecentDocuments } from '@elliemae/ds-icons';\nimport DSButton from '@elliemae/ds-button';\nimport { DSInputGroup } from '@elliemae/ds-form';\nimport { Input } from './Input';\n\nconst DSMobileTimePicker = ({ disabled, value, tabIndex, placeholder, onChange }) => {\n const inputRef = useRef(null);\n const valueArr = value.split(':');\n useEffect(() => {\n /*\n necessary if value is being set in mount, \n otherwise the clear won't work on the first click\n [SEE input onChange comment]\n */\n if (inputRef.current) {\n inputRef.current.defaultValue = '';\n }\n }, [inputRef.current]);\n const displayValue = useMemo(() => {\n if (!value || !valueArr[0] || !valueArr[1]) return '';\n const ampm = valueArr[0] >= 12 ? 'pm' : 'am';\n const h = valueArr[0] > 12 ? valueArr[0] - 12 : valueArr[0];\n\n return `${h} : ${valueArr[1]} ${ampm}`;\n }, [value]);\n\n return (\n <DSInputGroup\n rightAddon={\n <DSButton\n aria-label=\"Time Picker Button\"\n color={!disabled ? DSIconColors.PRIMARY : DSIconColors.NEUTRAL}\n disabled={disabled}\n icon={<RecentDocuments />}\n type=\"button\"\n buttonType=\"secondary\"\n onClick={() => {\n inputRef.current.focus();\n inputRef.current.click();\n }}\n />\n }\n >\n <Input\n innerRef={inputRef}\n type=\"time\"\n data-testid=\"ds-mobile-time-picker\"\n aria-label=\"Time Picker Input Mask\"\n disabled={disabled}\n placeholder={placeholder}\n tabIndex={tabIndex}\n value={value}\n data-displayvalue={displayValue}\n onChange={(e) => {\n // https://github.com/facebook/react/issues/8938#issuecomment-360573204\n const { target } = e.nativeEvent;\n function iosClearDefault() {\n target.defaultValue = '';\n }\n window.setTimeout(iosClearDefault, 0);\n onChange(e);\n }}\n />\n </DSInputGroup>\n );\n};\n\nDSMobileTimePicker.defaultProps = {\n disabled: false,\n tabIndex: 0,\n placeholder: 'HH : MM am',\n value: '',\n};\n\nconst pickerProps = {\n /**\n * defaults to false\n */\n disabled: PropTypes.bool.description('disabled prop, defaults to false'),\n /**\n * 0 as default\n */\n tabIndex: PropTypes.number.description('focus order HTML property, 0 as default'),\n /**\n * HH : MM am as default\n */\n placeholder: PropTypes.string.description('HH : MM am as default'),\n /**\n * onChange handler, receives change event as first argument\n */\n onChange: PropTypes.func.description('onChange handler, receives change event as first argument'),\n /**\n * HH:MM string representing the time or empty string\n */\n value: PropTypes.string.description('HH:MM string representing the time or empty string'),\n};\n\nDSMobileTimePicker.propTypes = pickerProps;\nDSMobileTimePicker.displayName = 'DSMobileTimePicker';\nconst DSMobileTimePickerWithSchema = describe(DSMobileTimePicker).description('Time picker for mobile & tablet');\n\nDSMobileTimePickerWithSchema.propTypes = pickerProps;\n\nexport { DSMobileTimePicker, DSMobileTimePickerWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkD;AAClD,wBAAoC;AACpC,qBAA6B;AAC7B,sBAAgC;AAChC,uBAAqB;AACrB,qBAA6B;AAC7B,mBAAsB;AAEtB,MAAM,qBAAqB,CAAC,EAAE,UAAU,OAAO,UAAU,aAAa,eAAe;AACnF,QAAM,WAAW,yBAAO,IAAI;AAC5B,QAAM,WAAW,MAAM,MAAM,GAAG;AAChC,8BAAU,MAAM;AAMd,QAAI,SAAS,SAAS;AACpB,eAAS,QAAQ,eAAe;AAAA,IAClC;AAAA,EACF,GAAG,CAAC,SAAS,OAAO,CAAC;AACrB,QAAM,eAAe,0BAAQ,MAAM;AACjC,QAAI,CAAC,SAAS,CAAC,SAAS,MAAM,CAAC,SAAS;AAAI,aAAO;AACnD,UAAM,OAAO,SAAS,MAAM,KAAK,OAAO;AACxC,UAAM,IAAI,SAAS,KAAK,KAAK,SAAS,KAAK,KAAK,SAAS;AAEzD,WAAO,GAAG,OAAO,SAAS,MAAM;AAAA,EAClC,GAAG,CAAC,KAAK,CAAC;AAEV,SACE,mDAAC;AAAA,IACC,YACE,mDAAC;AAAA,MACC,cAAW;AAAA,MACX,OAAO,CAAC,WAAW,4BAAa,UAAU,4BAAa;AAAA,MACvD;AAAA,MACA,MAAM,mDAAC,qCAAgB;AAAA,MACvB,MAAK;AAAA,MACL,YAAW;AAAA,MACX,SAAS,MAAM;AACb,iBAAS,QAAQ,MAAM;AACvB,iBAAS,QAAQ,MAAM;AAAA,MACzB;AAAA,KACF;AAAA,KAGF,mDAAC;AAAA,IACC,UAAU;AAAA,IACV,MAAK;AAAA,IACL,eAAY;AAAA,IACZ,cAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,qBAAmB;AAAA,IACnB,UAAU,CAAC,MAAM;AAEf,YAAM,EAAE,WAAW,EAAE;AACrB,iCAA2B;AACzB,eAAO,eAAe;AAAA,MACxB;AACA,aAAO,WAAW,iBAAiB,CAAC;AACpC,eAAS,CAAC;AAAA,IACZ;AAAA,GACF,CACF;AAEJ;AAEA,mBAAmB,eAAe;AAAA,EAChC,UAAU;AAAA,EACV,UAAU;AAAA,EACV,aAAa;AAAA,EACb,OAAO;AACT;AAEA,MAAM,cAAc;AAAA,EAIlB,UAAU,4BAAU,KAAK,YAAY,kCAAkC;AAAA,EAIvE,UAAU,4BAAU,OAAO,YAAY,yCAAyC;AAAA,EAIhF,aAAa,4BAAU,OAAO,YAAY,uBAAuB;AAAA,EAIjE,UAAU,4BAAU,KAAK,YAAY,2DAA2D;AAAA,EAIhG,OAAO,4BAAU,OAAO,YAAY,oDAAoD;AAC1F;AAEA,mBAAmB,YAAY;AAC/B,mBAAmB,cAAc;AACjC,MAAM,+BAA+B,gCAAS,kBAAkB,EAAE,YAAY,iCAAiC;AAE/G,6BAA6B,YAAY;",
6
6
  "names": []
7
7
  }
@@ -4,25 +4,19 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __reExport = (target, module2, copyDefault, desc) => {
9
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
10
- for (let key of __getOwnPropNames(module2))
11
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
12
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from))
10
+ if (!__hasOwnProp.call(to, key) && key !== except)
11
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
12
  }
14
- return target;
13
+ return to;
15
14
  };
16
- var __toESM = (module2, isNodeMode) => {
17
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
18
- };
19
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
20
- return (module2, temp) => {
21
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
22
- };
23
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
15
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
18
  var MobileTimePicker_exports = {};
25
- var React = __toESM(require("react"));
26
- __reExport(MobileTimePicker_exports, require("./MobileTimePicker"));
27
19
  module.exports = __toCommonJS(MobileTimePicker_exports);
20
+ var React = __toESM(require("react"));
21
+ __reExport(MobileTimePicker_exports, require("./MobileTimePicker"), module.exports);
28
22
  //# sourceMappingURL=index.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/MobileTimePicker/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export * from './MobileTimePicker';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA,YAAuB;ADAvB,qCAAc;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;ADAvB,qCAAc,+BAAd;",
6
6
  "names": []
7
7
  }
@@ -21,7 +21,6 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
25
24
  var __objRest = (source, exclude) => {
26
25
  var target = {};
27
26
  for (var prop in source)
@@ -38,26 +37,21 @@ var __export = (target, all) => {
38
37
  for (var name in all)
39
38
  __defProp(target, name, { get: all[name], enumerable: true });
40
39
  };
41
- var __reExport = (target, module2, copyDefault, desc) => {
42
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
43
- for (let key of __getOwnPropNames(module2))
44
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
45
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
40
+ var __copyProps = (to, from, except, desc) => {
41
+ if (from && typeof from === "object" || typeof from === "function") {
42
+ for (let key of __getOwnPropNames(from))
43
+ if (!__hasOwnProp.call(to, key) && key !== except)
44
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
45
  }
47
- return target;
48
- };
49
- var __toESM = (module2, isNodeMode) => {
50
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
46
+ return to;
51
47
  };
52
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
53
- return (module2, temp) => {
54
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
55
- };
56
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
48
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
49
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
57
50
  var MobileTouchable_exports = {};
58
51
  __export(MobileTouchable_exports, {
59
52
  DSMobileTouchable: () => DSMobileTouchable
60
53
  });
54
+ module.exports = __toCommonJS(MobileTouchable_exports);
61
55
  var React = __toESM(require("react"));
62
56
  var import_react = __toESM(require("react"));
63
57
  var import_lodash = require("lodash");
@@ -102,5 +96,4 @@ MobileTouchable.propTypes = {
102
96
  dataTestid: import_prop_types.default.string
103
97
  };
104
98
  const DSMobileTouchable = (0, import_ds_system.withTheme)(MobileTouchable);
105
- module.exports = __toCommonJS(MobileTouchable_exports);
106
99
  //# sourceMappingURL=MobileTouchable.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/MobileTouchable/MobileTouchable.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React, { useState, useCallback } from 'react';\nimport { noop } from 'lodash';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { Grid } from '@elliemae/ds-grid';\nimport { withTheme } from '@elliemae/ds-system';\n\nconst StyledContainer = styled(Grid)`\n cursor: pointer;\n background: ${(props) => (props.touching ? props.theme.colors.brand['100'] : props.theme.colors.neutral['000'])};\n`;\n\nconst MobileTouchable = ({\n children,\n onClick = noop,\n theme,\n dataTestid = 'mobile-touchable',\n render,\n ...gridProps\n}) => {\n const [touching, setTouching] = useState(false);\n const handleStart = useCallback(() => setTouching(true));\n const handleEnd = useCallback(() => setTouching(false));\n return (\n <StyledContainer\n {...gridProps}\n touching={touching}\n onClick={onClick}\n onTouchStart={handleStart}\n onTouchEnd={handleEnd}\n data-testid={dataTestid}\n >\n {children || render(gridProps)}\n </StyledContainer>\n );\n};\n\nMobileTouchable.propTypes = {\n onClick: PropTypes.func,\n children: PropTypes.any,\n render: PropTypes.func,\n theme: PropTypes.any,\n dataTestid: PropTypes.string,\n};\n\nconst DSMobileTouchable = withTheme(MobileTouchable);\n\nexport { DSMobileTouchable };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAA6C;AAC7C,oBAAqB;AACrB,wBAAsB;AACtB,+BAAmB;AACnB,qBAAqB;AACrB,uBAA0B;AAE1B,MAAM,kBAAkB,sCAAO;AAAA;AAAA,gBAEf,CAAC,UAAW,MAAM,WAAW,MAAM,MAAM,OAAO,MAAM,SAAS,MAAM,MAAM,OAAO,QAAQ;AAAA;AAG1G,MAAM,kBAAkB,CAAC,OAOnB;AAPmB,eACvB;AAAA;AAAA,IACA,UAAU;AAAA,IACV;AAAA,IACA,aAAa;AAAA,IACb;AAAA,MALuB,IAMpB,sBANoB,IAMpB;AAAA,IALH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGA,QAAM,CAAC,UAAU,eAAe,2BAAS;AACzC,QAAM,cAAc,8BAAY,MAAM,YAAY;AAClD,QAAM,YAAY,8BAAY,MAAM,YAAY;AAChD,SACE,mDAAC,iBAAD,iCACM,YADN;AAAA,IAEE;AAAA,IACA;AAAA,IACA,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,eAAa;AAAA,MAEZ,YAAY,OAAO;AAAA;AAK1B,gBAAgB,YAAY;AAAA,EAC1B,SAAS,0BAAU;AAAA,EACnB,UAAU,0BAAU;AAAA,EACpB,QAAQ,0BAAU;AAAA,EAClB,OAAO,0BAAU;AAAA,EACjB,YAAY,0BAAU;AAAA;AAGxB,MAAM,oBAAoB,gCAAU;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAA6C;AAC7C,oBAAqB;AACrB,wBAAsB;AACtB,+BAAmB;AACnB,qBAAqB;AACrB,uBAA0B;AAE1B,MAAM,kBAAkB,sCAAO,mBAAI;AAAA;AAAA,gBAEnB,CAAC,UAAW,MAAM,WAAW,MAAM,MAAM,OAAO,MAAM,SAAS,MAAM,MAAM,OAAO,QAAQ;AAAA;AAG1G,MAAM,kBAAkB,CAAC,OAOnB;AAPmB,eACvB;AAAA;AAAA,IACA,UAAU;AAAA,IACV;AAAA,IACA,aAAa;AAAA,IACb;AAAA,MALuB,IAMpB,sBANoB,IAMpB;AAAA,IALH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGA,QAAM,CAAC,UAAU,eAAe,2BAAS,KAAK;AAC9C,QAAM,cAAc,8BAAY,MAAM,YAAY,IAAI,CAAC;AACvD,QAAM,YAAY,8BAAY,MAAM,YAAY,KAAK,CAAC;AACtD,SACE,mDAAC,kDACK,YADL;AAAA,IAEC;AAAA,IACA;AAAA,IACA,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,eAAa;AAAA,MAEZ,YAAY,OAAO,SAAS,CAC/B;AAEJ;AAEA,gBAAgB,YAAY;AAAA,EAC1B,SAAS,0BAAU;AAAA,EACnB,UAAU,0BAAU;AAAA,EACpB,QAAQ,0BAAU;AAAA,EAClB,OAAO,0BAAU;AAAA,EACjB,YAAY,0BAAU;AACxB;AAEA,MAAM,oBAAoB,gCAAU,eAAe;",
6
6
  "names": []
7
7
  }
@@ -4,25 +4,19 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __reExport = (target, module2, copyDefault, desc) => {
9
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
10
- for (let key of __getOwnPropNames(module2))
11
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
12
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from))
10
+ if (!__hasOwnProp.call(to, key) && key !== except)
11
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
12
  }
14
- return target;
13
+ return to;
15
14
  };
16
- var __toESM = (module2, isNodeMode) => {
17
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
18
- };
19
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
20
- return (module2, temp) => {
21
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
22
- };
23
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
15
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
18
  var MobileTouchable_exports = {};
25
- var React = __toESM(require("react"));
26
- __reExport(MobileTouchable_exports, require("./MobileTouchable"));
27
19
  module.exports = __toCommonJS(MobileTouchable_exports);
20
+ var React = __toESM(require("react"));
21
+ __reExport(MobileTouchable_exports, require("./MobileTouchable"), module.exports);
28
22
  //# sourceMappingURL=index.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/MobileTouchable/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export * from './MobileTouchable';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA,YAAuB;ADAvB,oCAAc;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;ADAvB,oCAAc,8BAAd;",
6
6
  "names": []
7
7
  }
@@ -21,32 +21,26 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
25
24
  var __export = (target, all) => {
26
25
  for (var name in all)
27
26
  __defProp(target, name, { get: all[name], enumerable: true });
28
27
  };
29
- var __reExport = (target, module2, copyDefault, desc) => {
30
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
31
- for (let key of __getOwnPropNames(module2))
32
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
33
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
28
+ var __copyProps = (to, from, except, desc) => {
29
+ if (from && typeof from === "object" || typeof from === "function") {
30
+ for (let key of __getOwnPropNames(from))
31
+ if (!__hasOwnProp.call(to, key) && key !== except)
32
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
34
33
  }
35
- return target;
34
+ return to;
36
35
  };
37
- var __toESM = (module2, isNodeMode) => {
38
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
39
- };
40
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
41
- return (module2, temp) => {
42
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
43
- };
44
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
36
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
37
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
45
38
  var Modal_exports = {};
46
39
  __export(Modal_exports, {
47
40
  Modal: () => Modal,
48
41
  ModalWithSchema: () => ModalWithSchema
49
42
  });
43
+ module.exports = __toCommonJS(Modal_exports);
50
44
  var React = __toESM(require("react"));
51
45
  var import_react = __toESM(require("react"));
52
46
  var import_react_desc = require("react-desc");
@@ -149,7 +143,7 @@ const modalProps = {
149
143
  }).description("Primary action props")
150
144
  };
151
145
  Modal.propTypes = modalProps;
146
+ Modal.displayName = "Modal";
152
147
  const ModalWithSchema = (0, import_react_desc.describe)(Modal);
153
148
  ModalWithSchema.propTypes = modalProps;
154
- module.exports = __toCommonJS(Modal_exports);
155
149
  //# sourceMappingURL=Modal.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/Modal/Modal.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable max-lines */\nimport React from 'react';\nimport { describe, PropTypes } from 'react-desc';\nimport { noop } from 'lodash';\nimport { Grid } from '@elliemae/ds-grid';\nimport { WarningTriangle } from '@elliemae/ds-icons';\nimport DSButton from '@elliemae/ds-button';\nimport { useTheme } from '@elliemae/ds-system';\nimport { ModalPosition, ModalBox, BackShadow, ModalIcon, ModalTitle, ModalDescription, BodyFix } from './styled';\n\nconst Modal = ({\n zIndex = 1,\n title = '',\n description = '',\n onClose = noop,\n showSecondaryAction = true,\n secondaryActionProps = {\n onClick: noop,\n labelText: 'Cancel',\n },\n primaryActionProps = {\n onClick: noop,\n labelText: 'Accept',\n },\n isOpen = false,\n}) => {\n const theme = useTheme();\n if (!isOpen) return null;\n return (\n <>\n <BodyFix isOpen={isOpen} />\n <BackShadow onClick={onClose} zIndex={zIndex} />\n <ModalPosition zIndex={zIndex} cols={['auto']}>\n <ModalBox\n maxHeight={`${window.innerHeight * 0.75}px`}\n rows={[1, '80px']}\n style={{\n overflow: 'hidden',\n }}\n >\n <Grid\n pl=\"xs\"\n pr=\"xs\"\n style={{\n overflow: 'hidden',\n }}\n >\n <Grid\n rows={['auto', 'auto', 1]}\n style={{\n overflow: 'hidden',\n }}\n >\n <ModalIcon>\n <WarningTriangle size=\"xxl\" />\n </ModalIcon>\n <ModalTitle data-testid=\"modal-title\">{title}</ModalTitle>\n <ModalDescription\n data-testid=\"modal-desc\"\n style={{\n overflow: 'auto',\n }}\n >\n {description}\n </ModalDescription>\n </Grid>\n </Grid>\n <Grid pt=\"24px\">\n <Grid\n pl=\"xs\"\n pr=\"xs\"\n cols={showSecondaryAction ? [1, 1] : [1]}\n gutter=\"xs\"\n justifyContent=\"center\"\n alignItems=\"center\"\n style={{\n borderTop: `1px solid ${theme.colors.neutral[100]}`,\n }}\n >\n {showSecondaryAction && (\n <DSButton\n {...secondaryActionProps}\n labelText={secondaryActionProps.labelText || ' Cancel'}\n buttonType=\"secondary\"\n data-testid=\"modal-secondary-btn\"\n />\n )}\n <DSButton\n labelText={primaryActionProps.labelText || ' Accept'}\n {...primaryActionProps}\n buttonType=\"primary\"\n data-testid=\"modal-primary-btn\"\n />\n </Grid>\n </Grid>\n </ModalBox>\n </ModalPosition>\n </>\n );\n};\n\nconst modalProps = {\n isOpen: PropTypes.bool.description('Wheter the modal is open or closed').defaultValue(false),\n zIndex: PropTypes.number.description('z-index value').defaultValue(1),\n title: PropTypes.string.description('Modal s title').isRequired,\n description: PropTypes.string.description('Modal s content').isRequired,\n onClose: PropTypes.func.description('Function executed when the modal closes'),\n showSecondaryAction: PropTypes.bool.description('Wheter to show secondary action button or not').defaultValue(true),\n secondaryActionProps: PropTypes.shape({\n onClick: PropTypes.func,\n labelText: PropTypes.string,\n }).description('Secondary action props'),\n primaryActionProps: PropTypes.shape({\n onClick: PropTypes.func,\n labelText: PropTypes.string,\n }).description('Primary action props'),\n};\n\nModal.propTypes = modalProps;\n\nconst ModalWithSchema = describe(Modal);\nModalWithSchema.propTypes = modalProps;\n\nexport { Modal, ModalWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,mBAAkB;AAClB,wBAAoC;AACpC,oBAAqB;AACrB,qBAAqB;AACrB,sBAAgC;AAChC,uBAAqB;AACrB,uBAAyB;AACzB,oBAAsG;AAEtG,MAAM,QAAQ,CAAC;AAAA,EACb,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,UAAU;AAAA,EACV,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,IACrB,SAAS;AAAA,IACT,WAAW;AAAA;AAAA,EAEb,qBAAqB;AAAA,IACnB,SAAS;AAAA,IACT,WAAW;AAAA;AAAA,EAEb,SAAS;AAAA,MACL;AACJ,QAAM,QAAQ;AACd,MAAI,CAAC;AAAQ,WAAO;AACpB,SACE,wFACE,mDAAC,uBAAD;AAAA,IAAS;AAAA,MACT,mDAAC,0BAAD;AAAA,IAAY,SAAS;AAAA,IAAS;AAAA,MAC9B,mDAAC,6BAAD;AAAA,IAAe;AAAA,IAAgB,MAAM,CAAC;AAAA,KACpC,mDAAC,wBAAD;AAAA,IACE,WAAW,GAAG,OAAO,cAAc;AAAA,IACnC,MAAM,CAAC,GAAG;AAAA,IACV,OAAO;AAAA,MACL,UAAU;AAAA;AAAA,KAGZ,mDAAC,qBAAD;AAAA,IACE,IAAG;AAAA,IACH,IAAG;AAAA,IACH,OAAO;AAAA,MACL,UAAU;AAAA;AAAA,KAGZ,mDAAC,qBAAD;AAAA,IACE,MAAM,CAAC,QAAQ,QAAQ;AAAA,IACvB,OAAO;AAAA,MACL,UAAU;AAAA;AAAA,KAGZ,mDAAC,yBAAD,MACE,mDAAC,iCAAD;AAAA,IAAiB,MAAK;AAAA,OAExB,mDAAC,0BAAD;AAAA,IAAY,eAAY;AAAA,KAAe,QACvC,mDAAC,gCAAD;AAAA,IACE,eAAY;AAAA,IACZ,OAAO;AAAA,MACL,UAAU;AAAA;AAAA,KAGX,gBAIP,mDAAC,qBAAD;AAAA,IAAM,IAAG;AAAA,KACP,mDAAC,qBAAD;AAAA,IACE,IAAG;AAAA,IACH,IAAG;AAAA,IACH,MAAM,sBAAsB,CAAC,GAAG,KAAK,CAAC;AAAA,IACtC,QAAO;AAAA,IACP,gBAAe;AAAA,IACf,YAAW;AAAA,IACX,OAAO;AAAA,MACL,WAAW,aAAa,MAAM,OAAO,QAAQ;AAAA;AAAA,KAG9C,uBACC,mDAAC,0BAAD,iCACM,uBADN;AAAA,IAEE,WAAW,qBAAqB,aAAa;AAAA,IAC7C,YAAW;AAAA,IACX,eAAY;AAAA,OAGhB,mDAAC,0BAAD;AAAA,IACE,WAAW,mBAAmB,aAAa;AAAA,KACvC,qBAFN;AAAA,IAGE,YAAW;AAAA,IACX,eAAY;AAAA;AAAA;AAU5B,MAAM,aAAa;AAAA,EACjB,QAAQ,4BAAU,KAAK,YAAY,sCAAsC,aAAa;AAAA,EACtF,QAAQ,4BAAU,OAAO,YAAY,iBAAiB,aAAa;AAAA,EACnE,OAAO,4BAAU,OAAO,YAAY,iBAAiB;AAAA,EACrD,aAAa,4BAAU,OAAO,YAAY,mBAAmB;AAAA,EAC7D,SAAS,4BAAU,KAAK,YAAY;AAAA,EACpC,qBAAqB,4BAAU,KAAK,YAAY,iDAAiD,aAAa;AAAA,EAC9G,sBAAsB,4BAAU,MAAM;AAAA,IACpC,SAAS,4BAAU;AAAA,IACnB,WAAW,4BAAU;AAAA,KACpB,YAAY;AAAA,EACf,oBAAoB,4BAAU,MAAM;AAAA,IAClC,SAAS,4BAAU;AAAA,IACnB,WAAW,4BAAU;AAAA,KACpB,YAAY;AAAA;AAGjB,MAAM,YAAY;AAElB,MAAM,kBAAkB,gCAAS;AACjC,gBAAgB,YAAY;",
4
+ "sourcesContent": ["/* eslint-disable max-lines */\nimport React from 'react';\nimport { describe, PropTypes } from 'react-desc';\nimport { noop } from 'lodash';\nimport { Grid } from '@elliemae/ds-grid';\nimport { WarningTriangle } from '@elliemae/ds-icons';\nimport DSButton from '@elliemae/ds-button';\nimport { useTheme } from '@elliemae/ds-system';\nimport { ModalPosition, ModalBox, BackShadow, ModalIcon, ModalTitle, ModalDescription, BodyFix } from './styled';\n\nconst Modal = ({\n zIndex = 1,\n title = '',\n description = '',\n onClose = noop,\n showSecondaryAction = true,\n secondaryActionProps = {\n onClick: noop,\n labelText: 'Cancel',\n },\n primaryActionProps = {\n onClick: noop,\n labelText: 'Accept',\n },\n isOpen = false,\n}) => {\n const theme = useTheme();\n if (!isOpen) return null;\n return (\n <>\n <BodyFix isOpen={isOpen} />\n <BackShadow onClick={onClose} zIndex={zIndex} />\n <ModalPosition zIndex={zIndex} cols={['auto']}>\n <ModalBox\n maxHeight={`${window.innerHeight * 0.75}px`}\n rows={[1, '80px']}\n style={{\n overflow: 'hidden',\n }}\n >\n <Grid\n pl=\"xs\"\n pr=\"xs\"\n style={{\n overflow: 'hidden',\n }}\n >\n <Grid\n rows={['auto', 'auto', 1]}\n style={{\n overflow: 'hidden',\n }}\n >\n <ModalIcon>\n <WarningTriangle size=\"xxl\" />\n </ModalIcon>\n <ModalTitle data-testid=\"modal-title\">{title}</ModalTitle>\n <ModalDescription\n data-testid=\"modal-desc\"\n style={{\n overflow: 'auto',\n }}\n >\n {description}\n </ModalDescription>\n </Grid>\n </Grid>\n <Grid pt=\"24px\">\n <Grid\n pl=\"xs\"\n pr=\"xs\"\n cols={showSecondaryAction ? [1, 1] : [1]}\n gutter=\"xs\"\n justifyContent=\"center\"\n alignItems=\"center\"\n style={{\n borderTop: `1px solid ${theme.colors.neutral[100]}`,\n }}\n >\n {showSecondaryAction && (\n <DSButton\n {...secondaryActionProps}\n labelText={secondaryActionProps.labelText || ' Cancel'}\n buttonType=\"secondary\"\n data-testid=\"modal-secondary-btn\"\n />\n )}\n <DSButton\n labelText={primaryActionProps.labelText || ' Accept'}\n {...primaryActionProps}\n buttonType=\"primary\"\n data-testid=\"modal-primary-btn\"\n />\n </Grid>\n </Grid>\n </ModalBox>\n </ModalPosition>\n </>\n );\n};\n\nconst modalProps = {\n isOpen: PropTypes.bool.description('Wheter the modal is open or closed').defaultValue(false),\n zIndex: PropTypes.number.description('z-index value').defaultValue(1),\n title: PropTypes.string.description('Modal s title').isRequired,\n description: PropTypes.string.description('Modal s content').isRequired,\n onClose: PropTypes.func.description('Function executed when the modal closes'),\n showSecondaryAction: PropTypes.bool.description('Wheter to show secondary action button or not').defaultValue(true),\n secondaryActionProps: PropTypes.shape({\n onClick: PropTypes.func,\n labelText: PropTypes.string,\n }).description('Secondary action props'),\n primaryActionProps: PropTypes.shape({\n onClick: PropTypes.func,\n labelText: PropTypes.string,\n }).description('Primary action props'),\n};\n\nModal.propTypes = modalProps;\nModal.displayName = 'Modal';\nconst ModalWithSchema = describe(Modal);\nModalWithSchema.propTypes = modalProps;\n\nexport { Modal, ModalWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,mBAAkB;AAClB,wBAAoC;AACpC,oBAAqB;AACrB,qBAAqB;AACrB,sBAAgC;AAChC,uBAAqB;AACrB,uBAAyB;AACzB,oBAAsG;AAEtG,MAAM,QAAQ,CAAC;AAAA,EACb,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,UAAU;AAAA,EACV,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,IACrB,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,qBAAqB;AAAA,IACnB,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,MACL;AACJ,QAAM,QAAQ,+BAAS;AACvB,MAAI,CAAC;AAAQ,WAAO;AACpB,SACE,wFACE,mDAAC;AAAA,IAAQ;AAAA,GAAgB,GACzB,mDAAC;AAAA,IAAW,SAAS;AAAA,IAAS;AAAA,GAAgB,GAC9C,mDAAC;AAAA,IAAc;AAAA,IAAgB,MAAM,CAAC,MAAM;AAAA,KAC1C,mDAAC;AAAA,IACC,WAAW,GAAG,OAAO,cAAc;AAAA,IACnC,MAAM,CAAC,GAAG,MAAM;AAAA,IAChB,OAAO;AAAA,MACL,UAAU;AAAA,IACZ;AAAA,KAEA,mDAAC;AAAA,IACC,IAAG;AAAA,IACH,IAAG;AAAA,IACH,OAAO;AAAA,MACL,UAAU;AAAA,IACZ;AAAA,KAEA,mDAAC;AAAA,IACC,MAAM,CAAC,QAAQ,QAAQ,CAAC;AAAA,IACxB,OAAO;AAAA,MACL,UAAU;AAAA,IACZ;AAAA,KAEA,mDAAC,+BACC,mDAAC;AAAA,IAAgB,MAAK;AAAA,GAAM,CAC9B,GACA,mDAAC;AAAA,IAAW,eAAY;AAAA,KAAe,KAAM,GAC7C,mDAAC;AAAA,IACC,eAAY;AAAA,IACZ,OAAO;AAAA,MACL,UAAU;AAAA,IACZ;AAAA,KAEC,WACH,CACF,CACF,GACA,mDAAC;AAAA,IAAK,IAAG;AAAA,KACP,mDAAC;AAAA,IACC,IAAG;AAAA,IACH,IAAG;AAAA,IACH,MAAM,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAAA,IACvC,QAAO;AAAA,IACP,gBAAe;AAAA,IACf,YAAW;AAAA,IACX,OAAO;AAAA,MACL,WAAW,aAAa,MAAM,OAAO,QAAQ;AAAA,IAC/C;AAAA,KAEC,uBACC,mDAAC,2DACK,uBADL;AAAA,IAEC,WAAW,qBAAqB,aAAa;AAAA,IAC7C,YAAW;AAAA,IACX,eAAY;AAAA,IACd,GAEF,mDAAC;AAAA,IACC,WAAW,mBAAmB,aAAa;AAAA,KACvC,qBAFL;AAAA,IAGC,YAAW;AAAA,IACX,eAAY;AAAA,IACd,CACF,CACF,CACF,CACF,CACF;AAEJ;AAEA,MAAM,aAAa;AAAA,EACjB,QAAQ,4BAAU,KAAK,YAAY,oCAAoC,EAAE,aAAa,KAAK;AAAA,EAC3F,QAAQ,4BAAU,OAAO,YAAY,eAAe,EAAE,aAAa,CAAC;AAAA,EACpE,OAAO,4BAAU,OAAO,YAAY,eAAe,EAAE;AAAA,EACrD,aAAa,4BAAU,OAAO,YAAY,iBAAiB,EAAE;AAAA,EAC7D,SAAS,4BAAU,KAAK,YAAY,yCAAyC;AAAA,EAC7E,qBAAqB,4BAAU,KAAK,YAAY,+CAA+C,EAAE,aAAa,IAAI;AAAA,EAClH,sBAAsB,4BAAU,MAAM;AAAA,IACpC,SAAS,4BAAU;AAAA,IACnB,WAAW,4BAAU;AAAA,EACvB,CAAC,EAAE,YAAY,wBAAwB;AAAA,EACvC,oBAAoB,4BAAU,MAAM;AAAA,IAClC,SAAS,4BAAU;AAAA,IACnB,WAAW,4BAAU;AAAA,EACvB,CAAC,EAAE,YAAY,sBAAsB;AACvC;AAEA,MAAM,YAAY;AAClB,MAAM,cAAc;AACpB,MAAM,kBAAkB,gCAAS,KAAK;AACtC,gBAAgB,YAAY;",
6
6
  "names": []
7
7
  }
@@ -4,33 +4,26 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
7
  var __export = (target, all) => {
9
8
  for (var name in all)
10
9
  __defProp(target, name, { get: all[name], enumerable: true });
11
10
  };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
16
  }
18
- return target;
17
+ return to;
19
18
  };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
21
  var Modal_exports = {};
29
22
  __export(Modal_exports, {
30
23
  Modal: () => import_Modal.Modal,
31
24
  ModalWithSchema: () => import_Modal.ModalWithSchema
32
25
  });
26
+ module.exports = __toCommonJS(Modal_exports);
33
27
  var React = __toESM(require("react"));
34
28
  var import_Modal = require("./Modal");
35
- module.exports = __toCommonJS(Modal_exports);
36
29
  //# sourceMappingURL=index.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/Modal/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export { Modal, ModalWithSchema } from './Modal';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAuC;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAuC;",
6
6
  "names": []
7
7
  }