@elliemae/pui-app-sdk 3.0.0-beta.2 → 3.0.0-beta.20

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 (353) hide show
  1. package/dist/cjs/analytics/appdynamics.js +13 -7
  2. package/dist/cjs/analytics/index.js +13 -12
  3. package/dist/cjs/analytics/page-view-event.js +23 -13
  4. package/dist/cjs/analytics/user-session-event.js +14 -13
  5. package/dist/cjs/analytics/user-wait-event.js +13 -12
  6. package/dist/cjs/analytics/web-analytics.js +19 -2
  7. package/dist/cjs/api/auth/index.js +11 -10
  8. package/dist/cjs/api/helpers.js +12 -11
  9. package/dist/cjs/api/users/index.js +11 -10
  10. package/dist/cjs/communication/http-client/index.js +18 -12
  11. package/dist/cjs/communication/http-client/request-interceptor.js +11 -10
  12. package/dist/cjs/communication/http-client/response-interceptor.js +13 -7
  13. package/dist/cjs/communication/http-client/retry-axios.js +14 -8
  14. package/dist/cjs/communication/http-client/retry.js +11 -10
  15. package/dist/cjs/communication/http-client/tests/index.test-disable.js +7 -7
  16. package/dist/cjs/data/auth/actions.js +19 -2
  17. package/dist/cjs/data/auth/reducer.js +14 -8
  18. package/dist/cjs/data/breakpoint/index.js +13 -7
  19. package/dist/cjs/data/error/index.js +11 -10
  20. package/dist/cjs/data/index.js +35 -0
  21. package/dist/cjs/data/live-message/index.js +11 -10
  22. package/dist/cjs/data/logout/actions.js +19 -2
  23. package/dist/cjs/data/navigation-prompt/actions.js +19 -2
  24. package/dist/cjs/data/react-redux.js +11 -10
  25. package/dist/cjs/data/reducers.js +15 -14
  26. package/dist/cjs/data/saga.js +19 -2
  27. package/dist/cjs/data/store.js +17 -24
  28. package/dist/cjs/data/wait-message/actions.js +19 -2
  29. package/dist/cjs/data/wait-message/reducer.js +14 -8
  30. package/dist/cjs/index.js +88 -82
  31. package/dist/cjs/micro-frontend.js +34 -0
  32. package/dist/cjs/sideeffect/auth/index.js +15 -14
  33. package/dist/cjs/sideeffect/error-toast/index.js +15 -14
  34. package/dist/cjs/sideeffect/wait-message/index.js +15 -14
  35. package/dist/cjs/typings/styled.d.js +1 -19
  36. package/dist/cjs/utils/app-config/config.js +14 -8
  37. package/dist/cjs/utils/app-config/index.js +17 -11
  38. package/dist/cjs/utils/app-host-integration/react.js +11 -10
  39. package/dist/cjs/utils/auth/helper.js +13 -7
  40. package/dist/cjs/utils/auth/index.js +19 -18
  41. package/dist/cjs/utils/await.js +18 -1
  42. package/dist/cjs/utils/constants.js +19 -2
  43. package/dist/cjs/utils/font-size.js +19 -2
  44. package/dist/cjs/utils/guest-with-service.js +19 -2
  45. package/dist/cjs/utils/helpers.js +20 -3
  46. package/dist/cjs/utils/history.js +11 -10
  47. package/dist/cjs/utils/log-records.js +19 -2
  48. package/dist/cjs/utils/micro-frontend/console-logger.js +12 -11
  49. package/dist/cjs/utils/micro-frontend/guest.js +25 -19
  50. package/dist/cjs/utils/micro-frontend/host.js +30 -29
  51. package/dist/cjs/utils/micro-frontend/index.js +17 -11
  52. package/dist/cjs/utils/micro-frontend/types.js +18 -1
  53. package/dist/cjs/utils/redact-pii.js +19 -2
  54. package/dist/cjs/utils/service-worker.js +12 -11
  55. package/dist/cjs/utils/session.js +15 -14
  56. package/dist/cjs/utils/storybook/{main.js → cjs/main.js} +11 -3
  57. package/dist/cjs/utils/storybook/{middleware.js → cjs/middleware.js} +0 -0
  58. package/dist/cjs/utils/storybook/{vite.js → cjs/vite.js} +0 -0
  59. package/dist/cjs/utils/storybook/{webpack.js → cjs/webpack.js} +9 -1
  60. package/dist/cjs/utils/storybook/manager.js +12 -11
  61. package/dist/cjs/utils/storybook/preview.js +19 -19
  62. package/dist/cjs/utils/storybook/theme.js +11 -10
  63. package/dist/cjs/utils/testing/index.js +19 -12
  64. package/dist/cjs/utils/testing/render-with-redux.js +17 -10
  65. package/dist/cjs/utils/testing/render-with-router-redux.js +20 -13
  66. package/dist/cjs/utils/testing/render-with-router.js +24 -14
  67. package/dist/cjs/utils/testing/render-with-state-addons.js +17 -10
  68. package/dist/cjs/utils/types.js +18 -1
  69. package/dist/cjs/utils/url.js +19 -2
  70. package/dist/cjs/utils/web-storage.js +13 -7
  71. package/dist/cjs/utils/window.js +11 -10
  72. package/dist/cjs/view/app-root/hosted-app.js +18 -11
  73. package/dist/cjs/view/app-root/index.js +25 -18
  74. package/dist/cjs/view/app-root/stand-alone-app.js +22 -15
  75. package/dist/cjs/view/app-root/style.js +11 -10
  76. package/dist/cjs/view/app-router.js +48 -0
  77. package/dist/cjs/view/error-boundary/default-error-template.js +26 -3
  78. package/dist/cjs/view/error-boundary/index.js +16 -10
  79. package/dist/cjs/view/error-toast/index.js +21 -14
  80. package/dist/cjs/view/fetch-host-app-data/index.js +16 -10
  81. package/dist/cjs/view/fetch-host-app-data/store.js +11 -10
  82. package/dist/cjs/view/fields/check-box/index.js +18 -19
  83. package/dist/cjs/view/fields/combo-box/index.js +18 -13
  84. package/dist/cjs/view/fields/connect-form.js +11 -10
  85. package/dist/cjs/view/fields/date-input/index.js +16 -9
  86. package/dist/cjs/view/fields/date-picker/index.js +16 -9
  87. package/dist/cjs/view/fields/form-item-layout/index.js +18 -14
  88. package/dist/cjs/view/fields/form-layout-block-item/index.js +54 -0
  89. package/dist/cjs/view/fields/input-mask/index.js +16 -9
  90. package/dist/cjs/view/fields/large-text-box/index.js +16 -9
  91. package/dist/cjs/view/fields/radio/index.js +16 -9
  92. package/dist/cjs/view/fields/radio-group/index.js +17 -14
  93. package/dist/cjs/view/fields/text-box/index.js +16 -9
  94. package/dist/cjs/view/fields/watch-value.js +19 -10
  95. package/dist/cjs/view/form/index.js +15 -8
  96. package/dist/cjs/view/form/personal-info-section.js +46 -35
  97. package/dist/cjs/view/form/submit-button/index.js +17 -12
  98. package/dist/cjs/view/guest-unload-handlers/index.js +11 -10
  99. package/dist/cjs/view/host-binding-events/index.js +19 -2
  100. package/dist/cjs/view/live-message/index.js +15 -8
  101. package/dist/cjs/view/loadable/index.js +15 -8
  102. package/dist/cjs/view/login/index.js +16 -19
  103. package/dist/cjs/view/media-breakpoint/index.js +18 -17
  104. package/dist/cjs/view/message-to-host-app/index.js +11 -10
  105. package/dist/cjs/view/micro-app/app-factory/index.js +22 -19
  106. package/dist/cjs/view/micro-app/const.js +19 -2
  107. package/dist/cjs/view/micro-app/index.js +17 -10
  108. package/dist/cjs/view/micro-app/resources/manifest.js +16 -13
  109. package/dist/cjs/view/micro-app/resources/script.js +12 -11
  110. package/dist/cjs/view/micro-app/resources/style.js +11 -10
  111. package/dist/cjs/view/micro-app/types.js +18 -1
  112. package/dist/cjs/view/micro-app/use-app-will-render.js +21 -18
  113. package/dist/cjs/view/micro-app/utils.js +11 -10
  114. package/dist/cjs/view/micro-iframe-app/app.js +18 -11
  115. package/dist/cjs/view/micro-iframe-app/iframe/const.js +19 -2
  116. package/dist/cjs/view/micro-iframe-app/iframe/index.js +16 -9
  117. package/dist/cjs/view/micro-iframe-app/index.js +16 -9
  118. package/dist/cjs/view/micro-iframe-app/types.js +18 -1
  119. package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +16 -13
  120. package/dist/cjs/view/modals/error/index.js +31 -21
  121. package/dist/cjs/view/modals/navigation-prompt/index.js +39 -21
  122. package/dist/cjs/view/modals/session-expiry/customHooks.js +14 -13
  123. package/dist/cjs/view/modals/session-expiry/index.js +39 -29
  124. package/dist/cjs/view/modals/wait-message/html-wait-message.js +12 -11
  125. package/dist/cjs/view/modals/wait-message/index.js +19 -12
  126. package/dist/cjs/view/modals/wait-message/wait-message-launcher.js +14 -13
  127. package/dist/cjs/view/page.js +51 -0
  128. package/dist/cjs/view/render-with-delay/index.js +15 -8
  129. package/dist/cjs/view/render-with-host-data/index.js +16 -9
  130. package/dist/cjs/view/require-auth.js +62 -0
  131. package/dist/cjs/view/session-timeout/index.js +23 -12
  132. package/dist/cjs/view/storybook/decorator.js +15 -8
  133. package/dist/cjs/view/use-previous.js +11 -10
  134. package/dist/cjs/view/useMediaBreakpoints/index.js +11 -10
  135. package/dist/cjs/view/visually-hidden/index.js +15 -8
  136. package/dist/cjs/view/window-size/index.js +23 -18
  137. package/dist/es/analytics/index.js +3 -3
  138. package/dist/es/analytics/page-view-event.js +12 -3
  139. package/dist/es/analytics/user-session-event.js +2 -2
  140. package/dist/es/analytics/user-wait-event.js +1 -1
  141. package/dist/es/api/auth/index.js +1 -1
  142. package/dist/es/api/users/index.js +1 -1
  143. package/dist/es/communication/http-client/index.js +5 -5
  144. package/dist/es/communication/http-client/request-interceptor.js +1 -1
  145. package/dist/es/communication/http-client/retry-axios.js +1 -1
  146. package/dist/es/communication/http-client/retry.js +1 -1
  147. package/dist/es/communication/http-client/tests/index.test-disable.js +3 -3
  148. package/dist/es/data/auth/reducer.js +1 -1
  149. package/dist/es/data/index.js +11 -0
  150. package/dist/es/data/reducers.js +4 -4
  151. package/dist/es/data/store.js +5 -15
  152. package/dist/es/data/wait-message/reducer.js +1 -1
  153. package/dist/es/index.js +85 -75
  154. package/dist/es/micro-frontend.js +10 -0
  155. package/dist/es/sideeffect/auth/index.js +4 -4
  156. package/dist/es/sideeffect/error-toast/index.js +4 -4
  157. package/dist/es/sideeffect/wait-message/index.js +4 -4
  158. package/dist/es/utils/app-config/config.js +1 -1
  159. package/dist/es/utils/app-config/index.js +4 -4
  160. package/dist/es/utils/app-host-integration/react.js +1 -1
  161. package/dist/es/utils/auth/helper.js +1 -1
  162. package/dist/es/utils/auth/index.js +9 -9
  163. package/dist/es/utils/helpers.js +1 -1
  164. package/dist/es/utils/micro-frontend/console-logger.js +1 -1
  165. package/dist/es/utils/micro-frontend/guest.js +9 -9
  166. package/dist/es/utils/micro-frontend/host.js +19 -18
  167. package/dist/es/utils/micro-frontend/index.js +4 -4
  168. package/dist/es/utils/service-worker.js +2 -2
  169. package/dist/es/utils/session.js +4 -4
  170. package/dist/es/utils/storybook/manager.js +1 -1
  171. package/dist/es/utils/storybook/preview.js +7 -8
  172. package/dist/es/utils/testing/index.js +4 -3
  173. package/dist/es/utils/testing/render-with-redux.js +3 -2
  174. package/dist/es/utils/testing/render-with-router-redux.js +5 -4
  175. package/dist/es/utils/testing/render-with-router.js +10 -6
  176. package/dist/es/utils/testing/render-with-state-addons.js +1 -0
  177. package/dist/es/view/app-root/hosted-app.js +5 -4
  178. package/dist/es/view/app-root/index.js +9 -8
  179. package/dist/es/view/app-root/stand-alone-app.js +8 -7
  180. package/dist/es/view/app-router.js +19 -0
  181. package/dist/es/view/error-boundary/default-error-template.js +2 -1
  182. package/dist/es/view/error-boundary/index.js +3 -3
  183. package/dist/es/view/error-toast/index.js +4 -8
  184. package/dist/es/view/fetch-host-app-data/index.js +6 -3
  185. package/dist/es/view/fields/check-box/index.js +5 -12
  186. package/dist/es/view/fields/combo-box/index.js +4 -5
  187. package/dist/es/view/fields/date-input/index.js +2 -1
  188. package/dist/es/view/fields/date-picker/index.js +2 -1
  189. package/dist/es/view/fields/form-item-layout/index.js +4 -6
  190. package/dist/es/view/fields/form-layout-block-item/index.js +25 -0
  191. package/dist/es/view/fields/input-mask/index.js +4 -2
  192. package/dist/es/view/fields/large-text-box/index.js +2 -1
  193. package/dist/es/view/fields/radio/index.js +2 -1
  194. package/dist/es/view/fields/radio-group/index.js +3 -6
  195. package/dist/es/view/fields/text-box/index.js +2 -1
  196. package/dist/es/view/fields/watch-value.js +5 -2
  197. package/dist/es/view/form/index.js +1 -0
  198. package/dist/es/view/form/personal-info-section.js +33 -28
  199. package/dist/es/view/form/submit-button/index.js +4 -5
  200. package/dist/es/view/guest-unload-handlers/index.js +1 -1
  201. package/dist/es/view/live-message/index.js +2 -1
  202. package/dist/es/view/loadable/index.js +2 -1
  203. package/dist/es/view/login/index.js +5 -9
  204. package/dist/es/view/media-breakpoint/index.js +5 -5
  205. package/dist/es/view/message-to-host-app/index.js +1 -1
  206. package/dist/es/view/micro-app/app-factory/index.js +15 -10
  207. package/dist/es/view/micro-app/index.js +3 -2
  208. package/dist/es/view/micro-app/resources/manifest.js +6 -4
  209. package/dist/es/view/micro-app/resources/script.js +2 -2
  210. package/dist/es/view/micro-app/resources/style.js +1 -1
  211. package/dist/es/view/micro-app/use-app-will-render.js +13 -6
  212. package/dist/es/view/micro-app/utils.js +1 -1
  213. package/dist/es/view/micro-iframe-app/app.js +4 -3
  214. package/dist/es/view/micro-iframe-app/iframe/index.js +2 -1
  215. package/dist/es/view/micro-iframe-app/index.js +3 -2
  216. package/dist/es/view/micro-iframe-app/use-frame-loaded.js +5 -3
  217. package/dist/es/view/modals/error/index.js +25 -15
  218. package/dist/es/view/modals/navigation-prompt/index.js +33 -14
  219. package/dist/es/view/modals/session-expiry/customHooks.js +2 -2
  220. package/dist/es/view/modals/session-expiry/index.js +35 -23
  221. package/dist/es/view/modals/wait-message/html-wait-message.js +1 -1
  222. package/dist/es/view/modals/wait-message/index.js +5 -4
  223. package/dist/es/view/modals/wait-message/wait-message-launcher.js +3 -3
  224. package/dist/es/view/page.js +22 -0
  225. package/dist/es/view/render-with-delay/index.js +2 -1
  226. package/dist/es/view/render-with-host-data/index.js +3 -2
  227. package/dist/es/view/require-auth.js +33 -0
  228. package/dist/es/view/session-timeout/index.js +10 -5
  229. package/dist/es/view/storybook/decorator.js +3 -2
  230. package/dist/es/view/visually-hidden/index.js +1 -0
  231. package/dist/es/view/window-size/index.js +11 -7
  232. package/dist/types/communication/http-client/retry.d.ts +1 -1
  233. package/dist/types/data/index.d.ts +4 -0
  234. package/dist/types/data/react-redux.d.ts +9 -18
  235. package/dist/types/data/reducers.d.ts +6 -6
  236. package/dist/types/data/store.d.ts +30 -31
  237. package/dist/types/index.d.ts +78 -78
  238. package/dist/types/micro-frontend.d.ts +6 -0
  239. package/dist/types/sideeffect/auth/index.d.ts +1 -1
  240. package/dist/types/utils/app-config/config.d.ts +1 -1
  241. package/dist/types/utils/app-host-integration/react.d.ts +1 -1
  242. package/dist/types/utils/history.d.ts +2 -2
  243. package/dist/types/utils/micro-frontend/guest.d.ts +5 -5
  244. package/dist/types/utils/micro-frontend/host.d.ts +3 -3
  245. package/dist/types/utils/micro-frontend/index.d.ts +2 -2
  246. package/dist/types/utils/micro-frontend/types.d.ts +1 -1
  247. package/dist/types/utils/session.d.ts +5 -2
  248. package/dist/types/utils/storybook/{main.d.cts → cjs/main.d.ts} +24 -2
  249. package/dist/types/utils/storybook/{middleware.d.cts → cjs/middleware.d.ts} +0 -0
  250. package/dist/types/utils/storybook/{vite.d.cts → cjs/vite.d.ts} +0 -0
  251. package/dist/types/utils/storybook/cjs/webpack.d.ts +16 -0
  252. package/dist/types/utils/storybook/preview.d.ts +8 -2
  253. package/dist/types/utils/testing/render-with-redux.d.ts +22 -22
  254. package/dist/types/utils/testing/render-with-router-redux.d.ts +22 -22
  255. package/dist/types/utils/testing/render-with-router.d.ts +2 -2
  256. package/dist/types/utils/testing/render-with-state-addons.d.ts +1 -1
  257. package/dist/types/view/app-root/hosted-app.d.ts +1 -1
  258. package/dist/types/view/app-root/index.d.ts +2 -2
  259. package/dist/types/view/app-root/stand-alone-app.d.ts +1 -1
  260. package/dist/types/view/app-router.d.ts +9 -0
  261. package/dist/types/view/error-boundary/default-error-template.d.ts +1 -1
  262. package/dist/types/view/fields/check-box/index.d.ts +2 -4
  263. package/dist/types/view/fields/check-box/index.stories.d.ts +2 -4
  264. package/dist/types/view/fields/check-box/set-value.stories.d.ts +1 -1
  265. package/dist/types/view/fields/combo-box/index.d.ts +1 -2
  266. package/dist/types/view/fields/combo-box/index.stories.d.ts +2 -4
  267. package/dist/types/view/fields/connect-form.d.ts +1 -1
  268. package/dist/types/view/fields/date-input/index.d.ts +1 -1
  269. package/dist/types/view/fields/date-input/index.stories.d.ts +1 -1
  270. package/dist/types/view/fields/date-picker/index.d.ts +2 -1
  271. package/dist/types/view/fields/date-picker/index.stories.d.ts +2 -4
  272. package/dist/types/view/fields/form-item-layout/index.d.ts +1 -1
  273. package/dist/types/view/fields/form-item-layout/index.stories.d.ts +1 -1
  274. package/dist/types/view/fields/form-layout-block-item/index.d.ts +8 -0
  275. package/dist/types/view/{header → fields/form-layout-block-item}/index.stories.d.ts +2 -2
  276. package/dist/types/view/fields/input-mask/index.d.ts +2 -2
  277. package/dist/types/view/fields/input-mask/index.stories.d.ts +2 -4
  278. package/dist/types/view/fields/large-text-box/index.d.ts +1 -1
  279. package/dist/types/view/fields/large-text-box/index.stories.d.ts +2 -4
  280. package/dist/types/view/fields/radio/index.d.ts +2 -2
  281. package/dist/types/view/fields/radio/index.stories.d.ts +2 -4
  282. package/dist/types/view/fields/radio/set-value.stories.d.ts +1 -1
  283. package/dist/types/view/fields/radio-group/index.d.ts +1 -1
  284. package/dist/types/view/fields/radio-group/index.stories.d.ts +1 -1
  285. package/dist/types/view/fields/text-box/index.d.ts +1 -1
  286. package/dist/types/view/fields/text-box/index.stories.d.ts +1 -1
  287. package/dist/types/view/fields/watch-value.d.ts +2 -2
  288. package/dist/types/view/form/personal-info-section.d.ts +3 -3
  289. package/dist/types/view/form/submit-button/index.d.ts +2 -1
  290. package/dist/types/view/form/usecases.stories.d.ts +1 -1
  291. package/dist/types/view/live-message/index.d.ts +1 -1
  292. package/dist/types/view/login/index.d.ts +1 -2
  293. package/dist/types/view/media-breakpoint/index.d.ts +1 -2
  294. package/dist/types/view/micro-app/app-factory/index.d.ts +3 -3
  295. package/dist/types/view/micro-app/index.d.ts +1 -1
  296. package/dist/types/view/micro-app/resources/manifest.d.ts +2 -2
  297. package/dist/types/view/micro-app/resources/script.d.ts +1 -1
  298. package/dist/types/view/micro-app/resources/style.d.ts +1 -1
  299. package/dist/types/view/micro-app/types.d.ts +1 -0
  300. package/dist/types/view/micro-app/use-app-will-render.d.ts +2 -2
  301. package/dist/types/view/micro-iframe-app/app.d.ts +2 -2
  302. package/dist/types/view/micro-iframe-app/index.d.ts +1 -1
  303. package/dist/types/view/micro-iframe-app/types.d.ts +1 -1
  304. package/dist/types/view/micro-iframe-app/use-frame-loaded.d.ts +1 -1
  305. package/dist/types/view/modals/error/index.d.ts +3 -2
  306. package/dist/types/view/modals/error/index.stories.d.ts +1 -1
  307. package/dist/types/view/modals/navigation-prompt/index.d.ts +0 -1
  308. package/dist/types/view/modals/navigation-prompt/index.stories.d.ts +1 -1
  309. package/dist/types/view/modals/session-expiry/index.d.ts +0 -1
  310. package/dist/types/view/modals/session-expiry/index.stories.d.ts +1 -1
  311. package/dist/types/view/modals/wait-message/index.stories.d.ts +7 -3
  312. package/dist/types/view/modals/wait-message/wait-message-launcher.d.ts +1 -2
  313. package/dist/types/view/page.d.ts +8 -0
  314. package/dist/types/view/require-auth.d.ts +8 -0
  315. package/dist/types/view/session-timeout/index.d.ts +1 -1
  316. package/dist/types/view/session-timeout/index.stories.d.ts +1 -4
  317. package/dist/types/view/storybook/decorator.d.ts +1 -1
  318. package/dist/types/view/window-size/index.d.ts +1 -2
  319. package/package.json +59 -28
  320. package/dist/cjs/route/index.js +0 -48
  321. package/dist/cjs/route/page-view.js +0 -38
  322. package/dist/cjs/route/private-route/index.js +0 -68
  323. package/dist/cjs/view/header/center-region/index.js +0 -64
  324. package/dist/cjs/view/header/index.js +0 -43
  325. package/dist/cjs/view/header/logo-region/index.js +0 -32
  326. package/dist/cjs/view/header/logo-region/logo.svg +0 -2
  327. package/dist/cjs/view/header/nav-region/index.js +0 -46
  328. package/dist/cjs/view/header/nav-region/notification/index.js +0 -31
  329. package/dist/cjs/view/header/nav-region/notification/index.svg +0 -5
  330. package/dist/cjs/view/header/nav-region/user/index.js +0 -31
  331. package/dist/cjs/view/header/nav-region/user/index.svg +0 -4
  332. package/dist/es/route/index.js +0 -25
  333. package/dist/es/route/page-view.js +0 -15
  334. package/dist/es/route/private-route/index.js +0 -45
  335. package/dist/es/view/header/center-region/index.js +0 -41
  336. package/dist/es/view/header/index.js +0 -20
  337. package/dist/es/view/header/logo-region/index.js +0 -9
  338. package/dist/es/view/header/logo-region/logo.svg +0 -2
  339. package/dist/es/view/header/nav-region/index.js +0 -23
  340. package/dist/es/view/header/nav-region/notification/index.js +0 -8
  341. package/dist/es/view/header/nav-region/notification/index.svg +0 -5
  342. package/dist/es/view/header/nav-region/user/index.js +0 -8
  343. package/dist/es/view/header/nav-region/user/index.svg +0 -4
  344. package/dist/types/route/index.d.ts +0 -8
  345. package/dist/types/route/page-view.d.ts +0 -1
  346. package/dist/types/route/private-route/index.d.ts +0 -8
  347. package/dist/types/utils/storybook/webpack.d.cts +0 -8
  348. package/dist/types/view/header/center-region/index.d.ts +0 -9
  349. package/dist/types/view/header/index.d.ts +0 -7
  350. package/dist/types/view/header/logo-region/index.d.ts +0 -2
  351. package/dist/types/view/header/nav-region/index.d.ts +0 -2
  352. package/dist/types/view/header/nav-region/notification/index.d.ts +0 -2
  353. package/dist/types/view/header/nav-region/user/index.d.ts +0 -2
