@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
|
@@ -31,20 +31,21 @@ const variables_26 = require("../../components/Markdown/variables");
|
|
|
31
31
|
const variables_27 = require("../../components/Banner/variables");
|
|
32
32
|
const variables_28 = require("../../markdoc/components/Tabs/variables");
|
|
33
33
|
const variables_29 = require("../../markdoc/components/Mermaid/variables");
|
|
34
|
-
const variables_30 = require("../../components/
|
|
35
|
-
const variables_31 = require("../../components/
|
|
36
|
-
const variables_32 = require("../../components/
|
|
37
|
-
const variables_33 = require("../../components/
|
|
38
|
-
const variables_34 = require("../../components/
|
|
39
|
-
const variables_35 = require("../../components/
|
|
40
|
-
const variables_36 = require("../../components/
|
|
41
|
-
const variables_37 = require("../../components/
|
|
42
|
-
const variables_38 = require("../../components/
|
|
43
|
-
const variables_39 = require("../../
|
|
44
|
-
const variables_40 = require("../../markdoc/components/
|
|
45
|
-
const variables_41 = require("../../components/
|
|
46
|
-
const variables_42 = require("../../components/
|
|
47
|
-
const variables_43 = require("../../components/
|
|
34
|
+
const variables_30 = require("../../markdoc/components/ExcalidrawDiagram/variables");
|
|
35
|
+
const variables_31 = require("../../components/LastUpdated/variables");
|
|
36
|
+
const variables_32 = require("../../components/Logo/variables");
|
|
37
|
+
const variables_33 = require("../../components/StatusCode/variables");
|
|
38
|
+
const variables_34 = require("../../components/Segmented/variables");
|
|
39
|
+
const variables_35 = require("../../components/UserMenu/variables");
|
|
40
|
+
const variables_36 = require("../../components/Tags/variables");
|
|
41
|
+
const variables_37 = require("../../components/VersionPicker/variables");
|
|
42
|
+
const variables_38 = require("../../components/DatePicker/variables");
|
|
43
|
+
const variables_39 = require("../../components/Switch/variables");
|
|
44
|
+
const variables_40 = require("../../markdoc/components/Cards/variables");
|
|
45
|
+
const variables_41 = require("../../markdoc/components/CodeWalkthrough/variables");
|
|
46
|
+
const variables_42 = require("../../components/SkipContent/variables");
|
|
47
|
+
const variables_43 = require("../../components/PageActions/variables");
|
|
48
|
+
const variables_44 = require("../../components/SvgViewer/variables");
|
|
48
49
|
const dark_1 = require("./dark");
|
|
49
50
|
const themeColors = (0, styled_components_1.css) `
|
|
50
51
|
/* === Palette === */
|
|
@@ -1148,7 +1149,7 @@ const icon = (0, styled_components_1.css) `
|
|
|
1148
1149
|
|
|
1149
1150
|
--icon-color-primary: var(--color-warm-grey-11); // @presenter Color
|
|
1150
1151
|
--icon-color-secondary: var(--color-warm-grey-8); // @presenter Color
|
|
1151
|
-
--icon-color-on-color: var(--color-
|
|
1152
|
+
--icon-color-on-color: var(--color-static-white); // @presenter Color
|
|
1152
1153
|
--icon-color-interactive: var(--color-blueberry-6); // @presenter Color
|
|
1153
1154
|
--icon-color-inverse: var(--color-white); // @presenter Color
|
|
1154
1155
|
--icon-color-disabled: var(--color-warm-grey-5); // @presenter Color
|
|
@@ -1230,6 +1231,11 @@ const replay = (0, styled_components_1.css) `
|
|
|
1230
1231
|
--replay-runtime-expression-bg-color: rgba(54, 90, 249, 0.08); // @presenter Color
|
|
1231
1232
|
--replay-operators-color: rgba(193, 142, 31, 1); // @presenter Color
|
|
1232
1233
|
|
|
1234
|
+
--replay-ai-gradient-soft: linear-gradient(62.6deg, rgba(113, 94, 254, 0.16) 0%, rgba(255, 92, 220, 0.16) 100%);
|
|
1235
|
+
--replay-ai-gradient-disabled: linear-gradient(62.6deg, rgba(113, 94, 254, 0.6) 0%, rgba(255, 92, 220, 0.6) 100%);
|
|
1236
|
+
--replay-ai-user-message-gradient: linear-gradient(73.52deg, rgba(113, 94, 254, 0.08) 10.13%, rgba(255, 92, 220, 0.08) 87.29%);
|
|
1237
|
+
|
|
1238
|
+
--replay-ai-send-button-disabled-border: 1px solid #ffffff33;
|
|
1233
1239
|
// @tokens End
|
|
1234
1240
|
`;
|
|
1235
1241
|
exports.styles = (0, styled_components_1.css) `
|
|
@@ -1245,27 +1251,28 @@ exports.styles = (0, styled_components_1.css) `
|
|
|
1245
1251
|
${variables_19.button}
|
|
1246
1252
|
${variables_20.aiAssistantButton}
|
|
1247
1253
|
${variables_20.connectMCPButton}
|
|
1248
|
-
${
|
|
1254
|
+
${variables_40.cards}
|
|
1249
1255
|
${variables_8.catalog}
|
|
1250
1256
|
${variables_10.catalogClassic}
|
|
1251
1257
|
${variables_24.code}
|
|
1252
|
-
${
|
|
1258
|
+
${variables_41.codeWalkthrough}
|
|
1253
1259
|
${docsDropdown}
|
|
1254
1260
|
${variables_14.dropdown}
|
|
1255
1261
|
${error}
|
|
1256
1262
|
${variables_9.filter}
|
|
1257
1263
|
${variables_18.footer}
|
|
1258
1264
|
${headingsTypography}
|
|
1259
|
-
${
|
|
1265
|
+
${variables_36.httpTag}
|
|
1260
1266
|
${inputs}
|
|
1261
1267
|
${variables_1.languagePicker}
|
|
1262
|
-
${
|
|
1268
|
+
${variables_31.lastUpdated}
|
|
1263
1269
|
${links}
|
|
1264
1270
|
${loadProgressBar}
|
|
1265
|
-
${
|
|
1271
|
+
${variables_32.logo}
|
|
1266
1272
|
${variables_26.markdown}
|
|
1267
1273
|
${variables_28.markdownTabs}
|
|
1268
1274
|
${variables_29.mermaid}
|
|
1275
|
+
${variables_30.excalidraw}
|
|
1269
1276
|
${variables_23.menu}
|
|
1270
1277
|
${variables_23.mobileMenu}
|
|
1271
1278
|
${modal}
|
|
@@ -1283,24 +1290,24 @@ exports.styles = (0, styled_components_1.css) `
|
|
|
1283
1290
|
${variables_7.toc}
|
|
1284
1291
|
${variables_15.tooltip}
|
|
1285
1292
|
${typography}
|
|
1286
|
-
${
|
|
1287
|
-
${
|
|
1293
|
+
${variables_35.userMenu}
|
|
1294
|
+
${variables_37.versionPicker}
|
|
1288
1295
|
${zIndexDepth}
|
|
1289
1296
|
${scorecardColors}
|
|
1290
|
-
${
|
|
1297
|
+
${variables_33.statusCode}
|
|
1291
1298
|
${tab}
|
|
1292
1299
|
${icon}
|
|
1293
1300
|
${tree}
|
|
1294
|
-
${
|
|
1295
|
-
${
|
|
1301
|
+
${variables_34.segmented}
|
|
1302
|
+
${variables_39.switcher}
|
|
1296
1303
|
${variables_16.checkbox}
|
|
1297
1304
|
${variables_3.feedback}
|
|
1298
1305
|
${variables_2.scorecard}
|
|
1299
|
-
${
|
|
1306
|
+
${variables_38.datePicker}
|
|
1300
1307
|
${replay}
|
|
1301
|
-
${
|
|
1302
|
-
${
|
|
1303
|
-
${
|
|
1308
|
+
${variables_42.skipContent}
|
|
1309
|
+
${variables_43.pageActions}
|
|
1310
|
+
${variables_44.svgViewer}
|
|
1304
1311
|
|
|
1305
1312
|
background-color: var(--bg-color);
|
|
1306
1313
|
color: var(--text-color-primary);
|
|
@@ -5,7 +5,7 @@ import type { Callback, TFunction as TFunc } from 'i18next';
|
|
|
5
5
|
import type { To, Location, NavigateFunction } from 'react-router-dom';
|
|
6
6
|
import type { UseQueryResult } from '@tanstack/react-query';
|
|
7
7
|
import type { CatalogConfig, ProductUiConfig } from '../../config';
|
|
8
|
-
import type { UseCatalogResponse, FilteredCatalog, UseCatalogSortResponse, UseCatalogSearchResponse, UseCatalogProps, CatalogApiParams, CatalogApiResults } from './catalog';
|
|
8
|
+
import type { UseCatalogResponse, FilteredCatalog, UseCatalogSortResponse, UseCatalogSearchResponse, UseCatalogProps, CatalogApiParams, CatalogApiResults, SortOption } from './catalog';
|
|
9
9
|
import type { UserMenuData } from './user-menu';
|
|
10
10
|
import type { ItemState } from './sidebar';
|
|
11
11
|
import type { SearchItemData, SearchFacet, SearchFilterItem, SearchFacetQuery, AiSearchConversationItem, ToolCallName, ContentSegment } from './search';
|
|
@@ -137,7 +137,7 @@ export type ThemeHooks = {
|
|
|
137
137
|
nextPage?: ResolvedNavItemWithLink;
|
|
138
138
|
} | undefined;
|
|
139
139
|
useCatalog: (props?: UseCatalogProps) => UseCatalogResponse;
|
|
140
|
-
useCatalogSort: () => UseCatalogSortResponse;
|
|
140
|
+
useCatalogSort: (defaultSortOption?: SortOption | null) => UseCatalogSortResponse;
|
|
141
141
|
useCatalogSearch: () => UseCatalogSearchResponse;
|
|
142
142
|
useFetchCatalogEntities: (params: CatalogApiParams, initialData?: BffCatalogEntityList) => CatalogApiResults<BffCatalogEntity>;
|
|
143
143
|
useFetchCatalogEntitiesRelations: (params: CatalogApiParams & {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IconProps } from '../../icons/types';
|
|
3
|
+
export declare const ColorPaletteIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
|
|
4
|
+
'data-component-name': string;
|
|
5
|
+
} & {
|
|
6
|
+
color?: string;
|
|
7
|
+
size?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
} & React.SVGProps<SVGSVGElement>, "data-component-name">;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ColorPaletteIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const utils_1 = require("../../core/utils");
|
|
10
|
+
const Icon = (props) => (react_1.default.createElement("svg", Object.assign({ viewBox: "0 0 13 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
11
|
+
react_1.default.createElement("path", { d: "M3.5 5.25456C3.98325 5.25456 4.375 4.86281 4.375 4.37956C4.375 3.89631 3.98325 3.50456 3.5 3.50456C3.01675 3.50456 2.625 3.89631 2.625 4.37956C2.625 4.86281 3.01675 5.25456 3.5 5.25456Z" }),
|
|
12
|
+
react_1.default.createElement("path", { d: "M6.125 3.94206C6.60825 3.94206 7 3.55031 7 3.06706C7 2.58381 6.60825 2.19206 6.125 2.19206C5.64175 2.19206 5.25 2.58381 5.25 3.06706C5.25 3.55031 5.64175 3.94206 6.125 3.94206Z" }),
|
|
13
|
+
react_1.default.createElement("path", { d: "M8.75 5.25456C9.23325 5.25456 9.625 4.86281 9.625 4.37956C9.625 3.89631 9.23325 3.50456 8.75 3.50456C8.26675 3.50456 7.875 3.89631 7.875 4.37956C7.875 4.86281 8.26675 5.25456 8.75 5.25456Z" }),
|
|
14
|
+
react_1.default.createElement("path", { d: "M9.1875 7.87956C9.67075 7.87956 10.0625 7.48781 10.0625 7.00456C10.0625 6.52131 9.67075 6.12956 9.1875 6.12956C8.70425 6.12956 8.3125 6.52131 8.3125 7.00456C8.3125 7.48781 8.70425 7.87956 9.1875 7.87956Z" }),
|
|
15
|
+
react_1.default.createElement("path", { d: "M7.4375 10.0671C7.92075 10.0671 8.3125 9.67531 8.3125 9.19206C8.3125 8.70881 7.92075 8.31706 7.4375 8.31706C6.95425 8.31706 6.5625 8.70881 6.5625 9.19206C6.5625 9.67531 6.95425 10.0671 7.4375 10.0671Z" }),
|
|
16
|
+
react_1.default.createElement("path", { d: "M6.36125 0.00455826C5.53725 -0.0272487 4.7153 0.107661 3.9447 0.401198C3.17409 0.694735 2.4707 1.14086 1.87668 1.71281C1.28266 2.28477 0.810249 2.97079 0.487771 3.72974C0.165293 4.48869 -0.000611956 5.30494 1.69613e-06 6.12956C-2.00107e-05 6.45389 0.074769 6.77385 0.218553 7.06457C0.362337 7.35528 0.57124 7.60891 0.829017 7.80574C1.08679 8.00256 1.3865 8.13728 1.70482 8.1994C2.02315 8.26153 2.35151 8.24939 2.66438 8.16393L3.15438 8.02831C3.3493 7.9751 3.55388 7.96761 3.75217 8.00643C3.95047 8.04526 4.13712 8.12934 4.29759 8.25212C4.45806 8.37491 4.58801 8.53309 4.67733 8.71433C4.76664 8.89558 4.8129 9.095 4.8125 9.29706V10.9421C4.8125 11.2902 4.95078 11.624 5.19692 11.8701C5.44307 12.1163 5.77691 12.2546 6.125 12.2546C6.94962 12.2552 7.76587 12.0893 8.52482 11.7668C9.28377 11.4443 9.96979 10.9719 10.5417 10.3779C11.1137 9.78386 11.5598 9.08046 11.8534 8.30986C12.1469 7.53926 12.2818 6.71731 12.25 5.89331C12.1865 4.35185 11.5457 2.89063 10.4548 1.79973C9.36393 0.708834 7.90271 0.0680368 6.36125 0.00455826ZM9.90938 9.76518C9.42087 10.2766 8.83352 10.6835 8.18297 10.961C7.53243 11.2385 6.83227 11.3809 6.125 11.3796C6.00897 11.3796 5.89769 11.3335 5.81564 11.2514C5.7336 11.1694 5.6875 11.0581 5.6875 10.9421V9.29706C5.6875 8.7169 5.45703 8.1605 5.0468 7.75026C4.63656 7.34003 4.08016 7.10956 3.5 7.10956C3.30341 7.10991 3.10774 7.13639 2.91813 7.18831L2.42813 7.32393C2.24511 7.37298 2.05326 7.37922 1.86744 7.34216C1.68163 7.3051 1.50685 7.22574 1.35665 7.11024C1.20645 6.99474 1.08488 6.84619 1.00135 6.67612C0.917824 6.50605 0.87459 6.31903 0.875002 6.12956C0.874459 5.42247 1.01676 4.72256 1.29336 4.07181C1.56996 3.42107 1.97517 2.83291 2.48466 2.34261C2.99416 1.85232 3.59745 1.47 4.25833 1.21859C4.91922 0.967181 5.62408 0.851864 6.33063 0.879558C7.64627 0.948081 8.8899 1.50154 9.82146 2.4331C10.753 3.36466 11.3065 4.60829 11.375 5.92393C11.4051 6.63092 11.2907 7.33662 11.0387 7.99785C10.7867 8.65908 10.4024 9.26195 9.90938 9.76956V9.76518Z" })));
|
|
17
|
+
exports.ColorPaletteIcon = (0, styled_components_1.default)(Icon).attrs(() => ({
|
|
18
|
+
'data-component-name': 'icons/ColorPaletteIcon/ColorPaletteIcon',
|
|
19
|
+
})) `
|
|
20
|
+
path {
|
|
21
|
+
fill: ${({ color }) => (0, utils_1.getCssColorVariable)(color)};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
height: ${({ size }) => size || '16px'};
|
|
25
|
+
width: ${({ size }) => size || '16px'};
|
|
26
|
+
`;
|
|
27
|
+
//# sourceMappingURL=ColorPaletteIcon.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IconProps } from '../../icons/types';
|
|
3
|
+
export declare const StopIcon: import("styled-components").StyledComponent<(props: IconProps) => React.JSX.Element, any, {
|
|
4
|
+
'data-component-name': string;
|
|
5
|
+
} & {
|
|
6
|
+
color?: string;
|
|
7
|
+
size?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
} & React.SVGProps<SVGSVGElement>, "data-component-name">;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.StopIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const utils_1 = require("../../core/utils");
|
|
10
|
+
const Icon = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, props),
|
|
11
|
+
react_1.default.createElement("path", { d: "M10.5 3.5V10.5H3.5V3.5H10.5ZM10.5 2.625H3.5C3.26794 2.625 3.04538 2.71719 2.88128 2.88128C2.71719 3.04538 2.625 3.26794 2.625 3.5V10.5C2.625 10.7321 2.71719 10.9546 2.88128 11.1187C3.04538 11.2828 3.26794 11.375 3.5 11.375H10.5C10.7321 11.375 10.9546 11.2828 11.1187 11.1187C11.2828 10.9546 11.375 10.7321 11.375 10.5V3.5C11.375 3.26794 11.2828 3.04538 11.1187 2.88128C10.9546 2.71719 10.7321 2.625 10.5 2.625Z" })));
|
|
12
|
+
exports.StopIcon = (0, styled_components_1.default)(Icon).attrs(() => ({
|
|
13
|
+
'data-component-name': 'icons/StopIcon/StopIcon',
|
|
14
|
+
})) `
|
|
15
|
+
path {
|
|
16
|
+
fill: ${({ color }) => (0, utils_1.getCssColorVariable)(color)};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
height: ${({ size }) => size || '16px'};
|
|
20
|
+
width: ${({ size }) => size || '16px'};
|
|
21
|
+
`;
|
|
22
|
+
//# sourceMappingURL=StopIcon.js.map
|
package/lib/index.d.ts
CHANGED
|
@@ -247,6 +247,7 @@ export * from './icons/FileIcon/FileIcon';
|
|
|
247
247
|
export * from './icons/ExportIcon/ExportIcon';
|
|
248
248
|
export * from './icons/CertificateIcon/CertificateIcon';
|
|
249
249
|
export * from './icons/PlayIcon/PlayIcon';
|
|
250
|
+
export * from './icons/StopIcon/StopIcon';
|
|
250
251
|
export * from './icons/PlaylistIcon/PlaylistIcon';
|
|
251
252
|
export * from './icons/WorkflowAutomationIcon/WorkflowAutomationIcon';
|
|
252
253
|
export * from './icons/TaskViewIcon/TaskViewIcon';
|
|
@@ -269,6 +270,7 @@ export * from './icons/GenericIcon/GenericIcon';
|
|
|
269
270
|
export * from './icons/ShareIcon/ShareIcon';
|
|
270
271
|
export * from './icons/HashtagIcon/HashtagIcon';
|
|
271
272
|
export * from './icons/FitToViewIcon/FitToViewIcon';
|
|
273
|
+
export * from './icons/ColorPaletteIcon/ColorPaletteIcon';
|
|
272
274
|
export * from './layouts/RootLayout';
|
|
273
275
|
export * from './layouts/PageLayout';
|
|
274
276
|
export * from './layouts/NotFound';
|
package/lib/index.js
CHANGED
|
@@ -310,6 +310,7 @@ __exportStar(require("./icons/FileIcon/FileIcon"), exports);
|
|
|
310
310
|
__exportStar(require("./icons/ExportIcon/ExportIcon"), exports);
|
|
311
311
|
__exportStar(require("./icons/CertificateIcon/CertificateIcon"), exports);
|
|
312
312
|
__exportStar(require("./icons/PlayIcon/PlayIcon"), exports);
|
|
313
|
+
__exportStar(require("./icons/StopIcon/StopIcon"), exports);
|
|
313
314
|
__exportStar(require("./icons/PlaylistIcon/PlaylistIcon"), exports);
|
|
314
315
|
__exportStar(require("./icons/WorkflowAutomationIcon/WorkflowAutomationIcon"), exports);
|
|
315
316
|
__exportStar(require("./icons/TaskViewIcon/TaskViewIcon"), exports);
|
|
@@ -332,6 +333,7 @@ __exportStar(require("./icons/GenericIcon/GenericIcon"), exports);
|
|
|
332
333
|
__exportStar(require("./icons/ShareIcon/ShareIcon"), exports);
|
|
333
334
|
__exportStar(require("./icons/HashtagIcon/HashtagIcon"), exports);
|
|
334
335
|
__exportStar(require("./icons/FitToViewIcon/FitToViewIcon"), exports);
|
|
336
|
+
__exportStar(require("./icons/ColorPaletteIcon/ColorPaletteIcon"), exports);
|
|
335
337
|
/* Layouts */
|
|
336
338
|
__exportStar(require("./layouts/RootLayout"), exports);
|
|
337
339
|
__exportStar(require("./layouts/PageLayout"), exports);
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ExcalidrawDiagram = ExcalidrawDiagram;
|
|
40
|
+
const react_1 = __importStar(require("react"));
|
|
41
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
42
|
+
const utils_1 = require("../../../core/utils");
|
|
43
|
+
const hooks_1 = require("../../../core/hooks");
|
|
44
|
+
const SvgViewer_1 = require("../../../components/SvgViewer/SvgViewer");
|
|
45
|
+
function ExcalidrawDiagram({ diagramHtml, className }) {
|
|
46
|
+
const { useTranslate } = (0, hooks_1.useThemeHooks)();
|
|
47
|
+
const { translate } = useTranslate();
|
|
48
|
+
const [isOpen, setIsOpen] = (0, react_1.useState)(false);
|
|
49
|
+
const open = () => setIsOpen(true);
|
|
50
|
+
const close = () => setIsOpen(false);
|
|
51
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
52
|
+
react_1.default.createElement(Wrapper, { className: (0, utils_1.concatClassNames)('excalidraw-wrapper', className), dangerouslySetInnerHTML: { __html: diagramHtml }, "data-component-name": "Markdoc/ExcalidrawDiagram/ExcalidrawDiagram", onClick: open, onKeyDown: (e) => (e.key === 'Enter' || e.key === ' ') && open(), role: "button", tabIndex: 0, "aria-label": translate('excalidraw.openFullscreen', 'Click to open diagram in fullscreen') }),
|
|
53
|
+
react_1.default.createElement(SvgViewer_1.SvgViewer, { isOpen: isOpen, onClose: close, labels: {
|
|
54
|
+
zoomIn: translate('excalidraw.zoomIn', 'Zoom in'),
|
|
55
|
+
zoomOut: translate('excalidraw.zoomOut', 'Zoom out'),
|
|
56
|
+
fitToView: translate('excalidraw.reset', 'Fit to view'),
|
|
57
|
+
close: translate('excalidraw.close', 'Close'),
|
|
58
|
+
dialogLabel: translate('excalidraw.viewer', 'Excalidraw diagram viewer'),
|
|
59
|
+
} },
|
|
60
|
+
react_1.default.createElement(ViewerContent, { dangerouslySetInnerHTML: { __html: diagramHtml } }))));
|
|
61
|
+
}
|
|
62
|
+
const Wrapper = styled_components_1.default.div `
|
|
63
|
+
background-color: var(--excalidraw-bg-color);
|
|
64
|
+
border-radius: var(--excalidraw-border-radius);
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
transition: box-shadow 0.2s ease;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
|
|
69
|
+
&:hover,
|
|
70
|
+
&:focus {
|
|
71
|
+
outline: none;
|
|
72
|
+
box-shadow: 0 0 0 2px var(--border-color-input-focus);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
svg {
|
|
76
|
+
max-width: 100%;
|
|
77
|
+
height: auto;
|
|
78
|
+
display: block;
|
|
79
|
+
|
|
80
|
+
> rect {
|
|
81
|
+
fill: var(--excalidraw-bg-color);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
& + & {
|
|
86
|
+
margin-top: var(--spacing-md);
|
|
87
|
+
}
|
|
88
|
+
`;
|
|
89
|
+
const ViewerContent = styled_components_1.default.div `
|
|
90
|
+
svg {
|
|
91
|
+
display: block;
|
|
92
|
+
max-width: none !important;
|
|
93
|
+
}
|
|
94
|
+
`;
|
|
95
|
+
//# sourceMappingURL=ExcalidrawDiagram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const excalidraw: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const excalidrawDarkMode: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.excalidrawDarkMode = void 0;
|
|
4
|
+
const styled_components_1 = require("styled-components");
|
|
5
|
+
exports.excalidrawDarkMode = (0, styled_components_1.css) `
|
|
6
|
+
--excalidraw-bg-color: var(--bg-color); // @presenter Color
|
|
7
|
+
`;
|
|
8
|
+
//# sourceMappingURL=variables.dark.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.excalidraw = void 0;
|
|
4
|
+
const styled_components_1 = require("styled-components");
|
|
5
|
+
exports.excalidraw = (0, styled_components_1.css) `
|
|
6
|
+
/**
|
|
7
|
+
* @tokens Excalidraw
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
--excalidraw-bg-color: var(--bg-color); // @presenter Color
|
|
11
|
+
--excalidraw-border-radius: var(--border-radius-lg); // @presenter BorderRadius
|
|
12
|
+
|
|
13
|
+
// @tokens End
|
|
14
|
+
`;
|
|
15
|
+
//# sourceMappingURL=variables.js.map
|
|
@@ -3,6 +3,7 @@ export * from '../../markdoc/components/InlineSvg/InlineSvg';
|
|
|
3
3
|
export * from '../../markdoc/components/MarkdocExample/MarkdocExample';
|
|
4
4
|
export * from '../../markdoc/components/Heading/Heading';
|
|
5
5
|
export * from '../../markdoc/components/Mermaid/Mermaid';
|
|
6
|
+
export * from '../../markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram';
|
|
6
7
|
export * from '../../markdoc/components/HtmlBlock/HtmlBlock';
|
|
7
8
|
export * from '../../markdoc/components/Tabs/Tab';
|
|
8
9
|
export * from '../../markdoc/components/Tabs/TabList';
|
|
@@ -19,6 +19,7 @@ __exportStar(require("../../markdoc/components/InlineSvg/InlineSvg"), exports);
|
|
|
19
19
|
__exportStar(require("../../markdoc/components/MarkdocExample/MarkdocExample"), exports);
|
|
20
20
|
__exportStar(require("../../markdoc/components/Heading/Heading"), exports);
|
|
21
21
|
__exportStar(require("../../markdoc/components/Mermaid/Mermaid"), exports);
|
|
22
|
+
__exportStar(require("../../markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram"), exports);
|
|
22
23
|
__exportStar(require("../../markdoc/components/HtmlBlock/HtmlBlock"), exports);
|
|
23
24
|
__exportStar(require("../../markdoc/components/Tabs/Tab"), exports);
|
|
24
25
|
__exportStar(require("../../markdoc/components/Tabs/TabList"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.0-next.1",
|
|
4
4
|
"description": "Shared UI components lib",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"vitest": "4.0.10",
|
|
64
64
|
"vitest-when": "0.6.2",
|
|
65
65
|
"webpack": "5.105.2",
|
|
66
|
-
"@redocly/realm-asyncapi-sdk": "0.
|
|
66
|
+
"@redocly/realm-asyncapi-sdk": "0.10.0-next.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@tanstack/react-query": "5.62.3",
|
|
@@ -22,11 +22,10 @@ import { CatalogSelector } from '@redocly/theme/components/Catalog/CatalogSelect
|
|
|
22
22
|
import { SidebarActions } from '@redocly/theme/components/SidebarActions/SidebarActions';
|
|
23
23
|
import { CounterTag } from '@redocly/theme/components/Tags/CounterTag';
|
|
24
24
|
import { FilterInput } from '@redocly/theme/components/Filter/FilterInput';
|
|
25
|
-
import { CatalogViewModeToggle } from '@redocly/theme/components/Catalog/CatalogViewModeToggle';
|
|
26
|
-
import { CatalogSortButton } from '@redocly/theme/components/Catalog/CatalogSortButton';
|
|
27
25
|
import { CatalogEntities } from '@redocly/theme/components/Catalog/CatalogEntities';
|
|
28
26
|
import { CatalogMobileTopBar } from '@redocly/theme/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar';
|
|
29
27
|
import { CatalogMobileFiltersPanelOverlay } from '@redocly/theme/components/Catalog/CatalogMobileFiltersPanel/CatalogMobileFiltersPanelOverlay';
|
|
28
|
+
import { CatalogActionsRow } from '@redocly/theme/components/Catalog/CatalogActionsRow';
|
|
30
29
|
|
|
31
30
|
type CatalogFiltersWithCounts = Record<string, { value: string; count: number }[]>;
|
|
32
31
|
|
|
@@ -173,20 +172,14 @@ export function Catalog(props: CatalogProps): JSX.Element {
|
|
|
173
172
|
{translate(catalogConfig?.descriptionTranslationKey)}
|
|
174
173
|
</CatalogDescription>
|
|
175
174
|
|
|
176
|
-
<CatalogActionsRow
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
<CatalogControlsWrapper>
|
|
186
|
-
<CatalogSortButton onSortChange={setSortOption} currentSort={sortOption} />
|
|
187
|
-
<CatalogViewModeToggle viewMode={viewMode} onViewModeChange={setViewMode} />
|
|
188
|
-
</CatalogControlsWrapper>
|
|
189
|
-
</CatalogActionsRow>
|
|
175
|
+
<CatalogActionsRow
|
|
176
|
+
searchQuery={searchQuery}
|
|
177
|
+
setSearchQuery={setSearchQuery}
|
|
178
|
+
sortOption={sortOption}
|
|
179
|
+
setSortOption={setSortOption}
|
|
180
|
+
viewMode={viewMode}
|
|
181
|
+
onViewModeChange={setViewMode}
|
|
182
|
+
/>
|
|
190
183
|
|
|
191
184
|
<CatalogEntities
|
|
192
185
|
catalogConfig={catalogConfig}
|
|
@@ -198,7 +191,6 @@ export function Catalog(props: CatalogProps): JSX.Element {
|
|
|
198
191
|
viewMode={viewMode}
|
|
199
192
|
setEntitiesCounter={setEntitiesCounter}
|
|
200
193
|
initialEntitiesList={initialEntitiesList}
|
|
201
|
-
setSortOption={setSortOption}
|
|
202
194
|
handleSortClick={handleSortClick}
|
|
203
195
|
isColumnSorted={isColumnSorted}
|
|
204
196
|
/>
|
|
@@ -210,23 +202,6 @@ export function Catalog(props: CatalogProps): JSX.Element {
|
|
|
210
202
|
);
|
|
211
203
|
}
|
|
212
204
|
|
|
213
|
-
const CatalogActionsRow = styled.div`
|
|
214
|
-
display: flex;
|
|
215
|
-
align-items: center;
|
|
216
|
-
margin-bottom: var(--spacing-xl);
|
|
217
|
-
|
|
218
|
-
@media screen and (max-width: ${breakpoints.medium}) {
|
|
219
|
-
display: none;
|
|
220
|
-
}
|
|
221
|
-
`;
|
|
222
|
-
|
|
223
|
-
const CatalogControlsWrapper = styled.div`
|
|
224
|
-
display: var(--catalog-controls-wrapper-display);
|
|
225
|
-
align-items: var(--catalog-controls-wrapper-align-items);
|
|
226
|
-
margin-left: var(--catalog-controls-wrapper-margin-left);
|
|
227
|
-
gap: var(--catalog-controls-wrapper-gap);
|
|
228
|
-
`;
|
|
229
|
-
|
|
230
205
|
const CatalogContentWrapper = styled.div`
|
|
231
206
|
flex: 1;
|
|
232
207
|
min-width: 0;
|
|
@@ -326,12 +301,3 @@ const FiltersSidebar = styled(Sidebar)`
|
|
|
326
301
|
border: none;
|
|
327
302
|
}
|
|
328
303
|
`;
|
|
329
|
-
|
|
330
|
-
const CatalogSearchInputWrapper = styled.div`
|
|
331
|
-
display: none;
|
|
332
|
-
width: var(--catalog-search-input-wrapper-width);
|
|
333
|
-
|
|
334
|
-
@media screen and (min-width: ${breakpoints.medium}) {
|
|
335
|
-
display: block;
|
|
336
|
-
}
|
|
337
|
-
`;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React, { JSX } from 'react';
|
|
2
|
-
import styled from 'styled-components';
|
|
2
|
+
import styled, { css } from 'styled-components';
|
|
3
3
|
|
|
4
4
|
import { SortOption, CatalogViewMode } from '@redocly/theme/core/types';
|
|
5
5
|
import { FilterInput } from '@redocly/theme/components/Filter/FilterInput';
|
|
6
6
|
import { CatalogSortButton } from '@redocly/theme/components/Catalog/CatalogSortButton';
|
|
7
7
|
import { CatalogViewModeToggle } from '@redocly/theme/components/Catalog/CatalogViewModeToggle';
|
|
8
|
+
import { breakpoints } from '@redocly/theme/core';
|
|
8
9
|
|
|
9
10
|
export type CatalogActionsRowProps = {
|
|
10
11
|
searchQuery: string;
|
|
@@ -13,7 +14,7 @@ export type CatalogActionsRowProps = {
|
|
|
13
14
|
setSortOption: (option: SortOption | null) => void;
|
|
14
15
|
viewMode?: CatalogViewMode;
|
|
15
16
|
onViewModeChange?: (mode: CatalogViewMode) => void;
|
|
16
|
-
|
|
17
|
+
isDetailsPage?: boolean;
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
export function CatalogActionsRow({
|
|
@@ -23,16 +24,22 @@ export function CatalogActionsRow({
|
|
|
23
24
|
setSortOption,
|
|
24
25
|
viewMode,
|
|
25
26
|
onViewModeChange,
|
|
26
|
-
|
|
27
|
+
isDetailsPage = false,
|
|
27
28
|
}: CatalogActionsRowProps): JSX.Element {
|
|
28
29
|
return (
|
|
29
|
-
<CatalogActionsRowWrapper
|
|
30
|
+
<CatalogActionsRowWrapper isDetailsPage={isDetailsPage}>
|
|
30
31
|
<CatalogSearchInputWrapper>
|
|
31
|
-
<FilterInput
|
|
32
|
+
<FilterInput
|
|
33
|
+
value={searchQuery}
|
|
34
|
+
onChange={(updatedTerm) => setSearchQuery(updatedTerm)}
|
|
35
|
+
dataTestId="catalog-search-input"
|
|
36
|
+
/>
|
|
32
37
|
</CatalogSearchInputWrapper>
|
|
33
38
|
|
|
34
39
|
<CatalogControlsWrapper>
|
|
35
|
-
|
|
40
|
+
{viewMode === 'cards' && (
|
|
41
|
+
<CatalogSortButton onSortChange={setSortOption} currentSort={sortOption} />
|
|
42
|
+
)}
|
|
36
43
|
{viewMode && onViewModeChange && (
|
|
37
44
|
<CatalogViewModeToggle viewMode={viewMode} onViewModeChange={onViewModeChange} />
|
|
38
45
|
)}
|
|
@@ -41,9 +48,20 @@ export function CatalogActionsRow({
|
|
|
41
48
|
);
|
|
42
49
|
}
|
|
43
50
|
|
|
44
|
-
export const CatalogActionsRowWrapper = styled.div
|
|
51
|
+
export const CatalogActionsRowWrapper = styled.div<{ isDetailsPage: boolean }>`
|
|
45
52
|
display: flex;
|
|
46
53
|
align-items: center;
|
|
54
|
+
|
|
55
|
+
margin-bottom: ${({ isDetailsPage }) => (isDetailsPage ? 'var(--spacing-sm)' : 'var(--spacing-xl)')};
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
${({ isDetailsPage }) =>
|
|
59
|
+
!isDetailsPage &&
|
|
60
|
+
css`
|
|
61
|
+
@media screen and (max-width: ${breakpoints.medium}) {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
`}
|
|
47
65
|
`;
|
|
48
66
|
|
|
49
67
|
export const CatalogControlsWrapper = styled.div`
|
|
@@ -25,7 +25,6 @@ export type CatalogEntitiesProps = {
|
|
|
25
25
|
setEntitiesCounter: (counter: number) => void;
|
|
26
26
|
initialEntitiesList?: BffCatalogEntityList;
|
|
27
27
|
sortOption: SortOption | null;
|
|
28
|
-
setSortOption: (sortOption: SortOption | null) => void;
|
|
29
28
|
handleSortClick: (sortKey: string, direction: 'asc' | 'desc') => void;
|
|
30
29
|
isColumnSorted: (sortKey: string, direction: 'asc' | 'desc') => boolean;
|
|
31
30
|
};
|
|
@@ -42,7 +41,6 @@ export function CatalogEntities(props: CatalogEntitiesProps): JSX.Element {
|
|
|
42
41
|
searchQuery,
|
|
43
42
|
viewMode,
|
|
44
43
|
setEntitiesCounter,
|
|
45
|
-
setSortOption,
|
|
46
44
|
handleSortClick,
|
|
47
45
|
isColumnSorted,
|
|
48
46
|
} = props;
|
|
@@ -109,7 +107,6 @@ export function CatalogEntities(props: CatalogEntitiesProps): JSX.Element {
|
|
|
109
107
|
<CatalogTableView<BffCatalogEntity>
|
|
110
108
|
entities={entities}
|
|
111
109
|
catalogConfig={catalogConfig}
|
|
112
|
-
setSortOption={setSortOption}
|
|
113
110
|
currentSortOption={sortOption}
|
|
114
111
|
handleSortClick={handleSortClick}
|
|
115
112
|
isColumnSorted={isColumnSorted}
|