@epam/ai-dial-catalog 1.2.0-dev.219 → 1.2.0-dev.229

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-catalog",
3
3
  "description": "Marketplace catalog component for browsing models, tools, and assistants with search, filter, and sort",
4
- "version": "1.2.0-dev.219",
4
+ "version": "1.2.0-dev.229",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sideEffects": [
@@ -28,12 +28,12 @@
28
28
  "dependencies": {
29
29
  "@tabler/icons-react": "^3.44.0",
30
30
  "ag-grid-community": "^35.3.0",
31
- "@epam/ai-dial-publish-panel": "1.2.0-dev.219"
31
+ "@epam/ai-dial-publish-panel": "1.2.0-dev.229"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^19.2.8",
35
- "@epam/ai-dial-chat-shared": "1.2.0-dev.219",
36
- "@epam/ai-dial-ui-kit": "^0.15.0-dev.27"
35
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.229",
36
+ "@epam/ai-dial-ui-kit": "^0.15.0-dev.30"
37
37
  },
38
38
  "repository": {
39
39
  "type": "git",
@@ -18,11 +18,4 @@ export declare enum DetailsConfirmationKind {
18
18
  */
19
19
  Unpublish = "unpublish"
20
20
  }
21
- /** Palette a confirmation step is rendered with. */
22
- export declare enum DetailsConfirmationVariant {
23
- /** Irreversible loss for everyone — red identity card and a danger confirm button. */
24
- Danger = "danger",
25
- /** Affects only the current user and is recoverable — blue identity card and a neutral confirm button. */
26
- Info = "info"
27
- }
28
21
  //# sourceMappingURL=details-confirmation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"details-confirmation.d.ts","sourceRoot":"","sources":["../../src/types/details-confirmation.ts"],"names":[],"mappings":"AAAA,yHAAyH;AACzH,oBAAY,uBAAuB;IACjC,oDAAoD;IACpD,MAAM,WAAW;IACjB,oDAAoD;IACpD,MAAM,WAAW;IACjB,gEAAgE;IAChE,OAAO,YAAY;IACnB,8DAA8D;IAC9D,YAAY,iBAAiB;IAC7B,6DAA6D;IAC7D,YAAY,iBAAiB;IAC7B;;;;;OAKG;IACH,SAAS,cAAc;CACxB;AAED,oDAAoD;AACpD,oBAAY,0BAA0B;IACpC,sFAAsF;IACtF,MAAM,WAAW;IACjB,0GAA0G;IAC1G,IAAI,SAAS;CACd"}
1
+ {"version":3,"file":"details-confirmation.d.ts","sourceRoot":"","sources":["../../src/types/details-confirmation.ts"],"names":[],"mappings":"AAAA,yHAAyH;AACzH,oBAAY,uBAAuB;IACjC,oDAAoD;IACpD,MAAM,WAAW;IACjB,oDAAoD;IACpD,MAAM,WAAW;IACjB,gEAAgE;IAChE,OAAO,YAAY;IACnB,8DAA8D;IAC9D,YAAY,iBAAiB;IAC7B,6DAA6D;IAC7D,YAAY,iBAAiB;IAC7B;;;;;OAKG;IACH,SAAS,cAAc;CACxB"}
@@ -1,29 +0,0 @@
1
- import { FC } from 'react';
2
- import { DetailsConfirmationVariant } from '../../../types/details-confirmation';
3
- /** Props for `ConfirmationFooter`. */
4
- export interface ConfirmationFooterProps {
5
- /** Label of the confirming action button. */
6
- confirmLabel: string;
7
- /** Label of the cancel button. */
8
- cancelLabel: string;
9
- /** Palette of the confirm button; `Danger` also gives it a leading trash icon. Default: `DetailsConfirmationVariant.Info`. */
10
- variant?: DetailsConfirmationVariant;
11
- /** Whether the confirmed action is in flight. Default: `false`. */
12
- isLoading?: boolean;
13
- /**
14
- * Whether confirming is not yet possible because the step's required input
15
- * is unsatisfied — e.g. no published folder chosen yet. Kept separate from
16
- * `isLoading`: a confirmation that cannot run yet and one already running are
17
- * different states, and only `isLoading` disables cancel. Default: `false`.
18
- */
19
- isConfirmDisabled?: boolean;
20
- /** Status text announced to assistive tech while the action is in flight. */
21
- loadingStatusLabel?: string;
22
- /** Called when the user confirms. */
23
- onConfirm: () => void;
24
- /** Called when the user cancels. */
25
- onCancel: () => void;
26
- }
27
- /** Action row pinned to the bottom of the details panel while a confirmation step is open. */
28
- export declare const ConfirmationFooter: FC<ConfirmationFooterProps>;
29
- //# sourceMappingURL=ConfirmationFooter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfirmationFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/ConfirmationView/ConfirmationFooter.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGjF,sCAAsC;AACtC,MAAM,WAAW,uBAAuB;IACtC,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,8HAA8H;IAC9H,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oCAAoC;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAuD1D,CAAC"}
@@ -1,28 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- import { CatalogItem } from '../../../models/catalog-item';
3
- import { DetailsConfirmationVariant } from '../../../types/details-confirmation';
4
- /** Props for `ConfirmationView`. */
5
- export interface ConfirmationViewProps {
6
- /** Item the confirmation is about, rendered as an identity card above the copy. */
7
- item: CatalogItem;
8
- /** Body copy explaining what confirming does. */
9
- message: ReactNode;
10
- /** Consequences listed as bullets under the message. An empty or omitted list renders nothing. */
11
- consequences?: string[];
12
- /** Palette of the identity card. Default: `DetailsConfirmationVariant.Info`. */
13
- variant?: DetailsConfirmationVariant;
14
- /** Typography class applied to the message and the bullet list. Defaults to `'dial-small-text'`. */
15
- messageClassName?: string;
16
- /**
17
- * Optional interactive slot rendered after the consequence bullets, for a
18
- * confirmation that needs an input before it can be confirmed — today,
19
- * choosing which published folder to unpublish from. This component stays
20
- * presentational: whoever passes the slot owns its state, and disabling the
21
- * confirm button until the input is satisfied is the panel's job. A kind
22
- * that needs no input passes nothing and renders exactly as before.
23
- */
24
- children?: ReactNode;
25
- }
26
- /** Body of the details panel's in-place confirmation step: an item identity card, the confirmation copy, and an optional consequence list. */
27
- export declare const ConfirmationView: FC<ConfirmationViewProps>;
28
- //# sourceMappingURL=ConfirmationView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfirmationView.d.ts","sourceRoot":"","sources":["../../../../src/components/Details/ConfirmationView/ConfirmationView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAIjF,oCAAoC;AACpC,MAAM,WAAW,qBAAqB;IACpC,mFAAmF;IACnF,IAAI,EAAE,WAAW,CAAC;IAClB,iDAAiD;IACjD,OAAO,EAAE,SAAS,CAAC;IACnB,kGAAkG;IAClG,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,gFAAgF;IAChF,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,oGAAoG;IACpG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,8IAA8I;AAC9I,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAiCtD,CAAC"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}