@adminide-stack/clock-tik-browser 12.0.17-alpha.1 → 12.0.17-alpha.5

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 (186) hide show
  1. package/lib/Validation/Schema.d.ts +54 -0
  2. package/lib/Validation/Schema.d.ts.map +1 -0
  3. package/lib/Validation/Schema.js +26 -0
  4. package/lib/Validation/Schema.js.map +1 -0
  5. package/lib/components/HelpCenterFooter.d.ts.map +1 -1
  6. package/lib/components/HelpCenterFooter.js +9 -5
  7. package/lib/components/HelpCenterFooter.js.map +1 -1
  8. package/lib/components/HelpCenterHeader.d.ts +1 -0
  9. package/lib/components/HelpCenterHeader.d.ts.map +1 -1
  10. package/lib/components/HelpCenterHeader.js +221 -35
  11. package/lib/components/HelpCenterHeader.js.map +1 -1
  12. package/lib/components/Logo.d.ts.map +1 -1
  13. package/lib/components/Logo.js +12 -61
  14. package/lib/components/Logo.js.map +1 -1
  15. package/lib/components/navbar/index.d.ts.map +1 -1
  16. package/lib/components/navbar/index.js +5 -3
  17. package/lib/components/navbar/index.js.map +1 -1
  18. package/lib/compute.d.ts.map +1 -1
  19. package/lib/compute.js +37 -1
  20. package/lib/compute.js.map +1 -1
  21. package/lib/config/env-config.d.ts +17 -0
  22. package/lib/config/env-config.d.ts.map +1 -0
  23. package/lib/config/env-config.js +52 -0
  24. package/lib/config/env-config.js.map +1 -0
  25. package/lib/{config.d.ts → config/index.d.ts} +2 -13
  26. package/lib/config/index.d.ts.map +1 -0
  27. package/lib/pages/ArticlePage/index.d.ts.map +1 -1
  28. package/lib/pages/ArticlePage/index.js +34 -2
  29. package/lib/pages/ArticlePage/index.js.map +1 -1
  30. package/lib/pages/CategoryCollection/index.js +2 -2
  31. package/lib/pages/CategoryCollection/index.js.map +1 -1
  32. package/lib/pages/Contact-us/index.d.ts +3 -0
  33. package/lib/pages/Contact-us/index.d.ts.map +1 -0
  34. package/lib/pages/Contact-us/index.js +159 -0
  35. package/lib/pages/Contact-us/index.js.map +1 -0
  36. package/lib/pages/Feedback/index.d.ts +3 -0
  37. package/lib/pages/Feedback/index.d.ts.map +1 -0
  38. package/lib/pages/Feedback/index.js +126 -0
  39. package/lib/pages/Feedback/index.js.map +1 -0
  40. package/lib/pages/HelpCenter/components/CaresHero.d.ts +6 -0
  41. package/lib/pages/HelpCenter/components/CaresHero.d.ts.map +1 -0
  42. package/lib/pages/HelpCenter/components/CaresHero.js +207 -0
  43. package/lib/pages/HelpCenter/components/CaresHero.js.map +1 -0
  44. package/lib/pages/HelpCenter/components/CaresLayout.d.ts +11 -0
  45. package/lib/pages/HelpCenter/components/CaresLayout.d.ts.map +1 -0
  46. package/lib/pages/HelpCenter/components/CaresLayout.js +20 -0
  47. package/lib/pages/HelpCenter/components/CaresLayout.js.map +1 -0
  48. package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts +4 -4
  49. package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -1
  50. package/lib/pages/HelpCenter/components/NeedHelpWithSection.d.ts +6 -0
  51. package/lib/pages/HelpCenter/components/NeedHelpWithSection.d.ts.map +1 -0
  52. package/lib/pages/HelpCenter/components/NeedHelpWithSection.js +70 -0
  53. package/lib/pages/HelpCenter/components/NeedHelpWithSection.js.map +1 -0
  54. package/lib/pages/HelpCenter/components/PopularArticlesGrid.d.ts +8 -0
  55. package/lib/pages/HelpCenter/components/PopularArticlesGrid.d.ts.map +1 -0
  56. package/lib/pages/HelpCenter/components/PopularArticlesGrid.js +21 -0
  57. package/lib/pages/HelpCenter/components/PopularArticlesGrid.js.map +1 -0
  58. package/lib/pages/HelpCenter/components/SupportPlansSection.d.ts +3 -0
  59. package/lib/pages/HelpCenter/components/SupportPlansSection.d.ts.map +1 -0
  60. package/lib/pages/HelpCenter/components/SupportPlansSection.js +63 -0
  61. package/lib/pages/HelpCenter/components/SupportPlansSection.js.map +1 -0
  62. package/lib/pages/HelpCenter/components/SupportServicesSection.d.ts +3 -0
  63. package/lib/pages/HelpCenter/components/SupportServicesSection.d.ts.map +1 -0
  64. package/lib/pages/HelpCenter/components/SupportServicesSection.js +61 -0
  65. package/lib/pages/HelpCenter/components/SupportServicesSection.js.map +1 -0
  66. package/lib/pages/HelpCenter/index.d.ts.map +1 -1
  67. package/lib/pages/HelpCenter/index.js +15 -62
  68. package/lib/pages/HelpCenter/index.js.map +1 -1
  69. package/lib/pages/LandingPage/components/Assets.d.ts +26 -0
  70. package/lib/pages/LandingPage/components/Assets.d.ts.map +1 -1
  71. package/lib/pages/LandingPage/components/Assets.js +6 -12
  72. package/lib/pages/LandingPage/components/Assets.js.map +1 -1
  73. package/lib/pages/LandingPage/components/BuildingSoftwareScene.d.ts +4 -0
  74. package/lib/pages/LandingPage/components/BuildingSoftwareScene.d.ts.map +1 -0
  75. package/lib/pages/LandingPage/components/BuildingSoftwareScene.js +1679 -0
  76. package/lib/pages/LandingPage/components/BuildingSoftwareScene.js.map +1 -0
  77. package/lib/pages/LandingPage/components/CodeEditor.d.ts +7 -0
  78. package/lib/pages/LandingPage/components/CodeEditor.d.ts.map +1 -0
  79. package/lib/pages/LandingPage/components/ControlCard.d.ts +6 -0
  80. package/lib/pages/LandingPage/components/ControlCard.d.ts.map +1 -0
  81. package/lib/pages/LandingPage/components/ControlCard.js +98 -0
  82. package/lib/pages/LandingPage/components/ControlCard.js.map +1 -0
  83. package/lib/pages/LandingPage/components/DeployButton.d.ts +8 -0
  84. package/lib/pages/LandingPage/components/DeployButton.d.ts.map +1 -0
  85. package/lib/pages/LandingPage/components/DeploymentResult.d.ts +6 -0
  86. package/lib/pages/LandingPage/components/DeploymentResult.d.ts.map +1 -0
  87. package/lib/pages/LandingPage/components/IconButton.d.ts +8 -0
  88. package/lib/pages/LandingPage/components/IconButton.d.ts.map +1 -0
  89. package/lib/pages/LandingPage/components/ImageCard.d.ts +13 -0
  90. package/lib/pages/LandingPage/components/ImageCard.d.ts.map +1 -0
  91. package/lib/pages/LandingPage/components/ImageCard.js +38 -0
  92. package/lib/pages/LandingPage/components/ImageCard.js.map +1 -0
  93. package/lib/pages/LandingPage/components/InfrastructureCard.d.ts +4 -0
  94. package/lib/pages/LandingPage/components/InfrastructureCard.d.ts.map +1 -0
  95. package/lib/pages/LandingPage/components/InfrastructureCard.js +236 -0
  96. package/lib/pages/LandingPage/components/InfrastructureCard.js.map +1 -0
  97. package/lib/pages/LandingPage/components/InfrastructureTabs.d.ts +4 -0
  98. package/lib/pages/LandingPage/components/InfrastructureTabs.d.ts.map +1 -0
  99. package/lib/pages/LandingPage/components/InfrastructureTabs.js +57 -0
  100. package/lib/pages/LandingPage/components/InfrastructureTabs.js.map +1 -0
  101. package/lib/pages/LandingPage/components/Investigation.d.ts +4 -0
  102. package/lib/pages/LandingPage/components/Investigation.d.ts.map +1 -0
  103. package/lib/pages/LandingPage/components/InvestigationCard.d.ts +6 -0
  104. package/lib/pages/LandingPage/components/InvestigationCard.d.ts.map +1 -0
  105. package/lib/pages/LandingPage/components/InvestigationCard.js +118 -0
  106. package/lib/pages/LandingPage/components/InvestigationCard.js.map +1 -0
  107. package/lib/pages/LandingPage/components/LearningCard.d.ts +9 -0
  108. package/lib/pages/LandingPage/components/LearningCard.d.ts.map +1 -0
  109. package/lib/pages/LandingPage/components/LearningCard.js +22 -0
  110. package/lib/pages/LandingPage/components/LearningCard.js.map +1 -0
  111. package/lib/pages/LandingPage/components/MetricsDisplay.d.ts +6 -0
  112. package/lib/pages/LandingPage/components/MetricsDisplay.d.ts.map +1 -0
  113. package/lib/pages/LandingPage/components/ProfilesCard.d.ts +10 -0
  114. package/lib/pages/LandingPage/components/ProfilesCard.d.ts.map +1 -0
  115. package/lib/pages/LandingPage/components/ProfilesCard.js +52 -0
  116. package/lib/pages/LandingPage/components/ProfilesCard.js.map +1 -0
  117. package/lib/pages/LandingPage/components/Section.d.ts +12 -0
  118. package/lib/pages/LandingPage/components/Section.d.ts.map +1 -0
  119. package/lib/pages/LandingPage/components/Section.js +26 -0
  120. package/lib/pages/LandingPage/components/Section.js.map +1 -0
  121. package/lib/pages/LandingPage/components/Toast.d.ts +12 -0
  122. package/lib/pages/LandingPage/components/Toast.d.ts.map +1 -0
  123. package/lib/pages/LandingPage/components/Toast.js +39 -0
  124. package/lib/pages/LandingPage/components/Toast.js.map +1 -0
  125. package/lib/pages/LandingPage/components/ToastContainer.d.ts +13 -0
  126. package/lib/pages/LandingPage/components/ToastContainer.d.ts.map +1 -0
  127. package/lib/pages/LandingPage/components/ToastContainer.js +62 -0
  128. package/lib/pages/LandingPage/components/ToastContainer.js.map +1 -0
  129. package/lib/pages/LandingPage/components/index.d.ts +16 -0
  130. package/lib/pages/LandingPage/components/index.d.ts.map +1 -0
  131. package/lib/pages/LandingPage/index.d.ts.map +1 -1
  132. package/lib/pages/LandingPage/index.js +641 -189
  133. package/lib/pages/LandingPage/index.js.map +1 -1
  134. package/lib/pages/Privacy/index.d.ts +3 -0
  135. package/lib/pages/Privacy/index.d.ts.map +1 -0
  136. package/lib/pages/Privacy/index.js +7590 -0
  137. package/lib/pages/Privacy/index.js.map +1 -0
  138. package/lib/pages/Thanks/index.d.ts +2 -0
  139. package/lib/pages/Thanks/index.d.ts.map +1 -0
  140. package/lib/pages/Thanks/index.js +56 -0
  141. package/lib/pages/Thanks/index.js.map +1 -0
  142. package/lib/routes.json +44 -0
  143. package/lib/utils/markdownLoader.d.ts +2 -0
  144. package/lib/utils/markdownLoader.d.ts.map +1 -1
  145. package/lib/utils/markdownLoader.js +106 -9
  146. package/lib/utils/markdownLoader.js.map +1 -1
  147. package/package.json +2 -2
  148. package/lib/config.d.ts.map +0 -1
  149. package/lib/pages/HelpCenter/components/BookStack.js +0 -36
  150. package/lib/pages/HelpCenter/components/BookStack.js.map +0 -1
  151. package/lib/pages/LandingPage/components/ArticleCard.d.ts +0 -11
  152. package/lib/pages/LandingPage/components/ArticleCard.d.ts.map +0 -1
  153. package/lib/pages/LandingPage/components/ArticleCard.js +0 -29
  154. package/lib/pages/LandingPage/components/ArticleCard.js.map +0 -1
  155. package/lib/pages/LandingPage/components/CategoriesSection.d.ts +0 -16
  156. package/lib/pages/LandingPage/components/CategoriesSection.d.ts.map +0 -1
  157. package/lib/pages/LandingPage/components/CategoriesSection.js +0 -31
  158. package/lib/pages/LandingPage/components/CategoriesSection.js.map +0 -1
  159. package/lib/pages/LandingPage/components/CategoryCard.d.ts +0 -11
  160. package/lib/pages/LandingPage/components/CategoryCard.d.ts.map +0 -1
  161. package/lib/pages/LandingPage/components/CategoryCard.js +0 -25
  162. package/lib/pages/LandingPage/components/CategoryCard.js.map +0 -1
  163. package/lib/pages/LandingPage/components/FeaturedSection.d.ts +0 -15
  164. package/lib/pages/LandingPage/components/FeaturedSection.d.ts.map +0 -1
  165. package/lib/pages/LandingPage/components/FeaturedSection.js +0 -24
  166. package/lib/pages/LandingPage/components/FeaturedSection.js.map +0 -1
  167. package/lib/pages/LandingPage/components/HeroSection.d.ts +0 -9
  168. package/lib/pages/LandingPage/components/HeroSection.d.ts.map +0 -1
  169. package/lib/pages/LandingPage/components/HeroSection.js +0 -46
  170. package/lib/pages/LandingPage/components/HeroSection.js.map +0 -1
  171. package/lib/pages/LandingPage/components/Icons.d.ts +0 -14
  172. package/lib/pages/LandingPage/components/Icons.d.ts.map +0 -1
  173. package/lib/pages/LandingPage/components/Icons.js +0 -174
  174. package/lib/pages/LandingPage/components/Icons.js.map +0 -1
  175. package/lib/pages/LandingPage/components/ResourceCard.d.ts +0 -12
  176. package/lib/pages/LandingPage/components/ResourceCard.d.ts.map +0 -1
  177. package/lib/pages/LandingPage/components/ResourceCard.js +0 -30
  178. package/lib/pages/LandingPage/components/ResourceCard.js.map +0 -1
  179. package/lib/pages/LandingPage/components/ResourcesSection.d.ts +0 -18
  180. package/lib/pages/LandingPage/components/ResourcesSection.d.ts.map +0 -1
  181. package/lib/pages/LandingPage/components/ResourcesSection.js +0 -26
  182. package/lib/pages/LandingPage/components/ResourcesSection.js.map +0 -1
  183. package/lib/pages/LandingPage/components/SearchBar.d.ts +0 -8
  184. package/lib/pages/LandingPage/components/SearchBar.d.ts.map +0 -1
  185. package/lib/pages/LandingPage/components/SearchBar.js +0 -58
  186. package/lib/pages/LandingPage/components/SearchBar.js.map +0 -1
