@solostylist/ui-kit 1.0.216 → 1.0.217
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/{ArrowUpward-O4lRvSII.js → ArrowUpward-Di0RvTdn.js} +2 -2
- package/dist/Box-BK8kyPwb.js +45 -0
- package/dist/{ButtonBase-1qqPHJym.js → ButtonBase-Pxs48joz.js} +282 -172
- package/dist/{ChevronLeft-CJ94-qgQ.js → ChevronLeft-Cq8Rj_mj.js} +2 -2
- package/dist/{ChevronRight-CK4Iv1Xx.js → ChevronRight-DgJMX1PW.js} +2 -2
- package/dist/{Close-CSIi_IPN.js → Close-BrK64qcq.js} +2 -2
- package/dist/Collapse-BlDm9KX-.js +259 -0
- package/dist/{ContentCopy-SAMH7bs7.js → ContentCopy-C3hTb2aA.js} +2 -2
- package/dist/{Download-BefdWd5q.js → Download-BxH0i9Ni.js} +2 -2
- package/dist/{ExpandMore-DZANUF9W.js → ExpandMore-C7Hl31nD.js} +2 -2
- package/dist/{Favorite-BwMGKQJf.js → Favorite-DNaf3wqS.js} +2 -2
- package/dist/List-CtVrgES0.js +1049 -0
- package/dist/LocalizationProvider-DtVmtZ15.js +111 -0
- package/dist/Menu-DklEkm6T.js +497 -0
- package/dist/MenuItem-B9utw6PO.js +222 -0
- package/dist/MenuList-BbO85Qmd.js +404 -0
- package/dist/{Paper-CI9lXZk-.js → Paper-B_hHPO5k.js} +15 -15
- package/dist/Stack-D5D_RRtN.js +157 -0
- package/dist/Typography-Dy5dAg2u.js +166 -0
- package/dist/{avatar-CKEYVp9W.js → avatar-C1jUiSkJ.js} +1 -1
- package/dist/buttonBaseClasses-BLZbMisL.js +13 -0
- package/dist/{checkbox-CMvDozaV.js → checkbox-ByoYYQb_.js} +4 -4
- package/dist/{clsx-BTH_sxEO.js → clsx-69XFQeWf.js} +4 -4
- package/dist/{createSimplePaletteValueFilter-D5kxdvJe.js → createSimplePaletteValueFilter-GHK52GLU.js} +1 -1
- package/dist/{createSvgIcon-BfZYaiXo.js → createSvgIcon-BmN7SAhg.js} +15 -15
- package/dist/{createTheme-hnicUJQa.js → createTheme-YGsrOe_4.js} +624 -545
- package/dist/defaultTheme-DCktV_zC.js +5 -0
- package/dist/{generateUtilityClass-D4Rn9MbW.js → generateUtilityClass-tRYNDrlH.js} +1 -1
- package/dist/generateUtilityClasses-XrPHiTcM.js +10 -0
- package/dist/{iconButtonClasses-UNZ6hKTU.js → iconButtonClasses-9jjSQ9-U.js} +3 -3
- package/dist/inputLabelClasses-CC5i2Dsg.js +659 -0
- package/dist/memoTheme-BmiT8U43.js +150 -0
- package/dist/{mergeSlotProps-CVIr4jSm.js → mergeSlotProps-BX66hWLa.js} +3 -6
- package/dist/{outlinedInputClasses-ClI9bkEy.js → outlinedInputClasses-Di4lUV1O.js} +5 -10
- package/dist/{resolveProps-D6-j1wov.js → resolveProps-CP_X7XKa.js} +3 -3
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/{s-accordion-Coc1zFV6.js → s-accordion-CeJZz1Ln.js} +107 -116
- package/dist/s-action-overlay/s-action-overlay.js +18 -14
- package/dist/s-avatar/s-avatar.js +6 -4
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/{s-carousel-Btja2Hvn.js → s-carousel-DyaNkTeX.js} +2 -2
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/{s-chat-input-DF3eBvRY.js → s-chat-input-B_qRssy8.js} +41 -29
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/{s-chat-message-tzIfAqAc.js → s-chat-message-gzoc72Ti.js} +45 -41
- package/dist/s-checkbox/s-checkbox.js +6 -3
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/{s-chips-CMivbDg_.js → s-chips-D8H_w9Xa.js} +15 -11
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/{s-code-block-BrwHh2oS.js → s-code-block-B1mdb-IQ.js} +1 -1
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/{s-comment-message-Db-f_KOq.js → s-comment-message-CsQej8Et.js} +18 -14
- package/dist/s-copyable-text/s-copyable-text.js +8 -9
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/s-data-table-DeFNG6GB.js +893 -0
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.d.ts +1 -1
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/{s-date-picker-C-FOMdpa.js → s-date-picker-Fo7ezXTV.js} +161 -115
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/{s-datetime-picker-qg0m55tj.js → s-datetime-picker-BcpyhYZf.js} +1051 -1033
- package/dist/s-dialog/s-dialog.js +3 -3
- package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
- package/dist/s-dialog-message/s-dialog-message.js +4 -4
- package/dist/s-empty/s-empty.js +4 -2
- package/dist/s-error/s-error.js +4 -2
- package/dist/s-error-layout/s-error-layout.js +1 -2
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/{s-file-dropzone-BFTqdCaX.js → s-file-dropzone-yel7KInt.js} +9 -9
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-flex-box/s-flex-box.d.ts +10 -2
- package/dist/s-flex-box/s-flex-box.js +15 -5
- package/dist/s-glow-button/s-glow-button.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.js +2 -2
- package/dist/s-image-modal/s-image-modal.js +4 -4
- package/dist/s-item-not-found/s-item-not-found.js +9 -7
- package/dist/s-label/index.js +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/{s-label-BYT4eG6o.js → s-label-B9mgEpfz.js} +8 -7
- package/dist/s-language-switcher/index.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +1 -1
- package/dist/{s-language-switcher-mD1mK1he.js → s-language-switcher-BI0ARsS8.js} +18 -17
- package/dist/s-lazy-image/s-lazy-image.js +4 -2
- package/dist/s-link/s-link.d.ts +1 -1
- package/dist/s-link/s-link.js +1 -1
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/{s-localization-provider-CIACI235.js → s-localization-provider-zUNjKqvJ.js} +41 -59
- package/dist/s-moving-border/s-moving-border.d.ts +8 -0
- package/dist/s-moving-border/s-moving-border.js +26 -21
- package/dist/s-multi-select/index.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +1 -1
- package/dist/{s-multi-select-CmB-l3n5.js → s-multi-select-CVyeHDlc.js} +10 -10
- package/dist/s-nav-item/s-nav-item.js +2 -2
- package/dist/s-nav-item/s-nav-items.js +5 -5
- package/dist/s-no-ssr/s-no-ssr.js +1 -1
- package/dist/s-pagination/s-pagination.js +6 -4
- package/dist/s-pixel-reveal/s-pixel-reveal.js +1 -1
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-D29of4xC.js → s-review-BoTotzrP.js} +14 -10
- package/dist/s-scroll-to-top/s-scroll-to-top.js +3 -3
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +1 -1
- package/dist/{s-select-DH-t7jkk.js → s-select-BHnfqAGl.js} +7 -7
- package/dist/s-select-list/s-select-list.js +1 -1
- package/dist/s-stripe/s-stripe.js +1 -1
- package/dist/s-switch/s-switch.js +5 -3
- package/dist/s-tabs/s-tabs.js +6 -6
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
- package/dist/s-text-editor/s-text-editor.js +2 -2
- package/dist/s-text-editor-toolbar-ZxamcKpn.js +2105 -0
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/{s-text-field-UI_UjTUa.js → s-text-field-w4T9VXLw.js} +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +2 -2
- package/dist/s-theme-demo/index.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +1 -1
- package/dist/{s-theme-demo-C0v-IOB-.js → s-theme-demo-C0BGeh2P.js} +80 -48
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/{s-theme-switch-COBORL4a.js → s-theme-switch-Cz5QBl69.js} +2 -2
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +1 -1
- package/dist/{s-tip-BI58w2uh.js → s-tip-CqLspVS4.js} +5 -5
- package/dist/s-tool-bar/index.js +1 -1
- package/dist/s-tool-bar/s-tool-bar.js +1 -1
- package/dist/{s-tool-bar-KrLaAaBO.js → s-tool-bar-RTPBIgcd.js} +5 -5
- package/dist/s-two-pane-layout/s-two-pane-layout.js +1 -1
- package/dist/{select-BT9USOXL.js → select-D7W-VU2F.js} +2 -2
- package/dist/styled-BRk8Ukg1.js +164 -0
- package/dist/{esm-BYRX9r8n.js → styled-engine-DOxAQ3qw.js} +2 -2
- package/dist/{svgIconClasses-BhRa1KyZ.js → svgIconClasses-D46YUMKp.js} +3 -3
- package/dist/{tabClasses-Duc8s_po.js → tabClasses-KqPlYv0c.js} +3 -4
- package/dist/theme/components/accordion-summary.d.ts +2 -2
- package/dist/theme/components/accordion-summary.js +1 -1
- package/dist/theme/components/accordion.d.ts +2 -2
- package/dist/theme/components/alert.js +1 -1
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/button.d.ts +2 -2
- package/dist/theme/components/button.js +30 -22
- package/dist/theme/components/card.js +2 -2
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.js +122 -124
- package/dist/theme/components/components.js +5 -5
- package/dist/theme/components/icon-button.d.ts +2 -2
- package/dist/theme/components/icon-button.js +1 -1
- package/dist/theme/components/linear-progress.js +1 -1
- package/dist/theme/components/link.d.ts +2 -2
- package/dist/theme/components/link.js +2 -2
- package/dist/theme/components/list-item-button.d.ts +2 -2
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.d.ts +2 -2
- package/dist/theme/components/list-item.js +3 -3
- package/dist/theme/components/outlined-input.js +3 -3
- package/dist/theme/components/pagination-item.d.ts +2 -2
- package/dist/theme/components/select.js +1 -1
- package/dist/theme/components/step-icon.js +1 -1
- package/dist/theme/components/tab.d.ts +2 -2
- package/dist/theme/components/tab.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/tabs.d.ts +4 -4
- package/dist/theme/components/toggle-button-group.js +1 -1
- package/dist/theme/components/toggle-button.d.ts +2 -2
- package/dist/theme/components/toggle-button.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{theme-primitives-qhf0z_Er.js → theme-primitives-DHiY0aFC.js} +1 -1
- package/dist/{toggle-button-sCvdUHdS.js → toggle-button-DIEv06gW.js} +3 -3
- package/dist/{toggle-button-group-C_qpJa3z.js → toggle-button-group-CERACXGm.js} +4 -6
- package/dist/{typographyClasses-CBI3nZde.js → typographyClasses-CyjIdezx.js} +4 -5
- package/dist/{useControlled-BQ6-yabk.js → useControlled-2-C6cXjG.js} +2 -5
- package/dist/useControlled-DXKqhylj.js +5 -0
- package/dist/{useEnhancedEffect-DcMMtOdE.js → useEnhancedEffect-Dsu5K7-Z.js} +1 -1
- package/dist/useFormControl-CUs308br.js +18 -0
- package/dist/{useMobilePicker-C5bImMb9.js → useMobilePicker-6o6QRlWL.js} +3019 -3472
- package/dist/{useSlot-BfqKgBbE.js → useSlot-CugRM0KJ.js} +37 -32
- package/dist/{useThemeProps-DtrsMbkY.js → useThemeProps-DdB9M8DE.js} +4 -4
- package/dist/{utils-BqJ3HDtA.js → utils-DNv5CBQM.js} +21 -5
- package/package.json +13 -13
- package/dist/Box-BQIZeo25.js +0 -46
- package/dist/Collapse-BUAO-GTT.js +0 -264
- package/dist/LocalizationProvider-C07_J3LH.js +0 -111
- package/dist/Menu-qKMfgdfr.js +0 -1664
- package/dist/MenuItem-DA2pGXuL.js +0 -214
- package/dist/Select-D-aLJXW9.js +0 -2552
- package/dist/Stack-BrIUVvqB.js +0 -158
- package/dist/Typography-Ci004UCT.js +0 -187
- package/dist/buttonBaseClasses-D1dQFqBk.js +0 -13
- package/dist/defaultTheme-CW25vqGj.js +0 -5
- package/dist/extendSxProp-0kulJXZl.js +0 -29
- package/dist/generateUtilityClasses-CX1nR7K3.js +0 -10
- package/dist/memoTheme-DiKnacj0.js +0 -154
- package/dist/s-data-table-BdEn2Nhf.js +0 -897
- package/dist/s-text-editor-toolbar-Sw0qn88u.js +0 -177
- package/dist/styled-C0_N3zFx.js +0 -168
- package/dist/useFormControl-DvExOQVA.js +0 -11
- /package/dist/{extends-DtvfmDTb.js → extends-D8CDMpIy.js} +0 -0
- /package/dist/{objectWithoutPropertiesLoose-Cq334jkZ.js → objectWithoutPropertiesLoose-BpY-kC5L.js} +0 -0
- /package/dist/{utils-CKGB5_56.js → utils-B5Rl6Zwv.js} +0 -0
|
@@ -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 };
|
package/dist/styled-C0_N3zFx.js
DELETED
|
@@ -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,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
|
/package/dist/{objectWithoutPropertiesLoose-Cq334jkZ.js → objectWithoutPropertiesLoose-BpY-kC5L.js}
RENAMED
|
File without changes
|
|
File without changes
|