@redocly/theme 0.18.4-patch.1 → 0.18.5
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/I18n/LanguagePicker.d.ts +4 -0
- package/lib/{i18n → I18n}/LanguagePicker.js +12 -27
- package/lib/I18n/index.d.ts +1 -0
- package/lib/I18n/index.js +6 -0
- package/lib/components/Breadcrumbs/Breadcrumb.js +5 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.js +2 -6
- package/lib/components/Breadcrumbs/index.d.ts +0 -1
- package/lib/components/Breadcrumbs/index.js +0 -1
- package/lib/components/Button/Button.d.ts +3 -6
- package/lib/components/Button/Button.js +41 -41
- package/lib/components/Button/index.d.ts +0 -1
- package/lib/components/Button/index.js +0 -1
- package/lib/components/Catalog/Catalog.d.ts +0 -6
- package/lib/components/Catalog/Catalog.js +102 -112
- package/lib/components/Catalog/CatalogCard.js +58 -91
- package/lib/components/Catalog/index.d.ts +3 -4
- package/lib/components/Catalog/index.js +3 -4
- package/lib/components/CodeBlock/CodeBlockContainer.js +10 -38
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +4 -3
- package/lib/components/CodeBlock/CodeBlockControlButton.js +19 -5
- package/lib/components/CodeBlock/CodeBlockControls.js +5 -8
- package/lib/components/CodeBlock/index.d.ts +0 -1
- package/lib/components/CodeBlock/index.js +0 -1
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +1 -0
- package/lib/components/Dropdown/Dropdown.d.ts +3 -9
- package/lib/components/Dropdown/Dropdown.js +4 -7
- package/lib/components/Dropdown/index.d.ts +0 -1
- package/lib/components/Dropdown/index.js +0 -1
- package/lib/components/EditPageButton/EditPageButton.d.ts +3 -1
- package/lib/components/EditPageButton/EditPageButton.js +8 -17
- package/lib/components/Feedback/Comment.js +0 -5
- package/lib/components/Feedback/Rating.js +1 -5
- package/lib/components/Feedback/Reasons.js +1 -6
- package/lib/components/Feedback/Sentiment.js +0 -5
- package/lib/components/Feedback/Thumbs.js +4 -4
- package/lib/components/Filter/Filter.d.ts +1 -3
- package/lib/components/Filter/Filter.js +80 -113
- package/lib/components/Filter/index.d.ts +0 -2
- package/lib/components/Filter/index.js +0 -2
- package/lib/components/Footer/CustomFooterNavItem.js +1 -1
- package/lib/components/Footer/Footer.d.ts +3 -4
- package/lib/components/Footer/Footer.js +10 -28
- package/lib/components/Footer/FooterColumn.d.ts +3 -3
- package/lib/components/Footer/FooterColumn.js +63 -57
- package/lib/components/Footer/FooterColumns.js +4 -6
- package/lib/components/Footer/FooterCopyright.js +6 -11
- package/lib/components/Footer/index.d.ts +0 -1
- package/lib/components/Footer/index.js +0 -1
- package/lib/components/JsonViewer/JsonViewer.js +2 -2
- package/lib/components/LastUpdated/LastUpdated.js +0 -1
- package/lib/components/Markdown/Admonition.js +9 -12
- package/lib/components/Markdown/MarkdownLayout.d.ts +2 -0
- package/lib/components/Markdown/MarkdownLayout.js +6 -1
- package/lib/components/Markdown/MarkdownWrapper.js +4 -2
- package/lib/components/Markdown/Mermaid.js +1 -4
- package/lib/components/Markdown/index.d.ts +0 -1
- package/lib/components/Markdown/index.js +0 -1
- package/lib/components/Menu/Menu.js +7 -5
- package/lib/components/Menu/MenuGroup.js +7 -12
- package/lib/components/Menu/MenuItem.js +1 -1
- package/lib/components/Menu/MenuItemLabel.js +13 -9
- package/lib/components/Menu/MobileMenu.js +25 -20
- package/lib/components/Menu/MobileMenuGroup.js +1 -1
- package/lib/components/Menu/index.d.ts +0 -1
- package/lib/components/Menu/index.js +0 -1
- package/lib/components/{Profile → Navbar}/MobileUserProfile.js +24 -12
- package/lib/components/Navbar/Navbar.js +13 -20
- package/lib/components/Navbar/NavbarItem.d.ts +1 -1
- package/lib/components/Navbar/NavbarItem.js +6 -18
- package/lib/components/Navbar/NavbarMenu.js +2 -2
- package/lib/components/Navbar/index.d.ts +0 -1
- package/lib/components/Navbar/index.js +0 -1
- package/lib/components/NavbarLogo/NavbarLogo.d.ts +1 -4
- package/lib/components/NavbarLogo/NavbarLogo.js +5 -13
- package/lib/components/NavbarLogo/index.d.ts +0 -1
- package/lib/components/NavbarLogo/index.js +0 -1
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.js +2 -2
- package/lib/components/OpenApiDocs/Dropdown.js +3 -3
- package/lib/components/OperationBadge/OperationBadge.d.ts +6 -0
- package/lib/components/OperationBadge/OperationBadge.js +68 -0
- package/lib/components/OperationBadge/index.d.ts +1 -0
- package/lib/{icons/ErrorIcon → components/OperationBadge}/index.js +1 -1
- package/lib/components/PageNavigation/NextButton.js +1 -1
- package/lib/components/PageNavigation/PreviousButton.js +1 -1
- package/lib/components/Panel/PanelHeader.js +0 -2
- package/lib/components/Panel/PanelHeaderTitle.js +4 -0
- package/lib/components/Panel/index.d.ts +0 -1
- package/lib/components/Panel/index.js +0 -1
- package/lib/components/Product/ProductPicker.js +9 -22
- package/lib/components/Product/index.d.ts +0 -1
- package/lib/components/Product/index.js +0 -1
- package/lib/components/Profile/LoginLink.js +2 -1
- package/lib/components/Profile/Profile.js +22 -3
- package/lib/components/Profile/UserProfile.js +9 -21
- package/lib/components/Profile/index.d.ts +0 -1
- package/lib/components/Profile/index.js +0 -15
- package/lib/components/Search/CancelSearch.js +14 -2
- package/lib/components/Search/ProductTag.js +8 -8
- package/lib/components/Search/RecentSearches.js +5 -5
- package/lib/components/Search/Search.js +2 -0
- package/lib/components/Search/SearchIcon.js +2 -2
- package/lib/components/Search/SearchItem.js +4 -4
- package/lib/components/Search/SearchTrigger.js +5 -4
- package/lib/components/Search/ShortcutKey.js +5 -1
- package/lib/components/Search/SuggestedPages.js +3 -3
- package/lib/components/Search/index.d.ts +0 -1
- package/lib/components/Search/index.js +0 -1
- package/lib/components/Select/Select.d.ts +9 -21
- package/lib/components/Select/Select.js +17 -27
- package/lib/components/Select/index.d.ts +0 -1
- package/lib/components/Select/index.js +0 -1
- package/lib/components/Separator/Separator.js +3 -11
- package/lib/components/Separator/SeparatorItem.js +9 -6
- package/lib/components/Separator/SeparatorLine.js +3 -7
- package/lib/components/Sidebar/ApiCallItem.d.ts +6 -2
- package/lib/components/Sidebar/ApiCallItem.js +13 -17
- package/lib/components/Sidebar/FooterWrapper.js +4 -3
- package/lib/components/Sidebar/HeaderWrapper.js +3 -3
- package/lib/components/Sidebar/VersionPicker.d.ts +3 -3
- package/lib/components/Sidebar/VersionPicker.js +4 -6
- package/lib/components/Sidebar/index.d.ts +0 -1
- package/lib/components/Sidebar/index.js +0 -1
- package/lib/components/Sidebar/types.d.ts +0 -1
- package/lib/components/SidebarActions/CollapseSidebarButton.js +1 -41
- package/lib/components/SidebarActions/styled.js +21 -29
- package/lib/components/TableOfContent/TableOfContent.js +2 -3
- package/lib/components/TableOfContent/index.d.ts +0 -1
- package/lib/components/TableOfContent/index.js +0 -1
- package/lib/components/Tabs/Tab.js +1 -1
- package/lib/components/Tabs/Tabs.js +1 -1
- package/lib/components/Tags/Tags.d.ts +5 -0
- package/lib/components/Tags/Tags.js +32 -0
- package/lib/components/Tags/index.d.ts +1 -0
- package/lib/components/{Image → Tags}/index.js +1 -1
- package/lib/components/Tiles/ThinTile.js +5 -7
- package/lib/components/Tiles/TileHeader.js +1 -1
- package/lib/components/Tiles/TileText.js +1 -1
- package/lib/components/Tiles/WideTile.js +8 -10
- package/lib/components/Tooltip/index.d.ts +0 -1
- package/lib/components/Tooltip/index.js +0 -1
- package/lib/components/Typography/SectionHeader.js +2 -2
- package/lib/components/Typography/Typography.js +1 -1
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +2 -1
- package/lib/config.d.ts +14 -113
- package/lib/config.js +4 -28
- package/lib/globalStyle.js +1983 -602
- package/lib/hooks/useMobileMenu.js +6 -5
- package/lib/icons/AlertIcon/AlertIcon.js +5 -0
- package/lib/icons/ArrowIcon/ArrowIcon.js +1 -1
- 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 +2 -1
- 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/ExpandIcon/ExpandIcon.d.ts +2 -1
- package/lib/icons/ExpandIcon/ExpandIcon.js +5 -5
- package/lib/icons/ExternalIcon/ExternalIcon.js +3 -3
- package/lib/icons/FileIcon/FileIcon.d.ts +2 -1
- package/lib/icons/FileIcon/FileIcon.js +2 -2
- package/lib/icons/ReportIcon/ReportIcon.d.ts +2 -1
- package/lib/icons/ReportIcon/ReportIcon.js +3 -3
- package/lib/icons/SelectIcon/SelectIcon.d.ts +2 -1
- package/lib/icons/SelectIcon/SelectIcon.js +5 -5
- package/lib/icons/index.d.ts +0 -6
- package/lib/icons/index.js +0 -6
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/Forbidden.js +0 -4
- package/lib/layouts/NotFound.js +0 -4
- package/lib/mocks/hooks/index.js +1 -0
- package/lib/types/portal/src/shared/types/catalog.d.ts +1 -5
- package/lib/types/portal/src/shared/types/nav.d.ts +0 -5
- package/lib/ui/ArrowBack.js +1 -0
- 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 +84 -217
- package/lib/utils/css-variables.js +1 -1
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/index.js +0 -1
- package/package.json +1 -1
- package/src/{i18n → I18n}/LanguagePicker.tsx +21 -48
- package/src/I18n/index.ts +1 -0
- package/src/components/Breadcrumbs/Breadcrumb.tsx +5 -2
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +2 -6
- package/src/components/Breadcrumbs/index.ts +0 -1
- package/src/components/Button/Button.tsx +47 -53
- package/src/components/Button/index.ts +0 -1
- package/src/components/Catalog/Catalog.tsx +120 -140
- package/src/components/Catalog/CatalogCard.tsx +58 -108
- package/src/components/Catalog/index.tsx +3 -0
- package/src/components/CodeBlock/CodeBlockContainer.tsx +9 -17
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +19 -6
- package/src/components/CodeBlock/CodeBlockControls.tsx +5 -8
- package/src/components/CodeBlock/index.ts +0 -1
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +1 -0
- package/src/components/Dropdown/Dropdown.tsx +5 -14
- package/src/components/Dropdown/index.ts +0 -1
- package/src/components/EditPageButton/EditPageButton.tsx +10 -24
- package/src/components/Feedback/Comment.tsx +0 -5
- package/src/components/Feedback/Rating.tsx +1 -5
- package/src/components/Feedback/Reasons.tsx +1 -6
- package/src/components/Feedback/Sentiment.tsx +0 -5
- package/src/components/Feedback/Thumbs.tsx +4 -4
- package/src/components/Filter/Filter.tsx +94 -150
- package/src/components/Filter/index.ts +0 -2
- package/src/components/Footer/CustomFooterNavItem.tsx +1 -1
- package/src/components/Footer/Footer.tsx +10 -32
- package/src/components/Footer/FooterColumn.tsx +63 -84
- package/src/components/Footer/FooterColumns.tsx +4 -6
- package/src/components/Footer/FooterCopyright.tsx +7 -13
- package/src/components/Footer/index.ts +0 -1
- package/src/components/JsonViewer/JsonViewer.tsx +2 -2
- package/src/components/LastUpdated/LastUpdated.tsx +2 -1
- package/src/components/Markdown/Admonition.tsx +8 -13
- package/src/components/Markdown/MarkdownLayout.tsx +15 -2
- package/src/components/Markdown/MarkdownWrapper.tsx +4 -2
- package/src/components/Markdown/Mermaid.tsx +1 -4
- package/src/components/Markdown/index.ts +0 -1
- package/src/components/Menu/Menu.tsx +7 -5
- package/src/components/Menu/MenuGroup.tsx +7 -15
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/Menu/MenuItemLabel.tsx +13 -9
- package/src/components/Menu/MobileMenu.tsx +25 -20
- package/src/components/Menu/MobileMenuGroup.tsx +1 -1
- package/src/components/Menu/index.ts +0 -1
- package/src/components/{Profile → Navbar}/MobileUserProfile.tsx +29 -12
- package/src/components/Navbar/Navbar.tsx +13 -20
- package/src/components/Navbar/NavbarItem.tsx +4 -18
- package/src/components/Navbar/NavbarMenu.tsx +2 -2
- package/src/components/Navbar/index.ts +0 -1
- package/src/components/NavbarLogo/NavbarLogo.tsx +11 -24
- package/src/components/NavbarLogo/index.ts +0 -1
- package/src/components/OpenApiDocs/DevOnboardingTryItSecurity.tsx +2 -1
- package/src/components/OpenApiDocs/Dropdown.tsx +3 -3
- package/src/components/OperationBadge/OperationBadge.ts +62 -0
- package/src/components/OperationBadge/index.ts +1 -0
- package/src/components/PageNavigation/NextButton.tsx +1 -0
- package/src/components/PageNavigation/PreviousButton.tsx +1 -0
- package/src/components/Panel/PanelHeader.ts +0 -2
- package/src/components/Panel/PanelHeaderTitle.ts +4 -0
- package/src/components/Panel/index.ts +0 -1
- package/src/components/Product/ProductPicker.tsx +17 -23
- package/src/components/Product/index.ts +0 -1
- package/src/components/Profile/LoginLink.tsx +2 -1
- package/src/components/Profile/Profile.tsx +24 -1
- package/src/components/Profile/UserProfile.tsx +8 -20
- package/src/components/Profile/index.ts +0 -1
- package/src/components/Search/CancelSearch.tsx +15 -2
- package/src/components/Search/ProductTag.tsx +8 -8
- package/src/components/Search/RecentSearches.tsx +5 -5
- package/src/components/Search/Search.tsx +2 -0
- package/src/components/Search/SearchIcon.tsx +5 -10
- package/src/components/Search/SearchItem.tsx +4 -4
- package/src/components/Search/SearchTrigger.tsx +5 -4
- package/src/components/Search/ShortcutKey.tsx +5 -1
- package/src/components/Search/SuggestedPages.tsx +3 -3
- package/src/components/Search/index.ts +0 -1
- package/src/components/Select/Select.tsx +31 -65
- package/src/components/Select/index.ts +0 -1
- package/src/components/Separator/Separator.tsx +3 -17
- package/src/components/Separator/SeparatorItem.tsx +9 -6
- package/src/components/Separator/SeparatorLine.tsx +3 -7
- package/src/components/Sidebar/ApiCallItem.tsx +13 -17
- package/src/components/Sidebar/FooterWrapper.tsx +4 -3
- package/src/components/Sidebar/HeaderWrapper.tsx +3 -3
- package/src/components/Sidebar/VersionPicker.tsx +4 -6
- package/src/components/Sidebar/index.ts +0 -1
- package/src/components/Sidebar/types.ts +0 -1
- package/src/components/SidebarActions/CollapseSidebarButton.tsx +2 -22
- package/src/components/SidebarActions/styled.tsx +30 -29
- package/src/components/TableOfContent/TableOfContent.tsx +2 -3
- package/src/components/TableOfContent/index.ts +0 -1
- package/src/components/Tabs/Tab.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Tags/Tags.tsx +36 -0
- package/src/components/Tags/index.ts +1 -0
- package/src/components/Tiles/ThinTile.tsx +5 -7
- package/src/components/Tiles/TileHeader.ts +1 -1
- package/src/components/Tiles/TileText.tsx +1 -1
- package/src/components/Tiles/WideTile.tsx +8 -10
- package/src/components/Tooltip/index.ts +0 -1
- package/src/components/Typography/SectionHeader.ts +2 -2
- package/src/components/Typography/Typography.ts +1 -1
- package/src/components/index.ts +2 -1
- package/src/config.ts +3 -30
- package/src/globalStyle.ts +1999 -597
- package/src/hooks/useMobileMenu.ts +4 -3
- package/src/icons/AlertIcon/AlertIcon.tsx +5 -0
- package/src/icons/ArrowIcon/ArrowIcon.tsx +1 -1
- package/src/icons/CollapseIcon/CollapseIcon.tsx +5 -5
- package/src/icons/ColorModeIcon/ColorModeIcon.tsx +1 -1
- package/src/icons/CopyIcon/CopyIcon.tsx +5 -4
- package/src/icons/DeselectIcon/DeselectIcon.tsx +5 -5
- package/src/icons/ExpandIcon/ExpandIcon.tsx +6 -5
- package/src/icons/ExternalIcon/ExternalIcon.tsx +4 -4
- package/src/icons/FileIcon/FileIcon.tsx +3 -2
- package/src/icons/ReportIcon/ReportIcon.tsx +4 -3
- package/src/icons/SelectIcon/SelectIcon.tsx +6 -5
- package/src/icons/index.ts +0 -6
- package/src/index.ts +1 -1
- package/src/layouts/Forbidden.tsx +0 -4
- package/src/layouts/NotFound.tsx +0 -4
- package/src/mocks/hooks/index.ts +1 -0
- package/src/types/portal/src/shared/types/catalog.ts +1 -7
- package/src/types/portal/src/shared/types/nav.ts +0 -5
- package/src/ui/ArrowBack.tsx +1 -0
- 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 +84 -217
- package/src/utils/css-variables.ts +2 -4
- package/src/utils/index.ts +0 -1
- package/lib/components/Breadcrumbs/styledVariables.d.ts +0 -1
- package/lib/components/Breadcrumbs/styledVariables.js +0 -20
- package/lib/components/Button/styledVariables.d.ts +0 -1
- package/lib/components/Button/styledVariables.js +0 -107
- package/lib/components/Catalog/styledVariables.d.ts +0 -1
- package/lib/components/Catalog/styledVariables.js +0 -95
- package/lib/components/CodeBlock/styledVariables.d.ts +0 -1
- package/lib/components/CodeBlock/styledVariables.js +0 -92
- package/lib/components/Dropdown/styledVariables.d.ts +0 -1
- package/lib/components/Dropdown/styledVariables.js +0 -30
- package/lib/components/Filter/FilterContent.d.ts +0 -13
- package/lib/components/Filter/FilterContent.js +0 -60
- package/lib/components/Filter/FilterPopover.d.ts +0 -13
- package/lib/components/Filter/FilterPopover.js +0 -109
- package/lib/components/Filter/FilterTag.d.ts +0 -7
- package/lib/components/Filter/FilterTag.js +0 -33
- package/lib/components/Filter/FilterTags.d.ts +0 -7
- package/lib/components/Filter/FilterTags.js +0 -29
- package/lib/components/Filter/styledVariables.d.ts +0 -1
- package/lib/components/Filter/styledVariables.js +0 -112
- package/lib/components/Footer/styledVariables.d.ts +0 -1
- package/lib/components/Footer/styledVariables.js +0 -61
- package/lib/components/Image/Image.d.ts +0 -9
- package/lib/components/Image/Image.js +0 -31
- package/lib/components/Image/index.d.ts +0 -1
- package/lib/components/LastUpdated/index.d.ts +0 -1
- package/lib/components/LastUpdated/index.js +0 -18
- package/lib/components/LastUpdated/styledVariables.d.ts +0 -1
- package/lib/components/LastUpdated/styledVariables.js +0 -11
- package/lib/components/Markdown/styledVariables.d.ts +0 -3
- package/lib/components/Markdown/styledVariables.js +0 -231
- package/lib/components/Menu/styledVariables.d.ts +0 -2
- package/lib/components/Menu/styledVariables.js +0 -101
- package/lib/components/Navbar/styledVariables.d.ts +0 -1
- package/lib/components/Navbar/styledVariables.js +0 -42
- package/lib/components/NavbarLogo/styledVariables.d.ts +0 -1
- package/lib/components/NavbarLogo/styledVariables.js +0 -18
- package/lib/components/Panel/styledVariables.d.ts +0 -2
- package/lib/components/Panel/styledVariables.js +0 -481
- package/lib/components/Product/styledVariables.d.ts +0 -2
- package/lib/components/Product/styledVariables.js +0 -42
- package/lib/components/Profile/UserProfileData.d.ts +0 -9
- package/lib/components/Profile/UserProfileData.js +0 -35
- package/lib/components/Profile/styledVariables.d.ts +0 -2
- package/lib/components/Profile/styledVariables.js +0 -55
- package/lib/components/Search/styledVariables.d.ts +0 -1
- package/lib/components/Search/styledVariables.js +0 -98
- package/lib/components/Select/styledVariables.d.ts +0 -1
- package/lib/components/Select/styledVariables.js +0 -34
- package/lib/components/Sidebar/styledVariables.d.ts +0 -2
- package/lib/components/Sidebar/styledVariables.js +0 -216
- package/lib/components/TableOfContent/styledVariables.d.ts +0 -1
- package/lib/components/TableOfContent/styledVariables.js +0 -47
- package/lib/components/Tag/Tag.d.ts +0 -18
- package/lib/components/Tag/Tag.js +0 -45
- package/lib/components/Tag/index.d.ts +0 -2
- package/lib/components/Tag/index.js +0 -19
- package/lib/components/Tag/styledVariables.d.ts +0 -1
- package/lib/components/Tag/styledVariables.js +0 -140
- package/lib/components/Tooltip/styledVariables.d.ts +0 -1
- package/lib/components/Tooltip/styledVariables.js +0 -21
- package/lib/hooks/useModalScrollLock.d.ts +0 -1
- package/lib/hooks/useModalScrollLock.js +0 -16
- package/lib/i18n/LanguagePicker.d.ts +0 -9
- package/lib/i18n/index.d.ts +0 -2
- package/lib/i18n/index.js +0 -21
- package/lib/i18n/styledVariables.d.ts +0 -1
- package/lib/i18n/styledVariables.js +0 -40
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +0 -6
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +0 -28
- package/lib/icons/CheckboxIcon/index.d.ts +0 -1
- package/lib/icons/CheckboxIcon/index.js +0 -6
- package/lib/icons/EditIcon/EditIcon.d.ts +0 -6
- package/lib/icons/EditIcon/EditIcon.js +0 -18
- package/lib/icons/EditIcon/index.d.ts +0 -1
- package/lib/icons/EditIcon/index.js +0 -18
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +0 -4
- package/lib/icons/ErrorIcon/ErrorIcon.js +0 -14
- package/lib/icons/ErrorIcon/index.d.ts +0 -1
- package/lib/icons/LanguageIcon/LanguageIcon.d.ts +0 -4
- package/lib/icons/LanguageIcon/LanguageIcon.js +0 -14
- package/lib/icons/LanguageIcon/index.d.ts +0 -1
- package/lib/icons/LanguageIcon/index.js +0 -18
- package/lib/icons/PlusIcon/PlusIcon.d.ts +0 -5
- package/lib/icons/PlusIcon/PlusIcon.js +0 -16
- package/lib/icons/PlusIcon/index.d.ts +0 -1
- package/lib/icons/PlusIcon/index.js +0 -18
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.d.ts +0 -4
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.js +0 -15
- package/lib/icons/PointingArrowIcon/index.d.ts +0 -1
- package/lib/icons/PointingArrowIcon/index.js +0 -18
- package/lib/icons/RocketIcon/RocketIcon.d.ts +0 -7
- package/lib/icons/RocketIcon/RocketIcon.js +0 -15
- package/lib/icons/RocketIcon/index.d.ts +0 -1
- package/lib/icons/RocketIcon/index.js +0 -18
- package/lib/utils/tags-parser.d.ts +0 -1
- package/lib/utils/tags-parser.js +0 -10
- package/src/components/Breadcrumbs/styledVariables.ts +0 -17
- package/src/components/Button/styledVariables.ts +0 -104
- package/src/components/Catalog/index.ts +0 -4
- package/src/components/Catalog/styledVariables.ts +0 -92
- package/src/components/CodeBlock/styledVariables.ts +0 -89
- package/src/components/Dropdown/styledVariables.ts +0 -27
- package/src/components/Filter/FilterContent.tsx +0 -95
- package/src/components/Filter/FilterPopover.tsx +0 -150
- package/src/components/Filter/FilterTag.tsx +0 -37
- package/src/components/Filter/FilterTags.tsx +0 -39
- package/src/components/Filter/styledVariables.ts +0 -109
- package/src/components/Footer/styledVariables.ts +0 -58
- package/src/components/Image/Image.tsx +0 -47
- package/src/components/Image/index.ts +0 -1
- package/src/components/LastUpdated/index.ts +0 -1
- package/src/components/LastUpdated/styledVariables.ts +0 -8
- package/src/components/Markdown/styledVariables.ts +0 -230
- package/src/components/Menu/styledVariables.ts +0 -99
- package/src/components/Navbar/styledVariables.ts +0 -39
- package/src/components/NavbarLogo/styledVariables.ts +0 -15
- package/src/components/Panel/styledVariables.ts +0 -479
- package/src/components/Product/styledVariables.ts +0 -40
- package/src/components/Profile/UserProfileData.tsx +0 -40
- package/src/components/Profile/styledVariables.ts +0 -53
- package/src/components/Search/styledVariables.ts +0 -95
- package/src/components/Select/styledVariables.ts +0 -31
- package/src/components/Sidebar/styledVariables.ts +0 -214
- package/src/components/TableOfContent/styledVariables.ts +0 -44
- package/src/components/Tag/Tag.tsx +0 -71
- package/src/components/Tag/index.ts +0 -2
- package/src/components/Tag/styledVariables.ts +0 -137
- package/src/components/Tooltip/styledVariables.ts +0 -18
- package/src/hooks/useModalScrollLock.ts +0 -12
- package/src/i18n/index.ts +0 -2
- package/src/i18n/styledVariables.ts +0 -37
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +0 -64
- package/src/icons/CheckboxIcon/index.ts +0 -1
- package/src/icons/EditIcon/EditIcon.tsx +0 -30
- package/src/icons/EditIcon/index.ts +0 -1
- package/src/icons/ErrorIcon/ErrorIcon.tsx +0 -15
- package/src/icons/ErrorIcon/index.ts +0 -1
- package/src/icons/LanguageIcon/LanguageIcon.tsx +0 -15
- package/src/icons/LanguageIcon/index.ts +0 -1
- package/src/icons/PlusIcon/PlusIcon.tsx +0 -25
- package/src/icons/PlusIcon/index.ts +0 -1
- package/src/icons/PointingArrowIcon/PointingArrowIcon.tsx +0 -16
- package/src/icons/PointingArrowIcon/index.ts +0 -1
- package/src/icons/RocketIcon/RocketIcon.tsx +0 -32
- package/src/icons/RocketIcon/index.tsx +0 -1
- package/src/utils/tags-parser.ts +0 -8
- /package/lib/components/{Profile → Navbar}/MobileUserProfile.d.ts +0 -0
package/src/ui/darkColors.tsx
CHANGED
|
@@ -1,222 +1,89 @@
|
|
|
1
1
|
import { css } from 'styled-components';
|
|
2
2
|
|
|
3
3
|
export const darkMode = css`
|
|
4
|
-
/* === Dark Theme Colors === */
|
|
5
|
-
|
|
6
4
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
|
|
22
|
-
--color-
|
|
23
|
-
--color-
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--color-
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
-
--
|
|
51
|
-
--
|
|
52
|
-
--
|
|
53
|
-
--
|
|
54
|
-
|
|
55
|
-
--
|
|
56
|
-
--
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
--
|
|
60
|
-
--
|
|
61
|
-
--
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
65
|
-
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--color-
|
|
70
|
-
--color-
|
|
71
|
-
--color-
|
|
72
|
-
--color-
|
|
73
|
-
--
|
|
74
|
-
--
|
|
75
|
-
--
|
|
76
|
-
|
|
77
|
-
--
|
|
78
|
-
--
|
|
79
|
-
--
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--
|
|
83
|
-
--
|
|
84
|
-
--
|
|
85
|
-
--
|
|
86
|
-
--
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
--color-yellow-4: #7c6e14;
|
|
92
|
-
--color-yellow-5: #aa9514;
|
|
93
|
-
--color-yellow-6: #d8bd14;
|
|
94
|
-
--color-yellow-7: #e8d639;
|
|
95
|
-
--color-yellow-8: #f3ea62;
|
|
96
|
-
--color-yellow-9: #f8f48b;
|
|
97
|
-
--color-yellow-10: #fafab5;
|
|
98
|
-
|
|
99
|
-
--color-lime-1: #1f2611;
|
|
100
|
-
--color-lime-2: #2e3c10;
|
|
101
|
-
--color-lime-3: #3e4f13;
|
|
102
|
-
--color-lime-4: #536d13;
|
|
103
|
-
--color-lime-5: #6f9412;
|
|
104
|
-
--color-lime-6: #8bbb11;
|
|
105
|
-
--color-lime-7: #a9d134;
|
|
106
|
-
--color-lime-8: #c9e75d;
|
|
107
|
-
--color-lime-9: #e4f88b;
|
|
108
|
-
--color-lime-10: #f0fab5;
|
|
109
|
-
|
|
110
|
-
--color-geekblue-1: #131629;
|
|
111
|
-
--color-geekblue-2: #161d40;
|
|
112
|
-
--color-geekblue-3: #1c2755;
|
|
113
|
-
--color-geekblue-4: #203175;
|
|
114
|
-
--color-geekblue-5: #263ea0;
|
|
115
|
-
--color-geekblue-6: #2b4acb;
|
|
116
|
-
--color-geekblue-7: #5273e0;
|
|
117
|
-
--color-geekblue-8: #7f9ef3;
|
|
118
|
-
--color-geekblue-9: #a8c1f8;
|
|
119
|
-
--color-geekblue-10: #d2e0fa;
|
|
120
|
-
|
|
121
|
-
--color-primary-bg: #0d086e;
|
|
122
|
-
--color-primary-bg-hover: #161087;
|
|
123
|
-
--color-primary-border: #201dad;
|
|
124
|
-
--color-primary-border-hover: #2f31d4;
|
|
125
|
-
--color-primary-hover: #6678ff;
|
|
126
|
-
--color-primary-base: #434dfa;
|
|
127
|
-
--color-primary-active: #8a99ff;
|
|
128
|
-
--color-primary-text-hover: #adbcff;
|
|
129
|
-
--color-primary-text: #d6dfff;
|
|
130
|
-
--color-primary-text-active: #ebf0ff;
|
|
131
|
-
|
|
132
|
-
--color-success-bg: var(--color-cyan-3);
|
|
133
|
-
--color-success-bg-hover: var(--color-cyan-2);
|
|
134
|
-
--color-success-border: var(--color-cyan-3);
|
|
135
|
-
--color-success-border-hover: var(--color-cyan-4);
|
|
136
|
-
--color-success-hover: var(--color-cyan-7);
|
|
137
|
-
--color-success-base: var(--color-cyan-6);
|
|
138
|
-
--color-success-active: var(--color-cyan-7);
|
|
139
|
-
--color-success-text-hover: var(--color-cyan-8);
|
|
140
|
-
--color-success-text: var(--color-cyan-9);
|
|
141
|
-
--color-success-text-active: var(--color-cyan-10);
|
|
142
|
-
|
|
143
|
-
--color-warning-bg: var(--color-gold-3);
|
|
144
|
-
--color-warning-bg-hover: var(--color-gold-2);
|
|
145
|
-
--color-warning-border: var(--color-gold-3);
|
|
146
|
-
--color-warning-border-hover: var(--color-gold-4);
|
|
147
|
-
--color-warning-hover: var(--color-gold-7);
|
|
148
|
-
--color-warning-base: var(--color-gold-6);
|
|
149
|
-
--color-warning-active: var(--color-gold-7);
|
|
150
|
-
--color-warning-text-hover: var(--color-gold-8);
|
|
151
|
-
--color-warning-text: var(--color-gold-9);
|
|
152
|
-
--color-warning-text-active: var(--color-gold-10);
|
|
153
|
-
|
|
154
|
-
--color-error-bg: var(--color-red-3);
|
|
155
|
-
--color-error-bg-hover: var(--color-red-2);
|
|
156
|
-
--color-error-border: var(--color-red-3);
|
|
157
|
-
--color-error-border-hover: var(--color-red-4);
|
|
158
|
-
--color-error-hover: var(--color-red-7);
|
|
159
|
-
--color-error-base: var(--color-red-6);
|
|
160
|
-
--color-error-active: var(--color-red-7);
|
|
161
|
-
--color-error-text-hover: var(--color-red-8);
|
|
162
|
-
--color-error-text: var(--color-red-9);
|
|
163
|
-
--color-error-text-active: var(--color-red-10);
|
|
164
|
-
|
|
165
|
-
--color-info-bg: var(--color-blue-1);
|
|
166
|
-
--color-info-bg-hover: var(--color-blue-2);
|
|
167
|
-
--color-info-border: var(--color-blue-3);
|
|
168
|
-
--color-info-border-hover: var(--color-blue-4);
|
|
169
|
-
--color-info-hover: var(--color-blue-7);
|
|
170
|
-
--color-info-base: var(--color-blue-6);
|
|
171
|
-
--color-info-active: var(--color-blue-7);
|
|
172
|
-
--color-info-text-hover: var(--color-blue-8);
|
|
173
|
-
--color-info-text: var(--color-blue-9);
|
|
174
|
-
--color-info-text-active: var(--color-blue-10);
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @tokens Dark Main Colors
|
|
178
|
-
* @presenter Color
|
|
179
|
-
*/
|
|
180
|
-
--color-bg-base: #ffffff;
|
|
181
|
-
--color-primary: var(--color-primary-base);
|
|
182
|
-
--color-error: var(--color-error-base);
|
|
183
|
-
--color-warning: var(--color-warning-base);
|
|
184
|
-
--color-success: var(--color-success-base);
|
|
185
|
-
--color-info: var(--color-info-base);
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* @tokens Font Colors
|
|
189
|
-
* @presenter Color
|
|
190
|
-
*/
|
|
191
|
-
--text-base: #ffffff; // The base color of the typography color tokens.
|
|
192
|
-
--text-light-solid: #ffffff; // The color of the objects that need to be white no matter what theme is enabled.
|
|
193
|
-
--text-primary: #ffffffde; // Headers, Icon hover
|
|
194
|
-
--text-secondary: #ffffff99; // Body text
|
|
195
|
-
--text-description: #ffffff61; // Caption, Description, Icon
|
|
196
|
-
--text-placeholder: #ffffff61; // Placeholder text, Disabled text
|
|
197
|
-
--text-link: var(--color-blue-6);
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* @tokens Elevation Colors
|
|
201
|
-
* @presenter Color
|
|
202
|
-
*/
|
|
203
|
-
|
|
204
|
-
--bg-sunken: #2c2d33; // Sunken is the lowest elevation available.
|
|
205
|
-
--bg-base: #1b1c21; // The default elevation is the baseline with respect to all other layers.
|
|
206
|
-
--bg-raised: #24262b; // Cards, elements, inputs
|
|
207
|
-
--bg-overlay: #3a3c42; // Overlay is the highest elevation available. Use for hovers
|
|
208
|
-
--bg-modal-overlay: #3a3c42c2;
|
|
209
|
-
|
|
210
|
-
--bg-base-shadow: 0px 3px 5px rgba(0, 0, 0, 0.4), 0px 1px 4px rgba(0, 0, 0, 0.5); // Elements
|
|
211
|
-
--bg-raised-shadow: 0px 8px 12px rgba(0, 0, 0, 0.4), 0px 1px 4px rgba(0, 0, 0, 0.5); // Hovers for base. Menu
|
|
212
|
-
--bg-overlay-shadow: 0px 16px 32px rgba(0, 0, 0, 0.6), 0px 6px 6px rgba(0, 0, 0, 0.4); // Use for dropdowns
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* @tokens Border Colors
|
|
216
|
-
* @presenter Color
|
|
217
|
-
*/
|
|
218
|
-
--border-primary: #ffffff21; // Raised dividers
|
|
219
|
-
--border-secondary: #ffffff17; // Default dividers, borders
|
|
220
|
-
|
|
221
|
-
// @tokens End
|
|
5
|
+
* @tokens Dark Colors
|
|
6
|
+
* @presenter Color
|
|
7
|
+
*/
|
|
8
|
+
--background-color: #141414;
|
|
9
|
+
--footer-background-color: #1f1f1f;
|
|
10
|
+
--navbar-background-color: #1f1f1f;
|
|
11
|
+
--mobile-menu-background: #141414;
|
|
12
|
+
--mobile-menu-profile-background: var(--mobile-menu-background);
|
|
13
|
+
--mobile-menu-login-button-background: var(--mobile-menu-profile-background);
|
|
14
|
+
--mobile-menu-item-text-color: rgba(255, 255, 255, 0.6);
|
|
15
|
+
--mobile-menu-item-active-color: #1f1f1f;
|
|
16
|
+
--mobile-menu-item-active-text-color: rgba(255, 255, 255, 0.85);
|
|
17
|
+
--mobile-menu-control-button-color: #ffffff;
|
|
18
|
+
--mobile-menu-profile-border-color: #222222;
|
|
19
|
+
--color-primary-500: #57a5fd;
|
|
20
|
+
--color-primary-300: #15396e;
|
|
21
|
+
--color-secondary-300: #22262e;
|
|
22
|
+
--colors-translucent: rgb(50 63 75 / 40%);
|
|
23
|
+
--inline-code-text-color: #f76663;
|
|
24
|
+
--color-emphasis-400: #fff;
|
|
25
|
+
--link-hover-text-color: #57a5fd;
|
|
26
|
+
--link-text-color: #57a5fd;
|
|
27
|
+
--code-block-background-color: #1e2633;
|
|
28
|
+
--admonition-attention-background-color: var(--color-primary-300);
|
|
29
|
+
--admonition-attention-icon-color: var(--color-emphasis-700);
|
|
30
|
+
--admonition-warning-background-color: #614b17;
|
|
31
|
+
--admonition-warning-icon-color: #4c3b12;
|
|
32
|
+
--admonition-success-background-color: #267e74;
|
|
33
|
+
--admonition-success-icon-color: #38b9a5;
|
|
34
|
+
--admonition-danger-background-color: #d6524c;
|
|
35
|
+
--admonition-danger-icon-color: #d13e37;
|
|
36
|
+
--admonition-info-background-color: #696969;
|
|
37
|
+
--admonition-info-icon-color: #505050;
|
|
38
|
+
--inline-code-background-color: #1e2633;
|
|
39
|
+
--toc-item-active-background-color: #1e2633;
|
|
40
|
+
--sidebar-item-active-background-color: #1e2633;
|
|
41
|
+
--panel-response-success-heading-background-color: #38b9a5;
|
|
42
|
+
--panel-response-success-border-color: #38b9a5;
|
|
43
|
+
--panel-response-error-heading-background-color: #d6524c;
|
|
44
|
+
--panel-response-error-border-color: #d6524c;
|
|
45
|
+
--panel-samples-heading-background-color: #1e2633;
|
|
46
|
+
--panel-samples-body-background-color: #263041;
|
|
47
|
+
--panel-samples-tabs-hover-background-color: #1e2633;
|
|
48
|
+
--panel-samples-tabs-hover-border-color: #3f4f68;
|
|
49
|
+
--panel-try-it-action-button-hover-border-color: #2b4cc4;
|
|
50
|
+
--panel-try-it-action-button-hover-background-color: #2b4cc4;
|
|
51
|
+
--panel-try-it-action-button-background-color: #0065fb;
|
|
52
|
+
--button-background-color: #0065fb;
|
|
53
|
+
--button-border-color: #0065fb;
|
|
54
|
+
--button-hover-background-color: #2b4cc4;
|
|
55
|
+
--button-hover-border-color: #2b4cc4;
|
|
56
|
+
--search-input-background-color: #1b2738;
|
|
57
|
+
--search-popover-background-color: #1b2738;
|
|
58
|
+
--search-highlight-text-color: #ffff03;
|
|
59
|
+
--search-item-text-color: #ffffffcf;
|
|
60
|
+
--search-item-title-text-color: #ffffff;
|
|
61
|
+
--search-item-active-text-color: var(--text-color);
|
|
62
|
+
--search-item-active-title-text-color: var(--text-color);
|
|
63
|
+
--search-item-active-background-color: #1b2738;
|
|
64
|
+
--panel-try-it-nested-body-background-color: #263041;
|
|
65
|
+
--panel-try-it-tabs-active-background-color: #11151d;
|
|
66
|
+
--panel-try-it-tabs-hover-background-color: #141a26;
|
|
67
|
+
--color-emphasis-100: #16202e;
|
|
68
|
+
--color-secondary-400: #696969;
|
|
69
|
+
--color-emphasis-700: #fff;
|
|
70
|
+
--color-emphasis-800: #fff;
|
|
71
|
+
--copy-button-tooltip-text-color: #fff;
|
|
72
|
+
--copy-button-tooltip-background-color: var(--tooltip-background-color);
|
|
73
|
+
--tooltip-text-color: #fff;
|
|
74
|
+
--md-table-head-background-color: var(--color-secondary-300);
|
|
75
|
+
--md-tabs-hover-tab-border-color: var(--color-secondary-500);
|
|
76
|
+
--thin-tile-background-color: #1d242d;
|
|
77
|
+
--wide-tile-background-color: #1d242d;
|
|
78
|
+
--page-404-header-text-color: #fff;
|
|
79
|
+
--page-404-description-text-color: #fff;
|
|
80
|
+
--page-403-header-text-color: #fff;
|
|
81
|
+
--page-403-description-text-color: #fff;
|
|
82
|
+
--checkbox-backround-color: var(--color-secondary-900);
|
|
83
|
+
--checkbox-checked-backround-color: var(--color-primary-400);
|
|
84
|
+
--select-list-item-active-background-color: #282828;
|
|
85
|
+
--dropdown-list-item-active-background-color: #282828;
|
|
86
|
+
|
|
87
|
+
background-color: var(--background-color);
|
|
88
|
+
color: var(--text-color);
|
|
222
89
|
`;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export const getCssColorVariable = (
|
|
2
|
-
color:
|
|
3
|
-
defaultValue = 'currentColor',
|
|
4
|
-
): string => (color?.startsWith('--') ? `var(${color})` : color || defaultValue);
|
|
1
|
+
export const getCssColorVariable = (color: string | undefined, defaultValue = 'inherit'): string =>
|
|
2
|
+
color?.startsWith('--') ? `var(${color})` : color || defaultValue;
|
package/src/utils/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const breadcrumbs: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -1,20 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
export declare const button: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -1,107 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const catalog: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.catalog = void 0;
|
|
4
|
-
const styled_components_1 = require("styled-components");
|
|
5
|
-
exports.catalog = (0, styled_components_1.css) `
|
|
6
|
-
/* === Catalog === */
|
|
7
|
-
/**
|
|
8
|
-
* @tokens Catalog page
|
|
9
|
-
*/
|
|
10
|
-
--catalog-page-padding-vertical: var(--spacing-lg);
|
|
11
|
-
--catalog-page-padding-horizontal: var(--spacing-xl);
|
|
12
|
-
--catalog-page-padding: var(--catalog-page-padding-vertical) var(--catalog-page-padding-horizontal);
|
|
13
|
-
|
|
14
|
-
--mobile-catalog-filter-padding-vertical: var(--spacing-sm);
|
|
15
|
-
--mobile-catalog-filter-padding-horizontal: var(--spacing-base);
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @tokens Catalog page title
|
|
19
|
-
*/
|
|
20
|
-
--catalog-title-text-color: var(--text-primary);
|
|
21
|
-
--catalog-title-font-weight: var(--font-weight-bold);
|
|
22
|
-
--catalog-title-font-size: var(--font-size-heading-3);
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @tokens Catalog page description
|
|
26
|
-
*/
|
|
27
|
-
--catalog-description-text-color: var(--text-secondary);
|
|
28
|
-
--catalog-description-font-weight: var(--font-weight-regular);
|
|
29
|
-
--catalog-description-font-size: var(--font-size-base);
|
|
30
|
-
--catalog-description-margin-top: var(--spacing-sm);
|
|
31
|
-
--catalog-description-margin-bottom: var(--spacing-xl);
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @tokens Catalog page separator
|
|
35
|
-
*/
|
|
36
|
-
--catalog-separator-color: var(--text-secondary);
|
|
37
|
-
--catalog-separator-font-size: var(--font-size-base);
|
|
38
|
-
--catalog-separator-font-weight: var(--font-weight-regular);
|
|
39
|
-
--catalog-separator-border-color: var(--border-secondary);
|
|
40
|
-
--catalog-separator-margin: 0 0 var(--spacing-base) 0;
|
|
41
|
-
--catalog-separator-padding: var(--spacing-xxs) 0 0 0;
|
|
42
|
-
--catalog-separator-label-margin: 0 var(--spacing-xs);
|
|
43
|
-
--catalog-separator-count-height: var(--control-height-xs);
|
|
44
|
-
--catalog-separator-count-padding: 0 var(--spacing-xxs);
|
|
45
|
-
--catalog-separator-count-border-radius: var(--border-radius-xlg);
|
|
46
|
-
--catalog-separator-count-border-color: var(--border-primary);
|
|
47
|
-
--catalog-separator-count-background: var(--bg-overlay);
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @tokens Catalog card
|
|
51
|
-
*/
|
|
52
|
-
--catalog-card-min-height: 214px;
|
|
53
|
-
--catalog-card-text-color: var(--text-secondary);
|
|
54
|
-
--catalog-card-font-size: var(--font-size-base);
|
|
55
|
-
--catalog-card-font-weight: var(--font-weight-regular);
|
|
56
|
-
--catalog-card-background-color: var(--bg-raised);
|
|
57
|
-
--catalog-card-border-color: var(--border-secondary);
|
|
58
|
-
--catalog-card-border-width: var(--border-width);
|
|
59
|
-
--catalog-card-border-style: var(--border-style);
|
|
60
|
-
--catalog-card-hover-border-color: var(--border-primary);
|
|
61
|
-
--catalog-card-border-radius: var(--border-radius-lg);
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @tokens Catalog card button
|
|
65
|
-
*/
|
|
66
|
-
--catalog-card-icon-color: var(--text-secondary);
|
|
67
|
-
--catalog-card-icon-hover-color: var(--text-primary);
|
|
68
|
-
--catalog-card-button-hover-background: var(--bg-overlay);
|
|
69
|
-
--catalog-card-button-height: var(--spacing-xl);
|
|
70
|
-
--catalog-card-button-width: var(--spacing-xl);
|
|
71
|
-
--catalog-card-button-border-color: var(--border-secondary);
|
|
72
|
-
--catalog-cards-group-margin: 0 0 var(--spacing-base) 0;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @tokens Catalog card title
|
|
76
|
-
*/
|
|
77
|
-
--catalog-card-title-color: var(--text-primary);
|
|
78
|
-
--catalog-card-title-min-height: calc(var(--spacing-unit) * 18);
|
|
79
|
-
--catalog-card-title-font-size: var(--font-size-lg);
|
|
80
|
-
--catalog-card-title-font-weight: var(--font-weight-bold);
|
|
81
|
-
--catalog-card-title-padding-vertical: var(--spacing-sm);
|
|
82
|
-
--catalog-card-title-padding-horizontal: var(--spacing-lg);
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @tokens Catalog card description
|
|
86
|
-
*/
|
|
87
|
-
--catalog-card-description-line-clamp: 3;
|
|
88
|
-
--catalog-card-description-margin-bottom: var(--spacing-base);
|
|
89
|
-
--catalog-card-content-background-color: var(--bg-base);
|
|
90
|
-
--catalog-card-content-border-radius: var(--border-radius-lg);
|
|
91
|
-
--catalog-card-content-padding: var(--spacing-base);
|
|
92
|
-
|
|
93
|
-
// @tokens End
|
|
94
|
-
`;
|
|
95
|
-
//# sourceMappingURL=styledVariables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const code: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.code = void 0;
|
|
4
|
-
const styled_components_1 = require("styled-components");
|
|
5
|
-
exports.code = (0, styled_components_1.css) `
|
|
6
|
-
/**
|
|
7
|
-
* @tokens Code base styles
|
|
8
|
-
*/
|
|
9
|
-
--code-font-size: 13px; // @presenter FontSize
|
|
10
|
-
--code-font-family: var(--font-family-monospaced); // @presenter FontFamily
|
|
11
|
-
--code-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
12
|
-
--code-line-height: var(--line-height-xsm); // @presenter LineHeight
|
|
13
|
-
--code-wrap: pre;
|
|
14
|
-
--code-word-break: break-word;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @tokens Inline Code
|
|
18
|
-
*/
|
|
19
|
-
--inline-code-font-size: var(--code-font-size); // @presenter FontSize
|
|
20
|
-
--inline-code-font-family: var(--code-font-family); // @presenter FontFamily
|
|
21
|
-
--inline-code-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
22
|
-
--inline-code-line-height: var(--code-line-height); // @presenter LineHeight
|
|
23
|
-
--inline-code-text-color: var(--text-secondary); // @presenter Color
|
|
24
|
-
--inline-code-background-color: var(--bg-overlay); // @presenter Color
|
|
25
|
-
--inline-code-border-color: var(--border-primary); // @presenter Color
|
|
26
|
-
--inline-code-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @tokens Code Block
|
|
30
|
-
*/
|
|
31
|
-
--code-block-font-size: var(--code-font-size); // @presenter FontSize
|
|
32
|
-
--code-block-font-family: var(--code-font-family); // @presenter FontFamily
|
|
33
|
-
--code-block-line-height: var(--code-line-height); // @presenter LineHeight
|
|
34
|
-
--code-block-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
35
|
-
--code-block-text-color: var(--text-secondary); // @presenter Color
|
|
36
|
-
--code-block-background-color: var(--bg-raised); // @presenter Color
|
|
37
|
-
--code-block-border-color: var(--border-primary); // @presenter Color
|
|
38
|
-
--code-block-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
39
|
-
--code-block-padding: calc(var(--spacing-unit) * 2);
|
|
40
|
-
--code-block-margin: 0;
|
|
41
|
-
--code-block-max-height: 50vh;
|
|
42
|
-
--code-block-word-break: initial;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @tokens Code Block controls
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
--code-block-controls-font-size: var(--font-size-base); // @presenter FontSize
|
|
49
|
-
--code-block-controls-font-family: var(--font-family-base); // @presenter FontFamily
|
|
50
|
-
--code-block-controls-text-color: var(--text-secondary); // @presenter Color
|
|
51
|
-
--code-block-controls-background-color: var(--bg-overlay); // @presenter Color
|
|
52
|
-
--code-block-controls-border: 1px solid var(--border-primary); // @presenter Border
|
|
53
|
-
--code-block-controls-padding: 0 var(--spacing-xs); // @presenter Spacing
|
|
54
|
-
--code-block-icon-controls-background-color: var(--code-block-controls-background-color);
|
|
55
|
-
--code-block-text-controls-background-color: var(--code-block-controls-background-color);
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @tokens Code Block tokens
|
|
59
|
-
*/
|
|
60
|
-
--code-block-tokens-default-color: var(--text-secondary); // @presenter Color
|
|
61
|
-
--code-block-tokens-comment-color: var(--text-placeholder); // @presenter Color
|
|
62
|
-
--code-block-tokens-prolog-color: var(--code-block-tokens-comment-color); // @presenter Color
|
|
63
|
-
--code-block-tokens-doctype-color: var(--code-block-tokens-comment-color); // @presenter Color
|
|
64
|
-
--code-block-tokens-cdata-color: var(--code-block-tokens-comment-color); // @presenter Color
|
|
65
|
-
--code-block-tokens-property-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
66
|
-
--code-block-tokens-tag-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
67
|
-
--code-block-tokens-number-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
68
|
-
--code-block-tokens-constant-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
69
|
-
--code-block-tokens-symbol-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
70
|
-
--code-block-tokens-boolean-color: var(--color-geekblue-7); // @presenter Color
|
|
71
|
-
--code-block-tokens-string-color: var(--color-cyan-7); // @presenter Color
|
|
72
|
-
--code-block-tokens-property-string-color: var(--text-secondary); // @presenter Color
|
|
73
|
-
--code-block-tokens-selector-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
74
|
-
--code-block-tokens-attr-name-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
75
|
-
--code-block-tokens-char-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
76
|
-
--code-block-tokens-builtin-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
77
|
-
--code-block-tokens-inserted-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
78
|
-
--code-block-tokens-link-color: var(--color-blue-7); // @presenter Color
|
|
79
|
-
--code-block-tokens-operator-color: var(--color-gold-7); // @presenter Color
|
|
80
|
-
--code-block-tokens-entity-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
81
|
-
--code-block-tokens-url-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
82
|
-
--code-block-tokens-variable-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
83
|
-
--code-block-tokens-keyword-color: var(--color-magenta-7); // @presenter Color
|
|
84
|
-
--code-block-tokens-atrule-color: var(--code-block-tokens-keyword-color); // @presenter Color
|
|
85
|
-
--code-block-tokens-attr-value-color: var(--code-block-tokens-keyword-color); // @presenter Color
|
|
86
|
-
--code-block-tokens-regex-color: var(--color-yellow-7); // @presenter Color
|
|
87
|
-
--code-block-tokens-important-color: var(--code-block-tokens-regex-color); // @presenter Color
|
|
88
|
-
--code-block-tokens-deleted-color: var(--color-red-7); // @presenter Color
|
|
89
|
-
|
|
90
|
-
// @tokens End
|
|
91
|
-
`;
|
|
92
|
-
//# sourceMappingURL=styledVariables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dropdown: import("styled-components").FlattenSimpleInterpolation;
|