@redocly/theme 0.18.3 → 0.18.4-patch.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Breadcrumbs/Breadcrumb.js +2 -5
- package/lib/components/Breadcrumbs/Breadcrumbs.js +6 -2
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/Breadcrumbs/index.js +1 -0
- package/lib/components/Breadcrumbs/styledVariables.d.ts +1 -0
- package/lib/components/Breadcrumbs/styledVariables.js +20 -0
- package/lib/components/Button/Button.d.ts +6 -3
- package/lib/components/Button/Button.js +41 -41
- package/lib/components/Button/index.d.ts +1 -0
- package/lib/components/Button/index.js +1 -0
- package/lib/components/Button/styledVariables.d.ts +1 -0
- package/lib/components/Button/styledVariables.js +107 -0
- package/lib/components/Catalog/Catalog.d.ts +6 -0
- package/lib/components/Catalog/Catalog.js +112 -102
- package/lib/components/Catalog/CatalogCard.js +91 -58
- package/lib/components/Catalog/index.d.ts +4 -3
- package/lib/components/Catalog/index.js +4 -3
- package/lib/components/Catalog/styledVariables.d.ts +1 -0
- package/lib/components/Catalog/styledVariables.js +95 -0
- package/lib/components/CodeBlock/CodeBlockContainer.js +38 -10
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +3 -4
- package/lib/components/CodeBlock/CodeBlockControlButton.js +5 -19
- package/lib/components/CodeBlock/CodeBlockControls.js +8 -5
- package/lib/components/CodeBlock/index.d.ts +1 -0
- package/lib/components/CodeBlock/index.js +1 -0
- package/lib/components/CodeBlock/styledVariables.d.ts +1 -0
- package/lib/components/CodeBlock/styledVariables.js +92 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +0 -1
- package/lib/components/Dropdown/Dropdown.d.ts +9 -3
- package/lib/components/Dropdown/Dropdown.js +7 -4
- package/lib/components/Dropdown/index.d.ts +1 -0
- package/lib/components/Dropdown/index.js +1 -0
- package/lib/components/Dropdown/styledVariables.d.ts +1 -0
- package/lib/components/Dropdown/styledVariables.js +30 -0
- package/lib/components/EditPageButton/EditPageButton.d.ts +1 -3
- package/lib/components/EditPageButton/EditPageButton.js +17 -8
- package/lib/components/Feedback/Comment.js +5 -0
- package/lib/components/Feedback/Rating.js +5 -1
- package/lib/components/Feedback/Reasons.js +6 -1
- package/lib/components/Feedback/Sentiment.js +5 -0
- package/lib/components/Feedback/Thumbs.js +4 -4
- package/lib/components/Filter/Filter.d.ts +3 -1
- package/lib/components/Filter/Filter.js +113 -80
- package/lib/components/Filter/FilterContent.d.ts +13 -0
- package/lib/components/Filter/FilterContent.js +60 -0
- package/lib/components/Filter/FilterPopover.d.ts +13 -0
- package/lib/components/Filter/FilterPopover.js +109 -0
- package/lib/components/Filter/FilterTag.d.ts +7 -0
- package/lib/components/Filter/FilterTag.js +33 -0
- package/lib/components/Filter/FilterTags.d.ts +7 -0
- package/lib/components/Filter/FilterTags.js +29 -0
- package/lib/components/Filter/index.d.ts +2 -0
- package/lib/components/Filter/index.js +2 -0
- package/lib/components/Filter/styledVariables.d.ts +1 -0
- package/lib/components/Filter/styledVariables.js +112 -0
- package/lib/components/Footer/CustomFooterNavItem.js +1 -1
- package/lib/components/Footer/Footer.d.ts +4 -3
- package/lib/components/Footer/Footer.js +28 -10
- package/lib/components/Footer/FooterColumn.d.ts +3 -3
- package/lib/components/Footer/FooterColumn.js +57 -63
- package/lib/components/Footer/FooterColumns.js +6 -4
- package/lib/components/Footer/FooterCopyright.js +11 -6
- package/lib/components/Footer/index.d.ts +1 -0
- package/lib/components/Footer/index.js +1 -0
- package/lib/components/Footer/styledVariables.d.ts +1 -0
- package/lib/components/Footer/styledVariables.js +61 -0
- package/lib/components/Image/Image.d.ts +9 -0
- package/lib/components/Image/Image.js +31 -0
- package/lib/components/Image/index.d.ts +1 -0
- package/lib/components/{Tags → Image}/index.js +1 -1
- package/lib/components/JsonViewer/JsonViewer.js +2 -2
- package/lib/components/LastUpdated/LastUpdated.js +1 -0
- package/lib/components/LastUpdated/index.d.ts +1 -0
- package/lib/components/{OperationBadge → LastUpdated}/index.js +1 -1
- package/lib/components/LastUpdated/styledVariables.d.ts +1 -0
- package/lib/components/LastUpdated/styledVariables.js +11 -0
- package/lib/components/Markdown/Admonition.js +12 -9
- package/lib/components/Markdown/MarkdownLayout.d.ts +0 -2
- package/lib/components/Markdown/MarkdownLayout.js +1 -6
- package/lib/components/Markdown/MarkdownWrapper.js +2 -4
- package/lib/components/Markdown/Mermaid.js +4 -1
- package/lib/components/Markdown/index.d.ts +1 -0
- package/lib/components/Markdown/index.js +1 -0
- package/lib/components/Markdown/styledVariables.d.ts +3 -0
- package/lib/components/Markdown/styledVariables.js +231 -0
- package/lib/components/Menu/Menu.js +5 -7
- package/lib/components/Menu/MenuGroup.js +12 -7
- package/lib/components/Menu/MenuItem.js +1 -1
- package/lib/components/Menu/MenuItemLabel.js +9 -13
- package/lib/components/Menu/MobileMenu.js +20 -25
- package/lib/components/Menu/MobileMenuGroup.js +1 -1
- package/lib/components/Menu/index.d.ts +1 -0
- package/lib/components/Menu/index.js +1 -0
- package/lib/components/Menu/styledVariables.d.ts +2 -0
- package/lib/components/Menu/styledVariables.js +101 -0
- package/lib/components/Navbar/Navbar.js +20 -13
- package/lib/components/Navbar/NavbarItem.d.ts +1 -1
- package/lib/components/Navbar/NavbarItem.js +18 -6
- package/lib/components/Navbar/NavbarMenu.js +2 -2
- package/lib/components/Navbar/index.d.ts +1 -0
- package/lib/components/Navbar/index.js +1 -0
- package/lib/components/Navbar/styledVariables.d.ts +1 -0
- package/lib/components/Navbar/styledVariables.js +42 -0
- package/lib/components/NavbarLogo/NavbarLogo.d.ts +4 -1
- package/lib/components/NavbarLogo/NavbarLogo.js +13 -5
- package/lib/components/NavbarLogo/index.d.ts +1 -0
- package/lib/components/NavbarLogo/index.js +1 -0
- package/lib/components/NavbarLogo/styledVariables.d.ts +1 -0
- package/lib/components/NavbarLogo/styledVariables.js +18 -0
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.js +2 -2
- package/lib/components/OpenApiDocs/Dropdown.js +3 -3
- package/lib/components/PageNavigation/NextButton.js +1 -1
- package/lib/components/PageNavigation/PreviousButton.js +1 -1
- package/lib/components/Panel/PanelHeader.js +2 -0
- package/lib/components/Panel/PanelHeaderTitle.js +0 -4
- package/lib/components/Panel/index.d.ts +1 -0
- package/lib/components/Panel/index.js +1 -0
- package/lib/components/Panel/styledVariables.d.ts +2 -0
- package/lib/components/Panel/styledVariables.js +481 -0
- package/lib/components/Product/ProductPicker.js +22 -9
- package/lib/components/Product/index.d.ts +1 -0
- package/lib/components/Product/index.js +1 -0
- package/lib/components/Product/styledVariables.d.ts +2 -0
- package/lib/components/Product/styledVariables.js +42 -0
- package/lib/components/Profile/LoginLink.js +1 -2
- package/lib/components/{Navbar → Profile}/MobileUserProfile.js +12 -24
- package/lib/components/Profile/Profile.js +3 -22
- package/lib/components/Profile/UserProfile.js +21 -9
- package/lib/components/Profile/UserProfileData.d.ts +9 -0
- package/lib/components/Profile/UserProfileData.js +35 -0
- package/lib/components/Profile/index.d.ts +1 -0
- package/lib/components/Profile/index.js +15 -0
- package/lib/components/Profile/styledVariables.d.ts +2 -0
- package/lib/components/Profile/styledVariables.js +55 -0
- package/lib/components/Search/CancelSearch.js +2 -14
- package/lib/components/Search/ProductTag.js +8 -8
- package/lib/components/Search/RecentSearches.js +5 -5
- package/lib/components/Search/Search.js +0 -2
- package/lib/components/Search/SearchIcon.js +2 -2
- package/lib/components/Search/SearchItem.js +4 -4
- package/lib/components/Search/SearchTrigger.js +4 -5
- package/lib/components/Search/ShortcutKey.js +1 -5
- package/lib/components/Search/SuggestedPages.js +3 -3
- package/lib/components/Search/index.d.ts +1 -0
- package/lib/components/Search/index.js +1 -0
- package/lib/components/Search/styledVariables.d.ts +1 -0
- package/lib/components/Search/styledVariables.js +98 -0
- package/lib/components/Select/Select.d.ts +21 -9
- package/lib/components/Select/Select.js +27 -17
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/Select/index.js +1 -0
- package/lib/components/Select/styledVariables.d.ts +1 -0
- package/lib/components/Select/styledVariables.js +34 -0
- package/lib/components/Separator/Separator.js +11 -3
- package/lib/components/Separator/SeparatorItem.js +6 -9
- package/lib/components/Separator/SeparatorLine.js +7 -3
- package/lib/components/Sidebar/ApiCallItem.d.ts +2 -6
- package/lib/components/Sidebar/ApiCallItem.js +17 -13
- package/lib/components/Sidebar/FooterWrapper.js +3 -4
- package/lib/components/Sidebar/HeaderWrapper.js +3 -3
- package/lib/components/Sidebar/VersionPicker.d.ts +3 -3
- package/lib/components/Sidebar/VersionPicker.js +6 -4
- package/lib/components/Sidebar/index.d.ts +1 -0
- package/lib/components/Sidebar/index.js +1 -0
- package/lib/components/Sidebar/styledVariables.d.ts +2 -0
- package/lib/components/Sidebar/styledVariables.js +216 -0
- package/lib/components/Sidebar/types.d.ts +1 -0
- package/lib/components/SidebarActions/CollapseSidebarButton.js +41 -1
- package/lib/components/SidebarActions/styled.js +29 -21
- package/lib/components/TableOfContent/TableOfContent.js +3 -2
- package/lib/components/TableOfContent/index.d.ts +1 -0
- package/lib/components/TableOfContent/index.js +1 -0
- package/lib/components/TableOfContent/styledVariables.d.ts +1 -0
- package/lib/components/TableOfContent/styledVariables.js +47 -0
- package/lib/components/Tabs/Tab.js +1 -1
- package/lib/components/Tabs/Tabs.js +1 -1
- package/lib/components/Tag/Tag.d.ts +18 -0
- package/lib/components/Tag/Tag.js +45 -0
- package/lib/components/Tag/index.d.ts +2 -0
- package/lib/components/Tag/index.js +19 -0
- package/lib/components/Tag/styledVariables.d.ts +1 -0
- package/lib/components/Tag/styledVariables.js +140 -0
- package/lib/components/Tiles/ThinTile.js +7 -5
- package/lib/components/Tiles/TileHeader.js +1 -1
- package/lib/components/Tiles/TileText.js +1 -1
- package/lib/components/Tiles/WideTile.js +10 -8
- package/lib/components/Tooltip/index.d.ts +1 -0
- package/lib/components/Tooltip/index.js +1 -0
- package/lib/components/Tooltip/styledVariables.d.ts +1 -0
- package/lib/components/Tooltip/styledVariables.js +21 -0
- package/lib/components/Typography/SectionHeader.js +2 -2
- package/lib/components/Typography/Typography.js +1 -1
- package/lib/components/index.d.ts +1 -2
- package/lib/components/index.js +1 -2
- package/lib/config.d.ts +155 -154
- package/lib/config.js +39 -28
- package/lib/globalStyle.js +602 -1983
- package/lib/hooks/useMobileMenu.js +5 -6
- package/lib/hooks/useModalScrollLock.d.ts +1 -0
- package/lib/hooks/useModalScrollLock.js +16 -0
- package/lib/i18n/LanguagePicker.d.ts +9 -0
- package/lib/{I18n → i18n}/LanguagePicker.js +27 -12
- package/lib/i18n/index.d.ts +2 -0
- package/lib/i18n/index.js +21 -0
- package/lib/i18n/styledVariables.d.ts +1 -0
- package/lib/i18n/styledVariables.js +40 -0
- package/lib/icons/AlertIcon/AlertIcon.js +0 -5
- package/lib/icons/ArrowIcon/ArrowIcon.js +1 -1
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +6 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +28 -0
- package/lib/icons/CheckboxIcon/index.d.ts +1 -0
- package/lib/icons/CheckboxIcon/index.js +6 -0
- package/lib/icons/CollapseIcon/CollapseIcon.d.ts +1 -1
- package/lib/icons/CollapseIcon/CollapseIcon.js +5 -5
- package/lib/icons/ColorModeIcon/ColorModeIcon.js +1 -1
- package/lib/icons/CopyIcon/CopyIcon.d.ts +1 -2
- package/lib/icons/CopyIcon/CopyIcon.js +4 -4
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +1 -1
- package/lib/icons/DeselectIcon/DeselectIcon.js +5 -5
- package/lib/icons/EditIcon/EditIcon.d.ts +6 -0
- package/lib/icons/EditIcon/EditIcon.js +18 -0
- package/lib/icons/EditIcon/index.d.ts +1 -0
- package/lib/icons/EditIcon/index.js +18 -0
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +4 -0
- package/lib/icons/ErrorIcon/ErrorIcon.js +14 -0
- package/lib/icons/ErrorIcon/index.d.ts +1 -0
- package/lib/icons/ErrorIcon/index.js +18 -0
- package/lib/icons/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/lib/icons/ExpandIcon/ExpandIcon.js +5 -5
- package/lib/icons/ExternalIcon/ExternalIcon.js +3 -3
- package/lib/icons/FileIcon/FileIcon.d.ts +1 -2
- package/lib/icons/FileIcon/FileIcon.js +2 -2
- package/lib/icons/LanguageIcon/LanguageIcon.d.ts +4 -0
- package/lib/icons/LanguageIcon/LanguageIcon.js +14 -0
- package/lib/icons/LanguageIcon/index.d.ts +1 -0
- package/lib/icons/LanguageIcon/index.js +18 -0
- package/lib/icons/PlusIcon/PlusIcon.d.ts +5 -0
- package/lib/icons/PlusIcon/PlusIcon.js +16 -0
- package/lib/icons/PlusIcon/index.d.ts +1 -0
- package/lib/icons/PlusIcon/index.js +18 -0
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.d.ts +4 -0
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.js +15 -0
- package/lib/icons/PointingArrowIcon/index.d.ts +1 -0
- package/lib/icons/PointingArrowIcon/index.js +18 -0
- package/lib/icons/ReportIcon/ReportIcon.d.ts +1 -2
- package/lib/icons/ReportIcon/ReportIcon.js +3 -3
- package/lib/icons/RocketIcon/RocketIcon.d.ts +7 -0
- package/lib/icons/RocketIcon/RocketIcon.js +15 -0
- package/lib/icons/RocketIcon/index.d.ts +1 -0
- package/lib/icons/RocketIcon/index.js +18 -0
- package/lib/icons/SelectIcon/SelectIcon.d.ts +1 -2
- package/lib/icons/SelectIcon/SelectIcon.js +5 -5
- package/lib/icons/index.d.ts +6 -0
- package/lib/icons/index.js +6 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/Forbidden.js +4 -0
- package/lib/layouts/NotFound.js +4 -0
- package/lib/mocks/hooks/index.js +0 -1
- package/lib/types/portal/src/shared/types/catalog.d.ts +5 -1
- package/lib/types/portal/src/shared/types/nav.d.ts +5 -0
- package/lib/ui/ArrowBack.js +0 -1
- package/lib/ui/Burger.js +1 -1
- package/lib/ui/Dropdown.js +7 -7
- package/lib/ui/Highlight.d.ts +1 -1
- package/lib/ui/Highlight.js +1 -1
- package/lib/ui/Jumbotron.js +1 -1
- package/lib/ui/darkColors.js +217 -84
- package/lib/utils/css-variables.js +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -0
- package/lib/utils/tags-parser.d.ts +1 -0
- package/lib/utils/tags-parser.js +10 -0
- package/package.json +1 -1
- package/src/components/Breadcrumbs/Breadcrumb.tsx +2 -5
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +6 -2
- package/src/components/Breadcrumbs/index.ts +1 -0
- package/src/components/Breadcrumbs/styledVariables.ts +17 -0
- package/src/components/Button/Button.tsx +53 -47
- package/src/components/Button/index.ts +1 -0
- package/src/components/Button/styledVariables.ts +104 -0
- package/src/components/Catalog/Catalog.tsx +140 -120
- package/src/components/Catalog/CatalogCard.tsx +108 -58
- package/src/components/Catalog/index.ts +4 -0
- package/src/components/Catalog/styledVariables.ts +92 -0
- package/src/components/CodeBlock/CodeBlockContainer.tsx +17 -9
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +6 -19
- package/src/components/CodeBlock/CodeBlockControls.tsx +8 -5
- package/src/components/CodeBlock/index.ts +1 -0
- package/src/components/CodeBlock/styledVariables.ts +89 -0
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +0 -1
- package/src/components/Dropdown/Dropdown.tsx +14 -5
- package/src/components/Dropdown/index.ts +1 -0
- package/src/components/Dropdown/styledVariables.ts +27 -0
- package/src/components/EditPageButton/EditPageButton.tsx +24 -10
- package/src/components/Feedback/Comment.tsx +5 -0
- package/src/components/Feedback/Rating.tsx +5 -1
- package/src/components/Feedback/Reasons.tsx +6 -1
- package/src/components/Feedback/Sentiment.tsx +5 -0
- package/src/components/Feedback/Thumbs.tsx +4 -4
- package/src/components/Filter/Filter.tsx +150 -94
- package/src/components/Filter/FilterContent.tsx +95 -0
- package/src/components/Filter/FilterPopover.tsx +150 -0
- package/src/components/Filter/FilterTag.tsx +37 -0
- package/src/components/Filter/FilterTags.tsx +39 -0
- package/src/components/Filter/index.ts +2 -0
- package/src/components/Filter/styledVariables.ts +109 -0
- package/src/components/Footer/CustomFooterNavItem.tsx +1 -1
- package/src/components/Footer/Footer.tsx +32 -10
- package/src/components/Footer/FooterColumn.tsx +84 -63
- package/src/components/Footer/FooterColumns.tsx +6 -4
- package/src/components/Footer/FooterCopyright.tsx +13 -7
- package/src/components/Footer/index.ts +1 -0
- package/src/components/Footer/styledVariables.ts +58 -0
- package/src/components/Image/Image.tsx +47 -0
- package/src/components/Image/index.ts +1 -0
- package/src/components/JsonViewer/JsonViewer.tsx +2 -2
- package/src/components/LastUpdated/LastUpdated.tsx +1 -2
- package/src/components/LastUpdated/index.ts +1 -0
- package/src/components/LastUpdated/styledVariables.ts +8 -0
- package/src/components/Markdown/Admonition.tsx +13 -8
- package/src/components/Markdown/MarkdownLayout.tsx +2 -15
- package/src/components/Markdown/MarkdownWrapper.tsx +2 -4
- package/src/components/Markdown/Mermaid.tsx +4 -1
- package/src/components/Markdown/index.ts +1 -0
- package/src/components/Markdown/styledVariables.ts +230 -0
- package/src/components/Menu/Menu.tsx +5 -7
- package/src/components/Menu/MenuGroup.tsx +15 -7
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/Menu/MenuItemLabel.tsx +9 -13
- package/src/components/Menu/MobileMenu.tsx +20 -25
- package/src/components/Menu/MobileMenuGroup.tsx +1 -1
- package/src/components/Menu/index.ts +1 -0
- package/src/components/Menu/styledVariables.ts +99 -0
- package/src/components/Navbar/Navbar.tsx +20 -13
- package/src/components/Navbar/NavbarItem.tsx +18 -4
- package/src/components/Navbar/NavbarMenu.tsx +2 -2
- package/src/components/Navbar/index.ts +1 -0
- package/src/components/Navbar/styledVariables.ts +39 -0
- package/src/components/NavbarLogo/NavbarLogo.tsx +24 -11
- package/src/components/NavbarLogo/index.ts +1 -0
- package/src/components/NavbarLogo/styledVariables.ts +15 -0
- package/src/components/OpenApiDocs/DevOnboardingTryItSecurity.tsx +1 -2
- package/src/components/OpenApiDocs/Dropdown.tsx +3 -3
- package/src/components/PageNavigation/NextButton.tsx +0 -1
- package/src/components/PageNavigation/PreviousButton.tsx +0 -1
- package/src/components/Panel/PanelHeader.ts +2 -0
- package/src/components/Panel/PanelHeaderTitle.ts +0 -4
- package/src/components/Panel/index.ts +1 -0
- package/src/components/Panel/styledVariables.ts +479 -0
- package/src/components/Product/ProductPicker.tsx +23 -17
- package/src/components/Product/index.ts +1 -0
- package/src/components/Product/styledVariables.ts +40 -0
- package/src/components/Profile/LoginLink.tsx +1 -2
- package/src/components/{Navbar → Profile}/MobileUserProfile.tsx +12 -29
- package/src/components/Profile/Profile.tsx +1 -24
- package/src/components/Profile/UserProfile.tsx +20 -8
- package/src/components/Profile/UserProfileData.tsx +40 -0
- package/src/components/Profile/index.ts +1 -0
- package/src/components/Profile/styledVariables.ts +53 -0
- package/src/components/Search/CancelSearch.tsx +2 -15
- package/src/components/Search/ProductTag.tsx +8 -8
- package/src/components/Search/RecentSearches.tsx +5 -5
- package/src/components/Search/Search.tsx +0 -2
- package/src/components/Search/SearchIcon.tsx +10 -5
- package/src/components/Search/SearchItem.tsx +4 -4
- package/src/components/Search/SearchTrigger.tsx +4 -5
- package/src/components/Search/ShortcutKey.tsx +1 -5
- package/src/components/Search/SuggestedPages.tsx +3 -3
- package/src/components/Search/index.ts +1 -0
- package/src/components/Search/styledVariables.ts +95 -0
- package/src/components/Select/Select.tsx +65 -31
- package/src/components/Select/index.ts +1 -0
- package/src/components/Select/styledVariables.ts +31 -0
- package/src/components/Separator/Separator.tsx +17 -3
- package/src/components/Separator/SeparatorItem.tsx +6 -9
- package/src/components/Separator/SeparatorLine.tsx +7 -3
- package/src/components/Sidebar/ApiCallItem.tsx +17 -13
- package/src/components/Sidebar/FooterWrapper.tsx +3 -4
- package/src/components/Sidebar/HeaderWrapper.tsx +3 -3
- package/src/components/Sidebar/VersionPicker.tsx +6 -4
- package/src/components/Sidebar/index.ts +1 -0
- package/src/components/Sidebar/styledVariables.ts +214 -0
- package/src/components/Sidebar/types.ts +1 -0
- package/src/components/SidebarActions/CollapseSidebarButton.tsx +22 -2
- package/src/components/SidebarActions/styled.tsx +29 -30
- package/src/components/TableOfContent/TableOfContent.tsx +3 -2
- package/src/components/TableOfContent/index.ts +1 -0
- package/src/components/TableOfContent/styledVariables.ts +44 -0
- package/src/components/Tabs/Tab.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Tag/Tag.tsx +71 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/Tag/styledVariables.ts +137 -0
- package/src/components/Tiles/ThinTile.tsx +7 -5
- package/src/components/Tiles/TileHeader.ts +1 -1
- package/src/components/Tiles/TileText.tsx +1 -1
- package/src/components/Tiles/WideTile.tsx +10 -8
- package/src/components/Tooltip/index.ts +1 -0
- package/src/components/Tooltip/styledVariables.ts +18 -0
- package/src/components/Typography/SectionHeader.ts +2 -2
- package/src/components/Typography/Typography.ts +1 -1
- package/src/components/index.ts +1 -2
- package/src/config.ts +44 -29
- package/src/globalStyle.ts +597 -1999
- package/src/hooks/useMobileMenu.ts +3 -4
- package/src/hooks/useModalScrollLock.ts +12 -0
- package/src/{I18n → i18n}/LanguagePicker.tsx +48 -21
- package/src/i18n/index.ts +2 -0
- package/src/i18n/styledVariables.ts +37 -0
- package/src/icons/AlertIcon/AlertIcon.tsx +0 -5
- package/src/icons/ArrowIcon/ArrowIcon.tsx +1 -1
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +64 -0
- package/src/icons/CheckboxIcon/index.ts +1 -0
- package/src/icons/CollapseIcon/CollapseIcon.tsx +5 -5
- package/src/icons/ColorModeIcon/ColorModeIcon.tsx +1 -1
- package/src/icons/CopyIcon/CopyIcon.tsx +4 -5
- package/src/icons/DeselectIcon/DeselectIcon.tsx +5 -5
- package/src/icons/EditIcon/EditIcon.tsx +30 -0
- package/src/icons/EditIcon/index.ts +1 -0
- package/src/icons/ErrorIcon/ErrorIcon.tsx +15 -0
- package/src/icons/ErrorIcon/index.ts +1 -0
- package/src/icons/ExpandIcon/ExpandIcon.tsx +5 -6
- package/src/icons/ExternalIcon/ExternalIcon.tsx +4 -4
- package/src/icons/FileIcon/FileIcon.tsx +2 -3
- package/src/icons/LanguageIcon/LanguageIcon.tsx +15 -0
- package/src/icons/LanguageIcon/index.ts +1 -0
- package/src/icons/PlusIcon/PlusIcon.tsx +25 -0
- package/src/icons/PlusIcon/index.ts +1 -0
- package/src/icons/PointingArrowIcon/PointingArrowIcon.tsx +16 -0
- package/src/icons/PointingArrowIcon/index.ts +1 -0
- package/src/icons/ReportIcon/ReportIcon.tsx +3 -4
- package/src/icons/RocketIcon/RocketIcon.tsx +32 -0
- package/src/icons/RocketIcon/index.tsx +1 -0
- package/src/icons/SelectIcon/SelectIcon.tsx +5 -6
- package/src/icons/index.ts +6 -0
- package/src/index.ts +1 -1
- package/src/layouts/Forbidden.tsx +4 -0
- package/src/layouts/NotFound.tsx +4 -0
- package/src/mocks/hooks/index.ts +0 -1
- package/src/types/portal/src/shared/types/catalog.ts +7 -1
- package/src/types/portal/src/shared/types/nav.ts +5 -0
- package/src/ui/ArrowBack.tsx +0 -1
- package/src/ui/Burger.tsx +1 -1
- package/src/ui/Dropdown.tsx +7 -7
- package/src/ui/Highlight.tsx +2 -2
- package/src/ui/Jumbotron.tsx +1 -1
- package/src/ui/darkColors.tsx +217 -84
- package/src/utils/css-variables.ts +4 -2
- package/src/utils/index.ts +1 -0
- package/src/utils/tags-parser.ts +8 -0
- package/lib/I18n/LanguagePicker.d.ts +0 -4
- package/lib/I18n/index.d.ts +0 -1
- package/lib/I18n/index.js +0 -6
- package/lib/components/OperationBadge/OperationBadge.d.ts +0 -6
- package/lib/components/OperationBadge/OperationBadge.js +0 -68
- package/lib/components/OperationBadge/index.d.ts +0 -1
- package/lib/components/Tags/Tags.d.ts +0 -5
- package/lib/components/Tags/Tags.js +0 -32
- package/lib/components/Tags/index.d.ts +0 -1
- package/src/I18n/index.ts +0 -1
- package/src/components/Catalog/index.tsx +0 -3
- package/src/components/OperationBadge/OperationBadge.ts +0 -62
- package/src/components/OperationBadge/index.ts +0 -1
- package/src/components/Tags/Tags.tsx +0 -36
- package/src/components/Tags/index.ts +0 -1
- /package/lib/components/{Navbar → Profile}/MobileUserProfile.d.ts +0 -0
|
@@ -3,15 +3,14 @@ import { useLocation } from 'react-router-dom';
|
|
|
3
3
|
|
|
4
4
|
import type { Dispatch, SetStateAction } from 'react';
|
|
5
5
|
|
|
6
|
+
import useModalScrollLock from '@theme/hooks/useModalScrollLock';
|
|
7
|
+
|
|
6
8
|
export function useMobileMenu(initialState = false): [boolean, Dispatch<SetStateAction<boolean>>] {
|
|
7
9
|
const location = useLocation();
|
|
8
10
|
const [isOpen, setIsOpen] = useState(initialState);
|
|
9
11
|
|
|
10
12
|
useEffect(() => setIsOpen(false), [location.pathname, location.hash]);
|
|
11
|
-
|
|
12
|
-
if (isOpen) document.body.classList.add('overflow-hidden');
|
|
13
|
-
else document.body.classList.remove('overflow-hidden');
|
|
14
|
-
}, [isOpen]);
|
|
13
|
+
useModalScrollLock(isOpen);
|
|
15
14
|
|
|
16
15
|
return [isOpen, setIsOpen];
|
|
17
16
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useEffect } from 'react';
|
|
2
|
+
|
|
3
|
+
export default function useModalScrollLock(isOpen: boolean) {
|
|
4
|
+
useEffect(() => {
|
|
5
|
+
if (isOpen) document.body.classList.add('overflow-hidden');
|
|
6
|
+
else document.body.classList.remove('overflow-hidden');
|
|
7
|
+
}, [isOpen]);
|
|
8
|
+
|
|
9
|
+
return () => {
|
|
10
|
+
document.body.classList.remove('overflow-hidden');
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -5,8 +5,16 @@ import { getPathnameForLocale, withPathPrefix } from '@portal/utils';
|
|
|
5
5
|
import { usePreloadHistory } from '@portal/usePreloadHistory';
|
|
6
6
|
import { useI18nConfig } from '@portal/hooks';
|
|
7
7
|
import { Select, SelectInput, SelectList, SelectListItem } from '@theme/components/Select';
|
|
8
|
+
import { LanguageIcon } from '@theme/icons';
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
interface LanguagePickerProps {
|
|
11
|
+
onChangeLanguage: (newLang: string) => void;
|
|
12
|
+
onlyIcon?: boolean;
|
|
13
|
+
placement?: 'top' | 'bottom';
|
|
14
|
+
alignment?: 'start' | 'end';
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const LanguagePicker = (props: LanguagePickerProps) => {
|
|
10
18
|
const { currentLocale, locales, defaultLocale } = useI18nConfig();
|
|
11
19
|
const history = usePreloadHistory();
|
|
12
20
|
|
|
@@ -19,25 +27,33 @@ export const LanguagePicker = (props: { onChangeLanguage: (newLang: string) => v
|
|
|
19
27
|
return null;
|
|
20
28
|
}
|
|
21
29
|
|
|
22
|
-
const
|
|
23
|
-
const languageItems = locales.map((locale) => (
|
|
24
|
-
<LanguageItem
|
|
25
|
-
|
|
30
|
+
const value = locale.code;
|
|
31
|
+
const languageItems = locales.map((locale) => ({
|
|
32
|
+
element: <LanguageItem role="link">{locale.name || locale.code || ''}</LanguageItem>,
|
|
33
|
+
value: locale.code,
|
|
34
|
+
title: locale.name || locale.code || '',
|
|
35
|
+
}));
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<LanguageSelect
|
|
39
|
+
value={value}
|
|
40
|
+
options={languageItems}
|
|
41
|
+
onChange={(value: string) => {
|
|
26
42
|
const newLangPathname = withPathPrefix(
|
|
27
|
-
getPathnameForLocale(location.pathname, defaultLocale,
|
|
43
|
+
getPathnameForLocale(location.pathname, defaultLocale, value, locales),
|
|
28
44
|
);
|
|
29
45
|
const newUrlWithLanguage = `${newLangPathname}${location.search}${location.hash}`;
|
|
30
46
|
history.push(newUrlWithLanguage);
|
|
31
|
-
props.onChangeLanguage(
|
|
47
|
+
props.onChangeLanguage(value);
|
|
32
48
|
}}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
49
|
+
triggerEvent="hover"
|
|
50
|
+
placement={props.placement}
|
|
51
|
+
alignment={props.alignment}
|
|
52
|
+
icon={<LanguageIcon />}
|
|
53
|
+
onlyIcon={props.onlyIcon}
|
|
54
|
+
withArrow={false}
|
|
55
|
+
/>
|
|
56
|
+
);
|
|
41
57
|
};
|
|
42
58
|
|
|
43
59
|
const LanguageSelect = styled(Select).attrs(() => ({
|
|
@@ -45,18 +61,32 @@ const LanguageSelect = styled(Select).attrs(() => ({
|
|
|
45
61
|
'data-component-name': 'I18n/LanguagePicker',
|
|
46
62
|
},
|
|
47
63
|
}))`
|
|
64
|
+
--select-list-item-active-background-color: var(
|
|
65
|
+
--language-picker-list-item-active-background-color
|
|
66
|
+
);
|
|
67
|
+
--select-list-item-hover-background-color: var(
|
|
68
|
+
--language-picker-list-item-hover-background-color
|
|
69
|
+
);
|
|
70
|
+
|
|
48
71
|
display: none;
|
|
49
72
|
font-size: var(--language-picker-font-size);
|
|
50
73
|
font-weight: var(--language-picker-font-weight);
|
|
51
74
|
line-height: var(--language-picker-line-height);
|
|
52
75
|
border-radius: var(--language-picker-border-radius);
|
|
53
76
|
color: var(--language-picker-text-color);
|
|
77
|
+
background-color: var(--language-picker-background-color);
|
|
54
78
|
|
|
55
79
|
${SelectInput} {
|
|
56
|
-
|
|
80
|
+
min-height: var(--language-picker-min-height);
|
|
81
|
+
color: var(--language-picker-text-color);
|
|
82
|
+
border: 1px solid var(--language-picker-border-color);
|
|
57
83
|
border-radius: var(--language-picker-input-border-radius);
|
|
58
84
|
padding: var(--language-picker-input-padding-vertical)
|
|
59
85
|
var(--language-picker-input-padding-horizontal);
|
|
86
|
+
|
|
87
|
+
:hover {
|
|
88
|
+
border-color: var(--language-picker-hover-border-color);
|
|
89
|
+
}
|
|
60
90
|
}
|
|
61
91
|
|
|
62
92
|
${SelectList} {
|
|
@@ -75,10 +105,6 @@ const LanguageSelect = styled(Select).attrs(() => ({
|
|
|
75
105
|
padding: var(--language-picker-list-item-vertical-padding)
|
|
76
106
|
var(--language-picker-list-item-horizontal-padding);
|
|
77
107
|
}
|
|
78
|
-
|
|
79
|
-
:hover {
|
|
80
|
-
background-color: var(--language-picker-list-item-active-background-color);
|
|
81
|
-
}
|
|
82
108
|
}
|
|
83
109
|
|
|
84
110
|
${({ theme }) => theme.mediaQueries.medium} {
|
|
@@ -87,7 +113,8 @@ const LanguageSelect = styled(Select).attrs(() => ({
|
|
|
87
113
|
|
|
88
114
|
:hover {
|
|
89
115
|
text-decoration: var(--navbar-item-hover-text-decoration);
|
|
90
|
-
background: var(--
|
|
116
|
+
background: var(--language-picker-hover-background-color);
|
|
91
117
|
}
|
|
92
118
|
`;
|
|
119
|
+
|
|
93
120
|
const LanguageItem = styled.div``;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
`
|
|
@@ -98,13 +98,8 @@ function Icon({ type, className }: AlertIconProps) {
|
|
|
98
98
|
export const AlertIcon = styled(Icon).attrs(() => ({
|
|
99
99
|
'data-component-name': 'icons/AlertIcon/AlertIcon',
|
|
100
100
|
}))`
|
|
101
|
-
position: absolute;
|
|
102
|
-
left: var(--admonition-padding-horizontal);
|
|
103
|
-
top: 50%;
|
|
104
|
-
transform: translateY(-50%);
|
|
105
101
|
width: var(--admonition-icon-size);
|
|
106
102
|
height: var(--admonition-icon-size);
|
|
107
|
-
margin-right: var(--admonition-padding-horizontal);
|
|
108
103
|
flex-shrink: 0;
|
|
109
104
|
|
|
110
105
|
fill: ${({ type }) => `var(--admonition-${type}-icon-color)`};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
const Icon = ({
|
|
5
|
+
className,
|
|
6
|
+
checked = false,
|
|
7
|
+
onClick,
|
|
8
|
+
}: {
|
|
9
|
+
className?: string;
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
}) => (
|
|
13
|
+
<span className={className} onClick={onClick}>
|
|
14
|
+
{checked ? (
|
|
15
|
+
<svg
|
|
16
|
+
width="16"
|
|
17
|
+
height="16"
|
|
18
|
+
viewBox="0 0 16 16"
|
|
19
|
+
fill="none"
|
|
20
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
+
>
|
|
22
|
+
<rect width="16" height="16" rx="4" fill="var(--checkbox-active-background-color)" />
|
|
23
|
+
<path
|
|
24
|
+
d="M3.91308 7.03516H3.91326C3.99256 7.03525 4.07081 7.05331 4.14213 7.08798C4.21341 7.12262 4.27591 7.17295 4.32497 7.2352L3.91308 7.03516ZM3.91308 7.03516H3.09394C2.89031 7.03516 2.7766 7.26975 2.90232 7.4292L2.90237 7.42927L6.11214 11.4957L6.11218 11.4957C6.32247 11.7619 6.72568 11.7611 6.93667 11.4962L6.93708 11.4957L12.6597 4.24398C12.6598 4.24378 12.66 4.24358 12.6602 4.24338C12.7884 4.08295 12.6699 3.85 12.4689 3.85H11.6498C11.4894 3.85 11.3367 3.9235 11.2376 4.05044C11.2375 4.05055 11.2374 4.05066 11.2373 4.05077L6.52403 10.0216M3.91308 7.03516L6.52403 10.0216M6.52403 10.0216L4.32506 7.23531L6.52403 10.0216Z"
|
|
25
|
+
fill="var(--checkbox-mark-color)"
|
|
26
|
+
stroke="var(--checkbox-mark-color)"
|
|
27
|
+
/>
|
|
28
|
+
</svg>
|
|
29
|
+
) : (
|
|
30
|
+
<svg
|
|
31
|
+
width="16"
|
|
32
|
+
height="16"
|
|
33
|
+
viewBox="0 0 16 16"
|
|
34
|
+
fill="none"
|
|
35
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
36
|
+
>
|
|
37
|
+
<rect width="16" height="16" rx="4" fill="var(--checkbox-background-color)" />
|
|
38
|
+
<rect
|
|
39
|
+
x="0.5"
|
|
40
|
+
y="0.5"
|
|
41
|
+
width="15"
|
|
42
|
+
height="15"
|
|
43
|
+
rx="3.5"
|
|
44
|
+
stroke="var(--checkbox-border-color)"
|
|
45
|
+
/>
|
|
46
|
+
</svg>
|
|
47
|
+
)}
|
|
48
|
+
</span>
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
export const CheckboxIcon = styled(Icon).attrs<{ checked?: boolean }>({
|
|
52
|
+
'data-component-name': 'icons/CheckboxIcon/CheckboxIcon',
|
|
53
|
+
})`
|
|
54
|
+
margin-right: var(--spacing-xs);
|
|
55
|
+
display: flex;
|
|
56
|
+
|
|
57
|
+
--checkbox-active-border-color: var(--color-primary-base);
|
|
58
|
+
--checkbox-active-background-color: var(--color-primary-base);
|
|
59
|
+
|
|
60
|
+
--checkbox-border-color: var(--border-primary);
|
|
61
|
+
--checkbox-background-color: var(--bg-base);
|
|
62
|
+
|
|
63
|
+
--checkbox-mark-color: var(--bg-base);
|
|
64
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CheckboxIcon } from '@theme/icons/CheckboxIcon/CheckboxIcon';
|
|
@@ -6,7 +6,7 @@ interface IconProps {
|
|
|
6
6
|
color?: string;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
const Icon = ({ className
|
|
9
|
+
const Icon = ({ className }: IconProps) => (
|
|
10
10
|
<svg
|
|
11
11
|
data-component-name="icons/CollapseIcon"
|
|
12
12
|
viewBox="0 0 14 14"
|
|
@@ -18,11 +18,11 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
|
|
|
18
18
|
<rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
|
|
19
19
|
<path
|
|
20
20
|
d="M1.75 7.875V8.75H4.63138L0.875 12.5046L1.49363 13.125L5.25 9.36862V12.25H6.125V7.875H1.75Z"
|
|
21
|
-
fill=
|
|
21
|
+
fill="currentColor"
|
|
22
22
|
/>
|
|
23
23
|
<path
|
|
24
24
|
d="M13.125 1.4945L12.509 0.875L8.75 4.63138V1.75H7.875V6.125H12.25V5.25H9.36862L13.125 1.4945Z"
|
|
25
|
-
fill=
|
|
25
|
+
fill="currentColor"
|
|
26
26
|
/>
|
|
27
27
|
</g>
|
|
28
28
|
<defs>
|
|
@@ -34,7 +34,7 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
|
|
|
34
34
|
);
|
|
35
35
|
|
|
36
36
|
export const CollapseIcon = styled(Icon)`
|
|
37
|
-
width:
|
|
38
|
-
height:
|
|
37
|
+
width: 1em;
|
|
38
|
+
height: 1em;
|
|
39
39
|
vertical-align: middle;
|
|
40
40
|
`;
|
|
@@ -3,24 +3,23 @@ import styled from 'styled-components';
|
|
|
3
3
|
|
|
4
4
|
interface IconProps {
|
|
5
5
|
className?: string;
|
|
6
|
-
color?: string;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
const Icon = ({ className
|
|
8
|
+
const Icon = ({ className }: IconProps) => (
|
|
10
9
|
<span data-component-name="icons/CopyIcon">
|
|
11
10
|
<svg viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
|
|
12
11
|
<path
|
|
13
12
|
fillRule="evenodd"
|
|
14
13
|
clipRule="evenodd"
|
|
15
14
|
d="M3.52083 1.33333C3.52083 1.25279 3.58613 1.1875 3.66667 1.1875H9.5C9.58054 1.1875 9.64583 1.25279 9.64583 1.33333V8.33333C9.64583 8.41387 9.58054 8.47917 9.5 8.47917H7.75H3.66667C3.58613 8.47917 3.52083 8.41387 3.52083 8.33333V3.08333V1.33333ZM2.64583 2.64583V1.33333C2.64583 0.769543 3.10288 0.3125 3.66667 0.3125H9.5C10.0638 0.3125 10.5208 0.769543 10.5208 1.33333V8.33333C10.5208 8.89712 10.0638 9.35417 9.5 9.35417H8.1875V10.6667C8.1875 10.9374 8.07995 11.1971 7.8885 11.3885C7.69706 11.5799 7.43741 11.6875 7.16667 11.6875H1.33333C1.06259 11.6875 0.802939 11.5799 0.611495 11.3885C0.420051 11.1971 0.3125 10.9374 0.3125 10.6667V3.66667C0.3125 3.39592 0.420052 3.13627 0.611495 2.94483C0.802938 2.75339 1.06259 2.64583 1.33333 2.64583H2.64583ZM7.3125 9.35417V10.6667C7.3125 10.7053 7.29713 10.7424 7.26979 10.7698C7.24244 10.7971 7.20534 10.8125 7.16667 10.8125H1.33333C1.29466 10.8125 1.25756 10.7971 1.23021 10.7698C1.20286 10.7424 1.1875 10.7053 1.1875 10.6667V3.66667C1.1875 3.62799 1.20286 3.5909 1.23021 3.56355C1.25756 3.5362 1.29466 3.52083 1.33333 3.52083H2.64583V8.33333C2.64583 8.89712 3.10288 9.35417 3.66667 9.35417H7.3125Z"
|
|
16
|
-
fill=
|
|
15
|
+
fill="currentColor"
|
|
17
16
|
/>
|
|
18
17
|
</svg>
|
|
19
18
|
</span>
|
|
20
19
|
);
|
|
21
20
|
|
|
22
21
|
export const CopyIcon = styled(Icon)`
|
|
23
|
-
width:
|
|
24
|
-
height:
|
|
22
|
+
width: 1em;
|
|
23
|
+
height: 1em;
|
|
25
24
|
vertical-align: middle;
|
|
26
25
|
`;
|
|
@@ -6,7 +6,7 @@ interface IconProps {
|
|
|
6
6
|
color?: string;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
const Icon = ({ className
|
|
9
|
+
const Icon = ({ className }: IconProps) => (
|
|
10
10
|
<svg
|
|
11
11
|
data-component-name="icons/DeselectIcon"
|
|
12
12
|
viewBox="0 0 16 16"
|
|
@@ -14,10 +14,10 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
|
|
|
14
14
|
xmlns="http://www.w3.org/2000/svg"
|
|
15
15
|
className={className}
|
|
16
16
|
>
|
|
17
|
-
<path d="M14.4966 10.5H9.49658V11.5H14.4966V10.5Z" fill=
|
|
18
|
-
<path d="M10.5 3.64746H1.5V4.64746H10.5V3.64746Z" fill=
|
|
19
|
-
<path d="M10.5 6.64746H1.5V7.64746H10.5V6.64746Z" fill=
|
|
20
|
-
<path d="M7.5 9.64746H1.5V10.6475H7.5V9.64746Z" fill=
|
|
17
|
+
<path d="M14.4966 10.5H9.49658V11.5H14.4966V10.5Z" fill="currentColor" />
|
|
18
|
+
<path d="M10.5 3.64746H1.5V4.64746H10.5V3.64746Z" fill="currentColor" />
|
|
19
|
+
<path d="M10.5 6.64746H1.5V7.64746H10.5V6.64746Z" fill="currentColor" />
|
|
20
|
+
<path d="M7.5 9.64746H1.5V10.6475H7.5V9.64746Z" fill="currentColor" />
|
|
21
21
|
</svg>
|
|
22
22
|
);
|
|
23
23
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
interface IconProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const Icon = ({ className }: IconProps) => (
|
|
9
|
+
<svg
|
|
10
|
+
width="16"
|
|
11
|
+
height="16"
|
|
12
|
+
viewBox="0 0 16 16"
|
|
13
|
+
className={className}
|
|
14
|
+
fill="none"
|
|
15
|
+
data-component-name="icons/EditIcon"
|
|
16
|
+
>
|
|
17
|
+
<rect width="16" height="16" fill="white" style={{ mixBlendMode: 'multiply' }} />
|
|
18
|
+
<path d="M15 13H1V14H15V13Z" fill="currentColor" />
|
|
19
|
+
<path
|
|
20
|
+
d="M12.7 4.5C13.1 4.1 13.1 3.5 12.7 3.1L10.9 1.3C10.5 0.9 9.9 0.9 9.5 1.3L2 8.8V12H5.2L12.7 4.5ZM10.2 2L12 3.8L10.5 5.3L8.7 3.5L10.2 2ZM3 11V9.2L8 4.2L9.8 6L4.8 11H3Z"
|
|
21
|
+
fill="currentColor"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
export const EditIcon = styled(Icon)`
|
|
27
|
+
width: 1em;
|
|
28
|
+
height: 1em;
|
|
29
|
+
vertical-align: middle;
|
|
30
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/EditIcon/EditIcon';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
const Icon = () => (
|
|
5
|
+
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
<path
|
|
7
|
+
d="M8.5 1C4.63438 1 1.5 4.13438 1.5 8C1.5 11.8656 4.63438 15 8.5 15C12.3656 15 15.5 11.8656 15.5 8C15.5 4.13438 12.3656 1 8.5 1ZM11.0844 10.6594L10.0531 10.6547L8.5 8.80313L6.94844 10.6531L5.91563 10.6578C5.84688 10.6578 5.79063 10.6031 5.79063 10.5328C5.79063 10.5031 5.80156 10.475 5.82031 10.4516L7.85313 8.02969L5.82031 5.60938C5.80143 5.58647 5.79096 5.5578 5.79063 5.52812C5.79063 5.45937 5.84688 5.40312 5.91563 5.40312L6.94844 5.40781L8.5 7.25938L10.0516 5.40938L11.0828 5.40469C11.1516 5.40469 11.2078 5.45937 11.2078 5.52969C11.2078 5.55937 11.1969 5.5875 11.1781 5.61094L9.14844 8.03125L11.1797 10.4531C11.1984 10.4766 11.2094 10.5047 11.2094 10.5344C11.2094 10.6031 11.1531 10.6594 11.0844 10.6594Z"
|
|
8
|
+
fill="var(--color-error-base)"
|
|
9
|
+
/>
|
|
10
|
+
</svg>
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
export const ErrorIcon = styled(Icon).attrs(() => ({
|
|
14
|
+
'data-component-name': 'icons/ErrorIcon/ErrorIcon',
|
|
15
|
+
}))``;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/ErrorIcon/ErrorIcon';
|
|
@@ -3,10 +3,9 @@ import styled from 'styled-components';
|
|
|
3
3
|
|
|
4
4
|
interface IconProps {
|
|
5
5
|
className?: string;
|
|
6
|
-
color?: string;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
const Icon = ({ className
|
|
8
|
+
const Icon = ({ className }: IconProps) => (
|
|
10
9
|
<svg
|
|
11
10
|
data-component-name="icons/ExpandIcon"
|
|
12
11
|
viewBox="0 0 14 14"
|
|
@@ -18,11 +17,11 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
|
|
|
18
17
|
<rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
|
|
19
18
|
<path
|
|
20
19
|
d="M8.75 0.875V1.75H11.6314L7.875 5.50462L8.49362 6.125L12.25 2.36863V5.25H13.125V0.875H8.75Z"
|
|
21
|
-
fill=
|
|
20
|
+
fill="currentColor"
|
|
22
21
|
/>
|
|
23
22
|
<path
|
|
24
23
|
d="M6.125 8.4945L5.509 7.875L1.75 11.6314V8.75H0.875V13.125H5.25V12.25H2.36863L6.125 8.4945Z"
|
|
25
|
-
fill=
|
|
24
|
+
fill="currentColor"
|
|
26
25
|
/>
|
|
27
26
|
</g>
|
|
28
27
|
<defs>
|
|
@@ -34,7 +33,7 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
|
|
|
34
33
|
);
|
|
35
34
|
|
|
36
35
|
export const ExpandIcon = styled(Icon)`
|
|
37
|
-
width:
|
|
38
|
-
height:
|
|
36
|
+
width: 1em;
|
|
37
|
+
height: 1em;
|
|
39
38
|
vertical-align: middle;
|
|
40
39
|
`;
|
|
@@ -9,14 +9,14 @@ const Icon = ({
|
|
|
9
9
|
className?: string;
|
|
10
10
|
dataComponentName?: string;
|
|
11
11
|
}): JSX.Element => (
|
|
12
|
-
<span data-component-name={dataComponentName}>
|
|
12
|
+
<span data-component-name={dataComponentName ?? 'icons/ExternalIcon'}>
|
|
13
13
|
<svg
|
|
14
14
|
xmlns="http://www.w3.org/2000/svg"
|
|
15
15
|
version="1.1"
|
|
16
16
|
x="0px"
|
|
17
17
|
y="0px"
|
|
18
|
-
viewBox="0 0
|
|
19
|
-
enableBackground="new 0 0
|
|
18
|
+
viewBox="0 0 110 110"
|
|
19
|
+
enableBackground="new 0 0 110 110"
|
|
20
20
|
className={className}
|
|
21
21
|
>
|
|
22
22
|
<path d="M-408.167-318.5" />
|
|
@@ -40,5 +40,5 @@ export const ExternalIcon = styled(Icon)`
|
|
|
40
40
|
width: 10px;
|
|
41
41
|
height: 10px;
|
|
42
42
|
margin-left: 5px;
|
|
43
|
-
fill:
|
|
43
|
+
fill: currentColor;
|
|
44
44
|
`;
|
|
@@ -3,10 +3,9 @@ import styled from 'styled-components';
|
|
|
3
3
|
|
|
4
4
|
interface IconProps {
|
|
5
5
|
className?: string;
|
|
6
|
-
color?: string;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
const Icon = ({ className
|
|
8
|
+
const Icon = ({ className }: IconProps) => (
|
|
10
9
|
<svg
|
|
11
10
|
data-component-name="icons/FileIcon"
|
|
12
11
|
viewBox="0 0 16 16"
|
|
@@ -17,7 +16,7 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
|
|
|
17
16
|
<rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
|
|
18
17
|
<path
|
|
19
18
|
d="M12.85 4.65018L9.35 1.15018C9.30601 1.10132 9.25192 1.0626 9.19149 1.0367C9.13106 1.0108 9.06572 0.998339 9 1.00018H4C3.73502 1.00096 3.48112 1.10656 3.29375 1.29393C3.10638 1.4813 3.00078 1.7352 3 2.00018V14.0002C3.00078 14.2652 3.10638 14.5191 3.29375 14.7064C3.48112 14.8938 3.73502 14.9994 4 15.0002H12C12.265 14.9994 12.5189 14.8938 12.7062 14.7064C12.8936 14.5191 12.9992 14.2652 13 14.0002V5.00018C13.0018 4.93446 12.9894 4.86912 12.9635 4.80869C12.9376 4.74826 12.8989 4.69417 12.85 4.65018ZM9 2.20018L11.8 5.00018H9V2.20018ZM12 14.0002H4V2.00018H8V5.00018C8.00078 5.26515 8.10638 5.51906 8.29375 5.70642C8.48112 5.89379 8.73502 5.9994 9 6.00018H12V14.0002Z"
|
|
20
|
-
fill=
|
|
19
|
+
fill="currentColor"
|
|
21
20
|
/>
|
|
22
21
|
</svg>
|
|
23
22
|
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
const Icon = () => (
|
|
5
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
<path
|
|
7
|
+
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"
|
|
8
|
+
fill="#8D8D8D"
|
|
9
|
+
/>
|
|
10
|
+
</svg>
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
export const LanguageIcon = styled(Icon).attrs(() => ({
|
|
14
|
+
'data-component-name': 'icons/LanguageIcon/LanguageIcon',
|
|
15
|
+
}))``;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/LanguageIcon/LanguageIcon';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
export const Icon = () => (
|
|
5
|
+
<svg
|
|
6
|
+
width="16"
|
|
7
|
+
height="16"
|
|
8
|
+
viewBox="0 0 16 16"
|
|
9
|
+
fill="currentColor"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
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"
|
|
14
|
+
fill="inherit"
|
|
15
|
+
/>
|
|
16
|
+
<path
|
|
17
|
+
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"
|
|
18
|
+
fill="inherit"
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
export const PlusIcon = styled(Icon).attrs(() => ({
|
|
24
|
+
'data-component-name': 'icons/PlusIcon/PlusIcon',
|
|
25
|
+
}))``;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/PlusIcon/PlusIcon';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
const Icon = () => (
|
|
5
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="#8D8D8D" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
<rect width="16" height="16" fill="none" />
|
|
7
|
+
<path
|
|
8
|
+
d="M9 3L8.285 3.6965L12.075 7.5H2V8.5H12.075L8.285 12.2865L9 13L14 8L9 3Z"
|
|
9
|
+
fill="inherit"
|
|
10
|
+
/>
|
|
11
|
+
</svg>
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
export const PointingArrowIcon = styled(Icon).attrs(() => ({
|
|
15
|
+
'data-component-name': 'icons/PointingArrowIcon/PointingArrowIcon',
|
|
16
|
+
}))``;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@theme/icons/PointingArrowIcon/PointingArrowIcon';
|
|
@@ -3,10 +3,9 @@ import styled from 'styled-components';
|
|
|
3
3
|
|
|
4
4
|
interface IconProps {
|
|
5
5
|
className?: string;
|
|
6
|
-
color?: string;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
const Icon = ({ className
|
|
8
|
+
const Icon = ({ className }: IconProps) => (
|
|
10
9
|
<svg
|
|
11
10
|
data-component-name="icons/ReportIcon"
|
|
12
11
|
viewBox="0 0 14 14"
|
|
@@ -17,13 +16,13 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
|
|
|
17
16
|
<rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
|
|
18
17
|
<path
|
|
19
18
|
d="M7 8.75C6.87021 8.75 6.74333 8.78849 6.63541 8.8606C6.52749 8.93271 6.44337 9.0352 6.3937 9.15511C6.34403 9.27503 6.33104 9.40698 6.35636 9.53428C6.38168 9.66158 6.44418 9.77851 6.53596 9.87029C6.62774 9.96207 6.74467 10.0246 6.87197 10.0499C6.99927 10.0752 7.13122 10.0622 7.25114 10.0125C7.37105 9.96288 7.47354 9.87876 7.54565 9.77084C7.61776 9.66292 7.65625 9.53604 7.65625 9.40625C7.65625 9.2322 7.58711 9.06528 7.46404 8.94221C7.34097 8.81914 7.17405 8.75 7 8.75Z"
|
|
20
|
-
fill=
|
|
19
|
+
fill="currentColor"
|
|
21
20
|
fillOpacity="1"
|
|
22
21
|
/>
|
|
23
22
|
<path d="M7.4375 3.9375H6.5625V7.875H7.4375V3.9375Z" fill="white" fillOpacity="1" />
|
|
24
23
|
<path
|
|
25
24
|
d="M11.375 12.25H2.625C2.39302 12.2497 2.17061 12.1575 2.00658 11.9934C1.84254 11.8294 1.75027 11.607 1.75 11.375V2.625C1.75027 2.39302 1.84254 2.17061 2.00658 2.00658C2.17061 1.84254 2.39302 1.75027 2.625 1.75H11.375C11.607 1.75027 11.8294 1.84254 11.9934 2.00658C12.1575 2.17061 12.2497 2.39302 12.25 2.625V11.375C12.2497 11.607 12.1575 11.8294 11.9934 11.9934C11.8294 12.1575 11.607 12.2497 11.375 12.25ZM2.625 2.625V11.375H11.3755L11.375 2.625H2.625Z"
|
|
26
|
-
fill=
|
|
25
|
+
fill="currentColor"
|
|
27
26
|
fillOpacity="1"
|
|
28
27
|
/>
|
|
29
28
|
</svg>
|