@solostylist/ui-kit 1.0.216 → 1.0.218

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 (244) hide show
  1. package/dist/{ArrowUpward-O4lRvSII.js → ArrowUpward-BbQSKheQ.js} +2 -2
  2. package/dist/Box-BlmynALm.js +45 -0
  3. package/dist/{ButtonBase-1qqPHJym.js → ButtonBase-Bo6ysVGS.js} +283 -173
  4. package/dist/{ChevronLeft-CJ94-qgQ.js → ChevronLeft-rgSvkrT_.js} +2 -2
  5. package/dist/{ChevronRight-CK4Iv1Xx.js → ChevronRight-DHulYS1l.js} +2 -2
  6. package/dist/{Close-CSIi_IPN.js → Close-oXeOGTZb.js} +2 -2
  7. package/dist/Collapse-CnXmaDqT.js +260 -0
  8. package/dist/{ContentCopy-SAMH7bs7.js → ContentCopy-Bh_TA5Eo.js} +2 -2
  9. package/dist/{Download-BefdWd5q.js → Download-DMm8oiCF.js} +2 -2
  10. package/dist/{ExpandMore-DZANUF9W.js → ExpandMore-DsZNN1Eh.js} +2 -2
  11. package/dist/{Favorite-BwMGKQJf.js → Favorite-DIml4fHR.js} +2 -2
  12. package/dist/FormControl-DYkaP-oD.js +659 -0
  13. package/dist/InfoOutlined-CqXSSVWh.js +6 -0
  14. package/dist/LocalizationProvider-BdaUKqz3.js +111 -0
  15. package/dist/Menu-C-0KEauj.js +497 -0
  16. package/dist/MenuItem-DWivWkNb.js +220 -0
  17. package/dist/MenuList-5HOyYdgq.js +403 -0
  18. package/dist/Modal-C1VRVWBZ.js +1049 -0
  19. package/dist/{Paper-CI9lXZk-.js → Paper-BY4X6-u_.js} +32 -34
  20. package/dist/Stack-BQkLmLFp.js +157 -0
  21. package/dist/Typography-EsraKPZO.js +166 -0
  22. package/dist/UnfoldMoreRounded-pz7NMMy3.js +6 -0
  23. package/dist/assets/s-overlay-scrollbar.css +2 -2
  24. package/dist/autocomplete-qLj7AqcP.js +43 -0
  25. package/dist/{avatar-CKEYVp9W.js → avatar-BQf6phmU.js} +1 -1
  26. package/dist/buttonBaseClasses-BLZbMisL.js +13 -0
  27. package/dist/checkbox-DMsuLF8N.js +74 -0
  28. package/dist/checkboxClasses-DSyvUOsN.js +18 -0
  29. package/dist/{chunk-efA98nb6.js → chunk-C_CI6nMA.js} +1 -1
  30. package/dist/{clsx-BTH_sxEO.js → clsx-Bv8WXdlr.js} +4 -4
  31. package/dist/{createSimplePaletteValueFilter-D5kxdvJe.js → createSimplePaletteValueFilter-GHK52GLU.js} +1 -1
  32. package/dist/{createSvgIcon-BfZYaiXo.js → createSvgIcon-BdNZIlKS.js} +16 -16
  33. package/dist/{createTheme-hnicUJQa.js → createTheme-Bnw5w28O.js} +647 -568
  34. package/dist/defaultTheme-Bi3OTfLN.js +5 -0
  35. package/dist/formLabelClasses-Cv7W0Roi.js +18 -0
  36. package/dist/{generateUtilityClass-D4Rn9MbW.js → generateUtilityClass-tRYNDrlH.js} +1 -1
  37. package/dist/generateUtilityClasses-XrPHiTcM.js +10 -0
  38. package/dist/{iconButtonClasses-UNZ6hKTU.js → iconButtonClasses-9jjSQ9-U.js} +3 -3
  39. package/dist/inputAdornmentClasses-VKwluNTs.js +19 -0
  40. package/dist/memoTheme-QMocAblm.js +150 -0
  41. package/dist/{mergeSlotProps-CVIr4jSm.js → mergeSlotProps-DBBJwoun.js} +3 -6
  42. package/dist/{outlinedInputClasses-ClI9bkEy.js → outlinedInputClasses-Cz4pnn0X.js} +5 -10
  43. package/dist/{resolveProps-D6-j1wov.js → resolveProps-DrnBChYC.js} +3 -3
  44. package/dist/s-accordion/index.js +1 -1
  45. package/dist/s-accordion/s-accordion.js +1 -1
  46. package/dist/{s-accordion-Coc1zFV6.js → s-accordion-DH_7P3Il.js} +186 -195
  47. package/dist/s-action-overlay/s-action-overlay.js +18 -14
  48. package/dist/s-autocomplete/s-autocomplete.d.ts +2 -0
  49. package/dist/s-autocomplete/s-autocomplete.js +12 -9
  50. package/dist/s-avatar/s-avatar.js +6 -4
  51. package/dist/s-blur-text/s-blur-text.js +1 -1
  52. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  53. package/dist/s-carousel/index.js +1 -1
  54. package/dist/s-carousel/s-carousel.js +1 -1
  55. package/dist/{s-carousel-Btja2Hvn.js → s-carousel-DhUo-3W-.js} +2 -2
  56. package/dist/s-chat-input/index.js +1 -1
  57. package/dist/s-chat-input/s-chat-input.js +1 -1
  58. package/dist/{s-chat-input-DF3eBvRY.js → s-chat-input-DlEMhm6X.js} +41 -29
  59. package/dist/s-chat-message/index.js +1 -1
  60. package/dist/s-chat-message/s-chat-message.js +1 -1
  61. package/dist/{s-chat-message-tzIfAqAc.js → s-chat-message-DeP8O6TO.js} +46 -42
  62. package/dist/s-checkbox/s-checkbox.js +26 -16
  63. package/dist/s-chips/index.js +1 -1
  64. package/dist/s-chips/s-chips.js +1 -1
  65. package/dist/{s-chips-CMivbDg_.js → s-chips-BuAEBW1F.js} +16 -12
  66. package/dist/s-code-block/index.js +1 -1
  67. package/dist/s-code-block/s-code-block.js +1 -1
  68. package/dist/{s-code-block-BrwHh2oS.js → s-code-block-DTzppazr.js} +1 -1
  69. package/dist/s-comment-message/index.js +1 -1
  70. package/dist/s-comment-message/s-comment-message.js +1 -1
  71. package/dist/{s-comment-message-Db-f_KOq.js → s-comment-message-C-7IZOqA.js} +18 -14
  72. package/dist/s-copyable-text/s-copyable-text.js +8 -9
  73. package/dist/s-data-table/index.js +1 -1
  74. package/dist/s-data-table/s-data-table.js +1 -1
  75. package/dist/{s-data-table-BdEn2Nhf.js → s-data-table-xIW-BAS9.js} +209 -226
  76. package/dist/s-date-picker/index.js +1 -1
  77. package/dist/s-date-picker/s-date-picker.d.ts +1 -1
  78. package/dist/s-date-picker/s-date-picker.js +1 -1
  79. package/dist/s-date-picker-CKSRNJ_A.js +634 -0
  80. package/dist/s-datetime-picker/index.js +1 -1
  81. package/dist/s-datetime-picker/s-datetime-picker.d.ts +1 -1
  82. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  83. package/dist/{s-datetime-picker-qg0m55tj.js → s-datetime-picker-BlStwMie.js} +1091 -1072
  84. package/dist/s-dialog/s-dialog.js +3 -3
  85. package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
  86. package/dist/s-dialog-message/s-dialog-message.js +4 -4
  87. package/dist/s-empty/s-empty.js +4 -2
  88. package/dist/s-error/s-error.js +4 -2
  89. package/dist/s-error-layout/s-error-layout.js +1 -2
  90. package/dist/s-file-dropzone/index.js +1 -1
  91. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  92. package/dist/{s-file-dropzone-BFTqdCaX.js → s-file-dropzone-COPp1HiT.js} +9 -9
  93. package/dist/s-file-icon/s-file-icon.js +16 -19
  94. package/dist/s-flex-box/s-flex-box.d.ts +10 -2
  95. package/dist/s-flex-box/s-flex-box.js +15 -5
  96. package/dist/s-glow-button/s-glow-button.js +1 -1
  97. package/dist/s-image-comparison/s-image-comparison.js +3 -3
  98. package/dist/s-image-modal/s-image-modal.js +4 -4
  99. package/dist/s-item-not-found/s-item-not-found.js +9 -7
  100. package/dist/s-label/index.js +1 -1
  101. package/dist/s-label/s-label.js +26 -2
  102. package/dist/s-language-switcher/index.js +1 -1
  103. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  104. package/dist/{s-language-switcher-mD1mK1he.js → s-language-switcher-Cg3Gh8_i.js} +17 -16
  105. package/dist/s-lazy-image/s-lazy-image.js +4 -2
  106. package/dist/s-link/s-link.d.ts +1 -1
  107. package/dist/s-link/s-link.js +1 -1
  108. package/dist/s-localization-provider/index.js +1 -1
  109. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  110. package/dist/{s-localization-provider-CIACI235.js → s-localization-provider-YCsec18c.js} +44 -62
  111. package/dist/s-moving-border/s-moving-border.d.ts +8 -0
  112. package/dist/s-moving-border/s-moving-border.js +26 -21
  113. package/dist/s-nav-item/s-nav-item.js +2 -2
  114. package/dist/s-nav-item/s-nav-items.js +5 -5
  115. package/dist/s-no-ssr/s-no-ssr.js +1 -1
  116. package/dist/s-pagination/s-pagination.js +6 -4
  117. package/dist/s-pixel-reveal/s-pixel-reveal.js +1 -1
  118. package/dist/s-review/index.js +1 -1
  119. package/dist/s-review/s-review.js +1 -1
  120. package/dist/{s-review-D29of4xC.js → s-review-D5_TicCf.js} +14 -10
  121. package/dist/s-scroll-to-top/s-scroll-to-top.js +4 -4
  122. package/dist/s-select/index.js +1 -1
  123. package/dist/s-select/s-select.js +1 -1
  124. package/dist/{s-select-DH-t7jkk.js → s-select-ClL8bygg.js} +7 -7
  125. package/dist/s-select-list/s-select-list.js +2 -2
  126. package/dist/s-stripe/s-stripe.js +1 -1
  127. package/dist/s-switch/s-switch.js +26 -16
  128. package/dist/s-tabs/s-tabs.js +6 -6
  129. package/dist/s-text-editor/index.js +1 -1
  130. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  131. package/dist/s-text-editor/s-text-editor.js +2 -2
  132. package/dist/s-text-editor-toolbar-BnhPG9xv.js +2088 -0
  133. package/dist/s-text-field/index.js +1 -1
  134. package/dist/s-text-field/s-text-field.js +1 -1
  135. package/dist/{s-text-field-UI_UjTUa.js → s-text-field-qps0aDNS.js} +2 -2
  136. package/dist/s-text-shimmer/s-text-shimmer.js +2 -2
  137. package/dist/s-text-truncation/s-text-truncation.js +5 -7
  138. package/dist/s-theme-demo/index.js +1 -1
  139. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  140. package/dist/{s-theme-demo-C0v-IOB-.js → s-theme-demo-BHyjzAU0.js} +80 -48
  141. package/dist/s-theme-provider/s-theme-provider.d.ts +3 -1
  142. package/dist/s-theme-provider/s-theme-provider.js +15 -15
  143. package/dist/s-theme-switch/index.js +1 -1
  144. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  145. package/dist/{s-theme-switch-COBORL4a.js → s-theme-switch-D1FpcDj1.js} +2 -2
  146. package/dist/s-tip/index.js +1 -1
  147. package/dist/s-tip/s-tip.js +1 -1
  148. package/dist/{s-tip-BI58w2uh.js → s-tip-D6M91nev.js} +5 -5
  149. package/dist/s-tool-bar/index.js +1 -1
  150. package/dist/s-tool-bar/s-tool-bar.js +1 -1
  151. package/dist/{s-tool-bar-KrLaAaBO.js → s-tool-bar-DOcT-lNr.js} +92 -91
  152. package/dist/s-two-pane-layout/s-two-pane-layout.js +3 -3
  153. package/dist/selectClasses-DvT1febA.js +22 -0
  154. package/dist/styled-BTDmdi4c.js +164 -0
  155. package/dist/{esm-BYRX9r8n.js → styled-engine-DOxAQ3qw.js} +2 -2
  156. package/dist/{svgIconClasses-BhRa1KyZ.js → svgIconClasses-D46YUMKp.js} +3 -3
  157. package/dist/{tabClasses-Duc8s_po.js → tabClasses-KqPlYv0c.js} +3 -4
  158. package/dist/theme/components/accordion-summary.d.ts +2 -2
  159. package/dist/theme/components/accordion-summary.js +1 -1
  160. package/dist/theme/components/accordion.d.ts +2 -2
  161. package/dist/theme/components/alert.js +1 -1
  162. package/dist/theme/components/autocomplete.d.ts +52 -5
  163. package/dist/theme/components/autocomplete.js +1 -18
  164. package/dist/theme/components/avatar.js +1 -1
  165. package/dist/theme/components/button.d.ts +2 -2
  166. package/dist/theme/components/button.js +30 -22
  167. package/dist/theme/components/card.js +2 -2
  168. package/dist/theme/components/checkbox.d.ts +1 -0
  169. package/dist/theme/components/checkbox.js +1 -1
  170. package/dist/theme/components/chip.js +122 -124
  171. package/dist/theme/components/components.js +41 -39
  172. package/dist/theme/components/css-baseline.d.ts +9 -0
  173. package/dist/theme/components/css-baseline.js +7 -0
  174. package/dist/theme/components/form-label.d.ts +4 -1
  175. package/dist/theme/components/form-label.js +6 -4
  176. package/dist/theme/components/icon-button.d.ts +2 -2
  177. package/dist/theme/components/icon-button.js +5 -5
  178. package/dist/theme/components/input-adornment.d.ts +4 -1012
  179. package/dist/theme/components/input-adornment.js +2 -2
  180. package/dist/theme/components/linear-progress.js +1 -1
  181. package/dist/theme/components/link.d.ts +2 -2
  182. package/dist/theme/components/link.js +2 -2
  183. package/dist/theme/components/list-item-button.d.ts +2 -2
  184. package/dist/theme/components/list-item-button.js +1 -1
  185. package/dist/theme/components/list-item.d.ts +2 -2
  186. package/dist/theme/components/list-item.js +3 -3
  187. package/dist/theme/components/outlined-input.d.ts +31 -34
  188. package/dist/theme/components/outlined-input.js +16 -19
  189. package/dist/theme/components/pagination-item.d.ts +2 -2
  190. package/dist/theme/components/select.d.ts +20 -0
  191. package/dist/theme/components/select.js +21 -2
  192. package/dist/theme/components/step-icon.js +1 -1
  193. package/dist/theme/components/tab.d.ts +2 -2
  194. package/dist/theme/components/tab.js +1 -1
  195. package/dist/theme/components/table-pagination.js +1 -1
  196. package/dist/theme/components/tabs.d.ts +4 -4
  197. package/dist/theme/components/toggle-button-group.js +1 -1
  198. package/dist/theme/components/toggle-button.d.ts +2 -2
  199. package/dist/theme/components/toggle-button.js +1 -1
  200. package/dist/theme/components/tooltip.js +1 -0
  201. package/dist/theme/theme-primitives.js +1 -1
  202. package/dist/{theme-primitives-qhf0z_Er.js → theme-primitives-OrQ-xFJR.js} +19 -19
  203. package/dist/{toggle-button-sCvdUHdS.js → toggle-button-BgpxYWVw.js} +3 -3
  204. package/dist/{toggle-button-group-C_qpJa3z.js → toggle-button-group-l4hL1DLP.js} +4 -6
  205. package/dist/{typographyClasses-CBI3nZde.js → typographyClasses-CFf0OFiD.js} +4 -5
  206. package/dist/{useControlled-BQ6-yabk.js → useControlled-2-C6cXjG.js} +2 -5
  207. package/dist/useControlled-DXKqhylj.js +5 -0
  208. package/dist/{useEnhancedEffect-DcMMtOdE.js → useEnhancedEffect-Dsu5K7-Z.js} +1 -1
  209. package/dist/useFormControl-B4z6ONhx.js +18 -0
  210. package/dist/{useMobilePicker-C5bImMb9.js → useMobilePicker-ujH2nH2-.js} +8465 -8943
  211. package/dist/{useSlot-BfqKgBbE.js → useSlot-Dkc1Mj31.js} +37 -32
  212. package/dist/{useThemeProps-DtrsMbkY.js → useThemeProps-D4jtjo2I.js} +4 -4
  213. package/dist/utils/dayjs.js +1 -1
  214. package/dist/{utils-BqJ3HDtA.js → utils-CCnIUPad.js} +74 -58
  215. package/package.json +53 -53
  216. package/dist/Box-BQIZeo25.js +0 -46
  217. package/dist/Collapse-BUAO-GTT.js +0 -264
  218. package/dist/LocalizationProvider-C07_J3LH.js +0 -111
  219. package/dist/Menu-qKMfgdfr.js +0 -1664
  220. package/dist/MenuItem-DA2pGXuL.js +0 -214
  221. package/dist/Select-D-aLJXW9.js +0 -2552
  222. package/dist/Stack-BrIUVvqB.js +0 -158
  223. package/dist/Typography-Ci004UCT.js +0 -187
  224. package/dist/buttonBaseClasses-D1dQFqBk.js +0 -13
  225. package/dist/checkbox-CMvDozaV.js +0 -57
  226. package/dist/defaultTheme-CW25vqGj.js +0 -5
  227. package/dist/extendSxProp-0kulJXZl.js +0 -29
  228. package/dist/generateUtilityClasses-CX1nR7K3.js +0 -10
  229. package/dist/memoTheme-DiKnacj0.js +0 -154
  230. package/dist/s-date-picker-C-FOMdpa.js +0 -587
  231. package/dist/s-label-BYT4eG6o.js +0 -30
  232. package/dist/s-multi-select/index.d.ts +0 -2
  233. package/dist/s-multi-select/index.js +0 -2
  234. package/dist/s-multi-select/s-multi-select.d.ts +0 -26
  235. package/dist/s-multi-select/s-multi-select.js +0 -2
  236. package/dist/s-multi-select-CmB-l3n5.js +0 -64
  237. package/dist/s-text-editor-toolbar-Sw0qn88u.js +0 -177
  238. package/dist/select-BT9USOXL.js +0 -11
  239. package/dist/styled-C0_N3zFx.js +0 -168
  240. package/dist/theme/components/tooltip.d.ts +0 -30
  241. package/dist/useFormControl-DvExOQVA.js +0 -11
  242. /package/dist/{extends-DtvfmDTb.js → extends-D8CDMpIy.js} +0 -0
  243. /package/dist/{objectWithoutPropertiesLoose-Cq334jkZ.js → objectWithoutPropertiesLoose-BpY-kC5L.js} +0 -0
  244. /package/dist/{utils-CKGB5_56.js → utils-B5Rl6Zwv.js} +0 -0
