@epam/ai-dial-catalog 1.0.0 → 1.0.2

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 (61) hide show
  1. package/components/CardGrid/Card.d.ts.map +1 -1
  2. package/components/CardGrid/CardGrid.d.ts.map +1 -1
  3. package/components/CardGrid/CardRowRenderer.d.ts.map +1 -1
  4. package/components/Catalog/Catalog.d.ts.map +1 -1
  5. package/components/Catalog/CreateButton.d.ts.map +1 -1
  6. package/components/Details/ConfirmationView/ConfirmationFooter.d.ts.map +1 -1
  7. package/components/Details/ConfirmationView/ConfirmationView.d.ts.map +1 -1
  8. package/components/Details/Credentials/CredentialsBanner/CredentialsBanner.d.ts.map +1 -1
  9. package/components/Details/Credentials/CredentialsManagementPanel/CredentialsManagementPanel.d.ts.map +1 -1
  10. package/components/Details/DetailsPanel.d.ts.map +1 -1
  11. package/components/Details/Header/CredentialsApiKeyOverlay/CredentialsApiKeyOverlay.d.ts.map +1 -1
  12. package/components/Details/Header/Header.d.ts +33 -8
  13. package/components/Details/Header/Header.d.ts.map +1 -1
  14. package/components/Details/Header/ShareButton/ShareButton.d.ts.map +1 -1
  15. package/components/Details/TabsContent/ContentFileTree/ContentFileTree.d.ts.map +1 -1
  16. package/components/Details/TabsContent/Limits/LimitGroupSection.d.ts +11 -0
  17. package/components/Details/TabsContent/Limits/LimitGroupSection.d.ts.map +1 -0
  18. package/components/Details/TabsContent/Limits/LimitRow.d.ts +10 -0
  19. package/components/Details/TabsContent/Limits/LimitRow.d.ts.map +1 -0
  20. package/components/Details/TabsContent/Limits/Limits.d.ts +5 -0
  21. package/components/Details/TabsContent/Limits/Limits.d.ts.map +1 -0
  22. package/components/Favorites/FavoriteCard.d.ts +2 -0
  23. package/components/Favorites/FavoriteCard.d.ts.map +1 -1
  24. package/components/Favorites/Favorites.d.ts.map +1 -1
  25. package/components/Filter/Filter.d.ts.map +1 -1
  26. package/components/ListView/ListView.d.ts.map +1 -1
  27. package/components/ListView/Renders/NameCellRenderer.d.ts.map +1 -1
  28. package/components/ListView/Renders/StarCellRenderer.d.ts.map +1 -1
  29. package/components/ListView/columns.d.ts +1 -1
  30. package/components/ListView/columns.d.ts.map +1 -1
  31. package/components/StarToggleButton/StarToggleButton.d.ts.map +1 -1
  32. package/components/Toolbar/Rows/TitleRow.d.ts.map +1 -1
  33. package/index.css +1 -1
  34. package/index.d.ts +2 -3
  35. package/index.d.ts.map +1 -1
  36. package/index.js +62367 -61678
  37. package/models/card-props.d.ts +8 -0
  38. package/models/card-props.d.ts.map +1 -1
  39. package/models/card-row-data.d.ts +4 -0
  40. package/models/card-row-data.d.ts.map +1 -1
  41. package/models/catalog-props.d.ts +36 -0
  42. package/models/catalog-props.d.ts.map +1 -1
  43. package/models/favorites.d.ts +2 -0
  44. package/models/favorites.d.ts.map +1 -1
  45. package/models/grid-context.d.ts +5 -0
  46. package/models/grid-context.d.ts.map +1 -1
  47. package/models/grid-props.d.ts +8 -0
  48. package/models/grid-props.d.ts.map +1 -1
  49. package/models/item-details-data.d.ts +22 -2
  50. package/models/item-details-data.d.ts.map +1 -1
  51. package/models/item-details-props.d.ts +40 -6
  52. package/models/item-details-props.d.ts.map +1 -1
  53. package/models/limits-props.d.ts +61 -0
  54. package/models/limits-props.d.ts.map +1 -0
  55. package/models/list-props.d.ts +4 -0
  56. package/models/list-props.d.ts.map +1 -1
  57. package/package.json +4 -4
  58. package/utils/usage-limits.d.ts +15 -0
  59. package/utils/usage-limits.d.ts.map +1 -0
  60. package/components/Details/TabsContent/Limits.d.ts +0 -45
  61. package/components/Details/TabsContent/Limits.d.ts.map +0 -1
@@ -1,45 +0,0 @@
1
- import { FC } from 'react';
2
- import { CatalogItemLimits } from '../../../models/item-details-data';
3
- /** Color overrides for `LimitsTab`, applied as CSS custom properties. */
4
- export interface LimitsTabColors {
5
- /** Section heading text color. Fallback: `--text-secondary`. */
6
- sectionHeading?: string;
7
- /** Row label text color, for both capped and unlimited rows. Fallback: `--text-secondary`. */
8
- label?: string;
9
- /** Row value text color, for both capped and unlimited rows. Fallback: `--text-secondary`. */
10
- value?: string;
11
- /** Progress-bar track color for capped rows. Fallback: `--bg-layer-sunken`. */
12
- progressTrack?: string;
13
- /** Progress-bar fill color below 75% usage. Fallback: `--text-control-accent-hover`. */
14
- progressFillDefault?: string;
15
- /** Progress-bar fill color once usage reaches 75% of the limit. Fallback: `--text-warning-icon`. */
16
- progressFillWarning?: string;
17
- /** Progress-bar fill color once usage reaches (or exceeds) the limit. Fallback: `--bg-control-error-active`. */
18
- progressFillDanger?: string;
19
- }
20
- /** Props for `LimitsTab`. */
21
- export interface LimitsTabProps {
22
- /** Limits data to render. */
23
- limits?: CatalogItemLimits;
24
- /** "Cost caps" section heading, shown above capped/progress rows. Defaults to `'Cost caps'`. */
25
- costCapsSectionLabel?: string;
26
- /** "Unlimited" section heading, shown above unlimited rows. Defaults to `'Unlimited'`. */
27
- unlimitedSectionLabel?: string;
28
- /** CSS class for capped-row labels. Defaults to `'dial-small-semi-text'`. */
29
- labelClassName?: string;
30
- /** CSS class for unlimited-row labels. Defaults to `'dial-tiny-text'`. */
31
- unlimitedLabelClassName?: string;
32
- /** CSS class for capped-row values. Defaults to `'dial-small-text'`. */
33
- valueClassName?: string;
34
- /** CSS class for unlimited-row values, including the "Unlimited" text. Defaults to `'dial-tiny-text'`. */
35
- unlimitedValueClassName?: string;
36
- /** CSS class for section headings. Defaults to `'dial-caption-text'`. */
37
- sectionClassName?: string;
38
- /** CSS class for a capped row's limit (total) figure, heavier than `valueClassName`. Defaults to `'dial-small-semi-text'`. */
39
- limitClassName?: string;
40
- /** Color overrides applied as CSS custom properties. */
41
- colors?: LimitsTabColors;
42
- }
43
- /** Renders model usage limits, split into a "cost caps" progress-bar section and an "unlimited" rows section. */
44
- export declare const LimitsTab: FC<LimitsTabProps>;
45
- //# sourceMappingURL=Limits.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Limits.d.ts","sourceRoot":"","sources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