@@ -21,6 +21,6 @@ export interface AppConfig {
21
21
  }
22
22
  export declare const setAppConfig: (config: AppConfig) => void;
23
23
  export declare const getAppConfigValue: <Type>(key?: string, defaultValue?: unknown) => Type;
24
- export declare const setAppConfigValue: <Type>(key: string | undefined, value: Type) => AppConfig;
24
+ export declare const setAppConfigValue: <Type>(key: string, value: Type) => AppConfig;
25
25
  export declare const hasItem: (key?: string) => boolean;
26
26
  export {};
@@ -1,4 +1,4 @@
1
- import { CMicroAppGuest, OnInitCallback, OnMountCallback } from '../micro-frontend/guest';
1
+ import { CMicroAppGuest, OnInitCallback, OnMountCallback } from '../micro-frontend/guest.js';
2
2
  declare type Options = {
3
3
  onInit: OnInitCallback;
4
4
  onMount: OnMountCallback;
@@ -1,2 +1,2 @@
1
- export declare const browserHistory: import("history").History<unknown>;
2
- export declare const memoryHistory: import("history").MemoryHistory<unknown>;
1
+ export declare const browserHistory: import("history").BrowserHistory;
2
+ export declare const memoryHistory: import("history").MemoryHistory;
@@ -1,8 +1,8 @@
1
1
  import { DefaultTheme } from 'styled-components';
2
- import { History, Path } from 'history';
2
+ import { History, To } from 'history';
3
3
  import type { IMicroAppGuest, IMicroAppHost, InitOptions, MountOptions } from '@elliemae/pui-micro-frontend-base';
4
- import { MicroFrontEndLogger } from './console-logger';
5
- import { JSONValue } from '../types';
4
+ import { MicroFrontEndLogger } from './console-logger.js';
5
+ import { JSONValue } from '../types.js';
6
6
  export interface GuestProps extends InitOptions {
7
7
  prevState: JSONValue | null;
8
8
  history: History;
@@ -33,7 +33,7 @@ export declare class CMicroAppGuest implements IMicroAppGuest {
33
33
  static getInstance(params?: ConstructorParams): CMicroAppGuest;
34
34
  static isInitialized(): boolean;
35
35
  static isHosted(): boolean;
36
- getHost(): IMicroAppHost;
36
+ getHost(): IMicroAppHost | undefined;
37
37
  getLogger(): MicroFrontEndLogger;
38
38
  getProps(): GuestProps;
39
39
  private getSessionStorageItem;
@@ -42,6 +42,6 @@ export declare class CMicroAppGuest implements IMicroAppGuest {
42
42
  mount(this: CMicroAppGuest, options?: MountOptions): Promise<void>;
43
43
  unmount(this: CMicroAppGuest, options: MountOptions): Promise<JSONValue>;
44
44
  getRef<T>(this: CMicroAppGuest): T | null;
45
- navigate(this: CMicroAppGuest, url: Path, state?: any): void;
45
+ navigate(this: CMicroAppGuest, url: To, state?: any): void;
46
46
  }
47
47
  export {};
@@ -1,7 +1,7 @@
1
1
  import { IMicroAppHost, ResizeEventHandler, BreakpointChangeEventHandler, SubscriptionListener, BAEvent } from '@elliemae/pui-micro-frontend-base';
2
- import { History, Path } from 'history';
2
+ import { History, To } from 'history';
3
3
  import { DefaultTheme } from 'styled-components';
4
- import { MicroFrontEndLogger } from './console-logger';
4
+ import { MicroFrontEndLogger } from './console-logger.js';
5
5
  declare type HostOptions = {
6
6
  systemVersion: string;
7
7
  history: History;
@@ -33,7 +33,7 @@ export declare class CMicroAppHost implements IMicroAppHost {
33
33
  publish<Type>(message: string | symbol, data?: Type): boolean;
34
34
  subscribe<T>(message: string | symbol, func: SubscriptionListener<T>): string;
35
35
  unsubscribe(token: string): void;
36
- navigate(this: CMicroAppHost, url: Path, state?: any): void;
36
+ navigate(this: CMicroAppHost, url: To, state?: any): void;
37
37
  openWaitMessage(): void;
38
38
  closeWaitMessage(): void;
39
39
  openErrorBanner(message: string): void;
@@ -1,5 +1,5 @@
1
- import { MicroFrontEndLogger } from './console-logger';
2
- import { MicroAppConfig } from './types';
1
+ import { MicroFrontEndLogger } from './console-logger.js';
2
+ import { MicroAppConfig } from './types.js';
3
3
  export declare const isHost: () => boolean;
4
4
  export declare const isGuest: () => boolean;
5
5
  export declare const isStandAloneGuest: () => boolean;
@@ -12,6 +12,6 @@ export declare type MicroAppConfig = {
12
12
  files?: Array<string>;
13
13
  development?: EnvConfig;
14
14
  production?: EnvConfig;
15
- documentEle: HTMLDocument;
15
+ documentEle: Document;
16
16
  } & InitOptions;
17
17
  export {};
@@ -1,14 +1,17 @@
1
1
  declare type WARNLISTENER = {
2
2
  (sessionExpiryWarningNotifiedAt: number | null): void;
3
3
  };
4
+ declare type RESETLISTENER = {
5
+ (resetWarningModal: unknown): void;
6
+ };
4
7
  declare type LISTENER = {
5
8
  (): void;
6
9
  };
7
- export declare const resetUserIdleTime: () => void;
10
+ export declare const resetUserIdleTime: (resetWarningModal?: unknown) => void;
8
11
  export declare const stopSessionMonitoring: () => void;
9
12
  export declare const initSessionMonitoring: () => void;
10
13
  export declare const subscribeToSessionExpiryWarning: (onSessionExpiryWarn: WARNLISTENER) => () => void;
11
14
  export declare const subscribeToSessionExpiry: (onSessionExpiry: LISTENER) => () => void;
12
- export declare const subscribeToResetSession: (onResetListener: LISTENER) => () => void;
15
+ export declare const subscribeToResetSession: (onResetListener: RESETLISTENER) => () => void;
13
16
  export declare const trackActivity: (element: Document | null, cb: (...args: unknown[]) => void) => () => void;
14
17
  export {};
@@ -1,5 +1,19 @@
1
1
  declare function _exports(viteBuilder?: boolean): {
2
- addons: string[];
2
+ addons: (string | {
3
+ name: string;
4
+ options: {
5
+ sourceLoaderOptions: {
6
+ injectStoryParameters: boolean;
7
+ };
8
+ docs?: undefined;
9
+ };
10
+ } | {
11
+ name: string;
12
+ options: {
13
+ docs: boolean;
14
+ sourceLoaderOptions?: undefined;
15
+ };
16
+ })[];
3
17
  framework: string;
4
18
  features: {
5
19
  fastRefresh: boolean;
@@ -31,7 +45,15 @@ declare function _exports(viteBuilder?: boolean): {
31
45
  stories: {
32
46
  directory: string;
33
47
  }[];
34
- addons: string[];
48
+ addons: {
49
+ name: string;
50
+ options: {
51
+ optimizationLevel: number;
52
+ esbuildMinifyOptions: {
53
+ target: string;
54
+ };
55
+ };
56
+ }[];
35
57
  managerWebpack: any;
36
58
  webpackFinal: any;
37
59
  core: {
@@ -0,0 +1,16 @@
1
+ export declare const stories: {
2
+ directory: string;
3
+ }[];
4
+ export declare const addons: {
5
+ name: string;
6
+ options: {
7
+ optimizationLevel: number;
8
+ esbuildMinifyOptions: {
9
+ target: string;
10
+ };
11
+ };
12
+ }[];
13
+ export declare namespace core {
14
+ const builder: string;
15
+ }
16
+ export { managerWebpack, webpackFinal };
@@ -1,4 +1,10 @@
1
- export function getParameters(storyBookTheme: any): {
1
+ /// <reference types="react" />
2
+ import '@elliemae/ds-basic/css/dimsum.css';
3
+ export declare const getParameters: (storyBookTheme: {
4
+ [x: string]: any;
5
+ base?: string | undefined;
6
+ brandTitle?: string | undefined;
7
+ }) => {
2
8
  layout: string;
3
9
  actions: {
4
10
  argTypesRegex: string;
@@ -21,4 +27,4 @@ export function getParameters(storyBookTheme: any): {
21
27
  hideEmpty: boolean;
22
28
  };
23
29
  };
24
- export const decorators: ((story: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => JSX.Element)[];
30
+ export declare const decorators: ((story: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => JSX.Element)[];
@@ -1,40 +1,40 @@
1
1
  /// <reference types="react" />
2
- import { AppStore, RootState } from '../../data/store';
2
+ import { AppStore, RootState } from '../../data/store.js';
3
3
  interface Args {
4
4
  initialState: RootState;
5
5
  store: AppStore;
6
6
  }
7
7
  export declare const renderWithRedux: (ui: React.ReactElement, { initialState, store, }?: Args) => {
8
8
  store: import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{
9
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
10
- error: import("../../data/error").ErrorState;
11
- breakpoint: import("../../data/breakpoint").BreakpointState;
12
- liveMessage: import("../../data/live-message").LiveMessageState;
9
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
10
+ error: import("../../data/error/index.js").ErrorState;
11
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
12
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
13
13
  }>, {
14
- payload: import("../../data/wait-message/reducer").WaitMessageState;
14
+ payload: import("../../data/wait-message/reducer.js").WaitMessageState;
15
15
  type: string;
16
16
  } | import("redux").AnyAction | {
17
- payload: import("../../data/breakpoint").Breakpoints;
17
+ payload: import("../../data/breakpoint/index.js").Breakpoints;
18
18
  type: string;
19
- }, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
20
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
21
- error: import("../../data/error").ErrorState;
22
- breakpoint: import("../../data/breakpoint").BreakpointState;
23
- liveMessage: import("../../data/live-message").LiveMessageState;
24
- }>, import("redux").AnyAction, null> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
25
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
26
- error: import("../../data/error").ErrorState;
27
- breakpoint: import("../../data/breakpoint").BreakpointState;
28
- liveMessage: import("../../data/live-message").LiveMessageState;
19
+ }, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("../..").ThunkMiddleware<import("redux").CombinedState<{
20
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
21
+ error: import("../../data/error/index.js").ErrorState;
22
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
23
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
24
+ }>, import("redux").AnyAction, null> | import("../..").ThunkMiddleware<import("redux").CombinedState<{
25
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
26
+ error: import("../../data/error/index.js").ErrorState;
27
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
28
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
29
29
  }>, import("redux").AnyAction, undefined> | import("redux").Middleware<{}, import("redux").CombinedState<{
30
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
31
- error: import("../../data/error").ErrorState;
32
- breakpoint: import("../../data/breakpoint").BreakpointState;
33
- liveMessage: import("../../data/live-message").LiveMessageState;
30
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
31
+ error: import("../../data/error/index.js").ErrorState;
32
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
33
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
34
34
  }>, import("redux").Dispatch<import("redux").AnyAction>>>>;
35
35
  container: HTMLElement;
36
36
  baseElement: Element;
37
- debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
37
+ debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("../..").PrettyFormatOptions | undefined) => void;
38
38
  rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
39
39
  unmount: () => void;
40
40
  asFragment: () => DocumentFragment;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { History } from 'history';
3
- import { AppStore, RootState } from '../../data/store';
3
+ import { AppStore, RootState } from '../../data/store.js';
4
4
  interface Args {
5
5
  initialState: RootState;
6
6
  store: AppStore;
@@ -9,35 +9,35 @@ interface Args {
9
9
  }
10
10
  export declare const renderWithRouterRedux: (ui: React.ReactElement, { route, history, initialState, store, }?: Args) => {
11
11
  store: import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{
12
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
13
- error: import("../../data/error").ErrorState;
14
- breakpoint: import("../../data/breakpoint").BreakpointState;
15
- liveMessage: import("../../data/live-message").LiveMessageState;
12
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
13
+ error: import("../../data/error/index.js").ErrorState;
14
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
15
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
16
16
  }>, {
17
- payload: import("../../data/wait-message/reducer").WaitMessageState;
17
+ payload: import("../../data/wait-message/reducer.js").WaitMessageState;
18
18
  type: string;
19
19
  } | import("redux").AnyAction | {
20
- payload: import("../../data/breakpoint").Breakpoints;
20
+ payload: import("../../data/breakpoint/index.js").Breakpoints;
21
21
  type: string;
22
- }, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
23
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
24
- error: import("../../data/error").ErrorState;
25
- breakpoint: import("../../data/breakpoint").BreakpointState;
26
- liveMessage: import("../../data/live-message").LiveMessageState;
27
- }>, import("redux").AnyAction, null> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
28
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
29
- error: import("../../data/error").ErrorState;
30
- breakpoint: import("../../data/breakpoint").BreakpointState;
31
- liveMessage: import("../../data/live-message").LiveMessageState;
22
+ }, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("../..").ThunkMiddleware<import("redux").CombinedState<{
23
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
24
+ error: import("../../data/error/index.js").ErrorState;
25
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
26
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
27
+ }>, import("redux").AnyAction, null> | import("../..").ThunkMiddleware<import("redux").CombinedState<{
28
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
29
+ error: import("../../data/error/index.js").ErrorState;
30
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
31
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
32
32
  }>, import("redux").AnyAction, undefined> | import("redux").Middleware<{}, import("redux").CombinedState<{
33
- waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
34
- error: import("../../data/error").ErrorState;
35
- breakpoint: import("../../data/breakpoint").BreakpointState;
36
- liveMessage: import("../../data/live-message").LiveMessageState;
33
+ waitMessage: import("../../data/wait-message/reducer.js").WaitMessageState;
34
+ error: import("../../data/error/index.js").ErrorState;
35
+ breakpoint: import("../../data/breakpoint/index.js").BreakpointState;
36
+ liveMessage: import("../../data/live-message/index.js").LiveMessageState;
37
37
  }>, import("redux").Dispatch<import("redux").AnyAction>>>>;
38
38
  container: HTMLElement;
39
39
  baseElement: Element;
40
- debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
40
+ debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("../..").PrettyFormatOptions | undefined) => void;
41
41
  rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
42
42
  unmount: () => void;
43
43
  asFragment: () => DocumentFragment;
@@ -5,10 +5,10 @@ interface Args {
5
5
  history: History;
6
6
  }
7
7
  export declare const renderWithRouter: (ui: React.ReactElement, { route, history, }?: Args) => {
8
- history: History<unknown>;
8
+ history: History;
9
9
  container: HTMLElement;
10
10
  baseElement: Element;
11
- debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
11
+ debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("../..").PrettyFormatOptions | undefined) => void;
12
12
  rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
13
13
  unmount: () => void;
14
14
  asFragment: () => DocumentFragment;
@@ -19,5 +19,5 @@ interface RenderWithStateAddOnsProps {
19
19
  theme?: Theme;
20
20
  [x: string]: any;
21
21
  }
22
- export declare const RenderWithStateAddOns: React.FC<RenderWithStateAddOnsProps>;
22
+ export declare const RenderWithStateAddOns: ({ Component, reducer, saga, theme, ...rest }: RenderWithStateAddOnsProps) => JSX.Element | null;
23
23
  export {};
@@ -2,5 +2,5 @@
2
2
  declare type HostedAppProps = {
3
3
  children: React.ReactNode;
4
4
  };
5
- export declare const HostedApp: React.FC<HostedAppProps>;
5
+ export declare const HostedApp: ({ children }: HostedAppProps) => JSX.Element;
6
6
  export {};
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { History } from 'history';
3
3
  import { Theme } from '@elliemae/pui-theme';
4
- import { AppStore } from '../../data/store';
4
+ import { AppStore } from '../../data/store.js';
5
5
  declare type AppRootProps = {
6
6
  store: AppStore;
7
7
  history: History;
@@ -11,5 +11,5 @@ declare type AppRootProps = {
11
11
  WaitMessage?: React.ReactNode;
12
12
  errorTemplate?: React.ComponentType;
13
13
  };
14
- export declare const AppRoot: React.FC<AppRootProps>;
14
+ export declare const AppRoot: ({ store, history, theme, manageSession, WaitMessage, errorTemplate, children, }: AppRootProps) => JSX.Element;
15
15
  export {};
@@ -4,5 +4,5 @@ declare type StandAloneAppProps = {
4
4
  WaitMessage: React.ReactNode;
5
5
  children: React.ReactNode;
6
6
  };
7
- export declare const StandAloneApp: React.FC<StandAloneAppProps>;
7
+ export declare const StandAloneApp: ({ manageSession, WaitMessage, children, }: StandAloneAppProps) => JSX.Element;
8
8
  export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { History } from 'history';
3
+ interface AppRouterProps {
4
+ history: History;
5
+ basename?: string;
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const AppRouter: ({ history, ...props }: AppRouterProps) => JSX.Element;
9
+ export {};
@@ -5,4 +5,4 @@ export interface ErrorTemplateProps {
5
5
  componentStack: string;
6
6
  } | null;
7
7
  }
8
- export declare const DefaultErrorTemplate: React.FC<ErrorTemplateProps>;
8
+ export declare const DefaultErrorTemplate: (props: ErrorTemplateProps) => JSX.Element;
@@ -1,11 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { CHECKBOX_VARIANT } from '@elliemae/ds-basic/form/Checkbox';
3
2
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
3
  export declare type CheckBoxProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
5
4
  name: string;
6
- defaultChecked?: boolean;
5
+ label: string;
7
6
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
8
7
  [x: string]: any;
9
8
  };
10
- export declare const CheckBox: React.FC<CheckBoxProps>;
11
- export { CHECKBOX_VARIANT };
9
+ export declare const CheckBox: ({ name, rules, ...rest }: CheckBoxProps) => JSX.Element;
@@ -1,7 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { CheckBoxProps } from '.';
2
+ import { CheckBoxProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const Basic: Story<CheckBoxProps<import("react-hook-form").FieldValues, string> & {
6
- labelText: string;
7
- }>;
5
+ export declare const Basic: Story<CheckBoxProps<import("react-hook-form").FieldValues, string>>;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { CheckBoxProps } from '.';
2
+ import { CheckBoxProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const SetValue: Story<CheckBoxProps<import("react-hook-form").FieldValues, string>>;
@@ -4,7 +4,6 @@ export declare type ComboBoxProps<TFieldValues extends FieldValues = FieldValues
4
4
  name: string;
5
5
  defaultValue?: string;
6
6
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
7
- onChange: (e: React.BaseSyntheticEvent) => void;
8
7
  [x: string]: any;
9
8
  };
10
- export declare const ComboBox: React.FC<ComboBoxProps>;
9
+ export declare const ComboBox: ({ name, defaultValue, rules, ...rest }: ComboBoxProps) => JSX.Element;
@@ -1,7 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { FormItemLayoutProps } from '../form-item-layout';
2
+ import { ComboBoxProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const Basic: Story<FormItemLayoutProps & {
6
- labelText: string;
7
- }>;
5
+ export declare const Basic: Story<ComboBoxProps<import("react-hook-form").FieldValues, string>>;
@@ -3,4 +3,4 @@ import { UseFormReturn, FieldValues } from 'react-hook-form';
3
3
  export declare type ConnectFormProps = {
4
4
  children: <TFieldValues extends FieldValues>(methods: UseFormReturn<TFieldValues>) => JSX.Element;
5
5
  };
6
- export declare const ConnectForm: React.FC<ConnectFormProps>;
6
+ export declare const ConnectForm: ({ children }: ConnectFormProps) => JSX.Element;
@@ -6,4 +6,4 @@ export declare type DateInputProps<TFieldValues extends FieldValues = FieldValue
6
6
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
7
7
  [x: string]: any;
8
8
  };
9
- export declare const DateInput: React.FC<DateInputProps>;
9
+ export declare const DateInput: ({ name, defaultValue, rules, ...rest }: DateInputProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { DateInputProps } from '.';
2
+ import { DateInputProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<DateInputProps<import("react-hook-form").FieldValues, string> & {
@@ -2,8 +2,9 @@
2
2
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
3
3
  export declare type DatePickerProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
4
4
  name: string;
5
+ labelText: string;
5
6
  defaultValue?: string;
6
7
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
7
8
  [x: string]: any;
8
9
  };
9
- export declare const DatePicker: React.FC<DatePickerProps>;
10
+ export declare const DatePicker: ({ name, defaultValue, rules, ...rest }: DatePickerProps) => JSX.Element;
@@ -1,7 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { DatePickerProps } from '.';
2
+ import { DatePickerProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const Basic: Story<DatePickerProps<import("react-hook-form").FieldValues, string> & {
6
- labelText: string;
7
- }>;
5
+ export declare const Basic: Story<DatePickerProps<import("react-hook-form").FieldValues, string>>;
@@ -6,4 +6,4 @@ export declare type FormItemLayoutProps = {
6
6
  labelText?: string;
7
7
  [x: string]: any;
8
8
  };
9
- export declare const FormItemLayout: React.FC<FormItemLayoutProps>;
9
+ export declare const FormItemLayout: ({ name, ...rest }: FormItemLayoutProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { FormItemLayoutProps } from '.';
2
+ import { FormItemLayoutProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const Basic: Story<FormItemLayoutProps>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare type FormLayoutBlockItemProps = {
3
+ inputID: string;
4
+ label: string;
5
+ children: React.ReactNode;
6
+ [x: string]: any;
7
+ };
8
+ export declare const FormLayoutBlockItem: ({ inputID, label, ...rest }: FormLayoutBlockItemProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { HeaderProps } from '.';
2
+ import { FormLayoutBlockItemProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const Basic: Story<HeaderProps>;
5
+ export declare const Basic: Story<FormLayoutBlockItemProps>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-basic/form/InputMask';
2
+ import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-form/InputMask';
3
3
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
4
  export declare type InputMaskProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
5
5
  name: string;
@@ -8,5 +8,5 @@ export declare type InputMaskProps<TFieldValues extends FieldValues = FieldValue
8
8
  mask: <T>(value: T) => T;
9
9
  [x: string]: any;
10
10
  };
11
- export declare const InputMask: React.FC<InputMaskProps>;
11
+ export declare const InputMask: ({ name, defaultValue, rules, mask, ...rest }: InputMaskProps) => JSX.Element;
12
12
  export { MASK_TYPES, MASK_PIPES };
@@ -1,7 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { InputMaskProps } from '.';
2
+ import { InputMaskProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const Basic: Story<InputMaskProps<import("react-hook-form").FieldValues, string> & {
6
- labelText: string;
7
- }>;
5
+ export declare const Basic: Story<InputMaskProps<import("react-hook-form").FieldValues, string>>;
@@ -7,4 +7,4 @@ export declare type LargeTextBoxProps<TFieldValues extends FieldValues = FieldVa
7
7
  mask: <T>(value: T) => T;
8
8
  [x: string]: any;
9
9
  };
10
- export declare const LargeTextBox: React.FC<LargeTextBoxProps>;
10
+ export declare const LargeTextBox: ({ name, defaultValue, rules, ...rest }: LargeTextBoxProps) => JSX.Element;
@@ -1,7 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { LargeTextBoxProps } from '.';
2
+ import { LargeTextBoxProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const Basic: Story<LargeTextBoxProps<import("react-hook-form").FieldValues, string> & {
6
- labelText: string;
7
- }>;
5
+ export declare const Basic: Story<LargeTextBoxProps<import("react-hook-form").FieldValues, string>>;
@@ -2,9 +2,9 @@
2
2
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
3
3
  export declare type RadioProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
4
4
  name: string;
5
+ labelText: string;
5
6
  defaultChecked?: boolean;
6
7
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
7
- mask: <T>(value: T) => T;
8
8
  [x: string]: any;
9
9
  };
10
- export declare const Radio: React.FC<RadioProps>;
10
+ export declare const Radio: ({ name, defaultChecked, rules, ...rest }: RadioProps) => JSX.Element;
@@ -1,7 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { RadioProps } from '.';
2
+ import { RadioProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
- export declare const Basic: Story<RadioProps<import("react-hook-form").FieldValues, string> & {
6
- labelText: string;
7
- }>;
5
+ export declare const Basic: Story<RadioProps<import("react-hook-form").FieldValues, string>>;
@@ -1,5 +1,5 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { RadioProps } from '.';
2
+ import { RadioProps } from './index.js';
3
3
  declare const _default: Meta<import("@storybook/react").Args>;
4
4
  export default _default;
5
5
  export declare const SetValue: Story<RadioProps<import("react-hook-form").FieldValues, string>>;