@servicetitan/navigation 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/components/counter-tag.js +1 -1
  2. package/dist/components/counter-tag.js.map +1 -1
  3. package/dist/components/header-navigation/header-navigation-content.d.ts +0 -7
  4. package/dist/components/header-navigation/header-navigation-content.d.ts.map +1 -1
  5. package/dist/components/header-navigation/header-navigation-content.js +6 -7
  6. package/dist/components/header-navigation/header-navigation-content.js.map +1 -1
  7. package/dist/components/header-navigation/header-navigation-extra-stacked.stories.d.ts +9 -0
  8. package/dist/components/header-navigation/header-navigation-extra-stacked.stories.d.ts.map +1 -0
  9. package/dist/components/header-navigation/header-navigation-extra-stacked.stories.js +13 -0
  10. package/dist/components/header-navigation/header-navigation-extra-stacked.stories.js.map +1 -0
  11. package/dist/components/header-navigation/header-navigation-extra.stories.d.ts +5 -6
  12. package/dist/components/header-navigation/header-navigation-extra.stories.d.ts.map +1 -1
  13. package/dist/components/header-navigation/header-navigation-extra.stories.js +19 -11
  14. package/dist/components/header-navigation/header-navigation-extra.stories.js.map +1 -1
  15. package/dist/components/header-navigation/header-navigation-links.d.ts +2 -31
  16. package/dist/components/header-navigation/header-navigation-links.d.ts.map +1 -1
  17. package/dist/components/header-navigation/header-navigation-links.js +11 -30
  18. package/dist/components/header-navigation/header-navigation-links.js.map +1 -1
  19. package/dist/components/header-navigation/header-navigation-stacked.stories.d.ts +3 -3
  20. package/dist/components/header-navigation/header-navigation-stacked.stories.d.ts.map +1 -1
  21. package/dist/components/header-navigation/header-navigation-stacked.stories.js +9 -8
  22. package/dist/components/header-navigation/header-navigation-stacked.stories.js.map +1 -1
  23. package/dist/components/header-navigation/header-navigation.d.ts +1 -28
  24. package/dist/components/header-navigation/header-navigation.d.ts.map +1 -1
  25. package/dist/components/header-navigation/header-navigation.js +9 -24
  26. package/dist/components/header-navigation/header-navigation.js.map +1 -1
  27. package/dist/components/header-navigation/header-navigation.module.less +2 -84
  28. package/dist/components/header-navigation/header-navigation.stories.d.ts +3 -3
  29. package/dist/components/header-navigation/header-navigation.stories.d.ts.map +1 -1
  30. package/dist/components/header-navigation/header-navigation.stories.js +9 -8
  31. package/dist/components/header-navigation/header-navigation.stories.js.map +1 -1
  32. package/dist/components/header-navigation/index.d.ts +0 -1
  33. package/dist/components/header-navigation/index.d.ts.map +1 -1
  34. package/dist/components/header-navigation/index.js +0 -1
  35. package/dist/components/header-navigation/index.js.map +1 -1
  36. package/dist/components/layout.stories.js +3 -3
  37. package/dist/components/layout.stories.js.map +1 -1
  38. package/dist/components/left-navigation/header-navigation-extra-tiny.stories.d.ts +9 -0
  39. package/dist/components/left-navigation/header-navigation-extra-tiny.stories.d.ts.map +1 -0
  40. package/dist/components/left-navigation/header-navigation-extra-tiny.stories.js +13 -0
  41. package/dist/components/left-navigation/header-navigation-extra-tiny.stories.js.map +1 -0
  42. package/dist/components/left-navigation/header-navigation-tiny-links.d.ts +18 -0
  43. package/dist/components/left-navigation/header-navigation-tiny-links.d.ts.map +1 -0
  44. package/dist/components/left-navigation/header-navigation-tiny-links.js +30 -0
  45. package/dist/components/left-navigation/header-navigation-tiny-links.js.map +1 -0
  46. package/dist/components/left-navigation/header-navigation-tiny.d.ts +23 -0
  47. package/dist/components/left-navigation/header-navigation-tiny.d.ts.map +1 -0
  48. package/dist/components/left-navigation/header-navigation-tiny.js +7 -0
  49. package/dist/components/left-navigation/header-navigation-tiny.js.map +1 -0
  50. package/dist/components/left-navigation/header-navigation-tiny.module.less +117 -0
  51. package/dist/components/{header-navigation → left-navigation}/header-navigation-tiny.stories.d.ts +2 -2
  52. package/dist/components/left-navigation/header-navigation-tiny.stories.d.ts.map +1 -0
  53. package/dist/components/left-navigation/header-navigation-tiny.stories.js +30 -0
  54. package/dist/components/left-navigation/header-navigation-tiny.stories.js.map +1 -0
  55. package/dist/components/left-navigation/index.d.ts +3 -0
  56. package/dist/components/left-navigation/index.d.ts.map +1 -0
  57. package/dist/components/left-navigation/index.js +3 -0
  58. package/dist/components/left-navigation/index.js.map +1 -0
  59. package/dist/components/{side-navigation → left-navigation}/side-navigation.d.ts.map +1 -1
  60. package/dist/components/{side-navigation → left-navigation}/side-navigation.js +2 -2
  61. package/dist/components/left-navigation/side-navigation.js.map +1 -0
  62. package/dist/components/{side-navigation → left-navigation}/side-navigation.module.less +3 -3
  63. package/dist/components/{side-navigation → left-navigation}/side-navigation.stories.d.ts +0 -1
  64. package/dist/components/left-navigation/side-navigation.stories.d.ts.map +1 -0
  65. package/dist/components/{side-navigation → left-navigation}/side-navigation.stories.js +1 -1
  66. package/dist/components/{side-navigation → left-navigation}/side-navigation.stories.js.map +1 -1
  67. package/dist/components/links.d.ts +5 -0
  68. package/dist/components/links.d.ts.map +1 -0
  69. package/dist/components/links.js +14 -0
  70. package/dist/components/links.js.map +1 -0
  71. package/dist/components/logo/logo-titan.js +1 -1
  72. package/dist/components/logo/logo-titan.js.map +1 -1
  73. package/dist/components/logo/logo.stories.d.ts +6 -6
  74. package/dist/components/logo/logo.stories.d.ts.map +1 -1
  75. package/dist/components/logo/logo.stories.js +6 -6
  76. package/dist/components/logo/logo.stories.js.map +1 -1
  77. package/dist/components/profile-dropdown/profile-dropdown-stacked.stories.d.ts +1 -1
  78. package/dist/components/profile-dropdown/profile-dropdown-stacked.stories.d.ts.map +1 -1
  79. package/dist/components/profile-dropdown/profile-dropdown-stacked.stories.js +4 -4
  80. package/dist/components/profile-dropdown/profile-dropdown-stacked.stories.js.map +1 -1
  81. package/dist/components/profile-dropdown/profile-dropdown-tiny.stories.d.ts +1 -1
  82. package/dist/components/profile-dropdown/profile-dropdown-tiny.stories.d.ts.map +1 -1
  83. package/dist/components/profile-dropdown/profile-dropdown-tiny.stories.js +5 -5
  84. package/dist/components/profile-dropdown/profile-dropdown-tiny.stories.js.map +1 -1
  85. package/dist/components/profile-dropdown/profile-dropdown.d.ts.map +1 -1
  86. package/dist/components/profile-dropdown/profile-dropdown.js +9 -22
  87. package/dist/components/profile-dropdown/profile-dropdown.js.map +1 -1
  88. package/dist/components/profile-dropdown/profile-dropdown.module.less +9 -0
  89. package/dist/components/profile-dropdown/profile-dropdown.stories.js +3 -3
  90. package/dist/components/profile-dropdown/profile-dropdown.stories.js.map +1 -1
  91. package/dist/index.d.ts +3 -1
  92. package/dist/index.d.ts.map +1 -1
  93. package/dist/index.js +3 -1
  94. package/dist/index.js.map +1 -1
  95. package/dist/test/data-stories.module.less +5 -3
  96. package/dist/test/{data.stories.d.ts → data.d.ts} +1 -2
  97. package/dist/test/data.d.ts.map +1 -0
  98. package/dist/test/{data.stories.js → data.js} +16 -19
  99. package/dist/test/data.js.map +1 -0
  100. package/dist/utils/navigation-context.d.ts +2 -5
  101. package/dist/utils/navigation-context.d.ts.map +1 -1
  102. package/dist/utils/navigation-context.js +3 -19
  103. package/dist/utils/navigation-context.js.map +1 -1
  104. package/dist/utils/navigation.d.ts +46 -0
  105. package/dist/utils/navigation.d.ts.map +1 -1
  106. package/dist/utils/with-tooltip.d.ts +1 -1
  107. package/package.json +5 -5
  108. package/src/components/header-navigation/header-navigation-content.tsx +10 -38
  109. package/src/components/header-navigation/header-navigation-extra-stacked.stories.tsx +19 -0
  110. package/src/components/header-navigation/header-navigation-extra.stories.tsx +84 -52
  111. package/src/components/header-navigation/header-navigation-links.tsx +13 -55
  112. package/src/components/header-navigation/header-navigation-stacked.stories.tsx +6 -8
  113. package/src/components/header-navigation/header-navigation.module.less +2 -84
  114. package/src/components/header-navigation/header-navigation.module.less.d.ts +0 -3
  115. package/src/components/header-navigation/header-navigation.stories.tsx +6 -8
  116. package/src/components/header-navigation/header-navigation.tsx +7 -120
  117. package/src/components/header-navigation/index.ts +0 -1
  118. package/src/components/layout.stories.tsx +3 -3
  119. package/src/components/left-navigation/header-navigation-extra-tiny.stories.tsx +21 -0
  120. package/src/components/left-navigation/header-navigation-tiny-links.tsx +134 -0
  121. package/src/components/left-navigation/header-navigation-tiny.module.less +117 -0
  122. package/src/components/left-navigation/header-navigation-tiny.module.less.d.ts +15 -0
  123. package/src/components/{header-navigation → left-navigation}/header-navigation-tiny.stories.tsx +5 -13
  124. package/src/components/left-navigation/header-navigation-tiny.tsx +65 -0
  125. package/src/components/left-navigation/index.ts +2 -0
  126. package/src/components/{side-navigation → left-navigation}/side-navigation.module.less +3 -3
  127. package/src/components/{side-navigation → left-navigation}/side-navigation.module.less.d.ts +1 -0
  128. package/src/components/{side-navigation → left-navigation}/side-navigation.stories.tsx +1 -1
  129. package/src/components/{side-navigation → left-navigation}/side-navigation.tsx +2 -2
  130. package/src/components/links.tsx +31 -0
  131. package/src/components/logo/logo.stories.tsx +6 -6
  132. package/src/components/profile-dropdown/profile-dropdown-stacked.stories.tsx +14 -6
  133. package/src/components/profile-dropdown/profile-dropdown-tiny.stories.tsx +15 -5
  134. package/src/components/profile-dropdown/profile-dropdown.module.less +9 -0
  135. package/src/components/profile-dropdown/profile-dropdown.module.less.d.ts +1 -0
  136. package/src/components/profile-dropdown/profile-dropdown.stories.tsx +3 -3
  137. package/src/components/profile-dropdown/profile-dropdown.tsx +7 -4
  138. package/src/index.ts +3 -1
  139. package/src/test/data-stories.module.less +5 -3
  140. package/src/test/{data.stories.tsx → data.tsx} +5 -2
  141. package/src/utils/navigation-context.tsx +3 -8
  142. package/src/utils/navigation.ts +51 -0
  143. package/dist/components/header-navigation/header-navigation-tiny.stories.d.ts.map +0 -1
  144. package/dist/components/header-navigation/header-navigation-tiny.stories.js +0 -29
  145. package/dist/components/header-navigation/header-navigation-tiny.stories.js.map +0 -1
  146. package/dist/components/side-navigation/icons.d.ts +0 -7
  147. package/dist/components/side-navigation/icons.d.ts.map +0 -1
  148. package/dist/components/side-navigation/icons.js +0 -5
  149. package/dist/components/side-navigation/icons.js.map +0 -1
  150. package/dist/components/side-navigation/index.d.ts +0 -2
  151. package/dist/components/side-navigation/index.d.ts.map +0 -1
  152. package/dist/components/side-navigation/index.js +0 -2
  153. package/dist/components/side-navigation/index.js.map +0 -1
  154. package/dist/components/side-navigation/side-navigation.js.map +0 -1
  155. package/dist/components/side-navigation/side-navigation.stories.d.ts.map +0 -1
  156. package/dist/test/data.stories.d.ts.map +0 -1
  157. package/dist/test/data.stories.js.map +0 -1
  158. package/src/components/side-navigation/icons.tsx +0 -74
  159. package/src/components/side-navigation/index.ts +0 -1
  160. /package/dist/components/{side-navigation → left-navigation}/side-navigation.d.ts +0 -0