@@ -0,0 +1,207 @@
1
+ import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {useState,useRef,useEffect}from'react';import {createPortal}from'react-dom';import {useNavigate}from'@remix-run/react';import {CaresSection,CaresContainer}from'./CaresLayout.js';import {searchArticles,getCategoryById}from'../../../utils/markdownLoader.js';const CaresHero = ({
2
+ title = 'Welcome to Clockbook Cares',
3
+ onSearch
4
+ }) => {
5
+ const navigate = useNavigate();
6
+ const [product, setProduct] = useState('All products');
7
+ const [query, setQuery] = useState('');
8
+ const [searchResults, setSearchResults] = useState([]);
9
+ const [showDropdown, setShowDropdown] = useState(false);
10
+ const [dropdownPosition, setDropdownPosition] = useState({
11
+ top: 0,
12
+ left: 0,
13
+ width: 0
14
+ });
15
+ const searchContainerRef = useRef(null);
16
+ const inputRef = useRef(null);
17
+ // Calculate dropdown position
18
+ const updateDropdownPosition = useRef(() => {
19
+ if (searchContainerRef.current) {
20
+ const rect = searchContainerRef.current.getBoundingClientRect();
21
+ setDropdownPosition({
22
+ top: rect.bottom + window.scrollY + 4,
23
+ left: rect.left + window.scrollX,
24
+ width: rect.width
25
+ });
26
+ }
27
+ });
28
+ // Perform search as user types
29
+ useEffect(() => {
30
+ if (query.trim().length > 0) {
31
+ const results = searchArticles(query);
32
+ setSearchResults(results.slice(0, 10)); // Limit to 10 results
33
+ setShowDropdown(true);
34
+ setTimeout(() => {
35
+ updateDropdownPosition.current();
36
+ }, 0);
37
+ } else {
38
+ setSearchResults([]);
39
+ setShowDropdown(false);
40
+ }
41
+ }, [query]);
42
+ // Update position on scroll/resize
43
+ useEffect(() => {
44
+ if (showDropdown) {
45
+ updateDropdownPosition.current();
46
+ const handleScroll = () => updateDropdownPosition.current();
47
+ const handleResize = () => updateDropdownPosition.current();
48
+ window.addEventListener('scroll', handleScroll, true);
49
+ window.addEventListener('resize', handleResize);
50
+ return () => {
51
+ window.removeEventListener('scroll', handleScroll, true);
52
+ window.removeEventListener('resize', handleResize);
53
+ };
54
+ }
55
+ }, [showDropdown]);
56
+ // Close dropdown when clicking outside
57
+ useEffect(() => {
58
+ const handleClickOutside = event => {
59
+ const target = event.target;
60
+ if (searchContainerRef.current && !searchContainerRef.current.contains(target)) {
61
+ const dropdown = document.querySelector('[data-search-dropdown-cares]');
62
+ if (!dropdown || !dropdown.contains(target)) {
63
+ setShowDropdown(false);
64
+ }
65
+ }
66
+ };
67
+ document.addEventListener('mousedown', handleClickOutside);
68
+ return () => {
69
+ document.removeEventListener('mousedown', handleClickOutside);
70
+ };
71
+ }, []);
72
+ const handleSearch = e => {
73
+ e.preventDefault();
74
+ if (onSearch && query.trim()) {
75
+ onSearch(query);
76
+ }
77
+ // If there are results and user presses enter, navigate to first result
78
+ if (searchResults.length > 0) {
79
+ const firstResult = searchResults[0];
80
+ navigate(`/help-center/${firstResult.categoryId}/${firstResult.slug}`);
81
+ setShowDropdown(false);
82
+ }
83
+ };
84
+ const handleInputChange = e => {
85
+ setQuery(e.target.value);
86
+ };
87
+ const handleInputFocus = () => {
88
+ if (searchResults.length > 0) {
89
+ setShowDropdown(true);
90
+ }
91
+ };
92
+ const handleResultClick = (article, e) => {
93
+ if (e) {
94
+ e.preventDefault();
95
+ e.stopPropagation();
96
+ }
97
+ if (!article || !article.categoryId || !article.slug) {
98
+ return;
99
+ }
100
+ setShowDropdown(false);
101
+ setQuery('');
102
+ navigate(`/help-center/${article.categoryId}/${article.slug}`);
103
+ };
104
+ return jsxs(CaresSection, {
105
+ tone: "default",
106
+ className: "relative",
107
+ children: [jsxs("div", {
108
+ className: "absolute inset-0",
109
+ children: [jsx("img", {
110
+ src: "https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=1800&auto=format&fit=crop",
111
+ alt: "Support",
112
+ className: "h-full w-full object-cover"
113
+ }), jsx("div", {
114
+ className: "absolute inset-0 bg-black/35"
115
+ })]
116
+ }), jsx(CaresContainer, {
117
+ className: "relative py-20",
118
+ children: jsxs("div", {
119
+ className: "max-w-3xl",
120
+ children: [jsx("h1", {
121
+ className: "text-3xl font-semibold text-white sm:text-4xl",
122
+ children: title
123
+ }), jsx("form", {
124
+ className: "mt-6 flex w-full max-w-xl overflow-hidden rounded-md bg-white shadow-lg relative",
125
+ onSubmit: handleSearch,
126
+ children: jsxs("div", {
127
+ ref: searchContainerRef,
128
+ className: "relative flex-1 flex",
129
+ children: [jsx("input", {
130
+ ref: inputRef,
131
+ className: "h-12 flex-1 px-4 text-sm text-foreground outline-none",
132
+ placeholder: "Search for solutions",
133
+ value: query,
134
+ onChange: handleInputChange,
135
+ onFocus: handleInputFocus
136
+ }), jsx("button", {
137
+ type: "submit",
138
+ className: "h-12 bg-black px-5 text-sm font-semibold text-white hover:bg-black/90",
139
+ children: "Search"
140
+ })]
141
+ })
142
+ })]
143
+ })
144
+ }), showDropdown && typeof document !== 'undefined' && createPortal(jsx(Fragment, {
145
+ children: searchResults.length > 0 ? jsx("div", {
146
+ "data-search-dropdown-cares": true,
147
+ className: "fixed bg-white rounded-lg shadow-2xl border border-gray-200 max-h-96 overflow-y-auto z-[9999]",
148
+ style: {
149
+ top: `${dropdownPosition.top}px`,
150
+ left: `${dropdownPosition.left}px`,
151
+ width: `${dropdownPosition.width}px`
152
+ },
153
+ onClick: e => e.stopPropagation(),
154
+ children: jsx("div", {
155
+ className: "py-1",
156
+ children: searchResults.map((article, index) => {
157
+ const category = getCategoryById(article.categoryId);
158
+ return jsx("div", {
159
+ onClick: e => {
160
+ e.preventDefault();
161
+ e.stopPropagation();
162
+ handleResultClick(article, e);
163
+ },
164
+ className: `block px-4 py-3 hover:bg-blue-50 transition-colors cursor-pointer border-b border-gray-100 last:border-b-0`,
165
+ role: "button",
166
+ tabIndex: 0,
167
+ onKeyDown: e => {
168
+ if (e.key === 'Enter' || e.key === ' ') {
169
+ e.preventDefault();
170
+ handleResultClick(article);
171
+ }
172
+ },
173
+ children: jsxs("div", {
174
+ className: "flex flex-col",
175
+ children: [jsx("div", {
176
+ className: "text-base font-semibold text-gray-900",
177
+ children: article.title
178
+ }), article.description && jsx("div", {
179
+ className: "text-sm text-gray-600 mt-0.5",
180
+ children: article.description
181
+ }), category && jsx("div", {
182
+ className: "text-xs text-blue-600 mt-1 font-medium",
183
+ children: category.title
184
+ })]
185
+ })
186
+ }, article.id);
187
+ })
188
+ })
189
+ }) : query.trim().length > 0 ? jsx("div", {
190
+ "data-search-dropdown-cares": true,
191
+ className: "fixed bg-white rounded-lg shadow-2xl border border-gray-200 z-[9999]",
192
+ style: {
193
+ top: `${dropdownPosition.top}px`,
194
+ left: `${dropdownPosition.left}px`,
195
+ width: `${dropdownPosition.width}px`
196
+ },
197
+ onClick: e => e.stopPropagation(),
198
+ children: jsx("div", {
199
+ className: "px-4 py-6 text-center text-gray-500",
200
+ children: jsxs("p", {
201
+ children: ["No results found for \"", query, "\""]
202
+ })
203
+ })
204
+ }) : null
205
+ }), document.body)]
206
+ });
207
+ };export{CaresHero};//# sourceMappingURL=CaresHero.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CaresHero.js","sources":["../../../../src/pages/HelpCenter/components/CaresHero.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"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"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export declare const CaresContainer: ({ className, children, }: {
3
+ className?: string;
4
+ children: React.ReactNode;
5
+ }) => React.ReactElement;
6
+ export declare const CaresSection: ({ tone, className, children, }: {
7
+ tone?: "default" | "soft" | "dark";
8
+ className?: string;
9
+ children: React.ReactNode;
10
+ }) => React.ReactElement;
11
+ //# sourceMappingURL=CaresLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CaresLayout.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/CaresLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,cAAc,GAAI,0BAG5B;IACC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,KAAG,KAAK,CAAC,YAET,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,gCAI1B;IACC,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,KAAG,KAAK,CAAC,YAQT,CAAC"}
@@ -0,0 +1,20 @@
1
+ import {jsx}from'react/jsx-runtime';const CaresContainer = ({
2
+ className,
3
+ children
4
+ }) => {
5
+ return jsx("div", {
6
+ className: `mx-auto w-full max-w-6xl px-6 lg:px-10 ${className || ''}`,
7
+ children: children
8
+ });
9
+ };
10
+ const CaresSection = ({
11
+ tone = 'default',
12
+ className,
13
+ children
14
+ }) => {
15
+ const toneClass = tone === 'dark' ? 'bg-[#1A1A1A] text-white' : tone === 'soft' ? 'bg-[#FBF3E8] text-foreground' : 'bg-background text-foreground';
16
+ return jsx("section", {
17
+ className: `${toneClass} ${className || ''}`,
18
+ children: children
19
+ });
20
+ };export{CaresContainer,CaresSection};//# sourceMappingURL=CaresLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CaresLayout.js","sources":["../../../../src/pages/HelpCenter/components/CaresLayout.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"oCAEa,MAAA,cAAc,GAAG,CAAC;WAOpB;AACX,EAAE;AAEF,CAAA,KAAM;AASF,EAAA,OAAAA,GAAe,CAAA,KAAA,EAAA;AAEP,IAAA,SAA2B,EAAA,CAAA,uCAAA,EAAA,SAAA,IAAA,EAAA,CAAA,CAAA;YACrB,EAAA;AACJ,GAAA,CAAA;;AAEM,MAAA,YAAA,GAAA,CAAA;AACpB,EAAE,IAAA,GAAA,SAAA;;;;;;;;;"}
@@ -4,10 +4,10 @@ export interface CategoryAuthor {
4
4
  articles: number;
5
5
  }
