@redocly/theme 0.56.0-next.2 → 0.56.0-next.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/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +1 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js +9 -0
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js +31 -6
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +0 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +2 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +11 -5
- package/lib/components/Catalog/CatalogEntityIcon.js +6 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.d.ts +6 -4
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.d.ts +3 -0
- package/lib/components/Catalog/CatalogTableView/CatalogEntityRelationCell.js +11 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +4 -0
- package/lib/components/Catalog/CatalogTableView/CatalogTableViewRow.js +4 -0
- package/lib/components/Catalog/CatalogTagsWithTooltip.js +2 -3
- package/lib/components/Catalog/variables.js +2 -2
- package/lib/components/Tags/CounterTag.d.ts +1 -1
- package/lib/components/Tags/HttpTag.d.ts +1 -1
- package/lib/core/constants/catalog.d.ts +3 -0
- package/lib/core/constants/catalog.js +55 -1
- package/lib/core/constants/index.d.ts +5 -5
- package/lib/core/constants/index.js +5 -5
- package/lib/core/constants/search.d.ts +1 -1
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.d.ts +1 -1
- package/lib/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.d.ts +1 -1
- package/lib/core/contexts/ThemeDataContext.d.ts +1 -1
- package/lib/core/contexts/index.d.ts +3 -3
- package/lib/core/contexts/index.js +3 -3
- package/lib/core/hoc/index.d.ts +1 -1
- package/lib/core/hoc/index.js +1 -1
- package/lib/core/hooks/__mocks__/index.d.ts +28 -28
- package/lib/core/hooks/__mocks__/index.js +28 -28
- package/lib/core/hooks/catalog/useCatalogEntities.d.ts +1 -1
- package/lib/core/hooks/catalog/useCatalogTableViewRow.js +2 -2
- package/lib/core/hooks/code-walkthrough/use-code-panel.js +6 -5
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-controls.js +8 -5
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.d.ts +1 -1
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough-steps.js +9 -9
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough.d.ts +2 -2
- package/lib/core/hooks/code-walkthrough/use-code-walkthrough.js +4 -3
- package/lib/core/hooks/code-walkthrough/use-renderable-files.js +6 -4
- package/lib/core/hooks/feedback/use-report-dialog.js +4 -3
- package/lib/core/hooks/index.d.ts +42 -42
- package/lib/core/hooks/index.js +42 -42
- package/lib/core/hooks/menu/use-menu-item-expanded.d.ts +1 -1
- package/lib/core/hooks/menu/use-mobile-menu-items.d.ts +1 -1
- package/lib/core/hooks/menu/use-mobile-menu-items.js +13 -12
- package/lib/core/hooks/menu/use-mobile-menu-levels.d.ts +1 -1
- package/lib/core/hooks/menu/use-mobile-menu-levels.js +8 -7
- package/lib/core/hooks/menu/use-nested-menu.d.ts +1 -1
- package/lib/core/hooks/menu/use-nested-menu.js +8 -6
- package/lib/core/hooks/search/use-recent-searches.js +3 -3
- package/lib/core/hooks/search/use-search-dialog.js +4 -3
- package/lib/core/hooks/search/use-search-filter.d.ts +1 -1
- package/lib/core/hooks/search/use-suggested-pages.js +2 -2
- package/lib/core/hooks/use-active-page-version.js +2 -2
- package/lib/core/hooks/use-active-section-id.js +2 -2
- package/lib/core/hooks/use-color-switcher.js +4 -3
- package/lib/core/hooks/use-input-key-commands.js +2 -2
- package/lib/core/hooks/use-language-picker.d.ts +1 -1
- package/lib/core/hooks/use-language-picker.js +4 -4
- package/lib/core/hooks/use-mobile-menu.js +2 -2
- package/lib/core/hooks/use-navbar-height.js +3 -3
- package/lib/core/hooks/use-page-versions.js +2 -2
- package/lib/core/hooks/use-product-picker.js +2 -2
- package/lib/core/hooks/use-theme-config.js +2 -2
- package/lib/core/hooks/use-theme-hooks.d.ts +1 -1
- package/lib/core/hooks/use-theme-hooks.js +2 -2
- package/lib/core/hooks/use-time-ago.js +2 -2
- package/lib/core/hooks/use-user-teams.js +2 -2
- package/lib/core/index.d.ts +7 -7
- package/lib/core/index.js +7 -7
- package/lib/core/openapi/index.d.ts +18 -0
- package/lib/core/openapi/index.js +48 -0
- package/lib/core/styles/global.js +1 -1
- package/lib/core/styles/index.d.ts +2 -2
- package/lib/core/styles/index.js +2 -2
- package/lib/core/templates/Markdown.d.ts +1 -1
- package/lib/core/templates/Markdown.js +8 -6
- package/lib/core/types/catalog.d.ts +6 -2
- package/lib/core/types/code-walkthrough.d.ts +1 -1
- package/lib/core/types/feedback.d.ts +1 -1
- package/lib/core/types/filter.d.ts +1 -1
- package/lib/core/types/hooks.d.ts +11 -3
- package/lib/core/types/index.d.ts +18 -18
- package/lib/core/types/index.js +18 -18
- package/lib/core/types/search.d.ts +1 -1
- package/lib/core/types/sidebar.d.ts +1 -1
- package/lib/core/utils/download-code-walkthrough.js +6 -4
- package/lib/core/utils/get-code-walkthrough-file-text.js +4 -3
- package/lib/core/utils/index.d.ts +35 -35
- package/lib/core/utils/index.js +35 -35
- package/lib/core/utils/load-and-navigate.js +2 -2
- package/lib/core/utils/match-code-walkthrough-conditions.js +3 -3
- package/lib/core/utils/menu.d.ts +3 -2
- package/lib/core/utils/menu.js +12 -12
- package/lib/core/utils/toc.d.ts +1 -1
- package/lib/core/utils/type-guards.d.ts +1 -1
- package/lib/core/utils/type-guards.js +5 -5
- package/lib/core/utils/urls.d.ts +1 -1
- package/lib/core/utils/urls.js +2 -2
- package/lib/markdoc/components/Tabs/TabList.js +2 -0
- package/package.json +1 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.tsx +15 -0
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.tsx +8 -2
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.tsx +0 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.tsx +16 -3
- package/src/components/Catalog/CatalogEntityIcon.tsx +6 -0
- package/src/components/Catalog/CatalogTableView/CatalogEntityCell.tsx +5 -4
- package/src/components/Catalog/CatalogTableView/CatalogEntityRelationCell.tsx +19 -0
- package/src/components/Catalog/CatalogTableView/CatalogTableView.tsx +4 -0
- package/src/components/Catalog/CatalogTableView/CatalogTableViewRow.tsx +4 -0
- package/src/components/Catalog/CatalogTagsWithTooltip.tsx +7 -15
- package/src/components/Catalog/variables.ts +2 -2
- package/src/core/constants/catalog.ts +58 -0
- package/src/core/constants/index.ts +5 -5
- package/src/core/constants/search.ts +1 -1
- package/src/core/contexts/CodeWalkthrough/CodeWalkthroughControlsContext.tsx +1 -1
- package/src/core/contexts/CodeWalkthrough/CodeWalkthroughStepsContext.tsx +1 -1
- package/src/core/contexts/ThemeDataContext.tsx +3 -3
- package/src/core/contexts/index.ts +3 -3
- package/src/core/hoc/index.ts +1 -1
- package/src/core/hooks/__mocks__/index.ts +28 -28
- package/src/core/hooks/catalog/useCatalogEntities.ts +1 -1
- package/src/core/hooks/catalog/useCatalogTableViewRow.ts +1 -1
- package/src/core/hooks/code-walkthrough/use-code-panel.ts +3 -5
- package/src/core/hooks/code-walkthrough/use-code-walkthrough-controls.ts +4 -6
- package/src/core/hooks/code-walkthrough/use-code-walkthrough-steps.ts +4 -3
- package/src/core/hooks/code-walkthrough/use-code-walkthrough.ts +3 -3
- package/src/core/hooks/code-walkthrough/use-renderable-files.ts +4 -6
- package/src/core/hooks/feedback/use-report-dialog.ts +3 -2
- package/src/core/hooks/index.ts +42 -42
- package/src/core/hooks/menu/use-menu-item-expanded.ts +1 -1
- package/src/core/hooks/menu/use-mobile-menu-items.ts +4 -7
- package/src/core/hooks/menu/use-mobile-menu-levels.ts +3 -2
- package/src/core/hooks/menu/use-nested-menu.ts +5 -3
- package/src/core/hooks/search/use-recent-searches.ts +1 -1
- package/src/core/hooks/search/use-search-dialog.ts +2 -1
- package/src/core/hooks/search/use-search-filter.ts +1 -1
- package/src/core/hooks/search/use-suggested-pages.ts +1 -1
- package/src/core/hooks/use-active-page-version.ts +1 -1
- package/src/core/hooks/use-active-section-id.ts +1 -1
- package/src/core/hooks/use-codeblock-tabs-controls.ts +1 -1
- package/src/core/hooks/use-color-switcher.ts +2 -1
- package/src/core/hooks/use-input-key-commands.ts +1 -1
- package/src/core/hooks/use-language-picker.ts +3 -3
- package/src/core/hooks/use-mobile-menu.ts +1 -1
- package/src/core/hooks/use-navbar-height.ts +1 -1
- package/src/core/hooks/use-page-versions.ts +1 -1
- package/src/core/hooks/use-product-picker.ts +1 -1
- package/src/core/hooks/use-theme-config.ts +2 -2
- package/src/core/hooks/use-theme-hooks.ts +2 -2
- package/src/core/hooks/use-time-ago.ts +3 -2
- package/src/core/hooks/use-user-teams.ts +1 -1
- package/src/core/index.ts +7 -7
- package/src/core/openapi/index.ts +31 -0
- package/src/core/styles/global.ts +2 -1
- package/src/core/styles/index.ts +2 -2
- package/src/core/templates/Markdown.tsx +8 -4
- package/src/core/types/catalog.ts +15 -2
- package/src/core/types/code-walkthrough.ts +1 -1
- package/src/core/types/feedback.ts +6 -6
- package/src/core/types/filter.ts +1 -1
- package/src/core/types/hooks.ts +17 -16
- package/src/core/types/index.ts +18 -18
- package/src/core/types/search.ts +1 -1
- package/src/core/types/sidebar.ts +1 -1
- package/src/core/utils/download-code-walkthrough.ts +3 -5
- package/src/core/utils/get-code-walkthrough-file-text.ts +2 -1
- package/src/core/utils/index.ts +35 -35
- package/src/core/utils/load-and-navigate.ts +1 -1
- package/src/core/utils/match-code-walkthrough-conditions.ts +1 -1
- package/src/core/utils/menu.ts +4 -3
- package/src/core/utils/toc.ts +1 -1
- package/src/core/utils/type-guards.ts +2 -2
- package/src/core/utils/urls.ts +2 -2
- package/src/markdoc/components/Tabs/TabList.tsx +1 -0
|
@@ -7,13 +7,14 @@ exports.useSearchDialog = useSearchDialog;
|
|
|
7
7
|
const react_1 = require("react");
|
|
8
8
|
const react_router_dom_1 = require("react-router-dom");
|
|
9
9
|
const hotkeys_js_1 = __importDefault(require("hotkeys-js"));
|
|
10
|
-
const
|
|
10
|
+
const use_theme_hooks_1 = require("../use-theme-hooks");
|
|
11
|
+
const use_theme_config_1 = require("../use-theme-config");
|
|
11
12
|
function useSearchDialog() {
|
|
12
13
|
var _a, _b;
|
|
13
14
|
const [isOpen, setIsOpen] = (0, react_1.useState)(false);
|
|
14
|
-
const themeSettings = (0,
|
|
15
|
+
const themeSettings = (0, use_theme_config_1.useThemeConfig)();
|
|
15
16
|
const location = (0, react_router_dom_1.useLocation)();
|
|
16
|
-
const { useTelemetry } = (0,
|
|
17
|
+
const { useTelemetry } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
17
18
|
const telemetry = useTelemetry();
|
|
18
19
|
const keyShortcuts = (_b = (_a = themeSettings === null || themeSettings === void 0 ? void 0 : themeSettings.search) === null || _a === void 0 ? void 0 : _a.shortcuts) !== null && _b !== void 0 ? _b : ['⌘+K,CTRL+K'];
|
|
19
20
|
const hotKeys = keyShortcuts === null || keyShortcuts === void 0 ? void 0 : keyShortcuts.join(',');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SearchFilterItem } from '
|
|
1
|
+
import type { SearchFilterItem } from '../../types/search';
|
|
2
2
|
export declare function useSearchFilter(filter: SearchFilterItem[], setFilter: React.Dispatch<React.SetStateAction<SearchFilterItem[]>>): {
|
|
3
3
|
onFacetReset: (field: string) => void;
|
|
4
4
|
onFilterChange: (field: string, value: string | string[] | undefined, isQuickFilter?: boolean) => void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useSuggestedPages = void 0;
|
|
4
|
-
const
|
|
4
|
+
const use_theme_config_1 = require("../use-theme-config");
|
|
5
5
|
const useSuggestedPages = () => {
|
|
6
6
|
var _a;
|
|
7
|
-
const themeSettings = (0,
|
|
7
|
+
const themeSettings = (0, use_theme_config_1.useThemeConfig)();
|
|
8
8
|
const suggestedPages = (_a = themeSettings.search) === null || _a === void 0 ? void 0 : _a.suggestedPages;
|
|
9
9
|
return suggestedPages || [];
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useActivePageVersion = useActivePageVersion;
|
|
4
|
-
const
|
|
4
|
+
const use_theme_hooks_1 = require("./use-theme-hooks");
|
|
5
5
|
function useActivePageVersion() {
|
|
6
|
-
const { usePageVersions } = (0,
|
|
6
|
+
const { usePageVersions } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
7
7
|
const { versions } = usePageVersions();
|
|
8
8
|
const activeVersion = versions.find((version) => version.active);
|
|
9
9
|
return activeVersion === null || activeVersion === void 0 ? void 0 : activeVersion.version;
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.useActiveSectionId = useActiveSectionId;
|
|
7
7
|
const react_1 = require("react");
|
|
8
8
|
const lodash_throttle_1 = __importDefault(require("lodash.throttle"));
|
|
9
|
-
const
|
|
9
|
+
const use_navbar_height_1 = require("./use-navbar-height");
|
|
10
10
|
function useActiveSectionId(location, hasOverviewPage = false, withNavbar = true) {
|
|
11
11
|
const [itemId, setItemId] = (0, react_1.useState)('');
|
|
12
|
-
const navbarHeight = (0,
|
|
12
|
+
const navbarHeight = (0, use_navbar_height_1.useNavbarHeight)(location);
|
|
13
13
|
const heightOffset = (withNavbar ? navbarHeight : 0) + 150; // use 150px to account next section visibility;
|
|
14
14
|
const scrollListener = (0, react_1.useMemo)(() => (0, lodash_throttle_1.default)(() => {
|
|
15
15
|
const sections = document.querySelectorAll('[data-section-id]');
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useColorSwitcher = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const use_theme_config_1 = require("./use-theme-config");
|
|
6
|
+
const use_theme_hooks_1 = require("./use-theme-hooks");
|
|
6
7
|
const useColorSwitcher = () => {
|
|
7
|
-
const themeSettings = (0,
|
|
8
|
-
const { useTelemetry } = (0,
|
|
8
|
+
const themeSettings = (0, use_theme_config_1.useThemeConfig)();
|
|
9
|
+
const { useTelemetry } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
9
10
|
const telemetry = useTelemetry();
|
|
10
11
|
const colorMode = themeSettings.colorMode;
|
|
11
12
|
const modes = (colorMode === null || colorMode === void 0 ? void 0 : colorMode.modes) || ['light', 'dark'];
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useInputKeyCommands = useInputKeyCommands;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const get_user_agent_1 = require("../utils/get-user-agent");
|
|
6
6
|
function useInputKeyCommands(actionHandlers) {
|
|
7
7
|
// MacOS uses Command key instead of Ctrl
|
|
8
|
-
const ctrlKey = (0, react_1.useMemo)(() => ((0,
|
|
8
|
+
const ctrlKey = (0, react_1.useMemo)(() => ((0, get_user_agent_1.getUserAgent)().includes('Mac') ? 'metaKey' : 'ctrlKey'), []);
|
|
9
9
|
const isSelectAll = (0, react_1.useCallback)((event) => {
|
|
10
10
|
return event.key === 'a' && event[ctrlKey];
|
|
11
11
|
}, [ctrlKey]);
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLanguagePicker = useLanguagePicker;
|
|
4
4
|
const react_router_dom_1 = require("react-router-dom");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const use_theme_hooks_1 = require("./use-theme-hooks");
|
|
6
|
+
const urls_1 = require("../utils/urls");
|
|
7
7
|
function useLanguagePicker() {
|
|
8
|
-
const { useL10nConfig, useLoadAndNavigate } = (0,
|
|
8
|
+
const { useL10nConfig, useLoadAndNavigate } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
9
9
|
const navigate = (0, react_router_dom_1.useNavigate)();
|
|
10
10
|
const loadAndNavigate = useLoadAndNavigate();
|
|
11
11
|
const { currentLocale, locales, defaultLocale } = useL10nConfig();
|
|
12
12
|
const locale = locales.find((l) => l.code === currentLocale);
|
|
13
13
|
function setLocale(value) {
|
|
14
|
-
const newLangPathname = (0,
|
|
14
|
+
const newLangPathname = (0, urls_1.withPathPrefix)((0, urls_1.getPathnameForLocale)((0, urls_1.withoutPathPrefix)(location.pathname), defaultLocale, value, locales));
|
|
15
15
|
const newUrlWithLanguage = `${newLangPathname}${location.search}${location.hash}`;
|
|
16
16
|
loadAndNavigate({ navigate, to: newUrlWithLanguage });
|
|
17
17
|
}
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useMobileMenu = useMobileMenu;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const react_router_dom_1 = require("react-router-dom");
|
|
6
|
-
const
|
|
6
|
+
const use_modal_scroll_lock_1 = require("./use-modal-scroll-lock");
|
|
7
7
|
function useMobileMenu(initialState = false) {
|
|
8
8
|
const location = (0, react_router_dom_1.useLocation)();
|
|
9
9
|
const [isOpen, setIsOpen] = (0, react_1.useState)(initialState);
|
|
10
10
|
(0, react_1.useEffect)(() => setIsOpen(false), [location.pathname, location.hash]);
|
|
11
|
-
(0,
|
|
11
|
+
(0, use_modal_scroll_lock_1.useModalScrollLock)(isOpen);
|
|
12
12
|
const openMobileMenu = () => setIsOpen(true);
|
|
13
13
|
const closeMobileMenu = () => setIsOpen(false);
|
|
14
14
|
return { isOpen, openMobileMenu, closeMobileMenu };
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useNavbarHeight = useNavbarHeight;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const get_navbar_element_1 = require("../utils/get-navbar-element");
|
|
6
6
|
function useNavbarHeight(location) {
|
|
7
7
|
const [height, setHeight] = (0, react_1.useState)(0);
|
|
8
8
|
(0, react_1.useEffect)(() => {
|
|
9
|
-
const navbar = (0,
|
|
9
|
+
const navbar = (0, get_navbar_element_1.getNavbarElement)();
|
|
10
10
|
setHeight((navbar && navbar.clientHeight) || 0);
|
|
11
11
|
}, [location.pathname]);
|
|
12
12
|
(0, react_1.useEffect)(() => {
|
|
13
13
|
window.requestAnimationFrame(() => {
|
|
14
|
-
const navbar = (0,
|
|
14
|
+
const navbar = (0, get_navbar_element_1.getNavbarElement)();
|
|
15
15
|
setHeight((navbar && navbar.clientHeight) || 0);
|
|
16
16
|
});
|
|
17
17
|
}, []);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.usePageVersions = usePageVersions;
|
|
4
|
-
const
|
|
4
|
+
const use_theme_hooks_1 = require("./use-theme-hooks");
|
|
5
5
|
function usePageVersions() {
|
|
6
|
-
const { usePageVersions } = (0,
|
|
6
|
+
const { usePageVersions } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
7
7
|
const pageVersions = usePageVersions();
|
|
8
8
|
return pageVersions.versions.map((version) => ({
|
|
9
9
|
active: version.active,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useProductPicker = useProductPicker;
|
|
4
4
|
const react_router_dom_1 = require("react-router-dom");
|
|
5
|
-
const
|
|
5
|
+
const use_theme_hooks_1 = require("./use-theme-hooks");
|
|
6
6
|
function useProductPicker() {
|
|
7
|
-
const { useCurrentProduct, useProducts, useTelemetry, useLoadAndNavigate } = (0,
|
|
7
|
+
const { useCurrentProduct, useProducts, useTelemetry, useLoadAndNavigate } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
8
8
|
const currentProduct = useCurrentProduct();
|
|
9
9
|
const products = useProducts();
|
|
10
10
|
const telemetry = useTelemetry();
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useThemeConfig = useThemeConfig;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const ThemeDataContext_1 = require("../contexts/ThemeDataContext");
|
|
6
6
|
// TODO: rename and additionally export as alias for backward compatibility
|
|
7
7
|
function useThemeConfig(useProductConfig = true) {
|
|
8
|
-
const context = (0, react_1.useContext)(
|
|
8
|
+
const context = (0, react_1.useContext)(ThemeDataContext_1.ThemeDataContext);
|
|
9
9
|
if (!(context === null || context === void 0 ? void 0 : context.config)) {
|
|
10
10
|
return {};
|
|
11
11
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ThemeHooks } from '
|
|
1
|
+
import type { ThemeHooks } from '../types/hooks';
|
|
2
2
|
export declare const useThemeHooks: () => ThemeHooks;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useThemeHooks = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const ThemeDataContext_1 = require("../contexts/ThemeDataContext");
|
|
6
6
|
const fallbacks = {
|
|
7
7
|
useTranslate: () => ({
|
|
8
8
|
translate: (value, options) => (typeof options === 'string' ? options : options === null || options === void 0 ? void 0 : options.defaultValue) || value || '',
|
|
@@ -18,7 +18,7 @@ const fallbacks = {
|
|
|
18
18
|
useUserMenu: () => ({}),
|
|
19
19
|
};
|
|
20
20
|
const useThemeHooks = () => {
|
|
21
|
-
const context = (0, react_1.useContext)(
|
|
21
|
+
const context = (0, react_1.useContext)(ThemeDataContext_1.ThemeDataContext);
|
|
22
22
|
return new Proxy({}, {
|
|
23
23
|
get(_, prop) {
|
|
24
24
|
if (context && prop in context.hooks) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useTimeAgo = useTimeAgo;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const use_theme_hooks_1 = require("./use-theme-hooks");
|
|
6
6
|
const timeUnits = ['second', 'minute', 'hour', 'day', 'week', 'month', 'year'];
|
|
7
7
|
const timeUnitConversions = [
|
|
8
8
|
60, // 60 seconds in 1 min
|
|
@@ -13,7 +13,7 @@ const timeUnitConversions = [
|
|
|
13
13
|
12, // 12 months in 1 year
|
|
14
14
|
];
|
|
15
15
|
function useTimeAgo() {
|
|
16
|
-
const { useTranslate } = (0,
|
|
16
|
+
const { useTranslate } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
17
17
|
const { translate } = useTranslate();
|
|
18
18
|
const format = (0, react_1.useCallback)((date) => {
|
|
19
19
|
let timeUnitIndex = 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useUserTeams = useUserTeams;
|
|
4
|
-
const
|
|
4
|
+
const use_theme_hooks_1 = require("./use-theme-hooks");
|
|
5
5
|
function useUserTeams() {
|
|
6
|
-
const { useUserTeams } = (0,
|
|
6
|
+
const { useUserTeams } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
7
7
|
const userTeams = useUserTeams();
|
|
8
8
|
return userTeams;
|
|
9
9
|
}
|
package/lib/core/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
7
|
-
export * from '
|
|
1
|
+
export * from './constants';
|
|
2
|
+
export * from './contexts';
|
|
3
|
+
export * from './hoc';
|
|
4
|
+
export * from './hooks';
|
|
5
|
+
export * from './types';
|
|
6
|
+
export * from './utils';
|
|
7
|
+
export * from './styles';
|
package/lib/core/index.js
CHANGED
|
@@ -14,11 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("
|
|
18
|
-
__exportStar(require("
|
|
19
|
-
__exportStar(require("
|
|
20
|
-
__exportStar(require("
|
|
21
|
-
__exportStar(require("
|
|
22
|
-
__exportStar(require("
|
|
23
|
-
__exportStar(require("
|
|
17
|
+
__exportStar(require("./constants"), exports);
|
|
18
|
+
__exportStar(require("./contexts"), exports);
|
|
19
|
+
__exportStar(require("./hoc"), exports);
|
|
20
|
+
__exportStar(require("./hooks"), exports);
|
|
21
|
+
__exportStar(require("./types"), exports);
|
|
22
|
+
__exportStar(require("./utils"), exports);
|
|
23
|
+
__exportStar(require("./styles"), exports);
|
|
24
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { IS_BROWSER } from '../utils/dom';
|
|
2
|
+
export { addLeadingSlash, removeLeadingSlash, getPathPrefix, combineUrls, addTrailingSlash, withPathPrefix, } from '../utils/urls';
|
|
3
|
+
export { typedMemo } from '../hoc/typedMemo';
|
|
4
|
+
export { useMount } from '../hooks/use-mount';
|
|
5
|
+
export { GlobalStyle } from '../styles/global';
|
|
6
|
+
export { breakpoints } from '../utils/media-css';
|
|
7
|
+
export { isPrimitive } from '../utils/args-typecheck';
|
|
8
|
+
export type { UserClaims } from '../types/user-claims';
|
|
9
|
+
export { useFocusTrap } from '../hooks/use-focus-trap';
|
|
10
|
+
export type { TFunction, TOptions } from '../types/l10n';
|
|
11
|
+
export { useThemeHooks } from '../hooks/use-theme-hooks';
|
|
12
|
+
export { useOutsideClick } from '../hooks/use-outside-click';
|
|
13
|
+
export type { SelectOption, SelectProps } from '../types/select';
|
|
14
|
+
export { useActiveSectionId } from '../hooks/use-active-section-id';
|
|
15
|
+
export { useModalScrollLock } from '../hooks/use-modal-scroll-lock';
|
|
16
|
+
export { SecurityVariablesEnvSuffix } from '../constants/environments';
|
|
17
|
+
export { isUndefined, isString, isNotNull, isObject } from '../utils/type-guards';
|
|
18
|
+
export { ThemeDataContext, type ThemeDataTransferObject } from '../contexts/ThemeDataContext';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThemeDataContext = exports.isObject = exports.isNotNull = exports.isString = exports.isUndefined = exports.SecurityVariablesEnvSuffix = exports.useModalScrollLock = exports.useActiveSectionId = exports.useOutsideClick = exports.useThemeHooks = exports.useFocusTrap = exports.isPrimitive = exports.breakpoints = exports.GlobalStyle = exports.useMount = exports.typedMemo = exports.withPathPrefix = exports.addTrailingSlash = exports.combineUrls = exports.getPathPrefix = exports.removeLeadingSlash = exports.addLeadingSlash = exports.IS_BROWSER = void 0;
|
|
4
|
+
// This file is intended to provide selective imports from @redocly/theme/core
|
|
5
|
+
// to reduce bundle size by exporting only functionality used in the @redocly/openapi-docs package.
|
|
6
|
+
//
|
|
7
|
+
// This selective import approach will help with tree shaking and reduce
|
|
8
|
+
// the overall bundle size by avoiding importing the entire theme package
|
|
9
|
+
// when only specific functionality is needed.
|
|
10
|
+
var dom_1 = require("../utils/dom");
|
|
11
|
+
Object.defineProperty(exports, "IS_BROWSER", { enumerable: true, get: function () { return dom_1.IS_BROWSER; } });
|
|
12
|
+
var urls_1 = require("../utils/urls");
|
|
13
|
+
Object.defineProperty(exports, "addLeadingSlash", { enumerable: true, get: function () { return urls_1.addLeadingSlash; } });
|
|
14
|
+
Object.defineProperty(exports, "removeLeadingSlash", { enumerable: true, get: function () { return urls_1.removeLeadingSlash; } });
|
|
15
|
+
Object.defineProperty(exports, "getPathPrefix", { enumerable: true, get: function () { return urls_1.getPathPrefix; } });
|
|
16
|
+
Object.defineProperty(exports, "combineUrls", { enumerable: true, get: function () { return urls_1.combineUrls; } });
|
|
17
|
+
Object.defineProperty(exports, "addTrailingSlash", { enumerable: true, get: function () { return urls_1.addTrailingSlash; } });
|
|
18
|
+
Object.defineProperty(exports, "withPathPrefix", { enumerable: true, get: function () { return urls_1.withPathPrefix; } });
|
|
19
|
+
var typedMemo_1 = require("../hoc/typedMemo");
|
|
20
|
+
Object.defineProperty(exports, "typedMemo", { enumerable: true, get: function () { return typedMemo_1.typedMemo; } });
|
|
21
|
+
var use_mount_1 = require("../hooks/use-mount");
|
|
22
|
+
Object.defineProperty(exports, "useMount", { enumerable: true, get: function () { return use_mount_1.useMount; } });
|
|
23
|
+
var global_1 = require("../styles/global");
|
|
24
|
+
Object.defineProperty(exports, "GlobalStyle", { enumerable: true, get: function () { return global_1.GlobalStyle; } });
|
|
25
|
+
var media_css_1 = require("../utils/media-css");
|
|
26
|
+
Object.defineProperty(exports, "breakpoints", { enumerable: true, get: function () { return media_css_1.breakpoints; } });
|
|
27
|
+
var args_typecheck_1 = require("../utils/args-typecheck");
|
|
28
|
+
Object.defineProperty(exports, "isPrimitive", { enumerable: true, get: function () { return args_typecheck_1.isPrimitive; } });
|
|
29
|
+
var use_focus_trap_1 = require("../hooks/use-focus-trap");
|
|
30
|
+
Object.defineProperty(exports, "useFocusTrap", { enumerable: true, get: function () { return use_focus_trap_1.useFocusTrap; } });
|
|
31
|
+
var use_theme_hooks_1 = require("../hooks/use-theme-hooks");
|
|
32
|
+
Object.defineProperty(exports, "useThemeHooks", { enumerable: true, get: function () { return use_theme_hooks_1.useThemeHooks; } });
|
|
33
|
+
var use_outside_click_1 = require("../hooks/use-outside-click");
|
|
34
|
+
Object.defineProperty(exports, "useOutsideClick", { enumerable: true, get: function () { return use_outside_click_1.useOutsideClick; } });
|
|
35
|
+
var use_active_section_id_1 = require("../hooks/use-active-section-id");
|
|
36
|
+
Object.defineProperty(exports, "useActiveSectionId", { enumerable: true, get: function () { return use_active_section_id_1.useActiveSectionId; } });
|
|
37
|
+
var use_modal_scroll_lock_1 = require("../hooks/use-modal-scroll-lock");
|
|
38
|
+
Object.defineProperty(exports, "useModalScrollLock", { enumerable: true, get: function () { return use_modal_scroll_lock_1.useModalScrollLock; } });
|
|
39
|
+
var environments_1 = require("../constants/environments");
|
|
40
|
+
Object.defineProperty(exports, "SecurityVariablesEnvSuffix", { enumerable: true, get: function () { return environments_1.SecurityVariablesEnvSuffix; } });
|
|
41
|
+
var type_guards_1 = require("../utils/type-guards");
|
|
42
|
+
Object.defineProperty(exports, "isUndefined", { enumerable: true, get: function () { return type_guards_1.isUndefined; } });
|
|
43
|
+
Object.defineProperty(exports, "isString", { enumerable: true, get: function () { return type_guards_1.isString; } });
|
|
44
|
+
Object.defineProperty(exports, "isNotNull", { enumerable: true, get: function () { return type_guards_1.isNotNull; } });
|
|
45
|
+
Object.defineProperty(exports, "isObject", { enumerable: true, get: function () { return type_guards_1.isObject; } });
|
|
46
|
+
var ThemeDataContext_1 = require("../contexts/ThemeDataContext");
|
|
47
|
+
Object.defineProperty(exports, "ThemeDataContext", { enumerable: true, get: function () { return ThemeDataContext_1.ThemeDataContext; } });
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GlobalStyle = exports.styles = void 0;
|
|
4
4
|
const styled_components_1 = require("styled-components");
|
|
5
|
-
const dark_1 = require("../../core/styles/dark");
|
|
6
5
|
const variables_1 = require("../../components/LanguagePicker/variables");
|
|
7
6
|
const variables_2 = require("../../components/Scorecard/variables");
|
|
8
7
|
const variables_3 = require("../../components/Feedback/variables");
|
|
@@ -41,6 +40,7 @@ const variables_35 = require("../../components/Switch/variables");
|
|
|
41
40
|
const variables_36 = require("../../markdoc/components/Cards/variables");
|
|
42
41
|
const variables_37 = require("../../markdoc/components/CodeWalkthrough/variables");
|
|
43
42
|
const variables_38 = require("../../components/SkipContent/variables");
|
|
43
|
+
const dark_1 = require("./dark");
|
|
44
44
|
const themeColors = (0, styled_components_1.css) `
|
|
45
45
|
/* === Palette === */
|
|
46
46
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
1
|
+
export * from './global';
|
|
2
|
+
export * from './dark';
|
package/lib/core/styles/index.js
CHANGED
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("
|
|
18
|
-
__exportStar(require("
|
|
17
|
+
__exportStar(require("./global"), exports);
|
|
18
|
+
__exportStar(require("./dark"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { UiAccessibleConfig } from '../../config';
|
|
3
|
-
import type { MdHeading } from '
|
|
3
|
+
import type { MdHeading } from '../types/markdown';
|
|
4
4
|
export type MarkdownTemplateProps = {
|
|
5
5
|
pageProps: {
|
|
6
6
|
frontmatter?: UiAccessibleConfig;
|
|
@@ -26,18 +26,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.default = default_1;
|
|
27
27
|
const React = __importStar(require("react"));
|
|
28
28
|
const react_router_dom_1 = require("react-router-dom");
|
|
29
|
-
const hooks_1 = require("../../core/hooks");
|
|
30
29
|
const DocumentationLayout_1 = require("../../layouts/DocumentationLayout");
|
|
31
30
|
const Markdown_1 = require("../../components/Markdown/Markdown");
|
|
32
31
|
const TableOfContent_1 = require("../../components/TableOfContent/TableOfContent");
|
|
33
32
|
const Feedback_1 = require("../../components/Feedback/Feedback");
|
|
34
|
-
const utils_1 = require("../../core/utils");
|
|
35
33
|
const CodeWalkthroughLayout_1 = require("../../layouts/CodeWalkthroughLayout");
|
|
34
|
+
const dom_1 = require("../utils/dom");
|
|
35
|
+
const details_1 = require("../utils/details");
|
|
36
|
+
const use_theme_hooks_1 = require("../hooks/use-theme-hooks");
|
|
37
|
+
const use_theme_config_1 = require("../hooks/use-theme-config");
|
|
36
38
|
function default_1({ pageProps, children }) {
|
|
37
39
|
var _a;
|
|
38
40
|
const [wrapperElement, setWrapperElement] = React.useState(null);
|
|
39
|
-
const { useSidebarSiblingsData } = (0,
|
|
40
|
-
const { markdown } = (0,
|
|
41
|
+
const { useSidebarSiblingsData } = (0, use_theme_hooks_1.useThemeHooks)();
|
|
42
|
+
const { markdown } = (0, use_theme_config_1.useThemeConfig)();
|
|
41
43
|
const { nextPage, prevPage } = useSidebarSiblingsData() || {};
|
|
42
44
|
const { pathname } = (0, react_router_dom_1.useLocation)();
|
|
43
45
|
const wrapperRefCb = React.useCallback((node) => {
|
|
@@ -61,8 +63,8 @@ function default_1({ pageProps, children }) {
|
|
|
61
63
|
nextPage,
|
|
62
64
|
prevPage,
|
|
63
65
|
};
|
|
64
|
-
if (
|
|
65
|
-
(0,
|
|
66
|
+
if (dom_1.IS_BROWSER) {
|
|
67
|
+
(0, dom_1.onDocumentReady)(details_1.extendDetailsBehaviour);
|
|
66
68
|
}
|
|
67
69
|
const document = React.createElement(Markdown_1.Markdown, { ref: wrapperRefCb }, children);
|
|
68
70
|
const tagList = pageProps.metadata.markdoc.tagList;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InfiniteData, UseInfiniteQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { CatalogEntityConfig, LayoutVariant } from '@redocly/config';
|
|
3
3
|
import type { CatalogFilterConfig } from '../../config';
|
|
4
|
+
import { ENTITY_RELATION_TYPES } from '../constants/catalog';
|
|
4
5
|
export type SortOption = 'title' | '-title' | 'type' | '-type';
|
|
5
6
|
export type UseCatalogResponse = {
|
|
6
7
|
filters: ResolvedFilter[];
|
|
@@ -91,7 +92,7 @@ export type UseCatalogEntitiesProps = {
|
|
|
91
92
|
export type UseCatalogEntitiesResponse = {
|
|
92
93
|
setEntitiesCounter: (counter: number) => void;
|
|
93
94
|
};
|
|
94
|
-
export type EntityType = 'service' | 'domain' | 'team' | 'user' | 'api-description';
|
|
95
|
+
export type EntityType = 'service' | 'domain' | 'team' | 'user' | 'api-description' | 'data-schema' | 'api-operation';
|
|
95
96
|
export type CatalogViewMode = 'cards' | 'table';
|
|
96
97
|
export type CatalogSwitcherItem = {
|
|
97
98
|
labelTranslationKey: string;
|
|
@@ -105,6 +106,8 @@ export type BffCatalogRelatedEntity = {
|
|
|
105
106
|
title: string;
|
|
106
107
|
summary?: string | null;
|
|
107
108
|
readonly source: 'api' | 'file';
|
|
109
|
+
relationRole: 'source' | 'target';
|
|
110
|
+
relationType: EntityRelationType;
|
|
108
111
|
sourceFile?: string | null;
|
|
109
112
|
metadata?: Record<string, any>;
|
|
110
113
|
readonly createdAt: string | null;
|
|
@@ -120,7 +123,7 @@ export type BffCatalogEntity = {
|
|
|
120
123
|
readonly source: 'api' | 'file';
|
|
121
124
|
domains?: Array<BffCatalogRelatedEntity>;
|
|
122
125
|
owners?: Array<BffCatalogRelatedEntity>;
|
|
123
|
-
summary?: string;
|
|
126
|
+
summary?: string | null;
|
|
124
127
|
tags?: Array<string>;
|
|
125
128
|
metadata?: Record<string, any>;
|
|
126
129
|
git?: Array<string>;
|
|
@@ -158,3 +161,4 @@ export type Page = {
|
|
|
158
161
|
limit: number;
|
|
159
162
|
total: number;
|
|
160
163
|
};
|
|
164
|
+
export type EntityRelationType = (typeof ENTITY_RELATION_TYPES)[number];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FEEDBACK_TYPES } from '
|
|
1
|
+
import type { FEEDBACK_TYPES } from '../constants/common';
|
|
2
2
|
import type { SentimentProps } from '../../components/Feedback/Sentiment';
|
|
3
3
|
import type { CommentProps } from '../../components/Feedback/Comment';
|
|
4
4
|
import type { MoodProps } from '../../components/Feedback/Mood';
|
|
@@ -3,9 +3,17 @@ import type { ShikiTransformer } from '@shikijs/types';
|
|
|
3
3
|
import type { Callback, TFunction as TFunc } from 'i18next';
|
|
4
4
|
import type { To, Location, NavigateFunction } from 'react-router-dom';
|
|
5
5
|
import type { CatalogConfig, ProductUiConfig } from '../../config';
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import type { UseCatalogResponse, CatalogApiResults, CatalogApiParams, FilteredCatalog, UseCatalogSortResponse, UseCatalogSearchResponse } from './catalog';
|
|
7
|
+
import type { UserMenuData } from './user-menu';
|
|
8
|
+
import type { ItemState } from './sidebar';
|
|
9
|
+
import type { SearchItemData, SearchFacet, SearchFilterItem, SearchFacetQuery, AiSearchConversationItem } from './search';
|
|
10
|
+
import type { EventType, SendEventParams } from './telemetry';
|
|
11
|
+
import type { SubmitFeedbackParams } from './feedback';
|
|
12
|
+
import type { TFunction } from './l10n';
|
|
13
|
+
import type { BreadcrumbItem } from './breadcrumb';
|
|
14
|
+
import type { DrilldownMenuItemDetails } from './sidebar';
|
|
15
|
+
import { BffCatalogEntity, BffCatalogEntityList, BffCatalogRelatedEntity, BffCatalogRelatedEntityList } from './catalog';
|
|
16
|
+
import { AiSearchError } from '../constants/search';
|
|
9
17
|
export type ThemeHooks = {
|
|
10
18
|
useTranslate: () => {
|
|
11
19
|
translate: TFunction;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
7
|
-
export * from '
|
|
8
|
-
export * from '
|
|
9
|
-
export * from '
|
|
10
|
-
export * from '
|
|
11
|
-
export * from '
|
|
12
|
-
export * from '
|
|
13
|
-
export * from '
|
|
14
|
-
export * from '
|
|
15
|
-
export * from '
|
|
16
|
-
export * from '
|
|
17
|
-
export * from '
|
|
18
|
-
export * from '
|
|
1
|
+
export * from './breadcrumb';
|
|
2
|
+
export * from './catalog';
|
|
3
|
+
export * from './l10n';
|
|
4
|
+
export * from './feedback';
|
|
5
|
+
export * from './hooks';
|
|
6
|
+
export * from './markdown';
|
|
7
|
+
export * from './navbar';
|
|
8
|
+
export * from './search';
|
|
9
|
+
export * from './select';
|
|
10
|
+
export * from './sidebar';
|
|
11
|
+
export * from './filter';
|
|
12
|
+
export * from './user-menu';
|
|
13
|
+
export * from './user-claims';
|
|
14
|
+
export * from './common';
|
|
15
|
+
export * from './open-api-server';
|
|
16
|
+
export * from './marker';
|
|
17
|
+
export * from './code-walkthrough';
|
|
18
|
+
export * from './telemetry';
|
package/lib/core/types/index.js
CHANGED
|
@@ -14,22 +14,22 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("
|
|
18
|
-
__exportStar(require("
|
|
19
|
-
__exportStar(require("
|
|
20
|
-
__exportStar(require("
|
|
21
|
-
__exportStar(require("
|
|
22
|
-
__exportStar(require("
|
|
23
|
-
__exportStar(require("
|
|
24
|
-
__exportStar(require("
|
|
25
|
-
__exportStar(require("
|
|
26
|
-
__exportStar(require("
|
|
27
|
-
__exportStar(require("
|
|
28
|
-
__exportStar(require("
|
|
29
|
-
__exportStar(require("
|
|
30
|
-
__exportStar(require("
|
|
31
|
-
__exportStar(require("
|
|
32
|
-
__exportStar(require("
|
|
33
|
-
__exportStar(require("
|
|
34
|
-
__exportStar(require("
|
|
17
|
+
__exportStar(require("./breadcrumb"), exports);
|
|
18
|
+
__exportStar(require("./catalog"), exports);
|
|
19
|
+
__exportStar(require("./l10n"), exports);
|
|
20
|
+
__exportStar(require("./feedback"), exports);
|
|
21
|
+
__exportStar(require("./hooks"), exports);
|
|
22
|
+
__exportStar(require("./markdown"), exports);
|
|
23
|
+
__exportStar(require("./navbar"), exports);
|
|
24
|
+
__exportStar(require("./search"), exports);
|
|
25
|
+
__exportStar(require("./select"), exports);
|
|
26
|
+
__exportStar(require("./sidebar"), exports);
|
|
27
|
+
__exportStar(require("./filter"), exports);
|
|
28
|
+
__exportStar(require("./user-menu"), exports);
|
|
29
|
+
__exportStar(require("./user-claims"), exports);
|
|
30
|
+
__exportStar(require("./common"), exports);
|
|
31
|
+
__exportStar(require("./open-api-server"), exports);
|
|
32
|
+
__exportStar(require("./marker"), exports);
|
|
33
|
+
__exportStar(require("./code-walkthrough"), exports);
|
|
34
|
+
__exportStar(require("./telemetry"), exports);
|
|
35
35
|
//# sourceMappingURL=index.js.map
|