@@ -0,0 +1,117 @@
1
+ /* stylelint-disable no-descending-specificity */
2
+ @import (reference) '@servicetitan/tokens/core/tokens.less';
3
+
4
+ @size-links-tiny: 24px;
5
+
6
+ .header-tiny {
7
+ display: grid;
8
+ grid-template-columns: repeat(3, 1fr);
9
+ grid-template-rows: 48px;
10
+
11
+ background-color: @color-white;
12
+ color: @color-black;
13
+
14
+ & > * {
15
+ overflow-y: hidden;
16
+ }
17
+
18
+ .he-top-left {
19
+ grid-column: span 1;
20
+ }
21
+
22
+ .he-top-center {
23
+ grid-column: span 1;
24
+ }
25
+
26
+ .he-top-right {
27
+ grid-column: span 1;
28
+
29
+ & > * {
30
+ color: @color-black;
31
+ }
32
+ }
33
+
34
+ :global(.profile-dropdown-image) {
35
+ height: 24px;
36
+ width: 24px;
37
+ }
38
+
39
+ :global(.profile-dropdown-trigger) {
40
+ height: 32px;
41
+ font-size: @size-links-tiny;
42
+ }
43
+
44
+ .navigation-link {
45
+ margin: 6px 2px;
46
+ padding: 6px 6px;
47
+ border-radius: 12px;
48
+ font-size: @size-links-tiny;
49
+ color: inherit;
50
+
51
+ &.navigation-item-active:not(.navigation-item-overflow) {
52
+ background-color: @color-blue-100 !important;
53
+ color: @color-blue-500 !important;
54
+ }
55
+ &:hover:not(.navigation-item-active):not(.navigation-item-overflow) {
56
+ background-color: rgba(0, 0, 0, 0.12) !important;
57
+ }
58
+
59
+ &.navigation-item-icon-state.navigation-item-active {
60
+ .navigation-icon:not(.navigation-icon-active) {
61
+ display: none;
62
+ }
63
+
64
+ .navigation-icon.navigation-icon-active[data-anv][data-anv] {
65
+ display: block;
66
+ }
67
+ }
68
+ }
69
+
70
+ .navigation-icon[data-anv][data-anv] {
71
+ display: inline-block;
72
+ color: inherit;
73
+ height: 24px;
74
+ width: 24px;
75
+
76
+ > svg {
77
+ height: @size-links-tiny;
78
+ width: @size-links-tiny;
79
+ }
80
+
81
+ &.navigation-icon-active {
82
+ display: none;
83
+ }
84
+ }
85
+ }
86
+
87
+ .navigation-link {
88
+ // styles specific to extra nav links
89
+ color: @color-black;
90
+ position: relative;
91
+ display: flex;
92
+ align-items: center;
93
+ flex-wrap: nowrap;
94
+ text-wrap: nowrap;
95
+
96
+ .navigation-item-counter {
97
+ color: @color-white;
98
+ font-weight: @font-weight-semibold;
99
+ font-size: 8px !important;
100
+ min-width: 12px;
101
+ position: absolute;
102
+ top: 4px;
103
+ right: -2px;
104
+ }
105
+
106
+ .navigation-item-label {
107
+ color: inherit;
108
+ font-size: @typescale-1;
109
+ font-family: @base-font-family;
110
+ font-weight: @font-weight-semibold;
111
+ margin-left: @spacing-half;
112
+ }
113
+
114
+ &.navigation-item-counter-long {
115
+ right: -8px;
116
+ }
117
+ }
@@ -1,12 +1,12 @@
1
1
  import { FC } from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: FC<import("./header-navigation").HeaderNavigationTinyProps>;
4
+ component: FC<import("./header-navigation-tiny").HeaderNavigationTinyProps>;
5
5
  parameters: {};
6
6
  decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
7
7
  };
8
8
  export default _default;
9
- export declare const defaultNavigation: () => import("react/jsx-runtime").JSX.Element;
9
+ export declare const DefaultTinyNavigation: () => import("react/jsx-runtime").JSX.Element;
10
10
  export declare const WithAllMonolithData: () => import("react/jsx-runtime").JSX.Element;
11
11
  export declare const WithAllMonolithDataCommercial: () => import("react/jsx-runtime").JSX.Element;
12
12
  //# sourceMappingURL=header-navigation-tiny.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header-navigation-tiny.stories.d.ts","sourceRoot":"","sources":["../../../src/components/left-navigation/header-navigation-tiny.stories.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;;;;;;;AASrC,wBAaE;AAEF,eAAO,MAAM,qBAAqB,+CAMjC,CAAC;AAQF,eAAO,MAAM,mBAAmB,+CA4D/B,CAAC;AAEF,eAAO,MAAM,6BAA6B,+CA+DzC,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import SvgSearch from '@servicetitan/anvil2/assets/icons/material/round/search.svg';
