@redocly/theme 0.74.2-pingfed.3 → 0.81.2-rc.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/Admonition/Admonition.d.ts +12 -0
- package/lib/components/Admonition/Admonition.js +119 -0
- package/lib/components/Admonition/variables.d.ts +1 -0
- package/lib/components/Admonition/variables.js +100 -0
- package/lib/components/Badge/Badge.d.ts +5 -0
- package/lib/components/Badge/Badge.js +49 -0
- package/lib/components/Breadcrumbs/Breadcrumb.d.ts +4 -3
- package/lib/components/Breadcrumbs/Breadcrumb.js +4 -5
- package/lib/components/Breadcrumbs/Breadcrumbs.js +7 -6
- package/lib/components/Breadcrumbs/variables.js +20 -0
- package/lib/components/Button/Button.d.ts +9 -8
- package/lib/components/Button/Button.js +106 -88
- package/lib/components/Button/variables.dark.d.ts +1 -0
- package/lib/components/Button/variables.dark.js +30 -0
- package/lib/components/Button/variables.js +221 -0
- package/lib/components/Buttons/CopyButton.d.ts +16 -0
- package/lib/components/Buttons/CopyButton.js +53 -0
- package/lib/components/Buttons/EditPageButton.d.ts +5 -0
- package/lib/components/Buttons/EditPageButton.js +45 -0
- package/lib/components/Buttons/EmailButton.d.ts +7 -0
- package/lib/components/Buttons/EmailButton.js +18 -0
- package/lib/components/Buttons/NewTabButton.d.ts +7 -0
- package/lib/components/Buttons/NewTabButton.js +18 -0
- package/lib/components/Catalog/Catalog.d.ts +1 -3
- package/lib/components/Catalog/Catalog.js +40 -77
- package/lib/components/Catalog/CatalogActions.d.ts +8 -0
- package/lib/components/Catalog/CatalogActions.js +71 -0
- package/lib/components/Catalog/CatalogCard.d.ts +5 -4
- package/lib/components/Catalog/CatalogCard.js +49 -79
- package/lib/components/Catalog/CatalogHighlight.d.ts +5 -0
- package/lib/components/Catalog/CatalogHighlight.js +71 -0
- package/lib/components/Catalog/CatalogInfoBlock.d.ts +11 -0
- package/lib/components/Catalog/CatalogInfoBlock.js +48 -0
- package/lib/components/Catalog/variables.js +106 -0
- package/lib/components/CodeBlock/CodeBlock.d.ts +9 -10
- package/lib/components/CodeBlock/CodeBlock.js +29 -22
- package/lib/components/CodeBlock/CodeBlockContainer.d.ts +0 -1
- package/lib/components/CodeBlock/CodeBlockContainer.js +98 -105
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +11 -10
- package/lib/components/CodeBlock/CodeBlockControls.js +44 -64
- package/lib/components/CodeBlock/CodeBlockTabs.d.ts +6 -0
- package/lib/components/CodeBlock/CodeBlockTabs.js +122 -0
- package/lib/components/CodeBlock/variables.js +95 -0
- package/lib/components/ColorModeSwitcher/ColorModeIcon.js +27 -0
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.d.ts +3 -4
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +9 -70
- package/lib/components/DatePicker/DatePicker.d.ts +5 -0
- package/lib/components/DatePicker/DatePicker.js +75 -0
- package/lib/components/DatePicker/variables.d.ts +1 -0
- package/lib/components/DatePicker/variables.js +24 -0
- package/lib/components/Dropdown/Dropdown.d.ts +11 -18
- package/lib/components/Dropdown/Dropdown.js +34 -63
- package/lib/components/Dropdown/DropdownMenu.d.ts +12 -0
- package/lib/components/Dropdown/DropdownMenu.js +53 -0
- package/lib/components/Dropdown/DropdownMenuItem.d.ts +19 -0
- package/lib/components/Dropdown/DropdownMenuItem.js +137 -0
- package/lib/components/Dropdown/variables.js +44 -0
- package/lib/components/Feedback/Comment.d.ts +13 -3
- package/lib/components/Feedback/Comment.js +62 -56
- package/lib/components/Feedback/Feedback.d.ts +3 -3
- package/lib/components/Feedback/Feedback.js +40 -43
- package/lib/components/Feedback/Mood.d.ts +25 -3
- package/lib/components/Feedback/Mood.js +51 -73
- package/lib/components/Feedback/Rating.d.ts +24 -3
- package/lib/components/Feedback/Rating.js +40 -42
- package/lib/components/Feedback/Reasons.d.ts +10 -3
- package/lib/components/Feedback/Reasons.js +15 -15
- package/lib/components/Feedback/ReportDialog.d.ts +13 -3
- package/lib/components/Feedback/ReportDialog.js +28 -40
- package/lib/components/Feedback/Scale.d.ts +26 -3
- package/lib/components/Feedback/Scale.js +53 -66
- package/lib/components/Feedback/Sentiment.d.ts +24 -3
- package/lib/components/Feedback/Sentiment.js +55 -76
- package/lib/components/Feedback/Stars.d.ts +1 -2
- package/lib/components/Feedback/Stars.js +9 -9
- package/lib/components/Feedback/variables.d.ts +1 -0
- package/lib/components/Feedback/variables.js +34 -0
- package/lib/components/Filter/Filter.d.ts +2 -9
- package/lib/components/Filter/Filter.js +14 -182
- package/lib/components/Filter/FilterCheckboxes.d.ts +2 -0
- package/lib/components/Filter/FilterCheckboxes.js +43 -0
- package/lib/components/Filter/FilterContent.d.ts +4 -6
- package/lib/components/Filter/FilterContent.js +33 -39
- package/lib/components/Filter/FilterDateRange.d.ts +2 -0
- package/lib/components/Filter/FilterDateRange.js +62 -0
- package/lib/components/Filter/FilterInput.d.ts +6 -0
- package/lib/components/Filter/FilterInput.js +62 -0
- package/lib/components/Filter/FilterOption.d.ts +4 -0
- package/lib/components/Filter/FilterOption.js +22 -0
- package/lib/components/Filter/FilterOptionLabel.d.ts +3 -0
- package/lib/components/Filter/FilterOptionLabel.js +18 -0
- package/lib/components/Filter/FilterOptions.d.ts +3 -0
- package/lib/components/Filter/FilterOptions.js +16 -0
- package/lib/components/Filter/FilterPopover.d.ts +5 -9
- package/lib/components/Filter/FilterPopover.js +14 -56
- package/lib/components/Filter/FilterSelect.d.ts +2 -0
- package/lib/components/Filter/FilterSelect.js +63 -0
- package/lib/components/Filter/FilterTitle.d.ts +3 -0
- package/lib/components/Filter/FilterTitle.js +15 -0
- package/lib/components/Filter/variables.js +98 -0
- package/lib/components/Footer/Footer.d.ts +3 -9
- package/lib/components/Footer/Footer.js +47 -29
- package/lib/components/Footer/FooterColumn.d.ts +3 -8
- package/lib/components/Footer/FooterColumn.js +42 -75
- package/lib/components/Footer/FooterCopyright.d.ts +2 -3
- package/lib/components/Footer/FooterCopyright.js +14 -10
- package/lib/components/Footer/FooterItem.d.ts +7 -0
- package/lib/components/Footer/FooterItem.js +65 -0
- package/lib/components/Footer/FooterLogo.d.ts +4 -0
- package/lib/components/Footer/FooterLogo.js +18 -0
- package/lib/components/Footer/variables.js +62 -0
- package/lib/components/Image/Image.d.ts +1 -2
- package/lib/components/Image/Image.js +2 -10
- package/lib/components/JsonViewer/JsonViewer.d.ts +2 -6
- package/lib/components/JsonViewer/JsonViewer.js +34 -167
- package/lib/components/JsonViewer/helpers.d.ts +8 -0
- package/lib/components/JsonViewer/helpers.js +131 -0
- package/lib/components/LanguagePicker/LanguagePicker.d.ts +8 -0
- package/lib/components/LanguagePicker/LanguagePicker.js +79 -0
- package/lib/components/LanguagePicker/variables.js +37 -0
- package/lib/components/LastUpdated/LastUpdated.d.ts +2 -3
- package/lib/components/LastUpdated/LastUpdated.js +8 -8
- package/lib/components/LastUpdated/variables.js +11 -0
- package/lib/components/Link/Link.d.ts +13 -0
- package/lib/components/Link/Link.js +55 -0
- package/lib/components/Loading/Loading.d.ts +4 -0
- package/lib/components/Loading/Loading.js +25 -0
- package/lib/components/Logo/Logo.d.ts +7 -0
- package/lib/components/Logo/Logo.js +46 -0
- package/lib/components/Logo/variables.js +17 -0
- package/lib/components/Markdown/Markdown.d.ts +5 -0
- package/lib/components/Markdown/Markdown.js +298 -0
- package/lib/components/Markdown/styles/baseTable.d.ts +1 -0
- package/lib/components/Markdown/styles/baseTable.js +64 -0
- package/lib/components/Markdown/styles/headingAnchor.d.ts +2 -0
- package/lib/components/Markdown/styles/headingAnchor.js +37 -0
- package/lib/components/Markdown/styles/links.d.ts +1 -0
- package/lib/components/Markdown/styles/links.js +23 -0
- package/lib/components/Markdown/variables.d.ts +1 -0
- package/lib/components/Markdown/variables.js +99 -0
- package/lib/components/Menu/Menu.d.ts +6 -8
- package/lib/components/Menu/Menu.js +13 -10
- package/lib/components/Menu/MenuContainer.d.ts +5 -2
- package/lib/components/Menu/MenuContainer.js +51 -4
- package/lib/components/Menu/MenuItem.d.ts +3 -3
- package/lib/components/Menu/MenuItem.js +227 -32
- package/lib/components/Menu/MenuMobile.d.ts +6 -0
- package/lib/components/Menu/MenuMobile.js +153 -0
- package/lib/components/Menu/variables.d.ts +2 -0
- package/lib/components/Menu/variables.dark.d.ts +1 -0
- package/lib/components/Menu/variables.dark.js +11 -0
- package/lib/components/Menu/variables.js +178 -0
- package/lib/components/Navbar/Navbar.d.ts +3 -15
- package/lib/components/Navbar/Navbar.js +68 -118
- package/lib/components/Navbar/NavbarItem.d.ts +4 -17
- package/lib/components/Navbar/NavbarItem.js +48 -59
- package/lib/components/Navbar/NavbarLogo.d.ts +4 -0
- package/lib/components/Navbar/NavbarLogo.js +18 -0
- package/lib/components/Navbar/NavbarMenu.d.ts +5 -4
- package/lib/components/Navbar/NavbarMenu.js +4 -4
- package/lib/components/Navbar/variables.js +54 -0
- package/lib/components/PageNavigation/NextButton.d.ts +3 -4
- package/lib/components/PageNavigation/NextButton.js +24 -10
- package/lib/components/PageNavigation/PageNavigation.d.ts +3 -4
- package/lib/components/PageNavigation/PageNavigation.js +2 -2
- package/lib/components/PageNavigation/PreviousButton.d.ts +3 -4
- package/lib/components/PageNavigation/PreviousButton.js +24 -13
- package/lib/components/Panel/Panel.d.ts +15 -5
- package/lib/components/Panel/Panel.js +57 -14
- package/lib/components/Panel/PanelBody.js +1 -3
- package/lib/components/Panel/PanelHeader.d.ts +3 -2
- package/lib/components/Panel/PanelHeader.js +8 -5
- package/lib/components/Panel/PanelHeaderTitle.js +1 -0
- package/lib/components/Panel/variables.js +410 -0
- package/lib/components/Portal/Portal.d.ts +7 -0
- package/lib/components/Portal/Portal.js +18 -0
- package/lib/components/Product/Product.d.ts +3 -3
- package/lib/components/Product/Product.js +3 -3
- package/lib/components/Product/ProductPicker.d.ts +1 -2
- package/lib/components/Product/ProductPicker.js +51 -68
- package/lib/components/Product/variables.d.ts +1 -0
- package/lib/components/Product/variables.js +39 -0
- package/lib/components/Scorecard/variables.d.ts +1 -0
- package/lib/components/Scorecard/variables.dark.d.ts +1 -0
- package/lib/components/Scorecard/variables.dark.js +20 -0
- package/lib/components/Scorecard/variables.js +24 -0
- package/lib/components/Search/Search.d.ts +4 -3
- package/lib/components/Search/Search.js +6 -59
- package/lib/components/Search/SearchDialog.d.ts +5 -4
- package/lib/components/Search/SearchDialog.js +94 -71
- package/lib/components/Search/SearchHighlight.d.ts +1 -0
- package/lib/components/Search/SearchHighlight.js +46 -0
- package/lib/components/Search/SearchInput.d.ts +11 -0
- package/lib/components/Search/SearchInput.js +55 -0
- package/lib/components/Search/SearchItem.d.ts +10 -6
- package/lib/components/Search/SearchItem.js +81 -55
- package/lib/components/Search/SearchRecent.d.ts +6 -0
- package/lib/components/Search/SearchRecent.js +122 -0
- package/lib/components/Search/SearchShortcut.d.ts +7 -0
- package/lib/components/Search/SearchShortcut.js +51 -0
- package/lib/components/Search/SearchSuggestedPages.d.ts +5 -0
- package/lib/components/Search/SearchSuggestedPages.js +91 -0
- package/lib/components/Search/SearchTrigger.d.ts +4 -3
- package/lib/components/Search/SearchTrigger.js +54 -35
- package/lib/components/Search/variables.js +98 -0
- package/lib/components/Segmented/Segmented.d.ts +15 -0
- package/lib/components/Segmented/Segmented.js +76 -0
- package/lib/components/Segmented/variables.d.ts +1 -0
- package/lib/components/Segmented/variables.dark.d.ts +1 -0
- package/lib/components/Segmented/variables.dark.js +9 -0
- package/lib/components/Segmented/variables.js +26 -0
- package/lib/components/Select/Select.d.ts +5 -2
- package/lib/components/Select/Select.js +33 -21
- package/lib/components/Select/variables.js +37 -0
- package/lib/components/Sidebar/Sidebar.d.ts +19 -5
- package/lib/components/Sidebar/Sidebar.js +91 -12
- package/lib/components/Sidebar/variables.d.ts +1 -0
- package/lib/components/Sidebar/variables.js +60 -0
- package/lib/components/SidebarActions/ChangeViewButton.d.ts +3 -3
- package/lib/components/SidebarActions/ChangeViewButton.js +12 -3
- package/lib/components/SidebarActions/SidebarActions.d.ts +3 -10
- package/lib/components/SidebarActions/SidebarActions.js +25 -24
- package/lib/components/SidebarActions/styled.d.ts +6 -10
- package/lib/components/SidebarActions/styled.js +22 -69
- package/lib/components/SidebarLogo/SidebarLogo.d.ts +0 -1
- package/lib/components/SidebarLogo/SidebarLogo.js +1 -1
- package/lib/components/StatusCode/StatusCode.d.ts +5 -0
- package/lib/components/StatusCode/StatusCode.js +40 -0
- package/lib/components/StatusCode/variables.d.ts +1 -0
- package/lib/components/StatusCode/variables.dark.d.ts +1 -0
- package/lib/components/StatusCode/variables.dark.js +8 -0
- package/lib/components/StatusCode/variables.js +16 -0
- package/lib/components/TableOfContent/TableOfContent.d.ts +3 -4
- package/lib/components/TableOfContent/TableOfContent.js +40 -36
- package/lib/components/TableOfContent/variables.js +49 -0
- package/lib/components/Tag/Tag.d.ts +7 -4
- package/lib/components/Tag/Tag.js +27 -6
- package/lib/components/Tag/variables.dark.d.ts +1 -0
- package/lib/components/Tag/variables.dark.js +19 -0
- package/lib/components/Tag/variables.js +188 -0
- package/lib/components/Tags/CounterTag.d.ts +5 -0
- package/lib/components/Tags/CounterTag.js +18 -0
- package/lib/components/Tags/HttpTag.d.ts +5 -0
- package/lib/components/Tags/HttpTag.js +29 -0
- package/lib/components/Tags/variables.d.ts +1 -0
- package/lib/components/Tags/variables.js +21 -0
- package/lib/components/Tooltip/Tooltip.d.ts +2 -2
- package/lib/components/Tooltip/Tooltip.js +4 -4
- package/lib/components/Tooltip/variables.js +21 -0
- package/lib/components/Typography/H1.js +1 -1
- package/lib/components/Typography/H2.js +1 -1
- package/lib/components/Typography/H3.js +1 -1
- package/lib/components/Typography/H4.d.ts +1 -0
- package/lib/components/Typography/H4.js +18 -0
- package/lib/components/Typography/Typography.js +1 -1
- package/lib/components/UserMenu/LoginButton.d.ts +5 -0
- package/lib/components/UserMenu/LoginButton.js +18 -0
- package/lib/components/UserMenu/LogoutMenuItem.d.ts +5 -0
- package/lib/components/UserMenu/LogoutMenuItem.js +23 -0
- package/lib/components/UserMenu/UserAvatar.d.ts +8 -0
- package/lib/components/UserMenu/UserAvatar.js +47 -0
- package/lib/components/UserMenu/UserInfoMenuItem.d.ts +8 -0
- package/lib/components/UserMenu/UserInfoMenuItem.js +54 -0
- package/lib/components/UserMenu/UserMenu.d.ts +6 -0
- package/lib/components/UserMenu/UserMenu.js +92 -0
- package/lib/components/UserMenu/UserMenuMobile.d.ts +5 -0
- package/lib/components/UserMenu/UserMenuMobile.js +54 -0
- package/lib/components/UserMenu/variables.d.ts +1 -0
- package/lib/components/UserMenu/variables.js +64 -0
- package/lib/components/VersionPicker/VersionPicker.d.ts +10 -0
- package/lib/components/VersionPicker/VersionPicker.js +111 -0
- package/lib/components/VersionPicker/variables.d.ts +1 -0
- package/lib/components/VersionPicker/variables.js +42 -0
- package/lib/config.d.ts +2 -2569
- package/lib/config.js +0 -635
- package/lib/core/constants/common.d.ts +22 -0
- package/lib/core/constants/common.js +30 -0
- package/lib/core/constants/environments.d.ts +9 -0
- package/lib/core/constants/environments.js +14 -0
- package/lib/core/constants/index.d.ts +2 -0
- package/lib/core/constants/index.js +19 -0
- package/lib/core/contexts/ThemeDataContext.d.ts +12 -0
- package/lib/core/contexts/ThemeDataContext.js +6 -0
- package/lib/core/contexts/index.d.ts +1 -0
- package/lib/core/contexts/index.js +18 -0
- package/lib/core/hoc/index.d.ts +1 -0
- package/lib/core/hoc/index.js +18 -0
- package/lib/core/hoc/typedMemo.d.ts +1 -0
- package/lib/core/hoc/typedMemo.js +6 -0
- package/lib/core/hooks/__mocks__/index.d.ts +23 -0
- package/lib/core/hooks/__mocks__/index.js +40 -0
- package/lib/core/hooks/__mocks__/search/use-recent-searches.d.ts +6 -0
- package/lib/core/hooks/__mocks__/search/use-recent-searches.js +12 -0
- package/lib/core/hooks/__mocks__/search/use-suggested-pages.d.ts +5 -0
- package/lib/core/hooks/__mocks__/search/use-suggested-pages.js +12 -0
- package/lib/core/hooks/__mocks__/use-mobile-menu.d.ts +2 -0
- package/lib/core/hooks/__mocks__/use-mobile-menu.js +6 -0
- package/lib/core/hooks/__mocks__/use-theme-config.d.ts +9 -0
- package/lib/core/hooks/__mocks__/use-theme-config.js +12 -0
- package/lib/core/hooks/__mocks__/use-theme-hooks.d.ts +56 -0
- package/lib/core/hooks/__mocks__/use-theme-hooks.js +77 -0
- package/lib/core/hooks/__tests__/mocks/mock-intersection-observer.js +79 -0
- package/lib/core/hooks/feedback/use-report-dialog.d.ts +13 -0
- package/lib/core/hooks/feedback/use-report-dialog.js +44 -0
- package/lib/core/hooks/index.d.ts +29 -0
- package/lib/core/hooks/index.js +46 -0
- package/lib/core/hooks/menu/__mocks__/use-mobile-menu-items.d.ts +2 -0
- package/lib/core/hooks/menu/__mocks__/use-mobile-menu-items.js +34 -0
- package/lib/core/hooks/menu/use-collapse.d.ts +32 -0
- package/lib/core/hooks/menu/use-collapse.js +174 -0
- package/lib/core/hooks/menu/use-menu-item-expanded.d.ts +3 -0
- package/lib/core/hooks/menu/use-menu-item-expanded.js +25 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +10 -0
- package/lib/core/hooks/menu/use-mobile-menu-items.js +84 -0
- package/lib/core/hooks/menu/use-mobile-menu-levels.d.ts +5 -0
- package/lib/core/hooks/menu/use-mobile-menu-levels.js +45 -0
- package/lib/core/hooks/menu/use-nested-menu.d.ts +21 -0
- package/lib/core/hooks/menu/use-nested-menu.js +73 -0
- package/lib/core/hooks/search/use-recent-searches.d.ts +5 -0
- package/lib/core/hooks/search/use-recent-searches.js +39 -0
- package/lib/core/hooks/search/use-suggested-pages.d.ts +6 -0
- package/lib/core/hooks/search/use-suggested-pages.js +12 -0
- package/lib/core/hooks/use-active-heading.js +80 -0
- package/lib/core/hooks/use-active-section-id.js +44 -0
- package/lib/core/hooks/use-codeblock-tabs-controls.d.ts +13 -0
- package/lib/core/hooks/use-codeblock-tabs-controls.js +49 -0
- package/lib/core/hooks/use-color-switcher.d.ts +7 -0
- package/lib/core/hooks/use-color-switcher.js +33 -0
- package/lib/core/hooks/use-control.js +16 -0
- package/lib/core/hooks/use-controlled-state.d.ts +1 -0
- package/lib/core/hooks/use-controlled-state.js +17 -0
- package/lib/core/hooks/use-dialog-hotkeys.js +45 -0
- package/lib/core/hooks/use-focus-trap.d.ts +2 -0
- package/lib/core/hooks/use-focus-trap.js +35 -0
- package/lib/core/hooks/use-full-height.js +48 -0
- package/lib/core/hooks/use-language-picker.d.ts +6 -0
- package/lib/core/hooks/use-language-picker.js +23 -0
- package/lib/core/hooks/use-mobile-menu.d.ts +5 -0
- package/lib/core/hooks/use-mobile-menu.js +17 -0
- package/lib/core/hooks/use-modal-scroll-lock.d.ts +1 -0
- package/lib/core/hooks/use-modal-scroll-lock.js +24 -0
- package/lib/core/hooks/use-mount.js +12 -0
- package/lib/core/hooks/use-navbar-height.js +21 -0
- package/lib/core/hooks/use-outside-click.d.ts +2 -0
- package/lib/core/hooks/use-outside-click.js +22 -0
- package/lib/core/hooks/use-product-picker.d.ts +5 -0
- package/lib/core/hooks/use-product-picker.js +24 -0
- package/lib/core/hooks/use-search.d.ts +5 -0
- package/lib/core/hooks/use-search.js +43 -0
- package/lib/core/hooks/use-tabs.d.ts +14 -0
- package/lib/core/hooks/use-tabs.js +57 -0
- package/lib/core/hooks/use-theme-config.d.ts +2 -0
- package/lib/core/hooks/use-theme-config.js +22 -0
- package/lib/core/hooks/use-theme-hooks.d.ts +2 -0
- package/lib/core/hooks/use-theme-hooks.js +31 -0
- package/lib/core/hooks/use-unmount.js +14 -0
- package/lib/core/index.d.ts +7 -0
- package/lib/core/index.js +24 -0
- package/lib/core/styles/dark.js +302 -0
- package/lib/core/styles/global.js +1202 -0
- package/lib/core/styles/index.d.ts +2 -0
- package/lib/core/styles/index.js +19 -0
- package/lib/core/templates/Markdown.d.ts +17 -0
- package/lib/core/templates/Markdown.js +69 -0
- package/lib/core/types/breadcrumb.d.ts +1 -0
- package/lib/core/types/breadcrumb.js +3 -0
- package/lib/core/types/catalog.d.ts +43 -0
- package/lib/core/types/feedback.d.ts +19 -0
- package/lib/core/types/filter.d.ts +9 -0
- package/lib/core/types/filter.js +3 -0
- package/lib/core/types/hooks.d.ts +73 -0
- package/lib/core/types/hooks.js +3 -0
- package/lib/core/types/i18n.d.ts +10 -0
- package/lib/core/types/i18n.js +3 -0
- package/lib/core/types/index.d.ts +12 -0
- package/lib/core/types/index.js +29 -0
- package/lib/core/types/navbar.d.ts +7 -0
- package/lib/core/types/navbar.js +3 -0
- package/lib/core/types/search.d.ts +25 -0
- package/lib/core/types/search.js +3 -0
- package/lib/core/types/select-option.d.ts +4 -0
- package/lib/core/types/select-option.js +3 -0
- package/lib/core/types/sidebar.d.ts +59 -0
- package/lib/core/types/sidebar.js +3 -0
- package/lib/core/types/user-menu.d.ts +12 -0
- package/lib/core/types/user-menu.js +3 -0
- package/lib/core/utils/attribute-parser.d.ts +1 -0
- package/lib/core/utils/attribute-parser.js +14 -0
- package/lib/core/utils/change-text-casing.d.ts +3 -0
- package/lib/core/utils/change-text-casing.js +19 -0
- package/lib/core/utils/clipboard-service.js +33 -0
- package/lib/core/utils/details.d.ts +1 -0
- package/lib/core/utils/details.js +41 -0
- package/lib/core/utils/dom.d.ts +2 -0
- package/lib/core/utils/dom.js +14 -0
- package/lib/core/utils/format-date-without-timezone.d.ts +1 -0
- package/lib/core/utils/format-date-without-timezone.js +13 -0
- package/lib/core/utils/get-navbar-element.js +15 -0
- package/lib/core/utils/get-scorecard-color-variable.d.ts +1 -0
- package/lib/core/utils/get-scorecard-color-variable.js +15 -0
- package/lib/core/utils/index.d.ts +26 -0
- package/lib/core/utils/index.js +43 -0
- package/lib/core/utils/is-url.js +37 -0
- package/lib/core/utils/js-utils.d.ts +8 -0
- package/lib/core/utils/js-utils.js +28 -0
- package/lib/core/utils/load-and-navigate.d.ts +3 -0
- package/lib/core/utils/load-and-navigate.js +49 -0
- package/lib/core/utils/markdoc.d.ts +2 -0
- package/lib/core/utils/markdoc.js +8 -0
- package/lib/core/utils/media-css.d.ts +6 -0
- package/lib/core/utils/media-css.js +5 -0
- package/lib/core/utils/menu.d.ts +9 -0
- package/lib/core/utils/menu.js +95 -0
- package/lib/core/utils/replace-hash-in-color.js +8 -0
- package/lib/core/utils/toc.d.ts +4 -0
- package/lib/core/utils/toc.js +41 -0
- package/lib/core/utils/type-guards.d.ts +5 -0
- package/lib/core/utils/type-guards.js +24 -0
- package/lib/core/utils/urls.d.ts +27 -0
- package/lib/core/utils/urls.js +104 -0
- package/lib/core/utils/with-load-progress.d.ts +1 -0
- package/lib/core/utils/with-load-progress.js +39 -0
- package/lib/icons/AddIcon/AddIcon.d.ts +9 -0
- package/lib/icons/AddIcon/AddIcon.js +22 -0
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +9 -0
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.js +22 -0
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +9 -0
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.js +22 -0
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +9 -0
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.js +22 -0
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +9 -0
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.js +27 -0
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +9 -0
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.js +22 -0
- package/lib/icons/CharacterIcon/CharacterIcon.d.ts +9 -0
- package/lib/icons/CharacterIcon/CharacterIcon.js +24 -0
- package/lib/icons/CheckboxIcon/CheckboxIcon.js +5 -11
- package/lib/icons/CheckboxIcon/variables.d.ts +1 -0
- package/lib/icons/CheckboxIcon/variables.dark.d.ts +1 -0
- package/lib/icons/CheckboxIcon/variables.dark.js +10 -0
- package/lib/icons/CheckboxIcon/variables.js +22 -0
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +9 -0
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.js +22 -0
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +9 -0
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.js +22 -0
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +9 -0
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.js +23 -0
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +9 -0
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.js +22 -0
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +9 -0
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.js +22 -0
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.d.ts +11 -0
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.js +22 -0
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +9 -0
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.js +23 -0
- package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +9 -0
- package/lib/icons/CircleDashIcon/CircleDashIcon.js +31 -0
- package/lib/icons/CleanIcon/CleanIcon.d.ts +9 -0
- package/lib/icons/CleanIcon/CleanIcon.js +25 -0
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +9 -0
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.js +21 -0
- package/lib/icons/CloseIcon/CloseIcon.d.ts +7 -3
- package/lib/icons/CloseIcon/CloseIcon.js +13 -6
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +9 -0
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.js +23 -0
- package/lib/icons/CodeIcon/CodeIcon.d.ts +9 -0
- package/lib/icons/CodeIcon/CodeIcon.js +24 -0
- package/lib/icons/ContrastIcon/ContrastIcon.d.ts +9 -0
- package/lib/icons/ContrastIcon/ContrastIcon.js +22 -0
- package/lib/icons/CookieIcon/CookieIcon.d.ts +9 -0
- package/lib/icons/CookieIcon/CookieIcon.js +29 -0
- package/lib/icons/CopyIcon/CopyIcon.d.ts +8 -5
- package/lib/icons/CopyIcon/CopyIcon.js +12 -6
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +9 -0
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.js +24 -0
- package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +9 -0
- package/lib/icons/DataFormatIcon/DataFormatIcon.js +26 -0
- package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +9 -0
- package/lib/icons/DatabaseIcon/DatabaseIcon.js +22 -0
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +4 -6
- package/lib/icons/DeselectIcon/DeselectIcon.js +11 -4
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +9 -0
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.js +22 -0
- package/lib/icons/DocumentIcon/DocumentIcon.d.ts +9 -0
- package/lib/icons/DocumentIcon/DocumentIcon.js +24 -0
- package/lib/icons/DocumentIcon/index.d.ts +1 -0
- package/lib/icons/DocumentIcon/index.js +6 -0
- package/lib/icons/DownloadIcon/DownloadIcon.d.ts +9 -0
- package/lib/icons/DownloadIcon/DownloadIcon.js +23 -0
- package/lib/icons/EditIcon/EditIcon.d.ts +8 -5
- package/lib/icons/EditIcon/EditIcon.js +13 -8
- package/lib/icons/EmailIcon/EmailIcon.d.ts +9 -0
- package/lib/icons/EmailIcon/EmailIcon.js +22 -0
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +7 -2
- package/lib/icons/ErrorIcon/ErrorIcon.js +11 -3
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +9 -0
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.js +25 -0
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +9 -0
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.js +25 -0
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +9 -0
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.js +25 -0
- package/lib/icons/FileIcon/FileIcon.d.ts +8 -6
- package/lib/icons/FileIcon/FileIcon.js +13 -12
- package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +9 -0
- package/lib/icons/FileStorageIcon/FileStorageIcon.js +24 -0
- package/lib/icons/FilterIcon/FilterIcon.d.ts +9 -0
- package/lib/icons/FilterIcon/FilterIcon.js +22 -0
- package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +9 -0
- package/lib/icons/FolderAddIcon/FolderAddIcon.js +23 -0
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +9 -0
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.js +23 -0
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +9 -0
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.js +22 -0
- package/lib/icons/GridIcon/GridIcon.d.ts +9 -0
- package/lib/icons/GridIcon/GridIcon.js +25 -0
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +9 -0
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.js +23 -0
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +9 -0
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.js +24 -0
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +9 -0
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.js +22 -0
- package/lib/icons/InformationIcon/InformationIcon.d.ts +9 -0
- package/lib/icons/InformationIcon/InformationIcon.js +24 -0
- package/lib/icons/JsonIcon/JsonIcon.d.ts +9 -0
- package/lib/icons/JsonIcon/JsonIcon.js +25 -0
- package/lib/icons/LaunchIcon/LaunchIcon.d.ts +9 -0
- package/lib/icons/LaunchIcon/LaunchIcon.js +23 -0
- package/lib/icons/LinkIcon/LinkIcon.d.ts +9 -0
- package/lib/icons/LinkIcon/LinkIcon.js +23 -0
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +7 -3
- package/lib/icons/LogoutIcon/LogoutIcon.js +14 -8
- package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +9 -0
- package/lib/icons/MaximizeIcon/MaximizeIcon.js +23 -0
- package/lib/icons/MenuIcon/MenuIcon.d.ts +9 -0
- package/lib/icons/MenuIcon/MenuIcon.js +22 -0
- package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +9 -0
- package/lib/icons/MinimizeIcon/MinimizeIcon.js +23 -0
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +9 -0
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.js +27 -0
- package/lib/icons/MoonIcon/MoonIcon.d.ts +9 -0
- package/lib/icons/MoonIcon/MoonIcon.js +22 -0
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +9 -0
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.js +24 -0
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +9 -0
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.js +24 -0
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +9 -0
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.js +23 -0
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +9 -0
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.js +23 -0
- package/lib/icons/RenewIcon/RenewIcon.d.ts +9 -0
- package/lib/icons/RenewIcon/RenewIcon.js +23 -0
- package/lib/icons/RestartIcon/RestartIcon.d.ts +9 -0
- package/lib/icons/RestartIcon/RestartIcon.js +22 -0
- package/lib/icons/RocketIcon/RocketIcon.d.ts +8 -6
- package/lib/icons/RocketIcon/RocketIcon.js +13 -5
- package/lib/icons/SaveIcon/SaveIcon.d.ts +9 -0
- package/lib/icons/SaveIcon/SaveIcon.js +22 -0
- package/lib/icons/SearchIcon/SearchIcon.d.ts +9 -0
- package/lib/icons/SearchIcon/SearchIcon.js +22 -0
- package/lib/icons/SecurityIcon/SecurityIcon.d.ts +9 -0
- package/lib/icons/SecurityIcon/SecurityIcon.js +23 -0
- package/lib/icons/SelectIcon/SelectIcon.d.ts +4 -5
- package/lib/icons/SelectIcon/SelectIcon.js +11 -4
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +9 -0
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.js +22 -0
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +9 -0
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.js +22 -0
- package/lib/icons/Spinner/Spinner.d.ts +11 -0
- package/lib/icons/Spinner/Spinner.js +41 -0
- package/lib/icons/SpinnerIcon/SpinnerIcon.d.ts +2 -5
- package/lib/icons/SpinnerIcon/SpinnerIcon.js +12 -8
- package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +9 -0
- package/lib/icons/StarFilledIcon/StarFilledIcon.js +22 -0
- package/lib/icons/StarIcon/StarIcon.d.ts +9 -0
- package/lib/icons/StarIcon/StarIcon.js +22 -0
- package/lib/icons/SubtractIcon/SubtractIcon.d.ts +9 -0
- package/lib/icons/SubtractIcon/SubtractIcon.js +22 -0
- package/lib/icons/SunIcon/SunIcon.d.ts +9 -0
- package/lib/icons/SunIcon/SunIcon.js +30 -0
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +9 -0
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.js +22 -0
- package/lib/icons/TimeIcon/TimeIcon.d.ts +9 -0
- package/lib/icons/TimeIcon/TimeIcon.js +23 -0
- package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +9 -0
- package/lib/icons/TrashCanIcon/TrashCanIcon.js +26 -0
- package/lib/icons/UserIcon/UserIcon.d.ts +9 -0
- package/lib/icons/UserIcon/UserIcon.js +23 -0
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +9 -0
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.js +23 -0
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +9 -0
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.js +23 -0
- package/lib/icons/ViewIcon/ViewIcon.d.ts +9 -0
- package/lib/icons/ViewIcon/ViewIcon.js +23 -0
- package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +9 -0
- package/lib/icons/ViewOffIcon/ViewOffIcon.js +24 -0
- package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +9 -0
- package/lib/icons/WarningAltIcon/WarningAltIcon.js +24 -0
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +9 -0
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.js +22 -0
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +9 -0
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.js +24 -0
- package/lib/icons/types.d.ts +6 -0
- package/lib/index.d.ts +206 -9
- package/lib/index.js +245 -9
- package/lib/layouts/DocumentationLayout.d.ts +17 -0
- package/lib/layouts/DocumentationLayout.js +66 -0
- package/lib/layouts/Forbidden.d.ts +0 -1
- package/lib/layouts/Forbidden.js +5 -4
- package/lib/layouts/NotFound.d.ts +0 -1
- package/lib/layouts/NotFound.js +24 -19
- package/lib/layouts/OIDCForbidden.d.ts +0 -1
- package/lib/layouts/OIDCForbidden.js +5 -4
- package/lib/layouts/RootLayout.js +3 -5
- package/lib/layouts/ThreePanelLayout.d.ts +11 -0
- package/lib/layouts/ThreePanelLayout.js +84 -0
- package/lib/markdoc/attributes/code-snippet-file.d.ts +5 -0
- package/lib/markdoc/attributes/code-snippet-file.js +16 -0
- package/lib/markdoc/attributes/img-src.d.ts +5 -0
- package/lib/markdoc/attributes/img-src.js +16 -0
- package/lib/markdoc/attributes/img-srcset.d.ts +5 -0
- package/lib/markdoc/attributes/img-srcset.js +16 -0
- package/lib/markdoc/attributes/relative-path.d.ts +5 -0
- package/lib/markdoc/attributes/relative-path.js +16 -0
- package/lib/markdoc/attributes/svg-content.d.ts +5 -0
- package/lib/markdoc/attributes/svg-content.js +16 -0
- package/lib/markdoc/components/Admonition/Admonition.d.ts +3 -0
- package/lib/markdoc/components/Admonition/Admonition.js +13 -0
- package/lib/markdoc/components/CodeBlock/CodeBlock.d.ts +3 -0
- package/lib/markdoc/components/CodeBlock/CodeBlock.js +13 -0
- package/lib/markdoc/components/Heading/Heading.js +48 -0
- package/lib/markdoc/components/HtmlBlock/HtmlBlock.d.ts +4 -0
- package/lib/markdoc/components/HtmlBlock/HtmlBlock.js +32 -0
- package/lib/markdoc/components/InlineSvg/InlineSvg.d.ts +4 -0
- package/lib/markdoc/components/InlineSvg/InlineSvg.js +32 -0
- package/lib/markdoc/components/MarkdocExample/MarkdocExample.d.ts +11 -0
- package/lib/markdoc/components/MarkdocExample/MarkdocExample.js +47 -0
- package/lib/markdoc/components/Mermaid/Mermaid.d.ts +8 -0
- package/lib/markdoc/components/Mermaid/Mermaid.js +27 -0
- package/lib/markdoc/components/Mermaid/variables.d.ts +1 -0
- package/lib/markdoc/components/Mermaid/variables.dark.d.ts +1 -0
- package/lib/markdoc/components/Mermaid/variables.dark.js +8 -0
- package/lib/markdoc/components/Mermaid/variables.js +16 -0
- package/lib/markdoc/components/Tabs/Tab.d.ts +12 -0
- package/lib/markdoc/components/Tabs/Tab.js +98 -0
- package/lib/markdoc/components/Tabs/Tabs.d.ts +14 -0
- package/lib/markdoc/components/Tabs/Tabs.js +79 -0
- package/lib/markdoc/components/Tabs/variables.d.ts +1 -0
- package/lib/markdoc/components/Tabs/variables.js +70 -0
- package/lib/markdoc/components/default.d.ts +9 -0
- package/lib/markdoc/components/default.js +26 -0
- package/lib/markdoc/default.d.ts +9 -0
- package/lib/markdoc/default.js +59 -0
- package/lib/markdoc/tags/admonition.d.ts +2 -0
- package/lib/markdoc/tags/admonition.js +14 -0
- package/lib/markdoc/tags/code-snippet.d.ts +2 -0
- package/lib/markdoc/tags/code-snippet.js +60 -0
- package/lib/markdoc/tags/debug.d.ts +2 -0
- package/lib/markdoc/tags/debug.js +20 -0
- package/lib/markdoc/tags/html.d.ts +2 -0
- package/lib/markdoc/tags/html.js +25 -0
- package/lib/markdoc/tags/inline-svg.d.ts +2 -0
- package/lib/markdoc/tags/inline-svg.js +16 -0
- package/lib/markdoc/tags/markdoc-example.d.ts +2 -0
- package/lib/markdoc/tags/markdoc-example.js +32 -0
- package/lib/markdoc/tags/partial.d.ts +2 -0
- package/lib/markdoc/tags/partial.js +36 -0
- package/lib/markdoc/tags/tab.d.ts +2 -0
- package/lib/markdoc/tags/tab.js +13 -0
- package/lib/markdoc/tags/tabs.d.ts +2 -0
- package/lib/markdoc/tags/tabs.js +27 -0
- package/lib/markdoc/tags/types.d.ts +5 -0
- package/package.json +20 -10
- package/src/components/Admonition/Admonition.tsx +125 -0
- package/src/components/Admonition/variables.ts +97 -0
- package/src/components/Badge/Badge.tsx +24 -0
- package/src/components/Breadcrumbs/Breadcrumb.tsx +6 -6
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +7 -6
- package/src/components/Breadcrumbs/variables.ts +17 -0
- package/src/components/Button/Button.tsx +133 -107
- package/src/components/Button/variables.dark.ts +27 -0
- package/src/components/Button/variables.ts +218 -0
- package/src/components/Buttons/CopyButton.tsx +75 -0
- package/src/components/Buttons/EditPageButton.tsx +56 -0
- package/src/components/Buttons/EmailButton.tsx +28 -0
- package/src/components/Buttons/NewTabButton.tsx +28 -0
- package/src/components/Catalog/Catalog.tsx +56 -99
- package/src/components/Catalog/CatalogActions.tsx +66 -0
- package/src/components/Catalog/CatalogCard.tsx +77 -100
- package/src/components/Catalog/CatalogHighlight.tsx +56 -0
- package/src/components/Catalog/CatalogInfoBlock.tsx +83 -0
- package/src/components/Catalog/variables.ts +103 -0
- package/src/components/CodeBlock/CodeBlock.tsx +54 -47
- package/src/components/CodeBlock/CodeBlockContainer.tsx +99 -108
- package/src/components/CodeBlock/CodeBlockControls.tsx +81 -132
- package/src/components/CodeBlock/CodeBlockTabs.tsx +133 -0
- package/src/components/CodeBlock/variables.ts +92 -0
- package/src/components/ColorModeSwitcher/ColorModeIcon.tsx +28 -0
- package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +19 -63
- package/src/components/DatePicker/DatePicker.tsx +74 -0
- package/src/components/DatePicker/variables.ts +21 -0
- package/src/components/Dropdown/Dropdown.tsx +68 -93
- package/src/components/Dropdown/DropdownMenu.tsx +75 -0
- package/src/components/Dropdown/DropdownMenuItem.tsx +179 -0
- package/src/components/Dropdown/variables.ts +41 -0
- package/src/components/Feedback/Comment.tsx +97 -65
- package/src/components/Feedback/Feedback.tsx +61 -73
- package/src/components/Feedback/Mood.tsx +117 -105
- package/src/components/Feedback/Rating.tsx +91 -67
- package/src/components/Feedback/Reasons.tsx +25 -16
- package/src/components/Feedback/ReportDialog.tsx +50 -25
- package/src/components/Feedback/Scale.tsx +92 -68
- package/src/components/Feedback/Sentiment.tsx +121 -110
- package/src/components/Feedback/Stars.tsx +15 -16
- package/src/components/Feedback/variables.ts +31 -0
- package/src/components/Filter/Filter.tsx +16 -259
- package/src/components/Filter/FilterCheckboxes.tsx +58 -0
- package/src/components/Filter/FilterContent.tsx +43 -53
- package/src/components/Filter/FilterDateRange.tsx +97 -0
- package/src/components/Filter/FilterInput.tsx +73 -0
- package/src/components/Filter/FilterOption.tsx +16 -0
- package/src/components/Filter/FilterOptionLabel.tsx +12 -0
- package/src/components/Filter/FilterOptions.tsx +10 -0
- package/src/components/Filter/FilterPopover.tsx +21 -77
- package/src/components/Filter/FilterSelect.tsx +83 -0
- package/src/components/Filter/FilterTitle.tsx +9 -0
- package/src/components/Filter/variables.ts +95 -0
- package/src/components/Footer/Footer.tsx +66 -47
- package/src/components/Footer/FooterColumn.tsx +54 -106
- package/src/components/Footer/FooterCopyright.tsx +17 -11
- package/src/components/Footer/FooterItem.tsx +94 -0
- package/src/components/Footer/FooterLogo.tsx +13 -0
- package/src/components/Footer/variables.ts +59 -0
- package/src/components/Image/Image.tsx +2 -12
- package/src/components/JsonViewer/JsonViewer.tsx +47 -177
- package/src/components/JsonViewer/helpers.tsx +207 -0
- package/src/components/LanguagePicker/LanguagePicker.tsx +99 -0
- package/src/components/LanguagePicker/variables.ts +34 -0
- package/src/components/LastUpdated/LastUpdated.tsx +8 -9
- package/src/components/LastUpdated/variables.ts +8 -0
- package/src/components/Link/Link.tsx +38 -0
- package/src/components/Loading/Loading.tsx +27 -0
- package/src/components/Logo/Logo.tsx +50 -0
- package/src/components/Logo/variables.ts +14 -0
- package/src/components/Markdown/Markdown.tsx +278 -0
- package/src/components/Markdown/styles/baseTable.ts +61 -0
- package/src/components/Markdown/styles/headingAnchor.ts +35 -0
- package/src/components/Markdown/styles/links.ts +20 -0
- package/src/components/Markdown/variables.ts +96 -0
- package/src/components/Menu/Menu.tsx +34 -16
- package/src/components/Menu/MenuContainer.tsx +44 -8
- package/src/components/Menu/MenuItem.tsx +295 -36
- package/src/components/Menu/MenuMobile.tsx +182 -0
- package/src/components/Menu/variables.dark.ts +8 -0
- package/src/components/Menu/variables.ts +176 -0
- package/src/components/Navbar/Navbar.tsx +83 -130
- package/src/components/Navbar/NavbarItem.tsx +82 -91
- package/src/components/Navbar/NavbarLogo.tsx +13 -0
- package/src/components/Navbar/NavbarMenu.tsx +14 -10
- package/src/components/Navbar/variables.ts +51 -0
- package/src/components/PageNavigation/NextButton.tsx +39 -20
- package/src/components/PageNavigation/PageNavigation.tsx +7 -6
- package/src/components/PageNavigation/PreviousButton.tsx +39 -23
- package/src/components/Panel/Panel.tsx +111 -0
- package/src/components/Panel/PanelBody.ts +1 -3
- package/src/components/Panel/PanelHeader.ts +14 -7
- package/src/components/Panel/PanelHeaderTitle.ts +1 -0
- package/src/components/Panel/variables.ts +408 -0
- package/src/components/Portal/Portal.tsx +20 -0
- package/src/components/Product/Product.tsx +5 -5
- package/src/components/Product/ProductPicker.tsx +67 -76
- package/src/components/Product/variables.ts +36 -0
- package/src/components/Scorecard/variables.dark.ts +17 -0
- package/src/components/Scorecard/variables.ts +21 -0
- package/src/components/Search/Search.tsx +13 -47
- package/src/components/Search/SearchDialog.tsx +121 -85
- package/src/components/Search/SearchHighlight.tsx +20 -0
- package/src/components/Search/SearchInput.tsx +84 -0
- package/src/components/Search/SearchItem.tsx +119 -94
- package/src/components/Search/SearchRecent.tsx +129 -0
- package/src/components/Search/SearchShortcut.tsx +32 -0
- package/src/components/Search/SearchSuggestedPages.tsx +84 -0
- package/src/components/Search/SearchTrigger.tsx +69 -42
- package/src/components/Search/variables.ts +95 -0
- package/src/components/Segmented/Segmented.tsx +88 -0
- package/src/components/Segmented/variables.dark.ts +6 -0
- package/src/components/Segmented/variables.ts +23 -0
- package/src/components/Select/Select.tsx +67 -49
- package/src/components/Select/variables.ts +34 -0
- package/src/components/Sidebar/Sidebar.tsx +123 -15
- package/src/components/Sidebar/variables.ts +57 -0
- package/src/components/SidebarActions/ChangeViewButton.tsx +22 -6
- package/src/components/SidebarActions/SidebarActions.tsx +36 -46
- package/src/components/SidebarActions/styled.tsx +21 -110
- package/src/components/SidebarLogo/SidebarLogo.tsx +1 -1
- package/src/components/StatusCode/StatusCode.ts +32 -0
- package/src/components/StatusCode/variables.dark.ts +5 -0
- package/src/components/StatusCode/variables.ts +13 -0
- package/src/components/TableOfContent/TableOfContent.tsx +51 -42
- package/src/components/TableOfContent/variables.ts +46 -0
- package/src/components/Tag/Tag.tsx +40 -9
- package/src/components/Tag/variables.dark.ts +16 -0
- package/src/components/Tag/variables.ts +185 -0
- package/src/components/Tags/CounterTag.tsx +13 -0
- package/src/components/Tags/HttpTag.tsx +24 -0
- package/src/components/Tags/variables.ts +18 -0
- package/src/components/Tooltip/Tooltip.tsx +6 -6
- package/src/components/Tooltip/variables.ts +18 -0
- package/src/components/Typography/CompactTypography.ts +1 -1
- package/src/components/Typography/H1.ts +1 -1
- package/src/components/Typography/H2.ts +1 -1
- package/src/components/Typography/H3.ts +1 -1
- package/src/components/Typography/H4.ts +13 -0
- package/src/components/Typography/Typography.ts +1 -1
- package/src/components/UserMenu/LoginButton.tsx +31 -0
- package/src/components/UserMenu/LogoutMenuItem.tsx +37 -0
- package/src/components/UserMenu/UserAvatar.tsx +63 -0
- package/src/components/UserMenu/UserInfoMenuItem.tsx +73 -0
- package/src/components/UserMenu/UserMenu.tsx +130 -0
- package/src/components/UserMenu/UserMenuMobile.tsx +63 -0
- package/src/components/UserMenu/variables.ts +61 -0
- package/src/components/VersionPicker/VersionPicker.tsx +110 -0
- package/src/components/VersionPicker/variables.ts +39 -0
- package/src/config.ts +31 -779
- package/src/core/constants/common.ts +25 -0
- package/src/core/constants/environments.ts +9 -0
- package/src/core/constants/index.ts +2 -0
- package/src/core/contexts/ThemeDataContext.tsx +15 -0
- package/src/core/contexts/index.ts +1 -0
- package/src/core/hoc/index.ts +1 -0
- package/src/core/hoc/typedMemo.ts +3 -0
- package/src/core/hooks/__mocks__/index.ts +23 -0
- package/src/core/hooks/__mocks__/search/use-recent-searches.ts +8 -0
- package/src/core/hooks/__mocks__/search/use-suggested-pages.ts +8 -0
- package/src/core/hooks/__mocks__/use-mobile-menu.ts +1 -0
- package/src/core/hooks/__mocks__/use-theme-config.ts +8 -0
- package/src/core/hooks/__mocks__/use-theme-hooks.ts +75 -0
- package/src/core/hooks/feedback/use-report-dialog.ts +56 -0
- package/src/core/hooks/index.ts +29 -0
- package/src/core/hooks/menu/__mocks__/use-mobile-menu-items.ts +30 -0
- package/src/core/hooks/menu/use-collapse.ts +212 -0
- package/src/core/hooks/menu/use-menu-item-expanded.ts +30 -0
- package/src/core/hooks/menu/use-mobile-menu-items.ts +110 -0
- package/src/core/hooks/menu/use-mobile-menu-levels.ts +50 -0
- package/src/core/hooks/menu/use-nested-menu.ts +78 -0
- package/src/core/hooks/search/use-recent-searches.ts +47 -0
- package/src/core/hooks/search/use-suggested-pages.ts +7 -0
- package/src/core/hooks/use-active-section-id.ts +54 -0
- package/src/core/hooks/use-codeblock-tabs-controls.ts +62 -0
- package/src/core/hooks/use-color-switcher.ts +34 -0
- package/src/core/hooks/use-controlled-state.ts +23 -0
- package/src/core/hooks/use-focus-trap.ts +39 -0
- package/src/core/hooks/use-language-picker.ts +31 -0
- package/src/core/hooks/use-mobile-menu.ts +17 -0
- package/src/core/hooks/use-modal-scroll-lock.ts +21 -0
- package/src/core/hooks/use-navbar-height.ts +25 -0
- package/src/core/hooks/use-outside-click.ts +23 -0
- package/src/core/hooks/use-product-picker.ts +20 -0
- package/src/core/hooks/use-search.ts +42 -0
- package/src/core/hooks/use-tabs.ts +62 -0
- package/src/core/hooks/use-theme-config.ts +31 -0
- package/src/core/hooks/use-theme-hooks.ts +31 -0
- package/src/core/index.ts +7 -0
- package/src/core/styles/dark.ts +300 -0
- package/src/core/styles/global.ts +1224 -0
- package/src/core/styles/index.ts +2 -0
- package/src/core/templates/Markdown.tsx +68 -0
- package/src/core/types/breadcrumb.ts +1 -0
- package/src/core/types/catalog.ts +39 -0
- package/src/core/types/feedback.ts +27 -0
- package/src/core/types/filter.ts +9 -0
- package/src/core/types/hooks.ts +113 -0
- package/src/core/types/i18n.ts +142 -0
- package/src/core/types/index.ts +12 -0
- package/src/core/types/markdown.ts +5 -0
- package/src/core/types/navbar.ts +7 -0
- package/src/core/types/search.ts +25 -0
- package/src/core/types/select-option.ts +4 -0
- package/src/core/types/sidebar.ts +70 -0
- package/src/core/types/user-menu.ts +12 -0
- package/src/core/utils/attribute-parser.ts +11 -0
- package/src/core/utils/change-text-casing.ts +18 -0
- package/src/core/utils/details.ts +43 -0
- package/src/core/utils/dom.ts +9 -0
- package/src/core/utils/format-date-without-timezone.ts +9 -0
- package/src/core/utils/get-scorecard-color-variable.ts +18 -0
- package/src/core/utils/index.ts +26 -0
- package/src/core/utils/js-utils.ts +25 -0
- package/src/core/utils/load-and-navigate.ts +46 -0
- package/src/core/utils/markdoc.ts +5 -0
- package/src/core/utils/media-css.ts +7 -0
- package/src/core/utils/menu.ts +123 -0
- package/src/core/utils/toc.ts +42 -0
- package/src/core/utils/type-guards.ts +19 -0
- package/src/core/utils/urls.ts +123 -0
- package/src/core/utils/with-load-progress.ts +25 -0
- package/src/icons/AddIcon/AddIcon.tsx +23 -0
- package/src/icons/ArrowLeftIcon/ArrowLeftIcon.tsx +30 -0
- package/src/icons/ArrowRightIcon/ArrowRightIcon.tsx +23 -0
- package/src/icons/ArrowUpRightIcon/ArrowUpRightIcon.tsx +23 -0
- package/src/icons/BareMetalServerIcon/BareMetalServerIcon.tsx +28 -0
- package/src/icons/BookmarkAddIcon/BookmarkAddIcon.tsx +23 -0
- package/src/icons/CharacterIcon/CharacterIcon.tsx +25 -0
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +10 -13
- package/src/icons/CheckboxIcon/variables.dark.ts +7 -0
- package/src/icons/CheckboxIcon/variables.ts +19 -0
- package/src/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.tsx +23 -0
- package/src/icons/CheckmarkIcon/CheckmarkIcon.tsx +23 -0
- package/src/icons/ChevronDownIcon/ChevronDownIcon.tsx +24 -0
- package/src/icons/ChevronLeftIcon/ChevronLeftIcon.tsx +23 -0
- package/src/icons/ChevronRightIcon/ChevronRightIcon.tsx +23 -0
- package/src/icons/ChevronSortIcon/ChevronSortIcon.tsx +36 -0
- package/src/icons/ChevronUpIcon/ChevronUpIcon.tsx +24 -0
- package/src/icons/CircleDashIcon/CircleDashIcon.tsx +32 -0
- package/src/icons/CleanIcon/CleanIcon.tsx +26 -0
- package/src/icons/CloseFilledIcon/CloseFilledIcon.tsx +22 -0
- package/src/icons/CloseIcon/CloseIcon.tsx +15 -4
- package/src/icons/CloudUploadIcon/CloudUploadIcon.tsx +24 -0
- package/src/icons/CodeIcon/CodeIcon.tsx +25 -0
- package/src/icons/ContrastIcon/ContrastIcon.tsx +23 -0
- package/src/icons/CookieIcon/CookieIcon.tsx +30 -0
- package/src/icons/CopyIcon/CopyIcon.tsx +14 -19
- package/src/icons/CopyLinkIcon/CopyLinkIcon.tsx +25 -0
- package/src/icons/DataFormatIcon/DataFormatIcon.tsx +27 -0
- package/src/icons/DatabaseIcon/DatabaseIcon.tsx +23 -0
- package/src/icons/DeselectIcon/DeselectIcon.tsx +14 -9
- package/src/icons/DocumentBlankIcon/DocumentBlankIcon.tsx +23 -0
- package/src/icons/DocumentIcon/DocumentIcon.tsx +32 -0
- package/src/icons/DocumentIcon/index.ts +1 -0
- package/src/icons/DownloadIcon/DownloadIcon.tsx +24 -0
- package/src/icons/EditIcon/EditIcon.tsx +16 -22
- package/src/icons/EmailIcon/EmailIcon.tsx +23 -0
- package/src/icons/ErrorIcon/ErrorIcon.tsx +15 -7
- package/src/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.tsx +26 -0
- package/src/icons/FaceNeutralIcon/FaceNeutralIcon.tsx +26 -0
- package/src/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.tsx +26 -0
- package/src/icons/FileIcon/FileIcon.tsx +14 -24
- package/src/icons/FileStorageIcon/FileStorageIcon.tsx +25 -0
- package/src/icons/FilterIcon/FilterIcon.tsx +26 -0
- package/src/icons/FolderAddIcon/FolderAddIcon.tsx +24 -0
- package/src/icons/FolderMoveToIcon/FolderMoveToIcon.tsx +24 -0
- package/src/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.tsx +23 -0
- package/src/icons/GridIcon/GridIcon.tsx +38 -0
- package/src/icons/HorizontalViewIcon/HorizontalViewIcon.tsx +24 -0
- package/src/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.tsx +26 -0
- package/src/icons/InformationFilledIcon/InformationFilledIcon.tsx +23 -0
- package/src/icons/InformationIcon/InformationIcon.tsx +25 -0
- package/src/icons/JsonIcon/JsonIcon.tsx +33 -0
- package/src/icons/LaunchIcon/LaunchIcon.tsx +24 -0
- package/src/icons/LinkIcon/LinkIcon.tsx +24 -0
- package/src/icons/LogoutIcon/LogoutIcon.tsx +16 -12
- package/src/icons/MaximizeIcon/MaximizeIcon.tsx +24 -0
- package/src/icons/MenuIcon/MenuIcon.tsx +27 -0
- package/src/icons/MinimizeIcon/MinimizeIcon.tsx +24 -0
- package/src/icons/MobileSidebarIcon/MobileSidebarIcon.tsx +34 -0
- package/src/icons/MoonIcon/MoonIcon.tsx +23 -0
- package/src/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.tsx +25 -0
- package/src/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.tsx +25 -0
- package/src/icons/PlusCustomIcon/PlusCustomIcon.tsx +31 -0
- package/src/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.tsx +1 -0
- package/src/icons/RecentlyViewedIcon/RecentlyViewedIcon.tsx +24 -0
- package/src/icons/RenewIcon/RenewIcon.tsx +24 -0
- package/src/icons/RestartIcon/RestartIcon.tsx +23 -0
- package/src/icons/RocketIcon/RocketIcon.tsx +16 -24
- package/src/icons/SaveIcon/SaveIcon.tsx +23 -0
- package/src/icons/SearchIcon/SearchIcon.tsx +23 -0
- package/src/icons/SecurityIcon/SecurityIcon.tsx +24 -0
- package/src/icons/SelectIcon/SelectIcon.tsx +14 -8
- package/src/icons/SidePanelCloseIcon/SidePanelCloseIcon.tsx +23 -0
- package/src/icons/SidePanelOpenIcon/SidePanelOpenIcon.tsx +23 -0
- package/src/icons/Spinner/Spinner.tsx +19 -0
- package/src/icons/SpinnerIcon/SpinnerIcon.tsx +14 -9
- package/src/icons/StarFilledIcon/StarFilledIcon.tsx +23 -0
- package/src/icons/StarIcon/StarIcon.tsx +23 -0
- package/src/icons/SubtractIcon/SubtractIcon.tsx +30 -0
- package/src/icons/SunIcon/SunIcon.tsx +31 -0
- package/src/icons/TableBuiltIcon/TableBuiltIcon.tsx +23 -0
- package/src/icons/TimeIcon/TimeIcon.tsx +24 -0
- package/src/icons/TrashCanIcon/TrashCanIcon.tsx +27 -0
- package/src/icons/UserIcon/UserIcon.tsx +30 -0
- package/src/icons/ValueVariableIcon/ValueVariableIcon.tsx +24 -0
- package/src/icons/VerticalViewIcon/VerticalViewIcon.tsx +24 -0
- package/src/icons/ViewIcon/ViewIcon.tsx +24 -0
- package/src/icons/ViewOffIcon/ViewOffIcon.tsx +25 -0
- package/src/icons/WarningAltIcon/WarningAltIcon.tsx +25 -0
- package/src/icons/WarningFilledIcon/WarningFilledIcon.tsx +23 -0
- package/src/icons/WarningSquareIcon/WarningSquareIcon.tsx +25 -0
- package/src/icons/types.ts +7 -0
- package/src/index.ts +234 -10
- package/src/layouts/DocumentationLayout.tsx +96 -0
- package/src/layouts/Forbidden.tsx +10 -4
- package/src/layouts/NotFound.tsx +38 -22
- package/src/layouts/OIDCForbidden.tsx +4 -3
- package/src/layouts/RootLayout.tsx +4 -7
- package/src/layouts/ThreePanelLayout.tsx +55 -0
- package/src/markdoc/attributes/code-snippet-file.ts +9 -0
- package/src/markdoc/attributes/img-src.ts +9 -0
- package/src/markdoc/attributes/img-srcset.ts +9 -0
- package/src/markdoc/attributes/relative-path.ts +9 -0
- package/src/markdoc/attributes/svg-content.ts +9 -0
- package/src/markdoc/components/Admonition/Admonition.tsx +10 -0
- package/src/markdoc/components/CodeBlock/CodeBlock.tsx +10 -0
- package/src/markdoc/components/Heading/Heading.tsx +51 -0
- package/src/markdoc/components/HtmlBlock/HtmlBlock.tsx +5 -0
- package/src/markdoc/components/InlineSvg/InlineSvg.tsx +10 -0
- package/src/markdoc/components/MarkdocExample/MarkdocExample.tsx +36 -0
- package/src/markdoc/components/Mermaid/Mermaid.tsx +42 -0
- package/src/markdoc/components/Mermaid/variables.dark.ts +5 -0
- package/src/markdoc/components/Mermaid/variables.ts +13 -0
- package/src/markdoc/components/Tabs/Tab.tsx +97 -0
- package/src/markdoc/components/Tabs/Tabs.tsx +105 -0
- package/src/markdoc/components/Tabs/variables.ts +67 -0
- package/src/markdoc/components/default.ts +9 -0
- package/src/markdoc/default.ts +30 -0
- package/src/markdoc/tags/admonition.ts +12 -0
- package/src/markdoc/tags/code-snippet.ts +66 -0
- package/src/markdoc/tags/debug.ts +17 -0
- package/src/markdoc/tags/html.ts +22 -0
- package/src/markdoc/tags/inline-svg.ts +15 -0
- package/src/markdoc/tags/markdoc-example.ts +38 -0
- package/src/markdoc/tags/partial.ts +47 -0
- package/src/markdoc/tags/tab.ts +11 -0
- package/src/markdoc/tags/tabs.ts +26 -0
- package/src/markdoc/tags/types.ts +6 -0
- package/src/settings.yaml +1 -1
- package/lib/components/Breadcrumbs/index.d.ts +0 -3
- package/lib/components/Breadcrumbs/index.js +0 -20
- package/lib/components/Breadcrumbs/styledVariables.js +0 -20
- package/lib/components/Button/index.d.ts +0 -2
- package/lib/components/Button/index.js +0 -19
- package/lib/components/Button/styledVariables.js +0 -118
- package/lib/components/Cards/Card.d.ts +0 -9
- package/lib/components/Cards/Card.js +0 -38
- package/lib/components/Cards/CardsBlock.d.ts +0 -1
- package/lib/components/Cards/CardsBlock.js +0 -16
- package/lib/components/Cards/index.d.ts +0 -2
- package/lib/components/Cards/index.js +0 -19
- package/lib/components/Catalog/index.d.ts +0 -4
- package/lib/components/Catalog/index.js +0 -21
- package/lib/components/Catalog/styledVariables.js +0 -97
- package/lib/components/Catalog/useCatalog.d.ts +0 -4
- package/lib/components/Catalog/useCatalog.js +0 -317
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +0 -4
- package/lib/components/CodeBlock/CodeBlockControlButton.js +0 -52
- package/lib/components/CodeBlock/index.d.ts +0 -5
- package/lib/components/CodeBlock/index.js +0 -22
- package/lib/components/CodeBlock/styledVariables.js +0 -94
- package/lib/components/ColorModeSwitcher/index.d.ts +0 -1
- package/lib/components/ColorModeSwitcher/index.js +0 -18
- package/lib/components/CopyButton/CopyButton.d.ts +0 -15
- package/lib/components/CopyButton/CopyButton.js +0 -53
- package/lib/components/CopyButton/index.d.ts +0 -1
- package/lib/components/CopyButton/index.js +0 -18
- package/lib/components/Dropdown/index.d.ts +0 -2
- package/lib/components/Dropdown/index.js +0 -19
- package/lib/components/Dropdown/styledVariables.js +0 -30
- package/lib/components/EditPageButton/EditPageButton.d.ts +0 -5
- package/lib/components/EditPageButton/EditPageButton.js +0 -43
- package/lib/components/EditPageButton/index.d.ts +0 -1
- package/lib/components/EditPageButton/index.js +0 -18
- package/lib/components/Feedback/Emotions.d.ts +0 -4
- package/lib/components/Feedback/Emotions.js +0 -57
- package/lib/components/Feedback/Thumbs.d.ts +0 -3
- package/lib/components/Feedback/Thumbs.js +0 -49
- package/lib/components/Feedback/index.d.ts +0 -10
- package/lib/components/Feedback/index.js +0 -37
- package/lib/components/Feedback/types.d.ts +0 -128
- package/lib/components/Feedback/useReportDialog.d.ts +0 -13
- package/lib/components/Feedback/useReportDialog.js +0 -46
- 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/index.d.ts +0 -6
- package/lib/components/Filter/index.js +0 -23
- package/lib/components/Filter/styledVariables.js +0 -111
- package/lib/components/Footer/CustomFooter.d.ts +0 -8
- package/lib/components/Footer/CustomFooter.js +0 -35
- package/lib/components/Footer/CustomFooterNavItem.d.ts +0 -8
- package/lib/components/Footer/CustomFooterNavItem.js +0 -33
- package/lib/components/Footer/FooterColumns.d.ts +0 -10
- package/lib/components/Footer/FooterColumns.js +0 -46
- package/lib/components/Footer/index.d.ts +0 -5
- package/lib/components/Footer/index.js +0 -22
- package/lib/components/Footer/styledVariables.js +0 -61
- package/lib/components/Image/index.d.ts +0 -1
- package/lib/components/Image/index.js +0 -18
- package/lib/components/JsonViewer/index.d.ts +0 -1
- package/lib/components/JsonViewer/index.js +0 -18
- package/lib/components/LastUpdated/index.d.ts +0 -2
- package/lib/components/LastUpdated/index.js +0 -19
- package/lib/components/LastUpdated/styledVariables.js +0 -11
- package/lib/components/Markdown/Admonition.d.ts +0 -12
- package/lib/components/Markdown/Admonition.js +0 -60
- package/lib/components/Markdown/ContainerWrapper.d.ts +0 -3
- package/lib/components/Markdown/ContainerWrapper.js +0 -27
- package/lib/components/Markdown/Details.d.ts +0 -7
- package/lib/components/Markdown/Details.js +0 -17
- package/lib/components/Markdown/Heading.js +0 -48
- package/lib/components/Markdown/MarkdownLayout.d.ts +0 -17
- package/lib/components/Markdown/MarkdownLayout.js +0 -47
- package/lib/components/Markdown/MarkdownWrapper.d.ts +0 -8
- package/lib/components/Markdown/MarkdownWrapper.js +0 -421
- package/lib/components/Markdown/Mermaid.d.ts +0 -9
- package/lib/components/Markdown/Mermaid.js +0 -23
- package/lib/components/Markdown/PageWrapper.d.ts +0 -1
- package/lib/components/Markdown/PageWrapper.js +0 -16
- package/lib/components/Markdown/Sup.d.ts +0 -4
- package/lib/components/Markdown/Sup.js +0 -14
- package/lib/components/Markdown/index.d.ts +0 -10
- package/lib/components/Markdown/index.js +0 -27
- package/lib/components/Markdown/styledVariables.d.ts +0 -3
- package/lib/components/Markdown/styledVariables.js +0 -285
- package/lib/components/Menu/MenuGroup.d.ts +0 -10
- package/lib/components/Menu/MenuGroup.js +0 -107
- package/lib/components/Menu/MenuItemLabel.d.ts +0 -3
- package/lib/components/Menu/MenuItemLabel.js +0 -51
- package/lib/components/Menu/MenuItemSwitch.d.ts +0 -4
- package/lib/components/Menu/MenuItemSwitch.js +0 -40
- package/lib/components/Menu/MenuLink.d.ts +0 -2
- package/lib/components/Menu/MenuLink.js +0 -16
- package/lib/components/Menu/MenuLinkItem.d.ts +0 -3
- package/lib/components/Menu/MenuLinkItem.js +0 -16
- package/lib/components/Menu/MobileMenu.d.ts +0 -4
- package/lib/components/Menu/MobileMenu.js +0 -144
- package/lib/components/Menu/MobileMenuGroup.d.ts +0 -9
- package/lib/components/Menu/MobileMenuGroup.js +0 -61
- package/lib/components/Menu/constants.d.ts +0 -5
- package/lib/components/Menu/constants.js +0 -10
- package/lib/components/Menu/hooks/use-mobile-menu-items.d.ts +0 -2
- package/lib/components/Menu/hooks/use-mobile-menu-items.js +0 -80
- package/lib/components/Menu/hooks/use-mobile-menu-levels.d.ts +0 -5
- package/lib/components/Menu/hooks/use-mobile-menu-levels.js +0 -46
- package/lib/components/Menu/index.d.ts +0 -13
- package/lib/components/Menu/index.js +0 -30
- package/lib/components/Menu/styledVariables.d.ts +0 -2
- package/lib/components/Menu/styledVariables.js +0 -103
- package/lib/components/Menu/types.d.ts +0 -4
- package/lib/components/Menu/utils.d.ts +0 -8
- package/lib/components/Menu/utils.js +0 -76
- package/lib/components/Navbar/BurgerButton.d.ts +0 -5
- package/lib/components/Navbar/BurgerButton.js +0 -29
- package/lib/components/Navbar/index.d.ts +0 -5
- package/lib/components/Navbar/index.js +0 -22
- package/lib/components/Navbar/styledVariables.js +0 -42
- package/lib/components/NavbarLogo/NavbarLogo.d.ts +0 -10
- package/lib/components/NavbarLogo/NavbarLogo.js +0 -34
- package/lib/components/NavbarLogo/index.d.ts +0 -2
- package/lib/components/NavbarLogo/index.js +0 -19
- package/lib/components/NavbarLogo/styledVariables.js +0 -17
- package/lib/components/OpenApiDocs/ClearButton.d.ts +0 -8
- package/lib/components/OpenApiDocs/ClearButton.js +0 -48
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.d.ts +0 -3
- package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.js +0 -178
- package/lib/components/OpenApiDocs/Dropdown.d.ts +0 -28
- package/lib/components/OpenApiDocs/Dropdown.js +0 -150
- package/lib/components/OpenApiDocs/ScorecardBadges.d.ts +0 -11
- package/lib/components/OpenApiDocs/ScorecardBadges.js +0 -58
- package/lib/components/OpenApiDocs/TryItSecurityApps.d.ts +0 -7
- package/lib/components/OpenApiDocs/TryItSecurityApps.js +0 -15
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperationSummary.d.ts +0 -1
- package/lib/components/OpenApiDocs/hooks/AfterOpenApiOperationSummary.js +0 -11
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperationSummary.d.ts +0 -1
- package/lib/components/OpenApiDocs/hooks/BeforeOpenApiOperationSummary.js +0 -11
- package/lib/components/OpenApiDocs/hooks/OpenApiTryItSecurityPanel.d.ts +0 -1
- package/lib/components/OpenApiDocs/hooks/OpenApiTryItSecurityPanel.js +0 -14
- package/lib/components/OpenApiDocs/index.d.ts +0 -10
- package/lib/components/OpenApiDocs/index.js +0 -27
- package/lib/components/PageNavigation/index.d.ts +0 -3
- package/lib/components/PageNavigation/index.js +0 -20
- package/lib/components/Panel/PanelComponent.d.ts +0 -13
- package/lib/components/Panel/PanelComponent.js +0 -65
- package/lib/components/Panel/index.d.ts +0 -6
- package/lib/components/Panel/index.js +0 -23
- package/lib/components/Panel/styledVariables.js +0 -482
- package/lib/components/Product/index.d.ts +0 -3
- package/lib/components/Product/index.js +0 -20
- package/lib/components/Product/styledVariables.d.ts +0 -2
- package/lib/components/Product/styledVariables.js +0 -42
- package/lib/components/Profile/AuthUserProfile.d.ts +0 -2
- package/lib/components/Profile/AuthUserProfile.js +0 -22
- package/lib/components/Profile/LoginLink.d.ts +0 -5
- package/lib/components/Profile/LoginLink.js +0 -37
- package/lib/components/Profile/MobileUserProfile.d.ts +0 -2
- package/lib/components/Profile/MobileUserProfile.js +0 -64
- package/lib/components/Profile/Profile.d.ts +0 -15
- package/lib/components/Profile/Profile.js +0 -86
- package/lib/components/Profile/UserProfile.d.ts +0 -3
- package/lib/components/Profile/UserProfile.js +0 -107
- package/lib/components/Profile/UserProfileData.d.ts +0 -9
- package/lib/components/Profile/UserProfileData.js +0 -35
- package/lib/components/Profile/index.d.ts +0 -10
- package/lib/components/Profile/index.js +0 -28
- package/lib/components/Profile/styledVariables.d.ts +0 -2
- package/lib/components/Profile/styledVariables.js +0 -55
- package/lib/components/Profile/types.d.ts +0 -12
- package/lib/components/Profile/types.js +0 -3
- package/lib/components/Scorecard/Card.d.ts +0 -5
- package/lib/components/Scorecard/Card.js +0 -37
- package/lib/components/Scorecard/Gauge.d.ts +0 -11
- package/lib/components/Scorecard/Gauge.js +0 -61
- package/lib/components/Scorecard/StatusByLevelWidget.d.ts +0 -12
- package/lib/components/Scorecard/StatusByLevelWidget.js +0 -83
- package/lib/components/Search/CancelSearch.d.ts +0 -5
- package/lib/components/Search/CancelSearch.js +0 -48
- package/lib/components/Search/ClearIcon.d.ts +0 -3
- package/lib/components/Search/ClearIcon.js +0 -26
- package/lib/components/Search/ClockBackwardsIcon.d.ts +0 -3
- package/lib/components/Search/ClockBackwardsIcon.js +0 -26
- package/lib/components/Search/Input.d.ts +0 -1
- package/lib/components/Search/Input.js +0 -27
- package/lib/components/Search/InputWrapper.d.ts +0 -11
- package/lib/components/Search/InputWrapper.js +0 -80
- package/lib/components/Search/MobileSearchTrigger.d.ts +0 -5
- package/lib/components/Search/MobileSearchTrigger.js +0 -52
- package/lib/components/Search/Popover.d.ts +0 -1
- package/lib/components/Search/Popover.js +0 -35
- package/lib/components/Search/ProductTag.d.ts +0 -6
- package/lib/components/Search/ProductTag.js +0 -61
- package/lib/components/Search/RecentSearches.d.ts +0 -5
- package/lib/components/Search/RecentSearches.js +0 -126
- package/lib/components/Search/SearchIcon.d.ts +0 -3
- package/lib/components/Search/SearchIcon.js +0 -26
- package/lib/components/Search/Shortcut.d.ts +0 -6
- package/lib/components/Search/Shortcut.js +0 -51
- package/lib/components/Search/ShortcutKey.d.ts +0 -8
- package/lib/components/Search/ShortcutKey.js +0 -26
- package/lib/components/Search/SuggestedPages.d.ts +0 -4
- package/lib/components/Search/SuggestedPages.js +0 -104
- package/lib/components/Search/index.d.ts +0 -19
- package/lib/components/Search/index.js +0 -36
- package/lib/components/Search/styledVariables.js +0 -98
- package/lib/components/Search/utils.d.ts +0 -2
- package/lib/components/Search/utils.js +0 -46
- package/lib/components/Select/index.d.ts +0 -2
- package/lib/components/Select/index.js +0 -19
- package/lib/components/Select/styledVariables.js +0 -34
- package/lib/components/Separator/Separator.d.ts +0 -3
- package/lib/components/Separator/Separator.js +0 -28
- package/lib/components/Separator/SeparatorItem.d.ts +0 -3
- package/lib/components/Separator/SeparatorItem.js +0 -31
- package/lib/components/Separator/SeparatorLine.d.ts +0 -1
- package/lib/components/Separator/SeparatorLine.js +0 -20
- package/lib/components/Separator/index.d.ts +0 -3
- package/lib/components/Separator/index.js +0 -20
- package/lib/components/Sidebar/ApiCallItem.d.ts +0 -7
- package/lib/components/Sidebar/ApiCallItem.js +0 -47
- package/lib/components/Sidebar/BackButton.d.ts +0 -7
- package/lib/components/Sidebar/BackButton.js +0 -42
- package/lib/components/Sidebar/Drilldown.d.ts +0 -9
- package/lib/components/Sidebar/Drilldown.js +0 -45
- package/lib/components/Sidebar/DrilldownMenu.d.ts +0 -3
- package/lib/components/Sidebar/DrilldownMenu.js +0 -75
- package/lib/components/Sidebar/DrilldownMenuItem.d.ts +0 -3
- package/lib/components/Sidebar/DrilldownMenuItem.js +0 -37
- package/lib/components/Sidebar/FooterWrapper.d.ts +0 -3
- package/lib/components/Sidebar/FooterWrapper.js +0 -22
- package/lib/components/Sidebar/HeaderWrapper.d.ts +0 -1
- package/lib/components/Sidebar/HeaderWrapper.js +0 -16
- package/lib/components/Sidebar/MobileSidebarButton.d.ts +0 -3
- package/lib/components/Sidebar/MobileSidebarButton.js +0 -46
- package/lib/components/Sidebar/MobileSidebarIcon.d.ts +0 -4
- package/lib/components/Sidebar/MobileSidebarIcon.js +0 -16
- package/lib/components/Sidebar/SidebarItemIcon.d.ts +0 -1
- package/lib/components/Sidebar/SidebarItemIcon.js +0 -16
- package/lib/components/Sidebar/SidebarLayout.d.ts +0 -18
- package/lib/components/Sidebar/SidebarLayout.js +0 -82
- package/lib/components/Sidebar/VersionPicker.d.ts +0 -11
- package/lib/components/Sidebar/VersionPicker.js +0 -117
- package/lib/components/Sidebar/index.d.ts +0 -15
- package/lib/components/Sidebar/index.js +0 -32
- package/lib/components/Sidebar/styledVariables.d.ts +0 -2
- package/lib/components/Sidebar/styledVariables.js +0 -222
- package/lib/components/Sidebar/types.d.ts +0 -48
- package/lib/components/Sidebar/types.js +0 -8
- package/lib/components/SidebarActions/CollapseSidebarButton.d.ts +0 -7
- package/lib/components/SidebarActions/CollapseSidebarButton.js +0 -53
- package/lib/components/SidebarActions/ToggleRightPanelButton.d.ts +0 -7
- package/lib/components/SidebarActions/ToggleRightPanelButton.js +0 -13
- package/lib/components/SidebarActions/index.d.ts +0 -4
- package/lib/components/SidebarActions/index.js +0 -24
- package/lib/components/SidebarLogo/index.d.ts +0 -1
- package/lib/components/SidebarLogo/index.js +0 -18
- package/lib/components/TableOfContent/index.d.ts +0 -2
- package/lib/components/TableOfContent/index.js +0 -19
- package/lib/components/TableOfContent/styledVariables.js +0 -47
- package/lib/components/TableOfContent/utils.d.ts +0 -4
- package/lib/components/TableOfContent/utils.js +0 -41
- package/lib/components/Tabs/Tab.d.ts +0 -9
- package/lib/components/Tabs/Tab.js +0 -58
- package/lib/components/Tabs/Tabs.d.ts +0 -12
- package/lib/components/Tabs/Tabs.js +0 -89
- package/lib/components/Tabs/index.d.ts +0 -2
- package/lib/components/Tabs/index.js +0 -19
- package/lib/components/Tag/index.d.ts +0 -2
- package/lib/components/Tag/index.js +0 -19
- package/lib/components/Tag/styledVariables.js +0 -148
- package/lib/components/Tiles/ThinTile.d.ts +0 -5
- package/lib/components/Tiles/ThinTile.js +0 -126
- package/lib/components/Tiles/TileHeader.d.ts +0 -3
- package/lib/components/Tiles/TileHeader.js +0 -20
- package/lib/components/Tiles/TileText.d.ts +0 -3
- package/lib/components/Tiles/TileText.js +0 -19
- package/lib/components/Tiles/WideTile.d.ts +0 -7
- package/lib/components/Tiles/WideTile.js +0 -116
- package/lib/components/Tiles/index.d.ts +0 -4
- package/lib/components/Tiles/index.js +0 -21
- package/lib/components/Tiles/types.d.ts +0 -17
- package/lib/components/Tiles/types.js +0 -3
- package/lib/components/Tooltip/index.d.ts +0 -2
- package/lib/components/Tooltip/index.js +0 -19
- package/lib/components/Tooltip/styledVariables.js +0 -21
- package/lib/components/Typography/index.d.ts +0 -7
- package/lib/components/Typography/index.js +0 -24
- package/lib/components/index.d.ts +0 -29
- package/lib/components/index.js +0 -46
- package/lib/globalStyle.js +0 -1000
- package/lib/hooks/__tests__/mocks/MockIntersectionObserver.js +0 -79
- package/lib/hooks/index.d.ts +0 -9
- package/lib/hooks/index.js +0 -26
- package/lib/hooks/useActiveHeading.js +0 -80
- package/lib/hooks/useActiveSectionId.js +0 -44
- package/lib/hooks/useControl.js +0 -16
- package/lib/hooks/useDialogHotKeys.js +0 -45
- package/lib/hooks/useFullHeight.js +0 -48
- package/lib/hooks/useMobileMenu.d.ts +0 -2
- package/lib/hooks/useMobileMenu.js +0 -18
- package/lib/hooks/useModalScrollLock.d.ts +0 -1
- package/lib/hooks/useModalScrollLock.js +0 -16
- package/lib/hooks/useMount.js +0 -12
- package/lib/hooks/useNavbarHeight.js +0 -21
- package/lib/hooks/useOutsideClick.d.ts +0 -2
- package/lib/hooks/useOutsideClick.js +0 -22
- package/lib/hooks/useThemeConfig.d.ts +0 -4
- package/lib/hooks/useThemeConfig.js +0 -17
- package/lib/hooks/useUnmount.js +0 -14
- package/lib/i18n/LanguagePicker.d.ts +0 -9
- package/lib/i18n/LanguagePicker.js +0 -99
- package/lib/i18n/index.d.ts +0 -2
- package/lib/i18n/index.js +0 -21
- package/lib/i18n/styledVariables.js +0 -40
- package/lib/icons/AlertIcon/AlertIcon.d.ts +0 -10
- package/lib/icons/AlertIcon/AlertIcon.js +0 -51
- package/lib/icons/AlertIcon/index.d.ts +0 -2
- package/lib/icons/AlertIcon/index.js +0 -6
- package/lib/icons/AnchorIcon/AnchorIcon.d.ts +0 -7
- package/lib/icons/AnchorIcon/AnchorIcon.js +0 -23
- package/lib/icons/AnchorIcon/index.d.ts +0 -2
- package/lib/icons/AnchorIcon/index.js +0 -6
- package/lib/icons/ArrowIcon/ArrowIcon.d.ts +0 -8
- package/lib/icons/ArrowIcon/ArrowIcon.js +0 -60
- package/lib/icons/ArrowIcon/index.d.ts +0 -2
- package/lib/icons/ArrowIcon/index.js +0 -6
- package/lib/icons/BurgerIcon/BurgerIcon.d.ts +0 -5
- package/lib/icons/BurgerIcon/BurgerIcon.js +0 -15
- package/lib/icons/BurgerIcon/index.d.ts +0 -1
- package/lib/icons/BurgerIcon/index.js +0 -6
- package/lib/icons/CheckboxIcon/index.d.ts +0 -1
- package/lib/icons/CheckboxIcon/index.js +0 -6
- package/lib/icons/CloseIcon/index.d.ts +0 -1
- package/lib/icons/CloseIcon/index.js +0 -6
- package/lib/icons/CollapseIcon/CollapseIcon.d.ts +0 -7
- package/lib/icons/CollapseIcon/CollapseIcon.js +0 -22
- package/lib/icons/CollapseIcon/index.d.ts +0 -1
- package/lib/icons/CollapseIcon/index.js +0 -18
- package/lib/icons/ColorModeIcon/ColorModeIcon.js +0 -33
- package/lib/icons/ColorModeIcon/index.d.ts +0 -2
- package/lib/icons/ColorModeIcon/index.js +0 -6
- package/lib/icons/CopyIcon/index.d.ts +0 -1
- package/lib/icons/CopyIcon/index.js +0 -18
- package/lib/icons/DeselectIcon/index.d.ts +0 -1
- package/lib/icons/DeselectIcon/index.js +0 -18
- package/lib/icons/DissatisfiedIcon/DissatisfiedIcon.d.ts +0 -4
- package/lib/icons/DissatisfiedIcon/DissatisfiedIcon.js +0 -18
- package/lib/icons/DissatisfiedIcon/index.d.ts +0 -1
- package/lib/icons/DissatisfiedIcon/index.js +0 -18
- package/lib/icons/EditIcon/index.d.ts +0 -1
- package/lib/icons/EditIcon/index.js +0 -18
- package/lib/icons/ErrorIcon/index.d.ts +0 -1
- package/lib/icons/ErrorIcon/index.js +0 -18
- package/lib/icons/ExpandIcon/ExpandIcon.d.ts +0 -6
- package/lib/icons/ExpandIcon/ExpandIcon.js +0 -22
- package/lib/icons/ExpandIcon/index.d.ts +0 -1
- package/lib/icons/ExpandIcon/index.js +0 -6
- package/lib/icons/ExternalIcon/ExternalIcon.d.ts +0 -5
- package/lib/icons/ExternalIcon/ExternalIcon.js +0 -22
- package/lib/icons/ExternalIcon/index.d.ts +0 -1
- package/lib/icons/ExternalIcon/index.js +0 -18
- package/lib/icons/FileIcon/index.d.ts +0 -1
- package/lib/icons/FileIcon/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/LanguageIcon/index.js +0 -18
- package/lib/icons/LogoutIcon/index.d.ts +0 -1
- package/lib/icons/LogoutIcon/index.js +0 -6
- package/lib/icons/NeutralIcon/NeutralIcon.d.ts +0 -4
- package/lib/icons/NeutralIcon/NeutralIcon.js +0 -18
- package/lib/icons/NeutralIcon/index.d.ts +0 -1
- package/lib/icons/NeutralIcon/index.js +0 -18
- package/lib/icons/PlusIcon/PlusIcon.d.ts +0 -5
- package/lib/icons/PlusIcon/PlusIcon.js +0 -16
- package/lib/icons/PlusIcon/index.d.ts +0 -1
- package/lib/icons/PlusIcon/index.js +0 -18
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.d.ts +0 -4
- package/lib/icons/PointingArrowIcon/PointingArrowIcon.js +0 -15
- package/lib/icons/PointingArrowIcon/index.d.ts +0 -1
- package/lib/icons/PointingArrowIcon/index.js +0 -18
- package/lib/icons/RadioCheckButtonIcon/index.d.ts +0 -1
- package/lib/icons/RadioCheckButtonIcon/index.js +0 -18
- package/lib/icons/ReportIcon/ReportIcon.d.ts +0 -6
- package/lib/icons/ReportIcon/ReportIcon.js +0 -19
- package/lib/icons/ReportIcon/index.d.ts +0 -1
- package/lib/icons/ReportIcon/index.js +0 -18
- package/lib/icons/RocketIcon/index.d.ts +0 -1
- package/lib/icons/RocketIcon/index.js +0 -18
- package/lib/icons/SatisfiedIcon/SatisfiedIcon.d.ts +0 -4
- package/lib/icons/SatisfiedIcon/SatisfiedIcon.js +0 -18
- package/lib/icons/SatisfiedIcon/index.d.ts +0 -1
- package/lib/icons/SatisfiedIcon/index.js +0 -18
- package/lib/icons/SelectIcon/index.d.ts +0 -1
- package/lib/icons/SelectIcon/index.js +0 -18
- package/lib/icons/ShelfIcon/ShelfIcon.d.ts +0 -12
- package/lib/icons/ShelfIcon/ShelfIcon.js +0 -52
- package/lib/icons/ShelfIcon/index.d.ts +0 -2
- package/lib/icons/ShelfIcon/index.js +0 -6
- package/lib/icons/SpinnerIcon/index.d.ts +0 -1
- package/lib/icons/SpinnerIcon/index.js +0 -6
- package/lib/icons/ThumbDownIcon/index.d.ts +0 -1
- package/lib/icons/ThumbDownIcon/index.js +0 -18
- package/lib/icons/ThumbUpIcon/index.d.ts +0 -1
- package/lib/icons/ThumbUpIcon/index.js +0 -18
- package/lib/icons/index.d.ts +0 -26
- package/lib/icons/index.js +0 -43
- package/lib/layouts/index.d.ts +0 -5
- package/lib/layouts/index.js +0 -22
- package/lib/mocks/Feedback/useSubmitFeedback.d.ts +0 -1
- package/lib/mocks/Feedback/useSubmitFeedback.js +0 -18
- package/lib/mocks/Link.d.ts +0 -2
- package/lib/mocks/Link.js +0 -27
- package/lib/mocks/Profile/useProfileProps.d.ts +0 -1
- package/lib/mocks/Profile/useProfileProps.js +0 -17
- package/lib/mocks/Sidebar/getMenuType.d.ts +0 -2
- package/lib/mocks/Sidebar/getMenuType.js +0 -10
- package/lib/mocks/Sidebar/types.d.ts +0 -11
- package/lib/mocks/Sidebar/types.js +0 -11
- package/lib/mocks/Sidebar/useBreadcrumbs.d.ts +0 -4
- package/lib/mocks/Sidebar/useBreadcrumbs.js +0 -8
- package/lib/mocks/Sidebar/useDrilldown.d.ts +0 -8
- package/lib/mocks/Sidebar/useDrilldown.js +0 -19
- package/lib/mocks/Sidebar/useMenuGroup.d.ts +0 -6
- package/lib/mocks/Sidebar/useMenuGroup.js +0 -17
- package/lib/mocks/Sidebar/useSidebarItems.d.ts +0 -3
- package/lib/mocks/Sidebar/useSidebarItems.js +0 -8
- package/lib/mocks/constants/index.d.ts +0 -2
- package/lib/mocks/constants/index.js +0 -6
- package/lib/mocks/hooks/index.d.ts +0 -35
- package/lib/mocks/hooks/index.js +0 -109
- package/lib/mocks/hooks/usePageData.d.ts +0 -6
- package/lib/mocks/hooks/usePageData.js +0 -11
- package/lib/mocks/media-css.d.ts +0 -5
- package/lib/mocks/media-css.js +0 -5
- package/lib/mocks/search.d.ts +0 -32
- package/lib/mocks/search.js +0 -46
- package/lib/mocks/telemetry.d.ts +0 -2
- package/lib/mocks/telemetry.js +0 -7
- package/lib/mocks/types/index.d.ts +0 -1
- package/lib/mocks/types/index.js +0 -3
- package/lib/mocks/types.d.ts +0 -3
- package/lib/mocks/types.js +0 -4
- package/lib/mocks/useGlobalData.d.ts +0 -1
- package/lib/mocks/useGlobalData.js +0 -8
- package/lib/mocks/usePreloadHistory.d.ts +0 -3
- package/lib/mocks/usePreloadHistory.js +0 -13
- package/lib/mocks/utils.d.ts +0 -7
- package/lib/mocks/utils.js +0 -22
- package/lib/types/config.d.ts +0 -5
- package/lib/types/config.js +0 -3
- package/lib/types/portal/index.d.ts +0 -3
- package/lib/types/portal/index.js +0 -19
- package/lib/types/portal/src/shared/constants.d.ts +0 -21
- package/lib/types/portal/src/shared/constants.js +0 -26
- package/lib/types/portal/src/shared/types/activeItem.d.ts +0 -3
- package/lib/types/portal/src/shared/types/activeItem.js +0 -3
- package/lib/types/portal/src/shared/types/catalog.d.ts +0 -43
- package/lib/types/portal/src/shared/types/feedback.d.ts +0 -13
- package/lib/types/portal/src/shared/types/nav.d.ts +0 -173
- package/lib/types/portal/src/shared/types/nav.js +0 -8
- package/lib/types/portal/src/shared/types/searchDocument.d.ts +0 -21
- package/lib/types/portal/src/shared/types/searchDocument.js +0 -5
- package/lib/ui/ArrowBack.d.ts +0 -5
- package/lib/ui/ArrowBack.js +0 -21
- package/lib/ui/Background.d.ts +0 -7
- package/lib/ui/Background.js +0 -21
- package/lib/ui/Box.d.ts +0 -6
- package/lib/ui/Box.js +0 -22
- package/lib/ui/Burger.d.ts +0 -8
- package/lib/ui/Burger.js +0 -32
- package/lib/ui/Checkbox.d.ts +0 -1
- package/lib/ui/Checkbox.js +0 -70
- package/lib/ui/Dropdown.d.ts +0 -8
- package/lib/ui/Dropdown.js +0 -114
- package/lib/ui/Flex.d.ts +0 -10
- package/lib/ui/Flex.js +0 -21
- package/lib/ui/Highlight.d.ts +0 -5
- package/lib/ui/Highlight.js +0 -63
- package/lib/ui/Jumbotron.d.ts +0 -18
- package/lib/ui/Jumbotron.js +0 -51
- package/lib/ui/darkColors.js +0 -251
- package/lib/ui/index.d.ts +0 -9
- package/lib/ui/index.js +0 -27
- package/lib/utils/ClipboardService.js +0 -33
- package/lib/utils/getNavbarElement.js +0 -15
- package/lib/utils/index.d.ts +0 -13
- package/lib/utils/index.js +0 -30
- package/lib/utils/isUrl.js +0 -37
- package/lib/utils/jsUtils.d.ts +0 -4
- package/lib/utils/jsUtils.js +0 -21
- package/lib/utils/jsonToHtml.d.ts +0 -4
- package/lib/utils/jsonToHtml.js +0 -180
- package/lib/utils/media-css.d.ts +0 -12
- package/lib/utils/media-css.js +0 -13
- package/lib/utils/replaceHashInColor.js +0 -8
- package/lib/utils/urls.d.ts +0 -11
- package/lib/utils/urls.js +0 -55
- package/src/components/Breadcrumbs/index.ts +0 -3
- package/src/components/Breadcrumbs/styledVariables.ts +0 -17
- package/src/components/Button/index.ts +0 -2
- package/src/components/Button/styledVariables.ts +0 -115
- package/src/components/Cards/Card.tsx +0 -54
- package/src/components/Cards/CardsBlock.tsx +0 -10
- package/src/components/Cards/index.ts +0 -2
- package/src/components/Catalog/index.ts +0 -4
- package/src/components/Catalog/styledVariables.ts +0 -94
- package/src/components/Catalog/useCatalog.ts +0 -373
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +0 -28
- package/src/components/CodeBlock/index.ts +0 -5
- package/src/components/CodeBlock/styledVariables.ts +0 -91
- package/src/components/ColorModeSwitcher/index.ts +0 -1
- package/src/components/CopyButton/CopyButton.tsx +0 -79
- package/src/components/CopyButton/index.ts +0 -1
- package/src/components/Dropdown/index.ts +0 -2
- package/src/components/Dropdown/styledVariables.ts +0 -27
- package/src/components/EditPageButton/EditPageButton.tsx +0 -54
- package/src/components/EditPageButton/index.ts +0 -1
- package/src/components/Feedback/Emotions.tsx +0 -38
- package/src/components/Feedback/Thumbs.tsx +0 -27
- package/src/components/Feedback/index.ts +0 -10
- package/src/components/Feedback/types.ts +0 -115
- package/src/components/Feedback/useReportDialog.ts +0 -57
- package/src/components/Filter/FilterTag.tsx +0 -37
- package/src/components/Filter/FilterTags.tsx +0 -39
- package/src/components/Filter/index.ts +0 -6
- package/src/components/Filter/styledVariables.ts +0 -108
- package/src/components/Footer/CustomFooter.tsx +0 -46
- package/src/components/Footer/CustomFooterNavItem.tsx +0 -41
- package/src/components/Footer/FooterColumns.tsx +0 -56
- package/src/components/Footer/index.ts +0 -5
- package/src/components/Footer/styledVariables.ts +0 -58
- package/src/components/Image/index.ts +0 -1
- package/src/components/JsonViewer/index.ts +0 -1
- package/src/components/LastUpdated/index.ts +0 -2
- package/src/components/LastUpdated/styledVariables.ts +0 -8
- package/src/components/Markdown/Admonition.tsx +0 -86
- package/src/components/Markdown/ContainerWrapper.tsx +0 -21
- package/src/components/Markdown/Details.tsx +0 -24
- package/src/components/Markdown/Heading.tsx +0 -47
- package/src/components/Markdown/MarkdownLayout.tsx +0 -75
- package/src/components/Markdown/MarkdownWrapper.tsx +0 -404
- package/src/components/Markdown/Mermaid.tsx +0 -38
- package/src/components/Markdown/PageWrapper.tsx +0 -10
- package/src/components/Markdown/Sup.tsx +0 -17
- package/src/components/Markdown/index.ts +0 -10
- package/src/components/Markdown/styledVariables.ts +0 -284
- package/src/components/Menu/MenuGroup.tsx +0 -122
- package/src/components/Menu/MenuItemLabel.tsx +0 -46
- package/src/components/Menu/MenuItemSwitch.tsx +0 -61
- package/src/components/Menu/MenuLink.tsx +0 -11
- package/src/components/Menu/MenuLinkItem.tsx +0 -30
- package/src/components/Menu/MobileMenu.tsx +0 -151
- package/src/components/Menu/MobileMenuGroup.tsx +0 -93
- package/src/components/Menu/constants.ts +0 -5
- package/src/components/Menu/hooks/use-mobile-menu-items.ts +0 -96
- package/src/components/Menu/hooks/use-mobile-menu-levels.ts +0 -50
- package/src/components/Menu/index.ts +0 -13
- package/src/components/Menu/styledVariables.ts +0 -101
- package/src/components/Menu/types.ts +0 -4
- package/src/components/Menu/utils.ts +0 -110
- package/src/components/Navbar/BurgerButton.tsx +0 -34
- package/src/components/Navbar/index.ts +0 -5
- package/src/components/Navbar/styledVariables.ts +0 -39
- package/src/components/NavbarLogo/NavbarLogo.tsx +0 -48
- package/src/components/NavbarLogo/index.ts +0 -2
- package/src/components/NavbarLogo/styledVariables.ts +0 -14
- package/src/components/OpenApiDocs/ClearButton.tsx +0 -32
- package/src/components/OpenApiDocs/DevOnboardingTryItSecurity.tsx +0 -176
- package/src/components/OpenApiDocs/Dropdown.tsx +0 -202
- package/src/components/OpenApiDocs/ScorecardBadges.tsx +0 -83
- package/src/components/OpenApiDocs/TryItSecurityApps.tsx +0 -17
- package/src/components/OpenApiDocs/hooks/AfterOpenApiOperationSummary.tsx +0 -9
- package/src/components/OpenApiDocs/hooks/BeforeOpenApiOperationSummary.tsx +0 -9
- package/src/components/OpenApiDocs/hooks/OpenApiTryItSecurityPanel.tsx +0 -12
- package/src/components/OpenApiDocs/index.ts +0 -10
- package/src/components/PageNavigation/index.ts +0 -3
- package/src/components/Panel/Panel.ts +0 -34
- package/src/components/Panel/PanelComponent.tsx +0 -79
- package/src/components/Panel/index.ts +0 -6
- package/src/components/Panel/styledVariables.ts +0 -480
- package/src/components/Product/index.ts +0 -3
- package/src/components/Product/styledVariables.ts +0 -40
- package/src/components/Profile/AuthUserProfile.tsx +0 -25
- package/src/components/Profile/LoginLink.tsx +0 -46
- package/src/components/Profile/MobileUserProfile.tsx +0 -79
- package/src/components/Profile/Profile.tsx +0 -85
- package/src/components/Profile/UserProfile.tsx +0 -118
- package/src/components/Profile/UserProfileData.tsx +0 -40
- package/src/components/Profile/index.ts +0 -10
- package/src/components/Profile/styledVariables.ts +0 -53
- package/src/components/Profile/types.ts +0 -12
- package/src/components/Scorecard/Card.tsx +0 -33
- package/src/components/Scorecard/Gauge.tsx +0 -52
- package/src/components/Scorecard/StatusByLevelWidget.tsx +0 -71
- package/src/components/Search/CancelSearch.tsx +0 -32
- package/src/components/Search/ClearIcon.tsx +0 -34
- package/src/components/Search/ClockBackwardsIcon.tsx +0 -26
- package/src/components/Search/Input.tsx +0 -21
- package/src/components/Search/InputWrapper.tsx +0 -89
- package/src/components/Search/MobileSearchTrigger.tsx +0 -38
- package/src/components/Search/Popover.tsx +0 -29
- package/src/components/Search/ProductTag.tsx +0 -46
- package/src/components/Search/RecentSearches.tsx +0 -130
- package/src/components/Search/SearchIcon.tsx +0 -39
- package/src/components/Search/Shortcut.tsx +0 -34
- package/src/components/Search/ShortcutKey.tsx +0 -27
- package/src/components/Search/SuggestedPages.tsx +0 -96
- package/src/components/Search/index.ts +0 -19
- package/src/components/Search/styledVariables.ts +0 -95
- package/src/components/Search/utils.tsx +0 -20
- package/src/components/Select/index.ts +0 -2
- package/src/components/Select/styledVariables.ts +0 -31
- package/src/components/Separator/Separator.tsx +0 -34
- package/src/components/Separator/SeparatorItem.tsx +0 -28
- package/src/components/Separator/SeparatorLine.tsx +0 -14
- package/src/components/Separator/index.ts +0 -3
- package/src/components/Sidebar/ApiCallItem.tsx +0 -53
- package/src/components/Sidebar/BackButton.tsx +0 -50
- package/src/components/Sidebar/Drilldown.tsx +0 -49
- package/src/components/Sidebar/DrilldownMenu.tsx +0 -65
- package/src/components/Sidebar/DrilldownMenuItem.tsx +0 -41
- package/src/components/Sidebar/FooterWrapper.tsx +0 -16
- package/src/components/Sidebar/HeaderWrapper.tsx +0 -10
- package/src/components/Sidebar/MobileSidebarButton.tsx +0 -41
- package/src/components/Sidebar/MobileSidebarIcon.tsx +0 -18
- package/src/components/Sidebar/SidebarItemIcon.tsx +0 -10
- package/src/components/Sidebar/SidebarLayout.tsx +0 -109
- package/src/components/Sidebar/VersionPicker.tsx +0 -112
- package/src/components/Sidebar/index.ts +0 -15
- package/src/components/Sidebar/styledVariables.ts +0 -220
- package/src/components/Sidebar/types.ts +0 -52
- package/src/components/SidebarActions/CollapseSidebarButton.tsx +0 -45
- package/src/components/SidebarActions/ToggleRightPanelButton.tsx +0 -25
- package/src/components/SidebarActions/index.tsx +0 -4
- package/src/components/SidebarLogo/index.ts +0 -1
- package/src/components/TableOfContent/index.ts +0 -2
- package/src/components/TableOfContent/styledVariables.ts +0 -44
- package/src/components/TableOfContent/utils.ts +0 -42
- package/src/components/Tabs/Tab.tsx +0 -69
- package/src/components/Tabs/Tabs.tsx +0 -79
- package/src/components/Tabs/index.ts +0 -2
- package/src/components/Tag/index.ts +0 -2
- package/src/components/Tag/styledVariables.ts +0 -145
- package/src/components/Tiles/ThinTile.tsx +0 -136
- package/src/components/Tiles/TileHeader.ts +0 -14
- package/src/components/Tiles/TileText.tsx +0 -13
- package/src/components/Tiles/WideTile.tsx +0 -140
- package/src/components/Tiles/index.ts +0 -4
- package/src/components/Tiles/types.ts +0 -19
- package/src/components/Tooltip/index.ts +0 -2
- package/src/components/Tooltip/styledVariables.ts +0 -18
- package/src/components/Typography/index.ts +0 -7
- package/src/components/index.ts +0 -29
- package/src/globalStyle.ts +0 -1016
- package/src/hooks/index.ts +0 -9
- package/src/hooks/useActiveSectionId.ts +0 -54
- package/src/hooks/useMobileMenu.ts +0 -16
- package/src/hooks/useModalScrollLock.ts +0 -12
- package/src/hooks/useNavbarHeight.ts +0 -25
- package/src/hooks/useOutsideClick.ts +0 -23
- package/src/hooks/useThemeConfig.ts +0 -26
- package/src/i18n/LanguagePicker.tsx +0 -120
- package/src/i18n/index.ts +0 -2
- package/src/i18n/styledVariables.ts +0 -37
- package/src/icons/AlertIcon/AlertIcon.tsx +0 -111
- package/src/icons/AlertIcon/index.ts +0 -2
- package/src/icons/AnchorIcon/AnchorIcon.tsx +0 -36
- package/src/icons/AnchorIcon/index.ts +0 -2
- package/src/icons/ArrowIcon/ArrowIcon.tsx +0 -61
- package/src/icons/ArrowIcon/index.ts +0 -2
- package/src/icons/BurgerIcon/BurgerIcon.tsx +0 -12
- package/src/icons/BurgerIcon/index.ts +0 -1
- package/src/icons/CheckboxIcon/index.ts +0 -1
- package/src/icons/CloseIcon/index.ts +0 -1
- package/src/icons/CollapseIcon/CollapseIcon.tsx +0 -40
- package/src/icons/CollapseIcon/index.tsx +0 -1
- package/src/icons/ColorModeIcon/ColorModeIcon.tsx +0 -57
- package/src/icons/ColorModeIcon/index.ts +0 -2
- package/src/icons/CopyIcon/index.ts +0 -1
- package/src/icons/DeselectIcon/index.ts +0 -1
- package/src/icons/DissatisfiedIcon/DissatisfiedIcon.tsx +0 -28
- package/src/icons/DissatisfiedIcon/index.ts +0 -1
- package/src/icons/EditIcon/index.ts +0 -1
- package/src/icons/ErrorIcon/index.ts +0 -1
- package/src/icons/ExpandIcon/ExpandIcon.tsx +0 -39
- package/src/icons/ExpandIcon/index.ts +0 -1
- package/src/icons/ExternalIcon/ExternalIcon.tsx +0 -44
- package/src/icons/ExternalIcon/index.ts +0 -1
- package/src/icons/FileIcon/index.ts +0 -1
- package/src/icons/LanguageIcon/LanguageIcon.tsx +0 -15
- package/src/icons/LanguageIcon/index.ts +0 -1
- package/src/icons/LogoutIcon/index.ts +0 -1
- package/src/icons/NeutralIcon/NeutralIcon.tsx +0 -25
- package/src/icons/NeutralIcon/index.ts +0 -1
- package/src/icons/PlusIcon/PlusIcon.tsx +0 -25
- package/src/icons/PlusIcon/index.ts +0 -1
- package/src/icons/PointingArrowIcon/PointingArrowIcon.tsx +0 -16
- package/src/icons/PointingArrowIcon/index.ts +0 -1
- package/src/icons/RadioCheckButtonIcon/index.ts +0 -1
- package/src/icons/ReportIcon/ReportIcon.tsx +0 -36
- package/src/icons/ReportIcon/index.ts +0 -1
- package/src/icons/RocketIcon/index.tsx +0 -1
- package/src/icons/SatisfiedIcon/SatisfiedIcon.tsx +0 -41
- package/src/icons/SatisfiedIcon/index.ts +0 -1
- package/src/icons/SelectIcon/index.ts +0 -1
- package/src/icons/ShelfIcon/ShelfIcon.tsx +0 -47
- package/src/icons/ShelfIcon/index.ts +0 -2
- package/src/icons/SpinnerIcon/index.ts +0 -1
- package/src/icons/ThumbDownIcon/index.ts +0 -1
- package/src/icons/ThumbUpIcon/index.ts +0 -1
- package/src/icons/index.ts +0 -26
- package/src/layouts/index.ts +0 -5
- package/src/mocks/Feedback/useSubmitFeedback.tsx +0 -4
- package/src/mocks/Link.tsx +0 -17
- package/src/mocks/Profile/useProfileProps.tsx +0 -12
- package/src/mocks/Sidebar/getMenuType.ts +0 -6
- package/src/mocks/Sidebar/types.ts +0 -15
- package/src/mocks/Sidebar/useBreadcrumbs.ts +0 -3
- package/src/mocks/Sidebar/useDrilldown.tsx +0 -12
- package/src/mocks/Sidebar/useMenuGroup.tsx +0 -10
- package/src/mocks/Sidebar/useSidebarItems.tsx +0 -7
- package/src/mocks/constants/index.ts +0 -2
- package/src/mocks/hooks/index.ts +0 -118
- package/src/mocks/hooks/usePageData.ts +0 -12
- package/src/mocks/media-css.ts +0 -1
- package/src/mocks/search.ts +0 -66
- package/src/mocks/telemetry.ts +0 -5
- package/src/mocks/types/index.ts +0 -1
- package/src/mocks/types.ts +0 -5
- package/src/mocks/useGlobalData.tsx +0 -3
- package/src/mocks/usePreloadHistory.ts +0 -9
- package/src/mocks/utils.ts +0 -22
- package/src/types/config.ts +0 -5
- package/src/types/portal/index.ts +0 -3
- package/src/types/portal/src/shared/constants.ts +0 -21
- package/src/types/portal/src/shared/types/activeItem.ts +0 -1
- package/src/types/portal/src/shared/types/catalog.ts +0 -44
- package/src/types/portal/src/shared/types/feedback.ts +0 -22
- package/src/types/portal/src/shared/types/i18n.d.ts +0 -5
- package/src/types/portal/src/shared/types/markdown.ts +0 -6
- package/src/types/portal/src/shared/types/nav.ts +0 -191
- package/src/types/portal/src/shared/types/searchDocument.ts +0 -23
- package/src/ui/ArrowBack.tsx +0 -33
- package/src/ui/Background.tsx +0 -16
- package/src/ui/Box.tsx +0 -37
- package/src/ui/Burger.tsx +0 -39
- package/src/ui/Checkbox.tsx +0 -64
- package/src/ui/Dropdown.tsx +0 -131
- package/src/ui/Flex.tsx +0 -24
- package/src/ui/Highlight.tsx +0 -48
- package/src/ui/Jumbotron.tsx +0 -57
- package/src/ui/darkColors.tsx +0 -248
- package/src/ui/index.tsx +0 -12
- package/src/utils/index.ts +0 -13
- package/src/utils/jsUtils.ts +0 -18
- package/src/utils/jsonToHtml.ts +0 -234
- package/src/utils/media-css.ts +0 -16
- package/src/utils/urls.ts +0 -54
- /package/lib/components/Breadcrumbs/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Button/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Catalog/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/CodeBlock/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/{icons/ColorModeIcon → components/ColorModeSwitcher}/ColorModeIcon.d.ts +0 -0
- /package/lib/components/Dropdown/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Filter/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Footer/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/{i18n/styledVariables.d.ts → components/LanguagePicker/variables.d.ts} +0 -0
- /package/lib/components/LastUpdated/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/{NavbarLogo/styledVariables.d.ts → Logo/variables.d.ts} +0 -0
- /package/lib/components/Navbar/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Panel/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Search/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Select/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/TableOfContent/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Tag/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/components/Tooltip/{styledVariables.d.ts → variables.d.ts} +0 -0
- /package/lib/{hooks/__tests__/mocks/MockIntersectionObserver.d.ts → core/hooks/__tests__/mocks/mock-intersection-observer.d.ts} +0 -0
- /package/lib/{hooks/useActiveHeading.d.ts → core/hooks/use-active-heading.d.ts} +0 -0
- /package/lib/{hooks/useActiveSectionId.d.ts → core/hooks/use-active-section-id.d.ts} +0 -0
- /package/lib/{hooks/useControl.d.ts → core/hooks/use-control.d.ts} +0 -0
- /package/lib/{hooks/useDialogHotKeys.d.ts → core/hooks/use-dialog-hotkeys.d.ts} +0 -0
- /package/lib/{hooks/useFullHeight.d.ts → core/hooks/use-full-height.d.ts} +0 -0
- /package/lib/{hooks/useMount.d.ts → core/hooks/use-mount.d.ts} +0 -0
- /package/lib/{hooks/useNavbarHeight.d.ts → core/hooks/use-navbar-height.d.ts} +0 -0
- /package/lib/{hooks/useUnmount.d.ts → core/hooks/use-unmount.d.ts} +0 -0
- /package/lib/{ui/darkColors.d.ts → core/styles/dark.d.ts} +0 -0
- /package/lib/{globalStyle.d.ts → core/styles/global.d.ts} +0 -0
- /package/lib/{types/portal/src/shared → core}/types/catalog.js +0 -0
- /package/lib/{types/portal/src/shared → core}/types/feedback.js +0 -0
- /package/lib/{types/portal/src/shared → core}/types/markdown.d.ts +0 -0
- /package/lib/{types/portal/src/shared → core}/types/markdown.js +0 -0
- /package/lib/{utils → core/utils}/args-typecheck.d.ts +0 -0
- /package/lib/{utils → core/utils}/args-typecheck.js +0 -0
- /package/lib/{utils → core/utils}/class-names.d.ts +0 -0
- /package/lib/{utils → core/utils}/class-names.js +0 -0
- /package/lib/{utils/ClipboardService.d.ts → core/utils/clipboard-service.d.ts} +0 -0
- /package/lib/{utils → core/utils}/color.d.ts +0 -0
- /package/lib/{utils → core/utils}/color.js +0 -0
- /package/lib/{utils → core/utils}/css-variables.d.ts +0 -0
- /package/lib/{utils → core/utils}/css-variables.js +0 -0
- /package/lib/{utils/getNavbarElement.d.ts → core/utils/get-navbar-element.d.ts} +0 -0
- /package/lib/{utils → core/utils}/highlight.d.ts +0 -0
- /package/lib/{utils → core/utils}/highlight.js +0 -0
- /package/lib/{utils/isUrl.d.ts → core/utils/is-url.d.ts} +0 -0
- /package/lib/{utils/replaceHashInColor.d.ts → core/utils/replace-hash-in-color.d.ts} +0 -0
- /package/lib/{utils → core/utils}/tags-parser.d.ts +0 -0
- /package/lib/{utils → core/utils}/tags-parser.js +0 -0
- /package/lib/{utils → core/utils}/text-transform.d.ts +0 -0
- /package/lib/{utils → core/utils}/text-transform.js +0 -0
- /package/lib/{utils → core/utils}/theme-helpers.d.ts +0 -0
- /package/lib/{utils → core/utils}/theme-helpers.js +0 -0
- /package/lib/{components/Feedback → icons}/types.js +0 -0
- /package/lib/{components/Markdown → markdoc/components/Heading}/Heading.d.ts +0 -0
- /package/lib/{components/Menu → markdoc/tags}/types.js +0 -0
- /package/src/{hooks/__tests__/mocks/MockIntersectionObserver.ts → core/hooks/__tests__/mocks/mock-intersection-observer.ts} +0 -0
- /package/src/{hooks/useActiveHeading.ts → core/hooks/use-active-heading.ts} +0 -0
- /package/src/{hooks/useControl.ts → core/hooks/use-control.ts} +0 -0
- /package/src/{hooks/useDialogHotKeys.ts → core/hooks/use-dialog-hotkeys.ts} +0 -0
- /package/src/{hooks/useFullHeight.ts → core/hooks/use-full-height.ts} +0 -0
- /package/src/{hooks/useMount.ts → core/hooks/use-mount.ts} +0 -0
- /package/src/{hooks/useUnmount.ts → core/hooks/use-unmount.ts} +0 -0
- /package/src/{utils → core/utils}/args-typecheck.ts +0 -0
- /package/src/{utils → core/utils}/class-names.ts +0 -0
- /package/src/{utils/ClipboardService.ts → core/utils/clipboard-service.ts} +0 -0
- /package/src/{utils → core/utils}/color.ts +0 -0
- /package/src/{utils → core/utils}/css-variables.ts +0 -0
- /package/src/{utils/getNavbarElement.ts → core/utils/get-navbar-element.ts} +0 -0
- /package/src/{utils → core/utils}/highlight.ts +0 -0
- /package/src/{utils/isUrl.ts → core/utils/is-url.ts} +0 -0
- /package/src/{utils/replaceHashInColor.ts → core/utils/replace-hash-in-color.ts} +0 -0
- /package/src/{utils → core/utils}/tags-parser.ts +0 -0
- /package/src/{utils → core/utils}/text-transform.ts +0 -0
- /package/src/{utils → core/utils}/theme-helpers.ts +0 -0
|
@@ -0,0 +1,1224 @@
|
|
|
1
|
+
import { createGlobalStyle, css } from 'styled-components';
|
|
2
|
+
import { darkMode } from '@redocly/theme/core/styles/dark';
|
|
3
|
+
|
|
4
|
+
import { languagePicker } from '@redocly/theme/components/LanguagePicker/variables';
|
|
5
|
+
import { scorecard } from '@redocly/theme/components/Scorecard/variables';
|
|
6
|
+
import { feedback } from '@redocly/theme/components/Feedback/variables';
|
|
7
|
+
import { sidebar } from '@redocly/theme/components/Sidebar/variables';
|
|
8
|
+
import { breadcrumbs } from '@redocly/theme/components/Breadcrumbs/variables';
|
|
9
|
+
import { tag } from '@redocly/theme/components/Tag/variables';
|
|
10
|
+
import { toc } from '@redocly/theme/components/TableOfContent/variables';
|
|
11
|
+
import { catalog } from '@redocly/theme/components/Catalog/variables';
|
|
12
|
+
import { filter } from '@redocly/theme/components/Filter/variables';
|
|
13
|
+
import { apiReferencePanels, responsePanelColors } from '@redocly/theme/components/Panel/variables';
|
|
14
|
+
import { select } from '@redocly/theme/components/Select/variables';
|
|
15
|
+
import { dropdown } from '@redocly/theme/components/Dropdown/variables';
|
|
16
|
+
import { tooltip } from '@redocly/theme/components/Tooltip/variables';
|
|
17
|
+
import { checkbox } from '@redocly/theme/icons/CheckboxIcon/variables';
|
|
18
|
+
import { admonition } from '@redocly/theme/components/Admonition/variables';
|
|
19
|
+
import { footer } from '@redocly/theme/components/Footer/variables';
|
|
20
|
+
import { button } from '@redocly/theme/components/Button/variables';
|
|
21
|
+
import { navbar } from '@redocly/theme/components/Navbar/variables';
|
|
22
|
+
import { search } from '@redocly/theme/components/Search/variables';
|
|
23
|
+
import { menu, mobileMenu } from '@redocly/theme/components/Menu/variables';
|
|
24
|
+
import { code } from '@redocly/theme/components/CodeBlock/variables';
|
|
25
|
+
import { productPicker } from '@redocly/theme/components/Product/variables';
|
|
26
|
+
import { markdown } from '@redocly/theme/components/Markdown/variables';
|
|
27
|
+
import { markdownTabs } from '@redocly/theme/markdoc/components/Tabs/variables';
|
|
28
|
+
import { mermaid } from '@redocly/theme/markdoc/components/Mermaid/variables';
|
|
29
|
+
import { lastUpdated } from '@redocly/theme/components/LastUpdated/variables';
|
|
30
|
+
import { logo } from '@redocly/theme/components/Logo/variables';
|
|
31
|
+
import { statusCode } from '@redocly/theme/components/StatusCode/variables';
|
|
32
|
+
import { segmented } from '@redocly/theme/components/Segmented/variables';
|
|
33
|
+
import { userMenu } from '@redocly/theme/components/UserMenu/variables';
|
|
34
|
+
import { httpTag } from '@redocly/theme/components/Tags/variables';
|
|
35
|
+
import { versionPicker } from '@redocly/theme/components/VersionPicker/variables';
|
|
36
|
+
import { datePicker } from '@redocly/theme/components/DatePicker/variables'
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
const themeColors = css`
|
|
40
|
+
/* === Palette === */
|
|
41
|
+
/**
|
|
42
|
+
* @tokens Base Colors
|
|
43
|
+
* @presenter Color
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
--color-warm-grey-1: #fbfbfc;
|
|
47
|
+
--color-warm-grey-2: #ededf2;
|
|
48
|
+
--color-warm-grey-3: #dcdde5;
|
|
49
|
+
--color-warm-grey-4: #c4c6d1;
|
|
50
|
+
--color-warm-grey-5: #9b9ca8;
|
|
51
|
+
--color-warm-grey-6: #6e6f7a;
|
|
52
|
+
--color-warm-grey-7: #555761;
|
|
53
|
+
--color-warm-grey-8: #3b3c45;
|
|
54
|
+
--color-warm-grey-9: #2a2b33;
|
|
55
|
+
--color-warm-grey-10: #22242b;
|
|
56
|
+
--color-warm-grey-11: #1a1c21;
|
|
57
|
+
|
|
58
|
+
--color-purple-1: #f3f1fe;
|
|
59
|
+
--color-purple-2: #e6e1fe;
|
|
60
|
+
--color-purple-3: #cec4fd;
|
|
61
|
+
--color-purple-4: #b3a6f9;
|
|
62
|
+
--color-purple-5: #9c8ef4;
|
|
63
|
+
--color-purple-6: #7a69ee;
|
|
64
|
+
--color-purple-7: #5b4ccc;
|
|
65
|
+
--color-purple-8: #4034ab;
|
|
66
|
+
--color-purple-9: #291f99;
|
|
67
|
+
--color-purple-10: #2b2480;
|
|
68
|
+
--color-purple-11: #2c2770;
|
|
69
|
+
|
|
70
|
+
--color-blueberry-1: #F0F4FF;
|
|
71
|
+
--color-blueberry-2: #dfe8ff;
|
|
72
|
+
--color-blueberry-3: #bfd0ff;
|
|
73
|
+
--color-blueberry-4: #9fb7ff;
|
|
74
|
+
--color-blueberry-5: #87a3ff;
|
|
75
|
+
--color-blueberry-6: #5f81ff;
|
|
76
|
+
--color-blueberry-7: #4561db;
|
|
77
|
+
--color-blueberry-8: #2f46b7;
|
|
78
|
+
--color-blueberry-9: #1e2f93;
|
|
79
|
+
--color-blueberry-10: #222d7a;
|
|
80
|
+
--color-blueberry-11: #232a61;
|
|
81
|
+
|
|
82
|
+
--color-blue-1: #edf5fc;
|
|
83
|
+
--color-blue-2: #d9ebfc;
|
|
84
|
+
--color-blue-3: #b3d7fc;
|
|
85
|
+
--color-blue-4: #90c2fc;
|
|
86
|
+
--color-blue-5: #6eabfa;
|
|
87
|
+
--color-blue-6: #1f7cff;
|
|
88
|
+
--color-blue-7: #3072db;
|
|
89
|
+
--color-blue-8: #2558b8;
|
|
90
|
+
--color-blue-9: #1f4399;
|
|
91
|
+
--color-blue-10: #223d7a;
|
|
92
|
+
--color-blue-11: #233061;
|
|
93
|
+
|
|
94
|
+
--color-sky-1: #eafefe;
|
|
95
|
+
--color-sky-2: #cefdfe;
|
|
96
|
+
--color-sky-3: #9df4fe;
|
|
97
|
+
--color-sky-4: #6ce5fe;
|
|
98
|
+
--color-sky-5: #47d2fe;
|
|
99
|
+
--color-sky-6: #0bb4fe;
|
|
100
|
+
--color-sky-7: #088cda;
|
|
101
|
+
--color-sky-8: #0569b6;
|
|
102
|
+
--color-sky-9: #155393;
|
|
103
|
+
--color-sky-10: #1d4479;
|
|
104
|
+
--color-sky-11: #1f3757;
|
|
105
|
+
|
|
106
|
+
--color-turquoise-1: #ebfdf9;
|
|
107
|
+
--color-turquoise-2: #ccfdf3;
|
|
108
|
+
--color-turquoise-3: #9afbef;
|
|
109
|
+
--color-turquoise-4: #67f5ef;
|
|
110
|
+
--color-turquoise-5: #41e6ec;
|
|
111
|
+
--color-turquoise-6: #08c7e0;
|
|
112
|
+
--color-turquoise-7: #059cc0;
|
|
113
|
+
--color-turquoise-8: #0475a1;
|
|
114
|
+
--color-turquoise-9: #125a81;
|
|
115
|
+
--color-turquoise-10: #1c496b;
|
|
116
|
+
--color-turquoise-11: #1c394f;
|
|
117
|
+
|
|
118
|
+
--color-persian-green-1: #ebfaf3;
|
|
119
|
+
--color-persian-green-2: #cafae4;
|
|
120
|
+
--color-persian-green-3: #97f5d2;
|
|
121
|
+
--color-persian-green-4: #5fe2be;
|
|
122
|
+
--color-persian-green-5: #37c6ab;
|
|
123
|
+
--color-persian-green-6: #06a192;
|
|
124
|
+
--color-persian-green-7: #048a89;
|
|
125
|
+
--color-persian-green-8: #036a73;
|
|
126
|
+
--color-persian-green-9: #0f4f5d;
|
|
127
|
+
--color-persian-green-10: #143d4d;
|
|
128
|
+
--color-persian-green-11: #193b47;
|
|
129
|
+
|
|
130
|
+
--color-green-1: #edfbec;
|
|
131
|
+
--color-green-2: #d2fbd0;
|
|
132
|
+
--color-green-3: #a3f7a9;
|
|
133
|
+
--color-green-4: #72e985;
|
|
134
|
+
--color-green-5: #4dd470;
|
|
135
|
+
--color-green-6: #1cb854;
|
|
136
|
+
--color-green-7: #149e53;
|
|
137
|
+
--color-green-8: #0e8450;
|
|
138
|
+
--color-green-9: #195848;
|
|
139
|
+
--color-green-10: #1a4d40;
|
|
140
|
+
|
|
141
|
+
--color-grass-1: #f0faeb;
|
|
142
|
+
--color-grass-2: #e3fad6;
|
|
143
|
+
--color-grass-3: #c2f6ae;
|
|
144
|
+
--color-grass-4: #93e380;
|
|
145
|
+
--color-grass-5: #66c95b;
|
|
146
|
+
--color-grass-6: #2fa52d;
|
|
147
|
+
--color-grass-7: #208d28;
|
|
148
|
+
--color-grass-8: #167625;
|
|
149
|
+
--color-grass-9: #135f25;
|
|
150
|
+
--color-grass-10: #164f29;
|
|
151
|
+
--color-grass-11: #1f4d2d;
|
|
152
|
+
|
|
153
|
+
--color-carrot-1: #fff8e8;
|
|
154
|
+
--color-carrot-2: #fff0cc;
|
|
155
|
+
--color-carrot-3: #FFE4AB;
|
|
156
|
+
--color-carrot-4: #FFD181;
|
|
157
|
+
--color-carrot-5: #ffbe62;
|
|
158
|
+
--color-carrot-6: #ffa02e;
|
|
159
|
+
--color-carrot-7: #db7e21;
|
|
160
|
+
--color-carrot-8: #b75f17;
|
|
161
|
+
--color-carrot-9: #934c1a;
|
|
162
|
+
--color-carrot-10: #7a4222;
|
|
163
|
+
--color-carrot-11: #5c3721;
|
|
164
|
+
|
|
165
|
+
--color-orange-1: #fff4e8;
|
|
166
|
+
--color-orange-2: #ffead2;
|
|
167
|
+
--color-orange-3: #ffcea6;
|
|
168
|
+
--color-orange-4: #ffad7a;
|
|
169
|
+
--color-orange-5: #ff8c59;
|
|
170
|
+
--color-orange-6: #ff5722;
|
|
171
|
+
--color-orange-7: #db3918;
|
|
172
|
+
--color-orange-8: #b72111;
|
|
173
|
+
--color-orange-9: #931e1a;
|
|
174
|
+
--color-orange-10: #7a2024;
|
|
175
|
+
--color-orange-11: #612729;
|
|
176
|
+
|
|
177
|
+
--color-red-1: #fef1ea;
|
|
178
|
+
--color-red-2: #fee3d4;
|
|
179
|
+
--color-red-3: #fdc0ab;
|
|
180
|
+
--color-red-4: #fb9580;
|
|
181
|
+
--color-red-5: #f86d60;
|
|
182
|
+
--color-red-6: #f42d2d;
|
|
183
|
+
--color-red-7: #d12030;
|
|
184
|
+
--color-red-8: #af1631;
|
|
185
|
+
--color-red-9: #8d1c37;
|
|
186
|
+
--color-red-10: #752137;
|
|
187
|
+
--color-red-11: #612235;
|
|
188
|
+
|
|
189
|
+
--color-raspberry-1: #fef0ef;
|
|
190
|
+
--color-raspberry-2: #fed9d5;
|
|
191
|
+
--color-raspberry-3: #feacad;
|
|
192
|
+
--color-raspberry-4: #fd838f;
|
|
193
|
+
--color-raspberry-5: #fb6382;
|
|
194
|
+
--color-raspberry-6: #f9316d;
|
|
195
|
+
--color-raspberry-7: #d6236a;
|
|
196
|
+
--color-raspberry-8: #b3185e;
|
|
197
|
+
--color-raspberry-9: #901d56;
|
|
198
|
+
--color-raspberry-10: #77214c;
|
|
199
|
+
--color-raspberry-11: #612241;
|
|
200
|
+
|
|
201
|
+
--color-magenta-1: #feeff5;
|
|
202
|
+
--color-magenta-2: #fecce0;
|
|
203
|
+
--color-magenta-3: #fe99c3;
|
|
204
|
+
--color-magenta-4: #fe66aa;
|
|
205
|
+
--color-magenta-5: #fe409c;
|
|
206
|
+
--color-magenta-6: #fe0184;
|
|
207
|
+
--color-magenta-7: #da0078;
|
|
208
|
+
--color-magenta-8: #b6006a;
|
|
209
|
+
--color-magenta-9: #931a65;
|
|
210
|
+
--color-magenta-10: #791f5a;
|
|
211
|
+
--color-magenta-11: #5e1a48;
|
|
212
|
+
|
|
213
|
+
--color-black: #000000;
|
|
214
|
+
--color-white: #ffffff;
|
|
215
|
+
|
|
216
|
+
--color-primary-bg: var(--color-blueberry-1);
|
|
217
|
+
--color-primary-bg-hover: var(--color-blueberry-2);
|
|
218
|
+
--color-primary-border: var(--color-blueberry-3);
|
|
219
|
+
--color-primary-border-hover: var(--color-blueberry-4);
|
|
220
|
+
--color-primary-hover: var(--color-blueberry-5);
|
|
221
|
+
--color-primary-base: var(--color-blueberry-6);
|
|
222
|
+
--color-primary-active: var(--color-blueberry-7);
|
|
223
|
+
--color-primary-text-hover: var(--color-blueberry-8);
|
|
224
|
+
--color-primary-text: var(--color-blueberry-9);
|
|
225
|
+
--color-primary-text-active: var(--color-blueberry-10);
|
|
226
|
+
|
|
227
|
+
--color-success-bg: var(--color-green-1);
|
|
228
|
+
--color-success-bg-hover: var(--color-green-2);
|
|
229
|
+
--color-success-border: var(--color-green-3);
|
|
230
|
+
--color-success-border-hover: var(--color-green-4);
|
|
231
|
+
--color-success-hover: var(--color-green-5);
|
|
232
|
+
--color-success-base: var(--color-green-6);
|
|
233
|
+
--color-success-active: var(--color-green-7);
|
|
234
|
+
--color-success-text-hover: var(--color-green-8);
|
|
235
|
+
--color-success-text: var(--color-green-9);
|
|
236
|
+
--color-success-text-active: var(--color-green-10);
|
|
237
|
+
|
|
238
|
+
--color-warning-bg: var(--color-carrot-1);
|
|
239
|
+
--color-warning-bg-hover: var(--color-carrot-2);
|
|
240
|
+
--color-warning-border: var(--color-carrot-3);
|
|
241
|
+
--color-warning-border-hover: var(--color-carrot-4);
|
|
242
|
+
--color-warning-hover: var(--color-carrot-5);
|
|
243
|
+
--color-warning-base: var(--color-carrot-6);
|
|
244
|
+
--color-warning-active: var(--color-carrot-7);
|
|
245
|
+
--color-warning-text-hover: var(--color-carrot-8);
|
|
246
|
+
--color-warning-text: var(--color-carrot-9);
|
|
247
|
+
--color-warning-text-active: var(--color-carrot-10);
|
|
248
|
+
|
|
249
|
+
--color-error-bg: var(--color-raspberry-1);
|
|
250
|
+
--color-error-bg-hover: var(--color-raspberry-2);
|
|
251
|
+
--color-error-border: var(--color-raspberry-3);
|
|
252
|
+
--color-error-border-hover: var(--color-raspberry-4);
|
|
253
|
+
--color-error-hover: var(--color-raspberry-5);
|
|
254
|
+
--color-error-base: var(--color-raspberry-6);
|
|
255
|
+
--color-error-active: var(--color-raspberry-7);
|
|
256
|
+
--color-error-text-hover: var(--color-raspberry-8);
|
|
257
|
+
--color-error-text: var(--color-raspberry-9);
|
|
258
|
+
--color-error-text-active: var(--color-raspberry-10);
|
|
259
|
+
|
|
260
|
+
--color-info-bg: var(--color-blue-1);
|
|
261
|
+
--color-info-bg-hover: var(--color-blue-2);
|
|
262
|
+
--color-info-border: var(--color-blue-3);
|
|
263
|
+
--color-info-border-hover: var(--color-blue-4);
|
|
264
|
+
--color-info-hover: var(--color-blue-5);
|
|
265
|
+
--color-info-base: var(--color-blue-6);
|
|
266
|
+
--color-info-active: var(--color-blue-7);
|
|
267
|
+
--color-info-text-hover: var(--color-blue-8);
|
|
268
|
+
--color-info-text: var(--color-blue-9);
|
|
269
|
+
--color-info-text-active: var(--color-blue-10);
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* @tokens Elevation Colors
|
|
273
|
+
* @presenter Color
|
|
274
|
+
*/
|
|
275
|
+
|
|
276
|
+
--color-hover-base: #F3F3F6;
|
|
277
|
+
|
|
278
|
+
// The default elevation is the baseline with respect to all other layers.
|
|
279
|
+
--bg-color: var(--color-white);
|
|
280
|
+
--bg-color-hover: var(--color-hover-base);
|
|
281
|
+
--bg-color-active: var(--color-warm-grey-2);
|
|
282
|
+
--bg-color-tonal: var(--color-warm-grey-1);
|
|
283
|
+
--bg-color-tonal-hover: var(--color-white);
|
|
284
|
+
--bg-color-tonal-active: var(--color-white);
|
|
285
|
+
|
|
286
|
+
--bg-color-raised: var(--color-white); //Dropdown, popup, tooltip
|
|
287
|
+
--bg-color-modal-overlay: rgba(0, 0, 0, 0.2);
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
--bg-raised-shadow: 0px 8px 24px 8px #0000000A, 0px 4px 12px 0px #00000014; // Hovers for base. Menu
|
|
291
|
+
--bg-raised-gradient: linear-gradient(270deg, var(--color-warm-grey-1) 18.75%, rgba(251, 251, 252, 0) 100%);
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @tokens Layer
|
|
295
|
+
*/
|
|
296
|
+
|
|
297
|
+
--layer-color: var(--color-warm-grey-1);
|
|
298
|
+
--layer-color-hover: var(--color-warm-grey-2);
|
|
299
|
+
--layer-color-active: var(--color-warm-grey-3);
|
|
300
|
+
--layer-color-ontonal: var(--color-white);
|
|
301
|
+
--layer-color-ontonal-hover: var(--color-hover-base);
|
|
302
|
+
--layer-color-ontonal-active: var(--color-warm-grey-3);
|
|
303
|
+
--layer-color-accent: var(--color-warm-grey-10);
|
|
304
|
+
--layer-accent-hover: var(--color-warm-grey-9);
|
|
305
|
+
--layer-color-onraised: var(--color-warm-grey-2);
|
|
306
|
+
--layer-color-raised: var(--color-white);
|
|
307
|
+
// @tokens End
|
|
308
|
+
`;
|
|
309
|
+
|
|
310
|
+
const typography = css`
|
|
311
|
+
/* === Typography === */
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* @tokens Font Families
|
|
315
|
+
* @presenter FontFamily
|
|
316
|
+
*/
|
|
317
|
+
--font-family-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
318
|
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif; // Font family of the entire system.
|
|
319
|
+
--font-family-monospaced: ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono',
|
|
320
|
+
'Roboto Mono', 'Oxygen Mono', 'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono',
|
|
321
|
+
'Droid Sans Mono', 'Courier New', monospace;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* @tokens Font Colors
|
|
325
|
+
* @presenter Color
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
--text-color-primary: var(--color-warm-grey-11); // The base color of the typography color tokens.
|
|
329
|
+
--text-color-secondary: var(--color-warm-grey-8);
|
|
330
|
+
--text-color-description: var(--color-warm-grey-7); // Caption, Description, Icon
|
|
331
|
+
--text-color-helper: var(--color-warm-grey-6);
|
|
332
|
+
--text-color-disabled: var(--color-warm-grey-5);
|
|
333
|
+
--text-color-on-color: var(--color-warm-grey-1);
|
|
334
|
+
--text-color-inverse: var(--color-white);
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @tokens Font Weights
|
|
338
|
+
* @presenter FontWeight
|
|
339
|
+
*/
|
|
340
|
+
|
|
341
|
+
--font-weight-regular: 400; // All normal weight fonts in the entire system.
|
|
342
|
+
--font-weight-medium: 500; // All medium weight fonts in the entire system.
|
|
343
|
+
--font-weight-semibold: 600; // All semi-bold weight fonts in the entire system.
|
|
344
|
+
--font-weight-bold: 700; // All bold weight fonts in the entire system.
|
|
345
|
+
--font-weight-italic: 'Regular Italic'; // All italic weights in the entire system.
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @tokens Line Heights
|
|
349
|
+
* @presenter LineHeight
|
|
350
|
+
*/
|
|
351
|
+
|
|
352
|
+
--line-height-base: 22px;
|
|
353
|
+
--line-height-sm: 20px;
|
|
354
|
+
--line-height-md: var(--line-height-base);
|
|
355
|
+
--line-height-lg: 24px;
|
|
356
|
+
--line-height-xl: 28px;
|
|
357
|
+
--line-height-xxl: 30px;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* @tokens Font Sizes
|
|
361
|
+
* @presenter FontSize
|
|
362
|
+
*/
|
|
363
|
+
|
|
364
|
+
--font-size-base: 14px; // Base font size of the entire system.
|
|
365
|
+
--font-size-sm: 12px;
|
|
366
|
+
--font-size-lg: 16px;
|
|
367
|
+
--font-size-xl: 20px;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @tokens Font Rendering
|
|
371
|
+
*/
|
|
372
|
+
|
|
373
|
+
--text-smoothing: antialiased; // text-smoothing
|
|
374
|
+
--text-rendering: optimizeSpeed; // text-rendering
|
|
375
|
+
|
|
376
|
+
// @tokens End
|
|
377
|
+
`;
|
|
378
|
+
|
|
379
|
+
const sizeAndSpace = css`
|
|
380
|
+
/* === Size & Space === */
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* @tokens Size
|
|
384
|
+
* @presenter Spacing
|
|
385
|
+
*/
|
|
386
|
+
|
|
387
|
+
--container-width: 1200px;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* @tokens Space
|
|
391
|
+
* @presenter Spacing
|
|
392
|
+
*/
|
|
393
|
+
|
|
394
|
+
--spacing-unit: 4px;
|
|
395
|
+
|
|
396
|
+
--spacing-base: calc(var(--spacing-unit) * 4);
|
|
397
|
+
--spacing-xxs: var(--spacing-unit);
|
|
398
|
+
--spacing-xs: calc(var(--spacing-unit) * 2);
|
|
399
|
+
--spacing-sm: calc(var(--spacing-unit) * 3);
|
|
400
|
+
--spacing-md: calc(var(--spacing-unit) * 5);
|
|
401
|
+
--spacing-lg: calc(var(--spacing-unit) * 6);
|
|
402
|
+
--spacing-xl: calc(var(--spacing-unit) * 8);
|
|
403
|
+
--spacing-xxl: calc(var(--spacing-unit) * 12);
|
|
404
|
+
|
|
405
|
+
--spacing-horizontal: var(--spacing-xl);
|
|
406
|
+
--spacing-vertical: var(--spacing-base);
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* @tokens Height
|
|
410
|
+
* @presenter Spacing
|
|
411
|
+
*/
|
|
412
|
+
--control-height-base: 32px; // The height of the default size controls such as buttons and inputs.
|
|
413
|
+
--control-height-xs: 16px; // The height of very small objects such as skeleton line or small multiple select item.
|
|
414
|
+
--control-height-sm: 24px; // The height of the small controls such as buttons or inputs.
|
|
415
|
+
--control-height-lg: 40px; // The height of the large controls such as buttons or inputs.
|
|
416
|
+
|
|
417
|
+
// @tokens End
|
|
418
|
+
`;
|
|
419
|
+
|
|
420
|
+
const borders = css`
|
|
421
|
+
/**
|
|
422
|
+
* @tokens Borders
|
|
423
|
+
* @presenter Border
|
|
424
|
+
*/
|
|
425
|
+
|
|
426
|
+
--border-width: 1px;
|
|
427
|
+
--border-style: solid;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @tokens Border Colors
|
|
431
|
+
* @presenter Color
|
|
432
|
+
*/
|
|
433
|
+
|
|
434
|
+
--border-color-primary: var(--color-warm-grey-3); // Raised dividers
|
|
435
|
+
--border-color-secondary: var(--color-warm-grey-2); // Default dividers, borders
|
|
436
|
+
--border-color-invers: var(--color-warm-grey-10);
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @tokens Border Radius
|
|
440
|
+
* @presenter BorderRadius
|
|
441
|
+
*/
|
|
442
|
+
|
|
443
|
+
--border-radius: 4px;
|
|
444
|
+
--border-radius-md: calc(var(--border-radius) * 1.5);
|
|
445
|
+
--border-radius-lg: calc(var(--border-radius) * 2);
|
|
446
|
+
--border-radius-xl: calc(var(--border-radius) * 3);
|
|
447
|
+
--border-radius-xxl: calc(var(--border-radius) * 4);
|
|
448
|
+
`;
|
|
449
|
+
|
|
450
|
+
const headingsTypography = css`
|
|
451
|
+
* {
|
|
452
|
+
box-sizing: border-box;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @tokens Headings common styles
|
|
457
|
+
*/
|
|
458
|
+
|
|
459
|
+
--heading-font-family: var(--font-family-base); // @presenter FontFamily
|
|
460
|
+
--heading-font-weight: var(--font-weight-semibold); // @presenter FontWeight
|
|
461
|
+
--heading-text-color: var(--text-color-primary); // @presenter Color
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* @tokens Typography heading anchor icon
|
|
465
|
+
*/
|
|
466
|
+
|
|
467
|
+
--heading-anchor-offset-right: 4px; // @presenter Spacing
|
|
468
|
+
--heading-anchor-color: var(--button-content-color-primary); // @presenter Color
|
|
469
|
+
--heading-anchor-icon: none;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* @tokens Heading level 1
|
|
473
|
+
*/
|
|
474
|
+
|
|
475
|
+
--h1-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
476
|
+
--h1-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
477
|
+
--h1-font-size: 36px; // @presenter FontSize
|
|
478
|
+
--h1-line-height: 44px; // @presenter LineHeight
|
|
479
|
+
--h1-margin-top: var(--spacing-xl); // @presenter Spacing
|
|
480
|
+
--h1-margin-bottom: var(--spacing-base); // @presenter Spacing
|
|
481
|
+
--h1-text-color: var(--heading-text-color); // @presenter Color
|
|
482
|
+
--h1-code-line-height: 60px; // @presenter LineHeight
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* @tokens Heading level 2
|
|
486
|
+
*/
|
|
487
|
+
|
|
488
|
+
--h2-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
489
|
+
--h2-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
490
|
+
--h2-font-size: 28px; // @presenter FontSize
|
|
491
|
+
--h2-line-height: 36px; // @presenter LineHeight
|
|
492
|
+
--h2-margin-top: var(--spacing-xl); // @presenter Spacing
|
|
493
|
+
--h2-margin-bottom: var(--spacing-base); // @presenter Spacing
|
|
494
|
+
--h2-text-color: var(--heading-text-color); // @presenter Color
|
|
495
|
+
--h2-code-line-height: 48px; // @presenter LineHeight
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* @tokens Heading level 3
|
|
499
|
+
*/
|
|
500
|
+
|
|
501
|
+
--h3-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
502
|
+
--h3-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
503
|
+
--h3-font-size: 24px; // @presenter FontSize
|
|
504
|
+
--h3-line-height: 32px; // @presenter LineHeight
|
|
505
|
+
--h3-margin-top: var(--spacing-lg); // @presenter Spacing
|
|
506
|
+
--h3-margin-bottom: var(--spacing-base); // @presenter Spacing
|
|
507
|
+
--h3-text-color: var(--heading-text-color); // @presenter Color
|
|
508
|
+
--h3-code-line-height: var(--line-height-xxl); // @presenter LineHeight
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* @tokens Heading level 4
|
|
512
|
+
*/
|
|
513
|
+
|
|
514
|
+
--h4-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
515
|
+
--h4-font-weight: var(--font-weight-semibold); // @presenter FontWeight
|
|
516
|
+
--h4-font-size: 20px; // @presenter FontSize
|
|
517
|
+
--h4-line-height: 28px; // @presenter LineHeight
|
|
518
|
+
--h4-margin-top: var(--spacing-base); // @presenter Spacing
|
|
519
|
+
--h4-margin-bottom: var(--spacing-base); // @presenter Spacing
|
|
520
|
+
--h4-text-color: var(--heading-text-color); // @presenter Color
|
|
521
|
+
--h4-code-line-height: var(--line-height-xl); // @presenter LineHeight
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @tokens Heading level 5
|
|
525
|
+
*/
|
|
526
|
+
|
|
527
|
+
--h5-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
528
|
+
--h5-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
529
|
+
--h5-font-size: 14px; // @presenter FontSize
|
|
530
|
+
--h5-line-height: 14px; // @presenter LineHeight
|
|
531
|
+
--h5-margin-top: var(--spacing-xs); // @presenter Spacing
|
|
532
|
+
--h5-margin-bottom: var(--spacing-sm); // @presenter Spacing
|
|
533
|
+
--h5-text-color: var(--heading-text-color); // @presenter Color
|
|
534
|
+
--h5-code-line-height: var(--line-height-lg); // @presenter LineHeight
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* @tokens Heading level 6
|
|
538
|
+
*/
|
|
539
|
+
|
|
540
|
+
--h6-font-family: var(--heading-font-family); // @presenter FontFamily
|
|
541
|
+
--h6-font-weight: var(--heading-font-weight); // @presenter FontWeight
|
|
542
|
+
--h6-font-size: 12px; // @presenter FontSize
|
|
543
|
+
--h6-line-height: 12px; // @presenter LineHeight
|
|
544
|
+
--h6-margin-top: var(--spacing-xxs); // @presenter Spacing
|
|
545
|
+
--h6-margin-bottom: var(--spacing-xs); // @presenter Spacing
|
|
546
|
+
--h6-text-color: var(--heading-text-color); // @presenter Color
|
|
547
|
+
--h6-code-line-height: var(--line-height-md); // @presenter LineHeight
|
|
548
|
+
|
|
549
|
+
// @tokens End
|
|
550
|
+
`;
|
|
551
|
+
|
|
552
|
+
const links = css`
|
|
553
|
+
/**
|
|
554
|
+
* @tokens Links
|
|
555
|
+
*/
|
|
556
|
+
|
|
557
|
+
--link-color-primary: var(--color-blue-6); // @presenter Color
|
|
558
|
+
--link-decoration: none;
|
|
559
|
+
--link-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
560
|
+
|
|
561
|
+
--link-color-primary-hover: var(--color-blue-7); // @presenter Color
|
|
562
|
+
--link-color-primary-pressed: var(--color-blue-8);
|
|
563
|
+
--link-decoration-hover: underline;
|
|
564
|
+
|
|
565
|
+
--link-color-inverse: var(--color-blue-5); // @presenter Color
|
|
566
|
+
|
|
567
|
+
--link-color-visited: var(--color-purple-7); // @presenter Color
|
|
568
|
+
--link-visited-decoration: none;
|
|
569
|
+
|
|
570
|
+
// @tokens End
|
|
571
|
+
`;
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
const apiReferenceDocs = css`
|
|
575
|
+
/* === ref docs and graphql docs specific === */
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @tokens API Reference Schemas Layout
|
|
579
|
+
*/
|
|
580
|
+
|
|
581
|
+
--layout-controls-margin: 20px; // @presenter Spacing
|
|
582
|
+
--layout-controls-height: 36px; // @presenter Spacing
|
|
583
|
+
--layout-controls-width: 36px; // @presenter Spacing
|
|
584
|
+
|
|
585
|
+
--layout-stacked-small-max-width: 90%;
|
|
586
|
+
--layout-stacked-medium-max-width: 75%;
|
|
587
|
+
--layout-stacked-large-max-width: 1200px;
|
|
588
|
+
|
|
589
|
+
--layout-three-panel-small-max-width: 100%;
|
|
590
|
+
--layout-three-panel-medium-max-width: 100%;
|
|
591
|
+
--layout-three-panel-large-max-width: 1800px;
|
|
592
|
+
|
|
593
|
+
--layout-panel-schemas-small-max-width: none;
|
|
594
|
+
--layout-panel-schemas-medium-max-width: none;
|
|
595
|
+
--layout-panel-schemas-large-max-width: none;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* @tokens API Reference Schemas MimeType Dropdown
|
|
599
|
+
*/
|
|
600
|
+
|
|
601
|
+
--schemas-mime-type-dropdown-padding: 0px 26px 0px 4px;
|
|
602
|
+
--schemas-mime-type-dropdown-border: var(--docs-dropdown-border); // @presenter Border
|
|
603
|
+
--schemas-mime-type-dropdown-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
|
|
604
|
+
--schemas-mime-type-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* @tokens API Reference Schemas Discriminator Dropdown
|
|
608
|
+
*/
|
|
609
|
+
|
|
610
|
+
--schemas-discriminator-dropdown-padding: 2px 24px 2px 8px;
|
|
611
|
+
--schemas-discriminator-dropdown-border: 1px solid var(--border-color-primary); // @presenter Border
|
|
612
|
+
--schemas-discriminator-font-size: var(--docs-dropdown-font-size); // @presenter FontSize
|
|
613
|
+
--schemas-discriminator-dropdown-text-color: var(--docs-dropdown-text-color); // @presenter Color
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @tokens API Reference Schemas Titles
|
|
617
|
+
*/
|
|
618
|
+
|
|
619
|
+
--schema-type-title-text-color: var(--text-color-secondary); // @presenter Color
|
|
620
|
+
--schema-type-text-color: var(--text-color-description); // @presenter Color
|
|
621
|
+
--schema-labels-font-size: var(--font-size-base); // @presenter FontSize
|
|
622
|
+
--schema-labels-line-height: var(--line-height-base); // @presenter LineHeight
|
|
623
|
+
--schema-labels--text-color: var(--text-color-secondary);
|
|
624
|
+
/**
|
|
625
|
+
* @tokens API Reference Schemas Lines Color
|
|
626
|
+
*/
|
|
627
|
+
|
|
628
|
+
--schemas-lines-color: var(--border-color-primary); // @presenter Color
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* @tokens API Reference Schema Inline code typography
|
|
632
|
+
*/
|
|
633
|
+
|
|
634
|
+
--schema-inline-code-font-family: var(--inline-code-font-family); // @presenter FontFamily
|
|
635
|
+
--schema-inline-code-font-size: var(--inline-code-font-size); // @presenter FontSize
|
|
636
|
+
--schema-inline-code-font-weight: var(--inline-code-font-weight); // @presenter FontWeight
|
|
637
|
+
--schema-inline-code-text-color: var(--text-color-secondary); // @presenter Color
|
|
638
|
+
--schema-inline-code-line-height: var(--inline-code-line-height); // @presenter LineHeight
|
|
639
|
+
--schema-inline-bg-color: var(--border-color-secondary); // @presenter Color
|
|
640
|
+
--schema-inline-border-color: var(--border-color-primary); // @presenter Color
|
|
641
|
+
--schema-inline-border: 1px solid var(--schema-inline-border-color); // @presenter Border
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* @tokens API Reference Schema Example Label colors
|
|
645
|
+
* @presenter Color
|
|
646
|
+
*/
|
|
647
|
+
|
|
648
|
+
--schema-example-text-color: var(--schema-inline-code-text-color);
|
|
649
|
+
--schema-example-bg-color: var(--schema-inline-bg-color);
|
|
650
|
+
--schema-example-border-color: var(--schema-inline-border-color);
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @tokens API Reference Schema Constraint Label colors
|
|
654
|
+
* @presenter Color
|
|
655
|
+
*/
|
|
656
|
+
|
|
657
|
+
--schema-constraint-text-color: var(--schema-inline-code-text-color);
|
|
658
|
+
--schema-constraint-bg-color: var(--schema-inline-bg-color);
|
|
659
|
+
--schema-constraint-border-color: var(--schema-inline-border-color);
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @tokens API Reference Schema Enum Label colors
|
|
663
|
+
* @presenter Color
|
|
664
|
+
*/
|
|
665
|
+
|
|
666
|
+
--schema-enum-text-color: var(--schema-inline-code-text-color);
|
|
667
|
+
--schema-enum-bg-color: var(--schema-inline-bg-color);
|
|
668
|
+
--schema-enum-border-color: var(--schema-inline-border-color);
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* @tokens API Reference Schema Default Label colors
|
|
672
|
+
* @presenter Color
|
|
673
|
+
*/
|
|
674
|
+
|
|
675
|
+
--schema-default-text-color: var(--schema-inline-code-text-color);
|
|
676
|
+
--schema-default-bg-color: var(--schema-inline-bg-color);
|
|
677
|
+
--schema-default-border-color: var(--schema-inline-border-color);
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @tokens API Reference Schema Recursive Label colors
|
|
681
|
+
* @presenter Color
|
|
682
|
+
*/
|
|
683
|
+
|
|
684
|
+
--schema-recursive-text-color: var(--text-color-on-color); // @presenter Color
|
|
685
|
+
--schema-recursive-bg-color: var(--color-persian-green-6); // @presenter Color
|
|
686
|
+
--schema-recursive-border-color: var(--schema-recursive-bg-color); // @presenter Color
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* @tokens GraphQL Docs Reference Schema Non null label
|
|
690
|
+
* @presenter Color
|
|
691
|
+
*/
|
|
692
|
+
|
|
693
|
+
--schema-non-null-text-color: var(--schema-inline-code-text-color);
|
|
694
|
+
--schema-non-null-bg-color: var(--schema-inline-bg-color);
|
|
695
|
+
--schema-non-null-border-color: var(--schema-inline-border-color);
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* @tokens API Reference Schema Nested styles
|
|
699
|
+
*/
|
|
700
|
+
|
|
701
|
+
--schema-nested-offset: calc(var(--spacing-unit) * 2.5); // @presenter Spacing
|
|
702
|
+
--schema-nested-bg-color: var(--tree-bg-color-active); // @presenter Color
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* @tokens API Reference Schema Required styles
|
|
706
|
+
*/
|
|
707
|
+
|
|
708
|
+
--schema-required-color: #E20C0C; // @presenter Color
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* @tokens API Reference Schema Buttons
|
|
712
|
+
*/
|
|
713
|
+
|
|
714
|
+
--schema-buttons-font-family: var(--code-font-family); // @presenter FontFamily
|
|
715
|
+
--schema-buttons-font-weight: var(--code-font-weight); // @presenter FontWeight
|
|
716
|
+
--schema-buttons-font-size: var(--code-font-size); // @presenter FontSize
|
|
717
|
+
|
|
718
|
+
--schema-buttons-text-color: var(--text-color-secondary); // @presenter Color
|
|
719
|
+
--schema-buttons-bg-color: transparent; // @presenter Color
|
|
720
|
+
--schema-buttons-border-color: var(--border-color-primary); // @presenter Color
|
|
721
|
+
|
|
722
|
+
--schema-buttons-bg-color-hover: var(--button-bg-color-secondary-hover); // @presenter Color
|
|
723
|
+
--schema-buttons-bg-color-active: var(--button-bg-color-secondary-pressed); // @presenter Color
|
|
724
|
+
|
|
725
|
+
--schema-buttons-selected-text-color: var(--schema-buttons-text-color); // @presenter Color
|
|
726
|
+
--schema-buttons-selected-bg-color: var(--button-bg-color-secondary-pressed); // @presenter Color
|
|
727
|
+
--schema-buttons-selected-border-color: var(--schema-buttons-border-color); // @presenter Color
|
|
728
|
+
--schema-buttons-selected-bg-color-hover: var(--button-bg-color-secondary-hover); // @presenter Color
|
|
729
|
+
--schema-buttons-selected-bg-color-active: var(--button-bg-color-secondary-pressed); // @presenter Color
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* @tokens API Reference Schema Properties
|
|
733
|
+
*/
|
|
734
|
+
|
|
735
|
+
--schemas-property-name-text-color: var(--text-color-primary); //@presenter Color
|
|
736
|
+
--schemas-property-name-font-size: var(--font-size-base); // @presenter FontSize
|
|
737
|
+
--schemas-property-name-font-family: var(--code-font-family); // @presenter FontFamily
|
|
738
|
+
--schemas-property-name-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
739
|
+
--schemas-property-name-line-height: var(--line-height-base); // @presenter LineHeight
|
|
740
|
+
--schemas-property-name-text-transform: none;
|
|
741
|
+
|
|
742
|
+
--schemas-property-deprecated-text-color: var(--text-color-primary); // @presenter Color
|
|
743
|
+
|
|
744
|
+
--schema-property-labels-font-size: var(--schema-labels-font-size); // @presenter FontSize
|
|
745
|
+
--schema-property-required-label-text-color: var(--schema-required-color); // @presenter Color
|
|
746
|
+
--schema-property-additional-label-text-color: var(--text-color-secondary); // @presenter Color
|
|
747
|
+
--schema-property-access-label-text-color: var(--text-color-secondary); // @presenter Color
|
|
748
|
+
|
|
749
|
+
--schema-property-details-width: 70%;
|
|
750
|
+
--schema-property-details-spacing: var(--spacing-base); // @presenter Spacing
|
|
751
|
+
--schema-fist-property-details-spacing: var(--spacing-sm); // @presenter Spacing
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* @tokens API Reference Schema Icons
|
|
755
|
+
*/
|
|
756
|
+
|
|
757
|
+
--schema-chevron-color: var(--text-color-secondary); // @presenter Color
|
|
758
|
+
--schema-chevron-size: 9px;
|
|
759
|
+
|
|
760
|
+
--schema-property-deep-link-icon-color: var(--color-primary-base); // @presenter Color
|
|
761
|
+
--schema-property-deep-link-icon: none;
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @tokens API Reference Other
|
|
765
|
+
*/
|
|
766
|
+
|
|
767
|
+
--loading-spinner-color: var(--color-primary-base); // @presenter Color
|
|
768
|
+
--linear-progress-color: var(--color-info-base); // @presenter Color
|
|
769
|
+
--linear-progress-bg-color: var(--color-info-bg); // @presenter Color
|
|
770
|
+
|
|
771
|
+
--fab-bg-color: var(--color-primary-base); // @presenter Color
|
|
772
|
+
--fab-box-shadow: var(--bg-raised-shadow); // @presenter Shadow
|
|
773
|
+
|
|
774
|
+
--fab-bg-color-hover: var(--color-primary-base); // @presenter Color
|
|
775
|
+
--fab-box-shadow-hover: var(--bg-raised-shadow); // @presenter Shadow
|
|
776
|
+
|
|
777
|
+
--fab-bg-color-active: var(--color-primary-base); // @presenter Color
|
|
778
|
+
--fab-box-shadow-active: var(--bg-raised-shadow); // @presenter Shadow
|
|
779
|
+
|
|
780
|
+
--fab-icon-color: var(--navbar-text-color); // @presenter Color
|
|
781
|
+
|
|
782
|
+
// @tokens End
|
|
783
|
+
`;
|
|
784
|
+
|
|
785
|
+
const badges = css`
|
|
786
|
+
/**
|
|
787
|
+
* @tokens Default Badge
|
|
788
|
+
*/
|
|
789
|
+
|
|
790
|
+
--badge-text-color: var(--text-color-inverse); // @presenter Color
|
|
791
|
+
--badge-bg-color: var(--color-purple-6); // @presenter Color
|
|
792
|
+
--badge-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* @tokens Deprecated Badge
|
|
796
|
+
*/
|
|
797
|
+
|
|
798
|
+
--badge-deprecated-text-color: var(--text-color-on-color); // @presenter Color
|
|
799
|
+
--badge-deprecated-bg-color: var(--color-warning-base); // @presenter Color
|
|
800
|
+
--badge-deprecated-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
801
|
+
|
|
802
|
+
// @tokens End
|
|
803
|
+
`;
|
|
804
|
+
|
|
805
|
+
const loadProgressBar = css`
|
|
806
|
+
/**
|
|
807
|
+
* @tokens Load progress bar
|
|
808
|
+
*/
|
|
809
|
+
|
|
810
|
+
--load-progress-bar-color: var(--color-info-base); // @presenter Color
|
|
811
|
+
--load-progress-bar-shadow: 0 0 10px var(--load-progress-bar-color), 0 0 5px var(--load-progress-bar-color); // @presenter BoxShadow
|
|
812
|
+
--load-progress-bar-height: 2px; // @presenter Height
|
|
813
|
+
|
|
814
|
+
// @tokens End
|
|
815
|
+
|
|
816
|
+
/* Make clicks pass-through */
|
|
817
|
+
#nprogress {
|
|
818
|
+
pointer-events: none;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
#nprogress .bar {
|
|
822
|
+
background: var(--load-progress-bar-color);
|
|
823
|
+
|
|
824
|
+
position: fixed;
|
|
825
|
+
z-index: var(--z-index-popover);
|
|
826
|
+
top: 0;
|
|
827
|
+
left: 0;
|
|
828
|
+
|
|
829
|
+
width: 100%;
|
|
830
|
+
height: var(--load-progress-bar-height);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
#nprogress .peg {
|
|
834
|
+
display: block;
|
|
835
|
+
position: absolute;
|
|
836
|
+
right: 0;
|
|
837
|
+
width: 100px;
|
|
838
|
+
height: 100%;
|
|
839
|
+
box-shadow: var(--load-progress-bar-shadow);
|
|
840
|
+
opacity: 1;
|
|
841
|
+
|
|
842
|
+
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
|
843
|
+
-ms-transform: rotate(3deg) translate(0px, -4px);
|
|
844
|
+
transform: rotate(3deg) translate(0px, -4px);
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.nprogress-custom-parent {
|
|
848
|
+
overflow: hidden;
|
|
849
|
+
position: relative;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.nprogress-custom-parent #nprogress .bar {
|
|
853
|
+
position: absolute;
|
|
854
|
+
}
|
|
855
|
+
`;
|
|
856
|
+
|
|
857
|
+
const inputs = css`
|
|
858
|
+
/**
|
|
859
|
+
* @tokens Inputs
|
|
860
|
+
*/
|
|
861
|
+
|
|
862
|
+
--input-bg-color: var(--color-white); // @presenter Color
|
|
863
|
+
--input-bg-color-ghost: var(--color-white);
|
|
864
|
+
|
|
865
|
+
--input-font-size: var(--font-size-base); // @presenter FontSize
|
|
866
|
+
--input-font-family: var(--font-family-base); // @presenter FontFamily
|
|
867
|
+
--input-line-height: 1.15em; // @presenter LineHeight
|
|
868
|
+
--input-text-indent: 16px;
|
|
869
|
+
|
|
870
|
+
--input-padding: var(--spacing-xs);
|
|
871
|
+
--input-padding-horizontal: var(--spacing-sm);
|
|
872
|
+
--input-padding-vertical: var(--spacing-xxs);
|
|
873
|
+
--input-height: 40px;
|
|
874
|
+
|
|
875
|
+
--input-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
876
|
+
--input-border-color: var(--color-warm-grey-3);
|
|
877
|
+
--input-border: 1px solid var(--input-border-color); // @presenter Border
|
|
878
|
+
--input-border-color-hover: var(--color-warm-grey-4);
|
|
879
|
+
--input-border-hover: 1px solid var(--input-border-color-hover); // @presenter Border
|
|
880
|
+
--input-border-color-focused: var(--color-info-base);
|
|
881
|
+
--input-border-focus: 1px solid var(--input-border-color-focused); // @presenter Border
|
|
882
|
+
|
|
883
|
+
--input-content-color-disabled: var(--color-warm-grey-4);
|
|
884
|
+
--input-bg-color-disabled: var(--color-warm-grey-1);
|
|
885
|
+
--input-border-color-disabled: var(--color-warm-grey-3);
|
|
886
|
+
--input-border-disabled: 1px solid var(--input-border-color-disabled); // @presenter Border
|
|
887
|
+
|
|
888
|
+
--input-content-color-active: var(--color-warm-grey-11); // @presenter Color
|
|
889
|
+
--input-content-placeholder-color: var(--color-warm-grey-5); // @presenter Color
|
|
890
|
+
|
|
891
|
+
--input-t-icon-color: var(--color-warm-grey-5); // @presenter Color
|
|
892
|
+
|
|
893
|
+
--checkbox-bg-color: var(--bg-color);
|
|
894
|
+
--checkbox-checked-bg-color: var(--color-primary-base);
|
|
895
|
+
|
|
896
|
+
// @tokens End
|
|
897
|
+
`;
|
|
898
|
+
|
|
899
|
+
const docsDropdown = css`
|
|
900
|
+
--docs-dropdown-font-size: var(--font-size-base);
|
|
901
|
+
--docs-dropdown-text-color: var(--text-color-secondary);
|
|
902
|
+
|
|
903
|
+
--docs-dropdown-padding-vertical: 6px;
|
|
904
|
+
--docs-dropdown-padding-left: 10px;
|
|
905
|
+
--docs-dropdown-padding-right: 26px;
|
|
906
|
+
--docs-dropdown-padding: var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-right) var(--docs-dropdown-padding-vertical) var(--docs-dropdown-padding-left);
|
|
907
|
+
--docs-dropdown-border: 1px solid var(--border-color-primary);
|
|
908
|
+
`;
|
|
909
|
+
|
|
910
|
+
const tile = css`
|
|
911
|
+
--wide-tile-bg-color: var(--bg-color-raised);
|
|
912
|
+
--thin-tile-bg-color: var(--bg-color-raised);
|
|
913
|
+
`;
|
|
914
|
+
|
|
915
|
+
const pages = css`
|
|
916
|
+
/**
|
|
917
|
+
* @tokens 404 Page
|
|
918
|
+
* @presenter Color
|
|
919
|
+
*/
|
|
920
|
+
|
|
921
|
+
--page-404-font-family: var(--font-family-base); // @presenter FontFamily
|
|
922
|
+
--page-404-margin-vertical: var(--spacing-xl);
|
|
923
|
+
--page-404-margin-horizontal: calc(var(--spacing-xxl) * 2);
|
|
924
|
+
--page-404-gap: var(--spacing-lg);
|
|
925
|
+
--page-404-max-width: 680px;
|
|
926
|
+
|
|
927
|
+
--page-404-status-text-color: var(--text-color-helper);
|
|
928
|
+
--page-404-status-font-size: var(--font-size-lg); // @presenter FontSize
|
|
929
|
+
--page-404-status-font-weight: var(--font-weight-semibold); // @presenter FontWeight
|
|
930
|
+
--page-404-status-line-height: var(--line-height-lg); // @presenter LineHeight
|
|
931
|
+
|
|
932
|
+
--page-404-title-text-color: var(--text-color-primary);
|
|
933
|
+
--page-404-title-font-size: 42px; // @presenter FontSize
|
|
934
|
+
--page-404-title-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
935
|
+
--page-404-title-line-height: 50px; // @presenter LineHeight
|
|
936
|
+
--page-404-status-line-height: var(--line-height-lg); // @presenter LineHeight
|
|
937
|
+
|
|
938
|
+
--page-404-description-text-color: var(--text-color-secondary);
|
|
939
|
+
--page-404-description-font-size: var(--font-size-xl); // @presenter FontSize
|
|
940
|
+
--page-404-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
941
|
+
--page-404-description-line-height: var(--line-height-xl); // @presenter LineHeight
|
|
942
|
+
|
|
943
|
+
// @tokens End
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* @tokens 403 Page
|
|
947
|
+
* @presenter Color
|
|
948
|
+
*/
|
|
949
|
+
|
|
950
|
+
--page-403-font-family: var(--font-family-base); // @presenter FontFamily
|
|
951
|
+
|
|
952
|
+
--page-403-header-text-color: var(--h1-text-color);
|
|
953
|
+
--page-403-header-font-size: var(--h1-font-size); // @presenter FontSize
|
|
954
|
+
--page-403-header-font-weight: var(--h1-font-weight); // @presenter FontWeight
|
|
955
|
+
--page-403-header-line-height: var(--h1-line-height); // @presenter LineHeight
|
|
956
|
+
--page-403-header-margin: 0; // @presenter Spacing
|
|
957
|
+
|
|
958
|
+
--page-403-description-text-color: var(--text-color-secondary);
|
|
959
|
+
--page-403-description-font-size: 1.5em; // @presenter FontSize
|
|
960
|
+
--page-403-description-font-weight: var(--font-weight-regular); // @presenter FontWeight
|
|
961
|
+
--page-403-description-line-height: 1; // @presenter LineHeight
|
|
962
|
+
--page-403-description-margin: 0; // @presenter Spacing
|
|
963
|
+
|
|
964
|
+
--page-403-button-margin: 4em; // @presenter Spacing
|
|
965
|
+
|
|
966
|
+
--page-403-oidc-description-font-size: var(--font-size-lg);
|
|
967
|
+
--page-403-oidc-description-margin: var(--spacing-md) var(--spacing-sm);
|
|
968
|
+
|
|
969
|
+
// @tokens End
|
|
970
|
+
`;
|
|
971
|
+
|
|
972
|
+
const error = css`
|
|
973
|
+
--error-bubble-padding: var(--spacing-md);
|
|
974
|
+
--error-bubble-bottom: var(--spacing-xl);
|
|
975
|
+
--error-bubble-left: var(--spacing-xl);
|
|
976
|
+
--error-bubble-max-width: 20%;
|
|
977
|
+
--error-bubble-mobile-max-width: 50%;
|
|
978
|
+
--error-bubble-text-overflow: ellipsis;
|
|
979
|
+
--error-bubble-gap: var(--spacing-base);
|
|
980
|
+
--error-bubble-font-family: var(--font-family-base);
|
|
981
|
+
--error-bubble-z-index: var(--z-index-popover);
|
|
982
|
+
|
|
983
|
+
--error-card-border-radius: calc(var(--spacing-xxs) * 1.5);
|
|
984
|
+
--error-card-bg-color: var(--bg-color-raised);
|
|
985
|
+
--error-card-padding: var(--spacing-xs) var(--spacing-base);
|
|
986
|
+
--error-card-text-color: var(--text-color-primary);
|
|
987
|
+
--error-card-font-size: var(--font-size-base);
|
|
988
|
+
--error-card-font-style: normal;
|
|
989
|
+
--error-card-font-weight: var(--font-weight-regular);
|
|
990
|
+
--error-card-line-height: var(--line-height-base);
|
|
991
|
+
--error-card-box-shadow: var(--bg-raised-shadow);
|
|
992
|
+
--error-card-icon-margin: 0 var(--spacing-xs) 0 0;
|
|
993
|
+
|
|
994
|
+
--detailed-error-overlay-bg-color: #4f4f4f;
|
|
995
|
+
--detailed-error-overlay-opacity: 0.9;
|
|
996
|
+
--detailed-error-overlay-z-index: var(--z-index-raised);
|
|
997
|
+
|
|
998
|
+
--detailed-error-modal-width: 70%;
|
|
999
|
+
--detailed-error-modal-height: calc(100vh - 100px - var(--navbar-height));
|
|
1000
|
+
--detailed-error-modal-top: calc(50px + var(--navbar-height));
|
|
1001
|
+
--detailed-error-modal-left: 15%;
|
|
1002
|
+
--detailed-error-modal-border-radius: var(--border-radius-md);
|
|
1003
|
+
--detailed-error-modal-bg-color: var(--bg-color-raised);
|
|
1004
|
+
--detailed-error-modal-color: var(--text-color-primary);
|
|
1005
|
+
--detailed-error-modal-box-shadow: var(--bg-raised-shadow);
|
|
1006
|
+
--detailed-error-modal-z-index: var(--z-index-popover);
|
|
1007
|
+
--detailed-error-modal-font-family: var(--font-family-base);
|
|
1008
|
+
--detailed-error-modal-padding: var(--spacing-md);
|
|
1009
|
+
--detailed-error-modal-wapper-text-align: right;
|
|
1010
|
+
|
|
1011
|
+
--detailed-error-content-margin-top: var(--spacing-md);
|
|
1012
|
+
--detailed-error-content-height: 100%;
|
|
1013
|
+
|
|
1014
|
+
--detailed-error-close-button-color: var(--text-color-description);
|
|
1015
|
+
--detailed-error-close-button-text-transform: uppercase;
|
|
1016
|
+
|
|
1017
|
+
--detailed-error-message-margin: var(--spacing-base) auto var(--spacing-lg);
|
|
1018
|
+
--detailed-error-message-padding: var(--spacing-base);
|
|
1019
|
+
--detailed-error-message-border-radius: var(--border-radius);
|
|
1020
|
+
--detailed-error-message-color: var(--code-block-text-color);
|
|
1021
|
+
--detailed-error-message-bg-color: var(--code-block-bg-color);
|
|
1022
|
+
--detailed-error-message-width: 100%;
|
|
1023
|
+
--detailed-error-message-font-size: var(--font-size-base);
|
|
1024
|
+
--detailed-error-message-font-family: var(--code-block-controls-font-family);
|
|
1025
|
+
`;
|
|
1026
|
+
|
|
1027
|
+
const modal = css`
|
|
1028
|
+
body:has(.scroll-lock) {
|
|
1029
|
+
overflow: hidden;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
--modal-box-shadow: var(--bg-raised-shadow);
|
|
1033
|
+
--modal-bg-color: var(--bg-color);
|
|
1034
|
+
`;
|
|
1035
|
+
|
|
1036
|
+
const zIndexDepth = css`
|
|
1037
|
+
--z-index-surface: 10;
|
|
1038
|
+
--z-index-raised: 100;
|
|
1039
|
+
--z-index-popover: 200;
|
|
1040
|
+
--z-index-overlay: 1000;
|
|
1041
|
+
`;
|
|
1042
|
+
|
|
1043
|
+
const scorecardColors = css`
|
|
1044
|
+
--scorecard-color-error: var(--color-error-base);
|
|
1045
|
+
--scorecard-color-warning: var(--color-warning-base);
|
|
1046
|
+
--scorecard-color-success: var(--color-persian-green-7);
|
|
1047
|
+
`;
|
|
1048
|
+
|
|
1049
|
+
const browserOverrides = css`
|
|
1050
|
+
button {
|
|
1051
|
+
font-family: var(--font-family-base);
|
|
1052
|
+
font-size: var(--font-size-base);
|
|
1053
|
+
font-weight: var(--font-weight-regular);
|
|
1054
|
+
line-height: var(--line-height-base);
|
|
1055
|
+
background-color: inherit;
|
|
1056
|
+
cursor: pointer;
|
|
1057
|
+
border: none;
|
|
1058
|
+
color: var(--text-color-primary);
|
|
1059
|
+
}
|
|
1060
|
+
`;
|
|
1061
|
+
|
|
1062
|
+
const tab = css`
|
|
1063
|
+
/**
|
|
1064
|
+
* @tokens Tab Colors
|
|
1065
|
+
* @presenter Color
|
|
1066
|
+
*/
|
|
1067
|
+
--tab-content-color-default: var(--color-warm-grey-8); // @presenter Color
|
|
1068
|
+
--tab-content-color-active: var(--color-warm-grey-11); // @presenter Color
|
|
1069
|
+
|
|
1070
|
+
--tab-bg-color-filled: var(--color-warm-grey-2); // @presenter Color
|
|
1071
|
+
|
|
1072
|
+
--tab-content-color-disabled: var(--color-warm-grey-6); // @presenter Color
|
|
1073
|
+
--tab-bg-color-disabled: var(--color-warm-grey-2); // @presenter Color
|
|
1074
|
+
|
|
1075
|
+
--tab-border-color-active: var(--color-warm-grey-11); // @presenter Color
|
|
1076
|
+
|
|
1077
|
+
// @tokens End
|
|
1078
|
+
`;
|
|
1079
|
+
|
|
1080
|
+
const icon = css`
|
|
1081
|
+
/**
|
|
1082
|
+
* @tokens Tab Colors
|
|
1083
|
+
* @presenter Color
|
|
1084
|
+
*/
|
|
1085
|
+
|
|
1086
|
+
--icon-color-primary: var(--color-warm-grey-11); // @presenter Color
|
|
1087
|
+
--icon-color-secondary: var(--color-warm-grey-8); // @presenter Color
|
|
1088
|
+
--icon-color-on-color: var(--color-warm-grey-1); // @presenter Color
|
|
1089
|
+
--icon-color-interactive: var(--color-blueberry-6); // @presenter Color
|
|
1090
|
+
--icon-color-inverse: var(--color-white); // @presenter Color
|
|
1091
|
+
--icon-color-disabled: var(--color-warm-grey-5); // @presenter Color
|
|
1092
|
+
--icon-color-additional: var(--color-warm-grey-7); // @presenter Color
|
|
1093
|
+
--icon-color-helper: var(--color-warm-grey-6); // @presenter Color
|
|
1094
|
+
|
|
1095
|
+
--plus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H4.6875V6.79687C4.6875 6.83984 4.72266 6.875 4.76562 6.875H5.23438C5.27734 6.875 5.3125 6.83984 5.3125 6.79687V5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H5.3125V3.20312C5.3125 3.16016 5.27734 3.125 5.23438 3.125H4.76562C4.72266 3.125 4.6875 3.16016 4.6875 3.20312V4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%23555761'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%23555761'/%3E%3C/svg%3E%0A");
|
|
1096
|
+
--minus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%23555761'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%23555761'/%3E%3C/svg%3E%0A");
|
|
1097
|
+
|
|
1098
|
+
// @tokens End
|
|
1099
|
+
`;
|
|
1100
|
+
|
|
1101
|
+
const tree = css`
|
|
1102
|
+
/**
|
|
1103
|
+
* @tokens Tree Colors
|
|
1104
|
+
* @presenter Color
|
|
1105
|
+
*/
|
|
1106
|
+
|
|
1107
|
+
--tree-content-color-default: var(--color-warm-grey-8); // @presenter Color
|
|
1108
|
+
--tree-content-color-disabled: var(--color-warm-grey-5); // @presenter Color
|
|
1109
|
+
--tree-content-color-hover: var(--color-warm-grey-9); // @presenter Color
|
|
1110
|
+
|
|
1111
|
+
--tree-border-color-default: var(--color-warm-grey-3); // @presenter Color
|
|
1112
|
+
--tree-border-color-active: var(--color-warm-grey-3); // @presenter Color
|
|
1113
|
+
|
|
1114
|
+
--tree-bg-color-hover: var(--color-hover-base); // @presenter Color
|
|
1115
|
+
--tree-bg-color-active: var(--color-warm-grey-2); // @presenter Color
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* @tokens Theme Scrollbar Config
|
|
1119
|
+
* @presenter Color
|
|
1120
|
+
*/
|
|
1121
|
+
|
|
1122
|
+
*::-webkit-scrollbar {
|
|
1123
|
+
width: 6px; /* Adjust scrollbar width */
|
|
1124
|
+
height: 6px; /* Adjust scrollbar height */
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
*::-webkit-scrollbar-track {
|
|
1128
|
+
background-color: transparent;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
*::-webkit-scrollbar-thumb {
|
|
1132
|
+
background-color: var(--color-warm-grey-2);
|
|
1133
|
+
border-radius: var(--border-radius);
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
*::-webkit-scrollbar-thumb:hover {
|
|
1137
|
+
background: var(--bg-color-tonal);
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
*::-webkit-scrollbar-corner {
|
|
1141
|
+
background-color: transparent;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
// @tokens End
|
|
1145
|
+
`;
|
|
1146
|
+
|
|
1147
|
+
export const styles = css`
|
|
1148
|
+
:root {
|
|
1149
|
+
${admonition}
|
|
1150
|
+
${apiReferenceDocs}
|
|
1151
|
+
${apiReferencePanels}
|
|
1152
|
+
${badges}
|
|
1153
|
+
${borders}
|
|
1154
|
+
${breadcrumbs}
|
|
1155
|
+
${button}
|
|
1156
|
+
${catalog}
|
|
1157
|
+
${code}
|
|
1158
|
+
${docsDropdown}
|
|
1159
|
+
${dropdown}
|
|
1160
|
+
${error}
|
|
1161
|
+
${filter}
|
|
1162
|
+
${footer}
|
|
1163
|
+
${headingsTypography}
|
|
1164
|
+
${httpTag}
|
|
1165
|
+
${inputs}
|
|
1166
|
+
${languagePicker}
|
|
1167
|
+
${lastUpdated}
|
|
1168
|
+
${links}
|
|
1169
|
+
${loadProgressBar}
|
|
1170
|
+
${logo}
|
|
1171
|
+
${markdown}
|
|
1172
|
+
${markdownTabs}
|
|
1173
|
+
${mermaid}
|
|
1174
|
+
${menu}
|
|
1175
|
+
${mobileMenu}
|
|
1176
|
+
${modal}
|
|
1177
|
+
${navbar}
|
|
1178
|
+
${pages}
|
|
1179
|
+
${productPicker}
|
|
1180
|
+
${responsePanelColors}
|
|
1181
|
+
${search}
|
|
1182
|
+
${select}
|
|
1183
|
+
${sidebar}
|
|
1184
|
+
${sizeAndSpace}
|
|
1185
|
+
${tag}
|
|
1186
|
+
${themeColors}
|
|
1187
|
+
${tile}
|
|
1188
|
+
${toc}
|
|
1189
|
+
${tooltip}
|
|
1190
|
+
${typography}
|
|
1191
|
+
${userMenu}
|
|
1192
|
+
${versionPicker}
|
|
1193
|
+
${zIndexDepth}
|
|
1194
|
+
${scorecardColors}
|
|
1195
|
+
${statusCode}
|
|
1196
|
+
${tab}
|
|
1197
|
+
${icon}
|
|
1198
|
+
${tree}
|
|
1199
|
+
${segmented}
|
|
1200
|
+
${checkbox}
|
|
1201
|
+
${feedback}
|
|
1202
|
+
${scorecard}
|
|
1203
|
+
${datePicker}
|
|
1204
|
+
--api-catalog-card-min-width: 250px;
|
|
1205
|
+
|
|
1206
|
+
background-color: var(--bg-color);
|
|
1207
|
+
color: var(--text-color-primary);
|
|
1208
|
+
font-family: var(--font-family-base);
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
:root.dark {
|
|
1212
|
+
${darkMode};
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
:root.notransition * {
|
|
1216
|
+
transition: none !important;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
${browserOverrides}
|
|
1220
|
+
`;
|
|
1221
|
+
|
|
1222
|
+
export const GlobalStyle = createGlobalStyle`
|
|
1223
|
+
${styles};
|
|
1224
|
+
`;
|