@solostylist/ui-kit 1.0.182 → 1.0.184
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-BfB2C5u-.js → ArrowUpward-JWPHrR6I.js} +1 -1
- package/dist/{Box-CPF4N-9A.js → Box-p3bpOtdn.js} +3 -3
- package/dist/{ButtonBase-DVt-j9E6.js → ButtonBase-PbSTzuUP.js} +5 -5
- package/dist/{ChevronLeft-q54vKmLl.js → ChevronLeft-BJjuFNNQ.js} +1 -1
- package/dist/{ChevronRight-BW4N4T8D.js → ChevronRight-5ZX3FodP.js} +1 -1
- package/dist/{Close-C-h8ZFj9.js → Close-C-pCw-CD.js} +1 -1
- package/dist/{ContentCopy-BOEcgmUk.js → ContentCopy-CNxsEhmq.js} +1 -1
- package/dist/{DefaultPropsProvider-DAGo4Ecg.js → DefaultPropsProvider-2MEHB2yv.js} +2 -2
- package/dist/{Download-Csm36pg6.js → Download-D97XSAig.js} +1 -1
- package/dist/{ExpandMore-o5VIASx2.js → ExpandMore-CTZrSZlF.js} +1 -1
- package/dist/{Favorite-BaBSxOMM.js → Favorite-Cvjg7GqN.js} +1 -1
- package/dist/{Menu-BWsB9Go5.js → Menu-_ZW9WiF2.js} +17 -17
- package/dist/{MenuItem-mL6pZnEn.js → MenuItem-DTapLhin.js} +5 -5
- package/dist/Paper-5nSdRRBA.js +553 -0
- package/dist/{Select-D8afBVNf.js → Select-J5gDqfEk.js} +15 -16
- package/dist/{Stack-xJbxRUTT.js → Stack-BlwLEm6H.js} +5 -5
- package/dist/{Typography-LWwPvg9q.js → Typography-Cum5_Ehu.js} +4 -4
- package/dist/{createSvgIcon-C1CFzLiI.js → createSvgIcon-DTNHY3_v.js} +3 -3
- package/dist/{createTheme-pt_I2IXq.js → createTheme-CIXJrNxb.js} +2 -2
- package/dist/defaultTheme-DLue8Fr1.js +5 -0
- package/dist/{extendSxProp-CbzPilO0.js → extendSxProp-CyoueGTe.js} +1 -1
- package/dist/{index-BXB9E4It.js → index-8LcCMmwl.js} +4 -4
- package/dist/s-accordion/s-accordion.js +33 -33
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +3 -3
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +3 -3
- package/dist/s-chat-message/s-chat-message.js +2 -2
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +3 -3
- package/dist/s-copyable-text/s-copyable-text.js +12 -13
- package/dist/s-data-table/s-data-table.js +5 -5
- package/dist/s-date-picker/s-date-picker.js +7 -7
- package/dist/s-datetime-picker/s-datetime-picker.js +44 -44
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
- package/dist/s-dialog-message/s-dialog-message.js +2 -2
- package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-flex-box/s-flex-box.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.js +2 -2
- package/dist/s-image-modal/s-image-modal.js +3 -3
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +6 -6
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +3 -3
- package/dist/s-review/s-review.js +1 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.js +3 -3
- package/dist/s-select/s-select.js +1 -1
- package/dist/s-tabs/s-tabs.js +35 -25
- package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/s-text-shimmer/s-text-shimmer.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +2 -2
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{styled-CknIVk7Y.js → styled-BR6UL29H.js} +2 -2
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/components/icon-button.js +12 -12
- package/dist/theme/customizations/data-display.js +47 -36
- package/dist/theme/customizations/inputs.js +2 -2
- package/dist/theme/customizations/navigation.js +2 -2
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +6 -6
- package/dist/{useMobilePicker-DWIymD7G.js → useMobilePicker-C0pYjskU.js} +12 -12
- package/dist/{useTheme-CqoE8eXY.js → useTheme-DSvhq4Np.js} +1 -1
- package/dist/{useThemeProps-COgSP9Ca.js → useThemeProps-C-oV4Fbz.js} +1 -1
- package/dist/{warning-BKtg2mqc.js → warning-BZ61Y8gI.js} +3 -3
- package/package.json +31 -31
- package/dist/Paper-BWzM4LQE.js +0 -689
- package/dist/defaultTheme-DAwi26G6.js +0 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as i } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { e as y } from "./extendSxProp-
|
|
3
|
-
import { P as e } from "./createTheme-
|
|
4
|
-
import { d as m } from "./defaultTheme-
|
|
2
|
+
import { e as y } from "./extendSxProp-CyoueGTe.js";
|
|
3
|
+
import { P as e } from "./createTheme-CIXJrNxb.js";
|
|
4
|
+
import { d as m } from "./defaultTheme-DLue8Fr1.js";
|
|
5
5
|
import { T as d } from "./identifier-BKLqN993.js";
|
|
6
6
|
import { i as b } from "./index-D3G5Rwl-.js";
|
|
7
|
-
import { u as T } from "./useTheme-
|
|
7
|
+
import { u as T } from "./useTheme-DSvhq4Np.js";
|
|
8
8
|
import { Global as x } from "@emotion/react";
|
|
9
9
|
function E(r) {
|
|
10
10
|
return r == null || Object.keys(r).length === 0;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { j as i } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { E as wo } from "../ExpandMore-
|
|
2
|
+
import { E as wo } from "../ExpandMore-CTZrSZlF.js";
|
|
3
3
|
import * as c from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { l as Po, P as o } from "../createTheme-pt_I2IXq.js";
|
|
4
|
+
import { n as Eo, P as o, k as vo } from "../createTheme-CIXJrNxb.js";
|
|
6
5
|
import { c as L } from "../clsx-OuTLNxxd.js";
|
|
7
|
-
import { u as Q, c as X, m as W } from "../DefaultPropsProvider-
|
|
8
|
-
import { b as
|
|
6
|
+
import { u as Q, c as X, m as W } from "../DefaultPropsProvider-2MEHB2yv.js";
|
|
7
|
+
import { b as Ao, u as Ro, d as x, e as Po, c as jo, B as No } from "../ButtonBase-PbSTzuUP.js";
|
|
9
8
|
import { g as Y } from "../generateUtilityClasses-E9gROIFd.js";
|
|
10
9
|
import { g as Z } from "../generateUtilityClass-BhfUaMgk.js";
|
|
11
|
-
import { u as
|
|
12
|
-
import { s as b } from "../styled-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
10
|
+
import { u as Oo } from "../useControlled-D1L5tREc.js";
|
|
11
|
+
import { s as b } from "../styled-BR6UL29H.js";
|
|
12
|
+
import { T as Io, u as Mo, g as io, P as Do } from "../Paper-5nSdRRBA.js";
|
|
13
|
+
import { S as $o } from "../Stack-BlwLEm6H.js";
|
|
14
|
+
import { T as Wo } from "../Typography-Cum5_Ehu.js";
|
|
15
15
|
function zo(e) {
|
|
16
16
|
return Z("MuiCollapse", e);
|
|
17
17
|
}
|
|
18
18
|
Y("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
|
|
19
|
-
const
|
|
19
|
+
const ko = (e) => {
|
|
20
20
|
const {
|
|
21
21
|
orientation: t,
|
|
22
22
|
classes: n
|
|
@@ -28,7 +28,7 @@ const Vo = (e) => {
|
|
|
28
28
|
wrapperInner: ["wrapperInner", `${t}`]
|
|
29
29
|
};
|
|
30
30
|
return X(s, zo, n);
|
|
31
|
-
},
|
|
31
|
+
}, Vo = b("div", {
|
|
32
32
|
name: "MuiCollapse",
|
|
33
33
|
slot: "Root",
|
|
34
34
|
overridesResolver: (e, t) => {
|
|
@@ -118,9 +118,9 @@ const Vo = (e) => {
|
|
|
118
118
|
component: R,
|
|
119
119
|
easing: z,
|
|
120
120
|
in: P,
|
|
121
|
-
onEnter:
|
|
121
|
+
onEnter: k,
|
|
122
122
|
onEntered: N,
|
|
123
|
-
onEntering:
|
|
123
|
+
onEntering: V,
|
|
124
124
|
onExit: O,
|
|
125
125
|
onExited: F,
|
|
126
126
|
onExiting: f,
|
|
@@ -128,21 +128,21 @@ const Vo = (e) => {
|
|
|
128
128
|
slots: T = {},
|
|
129
129
|
slotProps: C = {},
|
|
130
130
|
style: I,
|
|
131
|
-
timeout: m =
|
|
131
|
+
timeout: m = Eo.standard,
|
|
132
132
|
// eslint-disable-next-line react/prop-types
|
|
133
|
-
TransitionComponent: S =
|
|
133
|
+
TransitionComponent: S = Io,
|
|
134
134
|
...M
|
|
135
135
|
} = s, w = {
|
|
136
136
|
...s,
|
|
137
137
|
orientation: h,
|
|
138
138
|
collapsedSize: u
|
|
139
|
-
}, E =
|
|
139
|
+
}, E = ko(w), l = Mo(), G = Ao(), v = c.useRef(null), _ = c.useRef(), U = typeof u == "number" ? `${u}px` : u, D = h === "horizontal", $ = D ? "width" : "height", H = c.useRef(null), oo = Ro(n, H), j = (r) => (g) => {
|
|
140
140
|
if (r) {
|
|
141
141
|
const y = H.current;
|
|
142
142
|
g === void 0 ? r(y) : r(y, g);
|
|
143
143
|
}
|
|
144
144
|
}, eo = () => v.current ? v.current[D ? "clientWidth" : "clientHeight"] : 0, po = j((r, g) => {
|
|
145
|
-
v.current && D && (v.current.style.position = "absolute"), r.style[$] = U,
|
|
145
|
+
v.current && D && (v.current.style.position = "absolute"), r.style[$] = U, k && k(r, g);
|
|
146
146
|
}), uo = j((r, g) => {
|
|
147
147
|
const y = eo();
|
|
148
148
|
v.current && D && (v.current.style.position = "");
|
|
@@ -161,7 +161,7 @@ const Vo = (e) => {
|
|
|
161
161
|
r.style.transitionDuration = `${so}ms`, _.current = so;
|
|
162
162
|
} else
|
|
163
163
|
r.style.transitionDuration = typeof A == "string" ? A : `${A}ms`;
|
|
164
|
-
r.style[$] = `${y}px`, r.style.transitionTimingFunction = q,
|
|
164
|
+
r.style[$] = `${y}px`, r.style.transitionTimingFunction = q, V && V(r, g);
|
|
165
165
|
}), fo = j((r, g) => {
|
|
166
166
|
r.style[$] = "auto", N && N(r, g);
|
|
167
167
|
}), mo = j((r) => {
|
|
@@ -192,7 +192,7 @@ const Vo = (e) => {
|
|
|
192
192
|
}, [xo, ro] = x("root", {
|
|
193
193
|
ref: oo,
|
|
194
194
|
className: L(E.root, p),
|
|
195
|
-
elementType:
|
|
195
|
+
elementType: Vo,
|
|
196
196
|
externalForwardedProps: to,
|
|
197
197
|
ownerState: w,
|
|
198
198
|
additionalProps: {
|
|
@@ -286,7 +286,7 @@ process.env.NODE_ENV !== "production" && (K.propTypes = {
|
|
|
286
286
|
* The component used for the root node.
|
|
287
287
|
* Either a string to use a HTML element or a component.
|
|
288
288
|
*/
|
|
289
|
-
component:
|
|
289
|
+
component: Po,
|
|
290
290
|
/**
|
|
291
291
|
* The transition timing function.
|
|
292
292
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -386,7 +386,7 @@ const J = Y("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
386
386
|
heading: ["heading"],
|
|
387
387
|
region: ["region"]
|
|
388
388
|
}, Uo, t);
|
|
389
|
-
}, Bo = b(
|
|
389
|
+
}, Bo = b(Do, {
|
|
390
390
|
name: "MuiAccordion",
|
|
391
391
|
slot: "Root",
|
|
392
392
|
overridesResolver: (e, t) => {
|
|
@@ -493,12 +493,12 @@ const J = Y("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
493
493
|
disableGutters: R = !1,
|
|
494
494
|
expanded: z,
|
|
495
495
|
onChange: P,
|
|
496
|
-
slots:
|
|
496
|
+
slots: k = {},
|
|
497
497
|
slotProps: N = {},
|
|
498
|
-
TransitionComponent:
|
|
498
|
+
TransitionComponent: V,
|
|
499
499
|
TransitionProps: O,
|
|
500
500
|
...F
|
|
501
|
-
} = s, [f, h] =
|
|
501
|
+
} = s, [f, h] = Oo({
|
|
502
502
|
controlled: z,
|
|
503
503
|
default: p,
|
|
504
504
|
name: "Accordion",
|
|
@@ -516,8 +516,8 @@ const J = Y("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
516
516
|
disableGutters: R,
|
|
517
517
|
expanded: f
|
|
518
518
|
}, M = Ho(S), w = {
|
|
519
|
-
transition:
|
|
520
|
-
...
|
|
519
|
+
transition: V,
|
|
520
|
+
...k
|
|
521
521
|
}, E = {
|
|
522
522
|
transition: O,
|
|
523
523
|
...N
|
|
@@ -581,9 +581,9 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
|
581
581
|
/**
|
|
582
582
|
* The content of the component.
|
|
583
583
|
*/
|
|
584
|
-
children:
|
|
584
|
+
children: jo(o.node.isRequired, (e) => {
|
|
585
585
|
const t = c.Children.toArray(e.children)[0];
|
|
586
|
-
return
|
|
586
|
+
return vo.isFragment(t) ? new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ c.isValidElement(t) ? null : new Error("MUI: Expected the first child of Accordion to be a valid element.");
|
|
587
587
|
}),
|
|
588
588
|
/**
|
|
589
589
|
* Override or extend the styles applied to the component.
|
|
@@ -728,7 +728,7 @@ const B = Y("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
728
728
|
content: ["content", n && "expanded", !a && "contentGutters"],
|
|
729
729
|
expandIconWrapper: ["expandIconWrapper", n && "expanded"]
|
|
730
730
|
}, Qo, t);
|
|
731
|
-
}, Yo = b(
|
|
731
|
+
}, Yo = b(No, {
|
|
732
732
|
name: "MuiAccordionSummary",
|
|
733
733
|
slot: "Root"
|
|
734
734
|
})(W(({
|
|
@@ -809,10 +809,10 @@ const B = Y("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
809
809
|
onClick: R,
|
|
810
810
|
slots: z,
|
|
811
811
|
slotProps: P,
|
|
812
|
-
...
|
|
812
|
+
...k
|
|
813
813
|
} = s, {
|
|
814
814
|
disabled: N = !1,
|
|
815
|
-
disableGutters:
|
|
815
|
+
disableGutters: V,
|
|
816
816
|
expanded: O,
|
|
817
817
|
toggle: F
|
|
818
818
|
} = c.useContext(no), f = (l) => {
|
|
@@ -821,7 +821,7 @@ const B = Y("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
821
821
|
...s,
|
|
822
822
|
expanded: O,
|
|
823
823
|
disabled: N,
|
|
824
|
-
disableGutters:
|
|
824
|
+
disableGutters: V
|
|
825
825
|
}, T = Xo(h), C = {
|
|
826
826
|
slots: z,
|
|
827
827
|
slotProps: P
|
|
@@ -832,7 +832,7 @@ const B = Y("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
832
832
|
elementType: Yo,
|
|
833
833
|
externalForwardedProps: {
|
|
834
834
|
...C,
|
|
835
|
-
...
|
|
835
|
+
...k
|
|
836
836
|
},
|
|
837
837
|
ownerState: h,
|
|
838
838
|
additionalProps: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import j, { useEffect as K, useState as T, useMemo as H, useCallback as L } from "react";
|
|
3
|
-
import { c as M } from "../createSvgIcon-
|
|
4
|
-
import { C as $ } from "../Close-C-
|
|
5
|
-
import { D as J } from "../Download-
|
|
3
|
+
import { c as M } from "../createSvgIcon-DTNHY3_v.js";
|
|
4
|
+
import { C as $ } from "../Close-C-pCw-CD.js";
|
|
5
|
+
import { D as J } from "../Download-D97XSAig.js";
|
|
6
6
|
import { TextField as X, Typography as Q, Box as n, Slider as Y, IconButton as z, Checkbox as Z, Divider as ee, Tooltip as E, Dialog as le, DialogTitle as se, DialogContent as te } from "@mui/material";
|
|
7
7
|
import { createPortal as re } from "react-dom";
|
|
8
8
|
import { SSelect as ne } from "../s-select/s-select.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as o } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import { forwardRef as f } from "react";
|
|
3
|
-
import { C as i } from "../ChevronRight-
|
|
3
|
+
import { C as i } from "../ChevronRight-5ZX3FodP.js";
|
|
4
4
|
import { Breadcrumbs as $, Typography as t, Link as e } from "@mui/material";
|
|
5
5
|
const j = f(
|
|
6
6
|
({
|
|
@@ -3,7 +3,7 @@ import ue, { forwardRef as nt } from "react";
|
|
|
3
3
|
import { styled as Me, useTheme as it } from "@mui/material";
|
|
4
4
|
import { c as be, a as ot, g as at } from "../_commonjsHelpers-ByX85dGu.js";
|
|
5
5
|
import { SIconButton as Ue } from "../s-icon-button/s-icon-button.js";
|
|
6
|
-
import { c as Ve } from "../createSvgIcon-
|
|
6
|
+
import { c as Ve } from "../createSvgIcon-DTNHY3_v.js";
|
|
7
7
|
import '../assets/s-carousel.css';const lt = Ve(/* @__PURE__ */ oe.jsx("path", {
|
|
8
8
|
d: "M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"
|
|
9
9
|
}), "ArrowBackIosNew"), st = Ve(/* @__PURE__ */ oe.jsx("path", {
|
|
@@ -5,9 +5,9 @@ import q from "emoji-picker-react";
|
|
|
5
5
|
import { STextField as G } from "../s-text-field/s-text-field.js";
|
|
6
6
|
import { SFileIcon as J } from "../s-file-icon/s-file-icon.js";
|
|
7
7
|
import { SIconButton as d } from "../s-icon-button/s-icon-button.js";
|
|
8
|
-
import { C as Q } from "../Close-C-
|
|
9
|
-
import { c as R } from "../createSvgIcon-
|
|
10
|
-
import { A as X } from "../ArrowUpward-
|
|
8
|
+
import { C as Q } from "../Close-C-pCw-CD.js";
|
|
9
|
+
import { c as R } from "../createSvgIcon-DTNHY3_v.js";
|
|
10
|
+
import { A as X } from "../ArrowUpward-JWPHrR6I.js";
|
|
11
11
|
const Y = R(/* @__PURE__ */ r.jsx("path", {
|
|
12
12
|
d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6z"
|
|
13
13
|
}), "AttachFile"), Z = R(/* @__PURE__ */ r.jsx("path", {
|
|
@@ -4,8 +4,8 @@ import { Box as r, Typography as t, Paper as P, IconButton as B } from "@mui/mat
|
|
|
4
4
|
import { SSkeleton as l } from "../s-skeleton/s-skeleton.js";
|
|
5
5
|
import { SAvatar as F } from "../s-avatar/s-avatar.js";
|
|
6
6
|
import G from "../s-lazy-image/s-lazy-image.js";
|
|
7
|
-
import { c as g } from "../createSvgIcon-
|
|
8
|
-
import { D as H } from "../Download-
|
|
7
|
+
import { c as g } from "../createSvgIcon-DTNHY3_v.js";
|
|
8
|
+
import { D as H } from "../Download-D97XSAig.js";
|
|
9
9
|
import { SImageModal as K } from "../s-image-modal/s-image-modal.js";
|
|
10
10
|
const q = g(/* @__PURE__ */ e.jsx("path", {
|
|
11
11
|
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
@@ -2,7 +2,7 @@ import { j as o } from "../jsx-runtime-tc70JA_2.js";
|
|
|
2
2
|
import { useState as g } from "react";
|
|
3
3
|
import { useColorScheme as p, Box as k, IconButton as u } from "@mui/material";
|
|
4
4
|
import { Prism as b } from "react-syntax-highlighter";
|
|
5
|
-
import { C as m, a as f } from "../ContentCopy-
|
|
5
|
+
import { C as m, a as f } from "../ContentCopy-CNxsEhmq.js";
|
|
6
6
|
const w = {
|
|
7
7
|
'code[class*="language-"]': {
|
|
8
8
|
background: "hsl(220, 13%, 18%)",
|
|
@@ -3,9 +3,9 @@ import { useState as S, useEffect as R } from "react";
|
|
|
3
3
|
import { Box as c, Stack as x, Typography as g, IconButton as G, Button as F, Collapse as J } from "@mui/material";
|
|
4
4
|
import { SSkeleton as e } from "../s-skeleton/s-skeleton.js";
|
|
5
5
|
import { SAvatar as K } from "../s-avatar/s-avatar.js";
|
|
6
|
-
import { F as N } from "../Favorite-
|
|
7
|
-
import { c as C } from "../createSvgIcon-
|
|
8
|
-
import { E as O } from "../ExpandMore-
|
|
6
|
+
import { F as N } from "../Favorite-Cvjg7GqN.js";
|
|
7
|
+
import { c as C } from "../createSvgIcon-DTNHY3_v.js";
|
|
8
|
+
import { E as O } from "../ExpandMore-CTZrSZlF.js";
|
|
9
9
|
const Q = C(/* @__PURE__ */ t.jsx("path", {
|
|
10
10
|
d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
|
|
11
11
|
}), "ExpandLess"), U = C(/* @__PURE__ */ t.jsx("path", {
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as o } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import { useState as l } from "react";
|
|
3
3
|
import { Paper as p, Box as d, IconButton as x, Typography as m } from "@mui/material";
|
|
4
|
-
import { C as u, a as h } from "../ContentCopy-
|
|
5
|
-
const f = ({ text:
|
|
4
|
+
import { C as u, a as h } from "../ContentCopy-CNxsEhmq.js";
|
|
5
|
+
const f = ({ text: r, typographyProps: e, onCopied: a, paperProps: i }) => {
|
|
6
6
|
const [t, s] = l(!1), n = async () => {
|
|
7
|
-
if (
|
|
7
|
+
if (r)
|
|
8
8
|
try {
|
|
9
|
-
await navigator.clipboard.writeText(
|
|
9
|
+
await navigator.clipboard.writeText(r), s(!0), setTimeout(() => s(!1), 2e3), a?.();
|
|
10
10
|
} catch (c) {
|
|
11
11
|
console.error("Failed to copy text:", c);
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
-
return
|
|
15
|
-
/* @__PURE__ */
|
|
14
|
+
return r ? /* @__PURE__ */ o.jsx(p, { sx: { p: 2, border: "1px dashed", borderColor: "divider" }, ...i, children: /* @__PURE__ */ o.jsxs(d, { sx: { position: "relative" }, children: [
|
|
15
|
+
/* @__PURE__ */ o.jsx(
|
|
16
16
|
x,
|
|
17
17
|
{
|
|
18
18
|
onClick: n,
|
|
19
|
-
size: "small",
|
|
20
19
|
sx: {
|
|
21
20
|
position: "absolute",
|
|
22
21
|
top: "50%",
|
|
@@ -27,10 +26,10 @@ const f = ({ text: o, typographyProps: r, onCopied: a, paperProps: i }) => {
|
|
|
27
26
|
color: t ? "success.main" : "inherit"
|
|
28
27
|
// Green when copied
|
|
29
28
|
},
|
|
30
|
-
children: t ? /* @__PURE__ */
|
|
29
|
+
children: t ? /* @__PURE__ */ o.jsx(u, {}) : /* @__PURE__ */ o.jsx(h, {})
|
|
31
30
|
}
|
|
32
31
|
),
|
|
33
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ o.jsx(
|
|
34
33
|
m,
|
|
35
34
|
{
|
|
36
35
|
variant: "body1",
|
|
@@ -39,12 +38,12 @@ const f = ({ text: o, typographyProps: r, onCopied: a, paperProps: i }) => {
|
|
|
39
38
|
// Preserve whitespace and line breaks
|
|
40
39
|
wordBreak: "break-word",
|
|
41
40
|
// Handle long words gracefully
|
|
42
|
-
...
|
|
41
|
+
...e?.sx
|
|
43
42
|
// Allow custom styling override
|
|
44
43
|
},
|
|
45
44
|
color: "text.secondary",
|
|
46
|
-
...
|
|
47
|
-
children:
|
|
45
|
+
...e,
|
|
46
|
+
children: r
|
|
48
47
|
}
|
|
49
48
|
)
|
|
50
49
|
] }) }) : null;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import * as g from "react";
|
|
3
|
-
import { c as j, P as e } from "../createTheme-
|
|
3
|
+
import { c as j, P as e } from "../createTheme-CIXJrNxb.js";
|
|
4
4
|
import { c as H } from "../clsx-OuTLNxxd.js";
|
|
5
|
-
import { c as N, u as $, m as D } from "../DefaultPropsProvider-
|
|
5
|
+
import { c as N, u as $, m as D } from "../DefaultPropsProvider-2MEHB2yv.js";
|
|
6
6
|
import { g as z } from "../generateUtilityClass-BhfUaMgk.js";
|
|
7
7
|
import { g as B } from "../generateUtilityClasses-E9gROIFd.js";
|
|
8
|
-
import { s as S, r as te } from "../styled-
|
|
8
|
+
import { s as S, r as te } from "../styled-BR6UL29H.js";
|
|
9
9
|
import { u as xe } from "../useFormControl-CatNKXAi.js";
|
|
10
|
-
import {
|
|
10
|
+
import { d as _, B as ve, r as Te } from "../ButtonBase-PbSTzuUP.js";
|
|
11
11
|
import { u as Ce } from "../useControlled-D1L5tREc.js";
|
|
12
|
-
import { c as q } from "../createSvgIcon-
|
|
12
|
+
import { c as q } from "../createSvgIcon-DTNHY3_v.js";
|
|
13
13
|
import { c as Q } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
14
14
|
import { m as ke } from "../mergeSlotProps-CuzBQdlp.js";
|
|
15
15
|
import { SEmpty as je } from "../s-empty/s-empty.js";
|
|
@@ -3,16 +3,16 @@ import { useTheme as I, TextField as z } from "@mui/material";
|
|
|
3
3
|
import { SForm as L } from "../s-form/s-form.js";
|
|
4
4
|
import { _ as P, a as s } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
5
5
|
import * as f from "react";
|
|
6
|
-
import { P as e } from "../createTheme-
|
|
7
|
-
import { u as O, a as U, b as Y, c as Q, r as T, P as q, d as B, e as H, f as $, g as K, h as Z, i as G, j as J, C as X, k as p, l as M, m as ee, v as F, s as R, n as oe, D as te, o as se } from "../useMobilePicker-
|
|
8
|
-
import { u as m } from "../warning-
|
|
6
|
+
import { P as e } from "../createTheme-CIXJrNxb.js";
|
|
7
|
+
import { u as O, a as U, b as Y, c as Q, r as T, P as q, d as B, e as H, f as $, g as K, h as Z, i as G, j as J, C as X, k as p, l as M, m as ee, v as F, s as R, n as oe, D as te, o as se } from "../useMobilePicker-C0pYjskU.js";
|
|
8
|
+
import { u as m } from "../warning-BZ61Y8gI.js";
|
|
9
9
|
import { c as ae } from "../clsx-OuTLNxxd.js";
|
|
10
10
|
import { g as ne } from "../generateUtilityClass-BhfUaMgk.js";
|
|
11
11
|
import { g as re } from "../generateUtilityClasses-E9gROIFd.js";
|
|
12
|
-
import { s as N } from "../styled-
|
|
13
|
-
import { c as le } from "../DefaultPropsProvider-
|
|
14
|
-
import { T as ie } from "../Typography-
|
|
15
|
-
import { r as y, a as C } from "../ButtonBase-
|
|
12
|
+
import { s as N } from "../styled-BR6UL29H.js";
|
|
13
|
+
import { c as le } from "../DefaultPropsProvider-2MEHB2yv.js";
|
|
14
|
+
import { T as ie } from "../Typography-Cum5_Ehu.js";
|
|
15
|
+
import { r as y, a as C } from "../ButtonBase-PbSTzuUP.js";
|
|
16
16
|
function ce(l) {
|
|
17
17
|
return ne("MuiDatePickerToolbar", l);
|
|
18
18
|
}
|