@epam/ai-dial-chat-shared 1.1.0-dev.112 → 1.1.0-dev.114

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/index.js CHANGED
@@ -48736,7 +48736,7 @@ var oD = 2e3, sD = (e, t = oD) => {
48736
48736
  languageLabel: "_languageLabel_g6q37_15",
48737
48737
  copiedIcon: "_copiedIcon_g6q37_19",
48738
48738
  scrollContainer: "_scrollContainer_g6q37_23"
48739
- }, lD = { color: "var(--text-secondary, #6B7280)" }, uD = { color: "var(--bg-accent-primary, #2764d9)" }, dD = { color: "var(--text-accent-tertiary, #7e39ec)" }, fD = { color: "var(--text-primary, #161b2d)" }, pD = {
48739
+ }, lD = { color: "var(--text-secondary, #6B7280)" }, uD = { color: "var(--text-accent, #1d4ed8)" }, dD = { color: "var(--text-accent-tertiary, #7e39ec)" }, fD = { color: "var(--text-primary, #161b2d)" }, pD = {
48740
48740
  "code[class*=\"language-\"]": {
48741
48741
  color: "var(--text-primary, #161b2d)",
48742
48742
  background: "none",
@@ -48873,9 +48873,13 @@ var oD = 2e3, sD = (e, t = oD) => {
48873
48873
  })]
48874
48874
  });
