@epam/ai-dial-catalog 1.1.0-dev.30 → 1.1.0-dev.307

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 (203) 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 +24 -0
  7. package/components/CardTag/CardTag.d.ts.map +1 -0
  8. package/components/Catalog/Catalog.d.ts +1 -5
  9. package/components/Catalog/Catalog.d.ts.map +1 -1
  10. package/components/Catalog/CreateButton.d.ts +2 -2
  11. package/components/Catalog/CreateButton.d.ts.map +1 -1
  12. package/components/CredentialsBadge/CredentialsBadge.d.ts +12 -5
  13. package/components/CredentialsBadge/CredentialsBadge.d.ts.map +1 -1
  14. package/components/Details/ApiDetails.d.ts +6 -2
  15. package/components/Details/ApiDetails.d.ts.map +1 -1
  16. package/components/Details/ConfirmationView/ConfirmationFooter.d.ts +29 -0
  17. package/components/Details/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
  18. package/components/Details/ConfirmationView/ConfirmationView.d.ts +28 -0
  19. package/components/Details/ConfirmationView/ConfirmationView.d.ts.map +1 -0
  20. package/components/Details/Credentials/CredentialsBanner/CredentialsBanner.d.ts +16 -0
  21. package/components/Details/Credentials/CredentialsBanner/CredentialsBanner.d.ts.map +1 -0
  22. package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts +29 -0
  23. package/components/Details/Credentials/CredentialsIdentityIcon/CredentialsIdentityIcon.d.ts.map +1 -0
  24. package/components/Details/Credentials/CredentialsInfoCard/CredentialsInfoCard.d.ts +20 -0
  25. package/components/Details/Credentials/CredentialsInfoCard/CredentialsInfoCard.d.ts.map +1 -0
  26. package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts +31 -0
  27. package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts.map +1 -0
  28. package/components/Details/DetailsPanel.d.ts.map +1 -1
  29. package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts +34 -0
  30. package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts.map +1 -0
  31. package/components/Details/Header/Header.d.ts +92 -19
  32. package/components/Details/Header/Header.d.ts.map +1 -1
  33. package/components/Details/Header/ShareButton/ShareButton.d.ts +6 -0
  34. package/components/Details/Header/ShareButton/ShareButton.d.ts.map +1 -1
  35. package/components/Details/TabsContent/About.d.ts +3 -2
  36. package/components/Details/TabsContent/About.d.ts.map +1 -1
  37. package/components/Details/TabsContent/Content.d.ts +53 -0
  38. package/components/Details/TabsContent/Content.d.ts.map +1 -0
  39. package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts +28 -0
  40. package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts.map +1 -0
  41. package/components/Details/TabsContent/DataGrid/DataGrid.d.ts +1 -1
  42. package/components/Details/TabsContent/DataGrid/DataGrid.d.ts.map +1 -1
  43. package/components/Details/TabsContent/Limits/LimitGroupSection.d.ts +11 -0
  44. package/components/Details/TabsContent/Limits/LimitGroupSection.d.ts.map +1 -0
  45. package/components/Details/TabsContent/Limits/LimitRow.d.ts +10 -0
  46. package/components/Details/TabsContent/Limits/LimitRow.d.ts.map +1 -0
  47. package/components/Details/TabsContent/Limits/Limits.d.ts +5 -0
  48. package/components/Details/TabsContent/Limits/Limits.d.ts.map +1 -0
  49. package/components/Favorites/FavoriteCard.d.ts +9 -4
  50. package/components/Favorites/FavoriteCard.d.ts.map +1 -1
  51. package/components/Favorites/Favorites.d.ts.map +1 -1
  52. package/components/Filter/Filter.d.ts +42 -6
  53. package/components/Filter/Filter.d.ts.map +1 -1
  54. package/components/InfoCard/InfoCard.d.ts +15 -0
  55. package/components/InfoCard/InfoCard.d.ts.map +1 -0
  56. package/components/ListView/ListView.d.ts +1 -5
  57. package/components/ListView/ListView.d.ts.map +1 -1
  58. package/components/ListView/Renders/EntityTypeCellRenderer.d.ts +1 -0
  59. package/components/ListView/Renders/EntityTypeCellRenderer.d.ts.map +1 -1
  60. package/components/ListView/Renders/FolderCellRenderer.d.ts +1 -0
  61. package/components/ListView/Renders/FolderCellRenderer.d.ts.map +1 -1
  62. package/components/ListView/Renders/NameCellRenderer.d.ts +1 -0
  63. package/components/ListView/Renders/NameCellRenderer.d.ts.map +1 -1
  64. package/components/ListView/Renders/StarCellRenderer.d.ts +1 -0
  65. package/components/ListView/Renders/StarCellRenderer.d.ts.map +1 -1
  66. package/components/ListView/Renders/TagsCellRenderer.d.ts +1 -0
  67. package/components/ListView/Renders/TagsCellRenderer.d.ts.map +1 -1
  68. package/components/ListView/columns.d.ts +2 -1
  69. package/components/ListView/columns.d.ts.map +1 -1
  70. package/components/StarToggleButton/StarToggleButton.d.ts +2 -0
  71. package/components/StarToggleButton/StarToggleButton.d.ts.map +1 -1
  72. package/components/TableView/TableView.d.ts +19 -0
  73. package/components/TableView/TableView.d.ts.map +1 -1
  74. package/components/Toolbar/Rows/TitleRow.d.ts +4 -3
  75. package/components/Toolbar/Rows/TitleRow.d.ts.map +1 -1
  76. package/components/Toolbar/Toolbar.d.ts.map +1 -1
  77. package/components/TopicTag/TopicTag.d.ts +12 -7
  78. package/components/TopicTag/TopicTag.d.ts.map +1 -1
  79. package/index.css +1 -1
  80. package/index.d.ts +21 -34
  81. package/index.d.ts.map +1 -1
  82. package/index.js +47934 -10596
  83. package/models/app-identity-styles.d.ts +28 -0
  84. package/models/app-identity-styles.d.ts.map +1 -0
  85. package/models/card-props.d.ts +22 -14
  86. package/models/card-props.d.ts.map +1 -1
  87. package/models/card-row-data.d.ts +5 -1
  88. package/models/card-row-data.d.ts.map +1 -1
  89. package/models/catalog-item-credentials.d.ts +4 -0
  90. package/models/catalog-item-credentials.d.ts.map +1 -1
  91. package/models/catalog-item.d.ts +3 -6
  92. package/models/catalog-item.d.ts.map +1 -1
  93. package/models/catalog-props.d.ts +158 -33
  94. package/models/catalog-props.d.ts.map +1 -1
  95. package/models/catalog-styles.d.ts +4 -41
  96. package/models/catalog-styles.d.ts.map +1 -1
  97. package/models/favorites.d.ts +24 -8
  98. package/models/favorites.d.ts.map +1 -1
  99. package/models/grid-context.d.ts +6 -1
  100. package/models/grid-context.d.ts.map +1 -1
  101. package/models/grid-props.d.ts +13 -1
  102. package/models/grid-props.d.ts.map +1 -1
  103. package/models/item-details-data.d.ts +94 -4
  104. package/models/item-details-data.d.ts.map +1 -1
  105. package/models/item-details-props.d.ts +457 -57
  106. package/models/item-details-props.d.ts.map +1 -1
  107. package/models/item-overview.d.ts +1 -7
  108. package/models/item-overview.d.ts.map +1 -1
  109. package/models/limits-props.d.ts +61 -0
  110. package/models/limits-props.d.ts.map +1 -0
  111. package/models/list-props.d.ts +27 -4
  112. package/models/list-props.d.ts.map +1 -1
  113. package/models/toolbar-props.d.ts +7 -21
  114. package/models/toolbar-props.d.ts.map +1 -1
  115. package/package.json +5 -6
  116. package/types/catalog-content-type.d.ts +13 -0
  117. package/types/catalog-content-type.d.ts.map +1 -0
  118. package/types/deployment-icon-size.d.ts +5 -0
  119. package/types/deployment-icon-size.d.ts.map +1 -0
  120. package/types/detail-tab.d.ts +4 -1
  121. package/types/detail-tab.d.ts.map +1 -1
  122. package/types/details-confirmation.d.ts +28 -0
  123. package/types/details-confirmation.d.ts.map +1 -0
  124. package/types/recipients-count.d.ts +12 -0
  125. package/types/recipients-count.d.ts.map +1 -0
  126. package/types/toolset-auth.d.ts +9 -0
  127. package/types/toolset-auth.d.ts.map +1 -1
  128. package/utils/catalog-content-tree.d.ts +8 -0
  129. package/utils/catalog-content-tree.d.ts.map +1 -0
  130. package/utils/catalog-filter.d.ts +1 -0
  131. package/utils/catalog-filter.d.ts.map +1 -1
  132. package/utils/catalog-sort.d.ts +1 -8
  133. package/utils/catalog-sort.d.ts.map +1 -1
  134. package/utils/catalog-tabs.d.ts +2 -2
  135. package/utils/catalog-tabs.d.ts.map +1 -1
  136. package/utils/styles.d.ts +1 -3
  137. package/utils/styles.d.ts.map +1 -1
  138. package/utils/toolset-credentials.d.ts +6 -19
  139. package/utils/toolset-credentials.d.ts.map +1 -1
  140. package/utils/usage-limits.d.ts +15 -0
  141. package/utils/usage-limits.d.ts.map +1 -0
  142. package/utils/use-fav-columns.d.ts +1 -4
  143. package/utils/use-fav-columns.d.ts.map +1 -1
  144. package/utils/use-scroll-virtualizer.d.ts +1 -9
  145. package/utils/use-scroll-virtualizer.d.ts.map +1 -1
  146. package/components/Details/Credentials/CredentialsSection.d.ts +0 -21
  147. package/components/Details/Credentials/CredentialsSection.d.ts.map +0 -1
  148. package/components/Details/Header/ConnectButton/ConnectButton.d.ts +0 -25
  149. package/components/Details/Header/ConnectButton/ConnectButton.d.ts.map +0 -1
  150. package/components/Details/Header/DeleteButton/DeleteButton.d.ts +0 -25
  151. package/components/Details/Header/DeleteButton/DeleteButton.d.ts.map +0 -1
  152. package/components/Details/Summary/Limits.d.ts +0 -18
  153. package/components/Details/Summary/Limits.d.ts.map +0 -1
  154. package/components/Details/Summary/Summary.d.ts +0 -12
  155. package/components/Details/Summary/Summary.d.ts.map +0 -1
  156. package/components/Details/TabsContent/Limits.d.ts +0 -14
  157. package/components/Details/TabsContent/Limits.d.ts.map +0 -1
  158. package/components/EntityHeader/EntityHeader.d.ts +0 -32
  159. package/components/EntityHeader/EntityHeader.d.ts.map +0 -1
  160. package/components/EntityTypeLabel/EntityTypeLabel.d.ts +0 -16
  161. package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +0 -1
  162. package/components/FeaturedChip/FeaturedChip.d.ts +0 -11
  163. package/components/FeaturedChip/FeaturedChip.d.ts.map +0 -1
  164. package/components/FolderPath/FolderPath.d.ts +0 -25
  165. package/components/FolderPath/FolderPath.d.ts.map +0 -1
  166. package/components/ItemHeader/ItemHeader.d.ts +0 -14
  167. package/components/ItemHeader/ItemHeader.d.ts.map +0 -1
  168. package/components/PublishFoldersTree/PublishFoldersTree.d.ts +0 -72
  169. package/components/PublishFoldersTree/PublishFoldersTree.d.ts.map +0 -1
  170. package/components/PublishHistoryList/PublishHistoryList.d.ts +0 -44
  171. package/components/PublishHistoryList/PublishHistoryList.d.ts.map +0 -1
  172. package/components/PublishPanel/PublishFooter.d.ts +0 -37
  173. package/components/PublishPanel/PublishFooter.d.ts.map +0 -1
  174. package/components/PublishPanel/PublishPanel.d.ts +0 -109
  175. package/components/PublishPanel/PublishPanel.d.ts.map +0 -1
  176. package/components/PublishPanel/StandalonePublishPanel.d.ts +0 -90
  177. package/components/PublishPanel/StandalonePublishPanel.d.ts.map +0 -1
  178. package/components/SearchBar/SearchBar.d.ts +0 -29
  179. package/components/SearchBar/SearchBar.d.ts.map +0 -1
  180. package/constants/catalog-defaults.d.ts +0 -4
  181. package/constants/catalog-defaults.d.ts.map +0 -1
  182. package/constants/entity-colors.d.ts +0 -6
  183. package/constants/entity-colors.d.ts.map +0 -1
  184. package/models/entity-summary.d.ts +0 -23
  185. package/models/entity-summary.d.ts.map +0 -1
  186. package/models/publish.d.ts +0 -89
  187. package/models/publish.d.ts.map +0 -1
  188. package/models/sort.d.ts +0 -8
  189. package/models/sort.d.ts.map +0 -1
  190. package/types/entity-tag.d.ts +0 -9
  191. package/types/entity-tag.d.ts.map +0 -1
  192. package/types/entity-type.d.ts +0 -11
  193. package/types/entity-type.d.ts.map +0 -1
  194. package/utils/format-published-date.d.ts +0 -8
  195. package/utils/format-published-date.d.ts.map +0 -1
  196. package/utils/parse-about-content.d.ts +0 -32
  197. package/utils/parse-about-content.d.ts.map +0 -1
  198. package/utils/publish-folder-tree.d.ts +0 -45
  199. package/utils/publish-folder-tree.d.ts.map +0 -1
  200. package/utils/publish-state.d.ts +0 -9
  201. package/utils/publish-state.d.ts.map +0 -1
  202. package/utils/use-publish-flow.d.ts +0 -77
  203. package/utils/use-publish-flow.d.ts.map +0 -1
