@solostylist/ui-kit 1.0.226 → 1.0.228

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 (137) hide show
  1. package/dist/{FormControl-DMZWdEWz.js → FormControl-BbzvApma.js} +1 -1
  2. package/dist/{Menu-CbHevx8q.js → Menu-Ct_sL_Dg.js} +1 -1
  3. package/dist/{Typography-DqtTB0ZJ.js → Typography-CZ_MYa-E.js} +1 -1
  4. package/dist/{autocomplete-Du0flrk6.js → autocomplete-Dd4zjpaF.js} +1 -1
  5. package/dist/{checkbox-BGA2cVbl.js → checkbox-B5GlJYcB.js} +2 -2
  6. package/dist/s-accordion/index.js +1 -1
  7. package/dist/s-accordion/s-accordion.js +1 -1
  8. package/dist/{s-accordion-D2VsBSgb.js → s-accordion-xPDelTvP.js} +3 -3
  9. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  10. package/dist/s-carousel/index.js +1 -1
  11. package/dist/s-carousel/s-carousel.js +1 -1
  12. package/dist/s-chat-input/index.js +1 -1
  13. package/dist/s-chat-input/s-chat-input.js +1 -1
  14. package/dist/{s-chat-input-DNptuBb0.js → s-chat-input-BHMymKij.js} +3 -3
  15. package/dist/s-chat-message/index.js +1 -1
  16. package/dist/s-chat-message/s-chat-message.js +1 -1
  17. package/dist/{s-chat-message-Bsvsh45G.js → s-chat-message-B9JOBvzP.js} +65 -69
  18. package/dist/s-chips/index.js +1 -1
  19. package/dist/s-chips/s-chips.js +1 -1
  20. package/dist/s-code-block/index.js +1 -1
  21. package/dist/s-code-block/s-code-block.js +1 -1
  22. package/dist/{s-code-block-ByNQ4Zq5.js → s-code-block-B5k-1Acd.js} +9 -1
  23. package/dist/s-comment-message/index.js +1 -1
  24. package/dist/s-comment-message/s-comment-message.js +1 -1
  25. package/dist/{s-comment-message-DF580Qxk.js → s-comment-message-BPE5a6p6.js} +1 -6
  26. package/dist/s-copyable-text/s-copyable-text.js +1 -2
  27. package/dist/s-data-table/index.js +1 -1
  28. package/dist/s-data-table/s-data-table.js +1 -1
  29. package/dist/{s-data-table-B8llaX-A.js → s-data-table-D-esZw_W.js} +41 -43
  30. package/dist/s-date-picker/index.js +1 -1
  31. package/dist/s-date-picker/s-date-picker.js +1 -1
  32. package/dist/{s-date-picker-CLncO3oo.js → s-date-picker-CdH1pta6.js} +2 -2
  33. package/dist/s-datetime-picker/index.js +1 -1
  34. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  35. package/dist/{s-datetime-picker-Dy1fX3rI.js → s-datetime-picker-BHkWSJKj.js} +4 -4
  36. package/dist/s-dialog/s-dialog.js +1 -1
  37. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  38. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  39. package/dist/s-file-dropzone/index.js +1 -1
  40. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  41. package/dist/{s-file-dropzone-CbaOf3_3.js → s-file-dropzone-C4_hCsN8.js} +1 -1
  42. package/dist/s-gallery/s-gallery.js +1 -1
  43. package/dist/s-image-modal/image-modal-thumbnail-dock.js +1 -1
  44. package/dist/s-image-modal/index.js +1 -1
  45. package/dist/s-image-modal/s-image-modal.js +1 -1
  46. package/dist/{s-image-modal-hhRD4727.js → s-image-modal-D-Jh-5b3.js} +2 -2
  47. package/dist/s-language-switcher/index.js +1 -1
  48. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  49. package/dist/{s-language-switcher-BKK0r8Kh.js → s-language-switcher-UgSBC_n_.js} +3 -3
  50. package/dist/s-localization-provider/index.js +1 -1
  51. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  52. package/dist/s-nav-item/s-nav-item.js +1 -1
  53. package/dist/s-nav-items/s-nav-items.js +2 -2
  54. package/dist/s-review/index.js +1 -1
  55. package/dist/s-review/s-review.js +1 -1
  56. package/dist/{s-review-f0OI1oqM.js → s-review-CRnakHRo.js} +1 -1
  57. package/dist/s-scroll-to-top/s-scroll-to-top.js +1 -1
  58. package/dist/s-select/index.js +1 -1
  59. package/dist/s-select/s-select.js +1 -1
  60. package/dist/s-stripe/s-stripe.js +1 -1
  61. package/dist/s-stripe/stripe-input.js +1 -1
  62. package/dist/s-text-editor/index.js +1 -1
  63. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  64. package/dist/s-text-editor/s-text-editor.js +1 -1
  65. package/dist/{s-text-editor-toolbar-DrQ8v-4J.js → s-text-editor-toolbar-BEFVwZ-B.js} +535 -535
  66. package/dist/s-text-field/index.js +1 -1
  67. package/dist/s-text-field/s-text-field.js +1 -1
  68. package/dist/s-text-truncation/s-text-truncation.js +11 -16
  69. package/dist/s-theme-demo/index.js +1 -1
  70. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  71. package/dist/{s-theme-demo-DeY0K6MC.js → s-theme-demo-Fktc-UlY.js} +2 -2
  72. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  73. package/dist/s-theme-switch/index.js +1 -1
  74. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  75. package/dist/s-tip/index.js +1 -1
  76. package/dist/s-tip/s-tip.js +1 -1
  77. package/dist/{s-tip-Beuy9MLR.js → s-tip-BOGEH1v8.js} +1 -1
  78. package/dist/s-tool-bar/s-tool-bar.js +1 -1
  79. package/dist/s-tool-bar/tool-bar-action-buttons.js +1 -1
  80. package/dist/s-tool-bar/tool-bar-image-input.js +1 -1
  81. package/dist/s-tool-bar/tool-bar-inputs.js +2 -2
  82. package/dist/switch-BSg1TGWH.js +62 -0
  83. package/dist/theme/components/accordion-summary.js +1 -1
  84. package/dist/theme/components/autocomplete.js +1 -1
  85. package/dist/theme/components/avatar.js +1 -1
  86. package/dist/theme/components/card.js +1 -1
  87. package/dist/theme/components/checkbox.js +1 -1
  88. package/dist/theme/components/chip.js +1 -1
  89. package/dist/theme/components/components.js +122 -120
  90. package/dist/theme/components/form-label.js +1 -1
  91. package/dist/theme/components/linear-progress.js +1 -1
  92. package/dist/theme/components/link.js +1 -1
  93. package/dist/theme/components/list-item.js +1 -1
  94. package/dist/theme/components/month-calendar.d.ts +18 -0
  95. package/dist/theme/components/month-calendar.js +26 -10
  96. package/dist/theme/components/outlined-input.js +3 -3
  97. package/dist/theme/components/select.js +2 -2
  98. package/dist/theme/components/step-icon.js +1 -1
  99. package/dist/theme/components/switch.d.ts +1032 -0
  100. package/dist/theme/components/switch.js +2 -0
  101. package/dist/theme/components/toggle-button-group.js +1 -1
  102. package/dist/theme/components/toggle-button.js +1 -1
  103. package/dist/theme/components/year-calendar.d.ts +9 -0
  104. package/dist/theme/components/year-calendar.js +14 -1
  105. package/dist/theme/theme-primitives.d.ts +2 -0
  106. package/dist/theme/theme-primitives.js +1 -1
  107. package/dist/{theme-primitives-7ruiI7gY.js → theme-primitives-CiQYd9Cc.js} +4 -2
  108. package/dist/{toggle-button-j6VLaPoa.js → toggle-button-TmtJ4nSp.js} +1 -1
  109. package/dist/{toggle-button-group-Dx9fvVok.js → toggle-button-group-BCkdd3Jj.js} +1 -1
  110. package/dist/{tool-bar-action-buttons-B4QhqdK_.js → tool-bar-action-buttons-CSXNDen6.js} +1 -1
  111. package/dist/{tool-bar-image-input-BKFAtyJ1.js → tool-bar-image-input-IdA6l71Y.js} +1 -1
  112. package/dist/{useMobilePicker-C8toWhEP.js → useMobilePicker-Dw1IxoE6.js} +17 -17
  113. package/package.json +1 -1
  114. /package/dist/{ArrowUpward-DONVUi9Q.js → ArrowUpward-CNiENJp2.js} +0 -0
  115. /package/dist/{ChevronRight-cBbrlMYh.js → ChevronRight-gZJ3kc6N.js} +0 -0
  116. /package/dist/{Close-DRS0T6Yu.js → Close-CJu3iF1p.js} +0 -0
  117. /package/dist/{Collapse-Dtji6IrM.js → Collapse-JUd84Z9O.js} +0 -0
  118. /package/dist/{ContentCopy-C4mVqexq.js → ContentCopy-BMQ2JTA0.js} +0 -0
  119. /package/dist/{Download-D277qwl2.js → Download-SNal6U7j.js} +0 -0
  120. /package/dist/{MenuItem-CCClg9Si.js → MenuItem-CwAhn4sd.js} +0 -0
  121. /package/dist/{Paper-Cy7rReyx.js → Paper-CPC6sMxx.js} +0 -0
  122. /package/dist/{UnfoldMoreRounded-Cbt8Oi8S.js → UnfoldMoreRounded-tvqQS6eb.js} +0 -0
  123. /package/dist/{avatar-DQtjHpOs.js → avatar-DFQ5F7pY.js} +0 -0
  124. /package/dist/{checkboxClasses-DPzQcJz-.js → checkboxClasses-DANc9lnq.js} +0 -0
  125. /package/dist/{formLabelClasses-BfRVjiBm.js → formLabelClasses-LXZqWZfM.js} +0 -0
  126. /package/dist/{inputAdornmentClasses-DHmz00nZ.js → inputAdornmentClasses-ZoGTcUz5.js} +0 -0
  127. /package/dist/{monthCalendarClasses-C1jHkjgt.js → monthCalendarClasses-BLfBep-t.js} +0 -0
  128. /package/dist/{outlinedInputClasses-Z5R6RJE3.js → outlinedInputClasses-DPwt_pSZ.js} +0 -0
  129. /package/dist/{s-carousel-S6CRrrpW.js → s-carousel-CvmWl6Sc.js} +0 -0
  130. /package/dist/{s-chips-CH0zKaz-.js → s-chips-CAC_vVd0.js} +0 -0
  131. /package/dist/{s-localization-provider-DDO9UEu_.js → s-localization-provider-l5J7myJJ.js} +0 -0
  132. /package/dist/{s-select-BqWS_5Bs.js → s-select-HMWY7frm.js} +0 -0
  133. /package/dist/{s-text-field-DLSDoq7u.js → s-text-field-DD6nnwwU.js} +0 -0
  134. /package/dist/{s-theme-switch-B0KHb2wu.js → s-theme-switch-DzXoVmQH.js} +0 -0
  135. /package/dist/{selectClasses-vjNpSSyQ.js → selectClasses-C-QpiLPi.js} +0 -0
  136. /package/dist/{typographyClasses-CspzYrIn.js → typographyClasses-CiDYRanL.js} +0 -0
  137. /package/dist/{useFormControl-bYnTwZE5.js → useFormControl-CUs308br.js} +0 -0
