@epam/ai-dial-publish-panel 1.4.0-dev.115 → 1.4.0-dev.116

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.
@@ -1,11 +1,24 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { PublishDependency, PublishDependencyType } from './publish-dependency';
3
+ /**
4
+ * How the dependencies section is presented. The host picks it: a host that
5
+ * only warns about the dependencies keeps the default `Warning`, a host that
6
+ * publishes them together with the item says so with `Published`, which swaps
7
+ * the warning banner for a plain caption and lays the rows out as an icon next
8
+ * to the type label over the name.
9
+ */
10
+ export declare enum PublishDependenciesAppearance {
11
+ Warning = "warning",
12
+ Published = "published"
13
+ }
3
14
  /** Text overrides for the private-dependencies section. */
4
15
  export interface PublishDependenciesLabels {
5
16
  /** Section heading. Default: `'Private dependencies'`. */
6
17
  title?: string;
7
- /** Warning shown under the heading: why a private dependency matters; the host names the published entity in it. Default: a generic text about "this item". */
18
+ /** Text under the heading: why a private dependency matters, or that the dependencies are published with the item; the host names the published entity in it. Default: a generic warning about "this item". */
8
19
  description?: string;
20
+ /** How the section is presented. Default: `PublishDependenciesAppearance.Warning`. */
21
+ appearance?: PublishDependenciesAppearance;
9
22
  /** Label per kind of dependency. Defaults: `'Application'`, `'Toolset'`, `'Prompt'`, `'Skill'`, `'File'`. */
10
23
  typeLabels?: Partial<Record<PublishDependencyType, string>>;
11
24
  /** Text announced to screen readers when the section appears or its count changes; receives the count. */
@@ -19,6 +32,12 @@ export interface PublishDependenciesColors {
19
32
  nameText?: string;
20
33
  /** Type, version and location text color. Defaults to `--text-secondary`. */
21
34
  metaText?: string;
35
+ /** Caption text color under the heading, in the `Published` appearance. Defaults to `--text-secondary`. */
36
+ captionText?: string;
37
+ /** Type label color above each name, in the `Published` appearance. Defaults to `--text-accent-tertiary`. */
38
+ typeText?: string;
39
+ /** Divider color between rows, in the `Published` appearance. Defaults to `--stroke-tertiary`. */
40
+ divider?: string;
22
41
  }
23
42
  /** Style overrides for the private-dependencies section. */
24
43
  export interface PublishDependenciesStyles {
@@ -35,10 +54,14 @@ export interface PublishDependenciesListProps {
35
54
  labels?: PublishDependenciesLabels;
36
55
  /** Typography class for the heading. Default: `'dial-body-semi-text'`. */
37
56
  headingClassName?: string;
38
- /** Typography class for each dependency name. Default: `'dial-small-semi-text'`. */
57
+ /** Typography class for each dependency name. Default: `'dial-small-semi-text'`, or `'dial-body-semi-text'` in the `Published` appearance. */
39
58
  nameClassName?: string;
40
59
  /** Typography class for each dependency's type, version and location. Default: `'dial-small-text'`. */
41
60
  metaClassName?: string;
61
+ /** Typography class for the caption under the heading, in the `Published` appearance. Default: `'dial-tiny-text'`. */
62
+ captionClassName?: string;
63
+ /** Typography class for the type label above each name, in the `Published` appearance. Default: `'dial-tiny-lead-semi-text'`, which also upper-cases it. */
64
+ typeClassName?: string;
42
65
  /** Style overrides. */
43
66
  styles?: PublishDependenciesStyles;
44
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"publish-dependencies-list.d.ts","sourceRoot":"","sources":["../../src/models/publish-dependencies-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAE9B,2DAA2D;AAC3D,MAAM,WAAW,yBAAyB;IACxC,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+JAA+J;IAC/J,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6GAA6G;IAC7G,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5D,0GAA0G;IAC1G,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC7C;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,uCAAuC;IACvC,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,oEAAoE;IACpE,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,2CAA2C;AAC3C,MAAM,WAAW,4BAA4B;IAC3C,oEAAoE;IACpE,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,sBAAsB;IACtB,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uGAAuG;IACvG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uBAAuB;IACvB,MAAM,CAAC,EAAE,yBAAyB,CAAC;CACpC"}
1
+ {"version":3,"file":"publish-dependencies-list.d.ts","sourceRoot":"","sources":["../../src/models/publish-dependencies-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAE9B;;;;;;GAMG;AACH,oBAAY,6BAA6B;IACvC,OAAO,YAAY;IACnB,SAAS,cAAc;CACxB;AAED,2DAA2D;AAC3D,MAAM,WAAW,yBAAyB;IACxC,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+MAA+M;IAC/M,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,UAAU,CAAC,EAAE,6BAA6B,CAAC;IAC3C,6GAA6G;IAC7G,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5D,0GAA0G;IAC1G,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC7C;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2GAA2G;IAC3G,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kGAAkG;IAClG,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,uCAAuC;IACvC,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,oEAAoE;IACpE,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,2CAA2C;AAC3C,MAAM,WAAW,4BAA4B;IAC3C,oEAAoE;IACpE,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,sBAAsB;IACtB,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8IAA8I;IAC9I,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uGAAuG;IACvG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sHAAsH;IACtH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,4JAA4J;IAC5J,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uBAAuB;IACvB,MAAM,CAAC,EAAE,yBAAyB,CAAC;CACpC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-publish-panel",
3
3
  "description": "Publish-to-folder UI and state flow shared by catalog entity publish and conversation publish",
4
- "version": "1.4.0-dev.115",
4
+ "version": "1.4.0-dev.116",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sideEffects": [
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": "^19.2.8",
28
- "@epam/ai-dial-chat-shared": "1.4.0-dev.115",
28
+ "@epam/ai-dial-chat-shared": "1.4.0-dev.116",
29
29
  "@epam/ai-dial-ui-kit": "^0.16.0",
30
30
  "@epam/ai-dial-react-file-manager": "^0.4.3"
31
31
  },