@epam/ai-dial-catalog 1.1.0-dev.49 → 1.1.0-dev.492

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.
Files changed (200) hide show
  1. package/components/AppIdentity/AppIdentity.d.ts +9 -14
  2. package/components/AppIdentity/AppIdentity.d.ts.map +1 -1
  3. package/components/CardGrid/Card.d.ts.map +1 -1
  4. package/components/CardGrid/CardGrid.d.ts.map +1 -1
  5. package/components/CardGrid/CardRowRenderer.d.ts.map +1 -1
  6. package/components/CardTag/CardTag.d.ts +25 -0
  7. package/components/CardTag/CardTag.d.ts.map +1 -0
  8. package/components/Catalog/Catalog.d.ts.map +1 -1
  9. package/components/Catalog/CreateButton.d.ts +2 -2
  10. package/components/Catalog/CreateButton.d.ts.map +1 -1
  11. package/components/CredentialsBadge/CredentialsBadge.d.ts +12 -5
  12. package/components/CredentialsBadge/CredentialsBadge.d.ts.map +1 -1
  13. package/components/Details/ApiDetails.d.ts +6 -2
  14. package/components/Details/ApiDetails.d.ts.map +1 -1
  15. package/components/Details/ConfirmationView/ConfirmationFooter.d.ts +29 -0
  16. package/components/Details/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
  17. package/components/Details/ConfirmationView/ConfirmationView.d.ts +28 -0
  18. package/components/Details/ConfirmationView/ConfirmationView.d.ts.map +1 -0
  19. package/components/Details/Credentials/CredentialsBanner/CredentialsBanner.d.ts +16 -0
  20. package/components/Details/Credentials/CredentialsBanner/CredentialsBanner.d.ts.map +1 -0
  21. package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts +29 -0
  22. package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts.map +1 -0
  23. package/components/Details/Credentials/CredentialsInfoCard/CredentialsInfoCard.d.ts +20 -0
  24. package/components/Details/Credentials/CredentialsInfoCard/CredentialsInfoCard.d.ts.map +1 -0
  25. package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts +31 -0
  26. package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts.map +1 -0
  27. package/components/Details/DetailsPanel.d.ts.map +1 -1
  28. package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts +34 -0
  29. package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts.map +1 -0
  30. package/components/Details/Header/Header.d.ts +99 -19
  31. package/components/Details/Header/Header.d.ts.map +1 -1
  32. package/components/Details/Header/ShareButton/ShareButton.d.ts.map +1 -1
  33. package/components/Details/TabsContent/About.d.ts +3 -2
  34. package/components/Details/TabsContent/About.d.ts.map +1 -1
  35. package/components/Details/TabsContent/Content.d.ts +53 -0
  36. package/components/Details/TabsContent/Content.d.ts.map +1 -0
  37. package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts +28 -0
  38. package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts.map +1 -0
  39. package/components/Details/TabsContent/DataGrid/DataGrid.d.ts +1 -1
  40. package/components/Details/TabsContent/DataGrid/DataGrid.d.ts.map +1 -1
  41. package/components/Details/TabsContent/Limits/LimitGroupSection.d.ts +11 -0
  42. package/components/Details/TabsContent/Limits/LimitGroupSection.d.ts.map +1 -0
  43. package/components/Details/TabsContent/Limits/LimitRow.d.ts +10 -0
  44. package/components/Details/TabsContent/Limits/LimitRow.d.ts.map +1 -0
  45. package/components/Details/TabsContent/Limits/Limits.d.ts +5 -0
  46. package/components/Details/TabsContent/Limits/Limits.d.ts.map +1 -0
  47. package/components/Favorites/FavoriteCard.d.ts +9 -4
  48. package/components/Favorites/FavoriteCard.d.ts.map +1 -1
  49. package/components/Favorites/Favorites.d.ts.map +1 -1
  50. package/components/Filter/Filter.d.ts +35 -2
  51. package/components/Filter/Filter.d.ts.map +1 -1
  52. package/components/InfoCard/InfoCard.d.ts +15 -0
  53. package/components/InfoCard/InfoCard.d.ts.map +1 -0
  54. package/components/ListView/ListView.d.ts +1 -1
  55. package/components/ListView/ListView.d.ts.map +1 -1
  56. package/components/ListView/Renders/EntityTypeCellRenderer.d.ts.map +1 -1
  57. package/components/ListView/Renders/FolderCellRenderer.d.ts +4 -1
  58. package/components/ListView/Renders/FolderCellRenderer.d.ts.map +1 -1
  59. package/components/ListView/Renders/NameCellRenderer.d.ts.map +1 -1
  60. package/components/ListView/Renders/StarCellRenderer.d.ts.map +1 -1
  61. package/components/ListView/columns.d.ts +19 -2
  62. package/components/ListView/columns.d.ts.map +1 -1
  63. package/components/StarToggleButton/StarToggleButton.d.ts +2 -0
  64. package/components/StarToggleButton/StarToggleButton.d.ts.map +1 -1
  65. package/components/TableView/TableView.d.ts +20 -0
  66. package/components/TableView/TableView.d.ts.map +1 -1
  67. package/components/Toolbar/Rows/TitleRow.d.ts +8 -4
  68. package/components/Toolbar/Rows/TitleRow.d.ts.map +1 -1
  69. package/components/Toolbar/Toolbar.d.ts.map +1 -1
  70. package/components/TopicTag/TopicTag.d.ts +11 -0
  71. package/components/TopicTag/TopicTag.d.ts.map +1 -1
  72. package/constants/virtual-grid.d.ts +7 -2
  73. package/constants/virtual-grid.d.ts.map +1 -1
  74. package/entry-points/mapping.d.ts +16 -0
  75. package/entry-points/mapping.d.ts.map +1 -0
  76. package/index.css +1 -1
  77. package/index.d.ts +25 -42
  78. package/index.d.ts.map +1 -1
  79. package/index.js +3167 -28614
  80. package/mapping-FVCFAmAc.js +64 -0
  81. package/mapping.js +2 -0
  82. package/models/app-identity-styles.d.ts +28 -0
  83. package/models/app-identity-styles.d.ts.map +1 -0
  84. package/models/card-props.d.ts +24 -15
  85. package/models/card-props.d.ts.map +1 -1
  86. package/models/card-row-data.d.ts +8 -1
  87. package/models/card-row-data.d.ts.map +1 -1
  88. package/models/catalog-item-credentials.d.ts +4 -0
  89. package/models/catalog-item-credentials.d.ts.map +1 -1
  90. package/models/catalog-item.d.ts +3 -6
  91. package/models/catalog-item.d.ts.map +1 -1
  92. package/models/catalog-props.d.ts +214 -38
  93. package/models/catalog-props.d.ts.map +1 -1
  94. package/models/catalog-styles.d.ts +11 -35
  95. package/models/catalog-styles.d.ts.map +1 -1
  96. package/models/favorites.d.ts +24 -8
  97. package/models/favorites.d.ts.map +1 -1
  98. package/models/grid-context.d.ts +6 -1
  99. package/models/grid-context.d.ts.map +1 -1
  100. package/models/grid-props.d.ts +23 -1
  101. package/models/grid-props.d.ts.map +1 -1
  102. package/models/item-details-data.d.ts +94 -4
  103. package/models/item-details-data.d.ts.map +1 -1
  104. package/models/item-details-props.d.ts +462 -60
  105. package/models/item-details-props.d.ts.map +1 -1
  106. package/models/limits-props.d.ts +62 -0
  107. package/models/limits-props.d.ts.map +1 -0
  108. package/models/list-props.d.ts +41 -6
  109. package/models/list-props.d.ts.map +1 -1
  110. package/models/toolbar-props.d.ts +22 -22
  111. package/models/toolbar-props.d.ts.map +1 -1
  112. package/package.json +19 -9
  113. package/types/catalog-content-type.d.ts +13 -0
  114. package/types/catalog-content-type.d.ts.map +1 -0
  115. package/types/deployment-icon-size.d.ts +5 -0
  116. package/types/deployment-icon-size.d.ts.map +1 -0
  117. package/types/detail-tab.d.ts +4 -1
  118. package/types/detail-tab.d.ts.map +1 -1
  119. package/types/details-confirmation.d.ts +28 -0
  120. package/types/details-confirmation.d.ts.map +1 -0
  121. package/types/recipients-count.d.ts +12 -0
  122. package/types/recipients-count.d.ts.map +1 -0
  123. package/types/toolset-auth.d.ts +9 -0
  124. package/types/toolset-auth.d.ts.map +1 -1
  125. package/types/view-mode.d.ts +1 -1
  126. package/types/view-mode.d.ts.map +1 -1
  127. package/utils/catalog-content-tree.d.ts +8 -0
  128. package/utils/catalog-content-tree.d.ts.map +1 -0
  129. package/utils/catalog-filter.d.ts +9 -1
  130. package/utils/catalog-filter.d.ts.map +1 -1
  131. package/utils/catalog-tabs.d.ts +2 -2
  132. package/utils/catalog-tabs.d.ts.map +1 -1
  133. package/utils/scroll-window.d.ts +19 -0
  134. package/utils/scroll-window.d.ts.map +1 -0
  135. package/utils/styles.d.ts +0 -3
  136. package/utils/styles.d.ts.map +1 -1
  137. package/utils/toolset-credentials.d.ts +3 -1
  138. package/utils/toolset-credentials.d.ts.map +1 -1
  139. package/utils/usage-limits.d.ts +12 -0
  140. package/utils/usage-limits.d.ts.map +1 -0
  141. package/utils/use-scroll-virtualizer.d.ts +16 -2
  142. package/utils/use-scroll-virtualizer.d.ts.map +1 -1
  143. package/components/Details/Credentials/CredentialsSection.d.ts +0 -21
  144. package/components/Details/Credentials/CredentialsSection.d.ts.map +0 -1
  145. package/components/Details/Header/ConnectButton/ConnectButton.d.ts +0 -25
  146. package/components/Details/Header/ConnectButton/ConnectButton.d.ts.map +0 -1
  147. package/components/Details/Header/DeleteButton/DeleteButton.d.ts +0 -25
  148. package/components/Details/Header/DeleteButton/DeleteButton.d.ts.map +0 -1
  149. package/components/Details/Summary/Limits.d.ts +0 -18
  150. package/components/Details/Summary/Limits.d.ts.map +0 -1
  151. package/components/Details/Summary/Summary.d.ts +0 -12
  152. package/components/Details/Summary/Summary.d.ts.map +0 -1
  153. package/components/Details/TabsContent/Limits.d.ts +0 -14
  154. package/components/Details/TabsContent/Limits.d.ts.map +0 -1
  155. package/components/EntityHeader/EntityHeader.d.ts +0 -32
  156. package/components/EntityHeader/EntityHeader.d.ts.map +0 -1
  157. package/components/EntityTypeLabel/EntityTypeLabel.d.ts +0 -16
  158. package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +0 -1
  159. package/components/FeaturedChip/FeaturedChip.d.ts +0 -11
  160. package/components/FeaturedChip/FeaturedChip.d.ts.map +0 -1
  161. package/components/FolderPath/FolderPath.d.ts +0 -22
  162. package/components/FolderPath/FolderPath.d.ts.map +0 -1
  163. package/components/ItemHeader/ItemHeader.d.ts +0 -15
  164. package/components/ItemHeader/ItemHeader.d.ts.map +0 -1
  165. package/components/PublishFoldersTree/PublishFoldersTree.d.ts +0 -63
  166. package/components/PublishFoldersTree/PublishFoldersTree.d.ts.map +0 -1
  167. package/components/PublishHistoryList/PublishHistoryList.d.ts +0 -35
  168. package/components/PublishHistoryList/PublishHistoryList.d.ts.map +0 -1
  169. package/components/PublishPanel/PublishFooter.d.ts +0 -32
  170. package/components/PublishPanel/PublishFooter.d.ts.map +0 -1
  171. package/components/PublishPanel/PublishPanel.d.ts +0 -104
  172. package/components/PublishPanel/PublishPanel.d.ts.map +0 -1
  173. package/components/PublishPanel/StandalonePublishPanel.d.ts +0 -71
  174. package/components/PublishPanel/StandalonePublishPanel.d.ts.map +0 -1
  175. package/components/SearchBar/SearchBar.d.ts +0 -25
  176. package/components/SearchBar/SearchBar.d.ts.map +0 -1
  177. package/constants/catalog-defaults.d.ts +0 -4
  178. package/constants/catalog-defaults.d.ts.map +0 -1
  179. package/constants/entity-colors.d.ts +0 -6
  180. package/constants/entity-colors.d.ts.map +0 -1
  181. package/models/entity-summary.d.ts +0 -23
  182. package/models/entity-summary.d.ts.map +0 -1
  183. package/models/publish.d.ts +0 -89
  184. package/models/publish.d.ts.map +0 -1
  185. package/models/sort.d.ts +0 -8
  186. package/models/sort.d.ts.map +0 -1
  187. package/types/entity-tag.d.ts +0 -9
  188. package/types/entity-tag.d.ts.map +0 -1
  189. package/types/entity-type.d.ts +0 -8
  190. package/types/entity-type.d.ts.map +0 -1
  191. package/utils/format-published-date.d.ts +0 -8
  192. package/utils/format-published-date.d.ts.map +0 -1
  193. package/utils/parse-about-content.d.ts +0 -22
  194. package/utils/parse-about-content.d.ts.map +0 -1
  195. package/utils/publish-folder-tree.d.ts +0 -32
  196. package/utils/publish-folder-tree.d.ts.map +0 -1
  197. package/utils/publish-state.d.ts +0 -4
  198. package/utils/publish-state.d.ts.map +0 -1
  199. package/utils/use-publish-flow.d.ts +0 -71
  200. package/utils/use-publish-flow.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ShareButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/ShareButton/ShareButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,qCAAqC;AACrC,UAAU,gBAAgB;IACxB,iCAAiC;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;IACrE;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IAChD,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAUD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA+C5C,CAAC"}