@@ -11,7 +11,7 @@ import { t as p } from "./ButtonBase-BDefit5I.js";
11
11
  import { s as m } from "./useSlot-IwEDsR9t.js";
12
12
  import { t as h } from "./createSimplePaletteValueFilter-5v48HHyU.js";
13
13
  import { n as g, t as _ } from "./iconButtonClasses-LyjwljJq.js";
14
- import { r as v } from "./useFormControl-bYnTwZE5.js";
14
+ import { r as v } from "./useFormControl-CUs308br.js";
15
15
  import * as y from "react";
16
16
  import { jsx as b, jsxs as x } from "react/jsx-runtime";
17
17
  //#region ../../node_modules/@mui/utils/isMuiElement/isMuiElement.mjs
@@ -10,7 +10,7 @@ import { i as h } from "./ButtonBase-BDefit5I.js";
10
10
  import { p as g, s as _, t as v } from "./useSlot-IwEDsR9t.js";
11
11
  import { d as y, f as b, p as x, t as S } from "./MenuList-5C2nFAWS.js";
12
12
  import { t as C } from "./mergeSlotProps-slENzJO5.js";
13
- import { n as w, t as T } from "./Paper-Cy7rReyx.js";
13
+ import { n as w, t as T } from "./Paper-CPC6sMxx.js";
14
14
  import * as E from "react";
