@redocly/theme 0.0.0-react18-20231120182601
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/LICENSE +1 -0
- package/README.md +1 -0
- package/lib/components/ApiOnboarding/AppCustomAttributes.d.ts +5 -0
- package/lib/components/ApiOnboarding/AppCustomAttributes.js +10 -0
- package/lib/components/Breadcrumbs/Breadcrumb.d.ts +7 -0
- package/lib/components/Breadcrumbs/Breadcrumb.js +41 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.js +51 -0
- package/lib/components/Breadcrumbs/index.d.ts +3 -0
- package/lib/components/Breadcrumbs/index.js +20 -0
- package/lib/components/Breadcrumbs/styledVariables.d.ts +1 -0
- package/lib/components/Breadcrumbs/styledVariables.js +20 -0
- package/lib/components/Button/Button.d.ts +22 -0
- package/lib/components/Button/Button.js +158 -0
- package/lib/components/Button/index.d.ts +2 -0
- package/lib/components/Button/index.js +19 -0
- package/lib/components/Button/styledVariables.d.ts +1 -0
- package/lib/components/Button/styledVariables.js +118 -0
- package/lib/components/Cards/Card.d.ts +9 -0
- package/lib/components/Cards/Card.js +38 -0
- package/lib/components/Cards/CardsBlock.d.ts +1 -0
- package/lib/components/Cards/CardsBlock.js +16 -0
- package/lib/components/Cards/index.d.ts +2 -0
- package/lib/components/Cards/index.js +19 -0
- package/lib/components/Catalog/Catalog.d.ts +16 -0
- package/lib/components/Catalog/Catalog.js +178 -0
- package/lib/components/Catalog/CatalogCard.d.ts +5 -0
- package/lib/components/Catalog/CatalogCard.js +167 -0
- package/lib/components/Catalog/index.d.ts +4 -0
- package/lib/components/Catalog/index.js +21 -0
- package/lib/components/Catalog/styledVariables.d.ts +1 -0
- package/lib/components/Catalog/styledVariables.js +97 -0
- package/lib/components/Catalog/useCatalog.d.ts +4 -0
- package/lib/components/Catalog/useCatalog.js +317 -0
- package/lib/components/CodeBlock/CodeBlock.d.ts +29 -0
- package/lib/components/CodeBlock/CodeBlock.js +66 -0
- package/lib/components/CodeBlock/CodeBlockContainer.d.ts +3 -0
- package/lib/components/CodeBlock/CodeBlockContainer.js +148 -0
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +4 -0
- package/lib/components/CodeBlock/CodeBlockControlButton.js +52 -0
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +33 -0
- package/lib/components/CodeBlock/CodeBlockControls.js +63 -0
- package/lib/components/CodeBlock/index.d.ts +5 -0
- package/lib/components/CodeBlock/index.js +22 -0
- package/lib/components/CodeBlock/styledVariables.d.ts +1 -0
- package/lib/components/CodeBlock/styledVariables.js +92 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.d.ts +6 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +83 -0
- package/lib/components/ColorModeSwitcher/index.d.ts +1 -0
- package/lib/components/ColorModeSwitcher/index.js +18 -0
- package/lib/components/CopyButton/CopyButton.d.ts +15 -0
- package/lib/components/CopyButton/CopyButton.js +53 -0
- package/lib/components/CopyButton/index.d.ts +1 -0
- package/lib/components/CopyButton/index.js +18 -0
- package/lib/components/Dropdown/Dropdown.d.ts +22 -0
- package/lib/components/Dropdown/Dropdown.js +116 -0
- package/lib/components/Dropdown/index.d.ts +2 -0
- package/lib/components/Dropdown/index.js +19 -0
- package/lib/components/Dropdown/styledVariables.d.ts +1 -0
- package/lib/components/Dropdown/styledVariables.js +30 -0
- package/lib/components/EditPageButton/EditPageButton.d.ts +5 -0
- package/lib/components/EditPageButton/EditPageButton.js +43 -0
- package/lib/components/EditPageButton/index.d.ts +1 -0
- package/lib/components/EditPageButton/index.js +18 -0
- package/lib/components/Feedback/Comment.d.ts +3 -0
- package/lib/components/Feedback/Comment.js +123 -0
- package/lib/components/Feedback/Emotions.d.ts +4 -0
- package/lib/components/Feedback/Emotions.js +57 -0
- package/lib/components/Feedback/Feedback.d.ts +5 -0
- package/lib/components/Feedback/Feedback.js +88 -0
- package/lib/components/Feedback/Mood.d.ts +8 -0
- package/lib/components/Feedback/Mood.js +197 -0
- package/lib/components/Feedback/Rating.d.ts +4 -0
- package/lib/components/Feedback/Rating.js +134 -0
- package/lib/components/Feedback/Reasons.d.ts +3 -0
- package/lib/components/Feedback/Reasons.js +82 -0
- package/lib/components/Feedback/ReportDialog.d.ts +3 -0
- package/lib/components/Feedback/ReportDialog.js +77 -0
- package/lib/components/Feedback/Scale.d.ts +4 -0
- package/lib/components/Feedback/Scale.js +180 -0
- package/lib/components/Feedback/Sentiment.d.ts +3 -0
- package/lib/components/Feedback/Sentiment.js +167 -0
- package/lib/components/Feedback/Stars.d.ts +8 -0
- package/lib/components/Feedback/Stars.js +54 -0
- package/lib/components/Feedback/Thumbs.d.ts +3 -0
- package/lib/components/Feedback/Thumbs.js +49 -0
- package/lib/components/Feedback/index.d.ts +10 -0
- package/lib/components/Feedback/index.js +37 -0
- package/lib/components/Feedback/types.d.ts +128 -0
- package/lib/components/Feedback/types.js +3 -0
- package/lib/components/Feedback/useReportDialog.d.ts +13 -0
- package/lib/components/Feedback/useReportDialog.js +46 -0
- package/lib/components/Filter/Filter.d.ts +9 -0
- package/lib/components/Filter/Filter.js +199 -0
- package/lib/components/Filter/FilterContent.d.ts +13 -0
- package/lib/components/Filter/FilterContent.js +69 -0
- package/lib/components/Filter/FilterPopover.d.ts +13 -0
- package/lib/components/Filter/FilterPopover.js +106 -0
- package/lib/components/Filter/FilterTag.d.ts +7 -0
- package/lib/components/Filter/FilterTag.js +33 -0
- package/lib/components/Filter/FilterTags.d.ts +7 -0
- package/lib/components/Filter/FilterTags.js +29 -0
- package/lib/components/Filter/index.d.ts +6 -0
- package/lib/components/Filter/index.js +23 -0
- package/lib/components/Filter/styledVariables.d.ts +1 -0
- package/lib/components/Filter/styledVariables.js +111 -0
- package/lib/components/Footer/CustomFooter.d.ts +8 -0
- package/lib/components/Footer/CustomFooter.js +35 -0
- package/lib/components/Footer/CustomFooterNavItem.d.ts +8 -0
- package/lib/components/Footer/CustomFooterNavItem.js +33 -0
- package/lib/components/Footer/Footer.d.ts +11 -0
- package/lib/components/Footer/Footer.js +58 -0
- package/lib/components/Footer/FooterColumn.d.ts +12 -0
- package/lib/components/Footer/FooterColumn.js +111 -0
- package/lib/components/Footer/FooterColumns.d.ts +10 -0
- package/lib/components/Footer/FooterColumns.js +46 -0
- package/lib/components/Footer/FooterCopyright.d.ts +7 -0
- package/lib/components/Footer/FooterCopyright.js +33 -0
- package/lib/components/Footer/index.d.ts +5 -0
- package/lib/components/Footer/index.js +22 -0
- package/lib/components/Footer/styledVariables.d.ts +1 -0
- package/lib/components/Footer/styledVariables.js +61 -0
- package/lib/components/Image/Image.d.ts +9 -0
- package/lib/components/Image/Image.js +31 -0
- package/lib/components/Image/index.d.ts +1 -0
- package/lib/components/Image/index.js +18 -0
- package/lib/components/JsonViewer/JsonViewer.d.ts +14 -0
- package/lib/components/JsonViewer/JsonViewer.js +221 -0
- package/lib/components/JsonViewer/index.d.ts +1 -0
- package/lib/components/JsonViewer/index.js +18 -0
- package/lib/components/LastUpdated/LastUpdated.d.ts +15 -0
- package/lib/components/LastUpdated/LastUpdated.js +84 -0
- package/lib/components/LastUpdated/index.d.ts +2 -0
- package/lib/components/LastUpdated/index.js +19 -0
- package/lib/components/LastUpdated/styledVariables.d.ts +1 -0
- package/lib/components/LastUpdated/styledVariables.js +11 -0
- package/lib/components/Markdown/Admonition.d.ts +12 -0
- package/lib/components/Markdown/Admonition.js +59 -0
- package/lib/components/Markdown/ContainerWrapper.d.ts +3 -0
- package/lib/components/Markdown/ContainerWrapper.js +27 -0
- package/lib/components/Markdown/Details.d.ts +7 -0
- package/lib/components/Markdown/Details.js +17 -0
- package/lib/components/Markdown/Heading.d.ts +8 -0
- package/lib/components/Markdown/Heading.js +48 -0
- package/lib/components/Markdown/MarkdownLayout.d.ts +17 -0
- package/lib/components/Markdown/MarkdownLayout.js +47 -0
- package/lib/components/Markdown/MarkdownWrapper.d.ts +8 -0
- package/lib/components/Markdown/MarkdownWrapper.js +415 -0
- package/lib/components/Markdown/Mermaid.d.ts +9 -0
- package/lib/components/Markdown/Mermaid.js +23 -0
- package/lib/components/Markdown/PageWrapper.d.ts +1 -0
- package/lib/components/Markdown/PageWrapper.js +16 -0
- package/lib/components/Markdown/Sup.d.ts +4 -0
- package/lib/components/Markdown/Sup.js +14 -0
- package/lib/components/Markdown/index.d.ts +10 -0
- package/lib/components/Markdown/index.js +27 -0
- package/lib/components/Markdown/styledVariables.d.ts +3 -0
- package/lib/components/Markdown/styledVariables.js +285 -0
- package/lib/components/Menu/Menu.d.ts +12 -0
- package/lib/components/Menu/Menu.js +28 -0
- package/lib/components/Menu/MenuContainer.d.ts +6 -0
- package/lib/components/Menu/MenuContainer.js +18 -0
- package/lib/components/Menu/MenuGroup.d.ts +10 -0
- package/lib/components/Menu/MenuGroup.js +107 -0
- package/lib/components/Menu/MenuItem.d.ts +3 -0
- package/lib/components/Menu/MenuItem.js +44 -0
- package/lib/components/Menu/MenuItemLabel.d.ts +3 -0
- package/lib/components/Menu/MenuItemLabel.js +51 -0
- package/lib/components/Menu/MenuItemSwitch.d.ts +4 -0
- package/lib/components/Menu/MenuItemSwitch.js +40 -0
- package/lib/components/Menu/MenuLink.d.ts +2 -0
- package/lib/components/Menu/MenuLink.js +16 -0
- package/lib/components/Menu/MenuLinkItem.d.ts +3 -0
- package/lib/components/Menu/MenuLinkItem.js +16 -0
- package/lib/components/Menu/MobileMenu.d.ts +4 -0
- package/lib/components/Menu/MobileMenu.js +144 -0
- package/lib/components/Menu/MobileMenuGroup.d.ts +9 -0
- package/lib/components/Menu/MobileMenuGroup.js +61 -0
- package/lib/components/Menu/constants.d.ts +5 -0
- package/lib/components/Menu/constants.js +10 -0
- package/lib/components/Menu/hooks/use-mobile-menu-items.d.ts +2 -0
- package/lib/components/Menu/hooks/use-mobile-menu-items.js +80 -0
- package/lib/components/Menu/hooks/use-mobile-menu-levels.d.ts +5 -0
- package/lib/components/Menu/hooks/use-mobile-menu-levels.js +46 -0
- package/lib/components/Menu/index.d.ts +13 -0
- package/lib/components/Menu/index.js +30 -0
- package/lib/components/Menu/styledVariables.d.ts +2 -0
- package/lib/components/Menu/styledVariables.js +103 -0
- package/lib/components/Menu/types.d.ts +4 -0
- package/lib/components/Menu/types.js +3 -0
- package/lib/components/Menu/utils.d.ts +8 -0
- package/lib/components/Menu/utils.js +76 -0
- package/lib/components/Navbar/BurgerButton.d.ts +5 -0
- package/lib/components/Navbar/BurgerButton.js +29 -0
- package/lib/components/Navbar/Navbar.d.ts +16 -0
- package/lib/components/Navbar/Navbar.js +159 -0
- package/lib/components/Navbar/NavbarItem.d.ts +20 -0
- package/lib/components/Navbar/NavbarItem.js +128 -0
- package/lib/components/Navbar/NavbarMenu.d.ts +6 -0
- package/lib/components/Navbar/NavbarMenu.js +34 -0
- package/lib/components/Navbar/index.d.ts +5 -0
- package/lib/components/Navbar/index.js +22 -0
- package/lib/components/Navbar/styledVariables.d.ts +1 -0
- package/lib/components/Navbar/styledVariables.js +42 -0
- package/lib/components/NavbarLogo/NavbarLogo.d.ts +10 -0
- package/lib/components/NavbarLogo/NavbarLogo.js +34 -0
- package/lib/components/NavbarLogo/index.d.ts +2 -0
- package/lib/components/NavbarLogo/index.js +19 -0
- package/lib/components/NavbarLogo/styledVariables.d.ts +1 -0
- package/lib/components/NavbarLogo/styledVariables.js +17 -0
- package/lib/components/OpenApiDocs/ClearButton.d.ts +8 -0
- package/lib/components/OpenApiDocs/ClearButton.js +48 -0
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.d.ts +3 -0
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.js +178 -0
- package/lib/components/OpenApiDocs/Dropdown.d.ts +28 -0
- package/lib/components/OpenApiDocs/Dropdown.js +150 -0
- package/lib/components/OpenApiDocs/ScorecardBadges.d.ts +11 -0
- package/lib/components/OpenApiDocs/ScorecardBadges.js +58 -0
- package/lib/components/OpenApiDocs/TryItSecurityApps.d.ts +7 -0
- package/lib/components/OpenApiDocs/TryItSecurityApps.js +15 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperation.js +11 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperationSummary.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperationSummary.js +11 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiTitle.js +11 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperation.js +11 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperationSummary.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperationSummary.js +11 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiFooter.js +8 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiHeader.js +8 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiTryItSecurityPanel.d.ts +1 -0
- package/lib/components/OpenApiDocs/hooks/OpenApiTryItSecurityPanel.js +14 -0
- package/lib/components/OpenApiDocs/index.d.ts +10 -0
- package/lib/components/OpenApiDocs/index.js +27 -0
- package/lib/components/PageNavigation/NextButton.d.ts +8 -0
- package/lib/components/PageNavigation/NextButton.js +53 -0
- package/lib/components/PageNavigation/PageNavigation.d.ts +9 -0
- package/lib/components/PageNavigation/PageNavigation.js +33 -0
- package/lib/components/PageNavigation/PreviousButton.d.ts +8 -0
- package/lib/components/PageNavigation/PreviousButton.js +33 -0
- package/lib/components/PageNavigation/index.d.ts +3 -0
- package/lib/components/PageNavigation/index.js +20 -0
- package/lib/components/Panel/Panel.d.ts +5 -0
- package/lib/components/Panel/Panel.js +39 -0
- package/lib/components/Panel/PanelBody.d.ts +6 -0
- package/lib/components/Panel/PanelBody.js +62 -0
- package/lib/components/Panel/PanelComponent.d.ts +13 -0
- package/lib/components/Panel/PanelComponent.js +65 -0
- package/lib/components/Panel/PanelHeader.d.ts +7 -0
- package/lib/components/Panel/PanelHeader.js +35 -0
- package/lib/components/Panel/PanelHeaderTitle.d.ts +1 -0
- package/lib/components/Panel/PanelHeaderTitle.js +18 -0
- package/lib/components/Panel/index.d.ts +6 -0
- package/lib/components/Panel/index.js +23 -0
- package/lib/components/Panel/styledVariables.d.ts +2 -0
- package/lib/components/Panel/styledVariables.js +482 -0
- package/lib/components/Product/Product.d.ts +7 -0
- package/lib/components/Product/Product.js +23 -0
- package/lib/components/Product/ProductPicker.d.ts +2 -0
- package/lib/components/Product/ProductPicker.js +90 -0
- package/lib/components/Product/index.d.ts +3 -0
- package/lib/components/Product/index.js +20 -0
- package/lib/components/Product/styledVariables.d.ts +2 -0
- package/lib/components/Product/styledVariables.js +42 -0
- package/lib/components/Profile/AuthUserProfile.d.ts +2 -0
- package/lib/components/Profile/AuthUserProfile.js +22 -0
- package/lib/components/Profile/LoginLink.d.ts +5 -0
- package/lib/components/Profile/LoginLink.js +34 -0
- package/lib/components/Profile/MobileUserProfile.d.ts +2 -0
- package/lib/components/Profile/MobileUserProfile.js +64 -0
- package/lib/components/Profile/Profile.d.ts +15 -0
- package/lib/components/Profile/Profile.js +86 -0
- package/lib/components/Profile/UserProfile.d.ts +3 -0
- package/lib/components/Profile/UserProfile.js +107 -0
- package/lib/components/Profile/UserProfileData.d.ts +9 -0
- package/lib/components/Profile/UserProfileData.js +35 -0
- package/lib/components/Profile/index.d.ts +10 -0
- package/lib/components/Profile/index.js +28 -0
- package/lib/components/Profile/styledVariables.d.ts +2 -0
- package/lib/components/Profile/styledVariables.js +55 -0
- package/lib/components/Profile/types.d.ts +12 -0
- package/lib/components/Profile/types.js +3 -0
- package/lib/components/Scorecard/Card.d.ts +5 -0
- package/lib/components/Scorecard/Card.js +37 -0
- package/lib/components/Scorecard/Gauge.d.ts +11 -0
- package/lib/components/Scorecard/Gauge.js +61 -0
- package/lib/components/Scorecard/StatusByLevelWidget.d.ts +12 -0
- package/lib/components/Scorecard/StatusByLevelWidget.js +83 -0
- package/lib/components/Search/CancelSearch.d.ts +5 -0
- package/lib/components/Search/CancelSearch.js +48 -0
- package/lib/components/Search/ClearIcon.d.ts +3 -0
- package/lib/components/Search/ClearIcon.js +26 -0
- package/lib/components/Search/ClockBackwardsIcon.d.ts +3 -0
- package/lib/components/Search/ClockBackwardsIcon.js +26 -0
- package/lib/components/Search/Input.d.ts +1 -0
- package/lib/components/Search/Input.js +27 -0
- package/lib/components/Search/InputWrapper.d.ts +11 -0
- package/lib/components/Search/InputWrapper.js +80 -0
- package/lib/components/Search/MobileSearchTrigger.d.ts +5 -0
- package/lib/components/Search/MobileSearchTrigger.js +52 -0
- package/lib/components/Search/Popover.d.ts +1 -0
- package/lib/components/Search/Popover.js +35 -0
- package/lib/components/Search/ProductTag.d.ts +6 -0
- package/lib/components/Search/ProductTag.js +61 -0
- package/lib/components/Search/RecentSearches.d.ts +5 -0
- package/lib/components/Search/RecentSearches.js +126 -0
- package/lib/components/Search/Search.d.ts +4 -0
- package/lib/components/Search/Search.js +75 -0
- package/lib/components/Search/SearchDialog.d.ts +5 -0
- package/lib/components/Search/SearchDialog.js +146 -0
- package/lib/components/Search/SearchIcon.d.ts +3 -0
- package/lib/components/Search/SearchIcon.js +26 -0
- package/lib/components/Search/SearchItem.d.ts +10 -0
- package/lib/components/Search/SearchItem.js +130 -0
- package/lib/components/Search/SearchTrigger.d.ts +5 -0
- package/lib/components/Search/SearchTrigger.js +76 -0
- package/lib/components/Search/Shortcut.d.ts +6 -0
- package/lib/components/Search/Shortcut.js +51 -0
- package/lib/components/Search/ShortcutKey.d.ts +8 -0
- package/lib/components/Search/ShortcutKey.js +26 -0
- package/lib/components/Search/SuggestedPages.d.ts +4 -0
- package/lib/components/Search/SuggestedPages.js +104 -0
- package/lib/components/Search/index.d.ts +19 -0
- package/lib/components/Search/index.js +36 -0
- package/lib/components/Search/styledVariables.d.ts +1 -0
- package/lib/components/Search/styledVariables.js +98 -0
- package/lib/components/Search/utils.d.ts +2 -0
- package/lib/components/Search/utils.js +46 -0
- package/lib/components/Select/Select.d.ts +33 -0
- package/lib/components/Select/Select.js +139 -0
- package/lib/components/Select/index.d.ts +2 -0
- package/lib/components/Select/index.js +19 -0
- package/lib/components/Select/styledVariables.d.ts +1 -0
- package/lib/components/Select/styledVariables.js +34 -0
- package/lib/components/Separator/Separator.d.ts +3 -0
- package/lib/components/Separator/Separator.js +28 -0
- package/lib/components/Separator/SeparatorItem.d.ts +3 -0
- package/lib/components/Separator/SeparatorItem.js +31 -0
- package/lib/components/Separator/SeparatorLine.d.ts +1 -0
- package/lib/components/Separator/SeparatorLine.js +20 -0
- package/lib/components/Separator/index.d.ts +3 -0
- package/lib/components/Separator/index.js +20 -0
- package/lib/components/Sidebar/ApiCallItem.d.ts +7 -0
- package/lib/components/Sidebar/ApiCallItem.js +47 -0
- package/lib/components/Sidebar/BackButton.d.ts +7 -0
- package/lib/components/Sidebar/BackButton.js +42 -0
- package/lib/components/Sidebar/Drilldown.d.ts +9 -0
- package/lib/components/Sidebar/Drilldown.js +45 -0
- package/lib/components/Sidebar/DrilldownMenu.d.ts +3 -0
- package/lib/components/Sidebar/DrilldownMenu.js +75 -0
- package/lib/components/Sidebar/DrilldownMenuItem.d.ts +3 -0
- package/lib/components/Sidebar/DrilldownMenuItem.js +37 -0
- package/lib/components/Sidebar/FooterWrapper.d.ts +3 -0
- package/lib/components/Sidebar/FooterWrapper.js +22 -0
- package/lib/components/Sidebar/HeaderWrapper.d.ts +1 -0
- package/lib/components/Sidebar/HeaderWrapper.js +16 -0
- package/lib/components/Sidebar/MobileSidebarButton.d.ts +3 -0
- package/lib/components/Sidebar/MobileSidebarButton.js +46 -0
- package/lib/components/Sidebar/MobileSidebarIcon.d.ts +4 -0
- package/lib/components/Sidebar/MobileSidebarIcon.js +16 -0
- package/lib/components/Sidebar/Sidebar.d.ts +6 -0
- package/lib/components/Sidebar/Sidebar.js +56 -0
- package/lib/components/Sidebar/SidebarItemIcon.d.ts +1 -0
- package/lib/components/Sidebar/SidebarItemIcon.js +16 -0
- package/lib/components/Sidebar/SidebarLayout.d.ts +18 -0
- package/lib/components/Sidebar/SidebarLayout.js +82 -0
- package/lib/components/Sidebar/VersionPicker.d.ts +11 -0
- package/lib/components/Sidebar/VersionPicker.js +117 -0
- package/lib/components/Sidebar/index.d.ts +15 -0
- package/lib/components/Sidebar/index.js +32 -0
- package/lib/components/Sidebar/styledVariables.d.ts +2 -0
- package/lib/components/Sidebar/styledVariables.js +222 -0
- package/lib/components/Sidebar/types.d.ts +48 -0
- package/lib/components/Sidebar/types.js +8 -0
- package/lib/components/SidebarActions/ChangeViewButton.d.ts +8 -0
- package/lib/components/SidebarActions/ChangeViewButton.js +14 -0
- package/lib/components/SidebarActions/CollapseSidebarButton.d.ts +7 -0
- package/lib/components/SidebarActions/CollapseSidebarButton.js +53 -0
- package/lib/components/SidebarActions/SidebarActions.d.ts +21 -0
- package/lib/components/SidebarActions/SidebarActions.js +38 -0
- package/lib/components/SidebarActions/ToggleRightPanelButton.d.ts +7 -0
- package/lib/components/SidebarActions/ToggleRightPanelButton.js +13 -0
- package/lib/components/SidebarActions/index.d.ts +4 -0
- package/lib/components/SidebarActions/index.js +24 -0
- package/lib/components/SidebarActions/styled.d.ts +17 -0
- package/lib/components/SidebarActions/styled.js +132 -0
- package/lib/components/SidebarLogo/SidebarLogo.d.ts +10 -0
- package/lib/components/SidebarLogo/SidebarLogo.js +31 -0
- package/lib/components/SidebarLogo/index.d.ts +1 -0
- package/lib/components/SidebarLogo/index.js +18 -0
- package/lib/components/TableOfContent/TableOfContent.d.ts +9 -0
- package/lib/components/TableOfContent/TableOfContent.js +113 -0
- package/lib/components/TableOfContent/index.d.ts +2 -0
- package/lib/components/TableOfContent/index.js +19 -0
- package/lib/components/TableOfContent/styledVariables.d.ts +1 -0
- package/lib/components/TableOfContent/styledVariables.js +47 -0
- package/lib/components/TableOfContent/utils.d.ts +4 -0
- package/lib/components/TableOfContent/utils.js +41 -0
- package/lib/components/Tabs/Tab.d.ts +9 -0
- package/lib/components/Tabs/Tab.js +58 -0
- package/lib/components/Tabs/Tabs.d.ts +12 -0
- package/lib/components/Tabs/Tabs.js +89 -0
- package/lib/components/Tabs/index.d.ts +2 -0
- package/lib/components/Tabs/index.js +19 -0
- package/lib/components/Tag/Tag.d.ts +18 -0
- package/lib/components/Tag/Tag.js +46 -0
- package/lib/components/Tag/index.d.ts +2 -0
- package/lib/components/Tag/index.js +19 -0
- package/lib/components/Tag/styledVariables.d.ts +1 -0
- package/lib/components/Tag/styledVariables.js +148 -0
- package/lib/components/Tiles/ThinTile.d.ts +5 -0
- package/lib/components/Tiles/ThinTile.js +126 -0
- package/lib/components/Tiles/TileHeader.d.ts +3 -0
- package/lib/components/Tiles/TileHeader.js +20 -0
- package/lib/components/Tiles/TileText.d.ts +3 -0
- package/lib/components/Tiles/TileText.js +19 -0
- package/lib/components/Tiles/WideTile.d.ts +7 -0
- package/lib/components/Tiles/WideTile.js +116 -0
- package/lib/components/Tiles/index.d.ts +4 -0
- package/lib/components/Tiles/index.js +21 -0
- package/lib/components/Tiles/types.d.ts +17 -0
- package/lib/components/Tiles/types.js +3 -0
- package/lib/components/Tooltip/Tooltip.d.ts +13 -0
- package/lib/components/Tooltip/Tooltip.js +175 -0
- package/lib/components/Tooltip/index.d.ts +2 -0
- package/lib/components/Tooltip/index.js +19 -0
- package/lib/components/Tooltip/styledVariables.d.ts +1 -0
- package/lib/components/Tooltip/styledVariables.js +21 -0
- package/lib/components/Typography/CompactTypography.d.ts +5 -0
- package/lib/components/Typography/CompactTypography.js +14 -0
- package/lib/components/Typography/Emphasis.d.ts +1 -0
- package/lib/components/Typography/Emphasis.js +14 -0
- package/lib/components/Typography/H1.d.ts +1 -0
- package/lib/components/Typography/H1.js +18 -0
- package/lib/components/Typography/H2.d.ts +1 -0
- package/lib/components/Typography/H2.js +18 -0
- package/lib/components/Typography/H3.d.ts +1 -0
- package/lib/components/Typography/H3.js +18 -0
- package/lib/components/Typography/SectionHeader.d.ts +1 -0
- package/lib/components/Typography/SectionHeader.js +20 -0
- package/lib/components/Typography/Typography.d.ts +13 -0
- package/lib/components/Typography/Typography.js +23 -0
- package/lib/components/Typography/index.d.ts +7 -0
- package/lib/components/Typography/index.js +24 -0
- package/lib/components/index.d.ts +29 -0
- package/lib/components/index.js +46 -0
- package/lib/config.d.ts +2441 -0
- package/lib/config.js +614 -0
- package/lib/globalStyle.d.ts +2 -0
- package/lib/globalStyle.js +994 -0
- package/lib/hooks/__tests__/mocks/MockIntersectionObserver.d.ts +15 -0
- package/lib/hooks/__tests__/mocks/MockIntersectionObserver.js +79 -0
- package/lib/hooks/index.d.ts +9 -0
- package/lib/hooks/index.js +26 -0
- package/lib/hooks/useActiveHeading.d.ts +2 -0
- package/lib/hooks/useActiveHeading.js +80 -0
- package/lib/hooks/useActiveSectionId.d.ts +3 -0
- package/lib/hooks/useActiveSectionId.js +44 -0
- package/lib/hooks/useControl.d.ts +6 -0
- package/lib/hooks/useControl.js +16 -0
- package/lib/hooks/useDialogHotKeys.d.ts +2 -0
- package/lib/hooks/useDialogHotKeys.js +45 -0
- package/lib/hooks/useFullHeight.d.ts +2 -0
- package/lib/hooks/useFullHeight.js +48 -0
- package/lib/hooks/useMobileMenu.d.ts +2 -0
- package/lib/hooks/useMobileMenu.js +18 -0
- package/lib/hooks/useModalScrollLock.d.ts +1 -0
- package/lib/hooks/useModalScrollLock.js +16 -0
- package/lib/hooks/useMount.d.ts +1 -0
- package/lib/hooks/useMount.js +12 -0
- package/lib/hooks/useNavbarHeight.d.ts +3 -0
- package/lib/hooks/useNavbarHeight.js +21 -0
- package/lib/hooks/useOutsideClick.d.ts +2 -0
- package/lib/hooks/useOutsideClick.js +22 -0
- package/lib/hooks/useThemeConfig.d.ts +4 -0
- package/lib/hooks/useThemeConfig.js +15 -0
- package/lib/hooks/useUnmount.d.ts +1 -0
- package/lib/hooks/useUnmount.js +14 -0
- package/lib/i18n/LanguagePicker.d.ts +9 -0
- package/lib/i18n/LanguagePicker.js +99 -0
- package/lib/i18n/index.d.ts +2 -0
- package/lib/i18n/index.js +21 -0
- package/lib/i18n/styledVariables.d.ts +1 -0
- package/lib/i18n/styledVariables.js +40 -0
- package/lib/icons/AlertIcon/AlertIcon.d.ts +10 -0
- package/lib/icons/AlertIcon/AlertIcon.js +51 -0
- package/lib/icons/AlertIcon/index.d.ts +2 -0
- package/lib/icons/AlertIcon/index.js +6 -0
- package/lib/icons/AnchorIcon/AnchorIcon.d.ts +7 -0
- package/lib/icons/AnchorIcon/AnchorIcon.js +23 -0
- package/lib/icons/AnchorIcon/index.d.ts +2 -0
- package/lib/icons/AnchorIcon/index.js +6 -0
- package/lib/icons/ArrowIcon/ArrowIcon.d.ts +8 -0
- package/lib/icons/ArrowIcon/ArrowIcon.js +60 -0
- package/lib/icons/ArrowIcon/index.d.ts +2 -0
- package/lib/icons/ArrowIcon/index.js +6 -0
- package/lib/icons/BurgerIcon/BurgerIcon.d.ts +5 -0
- package/lib/icons/BurgerIcon/BurgerIcon.js +15 -0
- package/lib/icons/BurgerIcon/index.d.ts +1 -0
- package/lib/icons/BurgerIcon/index.js +6 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +6 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +28 -0
- package/lib/icons/CheckboxIcon/index.d.ts +1 -0
- package/lib/icons/CheckboxIcon/index.js +6 -0
- package/lib/icons/CloseIcon/CloseIcon.d.ts +5 -0
- package/lib/icons/CloseIcon/CloseIcon.js +16 -0
- package/lib/icons/CloseIcon/index.d.ts +1 -0
- package/lib/icons/CloseIcon/index.js +6 -0
- package/lib/icons/CollapseIcon/CollapseIcon.d.ts +7 -0
- package/lib/icons/CollapseIcon/CollapseIcon.js +22 -0
- package/lib/icons/CollapseIcon/index.d.ts +1 -0
- package/lib/icons/CollapseIcon/index.js +18 -0
- package/lib/icons/ColorModeIcon/ColorModeIcon.d.ts +10 -0
- package/lib/icons/ColorModeIcon/ColorModeIcon.js +33 -0
- package/lib/icons/ColorModeIcon/index.d.ts +2 -0
- package/lib/icons/ColorModeIcon/index.js +6 -0
- package/lib/icons/CopyIcon/CopyIcon.d.ts +6 -0
- package/lib/icons/CopyIcon/CopyIcon.js +16 -0
- package/lib/icons/CopyIcon/index.d.ts +1 -0
- package/lib/icons/CopyIcon/index.js +18 -0
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +7 -0
- package/lib/icons/DeselectIcon/DeselectIcon.js +19 -0
- package/lib/icons/DeselectIcon/index.d.ts +1 -0
- package/lib/icons/DeselectIcon/index.js +18 -0
- package/lib/icons/DissatisfiedIcon/DissatisfiedIcon.d.ts +4 -0
- package/lib/icons/DissatisfiedIcon/DissatisfiedIcon.js +18 -0
- package/lib/icons/DissatisfiedIcon/index.d.ts +1 -0
- package/lib/icons/DissatisfiedIcon/index.js +18 -0
- package/lib/icons/EditIcon/EditIcon.d.ts +6 -0
- package/lib/icons/EditIcon/EditIcon.js +18 -0
- package/lib/icons/EditIcon/index.d.ts +1 -0
- package/lib/icons/EditIcon/index.js +18 -0
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +4 -0
- package/lib/icons/ErrorIcon/ErrorIcon.js +14 -0
- package/lib/icons/ErrorIcon/index.d.ts +1 -0
- package/lib/icons/ErrorIcon/index.js +18 -0
- package/lib/icons/ExpandIcon/ExpandIcon.d.ts +6 -0
- package/lib/icons/ExpandIcon/ExpandIcon.js +22 -0
- package/lib/icons/ExpandIcon/index.d.ts +1 -0
- package/lib/icons/ExpandIcon/index.js +6 -0
- package/lib/icons/ExternalIcon/ExternalIcon.d.ts +5 -0
- package/lib/icons/ExternalIcon/ExternalIcon.js +22 -0
- package/lib/icons/ExternalIcon/index.d.ts +1 -0
- package/lib/icons/ExternalIcon/index.js +18 -0
- package/lib/icons/FileIcon/FileIcon.d.ts +6 -0
- package/lib/icons/FileIcon/FileIcon.js +17 -0
- package/lib/icons/FileIcon/index.d.ts +1 -0
- package/lib/icons/FileIcon/index.js +18 -0
- package/lib/icons/LanguageIcon/LanguageIcon.d.ts +4 -0
- package/lib/icons/LanguageIcon/LanguageIcon.js +14 -0
- package/lib/icons/LanguageIcon/index.d.ts +1 -0
- package/lib/icons/LanguageIcon/index.js +18 -0
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +5 -0
- package/lib/icons/LogoutIcon/LogoutIcon.js +17 -0
- package/lib/icons/LogoutIcon/index.d.ts +1 -0
- package/lib/icons/LogoutIcon/index.js +6 -0
- package/lib/icons/NeutralIcon/NeutralIcon.d.ts +4 -0
- package/lib/icons/NeutralIcon/NeutralIcon.js +18 -0
- package/lib/icons/NeutralIcon/index.d.ts +1 -0
- package/lib/icons/NeutralIcon/index.js +18 -0
- package/lib/icons/PlusIcon/PlusIcon.d.ts +5 -0
- package/lib/icons/PlusIcon/PlusIcon.js +16 -0
- package/lib/icons/PlusIcon/index.d.ts +1 -0
- package/lib/icons/PlusIcon/index.js +18 -0
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.d.ts +4 -0
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.js +15 -0
- package/lib/icons/PointingArrowIcon/index.d.ts +1 -0
- package/lib/icons/PointingArrowIcon/index.js +18 -0
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.d.ts +4 -0
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.js +16 -0
- package/lib/icons/RadioCheckButtonIcon/index.d.ts +1 -0
- package/lib/icons/RadioCheckButtonIcon/index.js +18 -0
- package/lib/icons/ReportIcon/ReportIcon.d.ts +6 -0
- package/lib/icons/ReportIcon/ReportIcon.js +19 -0
- package/lib/icons/ReportIcon/index.d.ts +1 -0
- package/lib/icons/ReportIcon/index.js +18 -0
- package/lib/icons/RocketIcon/RocketIcon.d.ts +7 -0
- package/lib/icons/RocketIcon/RocketIcon.js +15 -0
- package/lib/icons/RocketIcon/index.d.ts +1 -0
- package/lib/icons/RocketIcon/index.js +18 -0
- package/lib/icons/SatisfiedIcon/SatisfiedIcon.d.ts +4 -0
- package/lib/icons/SatisfiedIcon/SatisfiedIcon.js +18 -0
- package/lib/icons/SatisfiedIcon/index.d.ts +1 -0
- package/lib/icons/SatisfiedIcon/index.js +18 -0
- package/lib/icons/SelectIcon/SelectIcon.d.ts +6 -0
- package/lib/icons/SelectIcon/SelectIcon.js +19 -0
- package/lib/icons/SelectIcon/index.d.ts +1 -0
- package/lib/icons/SelectIcon/index.js +18 -0
- package/lib/icons/ShelfIcon/ShelfIcon.d.ts +12 -0
- package/lib/icons/ShelfIcon/ShelfIcon.js +52 -0
- package/lib/icons/ShelfIcon/index.d.ts +2 -0
- package/lib/icons/ShelfIcon/index.js +6 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.d.ts +8 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.js +30 -0
- package/lib/icons/SpinnerIcon/index.d.ts +1 -0
- package/lib/icons/SpinnerIcon/index.js +6 -0
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.d.ts +4 -0
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.js +14 -0
- package/lib/icons/ThumbDownIcon/index.d.ts +1 -0
- package/lib/icons/ThumbDownIcon/index.js +18 -0
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.d.ts +4 -0
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.js +14 -0
- package/lib/icons/ThumbUpIcon/index.d.ts +1 -0
- package/lib/icons/ThumbUpIcon/index.js +18 -0
- package/lib/icons/index.d.ts +26 -0
- package/lib/icons/index.js +43 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +27 -0
- package/lib/layouts/Forbidden.d.ts +2 -0
- package/lib/layouts/Forbidden.js +45 -0
- package/lib/layouts/NotFound.d.ts +2 -0
- package/lib/layouts/NotFound.js +45 -0
- package/lib/layouts/OIDCForbidden.d.ts +2 -0
- package/lib/layouts/OIDCForbidden.js +92 -0
- package/lib/layouts/PageLayout.d.ts +6 -0
- package/lib/layouts/PageLayout.js +29 -0
- package/lib/layouts/RootLayout.d.ts +6 -0
- package/lib/layouts/RootLayout.js +19 -0
- package/lib/layouts/index.d.ts +5 -0
- package/lib/layouts/index.js +22 -0
- package/lib/mocks/Feedback/useSubmitFeedback.d.ts +1 -0
- package/lib/mocks/Feedback/useSubmitFeedback.js +18 -0
- package/lib/mocks/Link.d.ts +2 -0
- package/lib/mocks/Link.js +27 -0
- package/lib/mocks/Profile/useProfileProps.d.ts +1 -0
- package/lib/mocks/Profile/useProfileProps.js +17 -0
- package/lib/mocks/Sidebar/getMenuType.d.ts +2 -0
- package/lib/mocks/Sidebar/getMenuType.js +10 -0
- package/lib/mocks/Sidebar/types.d.ts +11 -0
- package/lib/mocks/Sidebar/types.js +11 -0
- package/lib/mocks/Sidebar/useBreadcrumbs.d.ts +4 -0
- package/lib/mocks/Sidebar/useBreadcrumbs.js +8 -0
- package/lib/mocks/Sidebar/useDrilldown.d.ts +8 -0
- package/lib/mocks/Sidebar/useDrilldown.js +19 -0
- package/lib/mocks/Sidebar/useMenuGroup.d.ts +6 -0
- package/lib/mocks/Sidebar/useMenuGroup.js +17 -0
- package/lib/mocks/Sidebar/useSidebarItems.d.ts +3 -0
- package/lib/mocks/Sidebar/useSidebarItems.js +8 -0
- package/lib/mocks/constants/index.d.ts +2 -0
- package/lib/mocks/constants/index.js +6 -0
- package/lib/mocks/hooks/index.d.ts +35 -0
- package/lib/mocks/hooks/index.js +109 -0
- package/lib/mocks/hooks/usePageData.d.ts +6 -0
- package/lib/mocks/hooks/usePageData.js +11 -0
- package/lib/mocks/media-css.d.ts +5 -0
- package/lib/mocks/media-css.js +5 -0
- package/lib/mocks/search.d.ts +32 -0
- package/lib/mocks/search.js +46 -0
- package/lib/mocks/telemetry.d.ts +2 -0
- package/lib/mocks/telemetry.js +7 -0
- package/lib/mocks/types/index.d.ts +1 -0
- package/lib/mocks/types/index.js +3 -0
- package/lib/mocks/types.d.ts +3 -0
- package/lib/mocks/types.js +4 -0
- package/lib/mocks/useGlobalData.d.ts +1 -0
- package/lib/mocks/useGlobalData.js +8 -0
- package/lib/mocks/usePreloadHistory.d.ts +3 -0
- package/lib/mocks/usePreloadHistory.js +13 -0
- package/lib/mocks/utils.d.ts +7 -0
- package/lib/mocks/utils.js +22 -0
- package/lib/types/config.d.ts +5 -0
- package/lib/types/config.js +3 -0
- package/lib/types/portal/index.d.ts +3 -0
- package/lib/types/portal/index.js +19 -0
- package/lib/types/portal/src/shared/constants.d.ts +21 -0
- package/lib/types/portal/src/shared/constants.js +26 -0
- package/lib/types/portal/src/shared/types/activeItem.d.ts +3 -0
- package/lib/types/portal/src/shared/types/activeItem.js +3 -0
- package/lib/types/portal/src/shared/types/catalog.d.ts +43 -0
- package/lib/types/portal/src/shared/types/catalog.js +3 -0
- package/lib/types/portal/src/shared/types/feedback.d.ts +13 -0
- package/lib/types/portal/src/shared/types/feedback.js +3 -0
- package/lib/types/portal/src/shared/types/markdown.d.ts +5 -0
- package/lib/types/portal/src/shared/types/markdown.js +3 -0
- package/lib/types/portal/src/shared/types/nav.d.ts +173 -0
- package/lib/types/portal/src/shared/types/nav.js +8 -0
- package/lib/types/portal/src/shared/types/searchDocument.d.ts +21 -0
- package/lib/types/portal/src/shared/types/searchDocument.js +5 -0
- package/lib/ui/ArrowBack.d.ts +5 -0
- package/lib/ui/ArrowBack.js +21 -0
- package/lib/ui/Background.d.ts +7 -0
- package/lib/ui/Background.js +21 -0
- package/lib/ui/Box.d.ts +6 -0
- package/lib/ui/Box.js +22 -0
- package/lib/ui/Burger.d.ts +8 -0
- package/lib/ui/Burger.js +32 -0
- package/lib/ui/Checkbox.d.ts +1 -0
- package/lib/ui/Checkbox.js +70 -0
- package/lib/ui/Dropdown.d.ts +8 -0
- package/lib/ui/Dropdown.js +114 -0
- package/lib/ui/Flex.d.ts +10 -0
- package/lib/ui/Flex.js +21 -0
- package/lib/ui/Highlight.d.ts +5 -0
- package/lib/ui/Highlight.js +63 -0
- package/lib/ui/Jumbotron.d.ts +18 -0
- package/lib/ui/Jumbotron.js +51 -0
- package/lib/ui/darkColors.d.ts +1 -0
- package/lib/ui/darkColors.js +225 -0
- package/lib/ui/index.d.ts +9 -0
- package/lib/ui/index.js +27 -0
- package/lib/utils/ClipboardService.d.ts +4 -0
- package/lib/utils/ClipboardService.js +33 -0
- package/lib/utils/args-typecheck.d.ts +2 -0
- package/lib/utils/args-typecheck.js +14 -0
- package/lib/utils/class-names.d.ts +1 -0
- package/lib/utils/class-names.js +12 -0
- package/lib/utils/color.d.ts +1 -0
- package/lib/utils/color.js +15 -0
- package/lib/utils/css-variables.d.ts +1 -0
- package/lib/utils/css-variables.js +6 -0
- package/lib/utils/getNavbarElement.d.ts +1 -0
- package/lib/utils/getNavbarElement.js +15 -0
- package/lib/utils/highlight.d.ts +35 -0
- package/lib/utils/highlight.js +105 -0
- package/lib/utils/index.d.ts +13 -0
- package/lib/utils/index.js +30 -0
- package/lib/utils/isUrl.d.ts +12 -0
- package/lib/utils/isUrl.js +37 -0
- package/lib/utils/jsUtils.d.ts +4 -0
- package/lib/utils/jsUtils.js +21 -0
- package/lib/utils/jsonToHtml.d.ts +4 -0
- package/lib/utils/jsonToHtml.js +180 -0
- package/lib/utils/media-css.d.ts +12 -0
- package/lib/utils/media-css.js +13 -0
- package/lib/utils/replaceHashInColor.d.ts +1 -0
- package/lib/utils/replaceHashInColor.js +8 -0
- package/lib/utils/tags-parser.d.ts +1 -0
- package/lib/utils/tags-parser.js +10 -0
- package/lib/utils/text-transform.d.ts +1 -0
- package/lib/utils/text-transform.js +8 -0
- package/lib/utils/theme-helpers.d.ts +4 -0
- package/lib/utils/theme-helpers.js +75 -0
- package/lib/utils/urls.d.ts +11 -0
- package/lib/utils/urls.js +55 -0
- package/package.json +112 -0
- package/src/components/ApiOnboarding/AppCustomAttributes.tsx +9 -0
- package/src/components/Breadcrumbs/Breadcrumb.tsx +59 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +60 -0
- package/src/components/Breadcrumbs/index.ts +3 -0
- package/src/components/Breadcrumbs/styledVariables.ts +17 -0
- package/src/components/Button/Button.tsx +170 -0
- package/src/components/Button/index.ts +2 -0
- package/src/components/Button/styledVariables.ts +115 -0
- package/src/components/Cards/Card.tsx +54 -0
- package/src/components/Cards/CardsBlock.tsx +10 -0
- package/src/components/Cards/index.ts +2 -0
- package/src/components/Catalog/Catalog.tsx +234 -0
- package/src/components/Catalog/CatalogCard.tsx +171 -0
- package/src/components/Catalog/index.ts +4 -0
- package/src/components/Catalog/styledVariables.ts +94 -0
- package/src/components/Catalog/useCatalog.ts +373 -0
- package/src/components/CodeBlock/CodeBlock.tsx +104 -0
- package/src/components/CodeBlock/CodeBlockContainer.tsx +124 -0
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +28 -0
- package/src/components/CodeBlock/CodeBlockControls.tsx +188 -0
- package/src/components/CodeBlock/index.ts +5 -0
- package/src/components/CodeBlock/styledVariables.ts +89 -0
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +78 -0
- package/src/components/ColorModeSwitcher/index.ts +1 -0
- package/src/components/CopyButton/CopyButton.tsx +78 -0
- package/src/components/CopyButton/index.ts +1 -0
- package/src/components/Dropdown/Dropdown.tsx +147 -0
- package/src/components/Dropdown/index.ts +2 -0
- package/src/components/Dropdown/styledVariables.ts +27 -0
- package/src/components/EditPageButton/EditPageButton.tsx +54 -0
- package/src/components/EditPageButton/index.ts +1 -0
- package/src/components/Feedback/Comment.tsx +140 -0
- package/src/components/Feedback/Emotions.tsx +38 -0
- package/src/components/Feedback/Feedback.tsx +94 -0
- package/src/components/Feedback/Mood.tsx +236 -0
- package/src/components/Feedback/Rating.tsx +155 -0
- package/src/components/Feedback/Reasons.tsx +90 -0
- package/src/components/Feedback/ReportDialog.tsx +56 -0
- package/src/components/Feedback/Scale.tsx +225 -0
- package/src/components/Feedback/Sentiment.tsx +197 -0
- package/src/components/Feedback/Stars.tsx +51 -0
- package/src/components/Feedback/Thumbs.tsx +27 -0
- package/src/components/Feedback/index.ts +10 -0
- package/src/components/Feedback/types.ts +115 -0
- package/src/components/Feedback/useReportDialog.ts +57 -0
- package/src/components/Filter/Filter.tsx +276 -0
- package/src/components/Filter/FilterContent.tsx +105 -0
- package/src/components/Filter/FilterPopover.tsx +146 -0
- package/src/components/Filter/FilterTag.tsx +37 -0
- package/src/components/Filter/FilterTags.tsx +39 -0
- package/src/components/Filter/index.ts +6 -0
- package/src/components/Filter/styledVariables.ts +108 -0
- package/src/components/Footer/CustomFooter.tsx +46 -0
- package/src/components/Footer/CustomFooterNavItem.tsx +41 -0
- package/src/components/Footer/Footer.tsx +78 -0
- package/src/components/Footer/FooterColumn.tsx +151 -0
- package/src/components/Footer/FooterColumns.tsx +56 -0
- package/src/components/Footer/FooterCopyright.tsx +45 -0
- package/src/components/Footer/index.ts +5 -0
- package/src/components/Footer/styledVariables.ts +58 -0
- package/src/components/Image/Image.tsx +47 -0
- package/src/components/Image/index.ts +1 -0
- package/src/components/JsonViewer/JsonViewer.tsx +226 -0
- package/src/components/JsonViewer/index.ts +1 -0
- package/src/components/LastUpdated/LastUpdated.tsx +85 -0
- package/src/components/LastUpdated/index.ts +2 -0
- package/src/components/LastUpdated/styledVariables.ts +8 -0
- package/src/components/Markdown/Admonition.tsx +85 -0
- package/src/components/Markdown/ContainerWrapper.tsx +21 -0
- package/src/components/Markdown/Details.tsx +24 -0
- package/src/components/Markdown/Heading.tsx +47 -0
- package/src/components/Markdown/MarkdownLayout.tsx +75 -0
- package/src/components/Markdown/MarkdownWrapper.tsx +398 -0
- package/src/components/Markdown/Mermaid.tsx +38 -0
- package/src/components/Markdown/PageWrapper.tsx +10 -0
- package/src/components/Markdown/Sup.tsx +17 -0
- package/src/components/Markdown/index.ts +10 -0
- package/src/components/Markdown/styledVariables.ts +284 -0
- package/src/components/Menu/Menu.tsx +46 -0
- package/src/components/Menu/MenuContainer.tsx +17 -0
- package/src/components/Menu/MenuGroup.tsx +122 -0
- package/src/components/Menu/MenuItem.tsx +48 -0
- package/src/components/Menu/MenuItemLabel.tsx +46 -0
- package/src/components/Menu/MenuItemSwitch.tsx +61 -0
- package/src/components/Menu/MenuLink.tsx +11 -0
- package/src/components/Menu/MenuLinkItem.tsx +30 -0
- package/src/components/Menu/MobileMenu.tsx +151 -0
- package/src/components/Menu/MobileMenuGroup.tsx +93 -0
- package/src/components/Menu/constants.ts +5 -0
- package/src/components/Menu/hooks/use-mobile-menu-items.ts +96 -0
- package/src/components/Menu/hooks/use-mobile-menu-levels.ts +50 -0
- package/src/components/Menu/index.ts +13 -0
- package/src/components/Menu/styledVariables.ts +101 -0
- package/src/components/Menu/types.ts +4 -0
- package/src/components/Menu/utils.ts +110 -0
- package/src/components/Navbar/BurgerButton.tsx +34 -0
- package/src/components/Navbar/Navbar.tsx +178 -0
- package/src/components/Navbar/NavbarItem.tsx +148 -0
- package/src/components/Navbar/NavbarMenu.tsx +43 -0
- package/src/components/Navbar/index.ts +5 -0
- package/src/components/Navbar/styledVariables.ts +39 -0
- package/src/components/NavbarLogo/NavbarLogo.tsx +48 -0
- package/src/components/NavbarLogo/index.ts +2 -0
- package/src/components/NavbarLogo/styledVariables.ts +14 -0
- package/src/components/OpenApiDocs/ClearButton.tsx +32 -0
- package/src/components/OpenApiDocs/DevOnboardingTryItSecurity.tsx +176 -0
- package/src/components/OpenApiDocs/Dropdown.tsx +202 -0
- package/src/components/OpenApiDocs/ScorecardBadges.tsx +83 -0
- package/src/components/OpenApiDocs/TryItSecurityApps.tsx +17 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiOperation.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiOperationSummary.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/AfterOpenApiTitle.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/BeforeOpenApiOperation.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/BeforeOpenApiOperationSummary.tsx +9 -0
- package/src/components/OpenApiDocs/hooks/OpenApiFooter.tsx +5 -0
- package/src/components/OpenApiDocs/hooks/OpenApiHeader.tsx +5 -0
- package/src/components/OpenApiDocs/hooks/OpenApiTryItSecurityPanel.tsx +12 -0
- package/src/components/OpenApiDocs/index.ts +10 -0
- package/src/components/PageNavigation/NextButton.tsx +46 -0
- package/src/components/PageNavigation/PageNavigation.tsx +46 -0
- package/src/components/PageNavigation/PreviousButton.tsx +49 -0
- package/src/components/PageNavigation/index.ts +3 -0
- package/src/components/Panel/Panel.ts +34 -0
- package/src/components/Panel/PanelBody.ts +43 -0
- package/src/components/Panel/PanelComponent.tsx +79 -0
- package/src/components/Panel/PanelHeader.ts +37 -0
- package/src/components/Panel/PanelHeaderTitle.ts +12 -0
- package/src/components/Panel/index.ts +6 -0
- package/src/components/Panel/styledVariables.ts +480 -0
- package/src/components/Product/Product.tsx +28 -0
- package/src/components/Product/ProductPicker.tsx +96 -0
- package/src/components/Product/index.ts +3 -0
- package/src/components/Product/styledVariables.ts +40 -0
- package/src/components/Profile/AuthUserProfile.tsx +25 -0
- package/src/components/Profile/LoginLink.tsx +42 -0
- package/src/components/Profile/MobileUserProfile.tsx +79 -0
- package/src/components/Profile/Profile.tsx +85 -0
- package/src/components/Profile/UserProfile.tsx +118 -0
- package/src/components/Profile/UserProfileData.tsx +40 -0
- package/src/components/Profile/index.ts +10 -0
- package/src/components/Profile/styledVariables.ts +53 -0
- package/src/components/Profile/types.ts +12 -0
- package/src/components/Scorecard/Card.tsx +33 -0
- package/src/components/Scorecard/Gauge.tsx +52 -0
- package/src/components/Scorecard/StatusByLevelWidget.tsx +71 -0
- package/src/components/Search/CancelSearch.tsx +32 -0
- package/src/components/Search/ClearIcon.tsx +34 -0
- package/src/components/Search/ClockBackwardsIcon.tsx +26 -0
- package/src/components/Search/Input.tsx +21 -0
- package/src/components/Search/InputWrapper.tsx +89 -0
- package/src/components/Search/MobileSearchTrigger.tsx +38 -0
- package/src/components/Search/Popover.tsx +29 -0
- package/src/components/Search/ProductTag.tsx +46 -0
- package/src/components/Search/RecentSearches.tsx +130 -0
- package/src/components/Search/Search.tsx +59 -0
- package/src/components/Search/SearchDialog.tsx +178 -0
- package/src/components/Search/SearchIcon.tsx +39 -0
- package/src/components/Search/SearchItem.tsx +152 -0
- package/src/components/Search/SearchTrigger.tsx +65 -0
- package/src/components/Search/Shortcut.tsx +34 -0
- package/src/components/Search/ShortcutKey.tsx +27 -0
- package/src/components/Search/SuggestedPages.tsx +96 -0
- package/src/components/Search/index.ts +19 -0
- package/src/components/Search/styledVariables.ts +95 -0
- package/src/components/Search/utils.tsx +20 -0
- package/src/components/Select/Select.tsx +189 -0
- package/src/components/Select/index.ts +2 -0
- package/src/components/Select/styledVariables.ts +31 -0
- package/src/components/Separator/Separator.tsx +34 -0
- package/src/components/Separator/SeparatorItem.tsx +28 -0
- package/src/components/Separator/SeparatorLine.tsx +14 -0
- package/src/components/Separator/index.ts +3 -0
- package/src/components/Sidebar/ApiCallItem.tsx +53 -0
- package/src/components/Sidebar/BackButton.tsx +50 -0
- package/src/components/Sidebar/Drilldown.tsx +49 -0
- package/src/components/Sidebar/DrilldownMenu.tsx +65 -0
- package/src/components/Sidebar/DrilldownMenuItem.tsx +41 -0
- package/src/components/Sidebar/FooterWrapper.tsx +16 -0
- package/src/components/Sidebar/HeaderWrapper.tsx +10 -0
- package/src/components/Sidebar/MobileSidebarButton.tsx +41 -0
- package/src/components/Sidebar/MobileSidebarIcon.tsx +18 -0
- package/src/components/Sidebar/Sidebar.tsx +55 -0
- package/src/components/Sidebar/SidebarItemIcon.tsx +10 -0
- package/src/components/Sidebar/SidebarLayout.tsx +109 -0
- package/src/components/Sidebar/VersionPicker.tsx +112 -0
- package/src/components/Sidebar/index.ts +15 -0
- package/src/components/Sidebar/styledVariables.ts +220 -0
- package/src/components/Sidebar/types.ts +52 -0
- package/src/components/SidebarActions/ChangeViewButton.tsx +24 -0
- package/src/components/SidebarActions/CollapseSidebarButton.tsx +45 -0
- package/src/components/SidebarActions/SidebarActions.tsx +89 -0
- package/src/components/SidebarActions/ToggleRightPanelButton.tsx +25 -0
- package/src/components/SidebarActions/index.tsx +4 -0
- package/src/components/SidebarActions/styled.tsx +156 -0
- package/src/components/SidebarLogo/SidebarLogo.tsx +54 -0
- package/src/components/SidebarLogo/index.ts +1 -0
- package/src/components/TableOfContent/TableOfContent.tsx +127 -0
- package/src/components/TableOfContent/index.ts +2 -0
- package/src/components/TableOfContent/styledVariables.ts +44 -0
- package/src/components/TableOfContent/utils.ts +42 -0
- package/src/components/Tabs/Tab.tsx +69 -0
- package/src/components/Tabs/Tabs.tsx +79 -0
- package/src/components/Tabs/index.ts +2 -0
- package/src/components/Tag/Tag.tsx +72 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/Tag/styledVariables.ts +145 -0
- package/src/components/Tiles/ThinTile.tsx +136 -0
- package/src/components/Tiles/TileHeader.ts +14 -0
- package/src/components/Tiles/TileText.tsx +13 -0
- package/src/components/Tiles/WideTile.tsx +140 -0
- package/src/components/Tiles/index.ts +4 -0
- package/src/components/Tiles/types.ts +19 -0
- package/src/components/Tooltip/Tooltip.tsx +202 -0
- package/src/components/Tooltip/index.ts +2 -0
- package/src/components/Tooltip/styledVariables.ts +18 -0
- package/src/components/Typography/CompactTypography.ts +9 -0
- package/src/components/Typography/Emphasis.ts +8 -0
- package/src/components/Typography/H1.ts +13 -0
- package/src/components/Typography/H2.ts +13 -0
- package/src/components/Typography/H3.ts +13 -0
- package/src/components/Typography/SectionHeader.ts +14 -0
- package/src/components/Typography/Typography.ts +30 -0
- package/src/components/Typography/index.ts +7 -0
- package/src/components/index.ts +29 -0
- package/src/config.ts +752 -0
- package/src/globalStyle.ts +1010 -0
- package/src/hooks/__tests__/mocks/MockIntersectionObserver.ts +48 -0
- package/src/hooks/index.ts +9 -0
- package/src/hooks/useActiveHeading.ts +110 -0
- package/src/hooks/useActiveSectionId.ts +54 -0
- package/src/hooks/useControl.ts +20 -0
- package/src/hooks/useDialogHotKeys.ts +48 -0
- package/src/hooks/useFullHeight.ts +49 -0
- package/src/hooks/useMobileMenu.ts +16 -0
- package/src/hooks/useModalScrollLock.ts +12 -0
- package/src/hooks/useMount.ts +8 -0
- package/src/hooks/useNavbarHeight.ts +25 -0
- package/src/hooks/useOutsideClick.ts +23 -0
- package/src/hooks/useThemeConfig.ts +24 -0
- package/src/hooks/useUnmount.ts +10 -0
- package/src/i18n/LanguagePicker.tsx +120 -0
- package/src/i18n/index.ts +2 -0
- package/src/i18n/styledVariables.ts +37 -0
- package/src/icons/AlertIcon/AlertIcon.tsx +111 -0
- package/src/icons/AlertIcon/index.ts +2 -0
- package/src/icons/AnchorIcon/AnchorIcon.tsx +36 -0
- package/src/icons/AnchorIcon/index.ts +2 -0
- package/src/icons/ArrowIcon/ArrowIcon.tsx +61 -0
- package/src/icons/ArrowIcon/index.ts +2 -0
- package/src/icons/BurgerIcon/BurgerIcon.tsx +12 -0
- package/src/icons/BurgerIcon/index.ts +1 -0
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +64 -0
- package/src/icons/CheckboxIcon/index.ts +1 -0
- package/src/icons/CloseIcon/CloseIcon.tsx +13 -0
- package/src/icons/CloseIcon/index.ts +1 -0
- package/src/icons/CollapseIcon/CollapseIcon.tsx +40 -0
- package/src/icons/CollapseIcon/index.tsx +1 -0
- package/src/icons/ColorModeIcon/ColorModeIcon.tsx +57 -0
- package/src/icons/ColorModeIcon/index.ts +2 -0
- package/src/icons/CopyIcon/CopyIcon.tsx +32 -0
- package/src/icons/CopyIcon/index.ts +1 -0
- package/src/icons/DeselectIcon/DeselectIcon.tsx +28 -0
- package/src/icons/DeselectIcon/index.ts +1 -0
- package/src/icons/DissatisfiedIcon/DissatisfiedIcon.tsx +28 -0
- package/src/icons/DissatisfiedIcon/index.ts +1 -0
- package/src/icons/EditIcon/EditIcon.tsx +30 -0
- package/src/icons/EditIcon/index.ts +1 -0
- package/src/icons/ErrorIcon/ErrorIcon.tsx +15 -0
- package/src/icons/ErrorIcon/index.ts +1 -0
- package/src/icons/ExpandIcon/ExpandIcon.tsx +39 -0
- package/src/icons/ExpandIcon/index.ts +1 -0
- package/src/icons/ExternalIcon/ExternalIcon.tsx +44 -0
- package/src/icons/ExternalIcon/index.ts +1 -0
- package/src/icons/FileIcon/FileIcon.tsx +28 -0
- package/src/icons/FileIcon/index.ts +1 -0
- package/src/icons/LanguageIcon/LanguageIcon.tsx +15 -0
- package/src/icons/LanguageIcon/index.ts +1 -0
- package/src/icons/LogoutIcon/LogoutIcon.tsx +20 -0
- package/src/icons/LogoutIcon/index.ts +1 -0
- package/src/icons/NeutralIcon/NeutralIcon.tsx +25 -0
- package/src/icons/NeutralIcon/index.ts +1 -0
- package/src/icons/PlusIcon/PlusIcon.tsx +25 -0
- package/src/icons/PlusIcon/index.ts +1 -0
- package/src/icons/PointingArrowIcon/PointingArrowIcon.tsx +16 -0
- package/src/icons/PointingArrowIcon/index.ts +1 -0
- package/src/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.tsx +19 -0
- package/src/icons/RadioCheckButtonIcon/index.ts +1 -0
- package/src/icons/ReportIcon/ReportIcon.tsx +36 -0
- package/src/icons/ReportIcon/index.ts +1 -0
- package/src/icons/RocketIcon/RocketIcon.tsx +32 -0
- package/src/icons/RocketIcon/index.tsx +1 -0
- package/src/icons/SatisfiedIcon/SatisfiedIcon.tsx +41 -0
- package/src/icons/SatisfiedIcon/index.ts +1 -0
- package/src/icons/SelectIcon/SelectIcon.tsx +30 -0
- package/src/icons/SelectIcon/index.ts +1 -0
- package/src/icons/ShelfIcon/ShelfIcon.tsx +47 -0
- package/src/icons/ShelfIcon/index.ts +2 -0
- package/src/icons/SpinnerIcon/SpinnerIcon.tsx +40 -0
- package/src/icons/SpinnerIcon/index.ts +1 -0
- package/src/icons/ThumbDownIcon/ThumbDownIcon.tsx +15 -0
- package/src/icons/ThumbDownIcon/index.ts +1 -0
- package/src/icons/ThumbUpIcon/ThumbUpIcon.tsx +15 -0
- package/src/icons/ThumbUpIcon/index.ts +1 -0
- package/src/icons/index.ts +26 -0
- package/src/index.ts +10 -0
- package/src/layouts/Forbidden.tsx +51 -0
- package/src/layouts/NotFound.tsx +51 -0
- package/src/layouts/OIDCForbidden.tsx +85 -0
- package/src/layouts/PageLayout.tsx +34 -0
- package/src/layouts/RootLayout.tsx +21 -0
- package/src/layouts/index.ts +5 -0
- package/src/mocks/Feedback/useSubmitFeedback.tsx +4 -0
- package/src/mocks/Link.tsx +17 -0
- package/src/mocks/Profile/useProfileProps.tsx +12 -0
- package/src/mocks/Sidebar/getMenuType.ts +6 -0
- package/src/mocks/Sidebar/types.ts +15 -0
- package/src/mocks/Sidebar/useBreadcrumbs.ts +3 -0
- package/src/mocks/Sidebar/useDrilldown.tsx +12 -0
- package/src/mocks/Sidebar/useMenuGroup.tsx +10 -0
- package/src/mocks/Sidebar/useSidebarItems.tsx +7 -0
- package/src/mocks/constants/index.ts +2 -0
- package/src/mocks/hooks/index.ts +118 -0
- package/src/mocks/hooks/usePageData.ts +12 -0
- package/src/mocks/media-css.ts +1 -0
- package/src/mocks/search.ts +66 -0
- package/src/mocks/telemetry.ts +5 -0
- package/src/mocks/types/index.ts +1 -0
- package/src/mocks/types.ts +5 -0
- package/src/mocks/useGlobalData.tsx +3 -0
- package/src/mocks/usePreloadHistory.ts +9 -0
- package/src/mocks/utils.ts +22 -0
- package/src/settings.yaml +29 -0
- package/src/types/config.ts +5 -0
- package/src/types/portal/index.ts +3 -0
- package/src/types/portal/src/shared/constants.ts +21 -0
- package/src/types/portal/src/shared/types/activeItem.ts +1 -0
- package/src/types/portal/src/shared/types/catalog.ts +44 -0
- package/src/types/portal/src/shared/types/feedback.ts +22 -0
- package/src/types/portal/src/shared/types/i18n.d.ts +5 -0
- package/src/types/portal/src/shared/types/markdown.ts +6 -0
- package/src/types/portal/src/shared/types/nav.ts +191 -0
- package/src/types/portal/src/shared/types/searchDocument.ts +23 -0
- package/src/ui/ArrowBack.tsx +33 -0
- package/src/ui/Background.tsx +16 -0
- package/src/ui/Box.tsx +37 -0
- package/src/ui/Burger.tsx +39 -0
- package/src/ui/Checkbox.tsx +64 -0
- package/src/ui/Dropdown.tsx +131 -0
- package/src/ui/Flex.tsx +24 -0
- package/src/ui/Highlight.tsx +48 -0
- package/src/ui/Jumbotron.tsx +57 -0
- package/src/ui/darkColors.tsx +222 -0
- package/src/ui/index.tsx +12 -0
- package/src/utils/ClipboardService.ts +25 -0
- package/src/utils/args-typecheck.ts +9 -0
- package/src/utils/class-names.ts +8 -0
- package/src/utils/color.ts +12 -0
- package/src/utils/css-variables.ts +4 -0
- package/src/utils/getNavbarElement.ts +10 -0
- package/src/utils/highlight.ts +94 -0
- package/src/utils/index.ts +13 -0
- package/src/utils/isUrl.ts +42 -0
- package/src/utils/jsUtils.ts +18 -0
- package/src/utils/jsonToHtml.ts +234 -0
- package/src/utils/media-css.ts +16 -0
- package/src/utils/replaceHashInColor.ts +3 -0
- package/src/utils/tags-parser.ts +8 -0
- package/src/utils/text-transform.ts +3 -0
- package/src/utils/theme-helpers.ts +83 -0
- package/src/utils/urls.ts +54 -0
|
@@ -0,0 +1,994 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GlobalStyle = exports.styles = void 0;
|
|
4
|
+
const styled_components_1 = require("styled-components");
|
|
5
|
+
const darkColors_1 = require("./ui/darkColors");
|
|
6
|
+
const media_css_1 = require("./mocks/media-css");
|
|
7
|
+
const Footer_1 = require("./components/Footer");
|
|
8
|
+
const Sidebar_1 = require("./components/Sidebar");
|
|
9
|
+
const Breadcrumbs_1 = require("./components/Breadcrumbs");
|
|
10
|
+
const Button_1 = require("./components/Button");
|
|
11
|
+
const Tag_1 = require("./components/Tag");
|
|
12
|
+
const TableOfContent_1 = require("./components/TableOfContent");
|
|
13
|
+
const Navbar_1 = require("./components/Navbar");
|
|
14
|
+
const Search_1 = require("./components/Search");
|
|
15
|
+
const Catalog_1 = require("./components/Catalog");
|
|
16
|
+
const Filter_1 = require("./components/Filter");
|
|
17
|
+
const Menu_1 = require("./components/Menu");
|
|
18
|
+
const Panel_1 = require("./components/Panel");
|
|
19
|
+
const CodeBlock_1 = require("./components/CodeBlock");
|
|
20
|
+
const Product_1 = require("./components/Product");
|
|
21
|
+
const i18n_1 = require("./i18n");
|
|
22
|
+
const Select_1 = require("./components/Select");
|
|
23
|
+
const Profile_1 = require("./components/Profile");
|
|
24
|
+
const Dropdown_1 = require("./components/Dropdown");
|
|
25
|
+
const Markdown_1 = require("./components/Markdown");
|
|
26
|
+
const Tooltip_1 = require("./components/Tooltip");
|
|
27
|
+
const LastUpdated_1 = require("./components/LastUpdated");
|
|
28
|
+
const NavbarLogo_1 = require("./components/NavbarLogo");
|
|
29
|
+
const themeColors = (0, styled_components_1.css) `
|
|
30
|
+
/* === Palette === */
|
|
31
|
+
/**
|
|
32
|
+
* @tokens Base Colors
|
|
33
|
+
* @presenter Color
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
--color-red-1: #fff1f0;
|
|
37
|
+
--color-red-2: #ffccc7;
|
|
38
|
+
--color-red-3: #ffa39e;
|
|
39
|
+
--color-red-4: #ff7875;
|
|
40
|
+
--color-red-5: #ff4d4f;
|
|
41
|
+
--color-red-6: #f5222d;
|
|
42
|
+
--color-red-7: #cf1322;
|
|
43
|
+
--color-red-8: #a8071a;
|
|
44
|
+
--color-red-9: #820014;
|
|
45
|
+
--color-red-10: #5c0011;
|
|
46
|
+
|
|
47
|
+
--color-green-1: #f6ffed;
|
|
48
|
+
--color-green-2: #d9f7be;
|
|
49
|
+
--color-green-3: #b7eb8f;
|
|
50
|
+
--color-green-4: #95de64;
|
|
51
|
+
--color-green-5: #73d13d;
|
|
52
|
+
--color-green-6: #49aa19;
|
|
53
|
+
--color-green-7: #389e0d;
|
|
54
|
+
--color-green-8: #237804;
|
|
55
|
+
--color-green-9: #135200;
|
|
56
|
+
--color-green-10: #092b00;
|
|
57
|
+
|
|
58
|
+
--color-gold-1: #fffbe6;
|
|
59
|
+
--color-gold-2: #fff1b8;
|
|
60
|
+
--color-gold-3: #ffe58f;
|
|
61
|
+
--color-gold-4: #ffd666;
|
|
62
|
+
--color-gold-5: #ffc53d;
|
|
63
|
+
--color-gold-6: #faad14;
|
|
64
|
+
--color-gold-7: #d48806;
|
|
65
|
+
--color-gold-8: #ad6800;
|
|
66
|
+
--color-gold-9: #874d00;
|
|
67
|
+
--color-gold-10: #613400;
|
|
68
|
+
|
|
69
|
+
--color-blue-1: #e6f4ff;
|
|
70
|
+
--color-blue-2: #bae0ff;
|
|
71
|
+
--color-blue-3: #91caff;
|
|
72
|
+
--color-blue-4: #69b1ff;
|
|
73
|
+
--color-blue-5: #4096ff;
|
|
74
|
+
--color-blue-6: #1677ff;
|
|
75
|
+
--color-blue-7: #0958d9;
|
|
76
|
+
--color-blue-8: #003eb3;
|
|
77
|
+
--color-blue-9: #002c8c;
|
|
78
|
+
--color-blue-10: #001d66;
|
|
79
|
+
|
|
80
|
+
--color-purple-1: #f9f0ff;
|
|
81
|
+
--color-purple-2: #efdbff;
|
|
82
|
+
--color-purple-3: #d3adf7;
|
|
83
|
+
--color-purple-4: #b37feb;
|
|
84
|
+
--color-purple-5: #9254de;
|
|
85
|
+
--color-purple-6: #722ed1;
|
|
86
|
+
--color-purple-7: #531dab;
|
|
87
|
+
--color-purple-8: #391085;
|
|
88
|
+
--color-purple-9: #22075e;
|
|
89
|
+
--color-purple-10: #120338;
|
|
90
|
+
|
|
91
|
+
--color-magenta-1: #fff0f6;
|
|
92
|
+
--color-magenta-2: #ffd6e7;
|
|
93
|
+
--color-magenta-3: #ffadd2;
|
|
94
|
+
--color-magenta-4: #ff85c0;
|
|
95
|
+
--color-magenta-5: #f759ab;
|
|
96
|
+
--color-magenta-6: #eb2f96;
|
|
97
|
+
--color-magenta-7: #c41d7f;
|
|
98
|
+
--color-magenta-8: #9e1068;
|
|
99
|
+
--color-magenta-9: #780650;
|
|
100
|
+
--color-magenta-10: #520339;
|
|
101
|
+
|
|
102
|
+
--color-cyan-1: #e6fffb;
|
|
103
|
+
--color-cyan-2: #b5f5ec;
|
|
104
|
+
--color-cyan-3: #87e8de;
|
|
105
|
+
--color-cyan-4: #5cdbd3;
|
|
106
|
+
--color-cyan-5: #36cfc9;
|
|
107
|
+
--color-cyan-6: #13c2c2;
|
|
108
|
+
--color-cyan-7: #08979c;
|
|
109
|
+
--color-cyan-8: #006d75;
|
|
110
|
+
--color-cyan-9: #00474f;
|
|
111
|
+
--color-cyan-10: #002329;
|
|
112
|
+
|
|
113
|
+
--color-yellow-1: #feffe6;
|
|
114
|
+
--color-yellow-2: #ffffb8;
|
|
115
|
+
--color-yellow-3: #fffb8f;
|
|
116
|
+
--color-yellow-4: #fff566;
|
|
117
|
+
--color-yellow-5: #ffec3d;
|
|
118
|
+
--color-yellow-6: #d8bd14;
|
|
119
|
+
--color-yellow-7: #d4b106;
|
|
120
|
+
--color-yellow-8: #ad8b00;
|
|
121
|
+
--color-yellow-9: #876800;
|
|
122
|
+
--color-yellow-10: #614700;
|
|
123
|
+
|
|
124
|
+
--color-lime-1: #fcffe6;
|
|
125
|
+
--color-lime-2: #f4ffb8;
|
|
126
|
+
--color-lime-3: #eaff8f;
|
|
127
|
+
--color-lime-4: #d3f261;
|
|
128
|
+
--color-lime-5: #bae637;
|
|
129
|
+
--color-lime-6: #a0d911;
|
|
130
|
+
--color-lime-7: #7cb305;
|
|
131
|
+
--color-lime-8: #5b8c00;
|
|
132
|
+
--color-lime-9: #3f6600;
|
|
133
|
+
--color-lime-10: #254000;
|
|
134
|
+
|
|
135
|
+
--color-geekblue-1: #f0f5ff;
|
|
136
|
+
--color-geekblue-2: #d6e4ff;
|
|
137
|
+
--color-geekblue-3: #adc6ff;
|
|
138
|
+
--color-geekblue-4: #85a5ff;
|
|
139
|
+
--color-geekblue-5: #597ef7;
|
|
140
|
+
--color-geekblue-6: #2f54eb;
|
|
141
|
+
--color-geekblue-7: #1d39c4;
|
|
142
|
+
--color-geekblue-8: #10239e;
|
|
143
|
+
--color-geekblue-9: #061178;
|
|
144
|
+
--color-geekblue-10: #030852;
|
|
145
|
+
|
|
146
|
+
--color-primary-bg: #ebf0ff;
|
|
147
|
+
--color-primary-bg-hover: #d6dfff;
|
|
148
|
+
--color-primary-border: #adbcff;
|
|
149
|
+
--color-primary-border-hover: #8a99ff;
|
|
150
|
+
--color-primary-hover: #6678ff;
|
|
151
|
+
--color-primary-base: #434dfa;
|
|
152
|
+
--color-primary-active: #2f31d4;
|
|
153
|
+
--color-primary-text-hover: #201dad;
|
|
154
|
+
--color-primary-text: #161087;
|
|
155
|
+
--color-primary-text-active: #0d086e;
|
|
156
|
+
|
|
157
|
+
--color-success-bg: var(--color-cyan-1);
|
|
158
|
+
--color-success-bg-hover: var(--color-cyan-2);
|
|
159
|
+
--color-success-border: var(--color-cyan-3);
|
|
160
|
+
--color-success-border-hover: var(--color-cyan-4);
|
|
161
|
+
--color-success-hover: var(--color-cyan-5);
|
|
162
|
+
--color-success-base: var(--color-cyan-6);
|
|
163
|
+
--color-success-active: var(--color-cyan-7);
|
|
164
|
+
--color-success-text-hover: var(--color-cyan-8);
|
|
165
|
+
--color-success-text: var(--color-cyan-9);
|
|
166
|
+
--color-success-text-active: var(--color-cyan-10);
|
|
167
|
+
|
|
168
|
+
--color-warning-bg: var(--color-gold-1);
|
|
169
|
+
--color-warning-bg-hover: var(--color-gold-2);
|
|
170
|
+
--color-warning-border: var(--color-gold-3);
|
|
171
|
+
--color-warning-border-hover: var(--color-gold-4);
|
|
172
|
+
--color-warning-hover: var(--color-gold-5);
|
|
173
|
+
--color-warning-base: var(--color-gold-6);
|
|
174
|
+
--color-warning-active: var(--color-gold-7);
|
|
175
|
+
--color-warning-text-hover: var(--color-gold-8);
|
|
176
|
+
--color-warning-text: var(--color-gold-9);
|
|
177
|
+
--color-warning-text-active: var(--color-gold-10);
|
|
178
|
+
|
|
179
|
+
--color-error-bg: var(--color-red-1);
|
|
180
|
+
--color-error-bg-hover: var(--color-red-2);
|
|
181
|
+
--color-error-border: var(--color-red-7);
|
|
182
|
+
--color-error-border-hover: var(--color-red-4);
|
|
183
|
+
--color-error-hover: var(--color-red-5);
|
|
184
|
+
--color-error-base: var(--color-red-6);
|
|
185
|
+
--color-error-active: var(--color-red-7);
|
|
186
|
+
--color-error-text-hover: var(--color-red-8);
|
|
187
|
+
--color-error-text: var(--color-red-9);
|
|
188
|
+
--color-error-text-active: var(--color-red-10);
|
|
189
|
+
|
|
190
|
+
--color-info-bg: var(--color-blue-1);
|
|
191
|
+
--color-info-bg-hover: var(--color-blue-2);
|
|
192
|
+
--color-info-border: var(--color-blue-3);
|
|
193
|
+
--color-info-border-hover: var(--color-blue-4);
|
|
194
|
+
--color-info-hover: var(--color-blue-5);
|
|
195
|
+
--color-info-base: var(--color-blue-6);
|
|
196
|
+
--color-info-active: var(--color-blue-7);
|
|
197
|
+
--color-info-text-hover: var(--color-blue-8);
|
|
198
|
+
--color-info-text: var(--color-blue-9);
|
|
199
|
+
--color-info-text-active: var(--color-blue-10);
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @tokens Main colors
|
|
203
|
+
* @presenter Color
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
--color-primary: var(--color-primary-base);
|
|
207
|
+
--color-error: var(--color-error-base);
|
|
208
|
+
--color-warning: var(--color-warning-base);
|
|
209
|
+
--color-success: var(--color-success-base);
|
|
210
|
+
--color-info: var(--color-info-base);
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @tokens Elevation Colors
|
|
214
|
+
* @presenter Color
|
|
215
|
+
*/
|
|
216
|
+
|
|
217
|
+
--bg-base: #ffffff; // The default elevation is the baseline with respect to all other layers.
|
|
218
|
+
--bg-sunken: #f1f1f1; // Sunken is the lowest elevation available.
|
|
219
|
+
--bg-raised: #fafafa; // Cards, elements, inputs
|
|
220
|
+
--bg-raised-light: #fafafa; // Always light
|
|
221
|
+
--bg-overlay: #f2f2f2; // Overlay is the highest elevation available. Use for hovers
|
|
222
|
+
--bg-modal-overlay: #f2f2f2c2; // Overlay is the highest elevation available. Use for hovers
|
|
223
|
+
|
|
224
|
+
--bg-base-shadow: 0px 3px 5px rgba(51, 51, 51, 0.2), 0px 0px 1px rgba(51, 51, 51, 0.31); // Elements
|
|
225
|
+
--bg-raised-shadow: 0px 8px 12px rgba(51, 51, 51, 0.15), 0px 0px 1px rgba(51, 51, 51, 0.31); // Hovers for base. Menu
|
|
226
|
+
--bg-overlay-shadow: 0px 18px 28px rgba(51, 51, 51, 0.15), 0px 0px 1px rgba(51, 51, 51, 0.31); // Use for dropdowns
|
|
227
|
+
|
|
228
|
+
--background-color: var(--bg-base);
|
|
229
|
+
|
|
230
|
+
// @tokens End
|
|
231
|
+
`;
|
|
232
|
+
const typography = (0, styled_components_1.css) `
|
|
233
|
+
/* === Typography === */
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @tokens Font Families
|
|
237
|
+
* @presenter FontFamily
|
|
238
|
+
*/
|
|
239
|
+
|
|
240
|
+
--font-family-base: Source Sans Pro, sans-serif; // Font family of the entire system.
|
|
241
|
+
--font-family-monospaced: Source Code Pro, monospace;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @tokens Font Colors
|
|
245
|
+
* @presenter Color
|
|
246
|
+
*/
|
|
247
|
+
|
|
248
|
+
--text-base: #000; // The base color of the typography color tokens.
|
|
249
|
+
--text-light-solid: #ffffff; // The color of the objects that need to be white no matter what theme is enabled.
|
|
250
|
+
--text-primary: #161616; // Headers, Icon hover
|
|
251
|
+
--text-secondary: #525252; // Body text
|
|
252
|
+
--text-description: #8d8d8d; // Caption, Description, Icon
|
|
253
|
+
--text-placeholder: #a8a8a8; // Placeholder text, Disabled text
|
|
254
|
+
--text-link: var(--color-blue-6);
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @tokens Font Weights
|
|
258
|
+
* @presenter FontWeight
|
|
259
|
+
*/
|
|
260
|
+
|
|
261
|
+
--font-weight-regular: 400; // All normal weight fonts in the entire system.
|
|
262
|
+
--font-weight-bold: 600; // All strong weights in the entire system.
|
|
263
|
+
--font-weight-bolder: 700;
|
|
264
|
+
--font-weight-italic: 'Regular Italic'; // All italic weights in the entire system.
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @tokens Line Heights
|
|
268
|
+
* @presenter LineHeight
|
|
269
|
+
*/
|
|
270
|
+
|
|
271
|
+
--line-height-base: 24px;
|
|
272
|
+
--line-height-xsm: 20px;
|
|
273
|
+
--line-height-sm: 22px;
|
|
274
|
+
--line-height-md: 26px;
|
|
275
|
+
--line-height-lg: 28px;
|
|
276
|
+
--line-height-xlg: 30px;
|
|
277
|
+
--line-height-xxlg: 32px;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @tokens Font Sizes
|
|
281
|
+
* @presenter FontSize
|
|
282
|
+
*/
|
|
283
|
+
|
|
284
|
+
--font-size-base: 16px; // Base font size of the entire system.
|
|
285
|
+
--font-size-sm: 14px;
|
|
286
|
+
--font-size-lg: 18px;
|
|
287
|
+
--font-size-xl: 22px;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @tokens Font Rendering
|
|
291
|
+
*/
|
|
292
|
+
|
|
293
|
+
--text-smoothing: antialiased; // text-smoothing
|
|
294
|
+
--text-rendering: optimizeSpeed; // text-rendering
|
|
295
|
+
|
|
296
|
+
// @tokens End
|
|
297
|
+
`;
|
|
298
|
+
const sizeAndSpace = (0, styled_components_1.css) `
|
|
299
|
+
/* === Size & Space === */
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @tokens Size
|
|
303
|
+
* @presenter Spacing
|
|
304
|
+
*/
|
|
305
|
+
|
|
306
|
+
--container-width: 1200px;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @tokens Space
|
|
310
|
+
* @presenter Spacing
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
--spacing-unit: 4px;
|
|
314
|
+
|
|
315
|
+
--spacing-base: calc(var(--spacing-unit) * 4);
|
|
316
|
+
--spacing-xxs: var(--spacing-unit);
|
|
317
|
+
--spacing-xs: calc(var(--spacing-unit) * 2);
|
|
318
|
+
--spacing-sm: calc(var(--spacing-unit) * 3);
|
|
319
|
+
--spacing-md: calc(var(--spacing-unit) * 5);
|
|
320
|
+
--spacing-lg: calc(var(--spacing-unit) * 6);
|
|
321
|
+
--spacing-xl: calc(var(--spacing-unit) * 8);
|
|
322
|
+
--spacing-xxl: calc(var(--spacing-unit) * 12);
|
|
323
|
+
|
|
324
|
+
--spacing-horizontal: var(--spacing-xl);
|
|
325
|
+
--spacing-vertical: var(--spacing-base);
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @tokens Height
|
|
329
|
+
* @presenter Spacing
|
|
330
|
+
*/
|
|
331
|
+
--control-height-base: 32px; // The height of the default size controls such as buttons and inputs.
|
|
332
|
+
--control-height-xs: 16px; // The height of very small objects such as skeleton line or small multiple select item.
|
|
333
|
+
--control-height-sm: 24px; // The height of the small controls such as buttons or inputs.
|
|
334
|
+
--control-height-lg: 40px; // The height of the large controls such as buttons or inputs.
|
|
335
|
+
|
|
336
|
+
// @tokens End
|
|
337
|
+
`;
|
|
338
|
+
const borders = (0, styled_components_1.css) `
|
|
339
|
+
/**
|
|
340
|
+
* @tokens Borders
|
|
341
|
+
* @presenter Border
|
|
342
|
+
*/
|
|
343
|
+
|
|
344
|
+
--border-width: 1px;
|
|
345
|
+
--border-style: solid;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @tokens Border Colors
|
|
349
|
+
* @presenter Color
|
|
350
|
+
*/
|
|
351
|
+
|
|
352
|
+
--border-primary: #00000021; // 13% opacity. Raised dividers
|
|
353
|
+
--border-secondary: #00000017; // 9% opacity. Default dividers, borders
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @tokens Border Radius
|
|
357
|
+
* @presenter BorderRadius
|
|
358
|
+
*/
|
|
359
|
+
|
|
360
|
+
--border-radius: 4px;
|
|
361
|
+
--border-radius-md: calc(var(--border-radius) * 1.5);
|
|
362
|
+
--border-radius-lg: calc(var(--border-radius) * 2);
|
|
363
|
+
--border-radius-xlg: calc(var(--border-radius) * 3);
|
|
364
|
+
`;
|
|
365
|
+
const headingsTypography = (0, styled_components_1.css) `
|
|
366
|
+
* {
|
|
367
|
+
box-sizing: border-box;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @tokens Headings common styles
|
|
372
|
+
*/
|
|
373
|
+
|
|
374
|
+
--heading-font-family: Source Sans Pro, sans-serif; // @presenter FontFamily
|
|
375
|
+
--heading-font-weight: var(--font-weight-bolder); // @presenter FontWeight
|
|
376
|
+
--heading-margin-top: 1.25em; // @presenter Spacing
|
|
377
|
+
--heading-margin-bottom: 0.9em; // @presenter Spacing
|
|
378
|
+
--heading-text-color: var(--text-primary); // @presenter Color
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @tokens Typography heading anchor icon
|
|
382
|
+
*/
|
|
383
|
+
|
|
384
|
+
--heading-anchor-offset-right: 4px; // @presenter Spacing
|
|
385
|
+
--heading-anchor-color: var(--color-primary); // @presenter Color
|
|
386
|
+
--heading-anchor-icon: none;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @tokens Heading level 1
|
|
390
|
+
*/
|
|
391
|
+
|
|
392
|
+
--h1-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
393
|
+
--h1-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
394
|
+
--h1-font-size: 36px; // @presenter FontSize
|
|
395
|
+
--h1-line-height: 36px; // @presenter LineHeight
|
|
396
|
+
--h1-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
397
|
+
--h1-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
398
|
+
--h1-text-color: var(--heading-text-color); // @presenter Color
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @tokens Heading level 2
|
|
402
|
+
*/
|
|
403
|
+
|
|
404
|
+
--h2-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
405
|
+
--h2-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
406
|
+
--h2-font-size: 28px; // @presenter FontSize
|
|
407
|
+
--h2-line-height: 28px; // @presenter LineHeight
|
|
408
|
+
--h2-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
409
|
+
--h2-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
410
|
+
--h2-text-color: var(--heading-text-color); // @presenter Color
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @tokens Heading level 3
|
|
414
|
+
*/
|
|
415
|
+
|
|
416
|
+
--h3-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
417
|
+
--h3-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
418
|
+
--h3-font-size: 18px; // @presenter FontSize
|
|
419
|
+
--h3-line-height: 22px; // @presenter LineHeight
|
|
420
|
+
--h3-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
421
|
+
--h3-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
422
|
+
--h3-text-color: var(--heading-text-color); // @presenter Color
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @tokens Heading level 4
|
|
426
|
+
*/
|
|
427
|
+
|
|
428
|
+
--h4-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
429
|
+
--h4-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
430
|
+
--h4-font-size: 16px; // @presenter FontSize
|
|
431
|
+
--h4-line-height: 16px; // @presenter LineHeight
|
|
432
|
+
--h4-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
433
|
+
--h4-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
434
|
+
--h4-text-color: var(--heading-text-color); // @presenter Color
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* @tokens Heading level 5
|
|
438
|
+
*/
|
|
439
|
+
|
|
440
|
+
--h5-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
441
|
+
--h5-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
442
|
+
--h5-font-size: 14px; // @presenter FontSize
|
|
443
|
+
--h5-line-height: 14px; // @presenter LineHeight
|
|
444
|
+
--h5-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
445
|
+
--h5-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
446
|
+
--h5-text-color: var(--heading-text-color); // @presenter Color
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* @tokens Heading level 6
|
|
450
|
+
*/
|
|
451
|
+
|
|
452
|
+
--h6-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
453
|
+
--h6-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
454
|
+
--h6-font-size: 12px; // @presenter FontSize
|
|
455
|
+
--h6-line-height: 12px; // @presenter LineHeight
|
|
456
|
+
--h6-margin-top: var(--heading-margin-top); // @presenter Spacing
|
|
457
|
+
--h6-margin-bottom: var(--heading-margin-bottom); // @presenter Spacing
|
|
458
|
+
--h6-text-color: var(--heading-text-color); // @presenter Color
|
|
459
|
+
|
|
460
|
+
// @tokens End
|
|
461
|
+
`;
|
|
462
|
+
const links = (0, styled_components_1.css) `
|
|
463
|
+
/**
|
|
464
|
+
* @tokens Links
|
|
465
|
+
*/
|
|
466
|
+
|
|
467
|
+
--link-text-color: var(--color-blue-6); // @presenter Color
|
|
468
|
+
--link-decoration: none;
|
|
469
|
+
--link-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
470
|
+
|
|
471
|
+
--link-hover-text-color: var(--color-blue-5); // @presenter Color
|
|
472
|
+
--link-hover-decoration: underline;
|
|
473
|
+
|
|
474
|
+
--link-active-decoration: none;
|
|
475
|
+
--link-active-text-color: var(--color-blue-7); // @presenter Color
|
|
476
|
+
|
|
477
|
+
--link-visited-text-color: var(--color-blue-7); // @presenter Color
|
|
478
|
+
--link-visited-decoration: none;
|
|
479
|
+
|
|
480
|
+
// @tokens End
|
|
481
|
+
`;
|
|
482
|
+
const apiReferenceDocs = (0, styled_components_1.css) `
|
|
483
|
+
/* === ref docs and graphql docs specific === */
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* @tokens API Reference Schemas Layout
|
|
487
|
+
*/
|
|
488
|
+
|
|
489
|
+
--layout-controls-margin: 20px; // @presenter Spacing
|
|
490
|
+
--layout-controls-height: 36px; // @presenter Spacing
|
|
491
|
+
--layout-controls-width: 36px; // @presenter Spacing
|
|
492
|
+
|
|
493
|
+
--layout-stacked-small-max-width: 90%;
|
|
494
|
+
--layout-stacked-medium-max-width: 75%;
|
|
495
|
+
--layout-stacked-large-max-width: 1200px;
|
|
496
|
+
|
|
497
|
+
--layout-three-panel-small-max-width: 100%;
|
|
498
|
+
--layout-three-panel-medium-max-width: 100%;
|
|
499
|
+
--layout-three-panel-large-max-width: 1800px;
|
|
500
|
+
|
|
501
|
+
--layout-panel-schemas-small-max-width: none;
|
|
502
|
+
--layout-panel-schemas-medium-max-width: none;
|
|
503
|
+
--layout-panel-schemas-large-max-width: none;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @tokens API Reference Schemas MimeType Dropdown
|
|
507
|
+
*/
|
|
508
|
+
|
|
509
|
+
--schemas-mime-type-dropdown-padding: 0px 26px 0px 4px;
|
|
510
|
+
--schemas-mime-type-dropdown-border: var(--docs-dropdown-border); // @presenter Border
|
|
511
|
+
--schemas-mime-type-dropdown-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
|
|
512
|
+
--schemas-mime-type-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @tokens API Reference Schemas Discriminator Dropdown
|
|
516
|
+
*/
|
|
517
|
+
|
|
518
|
+
--schemas-discriminator-dropdown-padding: 2px 24px 2px 8px;
|
|
519
|
+
--schemas-discriminator-dropdown-border: 1px solid var(--border-primary); // @presenter Border
|
|
520
|
+
--schemas-discriminator-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
|
|
521
|
+
--schemas-discriminator-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @tokens API Reference Schemas Titles
|
|
525
|
+
*/
|
|
526
|
+
|
|
527
|
+
--schema-type-title-text-color: var(--text-secondary); // @presenter Color
|
|
528
|
+
--schema-type-text-color: var(--text-secondary); // @presenter Color
|
|
529
|
+
--schema-labels-font-size: 1em; // @presenter FontSize
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* @tokens API Reference Schemas Lines Color
|
|
533
|
+
*/
|
|
534
|
+
|
|
535
|
+
--schemas-lines-color: var(--border-primary); // @presenter Color
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @tokens API Reference Schema Inline code typography
|
|
539
|
+
*/
|
|
540
|
+
|
|
541
|
+
--schema-inline-code-font-family: var(--inline-code-font-family); // @presenter FontFamily
|
|
542
|
+
--schema-inline-code-font-size: var(--inline-code-font-size); // @presenter FontSize
|
|
543
|
+
--schema-inline-code-font-weight: var(--inline-code-font-weight); // @presenter FontWeight
|
|
544
|
+
--schema-inline-code-text-color: var(--text-secondary); // @presenter Color
|
|
545
|
+
--schema-inline-code-line-height: var(--inline-code-line-height); // @presenter LineHeight
|
|
546
|
+
--schema-inline-background-color: var(--bg-overlay); // @presenter Color
|
|
547
|
+
--schema-inline-border-color: var(--border-primary); // @presenter Color
|
|
548
|
+
--schema-inline-border: 1px solid var(--schema-inline-border-color); // @presenter Border
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @tokens API Reference Schema Example Label colors
|
|
552
|
+
* @presenter Color
|
|
553
|
+
*/
|
|
554
|
+
|
|
555
|
+
--schema-example-text-color: var(--schema-inline-code-text-color);
|
|
556
|
+
--schema-example-background-color: var(--schema-inline-background-color);
|
|
557
|
+
--schema-example-border-color: var(--schema-inline-border-color);
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* @tokens API Reference Schema Constraint Label colors
|
|
561
|
+
* @presenter Color
|
|
562
|
+
*/
|
|
563
|
+
|
|
564
|
+
--schema-constraint-text-color: var(--schema-inline-code-text-color);
|
|
565
|
+
--schema-constraint-background-color: var(--schema-inline-background-color);
|
|
566
|
+
--schema-constraint-border-color: var(--schema-inline-border-color);
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* @tokens API Reference Schema Enum Label colors
|
|
570
|
+
* @presenter Color
|
|
571
|
+
*/
|
|
572
|
+
|
|
573
|
+
--schema-enum-text-color: var(--schema-inline-code-text-color);
|
|
574
|
+
--schema-enum-background-color: var(--schema-inline-background-color);
|
|
575
|
+
--schema-enum-border-color: var(--schema-inline-border-color);
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @tokens API Reference Schema Default Label colors
|
|
579
|
+
* @presenter Color
|
|
580
|
+
*/
|
|
581
|
+
|
|
582
|
+
--schema-default-text-color: var(--schema-inline-code-text-color);
|
|
583
|
+
--schema-default-background-color: var(--schema-inline-background-color);
|
|
584
|
+
--schema-default-border-color: var(--schema-inline-border-color);
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* @tokens API Reference Schema Recursive Label colors
|
|
588
|
+
* @presenter Color
|
|
589
|
+
*/
|
|
590
|
+
|
|
591
|
+
--schema-recursive-text-color: var(--color-warning-active); // @presenter Color
|
|
592
|
+
--schema-recursive-background-color: var(--color-warning-bg); // @presenter Color
|
|
593
|
+
--schema-recursive-border-color: var(--color-warning-active); // @presenter Color
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @tokens GraphQL Docs Reference Schema Non null label
|
|
597
|
+
* @presenter Color
|
|
598
|
+
*/
|
|
599
|
+
|
|
600
|
+
--schema-non-null-text-color: var(--schema-inline-code-text-color);
|
|
601
|
+
--schema-non-null-background-color: var(--schema-inline-background-color);
|
|
602
|
+
--schema-non-null-border-color: var(--schema-inline-border-color);
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* @tokens API Reference Schema Nested styles
|
|
606
|
+
*/
|
|
607
|
+
|
|
608
|
+
--schema-nested-offset: 1em; // @presenter Spacing
|
|
609
|
+
--schema-nested-background-color: var(--bg-overlay); // @presenter Color
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* @tokens API Reference Schema Buttons
|
|
613
|
+
*/
|
|
614
|
+
|
|
615
|
+
--schema-buttons-font-family: var(--code-font-family); // @presenter FontFamily
|
|
616
|
+
--schema-buttons-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
617
|
+
--schema-buttons-font-size: var(--code-font-size); // @presenter FontSize
|
|
618
|
+
|
|
619
|
+
--schema-buttons-text-color: var(--text-secondary); // @presenter Color
|
|
620
|
+
--schema-buttons-background-color: transparent; // @presenter Color
|
|
621
|
+
--schema-buttons-border-color: var(--border-primary); // @presenter Color
|
|
622
|
+
|
|
623
|
+
--schema-buttons-hover-background-color: var(--bg-overlay); // @presenter Color
|
|
624
|
+
--schema-buttons-active-background-color: var(--bg-overlay); // @presenter Color
|
|
625
|
+
|
|
626
|
+
--schema-buttons-selected-text-color: var(--schema-buttons-text-color); // @presenter Color
|
|
627
|
+
--schema-buttons-selected-background-color: var(--bg-overlay); // @presenter Color
|
|
628
|
+
--schema-buttons-selected-border-color: var(--schema-buttons-border-color); // @presenter Color
|
|
629
|
+
--schema-buttons-selected-hover-background-color: var(--bg-overlay); // @presenter Color
|
|
630
|
+
--schema-buttons-selected-active-background-color: var(--bg-overlay); // @presenter Color
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* @tokens API Reference Schema Properties
|
|
634
|
+
*/
|
|
635
|
+
|
|
636
|
+
--schemas-property-name-text-color: var(--text-primary); //@presenter Color
|
|
637
|
+
--schemas-property-name-font-size: var(--code-font-size); // @presenter FontSize
|
|
638
|
+
--schemas-property-name-font-family: var(--code-font-family); // @presenter FontFamily
|
|
639
|
+
--schemas-property-name-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
640
|
+
--schemas-property-name-line-height: var(--line-height-sm); // @presenter LineHeight
|
|
641
|
+
--schemas-property-name-text-transform: none;
|
|
642
|
+
|
|
643
|
+
--schemas-property-deprecated-text-color: var(--text-primary); // @presenter Color
|
|
644
|
+
|
|
645
|
+
--schema-property-labels-font-size: var(--schema-labels-font-size); // @presenter FontSize
|
|
646
|
+
--schema-property-required-label-text-color: var(--color-error); // @presenter Color
|
|
647
|
+
--schema-property-additional-label-text-color: var(--text-secondary); // @presenter Color
|
|
648
|
+
--schema-property-access-label-text-color: var(--text-secondary); // @presenter Color
|
|
649
|
+
|
|
650
|
+
--schema-property-details-width: 70%;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @tokens API Reference Schema Icons
|
|
654
|
+
*/
|
|
655
|
+
|
|
656
|
+
--schema-chevron-color: var(--text-secondary); // @presenter Color
|
|
657
|
+
--schema-chevron-size: 9px;
|
|
658
|
+
|
|
659
|
+
--schema-property-deep-link-icon-color: var(--color-primary); // @presenter Color
|
|
660
|
+
--schema-property-deep-link-icon: none;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @tokens API Reference Other
|
|
664
|
+
*/
|
|
665
|
+
|
|
666
|
+
--loading-spinner-color: var(--color-primary); // @presenter Color
|
|
667
|
+
--linear-progress-color: var(--color-info); // @presenter Color
|
|
668
|
+
--linear-progress-background-color: var(--color-info-bg); // @presenter Color
|
|
669
|
+
|
|
670
|
+
--fab-background-color: var(--color-primary); // @presenter Color
|
|
671
|
+
--fab-box-shadow: var(--bg-base-shadow); // @presenter Shadow
|
|
672
|
+
|
|
673
|
+
--fab-hover-background: var(--color-primary); // @presenter Color
|
|
674
|
+
--fab-hover-box-shadow: var(--bg-base-shadow); // @presenter Shadow
|
|
675
|
+
|
|
676
|
+
--fab-active-background: var(--color-primary); // @presenter Color
|
|
677
|
+
--fab-active-box-shadow: var(--bg-base-shadow); // @presenter Shadow
|
|
678
|
+
|
|
679
|
+
--fab-icon-color: var(--navbar-text-color); // @presenter Color
|
|
680
|
+
|
|
681
|
+
// @tokens End
|
|
682
|
+
`;
|
|
683
|
+
const badges = (0, styled_components_1.css) `
|
|
684
|
+
/**
|
|
685
|
+
* @tokens Default Badge
|
|
686
|
+
*/
|
|
687
|
+
|
|
688
|
+
--badge-text-color: var(--color-primary-text); // @presenter Color
|
|
689
|
+
--badge-background-color: var(--color-primary-bg); // @presenter Color
|
|
690
|
+
--badge-border-color: var(--color-primary-border); // @presenter Color
|
|
691
|
+
--badge-border: 1px solid var(--badge-border-color); // @presenter Border
|
|
692
|
+
--badge-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @tokens Deprecated Badge
|
|
696
|
+
*/
|
|
697
|
+
|
|
698
|
+
--badge-deprecated-text-color: var(--color-warning-active); // @presenter Color
|
|
699
|
+
--badge-deprecated-background-color: var(--color-warning-bg); // @presenter Color
|
|
700
|
+
--badge-deprecated-border-color: var(--color-warning-active); // @presenter Color
|
|
701
|
+
--badge-deprecated-border: 1px solid var(--badge-deprecated-border-color); // @presenter Border
|
|
702
|
+
--badge-deprecated-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
703
|
+
|
|
704
|
+
// @tokens End
|
|
705
|
+
`;
|
|
706
|
+
const loadProgressBar = (0, styled_components_1.css) `
|
|
707
|
+
/**
|
|
708
|
+
* @tokens Load progress bar
|
|
709
|
+
*/
|
|
710
|
+
|
|
711
|
+
--load-progress-bar-color: var(--color-info); // @presenter Color
|
|
712
|
+
--load-progress-bar-shadow: 0 0 10px var(--load-progress-bar-color),
|
|
713
|
+
0 0 5px var(--load-progress-bar-color); // @presenter BoxShadow
|
|
714
|
+
--load-progress-bar-height: 2px; // @presenter Height
|
|
715
|
+
|
|
716
|
+
// @tokens End
|
|
717
|
+
|
|
718
|
+
/* Make clicks pass-through */
|
|
719
|
+
#nprogress {
|
|
720
|
+
pointer-events: none;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
#nprogress .bar {
|
|
724
|
+
background: var(--load-progress-bar-color);
|
|
725
|
+
|
|
726
|
+
position: fixed;
|
|
727
|
+
z-index: var(--z-index-popover);
|
|
728
|
+
top: 0;
|
|
729
|
+
left: 0;
|
|
730
|
+
|
|
731
|
+
width: 100%;
|
|
732
|
+
height: var(--load-progress-bar-height);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
#nprogress .peg {
|
|
736
|
+
display: block;
|
|
737
|
+
position: absolute;
|
|
738
|
+
right: 0;
|
|
739
|
+
width: 100px;
|
|
740
|
+
height: 100%;
|
|
741
|
+
box-shadow: var(--load-progress-bar-shadow);
|
|
742
|
+
opacity: 1;
|
|
743
|
+
|
|
744
|
+
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
|
745
|
+
-ms-transform: rotate(3deg) translate(0px, -4px);
|
|
746
|
+
transform: rotate(3deg) translate(0px, -4px);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.nprogress-custom-parent {
|
|
750
|
+
overflow: hidden;
|
|
751
|
+
position: relative;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.nprogress-custom-parent #nprogress .bar {
|
|
755
|
+
position: absolute;
|
|
756
|
+
}
|
|
757
|
+
`;
|
|
758
|
+
const inputs = (0, styled_components_1.css) `
|
|
759
|
+
/**
|
|
760
|
+
* @tokens Inputs
|
|
761
|
+
*/
|
|
762
|
+
|
|
763
|
+
--input-text-color: var(--text-secondary); // @presenter Color
|
|
764
|
+
--input-background-color: var(--background-color); // @presenter Color
|
|
765
|
+
--input-border: 1px solid var(--border-primary); // @presenter Border
|
|
766
|
+
--input-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
767
|
+
--input-font-size: var(--font-size-base); // @presenter FontSize
|
|
768
|
+
--input-font-family: var(--font-family-base); // @presenter FontFamily
|
|
769
|
+
--input-line-height: 1.15em; // @presenter LineHeight
|
|
770
|
+
--input-padding: 8px;
|
|
771
|
+
|
|
772
|
+
--input-hover-text-color: var(--text-secondary); // @presenter Color
|
|
773
|
+
--input-hover-border: 1px solid var(--border-primary); // @presenter Border
|
|
774
|
+
--input-focus-border: 1px solid var(--border-primary); // @presenter Border
|
|
775
|
+
--input-focus-text-color: var(--text-secondary); // @presenter Color
|
|
776
|
+
|
|
777
|
+
--checkbox-backround-color: var(--bg-base);
|
|
778
|
+
--checkbox-checked-backround-color: var(--color-primary);
|
|
779
|
+
|
|
780
|
+
// @tokens End
|
|
781
|
+
`;
|
|
782
|
+
const docsDropdown = (0, styled_components_1.css) `
|
|
783
|
+
--docs-dropdown-font-size: var(--font-size-base);
|
|
784
|
+
--docs-dropdown-text-color: var(--text-secondary);
|
|
785
|
+
|
|
786
|
+
--docs-dropdown-padding-vertical: 6px;
|
|
787
|
+
--docs-dropdown-padding-left: 10px;
|
|
788
|
+
--docs-dropdown-padding-right: 26px;
|
|
789
|
+
--docs-dropdown-padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-right)
|
|
790
|
+
var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-left);
|
|
791
|
+
--docs-dropdown-border: 1px solid var(--border-primary);
|
|
792
|
+
`;
|
|
793
|
+
const tile = (0, styled_components_1.css) `
|
|
794
|
+
--wide-tile-background-color: var(--bg-raised);
|
|
795
|
+
--thin-tile-background-color: var(--bg-raised);
|
|
796
|
+
`;
|
|
797
|
+
const pages = (0, styled_components_1.css) `
|
|
798
|
+
/**
|
|
799
|
+
* @tokens 404 Page
|
|
800
|
+
* @presenter Color
|
|
801
|
+
*/
|
|
802
|
+
|
|
803
|
+
--page-404-font-family: var(--font-family-base); // @presenter FontFamily
|
|
804
|
+
|
|
805
|
+
--page-404-header-text-color: var(--h1-text-color);
|
|
806
|
+
--page-404-header-font-size: var(--h1-font-size); // @presenter FontSize
|
|
807
|
+
--page-404-header-font-weight: var(--h1-font-weight); // @presenter FontWeight
|
|
808
|
+
--page-404-header-line-height: var(--h1-line-height); // @presenter LineHeight
|
|
809
|
+
--page-404-header-margin: 0px; // @presenter Spacing
|
|
810
|
+
|
|
811
|
+
--page-404-description-text-color: var(--text-secondary);
|
|
812
|
+
--page-404-description-font-size: 1.5em; // @presenter FontSize
|
|
813
|
+
--page-404-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
814
|
+
--page-404-description-line-height: 1; // @presenter LineHeight
|
|
815
|
+
--page-404-description-margin: 0px; // @presenter Spacing
|
|
816
|
+
|
|
817
|
+
--page-404-button-margin: 4em; // @presenter Spacing
|
|
818
|
+
|
|
819
|
+
// @tokens End
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* @tokens 403 Page
|
|
823
|
+
* @presenter Color
|
|
824
|
+
*/
|
|
825
|
+
|
|
826
|
+
--page-403-font-family: var(--font-family-base); // @presenter FontFamily
|
|
827
|
+
|
|
828
|
+
--page-403-header-text-color: var(--h1-text-color);
|
|
829
|
+
--page-403-header-font-size: var(--h1-font-size); // @presenter FontSize
|
|
830
|
+
--page-403-header-font-weight: var(--h1-font-weight); // @presenter FontWeight
|
|
831
|
+
--page-403-header-line-height: var(--h1-line-height); // @presenter LineHeight
|
|
832
|
+
--page-403-header-margin: 0; // @presenter Spacing
|
|
833
|
+
|
|
834
|
+
--page-403-description-text-color: var(--text-secondary);
|
|
835
|
+
--page-403-description-font-size: 1.5em; // @presenter FontSize
|
|
836
|
+
--page-403-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
837
|
+
--page-403-description-line-height: 1; // @presenter LineHeight
|
|
838
|
+
--page-403-description-margin: 0; // @presenter Spacing
|
|
839
|
+
|
|
840
|
+
--page-403-button-margin: 4em; // @presenter Spacing
|
|
841
|
+
|
|
842
|
+
--page-403-oidc-description-font-size: var(--font-size-lg);
|
|
843
|
+
--page-403-oidc-description-margin: var(--spacing-md) var(--spacing-sm);
|
|
844
|
+
|
|
845
|
+
// @tokens End
|
|
846
|
+
`;
|
|
847
|
+
const error = (0, styled_components_1.css) `
|
|
848
|
+
--error-bubble-padding: var(--spacing-md);
|
|
849
|
+
--error-bubble-bottom: var(--spacing-md);
|
|
850
|
+
--error-bubble-right: var(--spacing-md);
|
|
851
|
+
--error-bubble-max-width: 20%;
|
|
852
|
+
--error-bubble-mobile-max-width: 50%;
|
|
853
|
+
--error-bubble-text-overflow: ellipsis;
|
|
854
|
+
--error-bubble-gap: var(--spacing-base);
|
|
855
|
+
--error-bubble-font-family: var(--font-family-base);
|
|
856
|
+
--error-bubble-z-index: var(--z-index-popover);
|
|
857
|
+
|
|
858
|
+
--error-card-border-radius: calc(var(--spacing-xxs) * 1.5);
|
|
859
|
+
--error-card-background: var(--bg-raised);
|
|
860
|
+
--error-card-padding: var(--spacing-xs) var(--spacing-base);
|
|
861
|
+
--error-card-text-color: var(--text-primary);
|
|
862
|
+
--error-card-font-size: var(--font-size-base);
|
|
863
|
+
--error-card-font-style: normal;
|
|
864
|
+
--error-card-font-weight: var(--font-weight-regular);
|
|
865
|
+
--error-card-line-height: var(--line-height-base);
|
|
866
|
+
--error-card-box-shadow: var(--bg-raised-shadow);
|
|
867
|
+
--error-card-icon-margin: 0 var(--spacing-xs) 0 0;
|
|
868
|
+
|
|
869
|
+
--detailed-error-overlay-background: #4f4f4f;
|
|
870
|
+
--detailed-error-overlay-opacity: 0.9;
|
|
871
|
+
--detailed-error-overlay-z-index: var(--z-index-raised);
|
|
872
|
+
|
|
873
|
+
--detailed-error-modal-width: 70%;
|
|
874
|
+
--detailed-error-modal-height: calc(100vh - 100px - var(--navbar-height));
|
|
875
|
+
--detailed-error-modal-top: calc(50px + var(--navbar-height));
|
|
876
|
+
--detailed-error-modal-left: 15%;
|
|
877
|
+
--detailed-error-modal-border-radius: var(--border-radius-md);
|
|
878
|
+
--detailed-error-modal-background: var(--bg-base);
|
|
879
|
+
--detailed-error-modal-color: var(--text-primary);
|
|
880
|
+
--detailed-error-modal-box-shadow: var(--bg-overlay-shadow);
|
|
881
|
+
--detailed-error-modal-z-index: var(--z-index-popover);
|
|
882
|
+
--detailed-error-modal-font-family: var(--font-family-base);
|
|
883
|
+
--detailed-error-modal-padding: var(--spacing-md);
|
|
884
|
+
--detailed-error-modal-wapper-text-align: right;
|
|
885
|
+
|
|
886
|
+
--detailed-error-content-margin-top: var(--spacing-md);
|
|
887
|
+
--detailed-error-content-height: 100%;
|
|
888
|
+
|
|
889
|
+
--detailed-error-close-button-color: var(--text-description);
|
|
890
|
+
--detailed-error-close-button-text-transform: uppercase;
|
|
891
|
+
|
|
892
|
+
--detailed-error-message-margin: var(--spacing-base) auto var(--spacing-lg);
|
|
893
|
+
--detailed-error-message-padding: var(--spacing-base);
|
|
894
|
+
--detailed-error-message-border-radius: var(--border-radius);
|
|
895
|
+
--detailed-error-message-color: var(--code-block-text-color);
|
|
896
|
+
--detailed-error-message-background: var(--code-block-background-color);
|
|
897
|
+
--detailed-error-message-width: 100%;
|
|
898
|
+
--detailed-error-message-font-size: var(--font-size-base);
|
|
899
|
+
--detailed-error-message-font-family: var(--code-block-controls-font-family);
|
|
900
|
+
`;
|
|
901
|
+
const modal = (0, styled_components_1.css) `
|
|
902
|
+
body:has(.scroll-lock) {
|
|
903
|
+
overflow: hidden;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
--modal-box-shadow: var(--bg-overlay-shadow);
|
|
907
|
+
--modal-overlay-background-color: var(--bg-modal-overlay);
|
|
908
|
+
--modal-background-color: var(--bg-base);
|
|
909
|
+
`;
|
|
910
|
+
const zIndexDepth = (0, styled_components_1.css) `
|
|
911
|
+
--z-index-surface: 10;
|
|
912
|
+
--z-index-raised: 100;
|
|
913
|
+
--z-index-popover: 200;
|
|
914
|
+
--z-index-overlay: 1000;
|
|
915
|
+
`;
|
|
916
|
+
const scorecardColors = (0, styled_components_1.css) `
|
|
917
|
+
--scorecard-color-error: var(--color-error);
|
|
918
|
+
--scorecard-color-warning: var(--color-warning);
|
|
919
|
+
--scorecard-color-success: var(--color-green-7);
|
|
920
|
+
`;
|
|
921
|
+
exports.styles = (0, styled_components_1.css) `
|
|
922
|
+
:root {
|
|
923
|
+
${Markdown_1.admonition}
|
|
924
|
+
${apiReferenceDocs}
|
|
925
|
+
${Panel_1.apiReferencePanels}
|
|
926
|
+
${badges}
|
|
927
|
+
${borders}
|
|
928
|
+
${Breadcrumbs_1.breadcrumbs}
|
|
929
|
+
${Button_1.button}
|
|
930
|
+
${Catalog_1.catalog}
|
|
931
|
+
${CodeBlock_1.code}
|
|
932
|
+
${docsDropdown}
|
|
933
|
+
${Dropdown_1.dropdown}
|
|
934
|
+
${error}
|
|
935
|
+
${Filter_1.filter}
|
|
936
|
+
${Footer_1.footer}
|
|
937
|
+
${headingsTypography}
|
|
938
|
+
${inputs}
|
|
939
|
+
${i18n_1.languagePicker}
|
|
940
|
+
${LastUpdated_1.lastUpdated}
|
|
941
|
+
${links}
|
|
942
|
+
${loadProgressBar}
|
|
943
|
+
${NavbarLogo_1.logo}
|
|
944
|
+
${Markdown_1.markdown}
|
|
945
|
+
${Markdown_1.mermaid}
|
|
946
|
+
${Menu_1.menu}
|
|
947
|
+
${Menu_1.mobileMenu}
|
|
948
|
+
${modal}
|
|
949
|
+
${Navbar_1.navbar}
|
|
950
|
+
${pages}
|
|
951
|
+
${Product_1.product}
|
|
952
|
+
${Product_1.productPicker}
|
|
953
|
+
${Panel_1.responsePanelColors}
|
|
954
|
+
${Search_1.search}
|
|
955
|
+
${Select_1.select}
|
|
956
|
+
${Sidebar_1.sidebar}
|
|
957
|
+
${sizeAndSpace}
|
|
958
|
+
${Tag_1.tag}
|
|
959
|
+
${themeColors}
|
|
960
|
+
${tile}
|
|
961
|
+
${TableOfContent_1.toc}
|
|
962
|
+
${Tooltip_1.tooltip}
|
|
963
|
+
${typography}
|
|
964
|
+
${Profile_1.userProfile}
|
|
965
|
+
${Profile_1.userProfileDropdown}
|
|
966
|
+
${Sidebar_1.versionPicker}
|
|
967
|
+
${zIndexDepth}
|
|
968
|
+
${scorecardColors}
|
|
969
|
+
|
|
970
|
+
--api-catalog-card-min-width: 250px;
|
|
971
|
+
|
|
972
|
+
background-color: var(--bg-base);
|
|
973
|
+
color: var(--text-base);
|
|
974
|
+
font-family: var(--font-family-base);
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
:root.dark {
|
|
978
|
+
${darkColors_1.darkMode};
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
:root.notransition * {
|
|
982
|
+
transition: none !important;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
@media screen and (max-width: ${media_css_1.breakpoints.medium}) {
|
|
986
|
+
body.overflow-hidden {
|
|
987
|
+
overflow: hidden;
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
`;
|
|
991
|
+
exports.GlobalStyle = (0, styled_components_1.createGlobalStyle) `
|
|
992
|
+
${exports.styles};
|
|
993
|
+
`;
|
|
994
|
+
//# sourceMappingURL=globalStyle.js.map
|