@elliemae/pui-app-sdk 3.0.0-beta.11 → 3.0.0-beta.15

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 (110) hide show
  1. package/dist/cjs/communication/http-client/retry-axios.js +1 -1
  2. package/dist/cjs/index.js +4 -6
  3. package/dist/cjs/utils/app-config/config.js +1 -1
  4. package/dist/cjs/utils/helpers.js +1 -1
  5. package/dist/cjs/utils/testing/render-with-router-redux.js +2 -2
  6. package/dist/cjs/utils/testing/render-with-router.js +9 -6
  7. package/dist/cjs/view/app-root/index.js +2 -2
  8. package/dist/cjs/view/{header/nav-region/user/index.js → app-router.js} +19 -9
  9. package/dist/cjs/view/fields/check-box/index.js +2 -2
  10. package/dist/cjs/view/fields/combo-box/index.js +2 -2
  11. package/dist/cjs/view/fields/date-input/index.js +2 -2
  12. package/dist/cjs/view/fields/date-picker/index.js +2 -2
  13. package/dist/cjs/view/fields/form-item-layout/index.js +2 -2
  14. package/dist/cjs/view/fields/input-mask/index.js +2 -2
  15. package/dist/cjs/view/fields/large-text-box/index.js +2 -2
  16. package/dist/cjs/view/fields/radio/index.js +2 -2
  17. package/dist/cjs/view/fields/radio-group/index.js +2 -2
  18. package/dist/cjs/view/fields/text-box/index.js +2 -2
  19. package/dist/cjs/view/form/submit-button/index.js +2 -2
  20. package/dist/cjs/view/login/index.js +1 -7
  21. package/dist/cjs/view/media-breakpoint/index.js +1 -7
  22. package/dist/cjs/view/micro-app/app-factory/index.js +1 -1
  23. package/dist/cjs/view/micro-app/resources/script.js +1 -1
  24. package/dist/cjs/view/modals/error/index.js +2 -2
  25. package/dist/cjs/view/modals/navigation-prompt/index.js +2 -2
  26. package/dist/cjs/view/modals/session-expiry/index.js +2 -2
  27. package/dist/cjs/view/modals/wait-message/html-wait-message.js +1 -7
  28. package/dist/cjs/view/modals/wait-message/index.js +2 -2
  29. package/dist/cjs/view/modals/wait-message/wait-message-launcher.js +1 -7
  30. package/dist/cjs/{route/page-view.js → view/page.js} +10 -3
  31. package/dist/cjs/view/render-with-delay/index.js +1 -1
  32. package/dist/cjs/{route/private-route/index.js → view/require-auth.js} +23 -36
  33. package/dist/cjs/view/window-size/index.js +1 -7
  34. package/dist/es/communication/http-client/retry-axios.js +1 -1
  35. package/dist/es/index.js +4 -6
  36. package/dist/es/utils/app-config/config.js +1 -1
  37. package/dist/es/utils/helpers.js +1 -1
  38. package/dist/es/utils/testing/render-with-router-redux.js +2 -2
  39. package/dist/es/utils/testing/render-with-router.js +9 -6
  40. package/dist/es/view/app-root/index.js +2 -2
  41. package/dist/es/view/app-router.js +19 -0
  42. package/dist/es/view/fields/check-box/index.js +1 -1
  43. package/dist/es/view/fields/combo-box/index.js +1 -1
  44. package/dist/es/view/fields/date-input/index.js +1 -1
  45. package/dist/es/view/fields/date-picker/index.js +1 -1
  46. package/dist/es/view/fields/form-item-layout/index.js +1 -1
  47. package/dist/es/view/fields/input-mask/index.js +2 -1
  48. package/dist/es/view/fields/large-text-box/index.js +1 -1
  49. package/dist/es/view/fields/radio/index.js +1 -1
  50. package/dist/es/view/fields/radio-group/index.js +1 -1
  51. package/dist/es/view/fields/text-box/index.js +1 -1
  52. package/dist/es/view/form/submit-button/index.js +1 -1
  53. package/dist/es/view/login/index.js +1 -2
  54. package/dist/es/view/media-breakpoint/index.js +1 -2
  55. package/dist/es/view/micro-app/app-factory/index.js +1 -1
  56. package/dist/es/view/micro-app/resources/script.js +1 -1
  57. package/dist/es/view/modals/error/index.js +1 -1
  58. package/dist/es/view/modals/navigation-prompt/index.js +1 -1
  59. package/dist/es/view/modals/session-expiry/index.js +1 -1
  60. package/dist/es/view/modals/wait-message/html-wait-message.js +1 -2
  61. package/dist/es/view/modals/wait-message/index.js +1 -1
  62. package/dist/es/view/modals/wait-message/wait-message-launcher.js +1 -2
  63. package/dist/es/{route/page-view.js → view/page.js} +7 -0
  64. package/dist/es/view/render-with-delay/index.js +1 -1
  65. package/dist/es/view/require-auth.js +33 -0
  66. package/dist/es/view/window-size/index.js +1 -2
  67. package/dist/types/data/react-redux.d.ts +2 -2
  68. package/dist/types/data/store.d.ts +2 -2
  69. package/dist/types/index.d.ts +2 -3
  70. package/dist/types/utils/app-config/config.d.ts +1 -1
  71. package/dist/types/utils/history.d.ts +2 -2
  72. package/dist/types/utils/micro-frontend/guest.d.ts +2 -2
  73. package/dist/types/utils/micro-frontend/host.d.ts +2 -2
  74. package/dist/types/utils/testing/render-with-redux.d.ts +3 -3
  75. package/dist/types/utils/testing/render-with-router-redux.d.ts +3 -3
  76. package/dist/types/utils/testing/render-with-router.d.ts +2 -2
  77. package/dist/types/view/app-router.d.ts +9 -0
  78. package/dist/types/view/page.d.ts +8 -0
  79. package/dist/types/view/require-auth.d.ts +8 -0
  80. package/package.json +24 -26
  81. package/dist/cjs/route/index.js +0 -55
  82. package/dist/cjs/view/header/center-region/index.js +0 -71
  83. package/dist/cjs/view/header/index.js +0 -50
  84. package/dist/cjs/view/header/logo-region/index.js +0 -39
  85. package/dist/cjs/view/header/logo-region/logo.svg +0 -2
  86. package/dist/cjs/view/header/nav-region/index.js +0 -53
  87. package/dist/cjs/view/header/nav-region/notification/index.js +0 -38
  88. package/dist/cjs/view/header/nav-region/notification/index.svg +0 -5
  89. package/dist/cjs/view/header/nav-region/user/index.svg +0 -4
  90. package/dist/es/route/index.js +0 -26
  91. package/dist/es/route/private-route/index.js +0 -46
  92. package/dist/es/view/header/center-region/index.js +0 -42
  93. package/dist/es/view/header/index.js +0 -21
  94. package/dist/es/view/header/logo-region/index.js +0 -10
  95. package/dist/es/view/header/logo-region/logo.svg +0 -2
  96. package/dist/es/view/header/nav-region/index.js +0 -24
  97. package/dist/es/view/header/nav-region/notification/index.js +0 -9
  98. package/dist/es/view/header/nav-region/notification/index.svg +0 -5
  99. package/dist/es/view/header/nav-region/user/index.js +0 -9
  100. package/dist/es/view/header/nav-region/user/index.svg +0 -4
  101. package/dist/types/route/index.d.ts +0 -8
  102. package/dist/types/route/page-view.d.ts +0 -1
  103. package/dist/types/route/private-route/index.d.ts +0 -8
  104. package/dist/types/view/header/center-region/index.d.ts +0 -9
  105. package/dist/types/view/header/index.d.ts +0 -7
  106. package/dist/types/view/header/index.stories.d.ts +0 -5
  107. package/dist/types/view/header/logo-region/index.d.ts +0 -2
  108. package/dist/types/view/header/nav-region/index.d.ts +0 -2
  109. package/dist/types/view/header/nav-region/notification/index.d.ts +0 -2
  110. package/dist/types/view/header/nav-region/user/index.d.ts +0 -2