15
15
  import { jsx as D } from "react/jsx-runtime";
16
16
  //#region ../../node_modules/@mui/material/Popover/popoverClasses.mjs
@@ -4,7 +4,7 @@ import { n, o as r, r as i, t as a } from "./memoTheme-QMocAblm.js";
4
4
  import { t as o } from "./clsx-Bv8WXdlr.js";
5
5
  import { t as s } from "./styled-BTDmdi4c.js";
6
6
  import { t as c } from "./createSimplePaletteValueFilter-5v48HHyU.js";
7
- import { t as l } from "./typographyClasses-CspzYrIn.js";
7
+ import { t as l } from "./typographyClasses-CiDYRanL.js";
8
8
  import * as u from "react";
9
9
  import { jsx as d } from "react/jsx-runtime";
10
10
  //#region ../../node_modules/@mui/material/Typography/Typography.mjs
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./generateUtilityClasses-XrPHiTcM.js";
2
- import { t } from "./UnfoldMoreRounded-Cbt8Oi8S.js";
2
+ import { t } from "./UnfoldMoreRounded-tvqQS6eb.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region ../../node_modules/@mui/material/Autocomplete/autocompleteClasses.mjs
5
5
  var r = e("MuiAutocomplete", /* @__PURE__ */ "root.expanded.fullWidth.focused.focusVisible.tag.tagSizeSmall.tagSizeMedium.hasPopupIcon.hasClearIcon.inputRoot.input.inputFocused.endAdornment.clearIndicator.popupIndicator.popupIndicatorOpen.popper.popperDisablePortal.paper.listbox.loading.noOptions.option.groupLabel.groupUl".split(".")), i = {
@@ -1,7 +1,7 @@
1
1
  import { i as e } from "./createTheme-Bnw5w28O.js";
2
- import { c as t, s as n } from "./theme-primitives-7ruiI7gY.js";
2
+ import { c as t, s as n } from "./theme-primitives-CiQYd9Cc.js";
3
3
  import { t as r } from "./createSvgIcon-HW-tbFcL.js";
4
- import { t as i } from "./checkboxClasses-DPzQcJz-.js";
4
+ import { t as i } from "./checkboxClasses-DANc9lnq.js";
5
5
  import { jsx as a } from "react/jsx-runtime";
6
6
  //#region ../../node_modules/@mui/icons-material/CheckBoxOutlineBlankRounded.mjs
7
7
  var o = r(/* @__PURE__ */ a("path", { d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1m1-16H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2" }), "CheckBoxOutlineBlankRounded"), s = r(/* @__PURE__ */ a("path", { d: "M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z" }), "CheckRounded"), c = r(/* @__PURE__ */ a("path", { d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1" }), "RemoveRounded"), l = {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-accordion-D2VsBSgb.js";
1
+ import { t as e } from "../s-accordion-xPDelTvP.js";
2
2
  export { e as SAccordion, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-accordion-D2VsBSgb.js";
1
+ import { t as e } from "../s-accordion-xPDelTvP.js";
2
2
  export { e as SAccordion, e as default };
@@ -9,10 +9,10 @@ import { t as u } from "./Stack-BQkLmLFp.js";
9
9
  import { t as d } from "./ButtonBase-BDefit5I.js";
10
10
  import { s as f, t as p } from "./useSlot-IwEDsR9t.js";
11
11
  import { t as m } from "./useControlled-BtZNCHV0.js";
12
- import { t as h } from "./Paper-Cy7rReyx.js";
13
- import { t as g } from "./Typography-DqtTB0ZJ.js";
12
+ import { t as h } from "./Paper-CPC6sMxx.js";
13
+ import { t as g } from "./Typography-CZ_MYa-E.js";
14
14
  import { t as _ } from "./ExpandMore-DIsT5FOp.js";
15
- import { t as v } from "./Collapse-Dtji6IrM.js";
15
+ import { t as v } from "./Collapse-JUd84Z9O.js";
16
16
  import * as y from "react";
17
17
  import "react";
18
18
  import { jsx as b, jsxs as x } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../ChevronRight-cBbrlMYh.js";
1
+ import { t as e } from "../ChevronRight-gZJ3kc6N.js";
2
2
  import { forwardRef as t } from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import { Breadcrumbs as r, Link as i, Typography as a } from "@mui/material";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-carousel-S6CRrrpW.js";
1
+ import { t as e } from "../s-carousel-CvmWl6Sc.js";
2
2
  export { e as SCarousel, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-carousel-S6CRrrpW.js";
1
+ import { t as e } from "../s-carousel-CvmWl6Sc.js";
2
2
  export { e as SCarousel, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chat-input-DNptuBb0.js";
1
+ import { t as e } from "../s-chat-input-BHMymKij.js";
2
2
  export { e as SChatInput, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chat-input-DNptuBb0.js";
1
+ import { t as e } from "../s-chat-input-BHMymKij.js";
2
2
  export { e as SChatInput, e as default };
@@ -1,8 +1,8 @@
1
1
  import { tint as e } from "./theme/utils.js";
2
2
  import { t } from "./createSvgIcon-HW-tbFcL.js";
3
- import { t as n } from "./ArrowUpward-DONVUi9Q.js";
4
- import { t as r } from "./Close-DRS0T6Yu.js";
5
- import { t as i } from "./s-text-field-DLSDoq7u.js";
3
+ import { t as n } from "./ArrowUpward-CNiENJp2.js";
4
+ import { t as r } from "./Close-CJu3iF1p.js";
5
+ import { t as i } from "./s-text-field-DD6nnwwU.js";
6
6
  import { SIconButton as a } from "./s-icon-button/s-icon-button.js";
7
7
  import { SFileIcon as o } from "./s-file-icon/s-file-icon.js";
8
8
  import { forwardRef as s, useEffect as c, useId as l, useState as u } from "react";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chat-message-Bsvsh45G.js";
1
+ import { t as e } from "../s-chat-message-B9JOBvzP.js";
2
2
  export { e as SChatMessage, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chat-message-Bsvsh45G.js";
1
+ import { t as e } from "../s-chat-message-B9JOBvzP.js";
2
2
  export { e as SChatMessage, e as default };
@@ -1,15 +1,15 @@
1
1
  import { n as e, r as t } from "./utils-B5Rl6Zwv.js";
2
2
  import { t as n } from "./createSvgIcon-HW-tbFcL.js";
3
- import { t as r } from "./s-image-modal-hhRD4727.js";
4
- import { t as i } from "./Download-D277qwl2.js";
3
+ import { t as r } from "./s-image-modal-D-Jh-5b3.js";
4
+ import { t as i } from "./Download-SNal6U7j.js";
5
5
  import a from "./s-lazy-image/s-lazy-image.js";
6
6
  import { SSkeleton as o } from "./s-skeleton/s-skeleton.js";
7
7
  import { SAvatar as s } from "./s-avatar/s-avatar.js";
8
8
  import { useState as c } from "react";
9
9
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
10
10
  import { Box as d, IconButton as f, Paper as p, Typography as m } from "@mui/material";
11
- //#region ../../node_modules/@mui/icons-material/ErrorOutlined.mjs
12
- var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z" }), "ErrorOutlined"), g = n(/* @__PURE__ */ l("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z" }), "InsertDriveFile"), _ = n(/* @__PURE__ */ l("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z" }), "Refresh"), v = ({ isSent: e, showAvatar: t, showTimestamp: n, senderName: r, maxWidth: i, sx: a, ...s }) => /* @__PURE__ */ u(d, {
11
+ //#region ../../node_modules/@mui/icons-material/InsertDriveFile.mjs
12
+ var h = n(/* @__PURE__ */ l("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z" }), "InsertDriveFile"), g = n(/* @__PURE__ */ l("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z" }), "Refresh"), _ = ({ isSent: e, showAvatar: t, showTimestamp: n, senderName: r, maxWidth: i, sx: a, ...s }) => /* @__PURE__ */ u(d, {
13
13
  ...s,
14
14
  sx: [{
15
15
  display: "flex",
@@ -80,47 +80,47 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
80
80
  height: 36
81
81
  })
82
82
  ]
83
- }), y = ({ message: n, variant: o = "received", timestamp: y, avatar: b, senderName: x, showAvatar: S = !0, showTimestamp: C = !1, maxWidth: w = "70%", attachments: T = [], onAttachmentClick: E, onDownload: D, hasError: O = !1, errorMessage: k = "Failed to send message", onRetry: A, loading: j = !1, sx: M, ...N }) => {
84
- let [P, F] = c(null), [I, L] = c(!1), R = o === "sent", z = (e) => {
85
- E ? E(e) : (F(e), L(!0));
86
- }, B = (e) => {
87
- E ? E(e) : D && D(e);
88
- }, V = T.filter((e) => e.type === "image"), H = T.filter((e) => e.type === "file");
89
- return j ? /* @__PURE__ */ l(v, {
90
- isSent: R,
91
- showAvatar: S,
92
- showTimestamp: C,
93
- senderName: x,
94
- maxWidth: w,
95
- sx: M,
96
- ...N
83
+ }), v = ({ message: n, variant: o = "received", timestamp: v, avatar: y, senderName: b, showAvatar: x = !0, showTimestamp: S = !1, maxWidth: C = "70%", attachments: w = [], onAttachmentClick: T, onDownload: E, hasError: D = !1, errorMessage: O = "Failed to send message", onRetry: k, loading: A = !1, sx: j, ...M }) => {
84
+ let [N, P] = c(null), [F, I] = c(!1), L = o === "sent", R = (e) => {
85
+ T ? T(e) : (P(e), I(!0));
86
+ }, z = (e) => {
87
+ T ? T(e) : E && E(e);
88
+ }, B = w.filter((e) => e.type === "image"), V = w.filter((e) => e.type === "file");
89
+ return A ? /* @__PURE__ */ l(_, {
90
+ isSent: L,
91
+ showAvatar: x,
92
+ showTimestamp: S,
93
+ senderName: b,
94
+ maxWidth: C,
95
+ sx: j,
96
+ ...M
97
97
  }) : /* @__PURE__ */ u(d, {
98
- ...N,
98
+ ...M,
99
99
  sx: [{
100
100
  display: "flex",
101
- flexDirection: R ? "row-reverse" : "row",
101
+ flexDirection: L ? "row-reverse" : "row",
102
102
  alignItems: "flex-start",
103
103
  gap: 1,
104
104
  mb: 1,
105
- maxWidth: w,
106
- alignSelf: R ? "flex-end" : "flex-start"
107
- }, ...Array.isArray(M) ? M : [M]],
105
+ maxWidth: C,
106
+ alignSelf: L ? "flex-end" : "flex-start"
107
+ }, ...Array.isArray(j) ? j : [j]],
108
108
  children: [
109
- S && !R && /* @__PURE__ */ l(s, {
110
- avatar: b,
111
- name: x,
109
+ x && !L && /* @__PURE__ */ l(s, {
110
+ avatar: y,
111
+ name: b,
112
112
  size: 36
113
113
  }),
114
114
  /* @__PURE__ */ u(d, {
115
115
  sx: {
116
116
  display: "flex",
117
117
  flexDirection: "column",
118
- alignItems: R ? "flex-end" : "flex-start",
118
+ alignItems: L ? "flex-end" : "flex-start",
119
119
  gap: .5,
120
120
  minWidth: 0
121
121
  },
122
122
  children: [
123
- x && !R && /* @__PURE__ */ l(m, { children: x }),
123
+ b && !L && /* @__PURE__ */ l(m, { children: b }),
124
124
  /* @__PURE__ */ u(d, {
125
125
  sx: {
126
126
  display: "inline-block",
@@ -128,28 +128,28 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
128
128
  wordBreak: "break-word",
129
129
  maxWidth: "100%",
130
130
  border: "1px solid",
131
- borderColor: O ? "error.main" : "divider",
132
- ...O && { opacity: .7 },
131
+ borderColor: D ? "error.main" : "divider",
132
+ ...D && { opacity: .7 },
133
133
  overflow: "hidden"
134
134
  },
135
135
  children: [
136
- V.length > 0 && /* @__PURE__ */ l(d, {
136
+ B.length > 0 && /* @__PURE__ */ l(d, {
137
137
  sx: {
138
138
  minWidth: 200,
139
139
  display: "grid",
140
- gridTemplateColumns: V.length === 1 ? "1fr" : "repeat(2, 1fr)",
140
+ gridTemplateColumns: B.length === 1 ? "1fr" : "repeat(2, 1fr)",
141
141
  gap: .5,
142
142
  p: .5
143
143
  },
144
- children: V.map((e) => /* @__PURE__ */ l(d, {
144
+ children: B.map((e) => /* @__PURE__ */ l(d, {
145
145
  sx: {
146
146
  position: "relative",
147
- paddingTop: V.length === 1 ? "66.67%" : "100%",
147
+ paddingTop: B.length === 1 ? "66.67%" : "100%",
148
148
  cursor: "pointer",
149
149
  overflow: "hidden",
150
150
  "&:hover": { opacity: .9 }
151
151
  },
152
- onClick: () => z(e),
152
+ onClick: () => R(e),
153
153
  children: /* @__PURE__ */ l(a, {
154
154
  src: e.thumbnailUrl ?? e.url,
155
155
  alt: e.name ?? "Image",
@@ -162,9 +162,9 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
162
162
  })
163
163
  }, e.id))
164
164
  }),
165
- H.length > 0 && /* @__PURE__ */ l(d, {
165
+ V.length > 0 && /* @__PURE__ */ l(d, {
166
166
  sx: { p: 1.5 },
167
- children: H.map((t, n) => /* @__PURE__ */ u(p, {
167
+ children: V.map((t, n) => /* @__PURE__ */ u(p, {
168
168
  variant: "outlined",
169
169
  sx: {
170
170
  display: "flex",
@@ -174,9 +174,9 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
174
174
  mt: +(n > 0),
175
175
  cursor: "pointer"
176
176
  },
177
- onClick: () => B(t),
177
+ onClick: () => z(t),
178
178
  children: [
179
- /* @__PURE__ */ l(g, { sx: { fontSize: 36 } }),
179
+ /* @__PURE__ */ l(h, { sx: { fontSize: 36 } }),
180
180
  /* @__PURE__ */ u(d, {
181
181
  sx: {
182
182
  flex: 1,
@@ -195,9 +195,9 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
195
195
  children: e(t.size)
196
196
  })]
197
197
  }),
198
- D && /* @__PURE__ */ l(f, {
198
+ E && /* @__PURE__ */ l(f, {
199
199
  onClick: (e) => {
200
- e.stopPropagation(), D(t);
200
+ e.stopPropagation(), E(t);
201
201
  },
202
202
  children: /* @__PURE__ */ l(i, {})
203
203
  })
@@ -208,60 +208,56 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
208
208
  sx: {
209
209
  px: 2,
210
210
  py: 1.5,
211
- pt: T.length > 0 ? 0 : 1.5
211
+ pt: w.length > 0 ? 0 : 1.5
212
212
  },
213
213
  children: /* @__PURE__ */ l(m, {
214
214
  variant: "body1",
215
215
  sx: {
216
216
  whiteSpace: "pre-wrap",
217
- color: O ? "error.main" : "inherit"
217
+ color: D ? "error.main" : "inherit"
218
218
  },
219
219
  children: n
220
220
  })
221
221
  })
222
222
  ]
223
223
  }),
224
- C && y && /* @__PURE__ */ l(m, {
224
+ S && v && /* @__PURE__ */ l(m, {
225
225
  variant: "caption",
226
- children: t(y)
226
+ children: t(v)
227
227
  }),
228
- O && /* @__PURE__ */ u(d, {
228
+ D && /* @__PURE__ */ u(d, {
229
229
  sx: {
230
230
  display: "flex",
231
231
  alignItems: "center",
232
232
  gap: .5,
233
233
  color: "error.main"
234
234
  },
235
- children: [
236
- /* @__PURE__ */ l(h, {}),
237
- /* @__PURE__ */ l(m, {
238
- sx: { color: "inherit" },
239
- variant: "caption",
240
- children: k
241
- }),
242
- A && /* @__PURE__ */ l(f, {
243
- onClick: A,
244
- children: /* @__PURE__ */ l(_, {})
245
- })
246
- ]
235
+ children: [/* @__PURE__ */ l(m, {
236
+ sx: { color: "inherit" },
237
+ variant: "caption",
238
+ children: O
239
+ }), k && /* @__PURE__ */ l(f, {
240
+ onClick: k,
241
+ children: /* @__PURE__ */ l(g, {})
242
+ })]
247
243
  })
248
244
  ]
249
245
  }),
250
- S && R && /* @__PURE__ */ l(s, {
251
- avatar: b,
252
- name: x,
246
+ x && L && /* @__PURE__ */ l(s, {
247
+ avatar: y,
248
+ name: b,
253
249
  size: 36
254
250
  }),
255
- P && /* @__PURE__ */ l(r, {
256
- isOpen: I,
251
+ N && /* @__PURE__ */ l(r, {
252
+ isOpen: F,
257
253
  onClose: () => {
258
- L(!1), F(null);
254
+ I(!1), P(null);
259
255
  },
260
256
  selectedItem: {
261
- id: P.id,
257
+ id: N.id,
262
258
  type: "image",
263
- url: P.url,
264
- title: P.name
259
+ url: N.url,
260
+ title: N.name
265
261
  },
266
262
  showNavigation: !1,
267
263
  showThumbnailDock: !1
@@ -269,6 +265,6 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
269
265
  ]
270
266
  });
271
267
  };
272
- y.displayName = "SChatMessage";
268
+ v.displayName = "SChatMessage";
273
269
  //#endregion
274
- export { y as t };
270
+ export { v as t };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chips-CH0zKaz-.js";
1
+ import { t as e } from "../s-chips-CAC_vVd0.js";
2
2
  export { e as SChips, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chips-CH0zKaz-.js";
1
+ import { t as e } from "../s-chips-CAC_vVd0.js";
2
2
  export { e as SChips, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-code-block-ByNQ4Zq5.js";
1
+ import { t as e } from "../s-code-block-B5k-1Acd.js";
2
2
  export { e as SCodeBlock, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-code-block-ByNQ4Zq5.js";
1
+ import { t as e } from "../s-code-block-B5k-1Acd.js";
2
2
  export { e as SCodeBlock, e as default };
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./ContentCopy-C4mVqexq.js";
1
+ import { n as e, t } from "./ContentCopy-BMQ2JTA0.js";
2
2
  import { useMemo as n, useState as r } from "react";
3
3
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
4
  import { Box as o, IconButton as s, useColorScheme as c } from "@mui/material";
@@ -565,6 +565,14 @@ var u = {
565
565
  let e = b === "dark" ? u : d;
566
566
  return {
567
567
  ...e,
568
+ "pre[class*=\"language-\"]": {
569
+ ...e["pre[class*=\"language-\"]"],
570
+ background: "transparent"
571
+ },
572
+ "code[class*=\"language-\"]": {
573
+ ...e["code[class*=\"language-\"]"],
574
+ background: "transparent"
575
+ },
568
576
  linenumber: {
569
577
  ...e.linenumber,
570
578
  fontStyle: "normal"
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-comment-message-DF580Qxk.js";
1
+ import { t as e } from "../s-comment-message-BPE5a6p6.js";
2
2
  export { e as SCommentMessage, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-comment-message-DF580Qxk.js";
1
+ import { t as e } from "../s-comment-message-BPE5a6p6.js";
2
2
  export { e as SCommentMessage, e as default };
@@ -106,12 +106,10 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
106
106
  }),
107
107
  /* @__PURE__ */ l(g, {
108
108
  variant: "body1",
109
- sx: { lineHeight: 1.6 },
110
109
  children: C
111
110
  }),
112
111
  /* @__PURE__ */ l(g, {
113
112
  variant: "caption",
114
- sx: { mb: 2 },
115
113
  children: X
116
114
  }),
117
115
  /* @__PURE__ */ u(h, {
@@ -146,10 +144,7 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
146
144
  })
147
145
  ]
148
146
  }),
149
- L && /* @__PURE__ */ l(d, {
150
- sx: { mt: 2 },
151
- children: L
152
- })
147
+ L && /* @__PURE__ */ l(d, { children: L })
153
148
  ]
154
149
  })]
155
150
  }), Q && M && /* @__PURE__ */ l(p, {
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "../ContentCopy-C4mVqexq.js";
1
+ import { n as e, t } from "../ContentCopy-BMQ2JTA0.js";
2
2
  import { useState as n } from "react";
3
3
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
4
  import { Box as a, IconButton as o, Paper as s, Typography as c } from "@mui/material";
@@ -35,7 +35,6 @@ var l = ({ text: l, typographyProps: u, onCopied: d, paperProps: f }) => {
35
35
  variant: "body1",
36
36
  ...g,
37
37
  sx: [{
38
- color: "text.secondary",
39
38
  whiteSpace: "pre-wrap",
40
39
  wordBreak: "break-word"
41
40
  }, ...Array.isArray(h) ? h : [h]],
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-data-table-B8llaX-A.js";
1
+ import { t as e } from "../s-data-table-D-esZw_W.js";
2
2
  export { e as SDataTable, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-data-table-B8llaX-A.js";
1
+ import { t as e } from "../s-data-table-D-esZw_W.js";
2
2
  export { e as SDataTable, e as default };