@@ -1,64 +0,0 @@
1
- import { t as e } from "./Menu-qKMfgdfr.js";
2
- import { t } from "./createSvgIcon-BfZYaiXo.js";
3
- import { t as n } from "./s-chips-CMivbDg_.js";
4
- import { t as r } from "./MenuItem-DA2pGXuL.js";
5
- import { usePopover as i } from "./hooks/use-popover.js";
6
- import * as a from "react";
7
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
8
- import { OutlinedInput as c, Stack as l } from "@mui/material";
9
- //#region ../../node_modules/@mui/icons-material/esm/UnfoldMore.js
10
- var u = t(/* @__PURE__ */ o("path", { d: "M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z" }), "UnfoldMore"), d = ({ label: t, onChange: d, options: f, value: p = [], chipProps: m }) => {
11
- let h = i(), g = a.useRef(null), [_, v] = a.useState(), [y, b] = a.useState(null);
12
- a.useEffect(() => {
13
- g.current && v(g.current.offsetWidth);
14
- }, [h.open]);
15
- let x = a.useCallback((e, t) => {
16
- let n = [...p];
17
- t ? n.push(e) : n = n.filter((t) => t !== e), d?.(n);
18
- }, [d, p]);
19
- return /* @__PURE__ */ s(l, {
20
- direction: "column",
21
- gap: 1,
22
- children: [
23
- /* @__PURE__ */ o(c, {
24
- endAdornment: /* @__PURE__ */ o(u, {
25
- fontSize: "small",
26
- sx: {
27
- color: "action.active",
28
- position: "absolute",
29
- right: "7px"
30
- }
31
- }),
32
- onClick: h.handleOpen,
33
- ref: (e) => {
34
- b(e), g.current = e;
35
- },
36
- value: t,
37
- sx: { input: { color: "text.secondary" } }
38
- }),
39
- /* @__PURE__ */ o(e, {
40
- anchorEl: y,
41
- onClose: h.handleClose,
42
- open: h.open,
43
- slotProps: { paper: { sx: { width: _ ? `${_}px` : void 0 } } },
44
- children: f.map((e) => {
45
- let t = p.includes(e.value);
46
- return /* @__PURE__ */ o(r, {
47
- onClick: () => {
48
- x(e.value, !t);
49
- },
50
- selected: t,
51
- children: e.label
52
- }, e.label);
53
- })
54
- }),
55
- /* @__PURE__ */ o(n, {
56
- chips: f.filter((e) => p.includes(e.value)).map((e) => e.label),
57
- ...m
58
- })
59
- ]
60
- });
61
- };
62
- d.displayName = "SMultiSelect";
63
- //#endregion
64
- export { d as t };
@@ -1,177 +0,0 @@
1
- import { t as e } from "./Stack-BrIUVvqB.js";
2
- import { o as t } from "./Menu-qKMfgdfr.js";
3
- import { i as n, s as r, t as i } from "./Select-D-aLJXW9.js";
4
- import { t as a } from "./createSvgIcon-BfZYaiXo.js";
5
- import { t as o } from "./s-text-field-UI_UjTUa.js";
6
- import * as s from "react";
7
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
- import { MenuItem as u } from "@mui/material";
9
- //#region ../../node_modules/@mui/icons-material/esm/Code.js
10
- var d = a(/* @__PURE__ */ c("path", { d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z" }), "Code"), f = a(/* @__PURE__ */ c("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5" }), "FormatBold"), p = a(/* @__PURE__ */ c("path", { d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z" }), "FormatItalic"), m = a(/* @__PURE__ */ c("path", { d: "M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5m0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5m0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5M7 19h14v-2H7zm0-6h14v-2H7zm0-8v2h14V5z" }), "FormatListBulleted"), h = a(/* @__PURE__ */ c("path", { d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z" }), "FormatListNumbered"), g = a(/* @__PURE__ */ c("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5" }), "Link"), _ = a(/* @__PURE__ */ c("path", { d: "M6.85 7.08C6.85 4.37 9.45 3 12.24 3c1.64 0 3 .49 3.9 1.28.77.65 1.46 1.73 1.46 3.24h-3.01c0-.31-.05-.59-.15-.85-.29-.86-1.2-1.28-2.25-1.28-1.86 0-2.34 1.02-2.34 1.7 0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.21-.34-.54-.89-.54-1.92M21 12v-2H3v2h9.62c1.15.45 1.96.75 1.96 1.97 0 1-.81 1.67-2.28 1.67-1.54 0-2.93-.54-2.93-2.51H6.4c0 .55.08 1.13.24 1.58.81 2.29 3.29 3.3 5.67 3.3 2.27 0 5.3-.89 5.3-4.05 0-.3-.01-1.16-.48-1.94H21z" }), "StrikethroughS"), v = ({ editor: r }) => {
11
- let [a, v] = s.useState(!1), [x, S] = s.useState(null), [C, w] = s.useState("");
12
- return /* @__PURE__ */ l(s.Fragment, { children: [/* @__PURE__ */ c(e, {
13
- className: "tiptap-toolbar",
14
- spacing: 1,
15
- sx: {
16
- borderBottom: "1px solid",
17
- borderColor: "divider",
18
- p: "8px",
19
- minHeight: "57px"
20
- },
21
- children: r ? /* @__PURE__ */ l(e, {
22
- direction: "row",
23
- spacing: .5,
24
- sx: {
25
- alignItems: "center",
26
- flexWrap: "wrap"
27
- },
28
- children: [
29
- /* @__PURE__ */ l(i, {
30
- onChange: (e) => {
31
- let t = e.target.value;
32
- if (t) {
33
- if (t === "p") {
34
- r.chain().focus().setParagraph().run();
35
- return;
36
- }
37
- if (t.startsWith("h")) {
38
- let e = parseInt(t.replace("h", ""));
39
- !isNaN(e) && e >= 1 && e <= 6 && r.chain().focus().setHeading({ level: e }).run();
40
- }
41
- }
42
- },
43
- value: y(r),
44
- children: [/* @__PURE__ */ c(u, {
45
- disabled: !r.can().chain().focus().setParagraph().run(),
46
- value: "p",
47
- children: "Paragraph"
48
- }), [
49
- 1,
50
- 2,
51
- 3,
52
- 4,
53
- 5,
54
- 6
55
- ].map((e) => /* @__PURE__ */ l(u, {
56
- disabled: !r.can().chain().focus().setHeading({ level: e }).run(),
57
- value: `h${e}`,
58
- children: ["Heading ", e]
59
- }, e))]
60
- }),
61
- /* @__PURE__ */ c(b, {
62
- active: r.isActive("bold"),
63
- disabled: !r.can().chain().focus().toggleBold().run(),
64
- onClick: () => {
65
- r.chain().focus().toggleBold().run();
66
- },
67
- children: /* @__PURE__ */ c(f, {})
68
- }),
69
- /* @__PURE__ */ c(b, {
70
- active: r.isActive("italic"),
71
- disabled: !r.can().chain().focus().toggleItalic().run(),
72
- onClick: () => {
73
- r.chain().focus().toggleItalic().run();
74
- },
75
- children: /* @__PURE__ */ c(p, {})
76
- }),
77
- /* @__PURE__ */ c(b, {
78
- active: r.isActive("strike"),
79
- disabled: !r.can().chain().focus().toggleStrike().run(),
80
- onClick: () => {
81
- r.chain().focus().toggleStrike().run();
82
- },
83
- children: /* @__PURE__ */ c(_, {})
84
- }),
85
- /* @__PURE__ */ c(b, {
86
- active: r.isActive("codeBlock"),
87
- disabled: !r.can().chain().focus().toggleCodeBlock().run(),
88
- onClick: () => {
89
- r.chain().focus().toggleCodeBlock();
90
- },
91
- children: /* @__PURE__ */ c(d, {})
92
- }),
93
- /* @__PURE__ */ c(b, {
94
- active: r.isActive("bulletList"),
95
- disabled: !r.can().chain().focus().toggleBulletList().run(),
96
- onClick: () => {
97
- r.chain().focus().toggleBulletList().run();
98
- },
99
- children: /* @__PURE__ */ c(m, {})
100
- }),
101
- /* @__PURE__ */ c(b, {
102
- active: r.isActive("orderedList"),
103
- disabled: !r.can().chain().focus().toggleOrderedList().run(),
104
- onClick: () => {
105
- r.chain().focus().toggleOrderedList().run();
106
- },
107
- children: /* @__PURE__ */ c(h, {})
108
- }),
109
- /* @__PURE__ */ c(b, {
110
- onClick: (e) => {
111
- w(r.getAttributes("link").href ?? ""), S(e.currentTarget), v(!0);
112
- },
113
- children: /* @__PURE__ */ c(g, {})
114
- }),
115
- /* @__PURE__ */ c(b, {
116
- active: r.isActive("link"),
117
- disabled: !r.can().chain().focus().unsetLink().run(),
118
- onClick: () => {
119
- r.chain().focus().unsetLink().run();
120
- },
121
- children: /* @__PURE__ */ c(g, {})
122
- })
123
- ]
124
- }) : null
125
- }), /* @__PURE__ */ c(t, {
126
- anchorEl: x,
127
- anchorOrigin: {
128
- horizontal: "left",
129
- vertical: "bottom"
130
- },
131
- onClose: () => {
132
- v(!1), S(null), w("");
133
- },
134
- open: a,
135
- slotProps: { paper: { sx: { p: 2 } } },
136
- children: /* @__PURE__ */ c(n, { children: /* @__PURE__ */ c(o, {
137
- name: "url",
138
- label: "URL",
139
- onChange: (e) => {
140
- w(e.target.value);
141
- },
142
- onKeyUp: (e) => {
143
- if (e.key === "Enter") {
144
- if (C === "") {
145
- r?.chain().focus().extendMarkRange("link").unsetLink().run();
146
- return;
147
- }
148
- r?.chain().focus().setLink({ href: C }).run(), v(!1), S(null), w("");
149
- }
150
- },
151
- value: C
152
- }) })
153
- })] });
154
- };
155
- function y(e) {
156
- if (e.isActive("paragraph")) return "p";
157
- for (let t of [
158
- 1,
159
- 2,
160
- 3,
161
- 4,
162
- 5,
163
- 6
164
- ]) if (e.isActive("heading", { level: t })) return `h${t}`;
165
- return "p";
166
- }
167
- var b = s.forwardRef(function({ active: e, children: t, disabled: n, onClick: i }, a) {
168
- return /* @__PURE__ */ c(r, {
169
- color: e ? "primary" : "inherit",
170
- disabled: n,
171
- onClick: i,
172
- ref: a,
173
- children: t
174
- });
175
- });
176
- //#endregion
177
- export { v as t };
@@ -1,11 +0,0 @@
1
- import { t as e } from "./createSvgIcon-BfZYaiXo.js";
2
- import * as t from "react";
3
- import { jsx as n } from "react/jsx-runtime";
4
- //#region ../../node_modules/@mui/icons-material/esm/UnfoldMoreRounded.js
5
- var r = e(/* @__PURE__ */ n("path", { d: "m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L12.7 3.7a.996.996 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0zm0 12.34-2.46-2.46a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z" }), "UnfoldMoreRounded"), i = { defaultProps: { IconComponent: t.forwardRef((e, t) => /* @__PURE__ */ n(r, {
6
- fontSize: "small",
7
- ...e,
8
- ref: t
9
- })) } };
10
- //#endregion
11
- export { i as t };
@@ -1,168 +0,0 @@
1
- import { a as e, g as t, h as n, o as r, u as i } from "./createTheme-hnicUJQa.js";
2
- import { i as a, o, r as s, s as c } from "./esm-BYRX9r8n.js";
3
- import { t as l } from "./defaultTheme-CW25vqGj.js";
4
- //#region ../../node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js
5
- var u = t();
6
- function d(e, t = "") {
7
- return e.displayName || e.name || t;
8
- }
9
- function f(e, t, n) {
10
- let r = d(t);
11
- return e.displayName || (r === "" ? n : `${n}(${r})`);
12
- }
13
- function p(e) {
14
- if (e != null) {
15
- if (typeof e == "string") return e;
16
- if (typeof e == "function") return d(e, "Component");
17
- if (typeof e == "object") switch (e.$$typeof) {
18
- case u.ForwardRef: return f(e, e.render, "ForwardRef");
19
- case u.Memo: return f(e, e.type, "memo");
20
- default: return;
21
- }
22
- }
23
- }
24
- //#endregion
25
- //#region ../../node_modules/@mui/system/esm/preprocessStyles.js
26
- function m(e) {
27
- let { variants: t, ...n } = e, r = {
28
- variants: t,
29
- style: a(n),
30
- isProcessed: !0
31
- };
32
- return r.style === n || t && t.forEach((e) => {
33
- typeof e.style != "function" && (e.style = a(e.style));
34
- }), r;
35
- }
36
- //#endregion
37
- //#region ../../node_modules/@mui/system/esm/createStyled/createStyled.js
38
- var h = e();
39
- function g(e) {
40
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
41
- }
42
- function _(e, t) {
43
- return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
44
- }
45
- function v(e) {
46
- return e ? (t, n) => n[e] : null;
47
- }
48
- function y(e, t, n) {
49
- e.theme = T(e.theme) ? n : e.theme[t] || e.theme;
50
- }
51
- function b(e, t, n) {
52
- let r = typeof t == "function" ? t(e) : t;
53
- if (Array.isArray(r)) return r.flatMap((t) => b(e, t, n));
54
- if (Array.isArray(r?.variants)) {
55
- let t;
56
- if (r.isProcessed) t = n ? _(r.style, n) : r.style;
57
- else {
58
- let { variants: e, ...i } = r;
59
- t = n ? _(a(i), n) : i;
60
- }
61
- return x(e, r.variants, [t], n);
62
- }
63
- return r?.isProcessed ? n ? _(a(r.style), n) : r.style : n ? _(a(r), n) : r;
64
- }
65
- function x(e, t, n = [], r = void 0) {
66
- let i;
67
- variantLoop: for (let o = 0; o < t.length; o += 1) {
68
- let s = t[o];
69
- if (typeof s.props == "function") {
70
- if (i ??= {
71
- ...e,
72
- ...e.ownerState,
73
- ownerState: e.ownerState
74
- }, !s.props(i)) continue;
75
- } else for (let t in s.props) if (e[t] !== s.props[t] && e.ownerState?.[t] !== s.props[t]) continue variantLoop;
76
- typeof s.style == "function" ? (i ??= {
77
- ...e,
78
- ...e.ownerState,
79
- ownerState: e.ownerState
80
- }, n.push(r ? _(a(s.style(i)), r) : s.style(i))) : n.push(r ? _(a(s.style), r) : s.style);
81
- }
82
- return n;
83
- }
84
- function S(e = {}) {
85
- let { themeId: t, defaultTheme: i = h, rootShouldForwardProp: a = g, slotShouldForwardProp: c = g } = e;
86
- function l(e) {
87
- y(e, t, i);
88
- }
89
- return (e, t = {}) => {
90
- s(e, (e) => e.filter((e) => e !== r));
91
- let { name: i, slot: u, skipVariantsResolver: d, skipSx: f, overridesResolver: p = v(D(u)), ...h } = t, y = i && i.startsWith("Mui") || u ? "components" : "custom", S = d === void 0 ? u && u !== "Root" && u !== "root" || !1 : d, T = f || !1, O = g;
92
- u === "Root" || u === "root" ? O = a : u ? O = c : E(e) && (O = void 0);
93
- let k = o(e, {
94
- shouldForwardProp: O,
95
- label: w(i, u),
96
- ...h
97
- }), A = (e) => {
98
- if (e.__emotion_real === e) return e;
99
- if (typeof e == "function") return function(t) {
100
- return b(t, e, t.theme.modularCssLayers ? y : void 0);
101
- };
102
- if (n(e)) {
103
- let t = m(e);
104
- return function(e) {
105
- return t.variants ? b(e, t, e.theme.modularCssLayers ? y : void 0) : e.theme.modularCssLayers ? _(t.style, y) : t.style;
106
- };
107
- }
108
- return e;
109
- }, j = (...t) => {
110
- let n = [], a = t.map(A), o = [];
111
- if (n.push(l), i && p && o.push(function(e) {
112
- let t = e.theme.components?.[i]?.styleOverrides;
113
- if (!t) return null;
114
- let n = {};
115
- for (let r in t) n[r] = b(e, t[r], e.theme.modularCssLayers ? "theme" : void 0);
116
- return p(e, n);
117
- }), i && !S && o.push(function(e) {
118
- let t = e.theme?.components?.[i]?.variants;
119
- return t ? x(e, t, [], e.theme.modularCssLayers ? "theme" : void 0) : null;
120
- }), T || o.push(r), Array.isArray(a[0])) {
121
- let e = a.shift(), t = Array(n.length).fill(""), r = Array(o.length).fill(""), i;
122
- i = [
123
- ...t,
124
- ...e,
125
- ...r
126
- ], i.raw = [
127
- ...t,
128
- ...e.raw,
129
- ...r
130
- ], n.unshift(i);
131
- }
132
- let s = k(...n, ...a, ...o);
133
- return e.muiName && (s.muiName = e.muiName), process.env.NODE_ENV !== "production" && (s.displayName = C(i, u, e)), s;
134
- };
135
- return k.withConfig && (j.withConfig = k.withConfig), j;
136
- };
137
- }
138
- function C(e, t, n) {
139
- return e ? `${e}${i(t || "")}` : `Styled(${p(n)})`;
140
- }
141
- function w(e, t) {
142
- let n;
143
- return process.env.NODE_ENV !== "production" && e && (n = `${e}-${D(t || "Root")}`), n;
144
- }
145
- function T(e) {
146
- for (let t in e) return !1;
147
- return !0;
148
- }
149
- function E(e) {
150
- return typeof e == "string" && e.charCodeAt(0) > 96;
151
- }
152
- function D(e) {
153
- return e && e.charAt(0).toLowerCase() + e.slice(1);
154
- }
155
- //#endregion
156
- //#region ../../node_modules/@mui/material/esm/styles/slotShouldForwardProp.js
157
- function O(e) {
158
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
159
- }
160
- //#endregion
161
- //#region ../../node_modules/@mui/material/esm/styles/rootShouldForwardProp.js
162
- var k = (e) => O(e) && e !== "classes", A = S({
163
- themeId: c,
164
- defaultTheme: l,
165
- rootShouldForwardProp: k
166
- });
167
- //#endregion
168
- export { g as a, S as i, k as n, m as o, O as r, A as t };
@@ -1,30 +0,0 @@
1
- import { Theme } from '../types';
2
- export declare const MuiTooltip: {
3
- defaultProps: {
4
- placement: "top";
5
- arrow: true;
6
- };
7
- styleOverrides: {
8
- tooltip: ({ theme }: import('@mui/material').TooltipProps & Record<string, unknown> & {
9
- ownerState: import('@mui/material').TooltipProps & Record<string, unknown>;
10
- } & {
11
- theme: Theme;
12
- }) => {
13
- backgroundColor: string;
14
- border: string;
15
- borderColor: string;
16
- color: string;
17
- };
18
- arrow: ({ theme }: import('@mui/material').TooltipProps & Record<string, unknown> & {
19
- ownerState: import('@mui/material').TooltipProps & Record<string, unknown>;
20
- } & {
21
- theme: Theme;
22
- }) => {
23
- color: string;
24
- '&::before': {
25
- border: string;
26
- borderColor: string;
27
- };
28
- };
29
- };
30
- };
@@ -1,11 +0,0 @@
1
- import * as e from "react";
2
- //#region ../../node_modules/@mui/material/esm/FormControl/FormControlContext.js
3
- var t = /* @__PURE__ */ e.createContext(void 0);
4
- process.env.NODE_ENV !== "production" && (t.displayName = "FormControlContext");
5
- //#endregion
6
- //#region ../../node_modules/@mui/material/esm/FormControl/useFormControl.js
7
- function n() {
8
- return e.useContext(t);
9
- }
10
- //#endregion
11
- export { t as n, n as t };
File without changes