48875
48875
  }), gD = {
48876
- thinking: "_thinking_10q01_9",
48877
- "cm-shimmer": "_cm-shimmer_10q01_1",
48878
- secondaryBorder: "_secondaryBorder_10q01_18"
48876
+ thinking: "_thinking_1fufa_9",
48877
+ "cm-shimmer": "_cm-shimmer_1fufa_1",
48878
+ h6: "_h6_1fufa_18",
48879
+ codeInline: "_codeInline_1fufa_22",
48880
+ secondaryBorder: "_secondaryBorder_1fufa_27",
48881
+ blockquote: "_blockquote_1fufa_31",
48882
+ link: "_link_1fufa_36"
48879
48883
  }, _D = 1, vD = () => {
48880
48884
  let e = g(null), t = g(null), [n, r] = _(!1), [i, a] = _(!1), o = d(() => {
48881
48885
  let n = e.current, i = t.current;
@@ -48897,21 +48901,24 @@ var oD = 2e3, sD = (e, t = oD) => {
48897
48901
  handleScroll: o
48898
48902
  };
48899
48903
  }, yD = {
48900
- tableContainer: "_tableContainer_fkvcl_1",
48901
- tableContainerLight: "_tableContainerLight_fkvcl_6",
48902
- scrollContainer: "_scrollContainer_fkvcl_10",
48903
- tableHeaderCell: "_tableHeaderCell_fkvcl_25",
48904
- sectionRow: "_sectionRow_fkvcl_29",
48905
- row: "_row_fkvcl_33",
48906
- rowDivider: "_rowDivider_fkvcl_37",
48907
- tableScrollFadeEnd: "_tableScrollFadeEnd_fkvcl_45",
48908
- tableScrollFadeStart: "_tableScrollFadeStart_fkvcl_53",
48909
- tableScrollFadeBoth: "_tableScrollFadeBoth_fkvcl_61"
48904
+ tableContainer: "_tableContainer_bubdy_1",
48905
+ tableContainerLight: "_tableContainerLight_bubdy_6",
48906
+ scrollContainer: "_scrollContainer_bubdy_10",
48907
+ tableHeaderCell: "_tableHeaderCell_bubdy_25",
48908
+ sectionRow: "_sectionRow_bubdy_30",
48909
+ row: "_row_bubdy_34",
48910
+ rowDivider: "_rowDivider_bubdy_38",
48911
+ tableScrollFadeEnd: "_tableScrollFadeEnd_bubdy_46",
48912
+ tableScrollFadeStart: "_tableScrollFadeStart_bubdy_54",
48913
+ tableScrollFadeBoth: "_tableScrollFadeBoth_bubdy_62"
48910
48914
  }, bD = u(({ children: e, classNames: t, colors: n, scrollRegionAriaLabel: r = "Scrollable table" }) => {
48911
48915
  let { scrollContainerRef: i, tableRef: a, hasContentBeyondStart: o, hasContentBeyondEnd: s, handleScroll: c } = vD(), l = Gt({
48912
48916
  "--cm-markdown-border": n?.border,
48913
48917
  "--cm-table-scrollbar": n?.scrollbar,
48914
- "--cm-table-fade": n?.fade
48918
+ "--cm-table-fade": n?.fade,
48919
+ "--cm-table-row-divider": n?.rowDivider,
48920
+ "--cm-table-row-zebra-bg": n?.rowZebraBackground,
48921
+ "--cm-table-row-hover-bg": n?.rowHoverBackground
48915
48922
  }), u = o || s;
48916
48923
  return /* @__PURE__ */ y("div", {
48917
48924
  style: l,
@@ -48973,7 +48980,7 @@ var oD = 2e3, sD = (e, t = oD) => {
48973
48980
  children: t
48974
48981
  }),
48975
48982
  h6: ({ children: t }) => /* @__PURE__ */ y("h6", {
48976
- className: e.h6,
48983
+ className: Wt(gD.h6, e.h6),
48977
48984
  children: t
48978
48985
  }),
48979
48986
  p: ({ children: t }) => /* @__PURE__ */ y("p", {
@@ -49010,19 +49017,19 @@ var oD = 2e3, sD = (e, t = oD) => {
49010
49017
  headerClassName: e.codeBlockHeader,
49011
49018
  codeClassName: e.codeFont
49012
49019
  }) : /* @__PURE__ */ y("code", {
49013
- className: Wt("rounded px-1 py-0.5", e.codeInlineFont ?? "dial-code-text", e.codeInline),
49020
+ className: Wt("rounded px-1 py-0.5", gD.codeInline, e.codeInlineFont ?? "dial-code-text", e.codeInline),
49014
49021
  children: a
49015
49022
  });
49016
49023
  },
49017
49024
  blockquote: ({ children: t }) => /* @__PURE__ */ y("blockquote", {
49018
- className: Wt("border-s-2 border-primary py-1 ps-4 text-secondary", e.blockquote),
49025
+ className: Wt("border-s-2 py-1 ps-4", gD.blockquote, e.blockquote),
49019
49026
  children: t
49020
49027
  }),
49021
49028
  a: ({ href: t, children: n }) => /* @__PURE__ */ y("a", {
49022
49029
  href: t,
49023
49030
  target: "_blank",
49024
49031
  rel: "noopener noreferrer",
49025
- className: Wt("decoration-current/60 text-accent underline underline-offset-2 hover:decoration-current focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-[var(--stroke-focus,#EEF1F7)]", e.link),
49032
+ className: Wt("decoration-current/60 underline underline-offset-2 hover:decoration-current focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2", gD.link, e.link),
49026
49033
  children: n
49027
49034
  }),
49028
49035
  hr: () => /* @__PURE__ */ y("hr", { className: Wt("my-5 border-t", gD.secondaryBorder, e.hr) }),
@@ -49045,7 +49052,7 @@ var oD = 2e3, sD = (e, t = oD) => {
49045
49052
  },
49046
49053
  th: ({ children: t }) => /* @__PURE__ */ y("th", {
49047
49054
  scope: "col",
49048
- className: Wt("sticky top-0 z-[2] max-w-96 whitespace-normal break-words border-b px-3 py-2.5 text-start [overflow-wrap:anywhere]", yD.rowDivider, yD.tableHeaderCell, e.tableHeaderFont ?? "dial-tiny-semi-text uppercase tracking-wider text-secondary", e.tableCell, e.tableHeader),
49055
+ className: Wt("sticky top-0 z-[2] max-w-96 whitespace-normal break-words border-b px-3 py-2.5 text-start [overflow-wrap:anywhere]", yD.rowDivider, yD.tableHeaderCell, e.tableHeaderFont ?? "dial-tiny-semi-text uppercase tracking-wider", e.tableCell, e.tableHeader),
49049
49056
  children: t
49050
49057
  }),
49051
49058
  td: ({ children: t }) => /* @__PURE__ */ y("td", {
@@ -49056,7 +49063,15 @@ var oD = 2e3, sD = (e, t = oD) => {
49056
49063
  let d = rb(e, t, n), f = h(() => pb(d), [d]), p = Gt({
49057
49064
  "--cm-thinking-inverted": l?.thinkingPrimary,
49058
49065
  "--cm-thinking-secondary": l?.thinkingSecondary,
49059
- "--cm-markdown-border": l?.border
49066
+ "--cm-markdown-border": l?.border,
49067
+ "--cm-blockquote-border": l?.blockquoteBorder,
49068
+ "--cm-blockquote-text": l?.blockquoteText,
49069
+ "--cm-link-text": l?.linkText,
49070
+ "--cm-link-focus": l?.linkFocus,
49071
+ "--cm-table-header-text": l?.tableHeaderText,
49072
+ "--cm-h6-text": l?.headingSixText,
49073
+ "--cm-code-inline-bg": l?.inlineCodeBackground,
49074
+ "--cm-code-inline-text": l?.inlineCodeText
49060
49075
  }), m = h(() => ({
49061
49076
  ...DD(r, t, o, s, c, u),
49062
49077
  ...TD,
@@ -49089,11 +49104,11 @@ var oD = 2e3, sD = (e, t = oD) => {
49089
49104
  h3: "dial-h3-text mb-2 mt-4 first:mt-0 [text-wrap:balance]",
49090
49105
  h4: "mb-2 mt-4 dial-body-semi-text first:mt-0 [text-wrap:balance]",
49091
49106
  h5: "mb-2 mt-4 dial-small-semi-text first:mt-0 [text-wrap:balance]",
49092
- h6: "mb-2 mt-4 text-sm font-medium text-secondary first:mt-0 [text-wrap:balance]",
49107
+ h6: "mb-2 mt-4 text-sm font-medium first:mt-0 [text-wrap:balance]",
49093
49108
  p: "dial-body-paragraph-text mb-3 break-words [overflow-wrap:anywhere] [text-wrap:pretty] last:mb-0",
49094
49109
  ul: "mb-3 space-y-1",
49095
49110
  ol: "mb-3 space-y-1",
49096
- codeInline: "mx-0.5 bg-layer-raised px-1.5 text-[0.875em] text-primary break-words [overflow-wrap:anywhere]",
49111
+ codeInline: "mx-0.5 px-1.5 text-[0.875em] break-words [overflow-wrap:anywhere]",
49097
49112
  blockquote: "my-4",
49098
49113
  link: "break-words [overflow-wrap:anywhere]",
49099
49114
  tableWrapper: "my-4"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-chat-shared",
3
3
  "description": "Shared domain models, utilities, and UI components for AI DIAL Chat libraries",
4
- "version": "1.1.0-dev.112",
4
+ "version": "1.1.0-dev.114",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",