@burdenoff/fe-libs 2026.525.2 → 2026.526.1

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 (617) hide show
  1. package/package.json +1 -1
  2. package/dist/button/Button.d.ts +0 -12
  3. package/dist/button/Button.d.ts.map +0 -1
  4. package/dist/button/index.d.ts +0 -3
  5. package/dist/button/index.d.ts.map +0 -1
  6. package/dist/button.d.ts +0 -2
  7. package/dist/chrome/AccountSwitcher.d.ts +0 -51
  8. package/dist/chrome/AccountSwitcher.d.ts.map +0 -1
  9. package/dist/chrome/AppShellLayout.d.ts +0 -67
  10. package/dist/chrome/AppShellLayout.d.ts.map +0 -1
  11. package/dist/chrome/AutoBreadcrumbs.d.ts +0 -22
  12. package/dist/chrome/AutoBreadcrumbs.d.ts.map +0 -1
  13. package/dist/chrome/Breadcrumb.d.ts +0 -47
  14. package/dist/chrome/Breadcrumb.d.ts.map +0 -1
  15. package/dist/chrome/Breadcrumbs.d.ts +0 -69
  16. package/dist/chrome/Breadcrumbs.d.ts.map +0 -1
  17. package/dist/chrome/CommandPalette.d.ts +0 -64
  18. package/dist/chrome/CommandPalette.d.ts.map +0 -1
  19. package/dist/chrome/ContextSwitcher.d.ts +0 -48
  20. package/dist/chrome/ContextSwitcher.d.ts.map +0 -1
  21. package/dist/chrome/DynamicFooter.d.ts +0 -21
  22. package/dist/chrome/DynamicFooter.d.ts.map +0 -1
  23. package/dist/chrome/Footer.d.ts +0 -128
  24. package/dist/chrome/Footer.d.ts.map +0 -1
  25. package/dist/chrome/FooterBar.d.ts +0 -79
  26. package/dist/chrome/FooterBar.d.ts.map +0 -1
  27. package/dist/chrome/GeographySwitcher.d.ts +0 -22
  28. package/dist/chrome/GeographySwitcher.d.ts.map +0 -1
  29. package/dist/chrome/GlobalSearch.d.ts +0 -49
  30. package/dist/chrome/GlobalSearch.d.ts.map +0 -1
  31. package/dist/chrome/HeaderBar.d.ts +0 -108
  32. package/dist/chrome/HeaderBar.d.ts.map +0 -1
  33. package/dist/chrome/LanguagePickerSheet.d.ts +0 -22
  34. package/dist/chrome/LanguagePickerSheet.d.ts.map +0 -1
  35. package/dist/chrome/LanguageSwitcher.d.ts +0 -23
  36. package/dist/chrome/LanguageSwitcher.d.ts.map +0 -1
  37. package/dist/chrome/NavLink.d.ts +0 -64
  38. package/dist/chrome/NavLink.d.ts.map +0 -1
  39. package/dist/chrome/NotificationCenter.d.ts +0 -16
  40. package/dist/chrome/NotificationCenter.d.ts.map +0 -1
  41. package/dist/chrome/PanelContainer.d.ts +0 -8
  42. package/dist/chrome/PanelContainer.d.ts.map +0 -1
  43. package/dist/chrome/PanelTabs.d.ts +0 -19
  44. package/dist/chrome/PanelTabs.d.ts.map +0 -1
  45. package/dist/chrome/PluginContextMenuTarget.d.ts +0 -8
  46. package/dist/chrome/PluginContextMenuTarget.d.ts.map +0 -1
  47. package/dist/chrome/PluginFooterStrip.d.ts +0 -3
  48. package/dist/chrome/PluginFooterStrip.d.ts.map +0 -1
  49. package/dist/chrome/PluginRoutes.d.ts +0 -9
  50. package/dist/chrome/PluginRoutes.d.ts.map +0 -1
  51. package/dist/chrome/PluginSettingsPage.d.ts +0 -3
  52. package/dist/chrome/PluginSettingsPage.d.ts.map +0 -1
  53. package/dist/chrome/PluginToolbar.d.ts +0 -9
  54. package/dist/chrome/PluginToolbar.d.ts.map +0 -1
  55. package/dist/chrome/PluginWidgetGrid.d.ts +0 -7
  56. package/dist/chrome/PluginWidgetGrid.d.ts.map +0 -1
  57. package/dist/chrome/ProductPickerSheet.d.ts +0 -24
  58. package/dist/chrome/ProductPickerSheet.d.ts.map +0 -1
  59. package/dist/chrome/ProductSideNav.d.ts +0 -22
  60. package/dist/chrome/ProductSideNav.d.ts.map +0 -1
  61. package/dist/chrome/ProductSwitcher.d.ts +0 -31
  62. package/dist/chrome/ProductSwitcher.d.ts.map +0 -1
  63. package/dist/chrome/ProfileSwitcher.d.ts +0 -49
  64. package/dist/chrome/ProfileSwitcher.d.ts.map +0 -1
  65. package/dist/chrome/ShortcutHelpDialog.d.ts +0 -33
  66. package/dist/chrome/ShortcutHelpDialog.d.ts.map +0 -1
  67. package/dist/chrome/SideNavigation.d.ts +0 -85
  68. package/dist/chrome/SideNavigation.d.ts.map +0 -1
  69. package/dist/chrome/Sidebar.d.ts +0 -108
  70. package/dist/chrome/Sidebar.d.ts.map +0 -1
  71. package/dist/chrome/StatusBar.d.ts +0 -3
  72. package/dist/chrome/StatusBar.d.ts.map +0 -1
  73. package/dist/chrome/Tabs.d.ts +0 -74
  74. package/dist/chrome/Tabs.d.ts.map +0 -1
  75. package/dist/chrome/index.d.ts +0 -108
  76. package/dist/chrome/index.d.ts.map +0 -1
  77. package/dist/chrome.d.ts +0 -2
  78. package/dist/config/eslint.config.d.ts +0 -12
  79. package/dist/config/eslint.config.d.ts.map +0 -1
  80. package/dist/config/index.d.ts +0 -19
  81. package/dist/config/index.d.ts.map +0 -1
  82. package/dist/config/prettier.config.d.ts +0 -7
  83. package/dist/config/prettier.config.d.ts.map +0 -1
  84. package/dist/form/Checkbox.d.ts +0 -60
  85. package/dist/form/Checkbox.d.ts.map +0 -1
  86. package/dist/form/Form.d.ts +0 -114
  87. package/dist/form/Form.d.ts.map +0 -1
  88. package/dist/form/FormDescription.d.ts +0 -33
  89. package/dist/form/FormDescription.d.ts.map +0 -1
  90. package/dist/form/FormField.d.ts +0 -96
  91. package/dist/form/FormField.d.ts.map +0 -1
  92. package/dist/form/FormLabel.d.ts +0 -41
  93. package/dist/form/FormLabel.d.ts.map +0 -1
  94. package/dist/form/FormMessage.d.ts +0 -35
  95. package/dist/form/FormMessage.d.ts.map +0 -1
  96. package/dist/form/Input.d.ts +0 -43
  97. package/dist/form/Input.d.ts.map +0 -1
  98. package/dist/form/Radio.d.ts +0 -99
  99. package/dist/form/Radio.d.ts.map +0 -1
  100. package/dist/form/Select.d.ts +0 -101
  101. package/dist/form/Select.d.ts.map +0 -1
  102. package/dist/form/Textarea.d.ts +0 -50
  103. package/dist/form/Textarea.d.ts.map +0 -1
  104. package/dist/form/index.d.ts +0 -24
  105. package/dist/form/index.d.ts.map +0 -1
  106. package/dist/form.d.ts +0 -2
  107. package/dist/index.d.ts +0 -2
  108. package/dist/index.d.ts.map +0 -1
  109. package/dist/lib/utils.d.ts +0 -3
  110. package/dist/lib/utils.d.ts.map +0 -1
  111. package/dist/shared/components/AccessDenied.d.ts +0 -117
  112. package/dist/shared/components/AccessDenied.d.ts.map +0 -1
  113. package/dist/shared/components/AppErrorBoundary.d.ts +0 -19
  114. package/dist/shared/components/AppErrorBoundary.d.ts.map +0 -1
  115. package/dist/shared/components/ConditionalShell.d.ts +0 -17
  116. package/dist/shared/components/ConditionalShell.d.ts.map +0 -1
  117. package/dist/shared/components/ContextConversationWidget.d.ts +0 -6
  118. package/dist/shared/components/ContextConversationWidget.d.ts.map +0 -1
  119. package/dist/shared/components/ErrorBoundary.d.ts +0 -19
  120. package/dist/shared/components/ErrorBoundary.d.ts.map +0 -1
  121. package/dist/shared/components/ErrorFallback.d.ts +0 -3
  122. package/dist/shared/components/ErrorFallback.d.ts.map +0 -1
  123. package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +0 -7
  124. package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +0 -1
  125. package/dist/shared/components/LegalPage.d.ts +0 -19
  126. package/dist/shared/components/LegalPage.d.ts.map +0 -1
  127. package/dist/shared/components/LoadingFallback.d.ts +0 -31
  128. package/dist/shared/components/LoadingFallback.d.ts.map +0 -1
  129. package/dist/shared/components/MicrofrontendErrorBoundary.d.ts +0 -20
  130. package/dist/shared/components/MicrofrontendErrorBoundary.d.ts.map +0 -1
  131. package/dist/shared/components/PWAInstallBanner.d.ts +0 -14
  132. package/dist/shared/components/PWAInstallBanner.d.ts.map +0 -1
  133. package/dist/shared/components/PermissionGate.d.ts +0 -202
  134. package/dist/shared/components/PermissionGate.d.ts.map +0 -1
  135. package/dist/shared/components/ProductAccessGuard.d.ts +0 -8
  136. package/dist/shared/components/ProductAccessGuard.d.ts.map +0 -1
  137. package/dist/shared/components/QuotaMeter.d.ts +0 -30
  138. package/dist/shared/components/QuotaMeter.d.ts.map +0 -1
  139. package/dist/shared/components/RequireAuth.d.ts +0 -76
  140. package/dist/shared/components/RequireAuth.d.ts.map +0 -1
  141. package/dist/shared/components/SSORedirectGuard.d.ts +0 -49
  142. package/dist/shared/components/SSORedirectGuard.d.ts.map +0 -1
  143. package/dist/shared/components/SearchPage.d.ts +0 -24
  144. package/dist/shared/components/SearchPage.d.ts.map +0 -1
  145. package/dist/shared/components/index.d.ts +0 -25
  146. package/dist/shared/components/index.d.ts.map +0 -1
  147. package/dist/shared/config/authBridgeUrls.d.ts +0 -27
  148. package/dist/shared/config/authBridgeUrls.d.ts.map +0 -1
  149. package/dist/shared/config/eslint.config.d.ts +0 -12
  150. package/dist/shared/config/eslint.config.d.ts.map +0 -1
  151. package/dist/shared/config/gatewayUrls.d.ts +0 -44
  152. package/dist/shared/config/gatewayUrls.d.ts.map +0 -1
  153. package/dist/shared/config/index.d.ts +0 -71
  154. package/dist/shared/config/index.d.ts.map +0 -1
  155. package/dist/shared/config/prettier.config.d.ts +0 -7
  156. package/dist/shared/config/prettier.config.d.ts.map +0 -1
  157. package/dist/shared/config/products.d.ts +0 -56
  158. package/dist/shared/config/products.d.ts.map +0 -1
  159. package/dist/shared/config/shellRoutes.d.ts +0 -52
  160. package/dist/shared/config/shellRoutes.d.ts.map +0 -1
  161. package/dist/shared/events/index.d.ts +0 -591
  162. package/dist/shared/events/index.d.ts.map +0 -1
  163. package/dist/shared/events/metadata.d.ts +0 -7
  164. package/dist/shared/events/metadata.d.ts.map +0 -1
  165. package/dist/shared/events/sinks/BackendAuditSink.d.ts +0 -18
  166. package/dist/shared/events/sinks/BackendAuditSink.d.ts.map +0 -1
  167. package/dist/shared/events/sinks/BroadcastChannelSink.d.ts +0 -10
  168. package/dist/shared/events/sinks/BroadcastChannelSink.d.ts.map +0 -1
  169. package/dist/shared/events/sinks/DevtoolsSink.d.ts +0 -10
  170. package/dist/shared/events/sinks/DevtoolsSink.d.ts.map +0 -1
  171. package/dist/shared/events/sinks/OtelBrowserSink.d.ts +0 -14
  172. package/dist/shared/events/sinks/OtelBrowserSink.d.ts.map +0 -1
  173. package/dist/shared/events/sinks/RybbitSink.d.ts +0 -19
  174. package/dist/shared/events/sinks/RybbitSink.d.ts.map +0 -1
  175. package/dist/shared/events/sinks/index.d.ts +0 -6
  176. package/dist/shared/events/sinks/index.d.ts.map +0 -1
  177. package/dist/shared/feature-flags/FeatureFlagProvider.d.ts +0 -47
  178. package/dist/shared/feature-flags/FeatureFlagProvider.d.ts.map +0 -1
  179. package/dist/shared/feature-flags/FeatureGate.d.ts +0 -27
  180. package/dist/shared/feature-flags/FeatureGate.d.ts.map +0 -1
  181. package/dist/shared/feature-flags/index.d.ts +0 -38
  182. package/dist/shared/feature-flags/index.d.ts.map +0 -1
  183. package/dist/shared/feature-flags/types.d.ts +0 -121
  184. package/dist/shared/feature-flags/types.d.ts.map +0 -1
  185. package/dist/shared/feature-flags/useFeatureFlag.d.ts +0 -41
  186. package/dist/shared/feature-flags/useFeatureFlag.d.ts.map +0 -1
  187. package/dist/shared/geography/GeographyProvider.d.ts +0 -40
  188. package/dist/shared/geography/GeographyProvider.d.ts.map +0 -1
  189. package/dist/shared/geography/countries.d.ts +0 -53
  190. package/dist/shared/geography/countries.d.ts.map +0 -1
  191. package/dist/shared/geography/index.d.ts +0 -5
  192. package/dist/shared/geography/index.d.ts.map +0 -1
  193. package/dist/shared/graphql/GatewayContext.d.ts +0 -55
  194. package/dist/shared/graphql/GatewayContext.d.ts.map +0 -1
  195. package/dist/shared/graphql/client.d.ts +0 -122
  196. package/dist/shared/graphql/client.d.ts.map +0 -1
  197. package/dist/shared/graphql/fetch.d.ts +0 -133
  198. package/dist/shared/graphql/fetch.d.ts.map +0 -1
  199. package/dist/shared/graphql/index.d.ts +0 -9
  200. package/dist/shared/graphql/index.d.ts.map +0 -1
  201. package/dist/shared/graphql/links/sse-link.d.ts +0 -48
  202. package/dist/shared/graphql/links/sse-link.d.ts.map +0 -1
  203. package/dist/shared/graphql/security.d.ts +0 -13
  204. package/dist/shared/graphql/security.d.ts.map +0 -1
  205. package/dist/shared/graphql/workspaceToken.d.ts +0 -13
  206. package/dist/shared/graphql/workspaceToken.d.ts.map +0 -1
  207. package/dist/shared/help/HelpButton.d.ts +0 -25
  208. package/dist/shared/help/HelpButton.d.ts.map +0 -1
  209. package/dist/shared/help/HelpPanel.d.ts +0 -10
  210. package/dist/shared/help/HelpPanel.d.ts.map +0 -1
  211. package/dist/shared/help/HelpProvider.d.ts +0 -40
  212. package/dist/shared/help/HelpProvider.d.ts.map +0 -1
  213. package/dist/shared/help/index.d.ts +0 -53
  214. package/dist/shared/help/index.d.ts.map +0 -1
  215. package/dist/shared/help/types.d.ts +0 -159
  216. package/dist/shared/help/types.d.ts.map +0 -1
  217. package/dist/shared/hooks/index.d.ts +0 -31
  218. package/dist/shared/hooks/index.d.ts.map +0 -1
  219. package/dist/shared/hooks/shell/index.d.ts +0 -22
  220. package/dist/shared/hooks/shell/index.d.ts.map +0 -1
  221. package/dist/shared/hooks/shell/useBreadcrumbs.d.ts +0 -50
  222. package/dist/shared/hooks/shell/useBreadcrumbs.d.ts.map +0 -1
  223. package/dist/shared/hooks/shell/useFooterRegistry.d.ts +0 -23
  224. package/dist/shared/hooks/shell/useFooterRegistry.d.ts.map +0 -1
  225. package/dist/shared/hooks/shell/useGlobalSearch.d.ts +0 -103
  226. package/dist/shared/hooks/shell/useGlobalSearch.d.ts.map +0 -1
  227. package/dist/shared/hooks/shell/useLanguages.d.ts +0 -43
  228. package/dist/shared/hooks/shell/useLanguages.d.ts.map +0 -1
  229. package/dist/shared/hooks/shell/useNavRegistry.d.ts +0 -25
  230. package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +0 -1
  231. package/dist/shared/hooks/shell/useProductAccess.d.ts +0 -37
  232. package/dist/shared/hooks/shell/useProductAccess.d.ts.map +0 -1
  233. package/dist/shared/hooks/shell/useProducts.d.ts +0 -30
  234. package/dist/shared/hooks/shell/useProducts.d.ts.map +0 -1
  235. package/dist/shared/hooks/useAsync.d.ts +0 -151
  236. package/dist/shared/hooks/useAsync.d.ts.map +0 -1
  237. package/dist/shared/hooks/useBreakpoint.d.ts +0 -83
  238. package/dist/shared/hooks/useBreakpoint.d.ts.map +0 -1
  239. package/dist/shared/hooks/useCopyToClipboard.d.ts +0 -72
  240. package/dist/shared/hooks/useCopyToClipboard.d.ts.map +0 -1
  241. package/dist/shared/hooks/useDebounce.d.ts +0 -26
  242. package/dist/shared/hooks/useDebounce.d.ts.map +0 -1
  243. package/dist/shared/hooks/useHasAnimated.d.ts +0 -10
  244. package/dist/shared/hooks/useHasAnimated.d.ts.map +0 -1
  245. package/dist/shared/hooks/useKeyPress.d.ts +0 -116
  246. package/dist/shared/hooks/useKeyPress.d.ts.map +0 -1
  247. package/dist/shared/hooks/useLocalStorage.d.ts +0 -41
  248. package/dist/shared/hooks/useLocalStorage.d.ts.map +0 -1
  249. package/dist/shared/hooks/useMediaQuery.d.ts +0 -35
  250. package/dist/shared/hooks/useMediaQuery.d.ts.map +0 -1
  251. package/dist/shared/hooks/useOnClickOutside.d.ts +0 -76
  252. package/dist/shared/hooks/useOnClickOutside.d.ts.map +0 -1
  253. package/dist/shared/hooks/usePWA.d.ts +0 -57
  254. package/dist/shared/hooks/usePWA.d.ts.map +0 -1
  255. package/dist/shared/hooks/usePrevious.d.ts +0 -157
  256. package/dist/shared/hooks/usePrevious.d.ts.map +0 -1
  257. package/dist/shared/hooks/useQuotaErrorToast.d.ts +0 -50
  258. package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +0 -1
  259. package/dist/shared/hooks/useRecordProductVisit.d.ts +0 -11
  260. package/dist/shared/hooks/useRecordProductVisit.d.ts.map +0 -1
  261. package/dist/shared/hooks/useReferralAttribution.d.ts +0 -2
  262. package/dist/shared/hooks/useReferralAttribution.d.ts.map +0 -1
  263. package/dist/shared/hooks/useSessionStorage.d.ts +0 -44
  264. package/dist/shared/hooks/useSessionStorage.d.ts.map +0 -1
  265. package/dist/shared/hooks/useThrottle.d.ts +0 -37
  266. package/dist/shared/hooks/useThrottle.d.ts.map +0 -1
  267. package/dist/shared/hooks/useToggle.d.ts +0 -152
  268. package/dist/shared/hooks/useToggle.d.ts.map +0 -1
  269. package/dist/shared/index.d.ts +0 -13
  270. package/dist/shared/index.d.ts.map +0 -1
  271. package/dist/shared/keyboard/globalShortcuts.d.ts +0 -58
  272. package/dist/shared/keyboard/globalShortcuts.d.ts.map +0 -1
  273. package/dist/shared/keyboard/index.d.ts +0 -40
  274. package/dist/shared/keyboard/index.d.ts.map +0 -1
  275. package/dist/shared/keyboard/types.d.ts +0 -85
  276. package/dist/shared/keyboard/types.d.ts.map +0 -1
  277. package/dist/shared/keyboard/useHotkeys.d.ts +0 -21
  278. package/dist/shared/keyboard/useHotkeys.d.ts.map +0 -1
  279. package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +0 -94
  280. package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +0 -1
  281. package/dist/shared/keyboard/useShortcutHelp.d.ts +0 -27
  282. package/dist/shared/keyboard/useShortcutHelp.d.ts.map +0 -1
  283. package/dist/shared/keyboard/utils.d.ts +0 -72
  284. package/dist/shared/keyboard/utils.d.ts.map +0 -1
  285. package/dist/shared/logger/ConsoleTransport.d.ts +0 -22
  286. package/dist/shared/logger/ConsoleTransport.d.ts.map +0 -1
  287. package/dist/shared/logger/LogManager.d.ts +0 -75
  288. package/dist/shared/logger/LogManager.d.ts.map +0 -1
  289. package/dist/shared/logger/Logger.d.ts +0 -86
  290. package/dist/shared/logger/Logger.d.ts.map +0 -1
  291. package/dist/shared/logger/index.d.ts +0 -42
  292. package/dist/shared/logger/index.d.ts.map +0 -1
  293. package/dist/shared/logger/types.d.ts +0 -70
  294. package/dist/shared/logger/types.d.ts.map +0 -1
  295. package/dist/shared/logger/useLogger.d.ts +0 -29
  296. package/dist/shared/logger/useLogger.d.ts.map +0 -1
  297. package/dist/shared/motion/AnimatedCounter.d.ts +0 -16
  298. package/dist/shared/motion/AnimatedCounter.d.ts.map +0 -1
  299. package/dist/shared/motion/MotionCard.d.ts +0 -18
  300. package/dist/shared/motion/MotionCard.d.ts.map +0 -1
  301. package/dist/shared/motion/MotionCollapse.d.ts +0 -14
  302. package/dist/shared/motion/MotionCollapse.d.ts.map +0 -1
  303. package/dist/shared/motion/MotionFade.d.ts +0 -16
  304. package/dist/shared/motion/MotionFade.d.ts.map +0 -1
  305. package/dist/shared/motion/MotionItem.d.ts +0 -25
  306. package/dist/shared/motion/MotionItem.d.ts.map +0 -1
  307. package/dist/shared/motion/MotionList.d.ts +0 -28
  308. package/dist/shared/motion/MotionList.d.ts.map +0 -1
  309. package/dist/shared/motion/MotionPage.d.ts +0 -18
  310. package/dist/shared/motion/MotionPage.d.ts.map +0 -1
  311. package/dist/shared/motion/index.d.ts +0 -9
  312. package/dist/shared/motion/index.d.ts.map +0 -1
  313. package/dist/shared/motion/variants.d.ts +0 -70
  314. package/dist/shared/motion/variants.d.ts.map +0 -1
  315. package/dist/shared/native/bridge.d.ts +0 -3
  316. package/dist/shared/native/bridge.d.ts.map +0 -1
  317. package/dist/shared/native/consumers.d.ts +0 -9
  318. package/dist/shared/native/consumers.d.ts.map +0 -1
  319. package/dist/shared/native/hooks/index.d.ts +0 -12
  320. package/dist/shared/native/hooks/index.d.ts.map +0 -1
  321. package/dist/shared/native/hooks/useAppState.d.ts +0 -3
  322. package/dist/shared/native/hooks/useAppState.d.ts.map +0 -1
  323. package/dist/shared/native/hooks/useDeviceInfo.d.ts +0 -3
  324. package/dist/shared/native/hooks/useDeviceInfo.d.ts.map +0 -1
  325. package/dist/shared/native/hooks/useHaptics.d.ts +0 -8
  326. package/dist/shared/native/hooks/useHaptics.d.ts.map +0 -1
  327. package/dist/shared/native/hooks/useNativeKeyboard.d.ts +0 -6
  328. package/dist/shared/native/hooks/useNativeKeyboard.d.ts.map +0 -1
  329. package/dist/shared/native/hooks/useNativePlatform.d.ts +0 -10
  330. package/dist/shared/native/hooks/useNativePlatform.d.ts.map +0 -1
  331. package/dist/shared/native/hooks/useSafeArea.d.ts +0 -3
  332. package/dist/shared/native/hooks/useSafeArea.d.ts.map +0 -1
  333. package/dist/shared/native/hooks/useStatusBar.d.ts +0 -6
  334. package/dist/shared/native/hooks/useStatusBar.d.ts.map +0 -1
  335. package/dist/shared/native/index.d.ts +0 -6
  336. package/dist/shared/native/index.d.ts.map +0 -1
  337. package/dist/shared/native/platform.d.ts +0 -7
  338. package/dist/shared/native/platform.d.ts.map +0 -1
  339. package/dist/shared/native/types.d.ts +0 -62
  340. package/dist/shared/native/types.d.ts.map +0 -1
  341. package/dist/shared/pages/AiPage.d.ts +0 -14
  342. package/dist/shared/pages/AiPage.d.ts.map +0 -1
  343. package/dist/shared/pages/LegalPage.d.ts +0 -19
  344. package/dist/shared/pages/LegalPage.d.ts.map +0 -1
  345. package/dist/shared/pages/SearchPage.d.ts +0 -28
  346. package/dist/shared/pages/SearchPage.d.ts.map +0 -1
  347. package/dist/shared/pages/index.d.ts +0 -7
  348. package/dist/shared/pages/index.d.ts.map +0 -1
  349. package/dist/shared/plugins/PluginRuntimeProvider.d.ts +0 -28
  350. package/dist/shared/plugins/PluginRuntimeProvider.d.ts.map +0 -1
  351. package/dist/shared/plugins/context.d.ts +0 -65
  352. package/dist/shared/plugins/context.d.ts.map +0 -1
  353. package/dist/shared/plugins/disposable.d.ts +0 -17
  354. package/dist/shared/plugins/disposable.d.ts.map +0 -1
  355. package/dist/shared/plugins/event-bus.d.ts +0 -112
  356. package/dist/shared/plugins/event-bus.d.ts.map +0 -1
  357. package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts +0 -75
  358. package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts.map +0 -1
  359. package/dist/shared/plugins/iframe-mount/PluginMount.d.ts +0 -59
  360. package/dist/shared/plugins/iframe-mount/PluginMount.d.ts.map +0 -1
  361. package/dist/shared/plugins/iframe-mount/client/index.d.ts +0 -3
  362. package/dist/shared/plugins/iframe-mount/client/index.d.ts.map +0 -1
  363. package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts +0 -71
  364. package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts.map +0 -1
  365. package/dist/shared/plugins/iframe-mount/client/rpc.d.ts +0 -25
  366. package/dist/shared/plugins/iframe-mount/client/rpc.d.ts.map +0 -1
  367. package/dist/shared/plugins/iframe-mount/index.d.ts +0 -6
  368. package/dist/shared/plugins/iframe-mount/index.d.ts.map +0 -1
  369. package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts +0 -83
  370. package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts.map +0 -1
  371. package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts +0 -136
  372. package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts.map +0 -1
  373. package/dist/shared/plugins/iframe-mount/protocol/index.d.ts +0 -3
  374. package/dist/shared/plugins/iframe-mount/protocol/index.d.ts.map +0 -1
  375. package/dist/shared/plugins/iframe-mount/sandbox.d.ts +0 -3
  376. package/dist/shared/plugins/iframe-mount/sandbox.d.ts.map +0 -1
  377. package/dist/shared/plugins/iframe-mount/types.d.ts +0 -64
  378. package/dist/shared/plugins/iframe-mount/types.d.ts.map +0 -1
  379. package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts +0 -31
  380. package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts.map +0 -1
  381. package/dist/shared/plugins/index.d.ts +0 -41
  382. package/dist/shared/plugins/index.d.ts.map +0 -1
  383. package/dist/shared/plugins/panels/usePanelManagerStore.d.ts +0 -68
  384. package/dist/shared/plugins/panels/usePanelManagerStore.d.ts.map +0 -1
  385. package/dist/shared/plugins/registries/createContributionRegistry.d.ts +0 -16
  386. package/dist/shared/plugins/registries/createContributionRegistry.d.ts.map +0 -1
  387. package/dist/shared/plugins/registries/index.d.ts +0 -15
  388. package/dist/shared/plugins/registries/index.d.ts.map +0 -1
  389. package/dist/shared/plugins/registries/useCommandRegistry.d.ts +0 -3
  390. package/dist/shared/plugins/registries/useCommandRegistry.d.ts.map +0 -1
  391. package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts +0 -3
  392. package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts.map +0 -1
  393. package/dist/shared/plugins/registries/usePanelRegistry.d.ts +0 -3
  394. package/dist/shared/plugins/registries/usePanelRegistry.d.ts.map +0 -1
  395. package/dist/shared/plugins/registries/useRouteRegistry.d.ts +0 -3
  396. package/dist/shared/plugins/registries/useRouteRegistry.d.ts.map +0 -1
  397. package/dist/shared/plugins/registries/useSettingsRegistry.d.ts +0 -3
  398. package/dist/shared/plugins/registries/useSettingsRegistry.d.ts.map +0 -1
  399. package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts +0 -3
  400. package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts.map +0 -1
  401. package/dist/shared/plugins/registries/useToolbarRegistry.d.ts +0 -3
  402. package/dist/shared/plugins/registries/useToolbarRegistry.d.ts.map +0 -1
  403. package/dist/shared/plugins/registries/useWidgetRegistry.d.ts +0 -3
  404. package/dist/shared/plugins/registries/useWidgetRegistry.d.ts.map +0 -1
  405. package/dist/shared/plugins/runtime.d.ts +0 -68
  406. package/dist/shared/plugins/runtime.d.ts.map +0 -1
  407. package/dist/shared/plugins/types.d.ts +0 -228
  408. package/dist/shared/plugins/types.d.ts.map +0 -1
  409. package/dist/shared/providers/AppShellProvider.d.ts +0 -96
  410. package/dist/shared/providers/AppShellProvider.d.ts.map +0 -1
  411. package/dist/shared/providers/MicrofrontendProvider.d.ts +0 -41
  412. package/dist/shared/providers/MicrofrontendProvider.d.ts.map +0 -1
  413. package/dist/shared/providers/index.d.ts +0 -12
  414. package/dist/shared/providers/index.d.ts.map +0 -1
  415. package/dist/shared/providers/shell/ActiveContextProvider.d.ts +0 -88
  416. package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +0 -1
  417. package/dist/shared/providers/shell/ActiveContextStorage.d.ts +0 -45
  418. package/dist/shared/providers/shell/ActiveContextStorage.d.ts.map +0 -1
  419. package/dist/shared/providers/shell/AppShellContext.d.ts +0 -19
  420. package/dist/shared/providers/shell/AppShellContext.d.ts.map +0 -1
  421. package/dist/shared/providers/shell/AuthBridgeClient.d.ts +0 -121
  422. package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +0 -1
  423. package/dist/shared/providers/shell/AuthProvider.d.ts +0 -58
  424. package/dist/shared/providers/shell/AuthProvider.d.ts.map +0 -1
  425. package/dist/shared/providers/shell/AuthTokenProvider.d.ts +0 -22
  426. package/dist/shared/providers/shell/AuthTokenProvider.d.ts.map +0 -1
  427. package/dist/shared/providers/shell/ContextManagerProvider.d.ts +0 -56
  428. package/dist/shared/providers/shell/ContextManagerProvider.d.ts.map +0 -1
  429. package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts +0 -20
  430. package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts.map +0 -1
  431. package/dist/shared/providers/shell/GatewayRouter.d.ts +0 -31
  432. package/dist/shared/providers/shell/GatewayRouter.d.ts.map +0 -1
  433. package/dist/shared/providers/shell/GlobalUiProvider.d.ts +0 -46
  434. package/dist/shared/providers/shell/GlobalUiProvider.d.ts.map +0 -1
  435. package/dist/shared/providers/shell/I18nProvider.d.ts +0 -65
  436. package/dist/shared/providers/shell/I18nProvider.d.ts.map +0 -1
  437. package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +0 -25
  438. package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +0 -1
  439. package/dist/shared/providers/shell/ObservabilityProvider.d.ts +0 -15
  440. package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +0 -1
  441. package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +0 -22
  442. package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +0 -1
  443. package/dist/shared/providers/shell/PermissionProvider.d.ts +0 -227
  444. package/dist/shared/providers/shell/PermissionProvider.d.ts.map +0 -1
  445. package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts +0 -8
  446. package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts.map +0 -1
  447. package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +0 -15
  448. package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +0 -1
  449. package/dist/shared/providers/shell/ProfileStorageManager.d.ts +0 -107
  450. package/dist/shared/providers/shell/ProfileStorageManager.d.ts.map +0 -1
  451. package/dist/shared/providers/shell/ShellUiProvider.d.ts +0 -47
  452. package/dist/shared/providers/shell/ShellUiProvider.d.ts.map +0 -1
  453. package/dist/shared/providers/shell/ThemeProvider.d.ts +0 -29
  454. package/dist/shared/providers/shell/ThemeProvider.d.ts.map +0 -1
  455. package/dist/shared/providers/shell/index.d.ts +0 -45
  456. package/dist/shared/providers/shell/index.d.ts.map +0 -1
  457. package/dist/shared/shims/assert.d.ts +0 -19
  458. package/dist/shared/shims/assert.d.ts.map +0 -1
  459. package/dist/shared/shims/index.d.ts +0 -25
  460. package/dist/shared/shims/index.d.ts.map +0 -1
  461. package/dist/shared/shims/process.d.ts +0 -20
  462. package/dist/shared/shims/process.d.ts.map +0 -1
  463. package/dist/shared/shims/use-sync-external-store-shim.d.ts +0 -7
  464. package/dist/shared/shims/use-sync-external-store-shim.d.ts.map +0 -1
  465. package/dist/shared/shims/use-sync-external-store-with-selector.d.ts +0 -17
  466. package/dist/shared/shims/use-sync-external-store-with-selector.d.ts.map +0 -1
  467. package/dist/shared/shims/util.d.ts +0 -135
  468. package/dist/shared/shims/util.d.ts.map +0 -1
  469. package/dist/shared/tours/TourInitializer.d.ts +0 -6
  470. package/dist/shared/tours/TourInitializer.d.ts.map +0 -1
  471. package/dist/shared/tours/TourPlayer.d.ts +0 -49
  472. package/dist/shared/tours/TourPlayer.d.ts.map +0 -1
  473. package/dist/shared/tours/TourPlayerProvider.d.ts +0 -26
  474. package/dist/shared/tours/TourPlayerProvider.d.ts.map +0 -1
  475. package/dist/shared/tours/TourSpotlight.d.ts +0 -8
  476. package/dist/shared/tours/TourSpotlight.d.ts.map +0 -1
  477. package/dist/shared/tours/TourTooltip.d.ts +0 -7
  478. package/dist/shared/tours/TourTooltip.d.ts.map +0 -1
  479. package/dist/shared/tours/TourTrigger.d.ts +0 -15
  480. package/dist/shared/tours/TourTrigger.d.ts.map +0 -1
  481. package/dist/shared/tours/ToursContext.d.ts +0 -42
  482. package/dist/shared/tours/ToursContext.d.ts.map +0 -1
  483. package/dist/shared/tours/index.d.ts +0 -53
  484. package/dist/shared/tours/index.d.ts.map +0 -1
  485. package/dist/shared/tours/progress.d.ts +0 -7
  486. package/dist/shared/tours/progress.d.ts.map +0 -1
  487. package/dist/shared/tours/routeCatalog.d.ts +0 -42
  488. package/dist/shared/tours/routeCatalog.d.ts.map +0 -1
  489. package/dist/shared/tours/types.d.ts +0 -215
  490. package/dist/shared/tours/types.d.ts.map +0 -1
  491. package/dist/shared/tours/useTourPlayer.d.ts +0 -38
  492. package/dist/shared/tours/useTourPlayer.d.ts.map +0 -1
  493. package/dist/shared/types/index.d.ts +0 -185
  494. package/dist/shared/types/index.d.ts.map +0 -1
  495. package/dist/shared/utils/apollo.d.ts +0 -26
  496. package/dist/shared/utils/apollo.d.ts.map +0 -1
  497. package/dist/shared/utils/appHelpers.d.ts +0 -34
  498. package/dist/shared/utils/appHelpers.d.ts.map +0 -1
  499. package/dist/shared/utils/authCookie.d.ts +0 -35
  500. package/dist/shared/utils/authCookie.d.ts.map +0 -1
  501. package/dist/shared/utils/authErrorHandling.d.ts +0 -65
  502. package/dist/shared/utils/authErrorHandling.d.ts.map +0 -1
  503. package/dist/shared/utils/cn.d.ts +0 -6
  504. package/dist/shared/utils/cn.d.ts.map +0 -1
  505. package/dist/shared/utils/format.d.ts +0 -98
  506. package/dist/shared/utils/format.d.ts.map +0 -1
  507. package/dist/shared/utils/gatewayFetchRewrite.d.ts +0 -53
  508. package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +0 -1
  509. package/dist/shared/utils/index.d.ts +0 -26
  510. package/dist/shared/utils/index.d.ts.map +0 -1
  511. package/dist/shared/utils/lazyWithRetry.d.ts +0 -43
  512. package/dist/shared/utils/lazyWithRetry.d.ts.map +0 -1
  513. package/dist/shared/utils/loggerInit.d.ts +0 -15
  514. package/dist/shared/utils/loggerInit.d.ts.map +0 -1
  515. package/dist/shared/utils/mockData.d.ts +0 -40
  516. package/dist/shared/utils/mockData.d.ts.map +0 -1
  517. package/dist/shared/utils/profileScopedStorage.d.ts +0 -42
  518. package/dist/shared/utils/profileScopedStorage.d.ts.map +0 -1
  519. package/dist/shared/utils/quotaErrors.d.ts +0 -37
  520. package/dist/shared/utils/quotaErrors.d.ts.map +0 -1
  521. package/dist/shared/utils/tokens.d.ts +0 -166
  522. package/dist/shared/utils/tokens.d.ts.map +0 -1
  523. package/dist/shared-components.d.ts +0 -2
  524. package/dist/shared-config.d.ts +0 -2
  525. package/dist/shared-events.d.ts +0 -2
  526. package/dist/shared-feature-flags.d.ts +0 -2
  527. package/dist/shared-geography.d.ts +0 -2
  528. package/dist/shared-graphql.d.ts +0 -2
  529. package/dist/shared-hooks-shell.d.ts +0 -2
  530. package/dist/shared-hooks.d.ts +0 -2
  531. package/dist/shared-keyboard.d.ts +0 -2
  532. package/dist/shared-logger.d.ts +0 -2
  533. package/dist/shared-motion.d.ts +0 -2
  534. package/dist/shared-native.d.ts +0 -2
  535. package/dist/shared-pages.d.ts +0 -2
  536. package/dist/shared-plugins.d.ts +0 -2
  537. package/dist/shared-providers-shell.d.ts +0 -2
  538. package/dist/shared-providers.d.ts +0 -2
  539. package/dist/shared-shims.d.ts +0 -2
  540. package/dist/shared-tours.d.ts +0 -2
  541. package/dist/shared-types.d.ts +0 -1
  542. package/dist/shared-utils.d.ts +0 -2
  543. package/dist/shared.d.ts +0 -2
  544. package/dist/storage/SaveToFilesButton.d.ts +0 -55
  545. package/dist/storage/SaveToFilesButton.d.ts.map +0 -1
  546. package/dist/storage/SaveToFilesDialog.d.ts +0 -13
  547. package/dist/storage/SaveToFilesDialog.d.ts.map +0 -1
  548. package/dist/storage/StorageFolderPicker.d.ts +0 -23
  549. package/dist/storage/StorageFolderPicker.d.ts.map +0 -1
  550. package/dist/storage/index.d.ts +0 -10
  551. package/dist/storage/index.d.ts.map +0 -1
  552. package/dist/storage/uploadBlob.d.ts +0 -21
  553. package/dist/storage/uploadBlob.d.ts.map +0 -1
  554. package/dist/storage/useSaveToFiles.d.ts +0 -17
  555. package/dist/storage/useSaveToFiles.d.ts.map +0 -1
  556. package/dist/tag/TagBadge.d.ts +0 -17
  557. package/dist/tag/TagBadge.d.ts.map +0 -1
  558. package/dist/tag/TagsWidget.d.ts +0 -103
  559. package/dist/tag/TagsWidget.d.ts.map +0 -1
  560. package/dist/tag/index.d.ts +0 -3
  561. package/dist/tag/index.d.ts.map +0 -1
  562. package/dist/tag.d.ts +0 -2
  563. package/dist/ui/accordion.d.ts +0 -8
  564. package/dist/ui/accordion.d.ts.map +0 -1
  565. package/dist/ui/alert-dialog.d.ts +0 -15
  566. package/dist/ui/alert-dialog.d.ts.map +0 -1
  567. package/dist/ui/badge.d.ts +0 -10
  568. package/dist/ui/badge.d.ts.map +0 -1
  569. package/dist/ui/button.d.ts +0 -12
  570. package/dist/ui/button.d.ts.map +0 -1
  571. package/dist/ui/card.d.ts +0 -9
  572. package/dist/ui/card.d.ts.map +0 -1
  573. package/dist/ui/checkbox.d.ts +0 -5
  574. package/dist/ui/checkbox.d.ts.map +0 -1
  575. package/dist/ui/command.d.ts +0 -19
  576. package/dist/ui/command.d.ts.map +0 -1
  577. package/dist/ui/dialog.d.ts +0 -16
  578. package/dist/ui/dialog.d.ts.map +0 -1
  579. package/dist/ui/dropdown-menu.d.ts +0 -28
  580. package/dist/ui/dropdown-menu.d.ts.map +0 -1
  581. package/dist/ui/index.d.ts +0 -25
  582. package/dist/ui/index.d.ts.map +0 -1
  583. package/dist/ui/input.d.ts +0 -5
  584. package/dist/ui/input.d.ts.map +0 -1
  585. package/dist/ui/label.d.ts +0 -5
  586. package/dist/ui/label.d.ts.map +0 -1
  587. package/dist/ui/popover.d.ts +0 -8
  588. package/dist/ui/popover.d.ts.map +0 -1
  589. package/dist/ui/scroll-area.d.ts +0 -6
  590. package/dist/ui/scroll-area.d.ts.map +0 -1
  591. package/dist/ui/select.d.ts +0 -13
  592. package/dist/ui/select.d.ts.map +0 -1
  593. package/dist/ui/separator.d.ts +0 -5
  594. package/dist/ui/separator.d.ts.map +0 -1
  595. package/dist/ui/sheet.d.ts +0 -14
  596. package/dist/ui/sheet.d.ts.map +0 -1
  597. package/dist/ui/skeleton.d.ts +0 -4
  598. package/dist/ui/skeleton.d.ts.map +0 -1
  599. package/dist/ui/sonner.d.ts +0 -4
  600. package/dist/ui/sonner.d.ts.map +0 -1
  601. package/dist/ui/spinner.d.ts +0 -6
  602. package/dist/ui/spinner.d.ts.map +0 -1
  603. package/dist/ui/switch.d.ts +0 -5
  604. package/dist/ui/switch.d.ts.map +0 -1
  605. package/dist/ui/table.d.ts +0 -11
  606. package/dist/ui/table.d.ts.map +0 -1
  607. package/dist/ui/tabs.d.ts +0 -8
  608. package/dist/ui/tabs.d.ts.map +0 -1
  609. package/dist/ui/textarea.d.ts +0 -5
  610. package/dist/ui/textarea.d.ts.map +0 -1
  611. package/dist/ui/tooltip.d.ts +0 -7
  612. package/dist/ui/tooltip.d.ts.map +0 -1
  613. package/dist/ui.d.ts +0 -2
  614. package/dist/utils/cn.d.ts +0 -15
  615. package/dist/utils/cn.d.ts.map +0 -1
  616. package/dist/utils/index.d.ts +0 -3
  617. package/dist/utils/index.d.ts.map +0 -1