@@ -11,6 +11,12 @@ interface ShareButtonProps {
11
11
  * provided, clicking Share opens this popover instead of calling `onShare`.
12
12
  */
13
13
  shareOverlay?: (item: CatalogItem, onClose: () => void) => ReactNode;
14
+ /**
15
+ * Additional caller-supplied rule for whether Share is shown, combined
16
+ * (AND) with the built-in ownership/type rule. Absent means the built-in
17
+ * rule alone decides.
18
+ */
19
+ isShareVisible?: (item: CatalogItem) => boolean;
14
20
  /** Share button label. Defaults to `'Share'`. */
15
21
  label?: string;
16
22
  }
@@ -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;AAG9D,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,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAaD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA6C5C,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":[],"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;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,gJAAgJ;IAChJ,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC;IACnD,4CAA4C;IAC5C,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,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,45 @@
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 background on hover. Fallback: `--bg-control-accent-alpha-hover`. */
29
+ rowHoverBackground?: string;
30
+ /** Background of a checked row. Fallback: `--bg-control-accent-alpha-active`. */
31
+ rowCheckedBackground?: string;
32
+ /** Focus ring color of a keyboard-focused row. Fallback: `--stroke-accent-focus`. */
33
+ rowFocusRing?: string;
34
+ /** Row label text color. Fallback: `--text-primary`. */
35
+ rowLabel?: string;
36
+ /** Section heading ("Topics") text color. Fallback: `--text-tertiary`. */
37
+ sectionLabel?: string;
38
+ /** Divider line color between filter sections. Fallback: `--stroke-tertiary`. */
39
+ divider?: string;
40
+ /** Footer top-border color. Fallback: `--stroke-tertiary`. */
41
+ footerBorder?: string;
42
+ }
4
43
  export interface FilterProps {
5
44
  /** Set of topic strings currently selected for filtering. Empty = no topic filter. */
6
45
  checked: Set<string>;
@@ -16,8 +55,6 @@ export interface FilterProps {
16
55
  myAppsLabel?: string;
17
56
  /** Label for the Topics section heading. Default: 'Topics'. */
18
57
  topicsLabel?: string;
19
- /** @deprecated No longer applied — section style is set by the DS spec. */
20
- topicsSectionClassName?: string;
21
58
  /** Button label when nothing is filtered. Default: 'From'. */
22
59
  defaultLabel?: string;
23
60
  /** Label for the footer Clear button. Default: 'Clear'. */
@@ -26,10 +63,9 @@ export interface FilterProps {
26
63
  applyLabel?: string;
27
64
  /** Optional typography overrides for the filter button and section label. */
28
65
  typography?: ToolbarTypography;
66
+ /** Color overrides applied as CSS custom properties. */
67
+ colors?: FilterColors;
29
68
  }
30
- /**
31
- * Source-filter dropdown with checkbox list, keyboard navigation, and a
32
- * footer with Clear + Apply buttons (buffered — changes are committed on Apply).
33
- */
69
+ /** Source-filter dropdown: checkbox list for topics and My Apps toggle, with buffered Clear/Apply controls. */
34
70
  export declare const Filter: FC<FilterProps>;
35
71
  //# sourceMappingURL=Filter.d.ts.map
@@ -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;I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M,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,CAkTlC,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,9 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { ListViewProps } from '../../models/list-props';
3
- /**
4
- * ag-grid table view of catalog items.
5
- * Rows are windowed: starts at PAGE_SIZE and grows in PAGE_SIZE increments as
6
- * the user scrolls near the bottom, avoiding a costly full-list DOM render.
7
- */
3
+ /** ag-grid table view of catalog items with infinite-scroll windowing. */
8
4
  export declare const ListView: FC<ListViewProps>;
9
5
  //# sourceMappingURL=ListView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../../../src/components/ListView/ListView.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,EAAE,EAKH,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAqBxD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA2ItC,CAAC"}
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,CAgKtC,CAAC"}
@@ -2,5 +2,6 @@ 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 entity-type column. */
5
6
  export declare const EntityTypeCellRenderer: FC<ICellRendererParams<CatalogItem, unknown, GridContext>>;
6
7
  //# sourceMappingURL=EntityTypeCellRenderer.d.ts.map
@@ -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,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,5 +2,6 @@ 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
  export declare const FolderCellRenderer: FC<ICellRendererParams<CatalogItem, unknown, GridContext>>;
6
7
  //# 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,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":"AACA,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;AAE3D,wDAAwD;AACxD,eAAO,MAAM,kBAAkB,EAAE,EAAE,CACjC,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,WAAW,CAAC,CAWvD,CAAC"}
@@ -2,5 +2,6 @@ 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 name/identity column: icon, name, version, credentials badge, and selection checkmark. */
5
6
  export declare const NameCellRenderer: FC<ICellRendererParams<CatalogItem, unknown, GridContext>>;
6
7
  //# sourceMappingURL=NameCellRenderer.d.ts.map
@@ -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,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,CA2CvD,CAAC"}
@@ -2,5 +2,6 @@ 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 star/favorite toggle column. */
5
6
  export declare const StarCellRenderer: FC<ICellRendererParams<CatalogItem, unknown, GridContext>>;
6
7
  //# sourceMappingURL=StarCellRenderer.d.ts.map
@@ -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,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,6 @@
1
1
  import { ICellRendererParams } from 'ag-grid-community';
2
2
  import { FC } from 'react';
3
3
  import { CatalogItem } from '../../../models/catalog-item';
4
+ /** ag-grid cell renderer for the topics/tags column. */
4
5
  export declare const TagsCellRenderer: FC<ICellRendererParams<CatalogItem>>;
5
6
  //# sourceMappingURL=TagsCellRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TagsCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/TagsCellRenderer.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;AAGhE,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAUjE,CAAC"}
1
+ {"version":3,"file":"TagsCellRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/ListView/Renders/TagsCellRenderer.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;AAGhE,wDAAwD;AACxD,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAUjE,CAAC"}
@@ -1,5 +1,6 @@
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
4
  /** 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>[];
5
+ export declare const CATALOG_COLUMNS: (type: CatalogEntityType, isReadonly?: boolean) => ColDef<CatalogItem>[];
5
6
  //# 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,sJAAsJ;AACtJ,eAAO,MAAM,eAAe,GAC1B,MAAM,iBAAiB,EACvB,oBAAkB,KACjB,MAAM,CAAC,WAAW,CAAC,EAsDrB,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
+ export 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,6 +48,8 @@ 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>;
@@ -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,MAAM,WAAW,eAAe;IAC9B,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,5 +1,6 @@
1
+ import { DropdownItem } from '@epam/ai-dial-ui-kit';
1
2
  import { FC } from 'react';
2
- import { CatalogSortOption, ToolbarStyles } from '../../../models/toolbar-props';
3
+ import { ToolbarStyles } from '../../../models/toolbar-props';
3
4
  import { CatalogViewMode } from '../../../types/view-mode';
4
5
  interface TitleRowProps {
5
6
  totalCount?: number;
@@ -12,9 +13,9 @@ interface TitleRowProps {
12
13
  searchPlaceholder?: string;
13
14
  gridViewLabel?: string;
14
15
  listViewLabel?: string;
16
+ viewToggleLabel?: string;
15
17
  sortKey?: string;
16
- onSortChange?: (key: string) => void;
17
- sortOptions?: CatalogSortOption[];
18
+ sortOptions?: DropdownItem[];
18
19
  filters?: Set<string>;
19
20
  onFiltersChange?: (filters: Set<string>) => void;
20
21
  filterValues?: Set<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"TitleRow.d.ts","sourceRoot":"","sources":["../../../../src/components/Toolbar/Rows/TitleRow.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,aAAa,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAK3D,UAAU,aAAa;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,eAAe,CAAC;IAC1B,gBAAgB,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,MA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CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,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,CAgItC,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,CAmDpC,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>;
@@ -20,12 +31,6 @@ export interface TopicsLineProps {
20
31
  /** Extra classes on the root element (e.g. to constrain width in a table cell). */
21
32
  className?: string;
22
33
  }
23
- /**
24
- * Renders topics on a single line, collapsing whatever doesn't fit into a
25
- * "+N" overflow badge. The row never wraps — this is measured by horizontal
26
- * overflow (each tag's right edge vs. the container width), not by row
27
- * position, so it works the same whether the container is loosely sized
28
- * (card grid) or a fixed-width table cell (list view).
29
- */
34
+ /** Renders topics on a single line, collapsing overflow into a "+N" badge. */
30
35
  export declare const TopicsLine: FC<TopicsLineProps>;
31
36
  //# sourceMappingURL=TopicTag.d.ts.map
@@ -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,K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