@epam/ai-dial-ui-kit 0.15.0-dev.47 → 0.15.0-dev.49

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/dist/CHANGELOG.md CHANGED
@@ -67,6 +67,8 @@ Versions match the git tags on the `development` branch.
67
67
 
68
68
  ### Changed
69
69
 
70
+ - **`StarterButton` (2.0) — a sparkles icon by default** — the design puts a sparkles glyph before every starter label, so each host was passing the same `iconBefore`. `iconBefore` now defaults to a 20px `IconSparkles` at the 1.5 stroke, `aria-hidden`, and stroked with the starter gradient like any other icon. A caller-supplied `iconBefore` replaces it; `iconBefore={null}` keeps a label-only pill. A `StarterButton` that passed no `iconBefore` now draws the icon; no other API changes.
71
+
70
72
  - **`Select` (2.0) — multi-select tags are 24px, and the field wraps them with an 8px gap** — the tags in a multi-select field used the 32px pill of `Tag`, taller than the design's field chip. They are now 24px with a `rounded-md` shape, a `layer-sunken` fill and a `stroke-secondary` rim, and the wrapped field pads 8px vertically with 8px between tags, so one row of tags still fills the 40px field. `Tag` itself is unchanged. Visual only; no API changes.
71
73
 
72
74
  ### Fixed
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),u=require("./editor-Bc9xzKuR.cjs"),d=require("@monaco-editor/react");function f(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const m=f(d),b=({value:e,onChange:o,onValidateJSON:t,options:a,currentTheme:n,themesConfig:i=u.EDITOR_THEMES_CONFIG})=>{function s(r){r?.editor?.defineTheme(n,i[n]),r.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:[{uri:"http://custom-schema/object-required.json",fileMatch:["*"],schema:{type:"object",description:"Top-level value must be an object",additionalProperties:!0}}]})}const{Editor:l}=m;return c.jsx(l,{beforeMount:s,height:"100%",defaultLanguage:"json",value:e,onChange:o,theme:n,onValidate:t,options:{minimap:{enabled:!1},formatOnType:!0,formatOnPaste:!0,selectOnLineNumbers:!1,automaticLayout:!0,scrollBeyondLastLine:!1,wordWrap:"on",smoothScrolling:!0,overviewRulerLanes:0,scrollbar:{horizontal:"hidden",verticalScrollbarSize:4,verticalSliderSize:4},...a??{}}})};exports.DialJsonEditor=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),u=require("./editor-eZo55lDw.cjs"),d=require("@monaco-editor/react");function f(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const m=f(d),b=({value:e,onChange:o,onValidateJSON:t,options:a,currentTheme:n,themesConfig:i=u.EDITOR_THEMES_CONFIG})=>{function s(r){r?.editor?.defineTheme(n,i[n]),r.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:[{uri:"http://custom-schema/object-required.json",fileMatch:["*"],schema:{type:"object",description:"Top-level value must be an object",additionalProperties:!0}}]})}const{Editor:l}=m;return c.jsx(l,{beforeMount:s,height:"100%",defaultLanguage:"json",value:e,onChange:o,theme:n,onValidate:t,options:{minimap:{enabled:!1},formatOnType:!0,formatOnPaste:!0,selectOnLineNumbers:!1,automaticLayout:!0,scrollBeyondLastLine:!1,wordWrap:"on",smoothScrolling:!0,overviewRulerLanes:0,scrollbar:{horizontal:"hidden",verticalScrollbarSize:4,verticalSliderSize:4},...a??{}}})};exports.DialJsonEditor=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),j=require("react"),O=require("@uiw/react-md-editor"),_=require("./lazy-Cy9WobJf.cjs"),k=require("./merge-classes-BEJXjzkx.cjs"),o=require("@tabler/icons-react"),p=require("./icon-DhjrDQ8I.cjs"),f=require("./icon-CrGVkVpG.cjs");function E(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(i,r,c.get?c:{enumerable:!0,get:()=>n[r]})}}return i.default=n,Object.freeze(i)}const b=E(O),L=f.DIAL_ICON_SIZE.SM,t={size:L,stroke:p.DIAL_KIT_ICON_STROKE},s=(n,i)=>({...n,icon:i}),M=()=>{const{bold:n,code:i,divider:r,group:c,heading1:a,heading2:d,heading3:u,italic:l,link:m,orderedListCommand:I,quote:x,strikethrough:g,table:h,unorderedListCommand:C}=b;return[s(n,e.jsx(o.IconBold,{...t})),s(l,e.jsx(o.IconItalic,{...t})),s(g,e.jsx(o.IconStrikethrough,{...t})),r,c([a,d,u],{name:"heading",groupName:"heading",icon:e.jsx(o.IconTextSize,{...t}),buttonProps:{"aria-label":"Text style",title:"Text style"}}),r,s(C,e.jsx(o.IconList,{...t})),s(I,e.jsx(o.IconListNumbers,{...t})),r,s(x,e.jsx(o.IconQuote,{...t})),s(m,e.jsx(o.IconLink,{...t})),s(i,e.jsx(o.IconCode,{...t})),r,s(h,e.jsx(o.IconTable,{...t}))]},S=()=>{const{codeEdit:n,codeLive:i,codePreview:r,divider:c,fullscreen:a}=b;return[s(n,e.jsx(o.IconPencil,{...t})),s(i,e.jsx(o.IconLayoutColumns,{...t})),s(r,e.jsx(o.IconEye,{...t})),c,s(a,e.jsx(o.IconMaximize,{...t}))]},T=({value:n,onChange:i,height:r=300,theme:c=_.EditorThemes.light,className:a,placeholder:d,defaultPreview:u="edit",id:l,ariaLabel:m})=>{const I=j.useMemo(()=>M(),[]),x=j.useMemo(()=>S(),[]);return e.jsx("div",{"data-color-mode":c,className:k.mergeClasses("dial-kit-markdown-editor",a),children:e.jsx(O,{value:n,onChange:g=>i?.(g||""),height:r,preview:u,commands:I,extraCommands:x,textareaProps:{placeholder:d,id:l,"aria-label":m}})})};exports.MarkdownEditor=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),j=require("react"),O=require("@uiw/react-md-editor"),_=require("./lazy-4AJBZ-Eh.cjs"),k=require("./merge-classes-BEJXjzkx.cjs"),o=require("@tabler/icons-react"),p=require("./icon-DhjrDQ8I.cjs"),f=require("./icon-CrGVkVpG.cjs");function E(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(i,r,c.get?c:{enumerable:!0,get:()=>n[r]})}}return i.default=n,Object.freeze(i)}const b=E(O),L=f.DIAL_ICON_SIZE.SM,t={size:L,stroke:p.DIAL_KIT_ICON_STROKE},s=(n,i)=>({...n,icon:i}),M=()=>{const{bold:n,code:i,divider:r,group:c,heading1:a,heading2:d,heading3:u,italic:l,link:m,orderedListCommand:I,quote:x,strikethrough:g,table:h,unorderedListCommand:C}=b;return[s(n,e.jsx(o.IconBold,{...t})),s(l,e.jsx(o.IconItalic,{...t})),s(g,e.jsx(o.IconStrikethrough,{...t})),r,c([a,d,u],{name:"heading",groupName:"heading",icon:e.jsx(o.IconTextSize,{...t}),buttonProps:{"aria-label":"Text style",title:"Text style"}}),r,s(C,e.jsx(o.IconList,{...t})),s(I,e.jsx(o.IconListNumbers,{...t})),r,s(x,e.jsx(o.IconQuote,{...t})),s(m,e.jsx(o.IconLink,{...t})),s(i,e.jsx(o.IconCode,{...t})),r,s(h,e.jsx(o.IconTable,{...t}))]},S=()=>{const{codeEdit:n,codeLive:i,codePreview:r,divider:c,fullscreen:a}=b;return[s(n,e.jsx(o.IconPencil,{...t})),s(i,e.jsx(o.IconLayoutColumns,{...t})),s(r,e.jsx(o.IconEye,{...t})),c,s(a,e.jsx(o.IconMaximize,{...t}))]},T=({value:n,onChange:i,height:r=300,theme:c=_.EditorThemes.light,className:a,placeholder:d,defaultPreview:u="edit",id:l,ariaLabel:m})=>{const I=j.useMemo(()=>M(),[]),x=j.useMemo(()=>S(),[]);return e.jsx("div",{"data-color-mode":c,className:k.mergeClasses("dial-kit-markdown-editor",a),children:e.jsx(O,{value:n,onChange:g=>i?.(g||""),height:r,preview:u,commands:I,extraCommands:x,textareaProps:{placeholder:d,id:l,"aria-label":m}})})};exports.MarkdownEditor=T;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("@uiw/react-md-editor"),u=require("./lazy-4AJBZ-Eh.cjs"),x=require("./merge-classes-BEJXjzkx.cjs"),g=({value:r,onChange:s,height:o=300,preview:i="edit",theme:a=u.EditorThemes.dark,className:n,placeholder:t,showDragbar:d=!0})=>{const l=t!==void 0&&!r;return e.jsxs("div",{"data-color-mode":a,className:x.mergeClasses("relative",n),children:[e.jsx(m,{value:r,onChange:c=>s?.(c||""),height:o,preview:i,visibleDragbar:d}),l&&e.jsx("div",{className:"pointer-events-none absolute left-0 top-8 px-2 dial-small-text text-secondary opacity-40",children:t})]})};exports.DialMarkdownEditor=g;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react");require("./editor-eZo55lDw.cjs");const N=require("./lazy-4AJBZ-Eh.cjs");require("@monaco-editor/react");const m=require("./Switch-DE6MrcqJ.cjs"),b=require("./MarkdownEditor-CjpaYr68.cjs"),g=({value:o,onChangeValue:l,label:i,headerContent:a,switcherLabel:d,height:c=300,theme:u=N.EditorThemes.dark,onValidateJSON:x,preview:j="edit",showDragbar:w=!0})=>{const C=n.useId(),[t,p]=n.useState(!1),[f,S]=n.useState(null);n.useEffect(()=>{t&&typeof window<"u"&&Promise.resolve().then(()=>require("./JsonEditor-Bqfq8lgO.cjs")).then(s=>{S(()=>s.DialJsonEditor)})},[t]);const h=n.useCallback(s=>{l?.(s)},[l]),E=n.useCallback(s=>{x?.(s)},[x]),r=!!d;return e.jsx("div",{className:"size-full flex flex-col",children:e.jsx("div",{className:"flex flex-col gap-8",children:e.jsxs("div",{children:[(i||a||r)&&e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[i&&e.jsx(m.DialLabel,{label:i}),e.jsxs("div",{className:"flex items-center gap-2 flex-1 justify-end",children:[a,r&&e.jsx("label",{className:"flex items-center gap-2 cursor-pointer",children:e.jsx(m.DialSwitch,{isOn:t,label:d,switchId:C,onChange:s=>p(s)})})]})]}),r&&t?e.jsx("div",{className:"border border-primary rounded",style:{height:`${c}px`},children:f&&e.jsx(f,{value:o,onChange:h,onValidateJSON:E,currentTheme:u})}):e.jsx(b.DialMarkdownEditor,{value:o,onChange:h,height:c,preview:j,showDragbar:w,theme:u})]})})})};exports.DialMarkdownEditorContainer=g;
@@ -1,37 +1,39 @@
1
- import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import c from "@uiw/react-md-editor";
3
- import { EditorThemes as p } from "../../types/editor.js";
4
- import { mergeClasses as f } from "../../utils/merge-classes.js";
5
- const g = ({
6
- value: o,
7
- onChange: r,
1
+ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
+ import p from "@uiw/react-md-editor";
3
+ import { EditorThemes as f } from "../../types/editor.js";
4
+ import { mergeClasses as x } from "../../utils/merge-classes.js";
5
+ const u = ({
6
+ value: e,
7
+ onChange: t,
8
8
  height: i = 300,
9
- preview: s = "edit",
10
- theme: a = p.dark,
9
+ preview: a = "edit",
10
+ theme: s = f.dark,
11
11
  className: d,
12
- placeholder: e
12
+ placeholder: o,
13
+ showDragbar: m = !0
13
14
  }) => {
14
- const m = e !== void 0 && !o;
15
- return /* @__PURE__ */ n(
15
+ const l = o !== void 0 && !e;
16
+ return /* @__PURE__ */ c(
16
17
  "div",
17
18
  {
18
- "data-color-mode": a,
19
- className: f("relative", d),
19
+ "data-color-mode": s,
20
+ className: x("relative", d),
20
21
  children: [
21
- /* @__PURE__ */ t(
22
- c,
22
+ /* @__PURE__ */ r(
23
+ p,
23
24
  {
24
- value: o,
25
- onChange: (l) => r?.(l || ""),
25
+ value: e,
26
+ onChange: (n) => t?.(n || ""),
26
27
  height: i,
27
- preview: s
28
+ preview: a,
29
+ visibleDragbar: m
28
30
  }
29
31
  ),
30
- m && /* @__PURE__ */ t("div", { className: "pointer-events-none absolute left-0 top-8 px-2 dial-small-text text-secondary opacity-40", children: e })
32
+ l && /* @__PURE__ */ r("div", { className: "pointer-events-none absolute left-0 top-8 px-2 dial-small-text text-secondary opacity-40", children: o })
31
33
  ]
32
34
  }
33
35
  );
34
36
  };
35
37
  export {
36
- g as DialMarkdownEditor
38
+ u as DialMarkdownEditor
37
39
  };
@@ -1,56 +1,57 @@
1
1
  import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
- import { useId as g, useState as x, useEffect as J, useCallback as u } from "react";
2
+ import { useId as J, useState as u, useEffect as S, useCallback as x } from "react";
3
3
  import "../../constants/editor.js";
4
- import { EditorThemes as S } from "../../types/editor.js";
4
+ import { EditorThemes as b } from "../../types/editor.js";
5
5
  import "@monaco-editor/react";
6
- import { DialSwitch as b } from "../Switch/Switch.js";
7
- import { DialMarkdownEditor as v } from "./MarkdownEditor.js";
8
- import { DialLabel as y } from "../Label/Label.js";
9
- const $ = ({
6
+ import { DialSwitch as v } from "../Switch/Switch.js";
7
+ import { DialMarkdownEditor as y } from "./MarkdownEditor.js";
8
+ import { DialLabel as j } from "../Label/Label.js";
9
+ const q = ({
10
10
  value: s,
11
11
  onChangeValue: l,
12
- label: t,
12
+ label: i,
13
13
  headerContent: d,
14
14
  switcherLabel: a,
15
15
  height: c = 300,
16
- theme: m = S.dark,
16
+ theme: m = b.dark,
17
17
  onValidateJSON: f,
18
- preview: C = "edit"
18
+ preview: C = "edit",
19
+ showDragbar: N = !0
19
20
  }) => {
20
- const N = g(), [i, w] = x(!1), [p, D] = x(null);
21
- J(() => {
22
- i && typeof window < "u" && import("../JsonEditor/JsonEditor.js").then((o) => {
23
- D(() => o.DialJsonEditor);
21
+ const w = J(), [t, D] = u(!1), [p, E] = u(null);
22
+ S(() => {
23
+ t && typeof window < "u" && import("../JsonEditor/JsonEditor.js").then((o) => {
24
+ E(() => o.DialJsonEditor);
24
25
  });
25
- }, [i]);
26
- const h = u(
26
+ }, [t]);
27
+ const h = x(
27
28
  (o) => {
28
29
  l?.(o);
29
30
  },
30
31
  [l]
31
- ), E = u(
32
+ ), g = x(
32
33
  (o) => {
33
34
  f?.(o);
34
35
  },
35
36
  [f]
36
37
  ), n = !!a;
37
38
  return /* @__PURE__ */ e("div", { className: "size-full flex flex-col", children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-8", children: /* @__PURE__ */ r("div", { children: [
38
- (t || d || n) && /* @__PURE__ */ r("div", { className: "flex justify-between items-center mb-2", children: [
39
- t && /* @__PURE__ */ e(y, { label: t }),
39
+ (i || d || n) && /* @__PURE__ */ r("div", { className: "flex justify-between items-center mb-2", children: [
40
+ i && /* @__PURE__ */ e(j, { label: i }),
40
41
  /* @__PURE__ */ r("div", { className: "flex items-center gap-2 flex-1 justify-end", children: [
41
42
  d,
42
43
  n && /* @__PURE__ */ e("label", { className: "flex items-center gap-2 cursor-pointer", children: /* @__PURE__ */ e(
43
- b,
44
+ v,
44
45
  {
45
- isOn: i,
46
+ isOn: t,
46
47
  label: a,
47
- switchId: N,
48
- onChange: (o) => w(o)
48
+ switchId: w,
49
+ onChange: (o) => D(o)
49
50
  }
50
51
  ) })
51
52
  ] })
52
53
  ] }),
53
- n && i ? /* @__PURE__ */ e(
54
+ n && t ? /* @__PURE__ */ e(
54
55
  "div",
55
56
  {
56
57
  className: "border border-primary rounded",
@@ -60,23 +61,24 @@ const $ = ({
60
61
  {
61
62
  value: s,
62
63
  onChange: h,
63
- onValidateJSON: E,
64
+ onValidateJSON: g,
64
65
  currentTheme: m
65
66
  }
66
67
  )
67
68
  }
68
69
  ) : /* @__PURE__ */ e(
69
- v,
70
+ y,
70
71
  {
71
72
  value: s,
72
73
  onChange: h,
73
74
  height: c,
74
75
  preview: C,
76
+ showDragbar: N,
75
77
  theme: m
76
78
  }
77
79
  )
78
80
  ] }) }) });
79
81
  };
80
82
  export {
81
- $ as DialMarkdownEditorContainer
83
+ q as DialMarkdownEditorContainer
82
84
  };
@@ -1,30 +1,33 @@
1
- import { jsx as r, jsxs as B, Fragment as f } from "react/jsx-runtime";
2
- import { useId as h } from "react";
3
- import { ButtonAppearance as n, ButtonVariant as o } from "../../../types/button.js";
1
+ import { jsx as t, jsxs as B, Fragment as g } from "react/jsx-runtime";
2
+ import { IconSparkles as y } from "@tabler/icons-react";
3
+ import { useId as S } from "react";
4
+ import { DIAL_KIT_ICON_STROKE as h } from "../constants/icon.js";
5
+ import { DIAL_ICON_SIZE as k } from "../../../constants/icon.js";
6
+ import { ButtonAppearance as o, ButtonVariant as n } from "../../../types/button.js";
4
7
  import { Button as d } from "./Button.js";
5
- const l = (a, t) => ({ appearance: s, ...u }) => /* @__PURE__ */ r(
8
+ const p = (a, r) => ({ appearance: s, ...u }) => /* @__PURE__ */ t(
6
9
  d,
7
10
  {
8
11
  ...u,
9
12
  variant: a,
10
- appearance: s || t
13
+ appearance: s || r
11
14
  }
12
- ), p = (a, t) => ({ variant: s, ...u }) => /* @__PURE__ */ r(
15
+ ), c = (a, r) => ({ variant: s, ...u }) => /* @__PURE__ */ t(
13
16
  d,
14
17
  {
15
18
  ...u,
16
- variant: s || t,
19
+ variant: s || r,
17
20
  appearance: a
18
21
  }
19
- ), N = l(
20
- o.Primary,
21
- n.Solid
22
- ), C = l(
23
- o.Neutral,
24
- n.Solid
25
- ), G = l(
26
- o.Danger,
27
- n.Solid
22
+ ), A = p(
23
+ n.Primary,
24
+ o.Solid
25
+ ), E = p(
26
+ n.Neutral,
27
+ o.Solid
28
+ ), R = p(
29
+ n.Danger,
30
+ o.Solid
28
31
  ), e = {
29
32
  x1: "-5.06",
30
33
  y1: "2.26",
@@ -32,69 +35,76 @@ const l = (a, t) => ({ appearance: s, ...u }) => /* @__PURE__ */ r(
32
35
  y2: "22.63",
33
36
  from: "var(--stroke-gradient-1, #5976E9)",
34
37
  to: "var(--stroke-gradient-2, #885DF2)"
35
- }, O = ({
36
- appearance: a = n.Outlined,
37
- iconBefore: t,
38
+ }, x = /* @__PURE__ */ t(
39
+ y,
40
+ {
41
+ size: k.MD,
42
+ stroke: h,
43
+ "aria-hidden": !0
44
+ }
45
+ ), G = ({
46
+ appearance: a = o.Outlined,
47
+ iconBefore: r = x,
38
48
  iconAfter: i,
39
49
  style: s,
40
50
  ...u
41
51
  }) => {
42
- const c = `dial-kit-starter-gradient-${h().replace(/[^\w-]/g, "")}`, g = /* @__PURE__ */ r(
52
+ const l = `dial-kit-starter-gradient-${S().replace(/[^\w-]/g, "")}`, f = /* @__PURE__ */ t(
43
53
  "svg",
44
54
  {
45
55
  className: "pointer-events-none absolute size-0 overflow-hidden",
46
56
  "aria-hidden": "true",
47
57
  focusable: "false",
48
- children: /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ B(
58
+ children: /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ B(
49
59
  "linearGradient",
50
60
  {
51
- id: c,
61
+ id: l,
52
62
  x1: e.x1,
53
63
  y1: e.y1,
54
64
  x2: e.x2,
55
65
  y2: e.y2,
56
66
  gradientUnits: "userSpaceOnUse",
57
67
  children: [
58
- /* @__PURE__ */ r("stop", { stopColor: e.from }),
59
- /* @__PURE__ */ r("stop", { offset: "1", stopColor: e.to })
68
+ /* @__PURE__ */ t("stop", { stopColor: e.from }),
69
+ /* @__PURE__ */ t("stop", { offset: "1", stopColor: e.to })
60
70
  ]
61
71
  }
62
72
  ) })
63
73
  }
64
- ), m = (y) => /* @__PURE__ */ B(f, { children: [
65
- g,
66
- y
74
+ ), m = (I) => /* @__PURE__ */ B(g, { children: [
75
+ f,
76
+ I
67
77
  ] });
68
- return /* @__PURE__ */ r(
78
+ return /* @__PURE__ */ t(
69
79
  d,
70
80
  {
71
81
  ...u,
72
- variant: o.Starter,
82
+ variant: n.Starter,
73
83
  appearance: a,
74
- iconBefore: t ? m(t) : void 0,
75
- iconAfter: i && !t ? m(i) : i,
84
+ iconBefore: r ? m(r) : void 0,
85
+ iconAfter: i && !r ? m(i) : i,
76
86
  style: {
77
- "--dial-kit-starter-icon-stroke": `url(#${c})`,
87
+ "--dial-kit-starter-icon-stroke": `url(#${l})`,
78
88
  ...s
79
89
  }
80
90
  }
81
91
  );
82
- }, D = p(
83
- n.Link,
84
- o.Primary
85
- ), I = p(
86
- n.Ghost,
87
- o.Primary
88
- ), P = p(
89
- n.Outlined,
90
- o.Neutral
92
+ }, L = c(
93
+ o.Link,
94
+ n.Primary
95
+ ), P = c(
96
+ o.Ghost,
97
+ n.Primary
98
+ ), W = c(
99
+ o.Outlined,
100
+ n.Neutral
91
101
  );
92
102
  export {
93
- G as DangerButton,
94
- I as GhostButton,
95
- D as LinkButton,
96
- C as NeutralButton,
97
- P as OutlinedButton,
98
- N as PrimaryButton,
99
- O as StarterButton
103
+ R as DangerButton,
104
+ P as GhostButton,
105
+ L as LinkButton,
106
+ E as NeutralButton,
107
+ W as OutlinedButton,
108
+ A as PrimaryButton,
109
+ G as StarterButton
100
110
  };
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.15.0-dev.47",
3
- "generatedAt": "2026-10-07T20:31:41.572Z",
2
+ "version": "0.15.0-dev.49",
3
+ "generatedAt": "2026-10-07T21:57:59.763Z",
4
4
  "kit": {
5
5
  "name": "@epam/ai-dial-ui-kit",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",
@@ -709,10 +709,10 @@
709
709
  "name": "StarterButton",
710
710
  "category": "Components_2_0",
711
711
  "generation": "2.0",
712
- "description": "A Starter Button component — a conversation starter: an outlined neutral\npill whose icons are stroked with the accent gradient\nDesign system 2.0\n\nAn SVG stroke cannot take a CSS gradient, so the button renders its own\n`linearGradient` with a per-instance id and hands it to its icons through\nthe `--dial-kit-starter-icon-stroke` custom property. Any icon that strokes\nwith `currentColor`, as Tabler icons do, picks it up.",
712
+ "description": "A Starter Button component — a conversation starter: an outlined neutral\npill whose icons are stroked with the accent gradient\nDesign system 2.0\n\n`iconBefore` defaults to a sparkles icon; pass `null` for a label-only pill.\n\nAn SVG stroke cannot take a CSS gradient, so the button renders its own\n`linearGradient` with a per-instance id and hands it to its icons through\nthe `--dial-kit-starter-icon-stroke` custom property. Any icon that strokes\nwith `currentColor`, as Tabler icons do, picks it up.",
713
713
  "props": [],
714
714
  "examples": [
715
- "<StarterButton\n label=\"Summarize this document\"\n iconBefore={<IconSparkles />}\n onClick={handleClick}\n/>"
715
+ "<StarterButton\n label=\"Summarize this document\"\n onClick={handleClick}\n/>"
716
716
  ],
717
717
  "sourceFile": "components/New/Button/ButtonWrappers.tsx"
718
718
  },
@@ -10041,6 +10041,13 @@
10041
10041
  "type": "ReactNode",
10042
10042
  "required": false,
10043
10043
  "description": "Content to display when the editor is empty"
10044
+ },
10045
+ {
10046
+ "name": "showDragbar",
10047
+ "type": "boolean",
10048
+ "required": false,
10049
+ "defaultValue": "true",
10050
+ "description": "Whether to show the bottom drag bar that resizes the editor height"
10044
10051
  }
10045
10052
  ],
10046
10053
  "examples": [