@redocly/theme 0.63.0 → 0.64.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Catalog/Catalog.js +3 -32
- package/lib/components/Catalog/CatalogActionsRow.d.ts +6 -4
- package/lib/components/Catalog/CatalogActionsRow.js +49 -5
- package/lib/components/Catalog/CatalogEntities.d.ts +0 -1
- package/lib/components/Catalog/CatalogEntities.js +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js +31 -25
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js +1 -1
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js +2 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.d.ts +1 -2
- package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.js +2 -2
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.d.ts +1 -2
- package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +1 -2
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.d.ts +1 -2
- package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +2 -2
- package/lib/components/SvgViewer/variables.dark.js +1 -1
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.d.ts +1 -3
- package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.js +1 -4
- package/lib/core/styles/dark.js +34 -30
- package/lib/core/styles/global.js +36 -29
- package/lib/core/types/hooks.d.ts +2 -2
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.d.ts +9 -0
- package/lib/icons/ColorPaletteIcon/ColorPaletteIcon.js +27 -0
- package/lib/icons/StopIcon/StopIcon.d.ts +9 -0
- package/lib/icons/StopIcon/StopIcon.js +22 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.d.ts +7 -0
- package/lib/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.js +95 -0
- package/lib/markdoc/components/ExcalidrawDiagram/variables.d.ts +1 -0
- package/lib/markdoc/components/ExcalidrawDiagram/variables.dark.d.ts +1 -0
- package/lib/markdoc/components/ExcalidrawDiagram/variables.dark.js +8 -0
- package/lib/markdoc/components/ExcalidrawDiagram/variables.js +15 -0
- package/lib/markdoc/components/Mermaid/Mermaid.js +2 -0
- package/lib/markdoc/components/default.d.ts +1 -0
- package/lib/markdoc/components/default.js +1 -0
- package/package.json +2 -2
- package/src/components/Catalog/Catalog.tsx +9 -43
- package/src/components/Catalog/CatalogActionsRow.tsx +25 -7
- package/src/components/Catalog/CatalogEntities.tsx +0 -3
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.tsx +39 -31
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.tsx +1 -1
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.tsx +2 -2
- package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.tsx +0 -3
- package/src/components/Catalog/CatalogTableView/CatalogTableHeaderCell.tsx +0 -3
- package/src/components/Catalog/CatalogTableView/CatalogTableView.tsx +0 -3
- package/src/components/SvgViewer/variables.dark.ts +1 -1
- package/src/core/hooks/catalog/use-catalog-table-header-cell-actions.ts +0 -6
- package/src/core/styles/dark.ts +4 -0
- package/src/core/styles/global.ts +8 -1
- package/src/core/types/hooks.ts +2 -1
- package/src/icons/ColorPaletteIcon/ColorPaletteIcon.tsx +28 -0
- package/src/icons/StopIcon/StopIcon.tsx +23 -0
- package/src/index.ts +2 -0
- package/src/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.tsx +85 -0
- package/src/markdoc/components/ExcalidrawDiagram/variables.dark.ts +5 -0
- package/src/markdoc/components/ExcalidrawDiagram/variables.ts +12 -0
- package/src/markdoc/components/Mermaid/Mermaid.tsx +2 -0
- package/src/markdoc/components/default.ts +1 -0
|
@@ -48,11 +48,10 @@ const CatalogSelector_1 = require("../../components/Catalog/CatalogSelector");
|
|
|
48
48
|
const SidebarActions_1 = require("../../components/SidebarActions/SidebarActions");
|
|
49
49
|
const CounterTag_1 = require("../../components/Tags/CounterTag");
|
|
50
50
|
const FilterInput_1 = require("../../components/Filter/FilterInput");
|
|
51
|
-
const CatalogViewModeToggle_1 = require("../../components/Catalog/CatalogViewModeToggle");
|
|
52
|
-
const CatalogSortButton_1 = require("../../components/Catalog/CatalogSortButton");
|
|
53
51
|
const CatalogEntities_1 = require("../../components/Catalog/CatalogEntities");
|
|
54
52
|
const CatalogMobileTopBar_1 = require("../../components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar");
|
|
55
53
|
const CatalogMobileFiltersPanelOverlay_1 = require("../../components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay");
|
|
54
|
+
const CatalogActionsRow_1 = require("../../components/Catalog/CatalogActionsRow");
|
|
56
55
|
function getActiveFiltersCount(filters, filterTerm) {
|
|
57
56
|
const filterOptionsCount = filters.reduce((sum, filter) => {
|
|
58
57
|
if (filter.selectedOptions instanceof Set)
|
|
@@ -101,29 +100,9 @@ function Catalog(props) {
|
|
|
101
100
|
' '),
|
|
102
101
|
react_1.default.createElement(CounterTag_1.CounterTag, { borderless: true }, entitiesCounter)),
|
|
103
102
|
react_1.default.createElement(CatalogDescription, { "data-translation-key": catalogConfig === null || catalogConfig === void 0 ? void 0 : catalogConfig.descriptionTranslationKey }, translate(catalogConfig === null || catalogConfig === void 0 ? void 0 : catalogConfig.descriptionTranslationKey)),
|
|
104
|
-
react_1.default.createElement(CatalogActionsRow,
|
|
105
|
-
|
|
106
|
-
react_1.default.createElement(FilterInput_1.FilterInput, { value: searchQuery, onChange: (updatedTerm) => setSearchQuery(updatedTerm), dataTestId: "catalog-search-input" })),
|
|
107
|
-
react_1.default.createElement(CatalogControlsWrapper, null,
|
|
108
|
-
react_1.default.createElement(CatalogSortButton_1.CatalogSortButton, { onSortChange: setSortOption, currentSort: sortOption }),
|
|
109
|
-
react_1.default.createElement(CatalogViewModeToggle_1.CatalogViewModeToggle, { viewMode: viewMode, onViewModeChange: setViewMode }))),
|
|
110
|
-
react_1.default.createElement(CatalogEntities_1.CatalogEntities, { catalogConfig: catalogConfig, excludedEntities: catalogConfig === null || catalogConfig === void 0 ? void 0 : catalogConfig.excludes, filterQuery: filterQuery, entitiesTypes: entitiesTypes, sortOption: sortOption, searchQuery: searchQuery, viewMode: viewMode, setEntitiesCounter: setEntitiesCounter, initialEntitiesList: initialEntitiesList, setSortOption: setSortOption, handleSortClick: handleSortClick, isColumnSorted: isColumnSorted })))))));
|
|
103
|
+
react_1.default.createElement(CatalogActionsRow_1.CatalogActionsRow, { searchQuery: searchQuery, setSearchQuery: setSearchQuery, sortOption: sortOption, setSortOption: setSortOption, viewMode: viewMode, onViewModeChange: setViewMode }),
|
|
104
|
+
react_1.default.createElement(CatalogEntities_1.CatalogEntities, { catalogConfig: catalogConfig, excludedEntities: catalogConfig === null || catalogConfig === void 0 ? void 0 : catalogConfig.excludes, filterQuery: filterQuery, entitiesTypes: entitiesTypes, sortOption: sortOption, searchQuery: searchQuery, viewMode: viewMode, setEntitiesCounter: setEntitiesCounter, initialEntitiesList: initialEntitiesList, handleSortClick: handleSortClick, isColumnSorted: isColumnSorted })))))));
|
|
111
105
|
}
|
|
112
|
-
const CatalogActionsRow = styled_components_1.default.div `
|
|
113
|
-
display: flex;
|
|
114
|
-
align-items: center;
|
|
115
|
-
margin-bottom: var(--spacing-xl);
|
|
116
|
-
|
|
117
|
-
@media screen and (max-width: ${utils_1.breakpoints.medium}) {
|
|
118
|
-
display: none;
|
|
119
|
-
}
|
|
120
|
-
`;
|
|
121
|
-
const CatalogControlsWrapper = styled_components_1.default.div `
|
|
122
|
-
display: var(--catalog-controls-wrapper-display);
|
|
123
|
-
align-items: var(--catalog-controls-wrapper-align-items);
|
|
124
|
-
margin-left: var(--catalog-controls-wrapper-margin-left);
|
|
125
|
-
gap: var(--catalog-controls-wrapper-gap);
|
|
126
|
-
`;
|
|
127
106
|
const CatalogContentWrapper = styled_components_1.default.div `
|
|
128
107
|
flex: 1;
|
|
129
108
|
min-width: 0;
|
|
@@ -216,12 +195,4 @@ const FiltersSidebar = (0, styled_components_1.default)(Sidebar_1.Sidebar) `
|
|
|
216
195
|
border: none;
|
|
217
196
|
}
|
|
218
197
|
`;
|
|
219
|
-
const CatalogSearchInputWrapper = styled_components_1.default.div `
|
|
220
|
-
display: none;
|
|
221
|
-
width: var(--catalog-search-input-wrapper-width);
|
|
222
|
-
|
|
223
|
-
@media screen and (min-width: ${utils_1.breakpoints.medium}) {
|
|
224
|
-
display: block;
|
|
225
|
-
}
|
|
226
|
-
`;
|
|
227
198
|
//# sourceMappingURL=Catalog.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { JSX } from 'react';
|
|
2
2
|
import { SortOption, CatalogViewMode } from '../../core/types';
|
|
3
3
|
export type CatalogActionsRowProps = {
|
|
4
4
|
searchQuery: string;
|
|
@@ -7,9 +7,11 @@ export type CatalogActionsRowProps = {
|
|
|
7
7
|
setSortOption: (option: SortOption | null) => void;
|
|
8
8
|
viewMode?: CatalogViewMode;
|
|
9
9
|
onViewModeChange?: (mode: CatalogViewMode) => void;
|
|
10
|
-
|
|
10
|
+
isDetailsPage?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare function CatalogActionsRow({ searchQuery, setSearchQuery, sortOption, setSortOption, viewMode, onViewModeChange,
|
|
13
|
-
export declare const CatalogActionsRowWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
12
|
+
export declare function CatalogActionsRow({ searchQuery, setSearchQuery, sortOption, setSortOption, viewMode, onViewModeChange, isDetailsPage, }: CatalogActionsRowProps): JSX.Element;
|
|
13
|
+
export declare const CatalogActionsRowWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
14
|
+
isDetailsPage: boolean;
|
|
15
|
+
}, never>;
|
|
14
16
|
export declare const CatalogControlsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
17
|
export declare const CatalogSearchInputWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
37
|
};
|
|
@@ -6,21 +39,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
39
|
exports.CatalogSearchInputWrapper = exports.CatalogControlsWrapper = exports.CatalogActionsRowWrapper = void 0;
|
|
7
40
|
exports.CatalogActionsRow = CatalogActionsRow;
|
|
8
41
|
const react_1 = __importDefault(require("react"));
|
|
9
|
-
const styled_components_1 =
|
|
42
|
+
const styled_components_1 = __importStar(require("styled-components"));
|
|
10
43
|
const FilterInput_1 = require("../../components/Filter/FilterInput");
|
|
11
44
|
const CatalogSortButton_1 = require("../../components/Catalog/CatalogSortButton");
|
|
12
45
|
const CatalogViewModeToggle_1 = require("../../components/Catalog/CatalogViewModeToggle");
|
|
13
|
-
|
|
14
|
-
|
|
46
|
+
const core_1 = require("../../core");
|
|
47
|
+
function CatalogActionsRow({ searchQuery, setSearchQuery, sortOption, setSortOption, viewMode, onViewModeChange, isDetailsPage = false, }) {
|
|
48
|
+
return (react_1.default.createElement(exports.CatalogActionsRowWrapper, { isDetailsPage: isDetailsPage },
|
|
15
49
|
react_1.default.createElement(exports.CatalogSearchInputWrapper, null,
|
|
16
|
-
react_1.default.createElement(FilterInput_1.FilterInput, { value: searchQuery, onChange: (updatedTerm) => setSearchQuery(updatedTerm) })),
|
|
50
|
+
react_1.default.createElement(FilterInput_1.FilterInput, { value: searchQuery, onChange: (updatedTerm) => setSearchQuery(updatedTerm), dataTestId: "catalog-search-input" })),
|
|
17
51
|
react_1.default.createElement(exports.CatalogControlsWrapper, null,
|
|
18
|
-
react_1.default.createElement(CatalogSortButton_1.CatalogSortButton, { onSortChange: setSortOption, currentSort: sortOption }),
|
|
52
|
+
viewMode === 'cards' && (react_1.default.createElement(CatalogSortButton_1.CatalogSortButton, { onSortChange: setSortOption, currentSort: sortOption })),
|
|
19
53
|
viewMode && onViewModeChange && (react_1.default.createElement(CatalogViewModeToggle_1.CatalogViewModeToggle, { viewMode: viewMode, onViewModeChange: onViewModeChange })))));
|
|
20
54
|
}
|
|
21
55
|
exports.CatalogActionsRowWrapper = styled_components_1.default.div `
|
|
22
56
|
display: flex;
|
|
23
57
|
align-items: center;
|
|
58
|
+
|
|
59
|
+
margin-bottom: ${({ isDetailsPage }) => (isDetailsPage ? 'var(--spacing-sm)' : 'var(--spacing-xl)')};
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
${({ isDetailsPage }) => !isDetailsPage &&
|
|
63
|
+
(0, styled_components_1.css) `
|
|
64
|
+
@media screen and (max-width: ${core_1.breakpoints.medium}) {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
`}
|
|
24
68
|
`;
|
|
25
69
|
exports.CatalogControlsWrapper = styled_components_1.default.div `
|
|
26
70
|
display: var(--catalog-controls-wrapper-display);
|
|
@@ -11,7 +11,6 @@ export type CatalogEntitiesProps = {
|
|
|
11
11
|
setEntitiesCounter: (counter: number) => void;
|
|
12
12
|
initialEntitiesList?: BffCatalogEntityList;
|
|
13
13
|
sortOption: SortOption | null;
|
|
14
|
-
setSortOption: (sortOption: SortOption | null) => void;
|
|
15
14
|
handleSortClick: (sortKey: string, direction: 'asc' | 'desc') => void;
|
|
16
15
|
isColumnSorted: (sortKey: string, direction: 'asc' | 'desc') => boolean;
|
|
17
16
|
};
|
|
@@ -44,7 +44,7 @@ const LoadMore_1 = require("../../components/LoadMore/LoadMore");
|
|
|
44
44
|
const CatalogEntitiesEmptyState_1 = require("../../components/Catalog/CatalogEntitiesEmptyState");
|
|
45
45
|
const LOAD_MORE_THRESHOLD = 10;
|
|
46
46
|
function CatalogEntities(props) {
|
|
47
|
-
const { catalogConfig, excludedEntities, filterQuery, entitiesTypes, sortOption, searchQuery, viewMode, setEntitiesCounter,
|
|
47
|
+
const { catalogConfig, excludedEntities, filterQuery, entitiesTypes, sortOption, searchQuery, viewMode, setEntitiesCounter, handleSortClick, isColumnSorted, } = props;
|
|
48
48
|
const { getEntityDetailsLink } = (0, hooks_1.useCatalogEntityDetails)({
|
|
49
49
|
catalogConfig,
|
|
50
50
|
});
|
|
@@ -85,7 +85,7 @@ function CatalogEntities(props) {
|
|
|
85
85
|
return react_1.default.createElement(CatalogEntitiesEmptyState_1.CatalogEntitiesEmptyState, null);
|
|
86
86
|
}
|
|
87
87
|
return (react_1.default.createElement(CatalogHighlight_1.HighlightContext.Provider, { value: [searchQuery], "data-component-name": "Catalog/CatalogEntities" },
|
|
88
|
-
viewMode === 'cards' ? (react_1.default.createElement(CatalogCardView_1.CatalogCardView, { entities: entities, catalogConfig: catalogConfig })) : (react_1.default.createElement(CatalogTableView_1.CatalogTableView, { entities: entities, catalogConfig: catalogConfig,
|
|
88
|
+
viewMode === 'cards' ? (react_1.default.createElement(CatalogCardView_1.CatalogCardView, { entities: entities, catalogConfig: catalogConfig })) : (react_1.default.createElement(CatalogTableView_1.CatalogTableView, { entities: entities, catalogConfig: catalogConfig, currentSortOption: sortOption, handleSortClick: handleSortClick, isColumnSorted: isColumnSorted, onRowClick: onRowClick })),
|
|
89
89
|
shouldShowLoadMore && (react_1.default.createElement(LoadMore_1.LoadMore, { icon: react_1.default.createElement(ArrowDownIcon_1.ArrowDownIcon, { size: "var(--catalog-load-more-icon-size)" }), onClick: query.fetchNextPage, disabled: query.isFetchingNextPage, blinking: query.isFetchingNextPage, label: query.isFetchingNextPage ? 'Loading...' : 'Load More' }))));
|
|
90
90
|
}
|
|
91
91
|
//# sourceMappingURL=CatalogEntities.js.map
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js
CHANGED
|
@@ -9,32 +9,38 @@ const CatalogEntityCell_1 = require("../../../../components/Catalog/CatalogTable
|
|
|
9
9
|
const CatalogEntityRelationsTable_1 = require("../../../../components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable");
|
|
10
10
|
const CatalogEntityTypeTag_1 = require("../../../../components/Catalog/CatalogEntityTypeTag");
|
|
11
11
|
const CatalogEntityRelationCell_1 = require("../../../../components/Catalog/CatalogTableView/CatalogEntityRelationCell");
|
|
12
|
-
const columns = [
|
|
13
|
-
{
|
|
14
|
-
key: 'entity',
|
|
15
|
-
title: 'Entity',
|
|
16
|
-
render: (entity) => react_1.default.createElement(CatalogEntityCell_1.CatalogEntityCell, { entity: entity }),
|
|
17
|
-
sortable: true,
|
|
18
|
-
sortKey: 'title',
|
|
19
|
-
width: '2.5fr',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
key: 'type',
|
|
23
|
-
title: 'Type',
|
|
24
|
-
render: (entity) => react_1.default.createElement(CatalogEntityTypeTag_1.CatalogEntityTypeTag, { entityType: entity.type }),
|
|
25
|
-
sortable: true,
|
|
26
|
-
sortKey: 'type',
|
|
27
|
-
width: '1fr',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
key: 'relationType',
|
|
31
|
-
title: 'Relations',
|
|
32
|
-
render: (entity) => (react_1.default.createElement(CatalogEntityRelationCell_1.CatalogEntityRelationCell, { relationType: entity.relationType, relationRole: entity.relationRole })),
|
|
33
|
-
width: '1fr',
|
|
34
|
-
},
|
|
35
|
-
];
|
|
36
12
|
function CatalogEntityDefaultRelations({ entity, relations, query, searchQuery, setSearchQuery, entitiesCatalogConfig, catalogConfig, sortOption, setSortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, shouldShowHeading = true, listType, }) {
|
|
37
13
|
return (react_1.default.createElement("div", { "data-component-name": "Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations" },
|
|
38
|
-
react_1.default.createElement(CatalogEntityRelationsTable_1.CatalogEntityRelationsTable, { entity: entity, catalogConfig: catalogConfig, entitiesCatalogConfig: entitiesCatalogConfig, relations: relations, query: query, searchQuery: searchQuery, setSearchQuery: setSearchQuery, heading: shouldShowHeading ? 'Related entities' : undefined, columns:
|
|
14
|
+
react_1.default.createElement(CatalogEntityRelationsTable_1.CatalogEntityRelationsTable, { entity: entity, catalogConfig: catalogConfig, entitiesCatalogConfig: entitiesCatalogConfig, relations: relations, query: query, searchQuery: searchQuery, setSearchQuery: setSearchQuery, heading: shouldShowHeading ? 'Related entities' : undefined, columns: getRelationsTableColumns(listType), sortOption: sortOption, setSortOption: setSortOption, handleSortClick: handleSortClick, isColumnSorted: isColumnSorted, shouldShowLoadMore: shouldShowLoadMore, listType: listType })));
|
|
15
|
+
}
|
|
16
|
+
function getRelationsTableColumns(listType) {
|
|
17
|
+
const columns = [
|
|
18
|
+
{
|
|
19
|
+
key: 'entity',
|
|
20
|
+
title: 'Entity',
|
|
21
|
+
render: (entity) => react_1.default.createElement(CatalogEntityCell_1.CatalogEntityCell, { entity: entity }),
|
|
22
|
+
sortable: true,
|
|
23
|
+
sortKey: 'title',
|
|
24
|
+
width: '2.5fr',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
key: 'type',
|
|
28
|
+
title: 'Type',
|
|
29
|
+
render: (entity) => react_1.default.createElement(CatalogEntityTypeTag_1.CatalogEntityTypeTag, { entityType: entity.type }),
|
|
30
|
+
sortable: true,
|
|
31
|
+
sortKey: 'type',
|
|
32
|
+
width: '1fr',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
key: 'relationType',
|
|
36
|
+
title: 'Relations',
|
|
37
|
+
render: (entity) => (react_1.default.createElement(CatalogEntityRelationCell_1.CatalogEntityRelationCell, { relationType: entity.relationType, relationRole: entity.relationRole })),
|
|
38
|
+
width: '1fr',
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
if (listType === 'api-operation' || listType === 'data-schema') {
|
|
42
|
+
return columns.filter((column) => column.key !== 'type');
|
|
43
|
+
}
|
|
44
|
+
return columns;
|
|
39
45
|
}
|
|
40
46
|
//# sourceMappingURL=CatalogEntityDefaultRelations.js.map
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js
CHANGED
|
@@ -46,7 +46,7 @@ const ENTITY_DEFAULT_FILTERS = {
|
|
|
46
46
|
};
|
|
47
47
|
function CatalogEntityRelations({ entity, entitiesCatalogConfig, initialRelations, catalogConfig, searchQuery, setSearchQuery, }) {
|
|
48
48
|
const { useCatalogSort, useFetchCatalogEntitiesRelations } = (0, hooks_1.useThemeHooks)();
|
|
49
|
-
const { sortOption, setSortOption, handleSortClick, isColumnSorted } = useCatalogSort();
|
|
49
|
+
const { sortOption, setSortOption, handleSortClick, isColumnSorted } = useCatalogSort('title');
|
|
50
50
|
const [filter, setFilter] = (0, react_1.useState)(ENTITY_DEFAULT_FILTERS[entity.type]);
|
|
51
51
|
(0, react_1.useEffect)(() => {
|
|
52
52
|
setFilter(ENTITY_DEFAULT_FILTERS[entity.key]);
|
package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js
CHANGED
|
@@ -36,8 +36,8 @@ function CatalogEntityRelationsTable({ entity, entitiesCatalogConfig, catalogCon
|
|
|
36
36
|
};
|
|
37
37
|
return (react_1.default.createElement(CatalogEntityRelationsTableWrapper, { "data-component-name": "Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable" },
|
|
38
38
|
heading && react_1.default.createElement(Heading, null, heading),
|
|
39
|
-
react_1.default.createElement(CatalogActionsRow_1.CatalogActionsRow, { searchQuery: searchQuery, setSearchQuery: setSearchQuery, sortOption: sortOption, setSortOption: setSortOption,
|
|
40
|
-
react_1.default.createElement(CatalogEntityRelationsTableContent_1.CatalogEntityRelationsTableContent, { entitiesCatalogConfig: entitiesCatalogConfig, catalogConfig: catalogConfig, relations: relations, query: query, searchQuery: searchQuery, columns: columns,
|
|
39
|
+
react_1.default.createElement(CatalogActionsRow_1.CatalogActionsRow, { searchQuery: searchQuery, setSearchQuery: setSearchQuery, sortOption: sortOption, setSortOption: setSortOption, viewMode: "table", isDetailsPage: true }),
|
|
40
|
+
react_1.default.createElement(CatalogEntityRelationsTableContent_1.CatalogEntityRelationsTableContent, { entitiesCatalogConfig: entitiesCatalogConfig, catalogConfig: catalogConfig, relations: relations, query: query, searchQuery: searchQuery, columns: columns, sortOption: sortOption, handleSortClick: handleSortClick, isColumnSorted: isColumnSorted, shouldShowLoadMore: shouldShowLoadMore, listType: listType, onRowClick: onRowClick })));
|
|
41
41
|
}
|
|
42
42
|
const CatalogEntityRelationsTableWrapper = styled_components_1.default.div `
|
|
43
43
|
min-width: 0;
|
|
@@ -14,11 +14,10 @@ export type CatalogEntityRelationsTableContentProps = {
|
|
|
14
14
|
searchQuery: string;
|
|
15
15
|
columns: CatalogColumn<BffCatalogRelatedEntity>[];
|
|
16
16
|
sortOption: SortOption | null;
|
|
17
|
-
setSortOption: (sortOption: SortOption | null) => void;
|
|
18
17
|
handleSortClick: (sortKey: string, direction: 'asc' | 'desc') => void;
|
|
19
18
|
isColumnSorted: (sortKey: string, direction: 'asc' | 'desc') => boolean;
|
|
20
19
|
shouldShowLoadMore: boolean;
|
|
21
20
|
listType?: ListType;
|
|
22
21
|
onRowClick: (entity: BffCatalogRelatedEntity) => void;
|
|
23
22
|
};
|
|
24
|
-
export declare function CatalogEntityRelationsTableContent({ entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, columns,
|
|
23
|
+
export declare function CatalogEntityRelationsTableContent({ entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, columns, sortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, listType, onRowClick, }: CatalogEntityRelationsTableContentProps): JSX.Element;
|
|
@@ -11,9 +11,9 @@ const LoadMore_1 = require("../../../../components/LoadMore/LoadMore");
|
|
|
11
11
|
const CatalogTableView_1 = require("../../../../components/Catalog/CatalogTableView/CatalogTableView");
|
|
12
12
|
const CatalogHighlight_1 = require("../../../../components/Catalog/CatalogHighlight");
|
|
13
13
|
const CatalogEntitiesEmptyState_1 = require("../../../../components/Catalog/CatalogEntitiesEmptyState");
|
|
14
|
-
function CatalogEntityRelationsTableContent({ entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, columns,
|
|
14
|
+
function CatalogEntityRelationsTableContent({ entitiesCatalogConfig, catalogConfig, relations, query, searchQuery, columns, sortOption, handleSortClick, isColumnSorted, shouldShowLoadMore, listType, onRowClick, }) {
|
|
15
15
|
return (react_1.default.createElement(TableContentWrapper, { "data-component-name": "Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent" },
|
|
16
|
-
react_1.default.createElement(CatalogHighlight_1.HighlightContext.Provider, { value: [searchQuery] }, relations.length > 0 ? (react_1.default.createElement(CatalogTableView_1.CatalogTableView, { entities: relations, entitiesCatalogConfig: entitiesCatalogConfig, catalogConfig: catalogConfig, columns: columns,
|
|
16
|
+
react_1.default.createElement(CatalogHighlight_1.HighlightContext.Provider, { value: [searchQuery] }, relations.length > 0 ? (react_1.default.createElement(CatalogTableView_1.CatalogTableView, { entities: relations, entitiesCatalogConfig: entitiesCatalogConfig, catalogConfig: catalogConfig, columns: columns, currentSortOption: sortOption, handleSortClick: handleSortClick, isColumnSorted: isColumnSorted, style: { marginTop: 0 }, onRowClick: onRowClick, contentMinWidth: TABLE_SCROLL_MIN_WIDTH_PX })) : (react_1.default.createElement(CatalogEntitiesEmptyState_1.CatalogEntitiesEmptyState, { listType: listType }))),
|
|
17
17
|
shouldShowLoadMore && (react_1.default.createElement(LoadMore_1.LoadMore, { icon: react_1.default.createElement(ArrowDownIcon_1.ArrowDownIcon, { size: "var(--catalog-load-more-icon-size)" }), onClick: query.fetchNextPage, disabled: query.isFetchingNextPage, blinking: query.isFetchingNextPage, label: query.isFetchingNextPage ? 'Loading...' : 'Load More' }))));
|
|
18
18
|
}
|
|
19
19
|
const TABLE_SCROLL_MIN_WIDTH_PX = 608;
|
|
@@ -3,9 +3,8 @@ import { SortOption } from '../../../core/types';
|
|
|
3
3
|
import { BaseEntity, CatalogColumn } from '../../../components/Catalog/CatalogTableView/CatalogTableView';
|
|
4
4
|
export type CatalogTableHeaderCellProps<T extends BaseEntity> = {
|
|
5
5
|
column: CatalogColumn<T>;
|
|
6
|
-
setSortOption: (sortOption: SortOption | null) => void;
|
|
7
6
|
currentSortOption?: SortOption | null;
|
|
8
7
|
handleSortClick: (sortKey: string, direction: 'asc' | 'desc') => void;
|
|
9
8
|
isColumnSorted: (sortKey: string, direction: 'asc' | 'desc') => boolean;
|
|
10
9
|
};
|
|
11
|
-
export declare const CatalogTableHeaderCell: <T extends BaseEntity>({ column, handleSortClick, isColumnSorted,
|
|
10
|
+
export declare const CatalogTableHeaderCell: <T extends BaseEntity>({ column, handleSortClick, isColumnSorted, }: CatalogTableHeaderCellProps<T>) => React.JSX.Element;
|
|
@@ -42,12 +42,11 @@ const styled_components_1 = __importStar(require("styled-components"));
|
|
|
42
42
|
const CaretDownIcon_1 = require("../../../icons/CaretDownIcon/CaretDownIcon");
|
|
43
43
|
const CaretUpIcon_1 = require("../../../icons/CaretUpIcon/CaretUpIcon");
|
|
44
44
|
const hooks_1 = require("../../../core/hooks");
|
|
45
|
-
const CatalogTableHeaderCell = ({ column, handleSortClick, isColumnSorted,
|
|
45
|
+
const CatalogTableHeaderCell = ({ column, handleSortClick, isColumnSorted, }) => {
|
|
46
46
|
const { handleCellClick, sortKey, isUpActive, isDownActive } = (0, hooks_1.useCatalogTableHeaderCellActions)({
|
|
47
47
|
column,
|
|
48
48
|
handleSortClick,
|
|
49
49
|
isColumnSorted,
|
|
50
|
-
setSortOption,
|
|
51
50
|
});
|
|
52
51
|
return (react_1.default.createElement(TableHeaderCellWrapper, { key: column.key, "data-component-name": "Catalog/CatalogTableView/CatalogTableHeaderCell", onClick: handleCellClick, "$sortable": Boolean(column.sortable && sortKey) },
|
|
53
52
|
react_1.default.createElement(HeaderContent, null,
|
|
@@ -13,7 +13,6 @@ export type CatalogTableViewProps<T extends BaseEntity> = {
|
|
|
13
13
|
entitiesCatalogConfig?: EntitiesCatalogConfig;
|
|
14
14
|
catalogConfig: CatalogEntityConfig;
|
|
15
15
|
columns?: CatalogColumn<T>[];
|
|
16
|
-
setSortOption: (sortOption: SortOption | null) => void;
|
|
17
16
|
currentSortOption?: SortOption | null;
|
|
18
17
|
onRowClick?: (entity: T) => void;
|
|
19
18
|
handleSortClick: (sortKey: string, direction: 'asc' | 'desc') => void;
|
|
@@ -30,4 +29,4 @@ export type CatalogColumn<T> = {
|
|
|
30
29
|
sortable?: boolean;
|
|
31
30
|
sortKey?: string;
|
|
32
31
|
};
|
|
33
|
-
export declare const CatalogTableView: <T extends BaseEntity>({ entities, entitiesCatalogConfig, catalogConfig, columns,
|
|
32
|
+
export declare const CatalogTableView: <T extends BaseEntity>({ entities, entitiesCatalogConfig, catalogConfig, columns, currentSortOption, onRowClick, handleSortClick, isColumnSorted, style, contentMinWidth, }: CatalogTableViewProps<T>) => React.JSX.Element;
|
|
@@ -61,9 +61,9 @@ const baseColumns = [
|
|
|
61
61
|
minWidth: '120px',
|
|
62
62
|
},
|
|
63
63
|
];
|
|
64
|
-
const CatalogTableView = ({ entities, entitiesCatalogConfig, catalogConfig, columns = baseColumns,
|
|
64
|
+
const CatalogTableView = ({ entities, entitiesCatalogConfig, catalogConfig, columns = baseColumns, currentSortOption, onRowClick, handleSortClick, isColumnSorted, style, contentMinWidth, }) => {
|
|
65
65
|
const tableContent = (react_1.default.createElement(react_1.default.Fragment, null,
|
|
66
|
-
react_1.default.createElement(CatalogTableHeader, { columnsWidths: columns.map((column) => column.width || '1fr'), columnsMinWidths: columns.map((column) => column.minWidth || 'auto') }, columns.map((column) => (react_1.default.createElement(CatalogTableHeaderCell_1.CatalogTableHeaderCell, { key: column.key, column: column,
|
|
66
|
+
react_1.default.createElement(CatalogTableHeader, { columnsWidths: columns.map((column) => column.width || '1fr'), columnsMinWidths: columns.map((column) => column.minWidth || 'auto') }, columns.map((column) => (react_1.default.createElement(CatalogTableHeaderCell_1.CatalogTableHeaderCell, { key: column.key, column: column, currentSortOption: currentSortOption, handleSortClick: handleSortClick, isColumnSorted: isColumnSorted })))),
|
|
67
67
|
react_1.default.createElement(CatalogTableBody, null, entities.map((entity) => (react_1.default.createElement(CatalogTableViewRow_1.CatalogTableViewRow, { key: entity.id, entity: entity, entitiesCatalogConfig: entitiesCatalogConfig, catalogConfig: catalogConfig, columns: columns, onRowClick: onRowClick }))))));
|
|
68
68
|
return (react_1.default.createElement(CatalogTableWrapper, { "data-component-name": "Catalog/CatalogTableView", style: style }, contentMinWidth != null ? (react_1.default.createElement(CatalogTableContentInner, { "$contentMinWidth": contentMinWidth }, tableContent)) : (react_1.default.createElement(CatalogTableScrollContent, null, tableContent))));
|
|
69
69
|
};
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.svgViewerDarkMode = void 0;
|
|
4
4
|
const styled_components_1 = require("styled-components");
|
|
5
5
|
exports.svgViewerDarkMode = (0, styled_components_1.css) `
|
|
6
|
-
--svg-viewer-bg-color: var(--color-warm-grey-
|
|
6
|
+
--svg-viewer-bg-color: var(--color-warm-grey-3);
|
|
7
7
|
`;
|
|
8
8
|
//# sourceMappingURL=variables.dark.js.map
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { BaseEntity, CatalogColumn } from '../../../components/Catalog/CatalogTableView/CatalogTableView';
|
|
2
|
-
import { SortOption } from '../../types';
|
|
3
2
|
type CatalogTableHeaderCellActionsProps<T extends BaseEntity> = {
|
|
4
3
|
column: CatalogColumn<T>;
|
|
5
4
|
handleSortClick: (sortKey: string, direction: 'asc' | 'desc') => void;
|
|
6
|
-
setSortOption: (sortOption: SortOption | null) => void;
|
|
7
5
|
isColumnSorted: (sortKey: string, direction: 'asc' | 'desc') => boolean;
|
|
8
6
|
};
|
|
9
|
-
export declare function useCatalogTableHeaderCellActions<T extends BaseEntity>({ column, handleSortClick,
|
|
7
|
+
export declare function useCatalogTableHeaderCellActions<T extends BaseEntity>({ column, handleSortClick, isColumnSorted, }: CatalogTableHeaderCellActionsProps<T>): {
|
|
10
8
|
handleCellClick: () => void;
|
|
11
9
|
sortKey: string | undefined;
|
|
12
10
|
isUpActive: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useCatalogTableHeaderCellActions = useCatalogTableHeaderCellActions;
|
|
4
|
-
function useCatalogTableHeaderCellActions({ column, handleSortClick,
|
|
4
|
+
function useCatalogTableHeaderCellActions({ column, handleSortClick, isColumnSorted, }) {
|
|
5
5
|
const sortKey = column.sortKey;
|
|
6
6
|
const isUpActive = sortKey ? isColumnSorted(sortKey, 'desc') : false;
|
|
7
7
|
const isDownActive = sortKey ? isColumnSorted(sortKey, 'asc') : false;
|
|
@@ -11,9 +11,6 @@ function useCatalogTableHeaderCellActions({ column, handleSortClick, setSortOpti
|
|
|
11
11
|
if (isDownActive) {
|
|
12
12
|
handleSortClick(sortKey, 'desc');
|
|
13
13
|
}
|
|
14
|
-
else if (isUpActive) {
|
|
15
|
-
setSortOption(null);
|
|
16
|
-
}
|
|
17
14
|
else {
|
|
18
15
|
handleSortClick(sortKey, 'asc');
|
|
19
16
|
}
|
package/lib/core/styles/dark.js
CHANGED
|
@@ -4,21 +4,22 @@ exports.darkMode = void 0;
|
|
|
4
4
|
const styled_components_1 = require("styled-components");
|
|
5
5
|
const variables_dark_1 = require("../../components/Scorecard/variables.dark");
|
|
6
6
|
const variables_dark_2 = require("../../markdoc/components/Mermaid/variables.dark");
|
|
7
|
-
const variables_dark_3 = require("../../components/
|
|
8
|
-
const variables_dark_4 = require("../../components/
|
|
9
|
-
const variables_dark_5 = require("../../components/
|
|
10
|
-
const variables_dark_6 = require("../../components/
|
|
11
|
-
const variables_dark_7 = require("../../
|
|
12
|
-
const variables_dark_8 = require("../../
|
|
13
|
-
const variables_dark_9 = require("../../components/
|
|
14
|
-
const variables_dark_10 = require("../../components/
|
|
15
|
-
const variables_dark_11 = require("../../
|
|
16
|
-
const variables_dark_12 = require("../../components/
|
|
17
|
-
const variables_dark_13 = require("../../components/
|
|
18
|
-
const variables_dark_14 = require("../../components/
|
|
19
|
-
const variables_dark_15 = require("../../components/
|
|
20
|
-
const variables_dark_16 = require("../../components/
|
|
21
|
-
const variables_dark_17 = require("../../components/
|
|
7
|
+
const variables_dark_3 = require("../../markdoc/components/ExcalidrawDiagram/variables.dark");
|
|
8
|
+
const variables_dark_4 = require("../../components/Menu/variables.dark");
|
|
9
|
+
const variables_dark_5 = require("../../components/Button/variables.dark");
|
|
10
|
+
const variables_dark_6 = require("../../components/Buttons/variables.dark");
|
|
11
|
+
const variables_dark_7 = require("../../components/Segmented/variables.dark");
|
|
12
|
+
const variables_dark_8 = require("../../icons/CheckboxIcon/variables.dark");
|
|
13
|
+
const variables_dark_9 = require("../../components/Tag/variables.dark");
|
|
14
|
+
const variables_dark_10 = require("../../components/StatusCode/variables.dark");
|
|
15
|
+
const variables_dark_11 = require("../../components/Switch/variables.dark");
|
|
16
|
+
const variables_dark_12 = require("../../markdoc/components/Cards/variables.dark");
|
|
17
|
+
const variables_dark_13 = require("../../components/Catalog/variables.dark");
|
|
18
|
+
const variables_dark_14 = require("../../components/PageActions/variables.dark");
|
|
19
|
+
const variables_dark_15 = require("../../components/Tooltip/variables.dark");
|
|
20
|
+
const variables_dark_16 = require("../../components/Banner/variables.dark");
|
|
21
|
+
const variables_dark_17 = require("../../components/Admonition/variables.dark");
|
|
22
|
+
const variables_dark_18 = require("../../components/SvgViewer/variables.dark");
|
|
22
23
|
const replayDarkMode = (0, styled_components_1.css) `
|
|
23
24
|
/**
|
|
24
25
|
* @tokens Replay Colors
|
|
@@ -44,6 +45,8 @@ const replayDarkMode = (0, styled_components_1.css) `
|
|
|
44
45
|
--replay-runtime-expression-bg-color: rgba(147, 166, 249, 0.16); // @presenter Color
|
|
45
46
|
--replay-operators-color: rgba(168, 143, 88, 1); // @presenter Color
|
|
46
47
|
|
|
48
|
+
--replay-ai-user-message-gradient: linear-gradient(73.52deg, rgba(113, 94, 254, 0.16) 10.13%, rgba(255, 92, 220, 0.16) 87.29%);
|
|
49
|
+
|
|
47
50
|
// @tokens End
|
|
48
51
|
`;
|
|
49
52
|
const badgesDarkMode = (0, styled_components_1.css) `
|
|
@@ -325,24 +328,25 @@ exports.darkMode = (0, styled_components_1.css) `
|
|
|
325
328
|
--plus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H4.6875V6.79687C4.6875 6.83984 4.72266 6.875 4.76562 6.875H5.23438C5.27734 6.875 5.3125 6.83984 5.3125 6.79687V5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H5.3125V3.20312C5.3125 3.16016 5.27734 3.125 5.23438 3.125H4.76562C4.72266 3.125 4.6875 3.16016 4.6875 3.20312V4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%239B9CA8'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%239B9CA8'/%3E%3C/svg%3E%0A");
|
|
326
329
|
--minus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%239B9CA8'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%239B9CA8'/%3E%3C/svg%3E%0A");
|
|
327
330
|
|
|
328
|
-
${
|
|
329
|
-
${
|
|
330
|
-
${
|
|
331
|
-
${
|
|
332
|
-
${
|
|
333
|
-
${
|
|
334
|
-
${
|
|
331
|
+
${variables_dark_7.segmentedButtonsDarkMode}
|
|
332
|
+
${variables_dark_5.buttonDarkMode}
|
|
333
|
+
${variables_dark_6.aiAssistantButtonDarkMode}
|
|
334
|
+
${variables_dark_8.checkboxDarkMode}
|
|
335
|
+
${variables_dark_9.tagDarkMode}
|
|
336
|
+
${variables_dark_10.statusCodeDarkMode}
|
|
337
|
+
${variables_dark_4.menuDarkMode}
|
|
335
338
|
${variables_dark_2.mermaidDarkMode}
|
|
339
|
+
${variables_dark_3.excalidrawDarkMode}
|
|
336
340
|
${variables_dark_1.scorecardDarkMode}
|
|
337
341
|
${replayDarkMode}
|
|
338
|
-
${
|
|
339
|
-
${
|
|
340
|
-
${
|
|
341
|
-
${
|
|
342
|
-
${
|
|
343
|
-
${
|
|
344
|
-
${
|
|
345
|
-
${
|
|
342
|
+
${variables_dark_11.switcherDarkMode}
|
|
343
|
+
${variables_dark_12.cardsDarkMode}
|
|
344
|
+
${variables_dark_13.catalogDarkMode}
|
|
345
|
+
${variables_dark_14.pageActionsDarkMode}
|
|
346
|
+
${variables_dark_15.tooltipDarkMode}
|
|
347
|
+
${variables_dark_16.bannerDarkMode}
|
|
348
|
+
${variables_dark_17.admonitionDarkMode}
|
|
349
|
+
${variables_dark_18.svgViewerDarkMode}
|
|
346
350
|
${badgesDarkMode}
|
|
347
351
|
|
|
348
352
|
/**
|