@redocly/theme 0.18.3-patch.8 → 0.18.4
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 +2 -7
- package/lib/I18n/LanguagePicker.js +12 -27
- package/lib/I18n/index.d.ts +0 -1
- package/lib/I18n/index.js +0 -15
- 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 +103 -108
- package/lib/components/Catalog/CatalogCard.js +58 -89
- 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.js +1 -5
- 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 -55
- 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/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/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 +11 -10
- package/lib/components/Navbar/NavbarItem.d.ts +1 -1
- package/lib/components/Navbar/NavbarItem.js +4 -11
- 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/LanguageIcon → components/OperationBadge}/index.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 +5 -17
- 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 -28
- 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 -5
- 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 +3 -2
- 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 +0 -113
- package/lib/config.js +3 -27
- 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/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 -4
- package/lib/icons/index.js +0 -4
- package/lib/layouts/Forbidden.js +0 -4
- package/lib/layouts/NotFound.js +0 -4
- 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/LanguagePicker.tsx +21 -48
- package/src/I18n/index.ts +0 -1
- 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 -135
- package/src/components/Catalog/CatalogCard.tsx +58 -106
- 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 +1 -5
- 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 -82
- 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/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/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 +11 -10
- package/src/components/Navbar/NavbarItem.tsx +4 -13
- 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/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 +13 -18
- 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 -66
- 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 -5
- 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 +3 -2
- 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 +1 -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/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 -4
- package/src/layouts/Forbidden.tsx +0 -4
- package/src/layouts/NotFound.tsx +0 -4
- 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/I18n/styledVariables.d.ts +0 -1
- package/lib/I18n/styledVariables.js +0 -40
- 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 -96
- 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 -43
- 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 -41
- 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 -46
- 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 -136
- 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/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/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/ErrorIcon/index.js +0 -18
- 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/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/utils/tags-parser.d.ts +0 -1
- package/lib/utils/tags-parser.js +0 -10
- package/src/I18n/styledVariables.ts +0 -37
- 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 -93
- 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 -40
- package/src/components/NavbarLogo/styledVariables.ts +0 -15
- package/src/components/Panel/styledVariables.ts +0 -479
- package/src/components/Product/styledVariables.ts +0 -39
- 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 -43
- package/src/components/Tag/Tag.tsx +0 -71
- package/src/components/Tag/index.ts +0 -2
- package/src/components/Tag/styledVariables.ts +0 -133
- package/src/components/Tooltip/styledVariables.ts +0 -18
- package/src/hooks/useModalScrollLock.ts +0 -12
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +0 -64
- package/src/icons/CheckboxIcon/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/utils/tags-parser.ts +0 -8
- /package/lib/components/{Profile → Navbar}/MobileUserProfile.d.ts +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const react_1 = require("react");
|
|
4
|
-
function useModalScrollLock(isOpen) {
|
|
5
|
-
(0, react_1.useEffect)(() => {
|
|
6
|
-
if (isOpen)
|
|
7
|
-
document.body.classList.add('overflow-hidden');
|
|
8
|
-
else
|
|
9
|
-
document.body.classList.remove('overflow-hidden');
|
|
10
|
-
}, [isOpen]);
|
|
11
|
-
return () => {
|
|
12
|
-
document.body.classList.remove('overflow-hidden');
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
exports.default = useModalScrollLock;
|
|
16
|
-
//# sourceMappingURL=useModalScrollLock.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const CheckboxIcon: import("styled-components").StyledComponent<({ className, checked, onClick, }: {
|
|
3
|
-
className?: string | undefined;
|
|
4
|
-
checked?: boolean | undefined;
|
|
5
|
-
onClick?: (() => void) | undefined;
|
|
6
|
-
}) => JSX.Element, any, {}, never>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CheckboxIcon = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Icon = ({ className, checked = false, onClick, }) => (react_1.default.createElement("span", { className: className, onClick: onClick }, checked ? (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
10
|
-
react_1.default.createElement("rect", { width: "16", height: "16", rx: "4", fill: "var(--checkbox-active-background-color)" }),
|
|
11
|
-
react_1.default.createElement("path", { d: "M3.91308 7.03516H3.91326C3.99256 7.03525 4.07081 7.05331 4.14213 7.08798C4.21341 7.12262 4.27591 7.17295 4.32497 7.2352L3.91308 7.03516ZM3.91308 7.03516H3.09394C2.89031 7.03516 2.7766 7.26975 2.90232 7.4292L2.90237 7.42927L6.11214 11.4957L6.11218 11.4957C6.32247 11.7619 6.72568 11.7611 6.93667 11.4962L6.93708 11.4957L12.6597 4.24398C12.6598 4.24378 12.66 4.24358 12.6602 4.24338C12.7884 4.08295 12.6699 3.85 12.4689 3.85H11.6498C11.4894 3.85 11.3367 3.9235 11.2376 4.05044C11.2375 4.05055 11.2374 4.05066 11.2373 4.05077L6.52403 10.0216M3.91308 7.03516L6.52403 10.0216M6.52403 10.0216L4.32506 7.23531L6.52403 10.0216Z", fill: "var(--checkbox-mark-color)", stroke: "var(--checkbox-mark-color)" }))) : (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
12
|
-
react_1.default.createElement("rect", { width: "16", height: "16", rx: "4", fill: "var(--checkbox-background-color)" }),
|
|
13
|
-
react_1.default.createElement("rect", { x: "0.5", y: "0.5", width: "15", height: "15", rx: "3.5", stroke: "var(--checkbox-border-color)" })))));
|
|
14
|
-
exports.CheckboxIcon = (0, styled_components_1.default)(Icon).attrs({
|
|
15
|
-
'data-component-name': 'icons/CheckboxIcon/CheckboxIcon',
|
|
16
|
-
}) `
|
|
17
|
-
margin-right: var(--spacing-xs);
|
|
18
|
-
display: flex;
|
|
19
|
-
|
|
20
|
-
--checkbox-active-border-color: var(--color-primary-base);
|
|
21
|
-
--checkbox-active-background-color: var(--color-primary-base);
|
|
22
|
-
|
|
23
|
-
--checkbox-border-color: var(--border-primary);
|
|
24
|
-
--checkbox-background-color: var(--bg-base);
|
|
25
|
-
|
|
26
|
-
--checkbox-mark-color: var(--bg-base);
|
|
27
|
-
`;
|
|
28
|
-
//# sourceMappingURL=CheckboxIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CheckboxIcon } from '../../icons/CheckboxIcon/CheckboxIcon';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CheckboxIcon = void 0;
|
|
4
|
-
var CheckboxIcon_1 = require("../../icons/CheckboxIcon/CheckboxIcon");
|
|
5
|
-
Object.defineProperty(exports, "CheckboxIcon", { enumerable: true, get: function () { return CheckboxIcon_1.CheckboxIcon; } });
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ErrorIcon = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Icon = () => (react_1.default.createElement("svg", { width: "17", height: "16", viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
10
|
-
react_1.default.createElement("path", { d: "M8.5 1C4.63438 1 1.5 4.13438 1.5 8C1.5 11.8656 4.63438 15 8.5 15C12.3656 15 15.5 11.8656 15.5 8C15.5 4.13438 12.3656 1 8.5 1ZM11.0844 10.6594L10.0531 10.6547L8.5 8.80313L6.94844 10.6531L5.91563 10.6578C5.84688 10.6578 5.79063 10.6031 5.79063 10.5328C5.79063 10.5031 5.80156 10.475 5.82031 10.4516L7.85313 8.02969L5.82031 5.60938C5.80143 5.58647 5.79096 5.5578 5.79063 5.52812C5.79063 5.45937 5.84688 5.40312 5.91563 5.40312L6.94844 5.40781L8.5 7.25938L10.0516 5.40938L11.0828 5.40469C11.1516 5.40469 11.2078 5.45937 11.2078 5.52969C11.2078 5.55937 11.1969 5.5875 11.1781 5.61094L9.14844 8.03125L11.1797 10.4531C11.1984 10.4766 11.2094 10.5047 11.2094 10.5344C11.2094 10.6031 11.1531 10.6594 11.0844 10.6594Z", fill: "var(--color-error-base)" })));
|
|
11
|
-
exports.ErrorIcon = (0, styled_components_1.default)(Icon).attrs(() => ({
|
|
12
|
-
'data-component-name': 'icons/ErrorIcon/ErrorIcon',
|
|
13
|
-
})) ``;
|
|
14
|
-
//# sourceMappingURL=ErrorIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../icons/ErrorIcon/ErrorIcon';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../icons/ErrorIcon/ErrorIcon"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.LanguageIcon = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Icon = () => (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
10
|
-
react_1.default.createElement("path", { d: "M13.35 12.5141C13.3531 12.5094 13.3578 12.5047 13.3609 12.5C14.3844 11.2828 15 9.71406 15 8C15 6.28594 14.3844 4.71719 13.3625 3.5C13.3594 3.49531 13.3547 3.49219 13.3516 3.4875C13.3344 3.46719 13.3187 3.44844 13.3016 3.42969C13.2953 3.42188 13.2891 3.41563 13.2828 3.40781L13.2188 3.33437L13.2172 3.33281C13.1938 3.30625 13.1687 3.27969 13.1453 3.25312L13.1438 3.25156C13.0938 3.19844 13.0437 3.14531 12.9922 3.09375L12.9906 3.09219L12.9156 3.01719L12.9109 3.0125C12.8875 2.98906 12.8641 2.96719 12.8406 2.94531C12.8328 2.9375 12.825 2.92969 12.8156 2.92188C12.8 2.90625 12.7844 2.89219 12.7688 2.87812C12.7641 2.87344 12.7578 2.86875 12.7531 2.8625C11.5063 1.70625 9.83594 1 8 1C6.16406 1 4.49375 1.70625 3.24531 2.8625C3.24062 2.86719 3.23438 2.87187 3.22969 2.87812C3.21406 2.89219 3.19844 2.90781 3.18281 2.92344C3.175 2.93125 3.16719 2.93906 3.15781 2.94688C3.13438 2.96875 3.11094 2.99219 3.0875 3.01406L3.08281 3.01875L3.00781 3.09375L3.00625 3.09531C2.95469 3.14688 2.90469 3.2 2.85469 3.25312L2.85313 3.25469C2.82813 3.28125 2.80469 3.30781 2.78125 3.33437L2.77969 3.33594C2.75781 3.35938 2.73594 3.38437 2.71563 3.40937C2.70938 3.41719 2.70313 3.42344 2.69688 3.43125C2.67969 3.45 2.66406 3.47031 2.64687 3.48906C2.64375 3.49375 2.63906 3.49688 2.63594 3.50156C1.61562 4.71719 1 6.28594 1 8C1 9.71406 1.61563 11.2828 2.6375 12.5C2.64062 12.5047 2.64531 12.5094 2.64844 12.5141L2.69688 12.5719C2.70313 12.5797 2.70938 12.5859 2.71563 12.5938L2.77969 12.6672C2.77969 12.6687 2.78125 12.6688 2.78125 12.6703C2.80469 12.6969 2.82813 12.7234 2.85313 12.7484L2.85469 12.75C2.90469 12.8031 2.95469 12.8562 3.00469 12.9078L3.00625 12.9094C3.03125 12.9344 3.05469 12.9594 3.07969 12.9828L3.08437 12.9875C3.13594 13.0391 3.18906 13.0891 3.24219 13.1375C4.49375 14.2937 6.16406 15 8 15C9.83594 15 11.5062 14.2937 12.7547 13.1375C12.8079 13.0887 12.86 13.0387 12.9109 12.9875L12.9156 12.9828C12.9406 12.9578 12.9656 12.9344 12.9891 12.9094L12.9906 12.9078C13.0422 12.8562 13.0922 12.8031 13.1406 12.75L13.1422 12.7484C13.1656 12.7219 13.1906 12.6969 13.2141 12.6703C13.2141 12.6688 13.2156 12.6687 13.2156 12.6672C13.2375 12.6438 13.2594 12.6187 13.2797 12.5938C13.2859 12.5859 13.2922 12.5797 13.2984 12.5719C13.3161 12.553 13.3333 12.5338 13.35 12.5141ZM13.4141 10.2859C13.1984 10.7953 12.9141 11.2672 12.5672 11.6953C12.1765 11.3577 11.7494 11.0647 11.2937 10.8219C11.475 10.0891 11.5875 9.28438 11.6172 8.4375H13.8594C13.8125 9.07656 13.6625 9.69687 13.4141 10.2859ZM13.8594 7.5625H11.6172C11.5875 6.71562 11.475 5.91094 11.2937 5.17812C11.7516 4.93437 12.1781 4.64062 12.5672 4.30469C13.3212 5.23277 13.7722 6.3699 13.8594 7.5625ZM10.2859 2.58594C10.9062 2.84844 11.4703 3.21094 11.9672 3.66719C11.6785 3.91296 11.3679 4.13159 11.0391 4.32031C10.7937 3.61719 10.4797 3.00625 10.1141 2.51719C10.1719 2.53906 10.2297 2.5625 10.2859 2.58594ZM8.87031 13.5328C8.72656 13.6453 8.58281 13.7312 8.4375 13.7891V10.8906C9.05749 10.9339 9.66717 11.0719 10.2453 11.3C10.1156 11.6844 9.96562 12.0391 9.79219 12.3594C9.52031 12.8656 9.20156 13.2703 8.87031 13.5328ZM9.79219 3.64062C9.96406 3.9625 10.1156 4.31719 10.2453 4.7C9.66717 4.92806 9.05749 5.06612 8.4375 5.10938V2.2125C8.58125 2.27031 8.72656 2.35469 8.87031 2.46875C9.20156 2.72969 9.52031 3.13438 9.79219 3.64062ZM8.4375 10.0141V8.4375H10.7422C10.7172 9.12813 10.6313 9.79844 10.4875 10.4344L10.4828 10.4531C9.82708 10.2045 9.13751 10.0564 8.4375 10.0141ZM8.4375 7.5625V5.98594C9.15312 5.94219 9.84063 5.79063 10.4828 5.54688L10.4875 5.56563C10.6313 6.20156 10.7172 6.87031 10.7422 7.5625H8.4375ZM7.5625 8.4375V10.0141C6.84688 10.0578 6.15938 10.2094 5.51719 10.4531L5.5125 10.4344C5.36875 9.79844 5.28281 9.12969 5.25781 8.4375H7.5625ZM5.25781 7.5625C5.28281 6.87187 5.36875 6.20156 5.5125 5.56563L5.51719 5.54688C6.15938 5.79063 6.84531 5.94219 7.5625 5.98594V7.5625H5.25781ZM7.5625 10.8906V13.7875C7.41875 13.7297 7.27344 13.6453 7.12969 13.5312C6.79844 13.2703 6.47813 12.8641 6.20625 12.3578C6.03438 12.0359 5.88281 11.6812 5.75313 11.2984C6.33438 11.0703 6.93906 10.9344 7.5625 10.8906ZM7.5625 5.10938C6.94251 5.06612 6.33283 4.92806 5.75469 4.7C5.88437 4.31562 6.03437 3.96094 6.20781 3.64062C6.47969 3.13438 6.79844 2.72812 7.13125 2.46719C7.275 2.35469 7.41875 2.26875 7.56406 2.21094V5.10938H7.5625ZM5.71406 2.58594C5.77188 2.5625 5.82812 2.53906 5.88594 2.51719C5.52031 3.00625 5.20625 3.61719 4.96094 4.32031C4.63281 4.13281 4.32188 3.91406 4.03281 3.66719C4.52969 3.21094 5.09375 2.84844 5.71406 2.58594ZM2.58594 5.71406C2.80156 5.20469 3.08594 4.73281 3.43281 4.30469C3.82187 4.64062 4.24844 4.93437 4.70625 5.17812C4.525 5.91094 4.4125 6.71562 4.38281 7.5625H2.14062C2.1875 6.92344 2.3375 6.30313 2.58594 5.71406ZM2.14062 8.4375H4.38281C4.4125 9.28438 4.525 10.0891 4.70625 10.8219C4.25059 11.0647 3.82347 11.3577 3.43281 11.6953C2.6788 10.7672 2.22776 9.6301 2.14062 8.4375ZM5.71406 13.4141C5.09375 13.1516 4.52969 12.7891 4.03281 12.3328C4.32188 12.0859 4.63281 11.8687 4.96094 11.6797C5.20625 12.3828 5.52031 12.9938 5.88594 13.4828C5.82812 13.4609 5.77031 13.4375 5.71406 13.4141ZM10.2859 13.4141C10.2281 13.4375 10.1719 13.4609 10.1141 13.4828C10.4797 12.9938 10.7937 12.3828 11.0391 11.6797C11.3672 11.8672 11.6781 12.0859 11.9672 12.3328C11.4731 12.7872 10.9043 13.1529 10.2859 13.4141Z", fill: "#8D8D8D" })));
|
|
11
|
-
exports.LanguageIcon = (0, styled_components_1.default)(Icon).attrs(() => ({
|
|
12
|
-
'data-component-name': 'icons/LanguageIcon/LanguageIcon',
|
|
13
|
-
})) ``;
|
|
14
|
-
//# sourceMappingURL=LanguageIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../icons/LanguageIcon/LanguageIcon';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PlusIcon = exports.Icon = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Icon = () => (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" },
|
|
10
|
-
react_1.default.createElement("path", { d: "M7.53125 2.375H8.46875C8.55208 2.375 8.59375 2.41667 8.59375 2.5V13.5C8.59375 13.5833 8.55208 13.625 8.46875 13.625H7.53125C7.44792 13.625 7.40625 13.5833 7.40625 13.5V2.5C7.40625 2.41667 7.44792 2.375 7.53125 2.375Z", fill: "inherit" }),
|
|
11
|
-
react_1.default.createElement("path", { d: "M2.75 7.40625H13.25C13.3333 7.40625 13.375 7.44792 13.375 7.53125V8.46875C13.375 8.55208 13.3333 8.59375 13.25 8.59375H2.75C2.66667 8.59375 2.625 8.55208 2.625 8.46875V7.53125C2.625 7.44792 2.66667 7.40625 2.75 7.40625Z", fill: "inherit" })));
|
|
12
|
-
exports.Icon = Icon;
|
|
13
|
-
exports.PlusIcon = (0, styled_components_1.default)(exports.Icon).attrs(() => ({
|
|
14
|
-
'data-component-name': 'icons/PlusIcon/PlusIcon',
|
|
15
|
-
})) ``;
|
|
16
|
-
//# sourceMappingURL=PlusIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../icons/PlusIcon/PlusIcon';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../icons/PlusIcon/PlusIcon"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PointingArrowIcon = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Icon = () => (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "#8D8D8D", xmlns: "http://www.w3.org/2000/svg" },
|
|
10
|
-
react_1.default.createElement("rect", { width: "16", height: "16", fill: "none" }),
|
|
11
|
-
react_1.default.createElement("path", { d: "M9 3L8.285 3.6965L12.075 7.5H2V8.5H12.075L8.285 12.2865L9 13L14 8L9 3Z", fill: "inherit" })));
|
|
12
|
-
exports.PointingArrowIcon = (0, styled_components_1.default)(Icon).attrs(() => ({
|
|
13
|
-
'data-component-name': 'icons/PointingArrowIcon/PointingArrowIcon',
|
|
14
|
-
})) ``;
|
|
15
|
-
//# sourceMappingURL=PointingArrowIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../icons/PointingArrowIcon/PointingArrowIcon';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../icons/PointingArrowIcon/PointingArrowIcon"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const slug: (value: string) => string;
|
package/lib/utils/tags-parser.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.slug = void 0;
|
|
4
|
-
const slug = (value) => {
|
|
5
|
-
const matches = value.match(/[a-zA-Z0-9_-]*/g);
|
|
6
|
-
const result = matches === null || matches === void 0 ? void 0 : matches.filter((value) => value !== '').join('-').toLowerCase();
|
|
7
|
-
return result !== null && result !== void 0 ? result : value;
|
|
8
|
-
};
|
|
9
|
-
exports.slug = slug;
|
|
10
|
-
//# sourceMappingURL=tags-parser.js.map
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { css } from "styled-components";
|
|
2
|
-
|
|
3
|
-
export const languagePicker = css`
|
|
4
|
-
/**
|
|
5
|
-
* @tokens Language picker
|
|
6
|
-
* */
|
|
7
|
-
|
|
8
|
-
--language-picker-font-size: var(--select-font-size); // @presenter FontSize
|
|
9
|
-
--language-picker-font-weight: var(--select-font-weight); // @presenter FontWeight
|
|
10
|
-
--language-picker-line-height: var(--select-line-height); // @presenter LineHeight
|
|
11
|
-
--language-picker-text-color: var(--text-primary); // @presenter Color
|
|
12
|
-
--language-picker-min-height: var(--control-height-base); // @presenter Spacing
|
|
13
|
-
--language-picker-border-radius: calc(var(--spacing-unit) * 1.5); // @presenter BorderRadius
|
|
14
|
-
--language-picker-border-color: var(--border-primary); // @presenter Color
|
|
15
|
-
--language-picker-background-color: var(--bg-base); // @presenter Color
|
|
16
|
-
--language-picker-hover-background-color: var(--language-picker-background-color); // @presenter Color
|
|
17
|
-
--language-picker-hover-border-color: var(--text-primary); // @presenter Color
|
|
18
|
-
|
|
19
|
-
--language-picker-input-padding-horizontal: var(--select-input-padding-horizontal); // @presenter Spacing
|
|
20
|
-
--language-picker-input-padding-vertical: var(--select-input-padding-vertical); // @presenter Spacing
|
|
21
|
-
--language-picker-input-border-radius: var(--language-picker-border-radius); // @presenter BorderRadius
|
|
22
|
-
|
|
23
|
-
--language-picker-list-min-width: var(--select-list-min-width);
|
|
24
|
-
--language-picker-list-max-width: var(--select-list-max-width);
|
|
25
|
-
--language-picker-list-padding: var(--select-list-padding); // @presenter Spacing
|
|
26
|
-
--language-picker-list-border-radius: var(--language-picker-border-radius); // @presenter BorderRadius
|
|
27
|
-
--language-picker-list-background-color: var(--select-list-background-color); // @presenter Color
|
|
28
|
-
--language-picker-list-box-shadow: var(--select-list-box-shadow); // @presenter Shadow
|
|
29
|
-
|
|
30
|
-
--language-picker-list-item-horizontal-padding: var(--select-list-item-horizontal-padding); // @presenter Spacing
|
|
31
|
-
--language-picker-list-item-vertical-padding: var(--select-list-item-vertical-padding); // @presenter Spacing
|
|
32
|
-
--language-picker-list-item-border-radius: var(--select-list-item-border-radius); // @presenter BorderRadius
|
|
33
|
-
--language-picker-list-item-active-background-color: var(--select-list-item-active-background-color); // @presenter Color
|
|
34
|
-
--language-picker-list-item-hover-background-color: var(--select-list-item-hover-background-color); // @presenter Color
|
|
35
|
-
|
|
36
|
-
// @tokens End
|
|
37
|
-
`
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { css } from 'styled-components';
|
|
2
|
-
|
|
3
|
-
export const breadcrumbs = css`
|
|
4
|
-
/**
|
|
5
|
-
* @tokens Breadcrumbs
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
--breadcrumbs-text-color: var(--text-description); // @presenter Color
|
|
9
|
-
--breadcrumbs-font-size: var(--font-size-base); // @presenter FontSize
|
|
10
|
-
--breadcrumbs-active-text-color: var(--text-primary); // @presenter Color
|
|
11
|
-
--breadcrumbs-hover-text-decoration: underline; // @presenter TextDecoration
|
|
12
|
-
--breadcrumbs-padding: 0; // @presenter Spacing
|
|
13
|
-
--breadcrumbs-gap: var(--spacing-xs);
|
|
14
|
-
--breadcrumbs-margin-bottom: var(--spacing-lg); // @presenter Spacing
|
|
15
|
-
|
|
16
|
-
// @tokens End
|
|
17
|
-
`;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { css } from 'styled-components';
|
|
2
|
-
|
|
3
|
-
export const button = css`
|
|
4
|
-
/**
|
|
5
|
-
* Static classnames that can be used to override styles for components:
|
|
6
|
-
* download-specification-button, next-section-button, button-base
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @tokens Button borders
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
--button-border-width: 1px; //@presenter Border
|
|
14
|
-
--button-border-style: solid; //@presenter Border
|
|
15
|
-
--button-border-radius: var(--border-radius-md); // @presenter BorderRadius
|
|
16
|
-
--button-margin: 5px; // @presenter Spacing
|
|
17
|
-
--button-box-shadow: none; // @presenter Shadow
|
|
18
|
-
--button-hover-box-shadow: none; // @presenter Shadow
|
|
19
|
-
--button-active-box-shadow: none; // @presenter Shadow
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @tokens Button typography
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
--button-font-size: var(--font-size-base); // @presenter FontSize
|
|
26
|
-
--button-font-family: inherit; // @presenter FontFamily
|
|
27
|
-
--button-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
28
|
-
|
|
29
|
-
--button-default-font-size: var(--font-size-base); // @presenter FontSize
|
|
30
|
-
--button-default-padding: 8px 16px;
|
|
31
|
-
|
|
32
|
-
--button-small-font-size: var(--font-size-base); // @presenter FontSize
|
|
33
|
-
--button-small-padding: 4px 8px;
|
|
34
|
-
|
|
35
|
-
--button-large-font-size: var(--font-size-lg); // @presenter FontSize
|
|
36
|
-
--button-large-padding: 8px 16px;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @tokens Button icon
|
|
40
|
-
*/
|
|
41
|
-
--button-icon-width: 1em; // @presenter Spacing
|
|
42
|
-
--button-icon-height: 1em; // @presenter Spacing
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @tokens Button default
|
|
46
|
-
*/
|
|
47
|
-
.button-default {
|
|
48
|
-
--button-color: var(--text-primary); // @presenter Color
|
|
49
|
-
--button-background-color: var(--bg-overlay); // @presenter Color
|
|
50
|
-
--button-border-color: var(--bg-overlay);
|
|
51
|
-
|
|
52
|
-
--button-hover-background-color: var(--bg-overlay); // @presenter Color
|
|
53
|
-
--button-hover-border-color: var(--border-primary); // @presenter Color
|
|
54
|
-
|
|
55
|
-
--button-active-background-color: var(--bg-overlay); // @presenter Color
|
|
56
|
-
--button-active-border-color: var(--button-color); // @presenter Color
|
|
57
|
-
|
|
58
|
-
--button-disabled-color: var(--text-placeholder); // @presenter Color
|
|
59
|
-
--button-disabled-background-color: var(--bg-raised); // @presenter Color
|
|
60
|
-
--button-disabled-border-color: var(--border-secondary); // @presenter Color
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @tokens Button primary
|
|
65
|
-
*/
|
|
66
|
-
.button-primary {
|
|
67
|
-
--button-color: var(--text-light-solid); // @presenter Color
|
|
68
|
-
--button-background-color: var(--color-primary); // @presenter Color
|
|
69
|
-
--button-border-color: var(--color-primary); // @presenter Color
|
|
70
|
-
--button-border: 1px solid var(--button-border-color);
|
|
71
|
-
|
|
72
|
-
--button-hover-background-color: var(--color-primary-hover); // @presenter Color
|
|
73
|
-
--button-hover-border-color: var(--color-primary-hover); // @presenter Color
|
|
74
|
-
|
|
75
|
-
--button-active-background-color: var(--color-primary-active); // @presenter Color
|
|
76
|
-
--button-active-border-color: var(--color-primary-active); // @presenter Color
|
|
77
|
-
|
|
78
|
-
--button-disabled-color: var(--text-placeholder); // @presenter Color
|
|
79
|
-
--button-disabled-background-color: var(--bg-raised); // @presenter Color
|
|
80
|
-
--button-disabled-border-color: var(--border-secondary); // @presenter Color
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @tokens Button outline
|
|
85
|
-
*/
|
|
86
|
-
.button-outlined {
|
|
87
|
-
--button-background-color: transparent; // @presenter Color
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @tokens Button text
|
|
92
|
-
*/
|
|
93
|
-
.button-text {
|
|
94
|
-
--button-color: var(--text-secondary); // @presenter Color
|
|
95
|
-
--button-border-color: transparent; // @presenter Color
|
|
96
|
-
--button-background-color: transparent; // @presenter Color
|
|
97
|
-
|
|
98
|
-
--button-hover-color: var(--text-primary); // @presenter Color
|
|
99
|
-
--button-hover-background-color: transparent; // @presenter Color
|
|
100
|
-
--button-hover-border-color: transparent; // @presenter Color
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// @tokens End
|
|
104
|
-
`;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { css } from 'styled-components';
|
|
2
|
-
|
|
3
|
-
export const catalog = css`
|
|
4
|
-
/* === Catalog === */
|
|
5
|
-
/**
|
|
6
|
-
* @tokens Catalog page
|
|
7
|
-
*/
|
|
8
|
-
--catalog-page-padding-vertical: var(--spacing-lg);
|
|
9
|
-
--catalog-page-padding-horizontal: var(--spacing-xl);
|
|
10
|
-
--catalog-page-padding: var(--catalog-page-padding-vertical) var(--catalog-page-padding-horizontal);
|
|
11
|
-
--mobile-catalog-page-padding: 0 var(--spacing-base) var(--spacing-base) var(--spacing-base);
|
|
12
|
-
|
|
13
|
-
--mobile-catalog-filter-padding-vertical: var(--spacing-sm);
|
|
14
|
-
--mobile-catalog-filter-padding-horizontal: var(--spacing-base);
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @tokens Catalog page title
|
|
18
|
-
*/
|
|
19
|
-
--catalog-title-text-color: var(--text-primary);
|
|
20
|
-
--catalog-title-font-weight: var(--font-weight-bold);
|
|
21
|
-
--catalog-title-font-size: var(--font-size-heading-3);
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @tokens Catalog page description
|
|
25
|
-
*/
|
|
26
|
-
--catalog-description-text-color: var(--text-secondary);
|
|
27
|
-
--catalog-description-font-weight: var(--font-weight-regular);
|
|
28
|
-
--catalog-description-font-size: var(--font-size-base);
|
|
29
|
-
--catalog-description-margin-top: var(--spacing-sm);
|
|
30
|
-
--catalog-description-margin-bottom: var(--spacing-xl);
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @tokens Catalog page separator
|
|
34
|
-
*/
|
|
35
|
-
--catalog-separator-color: var(--text-description);
|
|
36
|
-
--catalog-separator-font-size: var(--font-size-base);
|
|
37
|
-
--catalog-separator-font-weight: var(--font-weight-regular);
|
|
38
|
-
--catalog-separator-border-color: var(--border-secondary);
|
|
39
|
-
--catalog-separator-margin: 0 0 var(--spacing-base) 0;
|
|
40
|
-
--catalog-separator-padding: var(--spacing-xxs) 0 0 0;
|
|
41
|
-
--catalog-separator-label-margin: 0 var(--spacing-xs);
|
|
42
|
-
--catalog-separator-count-height: var(--control-height-xs);
|
|
43
|
-
--catalog-separator-count-padding: 0 var(--spacing-xxs);
|
|
44
|
-
--catalog-separator-count-border-radius: var(--border-radius-xlg);
|
|
45
|
-
--catalog-separator-count-border-color: var(--border-secondary);
|
|
46
|
-
--catalog-separator-count-background: var(--bg-raised);
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @tokens Catalog card
|
|
50
|
-
*/
|
|
51
|
-
--catalog-card-min-height: 214px;
|
|
52
|
-
--catalog-card-text-color: var(--text-secondary);
|
|
53
|
-
--catalog-card-font-size: var(--font-size-base);
|
|
54
|
-
--catalog-card-font-weight: var(--font-weight-regular);
|
|
55
|
-
--catalog-card-background-color: var(--bg-raised);
|
|
56
|
-
--catalog-card-border-color: var(--border-secondary);
|
|
57
|
-
--catalog-card-border-width: var(--border-width);
|
|
58
|
-
--catalog-card-border-style: var(--border-style);
|
|
59
|
-
--catalog-card-hover-border-color: var(--border-primary);
|
|
60
|
-
--catalog-card-border-radius: var(--border-radius-lg);
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @tokens Catalog card button
|
|
64
|
-
*/
|
|
65
|
-
--catalog-card-icon-color: var(--text-secondary);
|
|
66
|
-
--catalog-card-icon-hover-color: var(--text-primary);
|
|
67
|
-
--catalog-card-button-hover-background: var(--bg-overlay);
|
|
68
|
-
--catalog-card-button-height: var(--spacing-xl);
|
|
69
|
-
--catalog-card-button-width: var(--spacing-xl);
|
|
70
|
-
--catalog-card-button-border-color: var(--border-secondary);
|
|
71
|
-
--catalog-cards-group-margin: 0 0 var(--spacing-base) 0;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @tokens Catalog card title
|
|
75
|
-
*/
|
|
76
|
-
--catalog-card-title-color: var(--text-primary);
|
|
77
|
-
--catalog-card-title-min-height: calc(var(--spacing-unit) * 18);
|
|
78
|
-
--catalog-card-title-font-size: var(--font-size-lg);
|
|
79
|
-
--catalog-card-title-font-weight: var(--font-weight-bold);
|
|
80
|
-
--catalog-card-title-padding-vertical: var(--spacing-sm);
|
|
81
|
-
--catalog-card-title-padding-horizontal: var(--spacing-lg);
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @tokens Catalog card description
|
|
85
|
-
*/
|
|
86
|
-
--catalog-card-description-line-clamp: 3;
|
|
87
|
-
--catalog-card-description-margin-bottom: var(--spacing-base);
|
|
88
|
-
--catalog-card-content-background-color: var(--bg-base);
|
|
89
|
-
--catalog-card-content-border-radius: var(--border-radius-lg);
|
|
90
|
-
--catalog-card-content-padding: var(--spacing-base);
|
|
91
|
-
|
|
92
|
-
// @tokens End
|
|
93
|
-
`;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { css } from 'styled-components';
|
|
2
|
-
|
|
3
|
-
export const code = css`
|
|
4
|
-
/**
|
|
5
|
-
* @tokens Code base styles
|
|
6
|
-
*/
|
|
7
|
-
--code-font-size: 13px; // @presenter FontSize
|
|
8
|
-
--code-font-family: var(--font-family-monospaced); // @presenter FontFamily
|
|
9
|
-
--code-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
10
|
-
--code-line-height: var(--line-height-xsm); // @presenter LineHeight
|
|
11
|
-
--code-wrap: pre;
|
|
12
|
-
--code-word-break: break-word;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @tokens Inline Code
|
|
16
|
-
*/
|
|
17
|
-
--inline-code-font-size: var(--code-font-size); // @presenter FontSize
|
|
18
|
-
--inline-code-font-family: var(--code-font-family); // @presenter FontFamily
|
|
19
|
-
--inline-code-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
20
|
-
--inline-code-line-height: var(--code-line-height); // @presenter LineHeight
|
|
21
|
-
--inline-code-text-color: var(--text-secondary); // @presenter Color
|
|
22
|
-
--inline-code-background-color: var(--bg-overlay); // @presenter Color
|
|
23
|
-
--inline-code-border-color: var(--border-primary); // @presenter Color
|
|
24
|
-
--inline-code-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @tokens Code Block
|
|
28
|
-
*/
|
|
29
|
-
--code-block-font-size: var(--code-font-size); // @presenter FontSize
|
|
30
|
-
--code-block-font-family: var(--code-font-family); // @presenter FontFamily
|
|
31
|
-
--code-block-line-height: var(--code-line-height); // @presenter LineHeight
|
|
32
|
-
--code-block-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
33
|
-
--code-block-text-color: var(--text-secondary); // @presenter Color
|
|
34
|
-
--code-block-background-color: var(--bg-raised); // @presenter Color
|
|
35
|
-
--code-block-border-color: var(--border-primary); // @presenter Color
|
|
36
|
-
--code-block-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
37
|
-
--code-block-padding: calc(var(--spacing-unit) * 2);
|
|
38
|
-
--code-block-margin: 0;
|
|
39
|
-
--code-block-max-height: 50vh;
|
|
40
|
-
--code-block-word-break: initial;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @tokens Code Block controls
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
--code-block-controls-font-size: var(--font-size-base); // @presenter FontSize
|
|
47
|
-
--code-block-controls-font-family: var(--font-family-base); // @presenter FontFamily
|
|
48
|
-
--code-block-controls-text-color: var(--text-secondary); // @presenter Color
|
|
49
|
-
--code-block-controls-background-color: var(--bg-overlay); // @presenter Color
|
|
50
|
-
--code-block-controls-border: 1px solid var(--border-primary); // @presenter Border
|
|
51
|
-
--code-block-controls-padding: 0 var(--spacing-xs); // @presenter Spacing
|
|
52
|
-
--code-block-icon-controls-background-color: var(--code-block-controls-background-color);
|
|
53
|
-
--code-block-text-controls-background-color: var(--code-block-controls-background-color);
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @tokens Code Block tokens
|
|
57
|
-
*/
|
|
58
|
-
--code-block-tokens-default-color: var(--text-secondary); // @presenter Color
|
|
59
|
-
--code-block-tokens-comment-color: var(--text-placeholder); // @presenter Color
|
|
60
|
-
--code-block-tokens-prolog-color: var(--code-block-tokens-comment-color); // @presenter Color
|
|
61
|
-
--code-block-tokens-doctype-color: var(--code-block-tokens-comment-color); // @presenter Color
|
|
62
|
-
--code-block-tokens-cdata-color: var(--code-block-tokens-comment-color); // @presenter Color
|
|
63
|
-
--code-block-tokens-property-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
64
|
-
--code-block-tokens-tag-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
65
|
-
--code-block-tokens-number-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
66
|
-
--code-block-tokens-constant-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
67
|
-
--code-block-tokens-symbol-color: var(--code-block-tokens-default-color); // @presenter Color
|
|
68
|
-
--code-block-tokens-boolean-color: var(--color-geekblue-7); // @presenter Color
|
|
69
|
-
--code-block-tokens-string-color: var(--color-cyan-6); // @presenter Color
|
|
70
|
-
--code-block-tokens-property-string-color: var(--text-secondary); // @presenter Color
|
|
71
|
-
--code-block-tokens-selector-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
72
|
-
--code-block-tokens-attr-name-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
73
|
-
--code-block-tokens-char-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
74
|
-
--code-block-tokens-builtin-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
75
|
-
--code-block-tokens-inserted-color: var(--code-block-tokens-string-color); // @presenter Color
|
|
76
|
-
--code-block-tokens-link-color: var(--color-blue-6); // @presenter Color
|
|
77
|
-
--code-block-tokens-operator-color: var(--color-gold-7); // @presenter Color
|
|
78
|
-
--code-block-tokens-entity-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
79
|
-
--code-block-tokens-url-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
80
|
-
--code-block-tokens-variable-color: var(--code-block-tokens-operator-color); // @presenter Color
|
|
81
|
-
--code-block-tokens-keyword-color: var(--color-magneta-6); // @presenter Color
|
|
82
|
-
--code-block-tokens-atrule-color: var(--code-block-tokens-keyword-color); // @presenter Color
|
|
83
|
-
--code-block-tokens-attr-value-color: var(--code-block-tokens-keyword-color); // @presenter Color
|
|
84
|
-
--code-block-tokens-regex-color: var(--color-gold-5); // @presenter Color
|
|
85
|
-
--code-block-tokens-important-color: var(--code-block-tokens-regex-color); // @presenter Color
|
|
86
|
-
--code-block-tokens-deleted-color: var(--color-red-6); // @presenter Color
|
|
87
|
-
|
|
88
|
-
// @tokens End
|
|
89
|
-
`;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { css } from "styled-components";
|
|
2
|
-
|
|
3
|
-
export const dropdown = css`
|
|
4
|
-
/**
|
|
5
|
-
* @tokens Dropdown
|
|
6
|
-
* */
|
|
7
|
-
--dropdown-font-size: var(--font-size-base); // @presenter FontSize
|
|
8
|
-
--dropdown-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
9
|
-
--dropdown-line-height: var(--line-height-base); // @presenter LineHeight
|
|
10
|
-
--dropdown-text-color: var(--text-secondary); // @presenter Color
|
|
11
|
-
--dropdown-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
12
|
-
|
|
13
|
-
--dropdown-list-min-width: 100px;
|
|
14
|
-
--dropdown-list-max-width: 300px;
|
|
15
|
-
--dropdown-list-padding: var(--spacing-xxs); // @presenter Spacing
|
|
16
|
-
--dropdown-list-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
17
|
-
--dropdown-list-background-color: var(--background-color); // @presenter Color
|
|
18
|
-
--dropdown-list-box-shadow: var(--bg-raised-shadow); // @presenter Shadow
|
|
19
|
-
|
|
20
|
-
--dropdown-list-item-horizontal-padding: var(--spacing-base); // @presenter Spacing
|
|
21
|
-
--dropdown-list-item-vertical-padding: var(--spacing-xs); // @presenter Spacing
|
|
22
|
-
--dropdown-list-item-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
23
|
-
--dropdown-list-item-active-background-color: var(--bg-raised); // @presenter Color
|
|
24
|
-
--dropdown-list-item-separator-color: var(--border-primary); // @presenter Color
|
|
25
|
-
|
|
26
|
-
// @tokens End
|
|
27
|
-
`;
|