@epam/ai-dial-catalog 1.0.12 → 1.0.13

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-catalog",
3
3
  "description": "Marketplace catalog component for browsing models, tools, and assistants with search, filter, and sort",
4
- "version": "1.0.12",
4
+ "version": "1.0.13",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -19,8 +19,8 @@
19
19
  "peerDependencies": {
20
20
  "react": "^19.0.0",
21
21
  "@tabler/icons-react": "^3.0.0",
22
- "@epam/ai-dial-chat-shared": "1.0.12",
23
- "@epam/ai-dial-publish-panel": "1.0.12",
22
+ "@epam/ai-dial-chat-shared": "1.0.13",
23
+ "@epam/ai-dial-publish-panel": "1.0.13",
24
24
  "ag-grid-community": "35.3.0",
25
25
  "@epam/ai-dial-ui-kit": "^0.14.0-dev.15"
26
26
  },
@@ -8,8 +8,14 @@ export declare const filterByMyApp: (items: CatalogItem[]) => CatalogItem[];
8
8
  /** Derives the set of distinct topic values present across `items`. */
9
9
  export declare const getTopicOptions: (items: CatalogItem[]) => Set<string>;
10
10
  /**
11
- * Returns a filtered array of items whose name, description, or type includes the query.
11
+ * Returns a filtered array of items whose name includes the query.
12
12
  * Case-insensitive and ignores leading/trailing whitespace.
13
+ *
14
+ * Only `name` is matched, because the name is the only text the card and the
15
+ * list row highlight. Matching `description` or `type` as well kept rows whose
16
+ * visible name had nothing in common with the query — a word that is common in
17
+ * tool descriptions, or any substring of an entity type such as `TOOLSET`,
18
+ * returned the whole category.
13
19
  */
14
20
  export declare const filterCatalogItems: (items: CatalogItem[], query: string) => CatalogItem[];
15
21
  //# sourceMappingURL=catalog-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"catalog-filter.d.ts","sourceRoot":"","sources":["../../src/utils/catalog-filter.ts"],"names":[],"mappings":"AAAA,O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