1
+ {"version":3,"file":"ShareButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Header/ShareButton/ShareButton.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAE,KAAK,SAAS,EAAyB,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,qCAAqC;AACrC,UAAU,gBAAgB;IACxB,iCAAiC;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;IACrE;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IAChD,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAUD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAqD5C,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import { FC } from 'react';
2
2
  import { ItemDetailsStyles } from '../../../models/item-details-props';
3
3
  interface AboutTabProps {
4
- /** Raw text to render (bullets/headings are parsed from it). The caller decides whether this is `intro`, `description`, or a fallback between the two. */
4
+ topics?: string[];
5
+ /** Markdown text to render, typically `item.description`. */
5
6
  content: string;
6
7
  detailsStyles?: ItemDetailsStyles;
7
8
  }
8
- /** Renders parsed about-style content (headings/bullets) for a catalog item. */
9
+ /** Renders a catalog item's description as markdown, followed by its topic tags. */
9
10
  export declare const AboutTab: FC<AboutTabProps>;
10
11
  export {};
11
12
  //# sourceMappingURL=About.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"About.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/About.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAyB5E,UAAU,aAAa;IACrB,0JAA0J;IAC1J,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,gFAAgF;AAChF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA6BtC,CAAC"}
1
+ {"version":3,"file":"About.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/About.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAG5E,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,6DAA6D;IAC7D,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,oFAAoF;AACpF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAmCtC,CAAC"}
@@ -0,0 +1,53 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { CatalogContentFilePreview, CatalogContentTreeNode } from '../../../models/item-details-data';
3
+ import { ItemDetailsStyles } from '../../../models/item-details-props';
4
+ /** Props for ContentTab. */
5
+ export interface ContentTabProps {
6
+ /** The item's full text body, rendered read-only as markdown. */
7
+ content: string;
8
+ /** Short summary shown above the body. Omitted when empty. */
9
+ description?: string;
10
+ /** Folder/file tree the tab can switch between. A selector renders whenever this holds two or more file nodes, at any depth. */
11
+ files?: CatalogContentTreeNode[];
12
+ /** Id of the file currently displayed. */
13
+ selectedFileId?: string;
14
+ /** Called with a file's `id` when a different one is picked. */
15
+ onSelectFile?: (fileId: string) => void;
16
+ /** Whether the picked file's content is still loading. */
17
+ isFileLoading?: boolean;
18
+ /** Ids of folders currently expanded in the selector. Defaults to an empty set. */
19
+ expandedFolderIds?: ReadonlySet<string>;
20
+ /** Called with a folder's id when its disclosure control is toggled. */
21
+ onToggleFolder?: (folderId: string) => void;
22
+ /** Whether the file selector overlay is open. Defaults to `false`. */
23
+ isFileSelectorOpen?: boolean;
24
+ /** Called when the file selector's open state should change. */
25
+ onFileSelectorOpenChange?: (open: boolean) => void;
26
+ /** Accessible label for the file selector. Defaults to `'Select file'`. */
27
+ fileSelectorAriaLabel?: string;
28
+ /** Returns the file-count text shown beside the selector. Defaults to ``(count) => `${count} files` ``. */
29
+ fileCountLabel?: (count: number) => string;
30
+ /** Status text announced while a picked file loads. Defaults to `'Loading file'`. */
31
+ fileLoadingLabel?: string;
32
+ /** Body text shown when a picked file's preview type is `unsupported`. Defaults to `'Preview is not supported for this file'`. */
33
+ fileUnsupportedLabel?: string;
34
+ /**
35
+ * The currently picked file's resolved preview. Absent (or `null`) renders
36
+ * `content` as Markdown — the base file's state. Ignored while
37
+ * `isFileLoading` is `true`, so a stale preview never appears under a
38
+ * newly-selected file's name while its own load is still pending.
39
+ */
40
+ filePreview?: CatalogContentFilePreview | null;
41
+ /** Host-rendered picked-file preview. Takes precedence over `filePreview`. */
42
+ filePreviewContent?: ReactNode;
43
+ /** Color and typography overrides for the body text, headings, and placeholder highlights. */
44
+ detailsStyles?: ItemDetailsStyles;
45
+ }
46
+ /**
47
+ * Renders a catalog item's summary and its long-form body as read-only
48
+ * markdown, with `{{placeholder}}` tokens highlighted. An item carrying more
49
+ * than one file, at any depth, gets a hierarchical selector above the body to
50
+ * switch between them.
51
+ */
52
+ export declare const ContentTab: FC<ContentTabProps>;
53
+ //# sourceMappingURL=Content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/TabsContent/Content.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EACV,yBAAyB,EACzB,sBAAsB,EACvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAW5E,4BAA4B;AAC5B,MAAM,WAAW,eAAe;IAC9B,iEAAiE;IACjE,OAAO,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gIAAgI;IAChI,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACjC,0CAA0C;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,0DAA0D;IAC1D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mFAAmF;IACnF,iBAAiB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACxC,wEAAwE;IACxE,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gEAAgE;IAChE,wBAAwB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,2EAA2E;IAC3E,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,2GAA2G;IAC3G,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,qFAAqF;IACrF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kIAAkI;IAClI,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;IAC/C,8EAA8E;IAC9E,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,8FAA8F;IAC9F,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwJ1C,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { FC } from 'react';
2
+ import { CatalogContentTreeNode } from '../../../../models/item-details-data';
3
+ /** Props for {@link ContentFileTree}. */
4
+ export interface ContentFileTreeProps {
5
+ /** Root-level folder and file nodes to render. */
6
+ nodes: CatalogContentTreeNode[];
7
+ /** Id of the file currently displayed; its row carries `aria-selected` and receives initial focus. */
8
+ selectedFileId?: string;
9
+ /** Ids of folders currently expanded. */
10
+ expandedFolderIds: ReadonlySet<string>;
11
+ /** Called with a folder's id when its disclosure control is toggled. */
12
+ onToggleFolder: (folderId: string) => void;
13
+ /** Called with a file's id when it is picked. */
14
+ onSelectFile: (fileId: string) => void;
15
+ /** Called on Escape, without changing the selection. */
16
+ onClose: () => void;
17
+ /** Accessible name for the root `role="tree"` element. */
18
+ ariaLabel?: string;
19
+ /** Typography class applied to every row's name text. Defaults to `'dial-small-text'`. */
20
+ rowNameClassName?: string;
21
+ }
22
+ /**
23
+ * Recursive, read-only folder/file tree rendered inside the Content tab's
24
+ * selector overlay. Owns roving-tabIndex keyboard navigation over its own
25
+ * DOM; expand/collapse and selection state are fully controlled by the host.
26
+ */
27
+ export declare const ContentFileTree: FC<ContentFileTreeProps>;
28
+ //# sourceMappingURL=ContentFileTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentFileTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/ContentFileTree/ContentFileTree.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAGnF,yCAAyC;AACzC,MAAM,WAAW,oBAAoB;IACnC,kDAAkD;IAClD,KAAK,EAAE,sBAAsB,EAAE,CAAC;IAChC,sGAAsG;IACtG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yCAAyC;IACzC,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,wEAAwE;IACxE,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,iDAAiD;IACjD,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,wDAAwD;IACxD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0FAA0F;IAC1F,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAmBD;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAkMpD,CAAC"}
@@ -10,7 +10,7 @@ export interface DataGridProps {
10
10
  * Defaults to `repeat(N, 1fr)` where N is `columns.length`.
11
11
  */
12
12
  columnsTemplate?: string;
13
- /** CSS class for header cells. Defaults to `'dial-caption-text'`. */
13
+ /** CSS class for header cells. Defaults to `'dial-caption-lead-semi-text'`, which uppercases the label itself. */
14
14
  headingClassName?: string;
15
15
  /** CSS class for data cells. Defaults to `'dial-tiny-text'`. */
16
16
  cellClassName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAGhD,4BAA4B;AAC5B,MAAM,WAAW,aAAa;IAC5B,gEAAgE;IAChE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,8EAA8E;IAC9E,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,uEAAuE;AACvE,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAgDtC,CAAC"}
1
+ {"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAGhD,4BAA4B;AAC5B,MAAM,WAAW,aAAa;IAC5B,gEAAgE;IAChE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,8EAA8E;IAC9E,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kHAAkH;IAClH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,uEAAuE;AACvE,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAgDtC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+ import { UsageLimitGroup } from '../../../../models/item-details-data';
3
+ import { LimitRowClassNames } from '../../../../models/limits-props';
4
+ interface LimitGroupSectionProps extends LimitRowClassNames {
5
+ group: UsageLimitGroup;
6
+ sectionClassName: string;
7
+ }
8
+ /** One named limits group (e.g. token limits, cost limits) rendered as a heading over its rows. */
9
+ export declare const LimitGroupSection: FC<LimitGroupSectionProps>;
10
+ export {};
11
+ //# sourceMappingURL=LimitGroupSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LimitGroupSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/LimitGroupSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAI1E,UAAU,sBAAuB,SAAQ,kBAAkB;IACzD,KAAK,EAAE,eAAe,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,mGAAmG;AACnG,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAiCxD,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { UsageLimitProgressRow } from '../../../../models/item-details-data';
3
+ import { LimitRowClassNames } from '../../../../models/limits-props';
4
+ interface LimitRowProps extends LimitRowClassNames {
5
+ row: UsageLimitProgressRow;
6
+ }
7
+ /** A single usage-limit line: label (plus optional caption) on one side, a capped progress bar or a plain value on the other. */
8
+ export declare const LimitRow: FC<LimitRowProps>;
9
+ export {};
10
+ //# sourceMappingURL=LimitRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LimitRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/LimitRow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAW1E,UAAU,aAAc,SAAQ,kBAAkB;IAChD,GAAG,EAAE,qBAAqB,CAAC;CAC5B;AAED,iIAAiI;AACjI,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkFtC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { LimitsTabProps } from '../../../../models/limits-props';
3
+ /** Renders model usage limits as named groups (e.g. token limits, cost limits), each a list of capped progress rows or plain-value rows. */
4
+ export declare const LimitsTab: FC<LimitsTabProps>;
5
+ //# sourceMappingURL=Limits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Limits.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/TabsContent/Limits/Limits.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAItE,4IAA4I;AAC5I,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA0DxC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { FC } from 'react';
2
+ import { AppIdentityColors } from '../../models/app-identity-styles';
2
3
  import { CatalogItem } from '../../models/catalog-item';
3
4
  /** Props for FavoriteCard. */
4
5
  export interface FavoriteCardProps {
@@ -8,13 +9,17 @@ export interface FavoriteCardProps {
8
9
  initialIsStarred?: boolean;
9
10
  /** Called when the star button is toggled. */
10
11
  onToggle?: (id: string, isStarred: boolean) => void;
12
+ /** Rule for whether the favorite star is shown; `false` hides the star and makes the item non-favoritable. Defaults to visible when omitted. */
13
+ isFavoriteVisible?: (item: CatalogItem) => boolean;
11
14
  /** Called when the card body is clicked. */
12
15
  onClick?: (item: CatalogItem) => void;
13
- /** CSS class for the entity name. Default: 'dial-body-semi-text text-primary'. */
16
+ /** Typography CSS class for the entity name. Default: 'dial-body-semi-text'. */
14
17
  nameClassName?: string;
15
- /** CSS class for the version string. Default: 'dial-tiny-text text-secondary'. */
18
+ /** Color overrides applied as CSS custom properties. */
19
+ colors?: AppIdentityColors;
20
+ /** Typography CSS class for the version string. Default: `'dial-tiny-text'`. */
16
21
  versionClassName?: string;
17
- /** CSS class for the last-used text. Default: 'dial-tiny-text text-secondary'. */
22
+ /** Typography CSS class for the last-used text. Default: `'dial-tiny-text'`. */
18
23
  lastUsedClassName?: string;
19
24
  /** Search query string; matching text in the name is highlighted when provided. */
20
25
  query?: string;
@@ -24,7 +29,7 @@ export interface FavoriteCardProps {
24
29
  removeFromFavoritesAriaLabel?: string;
25
30
  /** Whether this card represents the currently selected item — shows an accent border, tinted background, and a checkmark. Default: false. */
26
31
  isSelected?: boolean;
27
- /** Credentials-status badge label shown when signed out. Default: `'LOGGED OUT'`. */
32
+ /** Accessible label for the logged-out warning icon on the entity avatar, and the text shown in its hover tooltip. Default: `'Authorize to use this toolset.'`. */
28
33
  credentialsBadgeLoggedOutLabel?: string;
29
34
  }
30
35
  /** Compact favorite card: logo + type + name + version + last-used, star aligned right. */
@@ -1 +1 @@
1
- {"version":3,"file":"FavoriteCard.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/FavoriteCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAoD,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAMxD,8BAA8B;AAC9B,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,IAAI,EAAE,WAAW,CAAC;IAClB,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW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CAAC;IACvB,wDAAwD;IACxD,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wGAAwG;IACxG,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iHAAiH;IACjH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,6IAA6I;IAC7I,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mKAAmK;IACnK,8BAA8B,CAAC,EAAE,MAAM,CAAC;CACzC;AAED,2FAA2F;AAC3F,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAmH9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Favorites.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/Favorites.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,EAAE,EAMH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAqCxD;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAyZxC,CAAC"}
1
+ {"version":3,"file":"Favorites.d.ts","sourceRoot":"","sources":["../../../src/components/Favorites/Favorites.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAoCxD;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA8axC,CAAC"}
@@ -1,6 +1,39 @@
1
1
  import { FC } from 'react';
2
2
  import { ToolbarTypography } from '../../models/toolbar-props';
3
3
  /** Props for Filter. */
4
+ /** Color overrides for `Filter`, applied as CSS custom properties. */
5
+ export interface FilterColors {
6
+ /** Trigger button background. Fallback: `--bg-control-neutral`. */
7
+ buttonBackground?: string;
8
+ /** Trigger button border color at rest. Fallback: `--stroke-tertiary`. */
9
+ buttonBorder?: string;
10
+ /** Trigger button border color on hover. Fallback: `--stroke-secondary`. */
11
+ buttonBorderHover?: string;
12
+ /** Trigger button border color while the dropdown has focus. Fallback: `--stroke-accent-focus`. */
13
+ buttonBorderFocus?: string;
14
+ /** Trigger button border color while a filter is applied. Fallback: `--stroke-accent`. */
15
+ buttonBorderActive?: string;
16
+ /** Trigger button border color while the dropdown is open. Fallback: `--stroke-accent-alpha`. */
17
+ buttonBorderOpen?: string;
18
+ /** Trigger button label color. Fallback: `--text-primary`. */
19
+ buttonLabel?: string;
20
+ /** Funnel icon color in the trigger button. Fallback: `--text-secondary`. */
21
+ buttonFunnel?: string;
22
+ /** Chevron icon color in the trigger button. Fallback: `--text-tertiary`. */
23
+ buttonChevron?: string;
24
+ /** Dropdown overlay background. Fallback: `--bg-layer-raised`. */
25
+ overlayBackground?: string;
26
+ /** Dropdown overlay border color. Fallback: `--stroke-tertiary`. */
27
+ overlayBorder?: string;
28
+ /** Row label text color. Fallback: `--text-primary`. */
29
+ rowLabel?: string;
30
+ /** Section heading ("Topics") text color. Fallback: `--text-tertiary`. */
31
+ sectionLabel?: string;
32
+ /** Divider line color between filter sections. Fallback: `--stroke-tertiary`. */
33
+ divider?: string;
34
+ /** Footer top-border color. Fallback: `--stroke-tertiary`. */
35
+ footerBorder?: string;
36
+ }
4
37
  export interface FilterProps {
5
38
  /** Set of topic strings currently selected for filtering. Empty = no topic filter. */
6
39
  checked: Set<string>;
@@ -16,8 +49,6 @@ export interface FilterProps {
16
49
  myAppsLabel?: string;
17
50
  /** Label for the Topics section heading. Default: 'Topics'. */
18
51
  topicsLabel?: string;
19
- /** @deprecated No longer applied — section style is set by the DS spec. */
20
- topicsSectionClassName?: string;
21
52
  /** Button label when nothing is filtered. Default: 'From'. */
22
53
  defaultLabel?: string;
23
54
  /** Label for the footer Clear button. Default: 'Clear'. */
@@ -26,6 +57,8 @@ export interface FilterProps {
26
57
  applyLabel?: string;
27
58
  /** Optional typography overrides for the filter button and section label. */
28
59
  typography?: ToolbarTypography;
60
+ /** Color overrides applied as CSS custom properties. */
61
+ colors?: FilterColors;
29
62
  }
30
63
  /** Source-filter dropdown: checkbox list for topics and My Apps toggle, with buffered Clear/Apply controls. */
31
64
  export declare const Filter: FC<FilterProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../src/components/Filter/Filter.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,wBAAwB;AACxB,MAAM,WAAW,WAAW;IAC1B,sFAAsF;IACtF,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,+CAA+C;IAC/C,QAAQ,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACzC,uDAAuD;IACvD,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAChC;AA0BD,+GAA+G;AAC/G,eAAO,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AC,MAAM,CAAC,KAAK,IAAI,CAAC;IACzC,uDAAuD;IACvD,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,uDAAuD;IACvD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,wDAAwD;IACxD,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AA0BD,+GAA+G;AAC/G,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAiTlC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { FC } from 'react';
2
+ import { CatalogItem } from '../../models/catalog-item';
3
+ import { DetailsConfirmationVariant } from '../../types/details-confirmation';
4
+ /** Props for `InfoCard`. */
5
+ export interface InfoCardProps {
6
+ /** Item whose identity the card shows. */
7
+ item: CatalogItem;
8
+ /** Palette of the card surface. Default: `DetailsConfirmationVariant.Info`. */
9
+ variant?: DetailsConfirmationVariant;
10
+ /** Size of the entity icon in pixels. Default: `40`. */
11
+ iconSize?: number;
12
+ }
13
+ /** Tinted card showing a catalog item's identity, used to anchor a message to the item it is about. */
14
+ export declare const InfoCard: FC<InfoCardProps>;
15
+ //# sourceMappingURL=InfoCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfoCard.d.ts","sourceRoot":"","sources":["../../../src/components/InfoCard/InfoCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAG9E,4BAA4B;AAC5B,MAAM,WAAW,aAAa;IAC5B,0CAA0C;IAC1C,IAAI,EAAE,WAAW,CAAC;IAClB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,uGAAuG;AACvG,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAetC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { ListViewProps } from '../../models/list-props';
3
- /** ag-grid table view of catalog items with infinite-scroll windowing. */
3
+ /** ag-grid table view of catalog items, windowed to the rows in view. */
4
4
  export declare const ListView: FC<ListViewProps>;
5
5
  //# sourceMappingURL=ListView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/ListView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,EAAE,EAKH,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAqBxD,0EAA0E;AAC1E,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAmJtC,CAAC"}
1
+ {"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/ListView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAsB,EAAE,EAA8B,MAAM,OAAO,CAAC;AAG3E,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAQxD,yEAAyE;AACzE,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAiJtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EntityTypeCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/EntityTypeCellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,wDAAwD;AACxD,eAAO,MAAM,sBAAsB,EAAE,EAAE,CACrC,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CASvD,CAAC"}
1
+ {"version":3,"file":"EntityTypeCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/EntityTypeCellRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,wDAAwD;AACxD,eAAO,MAAM,sBAAsB,EAAE,EAAE,CACrC,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CASvD,CAAC"}
@@ -2,6 +2,9 @@ import { ICellRendererParams } from 'ag-grid-community';
2
2
  import { FC } from 'react';
3
3
  import { CatalogItem } from '../../../models/catalog-item';
4
4
  import { GridContext } from '../../../models/grid-context';
5
- /** ag-grid cell renderer for the folder-path column. */
5
+ /**
6
+ * ag-grid cell renderer for the folder column: the deepest folder, with the
7
+ * whole path in a tooltip.
8
+ */
6
9
  export declare const FolderCellRenderer: FC<ICellRendererParams<CatalogItem, unknown, GridContext>>;
7
10
  //# sourceMappingURL=FolderCellRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FolderCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/FolderCellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,wDAAwD;AACxD,eAAO,MAAM,kBAAkB,EAAE,EAAE,CACjC,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAWvD,CAAC"}
1
+ {"version":3,"file":"FolderCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/FolderCellRenderer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAM3D;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CACjC,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CA0CvD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NameCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/NameCellRenderer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,2HAA2H;AAC3H,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAC/B,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAyCvD,CAAC"}
1
+ {"version":3,"file":"NameCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/NameCellRenderer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,2HAA2H;AAC3H,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAC/B,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CA+CvD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StarCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/StarCellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAwB,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,iEAAiE;AACjE,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAC/B,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAsBvD,CAAC"}
1
+ {"version":3,"file":"StarCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/StarCellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,iEAAiE;AACjE,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAC/B,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAkCvD,CAAC"}
@@ -1,5 +1,22 @@
1
+ import { CatalogEntityType } from '@epam/ai-dial-chat-shared';
1
2
  import { ColDef } from 'ag-grid-community';
2
3
  import { CatalogItem } from '../../models/catalog-item';
3
- /** Column definitions for the catalog ag-grid list view. A stable module-level constant so ag-grid never sees a new array/closures on each render. */
4
- export declare const CATALOG_COLUMNS: ColDef<CatalogItem>[];
4
+ /** The optional built-in `ListView` columns a host can independently show or hide per entity type. */
5
+ export type ListViewColumnKey = 'folder' | 'tags' | 'favorite';
6
+ /**
7
+ * Per-column rule resolving whether an optional `ListView` column renders for
8
+ * the active tab, given its entity `type`. Overrides the column's built-in
9
+ * default rule; omitted keys keep their default.
10
+ */
11
+ export type ListViewColumnVisibility = Partial<Record<ListViewColumnKey, (type: CatalogEntityType) => boolean>>;
12
+ /**
13
+ * Column definitions for the catalog ag-grid list view. A stable module-level constant so ag-grid never sees a new array/closures on each render.
14
+ *
15
+ * Name, Folder and Tags all flex, so spare width is shared instead of going to
16
+ * Name alone: entity names are short, and letting Name absorb every free pixel
17
+ * left Folder and Tags permanently at their floor, where paths collapsed into
18
+ * unreadable stubs and tags were clipped mid-word. Name keeps twice the share
19
+ * because it carries the icon, the name and the version.
20
+ */
21
+ export declare const CATALOG_COLUMNS: (type: CatalogEntityType, isReadonly?: boolean, columnVisibility?: ListViewColumnVisibility) => ColDef<CatalogItem>[];
5
22
  //# sourceMappingURL=columns.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAQxD,sJAAsJ;AACtJ,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,WAAW,CAAC,EA8ChD,CAAC"}
1
+ {"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAQxD,sGAAsG;AACtG,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,MAAM,CAAC,iBAAiB,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC,CAChE,CAAC;AAiCF;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,GAC1B,MAAM,iBAAiB,EACvB,oBAAkB,EAClB,mBAAmB,wBAAwB,KAC1C,MAAM,CAAC,WAAW,CAAC,EAyDrB,CAAC"}
@@ -12,6 +12,8 @@ export interface StarToggleButtonProps {
12
12
  ariaLabel?: string;
13
13
  /** Additional CSS classes forwarded to the button root element. */
14
14
  className?: string;
15
+ /** Color of the filled (starred) icon. Fallback: `--text-warning-icon`. */
16
+ starFilledColor?: string;
15
17
  }
16
18
  /** Ghost icon button that toggles between a filled and outline star. */
17
19
  export declare const StarToggleButton: FC<StarToggleButtonProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"StarToggleButton.d.ts","sourceRoot":"","sources":["../../../src/components/StarToggleButton/StarToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvC,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,6CAA6C;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC9C,qEAAqE;IACrE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAuBtD,CAAC"}
1
+ {"version":3,"file":"StarToggleButton.d.ts","sourceRoot":"","sources":["../../../src/components/StarToggleButton/StarToggleButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvC,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,6CAA6C;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC9C,qEAAqE;IACrE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAyBtD,CAAC"}
@@ -11,6 +11,23 @@ export interface TableViewRow {
11
11
  */
12
12
  value: string | boolean;
13
13
  }
14
+ /** Color overrides for `TableView`, applied as CSS custom properties. */
15
+ interface TableViewColors {
16
+ /** Section heading text color. Fallback: `--text-secondary`. */
17
+ sectionHeading?: string;
18
+ /** Background color of alternating (even-indexed) rows. Fallback: `--bg-layer-sunken`. */
19
+ rowAlt?: string;
20
+ /** Row label text color. Fallback: `--text-secondary`. */
21
+ label?: string;
22
+ /** Check icon color for `true` values. Fallback: `--text-visual-green-2`. */
23
+ checkIcon?: string;
24
+ /** Text color for `true` values. Fallback: `--text-primary`. */
25
+ valueTrue?: string;
26
+ /** Text color for `false` values. Fallback: `--text-secondary`. */
27
+ valueFalse?: string;
28
+ /** Text color for string values. Fallback: `--text-primary`. */
29
+ valueText?: string;
30
+ }
14
31
  /** Props for `TableView`. */
15
32
  export interface TableViewProps {
16
33
  /** Section label. Defaults to `'Section'`. */
@@ -31,7 +48,10 @@ export interface TableViewProps {
31
48
  yesLabel?: string;
32
49
  /** Label shown for `false` boolean values. Defaults to `'No'`. */
33
50
  noLabel?: string;
51
+ /** Color overrides applied as CSS custom properties. */
52
+ colors?: TableViewColors;
34
53
  }
35
54
  /** Renders a labeled section with alternating-row key-value pairs; values may be strings or booleans. */
36
55
  export declare const TableView: FC<TableViewProps>;
56
+ export {};
37
57
  //# sourceMappingURL=TableView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../src/components/TableView/TableView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA+C3B,qCAAqC;AACrC,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AAED,6BAA6B;AAC7B,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,6DAA6D;IAC7D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,yGAAyG;AACzG,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAyDxC,CAAC"}
1
+ {"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../src/components/TableView/TableView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqD3B,qCAAqC;AACrC,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AAED,yEAAyE;AACzE,UAAU,eAAe;IACvB,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,6BAA6B;AAC7B,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,6DAA6D;IAC7D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wDAAwD;IACxD,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED,yGAAyG;AACzG,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAsExC,CAAC"}
@@ -1,20 +1,24 @@
1
- import { FC } from 'react';
2
- import { CatalogSortOption, ToolbarStyles } from '../../../models/toolbar-props';
1
+ import { SelectOption } from '@epam/ai-dial-ui-kit';
2
+ import { FC, ReactNode } from 'react';
3
+ import { ToolbarStyles } from '../../../models/toolbar-props';
3
4
  import { CatalogViewMode } from '../../../types/view-mode';
4
5
  interface TitleRowProps {
5
6
  totalCount?: number;
6
7
  viewMode: CatalogViewMode;
7
8
  onViewModeChange: (mode: CatalogViewMode) => void;
8
9
  title?: string;
10
+ browseHeaderRenderer?: ReactNode;
9
11
  styles?: ToolbarStyles;
10
12
  query: string;
11
13
  onQueryChange: (q: string) => void;
12
14
  searchPlaceholder?: string;
13
15
  gridViewLabel?: string;
14
16
  listViewLabel?: string;
17
+ viewToggleLabel?: string;
15
18
  sortKey?: string;
16
- onSortChange?: (key: string) => void;
17
- sortOptions?: CatalogSortOption[];
19
+ sortOptions?: SelectOption[];
20
+ onSortChange?: (sortKey: string) => void;
21
+ sortLabel?: string;
18
22
  filters?: Set<string>;
19
23
  onFiltersChange?: (filters: Set<string>) => void;
20
24
  filterValues?: Set<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"TitleRow.d.ts","sourceRoot":"","sources":["../../../../src/components/Toolbar/Rows/TitleRow.tsx"],"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AAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,yFAAyF;AACzF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA6JtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,EAAE,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,gFAAgF;AAChF,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAyDpC,CAAC"}
1
+ {"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,EAAE,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,gFAAgF;AAChF,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAuDpC,CAAC"}
@@ -1,10 +1,21 @@
1
1
  import { FC } from 'react';
2
+ /** Color overrides for `TopicTag`, applied as CSS custom properties. */
3
+ export interface TopicTagColors {
4
+ /** Tag text color. Fallback: `--text-secondary`. */
5
+ text?: string;
6
+ /** Tag border color. Fallback: `--stroke-tertiary`. */
7
+ border?: string;
8
+ /** Tag background color. Fallback: `--bg-layer-sunken`. */
9
+ background?: string;
10
+ }
2
11
  /** Props for TopicTag. */
3
12
  export interface TopicTagProps {
4
13
  /** Text to display inside the tag, e.g. 'Free' or 'Pay-as-you-go'. */
5
14
  label: string;
6
15
  /** CSS class for the tag text. Default: 'dial-tiny-text'. */
7
16
  className?: string;
17
+ /** Color overrides applied as CSS custom properties. */
18
+ colors?: TopicTagColors;
8
19
  }
9
20
  /** Simple tag component for displaying item topics or pricing tiers. */
10
21
  export declare const TopicTag: FC<TopicTagProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"TopicTag.d.ts","sourceRoot":"","sources":["../../../src/components/TopicTag/TopicTag.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAqC,MAAM,OAAO,CAAC;AAG9D,0BAA0B;AAC1B,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wEAAwE;AACxE,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAGwC,CAAC;AAEhF,4BAA4B;AAC5B,MAAM,WAAW,eAAe;IAC9B,iCAAiC;IACjC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC9C,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,8EAA8E;AAC9E,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA8D1C,CAAC"}
1
+ {"version":3,"file":"TopicTag.d.ts","sourceRoot":"","sources":["../../../src/components/TopicTag/TopicTag.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,EAAE,EAMH,MAAM,OAAO,CAAC;AAGf,wEAAwE;AACxE,MAAM,WAAW,cAAc;IAC7B,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,0BAA0B;AAC1B,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,wEAAwE;AACxE,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAImC,CAAC;AAE3E,4BAA4B;AAC5B,MAAM,WAAW,eAAe;IAC9B,iCAAiC;IACjC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC9C,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,8EAA8E;AAC9E,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAsK1C,CAAC"}
@@ -3,8 +3,6 @@
3
3
  * Strip is pinned to card bottom via mt-auto; auto-space absorbs remaining flex free space.
4
4
  */
5
5
  export declare const CARD_HEIGHT = 248;
6
- /** Vertical gap between card rows, matching the `gap-5` grid spacing (20 px). */
7
- export declare const CARD_ROW_GAP = 20;
8
6
  /** Total height allocated per virtual row. */
9
7
  export declare const CARD_ROW_HEIGHT: number;
10
8
  /** Number of skeleton card rows rendered while data is loading. */
@@ -33,4 +31,11 @@ export declare const DESKTOP_COLUMNS = 3;
33
31
  export declare const TABLET_COLUMNS = 2;
34
32
  /** Column count on mobile viewports (< DESKTOP_BREAKPOINT). */
35
33
  export declare const MOBILE_COLUMNS = 1;
34
+ /**
35
+ * Max width (px) of the Browse content column when the catalog is not
36
+ * full-width. Mirrors the `max-w-[1180px]` class on that column in `Catalog`;
37
+ * `useScrollVirtualizer` uses it to guess the column count before its
38
+ * `ResizeObserver` reports the real container width.
39
+ */
40
+ export declare const CONTENT_MAX_WIDTH = 1180;
36
41
  //# sourceMappingURL=virtual-grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"virtual-grid.d.ts","sourceRoot":"","sources":["../../src/constants/virtual-grid.ts"],"names":[],"mappings":"AAAA;;;GAG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
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Headless catalog surface: runtime enums and pure catalog-item-mapping
3
+ * functions, with no import of `@epam/ai-dial-publish-panel`,
4
+ * `@epam/ai-dial-react-file-manager`, or any catalog editor/publish UI
5
+ * component. Re-exported from `../index.ts` for backward compatibility —
6
+ * import from here directly to avoid resolving the catalog/publish-panel UI.
7
+ */
8
+ export { CredentialsBadgeState, CredentialsLevel, CredentialStatus, CredentialsUiState, ToolsetAuthenticationType, } from '../types/toolset-auth';
9
+ export { CatalogSortKey } from '../types/sort';
10
+ export type { CatalogItem } from '../models/catalog-item';
11
+ export type { CatalogItemCredentials } from '../models/catalog-item-credentials';
12
+ export { filterCatalogItems, getTopicOptions } from '../utils/catalog-filter';
13
+ export { sortCatalogItems } from '../utils/catalog-sort';
14
+ export { buildCatalogTabs } from '../utils/catalog-tabs';
15
+ export { getCredentialsBadgeState, getCredentialsUiState, getSignedInLevel, } from '../utils/toolset-credentials';
16
+ //# sourceMappingURL=mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping.d.ts","sourceRoot":"","sources":["../../src/entry-points/mapping.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG/C,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAGjF,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,8BAA8B,CAAC"}