@redocly/theme 0.66.0-next.2 → 0.66.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/AccordionBody.d.ts +1 -1
- package/lib/components/Accordion/AccordionBody.js +1 -1
- package/lib/components/Accordion/AccordionHeader.d.ts +1 -1
- package/lib/components/Accordion/AccordionHeader.js +1 -1
- package/lib/components/Accordion/variables.d.ts +1 -1
- package/lib/components/Admonition/Admonition.d.ts +1 -1
- package/lib/components/Admonition/variables.d.ts +1 -1
- package/lib/components/Admonition/variables.dark.d.ts +1 -1
- package/lib/components/Banner/Banner.js +2 -2
- package/lib/components/Banner/variables.d.ts +1 -1
- package/lib/components/Banner/variables.dark.d.ts +1 -1
- package/lib/components/Breadcrumbs/Breadcrumb.js +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.d.ts +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbDropdown.js +2 -2
- package/lib/components/Breadcrumbs/variables.d.ts +1 -1
- package/lib/components/Button/Button.d.ts +2 -2
- package/lib/components/Button/variables.d.ts +1 -1
- package/lib/components/Button/variables.dark.d.ts +1 -1
- package/lib/components/Buttons/AIAssistantButton.js +3 -2
- package/lib/components/Buttons/ConnectMCPButton.d.ts +1 -1
- package/lib/components/Buttons/CopyButton.js +2 -3
- package/lib/components/Buttons/DownloadButton.d.ts +1 -1
- package/lib/components/Buttons/NewTabButton.d.ts +1 -1
- package/lib/components/Buttons/variables.d.ts +2 -2
- package/lib/components/Buttons/variables.dark.d.ts +1 -1
- package/lib/components/Catalog/CatalogActionsRow.d.ts +8 -6
- package/lib/components/Catalog/CatalogAvatar.d.ts +1 -1
- package/lib/components/Catalog/CatalogCardView/CatalogCard.js +6 -5
- package/lib/components/Catalog/CatalogEntitiesEmptyState.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsGraph.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsLinkedNode.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNode.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsNodeContent.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityGraph/CatalogEntityRelationsRootNode.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistoryButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityHistorySidebar.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityRevisionItem.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.js +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityInfoBar.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.js +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +1 -4
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/ShowMoreButton.js +1 -1
- package/lib/components/Catalog/CatalogEntityIcon.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntityTypeIcon.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilter.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterCheckboxes.js +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterContent.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterDateRange.js +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.d.ts +1 -1
- package/lib/components/Catalog/CatalogFilter/CatalogFilterSelect.js +2 -2
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanel.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelHeader.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.d.ts +1 -1
- package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarFiltersButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogPageDescription.d.ts +1 -1
- package/lib/components/Catalog/CatalogSelector.d.ts +4 -4
- package/lib/components/Catalog/CatalogSortButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.js +11 -12
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +3 -3
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +3 -9
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.js +3 -9
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.d.ts +1 -1
- package/lib/components/Catalog/CatalogTags.d.ts +1 -1
- package/lib/components/Catalog/CatalogViewModeToggle.d.ts +1 -1
- package/lib/components/Catalog/variables.d.ts +1 -1
- package/lib/components/Catalog/variables.dark.d.ts +1 -1
- package/lib/components/CatalogClassic/CatalogClassic.d.ts +23 -6
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.d.ts +1 -1
- package/lib/components/CatalogClassic/variables.d.ts +1 -1
- package/lib/components/CodeBlock/CodeBlock.js +4 -3
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +1 -1
- package/lib/components/CodeBlock/CodeBlockControls.js +4 -7
- package/lib/components/CodeBlock/CodeBlockTabs.js +1 -1
- package/lib/components/CodeBlock/variables.d.ts +1 -1
- package/lib/components/CodeBlock/variables.dark.d.ts +1 -1
- package/lib/components/DatePicker/variables.d.ts +1 -1
- package/lib/components/Dropdown/Dropdown.d.ts +3 -3
- package/lib/components/Dropdown/variables.d.ts +1 -1
- package/lib/components/Feedback/Comment.d.ts +1 -1
- package/lib/components/Feedback/Mood.js +2 -1
- package/lib/components/Feedback/ReportDialog.d.ts +1 -1
- package/lib/components/Feedback/Stars.js +2 -2
- package/lib/components/Feedback/variables.d.ts +1 -1
- package/lib/components/Filter/Filter.d.ts +1 -1
- package/lib/components/Filter/FilterCheckboxes.d.ts +1 -1
- package/lib/components/Filter/FilterContent.d.ts +1 -1
- package/lib/components/Filter/FilterPopover.d.ts +1 -1
- package/lib/components/Filter/FilterSelect.d.ts +1 -1
- package/lib/components/Filter/FilterSelect.js +1 -1
- package/lib/components/Filter/variables.d.ts +1 -1
- package/lib/components/Footer/FooterCopyright.d.ts +1 -1
- package/lib/components/Footer/variables.d.ts +1 -1
- package/lib/components/Image/Image.js +1 -1
- package/lib/components/JsonViewer/JsonViewer.d.ts +1 -1
- package/lib/components/LanguagePicker/variables.d.ts +1 -1
- package/lib/components/LastUpdated/variables.d.ts +1 -1
- package/lib/components/Link/Link.d.ts +7 -0
- package/lib/components/Link/Link.js +7 -3
- package/lib/components/LoadMore/LoadMore.d.ts +1 -1
- package/lib/components/Logo/variables.d.ts +1 -1
- package/lib/components/Markdown/Markdown.d.ts +21 -1
- package/lib/components/Markdown/Markdown.js +3 -4
- package/lib/components/Markdown/styles/base-table.d.ts +1 -1
- package/lib/components/Markdown/styles/heading-anchor.d.ts +2 -2
- package/lib/components/Markdown/styles/heading-anchor.js +1 -1
- package/lib/components/Markdown/styles/links.d.ts +1 -1
- package/lib/components/Markdown/variables.d.ts +1 -1
- package/lib/components/Menu/Menu.d.ts +1 -1
- package/lib/components/Menu/MenuItem.js +6 -4
- package/lib/components/Menu/variables.d.ts +2 -2
- package/lib/components/Menu/variables.dark.d.ts +1 -1
- package/lib/components/Navbar/variables.d.ts +1 -1
- package/lib/components/PageActions/variables.d.ts +1 -1
- package/lib/components/PageActions/variables.dark.d.ts +1 -1
- package/lib/components/PageNavigation/NavigationButton.d.ts +1 -1
- package/lib/components/PageNavigation/NextButton.js +1 -1
- package/lib/components/PageNavigation/PageNavigation.d.ts +1 -1
- package/lib/components/PageNavigation/PreviousButton.js +1 -1
- package/lib/components/PageNavigation/variables.d.ts +1 -1
- package/lib/components/Panel/Panel.d.ts +1 -1
- package/lib/components/Panel/PanelBody.d.ts +5 -1
- package/lib/components/Panel/PanelHeader.d.ts +5 -1
- package/lib/components/Panel/PanelHeaderTitle.d.ts +5 -1
- package/lib/components/Panel/variables.d.ts +2 -2
- package/lib/components/Portal/Portal.d.ts +1 -1
- package/lib/components/Product/ProductPicker.js +2 -2
- package/lib/components/Product/variables.d.ts +1 -1
- package/lib/components/Scorecard/variables.d.ts +1 -1
- package/lib/components/Scorecard/variables.dark.d.ts +1 -1
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.d.ts +1 -1
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.d.ts +1 -1
- package/lib/components/Search/SearchAiActionButtons.d.ts +1 -1
- package/lib/components/Search/SearchAiConversationInput.d.ts +1 -1
- package/lib/components/Search/SearchAiDialog.d.ts +1 -1
- package/lib/components/Search/SearchAiMessage.d.ts +1 -1
- package/lib/components/Search/SearchAiMessage.js +1 -1
- package/lib/components/Search/SearchAiNegativeFeedbackForm.d.ts +1 -1
- package/lib/components/Search/SearchDialog.d.ts +1 -1
- package/lib/components/Search/SearchDialog.js +7 -2
- package/lib/components/Search/SearchFilter.d.ts +1 -1
- package/lib/components/Search/SearchFilterField.d.ts +1 -1
- package/lib/components/Search/SearchGroups.d.ts +1 -1
- package/lib/components/Search/SearchInput.d.ts +1 -1
- package/lib/components/Search/SearchItem.d.ts +1 -1
- package/lib/components/Search/SearchRecent.js +2 -2
- package/lib/components/Search/SearchTrigger.js +2 -1
- package/lib/components/Search/variables.d.ts +1 -1
- package/lib/components/Search/variables.js +1 -1
- package/lib/components/Segmented/Segmented.js +1 -1
- package/lib/components/Segmented/variables.d.ts +1 -1
- package/lib/components/Segmented/variables.dark.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +5 -2
- package/lib/components/Select/SelectInput.d.ts +1 -1
- package/lib/components/Select/SelectInput.js +2 -2
- package/lib/components/Select/variables.d.ts +1 -1
- package/lib/components/Sidebar/Sidebar.d.ts +5 -3
- package/lib/components/Sidebar/variables.d.ts +1 -1
- package/lib/components/SidebarActions/SidebarActions.js +9 -10
- package/lib/components/SidebarActions/styled.d.ts +17 -8
- package/lib/components/SidebarLogo/SidebarLogo.d.ts +1 -1
- package/lib/components/SkipContent/variables.d.ts +1 -1
- package/lib/components/StatusCode/StatusCode.d.ts +5 -3
- package/lib/components/StatusCode/variables.d.ts +1 -1
- package/lib/components/StatusCode/variables.dark.d.ts +1 -1
- package/lib/components/SvgViewer/SvgViewer.d.ts +1 -1
- package/lib/components/SvgViewer/SvgViewer.js +2 -2
- package/lib/components/SvgViewer/variables.d.ts +1 -1
- package/lib/components/Switch/Switch.d.ts +1 -1
- package/lib/components/Switch/variables.d.ts +1 -1
- package/lib/components/Switch/variables.dark.d.ts +1 -1
- package/lib/components/TableOfContent/TableOfContent.js +2 -2
- package/lib/components/TableOfContent/variables.d.ts +1 -1
- package/lib/components/Tag/Tag.d.ts +1 -1
- package/lib/components/Tag/variables.d.ts +1 -1
- package/lib/components/Tag/variables.dark.d.ts +1 -1
- package/lib/components/Tags/CounterTag.d.ts +4 -3
- package/lib/components/Tags/HttpTag.d.ts +4 -3
- package/lib/components/Tags/variables.d.ts +1 -1
- package/lib/components/Toast/Toast.d.ts +2 -2
- package/lib/components/Toast/Toast.js +3 -3
- package/lib/components/Toast/variables.d.ts +1 -1
- package/lib/components/Tooltip/AnchorTooltip.d.ts +2 -1
- package/lib/components/Tooltip/JsTooltip.d.ts +2 -1
- package/lib/components/Tooltip/JsTooltip.js +4 -3
- package/lib/components/Tooltip/variables.d.ts +1 -1
- package/lib/components/Tooltip/variables.dark.d.ts +1 -1
- package/lib/components/Typography/CompactTypography.d.ts +18 -2
- package/lib/components/Typography/CompactTypography.js +2 -2
- package/lib/components/Typography/Emphasis.d.ts +5 -1
- package/lib/components/Typography/H1.d.ts +5 -1
- package/lib/components/Typography/H2.d.ts +5 -1
- package/lib/components/Typography/H3.d.ts +5 -1
- package/lib/components/Typography/H4.d.ts +5 -1
- package/lib/components/Typography/SectionHeader.d.ts +5 -1
- package/lib/components/Typography/Typography.d.ts +4 -3
- package/lib/components/UserMenu/LoginButton.d.ts +1 -1
- package/lib/components/UserMenu/UserAvatar.d.ts +1 -1
- package/lib/components/UserMenu/UserInfoMenuItem.d.ts +1 -1
- package/lib/components/UserMenu/UserMenu.js +4 -4
- package/lib/components/UserMenu/variables.d.ts +1 -1
- package/lib/components/VersionPicker/VersionPicker.d.ts +1 -1
- package/lib/components/VersionPicker/variables.d.ts +1 -1
- package/lib/core/constants/common.d.ts +2 -2
- package/lib/core/constants/environments.js +3 -1
- package/lib/core/constants/search.d.ts +2 -2
- package/lib/core/contexts/Toast/ToastProvider.js +2 -5
- package/lib/core/hooks/catalog/use-catalog-entity-details.d.ts +1 -1
- package/lib/core/hooks/catalog/use-catalog-entity-link.js +2 -1
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.d.ts +1 -1
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.js +4 -3
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.d.ts +1 -1
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.js +15 -12
- package/lib/core/hooks/menu/use-collapse.d.ts +1 -1
- package/lib/core/hooks/menu/use-collapse.js +2 -1
- package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +2 -2
- package/lib/core/hooks/search/use-search-dialog.js +2 -1
- package/lib/core/hooks/use-codeblock-tabs-controls.js +3 -6
- package/lib/core/hooks/use-connect-mcp-button.d.ts +1 -1
- package/lib/core/hooks/use-element-size.d.ts +1 -1
- package/lib/core/hooks/use-input-key-commands.js +4 -3
- package/lib/core/hooks/use-page-actions.js +4 -3
- package/lib/core/hooks/use-product-picker.d.ts +3 -3
- package/lib/core/hooks/use-store.d.ts +1 -1
- package/lib/core/hooks/use-tabs.d.ts +1 -1
- package/lib/core/hooks/use-toast-logic.d.ts +1 -1
- package/lib/core/hooks/use-tooltip-fallback-placement.d.ts +1 -1
- package/lib/core/styles/dark.d.ts +1 -3
- package/lib/core/styles/global.d.ts +4 -4
- package/lib/core/styles/palette.d.ts +3 -2
- package/lib/core/styles/palette.dark.d.ts +3 -2
- package/lib/core/styles/xyflow.d.ts +1 -1
- package/lib/core/types/hooks.d.ts +2 -0
- package/lib/core/types/l10n.d.ts +1 -1
- package/lib/core/utils/get-operation-color.d.ts +1 -1
- package/lib/core/utils/load-and-navigate.d.ts +1 -1
- package/lib/core/utils/load-and-navigate.js +2 -1
- package/lib/core/utils/menu.js +4 -7
- package/lib/core/utils/theme-helpers.d.ts +3 -3
- package/lib/core/utils/tooltip-placement.d.ts +2 -2
- package/lib/core/utils/transform-revisions-to-version-history.d.ts +1 -1
- package/lib/core/utils/transform-revisions-to-version-history.js +5 -4
- package/lib/icons/AddIcon/AddIcon.d.ts +18 -4
- package/lib/icons/AddIcon/AddIcon.js +2 -2
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.d.ts +1 -3
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.js +2 -2
- package/lib/icons/AiStarsIcon/AiStarsIcon.d.ts +1 -3
- package/lib/icons/AiStarsIcon/AiStarsIcon.js +2 -2
- package/lib/icons/AnthropicIcon/AnthropicIcon.d.ts +18 -4
- package/lib/icons/AnthropicIcon/AnthropicIcon.js +2 -2
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.d.ts +18 -4
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.js +2 -2
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +18 -4
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.js +2 -2
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +18 -4
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.js +2 -2
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +18 -4
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.js +2 -2
- package/lib/icons/AscSortIcon/AscSortIcon.d.ts +18 -4
- package/lib/icons/AscSortIcon/AscSortIcon.js +2 -2
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +18 -4
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.js +2 -2
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +18 -4
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.js +2 -2
- package/lib/icons/BotIcon/BotIcon.d.ts +18 -4
- package/lib/icons/BotIcon/BotIcon.js +2 -2
- package/lib/icons/CDNIcon/CDNIcon.d.ts +35 -6
- package/lib/icons/CDNIcon/CDNIcon.js +2 -2
- package/lib/icons/CardsIcon/CardsIcon.d.ts +18 -4
- package/lib/icons/CardsIcon/CardsIcon.js +2 -2
- package/lib/icons/CaretDownIcon/CaretDownIcon.d.ts +18 -4
- package/lib/icons/CaretDownIcon/CaretDownIcon.js +2 -2
- package/lib/icons/CaretUpIcon/CaretUpIcon.d.ts +18 -4
- package/lib/icons/CaretUpIcon/CaretUpIcon.js +2 -2
- package/lib/icons/CertificateIcon/CertificateIcon.d.ts +18 -4
- package/lib/icons/CertificateIcon/CertificateIcon.js +2 -2
- package/lib/icons/CharacterIcon/CharacterIcon.d.ts +18 -4
- package/lib/icons/CharacterIcon/CharacterIcon.js +2 -2
- package/lib/icons/ChatGptIcon/ChatGptIcon.d.ts +18 -4
- package/lib/icons/ChatGptIcon/ChatGptIcon.js +2 -2
- package/lib/icons/ChatIcon/ChatIcon.d.ts +18 -4
- package/lib/icons/ChatIcon/ChatIcon.js +2 -2
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.d.ts +18 -4
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.js +2 -2
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +34 -2
- package/lib/icons/CheckboxIcon/variables.d.ts +1 -1
- package/lib/icons/CheckboxIcon/variables.dark.d.ts +1 -1
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +18 -4
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.js +2 -2
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +18 -4
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.js +2 -2
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.d.ts +18 -4
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.js +2 -2
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +18 -4
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.js +2 -2
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +18 -4
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.js +2 -2
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +18 -4
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.js +2 -2
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.d.ts +28 -6
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.js +2 -2
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +18 -4
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.js +2 -2
- package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +18 -4
- package/lib/icons/CircleDashIcon/CircleDashIcon.js +2 -2
- package/lib/icons/ClaudeIcon/ClaudeIcon.d.ts +18 -4
- package/lib/icons/ClaudeIcon/ClaudeIcon.js +2 -2
- package/lib/icons/CleanIcon/CleanIcon.d.ts +18 -4
- package/lib/icons/CleanIcon/CleanIcon.js +2 -2
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +18 -4
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.js +2 -2
- package/lib/icons/CloseIcon/CloseIcon.d.ts +18 -4
- package/lib/icons/CloseIcon/CloseIcon.js +2 -2
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.d.ts +18 -4
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.js +2 -2
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +18 -4
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.js +2 -2
- package/lib/icons/CodeIcon/CodeIcon.d.ts +18 -4
- package/lib/icons/CodeIcon/CodeIcon.js +2 -2
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.d.ts +18 -4
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.js +2 -2
- package/lib/icons/ConnectIcon/ConnectIcon.d.ts +18 -4
- package/lib/icons/ConnectIcon/ConnectIcon.js +2 -2
- package/lib/icons/ContrastIcon/ContrastIcon.d.ts +18 -4
- package/lib/icons/ContrastIcon/ContrastIcon.js +2 -2
- package/lib/icons/CookieIcon/CookieIcon.d.ts +18 -4
- package/lib/icons/CookieIcon/CookieIcon.js +2 -2
- package/lib/icons/CopyIcon/CopyIcon.d.ts +18 -4
- package/lib/icons/CopyIcon/CopyIcon.js +2 -2
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +18 -4
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.js +2 -2
- package/lib/icons/CubeIcon/CubeIcon.d.ts +18 -4
- package/lib/icons/CubeIcon/CubeIcon.js +2 -2
- package/lib/icons/CursorIcon/CursorIcon.d.ts +18 -4
- package/lib/icons/CursorIcon/CursorIcon.js +2 -2
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.d.ts +18 -4
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.js +2 -2
- package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +18 -4
- package/lib/icons/DataFormatIcon/DataFormatIcon.js +2 -2
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.d.ts +18 -4
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.js +2 -2
- package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +18 -4
- package/lib/icons/DatabaseIcon/DatabaseIcon.js +2 -2
- package/lib/icons/DescSortIcon/DescSortIcon.d.ts +18 -4
- package/lib/icons/DescSortIcon/DescSortIcon.js +2 -2
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +21 -3
- package/lib/icons/DeselectIcon/DeselectIcon.js +2 -2
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.d.ts +21 -3
- package/lib/icons/DirectionRightIcon/DirectionRightIcon.js +2 -2
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.d.ts +18 -4
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.js +2 -2
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +18 -4
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.js +2 -2
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.d.ts +18 -4
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.js +2 -2
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.d.ts +18 -4
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.js +2 -2
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.d.ts +18 -4
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.js +2 -2
- package/lib/icons/DocumentIcon/DocumentIcon.d.ts +18 -4
- package/lib/icons/DocumentIcon/DocumentIcon.js +2 -2
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.d.ts +18 -4
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.js +2 -2
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.d.ts +18 -4
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.js +2 -2
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.d.ts +18 -4
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.js +2 -2
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.d.ts +18 -4
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.js +2 -2
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.d.ts +18 -4
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.js +2 -2
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.d.ts +18 -4
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.js +2 -2
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.d.ts +18 -4
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.js +2 -2
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.d.ts +18 -4
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.js +2 -2
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.d.ts +18 -4
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.js +2 -2
- package/lib/icons/DownloadIcon/DownloadIcon.d.ts +18 -4
- package/lib/icons/DownloadIcon/DownloadIcon.js +2 -2
- package/lib/icons/DraggableIcon/DraggableIcon.d.ts +18 -4
- package/lib/icons/DraggableIcon/DraggableIcon.js +2 -2
- package/lib/icons/EditIcon/EditIcon.d.ts +18 -4
- package/lib/icons/EditIcon/EditIcon.js +2 -2
- package/lib/icons/EmailIcon/EmailIcon.d.ts +18 -4
- package/lib/icons/EmailIcon/EmailIcon.js +2 -2
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.d.ts +18 -4
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.js +2 -2
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.d.ts +18 -4
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.js +2 -2
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +18 -4
- package/lib/icons/ErrorIcon/ErrorIcon.js +2 -2
- package/lib/icons/ExportIcon/ExportIcon.d.ts +18 -4
- package/lib/icons/ExportIcon/ExportIcon.js +2 -2
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +18 -4
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.js +2 -2
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +18 -4
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.js +2 -2
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +18 -4
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.js +2 -2
- package/lib/icons/FileIcon/FileIcon.d.ts +18 -4
- package/lib/icons/FileIcon/FileIcon.js +2 -2
- package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +18 -4
- package/lib/icons/FileStorageIcon/FileStorageIcon.js +2 -2
- package/lib/icons/FilterIcon/FilterIcon.d.ts +18 -4
- package/lib/icons/FilterIcon/FilterIcon.js +2 -2
- package/lib/icons/FitToViewIcon/FitToViewIcon.d.ts +18 -4
- package/lib/icons/FitToViewIcon/FitToViewIcon.js +2 -2
- package/lib/icons/FlowIcon/FlowIcon.d.ts +18 -4
- package/lib/icons/FlowIcon/FlowIcon.js +2 -2
- package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +18 -4
- package/lib/icons/FolderAddIcon/FolderAddIcon.js +2 -2
- package/lib/icons/FolderIcon/FolderIcon.d.ts +18 -4
- package/lib/icons/FolderIcon/FolderIcon.js +2 -2
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +18 -4
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.js +2 -2
- package/lib/icons/GeminiIcon/GeminiIcon.d.ts +18 -4
- package/lib/icons/GeminiIcon/GeminiIcon.js +2 -2
- package/lib/icons/GenericIcon/GenericIcon.d.ts +1 -1
- package/lib/icons/GithubIcon/GithubIcon.d.ts +18 -4
- package/lib/icons/GithubIcon/GithubIcon.js +2 -2
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +18 -4
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.js +2 -2
- package/lib/icons/GraphIcon/GraphIcon.d.ts +18 -4
- package/lib/icons/GraphIcon/GraphIcon.js +2 -2
- package/lib/icons/GraphqlIcon/GraphqlIcon.d.ts +18 -4
- package/lib/icons/GraphqlIcon/GraphqlIcon.js +2 -2
- package/lib/icons/GridIcon/GridIcon.d.ts +18 -4
- package/lib/icons/GridIcon/GridIcon.js +2 -2
- package/lib/icons/HashtagIcon/HashtagIcon.d.ts +18 -4
- package/lib/icons/HashtagIcon/HashtagIcon.js +2 -2
- package/lib/icons/HexagonIcon/HexagonIcon.d.ts +18 -4
- package/lib/icons/HexagonIcon/HexagonIcon.js +2 -2
- package/lib/icons/HierarchyIcon/HierarchyIcon.d.ts +18 -4
- package/lib/icons/HierarchyIcon/HierarchyIcon.js +2 -2
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +18 -4
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.js +2 -2
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +18 -4
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.js +2 -2
- package/lib/icons/IdeaIcon/IdeaIcon.d.ts +18 -4
- package/lib/icons/IdeaIcon/IdeaIcon.js +2 -2
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +18 -4
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.js +2 -2
- package/lib/icons/InformationIcon/InformationIcon.d.ts +18 -4
- package/lib/icons/InformationIcon/InformationIcon.js +2 -2
- package/lib/icons/JsonIcon/JsonIcon.d.ts +18 -4
- package/lib/icons/JsonIcon/JsonIcon.js +2 -2
- package/lib/icons/KafkaIcon/KafkaIcon.d.ts +18 -4
- package/lib/icons/KafkaIcon/KafkaIcon.js +2 -2
- package/lib/icons/LaunchIcon/LaunchIcon.d.ts +18 -4
- package/lib/icons/LaunchIcon/LaunchIcon.js +2 -2
- package/lib/icons/LinkIcon/LinkIcon.d.ts +18 -4
- package/lib/icons/LinkIcon/LinkIcon.js +2 -2
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +18 -4
- package/lib/icons/LogoutIcon/LogoutIcon.js +2 -2
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.d.ts +18 -4
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.js +2 -2
- package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +18 -4
- package/lib/icons/MaximizeIcon/MaximizeIcon.js +2 -2
- package/lib/icons/MenuIcon/MenuIcon.d.ts +18 -4
- package/lib/icons/MenuIcon/MenuIcon.js +2 -2
- package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +18 -4
- package/lib/icons/MinimizeIcon/MinimizeIcon.js +2 -2
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +18 -4
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.js +2 -2
- package/lib/icons/MoleculesIcon/MoleculesIcon.d.ts +18 -4
- package/lib/icons/MoleculesIcon/MoleculesIcon.js +2 -2
- package/lib/icons/MoonIcon/MoonIcon.d.ts +18 -4
- package/lib/icons/MoonIcon/MoonIcon.js +2 -2
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.d.ts +18 -4
- package/lib/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.js +2 -2
- package/lib/icons/NetworkIcon/NetworkIcon.d.ts +18 -4
- package/lib/icons/NetworkIcon/NetworkIcon.js +2 -2
- package/lib/icons/NewChatIcon/NewChatIcon.d.ts +18 -4
- package/lib/icons/NewChatIcon/NewChatIcon.js +2 -2
- package/lib/icons/NoneIcon/NoneIcon.d.ts +18 -4
- package/lib/icons/NoneIcon/NoneIcon.js +2 -2
- package/lib/icons/NoteIcon/NoteIcon.d.ts +18 -4
- package/lib/icons/NoteIcon/NoteIcon.js +2 -2
- package/lib/icons/NotesIcon/NotesIcon.d.ts +18 -4
- package/lib/icons/NotesIcon/NotesIcon.js +2 -2
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +18 -4
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.js +2 -2
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +18 -4
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.js +2 -2
- package/lib/icons/PeopleIcon/PeopleIcon.d.ts +18 -4
- package/lib/icons/PeopleIcon/PeopleIcon.js +2 -2
- package/lib/icons/PlayIcon/PlayIcon.d.ts +18 -4
- package/lib/icons/PlayIcon/PlayIcon.js +2 -2
- package/lib/icons/PlaylistIcon/PlaylistIcon.d.ts +18 -4
- package/lib/icons/PlaylistIcon/PlaylistIcon.js +2 -2
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +18 -4
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.js +2 -2
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.d.ts +18 -4
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.js +2 -2
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.d.ts +22 -3
- package/lib/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.js +3 -3
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +18 -4
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.js +2 -2
- package/lib/icons/RedoclyIcon/RedoclyIcon.d.ts +18 -4
- package/lib/icons/RedoclyIcon/RedoclyIcon.js +2 -2
- package/lib/icons/RenewIcon/RenewIcon.d.ts +18 -4
- package/lib/icons/RenewIcon/RenewIcon.js +2 -2
- package/lib/icons/ResetIcon/ResetIcon.d.ts +18 -4
- package/lib/icons/ResetIcon/ResetIcon.js +2 -2
- package/lib/icons/RestartIcon/RestartIcon.d.ts +18 -4
- package/lib/icons/RestartIcon/RestartIcon.js +2 -2
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.d.ts +13 -3
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.js +2 -2
- package/lib/icons/RocketIcon/RocketIcon.d.ts +18 -4
- package/lib/icons/RocketIcon/RocketIcon.js +2 -2
- package/lib/icons/SaveIcon/SaveIcon.d.ts +18 -4
- package/lib/icons/SaveIcon/SaveIcon.js +2 -2
- package/lib/icons/SearchIcon/SearchIcon.d.ts +18 -4
- package/lib/icons/SearchIcon/SearchIcon.js +2 -2
- package/lib/icons/SecurityIcon/SecurityIcon.d.ts +18 -4
- package/lib/icons/SecurityIcon/SecurityIcon.js +2 -2
- package/lib/icons/SelectIcon/SelectIcon.d.ts +21 -3
- package/lib/icons/SelectIcon/SelectIcon.js +2 -2
- package/lib/icons/SendIcon/SendIcon.d.ts +21 -3
- package/lib/icons/SendIcon/SendIcon.js +2 -2
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.d.ts +18 -4
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.js +2 -2
- package/lib/icons/SettingsIcon/SettingsIcon.d.ts +28 -6
- package/lib/icons/SettingsIcon/SettingsIcon.js +2 -2
- package/lib/icons/ShareIcon/ShareIcon.d.ts +18 -4
- package/lib/icons/ShareIcon/ShareIcon.js +2 -2
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +18 -4
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.js +2 -2
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +18 -4
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.js +2 -2
- package/lib/icons/SlackIcon/SlackIcon.d.ts +18 -4
- package/lib/icons/SlackIcon/SlackIcon.js +2 -2
- package/lib/icons/SortIcon/SortIcon.d.ts +18 -4
- package/lib/icons/SortIcon/SortIcon.js +2 -2
- package/lib/icons/Spinner/Spinner.d.ts +90 -7
- package/lib/icons/Spinner/Spinner.js +2 -2
- package/lib/icons/SpinnerIcon/SpinnerIcon.d.ts +21 -3
- package/lib/icons/SpinnerIcon/SpinnerIcon.js +2 -2
- package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +18 -4
- package/lib/icons/StarFilledIcon/StarFilledIcon.js +2 -2
- package/lib/icons/StarIcon/StarIcon.d.ts +18 -4
- package/lib/icons/StarIcon/StarIcon.js +2 -2
- package/lib/icons/StopIcon/StopIcon.d.ts +18 -4
- package/lib/icons/StopIcon/StopIcon.js +2 -2
- package/lib/icons/SubtractIcon/SubtractIcon.d.ts +18 -4
- package/lib/icons/SubtractIcon/SubtractIcon.js +2 -2
- package/lib/icons/SunIcon/SunIcon.d.ts +18 -4
- package/lib/icons/SunIcon/SunIcon.js +2 -2
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +18 -4
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.js +2 -2
- package/lib/icons/TableIcon/TableIcon.d.ts +18 -4
- package/lib/icons/TableIcon/TableIcon.js +2 -2
- package/lib/icons/TagsIcon/TagsIcon.d.ts +18 -4
- package/lib/icons/TagsIcon/TagsIcon.js +2 -2
- package/lib/icons/TaskViewIcon/TaskViewIcon.d.ts +18 -4
- package/lib/icons/TaskViewIcon/TaskViewIcon.js +2 -2
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.d.ts +18 -4
- package/lib/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.js +2 -2
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.d.ts +22 -3
- package/lib/icons/ThumbDownIcon/ThumbDownIcon.js +3 -3
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.d.ts +18 -4
- package/lib/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.js +2 -2
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.d.ts +22 -3
- package/lib/icons/ThumbUpIcon/ThumbUpIcon.js +3 -3
- package/lib/icons/TimeIcon/TimeIcon.d.ts +18 -4
- package/lib/icons/TimeIcon/TimeIcon.js +2 -2
- package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +18 -4
- package/lib/icons/TrashCanIcon/TrashCanIcon.js +2 -2
- package/lib/icons/UserIcon/UserIcon.d.ts +18 -4
- package/lib/icons/UserIcon/UserIcon.js +2 -2
- package/lib/icons/VSCodeIcon/VSCodeIcon.d.ts +18 -4
- package/lib/icons/VSCodeIcon/VSCodeIcon.js +2 -2
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +18 -4
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.js +2 -2
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +18 -4
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.js +2 -2
- package/lib/icons/ViewIcon/ViewIcon.d.ts +18 -4
- package/lib/icons/ViewIcon/ViewIcon.js +2 -2
- package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +18 -4
- package/lib/icons/ViewOffIcon/ViewOffIcon.js +2 -2
- package/lib/icons/WarningAltFilled/WarningAltFilled.d.ts +18 -4
- package/lib/icons/WarningAltFilled/WarningAltFilled.js +2 -2
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.d.ts +18 -4
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.js +2 -2
- package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +18 -4
- package/lib/icons/WarningAltIcon/WarningAltIcon.js +2 -2
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.d.ts +18 -4
- package/lib/icons/WarningCycleIcon/WarningCycleIcon.js +2 -2
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +18 -4
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.js +2 -2
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +18 -4
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.js +2 -2
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.d.ts +18 -4
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.js +2 -2
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.d.ts +18 -4
- package/lib/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.js +2 -2
- package/lib/icons/types.d.ts +1 -0
- package/lib/layouts/CodeWalkthroughLayout.d.ts +1 -1
- package/lib/layouts/DocumentationLayout.d.ts +1 -1
- package/lib/layouts/DocumentationLayoutBottom.d.ts +1 -1
- package/lib/layouts/DocumentationLayoutTop.d.ts +1 -1
- package/lib/layouts/PageLayout.d.ts +1 -1
- package/lib/markdoc/components/Cards/Card.d.ts +1 -1
- package/lib/markdoc/components/Cards/Card.js +4 -4
- package/lib/markdoc/components/Cards/CardIcon.d.ts +5 -2
- package/lib/markdoc/components/Cards/CardIcon.js +1 -1
- package/lib/markdoc/components/Cards/CardImage.js +1 -1
- package/lib/markdoc/components/Cards/Cards.js +1 -1
- package/lib/markdoc/components/Cards/variables.d.ts +1 -1
- package/lib/markdoc/components/Cards/variables.dark.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodeContainer.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodeFilters.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodeFilters.js +1 -4
- package/lib/markdoc/components/CodeWalkthrough/CodePanel.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodePanelHeader.d.ts +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodeStep.d.ts +6 -3
- package/lib/markdoc/components/CodeWalkthrough/CodeToggle.d.ts +2 -2
- package/lib/markdoc/components/CodeWalkthrough/variables.d.ts +1 -1
- package/lib/markdoc/components/ConnectMCP/ConnectMCP.d.ts +1 -1
- package/lib/markdoc/components/Diagram/Diagram.d.ts +1 -1
- package/lib/markdoc/components/Diagram/Diagram.js +3 -3
- package/lib/markdoc/components/Diagram/variables.d.ts +1 -1
- package/lib/markdoc/components/Heading/Heading.d.ts +1 -1
- package/lib/markdoc/components/InlineSvg/InlineSvg.d.ts +1 -1
- package/lib/markdoc/components/LoginButton/LoginButton.d.ts +1 -1
- package/lib/markdoc/components/Tabs/Tab.d.ts +2 -2
- package/lib/markdoc/components/Tabs/TabList.d.ts +15 -5
- package/lib/markdoc/components/Tabs/TabList.js +1 -1
- package/lib/markdoc/components/Tabs/Tabs.d.ts +2 -2
- package/lib/markdoc/components/Tabs/Tabs.js +2 -1
- package/lib/markdoc/components/Tabs/variables.d.ts +1 -1
- package/lib/markdoc/default.d.ts +1 -42
- package/lib/plugin.d.ts +2 -2
- package/package.json +8 -7
- package/src/components/Catalog/CatalogFilter/CatalogFilterSelect.tsx +1 -1
- package/src/components/CodeBlock/CodeBlockTabs.tsx +1 -1
- package/src/components/Feedback/Stars.tsx +2 -2
- package/src/components/Filter/FilterPopover.tsx +1 -1
- package/src/components/Filter/FilterSelect.tsx +1 -1
- package/src/components/Link/Link.tsx +34 -10
- package/src/components/Markdown/Markdown.tsx +3 -4
- package/src/components/Markdown/styles/heading-anchor.ts +3 -3
- package/src/components/PageNavigation/NextButton.tsx +1 -1
- package/src/components/PageNavigation/PreviousButton.tsx +1 -1
- package/src/components/Product/ProductPicker.tsx +2 -2
- package/src/components/Search/SearchDialog.tsx +17 -0
- package/src/components/Search/SearchRecent.tsx +2 -2
- package/src/components/Search/variables.ts +1 -1
- package/src/components/Select/SelectInput.tsx +2 -2
- package/src/components/StatusCode/StatusCode.tsx +3 -2
- package/src/components/TableOfContent/TableOfContent.tsx +2 -2
- package/src/components/Tag/Tag.tsx +7 -7
- package/src/components/Tags/CounterTag.tsx +1 -1
- package/src/components/Tags/HttpTag.tsx +1 -1
- package/src/components/Typography/CompactTypography.tsx +6 -2
- package/src/components/Typography/Typography.tsx +5 -4
- package/src/components/UserMenu/UserInfoMenuItem.tsx +1 -1
- package/src/components/UserMenu/UserMenu.tsx +4 -4
- package/src/components/VersionPicker/VersionPicker.tsx +1 -1
- package/src/core/constants/environments.ts +3 -1
- package/src/core/styles/palette.dark.ts +2 -2
- package/src/core/styles/palette.ts +2 -2
- package/src/core/types/hooks.ts +2 -0
- package/src/core/types/l10n.ts +2 -0
- package/src/core/utils/theme-helpers.ts +3 -6
- package/src/icons/AddIcon/AddIcon.tsx +2 -2
- package/src/icons/AiStarsGradientIcon/AiStarsGradientIcon.tsx +2 -2
- package/src/icons/AiStarsIcon/AiStarsIcon.tsx +2 -2
- package/src/icons/AnthropicIcon/AnthropicIcon.tsx +2 -2
- package/src/icons/ArrowDownIcon/ArrowDownIcon.tsx +2 -2
- package/src/icons/ArrowLeftIcon/ArrowLeftIcon.tsx +2 -2
- package/src/icons/ArrowRightIcon/ArrowRightIcon.tsx +2 -2
- package/src/icons/ArrowUpRightIcon/ArrowUpRightIcon.tsx +2 -2
- package/src/icons/AscSortIcon/AscSortIcon.tsx +2 -2
- package/src/icons/BareMetalServerIcon/BareMetalServerIcon.tsx +2 -2
- package/src/icons/BookmarkAddIcon/BookmarkAddIcon.tsx +2 -2
- package/src/icons/BotIcon/BotIcon.tsx +2 -2
- package/src/icons/CDNIcon/CDNIcon.tsx +2 -2
- package/src/icons/CardsIcon/CardsIcon.tsx +2 -2
- package/src/icons/CaretDownIcon/CaretDownIcon.tsx +2 -2
- package/src/icons/CaretUpIcon/CaretUpIcon.tsx +2 -2
- package/src/icons/CertificateIcon/CertificateIcon.tsx +2 -2
- package/src/icons/CharacterIcon/CharacterIcon.tsx +2 -2
- package/src/icons/ChatGptIcon/ChatGptIcon.tsx +2 -2
- package/src/icons/ChatIcon/ChatIcon.tsx +2 -2
- package/src/icons/CheckboxFilledIcon/CheckboxFilledIcon.tsx +2 -2
- package/src/icons/CheckboxIcon/CheckboxIcon.tsx +4 -3
- package/src/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.tsx +2 -2
- package/src/icons/CheckmarkIcon/CheckmarkIcon.tsx +2 -2
- package/src/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.tsx +2 -2
- package/src/icons/ChevronDownIcon/ChevronDownIcon.tsx +2 -2
- package/src/icons/ChevronLeftIcon/ChevronLeftIcon.tsx +2 -2
- package/src/icons/ChevronRightIcon/ChevronRightIcon.tsx +2 -2
- package/src/icons/ChevronSortIcon/ChevronSortIcon.tsx +5 -10
- package/src/icons/ChevronUpIcon/ChevronUpIcon.tsx +2 -2
- package/src/icons/CircleDashIcon/CircleDashIcon.tsx +2 -2
- package/src/icons/ClaudeIcon/ClaudeIcon.tsx +2 -2
- package/src/icons/CleanIcon/CleanIcon.tsx +2 -2
- package/src/icons/CloseFilledIcon/CloseFilledIcon.tsx +2 -2
- package/src/icons/CloseIcon/CloseIcon.tsx +2 -2
- package/src/icons/CloseOutlineIcon/CloseOutlineIcon.tsx +2 -2
- package/src/icons/CloudUploadIcon/CloudUploadIcon.tsx +2 -2
- package/src/icons/CodeIcon/CodeIcon.tsx +2 -2
- package/src/icons/ColorPaletteIcon/ColorPaletteIcon.tsx +2 -2
- package/src/icons/ConnectIcon/ConnectIcon.tsx +2 -2
- package/src/icons/ContrastIcon/ContrastIcon.tsx +2 -2
- package/src/icons/CookieIcon/CookieIcon.tsx +2 -2
- package/src/icons/CopyIcon/CopyIcon.tsx +2 -2
- package/src/icons/CopyLinkIcon/CopyLinkIcon.tsx +2 -2
- package/src/icons/CubeIcon/CubeIcon.tsx +2 -2
- package/src/icons/CursorIcon/CursorIcon.tsx +2 -2
- package/src/icons/CurveAutoColonIcon/CurveAutoColonIcon.tsx +2 -2
- package/src/icons/DataFormatIcon/DataFormatIcon.tsx +2 -2
- package/src/icons/DataRefineryIcon/DataRefineryIcon.tsx +2 -2
- package/src/icons/DatabaseIcon/DatabaseIcon.tsx +2 -2
- package/src/icons/DescSortIcon/DescSortIcon.tsx +2 -2
- package/src/icons/DeselectIcon/DeselectIcon.tsx +2 -2
- package/src/icons/DirectionRightIcon/DirectionRightIcon.tsx +2 -2
- package/src/icons/DocumentAddIcon/DocumentAddIcon.tsx +2 -2
- package/src/icons/DocumentBlankIcon/DocumentBlankIcon.tsx +2 -2
- package/src/icons/DocumentCssIcon/DocumentCssIcon.tsx +2 -2
- package/src/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.tsx +2 -2
- package/src/icons/DocumentHtmlIcon/DocumentHtmlIcon.tsx +2 -2
- package/src/icons/DocumentIcon/DocumentIcon.tsx +2 -2
- package/src/icons/DocumentJavaIcon/DocumentJavaIcon.tsx +2 -2
- package/src/icons/DocumentJsIcon/DocumentJsIcon.tsx +2 -2
- package/src/icons/DocumentJsonIcon/DocumentJsonIcon.tsx +2 -2
- package/src/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.tsx +2 -2
- package/src/icons/DocumentPythonIcon/DocumentPythonIcon.tsx +2 -2
- package/src/icons/DocumentReactIcon/DocumentReactIcon.tsx +2 -2
- package/src/icons/DocumentShellIcon/DocumentShellIcon.tsx +2 -2
- package/src/icons/DocumentTsIcon/DocumentTsIcon.tsx +2 -2
- package/src/icons/DocumentYamlIcon/DocumentYamlIcon.tsx +2 -2
- package/src/icons/DownloadIcon/DownloadIcon.tsx +2 -2
- package/src/icons/DraggableIcon/DraggableIcon.tsx +2 -2
- package/src/icons/EditIcon/EditIcon.tsx +2 -2
- package/src/icons/EmailIcon/EmailIcon.tsx +2 -2
- package/src/icons/EntityTypeIcon/EntityTypeIcon.tsx +2 -2
- package/src/icons/ErrorFilledIcon/ErrorFilledIcon.tsx +2 -2
- package/src/icons/ErrorIcon/ErrorIcon.tsx +2 -2
- package/src/icons/ExportIcon/ExportIcon.tsx +2 -2
- package/src/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.tsx +2 -2
- package/src/icons/FaceNeutralIcon/FaceNeutralIcon.tsx +2 -2
- package/src/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.tsx +2 -2
- package/src/icons/FileIcon/FileIcon.tsx +2 -2
- package/src/icons/FileStorageIcon/FileStorageIcon.tsx +2 -2
- package/src/icons/FilterIcon/FilterIcon.tsx +2 -2
- package/src/icons/FitToViewIcon/FitToViewIcon.tsx +2 -2
- package/src/icons/FlowIcon/FlowIcon.tsx +2 -2
- package/src/icons/FolderAddIcon/FolderAddIcon.tsx +2 -2
- package/src/icons/FolderIcon/FolderIcon.tsx +2 -2
- package/src/icons/FolderMoveToIcon/FolderMoveToIcon.tsx +2 -2
- package/src/icons/GeminiIcon/GeminiIcon.tsx +2 -2
- package/src/icons/GithubIcon/GithubIcon.tsx +2 -2
- package/src/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.tsx +2 -2
- package/src/icons/GraphIcon/GraphIcon.tsx +2 -2
- package/src/icons/GraphqlIcon/GraphqlIcon.tsx +2 -2
- package/src/icons/GridIcon/GridIcon.tsx +2 -2
- package/src/icons/HashtagIcon/HashtagIcon.tsx +2 -2
- package/src/icons/HexagonIcon/HexagonIcon.tsx +2 -2
- package/src/icons/HierarchyIcon/HierarchyIcon.tsx +2 -2
- package/src/icons/HorizontalViewIcon/HorizontalViewIcon.tsx +2 -2
- package/src/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.tsx +2 -2
- package/src/icons/IdeaIcon/IdeaIcon.tsx +2 -2
- package/src/icons/InformationFilledIcon/InformationFilledIcon.tsx +2 -2
- package/src/icons/InformationIcon/InformationIcon.tsx +2 -2
- package/src/icons/JsonIcon/JsonIcon.tsx +2 -2
- package/src/icons/KafkaIcon/KafkaIcon.tsx +2 -2
- package/src/icons/LaunchIcon/LaunchIcon.tsx +2 -2
- package/src/icons/LinkIcon/LinkIcon.tsx +2 -2
- package/src/icons/LogoutIcon/LogoutIcon.tsx +2 -2
- package/src/icons/MarkdownFullIcon/MarkdownFullIcon.tsx +2 -2
- package/src/icons/MaximizeIcon/MaximizeIcon.tsx +2 -2
- package/src/icons/MenuIcon/MenuIcon.tsx +2 -2
- package/src/icons/MinimizeIcon/MinimizeIcon.tsx +2 -2
- package/src/icons/MobileSidebarIcon/MobileSidebarIcon.tsx +2 -2
- package/src/icons/MoleculesIcon/MoleculesIcon.tsx +2 -2
- package/src/icons/MoonIcon/MoonIcon.tsx +2 -2
- package/src/icons/NavaidMilitaryIcon/NavaidMilitaryIcon.tsx +2 -2
- package/src/icons/NetworkIcon/NetworkIcon.tsx +2 -2
- package/src/icons/NewChatIcon/NewChatIcon.tsx +2 -2
- package/src/icons/NoneIcon/NoneIcon.tsx +2 -2
- package/src/icons/NoteIcon/NoteIcon.tsx +2 -2
- package/src/icons/NotesIcon/NotesIcon.tsx +2 -2
- package/src/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.tsx +2 -2
- package/src/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.tsx +2 -2
- package/src/icons/PeopleIcon/PeopleIcon.tsx +2 -2
- package/src/icons/PlayIcon/PlayIcon.tsx +2 -2
- package/src/icons/PlaylistIcon/PlaylistIcon.tsx +2 -2
- package/src/icons/PlusCustomIcon/PlusCustomIcon.tsx +2 -2
- package/src/icons/RabbitMQIcon/RabbitMQIcon.tsx +2 -2
- package/src/icons/RadioCheckButtonIcon/RadioCheckButtonIcon.tsx +13 -4
- package/src/icons/RecentlyViewedIcon/RecentlyViewedIcon.tsx +2 -2
- package/src/icons/RedoclyIcon/RedoclyIcon.tsx +2 -2
- package/src/icons/RenewIcon/RenewIcon.tsx +2 -2
- package/src/icons/ResetIcon/ResetIcon.tsx +2 -2
- package/src/icons/RestartIcon/RestartIcon.tsx +2 -2
- package/src/icons/ReturnKeyIcon/ReturnKeyIcon.tsx +2 -2
- package/src/icons/RocketIcon/RocketIcon.tsx +2 -2
- package/src/icons/SaveIcon/SaveIcon.tsx +2 -2
- package/src/icons/SearchIcon/SearchIcon.tsx +2 -2
- package/src/icons/SecurityIcon/SecurityIcon.tsx +2 -2
- package/src/icons/SelectIcon/SelectIcon.tsx +2 -2
- package/src/icons/SendIcon/SendIcon.tsx +2 -2
- package/src/icons/SettingsCogIcon/SettingsCogIcon.tsx +2 -2
- package/src/icons/SettingsIcon/SettingsIcon.tsx +2 -2
- package/src/icons/ShareIcon/ShareIcon.tsx +2 -2
- package/src/icons/SidePanelCloseIcon/SidePanelCloseIcon.tsx +2 -2
- package/src/icons/SidePanelOpenIcon/SidePanelOpenIcon.tsx +2 -2
- package/src/icons/SlackIcon/SlackIcon.tsx +2 -2
- package/src/icons/SortIcon/SortIcon.tsx +2 -2
- package/src/icons/Spinner/Spinner.tsx +2 -4
- package/src/icons/SpinnerIcon/SpinnerIcon.tsx +2 -2
- package/src/icons/StarFilledIcon/StarFilledIcon.tsx +2 -2
- package/src/icons/StarIcon/StarIcon.tsx +2 -2
- package/src/icons/StopIcon/StopIcon.tsx +2 -2
- package/src/icons/SubtractIcon/SubtractIcon.tsx +2 -2
- package/src/icons/SunIcon/SunIcon.tsx +2 -2
- package/src/icons/TableBuiltIcon/TableBuiltIcon.tsx +2 -2
- package/src/icons/TableIcon/TableIcon.tsx +2 -2
- package/src/icons/TagsIcon/TagsIcon.tsx +2 -2
- package/src/icons/TaskViewIcon/TaskViewIcon.tsx +2 -2
- package/src/icons/ThumbDownFilledIcon/ThumbDownFilledIcon.tsx +2 -2
- package/src/icons/ThumbDownIcon/ThumbDownIcon.tsx +13 -4
- package/src/icons/ThumbUpFilledIcon/ThumbUpFilledIcon.tsx +2 -2
- package/src/icons/ThumbUpIcon/ThumbUpIcon.tsx +13 -4
- package/src/icons/TimeIcon/TimeIcon.tsx +2 -2
- package/src/icons/TrashCanIcon/TrashCanIcon.tsx +2 -2
- package/src/icons/UserIcon/UserIcon.tsx +2 -2
- package/src/icons/VSCodeIcon/VSCodeIcon.tsx +2 -2
- package/src/icons/ValueVariableIcon/ValueVariableIcon.tsx +2 -2
- package/src/icons/VerticalViewIcon/VerticalViewIcon.tsx +2 -2
- package/src/icons/ViewIcon/ViewIcon.tsx +2 -2
- package/src/icons/ViewOffIcon/ViewOffIcon.tsx +2 -2
- package/src/icons/WarningAltFilled/WarningAltFilled.tsx +2 -2
- package/src/icons/WarningAltFilledIcon/WarningAltFilledIcon.tsx +2 -2
- package/src/icons/WarningAltIcon/WarningAltIcon.tsx +2 -2
- package/src/icons/WarningCycleIcon/WarningCycleIcon.tsx +2 -2
- package/src/icons/WarningFilledIcon/WarningFilledIcon.tsx +2 -2
- package/src/icons/WarningSquareIcon/WarningSquareIcon.tsx +2 -2
- package/src/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.tsx +2 -2
- package/src/icons/WorkflowHierarchyIcon/WorkflowHierarchyIcon.tsx +2 -2
- package/src/icons/types.ts +1 -0
|
@@ -114,7 +114,7 @@ function SearchAiMessageComponent({ role, content, isThinking, resources, classN
|
|
|
114
114
|
return (react_1.default.createElement(ToolCallsInfoWrapper, { key: `tool-${index}`, "data-testid": "tool-calls-info" },
|
|
115
115
|
react_1.default.createElement(ToolCallInfoItem, null,
|
|
116
116
|
react_1.default.createElement(DocumentIcon_1.DocumentIcon, { size: "14px", color: "--search-ai-text-color" }),
|
|
117
|
-
react_1.default.createElement(ToolCallText, {
|
|
117
|
+
react_1.default.createElement(ToolCallText, { $isSearching: !toolCallCompleted }, toolCallDisplayText))));
|
|
118
118
|
}
|
|
119
119
|
return react_1.default.createElement(MarkdownSegment, { key: `text-${index}`, text: segment.text });
|
|
120
120
|
}),
|
|
@@ -7,4 +7,4 @@ export type SearchAiNegativeFeedbackFormProps = {
|
|
|
7
7
|
onSubmit: (reason: string) => void;
|
|
8
8
|
formRef?: React.Ref<HTMLDivElement>;
|
|
9
9
|
};
|
|
10
|
-
export declare function SearchAiNegativeFeedbackForm({ messageId, onClose, onSubmit, formRef
|
|
10
|
+
export declare function SearchAiNegativeFeedbackForm({ messageId, onClose, onSubmit, formRef }: SearchAiNegativeFeedbackFormProps): JSX.Element;
|
|
@@ -4,4 +4,4 @@ export type SearchDialogProps = {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
initialMode?: 'search' | 'ai-dialog';
|
|
6
6
|
};
|
|
7
|
-
export declare function SearchDialog({ onClose, className, initialMode
|
|
7
|
+
export declare function SearchDialog({ onClose, className, initialMode }: SearchDialogProps): JSX.Element;
|
|
@@ -62,6 +62,8 @@ const ReturnKeyIcon_1 = require("../../icons/ReturnKeyIcon/ReturnKeyIcon");
|
|
|
62
62
|
const ChevronLeftIcon_1 = require("../../icons/ChevronLeftIcon/ChevronLeftIcon");
|
|
63
63
|
const EditIcon_1 = require("../../icons/EditIcon/EditIcon");
|
|
64
64
|
const AiStarsGradientIcon_1 = require("../../icons/AiStarsGradientIcon/AiStarsGradientIcon");
|
|
65
|
+
const ResetIcon_1 = require("../../icons/ResetIcon/ResetIcon");
|
|
66
|
+
const CloseFilledIcon_1 = require("../../icons/CloseFilledIcon/CloseFilledIcon");
|
|
65
67
|
function SearchDialog({ onClose, className, initialMode = 'search', }) {
|
|
66
68
|
const { useTranslate, useCurrentProduct, useSearch, useProducts, useAiSearch, useTelemetry } = (0, hooks_1.useThemeHooks)();
|
|
67
69
|
const telemetry = useTelemetry();
|
|
@@ -71,7 +73,7 @@ function SearchDialog({ onClose, className, initialMode = 'search', }) {
|
|
|
71
73
|
const [product, setProduct] = (0, react_1.useState)(currentProduct);
|
|
72
74
|
const [mode, setMode] = (0, react_1.useState)(initialMode);
|
|
73
75
|
const autoSearchDisabled = mode !== 'search';
|
|
74
|
-
const { query, setQuery, filter, setFilter, items, isSearchLoading, facets, setLoadMore, advancedSearch, askAi, groupField, } = useSearch(product === null || product === void 0 ? void 0 : product.name, autoSearchDisabled);
|
|
76
|
+
const { query, setQuery, filter, setFilter, items, isSearchLoading, facets, setLoadMore, advancedSearch, askAi, groupField, searchError, retrySearch, } = useSearch(product === null || product === void 0 ? void 0 : product.name, autoSearchDisabled);
|
|
75
77
|
const { isFilterOpen, onFilterToggle, onFilterChange, onFilterReset, onFacetReset, onQuickFilterReset, } = (0, hooks_1.useSearchFilter)(filter, setFilter);
|
|
76
78
|
const { addSearchHistoryItem } = (0, hooks_1.useRecentSearches)();
|
|
77
79
|
const aiSearch = useAiSearch({ filter: filter, product: product === null || product === void 0 ? void 0 : product.name });
|
|
@@ -278,7 +280,10 @@ function SearchDialog({ onClose, className, initialMode = 'search', }) {
|
|
|
278
280
|
return null;
|
|
279
281
|
})) : isSearchLoading ? (react_1.default.createElement(SearchMessage, { "data-translation-key": "search.loading" },
|
|
280
282
|
react_1.default.createElement(SpinnerLoader_1.SpinnerLoader, { size: "26px", color: "var(--search-input-icon-color)" }),
|
|
281
|
-
translate('search.loading', 'Loading...'))) : (react_1.default.createElement(SearchMessage, { "data-translation-key": "search.
|
|
283
|
+
translate('search.loading', 'Loading...'))) : searchError ? (react_1.default.createElement(SearchMessage, { "data-translation-key": "search.error" },
|
|
284
|
+
react_1.default.createElement(CloseFilledIcon_1.CloseFilledIcon, { size: "21px", color: "var(--color-error-base)" }),
|
|
285
|
+
translate('search.error.title', 'Oops! Something went wrong.'),
|
|
286
|
+
react_1.default.createElement(Button_1.Button, { variant: "secondary", size: "small", onClick: retrySearch, icon: react_1.default.createElement(ResetIcon_1.ResetIcon, null) }, translate('search.error.button', 'Try again')))) : (react_1.default.createElement(SearchMessage, { "data-translation-key": "search.noResults" },
|
|
282
287
|
react_1.default.createElement("b", null, translate('search.noResults.title', 'No results'))))) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
283
288
|
react_1.default.createElement(SearchRecent_1.SearchRecent, { onSelect: (query, index) => {
|
|
284
289
|
telemetry.sendSearchRecentClickedMessage([
|
|
@@ -10,4 +10,4 @@ export type SearchFilterProps = {
|
|
|
10
10
|
onFilterReset: () => void;
|
|
11
11
|
onFacetReset: (field: string) => void;
|
|
12
12
|
};
|
|
13
|
-
export declare function SearchFilter({ className, facets, filter, query, quickFilterFields, onFilterChange, onFilterReset, onFacetReset
|
|
13
|
+
export declare function SearchFilter({ className, facets, filter, query, quickFilterFields, onFilterChange, onFilterReset, onFacetReset }: SearchFilterProps): JSX.Element;
|
|
@@ -9,5 +9,5 @@ type SearchFilterFieldProps = {
|
|
|
9
9
|
onFilterChange: (field: string, value: string | string[], isQuickFilter?: boolean) => void;
|
|
10
10
|
onFacetReset: (filed: string) => void;
|
|
11
11
|
};
|
|
12
|
-
export declare function SearchFilterField({ className, facet, filter, query, quickFilterFields, onFilterChange, onFacetReset
|
|
12
|
+
export declare function SearchFilterField({ className, facet, filter, query, quickFilterFields, onFilterChange, onFacetReset }: SearchFilterFieldProps): JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -7,5 +7,5 @@ type SearchGroupsProps = {
|
|
|
7
7
|
onFilterChange: (field: string, value: string[], isQuickFilter?: boolean) => void;
|
|
8
8
|
onQuickFilterReset: () => void;
|
|
9
9
|
};
|
|
10
|
-
export declare function SearchGroups({ facets, searchFilter, groupField, onFilterChange, onQuickFilterReset
|
|
10
|
+
export declare function SearchGroups({ facets, searchFilter, groupField, onFilterChange, onQuickFilterReset }: SearchGroupsProps): JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -11,4 +11,4 @@ export type SearchInputProps = {
|
|
|
11
11
|
onSubmit?: (evt: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
12
12
|
className?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function SearchInput({ placeholder, value, onChange, isLoading, showReturnButton, inputRef, onReturn, onSubmit, className
|
|
14
|
+
export declare function SearchInput({ placeholder, value, onChange, isLoading, showReturnButton, inputRef, onReturn, onSubmit, className }: SearchInputProps): JSX.Element;
|
|
@@ -14,5 +14,5 @@ export type SearchItemProps = {
|
|
|
14
14
|
className?: string;
|
|
15
15
|
innerRef?: React.ForwardedRef<HTMLAnchorElement>;
|
|
16
16
|
};
|
|
17
|
-
export declare function SearchItem({ onClick, item, className, product, innerRef
|
|
17
|
+
export declare function SearchItem({ onClick, item, className, product, innerRef }: SearchItemProps): JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -102,7 +102,7 @@ const SearchRecentItem = styled_components_1.default.div `
|
|
|
102
102
|
display: none;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
&:hover {
|
|
106
106
|
background-color: var(--search-recent-item-bg-color-hover);
|
|
107
107
|
color: var(--search-recent-item-text-color-hover);
|
|
108
108
|
|
|
@@ -112,7 +112,7 @@ const SearchRecentItem = styled_components_1.default.div `
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
&:focus-visible {
|
|
116
116
|
outline: 1px solid var(--search-recent-item-border-color-focused);
|
|
117
117
|
background-color: var(--search-recent-item-bg-color-active);
|
|
118
118
|
}
|
|
@@ -44,7 +44,8 @@ const Button_1 = require("../../components/Button/Button");
|
|
|
44
44
|
const SearchIcon_1 = require("../../icons/SearchIcon/SearchIcon");
|
|
45
45
|
const utils_1 = require("../../core/utils");
|
|
46
46
|
function SearchTrigger({ onClick, className }) {
|
|
47
|
-
var _a
|
|
47
|
+
var _a;
|
|
48
|
+
var _b;
|
|
48
49
|
const themeSettings = (0, hooks_1.useThemeConfig)();
|
|
49
50
|
const { useTranslate } = (0, hooks_1.useThemeHooks)();
|
|
50
51
|
const { translate } = useTranslate();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const search: import("styled-components").
|
|
1
|
+
export declare const search: import("styled-components").RuleSet<object>;
|
|
@@ -91,7 +91,7 @@ exports.search = (0, styled_components_1.css) `
|
|
|
91
91
|
--search-shortcuts-gap: var(--spacing-xs);
|
|
92
92
|
|
|
93
93
|
--search-message-font-size: var(--font-size-lg); // @presenter FontSize
|
|
94
|
-
--search-message-font-weight: var(--font-weight-
|
|
94
|
+
--search-message-font-weight: var(--font-weight-medium); // @presenter FontWeight
|
|
95
95
|
--search-message-line-height: var(--line-height-lg); // @presenter LineHeight
|
|
96
96
|
--search-message-text-color: var(--text-color-secondary); // @presenter Color
|
|
97
97
|
--search-message-gap: var(--spacing-md);
|
|
@@ -40,7 +40,7 @@ const typed_memo_1 = require("../../core/hoc/typed-memo");
|
|
|
40
40
|
function SegmentedComponent({ options, onChange, value, className = '', size = 'regular' }, ref) {
|
|
41
41
|
return (react_1.default.createElement(SegmentedGroup, { ref: ref, "data-component-name": "Segmented/Segmented", className: `tag-grey ${size} ${className}`, role: "tablist" }, options.map((opt, index) => (react_1.default.createElement(react_1.default.Fragment, { key: index },
|
|
42
42
|
opt.divider,
|
|
43
|
-
react_1.default.createElement(SegmentedItem, { key: opt.label, role: "tab", title: opt.label, onClick: () => onChange(opt),
|
|
43
|
+
react_1.default.createElement(SegmentedItem, { key: opt.label, role: "tab", title: opt.label, onClick: () => onChange(opt), $isActive: value == opt.value, $size: size }, opt.element || opt.label))))));
|
|
44
44
|
}
|
|
45
45
|
exports.Segmented = (0, typed_memo_1.typedMemo)((0, react_1.forwardRef)(SegmentedComponent));
|
|
46
46
|
const SegmentedGroup = styled_components_1.default.div `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const segmented: import("styled-components").
|
|
1
|
+
export declare const segmented: import("styled-components").RuleSet<object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const segmentedButtonsDarkMode: import("styled-components").
|
|
1
|
+
export declare const segmentedButtonsDarkMode: import("styled-components").RuleSet<object>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { JSX } from 'react';
|
|
2
3
|
import type { SelectProps } from '../../core/types';
|
|
3
4
|
export declare function Select<T>(props: SelectProps<T>): JSX.Element;
|
|
4
|
-
export declare const SelectWrapper: import("styled-components").
|
|
5
|
+
export declare const SelectWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "disabled"> & {
|
|
5
6
|
disabled?: boolean;
|
|
6
|
-
}, never
|
|
7
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "disabled"> & {
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}, never>>> & string;
|
|
@@ -21,5 +21,5 @@ type SelectInputProps<T> = {
|
|
|
21
21
|
clickHandler?: (e?: any) => void;
|
|
22
22
|
};
|
|
23
23
|
export declare function SelectInput<T>(props: SelectInputProps<T>): React.ReactNode;
|
|
24
|
-
export declare const SelectInputWrapper: import("styled-components").
|
|
24
|
+
export declare const SelectInputWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
25
25
|
export {};
|
|
@@ -132,9 +132,9 @@ const SelectInputValue = styled_components_1.default.div `
|
|
|
132
132
|
const SelectInputTag = (0, styled_components_1.default)(Tag_1.Tag) `
|
|
133
133
|
--tag-content-padding: 0;
|
|
134
134
|
`;
|
|
135
|
-
const SelectInternalInput = styled_components_1.default.input.attrs(
|
|
135
|
+
const SelectInternalInput = styled_components_1.default.input.attrs({
|
|
136
136
|
type: 'text',
|
|
137
|
-
})
|
|
137
|
+
}) `
|
|
138
138
|
outline: none;
|
|
139
139
|
border-radius: var(--select-input-border-radius);
|
|
140
140
|
border: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const select: import("styled-components").
|
|
1
|
+
export declare const select: import("styled-components").RuleSet<object>;
|
|
@@ -17,7 +17,9 @@ export type SidebarProps = {
|
|
|
17
17
|
className?: string;
|
|
18
18
|
menuItemsAnimation?: MenuItemsAnimation;
|
|
19
19
|
};
|
|
20
|
-
export declare function Sidebar({ versions, menu, footer, header, growContent, collapsed, className, menuItemsAnimation
|
|
21
|
-
export declare const SidebarHeader: import("styled-components").
|
|
20
|
+
export declare function Sidebar({ versions, menu, footer, header, growContent, collapsed, className, menuItemsAnimation }: SidebarProps): JSX.Element | null;
|
|
21
|
+
export declare const SidebarHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "collapsed"> & {
|
|
22
22
|
collapsed?: boolean;
|
|
23
|
-
}, never
|
|
23
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "collapsed"> & {
|
|
24
|
+
collapsed?: boolean;
|
|
25
|
+
}, never>>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sidebar: import("styled-components").
|
|
1
|
+
export declare const sidebar: import("styled-components").RuleSet<object>;
|
|
@@ -21,16 +21,15 @@ const SidebarActions = ({ layout, hideCollapseSidebarButton = false, collapsedSi
|
|
|
21
21
|
return (react_1.default.createElement(styled_1.ControlsWrap, { className: className, isCollapsed: collapsedSidebar, "data-component-name": "Sidebar/SidebarActions" },
|
|
22
22
|
!hideCollapseSidebarButton && (react_1.default.createElement(Tooltip_1.Tooltip, { placement: collapsedSidebar ? 'right' : 'top', tip: collapsedSidebar
|
|
23
23
|
? translate('sidebar.actions.show', 'Show sidebar')
|
|
24
|
-
: translate('sidebar.actions.hide', 'Hide sidebar') },
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}, size: "small", variant: "outlined", "aria-label": collapsedSidebar ? 'Show sidebar' : 'Hide sidebar', icon: collapsedSidebar ? react_1.default.createElement(SidePanelOpenIcon_1.SidePanelOpenIcon, null) : react_1.default.createElement(SidePanelCloseIcon_1.SidePanelCloseIcon, null) }))),
|
|
24
|
+
: translate('sidebar.actions.hide', 'Hide sidebar') }, react_1.default.createElement(Button_1.Button, { onClick: () => {
|
|
25
|
+
onChangeCollapseSidebarClick();
|
|
26
|
+
if (collapsedSidebar) {
|
|
27
|
+
telemetry.sendSidebarItemExpandedMessage();
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
telemetry.sendSidebarItemCollapsedMessage();
|
|
31
|
+
}
|
|
32
|
+
}, size: "small", variant: "outlined", "aria-label": collapsedSidebar ? 'Show sidebar' : 'Hide sidebar', icon: collapsedSidebar ? react_1.default.createElement(SidePanelOpenIcon_1.SidePanelOpenIcon, null) : react_1.default.createElement(SidePanelCloseIcon_1.SidePanelCloseIcon, null) }))),
|
|
34
33
|
isApiDocs && (react_1.default.createElement(styled_1.ControlsWrapChangeLayoutButtons, { isCollapsed: collapsedSidebar },
|
|
35
34
|
react_1.default.createElement(ChangeViewButton_1.ChangeViewButton, { collapsedSidebar: collapsedSidebar, layout: layout, onClick: () => {
|
|
36
35
|
onChangeViewClick();
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
declare const StyledChangeViewButton: import("styled-components").
|
|
1
|
+
declare const StyledChangeViewButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "collapsedSidebar"> & {
|
|
2
2
|
collapsedSidebar?: boolean;
|
|
3
|
-
}, never
|
|
4
|
-
|
|
3
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "collapsedSidebar"> & {
|
|
4
|
+
collapsedSidebar?: boolean;
|
|
5
|
+
}, never>>> & string;
|
|
6
|
+
declare const StyledChangeViewButtonWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../index.js").TooltipProps, "active"> & {
|
|
7
|
+
active?: boolean;
|
|
8
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("../../index.js").TooltipProps, "active"> & {
|
|
5
9
|
active?: boolean;
|
|
6
|
-
}, never
|
|
7
|
-
declare const ControlsWrap: import("styled-components").
|
|
10
|
+
}, never>>> & string & Omit<import("react").NamedExoticComponent<import("../../index.js").TooltipProps>, keyof import("react").Component<any, {}, any>>;
|
|
11
|
+
declare const ControlsWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "iconCount" | "isCollapsed"> & {
|
|
8
12
|
iconCount?: number;
|
|
9
13
|
isCollapsed?: boolean;
|
|
10
|
-
}, never
|
|
11
|
-
|
|
14
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "iconCount" | "isCollapsed"> & {
|
|
15
|
+
iconCount?: number;
|
|
16
|
+
isCollapsed?: boolean;
|
|
17
|
+
}, never>>> & string;
|
|
18
|
+
declare const ControlsWrapChangeLayoutButtons: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "isCollapsed"> & {
|
|
19
|
+
isCollapsed?: boolean;
|
|
20
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "isCollapsed"> & {
|
|
12
21
|
isCollapsed?: boolean;
|
|
13
|
-
}, never
|
|
22
|
+
}, never>>> & string;
|
|
14
23
|
export { StyledChangeViewButton, StyledChangeViewButtonWrap, ControlsWrapChangeLayoutButtons, ControlsWrap, };
|
|
@@ -7,4 +7,4 @@ export type SidebarLogoProps = {
|
|
|
7
7
|
backgroundColor?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare function SidebarLogo({ imageUrl, href, altText, backgroundColor, dataTestId, className
|
|
10
|
+
export declare function SidebarLogo({ imageUrl, href, altText, backgroundColor, dataTestId, className }?: SidebarLogoProps): JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const skipContent: import("styled-components").
|
|
1
|
+
export declare const skipContent: import("styled-components").RuleSet<object>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export declare const StatusCode: import("styled-components").
|
|
1
|
+
export declare const StatusCode: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | keyof import("react").ClassAttributes<HTMLButtonElement>> & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>, "data-component-name" | "status"> & {
|
|
2
|
+
status: string;
|
|
2
3
|
'data-component-name': string;
|
|
3
|
-
} & {
|
|
4
|
+
}, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "children" | "className" | "color" | "content" | "contentEditable" | "contextMenu" | "dangerouslySetInnerHTML" | "data-component-name" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "disabled" | "draggable" | "enterKeyHint" | "exportparts" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "name" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "part" | "popover" | "popoverTarget" | "popoverTargetAction" | "prefix" | "property" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "role" | "security" | "slot" | "spellCheck" | "status" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "title" | "translate" | "type" | "typeof" | "unselectable" | "value" | "vocab"> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import("react").ButtonHTMLAttributes<HTMLButtonElement> | keyof import("react").ClassAttributes<HTMLButtonElement>> & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>, "data-component-name" | "status"> & {
|
|
4
5
|
status: string;
|
|
5
|
-
|
|
6
|
+
'data-component-name': string;
|
|
7
|
+
}, "about" | "accessKey" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "children" | "className" | "color" | "content" | "contentEditable" | "contextMenu" | "dangerouslySetInnerHTML" | "data-component-name" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "disabled" | "draggable" | "enterKeyHint" | "exportparts" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "hidden" | "id" | "inert" | "inlist" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "key" | "lang" | "name" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "part" | "popover" | "popoverTarget" | "popoverTargetAction" | "prefix" | "property" | "radioGroup" | "ref" | "rel" | "resource" | "results" | "rev" | "role" | "security" | "slot" | "spellCheck" | "status" | "style" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "title" | "translate" | "type" | "typeof" | "unselectable" | "value" | "vocab">>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const statusCode: import("styled-components").
|
|
1
|
+
export declare const statusCode: import("styled-components").RuleSet<object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const statusCodeDarkMode: import("styled-components").
|
|
1
|
+
export declare const statusCodeDarkMode: import("styled-components").RuleSet<object>;
|
|
@@ -12,4 +12,4 @@ export type SvgViewerProps = {
|
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
labels?: SvgViewerLabels;
|
|
14
14
|
};
|
|
15
|
-
export declare function SvgViewer({ isOpen, onClose, children, labels
|
|
15
|
+
export declare function SvgViewer({ isOpen, onClose, children, labels }: SvgViewerProps): JSX.Element | null;
|
|
@@ -189,8 +189,8 @@ function SvgViewer({ isOpen, onClose, children, labels = {}, }) {
|
|
|
189
189
|
const zoomPercentage = baseScale > 0 ? Math.round((scale / baseScale) * 100) : 100;
|
|
190
190
|
const isAnimating = !isDragging && !isWheelZooming && !pinchState;
|
|
191
191
|
return (react_1.default.createElement(Overlay, { ref: overlayRef, onClick: onClose, onKeyDown: handleKeyDown, tabIndex: 0, "aria-modal": "true", role: "dialog", "aria-label": labels.dialogLabel || 'SVG viewer' },
|
|
192
|
-
react_1.default.createElement(Viewport, { ref: viewportRef, onClick: (e) => e.stopPropagation(), onWheel: handleWheel, onMouseDown: handleMouseDown, onMouseMove: handleMouseMove, onMouseUp: handleMouseUp, onMouseLeave: handleMouseUp, onTouchStart: handleTouchStart, onTouchMove: handleTouchMove, onTouchEnd: handleTouchEnd,
|
|
193
|
-
react_1.default.createElement(Content, { ref: contentRef,
|
|
192
|
+
react_1.default.createElement(Viewport, { ref: viewportRef, onClick: (e) => e.stopPropagation(), onWheel: handleWheel, onMouseDown: handleMouseDown, onMouseMove: handleMouseMove, onMouseUp: handleMouseUp, onMouseLeave: handleMouseUp, onTouchStart: handleTouchStart, onTouchMove: handleTouchMove, onTouchEnd: handleTouchEnd, $isDragging: isDragging },
|
|
193
|
+
react_1.default.createElement(Content, { ref: contentRef, $isAnimating: isAnimating, style: {
|
|
194
194
|
transform: `translate(calc(-50% + ${position.x}px), calc(-50% + ${position.y}px)) scale(${scale})`,
|
|
195
195
|
} }, children),
|
|
196
196
|
react_1.default.createElement(Controls, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const svgViewer: import("styled-components").
|
|
1
|
+
export declare const svgViewer: import("styled-components").RuleSet<object>;
|
|
@@ -7,4 +7,4 @@ export type SwitchProps = {
|
|
|
7
7
|
stopPropagation?: boolean;
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare function Switch({ value, disabled, onChange, onFocus, stopPropagation, className
|
|
10
|
+
export declare function Switch({ value, disabled, onChange, onFocus, stopPropagation, className }: SwitchProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const switcher: import("styled-components").
|
|
1
|
+
export declare const switcher: import("styled-components").RuleSet<object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const switcherDarkMode: import("styled-components").
|
|
1
|
+
export declare const switcherDarkMode: import("styled-components").RuleSet<object>;
|
|
@@ -116,7 +116,7 @@ const TableOfContentMenuItem = styled_components_1.default.a `
|
|
|
116
116
|
|
|
117
117
|
border-left: solid 2px transparent;
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
&:hover {
|
|
120
120
|
color: var(--toc-item-text-color-active);
|
|
121
121
|
}
|
|
122
122
|
&.active {
|
|
@@ -125,7 +125,7 @@ const TableOfContentMenuItem = styled_components_1.default.a `
|
|
|
125
125
|
font-weight: var(--toc-item-font-weight-active);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
&:empty {
|
|
129
129
|
padding: 0;
|
|
130
130
|
}
|
|
131
131
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const toc: import("styled-components").
|
|
1
|
+
export declare const toc: import("styled-components").RuleSet<object>;
|
|
@@ -31,5 +31,5 @@ export type TagProps = {
|
|
|
31
31
|
selectable?: boolean;
|
|
32
32
|
};
|
|
33
33
|
export declare function Tag({ children, color, icon, active, closable, tabIndex, onClick, onKeyDown, onClose, size, borderless, withStatusDot, statusDotColor, maxLength, textTransform, variant, selectable, ...otherProps }: TagProps): JSX.Element;
|
|
34
|
-
export declare const ContentWrapper: import("styled-components").
|
|
34
|
+
export declare const ContentWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
35
35
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tag: import("styled-components").
|
|
1
|
+
export declare const tag: import("styled-components").RuleSet<object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tagDarkMode: import("styled-components").
|
|
1
|
+
export declare const tagDarkMode: import("styled-components").RuleSet<object>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Tag } from '../../components/Tag/Tag';
|
|
2
|
-
export declare const CounterTag: import("styled-components").
|
|
3
|
-
className: "tag-counter";
|
|
2
|
+
export declare const CounterTag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../index.js").TagProps, keyof import("../../index.js").TagProps> & import("../../index.js").TagProps, "data-component-name"> & {
|
|
4
3
|
'data-component-name': string;
|
|
5
|
-
}, "className" | "data-component-name"
|
|
4
|
+
}, "active" | "borderless" | "children" | "className" | "closable" | "color" | "data-component-name" | "icon" | "maxLength" | "onClick" | "onClose" | "onKeyDown" | "selectable" | "size" | "statusDotColor" | "style" | "tabIndex" | "textTransform" | "variant" | "withStatusDot"> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../index.js").TagProps, keyof import("../../index.js").TagProps> & import("../../index.js").TagProps, "data-component-name"> & {
|
|
5
|
+
'data-component-name': string;
|
|
6
|
+
}, "active" | "borderless" | "children" | "className" | "closable" | "color" | "data-component-name" | "icon" | "maxLength" | "onClick" | "onClose" | "onKeyDown" | "selectable" | "size" | "statusDotColor" | "style" | "tabIndex" | "textTransform" | "variant" | "withStatusDot">>> & string & Omit<typeof Tag, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Tag } from '../../components/Tag/Tag';
|
|
2
|
-
export declare const HttpTag: import("styled-components").
|
|
3
|
-
className: "tag-http";
|
|
2
|
+
export declare const HttpTag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../index.js").TagProps, keyof import("../../index.js").TagProps> & import("../../index.js").TagProps, "data-component-name"> & {
|
|
4
3
|
'data-component-name': string;
|
|
5
|
-
}, "className" | "data-component-name"
|
|
4
|
+
}, "active" | "borderless" | "children" | "className" | "closable" | "color" | "data-component-name" | "icon" | "maxLength" | "onClick" | "onClose" | "onKeyDown" | "selectable" | "size" | "statusDotColor" | "style" | "tabIndex" | "textTransform" | "variant" | "withStatusDot"> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("../../index.js").TagProps, keyof import("../../index.js").TagProps> & import("../../index.js").TagProps, "data-component-name"> & {
|
|
5
|
+
'data-component-name': string;
|
|
6
|
+
}, "active" | "borderless" | "children" | "className" | "closable" | "color" | "data-component-name" | "icon" | "maxLength" | "onClick" | "onClose" | "onKeyDown" | "selectable" | "size" | "statusDotColor" | "style" | "tabIndex" | "textTransform" | "variant" | "withStatusDot">>> & string & Omit<typeof Tag, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const httpTag: import("styled-components").
|
|
1
|
+
export declare const httpTag: import("styled-components").RuleSet<object>;
|
|
@@ -8,7 +8,7 @@ export interface ToastComponentProps {
|
|
|
8
8
|
stackZIndex?: number;
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
|
-
declare function ToastComponent({ toast, onDismiss, stackIndex, stackZIndex, className
|
|
11
|
+
declare function ToastComponent({ toast, onDismiss, stackIndex, stackZIndex, className }: ToastComponentProps): ReactElement;
|
|
12
12
|
export declare const Toast: React.MemoExoticComponent<typeof ToastComponent>;
|
|
13
|
-
export declare const spin: import("styled-components").
|
|
13
|
+
export declare const spin: import("styled-components/dist/models/Keyframes").default;
|
|
14
14
|
export {};
|
|
@@ -70,12 +70,12 @@ function ToastComponent({ toast, onDismiss, stackIndex, stackZIndex = 1, classNa
|
|
|
70
70
|
stackIndex,
|
|
71
71
|
});
|
|
72
72
|
const icon = renderToastIcon(toast.type);
|
|
73
|
-
const content = !hasDetails ? (react_1.default.createElement(SimpleToastSurface, {
|
|
73
|
+
const content = !hasDetails ? (react_1.default.createElement(SimpleToastSurface, { $isExiting: toast.isExiting, "aria-live": ariaLive, role: ariaRole },
|
|
74
74
|
react_1.default.createElement(ContentWrapper, null,
|
|
75
75
|
react_1.default.createElement(IconWrapper, null, icon),
|
|
76
76
|
react_1.default.createElement(SimpleContent, null,
|
|
77
77
|
react_1.default.createElement(SimpleText, null, toast.title))),
|
|
78
|
-
renderDismissButton(dismissToast))) : (react_1.default.createElement(DetailedToastSurface, {
|
|
78
|
+
renderDismissButton(dismissToast))) : (react_1.default.createElement(DetailedToastSurface, { $isExiting: toast.isExiting, "aria-live": ariaLive, role: ariaRole },
|
|
79
79
|
react_1.default.createElement(ContentWrapper, null,
|
|
80
80
|
react_1.default.createElement(IconWrapper, null, icon),
|
|
81
81
|
react_1.default.createElement(Body, null,
|
|
@@ -84,7 +84,7 @@ function ToastComponent({ toast, onDismiss, stackIndex, stackZIndex = 1, classNa
|
|
|
84
84
|
renderDismissButton(dismissToast)),
|
|
85
85
|
toast.description ? (react_1.default.createElement(DescriptionRow, null,
|
|
86
86
|
react_1.default.createElement(DescriptionText, null, toast.description))) : null))));
|
|
87
|
-
return (react_1.default.createElement(ToastWrapper, { ref: wrapperRef,
|
|
87
|
+
return (react_1.default.createElement(ToastWrapper, { ref: wrapperRef, $stackZIndex: stackZIndex, className: className, "data-component-name": "Toast/Toast", "data-testid": `toast-${toast.type}`, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave }, content));
|
|
88
88
|
}
|
|
89
89
|
exports.Toast = (0, react_1.memo)(ToastComponent);
|
|
90
90
|
const slideIn = (0, styled_components_1.keyframes) `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const toast: import("styled-components").
|
|
1
|
+
export declare const toast: import("styled-components").RuleSet<object>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
2
3
|
import type { TooltipProps } from '../../core/types';
|
|
3
4
|
type Props = Exclude<TooltipProps, 'arrowPosition'> & {
|
|
4
5
|
arrowPosition?: 'left' | 'right' | 'center';
|
|
5
6
|
};
|
|
6
|
-
export declare const Tooltip: React.NamedExoticComponent<
|
|
7
|
+
export declare const Tooltip: React.NamedExoticComponent<PropsWithChildren<Props>>;
|
|
7
8
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
2
3
|
import type { TooltipProps } from '../../core/types';
|
|
3
|
-
export declare const Tooltip: React.NamedExoticComponent<
|
|
4
|
+
export declare const Tooltip: React.NamedExoticComponent<PropsWithChildren<TooltipProps>>;
|
|
@@ -49,12 +49,13 @@ function TooltipComponent({ children, isOpen, tip, withArrow = true, placement =
|
|
|
49
49
|
(0, hooks_1.useOutsideClick)(wrapperRef, handleClose);
|
|
50
50
|
const isControlled = isOpen !== undefined;
|
|
51
51
|
const updateTooltipPosition = (0, react_1.useCallback)(() => {
|
|
52
|
-
var _a, _b
|
|
52
|
+
var _a, _b;
|
|
53
|
+
var _c, _d;
|
|
53
54
|
if (!isOpened || !wrapperRef.current)
|
|
54
55
|
return;
|
|
55
56
|
const triggerRect = wrapperRef.current.getBoundingClientRect();
|
|
56
|
-
const tooltipWidth = (
|
|
57
|
-
const tooltipHeight = (_d = (
|
|
57
|
+
const tooltipWidth = (_c = (_a = tooltipBodyRef.current) === null || _a === void 0 ? void 0 : _a.offsetWidth) !== null && _c !== void 0 ? _c : 0;
|
|
58
|
+
const tooltipHeight = (_d = (_b = tooltipBodyRef.current) === null || _b === void 0 ? void 0 : _b.offsetHeight) !== null && _d !== void 0 ? _d : 0;
|
|
58
59
|
const resolved = (0, utils_1.resolvePlacement)({
|
|
59
60
|
triggerRect,
|
|
60
61
|
tooltipWidth,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tooltip: import("styled-components").
|
|
1
|
+
export declare const tooltip: import("styled-components").RuleSet<object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tooltipDarkMode: import("styled-components").
|
|
1
|
+
export declare const tooltipDarkMode: import("styled-components").RuleSet<object>;
|