@burdenoff/fe-libs 2026.510.126
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.
- package/README.md +65 -0
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/button/Button.d.ts +12 -0
- package/dist/button/Button.d.ts.map +1 -0
- package/dist/button/Button.js +39 -0
- package/dist/button/index.d.ts +3 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/button.d.ts +2 -0
- package/dist/button.js +2 -0
- package/dist/chrome/AccountSwitcher.d.ts +51 -0
- package/dist/chrome/AccountSwitcher.d.ts.map +1 -0
- package/dist/chrome/AccountSwitcher.js +221 -0
- package/dist/chrome/AppShellLayout.d.ts +67 -0
- package/dist/chrome/AppShellLayout.d.ts.map +1 -0
- package/dist/chrome/AppShellLayout.js +32 -0
- package/dist/chrome/AutoBreadcrumbs.d.ts +22 -0
- package/dist/chrome/AutoBreadcrumbs.d.ts.map +1 -0
- package/dist/chrome/AutoBreadcrumbs.js +84 -0
- package/dist/chrome/Breadcrumb.d.ts +47 -0
- package/dist/chrome/Breadcrumb.d.ts.map +1 -0
- package/dist/chrome/Breadcrumbs.d.ts +69 -0
- package/dist/chrome/Breadcrumbs.d.ts.map +1 -0
- package/dist/chrome/Breadcrumbs.js +78 -0
- package/dist/chrome/CommandPalette.d.ts +64 -0
- package/dist/chrome/CommandPalette.d.ts.map +1 -0
- package/dist/chrome/CommandPalette.js +189 -0
- package/dist/chrome/ContextSwitcher.d.ts +48 -0
- package/dist/chrome/ContextSwitcher.d.ts.map +1 -0
- package/dist/chrome/ContextSwitcher.js +393 -0
- package/dist/chrome/DynamicFooter.d.ts +21 -0
- package/dist/chrome/DynamicFooter.d.ts.map +1 -0
- package/dist/chrome/DynamicFooter.js +142 -0
- package/dist/chrome/Footer.d.ts +128 -0
- package/dist/chrome/Footer.d.ts.map +1 -0
- package/dist/chrome/Footer.js +211 -0
- package/dist/chrome/FooterBar.d.ts +79 -0
- package/dist/chrome/FooterBar.d.ts.map +1 -0
- package/dist/chrome/FooterBar.js +84 -0
- package/dist/chrome/GeographySwitcher.d.ts +22 -0
- package/dist/chrome/GeographySwitcher.d.ts.map +1 -0
- package/dist/chrome/GeographySwitcher.js +162 -0
- package/dist/chrome/GlobalSearch.d.ts +49 -0
- package/dist/chrome/GlobalSearch.d.ts.map +1 -0
- package/dist/chrome/GlobalSearch.js +489 -0
- package/dist/chrome/HeaderBar.d.ts +108 -0
- package/dist/chrome/HeaderBar.d.ts.map +1 -0
- package/dist/chrome/HeaderBar.js +141 -0
- package/dist/chrome/LanguagePickerSheet.d.ts +22 -0
- package/dist/chrome/LanguagePickerSheet.d.ts.map +1 -0
- package/dist/chrome/LanguagePickerSheet.js +57 -0
- package/dist/chrome/LanguageSwitcher.d.ts +23 -0
- package/dist/chrome/LanguageSwitcher.d.ts.map +1 -0
- package/dist/chrome/LanguageSwitcher.js +94 -0
- package/dist/chrome/NavLink.d.ts +64 -0
- package/dist/chrome/NavLink.d.ts.map +1 -0
- package/dist/chrome/NavLink.js +46 -0
- package/dist/chrome/NotificationCenter.d.ts +16 -0
- package/dist/chrome/NotificationCenter.d.ts.map +1 -0
- package/dist/chrome/NotificationCenter.js +697 -0
- package/dist/chrome/PanelContainer.d.ts +8 -0
- package/dist/chrome/PanelContainer.d.ts.map +1 -0
- package/dist/chrome/PanelContainer.js +83 -0
- package/dist/chrome/PanelTabs.d.ts +19 -0
- package/dist/chrome/PanelTabs.d.ts.map +1 -0
- package/dist/chrome/PanelTabs.js +41 -0
- package/dist/chrome/PluginContextMenuTarget.d.ts +8 -0
- package/dist/chrome/PluginContextMenuTarget.d.ts.map +1 -0
- package/dist/chrome/PluginContextMenuTarget.js +71 -0
- package/dist/chrome/PluginFooterStrip.d.ts +3 -0
- package/dist/chrome/PluginFooterStrip.d.ts.map +1 -0
- package/dist/chrome/PluginFooterStrip.js +55 -0
- package/dist/chrome/PluginRoutes.d.ts +9 -0
- package/dist/chrome/PluginRoutes.d.ts.map +1 -0
- package/dist/chrome/PluginRoutes.js +19 -0
- package/dist/chrome/PluginSettingsPage.d.ts +3 -0
- package/dist/chrome/PluginSettingsPage.d.ts.map +1 -0
- package/dist/chrome/PluginSettingsPage.js +57 -0
- package/dist/chrome/PluginToolbar.d.ts +9 -0
- package/dist/chrome/PluginToolbar.d.ts.map +1 -0
- package/dist/chrome/PluginToolbar.js +40 -0
- package/dist/chrome/PluginWidgetGrid.d.ts +7 -0
- package/dist/chrome/PluginWidgetGrid.d.ts.map +1 -0
- package/dist/chrome/PluginWidgetGrid.js +37 -0
- package/dist/chrome/ProductPickerSheet.d.ts +24 -0
- package/dist/chrome/ProductPickerSheet.d.ts.map +1 -0
- package/dist/chrome/ProductPickerSheet.js +75 -0
- package/dist/chrome/ProductSideNav.d.ts +22 -0
- package/dist/chrome/ProductSideNav.d.ts.map +1 -0
- package/dist/chrome/ProductSideNav.js +51 -0
- package/dist/chrome/ProductSwitcher.d.ts +29 -0
- package/dist/chrome/ProductSwitcher.d.ts.map +1 -0
- package/dist/chrome/ProductSwitcher.js +86 -0
- package/dist/chrome/ProfileSwitcher.d.ts +49 -0
- package/dist/chrome/ProfileSwitcher.d.ts.map +1 -0
- package/dist/chrome/ProfileSwitcher.js +226 -0
- package/dist/chrome/ShortcutHelpDialog.d.ts +33 -0
- package/dist/chrome/ShortcutHelpDialog.d.ts.map +1 -0
- package/dist/chrome/ShortcutHelpDialog.js +122 -0
- package/dist/chrome/SideNavigation.d.ts +85 -0
- package/dist/chrome/SideNavigation.d.ts.map +1 -0
- package/dist/chrome/SideNavigation.js +320 -0
- package/dist/chrome/Sidebar.d.ts +108 -0
- package/dist/chrome/Sidebar.d.ts.map +1 -0
- package/dist/chrome/Sidebar.js +104 -0
- package/dist/chrome/StatusBar.d.ts +3 -0
- package/dist/chrome/StatusBar.d.ts.map +1 -0
- package/dist/chrome/StatusBar.js +55 -0
- package/dist/chrome/Tabs.d.ts +74 -0
- package/dist/chrome/Tabs.d.ts.map +1 -0
- package/dist/chrome/Tabs.js +55 -0
- package/dist/chrome/index.d.ts +108 -0
- package/dist/chrome/index.d.ts.map +1 -0
- package/dist/chrome.d.ts +2 -0
- package/dist/chrome.js +34 -0
- package/dist/config/eslint.config.d.ts +12 -0
- package/dist/config/eslint.config.d.ts.map +1 -0
- package/dist/config/index.d.ts +19 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/prettier.config.d.ts +7 -0
- package/dist/config/prettier.config.d.ts.map +1 -0
- package/dist/form/Checkbox.d.ts +60 -0
- package/dist/form/Checkbox.d.ts.map +1 -0
- package/dist/form/Checkbox.js +18 -0
- package/dist/form/Form.d.ts +114 -0
- package/dist/form/Form.d.ts.map +1 -0
- package/dist/form/Form.js +32 -0
- package/dist/form/FormDescription.d.ts +33 -0
- package/dist/form/FormDescription.d.ts.map +1 -0
- package/dist/form/FormDescription.js +17 -0
- package/dist/form/FormField.d.ts +96 -0
- package/dist/form/FormField.d.ts.map +1 -0
- package/dist/form/FormField.js +50 -0
- package/dist/form/FormLabel.d.ts +41 -0
- package/dist/form/FormLabel.d.ts.map +1 -0
- package/dist/form/FormLabel.js +24 -0
- package/dist/form/FormMessage.d.ts +35 -0
- package/dist/form/FormMessage.d.ts.map +1 -0
- package/dist/form/FormMessage.js +20 -0
- package/dist/form/Input.d.ts +43 -0
- package/dist/form/Input.d.ts.map +1 -0
- package/dist/form/Input.js +13 -0
- package/dist/form/Radio.d.ts +99 -0
- package/dist/form/Radio.d.ts.map +1 -0
- package/dist/form/Radio.js +24 -0
- package/dist/form/Select.d.ts +101 -0
- package/dist/form/Select.d.ts.map +1 -0
- package/dist/form/Select.js +69 -0
- package/dist/form/Textarea.d.ts +50 -0
- package/dist/form/Textarea.d.ts.map +1 -0
- package/dist/form/Textarea.js +12 -0
- package/dist/form/index.d.ts +24 -0
- package/dist/form/index.d.ts.map +1 -0
- package/dist/form.d.ts +2 -0
- package/dist/form.js +12 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +8 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +51 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +6 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +91 -0
- package/dist/node_modules/bail/index.js +6 -0
- package/dist/node_modules/comma-separated-tokens/index.js +7 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/node_modules/devlop/lib/default.js +5 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
- package/dist/node_modules/extend/index.js +40 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +253 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +36 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +90 -0
- package/dist/node_modules/is-plain-obj/index.js +8 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +557 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +103 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +22 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +30 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +56 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +17 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +18 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +59 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +20 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +24 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +35 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +11 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +20 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +108 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +24 -0
- package/dist/node_modules/micromark/lib/constructs.js +80 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +177 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +34 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +102 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +25 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +86 -0
- package/dist/node_modules/micromark/lib/parse.js +29 -0
- package/dist/node_modules/micromark/lib/postprocess.js +8 -0
- package/dist/node_modules/micromark/lib/preprocess.js +32 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +114 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +38 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +29 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +89 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +47 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +60 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +67 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +141 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +100 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +158 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +78 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
- package/dist/node_modules/micromark-factory-destination/index.js +26 -0
- package/dist/node_modules/micromark-factory-label/index.js +20 -0
- package/dist/node_modules/micromark-factory-space/index.js +14 -0
- package/dist/node_modules/micromark-factory-title/index.js +24 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +24 -0
- package/dist/node_modules/micromark-util-chunked/index.js +11 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +8 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +26 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +7 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +17 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +9 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +11 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +18 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +35 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +57 -0
- package/dist/node_modules/property-information/index.js +26 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +31 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/node_modules/property-information/lib/html.js +316 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +562 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +14 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +18 -0
- package/dist/node_modules/property-information/lib/util/info.js +9 -0
- package/dist/node_modules/property-information/lib/util/merge.js +9 -0
- package/dist/node_modules/property-information/lib/util/schema.js +9 -0
- package/dist/node_modules/property-information/lib/util/types.js +16 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +15 -0
- package/dist/node_modules/property-information/lib/xmlns.js +14 -0
- package/dist/node_modules/react-error-boundary/dist/react-error-boundary.js +58 -0
- package/dist/node_modules/react-markdown/lib/index.js +140 -0
- package/dist/node_modules/remark-parse/lib/index.js +16 -0
- package/dist/node_modules/remark-rehype/lib/index.js +18 -0
- package/dist/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/node_modules/style-to-js/cjs/index.js +19 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +18 -0
- package/dist/node_modules/style-to-object/cjs/index.js +23 -0
- package/dist/node_modules/trim-lines/index.js +21 -0
- package/dist/node_modules/trough/lib/index.js +50 -0
- package/dist/node_modules/unified/lib/callable-instance.js +9 -0
- package/dist/node_modules/unified/lib/index.js +161 -0
- package/dist/node_modules/unist-util-is/lib/index.js +47 -0
- package/dist/node_modules/unist-util-position/lib/index.js +22 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +12 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +36 -0
- package/dist/node_modules/vfile/lib/index.js +89 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +99 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +31 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +6 -0
- package/dist/node_modules/vfile-message/lib/index.js +24 -0
- package/dist/node_modules/web-vitals/dist/web-vitals.js +238 -0
- package/dist/shared/components/AccessDenied.d.ts +117 -0
- package/dist/shared/components/AccessDenied.d.ts.map +1 -0
- package/dist/shared/components/AccessDenied.js +129 -0
- package/dist/shared/components/AppErrorBoundary.d.ts +19 -0
- package/dist/shared/components/AppErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/AppErrorBoundary.js +221 -0
- package/dist/shared/components/ConditionalShell.d.ts +17 -0
- package/dist/shared/components/ConditionalShell.d.ts.map +1 -0
- package/dist/shared/components/ConditionalShell.js +16 -0
- package/dist/shared/components/ContextConversationWidget.d.ts +6 -0
- package/dist/shared/components/ContextConversationWidget.d.ts.map +1 -0
- package/dist/shared/components/ContextConversationWidget.js +821 -0
- package/dist/shared/components/ErrorBoundary.d.ts +19 -0
- package/dist/shared/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/ErrorBoundary.js +90 -0
- package/dist/shared/components/ErrorFallback.d.ts +3 -0
- package/dist/shared/components/ErrorFallback.d.ts.map +1 -0
- package/dist/shared/components/ErrorFallback.js +46 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +7 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +1 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.js +14 -0
- package/dist/shared/components/LegalPage.d.ts +19 -0
- package/dist/shared/components/LegalPage.d.ts.map +1 -0
- package/dist/shared/components/LoadingFallback.d.ts +31 -0
- package/dist/shared/components/LoadingFallback.d.ts.map +1 -0
- package/dist/shared/components/LoadingFallback.js +46 -0
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts +20 -0
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/MicrofrontendErrorBoundary.js +19 -0
- package/dist/shared/components/PWAInstallBanner.d.ts +14 -0
- package/dist/shared/components/PWAInstallBanner.d.ts.map +1 -0
- package/dist/shared/components/PWAInstallBanner.js +113 -0
- package/dist/shared/components/PermissionGate.d.ts +202 -0
- package/dist/shared/components/PermissionGate.d.ts.map +1 -0
- package/dist/shared/components/PermissionGate.js +41 -0
- package/dist/shared/components/ProductAccessGuard.d.ts +8 -0
- package/dist/shared/components/ProductAccessGuard.d.ts.map +1 -0
- package/dist/shared/components/QuotaMeter.d.ts +30 -0
- package/dist/shared/components/QuotaMeter.d.ts.map +1 -0
- package/dist/shared/components/QuotaMeter.js +47 -0
- package/dist/shared/components/RequireAuth.d.ts +76 -0
- package/dist/shared/components/RequireAuth.d.ts.map +1 -0
- package/dist/shared/components/RequireAuth.js +90 -0
- package/dist/shared/components/SSORedirectGuard.d.ts +56 -0
- package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -0
- package/dist/shared/components/SSORedirectGuard.js +134 -0
- package/dist/shared/components/SearchPage.d.ts +24 -0
- package/dist/shared/components/SearchPage.d.ts.map +1 -0
- package/dist/shared/components/index.d.ts +25 -0
- package/dist/shared/components/index.d.ts.map +1 -0
- package/dist/shared/config/authBridgeUrls.d.ts +27 -0
- package/dist/shared/config/authBridgeUrls.d.ts.map +1 -0
- package/dist/shared/config/authBridgeUrls.js +21 -0
- package/dist/shared/config/eslint.config.d.ts +12 -0
- package/dist/shared/config/eslint.config.d.ts.map +1 -0
- package/dist/shared/config/gatewayUrls.d.ts +34 -0
- package/dist/shared/config/gatewayUrls.d.ts.map +1 -0
- package/dist/shared/config/gatewayUrls.js +23 -0
- package/dist/shared/config/index.d.ts +71 -0
- package/dist/shared/config/index.d.ts.map +1 -0
- package/dist/shared/config/prettier.config.d.ts +7 -0
- package/dist/shared/config/prettier.config.d.ts.map +1 -0
- package/dist/shared/config/products.d.ts +42 -0
- package/dist/shared/config/products.d.ts.map +1 -0
- package/dist/shared/config/products.js +67 -0
- package/dist/shared/config/shellRoutes.d.ts +52 -0
- package/dist/shared/config/shellRoutes.d.ts.map +1 -0
- package/dist/shared/config/shellRoutes.js +179 -0
- package/dist/shared/events/index.d.ts +407 -0
- package/dist/shared/events/index.d.ts.map +1 -0
- package/dist/shared/events/metadata.d.ts +7 -0
- package/dist/shared/events/metadata.d.ts.map +1 -0
- package/dist/shared/events/metadata.js +22 -0
- package/dist/shared/events/sinks/BackendAuditSink.d.ts +18 -0
- package/dist/shared/events/sinks/BackendAuditSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/BackendAuditSink.js +50 -0
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts +10 -0
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/BroadcastChannelSink.js +20 -0
- package/dist/shared/events/sinks/DevtoolsSink.d.ts +10 -0
- package/dist/shared/events/sinks/DevtoolsSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/DevtoolsSink.js +18 -0
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts +14 -0
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/OtelBrowserSink.js +92 -0
- package/dist/shared/events/sinks/RybbitSink.d.ts +18 -0
- package/dist/shared/events/sinks/RybbitSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/RybbitSink.js +85 -0
- package/dist/shared/events/sinks/index.d.ts +6 -0
- package/dist/shared/events/sinks/index.d.ts.map +1 -0
- package/dist/shared/events/sinks/index.js +5 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts +47 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts.map +1 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.js +110 -0
- package/dist/shared/feature-flags/FeatureGate.d.ts +27 -0
- package/dist/shared/feature-flags/FeatureGate.d.ts.map +1 -0
- package/dist/shared/feature-flags/FeatureGate.js +10 -0
- package/dist/shared/feature-flags/index.d.ts +38 -0
- package/dist/shared/feature-flags/index.d.ts.map +1 -0
- package/dist/shared/feature-flags/types.d.ts +121 -0
- package/dist/shared/feature-flags/types.d.ts.map +1 -0
- package/dist/shared/feature-flags/useFeatureFlag.d.ts +41 -0
- package/dist/shared/feature-flags/useFeatureFlag.d.ts.map +1 -0
- package/dist/shared/feature-flags/useFeatureFlag.js +27 -0
- package/dist/shared/geography/GeographyProvider.d.ts +40 -0
- package/dist/shared/geography/GeographyProvider.d.ts.map +1 -0
- package/dist/shared/geography/GeographyProvider.js +171 -0
- package/dist/shared/geography/countries.d.ts +53 -0
- package/dist/shared/geography/countries.d.ts.map +1 -0
- package/dist/shared/geography/countries.js +2650 -0
- package/dist/shared/geography/index.d.ts +5 -0
- package/dist/shared/geography/index.d.ts.map +1 -0
- package/dist/shared/graphql/GatewayContext.d.ts +55 -0
- package/dist/shared/graphql/GatewayContext.d.ts.map +1 -0
- package/dist/shared/graphql/GatewayContext.js +28 -0
- package/dist/shared/graphql/client.d.ts +122 -0
- package/dist/shared/graphql/client.d.ts.map +1 -0
- package/dist/shared/graphql/client.js +308 -0
- package/dist/shared/graphql/fetch.d.ts +133 -0
- package/dist/shared/graphql/fetch.d.ts.map +1 -0
- package/dist/shared/graphql/fetch.js +323 -0
- package/dist/shared/graphql/index.d.ts +9 -0
- package/dist/shared/graphql/index.d.ts.map +1 -0
- package/dist/shared/graphql/links/sse-link.d.ts +48 -0
- package/dist/shared/graphql/links/sse-link.d.ts.map +1 -0
- package/dist/shared/graphql/links/sse-link.js +88 -0
- package/dist/shared/graphql/security.d.ts +13 -0
- package/dist/shared/graphql/security.d.ts.map +1 -0
- package/dist/shared/graphql/security.js +84 -0
- package/dist/shared/graphql/workspaceToken.d.ts +13 -0
- package/dist/shared/graphql/workspaceToken.d.ts.map +1 -0
- package/dist/shared/graphql/workspaceToken.js +33 -0
- package/dist/shared/help/HelpButton.d.ts +25 -0
- package/dist/shared/help/HelpButton.d.ts.map +1 -0
- package/dist/shared/help/HelpPanel.d.ts +10 -0
- package/dist/shared/help/HelpPanel.d.ts.map +1 -0
- package/dist/shared/help/HelpProvider.d.ts +40 -0
- package/dist/shared/help/HelpProvider.d.ts.map +1 -0
- package/dist/shared/help/index.d.ts +53 -0
- package/dist/shared/help/index.d.ts.map +1 -0
- package/dist/shared/help/types.d.ts +159 -0
- package/dist/shared/help/types.d.ts.map +1 -0
- package/dist/shared/hooks/index.d.ts +30 -0
- package/dist/shared/hooks/index.d.ts.map +1 -0
- package/dist/shared/hooks/shell/index.d.ts +22 -0
- package/dist/shared/hooks/shell/index.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts +50 -0
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts +23 -0
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useFooterRegistry.js +16 -0
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts +103 -0
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useGlobalSearch.js +232 -0
- package/dist/shared/hooks/shell/useLanguages.d.ts +36 -0
- package/dist/shared/hooks/shell/useLanguages.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useLanguages.js +165 -0
- package/dist/shared/hooks/shell/useNavRegistry.d.ts +25 -0
- package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useNavRegistry.js +10 -0
- package/dist/shared/hooks/shell/useProductAccess.d.ts +37 -0
- package/dist/shared/hooks/shell/useProductAccess.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useProducts.d.ts +30 -0
- package/dist/shared/hooks/shell/useProducts.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useProducts.js +97 -0
- package/dist/shared/hooks/useAsync.d.ts +151 -0
- package/dist/shared/hooks/useAsync.d.ts.map +1 -0
- package/dist/shared/hooks/useAsync.js +39 -0
- package/dist/shared/hooks/useBreakpoint.d.ts +83 -0
- package/dist/shared/hooks/useBreakpoint.d.ts.map +1 -0
- package/dist/shared/hooks/useBreakpoint.js +32 -0
- package/dist/shared/hooks/useCopyToClipboard.d.ts +72 -0
- package/dist/shared/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/shared/hooks/useCopyToClipboard.js +26 -0
- package/dist/shared/hooks/useDebounce.d.ts +26 -0
- package/dist/shared/hooks/useDebounce.d.ts.map +1 -0
- package/dist/shared/hooks/useDebounce.js +15 -0
- package/dist/shared/hooks/useHasAnimated.d.ts +10 -0
- package/dist/shared/hooks/useHasAnimated.d.ts.map +1 -0
- package/dist/shared/hooks/useHasAnimated.js +16 -0
- package/dist/shared/hooks/useKeyPress.d.ts +116 -0
- package/dist/shared/hooks/useKeyPress.d.ts.map +1 -0
- package/dist/shared/hooks/useKeyPress.js +31 -0
- package/dist/shared/hooks/useLocalStorage.d.ts +41 -0
- package/dist/shared/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/shared/hooks/useLocalStorage.js +33 -0
- package/dist/shared/hooks/useMediaQuery.d.ts +35 -0
- package/dist/shared/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/shared/hooks/useMediaQuery.js +14 -0
- package/dist/shared/hooks/useOnClickOutside.d.ts +76 -0
- package/dist/shared/hooks/useOnClickOutside.d.ts.map +1 -0
- package/dist/shared/hooks/useOnClickOutside.js +25 -0
- package/dist/shared/hooks/usePWA.d.ts +57 -0
- package/dist/shared/hooks/usePWA.d.ts.map +1 -0
- package/dist/shared/hooks/usePWA.js +68 -0
- package/dist/shared/hooks/usePrevious.d.ts +157 -0
- package/dist/shared/hooks/usePrevious.d.ts.map +1 -0
- package/dist/shared/hooks/usePrevious.js +22 -0
- package/dist/shared/hooks/useQuotaErrorToast.d.ts +50 -0
- package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +1 -0
- package/dist/shared/hooks/useQuotaErrorToast.js +32 -0
- package/dist/shared/hooks/useReferralAttribution.d.ts +2 -0
- package/dist/shared/hooks/useReferralAttribution.d.ts.map +1 -0
- package/dist/shared/hooks/useReferralAttribution.js +113 -0
- package/dist/shared/hooks/useSessionStorage.d.ts +44 -0
- package/dist/shared/hooks/useSessionStorage.d.ts.map +1 -0
- package/dist/shared/hooks/useSessionStorage.js +33 -0
- package/dist/shared/hooks/useThrottle.d.ts +37 -0
- package/dist/shared/hooks/useThrottle.d.ts.map +1 -0
- package/dist/shared/hooks/useThrottle.js +11 -0
- package/dist/shared/hooks/useToggle.d.ts +152 -0
- package/dist/shared/hooks/useToggle.d.ts.map +1 -0
- package/dist/shared/hooks/useToggle.js +38 -0
- package/dist/shared/index.d.ts +13 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/keyboard/globalShortcuts.d.ts +58 -0
- package/dist/shared/keyboard/globalShortcuts.d.ts.map +1 -0
- package/dist/shared/keyboard/globalShortcuts.js +79 -0
- package/dist/shared/keyboard/index.d.ts +40 -0
- package/dist/shared/keyboard/index.d.ts.map +1 -0
- package/dist/shared/keyboard/types.d.ts +85 -0
- package/dist/shared/keyboard/types.d.ts.map +1 -0
- package/dist/shared/keyboard/types.js +15 -0
- package/dist/shared/keyboard/useHotkeys.d.ts +21 -0
- package/dist/shared/keyboard/useHotkeys.d.ts.map +1 -0
- package/dist/shared/keyboard/useHotkeys.js +27 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +94 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.js +105 -0
- package/dist/shared/keyboard/useShortcutHelp.d.ts +27 -0
- package/dist/shared/keyboard/useShortcutHelp.d.ts.map +1 -0
- package/dist/shared/keyboard/useShortcutHelp.js +21 -0
- package/dist/shared/keyboard/utils.d.ts +72 -0
- package/dist/shared/keyboard/utils.d.ts.map +1 -0
- package/dist/shared/keyboard/utils.js +165 -0
- package/dist/shared/logger/ConsoleTransport.d.ts +22 -0
- package/dist/shared/logger/ConsoleTransport.d.ts.map +1 -0
- package/dist/shared/logger/ConsoleTransport.js +60 -0
- package/dist/shared/logger/LogManager.d.ts +75 -0
- package/dist/shared/logger/LogManager.d.ts.map +1 -0
- package/dist/shared/logger/LogManager.js +82 -0
- package/dist/shared/logger/Logger.d.ts +86 -0
- package/dist/shared/logger/Logger.d.ts.map +1 -0
- package/dist/shared/logger/Logger.js +100 -0
- package/dist/shared/logger/index.d.ts +42 -0
- package/dist/shared/logger/index.d.ts.map +1 -0
- package/dist/shared/logger/types.d.ts +70 -0
- package/dist/shared/logger/types.d.ts.map +1 -0
- package/dist/shared/logger/types.js +6 -0
- package/dist/shared/logger/useLogger.d.ts +29 -0
- package/dist/shared/logger/useLogger.d.ts.map +1 -0
- package/dist/shared/logger/useLogger.js +11 -0
- package/dist/shared/motion/AnimatedCounter.d.ts +16 -0
- package/dist/shared/motion/AnimatedCounter.d.ts.map +1 -0
- package/dist/shared/motion/AnimatedCounter.js +24 -0
- package/dist/shared/motion/MotionCard.d.ts +18 -0
- package/dist/shared/motion/MotionCard.d.ts.map +1 -0
- package/dist/shared/motion/MotionCard.js +38 -0
- package/dist/shared/motion/MotionCollapse.d.ts +14 -0
- package/dist/shared/motion/MotionCollapse.d.ts.map +1 -0
- package/dist/shared/motion/MotionCollapse.js +22 -0
- package/dist/shared/motion/MotionFade.d.ts +16 -0
- package/dist/shared/motion/MotionFade.d.ts.map +1 -0
- package/dist/shared/motion/MotionFade.js +22 -0
- package/dist/shared/motion/MotionItem.d.ts +25 -0
- package/dist/shared/motion/MotionItem.d.ts.map +1 -0
- package/dist/shared/motion/MotionItem.js +46 -0
- package/dist/shared/motion/MotionList.d.ts +28 -0
- package/dist/shared/motion/MotionList.d.ts.map +1 -0
- package/dist/shared/motion/MotionList.js +32 -0
- package/dist/shared/motion/MotionPage.d.ts +18 -0
- package/dist/shared/motion/MotionPage.d.ts.map +1 -0
- package/dist/shared/motion/MotionPage.js +36 -0
- package/dist/shared/motion/index.d.ts +9 -0
- package/dist/shared/motion/index.d.ts.map +1 -0
- package/dist/shared/motion/variants.d.ts +70 -0
- package/dist/shared/motion/variants.d.ts.map +1 -0
- package/dist/shared/motion/variants.js +267 -0
- package/dist/shared/native/bridge.d.ts +3 -0
- package/dist/shared/native/bridge.d.ts.map +1 -0
- package/dist/shared/native/bridge.js +6 -0
- package/dist/shared/native/consumers.d.ts +9 -0
- package/dist/shared/native/consumers.d.ts.map +1 -0
- package/dist/shared/native/consumers.js +49 -0
- package/dist/shared/native/hooks/index.d.ts +12 -0
- package/dist/shared/native/hooks/index.d.ts.map +1 -0
- package/dist/shared/native/hooks/index.js +7 -0
- package/dist/shared/native/hooks/useAppState.d.ts +3 -0
- package/dist/shared/native/hooks/useAppState.d.ts.map +1 -0
- package/dist/shared/native/hooks/useAppState.js +17 -0
- package/dist/shared/native/hooks/useDeviceInfo.d.ts +3 -0
- package/dist/shared/native/hooks/useDeviceInfo.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDeviceInfo.js +23 -0
- package/dist/shared/native/hooks/useHaptics.d.ts +8 -0
- package/dist/shared/native/hooks/useHaptics.d.ts.map +1 -0
- package/dist/shared/native/hooks/useHaptics.js +12 -0
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts +6 -0
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts.map +1 -0
- package/dist/shared/native/hooks/useNativeKeyboard.js +28 -0
- package/dist/shared/native/hooks/useNativePlatform.d.ts +10 -0
- package/dist/shared/native/hooks/useNativePlatform.d.ts.map +1 -0
- package/dist/shared/native/hooks/useNativePlatform.js +14 -0
- package/dist/shared/native/hooks/useSafeArea.d.ts +3 -0
- package/dist/shared/native/hooks/useSafeArea.d.ts.map +1 -0
- package/dist/shared/native/hooks/useSafeArea.js +35 -0
- package/dist/shared/native/hooks/useStatusBar.d.ts +6 -0
- package/dist/shared/native/hooks/useStatusBar.d.ts.map +1 -0
- package/dist/shared/native/hooks/useStatusBar.js +9 -0
- package/dist/shared/native/index.d.ts +6 -0
- package/dist/shared/native/index.d.ts.map +1 -0
- package/dist/shared/native/platform.d.ts +7 -0
- package/dist/shared/native/platform.d.ts.map +1 -0
- package/dist/shared/native/platform.js +20 -0
- package/dist/shared/native/types.d.ts +62 -0
- package/dist/shared/native/types.d.ts.map +1 -0
- package/dist/shared/pages/AiPage.d.ts +14 -0
- package/dist/shared/pages/AiPage.d.ts.map +1 -0
- package/dist/shared/pages/AiPage.js +78 -0
- package/dist/shared/pages/LegalPage.d.ts +19 -0
- package/dist/shared/pages/LegalPage.d.ts.map +1 -0
- package/dist/shared/pages/LegalPage.js +172 -0
- package/dist/shared/pages/SearchPage.d.ts +28 -0
- package/dist/shared/pages/SearchPage.d.ts.map +1 -0
- package/dist/shared/pages/SearchPage.js +1144 -0
- package/dist/shared/pages/index.d.ts +7 -0
- package/dist/shared/pages/index.d.ts.map +1 -0
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts +28 -0
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts.map +1 -0
- package/dist/shared/plugins/PluginRuntimeProvider.js +78 -0
- package/dist/shared/plugins/context.d.ts +65 -0
- package/dist/shared/plugins/context.d.ts.map +1 -0
- package/dist/shared/plugins/context.js +84 -0
- package/dist/shared/plugins/disposable.d.ts +17 -0
- package/dist/shared/plugins/disposable.d.ts.map +1 -0
- package/dist/shared/plugins/disposable.js +16 -0
- package/dist/shared/plugins/event-bus.d.ts +112 -0
- package/dist/shared/plugins/event-bus.d.ts.map +1 -0
- package/dist/shared/plugins/event-bus.js +45 -0
- package/dist/shared/plugins/index.d.ts +40 -0
- package/dist/shared/plugins/index.d.ts.map +1 -0
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts +68 -0
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts.map +1 -0
- package/dist/shared/plugins/panels/usePanelManagerStore.js +140 -0
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts +16 -0
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/createContributionRegistry.js +15 -0
- package/dist/shared/plugins/registries/index.d.ts +15 -0
- package/dist/shared/plugins/registries/index.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useCommandRegistry.js +5 -0
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useContextMenuRegistry.js +5 -0
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/usePanelRegistry.js +5 -0
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useRouteRegistry.js +5 -0
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useSettingsRegistry.js +5 -0
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useStatusBarRegistry.js +5 -0
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useToolbarRegistry.js +5 -0
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useWidgetRegistry.js +5 -0
- package/dist/shared/plugins/runtime.d.ts +68 -0
- package/dist/shared/plugins/runtime.d.ts.map +1 -0
- package/dist/shared/plugins/runtime.js +148 -0
- package/dist/shared/plugins/types.d.ts +228 -0
- package/dist/shared/plugins/types.d.ts.map +1 -0
- package/dist/shared/providers/AppShellProvider.d.ts +96 -0
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -0
- package/dist/shared/providers/AppShellProvider.js +436 -0
- package/dist/shared/providers/MicrofrontendProvider.d.ts +41 -0
- package/dist/shared/providers/MicrofrontendProvider.d.ts.map +1 -0
- package/dist/shared/providers/index.d.ts +12 -0
- package/dist/shared/providers/index.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts +88 -0
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextProvider.js +181 -0
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts +45 -0
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextStorage.js +61 -0
- package/dist/shared/providers/shell/AppShellContext.d.ts +19 -0
- package/dist/shared/providers/shell/AppShellContext.d.ts.map +1 -0
- package/dist/shared/providers/shell/AppShellContext.js +20 -0
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts +121 -0
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthBridgeClient.js +187 -0
- package/dist/shared/providers/shell/AuthProvider.d.ts +58 -0
- package/dist/shared/providers/shell/AuthProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthProvider.js +391 -0
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts +22 -0
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthTokenProvider.js +125 -0
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts +56 -0
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ContextManagerProvider.js +41 -0
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts +20 -0
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/FeatureFlagsProvider.js +58 -0
- package/dist/shared/providers/shell/GatewayRouter.d.ts +31 -0
- package/dist/shared/providers/shell/GatewayRouter.d.ts.map +1 -0
- package/dist/shared/providers/shell/GatewayRouter.js +27 -0
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts +46 -0
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/GlobalUiProvider.js +99 -0
- package/dist/shared/providers/shell/I18nProvider.d.ts +65 -0
- package/dist/shared/providers/shell/I18nProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/I18nProvider.js +149 -0
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +25 -0
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/MultiGatewayProvider.js +146 -0
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts +15 -0
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ObservabilityProvider.js +35 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +22 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.js +68 -0
- package/dist/shared/providers/shell/PermissionProvider.d.ts +227 -0
- package/dist/shared/providers/shell/PermissionProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/PermissionProvider.js +173 -0
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts +8 -0
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileGeographyBridge.js +14 -0
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +15 -0
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileI18nBridge.js +57 -0
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts +107 -0
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileStorageManager.js +184 -0
- package/dist/shared/providers/shell/ShellUiProvider.d.ts +47 -0
- package/dist/shared/providers/shell/ShellUiProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ShellUiProvider.js +89 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts +29 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ThemeProvider.js +68 -0
- package/dist/shared/providers/shell/index.d.ts +45 -0
- package/dist/shared/providers/shell/index.d.ts.map +1 -0
- package/dist/shared/shims/assert.d.ts +19 -0
- package/dist/shared/shims/assert.d.ts.map +1 -0
- package/dist/shared/shims/assert.js +15 -0
- package/dist/shared/shims/index.d.ts +25 -0
- package/dist/shared/shims/index.d.ts.map +1 -0
- package/dist/shared/shims/process.d.ts +20 -0
- package/dist/shared/shims/process.d.ts.map +1 -0
- package/dist/shared/shims/process.js +13 -0
- package/dist/shared/shims/use-sync-external-store-shim.d.ts +7 -0
- package/dist/shared/shims/use-sync-external-store-shim.d.ts.map +1 -0
- package/dist/shared/shims/use-sync-external-store-shim.js +2 -0
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts +17 -0
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts.map +1 -0
- package/dist/shared/shims/use-sync-external-store-with-selector.js +39 -0
- package/dist/shared/shims/util.d.ts +135 -0
- package/dist/shared/shims/util.d.ts.map +1 -0
- package/dist/shared/shims/util.js +176 -0
- package/dist/shared/tours/TourInitializer.d.ts +6 -0
- package/dist/shared/tours/TourInitializer.d.ts.map +1 -0
- package/dist/shared/tours/TourInitializer.js +35 -0
- package/dist/shared/tours/TourPlayer.d.ts +49 -0
- package/dist/shared/tours/TourPlayer.d.ts.map +1 -0
- package/dist/shared/tours/TourPlayer.js +57 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts +26 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts.map +1 -0
- package/dist/shared/tours/TourPlayerProvider.js +120 -0
- package/dist/shared/tours/TourSpotlight.d.ts +8 -0
- package/dist/shared/tours/TourSpotlight.d.ts.map +1 -0
- package/dist/shared/tours/TourSpotlight.js +78 -0
- package/dist/shared/tours/TourTooltip.d.ts +7 -0
- package/dist/shared/tours/TourTooltip.d.ts.map +1 -0
- package/dist/shared/tours/TourTooltip.js +272 -0
- package/dist/shared/tours/TourTrigger.d.ts +6 -0
- package/dist/shared/tours/TourTrigger.d.ts.map +1 -0
- package/dist/shared/tours/TourTrigger.js +236 -0
- package/dist/shared/tours/ToursContext.d.ts +41 -0
- package/dist/shared/tours/ToursContext.d.ts.map +1 -0
- package/dist/shared/tours/ToursContext.js +443 -0
- package/dist/shared/tours/index.d.ts +49 -0
- package/dist/shared/tours/index.d.ts.map +1 -0
- package/dist/shared/tours/types.d.ts +215 -0
- package/dist/shared/tours/types.d.ts.map +1 -0
- package/dist/shared/tours/types.js +16 -0
- package/dist/shared/tours/useTourPlayer.d.ts +38 -0
- package/dist/shared/tours/useTourPlayer.d.ts.map +1 -0
- package/dist/shared/tours/useTourPlayer.js +238 -0
- package/dist/shared/types/index.d.ts +185 -0
- package/dist/shared/types/index.d.ts.map +1 -0
- package/dist/shared/utils/apollo.d.ts +13 -0
- package/dist/shared/utils/apollo.d.ts.map +1 -0
- package/dist/shared/utils/apollo.js +68 -0
- package/dist/shared/utils/appHelpers.d.ts +34 -0
- package/dist/shared/utils/appHelpers.d.ts.map +1 -0
- package/dist/shared/utils/appHelpers.js +54 -0
- package/dist/shared/utils/authCookie.d.ts +35 -0
- package/dist/shared/utils/authCookie.d.ts.map +1 -0
- package/dist/shared/utils/authCookie.js +86 -0
- package/dist/shared/utils/authErrorHandling.d.ts +65 -0
- package/dist/shared/utils/authErrorHandling.d.ts.map +1 -0
- package/dist/shared/utils/authErrorHandling.js +75 -0
- package/dist/shared/utils/cn.d.ts +6 -0
- package/dist/shared/utils/cn.d.ts.map +1 -0
- package/dist/shared/utils/format.d.ts +98 -0
- package/dist/shared/utils/format.d.ts.map +1 -0
- package/dist/shared/utils/format.js +135 -0
- package/dist/shared/utils/gatewayFetchRewrite.d.ts +53 -0
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -0
- package/dist/shared/utils/gatewayFetchRewrite.js +130 -0
- package/dist/shared/utils/index.d.ts +26 -0
- package/dist/shared/utils/index.d.ts.map +1 -0
- package/dist/shared/utils/lazyWithRetry.d.ts +43 -0
- package/dist/shared/utils/lazyWithRetry.d.ts.map +1 -0
- package/dist/shared/utils/lazyWithRetry.js +25 -0
- package/dist/shared/utils/loggerInit.d.ts +15 -0
- package/dist/shared/utils/loggerInit.d.ts.map +1 -0
- package/dist/shared/utils/loggerInit.js +44 -0
- package/dist/shared/utils/mockData.d.ts +40 -0
- package/dist/shared/utils/mockData.d.ts.map +1 -0
- package/dist/shared/utils/profileScopedStorage.d.ts +42 -0
- package/dist/shared/utils/profileScopedStorage.d.ts.map +1 -0
- package/dist/shared/utils/profileScopedStorage.js +55 -0
- package/dist/shared/utils/quotaErrors.d.ts +37 -0
- package/dist/shared/utils/quotaErrors.d.ts.map +1 -0
- package/dist/shared/utils/quotaErrors.js +21 -0
- package/dist/shared/utils/tokens.d.ts +166 -0
- package/dist/shared/utils/tokens.d.ts.map +1 -0
- package/dist/shared/utils/tokens.js +133 -0
- package/dist/shared-components.d.ts +2 -0
- package/dist/shared-components.js +15 -0
- package/dist/shared-config.d.ts +2 -0
- package/dist/shared-config.js +30 -0
- package/dist/shared-events.d.ts +2 -0
- package/dist/shared-events.js +132 -0
- package/dist/shared-feature-flags.d.ts +2 -0
- package/dist/shared-feature-flags.js +4 -0
- package/dist/shared-geography.d.ts +2 -0
- package/dist/shared-geography.js +3 -0
- package/dist/shared-graphql.d.ts +2 -0
- package/dist/shared-graphql.js +8 -0
- package/dist/shared-hooks-shell.d.ts +2 -0
- package/dist/shared-hooks-shell.js +15 -0
- package/dist/shared-hooks.d.ts +2 -0
- package/dist/shared-hooks.js +39 -0
- package/dist/shared-keyboard.d.ts +2 -0
- package/dist/shared-keyboard.js +7 -0
- package/dist/shared-logger.d.ts +2 -0
- package/dist/shared-logger.js +6 -0
- package/dist/shared-motion.d.ts +2 -0
- package/dist/shared-motion.js +9 -0
- package/dist/shared-native.d.ts +2 -0
- package/dist/shared-native.js +12 -0
- package/dist/shared-pages.d.ts +2 -0
- package/dist/shared-pages.js +4 -0
- package/dist/shared-plugins.d.ts +2 -0
- package/dist/shared-plugins.js +15 -0
- package/dist/shared-providers-shell.d.ts +2 -0
- package/dist/shared-providers-shell.js +25 -0
- package/dist/shared-providers.d.ts +2 -0
- package/dist/shared-providers.js +12 -0
- package/dist/shared-shims.d.ts +2 -0
- package/dist/shared-shims.js +6 -0
- package/dist/shared-tours.d.ts +2 -0
- package/dist/shared-tours.js +10 -0
- package/dist/shared-types.d.ts +1 -0
- package/dist/shared-types.js +0 -0
- package/dist/shared-utils.d.ts +2 -0
- package/dist/shared-utils.js +19 -0
- package/dist/shared.d.ts +2 -0
- package/dist/shared.js +103 -0
- package/dist/storage/StorageFolderPicker.d.ts +23 -0
- package/dist/storage/StorageFolderPicker.d.ts.map +1 -0
- package/dist/storage/index.d.ts +3 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/tag/TagBadge.d.ts +17 -0
- package/dist/tag/TagBadge.d.ts.map +1 -0
- package/dist/tag/TagBadge.js +51 -0
- package/dist/tag/TagsWidget.d.ts +103 -0
- package/dist/tag/TagsWidget.d.ts.map +1 -0
- package/dist/tag/TagsWidget.js +283 -0
- package/dist/tag/index.d.ts +3 -0
- package/dist/tag/index.d.ts.map +1 -0
- package/dist/tag.d.ts +2 -0
- package/dist/tag.js +3 -0
- package/dist/ui/accordion.d.ts +8 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/accordion.js +43 -0
- package/dist/ui/alert-dialog.d.ts +15 -0
- package/dist/ui/alert-dialog.d.ts.map +1 -0
- package/dist/ui/alert-dialog.js +81 -0
- package/dist/ui/badge.d.ts +10 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/badge.js +24 -0
- package/dist/ui/button.d.ts +12 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/button.js +45 -0
- package/dist/ui/card.d.ts +9 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/card.js +42 -0
- package/dist/ui/checkbox.d.ts +5 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/checkbox.js +20 -0
- package/dist/ui/command.d.ts +19 -0
- package/dist/ui/command.d.ts.map +1 -0
- package/dist/ui/command.js +85 -0
- package/dist/ui/dialog.d.ts +16 -0
- package/dist/ui/dialog.d.ts.map +1 -0
- package/dist/ui/dialog.js +86 -0
- package/dist/ui/dropdown-menu.d.ts +28 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/dropdown-menu.js +72 -0
- package/dist/ui/index.d.ts +25 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/input.d.ts +5 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/input.js +13 -0
- package/dist/ui/label.d.ts +5 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/label.js +14 -0
- package/dist/ui/popover.d.ts +8 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/popover.js +35 -0
- package/dist/ui/scroll-area.d.ts +6 -0
- package/dist/ui/scroll-area.d.ts.map +1 -0
- package/dist/ui/scroll-area.js +36 -0
- package/dist/ui/select.d.ts +13 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/select.js +69 -0
- package/dist/ui/separator.d.ts +5 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/separator.js +16 -0
- package/dist/ui/sheet.d.ts +14 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/sheet.js +81 -0
- package/dist/ui/skeleton.d.ts +4 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/skeleton.js +12 -0
- package/dist/ui/sonner.d.ts +4 -0
- package/dist/ui/sonner.d.ts.map +1 -0
- package/dist/ui/sonner.js +28 -0
- package/dist/ui/spinner.d.ts +6 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/spinner.js +18 -0
- package/dist/ui/switch.d.ts +5 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/switch.js +19 -0
- package/dist/ui/table.d.ts +11 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/table.js +57 -0
- package/dist/ui/tabs.d.ts +8 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/tabs.js +35 -0
- package/dist/ui/textarea.d.ts +5 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/textarea.js +12 -0
- package/dist/ui/tooltip.d.ts +7 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/ui/tooltip.js +14 -0
- package/dist/ui.d.ts +2 -0
- package/dist/ui.js +25 -0
- package/dist/utils/cn.d.ts +15 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/cn.js +8 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +13 -0
- package/package.json +376 -0
- package/shared/config/eslint.config.d.mts +10 -0
- package/shared/config/eslint.config.mjs +53 -0
- package/shared/config/prettier.config.d.mts +5 -0
- package/shared/config/prettier.config.mjs +18 -0
- package/shared/config/tsconfig.base.json +23 -0
- package/src/shared/shims/assert.ts +54 -0
- package/src/shared/shims/index.ts +27 -0
- package/src/shared/shims/process.ts +24 -0
- package/src/shared/shims/use-sync-external-store-shim.ts +15 -0
- package/src/shared/shims/use-sync-external-store-with-selector.ts +112 -0
- package/src/shared/shims/util.ts +229 -0
- package/src/shared/styles/app-shell.css +298 -0
- package/src/shared/styles/index.css +213 -0
- package/src/shared/tokens/build/brands/fluidgrids.css +6 -0
- package/src/shared/tokens/build/brands/healthybowl.css +6 -0
- package/src/shared/tokens/build/brands/tenant.css +6 -0
- package/src/shared/tokens/build/brands/vibecontrols.css +6 -0
- package/src/shared/tokens/build/brands/workspaces.css +6 -0
- package/src/shared/tokens/build/foundation.css +175 -0
- package/src/shared/tokens/build/semantic.css +301 -0
- package/src/shared/tokens/build/tailwind.preset.js +211 -0
- package/src/shared/tokens/tokens.css +22 -0
- package/src/vite/index.ts +49 -0
- package/src/vite/mfe.config.ts +176 -0
- package/src/vite/plugins.ts +311 -0
- package/src/vite/shell.config.ts +233 -0
- package/src/vite/types.ts +176 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
//#region src/chrome/HeaderBar.tsx
|
|
3
|
+
var n = ({ logo: n, appName: r, onLogoClick: i, onMenuToggle: a, onSearchClick: o, searchPlaceholder: s = "Search...", searchShortcut: c = "⌘K", unreadNotifications: l = 0, onNotificationsClick: u, notificationCenter: d, colorMode: f = "light", onThemeToggle: p, user: m, onUserMenuClick: h, actions: g, contextSwitcher: _, productSwitcher: v, languageSwitcher: y, geographySwitcher: b, profileSwitcher: x, onKeyboardShortcutsClick: S, mobileOptimized: C = !0 }) => /* @__PURE__ */ t("header", {
|
|
4
|
+
className: "relative z-[100] h-14 bg-bg-elevated border-b border-border-subtle flex items-center px-3 md:px-card-padding justify-between",
|
|
5
|
+
children: [/* @__PURE__ */ t("div", {
|
|
6
|
+
className: "flex items-center gap-2 md:gap-control-gap",
|
|
7
|
+
children: [a && /* @__PURE__ */ e("button", {
|
|
8
|
+
onClick: a,
|
|
9
|
+
className: "p-2 hover:bg-action-ghost-bg-hover rounded-button text-text-primary",
|
|
10
|
+
"aria-label": "Toggle sidebar",
|
|
11
|
+
children: /* @__PURE__ */ e("svg", {
|
|
12
|
+
className: "w-icon-md h-icon-md",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
viewBox: "0 0 24 24",
|
|
16
|
+
children: /* @__PURE__ */ e("path", {
|
|
17
|
+
strokeLinecap: "round",
|
|
18
|
+
strokeLinejoin: "round",
|
|
19
|
+
strokeWidth: 2,
|
|
20
|
+
d: "M4 6h16M4 12h16M4 18h16"
|
|
21
|
+
})
|
|
22
|
+
})
|
|
23
|
+
}), n && /* @__PURE__ */ e("div", {
|
|
24
|
+
className: `w-8 h-8 bg-action-primary-bg rounded-md flex items-center justify-center ${i ? "cursor-pointer hover:opacity-80 transition-opacity" : ""}`,
|
|
25
|
+
onClick: i,
|
|
26
|
+
role: i ? "button" : void 0,
|
|
27
|
+
tabIndex: i ? 0 : void 0,
|
|
28
|
+
onKeyDown: i ? (e) => {
|
|
29
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), i());
|
|
30
|
+
} : void 0,
|
|
31
|
+
"aria-label": i ? "Go to home" : void 0,
|
|
32
|
+
children: typeof n == "string" ? /* @__PURE__ */ e("span", {
|
|
33
|
+
className: "text-action-primary-text font-bold text-sm",
|
|
34
|
+
children: n
|
|
35
|
+
}) : n
|
|
36
|
+
})]
|
|
37
|
+
}), /* @__PURE__ */ t("div", {
|
|
38
|
+
className: "flex items-center gap-1 md:gap-control-gap",
|
|
39
|
+
children: [
|
|
40
|
+
_,
|
|
41
|
+
v && /* @__PURE__ */ e("div", {
|
|
42
|
+
className: C ? "hidden md:block" : "",
|
|
43
|
+
children: v
|
|
44
|
+
}),
|
|
45
|
+
y && /* @__PURE__ */ e("div", {
|
|
46
|
+
className: C ? "hidden md:block" : "",
|
|
47
|
+
children: y
|
|
48
|
+
}),
|
|
49
|
+
b && /* @__PURE__ */ e("div", {
|
|
50
|
+
className: C ? "hidden md:block" : "",
|
|
51
|
+
children: b
|
|
52
|
+
}),
|
|
53
|
+
(_ || v || y || b) && /* @__PURE__ */ e("div", { className: "hidden md:block h-6 w-px bg-border-subtle" }),
|
|
54
|
+
S && /* @__PURE__ */ e("button", {
|
|
55
|
+
onClick: S,
|
|
56
|
+
className: `p-2 hover:bg-action-ghost-bg-hover rounded-button text-text-primary ${C ? "hidden md:block" : ""}`,
|
|
57
|
+
"aria-label": "Keyboard shortcuts",
|
|
58
|
+
title: "Keyboard shortcuts (Ctrl+/ or Cmd+/)",
|
|
59
|
+
children: /* @__PURE__ */ e("svg", {
|
|
60
|
+
className: "w-icon-md h-icon-md",
|
|
61
|
+
fill: "none",
|
|
62
|
+
stroke: "currentColor",
|
|
63
|
+
viewBox: "0 0 24 24",
|
|
64
|
+
children: /* @__PURE__ */ e("path", {
|
|
65
|
+
strokeLinecap: "round",
|
|
66
|
+
strokeLinejoin: "round",
|
|
67
|
+
strokeWidth: 2,
|
|
68
|
+
d: "M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"
|
|
69
|
+
})
|
|
70
|
+
})
|
|
71
|
+
}),
|
|
72
|
+
o && /* @__PURE__ */ e("button", {
|
|
73
|
+
onClick: o,
|
|
74
|
+
className: "p-2 hover:bg-action-ghost-bg-hover rounded-button text-text-primary",
|
|
75
|
+
"aria-label": "Search",
|
|
76
|
+
title: `Search (${c})`,
|
|
77
|
+
children: /* @__PURE__ */ e("svg", {
|
|
78
|
+
className: "w-icon-md h-icon-md",
|
|
79
|
+
fill: "none",
|
|
80
|
+
stroke: "currentColor",
|
|
81
|
+
viewBox: "0 0 24 24",
|
|
82
|
+
children: /* @__PURE__ */ e("path", {
|
|
83
|
+
strokeLinecap: "round",
|
|
84
|
+
strokeLinejoin: "round",
|
|
85
|
+
strokeWidth: 2,
|
|
86
|
+
d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
}),
|
|
90
|
+
g,
|
|
91
|
+
d || (u ? /* @__PURE__ */ t("button", {
|
|
92
|
+
onClick: u,
|
|
93
|
+
className: "relative p-2 hover:bg-action-ghost-bg-hover rounded-button text-text-primary",
|
|
94
|
+
"aria-label": "Notifications",
|
|
95
|
+
children: [/* @__PURE__ */ e("svg", {
|
|
96
|
+
className: "w-icon-md h-icon-md",
|
|
97
|
+
fill: "none",
|
|
98
|
+
stroke: "currentColor",
|
|
99
|
+
viewBox: "0 0 24 24",
|
|
100
|
+
children: /* @__PURE__ */ e("path", {
|
|
101
|
+
strokeLinecap: "round",
|
|
102
|
+
strokeLinejoin: "round",
|
|
103
|
+
strokeWidth: 2,
|
|
104
|
+
d: "M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"
|
|
105
|
+
})
|
|
106
|
+
}), l > 0 && /* @__PURE__ */ e("span", { className: "absolute top-1 right-1 w-2 h-2 bg-status-error-bg rounded-full border border-bg-elevated" })]
|
|
107
|
+
}) : null),
|
|
108
|
+
p && /* @__PURE__ */ e("button", {
|
|
109
|
+
onClick: p,
|
|
110
|
+
className: `p-2 hover:bg-action-ghost-bg-hover rounded-button text-text-primary ${C ? "hidden md:block" : ""}`,
|
|
111
|
+
"aria-label": "Toggle theme",
|
|
112
|
+
children: f === "light" ? /* @__PURE__ */ e("svg", {
|
|
113
|
+
className: "w-icon-md h-icon-md",
|
|
114
|
+
fill: "none",
|
|
115
|
+
stroke: "currentColor",
|
|
116
|
+
viewBox: "0 0 24 24",
|
|
117
|
+
children: /* @__PURE__ */ e("path", {
|
|
118
|
+
strokeLinecap: "round",
|
|
119
|
+
strokeLinejoin: "round",
|
|
120
|
+
strokeWidth: 2,
|
|
121
|
+
d: "M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"
|
|
122
|
+
})
|
|
123
|
+
}) : /* @__PURE__ */ e("svg", {
|
|
124
|
+
className: "w-icon-md h-icon-md",
|
|
125
|
+
fill: "none",
|
|
126
|
+
stroke: "currentColor",
|
|
127
|
+
viewBox: "0 0 24 24",
|
|
128
|
+
children: /* @__PURE__ */ e("path", {
|
|
129
|
+
strokeLinecap: "round",
|
|
130
|
+
strokeLinejoin: "round",
|
|
131
|
+
strokeWidth: 2,
|
|
132
|
+
d: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"
|
|
133
|
+
})
|
|
134
|
+
})
|
|
135
|
+
}),
|
|
136
|
+
x
|
|
137
|
+
]
|
|
138
|
+
})]
|
|
139
|
+
});
|
|
140
|
+
//#endregion
|
|
141
|
+
export { n as HeaderBar };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface Language {
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
nativeName: string;
|
|
6
|
+
flag?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface LanguagePickerSheetProps {
|
|
9
|
+
open: boolean;
|
|
10
|
+
onOpenChange: (open: boolean) => void;
|
|
11
|
+
languages: Language[];
|
|
12
|
+
currentLanguage: string;
|
|
13
|
+
onLanguageChange?: (language: Language) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* LanguagePickerSheet Component
|
|
17
|
+
*
|
|
18
|
+
* Mobile-friendly bottom sheet for language selection.
|
|
19
|
+
* Used when the sidenav Quick Actions triggers the language picker.
|
|
20
|
+
*/
|
|
21
|
+
export declare const LanguagePickerSheet: FC<LanguagePickerSheetProps>;
|
|
22
|
+
//# sourceMappingURL=LanguagePickerSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LanguagePickerSheet.d.ts","sourceRoot":"","sources":["../../src/chrome/LanguagePickerSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;CACjD;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAgE5D,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Sheet as e, SheetContent as t, SheetHeader as n, SheetTitle as r } from "../ui/sheet.js";
|
|
2
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
3
|
+
//#region src/chrome/LanguagePickerSheet.tsx
|
|
4
|
+
var o = ({ open: o, onOpenChange: s, languages: c, currentLanguage: l, onLanguageChange: u }) => {
|
|
5
|
+
let d = (e) => {
|
|
6
|
+
u && u(e), s(!1);
|
|
7
|
+
};
|
|
8
|
+
return /* @__PURE__ */ i(e, {
|
|
9
|
+
open: o,
|
|
10
|
+
onOpenChange: s,
|
|
11
|
+
children: /* @__PURE__ */ a(t, {
|
|
12
|
+
side: "bottom",
|
|
13
|
+
className: "h-[60vh] flex flex-col p-0",
|
|
14
|
+
children: [/* @__PURE__ */ i(n, {
|
|
15
|
+
className: "px-4 pt-4 pb-2 border-b border-border-subtle",
|
|
16
|
+
children: /* @__PURE__ */ i(r, {
|
|
17
|
+
className: "text-text-primary",
|
|
18
|
+
children: "Select Language"
|
|
19
|
+
})
|
|
20
|
+
}), /* @__PURE__ */ i("div", {
|
|
21
|
+
className: "flex-1 overflow-y-auto py-2",
|
|
22
|
+
children: c.map((e) => /* @__PURE__ */ a("button", {
|
|
23
|
+
onClick: () => d(e),
|
|
24
|
+
className: `w-full flex items-center gap-4 px-4 py-3.5 text-body-sm transition-colors ${e.code === l ? "bg-action-ghost-bg-hover" : "hover:bg-action-ghost-bg-hover"}`,
|
|
25
|
+
children: [
|
|
26
|
+
e.flag && /* @__PURE__ */ i("span", {
|
|
27
|
+
className: "text-2xl flex-shrink-0",
|
|
28
|
+
children: e.flag
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ a("div", {
|
|
31
|
+
className: "flex-1 text-left min-w-0",
|
|
32
|
+
children: [/* @__PURE__ */ i("p", {
|
|
33
|
+
className: "font-medium text-text-primary",
|
|
34
|
+
children: e.name
|
|
35
|
+
}), /* @__PURE__ */ i("p", {
|
|
36
|
+
className: "text-xs text-text-secondary",
|
|
37
|
+
children: e.nativeName
|
|
38
|
+
})]
|
|
39
|
+
}),
|
|
40
|
+
e.code === l && /* @__PURE__ */ i("svg", {
|
|
41
|
+
className: "w-5 h-5 text-action-primary-bg flex-shrink-0",
|
|
42
|
+
fill: "currentColor",
|
|
43
|
+
viewBox: "0 0 20 20",
|
|
44
|
+
children: /* @__PURE__ */ i("path", {
|
|
45
|
+
fillRule: "evenodd",
|
|
46
|
+
d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
|
|
47
|
+
clipRule: "evenodd"
|
|
48
|
+
})
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
}, e.code))
|
|
52
|
+
})]
|
|
53
|
+
})
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
//#endregion
|
|
57
|
+
export { o as LanguagePickerSheet };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface Language {
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
nativeName: string;
|
|
6
|
+
flag?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface LanguageSwitcherProps {
|
|
9
|
+
languages: Language[];
|
|
10
|
+
currentLanguage: string;
|
|
11
|
+
onLanguageChange?: (language: Language) => void;
|
|
12
|
+
/** Show as icon only (for small screens) */
|
|
13
|
+
compact?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* LanguageSwitcher Component
|
|
17
|
+
*
|
|
18
|
+
* Allows switching between different languages
|
|
19
|
+
*
|
|
20
|
+
* On small screens (when compact=true), shows as icon with popup
|
|
21
|
+
*/
|
|
22
|
+
export declare const LanguageSwitcher: FC<LanguageSwitcherProps>;
|
|
23
|
+
//# sourceMappingURL=LanguageSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LanguageSwitcher.d.ts","sourceRoot":"","sources":["../../src/chrome/LanguageSwitcher.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAChD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA8ItD,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { useEffect as e, useRef as t, useState as n } from "react";
|
|
2
|
+
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
3
|
+
//#region src/chrome/LanguageSwitcher.tsx
|
|
4
|
+
var o = ({ languages: o, currentLanguage: s, onLanguageChange: c, compact: l = !1 }) => {
|
|
5
|
+
let [u, d] = n(!1), f = t(null), p = o.find((e) => e.code === s) || o[0];
|
|
6
|
+
e(() => {
|
|
7
|
+
let e = (e) => {
|
|
8
|
+
f.current && !f.current.contains(e.target) && d(!1);
|
|
9
|
+
};
|
|
10
|
+
if (u) return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
11
|
+
}, [u]);
|
|
12
|
+
let m = (e) => {
|
|
13
|
+
c && c(e), d(!1);
|
|
14
|
+
};
|
|
15
|
+
return /* @__PURE__ */ a("div", {
|
|
16
|
+
className: "relative",
|
|
17
|
+
ref: f,
|
|
18
|
+
children: [/* @__PURE__ */ i("button", {
|
|
19
|
+
onClick: () => d(!u),
|
|
20
|
+
className: `flex items-center gap-2 px-3 py-2 rounded-button hover:bg-action-ghost-bg-hover transition-colors ${u ? "bg-action-ghost-bg-hover" : ""}`,
|
|
21
|
+
"aria-label": "Change language",
|
|
22
|
+
"aria-expanded": u,
|
|
23
|
+
children: l ? /* @__PURE__ */ i("svg", {
|
|
24
|
+
className: "w-5 h-5 text-text-primary",
|
|
25
|
+
fill: "none",
|
|
26
|
+
stroke: "currentColor",
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
children: /* @__PURE__ */ i("path", {
|
|
29
|
+
strokeLinecap: "round",
|
|
30
|
+
strokeLinejoin: "round",
|
|
31
|
+
strokeWidth: 2,
|
|
32
|
+
d: "M3 5h12M9 3v2m1.048 9.5A18.022 18.022 0 016.412 9m6.088 9h7M11 21l5-10 5 10M12.751 5C11.783 10.77 8.07 15.61 3 18.129"
|
|
33
|
+
})
|
|
34
|
+
}) : /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("span", {
|
|
35
|
+
className: "text-body-sm font-medium text-text-primary uppercase",
|
|
36
|
+
children: p?.code
|
|
37
|
+
}), /* @__PURE__ */ i("svg", {
|
|
38
|
+
className: `w-4 h-4 text-text-secondary transition-transform ${u ? "rotate-180" : ""}`,
|
|
39
|
+
fill: "none",
|
|
40
|
+
stroke: "currentColor",
|
|
41
|
+
viewBox: "0 0 24 24",
|
|
42
|
+
children: /* @__PURE__ */ i("path", {
|
|
43
|
+
strokeLinecap: "round",
|
|
44
|
+
strokeLinejoin: "round",
|
|
45
|
+
strokeWidth: 2,
|
|
46
|
+
d: "M19 9l-7 7-7-7"
|
|
47
|
+
})
|
|
48
|
+
})] })
|
|
49
|
+
}), u && /* @__PURE__ */ a("div", {
|
|
50
|
+
className: "absolute right-0 mt-2 w-[calc(100vw-1.5rem)] sm:w-64 max-w-64 bg-bg-elevated border border-border-default rounded-lg shadow-lg z-50 py-2",
|
|
51
|
+
children: [/* @__PURE__ */ i("div", {
|
|
52
|
+
className: "px-4 py-2 border-b border-border-subtle",
|
|
53
|
+
children: /* @__PURE__ */ i("p", {
|
|
54
|
+
className: "text-body-xs font-semibold text-text-secondary uppercase",
|
|
55
|
+
children: "Select Language"
|
|
56
|
+
})
|
|
57
|
+
}), /* @__PURE__ */ i("div", {
|
|
58
|
+
className: "py-1 max-h-96 overflow-y-auto",
|
|
59
|
+
children: o.map((e) => /* @__PURE__ */ a("button", {
|
|
60
|
+
onClick: () => m(e),
|
|
61
|
+
className: `w-full flex items-center gap-3 px-4 py-2.5 text-body-sm transition-colors ${e.code === s ? "bg-action-ghost-bg-hover text-text-primary font-medium" : "text-text-primary hover:bg-action-ghost-bg-hover"}`,
|
|
62
|
+
children: [
|
|
63
|
+
e.flag && /* @__PURE__ */ i("span", {
|
|
64
|
+
className: "text-xl flex-shrink-0",
|
|
65
|
+
children: e.flag
|
|
66
|
+
}),
|
|
67
|
+
/* @__PURE__ */ a("div", {
|
|
68
|
+
className: "flex-1 text-left min-w-0",
|
|
69
|
+
children: [/* @__PURE__ */ i("p", {
|
|
70
|
+
className: "font-medium truncate",
|
|
71
|
+
children: e.name
|
|
72
|
+
}), /* @__PURE__ */ i("p", {
|
|
73
|
+
className: "text-xs text-text-secondary truncate",
|
|
74
|
+
children: e.nativeName
|
|
75
|
+
})]
|
|
76
|
+
}),
|
|
77
|
+
e.code === s && /* @__PURE__ */ i("svg", {
|
|
78
|
+
className: "w-5 h-5 text-action-primary-bg flex-shrink-0",
|
|
79
|
+
fill: "currentColor",
|
|
80
|
+
viewBox: "0 0 20 20",
|
|
81
|
+
children: /* @__PURE__ */ i("path", {
|
|
82
|
+
fillRule: "evenodd",
|
|
83
|
+
d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
|
|
84
|
+
clipRule: "evenodd"
|
|
85
|
+
})
|
|
86
|
+
})
|
|
87
|
+
]
|
|
88
|
+
}, e.code))
|
|
89
|
+
})]
|
|
90
|
+
})]
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
//#endregion
|
|
94
|
+
export { o as LanguageSwitcher };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* NavLink Props Interface
|
|
4
|
+
*
|
|
5
|
+
* Generic navigation link component that accepts all data via props.
|
|
6
|
+
* No dependencies on routing libraries - pure presentation component.
|
|
7
|
+
*/
|
|
8
|
+
export interface NavLinkProps {
|
|
9
|
+
/** Link text/label */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Optional icon (left side) */
|
|
12
|
+
icon?: ReactNode;
|
|
13
|
+
/** Optional badge content (right side) */
|
|
14
|
+
badge?: string | number;
|
|
15
|
+
/** Whether this link is currently active */
|
|
16
|
+
isActive?: boolean;
|
|
17
|
+
/** Whether this link is disabled */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Click handler */
|
|
20
|
+
onClick?: () => void;
|
|
21
|
+
/** Optional href for native links */
|
|
22
|
+
href?: string;
|
|
23
|
+
/** Visual variant */
|
|
24
|
+
variant?: "default" | "compact" | "sidebar";
|
|
25
|
+
/** Additional CSS classes */
|
|
26
|
+
className?: string;
|
|
27
|
+
/** ARIA label for accessibility */
|
|
28
|
+
ariaLabel?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* NavLink Component
|
|
32
|
+
*
|
|
33
|
+
* Generic navigation link for app shells. Pure presentation component
|
|
34
|
+
* that accepts all data via props.
|
|
35
|
+
*
|
|
36
|
+
* Features:
|
|
37
|
+
* - Active state indication
|
|
38
|
+
* - Icon support
|
|
39
|
+
* - Badge support (notifications, counts)
|
|
40
|
+
* - Disabled state
|
|
41
|
+
* - Multiple variants (default, compact, sidebar)
|
|
42
|
+
* - Accessible navigation
|
|
43
|
+
*
|
|
44
|
+
* Uses semantic tokens for styling, which must be provided by the shell.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```tsx
|
|
48
|
+
* <NavLink
|
|
49
|
+
* label="Dashboard"
|
|
50
|
+
* icon={<HomeIcon />}
|
|
51
|
+
* isActive={currentPath === '/dashboard'}
|
|
52
|
+
* onClick={() => navigate('/dashboard')}
|
|
53
|
+
* />
|
|
54
|
+
*
|
|
55
|
+
* <NavLink
|
|
56
|
+
* label="Notifications"
|
|
57
|
+
* icon={<BellIcon />}
|
|
58
|
+
* badge={5}
|
|
59
|
+
* onClick={() => navigate('/notifications')}
|
|
60
|
+
* />
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare const NavLink: FC<NavLinkProps>;
|
|
64
|
+
//# sourceMappingURL=NavLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavLink.d.ts","sourceRoot":"","sources":["../../src/chrome/NavLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IAEd,gCAAgC;IAChC,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,qBAAqB;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAE5C,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAwFpC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { cn as e } from "../shared-utils.js";
|
|
2
|
+
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
//#region src/chrome/NavLink.tsx
|
|
4
|
+
var i = ({ label: i, icon: a, badge: o, isActive: s = !1, disabled: c = !1, onClick: l, href: u, variant: d = "default", className: f, ariaLabel: p }) => {
|
|
5
|
+
let m = e("flex items-center gap-icon-gap transition-colors rounded-button", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-border", {
|
|
6
|
+
"px-card-padding py-control-gap text-body-sm": d === "default",
|
|
7
|
+
"px-2 py-1 text-body-sm": d === "compact",
|
|
8
|
+
"px-card-padding py-2 text-body-md": d === "sidebar",
|
|
9
|
+
"bg-action-primary-bg text-action-primary-text font-medium": s && !c,
|
|
10
|
+
"text-text-secondary hover:text-text-primary hover:bg-action-ghost-bg-hover": !s && !c,
|
|
11
|
+
"text-text-disabled cursor-not-allowed opacity-50": c
|
|
12
|
+
}, f), h = /* @__PURE__ */ r(t, { children: [
|
|
13
|
+
a && /* @__PURE__ */ n("span", {
|
|
14
|
+
className: "flex items-center flex-shrink-0",
|
|
15
|
+
children: a
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ n("span", {
|
|
18
|
+
className: e("flex-1 truncate", d === "sidebar" && "font-medium"),
|
|
19
|
+
children: i
|
|
20
|
+
}),
|
|
21
|
+
o !== void 0 && /* @__PURE__ */ n("span", {
|
|
22
|
+
className: e("flex items-center justify-center min-w-[20px] h-5 px-1.5 rounded-full text-xs font-medium", s ? "bg-action-primary-text text-action-primary-bg" : "bg-status-info-bg text-status-info-text"),
|
|
23
|
+
children: typeof o == "number" && o > 99 ? "99+" : o
|
|
24
|
+
})
|
|
25
|
+
] });
|
|
26
|
+
return u && !c ? /* @__PURE__ */ n("a", {
|
|
27
|
+
href: u,
|
|
28
|
+
onClick: (e) => {
|
|
29
|
+
l && (e.preventDefault(), l());
|
|
30
|
+
},
|
|
31
|
+
className: m,
|
|
32
|
+
"aria-label": p || i,
|
|
33
|
+
"aria-current": s ? "page" : void 0,
|
|
34
|
+
children: h
|
|
35
|
+
}) : /* @__PURE__ */ n("button", {
|
|
36
|
+
onClick: l,
|
|
37
|
+
disabled: c,
|
|
38
|
+
className: m,
|
|
39
|
+
"aria-label": p || i,
|
|
40
|
+
"aria-current": s ? "page" : void 0,
|
|
41
|
+
type: "button",
|
|
42
|
+
children: h
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
export { i as NavLink };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ApolloClient } from '@apollo/client';
|
|
3
|
+
export interface NotificationCenterProps {
|
|
4
|
+
/** Apollo client for the global gateway */
|
|
5
|
+
client: ApolloClient;
|
|
6
|
+
/** Called when "View All" is clicked */
|
|
7
|
+
onViewAll?: () => void;
|
|
8
|
+
/** Compact mode for small screens */
|
|
9
|
+
compact?: boolean;
|
|
10
|
+
/** Polling interval for unread count in ms (default: 30000) */
|
|
11
|
+
pollInterval?: number;
|
|
12
|
+
/** When true, defer unread-count bootstrap until the panel is opened */
|
|
13
|
+
lazy?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const NotificationCenter: FC<NotificationCenterProps>;
|
|
16
|
+
//# sourceMappingURL=NotificationCenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationCenter.d.ts","sourceRoot":"","sources":["../../src/chrome/NotificationCenter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,MAAM,WAAW,uBAAuB;IACtC,2CAA2C;IAC3C,MAAM,EAAE,YAAY,CAAC;IACrB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wEAAwE;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAgaD,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAskB1D,CAAC"}
|