3
+ import SvgSettingsActive from '@servicetitan/anvil2/assets/icons/st/gnav_settings_active.svg';
4
+ import SvgSettings from '@servicetitan/anvil2/assets/icons/st/gnav_settings_inactive.svg';
5
+ import SvgRocketActive from '@servicetitan/anvil2/assets/icons/st/gnav_titan_advisor_active.svg';
6
+ import SvgRocket from '@servicetitan/anvil2/assets/icons/st/gnav_titan_advisor_inactive.svg';
7
+ import { Input, Stack } from '@servicetitan/design-system';
8
+ import { Fragment } from 'react';
9
+ import { CallsNavigationTrigger, SearchIcon, withAnvil, withMemoryRouter } from '../../test/data';
10
+ import * as Styles from '../header-navigation/header-navigation-stories.module.less';
11
+ import { LogoCompanyTitle } from '../logo/logo-company-title';
12
+ import { LogoTitan, LogoTitanTitle } from '../logo/logo-titan-text';
13
+ import { ProfileDropdown } from '../profile-dropdown/profile-dropdown';
14
+ import { HeaderNavigationTiny } from './header-navigation-tiny';
15
+ import { HeaderNavigationLink } from './header-navigation-tiny-links';
16
+ export default {
17
+ title: 'Navigation/HeaderNavigationTiny',
18
+ component: HeaderNavigationTiny,
19
+ parameters: {},
20
+ decorators: [
21
+ withMemoryRouter,
22
+ withAnvil,
23
+ (Story) => (_jsx("div", { className: "border", style: { height: '500px' }, children: _jsx(Story, {}) })),
24
+ ],
25
+ };
26
+ export const DefaultTinyNavigation = () => (_jsx(HeaderNavigationTiny, { className: "border-bottom", left: _jsx(LogoCompanyTitle, { className: "m-l-1", size: "150" }), leftClassName: "d-f align-items-center" }));
27
+ const TimeZoneOffset = () => (_jsx("div", { className: "fs-2 ff-default p-r-1", children: _jsx("span", { children: "EST (-9 hrs)" }) }));
28
+ export const WithAllMonolithData = () => (_jsx(HeaderNavigationTiny, { className: "border-bottom", left: _jsx(LogoCompanyTitle, { className: "m-l-1", size: "150" }), leftClassName: "d-f align-items-center", right: _jsxs(Fragment, { children: [_jsx(TimeZoneOffset, {}), _jsx(HeaderNavigationLink, { id: "search", to: "https://google.com", target: "_blank", iconComponent: SearchIcon, hint: "Search: for all the questions", tooltip: "Search", icon: SvgSearch, iconActive: SvgSearch }), _jsx(CallsNavigationTrigger, {}), _jsx(HeaderNavigationLink, { id: "titanAdvisor", to: "titanAdvisor", iconName: "rocket", iconClassName: Styles.rocketIcon, icon: SvgRocket, iconActive: SvgRocketActive }), _jsx(HeaderNavigationLink, { id: "settings", to: "settings", target: "_blank", iconName: "settings", "aria-label": "search", hint: "Settings", icon: SvgSettings, iconActive: SvgSettingsActive }), _jsxs(ProfileDropdown, { children: [_jsx(ProfileDropdown.Link, { id: "tasks", to: "https://googgle.com", counter: 10, children: "Task Management" }), _jsx(ProfileDropdown.Divider, {}), _jsxs(ProfileDropdown.Link, { id: "sign-out", to: "https://googgle.com", children: ["Sign Out", ' ', _jsx("span", { className: "c-neutral-100 m-l-half t-truncate", children: "James Bond" })] }), _jsx(ProfileDropdown.Section, { id: "userid", className: "c-neutral-100 fs-1", children: "User ID: 007" })] })] }), center: _jsx(Input, { placeholder: "Search smth", size: "xsmall", className: "w-100" }), centerClassName: "d-f align-items-center" }));
29
+ export const WithAllMonolithDataCommercial = () => (_jsx(HeaderNavigationTiny, { className: "border-bottom", left: _jsxs(Stack, { alignItems: "center", children: [_jsx(LogoTitan, { mantleFill: "#2270EE", className: "p-x-half", size: 48 }), _jsx(LogoTitanTitle, { children: "Commercial" })] }), leftClassName: "d-f align-items-center", right: _jsxs(Fragment, { children: [_jsx(TimeZoneOffset, {}), _jsx(HeaderNavigationLink, { id: "search", to: "https://google.com", target: "_blank", iconComponent: SearchIcon, hint: "Search: for all the questions", icon: SvgSearch, iconActive: SvgSearch }), _jsx(CallsNavigationTrigger, {}), _jsx(HeaderNavigationLink, { id: "titanAdvisor", to: "titanAdvisor", iconName: "rocket", iconClassName: Styles.rocketIcon, icon: SvgRocket, iconActive: SvgRocketActive }), _jsx(HeaderNavigationLink, { id: "settings", to: "settings", iconName: "settings", "aria-label": "search", hint: "Settings", icon: SvgSettings, iconActive: SvgSettingsActive }), _jsxs(ProfileDropdown, { children: [_jsx(ProfileDropdown.Link, { id: "tasks", to: "https://googgle.com", counter: 10, children: "Task Management" }), _jsx(ProfileDropdown.Divider, {}), _jsxs(ProfileDropdown.Link, { id: "sign-out", to: "https://googgle.com", children: ["Sign Out", ' ', _jsx("span", { className: "c-neutral-100 m-l-half t-truncate", children: "James Bond" })] }), _jsx(ProfileDropdown.Section, { id: "userid", className: "c-neutral-100 fs-1", children: "User ID: 007" })] })] }), center: _jsx(Input, { placeholder: "Search smth", size: "xsmall", className: "w-100" }), centerClassName: "d-f align-items-center" }));
30
+ //# sourceMappingURL=header-navigation-tiny.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header-navigation-tiny.stories.js","sourceRoot":"","sources":["../../../src/components/left-navigation/header-navigation-tiny.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,6DAA6D,CAAC;AACpF,OAAO,iBAAiB,MAAM,+DAA+D,CAAC;AAC9F,OAAO,WAAW,MAAM,iEAAiE,CAAC;AAC1F,OAAO,eAAe,MAAM,oEAAoE,CAAC;AACjG,OAAO,SAAS,MAAM,sEAAsE,CAAC;AAE7F,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE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C,qBAAqB,yBAC/C,GAAG,EACZ,eAAM,SAAS,EAAC,mCAAmC,2BAAkB,IAClD,EACvB,KAAC,eAAe,CAAC,OAAO,IAAC,EAAE,EAAC,QAAQ,EAAC,SAAS,EAAC,oBAAoB,6BAEzC,IACZ,IACX,EAEf,MAAM,EAAE,KAAC,KAAK,IAAC,WAAW,EAAC,aAAa,EAAC,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,OAAO,GAAG,EAC3E,eAAe,EAAC,wBAAwB,GAC1C,CACL,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './header-navigation-tiny';
2
+ export * from './side-navigation';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/left-navigation/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './header-navigation-tiny';
2
+ export * from './side-navigation';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/left-navigation/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"side-navigation.d.ts","sourceRoot":"","sources":["../../../src/components/side-navigation/side-navigation.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAMzF,MAAM,WAAW,mBAAmB;IAChC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,4BAA4B;IAC5B,KAAK,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACnC,2BAA2B;IAC3B,QAA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eAAO,MAAM,2BAA2B,EAAE,EAAE,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;CAC7C,CAgBI,CAAC"}
@@ -9,7 +9,7 @@ import { withTooltip } from '../../utils/with-tooltip';
9
9
  import { CounterTag } from '../counter-tag';
10
10
  import * as Styles from './side-navigation.module.less';
11
11
  export const SideNavigation = ({ className, expanded, id, items, itemsTop, navigationComponent = DefaultNavLinkComponent, onExpandedChange, }) => {
12
- return (_jsxs("div", { className: classNames(Styles.sideNav, expanded ? Styles.sideNavExpanded : Styles.sideNavSlim, className), id: id, "data-cy": "side-navigation", children: [!!(itemsTop === null || itemsTop === void 0 ? void 0 : itemsTop.length) && (_jsxs(Fragment, { children: [_jsx("div", { className: Styles.sideNavTop, "data-cy": "navigation-items-top", children: itemsTop.map(item => (_jsx(SideNavigationItem, Object.assign({ expanded: expanded, navigationComponent: navigationComponent }, item), item.id))) }), _jsx("div", { className: Styles.divider })] })), _jsx("div", { className: Styles.sideNavContent, "data-cy": "navigation-items", children: items === null || items === void 0 ? void 0 : items.map(item => (_jsx(SideNavigationItem, Object.assign({ expanded: expanded, navigationComponent: navigationComponent }, item), item.id))) }), _jsx("div", { className: Styles.sideNavBottom, children: _jsx(SideNavigationOptionsToggle, { expanded: expanded, onExpandedChange: onExpandedChange }) })] }));
12
+ return (_jsxs("div", { className: classNames(Styles.sideNav, expanded ? Styles.sideNavExpanded : Styles.sideNavSlim, className), id: id, "data-cy": "side-navigation", children: [!!(itemsTop === null || itemsTop === void 0 ? void 0 : itemsTop.length) && (_jsxs(Fragment, { children: [_jsx("div", { className: Styles.sideNavTop, "data-cy": "navigation-items-top", children: itemsTop.map(item => (_jsx(SideNavigationItem, { expanded: expanded, navigationComponent: navigationComponent, ...item }, item.id))) }), _jsx("div", { className: Styles.divider })] })), _jsx("div", { className: Styles.sideNavContent, "data-cy": "navigation-items", children: items === null || items === void 0 ? void 0 : items.map(item => (_jsx(SideNavigationItem, { expanded: expanded, navigationComponent: navigationComponent, ...item }, item.id))) }), _jsx("div", { className: Styles.sideNavBottom, children: _jsx(SideNavigationOptionsToggle, { expanded: expanded, onExpandedChange: onExpandedChange }) })] }));
13
13
  };
14
14
  /** Side Navigation menu item */
15
15
  const SideNavigationItem = ({ id, to, title, hint, counter, className, iconClassName, iconComponent: IconComponent, icon, iconActive, isActive, navigationComponent: NavigationComponent, expanded, }) => {
@@ -19,5 +19,5 @@ const SideNavigationItem = ({ id, to, title, hint, counter, className, iconClass
19
19
  }), isActive: typeof isActive === 'function' ? isActive : undefined, activeClassName: Styles.navigationItemActive, children: [IconComponent ? (_jsx("i", { className: classNames(Styles.navigationIcon, iconClassName), children: _jsx(IconComponent, {}) })) : (_jsxs(Fragment, { children: [icon && (_jsx(Icon, { svg: icon, className: classNames(Styles.navigationIcon, iconClassName) })), iconActive && (_jsx(Icon, { svg: iconActive, className: classNames(Styles.navigationIcon, Styles.navigationIconActive, iconClassName) }))] })), !!expanded && _jsx("span", { className: Styles.navigationItemText, children: title }), !!counter && _jsx(CounterTag, { data: counter, className: Styles.navigationItemCounter })] }, id), expanded ? undefined : title, 'right');
20
20
  };
21
21
  /** Side Navigation options toggle */
22
- export const SideNavigationOptionsToggle = ({ expanded, onExpandedChange }) => withTooltip(_jsxs("div", { "data-cy": "navigation-left-options", "data-pendo": "navigation-left-options", className: classNames(Styles.optionsItem), onClick: () => onExpandedChange(!expanded), children: [_jsx("div", { className: Styles.optionsIcon, children: _jsx(Icon, { svg: expanded ? SvgCollapse : SvgExpand }) }), !!expanded && _jsx("span", { className: Styles.optionsItemText, children: "Collapse Menu" })] }), expanded ? undefined : 'Expand Menu', 'right');
22
+ export const SideNavigationOptionsToggle = ({ expanded, onExpandedChange }) => withTooltip(_jsxs("div", { "data-cy": "navigation-left-options", "data-pendo": "navigation-left-options", className: classNames(Styles.optionsItem), onClick: () => onExpandedChange(!expanded), children: [_jsx("div", { className: Styles.optionsIconWrapper, children: _jsx(Icon, { className: Styles.optionsIcon, svg: expanded ? SvgCollapse : SvgExpand }) }), !!expanded && _jsx("span", { className: Styles.optionsItemText, children: "Collapse Menu" })] }), expanded ? undefined : 'Expand Menu', 'right');
23
23
  //# sourceMappingURL=side-navigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-navigation.js","sourceRoot":"","sources":["../../../src/components/left-navigation/side-navigation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,WAAW,MAAM,6DAA6D,CAAC;AACtF,OAAO,SAAS,MAAM,2DAA2D,CAAC;AAClF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AAmBxD,MAAM,CAAC,MAAM,cAAc,GAA4B,CAAC,EACpD,SAAS,EACT,QAAQ,EACR,EAAE,EACF,KAAK,EACL,QAAQ,EACR,mBAAmB,GAAG,uBAAuB,EAC7C,gBAAgB,GACnB,EAAE,EAAE;IACD,OAAO,CACH,eACI,SAAS,EAAE,UAAU,CACjB,MAAM,CAAC,OAAO,EACd,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,EACtD,SAAS,CACZ,EACD,EAAE,EAAE,EAAE,aACE,iBAAiB,aAExB,CAAC,CAAC,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,CAAA,IAAI,CACnB,MAAC,QAAQ,eACL,cAAK,SAAS,EAAE,MAAM,CAAC,UAAU,aAAU,sBAAsB,YAC5D,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CAAC,CAAC,QAAQ,CAAC,aAE1C,cAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,YACrC,KAAC,IAAI,IAAC,SAAS,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,GAAI,GAC9E,EAEL,CAAC,CAAC,QAAQ,IAAI,eAAM,SAAS,EAAE,MAAM,CAAC,eAAe,8BAAsB,IAC1E,EACN,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,EACpC,OAAO,CACV,CAAC"}
