@redocly/theme 0.56.2 → 0.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Admonition/Admonition.js +11 -21
- package/lib/components/Badge/Badge.js +7 -17
- package/lib/components/Breadcrumbs/Breadcrumb.js +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +2 -2
- package/lib/components/Button/Button.js +8 -18
- package/lib/components/Button/ButtonGroup.d.ts +1 -1
- package/lib/components/Buttons/CopyButton.d.ts +2 -2
- package/lib/components/Buttons/CopyButton.js +12 -22
- package/lib/components/Buttons/EditPageButton.js +3 -3
- package/lib/components/Buttons/EmailButton.js +2 -2
- package/lib/components/Buttons/NewTabButton.js +2 -2
- package/lib/components/Catalog/Catalog.d.ts +2 -2
- package/lib/components/Catalog/Catalog.js +12 -12
- package/lib/components/Catalog/CatalogActionsRow.d.ts +1 -1
- package/lib/components/Catalog/CatalogActionsRow.js +3 -3
- package/lib/components/Catalog/CatalogCardView/CatalogCard.d.ts +1 -1
- package/lib/components/Catalog/CatalogCardView/CatalogCard.js +9 -9
- package/lib/components/Catalog/CatalogCardView/CatalogCardView.d.ts +1 -1
- package/lib/components/Catalog/CatalogCardView/CatalogCardView.js +1 -1
- package/lib/components/Catalog/CatalogEntities.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntities.js +14 -24
- package/lib/components/Catalog/CatalogEntitiesEmptyState.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntity.js +15 -15
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityLinks.js +4 -4
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.js +12 -22
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.js +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ApiDescriptionProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ApiDescriptionProperty.js +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.js +9 -9
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.js +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.js +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/EntityTypeProperty.js +4 -4
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.js +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/GitProperty.js +4 -4
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.js +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.js +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/UserEmailProperty.js +3 -3
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js +4 -4
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js +10 -20
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js +6 -6
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +8 -8
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.js +2 -2
- package/lib/components/Catalog/CatalogEntityIcon.js +6 -6
- package/lib/components/Catalog/CatalogEntityTypeIcon.js +1 -1
- package/lib/components/Catalog/CatalogEntityTypeTag.d.ts +1 -1
- package/lib/components/Catalog/CatalogEntityTypeTag.js +2 -2
- package/lib/components/Catalog/CatalogPageDescription.js +3 -3
- package/lib/components/Catalog/CatalogSelector.d.ts +2 -2
- package/lib/components/Catalog/CatalogSelector.js +4 -4
- package/lib/components/Catalog/CatalogSortButton.d.ts +1 -1
- package/lib/components/Catalog/CatalogSortButton.js +12 -22
- package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.js +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.js +2 -2
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.js +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.js +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.d.ts +2 -2
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +10 -20
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +7 -7
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.js +6 -6
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.d.ts +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.js +1 -1
- package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.js +1 -1
- package/lib/components/Catalog/CatalogTagsWithTooltip.d.ts +1 -1
- package/lib/components/Catalog/CatalogTagsWithTooltip.js +4 -4
- package/lib/components/Catalog/CatalogViewModeToggle.d.ts +1 -1
- package/lib/components/Catalog/CatalogViewModeToggle.js +9 -19
- package/lib/components/CatalogClassic/CatalogClassic.d.ts +1 -1
- package/lib/components/CatalogClassic/CatalogClassic.js +9 -9
- package/lib/components/CatalogClassic/CatalogClassicActions.d.ts +1 -1
- package/lib/components/CatalogClassic/CatalogClassicActions.js +12 -22
- package/lib/components/CatalogClassic/CatalogClassicCard.d.ts +1 -1
- package/lib/components/CatalogClassic/CatalogClassicCard.js +14 -24
- package/lib/components/CatalogClassic/CatalogClassicHighlight.js +7 -17
- package/lib/components/CatalogClassic/CatalogClassicInfoBlock.js +4 -4
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.d.ts +1 -1
- package/lib/components/CatalogClassic/CatalogClassicVirtualizedGroups.js +11 -21
- package/lib/components/CodeBlock/CodeBlock.d.ts +1 -1
- package/lib/components/CodeBlock/CodeBlock.js +12 -22
- package/lib/components/CodeBlock/CodeBlockContainer.js +8 -18
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +1 -1
- package/lib/components/CodeBlock/CodeBlockControls.js +11 -11
- package/lib/components/CodeBlock/CodeBlockDropdown.d.ts +1 -1
- package/lib/components/CodeBlock/CodeBlockDropdown.js +7 -7
- package/lib/components/CodeBlock/CodeBlockTabs.d.ts +1 -1
- package/lib/components/CodeBlock/CodeBlockTabs.js +12 -22
- package/lib/components/ColorModeSwitcher/ColorModeIcon.js +3 -3
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +3 -3
- package/lib/components/Dropdown/Dropdown.js +10 -20
- package/lib/components/Dropdown/DropdownMenu.d.ts +1 -1
- package/lib/components/Dropdown/DropdownMenu.js +1 -1
- package/lib/components/Dropdown/DropdownMenuItem.d.ts +1 -1
- package/lib/components/Dropdown/DropdownMenuItem.js +8 -18
- package/lib/components/Feedback/Comment.js +10 -20
- package/lib/components/Feedback/Feedback.d.ts +1 -1
- package/lib/components/Feedback/Feedback.js +14 -24
- package/lib/components/Feedback/Mood.js +15 -25
- package/lib/components/Feedback/Rating.js +13 -23
- package/lib/components/Feedback/Reasons.js +8 -18
- package/lib/components/Feedback/ReportDialog.d.ts +1 -1
- package/lib/components/Feedback/ReportDialog.js +3 -3
- package/lib/components/Feedback/Scale.js +13 -23
- package/lib/components/Feedback/Sentiment.js +14 -24
- package/lib/components/Feedback/Stars.js +9 -19
- package/lib/components/Filter/Filter.d.ts +1 -1
- package/lib/components/Filter/Filter.js +3 -3
- package/lib/components/Filter/FilterCheckboxes.d.ts +1 -1
- package/lib/components/Filter/FilterCheckboxes.js +8 -8
- package/lib/components/Filter/FilterContent.d.ts +2 -2
- package/lib/components/Filter/FilterContent.js +12 -22
- package/lib/components/Filter/FilterDateRange.d.ts +1 -1
- package/lib/components/Filter/FilterDateRange.js +5 -5
- package/lib/components/Filter/FilterInput.js +9 -19
- package/lib/components/Filter/FilterPopover.d.ts +2 -2
- package/lib/components/Filter/FilterPopover.js +3 -3
- package/lib/components/Filter/FilterSelect.d.ts +1 -1
- package/lib/components/Filter/FilterSelect.js +7 -7
- package/lib/components/Footer/Footer.js +5 -5
- package/lib/components/Footer/FooterColumn.js +3 -3
- package/lib/components/Footer/FooterCopyright.js +2 -2
- package/lib/components/Footer/FooterItem.js +5 -5
- package/lib/components/Image/Image.js +9 -19
- package/lib/components/JsonViewer/JsonViewer.d.ts +1 -1
- package/lib/components/JsonViewer/JsonViewer.js +8 -18
- package/lib/components/JsonViewer/helpers.js +9 -19
- package/lib/components/LanguagePicker/LanguagePicker.js +7 -7
- package/lib/components/LastUpdated/LastUpdated.js +9 -19
- package/lib/components/Link/Link.js +8 -18
- package/lib/components/LoadMore/LoadMore.js +1 -1
- package/lib/components/Loaders/Loading.js +2 -2
- package/lib/components/Logo/Logo.d.ts +1 -1
- package/lib/components/Logo/Logo.js +3 -3
- package/lib/components/Markdown/Markdown.js +11 -21
- package/lib/components/Marker/Marker.d.ts +1 -1
- package/lib/components/Marker/Marker.js +7 -17
- package/lib/components/Menu/Menu.d.ts +1 -1
- package/lib/components/Menu/Menu.js +3 -3
- package/lib/components/Menu/MenuContainer.d.ts +1 -1
- package/lib/components/Menu/MenuContainer.js +7 -17
- package/lib/components/Menu/MenuItem.d.ts +1 -1
- package/lib/components/Menu/MenuItem.js +18 -28
- package/lib/components/Menu/MenuMobile.js +17 -27
- package/lib/components/Navbar/Navbar.js +13 -13
- package/lib/components/Navbar/NavbarItem.js +8 -8
- package/lib/components/Navbar/NavbarLogo.d.ts +1 -1
- package/lib/components/Navbar/NavbarLogo.js +1 -1
- package/lib/components/Navbar/NavbarMenu.js +2 -2
- package/lib/components/PageActions/PageActions.js +16 -26
- package/lib/components/PageActions/PageActionsMenuItem.d.ts +1 -1
- package/lib/components/PageActions/PageActionsMenuItem.js +1 -1
- package/lib/components/PageNavigation/NavigationButton.js +3 -3
- package/lib/components/PageNavigation/NextButton.js +10 -20
- package/lib/components/PageNavigation/PageNavigation.js +3 -3
- package/lib/components/PageNavigation/PreviousButton.js +3 -3
- package/lib/components/Panel/Panel.d.ts +1 -1
- package/lib/components/Panel/Panel.js +12 -22
- package/lib/components/Panel/PanelBody.js +7 -17
- package/lib/components/Portal/Portal.js +1 -1
- package/lib/components/Product/Product.d.ts +1 -1
- package/lib/components/Product/ProductPicker.js +7 -7
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.d.ts +1 -1
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.js +10 -20
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.d.ts +1 -1
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.js +1 -1
- package/lib/components/Search/Search.js +3 -3
- package/lib/components/Search/SearchAiConversationInput.js +11 -21
- package/lib/components/Search/SearchAiDialog.d.ts +2 -2
- package/lib/components/Search/SearchAiDialog.js +14 -24
- package/lib/components/Search/SearchAiMessage.d.ts +1 -1
- package/lib/components/Search/SearchAiMessage.js +7 -7
- package/lib/components/Search/SearchAiResponse.d.ts +1 -1
- package/lib/components/Search/SearchAiResponse.js +12 -12
- package/lib/components/Search/SearchDialog.js +28 -38
- package/lib/components/Search/SearchFilter.d.ts +1 -1
- package/lib/components/Search/SearchFilter.js +11 -21
- package/lib/components/Search/SearchFilterField.d.ts +1 -1
- package/lib/components/Search/SearchFilterField.js +5 -5
- package/lib/components/Search/SearchGroups.d.ts +1 -1
- package/lib/components/Search/SearchGroups.js +8 -18
- package/lib/components/Search/SearchHighlight.js +7 -17
- package/lib/components/Search/SearchInput.js +6 -6
- package/lib/components/Search/SearchItem.d.ts +1 -1
- package/lib/components/Search/SearchItem.js +14 -24
- package/lib/components/Search/SearchRecent.js +12 -22
- package/lib/components/Search/SearchShortcut.js +7 -17
- package/lib/components/Search/SearchSuggestedPages.js +10 -20
- package/lib/components/Search/SearchTrigger.js +11 -21
- package/lib/components/Segmented/Segmented.d.ts +1 -1
- package/lib/components/Segmented/Segmented.js +8 -18
- package/lib/components/Select/Select.d.ts +1 -1
- package/lib/components/Select/Select.js +13 -23
- package/lib/components/Select/SelectInput.d.ts +1 -1
- package/lib/components/Select/SelectInput.js +10 -20
- package/lib/components/Sidebar/Sidebar.d.ts +1 -1
- package/lib/components/Sidebar/Sidebar.js +10 -20
- package/lib/components/SidebarActions/ChangeViewButton.d.ts +1 -1
- package/lib/components/SidebarActions/ChangeViewButton.js +5 -5
- package/lib/components/SidebarActions/SidebarActions.js +6 -6
- package/lib/components/SidebarActions/styled.js +8 -18
- package/lib/components/SkipContent/SkipContent.js +9 -19
- package/lib/components/Switch/Switch.js +7 -17
- package/lib/components/TableOfContent/TableOfContent.d.ts +1 -1
- package/lib/components/TableOfContent/TableOfContent.js +9 -19
- package/lib/components/Tag/Tag.js +2 -2
- package/lib/components/Tags/CounterTag.d.ts +1 -1
- package/lib/components/Tags/CounterTag.js +1 -1
- package/lib/components/Tags/HttpTag.d.ts +1 -1
- package/lib/components/Tags/HttpTag.js +1 -1
- package/lib/components/Tooltip/Tooltip.js +8 -18
- package/lib/components/Tooltip/TooltipWrapper.d.ts +1 -1
- package/lib/components/Tooltip/TooltipWrapper.js +2 -2
- package/lib/components/Typography/CompactTypography.d.ts +1 -1
- package/lib/components/Typography/CompactTypography.js +1 -1
- package/lib/components/Typography/H1.js +1 -1
- package/lib/components/Typography/H2.js +1 -1
- package/lib/components/Typography/H3.js +1 -1
- package/lib/components/Typography/H4.js +1 -1
- package/lib/components/UserMenu/LoginButton.js +2 -2
- package/lib/components/UserMenu/LogoutMenuItem.js +3 -3
- package/lib/components/UserMenu/UserAvatar.js +1 -1
- package/lib/components/UserMenu/UserInfoMenuItem.js +2 -2
- package/lib/components/UserMenu/UserMenu.js +9 -9
- package/lib/components/UserMenu/UserMenuMobile.js +4 -4
- package/lib/components/VersionPicker/VersionPicker.d.ts +2 -2
- package/lib/components/VersionPicker/VersionPicker.js +10 -20
- package/lib/core/hooks/catalog/useCatalogTableHeaderCellActions.d.ts +1 -1
- package/lib/core/hooks/use-page-actions.js +4 -4
- package/lib/core/styles/dark.js +12 -12
- package/lib/core/styles/global.js +39 -39
- package/lib/core/templates/Markdown.js +12 -22
- package/lib/core/types/catalog.d.ts +1 -1
- package/lib/core/types/hooks.d.ts +1 -1
- package/lib/core/types/search.d.ts +1 -1
- package/lib/core/utils/download-code-walkthrough.js +7 -17
- package/lib/core/utils/get-file-icon.js +8 -18
- package/lib/ext/configure.d.ts +1 -1
- package/lib/icons/AddIcon/AddIcon.d.ts +1 -1
- package/lib/icons/AddIcon/AddIcon.js +1 -1
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.d.ts +1 -1
- package/lib/icons/AiStarsGradientIcon/AiStarsGradientIcon.js +1 -1
- package/lib/icons/AiStarsIcon/AiStarsIcon.d.ts +1 -1
- package/lib/icons/AiStarsIcon/AiStarsIcon.js +1 -1
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.d.ts +1 -1
- package/lib/icons/ArrowDownIcon/ArrowDownIcon.js +1 -1
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +1 -1
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.js +1 -1
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +1 -1
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.js +1 -1
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +1 -1
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.js +1 -1
- package/lib/icons/AscSortIcon/AscSortIcon.d.ts +1 -1
- package/lib/icons/AscSortIcon/AscSortIcon.js +1 -1
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +1 -1
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.js +1 -1
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +1 -1
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.js +1 -1
- package/lib/icons/CDNIcon/CDNIcon.d.ts +1 -1
- package/lib/icons/CDNIcon/CDNIcon.js +2 -2
- package/lib/icons/CardsIcon/CardsIcon.d.ts +1 -1
- package/lib/icons/CardsIcon/CardsIcon.js +1 -1
- package/lib/icons/CaretDownIcon/CaretDownIcon.d.ts +1 -1
- package/lib/icons/CaretDownIcon/CaretDownIcon.js +1 -1
- package/lib/icons/CaretUpIcon/CaretUpIcon.d.ts +1 -1
- package/lib/icons/CaretUpIcon/CaretUpIcon.js +1 -1
- package/lib/icons/CertificateIcon/CertificateIcon.d.ts +1 -1
- package/lib/icons/CertificateIcon/CertificateIcon.js +1 -1
- package/lib/icons/CharacterIcon/CharacterIcon.d.ts +1 -1
- package/lib/icons/CharacterIcon/CharacterIcon.js +1 -1
- package/lib/icons/ChatGptIcon/ChatGptIcon.d.ts +1 -1
- package/lib/icons/ChatGptIcon/ChatGptIcon.js +1 -1
- package/lib/icons/ChatIcon/ChatIcon.d.ts +1 -1
- package/lib/icons/ChatIcon/ChatIcon.js +1 -1
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.d.ts +1 -1
- package/lib/icons/CheckboxFilledIcon/CheckboxFilledIcon.js +1 -1
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +1 -1
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.js +1 -1
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +1 -1
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.js +1 -1
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.d.ts +1 -1
- package/lib/icons/CheckmarkOutlineIcon/CheckmarkOutlineIcon.js +1 -1
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +1 -1
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.js +1 -1
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +1 -1
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.js +1 -1
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +1 -1
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.js +1 -1
- package/lib/icons/ChevronSortIcon/ChevronSortIcon.js +1 -1
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +1 -1
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.js +1 -1
- package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +1 -1
- package/lib/icons/CircleDashIcon/CircleDashIcon.js +1 -1
- package/lib/icons/ClaudeIcon/ClaudeIcon.d.ts +1 -1
- package/lib/icons/ClaudeIcon/ClaudeIcon.js +1 -1
- package/lib/icons/CleanIcon/CleanIcon.d.ts +1 -1
- package/lib/icons/CleanIcon/CleanIcon.js +1 -1
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +1 -1
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.js +1 -1
- package/lib/icons/CloseIcon/CloseIcon.d.ts +1 -1
- package/lib/icons/CloseIcon/CloseIcon.js +1 -1
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.d.ts +1 -1
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.js +1 -1
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +1 -1
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.js +1 -1
- package/lib/icons/CodeIcon/CodeIcon.d.ts +1 -1
- package/lib/icons/CodeIcon/CodeIcon.js +1 -1
- package/lib/icons/ContrastIcon/ContrastIcon.d.ts +1 -1
- package/lib/icons/ContrastIcon/ContrastIcon.js +1 -1
- package/lib/icons/CookieIcon/CookieIcon.d.ts +1 -1
- package/lib/icons/CookieIcon/CookieIcon.js +1 -1
- package/lib/icons/CopyIcon/CopyIcon.d.ts +1 -1
- package/lib/icons/CopyIcon/CopyIcon.js +1 -1
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +1 -1
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.js +1 -1
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.d.ts +1 -1
- package/lib/icons/CurveAutoColonIcon/CurveAutoColonIcon.js +1 -1
- package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +1 -1
- package/lib/icons/DataFormatIcon/DataFormatIcon.js +1 -1
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.d.ts +1 -1
- package/lib/icons/DataRefineryIcon/DataRefineryIcon.js +1 -1
- package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +1 -1
- package/lib/icons/DatabaseIcon/DatabaseIcon.js +1 -1
- package/lib/icons/DescSortIcon/DescSortIcon.d.ts +1 -1
- package/lib/icons/DescSortIcon/DescSortIcon.js +1 -1
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +1 -1
- package/lib/icons/DeselectIcon/DeselectIcon.js +1 -1
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.d.ts +1 -1
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.js +1 -1
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +1 -1
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.js +1 -1
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.d.ts +1 -1
- package/lib/icons/DocumentCssIcon/DocumentCssIcon.js +1 -1
- package/lib/icons/DocumentCssIcon/index.d.ts +1 -1
- package/lib/icons/DocumentCssIcon/index.js +1 -1
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.d.ts +1 -1
- package/lib/icons/DocumentGraphqlIcon/DocumentGraphqlIcon.js +1 -1
- package/lib/icons/DocumentGraphqlIcon/index.d.ts +1 -1
- package/lib/icons/DocumentGraphqlIcon/index.js +1 -1
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.d.ts +1 -1
- package/lib/icons/DocumentHtmlIcon/DocumentHtmlIcon.js +1 -1
- package/lib/icons/DocumentHtmlIcon/index.d.ts +1 -1
- package/lib/icons/DocumentHtmlIcon/index.js +1 -1
- package/lib/icons/DocumentIcon/DocumentIcon.d.ts +1 -1
- package/lib/icons/DocumentIcon/DocumentIcon.js +1 -1
- package/lib/icons/DocumentIcon/index.d.ts +1 -1
- package/lib/icons/DocumentIcon/index.js +1 -1
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.d.ts +1 -1
- package/lib/icons/DocumentJavaIcon/DocumentJavaIcon.js +1 -1
- package/lib/icons/DocumentJavaIcon/index.d.ts +1 -1
- package/lib/icons/DocumentJavaIcon/index.js +1 -1
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.d.ts +1 -1
- package/lib/icons/DocumentJsIcon/DocumentJsIcon.js +1 -1
- package/lib/icons/DocumentJsIcon/index.d.ts +1 -1
- package/lib/icons/DocumentJsIcon/index.js +1 -1
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.d.ts +1 -1
- package/lib/icons/DocumentJsonIcon/DocumentJsonIcon.js +1 -1
- package/lib/icons/DocumentJsonIcon/index.d.ts +1 -1
- package/lib/icons/DocumentJsonIcon/index.js +1 -1
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.d.ts +1 -1
- package/lib/icons/DocumentMarkdownIcon/DocumentMarkdownIcon.js +1 -1
- package/lib/icons/DocumentMarkdownIcon/index.d.ts +1 -1
- package/lib/icons/DocumentMarkdownIcon/index.js +1 -1
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.d.ts +1 -1
- package/lib/icons/DocumentPythonIcon/DocumentPythonIcon.js +1 -1
- package/lib/icons/DocumentPythonIcon/index.d.ts +1 -1
- package/lib/icons/DocumentPythonIcon/index.js +1 -1
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.d.ts +1 -1
- package/lib/icons/DocumentReactIcon/DocumentReactIcon.js +1 -1
- package/lib/icons/DocumentReactIcon/index.d.ts +1 -1
- package/lib/icons/DocumentReactIcon/index.js +1 -1
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.d.ts +1 -1
- package/lib/icons/DocumentShellIcon/DocumentShellIcon.js +1 -1
- package/lib/icons/DocumentShellIcon/index.d.ts +1 -1
- package/lib/icons/DocumentShellIcon/index.js +1 -1
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.d.ts +1 -1
- package/lib/icons/DocumentTsIcon/DocumentTsIcon.js +1 -1
- package/lib/icons/DocumentTsIcon/index.d.ts +1 -1
- package/lib/icons/DocumentTsIcon/index.js +1 -1
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.d.ts +1 -1
- package/lib/icons/DocumentYamlIcon/DocumentYamlIcon.js +1 -1
- package/lib/icons/DocumentYamlIcon/index.d.ts +1 -1
- package/lib/icons/DocumentYamlIcon/index.js +1 -1
- package/lib/icons/DownloadIcon/DownloadIcon.d.ts +1 -1
- package/lib/icons/DownloadIcon/DownloadIcon.js +1 -1
- package/lib/icons/DraggableIcon/DraggableIcon.d.ts +1 -1
- package/lib/icons/DraggableIcon/DraggableIcon.js +1 -1
- package/lib/icons/EditIcon/EditIcon.d.ts +1 -1
- package/lib/icons/EditIcon/EditIcon.js +1 -1
- package/lib/icons/EmailIcon/EmailIcon.d.ts +1 -1
- package/lib/icons/EmailIcon/EmailIcon.js +1 -1
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.d.ts +1 -1
- package/lib/icons/EntityTypeIcon/EntityTypeIcon.js +1 -1
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.d.ts +1 -1
- package/lib/icons/ErrorFilledIcon/ErrorFilledIcon.js +1 -1
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +1 -1
- package/lib/icons/ErrorIcon/ErrorIcon.js +1 -1
- package/lib/icons/ExportIcon/ExportIcon.d.ts +1 -1
- package/lib/icons/ExportIcon/ExportIcon.js +1 -1
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +1 -1
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.js +1 -1
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +1 -1
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.js +1 -1
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +1 -1
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.js +1 -1
- package/lib/icons/FileIcon/FileIcon.d.ts +1 -1
- package/lib/icons/FileIcon/FileIcon.js +1 -1
- package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +1 -1
- package/lib/icons/FileStorageIcon/FileStorageIcon.js +1 -1
- package/lib/icons/FilterIcon/FilterIcon.d.ts +1 -1
- package/lib/icons/FilterIcon/FilterIcon.js +1 -1
- package/lib/icons/FlowIcon/FlowIcon.d.ts +1 -1
- package/lib/icons/FlowIcon/FlowIcon.js +1 -1
- package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +1 -1
- package/lib/icons/FolderAddIcon/FolderAddIcon.js +1 -1
- package/lib/icons/FolderIcon/FolderIcon.d.ts +1 -1
- package/lib/icons/FolderIcon/FolderIcon.js +1 -1
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +1 -1
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.js +1 -1
- package/lib/icons/GenericIcon/GenericIcon.js +11 -21
- package/lib/icons/GithubIcon/GithubIcon.d.ts +1 -1
- package/lib/icons/GithubIcon/GithubIcon.js +1 -1
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +1 -1
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.js +1 -1
- package/lib/icons/GraphIcon/GraphIcon.d.ts +1 -1
- package/lib/icons/GraphIcon/GraphIcon.js +1 -1
- package/lib/icons/GraphqlIcon/GraphqlIcon.d.ts +1 -1
- package/lib/icons/GraphqlIcon/GraphqlIcon.js +1 -1
- package/lib/icons/GraphqlIcon/index.d.ts +1 -1
- package/lib/icons/GraphqlIcon/index.js +1 -1
- package/lib/icons/GridIcon/GridIcon.d.ts +1 -1
- package/lib/icons/GridIcon/GridIcon.js +1 -1
- package/lib/icons/HexagonIcon/HexagonIcon.d.ts +1 -1
- package/lib/icons/HexagonIcon/HexagonIcon.js +1 -1
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +1 -1
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.js +1 -1
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +1 -1
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.js +1 -1
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +1 -1
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.js +1 -1
- package/lib/icons/InformationIcon/InformationIcon.d.ts +1 -1
- package/lib/icons/InformationIcon/InformationIcon.js +1 -1
- package/lib/icons/JsonIcon/JsonIcon.d.ts +1 -1
- package/lib/icons/JsonIcon/JsonIcon.js +1 -1
- package/lib/icons/KafkaIcon/KafkaIcon.d.ts +1 -1
- package/lib/icons/KafkaIcon/KafkaIcon.js +1 -1
- package/lib/icons/LaunchIcon/LaunchIcon.d.ts +1 -1
- package/lib/icons/LaunchIcon/LaunchIcon.js +1 -1
- package/lib/icons/LinkIcon/LinkIcon.d.ts +1 -1
- package/lib/icons/LinkIcon/LinkIcon.js +1 -1
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +1 -1
- package/lib/icons/LogoutIcon/LogoutIcon.js +1 -1
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.d.ts +1 -1
- package/lib/icons/MarkdownFullIcon/MarkdownFullIcon.js +1 -1
- package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +1 -1
- package/lib/icons/MaximizeIcon/MaximizeIcon.js +1 -1
- package/lib/icons/MenuIcon/MenuIcon.d.ts +1 -1
- package/lib/icons/MenuIcon/MenuIcon.js +1 -1
- package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +1 -1
- package/lib/icons/MinimizeIcon/MinimizeIcon.js +1 -1
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +1 -1
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.js +1 -1
- package/lib/icons/MoleculesIcon/MoleculesIcon.d.ts +1 -1
- package/lib/icons/MoleculesIcon/MoleculesIcon.js +1 -1
- package/lib/icons/MoonIcon/MoonIcon.d.ts +1 -1
- package/lib/icons/MoonIcon/MoonIcon.js +1 -1
- package/lib/icons/NetworkIcon/NetworkIcon.d.ts +1 -1
- package/lib/icons/NetworkIcon/NetworkIcon.js +1 -1
- package/lib/icons/NoneIcon/NoneIcon.d.ts +1 -1
- package/lib/icons/NotesIcon/NotesIcon.d.ts +1 -1
- package/lib/icons/NotesIcon/NotesIcon.js +1 -1
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +1 -1
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.js +1 -1
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +1 -1
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.js +1 -1
- package/lib/icons/PeopleIcon/PeopleIcon.d.ts +1 -1
- package/lib/icons/PeopleIcon/PeopleIcon.js +1 -1
- package/lib/icons/PlaylistIcon/PlaylistIcon.d.ts +1 -1
- package/lib/icons/PlaylistIcon/PlaylistIcon.js +1 -1
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +1 -1
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.js +1 -1
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.d.ts +1 -1
- package/lib/icons/RabbitMQIcon/RabbitMQIcon.js +1 -1
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +1 -1
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.js +1 -1
- package/lib/icons/RenewIcon/RenewIcon.d.ts +1 -1
- package/lib/icons/RenewIcon/RenewIcon.js +1 -1
- package/lib/icons/ResetIcon/ResetIcon.d.ts +1 -1
- package/lib/icons/ResetIcon/ResetIcon.js +1 -1
- package/lib/icons/RestartIcon/RestartIcon.d.ts +1 -1
- package/lib/icons/RestartIcon/RestartIcon.js +1 -1
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.d.ts +1 -1
- package/lib/icons/ReturnKeyIcon/ReturnKeyIcon.js +1 -1
- package/lib/icons/RocketIcon/RocketIcon.d.ts +1 -1
- package/lib/icons/RocketIcon/RocketIcon.js +1 -1
- package/lib/icons/SaveIcon/SaveIcon.d.ts +1 -1
- package/lib/icons/SaveIcon/SaveIcon.js +1 -1
- package/lib/icons/SearchIcon/SearchIcon.d.ts +1 -1
- package/lib/icons/SearchIcon/SearchIcon.js +1 -1
- package/lib/icons/SecurityIcon/SecurityIcon.d.ts +1 -1
- package/lib/icons/SecurityIcon/SecurityIcon.js +1 -1
- package/lib/icons/SelectIcon/SelectIcon.d.ts +1 -1
- package/lib/icons/SelectIcon/SelectIcon.js +1 -1
- package/lib/icons/SendIcon/SendIcon.d.ts +1 -1
- package/lib/icons/SendIcon/SendIcon.js +1 -1
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.d.ts +1 -1
- package/lib/icons/SettingsCogIcon/SettingsCogIcon.js +1 -1
- package/lib/icons/SettingsIcon/SettingsIcon.d.ts +1 -1
- package/lib/icons/SettingsIcon/SettingsIcon.js +1 -1
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +1 -1
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.js +1 -1
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +1 -1
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.js +1 -1
- package/lib/icons/SlackIcon/SlackIcon.d.ts +1 -1
- package/lib/icons/SlackIcon/SlackIcon.js +1 -1
- package/lib/icons/SortIcon/SortIcon.d.ts +1 -1
- package/lib/icons/SortIcon/SortIcon.js +1 -1
- package/lib/icons/Spinner/Spinner.d.ts +1 -1
- package/lib/icons/Spinner/Spinner.js +8 -18
- package/lib/icons/SpinnerIcon/SpinnerIcon.d.ts +1 -1
- package/lib/icons/SpinnerIcon/SpinnerIcon.js +1 -1
- package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +1 -1
- package/lib/icons/StarFilledIcon/StarFilledIcon.js +1 -1
- package/lib/icons/StarIcon/StarIcon.d.ts +1 -1
- package/lib/icons/StarIcon/StarIcon.js +1 -1
- package/lib/icons/SubtractIcon/SubtractIcon.d.ts +1 -1
- package/lib/icons/SubtractIcon/SubtractIcon.js +1 -1
- package/lib/icons/SunIcon/SunIcon.d.ts +1 -1
- package/lib/icons/SunIcon/SunIcon.js +1 -1
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +1 -1
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.js +1 -1
- package/lib/icons/TableIcon/TableIcon.d.ts +1 -1
- package/lib/icons/TableIcon/TableIcon.js +1 -1
- package/lib/icons/TagsIcon/TagsIcon.d.ts +1 -1
- package/lib/icons/TagsIcon/TagsIcon.js +1 -1
- package/lib/icons/TaskViewIcon/TaskViewIcon.d.ts +1 -1
- package/lib/icons/TaskViewIcon/TaskViewIcon.js +1 -1
- package/lib/icons/TimeIcon/TimeIcon.d.ts +1 -1
- package/lib/icons/TimeIcon/TimeIcon.js +1 -1
- package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +1 -1
- package/lib/icons/TrashCanIcon/TrashCanIcon.js +1 -1
- package/lib/icons/UserIcon/UserIcon.d.ts +1 -1
- package/lib/icons/UserIcon/UserIcon.js +1 -1
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +1 -1
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.js +1 -1
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +1 -1
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.js +1 -1
- package/lib/icons/ViewIcon/ViewIcon.d.ts +1 -1
- package/lib/icons/ViewIcon/ViewIcon.js +1 -1
- package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +1 -1
- package/lib/icons/ViewOffIcon/ViewOffIcon.js +1 -1
- package/lib/icons/WarningAltFilled/WarningAltFilled.d.ts +1 -1
- package/lib/icons/WarningAltFilled/WarningAltFilled.js +1 -1
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.d.ts +1 -1
- package/lib/icons/WarningAltFilledIcon/WarningAltFilledIcon.js +1 -1
- package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +1 -1
- package/lib/icons/WarningAltIcon/WarningAltIcon.js +1 -1
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +1 -1
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.js +1 -1
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +1 -1
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.js +1 -1
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.d.ts +1 -1
- package/lib/icons/WorkflowAutomationIcon/WorkflowAutomationIcon.js +1 -1
- package/lib/index.d.ts +267 -267
- package/lib/index.js +274 -284
- package/lib/layouts/CodeWalkthroughLayout.js +1 -1
- package/lib/layouts/DocumentationLayout.js +5 -5
- package/lib/layouts/Forbidden.js +2 -2
- package/lib/layouts/InternalServerErrorLayout.js +3 -3
- package/lib/layouts/NotFound.js +3 -3
- package/lib/layouts/OIDCForbidden.js +8 -18
- package/lib/layouts/PageLayout.js +2 -2
- package/lib/layouts/RootLayout.js +3 -3
- package/lib/layouts/ThreePanelLayout.js +8 -18
- package/lib/markdoc/components/Admonition/Admonition.d.ts +1 -1
- package/lib/markdoc/components/Admonition/Admonition.js +1 -1
- package/lib/markdoc/components/Cards/Card.js +4 -4
- package/lib/markdoc/components/Cards/CardIcon.js +1 -1
- package/lib/markdoc/components/Cards/Cards.js +7 -17
- package/lib/markdoc/components/CodeBlock/CodeBlock.d.ts +1 -1
- package/lib/markdoc/components/CodeBlock/CodeBlock.js +1 -1
- package/lib/markdoc/components/CodeGroup/CodeGroup.js +10 -20
- package/lib/markdoc/components/CodeWalkthrough/CodeContainer.js +9 -19
- package/lib/markdoc/components/CodeWalkthrough/CodeFilters.js +1 -1
- package/lib/markdoc/components/CodeWalkthrough/CodePanel.js +13 -23
- package/lib/markdoc/components/CodeWalkthrough/CodePanelHeader.js +14 -24
- package/lib/markdoc/components/CodeWalkthrough/CodePanelPreview.js +10 -20
- package/lib/markdoc/components/CodeWalkthrough/CodePanelToolbar.js +9 -19
- package/lib/markdoc/components/CodeWalkthrough/CodeStep.js +9 -19
- package/lib/markdoc/components/CodeWalkthrough/CodeToggle.js +10 -20
- package/lib/markdoc/components/CodeWalkthrough/CodeWalkthrough.js +11 -21
- package/lib/markdoc/components/CodeWalkthrough/Input.js +8 -18
- package/lib/markdoc/components/Heading/Heading.js +11 -21
- package/lib/markdoc/components/HtmlBlock/HtmlBlock.js +7 -17
- package/lib/markdoc/components/Icon/Icon.d.ts +1 -1
- package/lib/markdoc/components/Icon/Icon.js +2 -2
- package/lib/markdoc/components/Image/Image.d.ts +1 -1
- package/lib/markdoc/components/Image/Image.js +1 -1
- package/lib/markdoc/components/InlineSvg/InlineSvg.js +7 -17
- package/lib/markdoc/components/MarkdocExample/MarkdocExample.js +8 -18
- package/lib/markdoc/components/Mermaid/Mermaid.js +1 -1
- package/lib/markdoc/components/Tabs/Tab.d.ts +1 -1
- package/lib/markdoc/components/Tabs/Tab.js +2 -2
- package/lib/markdoc/components/Tabs/TabList.d.ts +2 -2
- package/lib/markdoc/components/Tabs/TabList.js +12 -22
- package/lib/markdoc/components/Tabs/Tabs.js +9 -19
- package/lib/markdoc/components/default.d.ts +22 -22
- package/lib/markdoc/components/default.js +22 -22
- package/lib/markdoc/default.d.ts +6 -6
- package/lib/markdoc/default.js +31 -41
- package/lib/markdoc/tags/admonition.d.ts +1 -1
- package/lib/markdoc/tags/card.d.ts +1 -1
- package/lib/markdoc/tags/card.js +1 -1
- package/lib/markdoc/tags/cards.d.ts +1 -1
- package/lib/markdoc/tags/code-group.d.ts +1 -1
- package/lib/markdoc/tags/code-snippet.d.ts +1 -1
- package/lib/markdoc/tags/code-snippet.js +1 -1
- package/lib/markdoc/tags/code-step.d.ts +1 -1
- package/lib/markdoc/tags/code-toggle.d.ts +1 -1
- package/lib/markdoc/tags/code-walkthrough.d.ts +1 -1
- package/lib/markdoc/tags/code-walkthrough.js +3 -3
- package/lib/markdoc/tags/debug.d.ts +1 -1
- package/lib/markdoc/tags/html.d.ts +1 -1
- package/lib/markdoc/tags/icon.d.ts +1 -1
- package/lib/markdoc/tags/img.d.ts +1 -1
- package/lib/markdoc/tags/inline-svg.d.ts +1 -1
- package/lib/markdoc/tags/inline-svg.js +1 -1
- package/lib/markdoc/tags/input.d.ts +1 -1
- package/lib/markdoc/tags/markdoc-example.d.ts +1 -1
- package/lib/markdoc/tags/partial.d.ts +1 -1
- package/lib/markdoc/tags/partial.js +2 -2
- package/lib/markdoc/tags/tab.d.ts +1 -1
- package/lib/markdoc/tags/tabs.d.ts +1 -1
- package/lib/markdoc/tags/tabs.js +1 -1
- package/package.json +1 -1
|
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.CodeBlockControls = CodeBlockControls;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const CodeBlockTabs_1 = require("
|
|
10
|
-
const CopyButton_1 = require("
|
|
11
|
-
const TooltipWrapper_1 = require("
|
|
12
|
-
const hooks_1 = require("
|
|
13
|
-
const DeselectIcon_1 = require("
|
|
14
|
-
const MaximizeIcon_1 = require("
|
|
15
|
-
const MinimizeIcon_1 = require("
|
|
16
|
-
const SelectIcon_1 = require("
|
|
17
|
-
const WarningSquareIcon_1 = require("
|
|
18
|
-
const Button_1 = require("
|
|
19
|
-
const CodeBlockDropdown_1 = require("
|
|
9
|
+
const CodeBlockTabs_1 = require("../../components/CodeBlock/CodeBlockTabs");
|
|
10
|
+
const CopyButton_1 = require("../../components/Buttons/CopyButton");
|
|
11
|
+
const TooltipWrapper_1 = require("../../components/Tooltip/TooltipWrapper");
|
|
12
|
+
const hooks_1 = require("../../core/hooks");
|
|
13
|
+
const DeselectIcon_1 = require("../../icons/DeselectIcon/DeselectIcon");
|
|
14
|
+
const MaximizeIcon_1 = require("../../icons/MaximizeIcon/MaximizeIcon");
|
|
15
|
+
const MinimizeIcon_1 = require("../../icons/MinimizeIcon/MinimizeIcon");
|
|
16
|
+
const SelectIcon_1 = require("../../icons/SelectIcon/SelectIcon");
|
|
17
|
+
const WarningSquareIcon_1 = require("../../icons/WarningSquareIcon/WarningSquareIcon");
|
|
18
|
+
const Button_1 = require("../../components/Button/Button");
|
|
19
|
+
const CodeBlockDropdown_1 = require("../../components/CodeBlock/CodeBlockDropdown");
|
|
20
20
|
function CodeBlockControls({ children, className, title, controls, tabs, dropdown, }) {
|
|
21
21
|
var _a, _b, _c, _d, _e;
|
|
22
22
|
const { codeSnippet } = (0, hooks_1.useThemeConfig)();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type JSX } from 'react';
|
|
2
|
-
import type { CodeBlockDropdownItems } from '
|
|
2
|
+
import type { CodeBlockDropdownItems } from '../../components/CodeBlock/CodeBlock';
|
|
3
3
|
export declare function CodeBlockDropdown({ items, onChange, value }: CodeBlockDropdownItems): JSX.Element;
|
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.CodeBlockDropdown = CodeBlockDropdown;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Dropdown_1 = require("
|
|
10
|
-
const DropdownMenu_1 = require("
|
|
11
|
-
const DropdownMenuItem_1 = require("
|
|
12
|
-
const Button_1 = require("
|
|
13
|
-
const ChevronSortIcon_1 = require("
|
|
14
|
-
const NoneIcon_1 = require("
|
|
15
|
-
const utils_1 = require("
|
|
9
|
+
const Dropdown_1 = require("../../components/Dropdown/Dropdown");
|
|
10
|
+
const DropdownMenu_1 = require("../../components/Dropdown/DropdownMenu");
|
|
11
|
+
const DropdownMenuItem_1 = require("../../components/Dropdown/DropdownMenuItem");
|
|
12
|
+
const Button_1 = require("../../components/Button/Button");
|
|
13
|
+
const ChevronSortIcon_1 = require("../../icons/ChevronSortIcon/ChevronSortIcon");
|
|
14
|
+
const NoneIcon_1 = require("../../icons/NoneIcon/NoneIcon");
|
|
15
|
+
const utils_1 = require("../../core/utils");
|
|
16
16
|
function CodeBlockDropdown({ items, onChange, value }) {
|
|
17
17
|
const activeItem = items.find((item) => item.name === value) || items[0];
|
|
18
18
|
const icon = (activeItem === null || activeItem === void 0 ? void 0 : activeItem.lang) ? (0, utils_1.getFileIconByLanguage)(activeItem === null || activeItem === void 0 ? void 0 : activeItem.lang) : null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
|
-
import type { CodeBlockTabItems } from '
|
|
2
|
+
import type { CodeBlockTabItems } from '../../components/CodeBlock/CodeBlock';
|
|
3
3
|
export type CodeBlockTabsProps = {
|
|
4
4
|
tabs: CodeBlockTabItems;
|
|
5
5
|
};
|
|
@@ -15,32 +15,22 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
26
|
exports.CodeBlockTabs = CodeBlockTabs;
|
|
37
27
|
const react_1 = __importStar(require("react"));
|
|
38
28
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
39
|
-
const hooks_1 = require("
|
|
40
|
-
const Button_1 = require("
|
|
41
|
-
const ChevronLeftIcon_1 = require("
|
|
42
|
-
const ChevronRightIcon_1 = require("
|
|
43
|
-
const get_file_icon_1 = require("
|
|
29
|
+
const hooks_1 = require("../../core/hooks");
|
|
30
|
+
const Button_1 = require("../../components/Button/Button");
|
|
31
|
+
const ChevronLeftIcon_1 = require("../../icons/ChevronLeftIcon/ChevronLeftIcon");
|
|
32
|
+
const ChevronRightIcon_1 = require("../../icons/ChevronRightIcon/ChevronRightIcon");
|
|
33
|
+
const get_file_icon_1 = require("../../core/utils/get-file-icon");
|
|
44
34
|
function CodeBlockTabs({ tabs }) {
|
|
45
35
|
const containerRef = (0, react_1.useRef)(null);
|
|
46
36
|
const tabRefs = (0, react_1.useRef)([]);
|
|
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.ColorModeIcon = ColorModeIcon;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const ContrastIcon_1 = require("
|
|
10
|
-
const MoonIcon_1 = require("
|
|
11
|
-
const SunIcon_1 = require("
|
|
9
|
+
const ContrastIcon_1 = require("../../icons/ContrastIcon/ContrastIcon");
|
|
10
|
+
const MoonIcon_1 = require("../../icons/MoonIcon/MoonIcon");
|
|
11
|
+
const SunIcon_1 = require("../../icons/SunIcon/SunIcon");
|
|
12
12
|
function ColorModeIcon(props) {
|
|
13
13
|
return (react_1.default.createElement(ColorModeIconComponent, Object.assign({}, props, { "data-component-name": "ColorModeSwitcher/ColorModeIcon" })));
|
|
14
14
|
}
|
|
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ColorModeSwitcher = ColorModeSwitcher;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const hooks_1 = require("
|
|
9
|
-
const ColorModeIcon_1 = require("
|
|
10
|
-
const Button_1 = require("
|
|
8
|
+
const hooks_1 = require("../../core/hooks");
|
|
9
|
+
const ColorModeIcon_1 = require("../../components/ColorModeSwitcher/ColorModeIcon");
|
|
10
|
+
const Button_1 = require("../../components/Button/Button");
|
|
11
11
|
function ColorModeSwitcher({ className }) {
|
|
12
12
|
const { isSwitcherHidden, initActiveColorMode, switchColorMode, activeColorMode } = (0, hooks_1.useColorSwitcher)();
|
|
13
13
|
(0, hooks_1.useMount)(() => {
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
27
|
};
|
|
@@ -39,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
29
|
exports.Dropdown = Dropdown;
|
|
40
30
|
const react_1 = __importStar(require("react"));
|
|
41
31
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
42
|
-
const hooks_1 = require("
|
|
43
|
-
const ChevronDownIcon_1 = require("
|
|
44
|
-
const ChevronUpIcon_1 = require("
|
|
32
|
+
const hooks_1 = require("../../core/hooks");
|
|
33
|
+
const ChevronDownIcon_1 = require("../../icons/ChevronDownIcon/ChevronDownIcon");
|
|
34
|
+
const ChevronUpIcon_1 = require("../../icons/ChevronUpIcon/ChevronUpIcon");
|
|
45
35
|
function Dropdown({ children, className, active, trigger, triggerEvent = 'click', closeOnClick = true, withArrow, dataAttributes, placement, alignment, onClick, }) {
|
|
46
36
|
const dropdownRef = (0, react_1.useRef)(null);
|
|
47
37
|
const [isOpen, setIsOpen] = (0, hooks_1.useControlledState)(false, active);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ReactNode, JSX } from 'react';
|
|
3
|
-
import type { DropdownMenuItemProps } from '
|
|
3
|
+
import type { DropdownMenuItemProps } from '../../components/Dropdown/DropdownMenuItem';
|
|
4
4
|
export type DropdownMenuProps = {
|
|
5
5
|
className?: string;
|
|
6
6
|
role?: string;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.DropdownMenu = DropdownMenu;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const DropdownMenuItem_1 = require("
|
|
9
|
+
const DropdownMenuItem_1 = require("../../components/Dropdown/DropdownMenuItem");
|
|
10
10
|
function DropdownMenu(props) {
|
|
11
11
|
let content = null;
|
|
12
12
|
if ('children' in props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode, PropsWithChildren, JSX } from 'react';
|
|
2
|
-
import type { LinkProps } from '
|
|
2
|
+
import type { LinkProps } from '../../components/Link/Link';
|
|
3
3
|
export type DropdownMenuItemProps = Partial<Pick<LinkProps, 'to' | 'target' | 'external'>> & {
|
|
4
4
|
prefix?: ReactNode;
|
|
5
5
|
suffix?: ReactNode;
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
36
26
|
var t = {};
|
|
37
27
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -50,7 +40,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
50
40
|
exports.DropdownMenuItem = DropdownMenuItem;
|
|
51
41
|
const react_1 = __importDefault(require("react"));
|
|
52
42
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
53
|
-
const Link_1 = require("
|
|
43
|
+
const Link_1 = require("../../components/Link/Link");
|
|
54
44
|
function DropdownMenuItem(_a) {
|
|
55
45
|
var { children, content, active, onAction, to, dangerous, prefix, suffix, disabled, separator, dataAttributes, className, separatorLine, style, role = 'menuitem' } = _a, otherProps = __rest(_a, ["children", "content", "active", "onAction", "to", "dangerous", "prefix", "suffix", "disabled", "separator", "dataAttributes", "className", "separatorLine", "style", "role"]);
|
|
56
46
|
const handleClick = () => {
|
|
@@ -15,30 +15,20 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
26
|
exports.Comment = Comment;
|
|
37
27
|
const react_1 = __importStar(require("react"));
|
|
38
28
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
39
|
-
const hooks_1 = require("
|
|
40
|
-
const RadioCheckButtonIcon_1 = require("
|
|
41
|
-
const Button_1 = require("
|
|
29
|
+
const hooks_1 = require("../../core/hooks");
|
|
30
|
+
const RadioCheckButtonIcon_1 = require("../../icons/RadioCheckButtonIcon/RadioCheckButtonIcon");
|
|
31
|
+
const Button_1 = require("../../components/Button/Button");
|
|
42
32
|
function Comment({ settings, onSubmit, onCancel, className, standAlone = true, isDialog = false, }) {
|
|
43
33
|
const { useTranslate } = (0, hooks_1.useThemeHooks)();
|
|
44
34
|
const { translate } = useTranslate();
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
27
|
};
|
|
@@ -40,13 +30,13 @@ exports.Feedback = Feedback;
|
|
|
40
30
|
const React = __importStar(require("react"));
|
|
41
31
|
const react_router_dom_1 = require("react-router-dom");
|
|
42
32
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
43
|
-
const hooks_1 = require("
|
|
44
|
-
const Rating_1 = require("
|
|
45
|
-
const Sentiment_1 = require("
|
|
46
|
-
const Comment_1 = require("
|
|
47
|
-
const Mood_1 = require("
|
|
48
|
-
const Scale_1 = require("
|
|
49
|
-
const constants_1 = require("
|
|
33
|
+
const hooks_1 = require("../../core/hooks");
|
|
34
|
+
const Rating_1 = require("../../components/Feedback/Rating");
|
|
35
|
+
const Sentiment_1 = require("../../components/Feedback/Sentiment");
|
|
36
|
+
const Comment_1 = require("../../components/Feedback/Comment");
|
|
37
|
+
const Mood_1 = require("../../components/Feedback/Mood");
|
|
38
|
+
const Scale_1 = require("../../components/Feedback/Scale");
|
|
39
|
+
const constants_1 = require("../../core/constants");
|
|
50
40
|
const feedbackComponents = {
|
|
51
41
|
rating: Rating_1.Rating,
|
|
52
42
|
sentiment: Sentiment_1.Sentiment,
|
|
@@ -15,37 +15,27 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
26
|
exports.MOOD_STATES = void 0;
|
|
37
27
|
exports.Mood = Mood;
|
|
38
28
|
const React = __importStar(require("react"));
|
|
39
29
|
const react_1 = require("react");
|
|
40
30
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
41
|
-
const Reasons_1 = require("
|
|
42
|
-
const hooks_1 = require("
|
|
43
|
-
const RadioCheckButtonIcon_1 = require("
|
|
44
|
-
const Comment_1 = require("
|
|
45
|
-
const Button_1 = require("
|
|
46
|
-
const FaceDissatisfiedIcon_1 = require("
|
|
47
|
-
const FaceSatisfiedIcon_1 = require("
|
|
48
|
-
const FaceNeutralIcon_1 = require("
|
|
31
|
+
const Reasons_1 = require("../../components/Feedback/Reasons");
|
|
32
|
+
const hooks_1 = require("../../core/hooks");
|
|
33
|
+
const RadioCheckButtonIcon_1 = require("../../icons/RadioCheckButtonIcon/RadioCheckButtonIcon");
|
|
34
|
+
const Comment_1 = require("../../components/Feedback/Comment");
|
|
35
|
+
const Button_1 = require("../../components/Button/Button");
|
|
36
|
+
const FaceDissatisfiedIcon_1 = require("../../icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon");
|
|
37
|
+
const FaceSatisfiedIcon_1 = require("../../icons/FaceSatisfiedIcon/FaceSatisfiedIcon");
|
|
38
|
+
const FaceNeutralIcon_1 = require("../../icons/FaceNeutralIcon/FaceNeutralIcon");
|
|
49
39
|
var MOOD_STATES;
|
|
50
40
|
(function (MOOD_STATES) {
|
|
51
41
|
MOOD_STATES["SATISFIED"] = "satisfied";
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
27
|
};
|
|
@@ -41,12 +31,12 @@ exports.Rating = Rating;
|
|
|
41
31
|
const React = __importStar(require("react"));
|
|
42
32
|
const react_1 = require("react");
|
|
43
33
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
44
|
-
const Reasons_1 = require("
|
|
45
|
-
const hooks_1 = require("
|
|
46
|
-
const RadioCheckButtonIcon_1 = require("
|
|
47
|
-
const Comment_1 = require("
|
|
48
|
-
const Stars_1 = require("
|
|
49
|
-
const Button_1 = require("
|
|
34
|
+
const Reasons_1 = require("../../components/Feedback/Reasons");
|
|
35
|
+
const hooks_1 = require("../../core/hooks");
|
|
36
|
+
const RadioCheckButtonIcon_1 = require("../../icons/RadioCheckButtonIcon/RadioCheckButtonIcon");
|
|
37
|
+
const Comment_1 = require("../../components/Feedback/Comment");
|
|
38
|
+
const Stars_1 = require("../../components/Feedback/Stars");
|
|
39
|
+
const Button_1 = require("../../components/Button/Button");
|
|
50
40
|
exports.FEEDBACK_MAX_RATING = 5;
|
|
51
41
|
function Rating({ settings, onSubmit, className }) {
|
|
52
42
|
const { label, submitText, comment: commentSettings, reasons: reasonsSettings, optionalEmail: optionalEmailSettings, } = settings || {};
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
27
|
};
|
|
@@ -39,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
29
|
exports.Reasons = Reasons;
|
|
40
30
|
const React = __importStar(require("react"));
|
|
41
31
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
42
|
-
const hooks_1 = require("
|
|
32
|
+
const hooks_1 = require("../../core/hooks");
|
|
43
33
|
function Reasons({ settings, onChange, className }) {
|
|
44
34
|
const { label, component, items = [] } = settings;
|
|
45
35
|
const [checkedState, setCheckedState] = React.useState(new Array(items.length).fill(false));
|
|
@@ -16,9 +16,9 @@ exports.ReportDialog = ReportDialog;
|
|
|
16
16
|
const react_1 = __importDefault(require("react"));
|
|
17
17
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
18
18
|
const react_router_dom_1 = require("react-router-dom");
|
|
19
|
-
const hooks_1 = require("
|
|
20
|
-
const Comment_1 = require("
|
|
21
|
-
const Portal_1 = require("
|
|
19
|
+
const hooks_1 = require("../../core/hooks");
|
|
20
|
+
const Comment_1 = require("../../components/Feedback/Comment");
|
|
21
|
+
const Portal_1 = require("../../components/Portal/Portal");
|
|
22
22
|
function ReportDialog({ location, settings, onSubmit, onCancel, submitFeedback, lang, }) {
|
|
23
23
|
const { label } = settings;
|
|
24
24
|
const { useTelemetry } = (0, hooks_1.useThemeHooks)();
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
27
|
};
|
|
@@ -41,12 +31,12 @@ exports.Scale = Scale;
|
|
|
41
31
|
const React = __importStar(require("react"));
|
|
42
32
|
const react_1 = require("react");
|
|
43
33
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
44
|
-
const utils_1 = require("
|
|
45
|
-
const hooks_1 = require("
|
|
46
|
-
const RadioCheckButtonIcon_1 = require("
|
|
47
|
-
const Comment_1 = require("
|
|
48
|
-
const Reasons_1 = require("
|
|
49
|
-
const Button_1 = require("
|
|
34
|
+
const utils_1 = require("../../core/utils");
|
|
35
|
+
const hooks_1 = require("../../core/hooks");
|
|
36
|
+
const RadioCheckButtonIcon_1 = require("../../icons/RadioCheckButtonIcon/RadioCheckButtonIcon");
|
|
37
|
+
const Comment_1 = require("../../components/Feedback/Comment");
|
|
38
|
+
const Reasons_1 = require("../../components/Feedback/Reasons");
|
|
39
|
+
const Button_1 = require("../../components/Button/Button");
|
|
50
40
|
exports.MAX_SCALE = 10;
|
|
51
41
|
function Scale({ settings, onSubmit, className }) {
|
|
52
42
|
const { label, submitText, leftScaleLabel, rightScaleLabel, comment: commentSettings, reasons: reasonsSettings, optionalEmail: optionalEmailSettings, } = settings || {};
|