@redocly/theme 0.18.5 → 0.19.0
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 +7 -3
- 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 +115 -106
- 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 +9 -6
- 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 +110 -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 +5 -0
- package/lib/components/Filter/index.js +5 -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 +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.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 +6 -8
- 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/MenuItemSwitch.d.ts +1 -1
- package/lib/components/Menu/MenuItemSwitch.js +6 -4
- package/lib/components/Menu/MobileMenu.js +20 -25
- package/lib/components/Menu/MobileMenuGroup.js +1 -1
- package/lib/components/Menu/hooks/use-mobile-menu-items.d.ts +1 -1
- package/lib/components/Menu/index.d.ts +5 -0
- package/lib/components/Menu/index.js +5 -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 +2 -0
- package/lib/components/Navbar/index.js +2 -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/OpenApiDocs/hooks/AfterOpenApiTitle.js +1 -1
- package/lib/components/OpenApiDocs/index.d.ts +9 -1
- package/lib/components/OpenApiDocs/index.js +9 -1
- 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 +18 -11
- 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.d.ts +1 -1
- 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 +10 -6
- package/lib/components/Profile/index.js +21 -3
- 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 +3 -0
- package/lib/components/Search/index.js +3 -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 +4 -6
- package/lib/components/Sidebar/ApiCallItem.js +18 -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 +2 -0
- package/lib/components/Sidebar/index.js +2 -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/index.d.ts +3 -0
- package/lib/components/SidebarActions/index.js +17 -0
- 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 +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.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 +29 -38
- package/lib/components/index.js +29 -38
- package/lib/config.d.ts +113 -14
- package/lib/config.js +28 -4
- 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/hooks/useThemeConfig.d.ts +1 -1
- package/lib/i18n/LanguagePicker.d.ts +9 -0
- package/lib/{I18n → i18n}/LanguagePicker.js +28 -13
- 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/{components/OperationBadge → icons/EditIcon}/index.js +1 -1
- 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 +3 -3
- package/src/components/Breadcrumbs/Breadcrumb.tsx +2 -5
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +7 -4
- 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 +141 -123
- 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 +9 -7
- 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 +148 -94
- package/src/components/Filter/FilterContent.tsx +94 -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 +5 -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 +2 -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 +6 -9
- 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/MenuItemSwitch.tsx +3 -2
- package/src/components/Menu/MobileMenu.tsx +20 -25
- package/src/components/Menu/MobileMenuGroup.tsx +1 -1
- package/src/components/Menu/index.ts +5 -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 +2 -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/OpenApiDocs/hooks/AfterOpenApiTitle.tsx +1 -1
- package/src/components/OpenApiDocs/index.ts +9 -1
- 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 +21 -22
- 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 +21 -10
- package/src/components/Profile/UserProfileData.tsx +40 -0
- package/src/components/Profile/index.ts +10 -6
- 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 +3 -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 +18 -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 +2 -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/index.tsx +3 -0
- 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 +72 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/Tag/styledVariables.ts +145 -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 +29 -38
- package/src/config.ts +30 -3
- package/src/globalStyle.ts +597 -1999
- package/src/hooks/useMobileMenu.ts +3 -4
- package/src/hooks/useModalScrollLock.ts +12 -0
- package/src/hooks/useThemeConfig.ts +1 -2
- package/src/{I18n → i18n}/LanguagePicker.tsx +49 -22
- 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 +10 -10
- 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
|
@@ -18,10 +18,6 @@ const BreadcrumbText = styled_components_1.default.div `
|
|
|
18
18
|
const BreadcrumbWrapper = styled_components_1.default.div `
|
|
19
19
|
border-radius: var(--border-radius);
|
|
20
20
|
|
|
21
|
-
&:first-child {
|
|
22
|
-
padding-left: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
21
|
${(props) => props.isLink &&
|
|
26
22
|
`
|
|
27
23
|
&:hover {
|
|
@@ -36,9 +32,10 @@ const BreadcrumbWrapper = styled_components_1.default.div `
|
|
|
36
32
|
`;
|
|
37
33
|
const BreadcrumbLink = (0, styled_components_1.default)(Link_1.Link) `
|
|
38
34
|
text-decoration: none;
|
|
35
|
+
color: var(--breadcrumbs-text-color);
|
|
39
36
|
|
|
40
37
|
&:visited {
|
|
41
|
-
color:
|
|
38
|
+
color: var(--breadcrumbs-text-color);
|
|
42
39
|
}
|
|
43
40
|
`;
|
|
44
41
|
//# sourceMappingURL=Breadcrumb.js.map
|
|
@@ -8,7 +8,7 @@ const react_1 = __importDefault(require("react"));
|
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const useBreadcrumbs_1 = require("../../mocks/Sidebar/useBreadcrumbs");
|
|
10
10
|
const telemetry_1 = require("../../mocks/telemetry");
|
|
11
|
-
const Breadcrumb_1 = require("
|
|
11
|
+
const Breadcrumb_1 = require("../../components/Breadcrumbs/Breadcrumb");
|
|
12
12
|
const Breadcrumbs = (props) => {
|
|
13
13
|
const breadcrumbs = (0, useBreadcrumbs_1.useBreadcrumbs)();
|
|
14
14
|
if (breadcrumbs.length === 0) {
|
|
@@ -24,7 +24,7 @@ const Breadcrumbs = (props) => {
|
|
|
24
24
|
total_breadcrumbs: breadcrumbs.length,
|
|
25
25
|
});
|
|
26
26
|
} }),
|
|
27
|
-
isLast ? null : react_1.default.createElement("
|
|
27
|
+
isLast ? null : react_1.default.createElement("span", null, "/")));
|
|
28
28
|
})));
|
|
29
29
|
};
|
|
30
30
|
exports.Breadcrumbs = Breadcrumbs;
|
|
@@ -37,7 +37,11 @@ const Container = styled_components_1.default.div `
|
|
|
37
37
|
flex-wrap: wrap;
|
|
38
38
|
|
|
39
39
|
> div {
|
|
40
|
-
padding
|
|
40
|
+
padding: var(--breadcrumbs-padding);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
> span {
|
|
44
|
+
padding: var(--breadcrumbs-gap);
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
@media print {
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("../../components/Breadcrumbs/Breadcrumbs"), exports);
|
|
18
18
|
__exportStar(require("../../components/Breadcrumbs/Breadcrumb"), exports);
|
|
19
|
+
__exportStar(require("../../components/Breadcrumbs/styledVariables"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const breadcrumbs: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.breadcrumbs = void 0;
|
|
4
|
+
const styled_components_1 = require("styled-components");
|
|
5
|
+
exports.breadcrumbs = (0, styled_components_1.css) `
|
|
6
|
+
/**
|
|
7
|
+
* @tokens Breadcrumbs
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
--breadcrumbs-text-color: var(--text-description); // @presenter Color
|
|
11
|
+
--breadcrumbs-font-size: var(--font-size-base); // @presenter FontSize
|
|
12
|
+
--breadcrumbs-active-text-color: var(--text-primary); // @presenter Color
|
|
13
|
+
--breadcrumbs-hover-text-decoration: underline; // @presenter TextDecoration
|
|
14
|
+
--breadcrumbs-padding: 0; // @presenter Spacing
|
|
15
|
+
--breadcrumbs-gap: var(--spacing-xs);
|
|
16
|
+
--breadcrumbs-margin-bottom: var(--spacing-lg); // @presenter Spacing
|
|
17
|
+
|
|
18
|
+
// @tokens End
|
|
19
|
+
`;
|
|
20
|
+
//# sourceMappingURL=styledVariables.js.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { FlattenSimpleInterpolation } from 'styled-components';
|
|
3
|
-
export type ButtonSize = '
|
|
4
|
-
export type ButtonColor = '
|
|
5
|
-
export type ButtonVariant = 'outlined' | 'contained';
|
|
3
|
+
export type ButtonSize = 'default' | 'small' | 'large' | string;
|
|
4
|
+
export type ButtonColor = 'default' | 'primary' | string;
|
|
5
|
+
export type ButtonVariant = 'outlined' | 'contained' | 'text';
|
|
6
6
|
export interface ButtonProps {
|
|
7
|
+
children?: React.ReactNode;
|
|
7
8
|
color?: ButtonColor;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
blinking?: boolean;
|
|
@@ -12,6 +13,8 @@ export interface ButtonProps {
|
|
|
12
13
|
size?: ButtonSize;
|
|
13
14
|
extraClass?: string;
|
|
14
15
|
to?: string;
|
|
16
|
+
icon?: JSX.Element;
|
|
17
|
+
title?: string;
|
|
15
18
|
onClick?: (e?: any) => void;
|
|
16
19
|
}
|
|
17
20
|
export declare const baseButtonStyles: FlattenSimpleInterpolation;
|
|
@@ -45,79 +45,72 @@ const getBlink = () => (0, styled_components_1.keyframes) `
|
|
|
45
45
|
background-color: var(--button-active-background-color);
|
|
46
46
|
}
|
|
47
47
|
`;
|
|
48
|
-
const getSize = (size = '
|
|
48
|
+
const getSize = (size = 'default') => (0, styled_components_1.css) `
|
|
49
49
|
font-size: var(--button-${size}-font-size);
|
|
50
50
|
padding: var(--button-${size}-padding);
|
|
51
51
|
min-width: var(--button-${size}-min-width);
|
|
52
52
|
`;
|
|
53
53
|
exports.baseButtonStyles = (0, styled_components_1.css) `
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
gap: var(--spacing-xs);
|
|
54
58
|
outline: none;
|
|
55
|
-
border: none;
|
|
56
|
-
border-radius: var(--button-border-radius);
|
|
57
|
-
font-weight: var(--button-font-weight);
|
|
58
|
-
font-size: 14px;
|
|
59
|
-
padding: 2px 20px;
|
|
60
59
|
margin: var(--button-margin);
|
|
61
60
|
cursor: pointer;
|
|
62
|
-
transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
|
|
63
61
|
line-height: 1;
|
|
64
62
|
|
|
63
|
+
color: var(--button-color);
|
|
64
|
+
background-color: var(--button-background-color);
|
|
65
|
+
border: var(--button-border-width) var(--button-border-style) var(--button-border-color);
|
|
66
|
+
border-radius: var(--button-border-radius);
|
|
67
|
+
|
|
68
|
+
font-size: var(--button-font-size);
|
|
65
69
|
font-family: var(--button-font-family);
|
|
70
|
+
font-weight: var(--button-font-weight);
|
|
66
71
|
box-shadow: var(--button-box-shadow);
|
|
67
72
|
|
|
68
73
|
&:hover {
|
|
69
74
|
box-shadow: var(--button-hover-box-shadow);
|
|
75
|
+
background-color: var(--button-hover-background-color);
|
|
76
|
+
border: var(--button-border-width) var(--button-border-style) var(--button-hover-border-color);
|
|
70
77
|
}
|
|
71
78
|
|
|
72
79
|
&:active {
|
|
73
80
|
box-shadow: var(--button-active-box-shadow);
|
|
81
|
+
background-color: var(--button-active-background-color);
|
|
82
|
+
border: var(--button-border-width) var(--button-border-style) var(--button-active-border-color);
|
|
74
83
|
}
|
|
75
84
|
`;
|
|
85
|
+
const StyledButtonLink = (0, styled_components_1.default)(Link_1.Link) `
|
|
86
|
+
text-decoration: none;
|
|
87
|
+
`;
|
|
76
88
|
const StyledButton = styled_components_1.default.button.attrs(({ color = 'default', extraClass, variant }) => ({
|
|
77
|
-
className: `button
|
|
89
|
+
className: `button-${color}${variant ? ` button-${variant}` : ''}${extraClass ? ` ${extraClass}` : ''}`,
|
|
78
90
|
'data-component-name': 'Button/Button',
|
|
79
91
|
})) `
|
|
80
|
-
text-decoration: none;
|
|
81
|
-
text-align: center;
|
|
82
|
-
|
|
83
92
|
width: ${({ fullWidth }) => (fullWidth ? '100%' : 'auto')};
|
|
84
93
|
|
|
85
94
|
${exports.baseButtonStyles}
|
|
86
95
|
|
|
87
96
|
${({ variant }) => variant === 'outlined'
|
|
88
97
|
? (0, styled_components_1.css) `
|
|
89
|
-
color: var(--button-background-color);
|
|
90
|
-
border: 2px solid var(--button-border-color);
|
|
91
|
-
background-color: transparent;
|
|
92
|
-
&:hover {
|
|
93
|
-
color: var(--button-hover-background-color);
|
|
94
|
-
border: 2px solid var(--button-hover-border-color);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&:active {
|
|
98
|
-
color: var(--button-active-background-color);
|
|
99
|
-
border: 2px solid var(--button-active-border-color);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&:disabled {
|
|
103
|
-
color: var(--button-disabled-color);
|
|
104
|
-
background-color: transparent;
|
|
105
|
-
}
|
|
98
|
+
background-color: var(--button-background-color);
|
|
106
99
|
`
|
|
107
|
-
:
|
|
100
|
+
: variant === 'text'
|
|
101
|
+
? (0, styled_components_1.css) `
|
|
108
102
|
color: var(--button-color);
|
|
109
|
-
border:
|
|
103
|
+
border-color: var(--button-border-color);
|
|
110
104
|
background-color: var(--button-background-color);
|
|
105
|
+
|
|
111
106
|
&:hover {
|
|
112
|
-
|
|
107
|
+
color: var(--button-hover-color);
|
|
108
|
+
border-color: var(--button-hover-border-color);
|
|
113
109
|
background-color: var(--button-hover-background-color);
|
|
110
|
+
box-shadow: none;
|
|
114
111
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
border: 2px solid var(--button-active-background-color);
|
|
118
|
-
background-color: var(--button-active-background-color);
|
|
119
|
-
}
|
|
120
|
-
`};
|
|
112
|
+
`
|
|
113
|
+
: ''};
|
|
121
114
|
|
|
122
115
|
${({ size }) => getSize(size)}
|
|
123
116
|
|
|
@@ -138,18 +131,25 @@ const StyledButton = styled_components_1.default.button.attrs(({ color = 'defaul
|
|
|
138
131
|
cursor: default;
|
|
139
132
|
color: var(--button-disabled-color);
|
|
140
133
|
background-color: var(--button-disabled-background-color);
|
|
141
|
-
border-color: var(--button-disabled-
|
|
134
|
+
border-color: var(--button-disabled-border-color);
|
|
142
135
|
pointer-events: none;
|
|
143
136
|
}
|
|
144
137
|
`}
|
|
145
138
|
`;
|
|
139
|
+
const StyledIcon = styled_components_1.default.span `
|
|
140
|
+
display: block;
|
|
141
|
+
height: var(--button-icon-height);
|
|
142
|
+
width: var(--button-icon-width);
|
|
143
|
+
`;
|
|
146
144
|
const ButtonComponent = (props) => {
|
|
145
|
+
const button = (react_1.default.createElement(StyledButton, Object.assign({}, props),
|
|
146
|
+
props.icon ? react_1.default.createElement(StyledIcon, null, props.icon) : null,
|
|
147
|
+
props.children));
|
|
147
148
|
if (props.to) {
|
|
148
|
-
return
|
|
149
|
-
react_1.default.createElement(StyledButton, Object.assign({}, props))));
|
|
149
|
+
return react_1.default.createElement(StyledButtonLink, { to: props.to }, button);
|
|
150
150
|
}
|
|
151
151
|
else {
|
|
152
|
-
return
|
|
152
|
+
return button;
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
exports.Button = (0, styled_components_1.default)(ButtonComponent) ``;
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("../../components/Button/Button"), exports);
|
|
18
|
+
__exportStar(require("../../components/Button/styledVariables"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const button: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.button = void 0;
|
|
4
|
+
const styled_components_1 = require("styled-components");
|
|
5
|
+
exports.button = (0, styled_components_1.css) `
|
|
6
|
+
/**
|
|
7
|
+
* Static classnames that can be used to override styles for components:
|
|
8
|
+
* download-specification-button, next-section-button, button-base
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @tokens Button borders
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
--button-border-width: 1px; //@presenter Border
|
|
16
|
+
--button-border-style: solid; //@presenter Border
|
|
17
|
+
--button-border-radius: var(--border-radius-md); // @presenter BorderRadius
|
|
18
|
+
--button-margin: 5px; // @presenter Spacing
|
|
19
|
+
--button-box-shadow: none; // @presenter Shadow
|
|
20
|
+
--button-hover-box-shadow: none; // @presenter Shadow
|
|
21
|
+
--button-active-box-shadow: none; // @presenter Shadow
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @tokens Button typography
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
--button-font-size: var(--font-size-base); // @presenter FontSize
|
|
28
|
+
--button-font-family: inherit; // @presenter FontFamily
|
|
29
|
+
--button-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
30
|
+
|
|
31
|
+
--button-default-font-size: var(--font-size-base); // @presenter FontSize
|
|
32
|
+
--button-default-padding: 8px 16px;
|
|
33
|
+
|
|
34
|
+
--button-small-font-size: var(--font-size-base); // @presenter FontSize
|
|
35
|
+
--button-small-padding: 4px 8px;
|
|
36
|
+
|
|
37
|
+
--button-large-font-size: var(--font-size-lg); // @presenter FontSize
|
|
38
|
+
--button-large-padding: 8px 16px;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @tokens Button icon
|
|
42
|
+
*/
|
|
43
|
+
--button-icon-width: 1em; // @presenter Spacing
|
|
44
|
+
--button-icon-height: 1em; // @presenter Spacing
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @tokens Button default
|
|
48
|
+
*/
|
|
49
|
+
.button-default {
|
|
50
|
+
--button-color: var(--text-primary); // @presenter Color
|
|
51
|
+
--button-background-color: var(--bg-overlay); // @presenter Color
|
|
52
|
+
--button-border-color: var(--bg-overlay);
|
|
53
|
+
|
|
54
|
+
--button-hover-background-color: var(--bg-overlay); // @presenter Color
|
|
55
|
+
--button-hover-border-color: var(--border-primary); // @presenter Color
|
|
56
|
+
|
|
57
|
+
--button-active-background-color: var(--bg-overlay); // @presenter Color
|
|
58
|
+
--button-active-border-color: var(--button-color); // @presenter Color
|
|
59
|
+
|
|
60
|
+
--button-disabled-color: var(--text-placeholder); // @presenter Color
|
|
61
|
+
--button-disabled-background-color: var(--bg-raised); // @presenter Color
|
|
62
|
+
--button-disabled-border-color: var(--border-secondary); // @presenter Color
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @tokens Button primary
|
|
67
|
+
*/
|
|
68
|
+
.button-primary {
|
|
69
|
+
--button-color: var(--text-light-solid); // @presenter Color
|
|
70
|
+
--button-background-color: var(--color-primary); // @presenter Color
|
|
71
|
+
--button-border-color: var(--color-primary); // @presenter Color
|
|
72
|
+
--button-border: 1px solid var(--button-border-color);
|
|
73
|
+
|
|
74
|
+
--button-hover-background-color: var(--color-primary-hover); // @presenter Color
|
|
75
|
+
--button-hover-border-color: var(--color-primary-hover); // @presenter Color
|
|
76
|
+
|
|
77
|
+
--button-active-background-color: var(--color-primary-active); // @presenter Color
|
|
78
|
+
--button-active-border-color: var(--color-primary-active); // @presenter Color
|
|
79
|
+
|
|
80
|
+
--button-disabled-color: var(--text-placeholder); // @presenter Color
|
|
81
|
+
--button-disabled-background-color: var(--bg-raised); // @presenter Color
|
|
82
|
+
--button-disabled-border-color: var(--border-secondary); // @presenter Color
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @tokens Button outline
|
|
87
|
+
*/
|
|
88
|
+
.button-outlined {
|
|
89
|
+
--button-background-color: transparent; // @presenter Color
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @tokens Button text
|
|
94
|
+
*/
|
|
95
|
+
.button-text {
|
|
96
|
+
--button-color: var(--text-secondary); // @presenter Color
|
|
97
|
+
--button-border-color: transparent; // @presenter Color
|
|
98
|
+
--button-background-color: transparent; // @presenter Color
|
|
99
|
+
|
|
100
|
+
--button-hover-color: var(--text-primary); // @presenter Color
|
|
101
|
+
--button-hover-background-color: transparent; // @presenter Color
|
|
102
|
+
--button-hover-border-color: transparent; // @presenter Color
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// @tokens End
|
|
106
|
+
`;
|
|
107
|
+
//# sourceMappingURL=styledVariables.js.map
|
|
@@ -6,3 +6,9 @@ export default function Catalog(props: {
|
|
|
6
6
|
catalogConfig: CatalogConfig;
|
|
7
7
|
};
|
|
8
8
|
}): JSX.Element;
|
|
9
|
+
export declare const FilterControls: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
export declare const CatalogPageContent: import("styled-components").StyledComponent<"main", any, {}, never>;
|
|
11
|
+
export declare const CatalogTitle: import("styled-components").StyledComponent<"h2", any, {}, never>;
|
|
12
|
+
export declare const CatalogDescription: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
13
|
+
export declare const CatalogPageWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
+
export declare const CatalogPageDescriptionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|