@@ -111,7 +111,7 @@
111
111
  }
112
112
  }
113
113
 
114
- .navigation-icon {
114
+ .navigation-icon[data-anv][data-anv] {
115
115
  height: 24px;
116
116
  width: 24px;
117
117
  color: inherit;
@@ -146,13 +146,13 @@
146
146
  background-color: @bg-color-hover;
147
147
  }
148
148
 
149
- .options-icon {
149
+ .options-icon-wrapper {
150
150
  height: 24px;
151
151
  width: 24px;
152
152
  padding-left: @spacing-1;
153
153
  padding-right: @spacing-1;
154
154
 
155
- & > span > svg {
155
+ .options-icon[data-anv][data-anv] > svg {
156
156
  height: 24px;
157
157
  width: 24px;
158
158
  color: @text-color;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  component: import("react").FC<import("./side-navigation").SideNavigationProps>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-navigation.stories.d.ts","sourceRoot":"","sources":["../../../src/components/left-navigation/side-navigation.stories.tsx"],"names":[],"mappings":";;;;;;AAYA,wBAKE;AAEF,eAAO,MAAM,qBAAqB,+CA0BjC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
- import { NavLinkMock, items, withAnvil, withMemoryRouter } from '../../test/data.stories';
3
+ import { NavLinkMock, items, withAnvil, withMemoryRouter } from '../../test/data';
4
4
  import { SideNavigation } from './';
5
5
  const layout = (Story) => {
6
6
  return (_jsxs("div", { className: "d-f border", style: { height: '800px' }, children: [_jsx(Story, {}), _jsx("div", { className: "flex-grow-1 flex-basis-0" })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"side-navigation.stories.js","sourceRoot":"","sources":["../../../src/components/side-navigation/side-navigation.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEpC,MAAM,MAAM,GAAG,CAAC,KAAoB,EAAE,EAAE;IACpC,OAAO,CACH,eAAK,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,aAClD,KAAC,KAAK,KAAG,EACT,cAAK,SAAS,EAAC,0BAA0B,GAAG,IAC1C,CACT,CAAC;AACN,CAAC,CAAC;AACF,eAAe;IACX,KAAK,EAAE,2BAA2B;IAClC,SAAS,EAAE,cAAc;IACzB,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,SAAS,CAAC;IACjD,UAAU,EAAE,EAAE;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACtC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,OAAO,CACH,KAAC,cAAc,IACX,mBAAmB,EAAE,WAAW,EAChC,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,WAAW,EAC7B,KAAK,EAAE;YACH,KAAK,CAAC,SAAS;YACf,KAAK,CAAC,QAAQ;YACd,KAAK,CAAC,KAAK;YACX,KAAK,CAAC,UAAU;YAChB,KAAK,CAAC,QAAQ;YAEd,KAAK,CAAC,KAAK;YACX,KAAK,CAAC,SAAS;YACf,KAAK,CAAC,SAAS;YAEf,KAAK,CAAC,SAAS;YACf,KAAK,CAAC,SAAS;YACf,KAAK,CAAC,WAAW;YACjB,KAAK,CAAC,OAAO;SAChB,EACD,QAAQ,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,GACzB,CACL,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"side-navigation.stories.js","sourceRoot":"","sources":["../../../src/components/left-navigation/side-navigation.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEpC,MAAM,MAAM,GAAG,CAAC,KAAoB,EAAE,EAAE;IACpC,OAAO,CACH,eAAK,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,aAClD,KAAC,KAAK,KAAG,EACT,cAAK,SAAS,EAAC,0BAA0B,GAAG,IAC1C,CACT,CAAC;AACN,CAAC,CAAC;AACF,eAAe;IACX,KAAK,EAAE,2BAA2B;IAClC,SAAS,EAAE,cAAc;IACzB,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,SAAS,CAAC;IACjD,UAAU,EAAE,EAAE;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACtC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,OAAO,CACH,KAAC,cAAc,IACX,mBAAmB,EAAE,WAAW,EAChC,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,WAAW,EAC7B,KAAK,EAAE;YACH,KAAK,CAAC,SAAS;YACf,KAAK,CAAC,QAAQ;YACd,KAAK,CAAC,KAAK;YACX,KAAK,CAAC,UAAU;YAChB,KAAK,CAAC,QAAQ;YAEd,KAAK,CAAC,KAAK;YACX,KAAK,CAAC,SAAS;YACf,KAAK,CAAC,SAAS;YAEf,KAAK,CAAC,SAAS;YACf,KAAK,CAAC,SAAS;YACf,KAAK,CAAC,WAAW;YACjB,KAAK,CAAC,OAAO;SAChB,EACD,QAAQ,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,GACzB,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { HeaderNavigationLinkProps, HeaderNavigationTriggerProps } from '../utils/navigation';
3
+ export declare const HeaderNavigationLink: FC<HeaderNavigationLinkProps>;
4
+ export declare const HeaderNavigationTrigger: FC<HeaderNavigationTriggerProps>;
5
+ //# sourceMappingURL=links.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/components/links.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAW9F,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAQ9D,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAQpE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useContext } from 'react';
3
+ import { NavigationLegacyContext } from '../utils/navigation-context';
4
+ import { HeaderNavigationLink as HeaderNavigationLinkLegacy, HeaderNavigationTrigger as HeaderNavigationTriggerLegacy, } from './header-navigation/header-navigation-links';
5
+ import { HeaderNavigationLink as HeaderNavigationLinkModern, HeaderNavigationTrigger as HeaderNavigationTriggerModern, } from './left-navigation/header-navigation-tiny-links';
6
+ export const HeaderNavigationLink = props => {
7
+ const isLegacy = useContext(NavigationLegacyContext);
8
+ return isLegacy ? (_jsx(HeaderNavigationLinkLegacy, { ...props })) : (_jsx(HeaderNavigationLinkModern, { ...props }));
9
+ };
10
+ export const HeaderNavigationTrigger = props => {
11
+ const isLegacy = useContext(NavigationLegacyContext);
12
+ return isLegacy ? (_jsx(HeaderNavigationTriggerLegacy, { ...props })) : (_jsx(HeaderNavigationTriggerModern, { ...props }));
13
+ };
14
+ //# sourceMappingURL=links.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links.js","sourceRoot":"","sources":["../../src/components/links.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,UAAU,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EACH,oBAAoB,IAAI,0BAA0B,EAClD,uBAAuB,IAAI,6BAA6B,GAC3D,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACH,oBAAoB,IAAI,0BAA0B,EAClD,uBAAuB,IAAI,6BAA6B,GAC3D,MAAM,gDAAgD,CAAC;AAExD,MAAM,CAAC,MAAM,oBAAoB,GAAkC,KAAK,CAAC,EAAE;IACvE,MAAM,QAAQ,GAAG,UAAU,CAAC,uBAAuB,CAAC,CAAC;IAErD,OAAO,QAAQ,CAAC,CAAC,CAAC,CACd,KAAC,0BAA0B,OAAK,KAAK,GAAI,CAC5C,CAAC,CAAC,CAAC,CACA,KAAC,0BAA0B,OAAK,KAAK,GAAI,CAC5C,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAqC,KAAK,CAAC,EAAE;IAC7E,MAAM,QAAQ,GAAG,UAAU,CAAC,uBAAuB,CAAC,CAAC;IAErD,OAAO,QAAQ,CAAC,CAAC,CAAC,CACd,KAAC,6BAA6B,OAAK,KAAK,GAAI,CAC/C,CAAC,CAAC,CAAC,CACA,KAAC,6BAA6B,OAAK,KAAK,GAAI,CAC/C,CAAC;AACN,CAAC,CAAC"}
@@ -8,6 +8,6 @@ export const LogoTitanSvg = props => {
8
8
  };
9
9
  const fill = (_c = props.fill) !== null && _c !== void 0 ? _c : '#3A3A3A';
10
10
  const mantleFill = (_d = props.mantleFill) !== null && _d !== void 0 ? _d : fill;
11
- return (_jsxs("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" }, dimensions, { viewBox: "0 0 116 106", children: [_jsx("defs", { children: _jsx("path", { id: "a", d: "M0 .12h63.625V40H0z" }) }), _jsxs("g", { fill: "none", fillRule: "evenodd", children: [_jsx("path", { fill: mantleFill, d: "M10.33 96S17 98.545 17 101.089c0 0-.403 1.911-2.671 1.911C12.066 103 9 99.581 9 97.908 9 96.236 10.33 96 10.33 96" }), _jsxs("g", { transform: "translate(0 66)", children: [_jsx("mask", { id: "b", fill: "#fff", children: _jsx("use", { xlinkHref: "#a" }) }), _jsx("path", { fill: mantleFill, d: "M3.733.453A.416.416 0 0 0 3.51.167a.403.403 0 0 0-.36-.01C1.968.677 0 2.1 0 5.058 0 15.962 29.34 17.19 45.224 36.706a8.92 8.92 0 0 0 7.085 3.293c3.607-.068 7.2-.258 10.388-.773a1.1 1.1 0 0 0 .84-.663c.15-.352.105-.757-.112-1.07C44.077 9.88 7.247 16.268 3.733.453", mask: "url(#b)" })] }), _jsx("path", { fill: fill, d: "M45 32.862c-1.712-1.879-6.568-.445-9.176 1.978-2.68 2.49-1.615 4.16-1.615 4.16 2.177-3.367 5.588-4.741 7.514-5.01 2.36-.328 3.277-1.128 3.277-1.128" }), _jsx("path", { fill: fill, d: "M105.301 37.812s-3.795.958-7.721-3.088c0 0 1.52.174 1.913-2.045 0 0 2.14 4.393 5.808 5.133m-1.397 18.16s-.596 4.407-6.07 4.407c-5.473 0-10.251-7.73-12.135-25.417 1.354 2.102 2.738 4.128 3.767 6.507.003-2.493 1.17-6.633-4.396-10.887 0 0 14.727 3.053 15.077 18.144 0 2.603-1.53 5.282-2.512 6.262 0 0-.674.577-.256 1.424.415.842 1.441.641 2.828-.29 1.389-.933 3.697-2.53 3.697-.15M83.19 64.374s-3.986 7.51-9.403 7.51c-2.21 0-3.79-1.577-3.79-3.756 0-2.182 2.681-9.984 14.331-9.984 2.783 0 4.963.508 4.963 2.184 0 1.677-2.644 4.559-6.1 4.046m0-37.55s-1.54-.301-1.045-2.59c.241-.777.415-.764.415-1.948s.311-2.563 1.255-2.969c0 0 1.618.003 1.618 4.222 0 1.83-2.244 3.286-2.244 3.286m-5.027 0c-2.25-.238-.649-3.865-2.267-4.086-.62-.086-.77 4.103-1.503 3.464-1.449-1.27-.378-3.862-.226-5.07.151-1.214.743-2.727-.567-1.816-1.31.911-2.008 2.83-2.455 4.467-.445 1.634.447 2.412 1.056 4.303.609 1.895-.522 1.243-.522 1.243-6.098-3.642-1.704-11.315-1.704-11.315 2.644-4.504 6.597-3.16 6.597-3.16.77.275.962.723.962 1.68s.259 1.262 1.394 1.53c1.136.27 1.673 1.658 1.673 3.91 0 2.252-1.434 4.956-2.438 4.85m9.368-.414l10.035 3.026s1.842 3.414-1.869 2.414c-3.712-1.003-7.336-2.134-7.336-2.134s-1.965-1-.83-3.306M38.182 41.47c-7.117 1.26-9.637-.916-9.637-2.753 0-5.601 16.175-9.942 20.728-10.011.917 1.382-.696 1.144-1.357 3.229-.658 2.082-2.269 2.743-4.622 3.028-2.356.285-4.826 1.5-6.38 2.924-1.44 1.322 0 1.93 2.938 1.087 2.873-.824 3.223.406 4.399-.03 1.173-.435.129-1.844.628-2.104.756-.394 2.327.673 2.327.673l4.092 2.595s-4.597 2.328-4.92 2.506c-.323.178-.872.483-.872 1.11 0 .99 2.547.628 3.42.628.874 0 1.008 1.424 1.008 1.424-1.337 1.538-4.818 1.55-4.818 1.55.775 1.637 5.156 1.372 6.043 1.401.882.033.974 1.273 1.422 3.296.45 2.028 3.287 2.89 3.287 2.89.92 3-2.706 3.872-5.106 3.872-14.063 0-12.58-17.315-12.58-17.315m1.6-22.275a.437.437 0 0 1-.385-.373C38.64 13.21 41.11 6.368 41.11 6.368s-5.997 4.821-5.763 12.524c-5.09-.126-12.575.424-16.988 4.182-6.188 5.265-7.204 15.201-7.366 17.81a.419.419 0 0 1-.631.33c-1.459-.876-4.898-3.776-2.425-10.632C11.023 22.032 20.546 4.298 39.539 3.1c0 0 5.813-.243 9.737 1.835a.432.432 0 0 1 .23.341.438.438 0 0 1-.163.38c-1.628 1.29-6.688 5.803-8.502 13.28a.44.44 0 0 1-.48.33c-.15-.022-.345-.044-.578-.072m14.12 23.535s1.754 7.649 5.283 10.355c0 0-.132.773-1.245.773-1.11 0-3.208-1.773-4.038-5.906-.83-4.135 0-5.222 0-5.222m5.283-19.013c-4.453 0-6.419-3.771-6.419-3.771s5.107 4.816 12.204.896c0 0-1.33 2.875-5.785 2.875m54.718 6.38c-1.125-2.282-2.882-4.117-6.24-4.94-3.265-.801-6.145-.39-8.12 1.328l-6.541-2.214c-.741-1.6-1.357-3.06-1.8-4.32a4.647 4.647 0 0 0-2.1-2.509c-4.279-2.431-15.872-8.208-20.362-2.305 0 0-.236.263-.554.733l-1.402-.475c-.725-2.514-3.116-4.442-6.431-5.255-2.04-.5-4.048-.373-5.713.238-1.21.446-1.268 1.857-.05 2.283l5.216 1.822a2.261 2.261 0 0 1 1.394 2.885l-.007.017a2.273 2.273 0 0 1-2.895 1.39s-3.323-.981-5.651-1.672c-1.233-.366-2.359.78-1.988 2.003.748 2.491 3.208 4.697 6.496 5.502 2.79.681 5.524.196 7.4-1.104l1.228.413c.092 2.83 2.284 6.21 4.336 7.426 3.144 1.86 6.026.206 9.3-1.387 0 0 8.195 6.527 4.395 25.033-10.492 1.1-14.289 4.86-18.096 8.657-2.386-.944-9.597-1.407-13.437-.523 1.089-1.084 2.893-2.364 5.107-3.219a2.601 2.601 0 0 0 1.668-2.424s4.803-1.53 4.803-3.29c0-1.758-5.931-1.578-8.37-14.22-.394-1.469-.842-2.7-3.108-3.757 0 0-.631-1.324.283-2.773.917-1.448 1.588-2.12 1.345-3.268-.241-1.15-1.939-2.095-1.939-2.095v-1.924s-4.856-3.526-4.856-8.572c0-5.046 6.583-11.11 8.378-12.868a.452.452 0 0 0 .134-.394.492.492 0 0 0-.241-.339C53.17 2.545 48.577 0 41.515 0 13.618 0 7.089 24.934 1.11 37.047c-.131.27-.154.582-.02.85C7.06 49.753 16.697 48.79 17.223 58.734c.423 7.955-1.443 8.131-3.302 7.963-1.22-.112-3.007-1.196-4.093-1.932a.423.423 0 0 0-.492.013c-.144.109-.201.297-.144.468.728 2.169 2.877 6.638 9.04 6.638 3.134 0 4.13-2.833 4.13-5.442v-8.99c0-.887-.293-1.727-.969-2.304-2.12-1.817-6.637-6.182-6.637-10.057 0-1.654 1.106-2.514 2.395-2.514 2.426 0 4.77 3.628 6.59 8.204.423 1.07 1.032 1.827 1.589 2.196a.26.26 0 0 0 .288-.005.25.25 0 0 0 .094-.268c-.75-2.659-.999-5.432-1.078-6.799a1.997 1.997 0 0 0-.696-1.394c-1.8-1.53-6.667-6.339-6.667-13.524 0-9.681 15.469-8.872 18.59-8.607.927 3.226 2.866 4.625 4.158 5.215-4.677 1.718-15.241 5.17-15.241 11.127 0 6.388 10.586 5.923 10.586 5.923s-1.68 12.754 10.244 16.6c0 0-1.864 1.876-8.268 1.876-5.977 0-8.894-2.659-10.316-5.796a.36.36 0 0 0-.664.015c-.325.812-.583 2.285.548 4.127 1.757 2.855 4.023 4.494 4.023 8.124 0 2.684-2.416 4.368-3.407 4.945a.178.178 0 0 0-.09.183.18.18 0 0 0 .14.151c2.345.567 13.031 3.241 20.225 6.641.058.03.125.025.18-.007.805-.506 7.027-4.556 7.382-9.897 0 0 .473-3.492-4.76-4.123 0 0 2.263-.871 6.36-.871 4.084 0 8.542 3.3.515 19.744a.183.183 0 0 0 .065.235c1.232.775 10.367 6.579 16.21 12.227a.645.645 0 0 0 .964-.077c.755-.993 2.214-3.657 3.29-10.216a1.59 1.59 0 0 1 1.13-1.268c3.487-1.003 15.433-4.86 20.662-12.029 6.16-8.44 8.295-9.35 8.295-9.35s4.03-2.248 2.326-8.198c-.892-3.105-5.584-11.253-10.201-19.593a10.952 10.952 0 0 0 3.757 1.704c2.808.686 5.557.255 7.527-.968a1.323 1.323 0 1 0-.263-2.372l-5.196-1.815a2.394 2.394 0 0 1-1.474-3.053l.007-.02a2.407 2.407 0 0 1 3.064-1.468l4.638 1.621c.462.161.979.045 1.327-.302.345-.346.517-.879.3-1.32" }), _jsx("path", { fill: mantleFill, d: "M44.151 45s-2.766.605-2.025 3.75C42.868 51.914 46 52 46 52c-2.723-2.607-1.849-7-1.849-7M8.875 84.576c7.098 4.115 22.77 8.899 26.046 17.51 0 0 1.12 1.914-5.066 1.914-4.685 0-5.949-1.166-9.277-5.101C15.69 93.119 6 89.753 6 85.29c0 0 .064-2.343 2.875-.714" })] })] })));
11
+ return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ...dimensions, viewBox: "0 0 116 106", children: [_jsx("defs", { children: _jsx("path", { id: "a", d: "M0 .12h63.625V40H0z" }) }), _jsxs("g", { fill: "none", fillRule: "evenodd", children: [_jsx("path", { fill: mantleFill, d: "M10.33 96S17 98.545 17 101.089c0 0-.403 1.911-2.671 1.911C12.066 103 9 99.581 9 97.908 9 96.236 10.33 96 10.33 96" }), _jsxs("g", { transform: "translate(0 66)", children: [_jsx("mask", { id: "b", fill: "#fff", children: _jsx("use", { xlinkHref: "#a" }) }), _jsx("path", { fill: mantleFill, d: "M3.733.453A.416.416 0 0 0 3.51.167a.403.403 0 0 0-.36-.01C1.968.677 0 2.1 0 5.058 0 15.962 29.34 17.19 45.224 36.706a8.92 8.92 0 0 0 7.085 3.293c3.607-.068 7.2-.258 10.388-.773a1.1 1.1 0 0 0 .84-.663c.15-.352.105-.757-.112-1.07C44.077 9.88 7.247 16.268 3.733.453", mask: "url(#b)" })] }), _jsx("path", { fill: fill, d: "M45 32.862c-1.712-1.879-6.568-.445-9.176 1.978-2.68 2.49-1.615 4.16-1.615 4.16 2.177-3.367 5.588-4.741 7.514-5.01 2.36-.328 3.277-1.128 3.277-1.128" }), _jsx("path", { fill: fill, d: "M105.301 37.812s-3.795.958-7.721-3.088c0 0 1.52.174 1.913-2.045 0 0 2.14 4.393 5.808 5.133m-1.397 18.16s-.596 4.407-6.07 4.407c-5.473 0-10.251-7.73-12.135-25.417 1.354 2.102 2.738 4.128 3.767 6.507.003-2.493 1.17-6.633-4.396-10.887 0 0 14.727 3.053 15.077 18.144 0 2.603-1.53 5.282-2.512 6.262 0 0-.674.577-.256 1.424.415.842 1.441.641 2.828-.29 1.389-.933 3.697-2.53 3.697-.15M83.19 64.374s-3.986 7.51-9.403 7.51c-2.21 0-3.79-1.577-3.79-3.756 0-2.182 2.681-9.984 14.331-9.984 2.783 0 4.963.508 4.963 2.184 0 1.677-2.644 4.559-6.1 4.046m0-37.55s-1.54-.301-1.045-2.59c.241-.777.415-.764.415-1.948s.311-2.563 1.255-2.969c0 0 1.618.003 1.618 4.222 0 1.83-2.244 3.286-2.244 3.286m-5.027 0c-2.25-.238-.649-3.865-2.267-4.086-.62-.086-.77 4.103-1.503 3.464-1.449-1.27-.378-3.862-.226-5.07.151-1.214.743-2.727-.567-1.816-1.31.911-2.008 2.83-2.455 4.467-.445 1.634.447 2.412 1.056 4.303.609 1.895-.522 1.243-.522 1.243-6.098-3.642-1.704-11.315-1.704-11.315 2.644-4.504 6.597-3.16 6.597-3.16.77.275.962.723.962 1.68s.259 1.262 1.394 1.53c1.136.27 1.673 1.658 1.673 3.91 0 2.252-1.434 4.956-2.438 4.85m9.368-.414l10.035 3.026s1.842 3.414-1.869 2.414c-3.712-1.003-7.336-2.134-7.336-2.134s-1.965-1-.83-3.306M38.182 41.47c-7.117 1.26-9.637-.916-9.637-2.753 0-5.601 16.175-9.942 20.728-10.011.917 1.382-.696 1.144-1.357 3.229-.658 2.082-2.269 2.743-4.622 3.028-2.356.285-4.826 1.5-6.38 2.924-1.44 1.322 0 1.93 2.938 1.087 2.873-.824 3.223.406 4.399-.03 1.173-.435.129-1.844.628-2.104.756-.394 2.327.673 2.327.673l4.092 2.595s-4.597 2.328-4.92 2.506c-.323.178-.872.483-.872 1.11 0 .99 2.547.628 3.42.628.874 0 1.008 1.424 1.008 1.424-1.337 1.538-4.818 1.55-4.818 1.55.775 1.637 5.156 1.372 6.043 1.401.882.033.974 1.273 1.422 3.296.45 2.028 3.287 2.89 3.287 2.89.92 3-2.706 3.872-5.106 3.872-14.063 0-12.58-17.315-12.58-17.315m1.6-22.275a.437.437 0 0 1-.385-.373C38.64 13.21 41.11 6.368 41.11 6.368s-5.997 4.821-5.763 12.524c-5.09-.126-12.575.424-16.988 4.182-6.188 5.265-7.204 15.201-7.366 17.81a.419.419 0 0 1-.631.33c-1.459-.876-4.898-3.776-2.425-10.632C11.023 22.032 20.546 4.298 39.539 3.1c0 0 5.813-.243 9.737 1.835a.432.432 0 0 1 .23.341.438.438 0 0 1-.163.38c-1.628 1.29-6.688 5.803-8.502 13.28a.44.44 0 0 1-.48.33c-.15-.022-.345-.044-.578-.072m14.12 23.535s1.754 7.649 5.283 10.355c0 0-.132.773-1.245.773-1.11 0-3.208-1.773-4.038-5.906-.83-4.135 0-5.222 0-5.222m5.283-19.013c-4.453 0-6.419-3.771-6.419-3.771s5.107 4.816 12.204.896c0 0-1.33 2.875-5.785 2.875m54.718 6.38c-1.125-2.282-2.882-4.117-6.24-4.94-3.265-.801-6.145-.39-8.12 1.328l-6.541-2.214c-.741-1.6-1.357-3.06-1.8-4.32a4.647 4.647 0 0 0-2.1-2.509c-4.279-2.431-15.872-8.208-20.362-2.305 0 0-.236.263-.554.733l-1.402-.475c-.725-2.514-3.116-4.442-6.431-5.255-2.04-.5-4.048-.373-5.713.238-1.21.446-1.268 1.857-.05 2.283l5.216 1.822a2.261 2.261 0 0 1 1.394 2.885l-.007.017a2.273 2.273 0 0 1-2.895 1.39s-3.323-.981-5.651-1.672c-1.233-.366-2.359.78-1.988 2.003.748 2.491 3.208 4.697 6.496 5.502 2.79.681 5.524.196 7.4-1.104l1.228.413c.092 2.83 2.284 6.21 4.336 7.426 3.144 1.86 6.026.206 9.3-1.387 0 0 8.195 6.527 4.395 25.033-10.492 1.1-14.289 4.86-18.096 8.657-2.386-.944-9.597-1.407-13.437-.523 1.089-1.084 2.893-2.364 5.107-3.219a2.601 2.601 0 0 0 1.668-2.424s4.803-1.53 4.803-3.29c0-1.758-5.931-1.578-8.37-14.22-.394-1.469-.842-2.7-3.108-3.757 0 0-.631-1.324.283-2.773.917-1.448 1.588-2.12 1.345-3.268-.241-1.15-1.939-2.095-1.939-2.095v-1.924s-4.856-3.526-4.856-8.572c0-5.046 6.583-11.11 8.378-12.868a.452.452 0 0 0 .134-.394.492.492 0 0 0-.241-.339C53.17 2.545 48.577 0 41.515 0 13.618 0 7.089 24.934 1.11 37.047c-.131.27-.154.582-.02.85C7.06 49.753 16.697 48.79 17.223 58.734c.423 7.955-1.443 8.131-3.302 7.963-1.22-.112-3.007-1.196-4.093-1.932a.423.423 0 0 0-.492.013c-.144.109-.201.297-.144.468.728 2.169 2.877 6.638 9.04 6.638 3.134 0 4.13-2.833 4.13-5.442v-8.99c0-.887-.293-1.727-.969-2.304-2.12-1.817-6.637-6.182-6.637-10.057 0-1.654 1.106-2.514 2.395-2.514 2.426 0 4.77 3.628 6.59 8.204.423 1.07 1.032 1.827 1.589 2.196a.26.26 0 0 0 .288-.005.25.25 0 0 0 .094-.268c-.75-2.659-.999-5.432-1.078-6.799a1.997 1.997 0 0 0-.696-1.394c-1.8-1.53-6.667-6.339-6.667-13.524 0-9.681 15.469-8.872 18.59-8.607.927 3.226 2.866 4.625 4.158 5.215-4.677 1.718-15.241 5.17-15.241 11.127 0 6.388 10.586 5.923 10.586 5.923s-1.68 12.754 10.244 16.6c0 0-1.864 1.876-8.268 1.876-5.977 0-8.894-2.659-10.316-5.796a.36.36 0 0 0-.664.015c-.325.812-.583 2.285.548 4.127 1.757 2.855 4.023 4.494 4.023 8.124 0 2.684-2.416 4.368-3.407 4.945a.178.178 0 0 0-.09.183.18.18 0 0 0 .14.151c2.345.567 13.031 3.241 20.225 6.641.058.03.125.025.18-.007.805-.506 7.027-4.556 7.382-9.897 0 0 .473-3.492-4.76-4.123 0 0 2.263-.871 6.36-.871 4.084 0 8.542 3.3.515 19.744a.183.183 0 0 0 .065.235c1.232.775 10.367 6.579 16.21 12.227a.645.645 0 0 0 .964-.077c.755-.993 2.214-3.657 3.29-10.216a1.59 1.59 0 0 1 1.13-1.268c3.487-1.003 15.433-4.86 20.662-12.029 6.16-8.44 8.295-9.35 8.295-9.35s4.03-2.248 2.326-8.198c-.892-3.105-5.584-11.253-10.201-19.593a10.952 10.952 0 0 0 3.757 1.704c2.808.686 5.557.255 7.527-.968a1.323 1.323 0 1 0-.263-2.372l-5.196-1.815a2.394 2.394 0 0 1-1.474-3.053l.007-.02a2.407 2.407 0 0 1 3.064-1.468l4.638 1.621c.462.161.979.045 1.327-.302.345-.346.517-.879.3-1.32" }), _jsx("path", { fill: mantleFill, d: "M44.151 45s-2.766.605-2.025 3.75C42.868 51.914 46 52 46 52c-2.723-2.607-1.849-7-1.849-7M8.875 84.576c7.098 4.115 22.77 8.899 26.046 17.51 0 0 1.12 1.914-5.066 1.914-4.685 0-5.949-1.166-9.277-5.101C15.69 93.119 6 89.753 6 85.29c0 0 .064-2.343 2.875-.714" })] })] }));
12
12
  };
13
13
  //# sourceMappingURL=logo-titan.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo-titan.js","sourceRoot":"","sources":["../../../src/components/logo/logo-titan.tsx"],"names":[],"mappings":";AASA,qCAAqC;AACrC,MAAM,CAAC,MAAM,YAAY,GAA0B,KAAK,CAAC,EAAE;;IACvD,MAAM,UAAU,GAAG;QACf,KAAK,EAAE,MAAA,KAAK,CAAC,KAAK,mCAAI,GAAG;QACzB,MAAM,EAAE,MAAA,KAAK,CAAC,MAAM,mCAAI,GAAG;KAC9B,CAAC;IACF,MAAM,IAAI,GAAG,MAAA,KAAK,CAAC,IAAI,mCAAI,SAAS,CAAC;IACrC,MAAM,UAAU,GAAG,MAAA,KAAK,CAAC,UAAU,mCAAI,IAAI,CAAC;IAE5C,OAAO,CACH,6BACI,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B,IACrC,UAAU,IACd,OAAO,EAAC,aAAa,aAErB,yBACI,eAAM,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,qBAAqB,GAAG,GACpC,EACP,aAAG,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS,aAC7B,eACI,IAAI,EAAE,UAAU,EAChB,CAAC,EAAC,mHAAmH,GACvH,EACF,aAAG,SAAS,EAAC,iBAAiB,aAC1B,eAAM,EAAE,EAAC,GAAG,EAAC,IAAI,EAAC,MAAM,YACpB,cAAK,SAAS,EAAC,IAAI,GAAG,GACnB,EACP,eACI,IAAI,EAAE,UAAU,EAChB,CAAC,EAAC,wQAAwQ,EAC1Q,IAAI,EAAC,SAAS,GAChB,IACF,EACJ,eACI,IAAI,EAAE,IAAI,EACV,CAAC,EAAC,qJAAqJ,GACzJ,EACF,eACI,IAAI,EAAE,IAAI,EACV,CAAC,EAAC,klKAAklK,GACtlK,EACF,eACI,IAAI,EAAE,UAAU,EAChB,CAAC,EAAC,8PAA8P,GAClQ,IACF,KACF,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"logo-titan.js","sourceRoot":"","sources":["../../../src/components/logo/logo-titan.tsx"],"names":[],"mappings":";AASA,qCAAqC;AACrC,MAAM,CAAC,MAAM,YAAY,GAA0B,KAAK,CAAC,EAAE;;IACvD,MAAM,UAAU,GAAG;QACf,KAAK,EAAE,MAAA,KAAK,CAAC,KAAK,mCAAI,GAAG;QACzB,MAAM,EAAE,MAAA,KAAK,CAAC,MAAM,mCAAI,GAAG;KAC9B,CAAC;IACF,MAAM,IAAI,GAAG,MAAA,KAAK,CAAC,IAAI,mCAAI,SAAS,CAAC;IACrC,MAAM,UAAU,GAAG,MAAA,KAAK,CAAC,UAAU,mCAAI,IAAI,CAAC;IAE5C,OAAO,CACH,eACI,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B,KACrC,UAAU,EACd,OAAO,EAAC,aAAa,aAErB,yBACI,eAAM,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,qBAAqB,GAAG,GACpC,EACP,aAAG,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAC,SAAS,aAC7B,eACI,IAAI,EAAE,UAAU,EAChB,CAAC,EAAC,mHAAmH,GACvH,EACF,aAAG,SAAS,EAAC,iBAAiB,aAC1B,eAAM,EAAE,EAAC,GAAG,EAAC,IAAI,EAAC,MAAM,YACpB,cAAK,SAAS,EAAC,IAAI,GAAG,GACnB,EACP,eACI,IAAI,EAAE,UAAU,EAChB,CAAC,EAAC,wQAAwQ,EAC1Q,IAAI,EAAC,SAAS,GAChB,IACF,EACJ,eACI,IAAI,EAAE,IAAI,EACV,CAAC,EAAC,qJAAqJ,GACzJ,EACF,eACI,IAAI,EAAE,IAAI,EACV,CAAC,EAAC,klKAAklK,GACtlK,EACF,eACI,IAAI,EAAE,UAAU,EAChB,CAAC,EAAC,8PAA8P,GAClQ,IACF,IACF,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -5,10 +5,10 @@ declare const _default: {
5
5
  parameters: {};
6
6
  };
7
7
  export default _default;
8
- export declare const logoTitan: () => import("react/jsx-runtime").JSX.Element;
9
- export declare const logoTitanBlueMantle: () => import("react/jsx-runtime").JSX.Element;
10
- export declare const logoCompanyTitle: () => import("react/jsx-runtime").JSX.Element;
11
- export declare const logoTitanText: () => import("react/jsx-runtime").JSX.Element;
12
- export declare const logoTitanTextWithLink: () => import("react/jsx-runtime").JSX.Element;
13
- export declare const logoTitanWithText: () => import("react/jsx-runtime").JSX.Element;
8
+ export declare const Titan: () => import("react/jsx-runtime").JSX.Element;
9
+ export declare const TitanBlueMantle: () => import("react/jsx-runtime").JSX.Element;
10
+ export declare const CompanyTitle: () => import("react/jsx-runtime").JSX.Element;
11
+ export declare const TitanText: () => import("react/jsx-runtime").JSX.Element;
12
+ export declare const TitanTextWithLink: () => import("react/jsx-runtime").JSX.Element;
13
+ export declare const TitanWithText: () => import("react/jsx-runtime").JSX.Element;
14
14
  //# sourceMappingURL=logo.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo.stories.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;;;;;;AAKtC,wBAIE;AAEF,eAAO,MAAM,SAAS,+CAAyB,CAAC;AAChD,eAAO,MAAM,mBAAmB,+CAA8C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,+CAA6B,CAAC;AAC3D,eAAO,MAAM,aAAa,+CAOzB,CAAC;AAcF,eAAO,MAAM,qBAAqB,+CAQjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,+CAM7B,CAAC"}
1
+ {"version":3,"file":"logo.stories.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;;;;;;AAKtC,wBAIE;AAEF,eAAO,MAAM,KAAK,+CAAyB,CAAC;AAC5C,eAAO,MAAM,eAAe,+CAA8C,CAAC;AAC3E,eAAO,MAAM,YAAY,+CAA6B,CAAC;AACvD,eAAO,MAAM,SAAS,+CAOrB,CAAC;AAcF,eAAO,MAAM,iBAAiB,+CAQ7B,CAAC;AAEF,eAAO,MAAM,aAAa,+CAMzB,CAAC"}
@@ -8,13 +8,13 @@ export default {
8
8
  component: LogoTitan,
9
9
  parameters: {},
10
10
  };
11
- export const logoTitan = () => _jsx(LogoTitanSvg, {});
12
- export const logoTitanBlueMantle = () => _jsx(LogoTitanSvg, { mantleFill: "#2270EE" });
13
- export const logoCompanyTitle = () => _jsx(LogoCompanyTitle, {});
14
- export const logoTitanText = () => (_jsx(LogoTitanText, { className: "bg-neutral-300 border", mantleFill: "#2270EE", title: "Widgets", description: "tenant tenant tenant tenant tenant" }));
11
+ export const Titan = () => _jsx(LogoTitanSvg, {});
12
+ export const TitanBlueMantle = () => _jsx(LogoTitanSvg, { mantleFill: "#2270EE" });
13
+ export const CompanyTitle = () => _jsx(LogoCompanyTitle, {});
14
+ export const TitanText = () => (_jsx(LogoTitanText, { className: "bg-neutral-300 border", mantleFill: "#2270EE", title: "Widgets", description: "tenant tenant tenant tenant tenant" }));
15
15
  const NavLinkMock = ({ className, children }) => (_jsx("a", { href: "/", onClick: e => {
16
16
  e.preventDefault();
17
17
  }, className: className, children: children }));
18
- export const logoTitanTextWithLink = () => (_jsx(LogoTitanText, { className: "bg-neutral-300 border", mantleFill: "#2270EE", title: "Commercial", description: "tenant tenant tenant tenant tenant", logoWrapper: NavLinkMock }));
19
- export const logoTitanWithText = () => (_jsxs(Stack, { className: "border bg-neutral-300", alignItems: "center", children: [_jsx(LogoTitan, { className: "border-left m-r-1", mantleFill: "#2270EE" }), _jsx(LogoTitanTitle, { className: "m-x-1 p-b-half c-white", children: "Contact Center" }), _jsx(Tag, { color: "info", children: "pro" })] }));
18
+ export const TitanTextWithLink = () => (_jsx(LogoTitanText, { className: "bg-neutral-300 border", mantleFill: "#2270EE", title: "Commercial", description: "tenant tenant tenant tenant tenant", logoWrapper: NavLinkMock }));
19
+ export const TitanWithText = () => (_jsxs(Stack, { className: "border bg-neutral-300", alignItems: "center", children: [_jsx(LogoTitan, { className: "border-left m-r-1", mantleFill: "#2270EE" }), _jsx(LogoTitanTitle, { className: "m-x-1 p-b-half c-white", children: "Contact Center" }), _jsx(Tag, { color: "info", children: "pro" })] }));
20
20
  //# sourceMappingURL=logo.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo.stories.js","sourceRoot":"","sources":["../../../src/components/logo/logo.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAEzD,OAAO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F,YACI,IAAI,EAAC,GAAG,EACR,OAAO,EAAE,CAAC,CAAC,EAAE;QACT,CAAC,CAAC,cAAc,EAAE,CAAC;IACvB,CAAC,EACD,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACT,CACP,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,CACnC,KAAC,aAAa,IACV,SAAS,EAAC,uBAAuB,EACjC,UAAU,EAAC,SAAS,EACpB,KAAK,EAAC,YAAY,EAClB,WAAW,EAAC,oCAAoC,EAChD,WAAW,EAAE,WAAW,GAC1B,CACL,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,CAC/B,MAAC,KAAK,IAAC,SAAS,EAAC,uBAAuB,EAAC,UAAU,EAAC,QAAQ,aACxD,KAAC,SAAS,IAAC,SAAS,EAAC,mBAAmB,EAAC,UAAU,EAAC,SAAS,GAAG,EAChE,KAAC,cAAc,IAAC,SAAS,EAAC,wBAAwB,+BAAgC,EAClF,KAAC,GAAG,IAAC,KAAK,EAAC,MAAM,oBAAU,IACvB,CACX,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from './profile-dropdown.stories';
2
1
  declare const _default: {
3
2
  title: string;
4
3
  component: import("./profile-dropdown").ProfileDropdownType;
@@ -6,4 +5,5 @@ declare const _default: {
6
5
  decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
7
6
  };
8
7
  export default _default;
8
+ export { ProfileDropdownDefault, ProfileDropdownWithBothBadges, ProfileDropdownWithCounter, ProfileDropdownWithErrorLogo, ProfileDropdownWithInfo, ProfileDropdownWithHintAndInfoPopup, ProfileDropdownWithHintPopup, ProfileDropdownWithLogo, } from './profile-dropdown.stories';
9
9
  //# sourceMappingURL=profile-dropdown-stacked.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-dropdown-stacked.stories.d.ts","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown-stacked.stories.tsx"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC;;;;;;;AAO3C,wBAKE"}
1
+ {"version":3,"file":"profile-dropdown-stacked.stories.d.ts","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown-stacked.stories.tsx"],"names":[],"mappings":";;;;;;AAMA,wBAKE;AAEF,OAAO,EACH,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,mCAAmC,EACnC,4BAA4B,EAC5B,uBAAuB,GAC1B,MAAM,4BAA4B,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { NavLinkMock, withAnvil, withMemoryRouter } from '../../test/data.stories';
2
+ import { withAnvil, withMemoryRouter } from '../../test/data';
3
3
  import { HeaderNavigationStacked } from '../header-navigation';
4
- export * from './profile-dropdown.stories';
5
4
  import { ProfileDropdown } from './profile-dropdown';
6
- const withHeaderNavigationStacked = (Story) => (_jsx(HeaderNavigationStacked, { navigationComponent: NavLinkMock, right: _jsx(Story, {}) }));
5
+ const withHeaderNavigationStacked = (Story) => _jsx(HeaderNavigationStacked, { right: _jsx(Story, {}) });
7
6
  export default {
8
- title: 'Navigation/ProfileDropdownStacked',
7
+ title: 'Navigation/ProfileDropdown/Stacked',
9
8
  component: ProfileDropdown,
10
9
  parameters: {},
11
10
  decorators: [withMemoryRouter, withAnvil, withHeaderNavigationStacked],
12
11
  };
12
+ export { ProfileDropdownDefault, ProfileDropdownWithBothBadges, ProfileDropdownWithCounter, ProfileDropdownWithErrorLogo, ProfileDropdownWithInfo, ProfileDropdownWithHintAndInfoPopup, ProfileDropdownWithHintPopup, ProfileDropdownWithLogo, } from './profile-dropdown.stories';
13
13
  //# sourceMappingURL=profile-dropdown-stacked.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-dropdown-stacked.stories.js","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown-stacked.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,2BAA2B,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC,CAChD,KAAC,uBAAuB,IAAC,mBAAmB,EAAE,WAAW,EAAE,KAAK,EAAE,KAAC,KAAK,KAAG,GAAI,CAClF,CAAC;AAEF,eAAe;IACX,KAAK,EAAE,mCAAmC;IAC1C,SAAS,EAAE,eAAe;IAC1B,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,CAAC,gBAAgB,EAAE,SAAS,EAAE,2BAA2B,CAAC;CACzE,CAAC"}
1
+ {"version":3,"file":"profile-dropdown-stacked.stories.js","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown-stacked.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,2BAA2B,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC,KAAC,uBAAuB,IAAC,KAAK,EAAE,KAAC,KAAK,KAAG,GAAI,CAAC;AAElG,eAAe;IACX,KAAK,EAAE,oCAAoC;IAC3C,SAAS,EAAE,eAAe;IAC1B,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,CAAC,gBAAgB,EAAE,SAAS,EAAE,2BAA2B,CAAC;CACzE,CAAC;AAEF,OAAO,EACH,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,mCAAmC,EACnC,4BAA4B,EAC5B,uBAAuB,GAC1B,MAAM,4BAA4B,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from './profile-dropdown.stories';
2
1
  declare const _default: {
3
2
  title: string;
4
3
  component: import("./profile-dropdown").ProfileDropdownType;
@@ -6,4 +5,5 @@ declare const _default: {
6
5
  decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
7
6
  };
8
7
  export default _default;
8
+ export { ProfileDropdownDefault, ProfileDropdownWithBothBadges, ProfileDropdownWithCounter, ProfileDropdownWithErrorLogo, ProfileDropdownWithInfo, ProfileDropdownWithHintAndInfoPopup, ProfileDropdownWithHintPopup, ProfileDropdownWithLogo, } from './profile-dropdown.stories';
9
9
  //# sourceMappingURL=profile-dropdown-tiny.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-dropdown-tiny.stories.d.ts","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown-tiny.stories.tsx"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC;;;;;;;AAO3C,wBAKE"}
1
+ {"version":3,"file":"profile-dropdown-tiny.stories.d.ts","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown-tiny.stories.tsx"],"names":[],"mappings":";;;;;;AAQA,wBAKE;AAEF,OAAO,EACH,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,mCAAmC,EACnC,4BAA4B,EAC5B,uBAAuB,GAC1B,MAAM,4BAA4B,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { NavLinkMock, withAnvil, withMemoryRouter } from '../../test/data.stories';
3
- import { HeaderNavigationTiny } from '../header-navigation';
4
- export * from './profile-dropdown.stories';
2
+ import { withAnvil, withMemoryRouter } from '../../test/data';
3
+ import { HeaderNavigationTiny } from '../left-navigation';
5
4
  import { ProfileDropdown } from './profile-dropdown';
6
- const withHeaderNavigationTiny = (Story) => (_jsx(HeaderNavigationTiny, { className: "border", navigationComponent: NavLinkMock, right: _jsx(Story, {}) }));
5
+ const withHeaderNavigationTiny = (Story) => (_jsx(HeaderNavigationTiny, { className: "border", right: _jsx(Story, {}) }));
7
6
  export default {
8
- title: 'Navigation/ProfileDropdownTiny',
7
+ title: 'Navigation/ProfileDropdown/Tiny',
9
8
  component: ProfileDropdown,
10
9
  parameters: {},
11
10
  decorators: [withMemoryRouter, withAnvil, withHeaderNavigationTiny],
12
11
  };
12
+ export { ProfileDropdownDefault, ProfileDropdownWithBothBadges, ProfileDropdownWithCounter, ProfileDropdownWithErrorLogo, ProfileDropdownWithInfo, ProfileDropdownWithHintAndInfoPopup, ProfileDropdownWithHintPopup, ProfileDropdownWithLogo, } from './profile-dropdown.stories';
13
13
  //# sourceMappingURL=profile-dropdown-tiny.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-dropdown-tiny.stories.js","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown-tiny.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,wBAAwB,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC,CAC7C,KAAC,oBAAoB,IAAC,SAAS,EAAC,QAAQ,EAAC,mBAAmB,EAAE,WAAW,EAAE,KAAK,EAAE,KAAC,KAAK,KAAG,GAAI,CAClG,CAAC;AAEF,eAAe;IACX,KAAK,EAAE,gCAAgC;IACvC,SAAS,EAAE,eAAe;IAC1B,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,CAAC,gBAAgB,EAAE,SAAS,EAAE,wBAAwB,CAAC;CACtE,CAAC"}
1
+ {"version":3,"file":"profile-dropdown-tiny.stories.js","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown-tiny.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,wBAAwB,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC,CAC7C,KAAC,oBAAoB,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,KAAC,KAAK,KAAG,GAAI,CAChE,CAAC;AAEF,eAAe;IACX,KAAK,EAAE,iCAAiC;IACxC,SAAS,EAAE,eAAe;IAC1B,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,CAAC,gBAAgB,EAAE,SAAS,EAAE,wBAAwB,CAAC;CACtE,CAAC;AAEF,OAAO,EACH,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,mCAAmC,EACnC,4BAA4B,EAC5B,uBAAuB,GAC1B,MAAM,4BAA4B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"profile-dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAqB,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEpF,OAAO,EACH,EAAE,EACF,yBAAyB,EACzB,UAAU,EAEV,SAAS,EAMZ,MAAM,OAAO,CAAC;AAGf,OAAO,EAAc,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIjE,MAAM,WAAW,2BAA2B;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW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B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,IAAI,CAAC,2BAA2B,EAAE,SAAS,GAAG,MAAM,GAAG,WAAW,CAAC,CAAC;IAC9E,SAAS,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,EAAE,CAAC;YAAE,WAAW,IAAI,IAAI,CAAA;SAAE,CAAC,CAAC;QACrC,KAAK,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;QACpC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;KACxB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpC,OAAO,CAAC,IAAI,IAAI,CAAC;IACjB,MAAM,CAAC,IAAI,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,oBAAqB,SAAQ,0BAA0B;IACpE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,MAAM,WAAW,mBAAoB,SAAQ,EAAE,CAAC,oBAAoB,CAAC;IACjE,OAAO,EAAE,OAAO,sBAAsB,CAAC;IACvC,IAAI,EAAE,OAAO,mBAAmB,CAAC;IACjC,OAAO,EAAE,OAAO,sBAAsB,CAAC;CAC1C;AAED,eAAO,MAAM,eAAe,EAAE,mBAqFL,CAAC"}
1
+ {"version":3,"file":"profile-dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAqB,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEpF,OAAO,EACH,EAAE,EACF,yBAAyB,EACzB,UAAU,EAEV,SAAS,EAMZ,MAAM,OAAO,CAAC;AAMf,OAAO,EAAc,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIjE,MAAM,WAAW,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