@redocly/theme 0.18.3 → 0.18.4-patch.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Breadcrumbs/Breadcrumb.js +2 -5
- package/lib/components/Breadcrumbs/Breadcrumbs.js +6 -2
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/Breadcrumbs/index.js +1 -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 +6 -3
- package/lib/components/Button/Button.js +41 -41
- package/lib/components/Button/index.d.ts +1 -0
- package/lib/components/Button/index.js +1 -0
- package/lib/components/Button/styledVariables.d.ts +1 -0
- package/lib/components/Button/styledVariables.js +107 -0
- package/lib/components/Catalog/Catalog.d.ts +6 -0
- package/lib/components/Catalog/Catalog.js +112 -102
- package/lib/components/Catalog/CatalogCard.js +91 -58
- package/lib/components/Catalog/index.d.ts +4 -3
- package/lib/components/Catalog/index.js +4 -3
- package/lib/components/Catalog/styledVariables.d.ts +1 -0
- package/lib/components/Catalog/styledVariables.js +95 -0
- package/lib/components/CodeBlock/CodeBlockContainer.js +38 -10
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +3 -4
- package/lib/components/CodeBlock/CodeBlockControlButton.js +5 -19
- package/lib/components/CodeBlock/CodeBlockControls.js +8 -5
- package/lib/components/CodeBlock/index.d.ts +1 -0
- package/lib/components/CodeBlock/index.js +1 -0
- package/lib/components/CodeBlock/styledVariables.d.ts +1 -0
- package/lib/components/CodeBlock/styledVariables.js +92 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +0 -1
- package/lib/components/Dropdown/Dropdown.d.ts +9 -3
- package/lib/components/Dropdown/Dropdown.js +7 -4
- package/lib/components/Dropdown/index.d.ts +1 -0
- package/lib/components/Dropdown/index.js +1 -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 +1 -3
- package/lib/components/EditPageButton/EditPageButton.js +17 -8
- package/lib/components/Feedback/Comment.js +5 -0
- package/lib/components/Feedback/Rating.js +5 -1
- package/lib/components/Feedback/Reasons.js +6 -1
- package/lib/components/Feedback/Sentiment.js +5 -0
- package/lib/components/Feedback/Thumbs.js +4 -4
- package/lib/components/Filter/Filter.d.ts +3 -1
- package/lib/components/Filter/Filter.js +113 -80
- package/lib/components/Filter/FilterContent.d.ts +13 -0
- package/lib/components/Filter/FilterContent.js +60 -0
- package/lib/components/Filter/FilterPopover.d.ts +13 -0
- package/lib/components/Filter/FilterPopover.js +109 -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 +2 -0
- package/lib/components/Filter/index.js +2 -0
- package/lib/components/Filter/styledVariables.d.ts +1 -0
- package/lib/components/Filter/styledVariables.js +112 -0
- package/lib/components/Footer/CustomFooterNavItem.js +1 -1
- package/lib/components/Footer/Footer.d.ts +4 -3
- package/lib/components/Footer/Footer.js +28 -10
- package/lib/components/Footer/FooterColumn.d.ts +3 -3
- package/lib/components/Footer/FooterColumn.js +57 -63
- package/lib/components/Footer/FooterColumns.js +6 -4
- package/lib/components/Footer/FooterCopyright.js +11 -6
- package/lib/components/Footer/index.d.ts +1 -0
- package/lib/components/Footer/index.js +1 -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/{Tags → Image}/index.js +1 -1
- package/lib/components/JsonViewer/JsonViewer.js +2 -2
- package/lib/components/LastUpdated/LastUpdated.js +1 -0
- package/lib/components/LastUpdated/index.d.ts +1 -0
- package/lib/components/{OperationBadge → LastUpdated}/index.js +1 -1
- package/lib/components/LastUpdated/styledVariables.d.ts +1 -0
- package/lib/components/LastUpdated/styledVariables.js +11 -0
- package/lib/components/Markdown/Admonition.js +12 -9
- package/lib/components/Markdown/MarkdownLayout.d.ts +0 -2
- package/lib/components/Markdown/MarkdownLayout.js +1 -6
- package/lib/components/Markdown/MarkdownWrapper.js +2 -4
- package/lib/components/Markdown/Mermaid.js +4 -1
- package/lib/components/Markdown/index.d.ts +1 -0
- package/lib/components/Markdown/index.js +1 -0
- package/lib/components/Markdown/styledVariables.d.ts +3 -0
- package/lib/components/Markdown/styledVariables.js +231 -0
- package/lib/components/Menu/Menu.js +5 -7
- package/lib/components/Menu/MenuGroup.js +12 -7
- package/lib/components/Menu/MenuItem.js +1 -1
- package/lib/components/Menu/MenuItemLabel.js +9 -13
- package/lib/components/Menu/MobileMenu.js +20 -25
- package/lib/components/Menu/MobileMenuGroup.js +1 -1
- package/lib/components/Menu/index.d.ts +1 -0
- package/lib/components/Menu/index.js +1 -0
- package/lib/components/Menu/styledVariables.d.ts +2 -0
- package/lib/components/Menu/styledVariables.js +101 -0
- package/lib/components/Navbar/Navbar.js +20 -13
- package/lib/components/Navbar/NavbarItem.d.ts +1 -1
- package/lib/components/Navbar/NavbarItem.js +18 -6
- package/lib/components/Navbar/NavbarMenu.js +2 -2
- package/lib/components/Navbar/index.d.ts +1 -0
- package/lib/components/Navbar/index.js +1 -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 +4 -1
- package/lib/components/NavbarLogo/NavbarLogo.js +13 -5
- package/lib/components/NavbarLogo/index.d.ts +1 -0
- package/lib/components/NavbarLogo/index.js +1 -0
- package/lib/components/NavbarLogo/styledVariables.d.ts +1 -0
- package/lib/components/NavbarLogo/styledVariables.js +18 -0
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.js +2 -2
- package/lib/components/OpenApiDocs/Dropdown.js +3 -3
- package/lib/components/PageNavigation/NextButton.js +1 -1
- package/lib/components/PageNavigation/PreviousButton.js +1 -1
- package/lib/components/Panel/PanelHeader.js +2 -0
- package/lib/components/Panel/PanelHeaderTitle.js +0 -4
- package/lib/components/Panel/index.d.ts +1 -0
- package/lib/components/Panel/index.js +1 -0
- package/lib/components/Panel/styledVariables.d.ts +2 -0
- package/lib/components/Panel/styledVariables.js +481 -0
- package/lib/components/Product/ProductPicker.js +22 -9
- package/lib/components/Product/index.d.ts +1 -0
- package/lib/components/Product/index.js +1 -0
- package/lib/components/Product/styledVariables.d.ts +2 -0
- package/lib/components/Product/styledVariables.js +42 -0
- package/lib/components/Profile/LoginLink.js +1 -2
- package/lib/components/{Navbar → Profile}/MobileUserProfile.js +12 -24
- package/lib/components/Profile/Profile.js +3 -22
- package/lib/components/Profile/UserProfile.js +21 -9
- package/lib/components/Profile/UserProfileData.d.ts +9 -0
- package/lib/components/Profile/UserProfileData.js +35 -0
- package/lib/components/Profile/index.d.ts +1 -0
- package/lib/components/Profile/index.js +15 -0
- package/lib/components/Profile/styledVariables.d.ts +2 -0
- package/lib/components/Profile/styledVariables.js +55 -0
- package/lib/components/Search/CancelSearch.js +2 -14
- package/lib/components/Search/ProductTag.js +8 -8
- package/lib/components/Search/RecentSearches.js +5 -5
- package/lib/components/Search/Search.js +0 -2
- package/lib/components/Search/SearchIcon.js +2 -2
- package/lib/components/Search/SearchItem.js +4 -4
- package/lib/components/Search/SearchTrigger.js +4 -5
- package/lib/components/Search/ShortcutKey.js +1 -5
- package/lib/components/Search/SuggestedPages.js +3 -3
- package/lib/components/Search/index.d.ts +1 -0
- package/lib/components/Search/index.js +1 -0
- package/lib/components/Search/styledVariables.d.ts +1 -0
- package/lib/components/Search/styledVariables.js +98 -0
- package/lib/components/Select/Select.d.ts +21 -9
- package/lib/components/Select/Select.js +27 -17
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/Select/index.js +1 -0
- package/lib/components/Select/styledVariables.d.ts +1 -0
- package/lib/components/Select/styledVariables.js +34 -0
- package/lib/components/Separator/Separator.js +11 -3
- package/lib/components/Separator/SeparatorItem.js +6 -9
- package/lib/components/Separator/SeparatorLine.js +7 -3
- package/lib/components/Sidebar/ApiCallItem.d.ts +2 -6
- package/lib/components/Sidebar/ApiCallItem.js +17 -13
- package/lib/components/Sidebar/FooterWrapper.js +3 -4
- package/lib/components/Sidebar/HeaderWrapper.js +3 -3
- package/lib/components/Sidebar/VersionPicker.d.ts +3 -3
- package/lib/components/Sidebar/VersionPicker.js +6 -4
- package/lib/components/Sidebar/index.d.ts +1 -0
- package/lib/components/Sidebar/index.js +1 -0
- package/lib/components/Sidebar/styledVariables.d.ts +2 -0
- package/lib/components/Sidebar/styledVariables.js +216 -0
- package/lib/components/Sidebar/types.d.ts +1 -0
- package/lib/components/SidebarActions/CollapseSidebarButton.js +41 -1
- package/lib/components/SidebarActions/styled.js +29 -21
- package/lib/components/TableOfContent/TableOfContent.js +3 -2
- package/lib/components/TableOfContent/index.d.ts +1 -0
- package/lib/components/TableOfContent/index.js +1 -0
- package/lib/components/TableOfContent/styledVariables.d.ts +1 -0
- package/lib/components/TableOfContent/styledVariables.js +47 -0
- package/lib/components/Tabs/Tab.js +1 -1
- package/lib/components/Tabs/Tabs.js +1 -1
- package/lib/components/Tag/Tag.d.ts +18 -0
- package/lib/components/Tag/Tag.js +45 -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 +140 -0
- package/lib/components/Tiles/ThinTile.js +7 -5
- package/lib/components/Tiles/TileHeader.js +1 -1
- package/lib/components/Tiles/TileText.js +1 -1
- package/lib/components/Tiles/WideTile.js +10 -8
- package/lib/components/Tooltip/index.d.ts +1 -0
- package/lib/components/Tooltip/index.js +1 -0
- package/lib/components/Tooltip/styledVariables.d.ts +1 -0
- package/lib/components/Tooltip/styledVariables.js +21 -0
- package/lib/components/Typography/SectionHeader.js +2 -2
- package/lib/components/Typography/Typography.js +1 -1
- package/lib/components/index.d.ts +1 -2
- package/lib/components/index.js +1 -2
- package/lib/config.d.ts +155 -154
- package/lib/config.js +39 -28
- package/lib/globalStyle.js +602 -1983
- package/lib/hooks/useMobileMenu.js +5 -6
- package/lib/hooks/useModalScrollLock.d.ts +1 -0
- package/lib/hooks/useModalScrollLock.js +16 -0
- package/lib/i18n/LanguagePicker.d.ts +9 -0
- package/lib/{I18n → i18n}/LanguagePicker.js +27 -12
- 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.js +0 -5
- package/lib/icons/ArrowIcon/ArrowIcon.js +1 -1
- 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/CollapseIcon/CollapseIcon.d.ts +1 -1
- package/lib/icons/CollapseIcon/CollapseIcon.js +5 -5
- package/lib/icons/ColorModeIcon/ColorModeIcon.js +1 -1
- package/lib/icons/CopyIcon/CopyIcon.d.ts +1 -2
- package/lib/icons/CopyIcon/CopyIcon.js +4 -4
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +1 -1
- package/lib/icons/DeselectIcon/DeselectIcon.js +5 -5
- 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 +1 -2
- package/lib/icons/ExpandIcon/ExpandIcon.js +5 -5
- package/lib/icons/ExternalIcon/ExternalIcon.js +3 -3
- package/lib/icons/FileIcon/FileIcon.d.ts +1 -2
- package/lib/icons/FileIcon/FileIcon.js +2 -2
- 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/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/ReportIcon/ReportIcon.d.ts +1 -2
- package/lib/icons/ReportIcon/ReportIcon.js +3 -3
- 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/SelectIcon/SelectIcon.d.ts +1 -2
- package/lib/icons/SelectIcon/SelectIcon.js +5 -5
- package/lib/icons/index.d.ts +6 -0
- package/lib/icons/index.js +6 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/Forbidden.js +4 -0
- package/lib/layouts/NotFound.js +4 -0
- package/lib/mocks/hooks/index.js +0 -1
- package/lib/types/portal/src/shared/types/catalog.d.ts +5 -1
- package/lib/types/portal/src/shared/types/nav.d.ts +5 -0
- package/lib/ui/ArrowBack.js +0 -1
- package/lib/ui/Burger.js +1 -1
- package/lib/ui/Dropdown.js +7 -7
- package/lib/ui/Highlight.d.ts +1 -1
- package/lib/ui/Highlight.js +1 -1
- package/lib/ui/Jumbotron.js +1 -1
- package/lib/ui/darkColors.js +217 -84
- package/lib/utils/css-variables.js +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -0
- package/lib/utils/tags-parser.d.ts +1 -0
- package/lib/utils/tags-parser.js +10 -0
- package/package.json +1 -1
- package/src/components/Breadcrumbs/Breadcrumb.tsx +2 -5
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +6 -2
- package/src/components/Breadcrumbs/index.ts +1 -0
- package/src/components/Breadcrumbs/styledVariables.ts +17 -0
- package/src/components/Button/Button.tsx +53 -47
- package/src/components/Button/index.ts +1 -0
- package/src/components/Button/styledVariables.ts +104 -0
- package/src/components/Catalog/Catalog.tsx +140 -120
- package/src/components/Catalog/CatalogCard.tsx +108 -58
- package/src/components/Catalog/index.ts +4 -0
- package/src/components/Catalog/styledVariables.ts +92 -0
- package/src/components/CodeBlock/CodeBlockContainer.tsx +17 -9
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +6 -19
- package/src/components/CodeBlock/CodeBlockControls.tsx +8 -5
- package/src/components/CodeBlock/index.ts +1 -0
- package/src/components/CodeBlock/styledVariables.ts +89 -0
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +0 -1
- package/src/components/Dropdown/Dropdown.tsx +14 -5
- package/src/components/Dropdown/index.ts +1 -0
- package/src/components/Dropdown/styledVariables.ts +27 -0
- package/src/components/EditPageButton/EditPageButton.tsx +24 -10
- package/src/components/Feedback/Comment.tsx +5 -0
- package/src/components/Feedback/Rating.tsx +5 -1
- package/src/components/Feedback/Reasons.tsx +6 -1
- package/src/components/Feedback/Sentiment.tsx +5 -0
- package/src/components/Feedback/Thumbs.tsx +4 -4
- package/src/components/Filter/Filter.tsx +150 -94
- package/src/components/Filter/FilterContent.tsx +95 -0
- package/src/components/Filter/FilterPopover.tsx +150 -0
- package/src/components/Filter/FilterTag.tsx +37 -0
- package/src/components/Filter/FilterTags.tsx +39 -0
- package/src/components/Filter/index.ts +2 -0
- package/src/components/Filter/styledVariables.ts +109 -0
- package/src/components/Footer/CustomFooterNavItem.tsx +1 -1
- package/src/components/Footer/Footer.tsx +32 -10
- package/src/components/Footer/FooterColumn.tsx +84 -63
- package/src/components/Footer/FooterColumns.tsx +6 -4
- package/src/components/Footer/FooterCopyright.tsx +13 -7
- package/src/components/Footer/index.ts +1 -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 +2 -2
- package/src/components/LastUpdated/LastUpdated.tsx +1 -2
- package/src/components/LastUpdated/index.ts +1 -0
- package/src/components/LastUpdated/styledVariables.ts +8 -0
- package/src/components/Markdown/Admonition.tsx +13 -8
- package/src/components/Markdown/MarkdownLayout.tsx +2 -15
- package/src/components/Markdown/MarkdownWrapper.tsx +2 -4
- package/src/components/Markdown/Mermaid.tsx +4 -1
- package/src/components/Markdown/index.ts +1 -0
- package/src/components/Markdown/styledVariables.ts +230 -0
- package/src/components/Menu/Menu.tsx +5 -7
- package/src/components/Menu/MenuGroup.tsx +15 -7
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/Menu/MenuItemLabel.tsx +9 -13
- package/src/components/Menu/MobileMenu.tsx +20 -25
- package/src/components/Menu/MobileMenuGroup.tsx +1 -1
- package/src/components/Menu/index.ts +1 -0
- package/src/components/Menu/styledVariables.ts +99 -0
- package/src/components/Navbar/Navbar.tsx +20 -13
- package/src/components/Navbar/NavbarItem.tsx +18 -4
- package/src/components/Navbar/NavbarMenu.tsx +2 -2
- package/src/components/Navbar/index.ts +1 -0
- package/src/components/Navbar/styledVariables.ts +39 -0
- package/src/components/NavbarLogo/NavbarLogo.tsx +24 -11
- package/src/components/NavbarLogo/index.ts +1 -0
- package/src/components/NavbarLogo/styledVariables.ts +15 -0
- package/src/components/OpenApiDocs/DevOnboardingTryItSecurity.tsx +1 -2
- package/src/components/OpenApiDocs/Dropdown.tsx +3 -3
- package/src/components/PageNavigation/NextButton.tsx +0 -1
- package/src/components/PageNavigation/PreviousButton.tsx +0 -1
- package/src/components/Panel/PanelHeader.ts +2 -0
- package/src/components/Panel/PanelHeaderTitle.ts +0 -4
- package/src/components/Panel/index.ts +1 -0
- package/src/components/Panel/styledVariables.ts +479 -0
- package/src/components/Product/ProductPicker.tsx +23 -17
- package/src/components/Product/index.ts +1 -0
- package/src/components/Product/styledVariables.ts +40 -0
- package/src/components/Profile/LoginLink.tsx +1 -2
- package/src/components/{Navbar → Profile}/MobileUserProfile.tsx +12 -29
- package/src/components/Profile/Profile.tsx +1 -24
- package/src/components/Profile/UserProfile.tsx +20 -8
- package/src/components/Profile/UserProfileData.tsx +40 -0
- package/src/components/Profile/index.ts +1 -0
- package/src/components/Profile/styledVariables.ts +53 -0
- package/src/components/Search/CancelSearch.tsx +2 -15
- package/src/components/Search/ProductTag.tsx +8 -8
- package/src/components/Search/RecentSearches.tsx +5 -5
- package/src/components/Search/Search.tsx +0 -2
- package/src/components/Search/SearchIcon.tsx +10 -5
- package/src/components/Search/SearchItem.tsx +4 -4
- package/src/components/Search/SearchTrigger.tsx +4 -5
- package/src/components/Search/ShortcutKey.tsx +1 -5
- package/src/components/Search/SuggestedPages.tsx +3 -3
- package/src/components/Search/index.ts +1 -0
- package/src/components/Search/styledVariables.ts +95 -0
- package/src/components/Select/Select.tsx +65 -31
- package/src/components/Select/index.ts +1 -0
- package/src/components/Select/styledVariables.ts +31 -0
- package/src/components/Separator/Separator.tsx +17 -3
- package/src/components/Separator/SeparatorItem.tsx +6 -9
- package/src/components/Separator/SeparatorLine.tsx +7 -3
- package/src/components/Sidebar/ApiCallItem.tsx +17 -13
- package/src/components/Sidebar/FooterWrapper.tsx +3 -4
- package/src/components/Sidebar/HeaderWrapper.tsx +3 -3
- package/src/components/Sidebar/VersionPicker.tsx +6 -4
- package/src/components/Sidebar/index.ts +1 -0
- package/src/components/Sidebar/styledVariables.ts +214 -0
- package/src/components/Sidebar/types.ts +1 -0
- package/src/components/SidebarActions/CollapseSidebarButton.tsx +22 -2
- package/src/components/SidebarActions/styled.tsx +29 -30
- package/src/components/TableOfContent/TableOfContent.tsx +3 -2
- package/src/components/TableOfContent/index.ts +1 -0
- package/src/components/TableOfContent/styledVariables.ts +44 -0
- package/src/components/Tabs/Tab.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Tag/Tag.tsx +71 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/Tag/styledVariables.ts +137 -0
- package/src/components/Tiles/ThinTile.tsx +7 -5
- package/src/components/Tiles/TileHeader.ts +1 -1
- package/src/components/Tiles/TileText.tsx +1 -1
- package/src/components/Tiles/WideTile.tsx +10 -8
- package/src/components/Tooltip/index.ts +1 -0
- package/src/components/Tooltip/styledVariables.ts +18 -0
- package/src/components/Typography/SectionHeader.ts +2 -2
- package/src/components/Typography/Typography.ts +1 -1
- package/src/components/index.ts +1 -2
- package/src/config.ts +44 -29
- package/src/globalStyle.ts +597 -1999
- package/src/hooks/useMobileMenu.ts +3 -4
- package/src/hooks/useModalScrollLock.ts +12 -0
- package/src/{I18n → i18n}/LanguagePicker.tsx +48 -21
- package/src/i18n/index.ts +2 -0
- package/src/i18n/styledVariables.ts +37 -0
- package/src/icons/AlertIcon/AlertIcon.tsx +0 -5
- package/src/icons/ArrowIcon/ArrowIcon.tsx +1 -1
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +64 -0
- package/src/icons/CheckboxIcon/index.ts +1 -0
- package/src/icons/CollapseIcon/CollapseIcon.tsx +5 -5
- package/src/icons/ColorModeIcon/ColorModeIcon.tsx +1 -1
- package/src/icons/CopyIcon/CopyIcon.tsx +4 -5
- package/src/icons/DeselectIcon/DeselectIcon.tsx +5 -5
- 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 +5 -6
- package/src/icons/ExternalIcon/ExternalIcon.tsx +4 -4
- package/src/icons/FileIcon/FileIcon.tsx +2 -3
- package/src/icons/LanguageIcon/LanguageIcon.tsx +15 -0
- package/src/icons/LanguageIcon/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/ReportIcon/ReportIcon.tsx +3 -4
- package/src/icons/RocketIcon/RocketIcon.tsx +32 -0
- package/src/icons/RocketIcon/index.tsx +1 -0
- package/src/icons/SelectIcon/SelectIcon.tsx +5 -6
- package/src/icons/index.ts +6 -0
- package/src/index.ts +1 -1
- package/src/layouts/Forbidden.tsx +4 -0
- package/src/layouts/NotFound.tsx +4 -0
- package/src/mocks/hooks/index.ts +0 -1
- package/src/types/portal/src/shared/types/catalog.ts +7 -1
- package/src/types/portal/src/shared/types/nav.ts +5 -0
- package/src/ui/ArrowBack.tsx +0 -1
- package/src/ui/Burger.tsx +1 -1
- package/src/ui/Dropdown.tsx +7 -7
- package/src/ui/Highlight.tsx +2 -2
- package/src/ui/Jumbotron.tsx +1 -1
- package/src/ui/darkColors.tsx +217 -84
- package/src/utils/css-variables.ts +4 -2
- package/src/utils/index.ts +1 -0
- package/src/utils/tags-parser.ts +8 -0
- package/lib/I18n/LanguagePicker.d.ts +0 -4
- package/lib/I18n/index.d.ts +0 -1
- package/lib/I18n/index.js +0 -6
- package/lib/components/OperationBadge/OperationBadge.d.ts +0 -6
- package/lib/components/OperationBadge/OperationBadge.js +0 -68
- package/lib/components/OperationBadge/index.d.ts +0 -1
- package/lib/components/Tags/Tags.d.ts +0 -5
- package/lib/components/Tags/Tags.js +0 -32
- package/lib/components/Tags/index.d.ts +0 -1
- package/src/I18n/index.ts +0 -1
- package/src/components/Catalog/index.tsx +0 -3
- package/src/components/OperationBadge/OperationBadge.ts +0 -62
- package/src/components/OperationBadge/index.ts +0 -1
- package/src/components/Tags/Tags.tsx +0 -36
- package/src/components/Tags/index.ts +0 -1
- /package/lib/components/{Navbar → Profile}/MobileUserProfile.d.ts +0 -0
package/lib/config.d.ts
CHANGED
|
@@ -58,13 +58,6 @@ declare const markdownConfigSchema: {
|
|
|
58
58
|
readonly baseUrl: {
|
|
59
59
|
readonly type: "string";
|
|
60
60
|
};
|
|
61
|
-
readonly icon: {
|
|
62
|
-
readonly type: "string";
|
|
63
|
-
};
|
|
64
|
-
readonly text: {
|
|
65
|
-
readonly type: "string";
|
|
66
|
-
readonly default: "Edit this page";
|
|
67
|
-
};
|
|
68
61
|
};
|
|
69
62
|
readonly additionalProperties: false;
|
|
70
63
|
readonly default: {};
|
|
@@ -202,15 +195,18 @@ declare const googleAnalyticsConfigSchema: {
|
|
|
202
195
|
readonly trackingId: {
|
|
203
196
|
readonly type: "string";
|
|
204
197
|
};
|
|
198
|
+
readonly conversionId: {
|
|
199
|
+
readonly type: "string";
|
|
200
|
+
};
|
|
201
|
+
readonly floodlightId: {
|
|
202
|
+
readonly type: "string";
|
|
203
|
+
};
|
|
205
204
|
readonly head: {
|
|
206
205
|
readonly type: "boolean";
|
|
207
206
|
};
|
|
208
207
|
readonly respectDNT: {
|
|
209
208
|
readonly type: "boolean";
|
|
210
209
|
};
|
|
211
|
-
readonly anonymize: {
|
|
212
|
-
readonly type: "boolean";
|
|
213
|
-
};
|
|
214
210
|
readonly exclude: {
|
|
215
211
|
readonly type: "array";
|
|
216
212
|
readonly items: {
|
|
@@ -220,78 +216,12 @@ declare const googleAnalyticsConfigSchema: {
|
|
|
220
216
|
readonly optimizeId: {
|
|
221
217
|
readonly type: "string";
|
|
222
218
|
};
|
|
223
|
-
readonly
|
|
224
|
-
readonly type: "string";
|
|
225
|
-
};
|
|
226
|
-
readonly variationId: {
|
|
227
|
-
readonly type: "string";
|
|
228
|
-
};
|
|
229
|
-
readonly enableWebVitalsTracking: {
|
|
230
|
-
readonly type: "boolean";
|
|
231
|
-
};
|
|
232
|
-
readonly defer: {
|
|
233
|
-
readonly type: "boolean";
|
|
234
|
-
};
|
|
235
|
-
readonly sampleRate: {
|
|
236
|
-
readonly type: "number";
|
|
237
|
-
};
|
|
238
|
-
readonly name: {
|
|
239
|
-
readonly type: "string";
|
|
240
|
-
};
|
|
241
|
-
readonly clientId: {
|
|
242
|
-
readonly type: "string";
|
|
243
|
-
};
|
|
244
|
-
readonly siteSpeedSampleRate: {
|
|
245
|
-
readonly type: "number";
|
|
246
|
-
};
|
|
247
|
-
readonly alwaysSendReferrer: {
|
|
248
|
-
readonly type: "boolean";
|
|
249
|
-
};
|
|
250
|
-
readonly allowAnchor: {
|
|
219
|
+
readonly anonymizeIp: {
|
|
251
220
|
readonly type: "boolean";
|
|
252
221
|
};
|
|
253
|
-
readonly cookieName: {
|
|
254
|
-
readonly type: "string";
|
|
255
|
-
};
|
|
256
|
-
readonly cookieFlags: {
|
|
257
|
-
readonly type: "string";
|
|
258
|
-
};
|
|
259
|
-
readonly cookieDomain: {
|
|
260
|
-
readonly type: "string";
|
|
261
|
-
};
|
|
262
222
|
readonly cookieExpires: {
|
|
263
223
|
readonly type: "number";
|
|
264
224
|
};
|
|
265
|
-
readonly storeGac: {
|
|
266
|
-
readonly type: "boolean";
|
|
267
|
-
};
|
|
268
|
-
readonly legacyCookieDomain: {
|
|
269
|
-
readonly type: "string";
|
|
270
|
-
};
|
|
271
|
-
readonly legacyHistoryImport: {
|
|
272
|
-
readonly type: "boolean";
|
|
273
|
-
};
|
|
274
|
-
readonly allowLinker: {
|
|
275
|
-
readonly type: "boolean";
|
|
276
|
-
};
|
|
277
|
-
readonly storage: {
|
|
278
|
-
readonly type: "string";
|
|
279
|
-
};
|
|
280
|
-
readonly allowAdFeatures: {
|
|
281
|
-
readonly type: "boolean";
|
|
282
|
-
};
|
|
283
|
-
readonly dataSource: {
|
|
284
|
-
readonly type: "string";
|
|
285
|
-
};
|
|
286
|
-
readonly queueTime: {
|
|
287
|
-
readonly type: "number";
|
|
288
|
-
};
|
|
289
|
-
readonly forceSSL: {
|
|
290
|
-
readonly type: "boolean";
|
|
291
|
-
};
|
|
292
|
-
readonly transport: {
|
|
293
|
-
readonly type: "string";
|
|
294
|
-
};
|
|
295
225
|
};
|
|
296
226
|
readonly additionalProperties: false;
|
|
297
227
|
readonly required: readonly ["trackingId"];
|
|
@@ -356,6 +286,20 @@ declare const scorecardConfigSchema: {
|
|
|
356
286
|
readonly type: "boolean";
|
|
357
287
|
readonly default: false;
|
|
358
288
|
};
|
|
289
|
+
readonly teamMetadataProperty: {
|
|
290
|
+
readonly type: "object";
|
|
291
|
+
readonly properties: {
|
|
292
|
+
readonly property: {
|
|
293
|
+
readonly type: "string";
|
|
294
|
+
};
|
|
295
|
+
readonly label: {
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
};
|
|
298
|
+
readonly default: {
|
|
299
|
+
readonly type: "string";
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
};
|
|
359
303
|
readonly levels: {
|
|
360
304
|
readonly type: "array";
|
|
361
305
|
readonly items: {
|
|
@@ -458,6 +402,10 @@ declare const catalogSchema: {
|
|
|
458
402
|
readonly groupByFirstFilter: {
|
|
459
403
|
readonly type: "boolean";
|
|
460
404
|
};
|
|
405
|
+
readonly filterValuesCasing: {
|
|
406
|
+
readonly type: "string";
|
|
407
|
+
readonly enum: readonly ["sentence", "original", "lowercase", "uppercase"];
|
|
408
|
+
};
|
|
461
409
|
readonly items: {
|
|
462
410
|
readonly type: "array";
|
|
463
411
|
readonly items: {
|
|
@@ -485,6 +433,11 @@ declare const catalogSchema: {
|
|
|
485
433
|
readonly separatorLine: {
|
|
486
434
|
readonly type: "boolean";
|
|
487
435
|
};
|
|
436
|
+
readonly linePosition: {
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
readonly enum: readonly ["top", "bottom"];
|
|
439
|
+
readonly default: "top";
|
|
440
|
+
};
|
|
488
441
|
readonly version: {
|
|
489
442
|
readonly type: "string";
|
|
490
443
|
};
|
|
@@ -529,6 +482,11 @@ declare const catalogSchema: {
|
|
|
529
482
|
readonly separatorLine: {
|
|
530
483
|
readonly type: "boolean";
|
|
531
484
|
};
|
|
485
|
+
readonly linePosition: {
|
|
486
|
+
readonly type: "string";
|
|
487
|
+
readonly enum: readonly ["top", "bottom"];
|
|
488
|
+
readonly default: "top";
|
|
489
|
+
};
|
|
532
490
|
readonly version: {
|
|
533
491
|
readonly type: "string";
|
|
534
492
|
};
|
|
@@ -592,6 +550,9 @@ export declare const themeConfigSchema: {
|
|
|
592
550
|
readonly image: {
|
|
593
551
|
readonly type: "string";
|
|
594
552
|
};
|
|
553
|
+
readonly srcSet: {
|
|
554
|
+
readonly type: "string";
|
|
555
|
+
};
|
|
595
556
|
readonly altText: {
|
|
596
557
|
readonly type: "string";
|
|
597
558
|
};
|
|
@@ -637,6 +598,11 @@ export declare const themeConfigSchema: {
|
|
|
637
598
|
readonly separatorLine: {
|
|
638
599
|
readonly type: "boolean";
|
|
639
600
|
};
|
|
601
|
+
readonly linePosition: {
|
|
602
|
+
readonly type: "string";
|
|
603
|
+
readonly enum: readonly ["top", "bottom"];
|
|
604
|
+
readonly default: "top";
|
|
605
|
+
};
|
|
640
606
|
readonly version: {
|
|
641
607
|
readonly type: "string";
|
|
642
608
|
};
|
|
@@ -681,6 +647,11 @@ export declare const themeConfigSchema: {
|
|
|
681
647
|
readonly separatorLine: {
|
|
682
648
|
readonly type: "boolean";
|
|
683
649
|
};
|
|
650
|
+
readonly linePosition: {
|
|
651
|
+
readonly type: "string";
|
|
652
|
+
readonly enum: readonly ["top", "bottom"];
|
|
653
|
+
readonly default: "top";
|
|
654
|
+
};
|
|
684
655
|
readonly version: {
|
|
685
656
|
readonly type: "string";
|
|
686
657
|
};
|
|
@@ -763,6 +734,11 @@ export declare const themeConfigSchema: {
|
|
|
763
734
|
readonly separatorLine: {
|
|
764
735
|
readonly type: "boolean";
|
|
765
736
|
};
|
|
737
|
+
readonly linePosition: {
|
|
738
|
+
readonly type: "string";
|
|
739
|
+
readonly enum: readonly ["top", "bottom"];
|
|
740
|
+
readonly default: "top";
|
|
741
|
+
};
|
|
766
742
|
readonly version: {
|
|
767
743
|
readonly type: "string";
|
|
768
744
|
};
|
|
@@ -807,6 +783,11 @@ export declare const themeConfigSchema: {
|
|
|
807
783
|
readonly separatorLine: {
|
|
808
784
|
readonly type: "boolean";
|
|
809
785
|
};
|
|
786
|
+
readonly linePosition: {
|
|
787
|
+
readonly type: "string";
|
|
788
|
+
readonly enum: readonly ["top", "bottom"];
|
|
789
|
+
readonly default: "top";
|
|
790
|
+
};
|
|
810
791
|
readonly version: {
|
|
811
792
|
readonly type: "string";
|
|
812
793
|
};
|
|
@@ -837,6 +818,15 @@ export declare const themeConfigSchema: {
|
|
|
837
818
|
readonly copyrightText: {
|
|
838
819
|
readonly type: "string";
|
|
839
820
|
};
|
|
821
|
+
readonly logo: {
|
|
822
|
+
readonly type: "object";
|
|
823
|
+
readonly properties: {
|
|
824
|
+
readonly hide: {
|
|
825
|
+
readonly type: "boolean";
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
readonly additionalProperties: false;
|
|
829
|
+
};
|
|
840
830
|
};
|
|
841
831
|
readonly additionalProperties: false;
|
|
842
832
|
};
|
|
@@ -846,6 +836,14 @@ export declare const themeConfigSchema: {
|
|
|
846
836
|
readonly hide: {
|
|
847
837
|
readonly type: "boolean";
|
|
848
838
|
};
|
|
839
|
+
readonly separatorLine: {
|
|
840
|
+
readonly type: "boolean";
|
|
841
|
+
};
|
|
842
|
+
readonly linePosition: {
|
|
843
|
+
readonly type: "string";
|
|
844
|
+
readonly enum: readonly ["top", "bottom"];
|
|
845
|
+
readonly default: "bottom";
|
|
846
|
+
};
|
|
849
847
|
};
|
|
850
848
|
readonly additionalProperties: false;
|
|
851
849
|
};
|
|
@@ -1294,13 +1292,6 @@ export declare const themeConfigSchema: {
|
|
|
1294
1292
|
readonly baseUrl: {
|
|
1295
1293
|
readonly type: "string";
|
|
1296
1294
|
};
|
|
1297
|
-
readonly icon: {
|
|
1298
|
-
readonly type: "string";
|
|
1299
|
-
};
|
|
1300
|
-
readonly text: {
|
|
1301
|
-
readonly type: "string";
|
|
1302
|
-
readonly default: "Edit this page";
|
|
1303
|
-
};
|
|
1304
1295
|
};
|
|
1305
1296
|
readonly additionalProperties: false;
|
|
1306
1297
|
readonly default: {};
|
|
@@ -1491,15 +1482,18 @@ export declare const themeConfigSchema: {
|
|
|
1491
1482
|
readonly trackingId: {
|
|
1492
1483
|
readonly type: "string";
|
|
1493
1484
|
};
|
|
1485
|
+
readonly conversionId: {
|
|
1486
|
+
readonly type: "string";
|
|
1487
|
+
};
|
|
1488
|
+
readonly floodlightId: {
|
|
1489
|
+
readonly type: "string";
|
|
1490
|
+
};
|
|
1494
1491
|
readonly head: {
|
|
1495
1492
|
readonly type: "boolean";
|
|
1496
1493
|
};
|
|
1497
1494
|
readonly respectDNT: {
|
|
1498
1495
|
readonly type: "boolean";
|
|
1499
1496
|
};
|
|
1500
|
-
readonly anonymize: {
|
|
1501
|
-
readonly type: "boolean";
|
|
1502
|
-
};
|
|
1503
1497
|
readonly exclude: {
|
|
1504
1498
|
readonly type: "array";
|
|
1505
1499
|
readonly items: {
|
|
@@ -1509,78 +1503,12 @@ export declare const themeConfigSchema: {
|
|
|
1509
1503
|
readonly optimizeId: {
|
|
1510
1504
|
readonly type: "string";
|
|
1511
1505
|
};
|
|
1512
|
-
readonly
|
|
1513
|
-
readonly type: "string";
|
|
1514
|
-
};
|
|
1515
|
-
readonly variationId: {
|
|
1516
|
-
readonly type: "string";
|
|
1517
|
-
};
|
|
1518
|
-
readonly enableWebVitalsTracking: {
|
|
1506
|
+
readonly anonymizeIp: {
|
|
1519
1507
|
readonly type: "boolean";
|
|
1520
1508
|
};
|
|
1521
|
-
readonly defer: {
|
|
1522
|
-
readonly type: "boolean";
|
|
1523
|
-
};
|
|
1524
|
-
readonly sampleRate: {
|
|
1525
|
-
readonly type: "number";
|
|
1526
|
-
};
|
|
1527
|
-
readonly name: {
|
|
1528
|
-
readonly type: "string";
|
|
1529
|
-
};
|
|
1530
|
-
readonly clientId: {
|
|
1531
|
-
readonly type: "string";
|
|
1532
|
-
};
|
|
1533
|
-
readonly siteSpeedSampleRate: {
|
|
1534
|
-
readonly type: "number";
|
|
1535
|
-
};
|
|
1536
|
-
readonly alwaysSendReferrer: {
|
|
1537
|
-
readonly type: "boolean";
|
|
1538
|
-
};
|
|
1539
|
-
readonly allowAnchor: {
|
|
1540
|
-
readonly type: "boolean";
|
|
1541
|
-
};
|
|
1542
|
-
readonly cookieName: {
|
|
1543
|
-
readonly type: "string";
|
|
1544
|
-
};
|
|
1545
|
-
readonly cookieFlags: {
|
|
1546
|
-
readonly type: "string";
|
|
1547
|
-
};
|
|
1548
|
-
readonly cookieDomain: {
|
|
1549
|
-
readonly type: "string";
|
|
1550
|
-
};
|
|
1551
1509
|
readonly cookieExpires: {
|
|
1552
1510
|
readonly type: "number";
|
|
1553
1511
|
};
|
|
1554
|
-
readonly storeGac: {
|
|
1555
|
-
readonly type: "boolean";
|
|
1556
|
-
};
|
|
1557
|
-
readonly legacyCookieDomain: {
|
|
1558
|
-
readonly type: "string";
|
|
1559
|
-
};
|
|
1560
|
-
readonly legacyHistoryImport: {
|
|
1561
|
-
readonly type: "boolean";
|
|
1562
|
-
};
|
|
1563
|
-
readonly allowLinker: {
|
|
1564
|
-
readonly type: "boolean";
|
|
1565
|
-
};
|
|
1566
|
-
readonly storage: {
|
|
1567
|
-
readonly type: "string";
|
|
1568
|
-
};
|
|
1569
|
-
readonly allowAdFeatures: {
|
|
1570
|
-
readonly type: "boolean";
|
|
1571
|
-
};
|
|
1572
|
-
readonly dataSource: {
|
|
1573
|
-
readonly type: "string";
|
|
1574
|
-
};
|
|
1575
|
-
readonly queueTime: {
|
|
1576
|
-
readonly type: "number";
|
|
1577
|
-
};
|
|
1578
|
-
readonly forceSSL: {
|
|
1579
|
-
readonly type: "boolean";
|
|
1580
|
-
};
|
|
1581
|
-
readonly transport: {
|
|
1582
|
-
readonly type: "string";
|
|
1583
|
-
};
|
|
1584
1512
|
};
|
|
1585
1513
|
readonly additionalProperties: false;
|
|
1586
1514
|
readonly required: readonly ["trackingId"];
|
|
@@ -1708,6 +1636,10 @@ export declare const themeConfigSchema: {
|
|
|
1708
1636
|
readonly groupByFirstFilter: {
|
|
1709
1637
|
readonly type: "boolean";
|
|
1710
1638
|
};
|
|
1639
|
+
readonly filterValuesCasing: {
|
|
1640
|
+
readonly type: "string";
|
|
1641
|
+
readonly enum: readonly ["sentence", "original", "lowercase", "uppercase"];
|
|
1642
|
+
};
|
|
1711
1643
|
readonly items: {
|
|
1712
1644
|
readonly type: "array";
|
|
1713
1645
|
readonly items: {
|
|
@@ -1735,6 +1667,11 @@ export declare const themeConfigSchema: {
|
|
|
1735
1667
|
readonly separatorLine: {
|
|
1736
1668
|
readonly type: "boolean";
|
|
1737
1669
|
};
|
|
1670
|
+
readonly linePosition: {
|
|
1671
|
+
readonly type: "string";
|
|
1672
|
+
readonly enum: readonly ["top", "bottom"];
|
|
1673
|
+
readonly default: "top";
|
|
1674
|
+
};
|
|
1738
1675
|
readonly version: {
|
|
1739
1676
|
readonly type: "string";
|
|
1740
1677
|
};
|
|
@@ -1779,6 +1716,11 @@ export declare const themeConfigSchema: {
|
|
|
1779
1716
|
readonly separatorLine: {
|
|
1780
1717
|
readonly type: "boolean";
|
|
1781
1718
|
};
|
|
1719
|
+
readonly linePosition: {
|
|
1720
|
+
readonly type: "string";
|
|
1721
|
+
readonly enum: readonly ["top", "bottom"];
|
|
1722
|
+
readonly default: "top";
|
|
1723
|
+
};
|
|
1782
1724
|
readonly version: {
|
|
1783
1725
|
readonly type: "string";
|
|
1784
1726
|
};
|
|
@@ -1837,6 +1779,20 @@ export declare const themeConfigSchema: {
|
|
|
1837
1779
|
readonly type: "boolean";
|
|
1838
1780
|
readonly default: false;
|
|
1839
1781
|
};
|
|
1782
|
+
readonly teamMetadataProperty: {
|
|
1783
|
+
readonly type: "object";
|
|
1784
|
+
readonly properties: {
|
|
1785
|
+
readonly property: {
|
|
1786
|
+
readonly type: "string";
|
|
1787
|
+
};
|
|
1788
|
+
readonly label: {
|
|
1789
|
+
readonly type: "string";
|
|
1790
|
+
};
|
|
1791
|
+
readonly default: {
|
|
1792
|
+
readonly type: "string";
|
|
1793
|
+
};
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1840
1796
|
readonly levels: {
|
|
1841
1797
|
readonly type: "array";
|
|
1842
1798
|
readonly items: {
|
|
@@ -1903,6 +1859,9 @@ export declare const productThemeOverrideSchema: {
|
|
|
1903
1859
|
readonly image: {
|
|
1904
1860
|
readonly type: "string";
|
|
1905
1861
|
};
|
|
1862
|
+
readonly srcSet: {
|
|
1863
|
+
readonly type: "string";
|
|
1864
|
+
};
|
|
1906
1865
|
readonly altText: {
|
|
1907
1866
|
readonly type: "string";
|
|
1908
1867
|
};
|
|
@@ -1948,6 +1907,11 @@ export declare const productThemeOverrideSchema: {
|
|
|
1948
1907
|
readonly separatorLine: {
|
|
1949
1908
|
readonly type: "boolean";
|
|
1950
1909
|
};
|
|
1910
|
+
readonly linePosition: {
|
|
1911
|
+
readonly type: "string";
|
|
1912
|
+
readonly enum: readonly ["top", "bottom"];
|
|
1913
|
+
readonly default: "top";
|
|
1914
|
+
};
|
|
1951
1915
|
readonly version: {
|
|
1952
1916
|
readonly type: "string";
|
|
1953
1917
|
};
|
|
@@ -1992,6 +1956,11 @@ export declare const productThemeOverrideSchema: {
|
|
|
1992
1956
|
readonly separatorLine: {
|
|
1993
1957
|
readonly type: "boolean";
|
|
1994
1958
|
};
|
|
1959
|
+
readonly linePosition: {
|
|
1960
|
+
readonly type: "string";
|
|
1961
|
+
readonly enum: readonly ["top", "bottom"];
|
|
1962
|
+
readonly default: "top";
|
|
1963
|
+
};
|
|
1995
1964
|
readonly version: {
|
|
1996
1965
|
readonly type: "string";
|
|
1997
1966
|
};
|
|
@@ -2055,6 +2024,11 @@ export declare const productThemeOverrideSchema: {
|
|
|
2055
2024
|
readonly separatorLine: {
|
|
2056
2025
|
readonly type: "boolean";
|
|
2057
2026
|
};
|
|
2027
|
+
readonly linePosition: {
|
|
2028
|
+
readonly type: "string";
|
|
2029
|
+
readonly enum: readonly ["top", "bottom"];
|
|
2030
|
+
readonly default: "top";
|
|
2031
|
+
};
|
|
2058
2032
|
readonly version: {
|
|
2059
2033
|
readonly type: "string";
|
|
2060
2034
|
};
|
|
@@ -2099,6 +2073,11 @@ export declare const productThemeOverrideSchema: {
|
|
|
2099
2073
|
readonly separatorLine: {
|
|
2100
2074
|
readonly type: "boolean";
|
|
2101
2075
|
};
|
|
2076
|
+
readonly linePosition: {
|
|
2077
|
+
readonly type: "string";
|
|
2078
|
+
readonly enum: readonly ["top", "bottom"];
|
|
2079
|
+
readonly default: "top";
|
|
2080
|
+
};
|
|
2102
2081
|
readonly version: {
|
|
2103
2082
|
readonly type: "string";
|
|
2104
2083
|
};
|
|
@@ -2129,6 +2108,15 @@ export declare const productThemeOverrideSchema: {
|
|
|
2129
2108
|
readonly copyrightText: {
|
|
2130
2109
|
readonly type: "string";
|
|
2131
2110
|
};
|
|
2111
|
+
readonly logo: {
|
|
2112
|
+
readonly type: "object";
|
|
2113
|
+
readonly properties: {
|
|
2114
|
+
readonly hide: {
|
|
2115
|
+
readonly type: "boolean";
|
|
2116
|
+
};
|
|
2117
|
+
};
|
|
2118
|
+
readonly additionalProperties: false;
|
|
2119
|
+
};
|
|
2132
2120
|
};
|
|
2133
2121
|
readonly additionalProperties: false;
|
|
2134
2122
|
};
|
|
@@ -2138,6 +2126,14 @@ export declare const productThemeOverrideSchema: {
|
|
|
2138
2126
|
readonly hide: {
|
|
2139
2127
|
readonly type: "boolean";
|
|
2140
2128
|
};
|
|
2129
|
+
readonly separatorLine: {
|
|
2130
|
+
readonly type: "boolean";
|
|
2131
|
+
};
|
|
2132
|
+
readonly linePosition: {
|
|
2133
|
+
readonly type: "string";
|
|
2134
|
+
readonly enum: readonly ["top", "bottom"];
|
|
2135
|
+
readonly default: "bottom";
|
|
2136
|
+
};
|
|
2141
2137
|
};
|
|
2142
2138
|
readonly additionalProperties: false;
|
|
2143
2139
|
};
|
|
@@ -2312,4 +2308,9 @@ export type GoogleAnalyticsConfig = FromSchema<typeof googleAnalyticsConfigSchem
|
|
|
2312
2308
|
export type CatalogConfig = FromSchema<typeof catalogSchema>;
|
|
2313
2309
|
export type CatalogFilterConfig = FromSchema<typeof catalogFilterSchema>;
|
|
2314
2310
|
export type ScorecardConfig = FromSchema<typeof scorecardConfigSchema>;
|
|
2311
|
+
export declare enum ScorecardStatus {
|
|
2312
|
+
BelowMinimum = "Below minimum",
|
|
2313
|
+
Highest = "Highest",
|
|
2314
|
+
Minimum = "Minimum"
|
|
2315
|
+
}
|
|
2315
2316
|
export {};
|
package/lib/config.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.productThemeOverrideSchema = exports.themeConfigSchema = void 0;
|
|
3
|
+
exports.ScorecardStatus = exports.productThemeOverrideSchema = exports.themeConfigSchema = void 0;
|
|
4
4
|
const logoConfigSchema = {
|
|
5
5
|
type: 'object',
|
|
6
6
|
properties: {
|
|
7
7
|
image: { type: 'string' },
|
|
8
|
+
srcSet: { type: 'string' },
|
|
8
9
|
altText: { type: 'string' },
|
|
9
10
|
link: { type: 'string' },
|
|
10
11
|
favicon: { type: 'string' },
|
|
@@ -84,7 +85,7 @@ const markdownConfigSchema = {
|
|
|
84
85
|
},
|
|
85
86
|
editPage: {
|
|
86
87
|
type: 'object',
|
|
87
|
-
properties: Object.assign({ baseUrl: { type: 'string' }
|
|
88
|
+
properties: Object.assign({ baseUrl: { type: 'string' } }, hideConfigSchema.properties),
|
|
88
89
|
additionalProperties: false,
|
|
89
90
|
default: {},
|
|
90
91
|
},
|
|
@@ -172,35 +173,14 @@ const googleAnalyticsConfigSchema = {
|
|
|
172
173
|
properties: {
|
|
173
174
|
includeInDevelopment: { type: 'boolean' },
|
|
174
175
|
trackingId: { type: 'string' },
|
|
176
|
+
conversionId: { type: 'string' },
|
|
177
|
+
floodlightId: { type: 'string' },
|
|
175
178
|
head: { type: 'boolean' },
|
|
176
179
|
respectDNT: { type: 'boolean' },
|
|
177
|
-
anonymize: { type: 'boolean' },
|
|
178
180
|
exclude: { type: 'array', items: { type: 'string' } },
|
|
179
181
|
optimizeId: { type: 'string' },
|
|
180
|
-
|
|
181
|
-
variationId: { type: 'string' },
|
|
182
|
-
enableWebVitalsTracking: { type: 'boolean' },
|
|
183
|
-
defer: { type: 'boolean' },
|
|
184
|
-
sampleRate: { type: 'number' },
|
|
185
|
-
name: { type: 'string' },
|
|
186
|
-
clientId: { type: 'string' },
|
|
187
|
-
siteSpeedSampleRate: { type: 'number' },
|
|
188
|
-
alwaysSendReferrer: { type: 'boolean' },
|
|
189
|
-
allowAnchor: { type: 'boolean' },
|
|
190
|
-
cookieName: { type: 'string' },
|
|
191
|
-
cookieFlags: { type: 'string' },
|
|
192
|
-
cookieDomain: { type: 'string' },
|
|
182
|
+
anonymizeIp: { type: 'boolean' },
|
|
193
183
|
cookieExpires: { type: 'number' },
|
|
194
|
-
storeGac: { type: 'boolean' },
|
|
195
|
-
legacyCookieDomain: { type: 'string' },
|
|
196
|
-
legacyHistoryImport: { type: 'boolean' },
|
|
197
|
-
allowLinker: { type: 'boolean' },
|
|
198
|
-
storage: { type: 'string' },
|
|
199
|
-
allowAdFeatures: { type: 'boolean' },
|
|
200
|
-
dataSource: { type: 'string' },
|
|
201
|
-
queueTime: { type: 'number' },
|
|
202
|
-
forceSSL: { type: 'boolean' },
|
|
203
|
-
transport: { type: 'string' },
|
|
204
184
|
},
|
|
205
185
|
additionalProperties: false,
|
|
206
186
|
required: ['trackingId'],
|
|
@@ -224,6 +204,11 @@ const navItemSchema = {
|
|
|
224
204
|
label: { type: 'string' },
|
|
225
205
|
separator: { type: 'string' },
|
|
226
206
|
separatorLine: { type: 'boolean' },
|
|
207
|
+
linePosition: {
|
|
208
|
+
type: 'string',
|
|
209
|
+
enum: ['top', 'bottom'],
|
|
210
|
+
default: 'top',
|
|
211
|
+
},
|
|
227
212
|
version: { type: 'string' },
|
|
228
213
|
menuStyle: { type: 'string', enum: ['drilldown'] },
|
|
229
214
|
expanded: { type: 'string', const: 'always' },
|
|
@@ -279,6 +264,14 @@ const scorecardConfigSchema = {
|
|
|
279
264
|
required: ['levels'],
|
|
280
265
|
properties: {
|
|
281
266
|
failBuildIfBelowMinimum: { type: 'boolean', default: false },
|
|
267
|
+
teamMetadataProperty: {
|
|
268
|
+
type: 'object',
|
|
269
|
+
properties: {
|
|
270
|
+
property: { type: 'string' },
|
|
271
|
+
label: { type: 'string' },
|
|
272
|
+
default: { type: 'string' },
|
|
273
|
+
},
|
|
274
|
+
},
|
|
282
275
|
levels: {
|
|
283
276
|
type: 'array',
|
|
284
277
|
items: {
|
|
@@ -326,6 +319,10 @@ const catalogSchema = {
|
|
|
326
319
|
slug: { type: 'string' },
|
|
327
320
|
filters: { type: 'array', items: catalogFilterSchema },
|
|
328
321
|
groupByFirstFilter: { type: 'boolean' },
|
|
322
|
+
filterValuesCasing: {
|
|
323
|
+
type: 'string',
|
|
324
|
+
enum: ['sentence', 'original', 'lowercase', 'uppercase'],
|
|
325
|
+
},
|
|
329
326
|
items: navItemsSchema,
|
|
330
327
|
requiredPermission: { type: 'string' },
|
|
331
328
|
separateVersions: { type: 'boolean' },
|
|
@@ -361,10 +358,18 @@ exports.themeConfigSchema = {
|
|
|
361
358
|
},
|
|
362
359
|
footer: {
|
|
363
360
|
type: 'object',
|
|
364
|
-
properties: Object.assign({ items: navItemsSchema, copyrightText: { type: 'string' } }, hideConfigSchema.properties),
|
|
361
|
+
properties: Object.assign({ items: navItemsSchema, copyrightText: { type: 'string' }, logo: hideConfigSchema }, hideConfigSchema.properties),
|
|
362
|
+
additionalProperties: false,
|
|
363
|
+
},
|
|
364
|
+
sidebar: {
|
|
365
|
+
type: 'object',
|
|
366
|
+
properties: Object.assign({ separatorLine: { type: 'boolean' }, linePosition: {
|
|
367
|
+
type: 'string',
|
|
368
|
+
enum: ['top', 'bottom'],
|
|
369
|
+
default: 'bottom',
|
|
370
|
+
} }, hideConfigSchema.properties),
|
|
365
371
|
additionalProperties: false,
|
|
366
372
|
},
|
|
367
|
-
sidebar: hideConfigSchema,
|
|
368
373
|
scripts: {
|
|
369
374
|
type: 'object',
|
|
370
375
|
properties: {
|
|
@@ -571,4 +576,10 @@ exports.productThemeOverrideSchema = {
|
|
|
571
576
|
additionalProperties: true,
|
|
572
577
|
default: {},
|
|
573
578
|
};
|
|
579
|
+
var ScorecardStatus;
|
|
580
|
+
(function (ScorecardStatus) {
|
|
581
|
+
ScorecardStatus["BelowMinimum"] = "Below minimum";
|
|
582
|
+
ScorecardStatus["Highest"] = "Highest";
|
|
583
|
+
ScorecardStatus["Minimum"] = "Minimum";
|
|
584
|
+
})(ScorecardStatus = exports.ScorecardStatus || (exports.ScorecardStatus = {}));
|
|
574
585
|
//# sourceMappingURL=config.js.map
|