@redocly/theme 0.44.1 → 0.44.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 +1 -2
- package/lib/components/ApiOnboarding/AppCustomAttributes.js +1 -2
- package/lib/components/Badge/Badge.js +1 -2
- package/lib/components/Breadcrumbs/Breadcrumb.js +1 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.js +1 -2
- package/lib/components/Button/Button.js +2 -2
- package/lib/components/Buttons/EditPageButton.js +1 -2
- package/lib/components/Buttons/EmailButton.js +1 -2
- package/lib/components/Buttons/NewTabButton.js +1 -2
- package/lib/components/Catalog/Catalog.d.ts +1 -1
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/CatalogActions.js +1 -2
- package/lib/components/Catalog/CatalogCard.js +1 -2
- package/lib/components/Catalog/CatalogHighlight.js +2 -2
- package/lib/components/Catalog/CatalogInfoBlock.js +1 -2
- package/lib/components/CodeBlock/CodeBlock.js +1 -2
- package/lib/components/CodeBlock/CodeBlockContainer.js +1 -2
- package/lib/components/CodeBlock/CodeBlockControls.js +1 -2
- package/lib/components/CodeBlock/CodeBlockTabs.js +1 -2
- package/lib/components/ColorModeSwitcher/ColorModeIcon.js +1 -2
- package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +1 -2
- package/lib/components/Dropdown/Dropdown.js +1 -2
- package/lib/components/Dropdown/DropdownMenu.js +1 -2
- package/lib/components/Dropdown/DropdownMenuItem.js +1 -2
- package/lib/components/Feedback/Comment.js +1 -2
- package/lib/components/Feedback/Feedback.js +1 -2
- package/lib/components/Feedback/Mood.js +2 -2
- package/lib/components/Feedback/Rating.js +2 -2
- package/lib/components/Feedback/Reasons.js +1 -2
- package/lib/components/Feedback/ReportDialog.js +1 -2
- package/lib/components/Feedback/Scale.js +2 -2
- package/lib/components/Feedback/Sentiment.js +1 -2
- package/lib/components/Feedback/Stars.js +1 -2
- package/lib/components/Filter/Filter.js +1 -2
- package/lib/components/Filter/FilterCheckboxes.js +1 -2
- package/lib/components/Filter/FilterContent.js +1 -2
- package/lib/components/Filter/FilterDateRange.js +1 -2
- package/lib/components/Filter/FilterInput.js +1 -2
- package/lib/components/Filter/FilterOption.js +1 -2
- package/lib/components/Filter/FilterOptionLabel.js +1 -2
- package/lib/components/Filter/FilterOptions.js +1 -2
- package/lib/components/Filter/FilterPopover.js +1 -2
- package/lib/components/Filter/FilterSelect.js +1 -2
- package/lib/components/Filter/FilterTitle.js +1 -2
- package/lib/components/Footer/Footer.js +1 -2
- package/lib/components/Footer/FooterColumn.js +1 -2
- package/lib/components/Footer/FooterCopyright.js +1 -2
- package/lib/components/Footer/FooterItem.js +1 -2
- package/lib/components/Footer/FooterLogo.js +1 -2
- package/lib/components/Image/Image.js +1 -2
- package/lib/components/JsonViewer/helpers.js +1 -2
- package/lib/components/LanguagePicker/LanguagePicker.js +1 -2
- package/lib/components/LastUpdated/LastUpdated.js +1 -2
- package/lib/components/Link/Link.js +1 -2
- package/lib/components/Loaders/Loading.js +1 -2
- package/lib/components/Loaders/SpinnerLoader.js +1 -2
- package/lib/components/Logo/Logo.js +1 -2
- package/lib/components/Markdown/Markdown.d.ts +1 -9
- package/lib/components/Markdown/styles/headingAnchor.js +1 -2
- package/lib/components/Menu/Menu.js +1 -2
- package/lib/components/Menu/MenuContainer.js +1 -2
- package/lib/components/Menu/MenuItem.js +1 -2
- package/lib/components/Menu/MenuMobile.js +1 -2
- package/lib/components/Navbar/Navbar.js +1 -2
- package/lib/components/Navbar/NavbarItem.js +1 -2
- package/lib/components/Navbar/NavbarLogo.js +1 -2
- package/lib/components/Navbar/NavbarMenu.js +1 -2
- package/lib/components/PageNavigation/NextButton.js +1 -2
- package/lib/components/PageNavigation/PageNavigation.js +1 -2
- package/lib/components/PageNavigation/PreviousButton.js +1 -2
- package/lib/components/Panel/Panel.js +1 -2
- package/lib/components/Portal/Portal.js +1 -2
- package/lib/components/Product/Product.js +1 -2
- package/lib/components/Product/ProductPicker.js +1 -2
- package/lib/components/Search/FilterFields/SearchFilterFieldSelect.js +1 -2
- package/lib/components/Search/FilterFields/SearchFilterFieldTags.js +1 -2
- package/lib/components/Search/Search.js +1 -2
- package/lib/components/Search/SearchDialog.js +1 -2
- package/lib/components/Search/SearchFilter.js +1 -2
- package/lib/components/Search/SearchFilterField.js +1 -2
- package/lib/components/Search/SearchGroups.js +1 -2
- package/lib/components/Search/SearchHighlight.js +1 -2
- package/lib/components/Search/SearchInput.js +1 -2
- package/lib/components/Search/SearchItem.js +1 -2
- package/lib/components/Search/SearchRecent.js +1 -2
- package/lib/components/Search/SearchShortcut.js +1 -2
- package/lib/components/Search/SearchSuggestedPages.js +1 -2
- package/lib/components/Search/SearchTrigger.js +1 -2
- package/lib/components/Select/Select.d.ts +1 -1
- package/lib/components/Select/Select.js +2 -2
- package/lib/components/Select/SelectInput.js +2 -2
- package/lib/components/Sidebar/Sidebar.js +1 -2
- package/lib/components/SidebarActions/styled.d.ts +5 -5
- package/lib/components/SidebarLogo/SidebarLogo.js +1 -2
- package/lib/components/Switch/Switch.js +1 -2
- package/lib/components/TableOfContent/TableOfContent.js +1 -2
- package/lib/components/Tag/Tag.js +1 -2
- package/lib/components/Tooltip/Tooltip.js +2 -2
- package/lib/components/UserMenu/LoginButton.js +1 -2
- package/lib/components/UserMenu/LogoutMenuItem.js +1 -2
- package/lib/components/UserMenu/UserAvatar.js +1 -2
- package/lib/components/UserMenu/UserInfoMenuItem.js +1 -2
- package/lib/components/UserMenu/UserMenu.js +1 -2
- package/lib/components/UserMenu/UserMenuMobile.js +1 -2
- package/lib/components/VersionPicker/VersionPicker.js +2 -2
- package/lib/core/contexts/ThemeDataContext.d.ts +0 -1
- package/lib/core/hooks/__mocks__/search/use-recent-searches.d.ts +0 -1
- package/lib/core/hooks/__mocks__/search/use-search-filter.d.ts +0 -1
- package/lib/core/hooks/__mocks__/search/use-suggested-pages.d.ts +0 -1
- package/lib/core/hooks/__mocks__/use-controlled-state.d.ts +0 -1
- package/lib/core/hooks/__mocks__/use-mobile-menu.d.ts +0 -1
- package/lib/core/hooks/__mocks__/use-theme-config.d.ts +0 -1
- package/lib/core/hooks/__mocks__/use-theme-hooks.d.ts +0 -1
- package/lib/core/hooks/feedback/use-report-dialog.js +1 -2
- package/lib/core/hooks/menu/__mocks__/use-mobile-menu-items.d.ts +0 -1
- package/lib/core/hooks/menu/use-collapse.d.ts +1 -1
- package/lib/core/hooks/menu/use-collapse.js +6 -7
- package/lib/core/hooks/menu/use-menu-item-expanded.js +1 -2
- package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +2 -2
- package/lib/core/hooks/menu/use-nested-menu.js +1 -2
- package/lib/core/hooks/search/use-search-dialog.js +1 -2
- package/lib/core/hooks/search/use-search-filter.js +1 -2
- package/lib/core/hooks/use-active-heading.js +1 -2
- package/lib/core/hooks/use-active-section-id.js +1 -2
- package/lib/core/hooks/use-codeblock-tabs-controls.js +1 -2
- package/lib/core/hooks/use-controlled-state.js +1 -2
- package/lib/core/hooks/use-dialog-hotkeys.js +1 -2
- package/lib/core/hooks/use-focus-trap.js +1 -2
- package/lib/core/hooks/use-full-height.js +1 -2
- package/lib/core/hooks/use-language-picker.js +1 -2
- package/lib/core/hooks/use-mobile-menu.js +1 -2
- package/lib/core/hooks/use-modal-scroll-lock.js +1 -2
- package/lib/core/hooks/use-navbar-height.js +1 -2
- package/lib/core/hooks/use-outside-click.js +1 -2
- package/lib/core/hooks/use-product-picker.js +1 -2
- package/lib/core/hooks/use-tabs.d.ts +0 -1
- package/lib/core/hooks/use-tabs.js +1 -2
- package/lib/core/hooks/use-theme-config.js +1 -2
- package/lib/core/templates/Markdown.js +1 -1
- package/lib/core/utils/args-typecheck.js +2 -3
- package/lib/core/utils/attribute-parser.js +1 -2
- package/lib/core/utils/change-text-casing.js +1 -2
- package/lib/core/utils/class-names.js +1 -2
- package/lib/core/utils/color.js +1 -2
- package/lib/core/utils/details.js +1 -2
- package/lib/core/utils/dom.js +2 -2
- package/lib/core/utils/format-date-without-timezone.js +1 -2
- package/lib/core/utils/get-navbar-element.js +1 -2
- package/lib/core/utils/highlight.js +3 -4
- package/lib/core/utils/is-url.js +1 -2
- package/lib/core/utils/js-utils.js +3 -4
- package/lib/core/utils/load-and-navigate.js +4 -5
- package/lib/core/utils/markdoc.js +1 -2
- package/lib/core/utils/menu.js +2 -2
- package/lib/core/utils/replace-hash-in-color.js +1 -2
- package/lib/core/utils/text-transform.js +1 -2
- package/lib/core/utils/text-trimmer.js +1 -2
- package/lib/core/utils/theme-helpers.js +3 -4
- package/lib/core/utils/toc.js +3 -4
- package/lib/core/utils/type-guards.js +5 -5
- package/lib/core/utils/urls.js +14 -15
- package/lib/core/utils/with-load-progress.js +1 -2
- package/lib/icons/AddIcon/AddIcon.d.ts +3 -3
- package/lib/icons/ArrowLeftIcon/ArrowLeftIcon.d.ts +3 -3
- package/lib/icons/ArrowRightIcon/ArrowRightIcon.d.ts +3 -3
- package/lib/icons/ArrowUpRightIcon/ArrowUpRightIcon.d.ts +3 -3
- package/lib/icons/BareMetalServerIcon/BareMetalServerIcon.d.ts +3 -3
- package/lib/icons/BookmarkAddIcon/BookmarkAddIcon.d.ts +3 -3
- package/lib/icons/CharacterIcon/CharacterIcon.d.ts +3 -3
- package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +3 -3
- package/lib/icons/CheckmarkFilledIcon/CheckmarkFilledIcon.d.ts +3 -3
- package/lib/icons/CheckmarkIcon/CheckmarkIcon.d.ts +3 -3
- package/lib/icons/ChevronDownIcon/ChevronDownIcon.d.ts +3 -3
- package/lib/icons/ChevronLeftIcon/ChevronLeftIcon.d.ts +3 -3
- package/lib/icons/ChevronRightIcon/ChevronRightIcon.d.ts +3 -3
- package/lib/icons/ChevronUpIcon/ChevronUpIcon.d.ts +3 -3
- package/lib/icons/CircleDashIcon/CircleDashIcon.d.ts +3 -3
- package/lib/icons/CleanIcon/CleanIcon.d.ts +3 -3
- package/lib/icons/CloseFilledIcon/CloseFilledIcon.d.ts +3 -3
- package/lib/icons/CloseIcon/CloseIcon.d.ts +3 -3
- package/lib/icons/CloseOutlineIcon/CloseOutlineIcon.d.ts +3 -3
- package/lib/icons/CloudUploadIcon/CloudUploadIcon.d.ts +3 -3
- package/lib/icons/CodeIcon/CodeIcon.d.ts +3 -3
- package/lib/icons/ContrastIcon/ContrastIcon.d.ts +3 -3
- package/lib/icons/CookieIcon/CookieIcon.d.ts +3 -3
- package/lib/icons/CopyIcon/CopyIcon.d.ts +3 -3
- package/lib/icons/CopyLinkIcon/CopyLinkIcon.d.ts +3 -3
- package/lib/icons/DataFormatIcon/DataFormatIcon.d.ts +3 -3
- package/lib/icons/DatabaseIcon/DatabaseIcon.d.ts +3 -3
- package/lib/icons/DocumentAddIcon/DocumentAddIcon.d.ts +3 -3
- package/lib/icons/DocumentBlankIcon/DocumentBlankIcon.d.ts +3 -3
- package/lib/icons/DocumentIcon/DocumentIcon.d.ts +3 -3
- package/lib/icons/DownloadIcon/DownloadIcon.d.ts +3 -3
- package/lib/icons/EditIcon/EditIcon.d.ts +3 -3
- package/lib/icons/EmailIcon/EmailIcon.d.ts +3 -3
- package/lib/icons/ErrorIcon/ErrorIcon.d.ts +3 -3
- package/lib/icons/ExportIcon/ExportIcon.d.ts +3 -3
- package/lib/icons/FaceDissatisfiedIcon/FaceDissatisfiedIcon.d.ts +3 -3
- package/lib/icons/FaceNeutralIcon/FaceNeutralIcon.d.ts +3 -3
- package/lib/icons/FaceSatisfiedIcon/FaceSatisfiedIcon.d.ts +3 -3
- package/lib/icons/FileIcon/FileIcon.d.ts +3 -3
- package/lib/icons/FileStorageIcon/FileStorageIcon.d.ts +3 -3
- package/lib/icons/FilterIcon/FilterIcon.d.ts +3 -3
- package/lib/icons/FolderAddIcon/FolderAddIcon.d.ts +3 -3
- package/lib/icons/FolderIcon/FolderIcon.d.ts +3 -3
- package/lib/icons/FolderMoveToIcon/FolderMoveToIcon.d.ts +3 -3
- package/lib/icons/GlobalOutlinedIcon/GlobalOutlinedIcon.d.ts +3 -3
- package/lib/icons/GridIcon/GridIcon.d.ts +3 -3
- package/lib/icons/HorizontalViewIcon/HorizontalViewIcon.d.ts +3 -3
- package/lib/icons/IBMCloudHyperProtectCryptoServicesIcon/IBMCloudHyperProtectCryptoServicesIcon.d.ts +3 -3
- package/lib/icons/InformationFilledIcon/InformationFilledIcon.d.ts +3 -3
- package/lib/icons/InformationIcon/InformationIcon.d.ts +3 -3
- package/lib/icons/JsonIcon/JsonIcon.d.ts +3 -3
- package/lib/icons/LaunchIcon/LaunchIcon.d.ts +3 -3
- package/lib/icons/LinkIcon/LinkIcon.d.ts +3 -3
- package/lib/icons/LogoutIcon/LogoutIcon.d.ts +3 -3
- package/lib/icons/MaximizeIcon/MaximizeIcon.d.ts +3 -3
- package/lib/icons/MenuIcon/MenuIcon.d.ts +3 -3
- package/lib/icons/MinimizeIcon/MinimizeIcon.d.ts +3 -3
- package/lib/icons/MobileSidebarIcon/MobileSidebarIcon.d.ts +3 -3
- package/lib/icons/MoonIcon/MoonIcon.d.ts +3 -3
- package/lib/icons/OverflowMenuHorizontalIcon/OverflowMenuHorizontalIcon.d.ts +3 -3
- package/lib/icons/OverflowMenuVerticalIcon/OverflowMenuVerticalIcon.d.ts +3 -3
- package/lib/icons/PlusCustomIcon/PlusCustomIcon.d.ts +3 -3
- package/lib/icons/RecentlyViewedIcon/RecentlyViewedIcon.d.ts +3 -3
- package/lib/icons/RenewIcon/RenewIcon.d.ts +3 -3
- package/lib/icons/ResetIcon/ResetIcon.d.ts +3 -3
- package/lib/icons/RestartIcon/RestartIcon.d.ts +3 -3
- package/lib/icons/RocketIcon/RocketIcon.d.ts +3 -3
- package/lib/icons/SaveIcon/SaveIcon.d.ts +3 -3
- package/lib/icons/SearchIcon/SearchIcon.d.ts +3 -3
- package/lib/icons/SecurityIcon/SecurityIcon.d.ts +3 -3
- package/lib/icons/SettingsIcon/SettingsIcon.d.ts +3 -3
- package/lib/icons/SidePanelCloseIcon/SidePanelCloseIcon.d.ts +3 -3
- package/lib/icons/SidePanelOpenIcon/SidePanelOpenIcon.d.ts +3 -3
- package/lib/icons/Spinner/Spinner.d.ts +3 -4
- package/lib/icons/StarFilledIcon/StarFilledIcon.d.ts +3 -3
- package/lib/icons/StarIcon/StarIcon.d.ts +3 -3
- package/lib/icons/SubtractIcon/SubtractIcon.d.ts +3 -3
- package/lib/icons/SunIcon/SunIcon.d.ts +3 -3
- package/lib/icons/TableBuiltIcon/TableBuiltIcon.d.ts +3 -3
- package/lib/icons/TimeIcon/TimeIcon.d.ts +3 -3
- package/lib/icons/TrashCanIcon/TrashCanIcon.d.ts +3 -3
- package/lib/icons/UserIcon/UserIcon.d.ts +3 -3
- package/lib/icons/ValueVariableIcon/ValueVariableIcon.d.ts +3 -3
- package/lib/icons/VerticalViewIcon/VerticalViewIcon.d.ts +3 -3
- package/lib/icons/ViewIcon/ViewIcon.d.ts +3 -3
- package/lib/icons/ViewOffIcon/ViewOffIcon.d.ts +3 -3
- package/lib/icons/WarningAltIcon/WarningAltIcon.d.ts +3 -3
- package/lib/icons/WarningFilledIcon/WarningFilledIcon.d.ts +3 -3
- package/lib/icons/WarningSquareIcon/WarningSquareIcon.d.ts +3 -3
- package/lib/layouts/DocumentationLayout.js +1 -2
- package/lib/layouts/Forbidden.js +1 -2
- package/lib/layouts/NotFound.js +1 -2
- package/lib/layouts/OIDCForbidden.js +1 -2
- package/lib/layouts/PageLayout.js +1 -2
- package/lib/layouts/RootLayout.js +1 -2
- package/lib/layouts/ThreePanelLayout.js +1 -2
- package/lib/markdoc/components/Admonition/Admonition.js +1 -2
- package/lib/markdoc/components/Cards/Card.js +1 -2
- package/lib/markdoc/components/Cards/CardIcon.js +1 -2
- package/lib/markdoc/components/Cards/CardImage.js +1 -2
- package/lib/markdoc/components/Cards/Cards.js +1 -2
- package/lib/markdoc/components/CodeBlock/CodeBlock.js +1 -2
- package/lib/markdoc/components/Heading/Heading.js +1 -2
- package/lib/markdoc/components/HtmlBlock/HtmlBlock.js +1 -2
- package/lib/markdoc/components/InlineSvg/InlineSvg.js +1 -2
- package/lib/markdoc/components/MarkdocExample/MarkdocExample.js +1 -2
- package/lib/markdoc/components/Mermaid/Mermaid.js +1 -2
- package/lib/markdoc/components/Tabs/Tab.js +2 -2
- package/lib/markdoc/components/Tabs/Tabs.js +2 -2
- package/lib/markdoc/default.d.ts +2 -2
- package/lib/plugin.js +1 -1
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FilterDateRange =
|
|
6
|
+
exports.FilterDateRange = FilterDateRange;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const FilterOptions_1 = require("../../components/Filter/FilterOptions");
|
|
@@ -35,7 +35,6 @@ function FilterDateRange({ filter }) {
|
|
|
35
35
|
filter.selectOption(Object.assign(Object.assign({}, filter.selectedOptions), { from: (0, utils_1.formatDateWithoutTimeZone)(from), to: (0, utils_1.formatDateWithoutTimeZone)(to) }));
|
|
36
36
|
} }))))));
|
|
37
37
|
}
|
|
38
|
-
exports.FilterDateRange = FilterDateRange;
|
|
39
38
|
const DateRangeWrapper = styled_components_1.default.div `
|
|
40
39
|
display: flex;
|
|
41
40
|
flex-direction: column;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FilterInput =
|
|
6
|
+
exports.FilterInput = FilterInput;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const hooks_1 = require("../../core/hooks");
|
|
@@ -16,7 +16,6 @@ function FilterInput(props) {
|
|
|
16
16
|
react_1.default.createElement(InputIcon, null),
|
|
17
17
|
react_1.default.createElement(Input, { value: value, onChange: (e) => onChange(e.target.value), placeholder: translate('catalog.filters.placeholder', 'Type to filter...') })));
|
|
18
18
|
}
|
|
19
|
-
exports.FilterInput = FilterInput;
|
|
20
19
|
const InputWrapper = styled_components_1.default.div `
|
|
21
20
|
position: relative;
|
|
22
21
|
`;
|
|
@@ -3,13 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FilterOption =
|
|
6
|
+
exports.FilterOption = FilterOption;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
function FilterOption(props) {
|
|
10
10
|
return (react_1.default.createElement(FilterOptionComponent, Object.assign({}, props, { "data-component-name": "Filter/FilterOption", "data-testid": "Filter/FilterOption" })));
|
|
11
11
|
}
|
|
12
|
-
exports.FilterOption = FilterOption;
|
|
13
12
|
const FilterOptionComponent = styled_components_1.default.label `
|
|
14
13
|
display: flex;
|
|
15
14
|
gap: var(--filter-option-gap);
|
|
@@ -3,13 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FilterOptionLabel =
|
|
6
|
+
exports.FilterOptionLabel = FilterOptionLabel;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
function FilterOptionLabel(props) {
|
|
10
10
|
return react_1.default.createElement(FilterOptionLabelComponent, Object.assign({}, props, { "data-component-name": "Filter/FilterOptionLabel" }));
|
|
11
11
|
}
|
|
12
|
-
exports.FilterOptionLabel = FilterOptionLabel;
|
|
13
12
|
const FilterOptionLabelComponent = styled_components_1.default.label `
|
|
14
13
|
cursor: pointer;
|
|
15
14
|
font-size: var(--filter-option-label-font-size);
|
|
@@ -3,13 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FilterOptions =
|
|
6
|
+
exports.FilterOptions = FilterOptions;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
function FilterOptions(props) {
|
|
10
10
|
return react_1.default.createElement(FilterOptionsComponent, Object.assign({}, props, { "data-component-name": "Filter/FilterOptions" }));
|
|
11
11
|
}
|
|
12
|
-
exports.FilterOptions = FilterOptions;
|
|
13
12
|
const FilterOptionsComponent = styled_components_1.default.div `
|
|
14
13
|
padding: var(--filter-options-padding-vertical) var(--filter-options-padding-horizontal);
|
|
15
14
|
display: flex;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FilterPopover =
|
|
6
|
+
exports.FilterPopover = FilterPopover;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const utils_1 = require("../../core/utils");
|
|
@@ -18,7 +18,6 @@ function FilterPopover({ onClose, filters, filterValuesCasing, filterTerm, setFi
|
|
|
18
18
|
react_1.default.createElement(FilterPopoverHeaderButton, { onClick: onClose }, translate('catalog.filters.done', 'Done'))),
|
|
19
19
|
react_1.default.createElement(FilterContent_1.FilterContent, { setFilterTerm: setFilterTerm, filters: filters, filterTerm: filterTerm, filterValuesCasing: filterValuesCasing })));
|
|
20
20
|
}
|
|
21
|
-
exports.FilterPopover = FilterPopover;
|
|
22
21
|
const FilterPopoverWrapper = styled_components_1.default.aside `
|
|
23
22
|
position: absolute;
|
|
24
23
|
top: 0;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FilterSelect =
|
|
6
|
+
exports.FilterSelect = FilterSelect;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const FilterOption_1 = require("../../components/Filter/FilterOption");
|
|
@@ -37,7 +37,6 @@ function FilterSelect({ filter, filterValuesCasing }) {
|
|
|
37
37
|
react_1.default.createElement(FilterTitle_1.FilterTitle, { "data-translation-key": filter.titleTranslationKey }, translate(filter.titleTranslationKey, filter.title)),
|
|
38
38
|
react_1.default.createElement(StyledSelect, { value: ((_a = filter.selectedOptions.values().next()) === null || _a === void 0 ? void 0 : _a.value) || '', onChange: (value) => filter.selectOption(value), options: selectOptions })));
|
|
39
39
|
}
|
|
40
|
-
exports.FilterSelect = FilterSelect;
|
|
41
40
|
const FilterSelectWrapper = styled_components_1.default.div `
|
|
42
41
|
display: flex;
|
|
43
42
|
flex-direction: column;
|
|
@@ -3,13 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FilterTitle =
|
|
6
|
+
exports.FilterTitle = FilterTitle;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
function FilterTitle(props) {
|
|
10
10
|
return react_1.default.createElement(FilterTitleComponent, Object.assign({}, props, { "data-component-name": "Filter/FilterTitle" }));
|
|
11
11
|
}
|
|
12
|
-
exports.FilterTitle = FilterTitle;
|
|
13
12
|
const FilterTitleComponent = styled_components_1.default.div `
|
|
14
13
|
font-weight: var(--filter-title-font-weight);
|
|
15
14
|
font-size: var(--filter-title-font-size);
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Footer =
|
|
6
|
+
exports.Footer = Footer;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const FooterItem_1 = require("../../components/Footer/FooterItem");
|
|
@@ -24,7 +24,6 @@ function Footer({ className }) {
|
|
|
24
24
|
: items.map((item, index) => (react_1.default.createElement(FooterItem_1.FooterItem, { key: index, item: item }))))),
|
|
25
25
|
react_1.default.createElement(FooterCopyrightWrapper, null, copyrightText && react_1.default.createElement(FooterCopyright_1.FooterCopyright, { copyrightText: copyrightText }))));
|
|
26
26
|
}
|
|
27
|
-
exports.Footer = Footer;
|
|
28
27
|
const FooterCopyrightWrapper = styled_components_1.default.div `
|
|
29
28
|
display: flex;
|
|
30
29
|
flex-direction: row;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FooterColumn =
|
|
6
|
+
exports.FooterColumn = FooterColumn;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const FooterItem_1 = require("../../components/Footer/FooterItem");
|
|
@@ -20,7 +20,6 @@ function FooterColumn({ column, className }) {
|
|
|
20
20
|
react_1.default.createElement(FooterColumnTitle, null, column.link ? (react_1.default.createElement(Link_1.Link, { to: column.link, external: column.external, target: column.target }, label)) : (label)),
|
|
21
21
|
react_1.default.createElement(FooterColumnItems, { iconsOnly: iconsOnly }, items === null || items === void 0 ? void 0 : items.map((columnItem, columnItemIndex) => (react_1.default.createElement(FooterItem_1.FooterItem, { item: columnItem, iconsOnly: iconsOnly, key: columnItemIndex }))))));
|
|
22
22
|
}
|
|
23
|
-
exports.FooterColumn = FooterColumn;
|
|
24
23
|
const FooterColumnWrapper = styled_components_1.default.div `
|
|
25
24
|
display: flex;
|
|
26
25
|
flex: 1;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FooterCopyright =
|
|
6
|
+
exports.FooterCopyright = FooterCopyright;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const hooks_1 = require("../../core/hooks");
|
|
@@ -16,7 +16,6 @@ function FooterCopyright({ copyrightText = '', className, }) {
|
|
|
16
16
|
react_1.default.createElement(FooterCopyrightLabel, { "data-translation-key": "footer.copyrightText" }, translate('footer.copyrightText', copyrightText)),
|
|
17
17
|
react_1.default.createElement(LanguagePicker_1.LanguagePicker, { onChangeLanguage: changeLanguage, placement: "top", alignment: "end" }))) : null;
|
|
18
18
|
}
|
|
19
|
-
exports.FooterCopyright = FooterCopyright;
|
|
20
19
|
const FooterCopyrightWrapper = styled_components_1.default.section `
|
|
21
20
|
display: flex;
|
|
22
21
|
justify-content: space-between;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FooterItem =
|
|
6
|
+
exports.FooterItem = FooterItem;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const hooks_1 = require("../../core/hooks");
|
|
@@ -26,7 +26,6 @@ function FooterItem({ item, iconsOnly }) {
|
|
|
26
26
|
!iconWithoutLabel ? translate(item.labelTranslationKey, item.label) : null,
|
|
27
27
|
item.external ? react_1.default.createElement(LaunchIcon_1.LaunchIcon, { size: "10px" }) : null))));
|
|
28
28
|
}
|
|
29
|
-
exports.FooterItem = FooterItem;
|
|
30
29
|
const FooterSeparator = styled_components_1.default.div `
|
|
31
30
|
text-transform: uppercase;
|
|
32
31
|
font-size: var(--footer-separator-item-font-size);
|
|
@@ -3,14 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FooterLogo =
|
|
6
|
+
exports.FooterLogo = FooterLogo;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const Logo_1 = require("../../components/Logo/Logo");
|
|
10
10
|
function FooterLogo(props) {
|
|
11
11
|
return react_1.default.createElement(FooterLogoComponent, Object.assign({}, props, { "data-component-name": "Footer/FooterLogo" }));
|
|
12
12
|
}
|
|
13
|
-
exports.FooterLogo = FooterLogo;
|
|
14
13
|
const FooterLogoComponent = (0, styled_components_1.default)(Logo_1.Logo) `
|
|
15
14
|
--logo-height: var(--footer-logo-height);
|
|
16
15
|
--logo-width: var(--footer-logo-width);
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Image =
|
|
6
|
+
exports.Image = Image;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const utils_1 = require("../../core/utils");
|
|
@@ -14,7 +14,6 @@ function Image(props) {
|
|
|
14
14
|
}, [srcSet]);
|
|
15
15
|
return (react_1.default.createElement(react_1.default.Fragment, null, src ? (react_1.default.createElement("img", { src: src, alt: alt, className: className })) : (Array.from(parsedSourceSetMap).map(([key, value]) => (react_1.default.createElement(ColorModeAwareImage, { key: key, colorMode: key, src: value, alt: alt, className: className }))))));
|
|
16
16
|
}
|
|
17
|
-
exports.Image = Image;
|
|
18
17
|
const ColorModeAwareImage = styled_components_1.default.img `
|
|
19
18
|
html:not(.${(props) => props.colorMode}) && {
|
|
20
19
|
display: none;
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.JsonValue =
|
|
29
|
+
exports.JsonValue = JsonValue;
|
|
30
30
|
const react_1 = __importStar(require("react"));
|
|
31
31
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
32
32
|
const Button_1 = require("../../components/Button/Button");
|
|
@@ -75,7 +75,6 @@ function JsonValue(props) {
|
|
|
75
75
|
isExpanded || !standalone ? valueElement : ' … ',
|
|
76
76
|
closingPunctuationElement));
|
|
77
77
|
}
|
|
78
|
-
exports.JsonValue = JsonValue;
|
|
79
78
|
function JsonKeyValue(props) {
|
|
80
79
|
const { defaultExpandLevel, level, name, value, expandAllSignal } = props;
|
|
81
80
|
const indent = ' '.repeat(level * 2);
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.LanguagePicker =
|
|
6
|
+
exports.LanguagePicker = LanguagePicker;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const DropdownMenu_1 = require("../../components/Dropdown/DropdownMenu");
|
|
@@ -34,7 +34,6 @@ function LanguagePicker(props) {
|
|
|
34
34
|
return (react_1.default.createElement(LanguageDropdown, { triggerEvent: "click", placement: props.placement, alignment: props.alignment, trigger: languagePickerButton },
|
|
35
35
|
react_1.default.createElement(DropdownMenu_1.DropdownMenu, { items: languageItems })));
|
|
36
36
|
}
|
|
37
|
-
exports.LanguagePicker = LanguagePicker;
|
|
38
37
|
const LanguageDropdown = (0, styled_components_1.default)(Dropdown_1.Dropdown).attrs(() => ({
|
|
39
38
|
dataAttributes: {
|
|
40
39
|
'data-component-name': 'LanguagePicker/LanguagePicker',
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.LastUpdated =
|
|
29
|
+
exports.LastUpdated = LastUpdated;
|
|
30
30
|
const React = __importStar(require("react"));
|
|
31
31
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
32
32
|
const timeago_js_1 = require("timeago.js");
|
|
@@ -62,7 +62,6 @@ function LastUpdated(props) {
|
|
|
62
62
|
" ",
|
|
63
63
|
React.createElement("time", { dateTime: isoDate }, lastUpdatedString)));
|
|
64
64
|
}
|
|
65
|
-
exports.LastUpdated = LastUpdated;
|
|
66
65
|
const LastUpdatedWrapper = styled_components_1.default.div `
|
|
67
66
|
color: var(--last-updated-text-color);
|
|
68
67
|
font-size: var(--last-updated-font-size);
|
|
@@ -34,7 +34,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
34
34
|
return t;
|
|
35
35
|
};
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Link =
|
|
37
|
+
exports.Link = Link;
|
|
38
38
|
const React = __importStar(require("react"));
|
|
39
39
|
const react_1 = require("react");
|
|
40
40
|
const react_router_dom_1 = require("react-router-dom");
|
|
@@ -51,5 +51,4 @@ function Link(props) {
|
|
|
51
51
|
return React.createElement(react_router_dom_1.Link, Object.assign({ ref: filteredProps.innerRef }, filteredProps));
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
exports.Link = Link;
|
|
55
54
|
//# sourceMappingURL=Link.js.map
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Loading =
|
|
6
|
+
exports.Loading = Loading;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const utils_1 = require("../../core/utils");
|
|
@@ -21,5 +21,4 @@ function Loading({ color }) {
|
|
|
21
21
|
react_1.default.createElement(LoadingMessage, { color: color }, "Loading ..."),
|
|
22
22
|
react_1.default.createElement(Spinner_1.Spinner, { color: color })));
|
|
23
23
|
}
|
|
24
|
-
exports.Loading = Loading;
|
|
25
24
|
//# sourceMappingURL=Loading.js.map
|
|
@@ -3,13 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.SpinnerLoader =
|
|
6
|
+
exports.SpinnerLoader = SpinnerLoader;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
function SpinnerLoader({ color, size }) {
|
|
10
10
|
return react_1.default.createElement(Spinner, { color: color, size: size });
|
|
11
11
|
}
|
|
12
|
-
exports.SpinnerLoader = SpinnerLoader;
|
|
13
12
|
const Spinner = styled_components_1.default.div `
|
|
14
13
|
width: ${({ size }) => size};
|
|
15
14
|
height: ${({ size }) => size};
|
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.Logo =
|
|
17
|
+
exports.Logo = Logo;
|
|
18
18
|
const react_1 = __importDefault(require("react"));
|
|
19
19
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
20
20
|
const hooks_1 = require("../../core/hooks");
|
|
@@ -30,7 +30,6 @@ function Logo(_a) {
|
|
|
30
30
|
const image = (react_1.default.createElement(Image_1.Image, { className: className, src: config.image, srcSet: config.srcSet, alt: config.altText }));
|
|
31
31
|
return (react_1.default.createElement(LogoWrapper, Object.assign({ "data-component-name": "Logo/Logo", className: className }, otherProps), config.link ? (react_1.default.createElement(Link_1.Link, { to: config.link, onClick: () => telemetry.send('logo_clicked', {}) }, image)) : (image)));
|
|
32
32
|
}
|
|
33
|
-
exports.Logo = Logo;
|
|
34
33
|
const LogoWrapper = styled_components_1.default.div `
|
|
35
34
|
max-width: var(--logo-max-width);
|
|
36
35
|
max-height: var(--logo-max-height);
|
|
@@ -6,12 +6,4 @@ export type MarkdownProps = PropsWithChildren<{
|
|
|
6
6
|
base?: boolean;
|
|
7
7
|
ref?: (node: HTMLDivElement) => void;
|
|
8
8
|
}>;
|
|
9
|
-
export declare const Markdown: import("styled-components").StyledComponent<"main", any,
|
|
10
|
-
className?: string | undefined;
|
|
11
|
-
compact?: boolean | undefined;
|
|
12
|
-
inline?: boolean | undefined;
|
|
13
|
-
base?: boolean | undefined;
|
|
14
|
-
ref?: ((node: HTMLDivElement) => void) | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
children?: import("react").ReactNode;
|
|
17
|
-
}, never>;
|
|
9
|
+
export declare const Markdown: import("styled-components").StyledComponent<"main", any, MarkdownProps, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.headingAnchorCss =
|
|
3
|
+
exports.headingAnchorCss = headingAnchorCss;
|
|
4
4
|
const styled_components_1 = require("styled-components");
|
|
5
5
|
function headingAnchorCss(className = 'anchor') {
|
|
6
6
|
return (0, styled_components_1.css) `
|
|
@@ -33,5 +33,4 @@ function headingAnchorCss(className = 'anchor') {
|
|
|
33
33
|
}
|
|
34
34
|
`;
|
|
35
35
|
}
|
|
36
|
-
exports.headingAnchorCss = headingAnchorCss;
|
|
37
36
|
//# sourceMappingURL=headingAnchor.js.map
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Menu =
|
|
6
|
+
exports.Menu = Menu;
|
|
7
7
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
8
|
const react_1 = __importDefault(require("react"));
|
|
9
9
|
const MenuItem_1 = require("../../components/Menu/MenuItem");
|
|
@@ -20,7 +20,6 @@ function Menu({ depth = 0, items, className, isMobile, onDrilldownOpen, }) {
|
|
|
20
20
|
} }, ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) ? (react_1.default.createElement(Menu, { items: item.items, depth: depth + 1, isMobile: isMobile, onDrilldownOpen: onDrilldownOpen })) : null));
|
|
21
21
|
})));
|
|
22
22
|
}
|
|
23
|
-
exports.Menu = Menu;
|
|
24
23
|
const MenuWrapper = styled_components_1.default.ul `
|
|
25
24
|
padding: var(--menu-padding);
|
|
26
25
|
margin: var(--menu-margin);
|
|
@@ -26,13 +26,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.MenuContainer =
|
|
29
|
+
exports.MenuContainer = MenuContainer;
|
|
30
30
|
const react_1 = __importDefault(require("react"));
|
|
31
31
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
32
32
|
function MenuContainer(props) {
|
|
33
33
|
return react_1.default.createElement(MenuContainerComponent, Object.assign({}, props, { "data-component-name": "Menu/MenuContainer" }));
|
|
34
34
|
}
|
|
35
|
-
exports.MenuContainer = MenuContainer;
|
|
36
35
|
const slideInRightAnimation = (0, styled_components_1.keyframes) `
|
|
37
36
|
0% {
|
|
38
37
|
transform: translateX(100%)
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.MenuItem =
|
|
26
|
+
exports.MenuItem = MenuItem;
|
|
27
27
|
const react_1 = __importStar(require("react"));
|
|
28
28
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
29
29
|
const hooks_1 = require("../../core/hooks");
|
|
@@ -78,7 +78,6 @@ function MenuItem(props) {
|
|
|
78
78
|
isNested ? (react_1.default.createElement(MenuItemNestedWrapper, { depth: depth, ref: nestedMenuRef, style: style }, isExpanded || !canUnmount ? props.children : null)) : null,
|
|
79
79
|
item.separatorLine ? (react_1.default.createElement(MenuItemSeparatorLine, { depth: depth, linePosition: item.linePosition })) : null));
|
|
80
80
|
}
|
|
81
|
-
exports.MenuItem = MenuItem;
|
|
82
81
|
function generateClassName({ type, item, className, }) {
|
|
83
82
|
const classNames = [className, `menu-item-type-${type}`];
|
|
84
83
|
if (type === constants_1.MenuItemType.Separator) {
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.MenuMobile =
|
|
29
|
+
exports.MenuMobile = MenuMobile;
|
|
30
30
|
const react_1 = __importStar(require("react"));
|
|
31
31
|
const react_router_dom_1 = require("react-router-dom");
|
|
32
32
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
@@ -71,7 +71,6 @@ function MenuMobile({ className, hideUserProfile }) {
|
|
|
71
71
|
react_1.default.createElement(Menu_1.Menu, { onDrilldownOpen: pushDrilldownState, items: menuItems, isMobile: true }))),
|
|
72
72
|
hideUserProfile ? null : react_1.default.createElement(UserMenuMobile_1.UserMenuMobile, null)));
|
|
73
73
|
}
|
|
74
|
-
exports.MenuMobile = MenuMobile;
|
|
75
74
|
const MobileMenuWrapper = styled_components_1.default.div `
|
|
76
75
|
height: var(--menu-mobile-height);
|
|
77
76
|
width: var(--menu-mobile-width);
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Navbar =
|
|
6
|
+
exports.Navbar = Navbar;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const utils_1 = require("../../core/utils");
|
|
@@ -53,7 +53,6 @@ function Navbar({ className }) {
|
|
|
53
53
|
}, icon: isOpen ? react_1.default.createElement(CloseIcon_1.CloseIcon, null) : react_1.default.createElement(MenuIcon_1.MenuIcon, null) }),
|
|
54
54
|
hideUserMenu ? null : react_1.default.createElement(UserMenu_1.UserMenu, null))));
|
|
55
55
|
}
|
|
56
|
-
exports.Navbar = Navbar;
|
|
57
56
|
const NavbarWrapper = styled_components_1.default.nav `
|
|
58
57
|
--text-color: var(--navbar-text-color);
|
|
59
58
|
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.NavbarItem =
|
|
29
|
+
exports.NavbarItem = NavbarItem;
|
|
30
30
|
const react_1 = __importDefault(require("react"));
|
|
31
31
|
const styled_components_1 = __importStar(require("styled-components"));
|
|
32
32
|
const react_router_dom_1 = require("react-router-dom");
|
|
@@ -67,7 +67,6 @@ function NavbarItem({ navItem, className }) {
|
|
|
67
67
|
}
|
|
68
68
|
return react_1.default.createElement("div", { "data-component-name": "Navbar/NavbarItem" }, itemContent);
|
|
69
69
|
}
|
|
70
|
-
exports.NavbarItem = NavbarItem;
|
|
71
70
|
const NavbarMenuItemDropdown = (0, styled_components_1.default)(Dropdown_1.Dropdown) `
|
|
72
71
|
--dropdown-menu-item-separator-font-size: var(--navbar-separator-font-size);
|
|
73
72
|
--dropdown-menu-item-separator-text-color: var(--navbar-separator-text-color);
|
|
@@ -3,14 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NavbarLogo =
|
|
6
|
+
exports.NavbarLogo = NavbarLogo;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const Logo_1 = require("../../components/Logo/Logo");
|
|
10
10
|
function NavbarLogo(props) {
|
|
11
11
|
return react_1.default.createElement(NavbarLogoComponent, Object.assign({}, props, { "data-component-name": "Navbar/NavbarLogo" }));
|
|
12
12
|
}
|
|
13
|
-
exports.NavbarLogo = NavbarLogo;
|
|
14
13
|
const NavbarLogoComponent = (0, styled_components_1.default)(Logo_1.Logo) `
|
|
15
14
|
--logo-height: var(--navbar-logo-height);
|
|
16
15
|
--logo-width: var(--navbar-logo-width);
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NavbarMenu =
|
|
6
|
+
exports.NavbarMenu = NavbarMenu;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const utils_1 = require("../../core/utils");
|
|
@@ -16,7 +16,6 @@ function NavbarMenu({ menuItems, className }) {
|
|
|
16
16
|
return (react_1.default.createElement(NavbarItem_1.NavbarItem, { key: `${navItem.label}_${index}`, "data-testid": navItem.label, navItem: navItem }));
|
|
17
17
|
})));
|
|
18
18
|
}
|
|
19
|
-
exports.NavbarMenu = NavbarMenu;
|
|
20
19
|
const NavItemsContainer = styled_components_1.default.ul `
|
|
21
20
|
list-style: none;
|
|
22
21
|
padding: 0;
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.NextButton =
|
|
29
|
+
exports.NextButton = NextButton;
|
|
30
30
|
const React = __importStar(require("react"));
|
|
31
31
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
32
32
|
const hooks_1 = require("../../core/hooks");
|
|
@@ -48,7 +48,6 @@ function NextButton({ nextPage, className }) {
|
|
|
48
48
|
React.createElement(NextPageLabel, null, label),
|
|
49
49
|
React.createElement(NextPageButton, { size: "large", to: nextPage.link, extraClass: className, variant: "link", icon: React.createElement(ArrowRightIcon_1.ArrowRightIcon, null), iconPosition: "right" }, nextPageText)));
|
|
50
50
|
}
|
|
51
|
-
exports.NextButton = NextButton;
|
|
52
51
|
const NextButtonWrapper = styled_components_1.default.div `
|
|
53
52
|
display: flex;
|
|
54
53
|
flex-direction: column;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PageNavigation =
|
|
6
|
+
exports.PageNavigation = PageNavigation;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const hooks_1 = require("../../core/hooks");
|
|
@@ -19,7 +19,6 @@ function PageNavigation({ nextPage, prevPage, className, }) {
|
|
|
19
19
|
react_1.default.createElement(PreviousButton_1.PreviousButton, { prevPage: prevPage }),
|
|
20
20
|
react_1.default.createElement(NextButton_1.NextButton, { nextPage: nextPage })));
|
|
21
21
|
}
|
|
22
|
-
exports.PageNavigation = PageNavigation;
|
|
23
22
|
const PageNavigationWrapper = styled_components_1.default.div `
|
|
24
23
|
display: flex;
|
|
25
24
|
justify-content: space-between;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PreviousButton =
|
|
6
|
+
exports.PreviousButton = PreviousButton;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const hooks_1 = require("../../core/hooks");
|
|
@@ -25,7 +25,6 @@ function PreviousButton({ prevPage, className }) {
|
|
|
25
25
|
react_1.default.createElement(PreviousPageLabel, null, label),
|
|
26
26
|
react_1.default.createElement(PreviousPageButton, { size: "large", to: prevPage.link, extraClass: className, variant: "link", icon: react_1.default.createElement(ArrowLeftIcon_1.ArrowLeftIcon, null), iconPosition: "left" }, prevPageText)));
|
|
27
27
|
}
|
|
28
|
-
exports.PreviousButton = PreviousButton;
|
|
29
28
|
const PreviousButtonWrapper = styled_components_1.default.div `
|
|
30
29
|
display: flex;
|
|
31
30
|
flex-direction: column;
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Panel =
|
|
29
|
+
exports.Panel = Panel;
|
|
30
30
|
const react_1 = __importStar(require("react"));
|
|
31
31
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
32
32
|
const PanelBody_1 = require("../../components/Panel/PanelBody");
|
|
@@ -56,7 +56,6 @@ function Panel({ expanded = true, isExpandable = true, renderChildrenHidden = fa
|
|
|
56
56
|
(isExpanded || renderChildrenHidden) && (react_1.default.createElement(PanelBody_1.PanelBody, { "data-testid": "panel-body", hidden: !isExpanded, animate: animate }, children)),
|
|
57
57
|
footer));
|
|
58
58
|
}
|
|
59
|
-
exports.Panel = Panel;
|
|
60
59
|
const PanelWrapper = styled_components_1.default.div `
|
|
61
60
|
background-color: var(--panel-bg-color);
|
|
62
61
|
color: var(--panel-text-color);
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Portal =
|
|
6
|
+
exports.Portal = Portal;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const react_dom_1 = require("react-dom");
|
|
9
9
|
const utils_1 = require("../../core/utils");
|
|
@@ -14,5 +14,4 @@ function Portal({ children, mountId = 'root', }) {
|
|
|
14
14
|
}
|
|
15
15
|
return (0, react_dom_1.createPortal)(children, mount);
|
|
16
16
|
}
|
|
17
|
-
exports.Portal = Portal;
|
|
18
17
|
//# sourceMappingURL=Portal.js.map
|