6
6
  export interface HelpCategory {
7
- id: string;
8
- title: string;
9
- description: string;
10
- iconType: string;
7
+ id?: string;
8
+ title?: string;
9
+ description?: string;
10
+ iconType?: string;
11
11
  icon?: React.ReactNode;
12
12
  authors?: CategoryAuthor[];
13
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"HelpCategoryCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/HelpCategoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC9B;AAED,UAAU,qBAAqB;IAC3B,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgF5D,CAAC"}
1
+ {"version":3,"file":"HelpCategoryCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/HelpCategoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC9B;AAED,UAAU,qBAAqB;IAC3B,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgF5D,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { Category } from '../../../utils/markdownLoader';
3
+ export declare const NeedHelpWithSection: ({ categories }: {
4
+ categories: Category[];
5
+ }) => React.ReactElement;
6
+ //# sourceMappingURL=NeedHelpWithSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NeedHelpWithSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/NeedHelpWithSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAG9D,eAAO,MAAM,mBAAmB,GAAI,gBAAgB;IAAE,UAAU,EAAE,QAAQ,EAAE,CAAA;CAAE,KAAG,KAAK,CAAC,YAkFtF,CAAC"}
@@ -0,0 +1,70 @@
1
+ import {jsx,jsxs}from'react/jsx-runtime';import React__default from'react';import {useNavigate}from'@remix-run/react';import {CaresSection,CaresContainer}from'./CaresLayout.js';import {HelpCategoryCard}from'./HelpCategoryCard.js';const NeedHelpWithSection = ({
2
+ categories
3
+ }) => {
4
+ const [active, setActive] = React__default.useState(() => categories?.[0]?.id ?? '');
5
+ const navigate = useNavigate();
6
+ const handleCategoryClick = to => {
7
+ // Navigate to category page
8
+ navigate(to);
9
+ };
10
+ const activeCategory = categories.find(c => c.id === active) ?? categories[0];
11
+ return jsx(CaresSection, {
12
+ tone: "default",
13
+ children: jsxs(CaresContainer, {
14
+ className: "py-16",
15
+ children: [jsx("h2", {
16
+ className: "text-center text-2xl font-semibold text-foreground",
17
+ children: "What do you need help with?"
18
+ }), jsx("div", {
19
+ className: "mt-14 text-center text-xs font-semibold tracking-widest text-foreground/60",
20
+ children: "Documentation"
21
+ }), jsxs("div", {
22
+ className: "mt-10 grid gap-10 lg:grid-cols-12",
23
+ children: [jsx("div", {
24
+ className: "lg:col-span-3",
25
+ children: jsx("div", {
26
+ className: "space-y-1",
27
+ children: categories?.map(c => {
28
+ const isActive = c.id === active;
29
+ return jsxs("button", {
30
+ type: "button",
31
+ onClick: () => setActive(c.id),
32
+ className: `group flex w-full items-center justify-between rounded-sm px-4 py-3 text-left text-sm ${isActive ? 'bg-[#FFF2E7] text-[#F97316]' : 'text-foreground hover:bg-[#FFF2E7]/50'}`,
33
+ style: {
34
+ borderLeft: isActive ? '3px solid #F97316' : '3px solid transparent'
35
+ },
36
+ children: [jsx("span", {
37
+ className: "flex items-center gap-3",
38
+ children: jsx("span", {
39
+ className: `${isActive ? 'font-semibold' : 'font-medium'}`,
40
+ children: c?.title
41
+ })
42
+ }), jsx("span", {
43
+ className: `${isActive ? 'text-[#F97316]' : 'text-foreground/30'}`,
44
+ children: "\u203A"
45
+ })]
46
+ }, c.id);
47
+ })
48
+ })
49
+ }), jsxs("div", {
50
+ className: "lg:col-span-9",
51
+ children: [jsx("div", {
52
+ className: "grid grid-cols-2 gap-7 sm:grid-cols-3",
53
+ children: (activeCategory?.articles ?? []).slice(0, 8).map(article => jsx(HelpCategoryCard, {
54
+ category: article,
55
+ onClick: () => handleCategoryClick(`/help-center/${activeCategory.id}/${article.slug}`)
56
+ }, article.id))
57
+ }), activeCategory ? jsx("div", {
58
+ className: "mt-6",
59
+ children: jsxs("button", {
60
+ type: "button",
61
+ onClick: () => handleCategoryClick(`/help-center/${activeCategory.id}`),
62
+ className: "text-sm font-semibold text-[#F97316] hover:underline",
63
+ children: ["View all in ", activeCategory.title, " \u2192"]
64
+ })
65
+ }) : null]
66
+ })]
67
+ })]
68
+ })
69
+ });
70
+ };export{NeedHelpWithSection};//# sourceMappingURL=NeedHelpWithSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NeedHelpWithSection.js","sources":["../../../../src/pages/HelpCenter/components/NeedHelpWithSection.tsx"],"sourcesContent":[null],"names":["React","_jsxs"],"mappings":"4OAMa,mBAAmB,GAAG,CAAC;;AAEhC,CAAA,KAAA;AAEA,EAAA,MAAA,CAAA,MAAyB,EAAA,SAAA,CAAA,GAAAA,cAAc,SAAI,CAAA,MAAA,UAAA,GAAA,CAAA,CAAA,EAAA,EAAA,IAAA,EAAA,CAAA;QACvC,QAA4B,GAAA,WAAA,EAAA;QAC5B,mBAAa,GAAA,EAAA,IAAA;AACjB;IAEA,QAAM,CAAA,EAAA,CAAA;;AAesB,EAAA,MAAA,cAAA,GAAA,UAAA,CAAA,IAAA,CAAA,CAAM,QAAQ,KAAK,MAAE,CAAK,cAAO,CAAA,CAAA,CAAA;;AAQjB,IAAA,IAAA,EAAA,SAAA;AACA,IAAA,QAAA,EAAAC,IAAA,CAAA,cAAA,EAAA;;;uEAqBE;AA4BlD,QAAE,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export declare const PopularArticlesGrid: ({ items }: {
3
+ items: {
4
+ title: string;
5
+ link: string;
6
+ }[];
7
+ }) => React.ReactElement;
8
+ //# sourceMappingURL=PopularArticlesGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopularArticlesGrid.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/PopularArticlesGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,mBAAmB,GAAI,WAAW;IAAE,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAAE,KAAG,KAAK,CAAC,YAcnG,CAAC"}
@@ -0,0 +1,21 @@
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {CaresSection,CaresContainer}from'./CaresLayout.js';import {popularArticlesMock}from'../mockData.js';import {PopularArticle}from'./PopularArticle.js';const PopularArticlesGrid = ({
2
+ items
3
+ }) => {
4
+ return jsx(CaresSection, {
5
+ tone: "default",
6
+ children: jsxs(CaresContainer, {
7
+ className: "py-14",
8
+ children: [jsx("h2", {
9
+ className: "text-center text-xl font-semibold text-foreground",
10
+ children: "Popular Articles"
11
+ }), jsx("p", {
12
+ className: "text-lg text-muted-foreground text-center mb-10",
13
+ children: "Most helpful content from our community"
14
+ }), popularArticlesMock.map(article => jsx(PopularArticle, {
15
+ title: article.title,
16
+ link: article.link,
17
+ className: "mb-4"
18
+ }, article.id))]
19
+ })
20
+ });
21
+ };export{PopularArticlesGrid};//# sourceMappingURL=PopularArticlesGrid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopularArticlesGrid.js","sources":["../../../../src/pages/HelpCenter/components/PopularArticlesGrid.tsx"],"sourcesContent":[null],"names":[],"mappings":"4MAKa,mBAAmB,GAAG,CAAC;AAChC,EAAA;AAaJ,CAAC,KAAC;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const SupportPlansSection: () => React.ReactElement;
3
+ //# sourceMappingURL=SupportPlansSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportPlansSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/SupportPlansSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqC1B,eAAO,MAAM,mBAAmB,QAAO,KAAK,CAAC,YA+B5C,CAAC"}
@@ -0,0 +1,63 @@
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {CaresSection,CaresContainer}from'./CaresLayout.js';const PlanCard = ({
2
+ badge,
3
+ title,
4
+ body,
5
+ bullets
6
+ }) => {
7
+ return jsxs("div", {
8
+ className: "rounded-xl bg-white p-7 shadow-sm ring-1 ring-black/5",
9
+ children: [badge ? jsx("div", {
10
+ className: "inline-flex rounded-full bg-[#F6C945] px-3 py-1 text-xs font-semibold text-foreground",
11
+ children: badge
12
+ }) : null, jsx("div", {
13
+ className: "mt-3 text-lg font-semibold",
14
+ children: title
15
+ }), jsx("p", {
16
+ className: "mt-3 text-sm leading-6 text-foreground/70",
17
+ children: body
18
+ }), bullets?.length ? jsx("ul", {
19
+ className: "mt-5 space-y-2 text-sm text-foreground/80",
20
+ children: bullets.map(b => jsxs("li", {
21
+ className: "flex gap-2",
22
+ children: [jsx("span", {
23
+ className: "text-emerald-600",
24
+ children: "\u2022"
25
+ }), jsx("span", {
26
+ children: b
27
+ })]
28
+ }, b))
29
+ }) : null]
30
+ });
31
+ };
32
+ const SupportPlansSection = () => {
33
+ return jsx(CaresSection, {
34
+ tone: "soft",
35
+ children: jsxs(CaresContainer, {
36
+ className: "py-16",
37
+ children: [jsx("h2", {
38
+ className: "text-center text-2xl font-semibold text-foreground",
39
+ children: "Our support plans"
40
+ }), jsx("p", {
41
+ className: "mx-auto mt-3 max-w-2xl text-center text-sm text-foreground/70",
42
+ children: "Pick the right plan for your team and get the assistance you need."
43
+ }), jsxs("div", {
44
+ className: "mt-12 grid gap-6 lg:grid-cols-3",
45
+ children: [jsx(PlanCard, {
46
+ badge: "The 90s",
47
+ title: "Classic Support",
48
+ body: "Email-based support to help you get unstuck and keep moving.",
49
+ bullets: ['Knowledge base access', 'Standard response times', 'Community support']
50
+ }), jsx(PlanCard, {
51
+ title: "Premium Support",
52
+ body: "Priority assistance with faster response times and guided troubleshooting.",
53
+ bullets: ['Priority ticket handling', 'Faster SLAs', 'Onboarding guidance']
54
+ }), jsx(PlanCard, {
55
+ badge: "Most popular",
56
+ title: "Enterprise Support",
57
+ body: "White-glove support for mission-critical teams with deeper implementation help.",
58
+ bullets: ['Dedicated manager options', '24/7 availability add-ons', 'Implementation support']
59
+ })]
60
+ })]
61
+ })
62
+ });
63
+ };export{SupportPlansSection};//# sourceMappingURL=SupportPlansSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportPlansSection.js","sources":["../../../../src/pages/HelpCenter/components/SupportPlansSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"oGAGA,MAAM,QAAQ,GAAG,CAAC;AAWd,EAAA,KAAA;AAqBJ,EAAE,KAAA;AAEF,EAAA,IAAM;;AA+BN,CAAC,KAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const SupportServicesSection: () => React.ReactElement;
3
+ //# sourceMappingURL=SupportServicesSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportServicesSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/SupportServicesSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8B1B,eAAO,MAAM,sBAAsB,QAAO,KAAK,CAAC,YA+B/C,CAAC"}
@@ -0,0 +1,61 @@
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {CaresSection,CaresContainer}from'./CaresLayout.js';const ServiceBlock = ({
2
+ title,
3
+ body,
4
+ align = 'left'
5
+ }) => {
6
+ return jsxs("div", {
7
+ className: `grid gap-8 lg:grid-cols-12 lg:items-center ${align === 'right' ? 'lg:flex-row-reverse' : ''}`,
8
+ children: [jsxs("div", {
9
+ className: `lg:col-span-7 ${align === 'right' ? 'lg:order-2' : ''}`,
10
+ children: [jsx("h3", {
11
+ className: "text-xl font-semibold text-foreground",
12
+ children: title
13
+ }), jsx("p", {
14
+ className: "mt-3 max-w-xl text-sm leading-6 text-foreground/70",
15
+ children: body
16
+ }), jsx("button", {
17
+ className: "mt-5 rounded-md bg-[#F59E0B] px-4 py-2 text-sm font-semibold text-white hover:bg-[#d97706]",
18
+ children: "Learn more"
19
+ })]
20
+ }), jsx("div", {
21
+ className: `lg:col-span-5 ${align === 'right' ? 'lg:order-1' : ''}`,
22
+ children: jsx("div", {
23
+ className: "grid h-48 place-items-center rounded-xl bg-white ring-1 ring-black/5",
24
+ children: jsx("div", {
25
+ className: "h-20 w-20 rounded-full bg-[#FBF3E8]"
26
+ })
27
+ })
28
+ })]
29
+ });
30
+ };
31
+ const SupportServicesSection = () => {
32
+ return jsx(CaresSection, {
33
+ tone: "default",
34
+ children: jsxs(CaresContainer, {
35
+ className: "py-16",
36
+ children: [jsx("h2", {
37
+ className: "text-center text-2xl font-semibold text-foreground",
38
+ children: "Support Services"
39
+ }), jsxs("div", {
40
+ className: "mt-14 grid gap-16",
41
+ children: [jsx(ServiceBlock, {
42
+ title: "Turnkey Solutions",
43
+ body: "Experts who help set up your suite, tailor workflows, and get your team productive quickly.",
44
+ align: "left"
45
+ }), jsx(ServiceBlock, {
46
+ title: "Configuration help",
47
+ body: "Need help setting up modules, access control, or integrations? We\u2019ll guide you end to end.",
48
+ align: "right"
49
+ }), jsx(ServiceBlock, {
50
+ title: "Product Training",
51
+ body: "Training sessions to help your team master the tools and adopt best practices.",
52
+ align: "left"
53
+ }), jsx(ServiceBlock, {
54
+ title: "Onboarding",
55
+ body: "A guided onboarding journey that ensures a smooth start and successful rollout.",
56
+ align: "right"
57
+ })]
58
+ })]
59
+ })
60
+ });
61
+ };export{SupportServicesSection};//# sourceMappingURL=SupportServicesSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportServicesSection.js","sources":["../../../../src/pages/HelpCenter/components/SupportServicesSection.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"oGAGA,MAAM,YAAY,GAAG,CAAC;AASlB,EAAA,KAAA;AAgBJ,EAAE,IAAA;AAEF,EAAA,KAAO,GAAA;MACI;AA8BX,EAAE,OAAAA,IAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/HelpCenter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAmE3B,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/HelpCenter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EA0B3B,CAAC;AAEF,eAAe,cAAc,CAAC"}