@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,111 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
export interface AlertIconProps {
|
|
5
|
+
type: 'warning' | 'success' | 'danger' | 'attention' | 'info';
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function Icon({ type, className }: AlertIconProps) {
|
|
10
|
+
switch (type) {
|
|
11
|
+
case 'warning':
|
|
12
|
+
return (
|
|
13
|
+
<svg
|
|
14
|
+
className={className}
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
+
version="1.1"
|
|
17
|
+
id="Layer_1"
|
|
18
|
+
x="0"
|
|
19
|
+
y="0"
|
|
20
|
+
viewBox="0 0 500.6 500.6"
|
|
21
|
+
enableBackground="new 0 0 500.6 500.6"
|
|
22
|
+
>
|
|
23
|
+
<path d="M250.3 15.1c-132.5 0-239.8 107.2-239.8 239.8 0 132.5 107.2 239.8 239.8 239.8 132.5 0 239.8-107.2 239.8-239.8C490.1 122.3 382.8 15.1 250.3 15.1zM250.3 457.1C138.5 457.1 48 366.7 48 254.8 48 143 138.5 52.5 250.3 52.5c111.8 0 202.3 90.5 202.3 202.3C452.6 366.7 362.1 457.1 250.3 457.1z" />
|
|
24
|
+
<path d="M250.3 135.8c-10.3 0-18.7 8.4-18.7 18.7v120.6c0 10.3 8.4 18.7 18.7 18.7s18.7-8.4 18.7-18.7V154.5C269 144.2 260.7 135.8 250.3 135.8z" />
|
|
25
|
+
<circle cx="250.3" cy="342.1" r="25.3" />
|
|
26
|
+
</svg>
|
|
27
|
+
);
|
|
28
|
+
case 'success':
|
|
29
|
+
return (
|
|
30
|
+
<svg
|
|
31
|
+
className={className}
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
version="1.1"
|
|
34
|
+
id="Layer_1"
|
|
35
|
+
x="0"
|
|
36
|
+
y="0"
|
|
37
|
+
viewBox="0 0 500.6 500.6"
|
|
38
|
+
enableBackground="new 0 0 500.6 500.6"
|
|
39
|
+
>
|
|
40
|
+
<path d="M250.3 490.1c132.5 0 239.8-107.2 239.8-239.8 0-132.5-107.2-239.8-239.8-239.8 -132.5 0-239.8 107.2-239.8 239.8C10.6 382.8 117.8 490.1 250.3 490.1zM250.3 48c111.8 0 202.3 90.5 202.3 202.3 0 111.8-90.5 202.3-202.3 202.3C138.5 452.6 48 362.1 48 250.3 48 138.5 138.5 48 250.3 48z" />
|
|
41
|
+
<path d="M224.7 349.6c8.5 5.9 20.2 3.8 26.1-4.6L355 195.7c5.9-8.5 3.8-20.2-4.6-26.1s-20.2-3.8-26.1 4.6L220 323.5C214.1 332 216.2 343.7 224.7 349.6z" />
|
|
42
|
+
<path d="M247.1 346.2c7.3-7.3 7.3-19.2 0-26.5l-55.9-55.9c-7.3-7.3-19.2-7.3-26.5 0s-7.3 19.2 0 26.5l55.9 55.9C228 353.5 239.8 353.5 247.1 346.2z" />
|
|
43
|
+
</svg>
|
|
44
|
+
);
|
|
45
|
+
case 'danger':
|
|
46
|
+
return (
|
|
47
|
+
<svg
|
|
48
|
+
className={className}
|
|
49
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
50
|
+
version="1.1"
|
|
51
|
+
id="Layer_1"
|
|
52
|
+
x="0"
|
|
53
|
+
y="0"
|
|
54
|
+
viewBox="0 0 500.6 500.6"
|
|
55
|
+
enableBackground="new 0 0 500.6 500.6"
|
|
56
|
+
>
|
|
57
|
+
<path d="M250.3 490.1c132.5 0 239.8-107.2 239.8-239.8 0-132.5-107.2-239.8-239.8-239.8 -132.5 0-239.8 107.2-239.8 239.8C10.6 382.8 117.8 490.1 250.3 490.1zM250.3 48c111.8 0 202.3 90.5 202.3 202.3 0 111.8-90.5 202.3-202.3 202.3C138.5 452.6 48 362.1 48 250.3 48 138.5 138.5 48 250.3 48z" />
|
|
58
|
+
<path d="M168.4 332.2c7.3 7.3 19.2 7.3 26.5 0l137.3-137.3c7.3-7.3 7.3-19.2 0-26.5 -7.3-7.3-19.2-7.3-26.5 0L168.4 305.7C161.1 313 161.1 324.9 168.4 332.2z" />
|
|
59
|
+
<path d="M168.4 168.4c-7.3 7.3-7.3 19.2 0 26.5l137.3 137.3c7.3 7.3 19.2 7.3 26.5 0 7.3-7.3 7.3-19.2 0-26.5L194.9 168.4C187.6 161.1 175.7 161.1 168.4 168.4z" />
|
|
60
|
+
</svg>
|
|
61
|
+
);
|
|
62
|
+
case 'attention':
|
|
63
|
+
return (
|
|
64
|
+
<svg
|
|
65
|
+
className={className}
|
|
66
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
67
|
+
version="1.1"
|
|
68
|
+
id="Layer_1"
|
|
69
|
+
x="0"
|
|
70
|
+
y="0"
|
|
71
|
+
viewBox="0 0 500.6 500.6"
|
|
72
|
+
enableBackground="new 0 0 500.6 500.6"
|
|
73
|
+
>
|
|
74
|
+
<path d="M250.3 301.8c-8.3 0-15-6.7-15-15V181.9c0-8.3 6.7-15 15-15 8.3 0 15 6.7 15 15v104.9C265.3 295.1 258.6 301.8 250.3 301.8zM483.7 377L297.2 66.1c-21.2-35.3-72.6-35.4-93.8 0L16.9 377c-17.6 29.4 3.6 67.1 38 67.1h390.8C480.1 444.1 501.4 406.4 483.7 377L483.7 377zM445.7 414.1H54.9c-11.2 0-18-12.2-12.3-21.7L229.1 81.5c9.6-16 32.8-16 42.4 0L458 392.4C463.7 401.9 456.9 414.1 445.7 414.1z" />
|
|
75
|
+
<circle cx="250.3" cy="339.2" r="22.5" />
|
|
76
|
+
</svg>
|
|
77
|
+
);
|
|
78
|
+
default:
|
|
79
|
+
return (
|
|
80
|
+
<svg
|
|
81
|
+
className={className}
|
|
82
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
83
|
+
version="1.1"
|
|
84
|
+
id="Layer_1"
|
|
85
|
+
x="0"
|
|
86
|
+
y="0"
|
|
87
|
+
viewBox="0 0 500.6 500.6"
|
|
88
|
+
enableBackground="new 0 0 500.6 500.6"
|
|
89
|
+
>
|
|
90
|
+
<path d="M250.3 490.7c132.5 0 239.8-107.2 239.8-239.8 0-132.5-107.2-239.8-239.8-239.8 -132.5 0-239.8 107.2-239.8 239.8C10.6 383.5 117.8 490.7 250.3 490.7zM250.3 48.6c111.8 0 202.3 90.5 202.3 202.3 0 111.8-90.5 202.3-202.3 202.3C138.5 453.2 48 362.7 48 250.9 48 139.1 138.5 48.6 250.3 48.6z" />
|
|
91
|
+
<path d="M250.3 370c10.3 0 18.7-8.4 18.7-18.7V230.6c0-10.3-8.4-18.7-18.7-18.7 -10.3 0-18.7 8.4-18.7 18.7v120.6C231.6 361.6 240 370 250.3 370z" />
|
|
92
|
+
<circle cx="250.3" cy="163.7" r="25.3" />
|
|
93
|
+
</svg>
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export const AlertIcon = styled(Icon).attrs(() => ({
|
|
99
|
+
'data-component-name': 'icons/AlertIcon/AlertIcon',
|
|
100
|
+
}))`
|
|
101
|
+
width: var(--admonition-icon-size);
|
|
102
|
+
height: var(--admonition-icon-size);
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
|
|
105
|
+
fill: ${({ type }) => `var(--admonition-${type}-icon-color)`};
|
|
106
|
+
|
|
107
|
+
background-image: ${({ type }) => `var(--admonition-${type}-icon)`};
|
|
108
|
+
background-repeat: no-repeat;
|
|
109
|
+
background-position: center;
|
|
110
|
+
background-size: contain;
|
|
111
|
+
`;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
export interface AnchorIconProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const Icon = ({ className }: AnchorIconProps) => (
|
|
9
|
+
<svg
|
|
10
|
+
aria-hidden="true"
|
|
11
|
+
focusable="false"
|
|
12
|
+
height="16"
|
|
13
|
+
version="1.1"
|
|
14
|
+
viewBox="0 0 16 16"
|
|
15
|
+
width="16"
|
|
16
|
+
className={className}
|
|
17
|
+
>
|
|
18
|
+
<path
|
|
19
|
+
fillRule="evenodd"
|
|
20
|
+
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
export const AnchorIcon = styled(Icon).attrs(() => ({
|
|
26
|
+
'data-component-name': 'icons/AnchorIcon/AnchorIcon',
|
|
27
|
+
}))`
|
|
28
|
+
fill: var(--heading-anchor-color);
|
|
29
|
+
visibility: hidden;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
|
|
32
|
+
background-image: var(--heading-anchor-icon);
|
|
33
|
+
background-size: contain;
|
|
34
|
+
background-repeat: no-repeat;
|
|
35
|
+
background-position: center;
|
|
36
|
+
`;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled, { css } from 'styled-components';
|
|
3
|
+
|
|
4
|
+
function directionToTransform({ direction }: { direction?: string }) {
|
|
5
|
+
switch (direction) {
|
|
6
|
+
case 'up':
|
|
7
|
+
return 180;
|
|
8
|
+
case 'right':
|
|
9
|
+
return -90;
|
|
10
|
+
case 'left':
|
|
11
|
+
return 90;
|
|
12
|
+
default:
|
|
13
|
+
return 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ArrowIconProps {
|
|
18
|
+
className?: string;
|
|
19
|
+
weight?: 'regular' | 'thin';
|
|
20
|
+
direction?: 'up' | 'right' | 'left' | 'down';
|
|
21
|
+
visibility?: 'visible' | 'hidden';
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const Icon = ({ className, weight }: ArrowIconProps) => (
|
|
25
|
+
<span data-component-name="icons/ArrowIcon/ArrowIcon">
|
|
26
|
+
{weight === 'thin' ? (
|
|
27
|
+
<svg
|
|
28
|
+
width="16"
|
|
29
|
+
height="16"
|
|
30
|
+
viewBox="0 0 16 16"
|
|
31
|
+
fill="none"
|
|
32
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
33
|
+
className={className}
|
|
34
|
+
>
|
|
35
|
+
<path
|
|
36
|
+
d="M8 11L3 5.99999L3.7 5.29999L8 9.59999L12.3 5.29999L13 5.99999L8 11Z"
|
|
37
|
+
fill="currentColor"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
) : (
|
|
41
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7 5" className={className}>
|
|
42
|
+
<path d="M3.5 2.51L5.806.205a.7.7 0 01.99.99l-2.8 2.8a.698.698 0 01-.99 0l-2.8-2.8a.7.7 0 11.99-.99L3.5 2.51z" />
|
|
43
|
+
</svg>
|
|
44
|
+
)}
|
|
45
|
+
</span>
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
export const ArrowIcon = styled(Icon)<Pick<ArrowIconProps, 'weight'>>`
|
|
49
|
+
${({ weight }) =>
|
|
50
|
+
weight !== 'thin' &&
|
|
51
|
+
css`
|
|
52
|
+
width: var(--sidebar-group-item-chevron-size);
|
|
53
|
+
height: var(--sidebar-group-item-chevron-size);
|
|
54
|
+
`}
|
|
55
|
+
|
|
56
|
+
fill: var(--sidebar-group-item-chevron-color);
|
|
57
|
+
transform: rotate(${directionToTransform}deg);
|
|
58
|
+
visibility: ${({ visibility = 'visible' }) => visibility};
|
|
59
|
+
|
|
60
|
+
vertical-align: middle;
|
|
61
|
+
`;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
export const Icon = () => (
|
|
5
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="inherit" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
<path d="M21.1875 3.75H2.8125C2.70937 3.75 2.625 3.83437 2.625 3.9375V5.4375C2.625 5.54062 2.70937 5.625 2.8125 5.625H21.1875C21.2906 5.625 21.375 5.54062 21.375 5.4375V3.9375C21.375 3.83437 21.2906 3.75 21.1875 3.75ZM21.1875 18.375H2.8125C2.70937 18.375 2.625 18.4594 2.625 18.5625V20.0625C2.625 20.1656 2.70937 20.25 2.8125 20.25H21.1875C21.2906 20.25 21.375 20.1656 21.375 20.0625V18.5625C21.375 18.4594 21.2906 18.375 21.1875 18.375ZM21.1875 11.0625H2.8125C2.70937 11.0625 2.625 11.1469 2.625 11.25V12.75C2.625 12.8531 2.70937 12.9375 2.8125 12.9375H21.1875C21.2906 12.9375 21.375 12.8531 21.375 12.75V11.25C21.375 11.1469 21.2906 11.0625 21.1875 11.0625Z" />
|
|
7
|
+
</svg>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export const BurgerIcon = styled(Icon).attrs(() => ({
|
|
11
|
+
'data-component-name': 'icons/BurgerIcon/BurgerIcon',
|
|
12
|
+
}))``;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BurgerIcon } from '@theme/icons/BurgerIcon/BurgerIcon';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
const Icon = ({
|
|
5
|
+
className,
|
|
6
|
+
checked = false,
|
|
7
|
+
onClick,
|
|
8
|
+
}: {
|
|
9
|
+
className?: string;
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
}) => (
|
|
13
|
+
<span className={className} onClick={onClick}>
|
|
14
|
+
{checked ? (
|
|
15
|
+
<svg
|
|
16
|
+
width="16"
|
|
17
|
+
height="16"
|
|
18
|
+
viewBox="0 0 16 16"
|
|
19
|
+
fill="none"
|
|
20
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
+
>
|
|
22
|
+
<rect width="16" height="16" rx="4" fill="currentColor" />
|
|
23
|
+
<path
|
|
24
|
+
d="M3.91308 7.03516H3.91326C3.99256 7.03525 4.07081 7.05331 4.14213 7.08798C4.21341 7.12262 4.27591 7.17295 4.32497 7.2352L3.91308 7.03516ZM3.91308 7.03516H3.09394C2.89031 7.03516 2.7766 7.26975 2.90232 7.4292L2.90237 7.42927L6.11214 11.4957L6.11218 11.4957C6.32247 11.7619 6.72568 11.7611 6.93667 11.4962L6.93708 11.4957L12.6597 4.24398C12.6598 4.24378 12.66 4.24358 12.6602 4.24338C12.7884 4.08295 12.6699 3.85 12.4689 3.85H11.6498C11.4894 3.85 11.3367 3.9235 11.2376 4.05044C11.2375 4.05055 11.2374 4.05066 11.2373 4.05077L6.52403 10.0216M3.91308 7.03516L6.52403 10.0216M6.52403 10.0216L4.32506 7.23531L6.52403 10.0216Z"
|
|
25
|
+
fill="currentColor"
|
|
26
|
+
stroke="var(--checkbox-mark-color)"
|
|
27
|
+
/>
|
|
28
|
+
</svg>
|
|
29
|
+
) : (
|
|
30
|
+
<svg
|
|
31
|
+
width="16"
|
|
32
|
+
height="16"
|
|
33
|
+
viewBox="0 0 16 16"
|
|
34
|
+
fill="currentColor"
|
|
35
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
36
|
+
>
|
|
37
|
+
<rect width="16" height="16" rx="4" fill="currentColor" />
|
|
38
|
+
<rect
|
|
39
|
+
x="0.5"
|
|
40
|
+
y="0.5"
|
|
41
|
+
width="15"
|
|
42
|
+
height="15"
|
|
43
|
+
rx="3.5"
|
|
44
|
+
stroke="var(--checkbox-border-color)"
|
|
45
|
+
/>
|
|
46
|
+
</svg>
|
|
47
|
+
)}
|
|
48
|
+
</span>
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
export const CheckboxIcon = styled(Icon).attrs<{ checked?: boolean }>({
|
|
52
|
+
'data-component-name': 'icons/CheckboxIcon/CheckboxIcon',
|
|
53
|
+
})`
|
|
54
|
+
margin-right: var(--spacing-xs);
|
|
55
|
+
display: flex;
|
|
56
|
+
|
|
57
|
+
--checkbox-active-border-color: var(--color-primary-hover);
|
|
58
|
+
--checkbox-active-background-color: var(--color-primary-hover);
|
|
59
|
+
|
|
60
|
+
--checkbox-border-color: var(--text-placeholder);
|
|
61
|
+
--checkbox-background-color: var(--bg-base);
|
|
62
|
+
|
|
63
|
+
--checkbox-mark-color: var(--bg-base);
|
|
64
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CheckboxIcon } from '@theme/icons/CheckboxIcon/CheckboxIcon';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
export const Icon = () => (
|
|
5
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="inherit" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
<rect width="24" height="24" fill="none" />
|
|
7
|
+
<path d="M18 7.05L16.95 6L12 10.95L7.05 6L6 7.05L10.95 12L6 16.95L7.05 18L12 13.05L16.95 18L18 16.95L13.05 12L18 7.05Z" />
|
|
8
|
+
</svg>
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
export const CloseIcon = styled(Icon).attrs(() => ({
|
|
12
|
+
'data-component-name': 'icons/CloseIcon/CloseIcon',
|
|
13
|
+
}))``;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CloseIcon } from '@theme/icons/CloseIcon/CloseIcon';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
interface IconProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
color?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const Icon = ({ className }: IconProps) => (
|
|
10
|
+
<svg
|
|
11
|
+
data-component-name="icons/CollapseIcon"
|
|
12
|
+
viewBox="0 0 14 14"
|
|
13
|
+
fill="none"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
className={className}
|
|
16
|
+
>
|
|
17
|
+
<g clipPath="url(#clip0_906_12165)">
|
|
18
|
+
<rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
|
|
19
|
+
<path
|
|
20
|
+
d="M1.75 7.875V8.75H4.63138L0.875 12.5046L1.49363 13.125L5.25 9.36862V12.25H6.125V7.875H1.75Z"
|
|
21
|
+
fill="currentColor"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
d="M13.125 1.4945L12.509 0.875L8.75 4.63138V1.75H7.875V6.125H12.25V5.25H9.36862L13.125 1.4945Z"
|
|
25
|
+
fill="currentColor"
|
|
26
|
+
/>
|
|
27
|
+
</g>
|
|
28
|
+
<defs>
|
|
29
|
+
<clipPath id="clip0_906_12165">
|
|
30
|
+
<rect width="14" height="14" fill="white" />
|
|
31
|
+
</clipPath>
|
|
32
|
+
</defs>
|
|
33
|
+
</svg>
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
export const CollapseIcon = styled(Icon)`
|
|
37
|
+
width: 1em;
|
|
38
|
+
height: 1em;
|
|
39
|
+
vertical-align: middle;
|
|
40
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/CollapseIcon/CollapseIcon';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
export interface ColorModeIconProps {
|
|
5
|
+
mode?: 'dark' | 'light' | string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function Icon({ mode, className }: ColorModeIconProps) {
|
|
10
|
+
switch (mode) {
|
|
11
|
+
case 'dark':
|
|
12
|
+
return (
|
|
13
|
+
<svg
|
|
14
|
+
data-testid="dark"
|
|
15
|
+
className={className + ' dark'}
|
|
16
|
+
viewBox="0 0 16 16"
|
|
17
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
18
|
+
>
|
|
19
|
+
<path d="M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z" />
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
case 'light':
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
className={className + ' light'}
|
|
26
|
+
data-testid="light"
|
|
27
|
+
viewBox="0 0 16 16"
|
|
28
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
29
|
+
>
|
|
30
|
+
<path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z" />
|
|
31
|
+
</svg>
|
|
32
|
+
);
|
|
33
|
+
default:
|
|
34
|
+
return (
|
|
35
|
+
<svg
|
|
36
|
+
data-testid="custom"
|
|
37
|
+
className={className + (mode ? ' ' + mode : '')}
|
|
38
|
+
viewBox="0 0 16 16"
|
|
39
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
40
|
+
>
|
|
41
|
+
<path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1zm0 13V2a6 6 0 1 1 0 12z" />
|
|
42
|
+
</svg>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export const ColorModeIcon = styled(Icon).attrs(() => ({
|
|
48
|
+
'data-component-name': 'icons/ColorModeIcon/ColorModeIcon',
|
|
49
|
+
}))`
|
|
50
|
+
width: var(--mobile-menu-icons-size);
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
fill: var(--navbar-text-color);
|
|
53
|
+
|
|
54
|
+
${({ theme }) => theme.mediaQueries.medium} {
|
|
55
|
+
width: var(--navbar-font-size);
|
|
56
|
+
}
|
|
57
|
+
`;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
interface IconProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const Icon = ({ className }: IconProps) => (
|
|
9
|
+
<svg
|
|
10
|
+
data-component-name="icons/CopyIcon"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
width="16"
|
|
13
|
+
height="16"
|
|
14
|
+
viewBox="0 0 16 16"
|
|
15
|
+
fill="none"
|
|
16
|
+
className={className}
|
|
17
|
+
>
|
|
18
|
+
<path
|
|
19
|
+
fillRule="evenodd"
|
|
20
|
+
clipRule="evenodd"
|
|
21
|
+
d="M5.16667 2.66667C5.16667 2.57462 5.24129 2.5 5.33333 2.5H12C12.092 2.5 12.1667 2.57462 12.1667 2.66667V10.6667C12.1667 10.7587 12.092 10.8333 12 10.8333H10H5.33333C5.24129 10.8333 5.16667 10.7587 5.16667 10.6667V4.66667V2.66667ZM4.16667 4.16667V2.66667C4.16667 2.02233 4.689 1.5 5.33333 1.5H12C12.6443 1.5 13.1667 2.02233 13.1667 2.66667V10.6667C13.1667 11.311 12.6443 11.8333 12 11.8333H10.5V13.3333C10.5 13.6428 10.3771 13.9395 10.1583 14.1583C9.9395 14.3771 9.64275 14.5 9.33333 14.5H2.66667C2.35725 14.5 2.0605 14.3771 1.84171 14.1583C1.62292 13.9395 1.5 13.6428 1.5 13.3333V5.33333C1.5 5.02391 1.62292 4.72717 1.84171 4.50838C2.0605 4.28958 2.35725 4.16667 2.66667 4.16667H4.16667ZM9.5 11.8333V13.3333C9.5 13.3775 9.48244 13.4199 9.45118 13.4512C9.41993 13.4824 9.37754 13.5 9.33333 13.5H2.66667C2.62246 13.5 2.58007 13.4824 2.54882 13.4512C2.51756 13.4199 2.5 13.3775 2.5 13.3333V5.33333C2.5 5.28913 2.51756 5.24674 2.54882 5.21548C2.58007 5.18423 2.62246 5.16667 2.66667 5.16667H4.16667V10.6667C4.16667 11.311 4.689 11.8333 5.33333 11.8333H9.5Z"
|
|
22
|
+
fill="currentColor"
|
|
23
|
+
fillOpacity="1"
|
|
24
|
+
/>
|
|
25
|
+
</svg>
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
export const CopyIcon = styled(Icon)`
|
|
29
|
+
width: 1.1em;
|
|
30
|
+
height: 1.1em;
|
|
31
|
+
vertical-align: middle;
|
|
32
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/CopyIcon/CopyIcon';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
interface IconProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
color?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const Icon = ({ className }: IconProps) => (
|
|
10
|
+
<svg
|
|
11
|
+
data-component-name="icons/DeselectIcon"
|
|
12
|
+
viewBox="0 0 16 16"
|
|
13
|
+
fill="none"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
className={className}
|
|
16
|
+
>
|
|
17
|
+
<path d="M14.4966 10.5H9.49658V11.5H14.4966V10.5Z" fill="currentColor" />
|
|
18
|
+
<path d="M10.5 3.64746H1.5V4.64746H10.5V3.64746Z" fill="currentColor" />
|
|
19
|
+
<path d="M10.5 6.64746H1.5V7.64746H10.5V6.64746Z" fill="currentColor" />
|
|
20
|
+
<path d="M7.5 9.64746H1.5V10.6475H7.5V9.64746Z" fill="currentColor" />
|
|
21
|
+
</svg>
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
export const DeselectIcon = styled(Icon)`
|
|
25
|
+
width: 1.3em;
|
|
26
|
+
height: 1.3em;
|
|
27
|
+
vertical-align: middle;
|
|
28
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/DeselectIcon/DeselectIcon';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
const Icon = () => (
|
|
5
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">
|
|
6
|
+
<rect width="16" height="16" transform="translate(0 0.511719)" fill="none" />
|
|
7
|
+
<path
|
|
8
|
+
d="M8 1.51172C6.61553 1.51172 5.26216 1.92226 4.11101 2.69143C2.95987 3.4606 2.06266 4.55385 1.53285 5.83293C1.00303 7.11202 0.86441 8.51948 1.13451 9.87735C1.4046 11.2352 2.07129 12.4825 3.05026 13.4615C4.02922 14.4404 5.2765 15.1071 6.63437 15.3772C7.99224 15.6473 9.3997 15.5087 10.6788 14.9789C11.9579 14.4491 13.0511 13.5519 13.8203 12.4007C14.5895 11.2496 15 9.89619 15 8.51172C15 6.6552 14.2625 4.87473 12.9497 3.56197C11.637 2.24922 9.85652 1.51172 8 1.51172ZM8 14.5117C6.81332 14.5117 5.65328 14.1598 4.66658 13.5005C3.67989 12.8412 2.91085 11.9042 2.45673 10.8078C2.0026 9.71146 1.88378 8.50506 2.11529 7.34118C2.3468 6.17729 2.91825 5.10819 3.75736 4.26908C4.59648 3.42996 5.66558 2.85852 6.82946 2.62701C7.99335 2.3955 9.19975 2.51432 10.2961 2.96844C11.3925 3.42257 12.3295 4.1916 12.9888 5.1783C13.6481 6.16499 14 7.32503 14 8.51172C14 10.103 13.3679 11.6291 12.2426 12.7544C11.1174 13.8796 9.5913 14.5117 8 14.5117Z"
|
|
9
|
+
fill="currentColor"
|
|
10
|
+
/>
|
|
11
|
+
<path
|
|
12
|
+
d="M5.75 6.01172C5.50278 6.01172 5.2611 6.08503 5.05554 6.22238C4.84998 6.35973 4.68976 6.55496 4.59515 6.78336C4.50054 7.01177 4.47579 7.26311 4.52402 7.50558C4.57225 7.74806 4.6913 7.97079 4.86612 8.1456C5.04094 8.32042 5.26366 8.43947 5.50614 8.4877C5.74862 8.53593 5.99995 8.51118 6.22836 8.41657C6.45677 8.32196 6.65199 8.16174 6.78934 7.95618C6.92669 7.75062 7 7.50895 7 7.26172C7 6.9302 6.86831 6.61226 6.63389 6.37784C6.39947 6.14341 6.08152 6.01172 5.75 6.01172Z"
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
/>
|
|
15
|
+
<path
|
|
16
|
+
d="M10.25 6.01172C10.0028 6.01172 9.7611 6.08503 9.55554 6.22238C9.34998 6.35973 9.18976 6.55496 9.09515 6.78336C9.00054 7.01177 8.97579 7.26311 9.02402 7.50558C9.07225 7.74806 9.1913 7.97079 9.36612 8.1456C9.54093 8.32042 9.76366 8.43947 10.0061 8.4877C10.2486 8.53593 10.4999 8.51118 10.7284 8.41657C10.9568 8.32196 11.152 8.16174 11.2893 7.95618C11.4267 7.75062 11.5 7.50895 11.5 7.26172C11.5 6.9302 11.3683 6.61226 11.1339 6.37784C10.8995 6.14341 10.5815 6.01172 10.25 6.01172Z"
|
|
17
|
+
fill="currentColor"
|
|
18
|
+
/>
|
|
19
|
+
<path
|
|
20
|
+
d="M8 10.0117C7.30982 10.0129 6.63168 10.1926 6.03151 10.5334C5.43135 10.8743 4.92958 11.3646 4.575 11.9567L5.43 12.4567C5.69683 12.0136 6.07369 11.647 6.524 11.3925C6.97431 11.1381 7.48276 11.0043 8 11.0043C8.51724 11.0043 9.0257 11.1381 9.47601 11.3925C9.92631 11.647 10.3032 12.0136 10.57 12.4567L11.425 11.9567C11.0704 11.3646 10.5687 10.8743 9.96849 10.5334C9.36833 10.1926 8.69019 10.0129 8 10.0117Z"
|
|
21
|
+
fill="currentColor"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
export const DissatisfiedIcon = styled(Icon).attrs(() => ({
|
|
27
|
+
'data-component-name': 'icons/DissatisfiedIcon/DissatisfiedIcon',
|
|
28
|
+
}))``;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/DissatisfiedIcon/DissatisfiedIcon';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
interface IconProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const Icon = ({ className }: IconProps) => (
|
|
9
|
+
<svg
|
|
10
|
+
width="16"
|
|
11
|
+
height="16"
|
|
12
|
+
viewBox="0 0 16 16"
|
|
13
|
+
className={className}
|
|
14
|
+
fill="none"
|
|
15
|
+
data-component-name="icons/EditIcon"
|
|
16
|
+
>
|
|
17
|
+
<rect width="16" height="16" fill="white" style={{ mixBlendMode: 'multiply' }} />
|
|
18
|
+
<path d="M15 13H1V14H15V13Z" fill="currentColor" />
|
|
19
|
+
<path
|
|
20
|
+
d="M12.7 4.5C13.1 4.1 13.1 3.5 12.7 3.1L10.9 1.3C10.5 0.9 9.9 0.9 9.5 1.3L2 8.8V12H5.2L12.7 4.5ZM10.2 2L12 3.8L10.5 5.3L8.7 3.5L10.2 2ZM3 11V9.2L8 4.2L9.8 6L4.8 11H3Z"
|
|
21
|
+
fill="currentColor"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
export const EditIcon = styled(Icon)`
|
|
27
|
+
width: 1em;
|
|
28
|
+
height: 1em;
|
|
29
|
+
vertical-align: middle;
|
|
30
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/EditIcon/EditIcon';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
const Icon = () => (
|
|
5
|
+
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
<path
|
|
7
|
+
d="M8.5 1C4.63438 1 1.5 4.13438 1.5 8C1.5 11.8656 4.63438 15 8.5 15C12.3656 15 15.5 11.8656 15.5 8C15.5 4.13438 12.3656 1 8.5 1ZM11.0844 10.6594L10.0531 10.6547L8.5 8.80313L6.94844 10.6531L5.91563 10.6578C5.84688 10.6578 5.79063 10.6031 5.79063 10.5328C5.79063 10.5031 5.80156 10.475 5.82031 10.4516L7.85313 8.02969L5.82031 5.60938C5.80143 5.58647 5.79096 5.5578 5.79063 5.52812C5.79063 5.45937 5.84688 5.40312 5.91563 5.40312L6.94844 5.40781L8.5 7.25938L10.0516 5.40938L11.0828 5.40469C11.1516 5.40469 11.2078 5.45937 11.2078 5.52969C11.2078 5.55937 11.1969 5.5875 11.1781 5.61094L9.14844 8.03125L11.1797 10.4531C11.1984 10.4766 11.2094 10.5047 11.2094 10.5344C11.2094 10.6031 11.1531 10.6594 11.0844 10.6594Z"
|
|
8
|
+
fill="var(--color-error-base)"
|
|
9
|
+
/>
|
|
10
|
+
</svg>
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
export const ErrorIcon = styled(Icon).attrs(() => ({
|
|
14
|
+
'data-component-name': 'icons/ErrorIcon/ErrorIcon',
|
|
15
|
+
}))``;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/ErrorIcon/ErrorIcon';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
interface IconProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const Icon = ({ className }: IconProps) => (
|
|
9
|
+
<svg
|
|
10
|
+
data-component-name="icons/ExpandIcon"
|
|
11
|
+
viewBox="0 0 14 14"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
className={className}
|
|
15
|
+
>
|
|
16
|
+
<g clipPath="url(#clip0_906_12129)">
|
|
17
|
+
<rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
|
|
18
|
+
<path
|
|
19
|
+
d="M8.75 0.875V1.75H11.6314L7.875 5.50462L8.49362 6.125L12.25 2.36863V5.25H13.125V0.875H8.75Z"
|
|
20
|
+
fill="currentColor"
|
|
21
|
+
/>
|
|
22
|
+
<path
|
|
23
|
+
d="M6.125 8.4945L5.509 7.875L1.75 11.6314V8.75H0.875V13.125H5.25V12.25H2.36863L6.125 8.4945Z"
|
|
24
|
+
fill="currentColor"
|
|
25
|
+
/>
|
|
26
|
+
</g>
|
|
27
|
+
<defs>
|
|
28
|
+
<clipPath id="clip0_906_12129">
|
|
29
|
+
<rect width="14" height="14" fill="white" />
|
|
30
|
+
</clipPath>
|
|
31
|
+
</defs>
|
|
32
|
+
</svg>
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
export const ExpandIcon = styled(Icon)`
|
|
36
|
+
width: 1em;
|
|
37
|
+
height: 1em;
|
|
38
|
+
vertical-align: middle;
|
|
39
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ExpandIcon } from '@theme/icons/ExpandIcon/ExpandIcon';
|