@@ -1,42 +0,0 @@
1
- import * as React from "react";
2
- import { NavLink } from "react-router-dom";
3
- import styled from "styled-components";
4
- const NavList = styled.ul`
5
- display: flex;
6
- flex: auto;
7
- align-items: center;
8
- list-style: none;
9
- margin: 0px 0px 0px 10px;
10
- padding: 0;
11
- height: 100%;
12
- `;
13
- const NavListItem = styled.li`
14
- height: 100%;
15
- text-align: center;
16
- `;
17
- const activeClassName = "nav-item-active";
18
- const StyledNavLink = styled(NavLink).attrs({
19
- activeClassName
20
- })`
21
- display: flex;
22
- align-items: center;
23
- color: ${(props) => props.theme.colors.neutral["000"]};
24
- text-decoration: none;
25
- text-transform: uppercase;
26
- height: 100%;
27
- padding: 0 ${(props) => props.theme.space.xs} 0
28
- ${(props) => props.theme.space.xs};
29
-
30
- &.${activeClassName} {
31
- background-color: #48acff;
32
- }
33
- `;
34
- const publicPath = (process.env.ASSET_PATH || "/").replace(/\/?$/, "");
35
- const CenterRegion = ({ links = [] }) => /* @__PURE__ */ React.createElement(NavList, null, links.map(({ name = "", path = "" }) => /* @__PURE__ */ React.createElement(NavListItem, {
36
- key: path
37
- }, /* @__PURE__ */ React.createElement(StyledNavLink, {
38
- to: `${publicPath}${path.replace(/^\/?/, "/")}`
39
- }, name))));
40
- export {
41
- CenterRegion
42
- };
@@ -1,21 +0,0 @@
1
- import * as React from "react";
2
- import styled from "styled-components";
3
- import { isStandAloneGuest, isHost } from "../../utils/micro-frontend/index.js";
4
- import { LogoRegion } from "./logo-region/index.js";
5
- import { CenterRegion } from "./center-region/index.js";
6
- import { NavRegion } from "./nav-region/index.js";
7
- const HeaderContainer = styled.header`
8
- display: flex;
9
- height: 56px;
10
- background-color: #2080cd;
11
- padding: 0px ${(props) => props.theme.space.xs} 0px
12
- ${(props) => props.theme.space.xxs};
13
- `;
14
- const Header = ({ links = [], show = false }) => isStandAloneGuest() || isHost() || show ? /* @__PURE__ */ React.createElement(HeaderContainer, {
15
- role: "banner"
16
- }, /* @__PURE__ */ React.createElement(LogoRegion, null), /* @__PURE__ */ React.createElement(CenterRegion, {
17
- links
18
- }), /* @__PURE__ */ React.createElement(NavRegion, null)) : null;
19
- export {
20
- Header
21
- };
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- import styled from "styled-components";
3
- import LogoImg from "./logo.svg";
4
- const LogoContainer = styled.div`
5
- align-self: center;
6
- `;
7
- const LogoRegion = () => /* @__PURE__ */ React.createElement(LogoContainer, null, /* @__PURE__ */ React.createElement(LogoImg, null));
8
- export {
9
- LogoRegion
10
- };
@@ -1,2 +0,0 @@
1
-
2
- <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" width="195" height="28" viewBox="0 0 195 28"><style>.st0{fill:#dee3e0}.st1{fill:#fff}.st2{fill:#408a90}.st3{fill:#00acdc}.st4{fill:#f7911e}.st5{fill:#0067ab}.st6{fill:#fefefe}</style><g id="Page-1_2_"><g id="brand-assets" transform="translate(-107 -187)"><g id="logo-enc-em-inline-dark" transform="translate(107 187)"><g id="Group-3"><g id="Group" transform="translate(143 14)"><path id="Fill-27" class="st0" d="M1.8 1.9c-.6 0-.9.6-.9 1.1s.3 1.1.9 1.1c.6 0 .8-.7.8-1.1.1-.5-.2-1.1-.8-1.1zM.4.1h.5v1.8c.2-.3.5-.5 1-.5.9 0 1.3.7 1.3 1.5s-.4 1.6-1.3 1.6c-.5 0-.9-.3-1-.5v.4H.4V.1z"/><path id="Fill-29" class="st0" d="M3.7 5.3H4c.5 0 .7-.7.7-.7 0-.1-.1-.2-.1-.3l-1-2.8h.6L5 4l.8-2.5h.6l-1.1 3c-.2.6-.4 1.2-1.1 1.2h-.4l-.1-.4z"/><path id="Fill-31" class="st0" d="M50.5 1.8h.2c.1 0 .2 0 .2-.2 0-.1-.1-.2-.2-.2h-.2v.4zm-.2-.5h.4c.3 0 .4.1.4.3 0 .2-.1.3-.3.3l.3.5h-.2l-.3-.5h-.2v.5h-.2V1.3h.1zm.3 1.4c.5 0 .8-.4.8-.8 0-.5-.3-.8-.8-.8s-.8.4-.8.8.4.8.8.8zm0-1.8c.5 0 1 .4 1 1 0 .5-.4 1-1 1s-1-.4-1-1c.1-.6.5-1 1-1z"/><path id="Fill-33" class="st0" d="M8.8.1h4.8v1.1H10v2.5h3.2v1H10v2.9h3.6v1H8.8z"/><path id="Fill-35" class="st0" d="M14.6 8.6h1.1V0h-1.1z"/><path id="Fill-37" class="st0" d="M17 8.6h1.1V0H17z"/><path id="Fill-38" class="st0" d="M19.4 8.6h1.2V2.3h-1.2v6.3zm-.1-7.2h1.2V0h-1.2v1.4z"/><path id="Fill-39" class="st0" d="M25.7 4.9c0-1-.6-1.7-1.6-1.7-1.1 0-1.6.9-1.7 1.7h3.3zm.7 3.5c-.4.2-.9.4-2 .4-2.2 0-3.2-1.3-3.2-3.4 0-1.9 1.2-3.2 2.9-3.2 2.1 0 2.8 1.5 2.8 3.5h-4.5c0 1.2 1 2.1 2.1 2.1.8 0 1.6-.4 1.9-.6v1.2z"/><path id="Fill-40" class="st0" d="M27.9.1H30l2.6 7.1L35.3.1h2v8.5h-1.2V1.2l-2.9 7.4H32l-2.8-7.4v7.4h-1.3z"/><path id="Fill-41" class="st0" d="M48.2 4.9c0-1-.6-1.7-1.6-1.7-1.1 0-1.6.9-1.7 1.7h3.3zm.8 3.5c-.4.2-.9.4-2 .4-2.2 0-3.2-1.3-3.2-3.4 0-1.9 1.2-3.2 2.9-3.2 2.1 0 2.8 1.5 2.8 3.5H45c0 1.2 1 2.1 2.1 2.1.8 0 1.6-.4 1.9-.6v1.2z"/><path id="Fill-42" class="st0" d="M42.2 5.6h-.7c-.6 0-2.2.1-2.2 1.2 0 .7.6 1 1.2 1 1.1 0 1.7-.7 1.7-1.6v-.6zm-3-1.5l-.9-.2c.3-1.4 1.6-1.7 2.4-1.7 1.8 0 2.5.9 2.5 2.6v2.6c0 .7 0 1 .1 1.2h-1.2v-.8c-.3.4-.9 1-1.9 1-1.3 0-2.3-.6-2.3-1.9 0-1.6 1.7-2.1 2.9-2.1H42c0-1.1-.4-1.8-1.5-1.7-1 .1-1.3 1-1.3 1z"/></g><g id="Page-1"><path id="Fill-1" class="st1" d="M28 14c0 7.7-6.3 14-14 14S0 21.7 0 14 6.3 0 14 0s14 6.3 14 14"/><path id="Fill-3" class="st2" d="M14.1 2.3v-.5H14C7.2 1.8 1.8 7.3 1.8 14h.6c6.5.1 11.7-5.2 11.7-11.7"/><path id="Fill-5" class="st3" d="M2.3 14.1h-.6c.1 6.7 5.5 12.2 12.2 12.2h.1v-.4c.1-6.5-5.1-11.8-11.7-11.8"/><path id="Fill-7" class="st4" d="M25.9 14.1h.3V14c0-6.7-5.4-12.2-12.1-12.2v.5c0 6.5 5.3 11.8 11.8 11.8"/><path id="Fill-9" class="st5" d="M14.1 25.9v.4c6.7-.1 12-5.5 12.1-12.2h-.3c-6.5 0-11.8 5.3-11.8 11.8"/></g><path id="Page-1_1_" class="st6" d="M131.1 20.1c.8.5 2 .8 2.6.8.9 0 2.1-.4 2.1-1.6 0-2-4.9-1.9-4.9-5 0-2.3 1.7-3.5 4-3.5 1 0 1.8.2 2.6.4l-.2 1.8c-.5-.3-1.7-.6-2.2-.6-1.1 0-2 .4-2 1.4 0 2.3 4.9 1.6 4.9 5.2 0 2.4-1.9 3.5-3.9 3.5-1.1 0-2.1-.1-3.1-.6l.1-1.8zm9.4-9.7h.3c.2 0 .4 0 .4-.3 0-.2-.2-.3-.4-.3h-.3v.6zm-.3-.8h.7c.4 0 .6.2.6.5s-.2.5-.5.5l.5.8h-.3l-.5-.8h-.2v.8h-.3V9.6zm.6 2.2c.7 0 1.2-.6 1.2-1.3 0-.7-.5-1.3-1.2-1.3s-1.2.6-1.2 1.3c0 .8.5 1.3 1.2 1.3zm0-2.8c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zM123 20.1c.8.5 2 .8 2.6.8.9 0 2.1-.4 2.1-1.6 0-2-4.9-1.9-4.9-5 0-2.3 1.7-3.5 4-3.5 1 0 1.8.2 2.6.4l-.2 1.8c-.5-.3-1.7-.6-2.2-.6-1.1 0-2 .4-2 1.4 0 2.3 4.9 1.6 4.9 5.2 0 2.4-1.9 3.5-3.9 3.5-1.1 0-2.1-.1-3.1-.6l.1-1.8zm-3.8-3.1h-1.3c-1.1 0-3.9.2-3.9 2.2 0 1.2 1.1 1.8 2.1 1.8 2 0 3.1-1.3 3.1-2.9V17zm-6.2-5.1c1-.6 2.3-1.1 3.7-1.1 3.2 0 4.5 1.6 4.5 4.6V20c0 1.3 0 1.9.1 2.2h-1.9v-1.5c-.5.7-1.6 1.7-3.5 1.7-2.4 0-4.1-1.1-4.1-3.5 0-2.8 3.1-3.7 5.2-3.7h2.2c0-1.9-.7-2.9-2.8-2.9-1.2 0-2.4.4-3.3 1.1l-.1-1.5zm-7.7.6c-2.2 0-3.3 2.1-3.3 4.2 0 1.9 1 4.2 3.3 4.2 2.2 0 3.1-2.5 3.1-4.2 0-2-.8-4.2-3.1-4.2zm-5.4-1.4h2v1.6c.5-.8 1.8-1.8 3.8-1.8 3.3 0 4.8 2.7 4.8 5.7 0 3.1-1.4 6.1-4.8 6.1-2 0-3.1-.8-3.7-1.8V26h-2.1V11.1zm-17.3 0h1.9v1.6c.8-1.3 1.9-1.9 3.6-1.9 1.3 0 2.6.7 3.2 2.2.8-1.6 2.5-2.2 3.5-2.2 2.9 0 3.9 1.8 3.9 4.3v7.2h-2.1v-6.7c0-1.4-.3-3.1-2-3.1-2.1 0-2.9 2.1-2.9 4.2v5.7h-2.1v-6.7c0-1.4-.3-3.1-2-3.1-2.1 0-2.9 2.1-2.9 4.2v5.7h-2.1V11.1zm-8 9.8c2.4 0 3.5-2.2 3.5-4.2 0-2.1-1.3-4.2-3.5-4.2s-3.5 2.1-3.5 4.2c-.1 2 1 4.2 3.5 4.2zm0-10c3.4 0 5.7 2.5 5.7 5.9 0 3.2-2.3 5.9-5.7 5.9s-5.7-2.7-5.7-5.9c-.1-3.5 2.2-5.9 5.7-5.9zM67.4 13c-.8-.3-1.6-.5-2.2-.5-2.3 0-3.6 2.1-3.6 4.2 0 2 1.1 4.2 3.7 4.2.7 0 1.6-.2 2.2-.6l.2 1.8c-.9.4-1.8.5-2.6.5-3.4 0-5.7-2.7-5.7-5.9 0-3.4 2.3-5.9 5.7-5.9.8 0 1.9.2 2.5.4l-.2 1.8zm-19.2-1.9h2v1.8c.6-1.3 2.1-2 3.7-2 2.9 0 4.2 1.8 4.2 4.8v6.7H56v-5.8c0-2.6-.6-3.9-2.4-4-2.4 0-3.4 1.9-3.4 4.6v5.2h-2.1V11.1h.1zM38 7h8.6v1.9h-6.4v4.5H46v1.9h-5.8v5.1h6.4v1.9H38V7z"/></g></g></g></g></svg>
@@ -1,24 +0,0 @@
1
- import * as React from "react";
2
- import styled from "styled-components";
3
- import { Notification } from "./notification/index.js";
4
- import { User } from "./user/index.js";
5
- const NavContainer = styled.nav`
6
- display: flex;
7
- margin: 0;
8
- height: 100%;
9
- align-self: flex-end;
10
- `;
11
- const NavList = styled.ul`
12
- margin: 0;
13
- display: flex;
14
- align-items: center;
15
- > li {
16
- margin-left: ${(props) => props.theme.space.xs};
17
- }
18
- `;
19
- const NavRegion = () => /* @__PURE__ */ React.createElement(NavContainer, {
20
- role: "navigation"
21
- }, /* @__PURE__ */ React.createElement(NavList, null, /* @__PURE__ */ React.createElement(Notification, null), /* @__PURE__ */ React.createElement(User, null)));
22
- export {
23
- NavRegion
24
- };
@@ -1,9 +0,0 @@
1
- import * as React from "react";
2
- import NotificationIcon from "./index.svg";
3
- const Notification = () => /* @__PURE__ */ React.createElement("li", null, /* @__PURE__ */ React.createElement("a", {
4
- href: "#",
5
- "aria-label": "Notifications"
6
- }, /* @__PURE__ */ React.createElement(NotificationIcon, null)));
7
- export {
8
- Notification
9
- };
@@ -1,5 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16"><g>
2
- <path data-color="color-2" fill="#ffffff" d="M10,14H6c0,1.1,0.9,2,2,2S10,15.1,10,14z"/>
3
- <path fill="#ffffff" d="M15,11h-0.5C13.8,10.3,13,9.3,13,8V5c0-2.8-2.2-5-5-5S3,2.2,3,5v3c0,1.3-0.8,2.3-1.5,3H1c-0.6,0-1,0.4-1,1
4
- s0.4,1,1,1h14c0.6,0,1-0.4,1-1S15.6,11,15,11z"/>
5
- </g></svg>
@@ -1,9 +0,0 @@
1
- import * as React from "react";
2
- import UserIcon from "./index.svg";
3
- const User = () => /* @__PURE__ */ React.createElement("li", null, /* @__PURE__ */ React.createElement("a", {
4
- href: "#",
5
- "aria-label": "profile"
6
- }, /* @__PURE__ */ React.createElement(UserIcon, null)));
7
- export {
8
- User
9
- };
@@ -1,4 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" viewBox="0 0 16 16"><g><path fill="#ffffff" d="M8,2c1.1,0,2,0.9,2,2v1c0,1.1-0.9,2-2,2S6,6.1,6,5V4C6,2.9,6.9,2,8,2 M8,0C5.8,0,4,1.8,4,4v1
2
- c0,2.2,1.8,4,4,4s4-1.8,4-4V4C12,1.8,10.2,0,8,0L8,0z"/>
3
- <path data-color="color-2" fill="#ffffff" d="M9,12c1.5,0,2.8,0.8,3.5,2l-8.9,0c0.7-1.2,2-2,3.5-2H9 M9,10H7c-3.3,0-6,2.7-6,6v0h14v0
4
- C15,12.7,12.3,10,9,10L9,10z"/></g></svg>
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { RouteProps } from 'react-router-dom';
3
- export interface AppRouteProps extends RouteProps {
4
- pageTitle: string;
5
- }
6
- export declare type RouteRenderFn = RouteProps['render'];
7
- export declare type RouteRenderFnArg = Parameters<NonNullable<RouteRenderFn>>[0];
8
- export declare const AppRoute: React.FC<AppRouteProps>;
@@ -1 +0,0 @@
1
- export declare const onPageView: (pageTitle: string) => void;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { AppRouteProps } from '../index.js';
3
- export interface PriviateRouteProps extends AppRouteProps {
4
- clientId?: string;
5
- scope?: string;
6
- responseType?: string;
7
- }
8
- export declare const PrivateRoute: React.FC<PriviateRouteProps>;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export interface Link {
3
- name?: string;
4
- path?: string;
5
- }
6
- export interface CenterRegionProps {
7
- links: Array<Link>;
8
- }
9
- export declare const CenterRegion: React.FC<CenterRegionProps>;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { Link } from './center-region/index.js';
3
- export interface HeaderProps {
4
- links?: Array<Link>;
5
- show?: boolean;
6
- }
7
- export declare const Header: React.FC<HeaderProps>;
@@ -1,5 +0,0 @@
1
- import { Story, Meta } from '@storybook/react';
2
- import { HeaderProps } from './index.js';
3
- declare const _default: Meta<import("@storybook/react").Args>;
4
- export default _default;
5
- export declare const Basic: Story<HeaderProps>;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const LogoRegion: React.FC;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const NavRegion: React.FC;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Notification: React.FC;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const User: React.FC;