@@ -1,98 +0,0 @@
1
- /**
2
- * Common formatting utilities for the microfrontend architecture
3
- *
4
- * These utilities provide consistent formatting across all microfrontends
5
- * for dates, currencies, numbers, and text.
6
- */
7
- /**
8
- * Format a number as currency
9
- * @param amount - The amount to format
10
- * @param currency - The currency code (default: 'USD')
11
- * @param locale - The locale for formatting (default: 'en-US')
12
- */
13
- export declare function formatCurrency(amount: number, currency?: string, locale?: string): string;
14
- /**
15
- * Format currency in compact notation (e.g., $1.5M, $500K)
16
- */
17
- export declare function formatCurrencyCompact(amount: number, currency?: string): string;
18
- type DateFormat = 'short' | 'medium' | 'long';
19
- /**
20
- * Format a date string or Date object
21
- * @param date - The date to format
22
- * @param format - The format style: 'short', 'medium', or 'long'
23
- * @param locale - The locale for formatting (default: 'en-US')
24
- */
25
- export declare function formatDate(date: string | Date, format?: DateFormat, locale?: string): string;
26
- /**
27
- * Format a date with time
28
- * @param date - The date to format
29
- * @param includeSeconds - Whether to include seconds
30
- * @param locale - The locale for formatting
31
- */
32
- export declare function formatDateTime(date: string | Date, includeSeconds?: boolean, locale?: string): string;
33
- /**
34
- * Format a date as relative time (e.g., "5 minutes ago")
35
- */
36
- export declare function formatRelativeTime(date: string | Date): string;
37
- /**
38
- * Format duration between two dates
39
- */
40
- export declare function formatDuration(startDate: string | Date, endDate: string | Date): string;
41
- /**
42
- * Format time only (e.g., "3:45 PM")
43
- */
44
- export declare function formatTime(date: string | Date, locale?: string): string;
45
- /**
46
- * Format a number with optional decimal places
47
- */
48
- export declare function formatNumber(value: number, decimals?: number, locale?: string): string;
49
- /**
50
- * Format a number as a percentage
51
- */
52
- export declare function formatPercentage(value: number, decimals?: number): string;
53
- /**
54
- * Format bytes to human readable format
55
- */
56
- export declare function formatBytes(bytes: number, decimals?: number): string;
57
- /**
58
- * Format a number in compact notation (e.g., 1.5K, 2.3M)
59
- */
60
- export declare function formatCompactNumber(value: number, locale?: string): string;
61
- /**
62
- * Format a number with ordinal suffix (e.g., 1st, 2nd, 3rd)
63
- */
64
- export declare function formatOrdinal(n: number): string;
65
- /**
66
- * Truncate text to a maximum length with ellipsis
67
- */
68
- export declare function truncateText(text: string, maxLength: number, ellipsis?: string): string;
69
- /**
70
- * Capitalize the first letter of a string
71
- */
72
- export declare function capitalizeFirst(text: string): string;
73
- /**
74
- * Capitalize the first letter of each word
75
- */
76
- export declare function capitalizeWords(text: string): string;
77
- /**
78
- * Convert a string to slug format
79
- */
80
- export declare function slugify(text: string): string;
81
- /**
82
- * Convert a string to camelCase
83
- */
84
- export declare function toCamelCase(text: string): string;
85
- /**
86
- * Convert a string to PascalCase
87
- */
88
- export declare function toPascalCase(text: string): string;
89
- /**
90
- * Pluralize a word based on count
91
- */
92
- export declare function pluralize(word: string, count: number, plural?: string): string;
93
- /**
94
- * Format a list of items with Oxford comma
95
- */
96
- export declare function formatList(items: string[], conjunction?: string): string;
97
- export {};
98
- //# sourceMappingURL=format.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/format.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAwBH;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,SAAQ,EAAE,MAAM,SAAU,GAAG,MAAM,CAOzF;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,SAAQ,GAAG,MAAM,CAQ9E;AAMD,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9C;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,MAAM,GAAE,UAAqB,EAC7B,MAAM,SAAU,GACf,MAAM,CAUR;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,cAAc,UAAQ,EACtB,MAAM,SAAU,GACf,MAAM,CAaR;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAmB9D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAevF;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,SAAU,GAAG,MAAM,CAGxE;AAMD;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,SAAI,EAAE,MAAM,SAAU,GAAG,MAAM,CAKlF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,SAAI,GAAG,MAAM,CAEpE;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,SAAI,GAAG,MAAM,CAM/D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,SAAU,GAAG,MAAM,CAK3E;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAI/C;AAMD;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,SAAQ,GAAG,MAAM,CAGtF;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGpD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMpD;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAO5C;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGjD;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAG9E;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,WAAW,SAAQ,GAAG,MAAM,CAKvE"}
@@ -1,53 +0,0 @@
1
- /**
2
- * Gateway fetch rewrite — patches global fetch to route GraphQL requests
3
- * to the correct gateway domain based on the current hostname.
4
- *
5
- * This is necessary because the app shell serves from one domain (e.g., app.burdenoff.com)
6
- * but GraphQL requests need to go to separate gateway domains
7
- * (e.g., graphql.burdenoff.com, graphqlworkspaces.burdenoff.com).
8
- *
9
- * @module @burdenoff/fe-libs/shared/utils/gatewayFetchRewrite
10
- *
11
- * @example
12
- * ```ts
13
- * // In main.tsx, before React renders:
14
- * import { installGatewayFetchRewrite, resolveGatewayBases } from "@burdenoff/fe-libs/shared/utils";
15
- *
16
- * const bases = resolveGatewayBases();
17
- * installGatewayFetchRewrite(bases);
18
- * ```
19
- */
20
- export interface GatewayBases {
21
- globalBase: string;
22
- workspaceBase: string;
23
- }
24
- export interface GatewayBaseMapping {
25
- /** Hostname (lowercase) */
26
- hostname: string;
27
- /** Gateway bases for this hostname */
28
- bases: GatewayBases;
29
- }
30
- /**
31
- * Resolve gateway base URLs from the current hostname.
32
- *
33
- * @param extraMappings - Additional hostname → gateway base mappings (e.g., for product-specific domains)
34
- * @param localDefaults - Override defaults for local development
35
- */
36
- export declare function resolveGatewayBases(extraMappings?: GatewayBaseMapping[], localDefaults?: GatewayBases): GatewayBases;
37
- /**
38
- * Install a global fetch interceptor that rewrites GraphQL request URLs
39
- * to the correct gateway domain based on the URL path.
40
- *
41
- * - `/global/graphql` → globalBase
42
- * - `/workspaces/graphql` → workspaceBase
43
- *
44
- * @param bases - Gateway base URLs to rewrite to
45
- */
46
- export declare function installGatewayFetchRewrite(bases: GatewayBases): void;
47
- /**
48
- * Suppress verbose console output in production/non-debug environments.
49
- *
50
- * @param envFlag - Environment variable name to check for verbose mode (default: "VITE_VERBOSE_CONSOLE")
51
- */
52
- export declare function suppressConsole(envFlag?: string): void;
53
- //# sourceMappingURL=gatewayFetchRewrite.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gatewayFetchRewrite.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/gatewayFetchRewrite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,KAAK,EAAE,YAAY,CAAC;CACrB;AAmID;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,CAAC,EAAE,kBAAkB,EAAE,EACpC,aAAa,CAAC,EAAE,YAAY,GAC3B,YAAY,CAad;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAqHpE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,SAAyB,GAAG,IAAI,CAQtE"}
@@ -1,26 +0,0 @@
1
- import { ClassValue } from 'clsx';
2
- /**
3
- * Utility function to merge Tailwind CSS classes
4
- * Combines clsx for conditional classes and tailwind-merge for deduplication
5
- */
6
- export declare function cn(...inputs: ClassValue[]): string;
7
- export { createApolloClient } from './apollo';
8
- export type { CreateApolloClientOptions } from './apollo';
9
- export { statusTokens, trendTokens, progressTokens, categoryTokens, alertTokens, getStatusTokens, getStatusBadgeTokens, getTrendTokens, getProgressTokens, getCategoryTokens, getAlertTokens, } from './tokens';
10
- export type { SemanticStatus } from './tokens';
11
- export { formatCurrency, formatCurrencyCompact, formatDate, formatDateTime, formatRelativeTime, formatDuration, formatTime, formatNumber, formatPercentage, formatBytes, formatCompactNumber, formatOrdinal, truncateText, capitalizeFirst, capitalizeWords, slugify, toCamelCase, toPascalCase, pluralize, formatList, } from './format';
12
- export { lazyWithRetry, isChunkLoadError } from './lazyWithRetry';
13
- export { resolveGatewayBases, installGatewayFetchRewrite, suppressConsole, } from './gatewayFetchRewrite';
14
- export type { GatewayBases, GatewayBaseMapping } from './gatewayFetchRewrite';
15
- export { clearAuthSessionStorage, hasAuthGraphQLErrors, isAuthGraphQLError, isAuthNetworkError, attemptTokenRefresh, redirectToLogin, } from './authErrorHandling';
16
- export type { GraphQLErrorLike, TokenRefreshConfig } from './authErrorHandling';
17
- export { AppInitializer, useShellNavigate, useRegistryHelpers } from './appHelpers';
18
- export type { AppInitializerProps } from './appHelpers';
19
- export { initializeLogger, setUserContext, clearUserContext } from './loggerInit';
20
- export type { InitLoggerOptions } from './loggerInit';
21
- export { setSSoCookie, getSSoCookie, clearSSoCookie, setShellSsoCookies, readShellSsoCookie, clearShellSsoCookies, isSharedSsoCookieDomain, isTrustedSsoOrigin, } from './authCookie';
22
- export type { ShellSsoCookieData } from './authCookie';
23
- export { createProfileScopedStorage, getProfileScopedKey } from './profileScopedStorage';
24
- export { QUOTA_EXHAUSTED_CODE, isQuotaExhaustedError, extractQuotaExhaustedExtensions, buildQuotaExhaustedMessage, } from './quotaErrors';
25
- export type { QuotaExhaustedExtensions } from './quotaErrors';
26
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,YAAY,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAG1D,OAAO,EACL,YAAY,EACZ,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,GACf,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,mBAAmB,EACnB,aAAa,EACb,YAAY,EACZ,eAAe,EACf,eAAe,EACf,OAAO,EACP,WAAW,EACX,YAAY,EACZ,SAAS,EACT,UAAU,GACX,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAG9E,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGhF,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACpF,YAAY,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAClF,YAAY,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGvD,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAGzF,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,+BAA+B,EAC/B,0BAA0B,GAC3B,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,43 +0,0 @@
1
- /**
2
- * Lazy import wrapper with automatic retry for failed dynamic imports.
3
- *
4
- * When Vite's dev server restarts or dependency optimizer re-optimizes,
5
- * cached module URLs become stale. This wrapper:
6
- * 1. Catches the failed import
7
- * 2. Retries with increasing delays (gives Vite time to rebuild/re-optimize)
8
- * 3. On final failure, surfaces the error to the nearest boundary so the user
9
- * can choose whether to reload.
10
- *
11
- * @module @burdenoff/fe-libs/shared/utils/lazyWithRetry
12
- *
13
- * @example
14
- * ```tsx
15
- * import { lazyWithRetry } from "@burdenoff/fe-libs/shared/utils";
16
- *
17
- * const MyComponent = lazyWithRetry(() =>
18
- * import("./MyComponent").then(m => ({ default: m.MyComponent }))
19
- * );
20
- * ```
21
- */
22
- /**
23
- * Check if an error is a chunk/module load failure.
24
- * Covers both production chunk errors and Vite dev server 504 errors.
25
- */
26
- export declare function isChunkLoadError(error: unknown): boolean;
27
- /**
28
- * Wrap React.lazy() with automatic retry for chunk load failures.
29
- *
30
- * Retry strategy:
31
- * - Attempt 1: immediate
32
- * - Attempt 2: after retryDelay (1.5s default)
33
- * - Attempt 3: after retryDelay * 2 (3s default)
34
- * - If all fail: throw so the error boundary can offer an explicit reload action
35
- *
36
- * @param factory - The dynamic import factory function
37
- * @param maxRetries - Maximum number of retries before page reload (default: 2)
38
- * @param retryDelay - Base delay in ms between retries (default: 1500)
39
- */
40
- export declare function lazyWithRetry<T extends React.ComponentType<any>>(factory: () => Promise<{
41
- default: T;
42
- }>, maxRetries?: number, retryDelay?: number): import('react').LazyExoticComponent<T>;
43
- //# sourceMappingURL=lazyWithRetry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lazyWithRetry.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/lazyWithRetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAIH;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAYxD;AAED;;;;;;;;;;;;GAYG;AAEH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAC9D,OAAO,EAAE,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,CAAC,EACtC,UAAU,SAAI,EACd,UAAU,SAAO,0CA8BlB"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Logger initialization utility for app shells.
3
- *
4
- * @module @burdenoff/fe-libs/shared/utils/loggerInit
5
- */
6
- export interface InitLoggerOptions {
7
- /** App name for global context (e.g., "workspaces", "fluidgrids") */
8
- appName: string;
9
- /** Environment variable name for debug flag (default: "VITE_LOG_LEVEL_DEBUG") */
10
- debugEnvVar?: string;
11
- }
12
- export declare function initializeLogger(options: InitLoggerOptions): void;
13
- export declare function setUserContext(userId: string, organizationId?: string, workspaceId?: string): void;
14
- export declare function clearUserContext(): void;
15
- //# sourceMappingURL=loggerInit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loggerInit.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/loggerInit.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,iBAAiB,QA4B1D;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,QAI3F;AAED,wBAAgB,gBAAgB,SAQ/B"}
@@ -1,40 +0,0 @@
1
- /**
2
- * Mock data for development and testing.
3
- *
4
- * Provides realistic mock entities (organizations, workspaces, projects, products, languages)
5
- * that can be used in dev harnesses and storybook.
6
- *
7
- * @module @burdenoff/fe-libs/shared/utils/mockData
8
- */
9
- export declare const mockProducts: {
10
- id: string;
11
- name: string;
12
- icon: string;
13
- color: string;
14
- url: string;
15
- }[];
16
- export declare const mockLanguages: {
17
- code: string;
18
- name: string;
19
- nativeName: string;
20
- flag: string;
21
- }[];
22
- export declare const mockOrganizations: {
23
- id: string;
24
- name: string;
25
- slug: string;
26
- tenantId: string;
27
- }[];
28
- export declare const mockWorkspaces: {
29
- id: string;
30
- name: string;
31
- organizationId: string;
32
- slug: string;
33
- }[];
34
- export declare const mockProjects: {
35
- id: string;
36
- name: string;
37
- workspaceId: string;
38
- slug: string;
39
- }[];
40
- //# sourceMappingURL=mockData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/mockData.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,YAAY;;;;;;GAoCxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;GAuDzB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;GAmB7B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;GA2B1B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;GAwDxB,CAAC"}
@@ -1,42 +0,0 @@
1
- /**
2
- * Profile-Scoped Storage — Zustand persist adapter + helpers
3
- *
4
- * Dynamically prefixes localStorage keys with the active profile ID
5
- * so that persisted UI state (tabs, filters, selections, etc.) is
6
- * isolated per user account.
7
- *
8
- * Key format: bf-p-{profileId}-{baseName}
9
- *
10
- * Includes one-time migration: on first read, if the scoped key is
11
- * missing but the legacy (un-prefixed) key exists, the value is
12
- * copied to the scoped key and the legacy key is removed.
13
- */
14
- /**
15
- * Returns the profile-scoped localStorage key for the given base key.
16
- * Falls back to the bare key if no profile is active.
17
- *
18
- * Use this for raw `localStorage.getItem` / `localStorage.setItem` calls
19
- * outside of zustand stores.
20
- */
21
- export declare function getProfileScopedKey(key: string): string;
22
- /**
23
- * Creates a zustand persist-compatible storage that scopes localStorage
24
- * keys by the active user profile.
25
- *
26
- * Usage:
27
- * ```ts
28
- * import { createProfileScopedStorage } from '@burdenoff/fe-libs/shared/utils';
29
- *
30
- * const useMyStore = create(
31
- * persist(
32
- * (set) => ({ ... }),
33
- * {
34
- * name: 'my-store-key',
35
- * storage: createProfileScopedStorage(),
36
- * }
37
- * )
38
- * );
39
- * ```
40
- */
41
- export declare function createProfileScopedStorage(): import('zustand/middleware').PersistStorage<unknown, unknown> | undefined;
42
- //# sourceMappingURL=profileScopedStorage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"profileScopedStorage.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/profileScopedStorage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAuCH;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAGvD;AA+CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,0BAA0B,8EAEzC"}
@@ -1,37 +0,0 @@
1
- /**
2
- * Quota error detection utilities.
3
- *
4
- * Backend services return HTTP 429 with GraphQL error code `QUOTA_EXHAUSTED`
5
- * (and extension fields like `field`, `quotaName`, `limitLeft`) when an
6
- * `@usage`-annotated mutation exceeds its quota. Apollo Client surfaces this
7
- * shape through one of three paths depending on whether the response was
8
- * parsed as a network error or as GraphQL errors.
9
- *
10
- * See: ~/products/dev/platform/context/usage/HOW_TO_INTEGRATE_USAGE_MICROFE.md
11
- */
12
- export declare const QUOTA_EXHAUSTED_CODE: "QUOTA_EXHAUSTED";
13
- export interface QuotaExhaustedExtensions {
14
- code: typeof QUOTA_EXHAUSTED_CODE;
15
- field?: string;
16
- quotaName?: string;
17
- limitLeft?: number;
18
- limit?: number;
19
- used?: number;
20
- }
21
- /**
22
- * Returns true if the given error is a `QUOTA_EXHAUSTED` response from any
23
- * gateway path Apollo may surface it through.
24
- */
25
- export declare function isQuotaExhaustedError(err: unknown): boolean;
26
- /**
27
- * Extracts the QUOTA_EXHAUSTED extensions object from any Apollo error shape,
28
- * or returns `null` if the error is not a quota-exhausted error.
29
- */
30
- export declare function extractQuotaExhaustedExtensions(err: unknown): QuotaExhaustedExtensions | null;
31
- /**
32
- * Build a user-facing toast message for a quota-exhausted error. Uses
33
- * `quotaName` (preferred) or `field` from the extensions when available, and
34
- * falls back to a generic message otherwise.
35
- */
36
- export declare function buildQuotaExhaustedMessage(ext: QuotaExhaustedExtensions | null): string;
37
- //# sourceMappingURL=quotaErrors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"quotaErrors.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/quotaErrors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,oBAAoB,EAAG,iBAA0B,CAAC;AAE/D,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,OAAO,oBAAoB,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAyBD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAE3D;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,OAAO,GAAG,wBAAwB,GAAG,IAAI,CAqB7F;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,wBAAwB,GAAG,IAAI,GAAG,MAAM,CAMvF"}
@@ -1,166 +0,0 @@
1
- /**
2
- * Semantic Design Tokens Utility
3
- *
4
- * Provides TypeScript mappings for semantic design tokens.
5
- * These map to CSS custom properties defined in fe-libs/tokens.
6
- *
7
- * Token Reference (from fe-libs/tokens):
8
- * - Status: --color-status-{success|warning|error|info}-{bg|bg-subtle|text|border}
9
- * - Action: --color-action-{primary|secondary|danger}-{bg|bgHover|text}
10
- * - Text: --color-text-{primary|secondary|muted}
11
- * - Background: --color-bg-{canvas|surface|elevated|sunken}
12
- *
13
- * The app shell (e.g., fluidgrids-app) defines the actual CSS variable values,
14
- * allowing each product to have its own theme while microfrontends remain consistent.
15
- */
16
- export type SemanticStatus = 'success' | 'warning' | 'error' | 'info' | 'neutral' | 'primary';
17
- interface StatusTokenClasses {
18
- /** Background for subtle/badge usage */
19
- bg: string;
20
- /** Text color */
21
- text: string;
22
- /** Border color */
23
- border: string;
24
- /** Dot/indicator color (solid) */
25
- dot: string;
26
- /** Icon color */
27
- icon: string;
28
- }
29
- /**
30
- * Semantic status color classes using design tokens
31
- * These map to CSS custom properties defined in the app shell
32
- */
33
- export declare const statusTokens: Record<SemanticStatus, StatusTokenClasses>;
34
- /**
35
- * Get status token classes for a given status
36
- */
37
- export declare function getStatusTokens(status: SemanticStatus): StatusTokenClasses;
38
- /**
39
- * Get combined badge classes for a status
40
- */
41
- export declare function getStatusBadgeTokens(status: SemanticStatus): string;
42
- export declare const trendTokens: {
43
- readonly positive: {
44
- readonly text: "text-status-success-text";
45
- readonly icon: "text-status-success-bg";
46
- };
47
- readonly negative: {
48
- readonly text: "text-status-error-text";
49
- readonly icon: "text-status-error-bg";
50
- };
51
- readonly neutral: {
52
- readonly text: "text-status-neutral-text";
53
- readonly icon: "text-status-neutral-text";
54
- };
55
- };
56
- /**
57
- * Get trend indicator classes
58
- */
59
- export declare function getTrendTokens(isPositive: boolean | null): {
60
- readonly text: "text-status-success-text";
61
- readonly icon: "text-status-success-bg";
62
- } | {
63
- readonly text: "text-status-error-text";
64
- readonly icon: "text-status-error-bg";
65
- } | {
66
- readonly text: "text-status-neutral-text";
67
- readonly icon: "text-status-neutral-text";
68
- };
69
- export declare const progressTokens: {
70
- healthy: {
71
- bar: string;
72
- track: string;
73
- };
74
- warning: {
75
- bar: string;
76
- track: string;
77
- };
78
- critical: {
79
- bar: string;
80
- track: string;
81
- };
82
- };
83
- /**
84
- * Get progress bar colors based on percentage
85
- */
86
- export declare function getProgressTokens(percentage: number): {
87
- bar: string;
88
- track: string;
89
- };
90
- export declare const categoryTokens: {
91
- plan: {
92
- bg: string;
93
- text: string;
94
- border: string;
95
- };
96
- addon: {
97
- bg: string;
98
- text: string;
99
- border: string;
100
- };
101
- credits: {
102
- bg: string;
103
- text: string;
104
- border: string;
105
- };
106
- };
107
- /**
108
- * Get category badge classes
109
- */
110
- export declare function getCategoryTokens(category: 'plan' | 'addon' | 'credits'): {
111
- bg: string;
112
- text: string;
113
- border: string;
114
- } | {
115
- bg: string;
116
- text: string;
117
- border: string;
118
- } | {
119
- bg: string;
120
- text: string;
121
- border: string;
122
- };
123
- export declare const alertTokens: {
124
- success: {
125
- container: string;
126
- text: string;
127
- icon: string;
128
- };
129
- warning: {
130
- container: string;
131
- text: string;
132
- icon: string;
133
- };
134
- error: {
135
- container: string;
136
- text: string;
137
- icon: string;
138
- };
139
- info: {
140
- container: string;
141
- text: string;
142
- icon: string;
143
- };
144
- };
145
- /**
146
- * Get alert/banner classes
147
- */
148
- export declare function getAlertTokens(type: 'success' | 'warning' | 'error' | 'info'): {
149
- container: string;
150
- text: string;
151
- icon: string;
152
- } | {
153
- container: string;
154
- text: string;
155
- icon: string;
156
- } | {
157
- container: string;
158
- text: string;
159
- icon: string;
160
- } | {
161
- container: string;
162
- text: string;
163
- icon: string;
164
- };
165
- export {};
166
- //# sourceMappingURL=tokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9F,UAAU,kBAAkB;IAC1B,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,cAAc,EAAE,kBAAkB,CA2CnE,CAAC;AAEF;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,cAAc,GAAG,kBAAkB,CAE1E;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAGnE;AAMD,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAad,CAAC;AAEX;;GAEG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;;;;;;;;;EAGxD;AAMD,eAAO,MAAM,cAAc;;;;;;;;;;;;;CAa1B,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM;;;EAInD;AAMD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;CAgB1B,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS;;;;;;;;;;;;EAEvE;AAMD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAqBvB,CAAC;AAEF;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM;;;;;;;;;;;;;;;;EAE5E"}
@@ -1,2 +0,0 @@
1
- export * from './shared/components/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/config/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/events/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/feature-flags/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/geography/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/graphql/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/hooks/shell/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/hooks/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/keyboard/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/logger/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/motion/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/native/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/pages/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/plugins/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/providers/shell/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/providers/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/shims/index'
2
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/tours/index'
2
- export {}
@@ -1 +0,0 @@
1
- export {}
@@ -1,2 +0,0 @@
1
- export * from './shared/utils/index'
2
- export {}
package/dist/shared.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './shared/index'
2
- export {}